/* Conversation is the primary surface. The agent's artifact workspace lives
   alongside it and can be put away without leaving the conversation. */
.alchemy-work-computer {
  --bg: #f3f5f7; --canvas: #f3f5f7; --surface-soft: #f3f5f7; --surface-tint: #edf1f6;
  --text: #242833; --text-2: #343c4b; --muted: #737c8b; --muted-2: #737c8b;
  --line: #e0e5ec; --line-mid: #dce2eb; --line-strong: #cbd3df;
  --sidebar-width: clamp(184px, 15.4vw, 236px);
}
.alchemy-work-computer .work-sidebar { background: #f0f3f6; padding: 24px 18px 20px; }
.work-brand-row { padding: 0 10px 24px; }
.work-brand { font-size: 34px !important; letter-spacing: -1px; }
.work-nav { gap: 5px; padding-bottom: 26px; border-bottom: 0; }
.work-nav button { padding: 11px 16px; font-size: 15px; gap: 15px; border-radius: 8px; }
.work-nav button:hover, .work-nav button.active { background: #e2eaff; color: #3159d9; }
.work-nav .icon { width: 23px; height: 23px; }
.work-recents { padding: 16px 0; }
.work-recents h2 { margin: 0 12px 16px; font-size: 12px; }
.work-sidebar .sidebar-task-row { padding: 12px; min-height: 46px; gap: 9px; }
.computer-work-folder { display: none; }
.work-sidebar .computer-work-folder { display: block; width: 22px; height: 22px; opacity: .8; }
.work-sidebar .sidebar-task-row.active { background: #e2eaff; color: #3159d9; box-shadow: none; }
.work-sidebar .sidebar-chat-actions { background: #f0f3f6; }
.computer-library-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: none; text-align: left; color: var(--muted); }
.computer-library-link:hover { color: var(--accent); }
.work-account { padding: 16px 10px 0; gap: 10px; font-size: 13px; }
.work-account .user-avatar { width: 28px; height: 28px; font-size: 11px; background: #e0e6ef; }
.alchemy-work-computer .research-page.computer-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 38%); grid-template-rows: 64px minmax(0, 1fr); height: 100dvh; }
.alchemy-work-computer .research-page.computer-page[data-artifact-open="false"] { grid-template-columns: minmax(0, 1fr); }
.computer-page[data-artifact-open="false"] .computer-stage { display: none; }
.computer-topbar { grid-column: 1 / -1; grid-row: 1; padding: 0 24px; height: auto; min-height: 0; gap: 12px; border-bottom: 1px solid var(--line); background: white; }
.artifact-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 7px 11px; color: var(--muted); white-space: nowrap; }
.artifact-toggle[aria-expanded="true"] { color: var(--accent); background: var(--accent-soft); }
.artifact-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 4px; flex: 0 0 auto; }
.artifact-panel-header h2 { margin: 0; font-size: 14px; font-weight: 600; }
.artifact-panel-header p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }
.computer-breadcrumb { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--text); font-size: 15px !important; white-space: nowrap; }
.computer-breadcrumb .icon { width: 25px; height: 25px; }
.computer-path-divider { color: var(--muted); }
.computer-topbar .work-title .chat-title-text { font-size: 15px; }
.computer-topbar .work-title { min-width: 0; }
.computer-topbar .chat-title-display, .computer-topbar .chat-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.computer-topbar .chat-title-text { max-width: 100%; }
.computer-stage { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; padding: 0 16px 18px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.computer-page .computer-window { position: static; inset: auto; width: 100%; flex: 1; min-width: 0; max-width: none; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 10px #24314804; overflow: hidden; }
.computer-window .work-panel-tabs { height: 52px; padding: 0 20px; gap: 22px; }
.computer-window .work-panel-tabs > button:not(.work-panel-close) { padding: 0 12px; font-size: 14px; }
.computer-window .work-panel-tabs small { margin-left: 5px; font-size: 10px; }
.computer-window .work-tab-content { overflow: hidden; }
.computer-files { flex: 1; min-height: 0; padding: 30px 22px; }
.computer-files .work-files-heading { margin: 0 0 10px; }
.computer-files .work-files-heading h2 { font-size: 25px; letter-spacing: -.5px; font-weight: 600; }
.computer-files .work-files-heading button { color: var(--accent); font-size: 13px; }
.computer-files-description { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.computer-file-columns, .computer-file-entry { display: grid; grid-template-columns: minmax(0, 1fr) 58px; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.computer-file-columns > :last-child, .computer-file-entry > :last-child { display: none; }
.computer-file-columns { min-height: 42px; color: var(--muted); font-size: 12px; }
.computer-file-entry > div { min-width: 0; }
.computer-file-entry > span { font-size: 12px; color: var(--muted); }
.computer-file-entry .work-file-row { border: 0; gap: 16px; padding: 16px 0; min-height: 65px; }
.computer-file-entry .work-file-row strong { font-size: 15px; font-weight: 400; line-height: 1.55; }
.computer-file-entry .work-file-row:hover strong { color: var(--accent); }
.computer-file-entry .computer-file-scope-inline { display: block; }
.computer-file-icon { width: 31px; height: 39px; flex: 0 0 31px !important; color: #747c88; }
.computer-file-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.computer-file-icon text { fill: currentColor; stroke: none; font: 600 14px -apple-system, sans-serif; }
.computer-file-icon.is-word { color: #3564e7; }
.computer-file-icon.is-excel { color: #188a60; }
.computer-file-icon.is-pdf { color: #bf5c50; }
.computer-window-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 18px 22px; color: var(--muted); font-size: 11px; }
.computer-window-footer a { display: flex; align-items: center; gap: 5px; color: var(--accent); text-decoration: none; }
.computer-window-footer .icon { width: 14px; height: 14px; }
.computer-files-empty { padding: 34px 12px; text-align: center; color: var(--muted); }
.computer-files-empty > .icon { width: 34px; height: 34px; color: #9daabe; margin-bottom: 12px; }
.computer-files-empty h3 { color: var(--text); font-size: 18px; font-weight: 500; margin: 12px 0; }
.computer-files-empty p { font-size: 13px; line-height: 1.9; }
.computer-files-empty button { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; border: 0; border-radius: 6px; padding: 8px 12px; margin: 10px 3px 0; background: var(--accent-soft); color: var(--accent); }
.computer-files-empty button .icon { width: 15px; height: 15px; }
.computer-recent-work { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.computer-recent-work h3 { font-size: 12px; font-weight: 400; color: var(--muted); margin: 0 0 10px; }
.computer-recent-work button { display: flex; gap: 12px; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: 13px 0; color: var(--text); font-size: 13px; }
.computer-recent-work button span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.computer-activity { overflow-y: auto; padding: 28px 24px; }
.computer-activity h2 { margin: 0 0 8px; font-size: 23px; font-weight: 600; }
.computer-activity > p { color: var(--muted); font-size: 13px; }
.computer-activity ol { list-style: none; margin: 28px 0 0; padding: 0; }
.computer-activity li { display: flex; gap: 16px; padding: 0 0 24px; }
.computer-activity-dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: #acb8ca; margin-top: 6px; }
.computer-activity li > div { min-width: 0; }
.computer-activity small { font-size: 11px; color: var(--muted); }
.computer-activity li button { display: flex; align-items: center; gap: 7px; text-align: left; font-size: 14px; line-height: 1.6; border: 0; background: none; padding: 5px 0; color: var(--text); overflow-wrap: anywhere; }
.computer-activity li button .icon { width: 13px; height: 13px; color: var(--muted); }
.computer-activity li p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0; }
.computer-activity-live { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--accent); padding: 15px 0; }
.alchemy-work-computer .computer-agent.research-main { grid-column: 1; grid-row: 2; border: 0; background: #fff; width: auto; }
.computer-agent-header { height: 88px; flex: 0 0 88px; display: flex; align-items: center; gap: 13px; padding: 0 23px; }
.computer-agent-header > .icon { color: var(--accent); width: 23px; height: 23px; }
.computer-agent-header h1 { font: italic 29px/1.2 Georgia, serif; letter-spacing: -.5px; margin: 0; }
.computer-agent-header p { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.computer-agent .research-content { min-height: 0; }
.computer-agent .computer-agent-scroll { padding: 32px 32px 28px; scrollbar-gutter: auto; }
.computer-agent .research-stream { width: min(100%, 760px); max-width: 100%; }
.computer-agent .message.user { background: #e9effb; padding: 14px 18px; max-width: 88%; }
.computer-agent .message .markdown { font-size: 16px; line-height: 1.85; }
.computer-agent .message.assistant > .message-body::before { display: none; }
.computer-agent .message { margin-bottom: 24px; }
.computer-agent .work-delivery-summary { font-size: 16px; line-height: 1.85; }
.computer-agent .work-result-link { padding: 14px; border-radius: 10px; gap: 10px; }
.computer-agent .work-result-link span { font-size: 13px; }
.computer-agent .message-meta-band { gap: 3px; }
.computer-agent .message-actions { gap: 3px; flex-wrap: wrap; align-items: flex-start; max-width: 100%; }
.computer-agent .message-actions:has(.message-more[open]) { width: min(320px, 100%); }
.computer-agent .message-actions button { font-size: 10px; }
.computer-agent .message-more { min-width: 0; max-width: 100%; }
.computer-agent .message-more > summary { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; list-style: none; }
.computer-agent .message-more > summary::-webkit-details-marker { display: none; }
.computer-agent .message-more > summary:hover, .computer-agent .message-more[open] > summary { color: var(--accent); background: #f1f4f9; }
.computer-agent .message-more > summary:focus-visible, .computer-agent .message-more-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.computer-agent .message-more[open] { width: 260px; }
.computer-agent .message-more-list { display: grid; gap: 2px; margin-top: 5px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.computer-agent .message-more-list button { width: 100%; height: auto; min-height: 36px; justify-content: flex-start; gap: 9px; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: 12px; line-height: 1.5; text-align: left; white-space: normal; }
.computer-agent .message-more-list button:hover, .computer-agent .message-more-list button:focus-visible { transform: none; }
.computer-agent .message-more-list button::after { display: none; }
.computer-agent .message-more-list .icon { flex-shrink: 0; }
.computer-agent .computer-agent-status { width: min(calc(100% - 64px), 760px); margin: 0 auto; padding: 15px 0 12px; color: var(--muted); font-size: 11px; flex: 0 0 auto; }
.alchemy-work-computer .computer-agent .research-composer { width: min(calc(100% - 64px), 760px); margin: 0 auto 24px; padding: 16px 18px; min-height: 132px; border-radius: 16px; gap: 10px; border-color: var(--line); box-shadow: none; }
.alchemy-work-computer .computer-agent .research-composer textarea { min-height: 64px; max-height: 180px; font-size: 16px; line-height: 1.7; }
.computer-agent .research-send-row { min-height: 34px; }
.computer-agent .send-button { width: 36px; height: 36px; border-radius: 50%; }
.computer-agent .work-upload-label { font-size: 12px; }
.computer-agent .composer-attachments { min-width: 0; width: 100%; }
.computer-agent .composer-attachments > summary { display: flex; align-items: center; gap: 7px; width: fit-content; max-width: 100%; min-height: 30px; color: var(--muted); font-size: 12px; cursor: pointer; list-style: none; }
.computer-agent .composer-attachments > summary::-webkit-details-marker { display: none; }
.computer-agent .composer-attachments > summary .icon { width: 15px; height: 15px; }
.computer-agent .composer-attachments > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.computer-agent .composer-attachments[open] > summary { color: var(--accent); }
.computer-agent .composer-attachments[open] > summary > .icon:last-child { transform: rotate(90deg); }
.computer-agent .research-attached-files { display: flex; flex-direction: column; max-height: 136px; overflow: auto; margin-top: 6px; padding: 0 4px 4px 0; }
.computer-agent .research-attached-file { width: 100%; max-width: 100%; border-radius: 8px; }
.computer-agent .research-attached-file-name { flex: 1; font-weight: 500; }
.computer-agent-welcome { width: min(100%, 760px); margin: 0 auto; padding: clamp(32px, 10vh, 110px) 0 24px; }
.computer-agent-welcome h1 { font-size: clamp(25px, 2.6vw, 38px); font-weight: 500; line-height: 1.5; margin: 0 0 22px; }
.computer-agent-welcome p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.computer-agent-welcome button { display: flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--accent); font-size: 13px; }
.computer-agent .source-upload-receipt { margin: 12px 0; width: 100%; }
.computer-window .work-document h1 { font-size: 32px; }
.computer-window .work-document { font-size: 15px; background: white; }
.computer-window .work-document h2 { font-size: 23px; }
.computer-window .work-document-toolbar { padding: 14px 22px; flex-wrap: wrap; }
.computer-window .work-document-toolbar > select { flex-basis: 100%; }
.computer-window .work-document-footer { padding: 14px 22px; }
.computer-mobile-switch { display: none; }
@media (max-width: 1100px) and (min-width: 701px) {
  .alchemy-work-computer { --sidebar-width: 184px; }
  .work-account { padding-left: 0; padding-right: 0; gap: 8px; }
  .work-account > span[title] { white-space: nowrap; }
  .alchemy-work-computer .research-page.computer-page { grid-template-columns: minmax(0, 1fr) 340px; }
  .computer-stage { padding: 0 12px 16px; }
  .computer-topbar { padding: 0 12px; }
  .computer-breadcrumb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .computer-path-divider { display: none; }
  .computer-file-columns, .computer-file-entry { grid-template-columns: minmax(0, 1fr) 58px; gap: 10px; }
  .computer-file-columns > :last-child, .computer-file-entry > :last-child { display: none; }
  .computer-file-entry .computer-file-scope-inline { display: block; }
  .computer-files { padding: 22px 16px; }
  .computer-files .work-files-heading h2 { font-size: 21px; }
  .computer-file-entry .work-file-row { gap: 10px; }
  .computer-window .work-document-toolbar { flex-wrap: wrap; }
  .computer-window .work-document-toolbar > select { flex-basis: 100%; }
}
@media (max-width: 700px) {
  .alchemy-work-computer .work-sidebar { visibility: hidden; }
  .alchemy-work-computer .drawer-open .work-sidebar { visibility: visible; }
}
@media (max-width: 1000px) {
  .alchemy-work-computer .research-page.computer-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: 54px 44px minmax(0, 1fr); }
  .artifact-toggle { display: none; }
  .artifact-panel-header { padding: 0 4px 12px; }
  .computer-topbar { padding: 0 12px; gap: 9px; }
  .computer-breadcrumb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .computer-path-divider { display: none; }
  .computer-breadcrumb .icon { width: 21px; height: 21px; }
  .computer-topbar .work-title .chat-title-text { max-width: 53vw; font-size: 13px; }
  .computer-mobile-switch { grid-row: 2; display: flex; padding: 0 12px; gap: 20px; border-bottom: 1px solid var(--line); }
  .computer-mobile-switch button { display: flex; align-items: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); padding: 0 10px; font-size: 13px; }
  .computer-mobile-switch button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
  .computer-mobile-switch .icon { width: 17px; height: 17px; }
  .computer-stage { grid-column: 1; grid-row: 3; padding: 12px; border-left: 0; }
  .computer-page .computer-window { width: 100%; box-shadow: none; }
  .computer-files { padding: 24px 16px; }
  .computer-files .work-files-heading h2 { font-size: 22px; }
  .computer-files-description { font-size: 12px; }
  .computer-file-columns, .computer-file-entry { grid-template-columns: minmax(0, 1fr) 55px; gap: 8px; }
  .computer-file-columns > :last-child, .computer-file-entry > :last-child { display: none; }
  .computer-file-entry .computer-file-scope-inline { display: block; }
  .computer-file-entry .work-file-row { gap: 11px; }
  .computer-file-entry .work-file-row strong { font-size: 13px; }
  .computer-window-footer { padding: 14px 16px; font-size: 10px; }
  .alchemy-work-computer .computer-agent.research-main { grid-column: 1; grid-row: 3; border-left: 0; }
  .computer-agent-header { display: none; }
  .computer-page[data-mobile-surface="work"] .computer-agent { display: none; }
  .computer-page[data-mobile-surface="agent"] .computer-stage { display: none; }
  .computer-agent .computer-agent-scroll { padding: 24px 18px; }
  .alchemy-work-computer .computer-agent .research-composer { width: calc(100% - 32px); margin-bottom: max(16px, env(safe-area-inset-bottom)); padding: 14px; }
  .computer-agent .computer-agent-status { width: calc(100% - 36px); }
  .computer-agent .message .markdown, .computer-agent .work-delivery-summary { font-size: 15px; }
  .computer-agent .message-actions > button, .computer-agent .message-more > summary { width: 44px; height: 44px; }
  .computer-agent .message-more-list button { min-height: 44px; font-size: 13px; }
  .computer-agent .composer-attachments > summary { min-height: 44px; }
  .computer-agent .research-attached-file-delete { width: 40px; height: 40px; }
  .computer-window .work-document-toolbar { flex-wrap: wrap; padding: 12px 16px; }
  .computer-window .work-document-toolbar > select { flex-basis: 100%; }
  .computer-window .work-document { padding: 24px 20px; }
  .computer-window .work-document h1 { font-size: 27px; }
  .computer-window .work-document-footer { padding: 12px 16px; }
  .computer-window .work-editor-wrap { padding: 10px 16px 20px; }
  .computer-window .work-export-options { padding: 0 16px 10px; }
}

/* Stable destinations and a bounded personal recent list. */
.alchemy-work-computer { --muted: #626d7c; --muted-2: #626d7c; }
.alchemy-work-computer .work-sidebar { padding: 22px 14px 16px; background: #f7f8fa; }
.work-brand-row { padding: 0 12px 22px; }
.work-nav { padding-bottom: 14px; gap: 4px; }
.work-nav button, .work-nav a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.work-nav a:hover { background: #e9edf3; color: var(--text); }
.work-nav .icon { width: 19px; height: 19px; flex-shrink: 0; }
.work-nav .work-new-chat { margin-bottom: 10px; border: 1px solid #cbd7f3; background: #e8efff; color: #254cae; font-weight: 600; }
.work-nav kbd { margin-left: auto; font: 10px system-ui; color: var(--muted); white-space: nowrap; }
.work-lab-nav { padding-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-recents { padding: 20px 0 8px; }
.work-recents h2 { margin-bottom: 12px; font-weight: 500; }
.work-sidebar .sidebar-task-row { min-height: 32px; padding: 7px 10px 3px; gap: 8px; }
.work-sidebar .computer-work-folder { width: 16px; height: 16px; flex-shrink: 0; }
.work-sidebar .sidebar-task-title { font-size: 13px; }
.work-sidebar .sidebar-chat-actions { background: #f7f8fa; }
.work-recent-item { padding-bottom: 8px; }
.work-recent-item > small { display: block; padding: 0 10px 0 34px; color: var(--muted); font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.work-all-chats { border: 0; background: none; color: #3159b8; margin: 4px 10px; padding: 8px 0; font-size: 12px; }
.work-account { border-top: 1px solid var(--line); }
.work-library { background: #fff; }
.work-library .work-topbar { background: #fff; flex-shrink: 0; }
.work-library-content { width: min(1080px, calc(100% - 80px)); padding: 36px 0; }
.work-library-content > h1 { font: 600 28px/1.5 var(--font-sans, system-ui, sans-serif); margin: 0 0 8px; letter-spacing: -.5px; overflow-wrap: anywhere; }
.work-library-content > p { margin: 0 0 28px; font-size: 14px; }
.library-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.library-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.library-filters button { display: inline-flex; gap: 7px; align-items: center; padding: 8px 11px; border: 1px solid transparent; border-radius: 7px; background: none; color: var(--muted); font-size: 13px; }
.library-filters button[aria-pressed="true"] { background: #edf2fe; border-color: #d9e3fa; color: #284caa; }
.library-filters button span { font-size: 11px; }
.library-search { display: flex; align-items: center; gap: 8px; min-width: 200px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.library-search .icon { width: 16px; height: 16px; color: var(--muted); }
.library-search input { width: 100%; border: 0; background: transparent; padding: 0; font-size: 13px; color: var(--text); outline: none; }
.library-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.library-project { position: relative; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 20px; background: #fff; }
.library-project:hover { border-color: #b9c9e7; }
.library-project-main { display: flex; align-items: center; gap: 16px; }
.library-project-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: #eff3fa; color: #5577b5; border-radius: 10px; }
.library-project-main > button { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 8px; text-align: left; border: 0; padding: 0; background: none; }
.library-project-main strong { font-size: 16px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.library-project-main button:hover strong { color: var(--accent); }
.library-project-main button > span { color: var(--muted); font-size: 12px; }
.library-project-main code { font-size: 11px; }
.library-access { color: var(--muted); font-size: 12px; white-space: nowrap; }
.library-project-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #eef1f5; }
.library-project-actions > button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; background: #f6f8fc; color: #426096; border: 0; border-radius: 6px; font-size: 12px; min-height: 32px; }
.library-project-actions .icon { width: 16px; height: 16px; }
.library-project-actions .sidebar-project-member-stack { position: static; }
.library-project-actions > button:hover { background: #e9effc; }
.library-chat { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.library-chat .sidebar-task-row { padding: 4px 8px; min-height: 32px; }
.library-chat .sidebar-task-title { font-size: 15px; font-weight: 500; white-space: normal; overflow-wrap: anywhere; }
.library-chat .sidebar-task-metaline { display: none; }
.library-chat .sidebar-task-line { border: 0; background: none; box-shadow: none; }
.library-chat .computer-work-folder { display: block; width: 18px; height: 18px; color: var(--muted); }
.library-chat-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 5px 8px 0 34px; color: var(--muted); font-size: 12px; }
.library-chat-meta > span:first-child { flex: 1; }
.library-back, .library-more { color: #3159b8; background: none; border: 0; padding: 10px 0; font-size: 13px; }
.library-back { margin-bottom: 12px; }
.library-more { display: block; margin: 16px auto; }
.library-empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.library-empty > .icon { width: 30px; height: 30px; color: var(--muted); }
.library-empty h2 { font-size: 18px; font-weight: 500; }
.library-empty p { color: var(--muted); font-size: 13px; }
.library-empty button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #3159b8; }
.library-archive { margin-top: 28px; border-top: 1px solid var(--line); }
.work-library button:focus-visible, .work-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1000px) {
  .library-tools { align-items: stretch; flex-direction: column; }
  .library-access { white-space: normal; max-width: 100px; line-height: 1.6; }
}
@media (max-width: 700px) {
  .work-library-content { width: calc(100% - 32px); padding: 24px 0; }
  .work-library-content > h1 { font-size: 24px; }
  .library-project { padding: 16px; }
  .library-project-main { gap: 10px; flex-wrap: wrap; }
  .library-project-main strong { font-size: 15px; }
  .library-access { max-width: none; width: 100%; padding-left: 52px; }
  .library-project-actions { justify-content: flex-start; flex-wrap: wrap; gap: 6px; }
  .library-project-actions > button, .library-filters button { min-height: 44px; }
  .library-project-icon { flex-basis: 36px; height: 36px; }
  .library-chat-meta { padding-left: 8px; }
}

/* Product updates explain useful outcomes; legacy tools remain secondary. */
.feature-new-badge { margin-left: auto; color: #3159b8; background: #e8efff; border-radius: 4px; padding: 3px 5px; font: 600 9px/1.2 system-ui; letter-spacing: .4px; }
.work-extra-tools { padding-top: 8px; border-top: 1px solid var(--line); }
.work-account-menu .work-extra-tools > summary { width: auto; height: auto; padding: 9px 8px; font-size: 13px; justify-content: flex-start; border-radius: 6px; cursor: pointer; }
.work-extra-tools a { display: block; padding: 9px 12px; color: var(--muted); font-size: 12px; text-decoration: none; }
.work-extra-tools a:hover { color: var(--accent); background: var(--accent-soft); }
.computer-window-footer > button { display: flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--accent); padding: 0; font: inherit; cursor: pointer; }
.alchemy-work-computer .work-guide { width: min(920px, calc(100vw - 40px)); max-height: min(860px, calc(100dvh - 48px)); background: white; border-radius: 20px; box-shadow: 0 24px 100px #23345530; }
.work-guide .guide-head { padding: 28px 32px 20px; align-items: flex-start; background: linear-gradient(125deg, #f5f8ff, #fff 75%); }
.work-guide .guide-head-icon { display: none; }
.feature-release-label { display: block; color: #4c6fb6; font: 600 11px/1.5 system-ui; letter-spacing: 1.5px; margin-bottom: 10px; }
.work-guide .guide-head h2 { font: 600 27px/1.5 system-ui, sans-serif; letter-spacing: -.5px; margin: 0; }
.work-guide .guide-head p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.work-guide .guide-tabs { padding: 0 32px; gap: 28px; }
.work-guide .guide-tab { padding: 14px 2px; font-weight: 500; }
.work-guide .guide-tab.is-selected { color: #3159b8; border-bottom-color: #3159b8; }
.work-guide .guide-body { padding: 24px 32px; }
.work-guide .guide-tab-intro { font-size: 14px; margin-bottom: 20px; }
.feature-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work-guide .feature-item { display: block; margin: 0; }
.work-guide .feature-overview .feature-item { padding: 18px; border: 1px solid #e2e8f2; border-radius: 12px; background: #fff; }
.work-guide .feature-item .guide-item-icon { display: none; }
.feature-item-tag { display: inline-block; color: #47745e; background: #edf6ef; font-size: 10px; padding: 3px 6px; border-radius: 4px; margin-bottom: 8px; }
.work-guide .feature-item h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.work-guide .feature-item p { margin: 0; font-size: 13px; line-height: 1.8; }
.work-guide .feature-item .work-guide-link { margin-top: 12px; font-size: 12px; text-decoration: none; color: #3159b8; }
.feature-result-preview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 26px; margin-top: 22px; padding: 24px; border-radius: 14px; background: #f3f6fb; }
.feature-result-preview > div > span { color: #697991; font-size: 11px; }
.feature-result-preview h3 { font-size: 18px; line-height: 1.6; margin: 9px 0; }
.feature-result-preview > div > p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.feature-document { padding: 18px; background: #fff; border: 1px solid #e1e7f1; border-radius: 8px; box-shadow: 0 5px 16px #36496b08; }
.feature-document > small { display: block; font-size: 10px; color: #798396; }
.feature-document > strong { display: block; margin: 10px 0 12px; font-size: 16px; }
.feature-document p { display: flex; gap: 14px; margin: 0; padding: 7px 0; border-top: 1px solid #edf0f5; font-size: 11px !important; }
.feature-document p span { color: var(--text); }
.work-guide .guide-foot { padding: 16px 32px; gap: 14px; }
.work-guide .guide-foot > button { min-height: 40px; font-size: 13px; white-space: nowrap; }
.work-guide .guide-foot .primary { display: inline-flex; gap: 7px; align-items: center; }
.work-guide .work-example-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.work-guide .work-example-picker button { font-size: 12px; padding: 8px 10px; }
.work-guide .work-example-detail { padding: 18px 0 0; border: 0; background: none; }
.work-guide .work-example-detail > h3 { font-size: 21px; }
.work-guide .work-example-disclaimer { font-size: 11px; color: var(--muted); }
.feature-legacy { margin-top: 18px; font-size: 12px; color: var(--muted); }
.feature-legacy summary { cursor: pointer; padding: 12px 0; }
.feature-legacy p { line-height: 1.8; }
.feature-legacy a { display: inline-block; margin: 6px 20px 6px 0; color: #3159b8; }
@media (max-width: 700px) {
  .alchemy-work-computer .work-guide { width: calc(100vw - 24px); max-height: calc(100dvh - 32px); border-radius: 16px; }
  .work-guide .guide-head { padding: 20px 18px 16px; }
  .work-guide .guide-head h2 { font-size: 22px; padding-right: 10px; }
  .work-guide .guide-tabs { padding: 0 18px; gap: 24px; }
  .work-guide .guide-tab { font-size: 13px; }
  .work-guide .guide-body { padding: 18px; }
  .feature-overview, .feature-result-preview { grid-template-columns: 1fr; }
  .work-guide .feature-overview .feature-item { padding: 16px; }
  .feature-result-preview { padding: 18px; gap: 10px; }
  .work-guide .guide-foot { padding: 12px 18px; gap: 8px; }
  .work-guide .guide-foot > span { flex-basis: 100%; font-size: 11px; }
  .work-guide .guide-foot > button { min-height: 44px; }
}
.feature-model-highlight { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 28px; margin-top: 22px; padding: 26px; border: 1px solid #dfe7f6; border-radius: 14px; background: linear-gradient(115deg, #ecf2ff, #f9fbff); }
.feature-model-highlight > div > span { display: block; font-size: 11px; color: #59739e; }
.feature-model-highlight strong { display: block; font: 600 52px/1.3 system-ui; letter-spacing: -2px; color: #31528e; margin-top: 6px; }
.feature-model-highlight > p { font-size: 17px; line-height: 1.8; margin: 0; color: #344b70; }
.feature-model-highlight small { display: block; margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.8; }
@media (max-width: 700px) { .feature-model-highlight { grid-template-columns: 1fr; gap: 14px; padding: 20px; } }
