1447 lines
29 KiB
CSS
1447 lines
29 KiB
CSS
|
|
.workbench-ai-mode {
|
||
|
|
--ai-ink: #0f172a;
|
||
|
|
--ai-text: #334155;
|
||
|
|
--ai-muted: #738199;
|
||
|
|
--ai-line: #dbe7f6;
|
||
|
|
--ai-blue: #2f7cff;
|
||
|
|
--ai-blue-deep: #1f3b66;
|
||
|
|
--ai-purple: #7c5cff;
|
||
|
|
--ai-cyan: #15b8c8;
|
||
|
|
--ai-amber: #f59e0b;
|
||
|
|
--ai-theme-rgb: var(--theme-primary-rgb, 58, 124, 165);
|
||
|
|
|
||
|
|
position: relative;
|
||
|
|
min-height: 100%;
|
||
|
|
height: 100%;
|
||
|
|
width: 100%;
|
||
|
|
overflow: hidden;
|
||
|
|
display: grid;
|
||
|
|
place-items: safe center;
|
||
|
|
padding: clamp(24px, 4vh, 56px) 36px;
|
||
|
|
color: var(--ai-ink);
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 17% 4%, rgba(var(--ai-theme-rgb), 0.13), transparent 42%),
|
||
|
|
radial-gradient(circle at 88% 96%, rgba(245, 158, 11, 0.18), transparent 34%),
|
||
|
|
linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84) 55%, rgba(255, 247, 237, 0.86)),
|
||
|
|
var(--bg);
|
||
|
|
isolation: isolate;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-mode::after {
|
||
|
|
content: "";
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
z-index: 0;
|
||
|
|
pointer-events: none;
|
||
|
|
background:
|
||
|
|
linear-gradient(90deg, rgba(var(--ai-theme-rgb), 0.045) 1px, transparent 1px),
|
||
|
|
linear-gradient(180deg, rgba(var(--ai-theme-rgb), 0.04) 1px, transparent 1px),
|
||
|
|
radial-gradient(circle at 74% 24%, rgba(var(--ai-theme-rgb), 0.1), transparent 30%),
|
||
|
|
radial-gradient(circle at 94% 72%, rgba(251, 191, 36, 0.14), transparent 28%);
|
||
|
|
background-size: 56px 56px, 56px 56px, auto, auto;
|
||
|
|
opacity: 0.74;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-mode.has-conversation {
|
||
|
|
place-items: stretch;
|
||
|
|
padding: 0;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at 88% 96%, rgba(245, 158, 11, 0.16), transparent 34%),
|
||
|
|
radial-gradient(circle at 12% 0%, rgba(var(--ai-theme-rgb), 0.14), transparent 38%),
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.94));
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-mode.has-conversation::after {
|
||
|
|
opacity: 0.58;
|
||
|
|
filter: saturate(0.92);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-mode,
|
||
|
|
.workbench-ai-mode * {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-mode :where(button, textarea) {
|
||
|
|
font: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-shell {
|
||
|
|
position: relative;
|
||
|
|
z-index: 1;
|
||
|
|
width: min(1180px, 100%);
|
||
|
|
display: grid;
|
||
|
|
justify-items: center;
|
||
|
|
align-content: center;
|
||
|
|
gap: 26px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-orb {
|
||
|
|
width: clamp(118px, 8vw, 132px);
|
||
|
|
height: clamp(118px, 8vw, 132px);
|
||
|
|
display: grid;
|
||
|
|
place-items: center;
|
||
|
|
border-radius: 50%;
|
||
|
|
border: 1px solid rgba(47, 124, 255, 0.18);
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.84)),
|
||
|
|
linear-gradient(135deg, rgba(21, 184, 200, 0.14), rgba(124, 92, 255, 0.1));
|
||
|
|
color: var(--ai-blue);
|
||
|
|
box-shadow:
|
||
|
|
0 24px 50px rgba(47, 124, 255, 0.18),
|
||
|
|
0 0 0 8px rgba(47, 124, 255, 0.045),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.96);
|
||
|
|
overflow: hidden;
|
||
|
|
animation: workbenchAiControlIn 520ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 80ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-orb__image {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
display: block;
|
||
|
|
object-fit: contain;
|
||
|
|
object-position: center center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-copy {
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
text-align: center;
|
||
|
|
animation: workbenchAiControlIn 520ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 160ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-copy h2 {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--ai-ink);
|
||
|
|
font-size: 28px;
|
||
|
|
line-height: 1.18;
|
||
|
|
font-weight: 900;
|
||
|
|
letter-spacing: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-copy p {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--ai-muted);
|
||
|
|
font-size: 16px;
|
||
|
|
line-height: 1.7;
|
||
|
|
font-weight: 650;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-file-input {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer {
|
||
|
|
width: min(980px, 100%);
|
||
|
|
min-height: 154px;
|
||
|
|
display: grid;
|
||
|
|
grid-template-rows: minmax(80px, 1fr) auto;
|
||
|
|
gap: 14px;
|
||
|
|
margin-top: 14px;
|
||
|
|
padding: 22px 24px;
|
||
|
|
border: 1px solid rgba(211, 224, 242, 0.74);
|
||
|
|
border-radius: 20px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 247, 0.94));
|
||
|
|
box-shadow:
|
||
|
|
0 18px 60px rgba(15, 23, 42, 0.08),
|
||
|
|
0 4px 14px rgba(15, 23, 42, 0.04),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.96);
|
||
|
|
animation: workbenchAiControlIn 540ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 250ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer-field {
|
||
|
|
min-height: 0;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer textarea {
|
||
|
|
width: 100%;
|
||
|
|
min-height: 80px;
|
||
|
|
resize: none;
|
||
|
|
border: 0;
|
||
|
|
outline: 0;
|
||
|
|
background: transparent;
|
||
|
|
color: #1f2937;
|
||
|
|
font-size: 17px;
|
||
|
|
line-height: 1.65;
|
||
|
|
font-weight: 540;
|
||
|
|
animation: workbenchAiControlIn 460ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 310ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer textarea::placeholder {
|
||
|
|
color: #a7b2c5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer-toolbar {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-tool-buttons {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer-right {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-model-selector {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 6px;
|
||
|
|
color: #475569;
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: 600;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: color 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-model-selector:hover {
|
||
|
|
color: #0f172a;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-icon-btn,
|
||
|
|
.workbench-ai-send-btn,
|
||
|
|
.workbench-ai-action,
|
||
|
|
.workbench-ai-file-strip button {
|
||
|
|
border: 0;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
transform 180ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
|
||
|
|
box-shadow 180ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
|
||
|
|
border-color 180ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
|
||
|
|
background 180ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
|
||
|
|
color 180ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-icon-btn {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: transparent;
|
||
|
|
border: none;
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 20px;
|
||
|
|
width: 36px;
|
||
|
|
height: 36px;
|
||
|
|
padding: 0;
|
||
|
|
border-radius: 10px;
|
||
|
|
box-shadow: none;
|
||
|
|
animation: workbenchAiControlIn 440ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 360ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-icon-btn + .workbench-ai-icon-btn {
|
||
|
|
animation-delay: 400ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-icon-btn:hover {
|
||
|
|
color: var(--ai-blue-deep);
|
||
|
|
background: rgba(47, 124, 255, 0.08);
|
||
|
|
transform: none;
|
||
|
|
box-shadow: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-icon-btn.active {
|
||
|
|
color: #175cd3;
|
||
|
|
background: rgba(47, 124, 255, 0.11);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-send-btn {
|
||
|
|
width: 36px;
|
||
|
|
height: 36px;
|
||
|
|
display: inline-grid;
|
||
|
|
place-items: center;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: #e5e7eb;
|
||
|
|
color: #94a3b8;
|
||
|
|
font-size: 18px;
|
||
|
|
box-shadow: none;
|
||
|
|
animation: workbenchAiControlIn 440ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 450ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-send-btn:disabled {
|
||
|
|
opacity: 1;
|
||
|
|
cursor: not-allowed;
|
||
|
|
box-shadow: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-send-btn:not(:disabled) {
|
||
|
|
background:
|
||
|
|
linear-gradient(135deg, #1d4ed8 0%, #2563eb 54%, #0891b2 100%);
|
||
|
|
color: #ffffff;
|
||
|
|
box-shadow:
|
||
|
|
0 12px 24px rgba(37, 99, 235, 0.24),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.38);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-send-btn:not(:disabled):hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
background:
|
||
|
|
linear-gradient(135deg, #1e40af 0%, #1d4ed8 54%, #0e7490 100%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:hover,
|
||
|
|
.workbench-ai-file-strip button:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
border-color: rgba(47, 124, 255, 0.1);
|
||
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-anchor {
|
||
|
|
position: relative;
|
||
|
|
display: inline-flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-chip {
|
||
|
|
width: fit-content;
|
||
|
|
max-width: 100%;
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
min-height: 30px;
|
||
|
|
padding: 0 8px 0 10px;
|
||
|
|
border: 1px solid rgba(47, 124, 255, 0.18);
|
||
|
|
border-radius: 999px;
|
||
|
|
background: rgba(239, 246, 255, 0.9);
|
||
|
|
color: #1d4ed8;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 780;
|
||
|
|
line-height: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-chip button {
|
||
|
|
width: 22px;
|
||
|
|
height: 22px;
|
||
|
|
display: inline-grid;
|
||
|
|
place-items: center;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: transparent;
|
||
|
|
color: inherit;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-chip button:hover {
|
||
|
|
background: rgba(47, 124, 255, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-popover {
|
||
|
|
position: absolute;
|
||
|
|
left: 0;
|
||
|
|
bottom: calc(100% + 12px);
|
||
|
|
z-index: 20;
|
||
|
|
width: 276px;
|
||
|
|
padding: 14px;
|
||
|
|
border: 1px solid rgba(203, 213, 225, 0.78);
|
||
|
|
border-radius: 16px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
|
||
|
|
box-shadow:
|
||
|
|
0 22px 55px rgba(15, 23, 42, 0.16),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.96);
|
||
|
|
animation: workbenchAiPopoverIn 180ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) both;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-tabs {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
gap: 4px;
|
||
|
|
padding: 4px;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
border-radius: 12px;
|
||
|
|
background: rgba(226, 232, 240, 0.62);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-tabs button,
|
||
|
|
.workbench-ai-date-actions button {
|
||
|
|
border: 0;
|
||
|
|
cursor: pointer;
|
||
|
|
font: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-tabs button {
|
||
|
|
min-height: 34px;
|
||
|
|
border-radius: 9px;
|
||
|
|
background: transparent;
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 820;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-tabs button.active {
|
||
|
|
background: #ffffff;
|
||
|
|
color: #0f172a;
|
||
|
|
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-range {
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-field {
|
||
|
|
display: grid;
|
||
|
|
gap: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-field span {
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 760;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-field input {
|
||
|
|
min-height: 38px;
|
||
|
|
padding: 0 10px;
|
||
|
|
border: 1px solid rgba(203, 213, 225, 0.84);
|
||
|
|
border-radius: 10px;
|
||
|
|
background: #ffffff;
|
||
|
|
color: #1f2937;
|
||
|
|
font: inherit;
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-field input:focus {
|
||
|
|
outline: 0;
|
||
|
|
border-color: rgba(47, 124, 255, 0.55);
|
||
|
|
box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-actions {
|
||
|
|
display: flex;
|
||
|
|
justify-content: flex-end;
|
||
|
|
gap: 8px;
|
||
|
|
margin-top: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-actions button {
|
||
|
|
min-height: 34px;
|
||
|
|
padding: 0 12px;
|
||
|
|
border-radius: 10px;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 820;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-actions .ghost {
|
||
|
|
background: transparent;
|
||
|
|
color: #64748b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-actions .primary {
|
||
|
|
background: #1d4ed8;
|
||
|
|
color: #ffffff;
|
||
|
|
box-shadow: 0 10px 18px rgba(29, 78, 216, 0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-actions .primary:disabled {
|
||
|
|
background: #e2e8f0;
|
||
|
|
color: #94a3b8;
|
||
|
|
cursor: not-allowed;
|
||
|
|
box-shadow: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-file-strip {
|
||
|
|
width: min(980px, 100%);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 12px;
|
||
|
|
color: var(--ai-muted);
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 700;
|
||
|
|
animation: workbenchAiControlIn 480ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 340ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-file-strip button {
|
||
|
|
min-height: 30px;
|
||
|
|
padding: 0 12px;
|
||
|
|
border: 1px solid rgba(47, 124, 255, 0.18);
|
||
|
|
border-radius: 8px;
|
||
|
|
background: rgba(255, 255, 255, 0.82);
|
||
|
|
color: var(--ai-blue);
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 800;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-quick-start-section {
|
||
|
|
width: min(980px, 100%);
|
||
|
|
margin-top: 16px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-quick-start-title {
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #94a3b8;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0;
|
||
|
|
margin: 0 0 16px 12px;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action-row {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
gap: 16px;
|
||
|
|
width: 100%;
|
||
|
|
margin-top: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: row;
|
||
|
|
align-items: flex-start;
|
||
|
|
justify-content: flex-start;
|
||
|
|
gap: 16px;
|
||
|
|
padding: 20px;
|
||
|
|
border: 1px solid rgba(0, 0, 0, 0.03);
|
||
|
|
border-radius: 8px;
|
||
|
|
background: rgba(255, 255, 255, 0.6);
|
||
|
|
color: inherit;
|
||
|
|
white-space: normal;
|
||
|
|
box-shadow:
|
||
|
|
0 4px 12px rgba(0, 0, 0, 0.02),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.92);
|
||
|
|
animation: workbenchAiControlIn 480ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
animation-delay: 370ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-icon-wrapper {
|
||
|
|
width: 36px;
|
||
|
|
height: 36px;
|
||
|
|
border-radius: 8px;
|
||
|
|
background: rgba(255, 255, 255, 0.8);
|
||
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
||
|
|
display: grid;
|
||
|
|
place-items: center;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-icon-wrapper i {
|
||
|
|
color: var(--ai-blue);
|
||
|
|
font-size: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:nth-child(2) {
|
||
|
|
animation-delay: 420ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:nth-child(3) {
|
||
|
|
animation-delay: 470ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:nth-child(4) {
|
||
|
|
animation-delay: 520ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:nth-child(2) .action-icon-wrapper i {
|
||
|
|
color: var(--ai-amber);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:nth-child(3) .action-icon-wrapper i {
|
||
|
|
color: var(--ai-amber);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action:nth-child(4) .action-icon-wrapper i {
|
||
|
|
color: var(--ai-amber);
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-text {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 6px;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-text strong {
|
||
|
|
font-size: 15px;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #1e293b;
|
||
|
|
line-height: 1.3;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-text p {
|
||
|
|
font-size: 13px;
|
||
|
|
color: #64748b;
|
||
|
|
font-weight: 500;
|
||
|
|
line-height: 1.5;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-panel-swap-enter-active,
|
||
|
|
.workbench-ai-panel-swap-leave-active {
|
||
|
|
transition:
|
||
|
|
opacity 220ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)),
|
||
|
|
transform 220ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-panel-swap-enter-from,
|
||
|
|
.workbench-ai-panel-swap-leave-to {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(10px) scale(0.992);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation {
|
||
|
|
position: relative;
|
||
|
|
z-index: 1;
|
||
|
|
min-height: 0;
|
||
|
|
height: 100%;
|
||
|
|
display: grid;
|
||
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
||
|
|
padding: clamp(24px, 4vh, 42px) clamp(28px, 8vw, 132px) 26px;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-actions {
|
||
|
|
position: absolute;
|
||
|
|
top: clamp(18px, 3vh, 30px);
|
||
|
|
right: clamp(22px, 6vw, 96px);
|
||
|
|
z-index: 8;
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 5px;
|
||
|
|
border: 1px solid rgba(226, 232, 240, 0.72);
|
||
|
|
border-radius: 999px;
|
||
|
|
background: rgba(255, 255, 255, 0.78);
|
||
|
|
box-shadow:
|
||
|
|
0 12px 34px rgba(15, 23, 42, 0.08),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.88);
|
||
|
|
backdrop-filter: blur(16px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-actions button {
|
||
|
|
width: 34px;
|
||
|
|
height: 34px;
|
||
|
|
display: inline-grid;
|
||
|
|
place-items: center;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: transparent;
|
||
|
|
color: #64748b;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background 180ms ease,
|
||
|
|
color 180ms ease,
|
||
|
|
transform 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-actions button:hover {
|
||
|
|
color: #0f172a;
|
||
|
|
background: rgba(15, 23, 42, 0.055);
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-actions button.danger:hover {
|
||
|
|
color: #b42318;
|
||
|
|
background: rgba(220, 38, 38, 0.08);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-actions button:disabled {
|
||
|
|
color: #cbd5e1;
|
||
|
|
cursor: not-allowed;
|
||
|
|
transform: none;
|
||
|
|
background: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thread {
|
||
|
|
width: min(960px, 100%);
|
||
|
|
min-height: 0;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 20px;
|
||
|
|
margin: 0 auto;
|
||
|
|
overflow-y: auto;
|
||
|
|
padding: 64px 4px 30px;
|
||
|
|
-ms-overflow-style: none;
|
||
|
|
scrollbar-width: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thread > :first-child {
|
||
|
|
margin-top: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thread::-webkit-scrollbar {
|
||
|
|
width: 0;
|
||
|
|
height: 0;
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-empty-thread {
|
||
|
|
flex: 0 0 auto;
|
||
|
|
width: min(720px, 100%);
|
||
|
|
justify-self: center;
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 28px;
|
||
|
|
border: 1px dashed rgba(148, 163, 184, 0.28);
|
||
|
|
border-radius: 18px;
|
||
|
|
background: rgba(255, 255, 255, 0.48);
|
||
|
|
color: var(--ai-muted);
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-empty-thread strong {
|
||
|
|
color: var(--ai-ink);
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: 820;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-empty-thread p {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 14px;
|
||
|
|
line-height: 1.65;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-message {
|
||
|
|
flex: 0 0 auto;
|
||
|
|
min-width: 0;
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
animation: workbenchAiControlIn 360ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-message.is-user {
|
||
|
|
justify-items: end;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-user-bubble {
|
||
|
|
max-width: min(680px, 82%);
|
||
|
|
padding: 12px 16px;
|
||
|
|
border-radius: 18px 18px 5px;
|
||
|
|
background:
|
||
|
|
linear-gradient(135deg, rgba(var(--ai-theme-rgb), 0.96), rgba(29, 78, 216, 0.9));
|
||
|
|
color: #fff;
|
||
|
|
font-size: 15px;
|
||
|
|
font-weight: 620;
|
||
|
|
line-height: 1.6;
|
||
|
|
box-shadow: none;
|
||
|
|
overflow-wrap: anywhere;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-card {
|
||
|
|
width: 100%;
|
||
|
|
padding: 34px 36px;
|
||
|
|
border: 1px solid rgba(226, 232, 240, 0.86);
|
||
|
|
border-radius: 20px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96));
|
||
|
|
color: #111827;
|
||
|
|
box-shadow: none;
|
||
|
|
backdrop-filter: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-card.pending {
|
||
|
|
color: var(--ai-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-panel {
|
||
|
|
position: relative;
|
||
|
|
display: grid;
|
||
|
|
gap: 0;
|
||
|
|
margin-bottom: 22px;
|
||
|
|
border: 1px solid rgba(191, 219, 254, 0.58);
|
||
|
|
border-radius: 14px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(248, 250, 252, 0.66));
|
||
|
|
overflow: hidden;
|
||
|
|
transition:
|
||
|
|
border-color 180ms ease,
|
||
|
|
background 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-panel.is-expanded {
|
||
|
|
padding: 14px 44px 14px 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-panel.is-collapsed {
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle {
|
||
|
|
width: 100%;
|
||
|
|
min-height: 40px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 14px;
|
||
|
|
padding: 10px 10px 10px 14px;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 14px;
|
||
|
|
background: transparent;
|
||
|
|
color: #1e3a8a;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle:hover {
|
||
|
|
background: rgba(255, 255, 255, 0.36);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-expanded {
|
||
|
|
position: relative;
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-collapse-btn {
|
||
|
|
position: absolute;
|
||
|
|
top: -4px;
|
||
|
|
right: -34px;
|
||
|
|
width: 28px;
|
||
|
|
height: 28px;
|
||
|
|
display: grid;
|
||
|
|
place-items: center;
|
||
|
|
padding: 0;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 10px;
|
||
|
|
background: transparent;
|
||
|
|
color: #64748b;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-collapse-btn:hover {
|
||
|
|
background: rgba(59, 130, 246, 0.08);
|
||
|
|
color: #1e3a8a;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle-left {
|
||
|
|
min-width: 0;
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle strong {
|
||
|
|
color: #1e3a8a;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 860;
|
||
|
|
line-height: 1.35;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle small {
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 720;
|
||
|
|
line-height: 1.35;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle > i {
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 18px;
|
||
|
|
line-height: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-list {
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
padding: 0;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 0;
|
||
|
|
background: transparent;
|
||
|
|
overflow: visible;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-item {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 18px minmax(0, 1fr);
|
||
|
|
gap: 10px;
|
||
|
|
align-items: flex-start;
|
||
|
|
color: #64748b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-dot {
|
||
|
|
justify-self: center;
|
||
|
|
width: 8px;
|
||
|
|
height: 8px;
|
||
|
|
margin-top: 7px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background: #60a5fa;
|
||
|
|
box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.16);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-item.is-running .workbench-ai-thinking-dot {
|
||
|
|
animation: workbenchAiPulse 1400ms ease-in-out infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-toggle .workbench-ai-thinking-dot {
|
||
|
|
flex: 0 0 auto;
|
||
|
|
margin-top: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-dot.running {
|
||
|
|
animation: workbenchAiPulse 1400ms ease-in-out infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-item.is-failed .workbench-ai-thinking-dot {
|
||
|
|
background: #f97316;
|
||
|
|
box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.14);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-item strong {
|
||
|
|
display: block;
|
||
|
|
color: #1e3a8a;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 850;
|
||
|
|
line-height: 1.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-item p {
|
||
|
|
margin: 2px 0 0;
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 560;
|
||
|
|
line-height: 1.55;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-pending-line {
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 15px;
|
||
|
|
font-weight: 620;
|
||
|
|
line-height: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown {
|
||
|
|
color: #111827;
|
||
|
|
font-size: 16px;
|
||
|
|
font-weight: 500;
|
||
|
|
line-height: 1.86;
|
||
|
|
overflow-wrap: anywhere;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(*) {
|
||
|
|
letter-spacing: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(h1),
|
||
|
|
.workbench-ai-answer-markdown :deep(h2),
|
||
|
|
.workbench-ai-answer-markdown :deep(h3),
|
||
|
|
.workbench-ai-answer-markdown :deep(h4) {
|
||
|
|
margin: 0 0 16px;
|
||
|
|
color: #0f172a;
|
||
|
|
font-weight: 900;
|
||
|
|
line-height: 1.35;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(h3) {
|
||
|
|
font-size: 21px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(p) {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(p + p) {
|
||
|
|
margin-top: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(ul),
|
||
|
|
.workbench-ai-answer-markdown :deep(ol) {
|
||
|
|
display: grid;
|
||
|
|
gap: 12px;
|
||
|
|
margin: 16px 0 0;
|
||
|
|
padding-left: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(li) {
|
||
|
|
padding-left: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(li::marker) {
|
||
|
|
color: #2563eb;
|
||
|
|
font-weight: 850;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(strong) {
|
||
|
|
color: #0f172a;
|
||
|
|
font-weight: 850;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(hr) {
|
||
|
|
margin: 26px 0;
|
||
|
|
border: 0;
|
||
|
|
border-top: 1px solid rgba(226, 232, 240, 0.9);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(blockquote) {
|
||
|
|
margin: 18px 0 0;
|
||
|
|
padding: 14px 16px;
|
||
|
|
border-left: 3px solid rgba(37, 99, 235, 0.5);
|
||
|
|
border-radius: 12px;
|
||
|
|
background: rgba(239, 246, 255, 0.62);
|
||
|
|
color: #475569;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(.markdown-table-wrap) {
|
||
|
|
overflow-x: auto;
|
||
|
|
margin-top: 18px;
|
||
|
|
border: 1px solid rgba(226, 232, 240, 0.9);
|
||
|
|
border-radius: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(table) {
|
||
|
|
width: 100%;
|
||
|
|
border-collapse: collapse;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(th),
|
||
|
|
.workbench-ai-answer-markdown :deep(td) {
|
||
|
|
padding: 11px 14px;
|
||
|
|
border-bottom: 1px solid rgba(226, 232, 240, 0.9);
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-markdown :deep(th) {
|
||
|
|
background: rgba(248, 250, 252, 0.92);
|
||
|
|
color: #334155;
|
||
|
|
font-weight: 850;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-suggested-actions {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 10px;
|
||
|
|
margin-top: 22px;
|
||
|
|
padding-top: 18px;
|
||
|
|
border-top: 1px solid rgba(226, 232, 240, 0.82);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-suggested-actions button {
|
||
|
|
min-height: 38px;
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 0 14px;
|
||
|
|
border: 1px solid rgba(37, 99, 235, 0.18);
|
||
|
|
border-radius: 999px;
|
||
|
|
background: rgba(239, 246, 255, 0.76);
|
||
|
|
color: #1d4ed8;
|
||
|
|
font: inherit;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 850;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background 160ms ease,
|
||
|
|
transform 160ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-suggested-actions button:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
background: #eff6ff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-message-actions {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 0 6px;
|
||
|
|
color: rgba(100, 116, 139, 0.72);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-message-actions button {
|
||
|
|
width: 28px;
|
||
|
|
height: 28px;
|
||
|
|
display: inline-grid;
|
||
|
|
place-items: center;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 8px;
|
||
|
|
background: transparent;
|
||
|
|
color: inherit;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background 160ms ease,
|
||
|
|
color 160ms ease,
|
||
|
|
transform 160ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-message-actions button:hover {
|
||
|
|
color: var(--ai-blue-deep);
|
||
|
|
background: rgba(15, 23, 42, 0.045);
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-message-time {
|
||
|
|
color: rgba(148, 163, 184, 0.9);
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 650;
|
||
|
|
padding: 0 6px;
|
||
|
|
white-space: nowrap;
|
||
|
|
margin-left: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-bottom {
|
||
|
|
position: relative;
|
||
|
|
z-index: 6;
|
||
|
|
width: min(980px, 100%);
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
justify-self: center;
|
||
|
|
padding-top: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation-bottom::before {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer--inline {
|
||
|
|
width: 100%;
|
||
|
|
min-height: 126px;
|
||
|
|
grid-template-rows: minmax(54px, 1fr) auto;
|
||
|
|
margin: 0;
|
||
|
|
padding: 20px 24px;
|
||
|
|
border-color: rgba(226, 232, 240, 0.88);
|
||
|
|
border-radius: 18px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
|
||
|
|
box-shadow: none;
|
||
|
|
animation: workbenchAiControlIn 360ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1)) backwards;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer--inline textarea {
|
||
|
|
min-height: 54px;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-file-strip.inline {
|
||
|
|
justify-content: flex-start;
|
||
|
|
animation-delay: 0ms;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-disclaimer {
|
||
|
|
margin: 0;
|
||
|
|
color: rgba(100, 116, 139, 0.58);
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 600;
|
||
|
|
line-height: 1.4;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-collapse-enter-active,
|
||
|
|
.workbench-ai-thinking-collapse-leave-active {
|
||
|
|
transition:
|
||
|
|
max-height 220ms ease,
|
||
|
|
opacity 180ms ease,
|
||
|
|
transform 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-collapse-enter-from,
|
||
|
|
.workbench-ai-thinking-collapse-leave-to {
|
||
|
|
max-height: 0;
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(-4px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thinking-collapse-enter-to,
|
||
|
|
.workbench-ai-thinking-collapse-leave-from {
|
||
|
|
max-height: 460px;
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-mask {
|
||
|
|
position: fixed;
|
||
|
|
inset: 0;
|
||
|
|
z-index: 60;
|
||
|
|
display: grid;
|
||
|
|
place-items: center;
|
||
|
|
padding: 24px;
|
||
|
|
background: rgba(15, 23, 42, 0.22);
|
||
|
|
backdrop-filter: blur(10px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-dialog {
|
||
|
|
width: min(420px, 100%);
|
||
|
|
display: grid;
|
||
|
|
gap: 14px;
|
||
|
|
padding: 24px;
|
||
|
|
border: 1px solid rgba(226, 232, 240, 0.86);
|
||
|
|
border-radius: 18px;
|
||
|
|
background:
|
||
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 247, 0.96));
|
||
|
|
color: #0f172a;
|
||
|
|
box-shadow:
|
||
|
|
0 28px 80px rgba(15, 23, 42, 0.22),
|
||
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-dialog h3 {
|
||
|
|
margin: 0;
|
||
|
|
color: #111827;
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: 860;
|
||
|
|
line-height: 1.35;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-dialog p {
|
||
|
|
margin: 0;
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: 540;
|
||
|
|
line-height: 1.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-actions {
|
||
|
|
display: flex;
|
||
|
|
justify-content: flex-end;
|
||
|
|
gap: 10px;
|
||
|
|
margin-top: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-actions button {
|
||
|
|
min-height: 38px;
|
||
|
|
padding: 0 15px;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 10px;
|
||
|
|
font: inherit;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 820;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-actions .ghost {
|
||
|
|
background: rgba(241, 245, 249, 0.9);
|
||
|
|
color: #475569;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-actions .danger {
|
||
|
|
background: #dc2626;
|
||
|
|
color: #fff;
|
||
|
|
box-shadow: 0 12px 22px rgba(220, 38, 38, 0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-fade-enter-active,
|
||
|
|
.workbench-ai-confirm-fade-leave-active {
|
||
|
|
transition: opacity 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-fade-enter-active .workbench-ai-confirm-dialog,
|
||
|
|
.workbench-ai-confirm-fade-leave-active .workbench-ai-confirm-dialog {
|
||
|
|
transition:
|
||
|
|
opacity 180ms ease,
|
||
|
|
transform 180ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-fade-enter-from,
|
||
|
|
.workbench-ai-confirm-fade-leave-to {
|
||
|
|
opacity: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-confirm-fade-enter-from .workbench-ai-confirm-dialog,
|
||
|
|
.workbench-ai-confirm-fade-leave-to .workbench-ai-confirm-dialog {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(10px) scale(0.98);
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes workbenchAiControlIn {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(18px) scale(0.985);
|
||
|
|
filter: blur(3px);
|
||
|
|
}
|
||
|
|
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0) scale(1);
|
||
|
|
filter: blur(0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes workbenchAiPopoverIn {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(8px) scale(0.98);
|
||
|
|
}
|
||
|
|
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0) scale(1);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes workbenchAiPulse {
|
||
|
|
0%,
|
||
|
|
100% {
|
||
|
|
transform: scale(1);
|
||
|
|
opacity: 0.86;
|
||
|
|
}
|
||
|
|
|
||
|
|
50% {
|
||
|
|
transform: scale(1.22);
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 960px) {
|
||
|
|
.workbench-ai-mode {
|
||
|
|
padding: 34px 20px 34px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-mode::after {
|
||
|
|
opacity: 0.58;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-shell {
|
||
|
|
gap: 18px;
|
||
|
|
padding-top: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-copy h2 {
|
||
|
|
font-size: 28px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer {
|
||
|
|
min-height: 168px;
|
||
|
|
padding: 24px 24px 20px;
|
||
|
|
border-radius: 22px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action-row {
|
||
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
|
|
gap: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation {
|
||
|
|
padding: 24px 22px 22px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-card {
|
||
|
|
padding: 26px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 640px) {
|
||
|
|
.workbench-ai-mode {
|
||
|
|
padding: 24px 14px 28px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-orb {
|
||
|
|
width: 88px;
|
||
|
|
height: 88px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-orb__image {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-copy h2 {
|
||
|
|
font-size: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-copy p {
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer {
|
||
|
|
min-height: 158px;
|
||
|
|
padding: 20px 16px 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer textarea {
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer-toolbar {
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-tool-buttons {
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-icon-btn {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-send-btn {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-count {
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-action-row {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-conversation {
|
||
|
|
padding: 18px 12px 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-thread {
|
||
|
|
padding-bottom: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-card {
|
||
|
|
padding: 20px;
|
||
|
|
border-radius: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-answer-card p {
|
||
|
|
font-size: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-user-bubble {
|
||
|
|
max-width: 92%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-composer--inline {
|
||
|
|
min-height: 120px;
|
||
|
|
padding: 18px 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-date-popover {
|
||
|
|
width: min(276px, calc(100vw - 36px));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
.workbench-ai-orb,
|
||
|
|
.workbench-ai-copy,
|
||
|
|
.workbench-ai-composer,
|
||
|
|
.workbench-ai-composer textarea,
|
||
|
|
.workbench-ai-icon-btn,
|
||
|
|
.workbench-ai-send-btn,
|
||
|
|
.workbench-ai-file-strip,
|
||
|
|
.workbench-ai-action,
|
||
|
|
.workbench-ai-message,
|
||
|
|
.workbench-ai-composer--inline,
|
||
|
|
.workbench-ai-date-popover,
|
||
|
|
.workbench-ai-thinking-dot {
|
||
|
|
animation: none;
|
||
|
|
opacity: 1;
|
||
|
|
transform: none;
|
||
|
|
filter: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.workbench-ai-panel-swap-enter-active,
|
||
|
|
.workbench-ai-panel-swap-leave-active,
|
||
|
|
.workbench-ai-thinking-collapse-enter-active,
|
||
|
|
.workbench-ai-thinking-collapse-leave-active,
|
||
|
|
.workbench-ai-confirm-fade-enter-active,
|
||
|
|
.workbench-ai-confirm-fade-leave-active,
|
||
|
|
.workbench-ai-confirm-fade-enter-active .workbench-ai-confirm-dialog,
|
||
|
|
.workbench-ai-confirm-fade-leave-active .workbench-ai-confirm-dialog {
|
||
|
|
transition: none;
|
||
|
|
}
|
||
|
|
}
|