@font-face { font-family: "Inter Local"; src: url("fonts/inter-latin-v20.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --paper: #ffffff;
  --surface: #f5f6f8;
  --surface-alt: #eef1f5;
  --ink: #172433;
  --muted: #667180;
  --line: #dfe3e9;
  --line-strong: #cbd2dc;
  --accent: #303740;
  --sans: "Inter Local", "PingFang SC", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: wait; opacity: .5; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { font-family: var(--sans); }
::selection { background: #d9e3ee; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1:focus, h2:focus, section:focus { outline: none; }
.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; top: 10px; left: 20px; transform: translateY(-150%); z-index: 100; background: var(--ink); color: white; padding: 9px 20px; border-radius: 3px; }
.skip-link:focus { transform: translateY(0); }
.page-width { width: min(1200px, calc(100% - 100px)); margin-inline: auto; }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .11em; color: var(--muted); line-height: 1.5; margin-bottom: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid transparent; border-radius: 4px; padding: 11px 18px; min-height: 44px; font-size: 13px; line-height: 1.5; transition: background .15s; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #31465e; }
.text-link { display: inline-flex; align-items: center; gap: 18px; background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 0 0 4px; font-size: 13px; text-align: left; color: var(--accent); }
.text-link:hover { border-color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--sans); font-size: 22px; font-weight: 600; line-height: 1.3; flex-shrink: 0; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 3px; font-size: 21px; font-weight: 500; }
.brand small { font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .04em; display: block; margin-top: 5px; color: var(--muted); }
.site-header { width: min(1320px, calc(100% - 80px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 94px; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-header nav a { padding-block: 8px; }
.site-header nav a[aria-current="page"] { color: var(--accent); border-bottom: 1px solid var(--accent); }
.header-operator { font-size: 11px; color: var(--muted); }

/* Conversation workspace */
.workbench-mode { overflow: hidden; }
.workbench-mode .site-header, .workbench-mode .site-footer { display: none; }
.workbench-mode #main, .workbench-mode #service-view { height: 100dvh; }
.workspace { display: grid; grid-template-columns: 258px minmax(0, 1fr); height: 100dvh; min-height: 480px; }
.workspace-sidebar { display: flex; flex-direction: column; padding: 26px 19px 18px; background: var(--surface); border-right: 1px solid var(--line); overflow: hidden; }
.sidebar-brand { margin-bottom: 29px; font-size: 23px; padding-left: 5px; }
.sidebar-brand .brand-mark { width: 34px; height: 34px; }
.sidebar-brand small { font-size: 10px; }
.new-conversation { display: flex; align-items: center; gap: 8px; width: 100%; border: 1px solid var(--line-strong); background: white; padding: 11px 13px; border-radius: 5px; font-size: 13px; text-align: left; }
.new-conversation:hover { border-color: #93a4b9; }
.new-conversation > span:first-child { font-size: 18px; line-height: 1; }
.shortcut-label { margin-left: auto; font-size: 9px; font-family: var(--sans); letter-spacing: .09em; color: var(--muted); }
.sidebar-links { display: flex; flex-direction: column; margin-top: 18px; margin-bottom: 27px; }
.sidebar-links a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 4px; font-size: 12px; color: #4b5b6d; }
.sidebar-links a:hover { background: #e9edf2; }
.sidebar-links a > span { font-family: var(--sans); font-size: 10px; color: #8793a2; }
.history-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.history-heading { border-top: 1px solid var(--line); padding: 18px 9px 0; }
.history-heading h2 { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.history-panel > p { font-size: 11px; color: #87919f; line-height: 1.75; margin: 0 9px 12px; }
.history-panel ul { margin: 0; padding: 0; list-style: none; overflow: auto; scrollbar-width: thin; flex: 1; }
.history-panel li { margin-bottom: 3px; }
.history-item { width: 100%; background: none; border: 0; border-radius: 4px; display: block; text-align: left; padding: 9px 10px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.history-item > span { display: block; font-size: 9px; color: var(--muted); margin-top: 5px; }
.history-item:hover, .history-item[aria-current="true"] { background: #e6ebf1; }
.history-item[aria-current="true"] { color: var(--accent); }
.sidebar-account { margin-top: 15px; padding: 18px 6px 0; border-top: 1px solid var(--line); }
.sidebar-account > p { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; line-height: 1.7; margin-bottom: 10px; }
.sidebar-account > .button { width: 100%; justify-content: center; font-size: 12px; min-height: 39px; padding: 9px 12px; }
.account-actions { display: flex; gap: 18px; }
.account-actions button, .sidebar-policy { border: 0; background: none; padding: 3px 0; font-size: 11px; color: var(--muted); }
.account-actions button:hover, .sidebar-policy:hover { color: var(--ink); }
.sidebar-policy { display: block; margin-top: 13px; }
.sidebar-account > small { display: block; font-size: 9px; line-height: 1.7; color: #8a94a0; margin-top: 5px; }
.workspace-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: white; }
.workspace-header { display: flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 93px; padding: 19px 31px 17px; flex-shrink: 0; }
.workspace-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.workspace-identity h1 { font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.5; margin-bottom: 5px; }
.workspace-identity p { font-size: 10px; color: var(--muted); margin: 0; letter-spacing: .03em; }
.workspace-parameters { display: flex; align-items: center; gap: 16px; }
.workspace-parameters label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); white-space: nowrap; }
select { font: inherit; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 4px; min-height: 39px; padding: 7px 10px; font-size: 13px; }
.workspace-parameters select { min-height: 33px; font-size: 11px; padding: 5px 9px; border-color: var(--line); background: #fbfcfd; }
.workspace-parameters label:first-child select { min-width: 136px; }
.workspace-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 31px 13px; border-bottom: 1px solid #edf0f3; flex-shrink: 0; }
.workspace-status p { font-size: 10px; color: #7b8795; line-height: 1.6; margin: 0; }
.workspace-status button { flex-shrink: 0; background: none; border: 0; font-size: 10px; color: var(--muted); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.conversation-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.conversation-column { width: min(760px, calc(100% - 64px)); margin-inline: auto; min-height: 100%; display: flex; flex-direction: column; padding-block: 24px 28px; }
.conversation-empty { margin-block: auto; padding: 25px 0 35px; }
.conversation-empty > .eyebrow { text-align: center; font-size: 10px; letter-spacing: .09em; margin-bottom: 14px; }
.conversation-empty h2 { text-align: center; font-size: 33px; font-weight: 500; line-height: 1.45; margin-bottom: 17px; }
.empty-description { text-align: center; font-size: 13px; color: var(--muted); line-height: 1.95; margin-bottom: 30px; }
.task-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.task-prompts button { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); background: white; border-radius: 7px; padding: 15px 17px; text-align: left; transition: border-color .15s, background .15s; }
.task-prompts button:hover { border-color: #a1afc0; background: #fafbfd; }
.prompt-number { font-family: var(--sans); color: #98a2ae; font-size: 10px; margin-bottom: 8px; }
.task-prompts strong { font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.task-prompts button > span:last-child { font-size: 11px; line-height: 1.7; color: var(--muted); }
#messages:empty { display: none; }
.message { margin-bottom: 32px; }
.message-header { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; margin-bottom: 12px; }
.message-header small { font-size: 10px; font-weight: 400; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 12px; }
.message p { font-size: 15px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.message-user { margin-left: auto; max-width: 90%; }
.message-user .message-header { font-size: 10px; font-weight: 400; color: var(--muted); justify-content: flex-end; margin-bottom: 8px; }
.message-user p { font-size: 14px; background: var(--surface-alt); border-radius: 11px; padding: 11px 17px; }
.conversation-actions { display: flex; justify-content: flex-end; gap: 21px; padding: 0 0 5px; margin-top: -5px; }
.conversation-actions button { font-size: 11px; background: none; border: 0; color: var(--muted); padding: 4px 0; }
.conversation-actions button:hover { color: var(--accent); }
.composer-dock { flex-shrink: 0; padding: 0 0 13px; background: white; }
.composer-column { width: min(780px, calc(100% - 64px)); margin-inline: auto; }
.service-feedback { font-size: 11px; color: var(--muted); margin: 0 4px 8px; line-height: 1.7; }
.service-feedback:empty { display: none; }
.composer-shell { border: 1px solid var(--line-strong); border-radius: 13px; background: white; box-shadow: 0 3px 12px #17243305; padding: 12px 13px 10px; }
.composer-shell:focus-within { border-color: #8c9eb4; }
textarea { width: 100%; background: white; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); font-size: 14px; line-height: 1.85; padding: 11px 13px; resize: vertical; }
textarea::placeholder { color: #939ba6; }
.composer-shell textarea { display: block; padding: 0 4px 6px; border: 0; background: none; min-height: 64px; max-height: 160px; resize: none; font-size: 14px; }
.composer-shell textarea:focus { outline: none; }
.composer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 6px; padding-left: 4px; }
.composer-bottom > span { color: #9aa3af; font-size: 10px; font-variant-numeric: tabular-nums; }
.send-button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; background: var(--ink); color: white; font-size: 11px; padding: 7px 12px; min-height: 32px; }
.send-button span { font-size: 17px; line-height: 1; }
.send-button:hover { background: #31465e; }
.composer-note { color: #87919e; font-size: 9px; line-height: 1.75; text-align: center; margin: 10px 4px 0; }
.composer-note button { border: 0; background: none; font-size: inherit; color: var(--muted); padding: 0 0 0 7px; text-decoration: underline; text-underline-offset: 2px; }
.sidebar-toggle, .sidebar-overlay, .sidebar-close { display: none; }

/* Research overview and methods */
.research-hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 77px; padding-block: 64px 56px; }
.hero-copy > .eyebrow { margin-bottom: 25px; }
.research-hero h1 { font-size: clamp(35px, 3.3vw, 47px); line-height: 1.4; margin-bottom: 11px; letter-spacing: -.025em; }
.hero-subtitle { font-size: 22px; line-height: 1.6; color: #526277; margin-bottom: 27px; }
.hero-description { font-size: 14px; color: #4f5e6f; line-height: 2; margin-bottom: 18px; max-width: 530px; }
.hero-audience { font-size: 13px; color: var(--muted); margin-bottom: 27px; }
.hero-actions { display: flex; gap: 27px; flex-wrap: wrap; align-items: center; }
.project-dossier { border: 1px solid var(--line); align-self: start; padding: 25px 28px 15px; background: #fafbfc; }
.dossier-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); }
.dossier-heading h2 { font-family: var(--sans); font-size: 15px; font-weight: 500; margin: 0; }
.dossier-heading span { font-size: 9px; letter-spacing: .06em; color: #8a94a0; }
.project-dossier dl { margin: 0; }
.project-dossier dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 11px 0; border-bottom: 1px solid #e8ecf0; font-size: 12px; line-height: 1.8; }
.project-dossier dl > div:last-child { border-bottom: 0; }
.project-dossier dt { color: var(--muted); }
.project-dossier dd { margin: 0; }
.research-directory { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-strong); }
.research-directory a { display: flex; gap: 20px; align-items: center; padding: 19px 0; font-size: 13px; }
.research-directory span { font-size: 11px; font-family: var(--sans); color: #8c98a7; }
.research-directory a:hover { color: var(--accent); }
.research-section { display: grid; grid-template-columns: 165px 1fr; gap: 35px; padding-block: 57px; border-bottom: 1px solid var(--line); }
.section-index > span { font-family: var(--sans); font-size: 30px; line-height: 1.4; color: #7f8c9d; }
.section-index p { font-size: 9px; letter-spacing: .055em; color: #8c98a7; margin-top: 10px; }
.section-heading h2 { font-size: 28px; line-height: 1.5; margin-bottom: 12px; }
.section-heading > p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 30px; }
.research-directions article { display: grid; grid-template-columns: 45px 1fr; gap: 23px; padding: 26px 0; border-top: 1px solid var(--line); }
.direction-number { font-family: var(--sans); font-size: 13px; color: #8391a2; padding-top: 2px; }
.research-directions h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.research-directions article p { font-size: 14px; color: #566476; line-height: 1.95; margin-bottom: 15px; }
.direction-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 0; font-size: 12px; }
.direction-fields div { display: flex; align-items: baseline; gap: 14px; }
.direction-fields dt { flex-shrink: 0; color: #8d97a4; font-size: 10px; }
.direction-fields dd { margin: 0; color: var(--muted); }
.section-end-link { margin-top: 2px; }
.method-pipeline { list-style: none; padding: 0; margin: 0 0 29px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fafbfc; }
.method-pipeline li { padding: 22px 19px; }
.method-pipeline li + li { border-left: 1px solid var(--line); }
.method-pipeline li > span { font-family: var(--sans); font-size: 11px; color: #8c97a5; }
.method-pipeline h3 { font-size: 15px; margin-block: 13px 9px; }
.method-pipeline p { font-size: 12px; color: var(--muted); line-height: 1.95; margin: 0; }
.method-detail h3 { font-size: 16px; margin-bottom: 12px; }
.method-detail p { font-size: 14px; color: #566476; line-height: 1.95; margin-bottom: 15px; }
.method-detail p:last-child { margin-bottom: 0; }
.reference-list { list-style: none; padding: 0; margin: 0; }
.reference-list li { display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); }
.reference-number { font-family: var(--sans); font-size: 14px; color: #8491a2; padding-top: 2px; }
.reference-author { font-size: 11px; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }
.reference-list h3 { font-family: var(--sans); font-size: 18px; line-height: 1.6; margin-bottom: 8px; font-weight: 400; }
.reference-list h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.reference-list h3 span { font-family: var(--sans); font-size: 12px; color: #8491a2; }
.reference-publication { font-size: 11px; color: #8190a1; line-height: 1.7; margin-bottom: 12px; }
.reference-list li > div > p:last-of-type { font-size: 14px; color: #566476; line-height: 1.95; margin-bottom: 13px; }
.reference-type { font-size: 10px; color: #5f7187; padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; }
.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.standards-grid article { padding-top: 23px; border-top: 1px solid var(--line); }
.standards-grid h3 { font-size: 17px; margin-bottom: 12px; }
.standards-grid p { font-size: 14px; color: #566476; line-height: 1.95; margin-bottom: 18px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 32px; }
.footer-brand { font-family: var(--sans); font-size: 19px; font-weight: 600; }
.site-footer p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.site-footer button, .site-footer nav a { font-size: 11px; color: var(--muted); border: 0; background: none; padding: 6px 0; }
.site-footer nav a { color: var(--accent); }

/* Static task examples */
.studio { padding-block: 30px 55px; }
.back-link { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 37px; }
.studio-heading h1 { font-size: 35px; line-height: 1.5; margin-bottom: 18px; }
.studio-heading > .eyebrow { margin-bottom: 15px; }
.studio-heading > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 850px; margin-bottom: 25px; }
.preview-notice { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 16px 19px; border: 1px solid var(--line); background: #f8f9fb; font-size: 12px; margin-bottom: 28px; }
.preview-notice p { margin: 0; color: var(--muted); }
.preview-notice a { flex-shrink: 0; color: var(--accent); }
.studio-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 27px; }
.example-controls { background: var(--surface); border: 1px solid var(--line); padding: 25px; align-self: start; }
.control-title { font-family: var(--sans); font-size: 16px; margin-bottom: 22px; }
.example-controls > label, legend { font-size: 12px; color: var(--muted); margin-bottom: 7px; display: block; }
.example-controls select { width: 100%; margin-bottom: 21px; }
fieldset { padding: 0; margin: 0 0 23px; border: 0; min-width: 0; }
legend { padding: 0; }
.radio-card { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 11px 12px; background: white; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: #9eafc2; background: #edf2f7; }
.radio-card input { accent-color: var(--accent); margin: 0; width: 14px; height: 14px; flex-shrink: 0; }
.radio-card strong { font-size: 12px; font-weight: 500; line-height: 1.6; }
.radio-card small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.example-controls .button { width: 100%; font-size: 12px; }
.example-output { border: 1px solid var(--line); padding: 30px 34px; }
.output-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: 11px; margin-bottom: 28px; }
.sample-badge { font-size: 10px; background: var(--surface-alt); color: #617389; padding: 4px 8px; border-radius: 2px; }
.example-output > .eyebrow { font-size: 10px; margin-bottom: 12px; }
.example-output h2 { font-size: 27px; line-height: 1.6; margin-bottom: 18px; }
.example-intro { color: #566476; font-size: 14px; line-height: 1.95; margin-bottom: 25px; }
#example-body section { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 20px; }
#example-body h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
#example-body p { color: #566476; font-size: 14px; line-height: 1.95; margin: 0; }
.output-footnote { color: var(--muted); font-size: 11px; background: var(--surface); padding: 12px 15px; line-height: 1.9; margin-top: 24px; }

/* Accounts and service information */
dialog { width: min(660px, calc(100% - 36px)); max-height: 86dvh; border: 1px solid var(--line-strong); border-radius: 7px; background: white; color: var(--ink); padding: 30px 35px 33px; overflow: auto; box-shadow: 0 24px 90px #1724331c; }
dialog::backdrop { background: #101d2d66; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.dialog-head .eyebrow { margin: 0; font-size: 10px; }
.close-button { width: 31px; height: 31px; line-height: 1; display: grid; place-items: center; font-size: 24px; background: white; border: 1px solid var(--line); border-radius: 3px; }
dialog h2 { font-family: var(--sans); font-size: 24px; line-height: 1.5; margin-bottom: 24px; }
#policy-content { font-size: 14px; line-height: 1.95; }
#policy-content h3 { font-size: 16px; font-weight: 500; margin-top: 26px; margin-bottom: 10px; }
#policy-content p, #policy-content ul { color: #566476; }
#policy-content ul { padding-left: 21px; }
#policy-content li { margin-bottom: 6px; }
#policy-content .policy-note { padding: 14px 17px; background: var(--surface); font-size: 12px; }
dialog > .button { margin-top: 10px; }
.account-tabs { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.account-tabs button { background: none; border: 0; padding: 8px 0; font-size: 14px; }
.account-tabs button[aria-pressed="true"] { color: var(--accent); border-bottom: 2px solid var(--accent); }
#account-form > label, #report-form > label { display: block; font-size: 13px; color: #526176; margin-bottom: 8px; }
#account-form > input { width: 100%; min-height: 44px; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 4px; margin-bottom: 15px; color: var(--ink); }
.field-help { font-size: 12px; color: var(--muted); line-height: 1.85; margin-bottom: 19px; }
.agreement { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.9; margin-block: 15px; }
.agreement input { accent-color: var(--accent); margin: 5px 0 0; flex-shrink: 0; }
.agreement button { background: none; border: 0; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 0 4px; }
#account-submit, #report-submit { width: 100%; justify-content: center; margin-top: 12px; }
#report-form select { width: 100%; margin-bottom: 19px; }
.form-error { font-size: 12px; color: #8b3b36; background: #fbf2f1; border: 1px solid #ead5d3; border-radius: 4px; padding: 10px 13px; line-height: 1.8; margin: 13px 0 0; }
.noscript-notice { position: fixed; inset: auto 20px 20px; background: white; border: 1px solid var(--line-strong); box-shadow: 0 5px 20px #17243310; padding: 18px; font-size: 13px; z-index: 100; }

@media (min-width: 1550px) {
  .workspace { grid-template-columns: 280px minmax(0, 1fr); }
  .workspace-sidebar { padding-inline: 24px; }
  .workspace-header { padding-inline: 40px; }
  .workspace-status { padding-inline: 40px; }
}
@media (max-width: 1120px) {
  .workspace { grid-template-columns: 226px minmax(0, 1fr); }
  .workspace-sidebar { padding-inline: 15px; }
  .workspace-header { padding-inline: 24px; gap: 20px; }
  .workspace-status { padding-inline: 24px; }
  .workspace-identity h1 { font-size: 15px; }
  .workspace-parameters { gap: 10px; }
  .workspace-parameters label { gap: 5px; }
  .workspace-parameters select { font-size: 10px; padding-inline: 7px; }
  .workspace-parameters label:first-child select { min-width: 119px; }
  .task-prompts button { padding: 13px; }
  .task-prompts strong { font-size: 12px; }
  .task-prompts button > span:last-child { font-size: 10px; }
  .page-width { width: calc(100% - 70px); }
  .research-hero { gap: 40px; }
  .research-hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 20px; }
  .project-dossier { padding: 23px; }
  .project-dossier dl > div { gap: 15px; grid-template-columns: 67px 1fr; }
  .research-section { grid-template-columns: 120px 1fr; gap: 25px; }
  .direction-fields { grid-template-columns: 1fr; gap: 8px; }
  .method-pipeline li { padding: 19px 14px; }
  .site-header nav { gap: 22px; }
  .header-operator { display: none; }
}
@media (max-width: 800px) {
  .workspace { display: block; min-height: 400px; }
  .workspace-main { height: 100dvh; }
  .workspace-sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 50; transform: translateX(-100%); transition: transform .18s; }
  .sidebar-open .workspace-sidebar { transform: translateX(0); }
  .sidebar-close { display: grid; place-items: center; position: absolute; top: 23px; right: 13px; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); font-size: 22px; line-height: 1; }
  .sidebar-brand { padding-right: 26px; }
  .sidebar-overlay { position: fixed; inset: 0; background: #17243344; border: 0; padding: 0; z-index: 45; }
  .sidebar-open .sidebar-overlay { display: block; }
  .sidebar-toggle { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 29px; padding: 0; border: 0; background: none; color: #627287; font-size: 18px; }
  .workspace-header { min-height: 80px; padding: 15px 21px; }
  .workspace-status { padding-inline: 21px; }
  .workspace-identity { gap: 12px; }
  .workspace-identity h1 { font-size: 16px; }
  .workspace-identity p { font-size: 9px; }
  .workspace-parameters label { font-size: 10px; }
  .workspace-parameters select { font-size: 10px; }
  .conversation-column { width: calc(100% - 48px); max-width: 700px; }
  .composer-column { width: calc(100% - 42px); }
  .task-prompts { gap: 10px; }
  .task-prompts button { padding: 14px; }
  .page-width { width: calc(100% - 44px); }
  .site-header { width: calc(100% - 44px); min-height: 84px; gap: 24px; flex-wrap: wrap; padding-block: 17px 14px; }
  .site-header .brand { font-size: 22px; }
  .site-header nav { width: 100%; gap: 27px; font-size: 12px; overflow-x: auto; white-space: nowrap; }
  .site-header nav a { padding-block: 4px; }
  .research-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 38px; }
  .hero-copy > .eyebrow { margin-bottom: 19px; }
  .research-hero h1 { font-size: 37px; }
  .hero-description { max-width: 100%; }
  .hero-subtitle { margin-bottom: 20px; }
  .project-dossier { padding: 22px 25px 12px; }
  .project-dossier dl > div { grid-template-columns: 90px 1fr; gap: 20px; font-size: 13px; }
  .research-directory { grid-template-columns: repeat(2, 1fr); }
  .research-directory a { padding: 13px 0; font-size: 12px; gap: 15px; }
  .research-directory a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .research-section { display: block; padding-block: 35px; }
  .section-index { display: flex; align-items: baseline; gap: 14px; margin-bottom: 21px; }
  .section-index > span { font-size: 23px; }
  .section-index p { margin: 0; font-size: 9px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading > p { font-size: 14px; margin-bottom: 23px; }
  .research-directions article { gap: 16px; grid-template-columns: 33px 1fr; }
  .method-pipeline { grid-template-columns: repeat(2, 1fr); }
  .method-pipeline li { padding: 20px; }
  .method-pipeline li:nth-child(3) { border-left: 0; }
  .method-pipeline li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .standards-grid { gap: 25px; }
  .site-footer { align-items: flex-start; gap: 25px; flex-direction: column; }
  .site-footer nav { gap: 22px; }
  .studio-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .example-controls { padding: 21px; }
  .example-output { padding: 24px; }
  .output-top { flex-wrap: wrap; gap: 9px; }
  .example-output h2 { font-size: 24px; }
  .preview-notice { display: block; }
  .preview-notice a { display: inline-block; margin-top: 9px; }
}
@media (max-width: 560px) {
  .workspace-header { display: block; padding: 14px 17px 12px; }
  .workspace-identity h1 { font-size: 16px; }
  .workspace-parameters { justify-content: flex-start; padding-left: 39px; gap: 15px; margin-top: 13px; }
  .workspace-parameters label { font-size: 10px; }
  .workspace-parameters select { min-height: 29px; padding-block: 3px; }
  .workspace-status { padding: 0 17px 10px; gap: 10px; }
  .workspace-status p { font-size: 9px; }
  .workspace-status button { font-size: 9px; }
  .conversation-column { width: calc(100% - 40px); padding-block: 21px 20px; }
  .conversation-empty { padding-block: 16px 22px; }
  .conversation-empty > .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .conversation-empty h2 { font-size: 28px; margin-bottom: 13px; }
  .empty-description { font-size: 11px; margin-bottom: 24px; }
  .task-prompts { grid-template-columns: 1fr; gap: 8px; }
  .task-prompts button { display: grid; grid-template-columns: 23px 1fr; gap: 2px 8px; padding: 11px 13px; }
  .prompt-number { grid-row: 1 / 3; margin: 0; padding-top: 2px; }
  .task-prompts strong { font-size: 12px; margin: 0; }
  .task-prompts button > span:last-child { font-size: 10px; }
  .composer-dock { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .composer-column { width: calc(100% - 28px); }
  .composer-shell { padding: 10px 11px 9px; border-radius: 11px; }
  .composer-shell textarea { font-size: 13px; min-height: 56px; max-height: 120px; }
  .composer-note { font-size: 8px; line-height: 1.8; margin-top: 8px; }
  .service-feedback { font-size: 10px; }
  .message { margin-bottom: 25px; }
  .message p { font-size: 14px; line-height: 1.95; }
  .message-user p { font-size: 13px; padding: 10px 14px; }
  .message-header { font-size: 11px; margin-bottom: 9px; gap: 10px; }
  .message-header small { font-size: 9px; padding-left: 10px; }
  .conversation-actions button { font-size: 10px; }
  .page-width { width: calc(100% - 38px); }
  .site-header { width: calc(100% - 38px); }
  .site-header nav { gap: 20px; font-size: 11px; }
  .research-hero h1 { font-size: 33px; }
  .hero-subtitle { font-size: 18px; }
  .hero-description { font-size: 14px; }
  .hero-audience { font-size: 12px; }
  .hero-actions { gap: 21px; }
  .hero-actions .button { font-size: 12px; }
  .hero-actions .text-link { font-size: 12px; }
  .project-dossier { padding: 20px 19px 12px; }
  .project-dossier dl > div { grid-template-columns: 70px 1fr; gap: 17px; font-size: 12px; }
  .section-heading h2 { font-size: 25px; }
  .research-directions h3 { font-size: 17px; }
  .research-directions article { grid-template-columns: 28px 1fr; gap: 12px; }
  .direction-number { font-size: 11px; }
  .direction-fields { font-size: 11px; }
  .method-pipeline li { padding: 18px 15px; }
  .method-pipeline p { font-size: 12px; }
  .reference-list li { gap: 11px; grid-template-columns: 25px 1fr; }
  .reference-list h3 { font-size: 17px; }
  .reference-author { font-size: 10px; }
  .reference-publication { font-size: 10px; }
  .standards-grid { grid-template-columns: 1fr; gap: 25px; }
  .site-footer nav { gap: 19px; }
  .site-footer nav a, .site-footer button { font-size: 10px; }
  .studio-heading h1 { font-size: 29px; }
  .studio-heading > p:last-child { font-size: 13px; }
  .studio-layout { grid-template-columns: 1fr; }
  .example-controls { padding: 22px; }
  .example-controls fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .radio-card { display: block; padding: 10px 8px; margin: 6px 0 0; }
  .radio-card input { width: 12px; height: 12px; margin-bottom: 5px; }
  .radio-card strong { font-size: 10px; display: block; }
  .radio-card small { font-size: 8px; }
  .example-output { padding: 22px; }
  .example-output h2 { font-size: 24px; }
  dialog { padding: 23px; }
  dialog h2 { font-size: 22px; }
  .dialog-head .eyebrow { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Compact application and developer console */
:root { --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.workspace { grid-template-columns: 248px minmax(0, 1fr); }
.workspace-sidebar { padding-top: 23px; background: #f6f7f9; }
.sidebar-brand { font-size: 21px; margin-bottom: 24px; }
.brand-mark { color: var(--accent); background: #eaf0ff; border: 1px solid #ced9f4; font-size: 19px; }
.sidebar-brand .brand-mark { width: 31px; height: 31px; }
.sidebar-brand small { font-size: 9px; color: #8591a3; }
.new-conversation { background: var(--accent); color: white; border-color: var(--accent); font-size: 12px; padding: 10px 12px; }
.new-conversation:hover { background: #234cb2; border-color: #234cb2; }
.shortcut-label { color: #d1dcfb; font-family: var(--mono); font-size: 8px; }
.sidebar-links { margin-top: 16px; margin-bottom: 20px; gap: 4px; }
.sidebar-links a { padding: 8px 9px; gap: 9px; font-size: 12px; color: #647185; }
.sidebar-links svg, .history-search svg, .toolbar-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sidebar-links a[aria-current="page"] { background: #e7edfb; color: var(--accent); font-weight: 500; }
.sidebar-link-label { margin-left: auto; border: 1px solid #cbd6f0; color: #6180bd !important; border-radius: 3px; padding: 0 4px; font-family: var(--mono); font-size: 8px !important; line-height: 1.6; }
.history-heading { padding-top: 16px; }
.history-heading h2 { font-size: 10px; margin-bottom: 10px; }
.history-search { display: flex; align-items: center; gap: 8px; padding: 5px 9px; background: #eef1f5; border: 1px solid transparent; border-radius: 5px; margin-bottom: 12px; color: #9ba5b3; }
.history-search:focus-within { border-color: #a5b7df; }
.history-search svg { width: 13px; height: 13px; }
.history-search input { width: 100%; min-width: 0; border: 0; background: none; outline: none; font-size: 11px; color: var(--ink); padding: 3px 0; }
.history-search input::placeholder { color: #97a1af; }
.history-item { padding: 8px 9px; font-size: 11px; }
.history-item > span { font-size: 8px; color: #98a2b0; margin-top: 4px; }
.history-item[aria-current="true"] { background: #e7edfb; }
.sidebar-account > .button { font-size: 11px; min-height: 36px; }
.button-dark { background: var(--accent); }
.button-dark:hover { background: #234cb2; }
.workspace-header { min-height: 74px; padding: 15px 28px 12px; }
.workspace-identity h1 { font-size: 16px; font-weight: 600; }
.workspace-identity p { font-size: 9px; }
.workspace-toolbar { display: flex; align-items: center; gap: 22px; }
.workspace-parameters { gap: 13px; }
.workspace-parameters label { font-size: 10px; }
.workspace-parameters select { font-size: 10px; min-height: 30px; padding: 4px 8px; background: #f8fafc; border-color: #e3e8f0; }
.toolbar-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #66768b; line-height: 1.5; padding: 6px 8px; background: none; border: 1px solid transparent; border-radius: 4px; white-space: nowrap; }
.toolbar-button:hover { border-color: var(--line); background: #f8fafc; color: var(--accent); }
.toolbar-button svg { width: 13px; height: 13px; }
.workspace-status { padding: 0 28px 10px; border-bottom-color: #e8edf3; }
.workspace-status p { font-size: 9px; }
.conversation-column { width: min(760px, calc(100% - 64px)); }
.conversation-empty > .eyebrow { font-size: 9px; letter-spacing: .11em; color: #8b98ab; }
.conversation-empty h2 { font-size: 29px; font-weight: 600; letter-spacing: -.025em; }
.empty-description { font-size: 12px; color: #7d8899; }
.task-prompts button { border-color: #e6ebf2; background: #fafbfd; padding: 16px; border-radius: 7px; }
.task-prompts button:hover { background: #f2f6fd; border-color: #c6d4ee; }
.prompt-number { color: #99abc8; font-family: var(--mono); font-size: 9px; }
.task-prompts strong { font-size: 12px; font-weight: 500; }
.task-prompts button > span:last-child { font-size: 10px; color: #8190a3; }
.message-header { font-size: 11px; color: #4e627d; margin-bottom: 12px; }
.message-header small { color: #8b98aa; font-size: 9px; }
.message-header .message-copy { margin-left: auto; font-size: 10px; font-weight: 400; padding: 2px 6px; border: 0; background: none; color: #8a97aa; }
.message-header .message-copy:hover { color: var(--accent); }
.message-user p { background: #f0f3f8; }
.message-content { font-size: 14px; line-height: 1.95; color: #27374a; overflow-wrap: anywhere; }
.message-content p { font-size: 14px; white-space: normal; margin: 0 0 13px; }
.message-content p:last-child { margin-bottom: 0; }
.message-content h1, .message-content h2, .message-content h3, .message-content h4, .message-content h5, .message-content h6 { font-family: var(--sans); line-height: 1.7; font-weight: 600; margin: 22px 0 11px; font-size: 16px; }
.message-content h1, .message-content h2 { font-size: 18px; }
.message-content > :first-child { margin-top: 0; }
.message-content ul, .message-content ol { padding-left: 24px; margin: 10px 0 18px; }
.message-content li { padding-left: 2px; margin-block: 4px; }
.message-content strong { font-weight: 600; }
.message-content code { font-family: var(--mono); font-size: 12px; background: #eef2f7; border-radius: 3px; padding: 2px 5px; }
.message-content pre { padding: 16px 18px; background: #f4f6f9; border: 1px solid #e3e8ef; border-radius: 6px; overflow-x: auto; line-height: 1.7; margin: 15px 0; }
.message-content pre code { background: none; padding: 0; font-size: 12px; white-space: pre; }
.message-content blockquote { border-left: 3px solid #c9d5e7; padding-left: 16px; margin: 15px 0; color: #667790; }
.message-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.markdown-table-wrap { overflow: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 5px; }
.message-content table { border-collapse: collapse; width: 100%; min-width: 360px; font-size: 12px; }
.message-content th, .message-content td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.message-content th { background: #f5f7fa; font-weight: 500; }
.message-content tr:last-child td { border-bottom: 0; }
.composer-shell { border-color: #d7e0eb; border-radius: 11px; box-shadow: 0 3px 16px #1e3a6007; }
.composer-shell:focus-within { border-color: #99b0e3; box-shadow: 0 0 0 3px #2856c808; }
.composer-shell textarea { font-size: 13px; }
.send-button { background: var(--accent); font-size: 10px; padding: 7px 11px; }
.send-button:hover { background: #234cb2; }
.composer-note { font-size: 9px; color: #939eae; }
.research-hero h1, .section-heading h2, .studio-heading h1, .example-output h2 { font-weight: 600; }
.reference-list h3 { font-size: 17px; font-weight: 500; }
.api-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100dvh; background: #fff; }
.api-header { border-bottom: 1px solid #e7ecf3; flex-shrink: 0; }
.api-scroll { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
.api-content { width: min(1080px, calc(100% - 64px)); margin: 31px auto 45px; }
.api-overview { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.api-section-label { color: #8695ab; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; margin-bottom: 10px; }
.api-overview h2 { font-size: 23px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.api-overview > div > p:last-child { font-size: 12px; color: #7e8b9d; margin: 0; }
.api-model-badge { font-size: 10px; color: #6980a7; background: #f0f4fc; border: 1px solid #dde5f6; padding: 5px 10px; border-radius: 4px; }
.api-endpoint-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 25px; border: 1px solid #dfe6ef; background: #fafbfd; border-radius: 6px; padding: 15px 19px; margin-bottom: 25px; }
.api-endpoint-strip > div { display: flex; align-items: center; gap: 13px; min-width: 0; }
.api-endpoint-strip > div > span { color: #8794a7; font-size: 10px; white-space: nowrap; }
.api-endpoint-strip code { font-family: var(--mono); font-size: 11px; color: #526783; overflow-wrap: anywhere; }
.inline-copy { color: #7b8fac; font-size: 9px; border: 0; background: none; padding: 3px; }
.api-login-notice { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-left: 2px solid #6d8bd0; background: #f4f7fd; padding: 17px 20px; margin-bottom: 26px; }
.api-login-notice strong { font-size: 13px; font-weight: 500; }
.api-login-notice p { font-size: 11px; color: #8290a5; margin: 5px 0 0; }
.api-login-notice .button { font-size: 11px; min-height: 36px; padding: 8px 14px; flex-shrink: 0; }
.api-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.api-section-heading h3 { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0; }
.api-section-heading > div > p { font-size: 10px; color: #8b96a6; margin: 6px 0 0; }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #dfe6ef; border-radius: 6px; }
.usage-grid article { padding: 19px 23px; }
.usage-grid article + article { border-left: 1px solid #dfe6ef; }
.usage-grid p { color: #8a97aa; font-size: 10px; margin-bottom: 8px; }
.usage-grid strong { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; color: #334c6e; line-height: 1.2; }
.api-caption { font-size: 10px; line-height: 1.9; color: #97a1af; margin: 11px 0 0; }
.key-section, .quickstart-section { margin-top: 31px; padding-top: 28px; border-top: 1px solid #e4e9f0; }
.key-section .button { font-size: 11px; padding: 8px 14px; min-height: 35px; gap: 12px; }
.key-table-wrap { overflow-x: auto; border: 1px solid #dfe6ef; border-radius: 6px; }
.key-table { width: 100%; min-width: 610px; border-collapse: collapse; font-size: 11px; }
.key-table th { text-align: left; font-size: 10px; font-weight: 500; color: #8a98aa; background: #f8fafc; padding: 11px 15px; }
.key-table td { padding: 14px 15px; border-top: 1px solid #e9edf3; color: #75869c; font-size: 10px; }
.key-table td:first-child { color: #536884; }
.key-name { display: block; font-size: 12px; color: #415978; font-weight: 500; }
.key-prefix { display: block; font-family: var(--mono); font-size: 9px; color: #96a4b8; margin-top: 4px; }
.key-status { display: inline-block; font-size: 9px; color: #5778b8; background: #edf2fc; border: 1px solid #dbe4f5; padding: 2px 6px; border-radius: 3px; }
.key-status.revoked { color: #95a0ae; background: #f4f6f8; border-color: #e4e8ed; }
.key-revoke { font-size: 10px; background: none; border: 0; color: #8394ab; padding: 4px 0; }
.key-revoke:hover { color: #a05b5b; }
.key-table .table-empty { padding: 26px 15px; text-align: center; color: #99a4b3; font-size: 11px; }
.secret-panel { background: #f0f5ff; border: 1px solid #c8d7f6; border-radius: 5px; padding: 16px 18px; margin-bottom: 17px; }
.secret-panel > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.secret-panel strong { font-size: 12px; font-weight: 500; color: #44629a; }
.secret-panel > p { font-size: 10px; color: #8195b8; margin: 7px 0 13px; }
.secret-value { display: flex; gap: 10px; align-items: center; }
.secret-value input { flex: 1; min-width: 0; border: 1px solid #d4dff3; background: white; color: #45618f; font-size: 10px; font-family: var(--mono); padding: 9px 11px; border-radius: 4px; }
.secret-value .toolbar-button { flex-shrink: 0; color: #5874a6; }
.api-feedback { font-size: 11px; color: #6d82a1; margin: 12px 0 0; }
.api-feedback:empty { display: none; }
.code-tabs { display: flex; gap: 22px; align-items: center; border: 1px solid #dfe6ef; border-bottom: 0; border-radius: 6px 6px 0 0; padding: 7px 16px; background: #f7f9fc; }
.code-tabs > button:not(.toolbar-button) { font-size: 10px; background: none; border: 0; padding: 7px 0; color: #92a0b2; }
.code-tabs > button[aria-pressed="true"] { color: var(--accent); font-weight: 500; }
.code-tabs > .toolbar-button { margin-left: auto; font-size: 9px; }
.api-code { font-family: var(--mono); font-size: 11px; line-height: 1.85; white-space: pre; overflow: auto; background: #fafbfd; color: #4b6486; border: 1px solid #dfe6ef; border-radius: 0 0 6px 6px; padding: 20px 23px; margin: 0; }
.api-contract-note { display: flex; gap: 7px 20px; flex-wrap: wrap; font-size: 9px; color: #7e92af; background: #f7f9fc; border: 1px solid #e7ecf4; border-radius: 4px; padding: 11px 14px; margin-top: 16px; }
.api-doc-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 17px; font-size: 10px; color: #6380af; }
.quickstart-section .text-link { font-size: 10px; }
#key-form > label { display: block; font-size: 13px; color: #61738b; margin-bottom: 8px; }
#key-form > input { width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; padding: 10px 12px; font-size: 13px; margin-bottom: 11px; }
#key-submit { width: 100%; justify-content: center; margin-top: 13px; }
@media (min-width: 1550px) { .workspace { grid-template-columns: 260px minmax(0, 1fr); } }
@media (max-width: 1120px) {
  .workspace { grid-template-columns: 218px minmax(0, 1fr); }
  .workspace-toolbar { gap: 13px; }
  .workspace-toolbar .toolbar-button { font-size: 0; padding: 6px; }
  .workspace-toolbar .toolbar-button svg { width: 15px; height: 15px; }
  .workspace-header { padding-inline: 22px; }
  .workspace-status { padding-inline: 22px; }
  .api-content { width: calc(100% - 44px); }
  .api-endpoint-strip { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width: 800px) {
  .workspace { display: block; }
  .api-pane { height: 100dvh; }
  .api-overview { display: block; }
  .api-model-badge { display: inline-block; margin-top: 16px; }
  .api-content { margin-top: 23px; }
  .api-overview h2 { font-size: 22px; }
  .api-login-notice { padding: 15px 17px; }
}
@media (max-width: 560px) {
  .workspace-header { padding: 12px 17px 11px; }
  .workspace-toolbar { justify-content: space-between; gap: 10px; margin-top: 12px; padding-left: 39px; }
  .workspace-parameters { padding-left: 0; margin-top: 0; gap: 12px; order: -1; }
  .workspace-status { padding-inline: 17px; }
  .conversation-empty h2 { font-size: 25px; }
  .task-prompts button { padding: 11px 13px; }
  .message-content { font-size: 13px; }
  .message-content p { font-size: 13px; }
  .message-content h1, .message-content h2 { font-size: 16px; }
  .message-content h3, .message-content h4 { font-size: 14px; }
  .api-header { display: flex; }
  .api-header .workspace-identity h1 { font-size: 16px; }
  .api-header > a { font-size: 10px; padding: 4px 5px; }
  .api-content { width: calc(100% - 36px); }
  .api-overview h2 { font-size: 20px; }
  .api-overview > div > p:last-child { font-size: 11px; }
  .api-endpoint-strip { padding: 13px 14px; gap: 11px; }
  .api-endpoint-strip code { font-size: 10px; }
  .api-endpoint-strip > div { gap: 10px; }
  .api-login-notice { display: block; }
  .api-login-notice .button { margin-top: 13px; }
  .usage-grid article { padding: 15px 13px; }
  .usage-grid strong { font-size: 24px; }
  .usage-grid p { font-size: 9px; }
  .api-caption { font-size: 9px; }
  .api-section-heading h3 { font-size: 14px; }
  .api-section-heading > div > p { font-size: 9px; }
  .api-section-heading > .toolbar-button { font-size: 9px; }
  .api-section-heading { gap: 12px; }
  .key-section .button { font-size: 10px; padding: 7px 10px; }
  .secret-panel { padding: 13px; }
  .secret-panel > div:first-child { display: block; }
  .secret-panel > div:first-child .toolbar-button { margin-top: 5px; padding-left: 0; }
  .secret-value { flex-wrap: wrap; }
  .secret-value input { flex-basis: 100%; }
  .secret-value .toolbar-button { padding-left: 0; }
  .quickstart-section .api-section-heading { display: block; }
  .quickstart-section .text-link { margin-top: 10px; }
  .api-code { font-size: 10px; padding: 16px 17px; }
  .api-contract-note { font-size: 8px; gap: 7px 14px; }
  .api-doc-links { gap: 10px 18px; font-size: 9px; }
}

/* White canvas surfaces derived from the content editor proportions. */
.ui-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.workspace-sidebar { background: #f7f8fa; }
.brand-mark { color: #3c4653; background: white; border-color: #dce0e6; }
.new-conversation, .button-dark, .send-button { background: #24272d; border-color: #24272d; color: white; }
.new-conversation:hover, .button-dark:hover, .send-button:hover { background: #42464e; border-color: #42464e; }
.sidebar-links a[aria-current="page"], .history-item[aria-current="true"] { background: #e9ecf0; color: #303641; }
.sidebar-link-label { border-color: #d7dde6; color: #8c96a4 !important; }
.conversation-scroll { background-color: #fcfcfd; background-image: radial-gradient(#d5d9e2 0.7px, transparent 0.7px); background-size: 17px 17px; }
.conversation-column:has(#messages:not(:empty)) { background: #fcfcfd; }
.conversation-empty h2 { font-weight: 550; }
.task-prompts button { background: white; border-color: #e1e4e9; box-shadow: 0 1px 2px #21263105, 0 6px 20px -15px #21263130; }
.task-prompts button:hover { background: #fafbfc; border-color: #c8ced8; }
.task-prompts .prompt-number { color: #9aa2ad; }
.message-user p { background: #eceff3; }
.message-header { color: #5f6876; }
.composer-shell:focus-within { border-color: #a6afb9; box-shadow: 0 0 0 3px #252b3505; }
.composer-shell { border-color: #d5dae2; box-shadow: 0 2px 12px #252b3508; }
.workspace-parameters { gap: 11px; }
.workspace-parameters label:first-child select { min-width: 116px; }
.api-model-badge, .key-status { color: #647183; background: #f1f3f6; border-color: #e0e4ea; }
.api-login-notice { background: #f4f5f7; border-left-color: #88919d; }
.secret-panel { background: #f6f7f9; border-color: #d5dce5; }
.secret-panel strong, .secret-value input, .secret-value .toolbar-button { color: #606d80; }
.secret-panel > p { color: #8c96a5; }
.api-code { background: #fafbfc; color: #566174; }
.course-header { border-bottom: 1px solid #e1e5eb; flex-shrink: 0; background: white; }
.courses-pane { height: 100dvh; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #fafbfc; }
.course-header-actions { display: flex; align-items: center; gap: 12px; }
.course-header-actions .button { min-height: 33px; padding: 7px 13px; font-size: 11px; gap: 7px; border-radius: 20px; }
.course-status-line { min-height: 33px; padding: 8px 25px; display: flex; justify-content: space-between; gap: 20px; background: white; border-bottom: 1px solid #e8ebef; color: #9199a5; font-size: 10px; line-height: 1.7; flex-shrink: 0; }
.course-status-line a { color: #8592a5; flex-shrink: 0; }
.course-error { margin: 10px 22px 0; flex-shrink: 0; }
.course-library { flex: 1; min-height: 0; overflow: auto; padding: 32px; background-image: radial-gradient(#d6dbe3 0.7px, transparent 0.7px); background-size: 17px 17px; }
.course-library-intro { margin-bottom: 26px; }
.paper-label { font-family: var(--sans); font-size: 9px; letter-spacing: .08em; color: #9aa3b0; }
.course-library-intro h2 { font-size: 24px; font-weight: 550; margin: 11px 0 9px; }
.course-library-intro p { font-size: 12px; color: #8d97a6; max-width: 600px; }
.course-login-notice, .course-empty { width: min(560px, 100%); margin: 48px auto; padding: 32px; background: white; border: 1px solid #e0e5ec; border-radius: 10px; text-align: center; box-shadow: 0 3px 12px #1d243004; }
.course-login-notice > .ui-icon, .course-empty > .ui-icon { width: 28px; height: 28px; color: #a3acb9; margin-bottom: 15px; }
.course-login-notice h3, .course-empty h3 { font-size: 17px; margin-bottom: 10px; }
.course-login-notice p, .course-empty p { font-size: 12px; color: #939ca9; }
.course-login-notice .button, .course-empty .button { font-size: 11px; min-height: 34px; border-radius: 20px; padding: 8px 16px; justify-content: center; }
.course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 17px; align-items: start; }
.course-card { border: 1px solid #dfe4eb; border-radius: 9px; background: white; padding: 21px; box-shadow: 0 2px 3px #20273304, 0 12px 30px -25px #20273330; text-align: left; color: #4d596b; }
.course-card:hover { border-color: #bfc8d5; }
.course-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: #a0aab8; font-size: 9px; }
.course-card h3 { font-size: 16px; line-height: 1.65; margin-bottom: 9px; color: #4b5667; }
.course-card p { font-size: 11px; color: #9aa3af; margin-bottom: 18px; line-height: 1.8; }
.course-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; font-size: 9px; color: #8d99a9; }
.course-card-meta span { border: 1px solid #e4e8ee; border-radius: 12px; padding: 2px 7px; }
.course-card-footer { border-top: 1px solid #edf0f4; padding-top: 12px; display: flex; justify-content: space-between; font-size: 10px; color: #a0a9b7; }
.course-editor { flex: 1; min-height: 0; display: grid; grid-template-columns: 185px minmax(340px, 1fr) 235px; }
.lesson-sidebar { border-right: 1px solid #e0e5ec; padding: 18px 14px; display: flex; flex-direction: column; min-height: 0; background: #f8f9fb; overflow: auto; }
.lesson-sidebar > .toolbar-button { align-self: flex-start; padding-left: 0; font-size: 10px; margin-bottom: 20px; }
.lesson-sidebar h2 { font-size: 14px; line-height: 1.8; margin-bottom: 9px; overflow-wrap: anywhere; }
.lesson-sidebar > p { font-size: 9px; color: #a1aab7; line-height: 1.8; margin-bottom: 22px; }
.lesson-list-heading { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; color: #929daa; margin-bottom: 11px; }
.lesson-sidebar ol { list-style: none; margin: 0; padding: 0; }
.lesson-select { width: 100%; border: 1px solid transparent; border-radius: 6px; background: none; padding: 10px 9px; text-align: left; margin-bottom: 6px; display: grid; grid-template-columns: 22px 1fr; gap: 4px 7px; }
.lesson-select > .lesson-order { grid-row: 1 / 3; color: #a6aebb; font-size: 10px; padding-top: 2px; }
.lesson-select strong { font-size: 11px; font-weight: 500; color: #707b8c; line-height: 1.7; }
.lesson-select small { font-size: 8px; color: #adb5c0; }
.lesson-select[aria-current="true"] { background: white; border-color: #dce2eb; box-shadow: 0 1px 3px #28374b06; }
.lesson-select[aria-current="true"] strong { color: #4f5c6f; }
.course-document-actions { margin-top: auto; border-top: 1px solid #e2e7ed; padding-top: 17px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.course-document-actions .toolbar-button { font-size: 9px; padding: 4px 0; }
.lesson-editor-scroll { min-width: 0; overflow: auto; background-color: #fbfcfd; background-image: radial-gradient(#d6dbe3 0.7px, transparent 0.7px); background-size: 17px 17px; padding: 25px 23px 35px; }
.lesson-paper { background: white; border: 1px solid #e1e6ed; border-radius: 10px; box-shadow: 0 2px 5px #26314404, 0 15px 35px -25px #26314424; padding: 24px; max-width: 900px; margin-inline: auto; }
.lesson-paper-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.edit-state { font-size: 9px; color: #9ea8b6; }
.edit-state.dirty { color: #707e93; }
.lesson-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 23px; }
.lesson-actions > p { font-size: 10px; color: #9da7b4; margin: 0 auto 0 0; }
.lesson-actions .button { border-radius: 20px; font-size: 10px; min-height: 31px; padding: 7px 11px; gap: 5px; }
.lesson-actions .toolbar-button { font-size: 9px; }
.lesson-paper label, .course-context label, #course-create-form label { display: block; font-size: 11px; color: #8591a3; margin: 0 0 8px; }
.lesson-paper input, .course-context input, #course-create-form input { width: 100%; border: 1px solid #dce2eb; background: #fff; border-radius: 5px; padding: 10px 11px; font-size: 12px; color: #566277; margin-bottom: 18px; }
#lesson-title { font-size: 20px; font-weight: 500; border: 0; border-bottom: 1px solid #e1e6ed; border-radius: 0; padding: 2px 0 13px; margin-bottom: 23px; color: #4c596b; }
.lesson-paper textarea, .course-context textarea, #course-create-form textarea { font-size: 12px; color: #637087; line-height: 1.85; border-color: #dce2eb; border-radius: 5px; padding: 10px 11px; margin-bottom: 20px; }
.lesson-basic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lesson-not-generated { display: flex; gap: 14px; align-items: flex-start; padding: 17px; border: 1px dashed #dce2ea; border-radius: 6px; background: #fafbfc; margin-bottom: 22px; }
.lesson-not-generated > .ui-icon { width: 22px; height: 22px; color: #a5adba; padding-top: 2px; }
.lesson-not-generated strong { font-size: 12px; font-weight: 500; color: #8b97a8; }
.lesson-not-generated p { font-size: 10px; line-height: 1.9; color: #a7afbb; margin: 7px 0 0; }
.field-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 5px 12px; }
.field-section-heading h3 { font-size: 14px; margin: 0; color: #657187; }
.field-section-heading .toolbar-button { font-size: 10px; }
.activity-section > .field-help { font-size: 9px; color: #a2adbd; margin-bottom: 14px; }
.activity-card { border: 1px solid #e0e5ec; border-radius: 7px; background: #fbfcfd; padding: 17px; margin-bottom: 16px; }
.activity-card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.activity-card-head > span { font-size: 9px; color: #a9b2c0; margin-right: auto; }
.activity-card-head button { font-size: 9px; padding: 2px 4px; }
.activity-top-fields { display: grid; grid-template-columns: 1fr 78px; gap: 12px; }
.activity-card input { font-size: 11px; padding: 8px 9px; margin-bottom: 12px; }
.activity-card textarea { margin-bottom: 0; background: white; font-size: 11px; }
.activity-card label { font-size: 9px; color: #a0aaba; }
.lesson-save-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; padding-top: 19px; border-top: 1px solid #e9edf3; }
.lesson-save-bar > p { font-size: 9px; color: #abb3c0; margin: 0; }
.lesson-save-bar > .button { font-size: 10px; min-height: 33px; padding: 8px 12px; gap: 7px; border-radius: 20px; }
.course-context { border-left: 1px solid #e0e5ec; padding: 22px 18px; background: #f9fafc; overflow: auto; }
.course-context h2 { font-size: 15px; margin-block: 14px 19px; color: #6a768b; }
.course-context dl { font-size: 10px; margin: 0 0 25px; color: #8d9bae; }
.course-context dl > div { display: grid; grid-template-columns: 57px 1fr; gap: 12px; margin-bottom: 11px; }
.course-context dt { color: #a7b0bd; }
.course-context dd { margin: 0; color: #8391a7; overflow-wrap: anywhere; }
.course-context textarea { font-size: 11px; margin-bottom: 16px; }
.course-context input { font-size: 11px; margin-bottom: 16px; }
.course-context .field-help { font-size: 9px; color: #a7b1bf; line-height: 1.85; }
.course-context .button { width: 100%; font-size: 10px; justify-content: center; min-height: 34px; padding: 7px 10px; border-radius: 20px; }
.course-context .edit-state { display: block; text-align: center; margin-top: 9px; }
.course-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.course-form-grid select { width: 100%; font-size: 12px; margin-bottom: 18px; border-color: #dce2eb; }
#course-create-submit { width: 100%; justify-content: center; font-size: 12px; margin-top: 10px; }
@media (max-width: 1350px) { .course-editor { grid-template-columns: 160px minmax(310px, 1fr) 210px; } .lesson-editor-scroll { padding-inline: 17px; } .lesson-paper { padding: 21px; } .workspace-parameters { gap: 7px; } .workspace-parameters label { gap: 5px; } .workspace-toolbar { gap: 12px; } }
@media (max-width: 1180px) { .course-editor { grid-template-columns: 145px minmax(310px, 1fr); } .course-context { grid-column: 2; grid-row: 2; border-top: 1px solid #e0e5ec; border-left: 0; overflow: visible; } .course-editor { overflow: auto; grid-template-rows: auto auto; } .lesson-sidebar { grid-row: 1 / 3; } .lesson-editor-scroll { overflow: visible; } .course-context-form { max-width: 700px; } .lesson-basic-grid { grid-template-columns: 1fr; gap: 0; } .workspace-identity h1 { font-size: 14px; } .workspace-parameters label { font-size: 9px; } .workspace-parameters select { font-size: 9px; padding-inline: 6px; } .workspace-parameters label:first-child select { min-width: 103px; } }
@media (max-width: 800px) { .courses-pane { height: 100dvh; } .course-library { padding: 24px; } .course-header .workspace-identity h1 { font-size: 16px; } .course-header-actions { gap: 6px; } .course-header-actions .toolbar-button { font-size: 0; } .course-header-actions .toolbar-button .ui-icon { width: 16px; height: 16px; } .course-status-line { padding-inline: 19px; } }
@media (max-width: 560px) { .workspace-toolbar { padding-left: 0; } .workspace-parameters { flex-wrap: wrap; gap: 6px 10px; } .workspace-parameters label { font-size: 9px; } .course-header { display: flex; } .course-header .workspace-identity p { font-size: 8px; } .course-header-actions .button { font-size: 9px; padding: 7px 10px; } .course-header-actions .button .ui-icon { width: 15px; height: 15px; } .course-status-line { font-size: 9px; } .course-status-line a { display: none; } .course-library { padding: 20px; } .course-library-intro h2 { font-size: 22px; } .course-library-intro p { font-size: 11px; } .course-list { grid-template-columns: 1fr; } .course-editor { display: block; overflow: auto; } .lesson-sidebar { overflow: visible; border-right: 0; border-bottom: 1px solid #e0e5ec; padding: 16px; } .lesson-sidebar > .toolbar-button { margin-bottom: 10px; } .lesson-sidebar h2 { margin-bottom: 4px; } .lesson-sidebar > p { margin-bottom: 15px; } .lesson-sidebar ol { display: flex; overflow-x: auto; gap: 8px; } .lesson-sidebar ol li { min-width: 145px; max-width: 200px; } .lesson-select { border-color: #e3e7ee; margin: 0; } .course-document-actions { margin-top: 15px; padding-top: 12px; flex-direction: row; flex-wrap: wrap; gap: 15px; } .lesson-editor-scroll { padding: 18px 13px; } .lesson-paper { padding: 19px; } .course-context { padding: 20px; } .lesson-actions { gap: 9px; } .lesson-actions > p { flex: 1 1 100%; } #lesson-title { font-size: 18px; } .lesson-save-bar { display: block; } .lesson-save-bar > .button { margin-top: 13px; } .course-form-grid { gap: 0 12px; } }

/* Course-first editing canvas with an integrated, independently scrolling assistant. */
#new-conversation { margin-top: 7px; font-size: 11px; background: transparent; box-shadow: none; min-height: 32px; color: #8692a2; border-color: #e4e8ee; }
#new-course-main { gap: 9px; }
.course-work-area { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 320px; }
.course-main-area { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.course-editor { grid-template-columns: 170px minmax(280px,1fr); grid-template-rows: minmax(0,1fr); overflow: hidden; }
.course-library-intro p { color: #768294; line-height: 1.9; }
.lesson-sidebar { grid-row: auto; }
.lesson-editor-scroll { overflow: auto; }
.course-assistant { min-height: 0; min-width: 0; display: flex; flex-direction: column; border-left: 1px solid #e1e6ec; background: #fff; }
.assistant-heading { display: flex; justify-content: space-between; align-items: center; padding: 19px 18px 10px; flex-shrink: 0; }
.assistant-heading h2 { font-size: 14px; margin: 6px 0 0; color: #4d5a6b; font-weight: 550; }
.assistant-heading > a { font-size: 15px; color: #8a96a6; }
.assistant-context { font-size: 11px; color: #7b8798; line-height: 1.8; padding: 0 18px 12px; margin: 0; border-bottom: 1px solid #edf0f4; }
.assistant-settings { flex-shrink: 0; border-bottom: 1px solid #e6ebf1; }
.assistant-settings > summary { cursor: pointer; padding: 12px 18px; font-size: 11px; color: #6e7c90; }
.assistant-settings[open] { max-height: 52%; overflow: auto; }
.assistant-settings .course-context { border: 0; padding: 5px 18px 17px; background: #fafbfc; grid-column: auto; grid-row: auto; }
.assistant-settings .course-context > .paper-label, .assistant-settings .course-context h2 { display: none; }
.assistant-settings .course-context dl { margin-top: 15px; margin-bottom: 18px; }
.assistant-scope { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 18px; font-size: 10px; color: #909aaa; }
.assistant-scope select { font-size: 11px; min-width: 160px; padding: 6px 9px; background: #f8f9fb; border: 1px solid #e2e7ee; color: #617086; border-radius: 6px; }
.assistant-scroll { flex: 1; min-height: 80px; overflow: auto; overscroll-behavior: contain; padding: 7px 18px 18px; }
.assistant-empty { padding: 24px 0; color: #8390a2; }
.assistant-empty strong { font-size: 12px; font-weight: 500; }
.assistant-empty p { font-size: 11px; color: #97a1af; line-height: 1.9; margin-top: 10px; }
.assistant-message { font-size: 12px; line-height: 1.9; color: #5b697d; margin: 0 0 22px; overflow-wrap: anywhere; }
.assistant-message > small { display: block; font-size: 9px; color: #a0a9b5; margin-bottom: 8px; }
.assistant-message.user { background: #f5f7f9; padding: 11px 12px; border-radius: 8px; }
.assistant-message pre { overflow-x: auto; background: #f7f8fa; padding: 10px; border-radius: 4px; font-size: 10px; }
.assistant-message h1,.assistant-message h2,.assistant-message h3 { font-size: 13px; margin-block: 15px 6px; }
.assistant-message table { display: block; overflow-x: auto; font-size: 10px; }
.assistant-message p { margin-block: 5px 10px; }
.assistant-proposal { border: 1px solid #dfe5ed; padding: 13px; border-radius: 8px; background: #fbfcfd; }
.assistant-proposal h3 { font-size: 12px; margin: 0 0 12px; color: #58677c; }
.proposal-change { border-top: 1px solid #e6ebf1; padding-top: 10px; margin-top: 12px; }
.proposal-change h4 { font-size: 11px; color: #637187; margin: 0 0 10px; }
.proposal-change small { display: block; font-size: 9px; color: #98a3b2; margin-bottom: 4px; }
.proposal-change pre { font-family: var(--sans); font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 10px; color: #68768b; line-height: 1.85; }
.proposal-change .proposal-before { color: #9aa3af; }
.proposal-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; gap: 7px; }
.proposal-actions .button { padding: 7px 10px; min-height: 31px; font-size: 10px; }
.proposal-actions .toolbar-button { font-size: 10px; }
.assistant-composer { padding: 13px 15px 14px; border-top: 1px solid #e8edf2; background: white; flex-shrink: 0; }
.assistant-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.assistant-examples button { font-size: 9px; background: #fafbfc; border: 1px solid #e2e7ee; color: #8591a2; border-radius: 12px; padding: 5px 8px; }
#assistant-form { border: 1px solid #dce3ed; border-radius: 9px; padding: 10px; background: #fff; box-shadow: 0 3px 10px #22334b05; }
#assistant-input { border: 0; background: transparent; padding: 0; margin: 0; font-size: 12px; line-height: 1.8; min-height: 65px; resize: vertical; color: #5d6b7f; box-shadow: none; }
#assistant-form > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 9px; }
#assistant-form > div > span { font-size: 9px; color: #a1aab7; }
#assistant-send { min-height: 29px; padding: 6px 10px; font-size: 10px; border-radius: 6px; }
.assistant-note, #assistant-status { font-size: 9px; color: #9aa5b4; line-height: 1.8; margin: 8px 0 0; }
.assistant-dirty { font-size: 10px; color: #75839a; line-height: 1.9; }
.assistant-dirty .toolbar-button { font-size: 10px; padding: 3px 5px; }
#assistant-error { font-size: 11px; line-height: 1.8; margin-top: 10px; }
#assistant-reload { font-size: 10px; margin-top: 8px; }
@media (max-width: 1350px) { .course-work-area { grid-template-columns: minmax(0,1fr) 295px; } .course-editor { grid-template-columns: 142px minmax(240px,1fr); } .lesson-basic-grid { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 1100px) { .course-editor { display: flex; flex-direction: column; } .lesson-sidebar { flex-shrink: 0; max-height: 205px; border-right: 0; border-bottom: 1px solid #e0e5ec; } .lesson-sidebar > p { margin-bottom: 8px; } .lesson-sidebar > .toolbar-button { margin-bottom: 8px; } .lesson-sidebar ol { display: flex; gap: 7px; overflow-x: auto; flex-shrink: 0; } .lesson-sidebar li { min-width: 145px; max-width: 190px; } .lesson-sidebar h2 { font-size: 12px; margin-bottom: 3px; } .course-document-actions { flex-direction: row; flex-wrap: wrap; padding-top: 7px; margin-top: 5px; gap: 12px; } .lesson-editor-scroll { flex: 1; min-height: 0; } }
@media (max-width: 800px) { .course-work-area { grid-template-columns: minmax(0,1fr) 295px; } }
@media (max-width: 650px) { .course-work-area { display: flex; flex-direction: column; overflow: auto; } .course-main-area { flex: 0 0 auto; min-height: 390px; } .course-library { min-height: 390px; overflow: visible; } .course-editor { overflow: visible; } .lesson-sidebar { max-height: none; } .lesson-editor-scroll { overflow: visible; } .course-assistant { min-height: 580px; border-left: 0; border-top: 1px solid #e0e5ec; flex: 0 0 580px; } .assistant-settings[open] { max-height: 250px; } .course-header { padding-inline: 16px; } }
