/* Light Hermes Desktop-inspired shell. Palette and layout follow the public
   NousResearch/hermes-agent apps/desktop/src/styles.css design tokens. */
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --chrome: #f8faff;
  --sidebar: #f3f7ff;
  --surface: #fff;
  --ink: #17171a;
  --ink-secondary: #575965;
  --ink-muted: #808493;
  --accent: #0053fd;
  --accent-soft: #e8efff;
  --accent-hover: #0046d8;
  --border: rgba(23, 23, 26, .105);
  --border-soft: rgba(23, 23, 26, .065);
  --sidebar-width: 238px;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { color: var(--ink); background: var(--chrome); font-size: 13px; line-height: 1.45; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .54; }
button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, textarea, select { color: var(--ink); }
a { color: var(--accent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -60px; left: 12px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--accent); border-radius: 7px; }
.skip-link:focus { top: 10px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: transparent; color: var(--ink-secondary); }
.icon-button:hover { background: rgba(0, 83, 253, .07); color: var(--ink); }

.app-shell { width: 100%; height: 100dvh; min-height: 480px; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); overflow: hidden; }
.sidebar { display: flex; flex-direction: column; min-height: 0; background: var(--sidebar); border-right: 1px solid var(--border); }
.sidebar-brand { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 15px; flex: 0 0 auto; }
.brand-mark { display: block; width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; }
.brand-mark.large { width: 44px; height: 44px; }
.mobile-brand-mark { display: none; width: 27px; height: 27px; flex: 0 0 auto; object-fit: contain; }
.brand-name { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; letter-spacing: -.025em; }
.brand-name strong { font-size: 17px; font-weight: 730; }
.brand-name small { color: var(--ink-muted); font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.sidebar-close { display: none; margin-left: auto; }
.sidebar-actions { padding: 9px 13px 11px; }
.new-chat-button { display: flex; align-items: center; gap: 9px; width: 100%; height: 35px; padding: 0 11px; border: 1px solid rgba(0, 83, 253, .16); border-radius: 8px; background: #fff; color: #1e3470; font-weight: 590; box-shadow: 0 1px 2px rgba(12, 33, 85, .035); }
.new-chat-button span { min-width: 0; white-space: nowrap; }
.new-chat-button:hover { background: #fdfdff; border-color: rgba(0, 83, 253, .28); }
.new-chat-button .icon { width: 16px; height: 16px; color: var(--accent); }
.new-chat-button kbd { display: none; }
.main-nav { display: grid; gap: 2px; padding: 0 10px 11px; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 33px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #585e6b; text-align: left; font-weight: 540; }
.nav-item .icon { width: 16px; height: 16px; }
.nav-item:hover { background: rgba(0, 83, 253, .055); color: var(--ink); }
.nav-item.active { background: rgba(0, 83, 253, .095); color: #003dbf; font-weight: 650; }
.nav-separator { height: 1px; margin: 8px 9px; background: var(--border); }
.sessions-section { display: flex; flex-direction: column; min-height: 0; flex: 1; border-top: 1px solid var(--border-soft); padding-top: 15px; }
.section-heading { display: flex; align-items: center; gap: 7px; padding: 0 19px 11px; }
.section-heading h2 { margin: 0; color: #727888; font-size: 10px; line-height: 1; letter-spacing: .085em; text-transform: uppercase; font-weight: 750; }
.count-badge { display: inline-flex; min-width: 19px; height: 19px; align-items: center; justify-content: center; padding: 0 5px; border-radius: 6px; background: #e8edf6; color: #6e7583; font-size: 10px; font-weight: 650; }
.search-field { display: flex; align-items: center; gap: 6px; height: 31px; margin: 0 13px 8px; padding: 0 9px; border: 1px solid transparent; border-radius: 7px; background: rgba(32, 57, 103, .055); color: #969cac; }
.search-field:focus-within { background: #fff; border-color: rgba(0, 83, 253, .32); }
.search-field .icon { width: 14px; height: 14px; }
.search-field input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }
.search-field input::placeholder { color: #959baa; }
.session-list { overflow-y: auto; min-height: 0; padding: 1px 9px 20px; scrollbar-color: #cbd2df transparent; scrollbar-width: thin; }
.session-item { position: relative; display: flex; align-items: center; width: 100%; min-height: 43px; padding: 5px 5px 5px 10px; border-radius: 7px; }
.session-item:hover { background: rgba(0, 83, 253, .055); }
.session-item.active { background: rgba(0, 83, 253, .095); }
.session-main { display: block; width: 100%; min-width: 0; padding: 0 29px 0 0; border: 0; background: transparent; color: inherit; text-align: left; }
.session-title-line { display: flex; align-items: center; gap: 4px; min-width: 0; }
.session-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 580; }
.session-title-line .session-pin { flex: 0 0 12px; width: 12px; height: 12px; color: #536b9c; }
.session-item.active .session-title { color: #003dbf; font-weight: 680; }
.session-time { display: block; margin-top: 2px; color: #999dac; font-size: 10px; }
.session-actions { position: absolute; top: 8px; right: 6px; width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; color: #959cab; background: transparent; opacity: 0; }
.session-actions .icon { width: 16px; height: 16px; }
.session-item:hover .session-actions, .session-actions:focus-visible, .session-actions[aria-expanded="true"] { opacity: 1; }
.session-actions:hover, .session-actions[aria-expanded="true"] { background: rgba(0, 83, 253, .08); color: #345cab; }
.session-item.has-clarification .session-main { padding-right: 59px; }
.session-question-marker { position: absolute; top: 50%; right: 38px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #abc2f2; border-radius: 6px; background: #eaf1ff; color: #2458c1; font-size: 13px; font-weight: 750; transform: translateY(-50%); }
.session-menu { position: fixed; z-index: 110; display: grid; gap: 2px; width: 192px; padding: 5px; border: 1px solid #d7deea; border-radius: 9px; background: #fff; box-shadow: 0 10px 28px rgba(34, 49, 79, .17); }
.session-menu button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: #47536b; text-align: left; font-size: 11px; }
.session-menu button:hover, .session-menu button:focus-visible { background: #eef3ff; color: #2252b2; }
.session-menu button.danger:hover, .session-menu button.danger:focus-visible { background: #fff0f2; color: #b73b53; }
.session-menu .icon { width: 15px; height: 15px; }
@media (hover: none) { .session-actions { opacity: 1; } }
.session-empty { padding: 22px 12px; color: #8c92a1; text-align: center; font-size: 11px; }
.sidebar-footer { padding: 9px 11px 11px; border-top: 1px solid var(--border); }
.account-card { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 5px; border-radius: 8px; }
.account-avatar, .topbar-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 29px; height: 29px; border: 1px solid rgba(0, 83, 253, .1); border-radius: 8px; background: #deebff; color: #0045bf; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.account-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.account-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 650; }
.account-meta small { color: #9399a6; font-size: 10px; }
.account-card .icon-button { width: 26px; height: 26px; }
.account-card .icon { width: 15px; height: 15px; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; }
.main-column { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 50px; flex: 0 0 auto; padding: 0 18px 0 24px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .44); }
.breadcrumbs { display: flex; align-items: center; min-width: 0; gap: 7px; color: #8c93a0; font-size: 11px; }
.breadcrumbs .icon { width: 11px; height: 11px; color: #aab0bc; }
.breadcrumbs strong { color: #343743; font-weight: 630; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 13px; }
.connection-label { display: inline-flex; align-items: center; gap: 7px; color: #69707e; font-size: 10.5px; white-space: nowrap; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #a8afbd; box-shadow: 0 0 0 3px rgba(168, 175, 189, .11); }
.status-dot.online { background: #38a574; box-shadow: 0 0 0 3px rgba(56, 165, 116, .11); }
.status-dot.offline { background: #db6874; box-shadow: 0 0 0 3px rgba(219, 104, 116, .11); }
.topbar-divider { width: 1px; height: 20px; background: var(--border); }
.topbar-avatar { width: 27px; height: 27px; font-size: 11px; }
.mobile-menu { display: none; }
#mainContent { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; }
.view { flex: 1; min-width: 0; min-height: 0; }
.chat-view { display: flex; flex-direction: column; }
.chat-header { display: flex; align-items: center; justify-content: space-between; min-height: 63px; flex: 0 0 auto; padding: 9px 22px; border-bottom: 1px solid var(--border-soft); }
.chat-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.chat-glyph { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 8px; background: #e7eeff; color: var(--accent); }
.chat-glyph .icon { width: 16px; height: 16px; }
.chat-heading h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; font-size: 13px; line-height: 1.25; font-weight: 680; }
.chat-heading p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 2px 0 0; color: #969ba8; font-size: 10px; }
.delete-chat-button { margin-left: 10px; }
.delete-chat-button:hover { color: #c23453; background: #fce9ed; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #d1d6e0 transparent; scrollbar-width: thin; }
.messages { width: min(100%, 980px); min-height: 100%; margin: 0 auto; padding: 25px 34px 35px; }
.welcome { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: min(100%, 480px); padding: 30px max(0px, calc((100% - 625px) / 2)); }
.welcome-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; color: var(--accent); background: #e8efff; }
.welcome-icon .icon { width: 22px; height: 22px; }
.welcome h2 { margin: 0 0 7px; letter-spacing: -.035em; font-size: clamp(24px, 3vw, 32px); font-weight: 710; line-height: 1.16; }
.welcome p { max-width: 460px; margin: 0; color: var(--ink-secondary); font-size: 13px; line-height: 1.6; }
.welcome-tips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.welcome-tips button { display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: #606575; font-size: 11px; text-align: left; }
.welcome-tips button:hover { border-color: rgba(0, 83, 253, .26); color: #0048cf; }
.message { display: flex; gap: 13px; padding: 14px 0 18px; }
.message + .message { border-top: 1px solid var(--border-soft); }
.message-avatar { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 7px; background: #e7eeff; color: #0053fd; font-size: 11px; font-weight: 750; }
.message.user .message-avatar { background: #e6e9ee; color: #515869; }
.message-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.message-meta { display: flex; align-items: baseline; gap: 9px; margin: 3px 0 9px; }
.message-meta strong { font-size: 11.5px; font-weight: 700; }
.message-meta time { color: #a2a6b2; font-size: 10px; }
.message-content { color: #2a2d35; font-size: 13px; line-height: 1.68; }
.message.user .message-content { white-space: pre-wrap; }
.message-interims:empty { display: none; }
.message-interims { display: grid; gap: 10px; margin: 0 0 13px; }
.message-interim { padding: 10px 13px; border-left: 3px solid #b5c8ed; border-radius: 0 8px 8px 0; background: #f7f9fd; }
.message-interim-label { margin-bottom: 5px; color: #6e80a0; font-size: 10px; font-weight: 700; }
.message-interim .message-content { color: #344259; }
.message-interim .message-content > :last-child { margin-bottom: 0; }
.message-actions { display: flex; align-items: center; gap: 3px; margin-top: 8px; }
.message-action { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #8b94a5; }
.message-action .icon { width: 15px; height: 15px; }
.message-action:hover:not(:disabled), .message-action:focus-visible { background: #eaf0ff; color: #2254c2; }
.message-action:disabled { opacity: .38; }
.message-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.message-attachment { display: inline-flex; align-items: center; gap: 9px; max-width: min(100%, 320px); min-height: 46px; padding: 6px 9px; border: 1px solid #dce4f2; border-radius: 9px; background: #fff; color: #405579; text-decoration: none; }
.message-attachment:hover, .message-attachment:focus-visible { border-color: #a8bfed; background: #f7faff; }
.message-attachment .icon { flex: 0 0 auto; width: 22px; height: 22px; color: #5e80c5; }
.message-attachment-thumb { width: 68px; height: 55px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; background: #edf1f8; }
.message-attachment-label { display: grid; gap: 3px; min-width: 0; }
.message-attachment-label strong { overflow: hidden; font-size: 11px; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.message-attachment-label small { color: #8a95a8; font-size: 10px; }
.message-artifacts { margin-top: 16px; }
.message-artifacts-title { display: block; margin-bottom: 8px; color: #63718a; font-size: 10.5px; font-weight: 700; }
.message-artifact-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.message-artifact-preview { display: flex; align-items: center; justify-content: center; width: min(100%, 440px); min-height: 120px; overflow: hidden; border: 1px solid #dce4f2; border-radius: 9px; background: #f4f7fb; }
.message-artifact-preview:hover, .message-artifact-preview:focus-visible { border-color: #92b4ee; }
.message-artifact-preview:focus-visible { outline: 2px solid #4b82e7; outline-offset: 2px; }
.message-artifact-preview-image { display: block; max-width: 100%; max-height: 360px; width: auto; height: auto; object-fit: contain; }
.message-artifact-list { display: flex; flex-wrap: wrap; gap: 8px; }
.message-artifact { display: flex; align-items: center; gap: 10px; width: min(100%, 390px); min-width: 0; min-height: 54px; padding: 9px 11px; border: 1px solid #ccdcf5; border-radius: 9px; background: #f5f8ff; color: #2f4d83; text-decoration: none; }
.message-artifact:hover, .message-artifact:focus-visible { border-color: #92b4ee; background: #eaf1ff; }
.message-artifact:focus-visible { outline: 2px solid #4b82e7; outline-offset: 2px; }
.message-artifact > .icon { width: 19px; height: 19px; flex: 0 0 auto; color: #557fc5; }
.message-artifact > .icon:last-child { width: 17px; height: 17px; margin-left: auto; }
.message-artifact-label { display: grid; gap: 3px; min-width: 0; }
.message-artifact-label strong { overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.message-artifact-label small { color: #7687a4; font-size: 10px; }
.message-audio { display: block; width: min(100%, 360px); height: 42px; margin-top: 8px; }
.message-content p { margin: 0 0 11px; }
.message-content p:last-child { margin-bottom: 0; }
.message-content hr { margin: 17px 0; border: 0; border-top: 1px solid var(--border-soft); }
.message-math-inline, .message-math-display { overflow-wrap: normal; }
.message-math-display { display: block; max-width: 100%; overflow-x: auto; margin: 10px 0 14px; padding: 3px 0; }
.message-math-display > .katex-display { width: max-content; min-width: 100%; margin: 0; }
.message-content h2, .message-content h3, .message-content h4 { margin: 19px 0 7px; line-height: 1.3; letter-spacing: -.01em; }
.message-content h2 { font-size: 17px; }.message-content h3 { font-size: 15px; }.message-content h4 { font-size: 13px; }
.message-content ul, .message-content ol { margin: 0 0 12px; padding-left: 21px; }.message-content li { padding-left: 2px; margin: 4px 0; }
.message-content strong { font-weight: 700; }
.message-content code { padding: 1px 4px; border-radius: 4px; background: #eef1f5; color: #234371; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.message-content .message-artifact-inline { color: #275eaf; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.message-content .message-artifact-inline:hover, .message-content .message-artifact-inline:focus-visible { color: #16437f; }
.message-content pre { max-width: 100%; overflow-x: auto; margin: 11px 0 14px; padding: 13px 15px; border: 1px solid #292f3b; border-radius: 9px; background: #171b22; color: #e4e9f1; font: 11.5px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.message-content pre code { padding: 0; background: transparent; color: inherit; font: inherit; }
.message-content .message-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin: 12px 0 16px; border: 1px solid #dce3ef; border-radius: 9px; background: #fff; scrollbar-color: #cbd5e5 transparent; scrollbar-width: thin; }
.message-content .message-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; line-height: 1.45; }
.message-content .message-table th, .message-content .message-table td { min-width: 105px; max-width: 340px; padding: 9px 12px; border-right: 1px solid #e8edf5; border-bottom: 1px solid #e8edf5; text-align: left; vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.message-content .message-table th:last-child, .message-content .message-table td:last-child { border-right: 0; }
.message-content .message-table tbody tr:last-child td { border-bottom: 0; }
.message-content .message-table th { color: #425478; background: #f3f6fc; font-size: 11.5px; font-weight: 700; }
.message-content .message-table td { color: #343b49; font-size: 12px; }
.message-content .message-table tbody tr:nth-child(even) { background: #f9fbff; }
.message-content .message-table .align-right { text-align: right; }
.message-content .message-table .align-center { text-align: center; }
.message-content .message-table code { font-size: 11px; }
.chat-order-card { width: min(100%, 820px); margin: 14px 0 5px; border: 1px solid #cddaf3; border-radius: 11px; background: var(--surface); overflow: hidden; container-type: inline-size; }
.chat-order-heading { margin: 0; padding: 10px 14px; border-bottom: 1px solid #e2eaf8; background: #f1f5ff; color: #284472; font-size: 13px; }
.chat-order-heading:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.chat-order-details { padding: 12px 14px; }
.chat-order-supplier { margin: 0; font-size: 14px; font-weight: 700; }
.chat-order-meta { margin: 2px 0 0; color: var(--ink-secondary); font-size: 11px; }
.chat-order-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 134px), 1fr)); gap: 8px 14px; margin: 10px 0 0; }
.chat-order-fields dt { color: var(--ink-secondary); font-size: 11px; }
.chat-order-fields dd { margin: 1px 0 0; font-weight: 650; }
.chat-order-positions { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.chat-order-positions th, .chat-order-positions td { border-top: 1px solid var(--border-soft); padding: 8px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.chat-order-positions th { background: var(--chrome); color: #425478; font-size: 11px; }
.chat-order-positions th:first-child { width: 28%; }
.chat-order-positions td small { display: block; margin-top: 2px; color: var(--ink-secondary); line-height: 1.35; }
.chat-order-mobile-label { display: none; }
.chat-order-actions { display: flex; justify-content: flex-end; padding: 10px 14px; border-top: 1px solid var(--border-soft); }
.chat-order-actions button { min-height: 36px; font-size: 12px; }
.chat-order-notice { margin: 0; padding: 10px 14px; border-top: 1px solid var(--border-soft); color: #536483; background: #f9fbff; font-size: 12px; }
.chat-order-notice.is-error { color: #89243a; background: #fff2f4; }
.chat-order-receipt { margin: 0; padding: 11px 14px; border-top: 1px solid #c3dfcd; background: #f2fbf5; color: #165534; }
.chat-order-receipt dt { color: #345b45; }
@container (max-width: 510px) {
  .chat-order-positions, .chat-order-positions tbody { display: block; }
  .chat-order-positions thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .chat-order-positions tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 10px 14px; border-top: 1px solid var(--border-soft); }
  .chat-order-positions td { display: block; padding: 0; border: 0; }
  .chat-order-positions td:first-child { grid-column: 1 / -1; }
  .chat-order-mobile-label { display: block; color: var(--ink-secondary); font-size: 10.5px; }
  .chat-order-positions td:first-child .chat-order-mobile-label { display: none; }
  .chat-order-actions button { min-height: 44px; width: 100%; }
}
.clarification-card { max-width: 720px; margin: 16px 0 5px; overflow: hidden; border: 1px solid #cddaf3; border-radius: 11px; background: #fbfcff; box-shadow: 0 5px 20px rgba(43, 78, 143, .06); }
.clarification-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 15px; border-bottom: 1px solid #e2eaf8; background: #f1f5ff; color: #284472; font-size: 12px; }
.clarification-heading strong { font-weight: 720; }.clarification-heading span { color: #6e7f9e; font-size: 10px; }
.clarification-form { padding: 2px 15px 14px; }.clarification-question { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }.clarification-question legend { margin-bottom: 9px; color: #293c60; font-size: 12px; font-weight: 650; line-height: 1.45; }
.clarification-choice { display: flex; align-items: flex-start; gap: 9px; min-width: 0; margin: 6px 0; padding: 8px 10px; border: 1px solid #e1e8f4; border-radius: 7px; background: #fff; color: #3d4d68; cursor: pointer; font-size: 11.5px; line-height: 1.45; }
.clarification-choice:hover { border-color: #b9c9e9; background: #f8faff; }.clarification-choice input[type="radio"], .clarification-choice input[type="checkbox"] { flex: 0 0 auto; margin: 2px 0 0; accent-color: #245ccc; }.clarification-choice > span { min-width: 0; overflow-wrap: anywhere; }.clarification-choice small { margin-left: auto; color: #416ec7; font-size: 10px; }
.clarification-other { align-items: center; }.clarification-other-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; cursor: pointer; }.clarification-other-toggle input { margin-top: 0 !important; }
.clarification-text, .clarification-other-text { min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid #ced9ea; border-radius: 7px; background: #fff; color: #293448; font: inherit; font-size: 11.5px; }
.clarification-text { resize: vertical; }.clarification-other-text { flex: 1; margin-left: 4px; }.clarification-other-text:disabled { background: #f4f6fa; color: #9199a7; }
.clarification-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 15px; }.clarification-actions button { min-height: 32px; }.clarification-state { margin: 0; padding: 15px; color: #557299; font-size: 11.5px; }
.message-diff { max-width: 100%; overflow: hidden; margin: 11px 0 14px; border: 1px solid #dce5f5; border-radius: 9px; background: #f8faff; }
.message-diff summary { display: flex; align-items: center; gap: 8px; padding: 8px 11px; color: #4a6293; cursor: pointer; font-size: 11px; font-weight: 650; list-style: none; }
.message-diff summary::-webkit-details-marker { display: none; }
.message-diff summary::after { content: "⌄"; margin-left: auto; color: #8290a8; font-size: 16px; line-height: 1; transition: transform .15s ease; }
.message-diff[open] summary::after { transform: rotate(180deg); }
.message-diff summary:hover { background: #f1f5ff; }
.message-diff summary:focus-visible, .progress-card > summary:focus-visible, .progress-diff summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.message-diff pre { margin: 0; border-radius: 0 0 8px 8px; }
.message-run-status { color: #596679; font-size: 13px; line-height: 1.55; }
.message-run-status:empty { display: none; }
.message-run-status.is-external { padding: 8px 11px; border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; background: #edf3ff; color: #284472; font-weight: 600; }
.message-running { color: #7183ab; font-size: 10px; font-weight: 550; }
.agent-progress:empty { display: none; }
.agent-progress { display: grid; gap: 4px; min-width: 0; margin: 0 0 13px; }
.progress-card, .progress-note { min-width: 0; max-width: 100%; border: 1px solid #e6e9ef; border-radius: 7px; background: #fff; color: #747d8a; font-size: 11px; }
.progress-card { overflow: hidden; }
.progress-card > summary { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 30px; padding: 5px 9px; list-style: none; cursor: pointer; }
.progress-card > summary::-webkit-details-marker, .progress-diff summary::-webkit-details-marker { display: none; }
.progress-card > summary:hover, .progress-diff summary:hover { background: #f7f9fc; }
.progress-card > summary::after, .progress-diff summary::after { content: "⌄"; flex: 0 0 auto; margin-left: 1px; color: #9da5b1; font-size: 15px; line-height: 1; transition: transform .15s ease; }
.progress-card[open] > summary::after, .progress-diff[open] summary::after { transform: rotate(180deg); }
.progress-card .icon, .progress-note .icon { width: 12px; height: 12px; color: #9ba5b2; }
.progress-reasoning > summary .icon { color: #768dbc; }
.progress-agent > summary .icon { color: #729c92; }
.progress-title { flex: 0 1 auto; min-width: 0; max-width: 48%; overflow: hidden; color: #5d6877; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.progress-preview { flex: 1 1 auto; min-width: 0; overflow: hidden; color: #88919f; text-overflow: ellipsis; white-space: nowrap; }
.progress-preview:empty { display: none; }
.progress-meta { flex: 0 0 auto; color: #9aa2ad; font-size: 10px; white-space: nowrap; }
.progress-meta:empty { display: none; }
.progress-card.failed, .progress-note.failed { border-color: #f2d6da; background: #fffafa; color: #c65a67; }
.progress-card.failed .progress-title, .progress-card.failed .progress-meta, .progress-note.failed .icon { color: #c65a67; }
.progress-body { min-width: 0; padding: 8px 10px 10px; border-top: 1px solid #edf0f4; background: #fcfdff; }
.progress-text { max-width: 100%; max-height: 380px; overflow: auto; margin: 0; color: #5f6978; font: 10.5px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.progress-reasoning .progress-text { max-height: none; overflow: visible; }
.progress-detail-section + .progress-detail-section, .progress-diff + .progress-detail-section, .progress-detail-section + .progress-diff { margin-top: 9px; }
.progress-detail-label { display: block; margin-bottom: 4px; color: #8a94a1; font-size: 10px; font-weight: 650; }
.progress-diff { overflow: hidden; border: 1px solid #e3e8f0; border-radius: 5px; background: #fff; }
.progress-diff summary { display: flex; align-items: center; justify-content: space-between; min-height: 25px; padding: 4px 8px; color: #72809a; cursor: pointer; font-size: 10px; list-style: none; }
.progress-diff .progress-text { max-height: 380px; padding: 7px 8px; border-top: 1px solid #e9edf3; }
.progress-empty { color: #9ba3af; font-size: 10.5px; }
.progress-note { display: flex; align-items: flex-start; gap: 7px; min-height: 27px; padding: 5px 9px; }
.progress-note .icon { margin-top: 1px; }
.progress-note-text { min-width: 0; overflow-wrap: anywhere; }
.progress-agent-list { display: grid; gap: 7px; }
.progress-agent-event { min-width: 0; padding-left: 9px; border-left: 2px solid #dce4ec; }
.progress-agent-event.failed { border-color: #e4a3aa; }
.progress-agent-event-label { display: block; margin-bottom: 2px; color: #788694; font-size: 10px; font-weight: 640; }
.progress-agent-event.failed .progress-agent-event-label { color: #c65a67; }
@media (max-width: 700px) {
  .progress-card > summary { flex-wrap: wrap; column-gap: 6px; }
  .progress-title { max-width: calc(100% - 65px); }
  .progress-preview { order: 3; flex-basis: 100%; padding-left: 18px; white-space: normal; overflow-wrap: anywhere; }
  .progress-card > summary::after { margin-left: auto; }
}
.typing-dots { display: inline-block; width: 5px; height: 5px; margin: 0 16px 0 6px; border-radius: 50%; vertical-align: middle; animation: dots-synced 6s ease-in-out infinite; }
@keyframes dots-synced {
  0%, 100% { box-shadow: 0 0 rgba(104, 127, 179, .4), 8px 0 rgba(104, 127, 179, .4), 16px 0 rgba(104, 127, 179, .4); }
  18% { box-shadow: 0 -3px #6880b3, 8px 0 rgba(104, 127, 179, .4), 16px 0 rgba(104, 127, 179, .4); }
  42% { box-shadow: 0 0 rgba(104, 127, 179, .4), 8px -3px #6880b3, 16px 0 rgba(104, 127, 179, .4); }
  66% { box-shadow: 0 0 rgba(104, 127, 179, .4), 8px 0 rgba(104, 127, 179, .4), 16px -3px #6880b3; }
  84% { box-shadow: 0 0 rgba(104, 127, 179, .4), 8px 0 rgba(104, 127, 179, .4), 16px 0 rgba(104, 127, 179, .4); }
}
.composer-dock { flex: 0 0 auto; padding: 8px 25px 12px; background: linear-gradient(to bottom, rgba(248,250,255,0), var(--chrome) 10%); }
.composer { width: min(100%, 900px); margin: 0 auto; overflow: hidden; border: 1px solid #cdd6e7; border-radius: 13px; background: #fff; box-shadow: 0 2px 8px rgba(34, 61, 112, .05), 0 14px 30px rgba(31, 54, 96, .035); }
.composer:focus-within { border-color: rgba(0, 83, 253, .5); box-shadow: 0 0 0 3px rgba(0, 83, 253, .08), 0 9px 25px rgba(31, 54, 96, .045); }
.composer textarea { display: block; width: 100%; min-height: 63px; max-height: 210px; resize: none; padding: 14px 15px 3px; border: 0; outline: 0; background: transparent; line-height: 1.5; }
.composer textarea::placeholder { color: #a0a6b4; }
.attachment-tray:not([hidden]) { display: flex; flex-wrap: wrap; gap: 7px; max-height: 130px; overflow-y: auto; padding: 2px 12px 8px; }
.attachment-chip { display: inline-flex; align-items: center; gap: 7px; max-width: min(100%, 285px); min-height: 39px; padding: 4px 4px 4px 7px; border: 1px solid #dce5f2; border-radius: 8px; background: #f8faff; }
.attachment-chip.failed { border-color: #efbcc7; background: #fff6f7; }
.attachment-chip > .icon { flex: 0 0 auto; width: 18px; height: 18px; color: #6885bd; }
.attachment-chip-thumb { width: 32px; height: 30px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; background: #ebeff6; }
.attachment-chip-text { display: grid; gap: 2px; min-width: 0; }
.attachment-chip-text strong { overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.attachment-chip-text small { overflow: hidden; color: #8490a3; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-chip.failed .attachment-chip-text small { color: #ad4059; }
.attachment-remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 auto; margin-left: auto; border: 0; border-radius: 6px; background: transparent; color: #738198; }
.attachment-remove .icon { width: 14px; height: 14px; }
.attachment-remove:hover:not(:disabled) { background: #e8eef9; color: #315cad; }
.attachment-remove:disabled { opacity: .35; }
.composer-media-controls { display: flex; align-items: center; gap: 5px; min-height: 35px; padding: 1px 10px 3px; }
.media-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 3px 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #667895; font-size: 10px; font-weight: 600; }
.media-button .icon { width: 15px; height: 15px; }
.media-button:hover:not(:disabled), .media-button:focus-visible { border-color: #dce6f7; background: #f3f7ff; color: #2656b7; }
.media-button:disabled { opacity: .42; }
.recording-status { color: #617497; font-size: 10px; }
.recording-status.recording { color: #b54055; font-weight: 680; }
.media-button.recording { border-color: #f2c8cf; background: #fff0f2; color: #b54055; }
.composer-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 7px 7px 15px; }
.composer-toolbar span { color: #a6acb8; font-size: 10px; }
.composer-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.composer-controls label { flex: 0 0 auto; color: #9098a8; font-size: 10px; }
.composer-controls select { width: clamp(145px, 25vw, 260px); max-width: 100%; min-width: 0; height: 25px; padding: 2px 24px 2px 7px; border: 1px solid #e0e6f0; border-radius: 6px; background: #f8faff; color: #4f5f7b; font-size: 10px; text-overflow: ellipsis; }
.composer-controls #composerModelSelect { width: clamp(130px, 20vw, 215px); }
.composer-controls select.effort-select { width: 95px; }
.composer-controls select:disabled { color: #9ea6b4; }
.composer-toolbar .composer-shortcut { margin-left: 5px; }
.send-button { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 0; border-radius: 7px; background: var(--accent); color: white; }
.send-button:hover { background: var(--accent-hover); }.send-button .icon { width: 15px; height: 15px; }
.stop-button { flex: 0 0 auto; gap: 5px; width: auto; min-width: 27px; max-width: min(235px, 32vw); padding: 0 7px; background: #334155; }.stop-button:hover:not(:disabled) { background: #1e293b; }.stop-button .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }.stop-button .stop-label { display: block; min-width: 0; overflow: hidden; color: inherit; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.composer-note { width: min(100%, 900px); margin: 7px auto 0; color: #a4a9b5; font-size: 10px; text-align: center; }
.statusbar { display: flex; justify-content: space-between; align-items: center; height: 24px; flex: 0 0 auto; padding: 0 14px; border-top: 1px solid var(--border-soft); color: #949baa; font-size: 10px; }
.statusbar > span:first-child { display: inline-flex; align-items: center; gap: 7px; }.statusbar .status-dot { width: 5px; height: 5px; box-shadow: none; }

.content-view { overflow-y: auto; padding: 36px clamp(24px, 5vw, 64px) 65px; }.content-view > * { max-width: 950px; margin-left: auto; margin-right: auto; }
.content-heading { margin-bottom: 29px; }.eyebrow { margin: 0 0 8px; color: #6582c8; font-size: 10px; font-weight: 770; letter-spacing: .14em; }.content-heading h1 { margin: 0 0 7px; font-size: 26px; line-height: 1.15; font-weight: 720; letter-spacing: -.035em; }.content-heading > p:last-child { margin: 0; color: #858c9a; font-size: 12px; }
.notice { padding: 13px 15px; margin-bottom: 16px; border: 1px solid #d9e3f6; border-radius: 8px; background: #f1f5ff; color: #5d6d91; font-size: 12px; }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 12px; }.skill-card { min-height: 105px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }.skill-card-icon { display: flex; justify-content: center; align-items: center; width: 27px; height: 27px; margin-bottom: 10px; border-radius: 7px; background: #eaf0ff; color: var(--accent); }.skill-card-icon .icon { width: 14px; height: 14px; }.skill-card h2 { overflow-wrap: anywhere; margin: 0 0 4px; font-size: 12px; }.skill-card p { margin: 0; color: #868d9b; font-size: 11px; line-height: 1.5; }
.config-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.config-card { min-width: 0; padding: 17px 18px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.config-card-wide { grid-column: 1 / -1; }
.config-card h2 { margin: 0 0 13px; font-size: 13px; font-weight: 690; }
.config-card dl { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 9px 12px; margin: 0; font-size: 11px; }
.config-card dt { color: #8d94a1; }.config-card dd { min-width: 0; margin: 0; color: #3d4656; overflow-wrap: anywhere; white-space: pre-wrap; }
.model-setting-label { display: block; margin: 17px 0 6px; padding-top: 14px; border-top: 1px solid var(--border-soft); color: #697589; font-size: 10.5px; font-weight: 630; }
.model-setting-select { width: 100%; min-height: 34px; padding: 5px 9px; border: 1px solid #d8e0ec; border-radius: 7px; background: #fff; font-size: 11px; }
#settingsEffortSelect { max-width: 260px; }
.model-setting-help { margin: 7px 0 0; color: #9aa2af; font-size: 10.5px; line-height: 1.5; }
.config-pills { display: flex; flex-wrap: wrap; gap: 7px; }.config-pill { display: inline-flex; max-width: 100%; padding: 5px 8px; border: 1px solid #dce6f6; border-radius: 6px; background: #f5f8ff; color: #49649c; font-size: 10.5px; overflow-wrap: anywhere; }
.config-toolset { display: inline-flex; flex-direction: column; gap: 1px; }.config-toolset strong { font-weight: 630; }.config-toolset small { font-size: 9px; font-weight: 560; }.config-toolset.active { border-color: #cfe7db; background: #f0faf5; color: #33745a; }.config-toolset.inactive { border-color: #e1e4ea; background: #f6f7f9; color: #8c939e; }
.config-empty { margin: 0; color: #9ca2ae !important; font-size: 11px; }
.settings-toggle { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; cursor: pointer; }.settings-toggle input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); }.settings-toggle span { display: grid; gap: 3px; }.settings-toggle strong { font-size: 11.5px; font-weight: 650; }.settings-toggle small { color: #8c94a1; font-size: 10.5px; }
.empty-card { padding: 25px; border: 1px dashed #cfd8e8; border-radius: 9px; color: #8c94a3; background: #fff; text-align: center; }
.jobs-view > * { max-width: 1120px; }
.jobs-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 23px; }
.jobs-heading .content-heading { margin: 0; }
.jobs-heading .primary-button { flex: 0 0 auto; }
.jobs-layout { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 14px; min-height: 420px; }
.jobs-list-panel, .job-detail { min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.jobs-list-panel { overflow: hidden; }
.jobs-panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 47px; padding: 0 16px; border-bottom: 1px solid var(--border-soft); }
.jobs-panel-heading h2 { margin: 0; font-size: 12px; }
.jobs-list { display: grid; align-content: start; max-height: min(70vh, 700px); overflow-y: auto; padding: 6px; }
.jobs-empty, .jobs-detail-empty { margin: 0; padding: 25px 17px; color: #8b95a5; font-size: 11.5px; line-height: 1.6; }
.jobs-detail-empty { padding: 32px; }
.job-list-row { display: grid; gap: 4px; width: 100%; min-width: 0; padding: 11px 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: inherit; text-align: left; }
.job-list-row:hover { background: #f7f9fe; }.job-list-row.selected { border-color: #dbe7ff; background: #f1f6ff; }
.job-list-heading { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11.5px; }.job-list-heading strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #598bd3; }.job-status-dot.paused, .job-status-dot.disabled { background: #d3a04f; }.job-status-dot.error { background: #d96376; }.job-status-dot.completed { background: #98a2b2; }.job-status-dot.running { background: #54aa7e; }
.job-list-schedule, .job-list-next { display: block; padding-left: 15px; overflow: hidden; color: #677286; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }.job-list-next { color: #9aa2af; font-size: 10px; }
.job-detail { padding: 20px 22px 26px; overflow-wrap: anywhere; }
.job-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.job-detail-head .eyebrow { margin: 0 0 4px; }.job-detail-head h2 { margin: 0 0 7px; font-size: 18px; letter-spacing: -.02em; }
.job-state-pill { display: inline-flex; padding: 3px 8px; border-radius: 20px; background: #eaf2ff; color: #3868ae; font-size: 10px; font-weight: 650; }.job-state-pill.paused, .job-state-pill.disabled { color: #93642d; background: #fff3e0; }.job-state-pill.error { color: #b63d53; background: #fff0f2; }.job-state-pill.completed { color: #687284; background: #f1f3f6; }.job-state-pill.running { color: #207854; background: #e6f7ed; }
.job-detail-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0 20px; }.job-detail-actions .secondary-button { min-height: 31px; padding: 0 9px; font-size: 10.5px; }.job-detail-actions .icon { width: 13px; height: 13px; }.danger-button:hover { border-color: #f1c9d0; background: #fff1f3; color: #b93f54; }
.job-detail-section { padding: 16px 0; border-top: 1px solid var(--border-soft); }.job-detail-section h3 { margin: 0 0 10px; font-size: 11.5px; }.job-prompt { margin: 0; color: #4d586b; font-size: 11.5px; line-height: 1.55; white-space: pre-wrap; }
.job-detail-summary { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 11px; }.job-detail-summary dt { color: #9098a6; }.job-detail-summary dd { min-width: 0; margin: 0; color: #465267; white-space: pre-wrap; }
.job-last-error { color: #a83b53; }.job-last-error p { max-height: 100px; overflow: auto; margin: 0; font-size: 11px; white-space: pre-wrap; }
.job-run-empty { margin: 0; color: #98a0ae; font-size: 11px; }.job-run { margin: 6px 0; border: 1px solid #e4e9f2; border-radius: 7px; background: #fcfdff; }.job-run summary { display: flex; align-items: center; gap: 8px; padding: 9px 10px; color: #4c5c76; cursor: pointer; font-size: 10.5px; }.job-run summary .icon { width: 13px; height: 13px; }.job-run-open { margin-left: auto; color: #8190a7; }.job-run pre { max-height: 280px; overflow: auto; margin: 0; padding: 12px; border-top: 1px solid #e4e9f2; color: #3a4659; background: #fff; font: 10.5px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.job-dialog { width: min(560px, calc(100vw - 30px)); }.job-dialog .dialog-body > label textarea, .job-dialog .dialog-body > label select, .job-schedule-fields input, .job-schedule-fields select { width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid #d8dde8; border-radius: 7px; background: #fff; font-size: 11.5px; font-weight: 400; }.job-dialog .dialog-body > label textarea { min-height: 100px; resize: vertical; }.job-schedule-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.job-schedule-fields > label { display: grid; align-content: start; gap: 5px; min-width: 0; color: #69717f; font-size: 10.5px; font-weight: 640; }.job-schedule-fields label:only-child, #jobCronField { grid-column: 1 / -1; }.job-schedule-fields small { color: #97a0ad; font-size: 10px; font-weight: 400; }
.job-run-output { max-height: 400px; overflow: auto; padding: 12px; border-top: 1px solid #e4e9f2; background: #fff; font-size: 11px; }.job-run-output > :first-child { margin-top: 0; }.job-run-output > :last-child { margin-bottom: 0; }
.job-run-truncated { color: #8b6670; font-size: 10px; }
.admin-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }.admin-tab { position: relative; padding: 0 0 11px; border: 0; background: transparent; color: #9197a3; font-size: 12px; font-weight: 570; }.admin-tab.active { color: var(--accent); font-weight: 690; }.admin-tab.active::after { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--accent); content: ""; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }.panel-heading h2 { margin: 0 0 3px; font-size: 14px; }.panel-heading p { margin: 0; color: #9299a6; font-size: 11px; }
.table-wrap { overflow-x: auto; margin-bottom: 22px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; }.table-wrap th, .table-wrap td { padding: 11px 13px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }.table-wrap th { color: #8a90a0; background: #fbfcff; font-size: 10px; font-weight: 730; text-transform: uppercase; letter-spacing: .04em; }.table-wrap tbody tr:last-child td { border-bottom: 0; }.table-wrap td { color: #606775; font-size: 11px; }.table-wrap td:first-child { color: #252934; font-weight: 650; }.table-wrap td:last-child { width: 68px; white-space: nowrap; text-align: right; }.table-wrap .icon-button { width: 25px; height: 25px; }.table-wrap .icon { width: 14px; height: 14px; }.table-wrap .danger:hover { color: #c23453; background: #fce9ed; }.table-empty { text-align: center !important; color: #9ca3af !important; font-weight: 400 !important; padding: 26px !important; }
.external-account-badge { display: inline-flex; margin-left: 8px; padding: 2px 5px; border-radius: 4px; background: #eef3fc; color: #5674a9; font-size: 9px; font-weight: 620; vertical-align: middle; }.table-wrap td.external-actions { width: 145px; white-space: normal; }.external-account-note { color: #8690a0; font-size: 10px; }
.user-groups-cell { min-width: 100px; white-space: normal; }.user-group-pill { display: inline-flex; max-width: 180px; margin: 2px 4px 2px 0; padding: 3px 6px; border-radius: 5px; background: #f0f2f6; color: #667183; font-size: 10px; font-weight: 570; overflow-wrap: anywhere; }.user-group-pill.source { background: #eef3fc; color: #5674a9; }
.source-groups { margin-top: 25px; }.source-groups .table-wrap { margin-bottom: 0; }.source-groups .table-wrap td:last-child { width: auto; white-space: normal; text-align: left; }.read-only-badge { display: inline-flex; margin-left: 5px; padding: 2px 6px; border-radius: 4px; background: #eef3fc; color: #5674a9; font-size: 9px; font-weight: 620; vertical-align: middle; }
.source-group-views { min-width: 200px; }.source-view-count { display: block; margin-bottom: 5px; color: #596982; font-size: 10.5px; }.source-view-list { display: flex; flex-wrap: wrap; gap: 5px; }.source-view-pill { display: inline-flex; max-width: 100%; padding: 3px 6px; border-radius: 5px; background: #f4f7fd; color: #5971a0; font: 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.table-wrap td.source-group-actions { width: 145px; white-space: nowrap; text-align: right; }.source-group-actions .icon-button + .icon-button { margin-left: 2px; }
.role-pill, .state-pill { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; background: #e9f0ff; color: #375cb3; font-size: 10px; font-weight: 600; }.role-pill.member { color: #6e7684; background: #f0f2f6; }.state-pill { color: #31805e; background: #e7f7ee; }.state-pill.inactive { color: #a17045; background: #fff2e6; }
.admin-form { padding: 18px 19px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }.admin-form h3 { margin: 0 0 14px; font-size: 13px; }.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 17px; margin-bottom: 15px; }.form-grid label, .dialog-body > label { display: flex; flex-direction: column; gap: 5px; color: #69717f; font-size: 10.5px; font-weight: 640; }.form-grid input:not([type=checkbox]), .dialog-body input:not([type=checkbox]) { width: 100%; height: 34px; padding: 0 10px; border: 1px solid #d8dde8; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 400; }.form-grid input:not([type=checkbox]):focus, .dialog-body input:not([type=checkbox]):focus { border-color: var(--accent); outline: 3px solid rgba(0,83,253,.1); }.checkbox-line { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px !important; color: #5d6573 !important; font-size: 11px !important; font-weight: 500 !important; }.checkbox-line input { width: 15px; height: 15px; accent-color: var(--accent); }.group-form-grid { grid-template-columns: minmax(0, 1fr); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 33px; padding: 0 12px; border-radius: 7px; font-size: 11px; font-weight: 650; }.primary-button { border: 1px solid var(--accent); background: var(--accent); color: #fff; }.primary-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }.primary-button .icon { width: 14px; height: 14px; }.secondary-button { border: 1px solid #d7dfeb; background: #fff; color: #616979; }.secondary-button:hover { background: #f5f7fb; }

.edit-dialog { width: min(450px, calc(100vw - 30px)); max-height: calc(100dvh - 36px); padding: 0; overflow: hidden; border: 1px solid #d5dce8; border-radius: 12px; background: #fff; box-shadow: 0 25px 75px rgba(25, 39, 70, .2); }.edit-dialog::backdrop { background: rgba(24, 32, 49, .42); }.edit-dialog form { display: flex; flex-direction: column; max-height: calc(100dvh - 36px); }.small-dialog { width: min(380px, calc(100vw - 30px)); }.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 21px 14px; border-bottom: 1px solid var(--border-soft); }.dialog-heading .eyebrow { margin-bottom: 5px; }.dialog-heading h2 { margin: 0; font-size: 16px; }.dialog-close { margin: -5px -7px 0 0; }.dialog-body { display: grid; gap: 14px; overflow-y: auto; padding: 19px 21px; }.optional { color: #a4aab5; font-weight: 400; }.dialog-checks { display: flex; flex-wrap: wrap; gap: 12px 24px; }.group-fieldset { margin: 0; padding: 10px 12px 12px; border: 1px solid var(--border); border-radius: 7px; }.group-fieldset legend { padding: 0 5px; color: #69717f; font-size: 10.5px; font-weight: 650; }.group-fieldset > div { display: flex; flex-wrap: wrap; gap: 8px 15px; }.group-fieldset p { margin: 0; color: #a0a6b1; font-size: 11px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 20px; border-top: 1px solid var(--border-soft); background: #fafbfe; }
.admin-group-fieldset { margin-bottom: 15px; }.dialog-hint { margin: 0; color: #7d8796; font-size: 11px; line-height: 1.5; }.views-dialog { width: min(600px, calc(100vw - 30px)); }.view-check-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px !important; max-height: min(48vh, 430px); overflow-y: auto; }.view-check-list .view-choice { min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }.stale-view-note { grid-column: 1 / -1; color: #a16e42 !important; }
.documents-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 18px; }
.documents-panel { min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.documents-view > .documents-layout, .documents-view > .content-heading, .documents-view > .notice { max-width: 1540px; }
.document-library-panel { container: document-library / inline-size; }.document-library-options { display: flex; align-items: center; gap: 15px; }.document-library-options .document-tree-toggle { display: none !important; white-space: nowrap; }.document-tree-toggle input { accent-color: var(--accent); }.document-browser, .document-browser-main { min-width: 0; }.document-folder-tree { display: none; }
.document-tree-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 8px; }.document-tree-heading h3 { margin: 0; color: #64718a; font-size: 11px; font-weight: 650; }.document-tree-heading .icon-button { width: 27px; height: 27px; }.document-tree-link { display: flex; align-items: center; gap: 7px; min-width: 0; width: 100%; padding: 8px 7px; border: 0; border-radius: 6px; background: transparent; color: #66758d; text-align: left; cursor: pointer; font-size: 11px; line-height: 1.4; }.document-tree-link > .icon { flex: 0 0 14px; width: 14px; height: 14px; }.document-tree-link > span { min-width: 0; overflow-wrap: anywhere; }.document-tree-link:hover, .document-tree-link.is-selected { background: #eaf1ff; color: #1657cf; }.document-tree-link:focus-visible, .document-tree-branch > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }.document-tree-branch { margin: 0 0 9px; }.document-tree-branch > summary { padding: 6px 3px; color: #62728c; font-size: 10.5px; font-weight: 650; cursor: pointer; overflow-wrap: anywhere; }.document-tree-children { margin: 3px 0 0 7px; padding: 0 0 0 9px; list-style: none; border-left: 1px solid #e2e8f2; }.document-tree-item { display: flex; align-items: center; gap: 1px; min-width: 0; margin: 2px 0; }.document-tree-item .document-tree-link { flex: 1; }.document-tree-item > .icon-button { flex: 0 0 23px; width: 23px; height: 26px; }.document-tree-item > .icon-button .icon { width: 12px; height: 12px; }
.document-tree-branch > summary > .document-tree-root { display: inline-flex; width: calc(100% - 14px); padding: 6px 4px; vertical-align: middle; font-size: 11px; font-weight: 650; }.document-tree-item .document-tree-group { flex: 0 1 auto; min-width: 0; max-width: 65px; margin-left: auto; padding: 2px 4px; border-radius: 4px; background: #f0f3f8; color: #8793a4; font-size: 8px; font-weight: 450; overflow-wrap: anywhere; }
@container document-library (min-width: 900px) {
  .document-library-options .document-tree-toggle { display: inline-flex !important; }
  .document-browser[data-folder-tree="true"] { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 20px; }
  .document-browser[data-folder-tree="true"] > .document-folder-tree { display: block; max-height: min(70vh, 760px); overflow-y: auto; padding-right: 12px; border-right: 1px solid #e5eaf3; }
  .document-browser[data-folder-tree="true"] > .document-browser-main > .document-folder-compact { display: none; }
}
.documents-panel .panel-heading { margin-bottom: 17px; }
.document-folders-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }.document-folders-heading h3 { margin: 0; color: #677287; font-size: 11px; font-weight: 650; }.document-folders-heading .secondary-button { min-height: 30px; }.document-folders-heading .icon { width: 13px; height: 13px; }
.document-library-home { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }.document-library-home:hover { color: var(--accent); text-decoration: underline; }.document-library-home:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.document-scope-navigation { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }.document-scope-navigation .is-selected { color: #1657cf; border-color: #b9cdf7; background: #eaf1ff; }.document-scope-navigation button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.document-folders-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 7px; max-height: 225px; overflow-y: auto; margin-bottom: 17px; }.document-folders-empty { margin: 2px 0 5px; color: #8993a1; font-size: 11px; line-height: 1.5; }.document-folder-row { display: flex; align-items: center; min-width: 0; padding: 3px; border: 1px solid #e0e6f0; border-radius: 8px; background: #fafbfe; }.document-folder-open { display: flex; flex: 1; align-items: center; gap: 9px; min-width: 0; padding: 8px 5px; border: 0; border-radius: 5px; background: transparent; text-align: left; color: #5d6e88; cursor: pointer; }.document-folder-open:hover, .document-folder-open.is-selected { color: #1657cf; background: #eaf1ff; }.document-folder-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }.document-folder-open > .icon { flex-shrink: 0; width: 17px; height: 17px; }.document-folder-summary { display: grid; gap: 3px; min-width: 0; }.document-folder-summary strong { font-size: 11px; font-weight: 640; overflow-wrap: anywhere; }.document-folder-summary small { color: #8893a3; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }.document-folder-row > .icon-button { flex-shrink: 0; width: 27px; height: 29px; }.document-folder-row > .icon-button .icon { width: 13px; height: 13px; }.document-folder-row .danger:hover { color: #c23453; }
.document-folder-label { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: #8b96a6; font-size: 10px; }.document-folder-label .icon { width: 12px; height: 12px; flex-shrink: 0; }.document-folder-dialog select { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid #d8dde8; border-radius: 7px; background: #fff; font-size: 11px; font-weight: 400; }.document-folder-dialog .folder-permissions-help { margin: 0 0 12px; color: #7a8595; font-size: 10.5px; line-height: 1.55; }.document-folder-dialog .notice.error { border-color: #f2c7cf; background: #fff2f4; color: #a9314c; }.document-folder-dialog #documentMoveFolderName { margin: 0; overflow-wrap: anywhere; }
.document-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; margin-bottom: 13px; }
.document-filters label, .document-upload-panel form > label { display: grid; gap: 5px; min-width: 0; color: #69717f; font-size: 10.5px; font-weight: 640; }
.document-filters label:first-child { flex: 1 1 170px; }.document-filters label:not(:first-child) { flex: 0 1 145px; }
.document-filters input, .document-filters select, .document-upload-panel input[type=file], .document-upload-panel select { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid #d8dde8; border-radius: 7px; background: #fff; font-size: 11px; font-weight: 400; }
.document-filters #documentRefreshButton { min-height: 34px; white-space: nowrap; }.document-filters .icon { width: 13px; height: 13px; }
.document-table-wrap { margin-bottom: 0; }.document-table-wrap td.document-name-cell { min-width: 180px; max-width: 430px; overflow-wrap: anywhere; }.document-name-layout { display: grid; grid-template-columns: 15px minmax(0, 1fr); align-items: start; gap: 10px; }.document-name-content { min-width: 0; line-height: 16px; }.document-name-link { display: block; color: #2d5dad; font-weight: 620; text-decoration: none; overflow-wrap: anywhere; }.document-name-link:hover { text-decoration: underline; }
.document-scope-pill { display: inline-block; max-width: 210px; padding: 3px 7px; border-radius: 5px; background: #eff3fb; color: #64728b; font-size: 10px; overflow-wrap: anywhere; }.document-scope-pill.group { background: #eaf5f2; color: #387563; }
.document-table-wrap td.document-actions { width: 104px; white-space: nowrap; }.document-actions .icon-button { vertical-align: middle; }.document-actions .danger:hover { color: #c23453; }
.document-selection-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; margin-bottom: 11px; }.document-selection-toolbar > span { color: #8993a1; font-size: 10px; }.document-selection-toolbar > button { margin-left: auto; }.document-select-checkbox { display: block; width: 15px; height: 15px; margin: .5px 0 0; accent-color: var(--accent); }.document-table-wrap tr[draggable=true] { cursor: grab; }.document-table-wrap tr[draggable=true]:active { cursor: grabbing; }
.document-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; color: #7d8796; font-size: 10.5px; }.document-pagination > div { display: flex; gap: 6px; }
.document-upload-panel h2 { margin: 0 0 7px; font-size: 14px; }.document-upload-panel > p { margin: 0 0 18px; color: #8993a1; font-size: 11px; line-height: 1.5; }
.document-upload-panel form { display: grid; gap: 13px; }.document-upload-panel input[type=file] { min-height: 38px; padding: 7px; }.document-upload-panel input[type=file]::file-selector-button { margin-right: 7px; padding: 5px 7px; border: 1px solid #d7dfeb; border-radius: 5px; background: #f7f9fd; color: #51617b; font-size: 10px; cursor: pointer; }.document-upload-panel small { color: #97a0ad; font-size: 10px; font-weight: 400; }
.document-upload-panel .primary-button { justify-self: start; }.documents-view .notice.error { border-color: #f2c7cf; background: #fff2f4; color: #a9314c; }
.group-documents-dialog .dialog-body { max-height: calc(100dvh - 165px); }.group-documents-list { display: grid; gap: 9px; }.group-document-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(115px, 145px) auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }.group-document-row:last-child { border-bottom: 0; }.group-document-title { min-width: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 620; }.group-document-row select { min-width: 0; width: 100%; min-height: 31px; padding: 4px 6px; border: 1px solid #d8dde8; border-radius: 6px; background: #fff; font-size: 11px; }.group-document-row .secondary-button { min-height: 31px; white-space: nowrap; }.group-documents-dialog #sourceGroupDocumentsMore { justify-self: start; }
@media (max-width: 550px) { .group-document-row { grid-template-columns: minmax(0, 1fr) auto; }.group-document-title { grid-column: 1 / -1; } }
.toast { position: fixed; z-index: 120; right: 20px; bottom: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: min(400px, calc(100vw - 40px)); padding: 11px 15px; border: 1px solid #ced8eb; border-radius: 9px; background: #fff; box-shadow: 0 10px 30px rgba(34, 49, 79, .16); color: #395076; font-size: 12px; }.toast.error { border-color: #f2c7cf; color: #a9314c; }.toast-message { flex: 1 1 170px; }.toast-action { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #b6caee; border-radius: 6px; background: #eaf1ff; color: #2458c1; font-size: 11px; font-weight: 650; }.toast-action:hover { background: #dce8ff; }

@media (max-width: 1100px) { .documents-layout { grid-template-columns: minmax(0, 1fr); } }

.login-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 28px; background: radial-gradient(circle at 23% 12%, #edf3ff 0, transparent 40%), #f8faff; }
.login-shell { width: min(850px, 100%); min-height: 470px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dbe2ef; border-radius: 12px; background: #fff; box-shadow: 0 25px 70px rgba(39, 57, 99, .09); }.login-titlebar { display: flex; justify-content: space-between; align-items: center; height: 43px; padding: 0 16px; border-bottom: 1px solid var(--border-soft); color: #9ca3ae; font-size: 10px; }.window-controls { display: flex; gap: 5px; }.window-controls i { width: 7px; height: 7px; border: 1px solid #cfd5df; border-radius: 50%; background: #e5e9f0; }.login-content { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }.login-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 56px 54px; border-right: 1px solid var(--border-soft); background: #f5f8ff; }.login-intro .brand-mark { margin-bottom: 27px; }.login-intro h1 { margin: 0 0 11px; font-size: clamp(27px, 3.6vw, 36px); font-weight: 735; line-height: 1.13; letter-spacing: -.04em; }.login-intro > p:last-child { max-width: 260px; margin: 0; color: #7c8494; font-size: 12px; line-height: 1.65; }.login-form { display: flex; flex-direction: column; justify-content: center; padding: 52px 51px; }.login-form h2 { margin: 0 0 3px; font-size: 20px; letter-spacing: -.02em; }.login-form > p:not(.form-error) { margin: 0 0 28px; color: #9aa1ae; font-size: 11px; }.login-form label { margin-bottom: 6px; color: #5e6573; font-size: 11px; font-weight: 640; }.login-form input { width: 100%; height: 38px; margin-bottom: 17px; padding: 0 11px; border: 1px solid #d6deeb; border-radius: 7px; background: #fff; outline: 0; }.login-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,83,253,.1); }.login-submit { justify-content: space-between; width: 100%; min-height: 38px; margin-top: 5px; font-size: 12px; }.login-submit span { font-size: 18px; line-height: 1; }.form-error { margin: 0 0 10px; color: #bd3752; font-size: 11px; }.login-footer { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 17px; border-top: 1px solid var(--border-soft); color: #9ea5b1; font-size: 10px; }.login-footer > span:first-child { display: inline-flex; align-items: center; gap: 7px; }.login-footer .status-dot { width: 5px; height: 5px; background: #79ab8f; box-shadow: none; }

@media (max-width: 700px) {
  .app-shell { display: block; min-height: 0; }
  .sidebar { position: fixed; z-index: 101; top: 0; bottom: 0; left: 0; width: min(290px, 84vw); box-shadow: 12px 0 35px rgba(24, 39, 70, .12); transform: translateX(-103%); transition: transform .18s ease; }
  .sidebar.is-open { transform: translateX(0); }.sidebar-close { display: inline-flex; }
  .mobile-scrim:not([hidden]) { position: fixed; z-index: 100; inset: 0; display: block; background: rgba(24, 32, 49, .37); }
  .workspace, .main-column { width: 100%; height: 100%; }
  .topbar { gap: 10px; height: 49px; padding: 0 12px; }.mobile-menu { display: inline-flex; }.mobile-brand-mark { display: block; }.breadcrumbs { margin-right: auto; }.breadcrumbs > span, .breadcrumbs .icon { display: none; }.connection-label { font-size: 0; }.connection-label .status-dot { width: 7px; height: 7px; }.topbar-divider { display: none; }
  .chat-header { min-height: 59px; padding: 8px 15px; }.messages { padding: 13px 18px 25px; }.welcome { padding: 35px 8px; }
  .composer-dock { padding: 6px 10px 9px; }.composer-shortcut { display: none; }.composer-note { margin-top: 5px; font-size: 9px; }.composer-toolbar span { font-size: 9px; }.composer-controls label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }.composer-controls #composerModelSelect { width: min(37vw, 170px); }.composer-controls select.effort-select { width: min(26vw, 95px); }.stop-button { max-width: 25vw; }.stop-button .stop-label { font-size: 9px; }.media-button { min-height: 36px; padding: 5px 9px; font-size: 11px; }.composer-media-controls { min-height: 40px; }
  .composer-media-controls { flex-wrap: wrap; }
  .content-view { padding: 28px 18px 55px; }.form-grid { grid-template-columns: 1fr; }
  .documents-layout { grid-template-columns: 1fr; }.documents-panel { padding: 15px; }.document-filters label:first-child { flex-basis: 100%; }.document-filters label:not(:first-child) { flex: 1 1 125px; }.document-filters #documentRefreshButton { flex: 1 1 auto; }.document-pagination { flex-wrap: wrap; }.document-upload-panel .primary-button { width: 100%; }
  .jobs-heading { align-items: flex-start; }.jobs-heading .primary-button { margin-top: 3px; }.jobs-layout { grid-template-columns: 1fr; }.jobs-list { max-height: 230px; }.job-detail { padding: 17px 15px 20px; }.job-detail-summary { grid-template-columns: 95px minmax(0, 1fr); }.job-detail-actions { gap: 5px; }.job-detail-actions .secondary-button { flex: 1 1 auto; }.job-schedule-fields { grid-template-columns: 1fr; }
  .view-check-list { grid-template-columns: 1fr; }
  .config-grid { grid-template-columns: 1fr; }.config-card-wide { grid-column: 1; }.config-card dl { grid-template-columns: 85px minmax(0, 1fr); }
  .login-page { padding: 12px; }.login-shell { min-height: 0; }.login-content { display: block; }.login-intro { padding: 25px 27px 14px; border-right: 0; border-bottom: 1px solid var(--border-soft); }.login-intro .brand-mark { width: 32px; height: 32px; margin-bottom: 12px; }.login-intro h1 { font-size: 25px; }.login-intro > p:last-child { max-width: none; }.login-form { padding: 25px 27px 30px; }.login-form > p:not(.form-error) { margin-bottom: 20px; }
}
@media (max-height: 640px) { .login-page { align-items: flex-start; }.login-shell { min-height: 0; }.welcome { min-height: 250px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .typing-dots { animation: dots-synced 6s ease-in-out infinite !important; }
}
