@charset "UTF-8";
@font-face { font-family: "SUIT Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/SUIT-Variable.woff2") format("woff2-variations"); }
:root {
  --bg: oklch(1 0 0); --surface: oklch(0.975 0 0); --fg: oklch(0.21 0.004 260); --muted: oklch(0.48 0.008 260); --border: oklch(0.875 0.004 260); --accent: oklch(0.48 0.17 260);
  --font-display: "SUIT Variable", sans-serif; --font-body: "SUIT Variable", sans-serif; --font-mono: "SUIT Variable", monospace;
  --strong-border: oklch(0.65 0.005 260); --hover: oklch(0.96 0.004 260); --blue-soft: oklch(0.96 0.015 260); --blue-dark: oklch(0.37 0.15 260); --black: oklch(0.12 0.004 260);
  --danger: oklch(0.43 0.15 25); --danger-bg: oklch(0.975 0.01 25); --warning: oklch(0.43 0.065 70); --warning-bg: oklch(0.97 0.013 80);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, select, label[role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, select { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .46; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; text-wrap: balance; }
p, .example-question { text-wrap: pretty; }
h1 { font-size: 27px; line-height: 1.3; letter-spacing: -.7px; }
h2 { font-size: 18px; line-height: 1.5; letter-spacing: -.25px; }
h3 { font-size: 16px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
.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: 100; top: 8px; left: 8px; padding: 12px; background: var(--fg); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; border: 1px solid var(--border); border-radius: 4px; padding: 9px 15px; background: var(--bg); font-size: 14px; line-height: 1.5; font-weight: 600; text-align: center; }
.button:hover:not(:disabled) { background: var(--hover); color: var(--black); border-color: var(--strong-border); }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.button-primary:hover:not(:disabled) { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--bg); }
.button-danger { background: var(--danger); border-color: var(--danger); color: var(--bg); }
.button-danger:hover:not(:disabled) { background: oklch(0.34 0.14 25); border-color: oklch(0.34 0.14 25); color: var(--bg); }
.button-quiet { border-color: transparent; background: transparent; font-weight: 500; }
.text-link { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--black); text-decoration-thickness: 2px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; }
.icon-button:hover:not(:disabled) { background: var(--hover); color: var(--black); border-color: var(--border); }
.app-header { height: 65px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 42px; padding: 0 32px; background: var(--bg); position: sticky; top: 0; z-index: 30; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; letter-spacing: -.8px; font-weight: 800; min-height: 44px; flex-shrink: 0; }
.brand-sign { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.brand-sign i { height: 2px; width: 18px; background: currentColor; }
.brand-sign i:nth-child(2) { width: 12px; }
.primary-nav { display: flex; align-self: stretch; gap: 28px; }
.primary-nav a { display: inline-flex; align-items: center; padding: 2px 0 0; border-bottom: 2px solid transparent; min-height: 44px; font-size: 15px; font-weight: 550; color: var(--muted); }
.primary-nav a:hover { color: var(--black); border-color: var(--strong-border); }
.primary-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); font-weight: 650; }
.primary-nav a[aria-current="page"]:hover { color: var(--blue-dark); border-color: var(--blue-dark); }
.header-settings { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.audience-control { display: flex; align-items: center; gap: 5px; }
.audience-control > .icon { width: 16px; height: 16px; color: var(--muted); }
.audience-select { min-height: 44px; max-width: 120px; border: 0; background: transparent; padding: 5px 21px 5px 3px; font-size: 13px; }
.language-toggle { display: flex; gap: 1px; padding: 2px; border: 1px solid var(--border); border-radius: 4px; }
.language-toggle button { min-height: 44px; min-width: 44px; padding: 4px 6px; font-size: 12px; font-weight: 550; border: 0; background: transparent; border-radius: 2px; }
.language-toggle button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.language-toggle button:hover:not([aria-pressed="true"]) { color: var(--black); background: var(--hover); box-shadow: inset 0 0 0 1px var(--strong-border); }
.language-toggle button[aria-pressed="true"]:hover { background: var(--black); color: var(--bg); }
.account-link { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }
.account-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.account-link .icon { width: 16px; height: 16px; }
.mobile-settings-button { display: none; margin-left: auto; }
.page { max-width: 1280px; margin: 0 auto; padding: 33px 40px 24px; container-type: inline-size; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.page-heading p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 8px; }
.heading-actions { display: flex; gap: 5px; padding-top: 1px; }
.heading-actions .button { font-size: 13px; }
.ask-grid { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 36px; align-items: start; }
.ask-grid.with-sources { grid-template-columns: minmax(0,1fr) 304px; }
.ask-main { min-width: 0; }
.composer { border: 1px solid var(--strong-border); border-radius: 5px; background: var(--bg); padding: 14px 16px 12px; }
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.composer-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 15px; }
.composer-top label { font-weight: 650; }
.counter { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.composer textarea { display: block; resize: vertical; width: 100%; min-height: 82px; max-height: 260px; padding: 11px 0 8px; font-size: 16px; line-height: 1.7; background: var(--bg); color: var(--fg); border: 0; border-radius: 0; }
.composer textarea::placeholder { color: var(--muted); }
.composer textarea:focus-visible { outline: none; }
.composer:has(textarea:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.keyboard-hint { font-size: 12px; color: var(--muted); }
.keyboard-hint kbd { font: inherit; }
.composer-bottom .button { min-height: 44px; padding: 8px 14px; }
.privacy-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.examples { margin-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--fg); }
.section-heading h2 { font-size: 16px; }
.section-heading > span { font-size: 12px; color: var(--muted); }
.example-list { display: grid; }
.example-row { display: flex; width: 100%; align-items: center; gap: 16px; padding: 12px 2px; min-height: 55px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: var(--bg); text-align: left; }
.example-row:hover { background: var(--surface); color: var(--black); border-bottom-color: var(--strong-border); }
.example-category { flex: 0 0 76px; color: var(--muted); font-size: 12px; }
.example-row:hover .example-category { color: oklch(0.40 0.008 260); }
.example-question { font-size: 15px; line-height: 1.55; flex: 1; }
.example-row > .icon { width: 16px; height: 16px; margin-left: auto; }
.ask-info { border-top: 2px solid var(--fg); padding-top: 13px; }
.ask-info h2 { font-size: 15px; font-weight: 650; }
.info-steps { list-style: none; padding: 0; margin: 17px 0 0; counter-reset: guide; }
.info-steps li { display: grid; grid-template-columns: 19px 1fr; gap: 9px; margin-bottom: 18px; }
.info-steps li::before { counter-increment: guide; content: counter(guide,decimal-leading-zero); color: var(--muted); font-size: 11px; padding-top: 3px; }
.info-steps strong { display: block; font-size: 14px; font-weight: 600; }
.info-steps p { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 5px; }
.info-links { border-top: 1px solid var(--border); padding-top: 9px; display: flex; flex-direction: column; align-items: flex-start; }
.info-links .text-link { font-size: 13px; }
.conversation { display: grid; }
.question-turn { border-left: 2px solid var(--strong-border); padding: 0 0 0 14px; margin: 0 0 19px; }
.turn-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.question-turn p { white-space: pre-wrap; font-size: 16px; font-weight: 550; }
.answer { padding: 0 0 22px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.answer-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.answer-heading h2 { font-size: 17px; }
.status-label { font-size: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); border-radius: 2px; line-height: 1.5; }
.status-label.warning { color: var(--warning); background: var(--warning-bg); border-color: oklch(0.86 0.022 80); }
.status-label.error { color: var(--danger); background: var(--danger-bg); border-color: oklch(0.86 0.03 25); }
.answer-text { font-size: 16px; line-height: 1.85; margin-top: 15px; white-space: pre-wrap; }
.answer-text > p + p { margin-top: 9px; }
.answer-text h3 { margin: 17px 0 7px; font-size: 16px; }
.answer-text ul { padding-left: 21px; }
.answer-citations { margin-top: 13px; display: flex; gap: 6px; flex-wrap: wrap; }
.citation-button { text-align: left; font-size: 13px; min-height: 44px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); display: inline-flex; align-items: center; gap: 7px; }
.citation-button:hover { background: var(--hover); color: var(--black); border-color: var(--strong-border); }
.citation-button .icon { width: 14px; height: 14px; }
.answer-note { color: var(--warning); background: var(--warning-bg); padding: 10px 12px; margin-top: 13px; font-size: 13px; line-height: 1.7; }
.answer-actions { display: flex; gap: 5px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.answer-actions > span { font-size: 12px; color: var(--muted); margin-right: auto; }
.answer-actions .button { font-size: 12px; padding: 7px 10px; }
.answer-actions .icon { width: 15px; height: 15px; }
.followups { margin-top: 15px; }
.followups h3 { font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.followup-button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--border); background: var(--bg); text-align: left; font-size: 14px; }
.followup-button:hover { color: var(--black); background: var(--surface); border-bottom-color: var(--strong-border); }
.references { border-top: 2px solid var(--fg); padding-top: 13px; }
.references-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.references-heading h2 { font-size: 16px; }
.references-heading > span { font-size: 12px; color: var(--muted); }
.reference { border-bottom: 1px solid var(--border); padding: 15px 0; }
.reference h3 { font-size: 14px; line-height: 1.65; font-weight: 600; }
.reference p { font-size: 13px; margin-top: 6px; color: var(--muted); }
.reference .text-link { font-size: 13px; }
.reference-number { font-size: 11px; color: var(--muted); display: block; margin-bottom: 5px; }
.reference-note { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 13px; }
.inline-state { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; }
.inline-state > .icon { margin-top: 2px; color: var(--muted); }
.inline-state strong { display: block; font-size: 15px; font-weight: 600; }
.inline-state p { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.7; }
.inline-state .button { margin-top: 10px; font-size: 13px; }
.inline-state.error > .icon { color: var(--danger); }
.spinner { width: 17px; height: 17px; border: 2px solid var(--border); border-top-color: var(--fg); border-radius: 50%; flex-shrink: 0; margin-top: 4px; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.field-error { color: var(--danger); font-size: 13px; margin-top: 8px; }
.page-footer { display: flex; gap: 15px; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 37px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.page-footer > span:first-child { white-space: nowrap; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; flex-wrap: wrap; }
.search-field { display: flex; align-items: center; flex: 1; gap: 9px; min-width: 220px; border: 1px solid var(--strong-border); border-radius: 4px; padding: 0 12px; }
.search-field > .icon { color: var(--muted); width: 18px; height: 18px; }
.search-field input { border: 0; background: var(--bg); min-width: 0; width: 100%; min-height: 44px; font-size: 15px; padding: 8px 0; }
.search-field input::placeholder { color: var(--muted); }
.search-field input:focus-visible { outline: none; }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-select { max-width: 220px; min-height: 46px; border: 1px solid var(--strong-border); border-radius: 4px; padding: 9px 30px 9px 11px; background: var(--bg); font-size: 14px; }
.table-caption { display: flex; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.table-caption h2 { font-size: 15px; font-weight: 650; }
.table-caption span { color: var(--muted); font-size: 12px; }
.document-table { table-layout: fixed; border-collapse: collapse; width: 100%; text-align: left; border-top: 1px solid var(--fg); }
.document-table th { background: var(--surface); border-bottom: 1px solid var(--border); padding: 11px 13px; color: var(--muted); font-size: 12px; font-weight: 550; }
.document-table td { border-bottom: 1px solid var(--border); padding: 15px 13px; font-size: 14px; vertical-align: middle; overflow-wrap: anywhere; }
.document-table th:first-child { width: 44%; }
.document-table th:nth-child(2) { width: 15%; }
.document-table th:nth-child(3) { width: 11%; }
.document-table th:last-child { width: 142px; }
.document-title { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 550; line-height: 1.55; }
.document-title .icon { width: 17px; height: 17px; margin-top: 3px; }
.document-filename { font-size: 12px; color: var(--muted); margin-top: 5px; }
.document-warnings { font-size: 12px; color: var(--warning); line-height: 1.7; margin-top: 5px; }
.document-table .button { font-size: 12px; padding: 7px 10px; max-width: 100%; }
.document-table .icon { width: 16px; height: 16px; }
.page-count { font-variant-numeric: tabular-nums; }
.document-status { font-size: 12px; line-height: 1.7; }
.document-status span { display: block; color: var(--muted); }
.table-state { padding: 19px 13px; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--border); background: var(--surface); }
.table-state .inline-state { padding: 0; }
.library-note { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 13px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.admin-bar { padding: 12px 15px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.admin-bar > .icon { flex-shrink: 0; }
.admin-bar p { font-size: 14px; flex: 1; }
.admin-bar .button { font-size: 13px; flex-shrink: 0; }
.admin-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 34px; margin-bottom: 28px; }
.admin-section { border-top: 1px solid var(--fg); padding-top: 14px; min-width: 0; }
.admin-section > p { color: var(--muted); font-size: 14px; margin-top: 7px; margin-bottom: 18px; }
.file-picker { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px dashed var(--strong-border); min-height: 88px; }
.file-picker > .icon { width: 25px; height: 25px; color: var(--muted); }
.file-picker > div { flex: 1; min-width: 0; }
.file-picker strong { display: block; font-weight: 550; font-size: 14px; }
.file-picker p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.file-picker .button { font-size: 12px; flex-shrink: 0; }
.file-picker.is-dragging { border-color: var(--accent); background: var(--blue-soft); color: var(--black); }
.file-picker.is-dragging p, .file-picker.is-dragging > .icon { color: oklch(0.40 0.008 260); }
fieldset:disabled .file-picker { opacity: .5; }
.form-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: 1; }
.form-field label { font-size: 13px; font-weight: 550; }
.form-field input, .form-field select { min-height: 44px; background: var(--bg); border: 1px solid var(--strong-border); border-radius: 4px; padding: 9px 11px; font-size: 15px; width: 100%; }
.form-field input::placeholder { color: var(--muted); }
.form-field input[aria-invalid="true"] { border-color: var(--danger); }
.visibility-field { flex: 0 0 136px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 8px; }
.upload-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
.upload-footer > span { font-size: 12px; color: var(--muted); }
.queue { margin-top: 12px; }
.queue-row { padding: 11px 0; border-bottom: 1px solid var(--border); }
.queue-heading { display: flex; align-items: center; gap: 8px; }
.queue-heading strong { font-weight: 550; font-size: 13px; flex: 1; min-width: 0; }
.queue-heading .icon-button { height: 44px; margin: -10px 0; }
.queue-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 4px; }
.queue-meta .error { color: var(--danger); }
.queue-progress { display: block; width: 100%; height: 4px; appearance: none; border: 0; background: var(--hover); margin-top: 8px; }
.queue-progress::-webkit-progress-bar { background: var(--hover); }
.queue-progress::-webkit-progress-value { background: var(--accent); }
.queue-progress::-moz-progress-bar { background: var(--accent); }
.conflict-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 14px 0; }
.conflict-picker strong { font-size: 13px; font-weight: 500; flex: 1; min-width: 130px; }
.conflict-picker .button { font-size: 12px; }
.conflict-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 11px 0 16px; }
.conflict-results { border-top: 1px solid var(--fg); padding-top: 15px; margin-bottom: 27px; }
.conflict-summary { font-size: 15px; line-height: 1.8; white-space: pre-wrap; margin: 11px 0; }
.conflict-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.conflict-item h3 { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.conflict-item p { font-size: 14px; margin-top: 7px; white-space: pre-wrap; }
.conflict-results ul { padding-left: 20px; font-size: 14px; }
.documents-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 14px; }
.documents-heading > div { display: flex; align-items: baseline; gap: 10px; }
.documents-heading span { font-size: 12px; color: var(--muted); }
.documents-heading .button { font-size: 13px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.admin-table th:last-child { width: 188px; }
.row-actions .icon-button { color: var(--danger); }
.row-actions .icon-button:hover { color: oklch(0.33 0.14 25); background: var(--danger-bg); }
dialog { padding: 0; border: 1px solid var(--border); border-radius: 5px; background: var(--bg); color: var(--fg); max-width: calc(100% - 32px); }
dialog::backdrop { background: oklch(0.15 0.004 260 / .35); }
.dialog-content { padding: 21px 24px 24px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.dialog-heading h2 { font-size: 18px; }
.settings-dialog { width: 360px; margin: 10px 12px auto auto; }
.settings-body { display: grid; gap: 20px; }
.settings-body .language-toggle { width: fit-content; }
.settings-body .language-toggle button { min-height: 44px; min-width: 63px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.settings-row > label, .settings-row > span { font-size: 14px; }
.settings-body .audience-select { border: 1px solid var(--border); border-radius: 3px; padding-left: 10px; max-width: 160px; }
.settings-account { border-top: 1px solid var(--border); padding-top: 13px; display: flex; justify-content: space-between; gap: 10px; }
.settings-account .account-link { font-size: 14px; }
.history-dialog { width: 390px; margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; border-radius: 0; border-top: 0; border-bottom: 0; border-right: 0; }
.history-list { display: grid; }
.history-entry { text-align: left; min-height: 60px; border: 0; border-bottom: 1px solid var(--border); background: var(--bg); padding: 12px 0; font-size: 14px; line-height: 1.6; }
.history-entry:hover { background: var(--surface); color: var(--black); border-bottom-color: var(--strong-border); }
.history-entry time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.history-entry:hover time { color: oklch(0.40 0.008 260); }
.history-empty { color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); padding-top: 16px; }
.help-dialog { width: 520px; }
.help-steps { padding-left: 20px; font-size: 15px; }
.help-steps li { margin: 15px 0; padding-left: 5px; }
.help-steps p { font-size: 14px; color: var(--muted); margin-top: 5px; line-height: 1.8; }
.dialog-note { color: var(--muted); border-top: 1px solid var(--border); padding-top: 13px; font-size: 12px; line-height: 1.7; }
.confirm-dialog { width: 420px; }
.confirm-dialog > .dialog-content > p { font-size: 14px; margin-top: 10px; }
.delete-filename { padding: 11px; background: var(--surface); border: 1px solid var(--border); font-weight: 550; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; border: 1px solid var(--border); background: var(--fg); color: var(--bg); border-radius: 4px; padding: 12px 17px; max-width: calc(100% - 32px); font-size: 14px; box-shadow: 0 3px 15px oklch(0 0 0 / .12); }
.login-main { width: min(100%,440px); margin: 56px auto 90px; padding: 0 24px; }
.login-heading { border-bottom: 1px solid var(--fg); padding-bottom: 23px; margin-bottom: 24px; }
.login-heading h1 { font-size: 26px; }
.login-heading p { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.8; }
.login-form { display: grid; gap: 19px; }
.login-form .form-field label { font-size: 14px; }
.login-form .form-field input { min-height: 48px; font-size: 16px; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-field .icon-button { position: absolute; top: 2px; right: 2px; }
.login-form > .button { width: 100%; margin-top: 3px; min-height: 46px; }
.login-footnote { border-top: 1px solid var(--border); padding-top: 19px; margin-top: 25px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.login-footnote .text-link { font-size: 13px; }
@container (max-width: 850px) { .ask-grid, .ask-grid.with-sources { grid-template-columns: minmax(0,1fr); gap: 28px; } .ask-info { display: grid; grid-template-columns: 1fr 2fr; gap: 15px; } .info-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 0; } .info-steps li { grid-template-columns: 1fr; gap: 5px; margin-bottom: 0; } .info-links { grid-column: 1/-1; flex-direction: row; gap: 23px; } .admin-layout { gap: 25px; } }
@media (min-width: 1600px) { .page { padding-top: 38px; } }
@media (max-width: 1060px) { .app-header { gap: 28px; padding: 0 24px; } .primary-nav { gap: 21px; } .header-settings { gap: 12px; } .header-settings .audience-control > .icon { display: none; } .page { padding-left: 28px; padding-right: 28px; } .account-link { font-size: 12px; } .brand { font-size: 22px; } }
@media (max-width: 800px) { .app-header { padding: 0 20px; gap: 25px; } .header-settings { display: none; } .mobile-settings-button { display: inline-flex; } .primary-nav { margin-right: auto; gap: 23px; } .language-toggle button { min-height: 44px; } .admin-layout { grid-template-columns: minmax(0,1fr); gap: 26px; } .admin-section > p { font-size: 14px; } .document-table th:first-child { width: 40%; } .document-table th:nth-child(2) { width: 15%; } .document-table th:last-child { width: 18%; } }
@media (max-width: 600px) { .app-header { height: auto; min-height: 60px; flex-wrap: wrap; padding: 0 18px; gap: 0; } .brand { min-height: 60px; font-size: 22px; } .mobile-settings-button { margin-left: auto; } .primary-nav { order: 3; width: calc(100% + 36px); flex: 0 0 calc(100% + 36px); height: 46px; margin: 0 -18px; padding: 0 18px; gap: 0; border-top: 1px solid var(--border); } .primary-nav a { flex: 1; justify-content: center; font-size: 14px; min-width: 0; padding-top: 1px; } .page { padding: 25px 18px 21px; } h1 { font-size: 25px; } .page-heading { margin-bottom: 21px; gap: 12px; } .page-heading p { font-size: 14px; max-width: 295px; } .heading-actions { gap: 0; } .heading-actions .button { padding: 8px 10px; font-size: 12px; } .heading-actions .button .icon { width: 16px; } .new-question-label { display: none; } .composer { padding: 12px 13px; } .composer textarea { min-height: 100px; font-size: 16px; } .keyboard-hint { display: none; } .composer-bottom { justify-content: flex-end; } .composer-bottom .button { min-height: 44px; } .privacy-note { font-size: 11px; } .examples { margin-top: 25px; } .section-heading > span { display: none; } .example-row { gap: 12px; padding: 13px 0; min-height: 65px; } .example-category { flex-basis: 46px; font-size: 11px; } .example-question { font-size: 14px; } .example-row .icon { width: 15px; height: 15px; } .ask-info { display: block; } .ask-info h2 { font-size: 15px; } .info-steps { display: block; margin-top: 14px; } .info-steps li { display: grid; grid-template-columns: 19px 1fr; gap: 8px; margin-bottom: 15px; } .info-steps strong { font-size: 13px; } .info-steps p { font-size: 12px; margin-top: 3px; } .info-links { display: flex; flex-direction: row; gap: 20px; } .info-links .text-link { font-size: 12px; } .ask-grid, .ask-grid.with-sources { gap: 27px; } .page-footer { flex-direction: column; gap: 4px; margin-top: 28px; font-size: 11px; } .toolbar { gap: 8px; } .search-field { flex-basis: calc(100% - 54px); min-width: 0; padding-left: 10px; } .search-field input { font-size: 16px; } .toolbar > .filter-select { flex: 1; max-width: none; order: 3; min-width: 0; font-size: 13px; } .toolbar > .refresh-button { width: 44px; padding: 9px; font-size: 0; } .refresh-button .icon { width: 18px; } .document-table, .document-table tbody { display: block; } .document-table thead { display: none; } .document-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 7px 12px; padding: 14px 0; border-bottom: 1px solid var(--border); } .document-table td { border: 0; padding: 0; font-size: 13px; } .document-table td:first-child { grid-column: 1/-1; } .document-table td:last-child { grid-column: 1/-1; display: flex; justify-content: flex-end; margin-top: -2px; } .document-table .document-title { font-size: 15px; } .document-table .document-filename { font-size: 12px; } .document-table td:nth-child(4) { grid-column: 1/-1; } .document-status { display: flex; gap: 8px; } .document-status span { display: inline; } .document-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 11px; margin-right: 8px; } .document-table td:first-child::before, .document-table td:last-child::before { content: none; } .admin-bar { gap: 10px; flex-wrap: wrap; padding: 12px; } .admin-bar p { font-size: 13px; min-width: 200px; } .admin-bar > .button { margin-left: 29px; min-height: 44px; font-size: 12px; } .file-picker { padding: 12px; gap: 9px; flex-wrap: wrap; } .file-picker > .icon { display: none; } .file-picker strong { font-size: 13px; } .file-picker p { font-size: 11px; } .file-picker .button { padding: 8px 11px; } .form-field input, .form-field select { font-size: 16px; } .visibility-field { flex-basis: 122px; } .form-field label { font-size: 12px; } .upload-footer { gap: 9px; flex-wrap: wrap; } .upload-footer > span { font-size: 11px; } .upload-footer > .button { margin-left: auto; font-size: 13px; } .login-main { margin-top: 31px; padding: 0 22px; } .login-heading h1 { font-size: 25px; } .login-heading p { font-size: 14px; } .answer-text { font-size: 15px; } .answer-actions > span { width: 100%; } .dialog-content { padding: 18px 20px 21px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (min-width: 601px) and (max-width: 1060px) { .document-table th:first-child { width: 36%; } .document-table th:nth-child(2) { width: 12%; } .document-table th:nth-child(3) { width: 9%; } .document-table th:last-child { width: 142px; } .admin-table th:last-child { width: 188px; } }
@media (max-width: 600px) { html[lang="en"] .example-category { flex-basis: 70px; } .documents-heading .refresh-button { width: 44px; padding: 8px; flex-shrink: 0; } .documents-heading .refresh-button span { display: none; } }
