/* Foundations live in o24-tokens.css. */
html { height: auto; overflow: auto; }
:root[data-ui-style='quiet'] body.qa { height: auto; overflow: visible; font-family: 'Atlas Sohne', Arial, sans-serif; background: var(--qa-surface); color: var(--qa-ink); font-size: 14px; line-height: 1.5; }
.qa button, .qa input, .qa select, .qa textarea { font: inherit; }
.qa button, .qa a { -webkit-tap-highlight-color: transparent; }
.qa button { cursor: pointer; }
.qa button:disabled { cursor: not-allowed; opacity: .45; }
.qa button, .qa a, .qa input, .qa select, .qa textarea { transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease; }
.qa :focus-visible { outline: 2px solid var(--qa-blue); outline-offset: 4px; }
.qa a { color: inherit; }
.qa [hidden] { display: none !important; }
.qa h1, .qa h2, .qa h3, .qa h4 { color: var(--qa-ink); font-weight: 500; letter-spacing: -.025em; }
.qa h3 { font-size: 15px; }
.qa p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; background: var(--qa-surface); padding: 10px; }
.skip-link:focus { top: 8px; }
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail-width); padding: 34px 22px 25px; display: flex; flex-direction: column; background: var(--qa-paper); border-right: 1px solid var(--qa-line); z-index: 5; }
.wordmark { display: inline-flex; align-items: center; justify-content: center; line-height: 1; gap: .045em; color: var(--qa-ink); text-decoration: none; }
.wordmark img { display: block; width: .76em; height: .76em; flex-shrink: 0; }
.brand-numerals { font-family: var(--brand-font), Arial, sans-serif; font-weight: var(--brand-weight); letter-spacing: -.055em; line-height: 1; }
.rail-brand { align-self: flex-start; font-size: 43px; }
.rail-caption { font-size: 9px; letter-spacing: .14em; color: var(--qa-muted); margin: 38px 0 16px; display: flex; justify-content: space-between; }
.rail nav { display: grid; gap: 4px; }
.rail nav a { display: flex; gap: 14px; padding: 11px 12px; border-radius: 6px; font-size: 13px; text-decoration: none; color: var(--qa-muted); }
.rail nav a > span { font-size: 10px; padding-top: 2px; opacity: .7; }
.rail nav a:hover { color: var(--qa-ink); background: var(--qa-line); }
.rail nav a[aria-current] { color: var(--qa-blue); background: var(--qa-soft); font-weight: 500; }
:root[data-theme='dark'] .rail nav a[aria-current], :root[data-theme='dark'] .text-link { color: #8bb3ff; }
.rail-bottom { margin-top: auto; color: var(--qa-ink); font-size: 12px; line-height: 1.8; }
.rail-bottom > span:last-child { color: var(--qa-muted); font-size: 10px; }
.tiny-disk { display: inline-block; width: 6px; height: 6px; background: var(--qa-blue); border-radius: 50%; margin-right: 5px; }
.atlas-content { margin-left: var(--rail-width); }
.topline { height: 66px; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--qa-line); position: sticky; top: 0; background: var(--qa-surface); z-index: 4; font-size: 11px; color: var(--qa-muted); }
.topline strong { color: var(--qa-ink); font-weight: 500; }
.slash { color: var(--qa-input-line); margin: 0 12px; }
.theme-button { border: 1px solid var(--qa-line); background: transparent; color: var(--qa-ink); border-radius: 6px; padding: 7px 10px; display: flex; align-items: center; gap: 7px; font-size: 11px !important; }
.theme-button:hover { background: var(--qa-paper); }
main { max-width: 1320px; margin: auto; padding: 0 48px; }
.atlas-section { padding: 52px 0 64px; border-bottom: 1px solid var(--qa-line); scroll-margin-top: 10px; }
.section-kicker { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; letter-spacing: .12em; color: var(--qa-muted); }
.section-kicker > span:first-child { color: var(--qa-ink); }
.brand-stage { display: flex; justify-content: space-between; align-items: flex-end; min-height: 310px; padding: 50px 0 46px; }
.hero-wordmark { font-size: clamp(130px,17vw,260px); transform-origin: left; animation: brand-arrive 650ms ease both; }
.hero-wordmark img { width: .77em; height: .77em; }
.stage-note { color: var(--qa-muted); line-height: 1.65; font-size: 12px; margin-bottom: 10px; }
.identity-caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 20px; margin-bottom: 38px; }
.identity-caption h1 { font-size: 30px; line-height: 1.2; margin-bottom: 10px; }
.identity-caption p { color: var(--qa-muted); font-size: 15px; }
.text-link { border: 0; padding: 0; background: transparent; color: var(--qa-blue); text-decoration: none; font-size: 12px; display: inline-flex; align-items: center; gap: 12px; }
.text-link:hover { text-decoration: underline; }
.identity-rule { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--qa-line); padding-top: 18px; color: var(--qa-muted); font-size: 11px; }
.identity-rule > span:last-child { font-size: 9px; letter-spacing: .1em; }
.section-subhead { margin: 58px 0 22px; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.section-subhead h2 { font-size: 20px; }
.section-subhead p { font-size: 12px; color: var(--qa-muted); }
.font-studies { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.font-study { padding: 18px 20px; text-align: left; border: 1px solid var(--qa-line); background: var(--qa-paper); color: var(--qa-ink); border-radius: 8px; }
.font-study.selected { border-color: var(--qa-blue); box-shadow: inset 0 0 0 1px var(--qa-blue); background: var(--qa-surface); }
.font-study:hover { border-color: var(--qa-blue); }
.study-index { display: flex; justify-content: space-between; font-size: 10px; color: var(--qa-muted); }
.study-index > span { font-size: 8px; letter-spacing: .09em; }
.sample-wordmark { font-size: clamp(46px,5.5vw,78px); margin: 26px 0 30px; }
.font-breit { font-family: 'Atlas Breit',Arial,sans-serif; font-weight: 600; letter-spacing: -.055em; }
.font-soehne { font-family: 'Atlas Sohne',Arial,sans-serif; font-weight: 600; letter-spacing: -.055em; }
.font-founders { font-family: 'Atlas Founders',Arial,sans-serif; font-weight: 500; letter-spacing: -.04em; }
.study-name { display: block; font-size: 13px; font-weight: 500; }
.study-name small { display: block; font-size: 11px; font-weight: 400; margin-top: 5px; color: var(--qa-muted); }
.brand-scale { display: flex; gap: 44px; align-items: center; padding: 34px 0; }
.small-wordmark { font-size: 24px; }.medium-wordmark { font-size: 44px; }
.inverse-wordmark { background: #20252b; color: #fff; font-size: 44px; padding: 20px 28px; border-radius: 6px; }
.brand-scale > span { color: var(--qa-muted); font-size: 11px; margin-left: auto; }
.footnote { font-size: 10px; line-height: 1.7; color: var(--qa-muted); }
.footnote a { margin-left: 5px; }
.section-heading { margin: 32px 0; }
.section-heading h2 { font-size: 32px; line-height: 1.2; margin-bottom: 12px; }
.section-heading p { font-size: 14px; color: var(--qa-muted); max-width: 620px; }
.palette { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; }
.swatch { position: relative; border: 1px solid transparent; min-height: 238px; text-align: left; padding: 22px; display: flex; flex-direction: column; color: #fff; }
.swatch > span:first-child { font-size: 9px; letter-spacing: .1em; opacity: .85; }
.swatch strong { font-size: 22px; font-weight: 500; margin-top: auto; letter-spacing: -.02em; }
.swatch code { font-family: inherit; font-size: 12px; margin-top: 3px; }
.swatch-blue { background: #1d63f2; }.swatch-ink { background: #20252b; }
.swatch-paper { background: #f7f8fa; color: #20252b; }.swatch-white { background: #fff; color: #20252b; border-color: #e1e4e8; }
.copy-hint { position: absolute; right: 14px; bottom: 14px; font-size: 9px; opacity: 0; transition: opacity 120ms; }
.swatch:hover .copy-hint,.swatch:focus-visible .copy-hint { opacity: 1; }
.foundation-details { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; margin: 34px 0; }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 500; line-height: 1; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.status::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.status.success { background: var(--qa-green-bg); color: var(--qa-green); }.status.warning { background: var(--qa-amber-bg); color: var(--qa-amber); }
.status.danger { background: var(--qa-red-bg); color: var(--qa-red); }.status.neutral { background: var(--qa-paper); color: var(--qa-muted); }
.status.blue { background: var(--qa-soft); color: var(--qa-blue); }
:root[data-theme='dark'] .status.blue { color: #8bb3ff; }
.muted { color: var(--qa-muted); font-size: 12px; }
.surface-demo { display: flex; justify-content: space-between; padding: 12px 0 0 16px; border: 1px solid var(--qa-line); background: var(--qa-paper); font-size: 10px; color: var(--qa-muted); margin-top: 18px; }
.surface-demo > div { width: 75%; background: var(--qa-surface); border: 1px solid var(--qa-line); padding: 10px 0 0 14px; border-bottom: 0; border-right: 0; }
.surface-demo > div > div { margin: 10px 0 0 auto; width: 65%; padding: 15px; border: 1px solid var(--qa-line); border-bottom: 0; border-right: 0; box-shadow: -4px -4px 14px #182a4008; }
.measure-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 35px; border-top: 1px solid var(--qa-line); padding-top: 30px; }
.spacing-scale { display: flex; align-items: flex-end; gap: 12px; height: 87px; font-size: 10px; color: var(--qa-muted); }
.spacing-scale > span::before { content: ''; display: block; width: 14px; height: var(--unit); background: var(--qa-blue); margin-bottom: 8px; opacity: .75; }
.shape-scale { display: flex; gap: 20px; margin-top: 20px; }
.shape-scale > span { display: block; position: relative; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--qa-input-line); font-size: 12px; }
.shape-scale > span > span { position: absolute; left: 0; top: 50px; font-size: 10px; color: var(--qa-muted); }
.shape-control { border-radius: 6px; }.shape-panel { border-radius: 10px; }.shape-dialog { border-radius: 14px; }
.motion-sample { margin-top: 14px !important; font-size: 14px; }.motion-sample > span { color: var(--qa-muted); font-size: 11px; margin-left: 15px; }
.measure-row .muted { margin-top: 12px; font-size: 10px; }
.type-specimen { display: grid; grid-template-columns: 150px 1fr; gap: 30px 20px; border-top: 1px solid var(--qa-line); padding: 36px 0; align-items: baseline; }
.spec-label { font-size: 9px; letter-spacing: .1em; color: var(--qa-muted); }
.display-type { font-size: 56px; letter-spacing: -.045em; line-height: 1.08; }.page-type { font-size: 32px; letter-spacing: -.03em; line-height: 1.25; }
.section-type { font-size: 20px; font-weight: 500; }.body-type { font-size: 15px; line-height: 1.65; color: var(--qa-muted); }
.data-type { font-size: 14px; font-variant-numeric: tabular-nums; }.data-type span { margin-left: 35px; }
.label-type { font-size: 11px; letter-spacing: .1em; font-weight: 500; }
.type-foot { display: flex; justify-content: space-between; gap: 15px; padding-top: 25px; border-top: 1px solid var(--qa-line); font-size: 17px; }
.type-foot > span:last-child { color: var(--qa-muted); font-size: 11px; align-self: center; }
.control-row { display: grid; grid-template-columns: 190px 1fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--qa-line); }
.control-label p { color: var(--qa-muted); font-size: 11px; max-width: 160px; margin-top: 8px; }
.control-examples { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.qa .btn-primary, .qa .btn-secondary, .qa .quiet-button { border-radius: 6px; min-height: 36px; padding: 8px 13px; font-family: inherit; font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: 0; box-shadow: none; }
.qa .btn-primary { color: #fff; background: var(--qa-blue); border: 1px solid var(--qa-blue); }
.qa .btn-primary:hover:not(:disabled) { color: #fff; background: var(--qa-blue-hover); border-color: var(--qa-blue-hover); transform: none; }
.qa .btn-secondary { color: var(--qa-ink); background: var(--qa-surface); border: 1px solid var(--qa-input-line); }
.qa .btn-secondary:hover:not(:disabled), .qa .quiet-button:hover { background: var(--qa-paper); border-color: var(--qa-muted); color: var(--qa-ink); transform: none; }
.quiet-button { border: 1px solid transparent; background: transparent; color: var(--qa-muted); }
.icon-action { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--qa-input-line); border-radius: 6px; background: transparent; color: var(--qa-ink); font-size: 20px !important; }
.field-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.qa .form-group { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.qa .form-label { font-size: 11px; font-weight: 500; color: var(--qa-ink); margin: 0; }
.qa .form-input, .qa .form-select { width: 100%; min-height: 38px; padding: 9px 11px; border-radius: 6px; border: 1px solid var(--qa-input-line); background: var(--qa-surface); color: var(--qa-ink); font-size: 12px; box-shadow: none; line-height: 1.5; }
.qa .form-input:focus, .qa .form-select:focus { border-color: var(--qa-blue); outline: 2px solid var(--qa-blue); outline-offset: 2px; box-shadow: none; }
.qa .form-input.invalid { border-color: var(--qa-red); }.field-error { font-size: 10px; color: var(--qa-red); }
.qa .form-input:disabled { color: var(--qa-muted); background: var(--qa-paper); border-color: var(--qa-line); }
.selections { align-items: center; gap: 24px; font-size: 12px; }
.selections label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.qa input[type='checkbox'], .qa input[type='radio'] { accent-color: var(--qa-blue); width: 16px; height: 16px; }
.qa input.switch { appearance: none; position: relative; width: 30px; height: 18px; background: var(--qa-muted); border-radius: 20px; cursor: pointer; }
.qa input.switch::after { content: ''; position: absolute; width: 12px; height: 12px; background: #fff; border-radius: 50%; top: 3px; left: 3px; transition: transform 120ms; }
.qa input.switch:checked { background: var(--qa-blue); }.qa input.switch:checked::after { transform: translateX(12px); }
.radio-group { display: flex; gap: 14px; border: 0; padding: 0; }
.feedback-examples { display: grid; gap: 14px; }
.inline-notice { display: flex; gap: 12px; padding: 13px 16px; font-size: 12px; border-radius: 6px; }
.inline-notice > span:first-child { font-weight: 600; }.success-notice { color: var(--qa-green); background: var(--qa-green-bg); }.warning-notice { color: var(--qa-amber); background: var(--qa-amber-bg); }
.workspace-frame { border: 1px solid var(--qa-line); border-radius: 10px; overflow: hidden; background: var(--qa-surface); }
.workspace-top { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--qa-line); }
.workspace-brand { font-size: 30px; }.workspace-org { font-size: 11px; border-left: 1px solid var(--qa-line); padding-left: 18px; }.workspace-org > span { margin-left: 12px; }
.workspace-preview-label { margin-left: auto; font-size: 8px; letter-spacing: .1em; color: var(--qa-muted); }
.avatar { display: inline-grid; place-items: center; height: 25px; width: 25px; flex-shrink: 0; border-radius: 50%; background: var(--qa-paper); color: var(--qa-muted); border: 1px solid var(--qa-line); font-size: 8px; }
.workspace-body { display: flex; min-width: 0; }.workspace-nav { width: 155px; flex-shrink: 0; background: var(--qa-paper); padding: 18px 10px; border-right: 1px solid var(--qa-line); display: flex; flex-direction: column; gap: 3px; }
.workspace-nav > span { display: flex; align-items: center; gap: 10px; color: var(--qa-muted); padding: 9px 10px; font-size: 13px; border-radius: 5px; }
.workspace-nav > span > span { font-size: 10px; }.workspace-nav > .nav-group { font-size: 8px; letter-spacing: .1em; padding: 8px 10px; margin-top: 12px; }
.workspace-nav > .nav-group:first-child { margin-top: 0; }.workspace-nav > .active { background: var(--qa-surface); color: var(--qa-ink); box-shadow: 0 1px 3px #20252b08; }
.records { flex: 1; min-width: 0; padding: 26px 24px 0; }
.records-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.breadcrumb { font-size: 10px; color: var(--qa-muted); }
.records-heading h3 { font-size: 25px; margin-top: 8px; }.records-heading h3 > span { font-size: 11px; color: var(--qa-muted); margin-left: 8px; vertical-align: middle; }
.record-toolbar { display: flex; gap: 12px; justify-content: space-between; margin: 25px 0 18px; }
.table-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--qa-input-line); border-radius: 6px; padding: 6px 9px; min-width: 100px; max-width: 225px; }
.table-search > span { font-size: 20px; line-height: 1; color: var(--qa-muted); }.table-search input { min-width: 0; width: 100%; background: transparent; color: var(--qa-ink); border: 0; font-size: 11px; }
.table-search:focus-within { outline: 2px solid var(--qa-blue); outline-offset: 2px; }.table-search input:focus-visible { outline: 0; }
.density-control { display: flex; align-items: center; border: 1px solid var(--qa-line); background: var(--qa-paper); border-radius: 6px; padding: 2px; }
.density-control button { font-size: 9px; border: 0; border-radius: 4px; padding: 6px 8px; color: var(--qa-muted); background: transparent; }
.density-control button[aria-pressed='true'] { background: var(--qa-surface); color: var(--qa-ink); box-shadow: 0 1px 3px #20252b10; }
.table-scroll { overflow: auto; }.account-table { border-collapse: collapse; width: 100%; font-size: 11px; text-align: left; white-space: nowrap; }
.account-table th { color: var(--qa-muted); font-size: 9px; font-weight: 400; background: var(--qa-paper); padding: 10px; border-bottom: 1px solid var(--qa-line); }
.account-table td { padding: 16px 10px; border-bottom: 1px solid var(--qa-line); }.account-table tr:last-child td { border-bottom: 0; }
.account-table th:first-child,.account-table td:first-child { padding-left: 10px; }.account-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.account-table tbody tr:hover { background: var(--qa-paper); }.account-table.compact td { padding-top: 8px; padding-bottom: 8px; }
.account-link { display: flex; gap: 10px; align-items: center; border: 0; background: transparent; color: var(--qa-ink); text-align: left; padding: 0; font-size: 11px !important; }
.account-link:hover { color: var(--qa-blue); }.account-link small { display: block; font-size: 9px; color: var(--qa-muted); margin-top: 3px; }
.account-monogram { display: grid; place-items: center; width: 28px; height: 28px; background: var(--qa-paper); border: 1px solid var(--qa-line); border-radius: 6px; color: var(--qa-muted); font-size: 12px; }
.owner { display: inline-flex; gap: 7px; align-items: center; font-size: 10px; }.owner .avatar { width: 21px; height: 21px; font-size: 7px; }
.table-footer { border-top: 1px solid var(--qa-line); padding: 14px 0; color: var(--qa-muted); font-size: 9px; display: flex; justify-content: space-between; gap: 10px; }
#empty-results { padding: 40px 10px; text-align: center; color: var(--qa-muted); }
.workspace-notes { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 11px; color: var(--qa-muted); }.workspace-notes strong { font-weight: 400; margin-right: 8px; color: var(--qa-blue); }
.conversation-layout { display: grid; grid-template-columns: .95fr 1.05fr; border: 1px solid var(--qa-line); border-radius: 10px; overflow: hidden; }
.record-summary { padding: 32px; background: var(--qa-paper); border-right: 1px solid var(--qa-line); }.record-summary h3 { font-size: 25px; margin: 14px 0 4px; }
.record-summary > p { color: var(--qa-muted); font-size: 12px; }.record-summary dl { margin: 28px 0; font-size: 11px; }.record-summary dl > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--qa-line); gap: 15px; }.record-summary dt { color: var(--qa-muted); }.record-summary dd { margin: 0; }
.record-summary h4 { font-size: 12px; margin: 25px 0 18px; }.activity { display: flex; gap: 12px; margin: 20px 0; }.activity-dot { width: 6px; height: 6px; border: 1px solid var(--qa-muted); border-radius: 50%; margin-top: 6px; }.activity strong { font-size: 11px; font-weight: 400; }.activity p { color: var(--qa-muted); font-size: 10px; margin-top: 3px; }
.chat-specimen { padding: 0 24px 22px; display: flex; flex-direction: column; min-width: 0; }.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--qa-line); font-size: 11px; }
.chat-messages { flex: 1; min-height: 300px; max-height: 450px; overflow: auto; padding: 25px 0; font-size: 12px; line-height: 1.7; }
.user-message { background: var(--qa-paper); padding: 12px 15px; border-radius: 10px 10px 2px 10px; margin: 0 0 25px 30px; overflow-wrap: anywhere; }.assistant-message { margin: 20px 0; }.assistant-message p { margin: 12px 0; }.assistant-message strong { font-weight: 500; }.chat-eyebrow { font-size: 8px; letter-spacing: .1em; color: var(--qa-muted); }
.evidence-chip { border: 1px solid var(--qa-line); display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; padding: 5px 8px; font-size: 9px; color: var(--qa-muted); }
.chat-composer { border: 1px solid var(--qa-input-line); border-radius: 8px; padding: 12px; }.chat-composer:focus-within { outline: 2px solid var(--qa-blue); outline-offset: 2px; }.chat-composer textarea { width: 100%; border: 0; background: transparent; color: var(--qa-ink); resize: vertical; min-height: 50px; max-height: 160px; font-size: 12px; }.chat-composer textarea:focus-visible { outline: 0; }.chat-composer > div { display: flex; justify-content: space-between; align-items: center; color: var(--qa-muted); font-size: 9px; }
.send-button { width: 28px; height: 28px; border: 0; border-radius: 6px; background: var(--qa-blue); color: #fff; font-size: 18px !important; }
.atlas-footer { display: flex; align-items: center; gap: 28px; padding: 35px 0 45px; font-size: 11px; color: var(--qa-muted); }.footer-brand { font-size: 35px; }.atlas-footer small { font-size: 10px; }.atlas-footer > a { margin-left: auto; text-decoration: none; font-size: 11px; }
.qa dialog { position: fixed; inset: 0; margin: auto; width: min(440px,calc(100% - 32px)); max-height: calc(100% - 40px); overflow-y: auto; padding: 28px; border: 1px solid var(--qa-line); border-radius: 14px; color: var(--qa-ink); background: var(--qa-surface); box-shadow: 0 24px 80px #0003; }
.qa dialog[open] { animation: dialog-arrive 200ms ease; }.qa dialog::backdrop { background: #17203066; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }.dialog-heading .label-type { color: var(--qa-muted); font-size: 9px; }.dialog-heading .icon-action { border: 0; }.qa dialog h2 { font-size: 26px; margin-bottom: 8px; }.qa dialog .form-group { margin-top: 22px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--qa-line); padding-top: 22px; margin-top: 28px; }
.atlas-toast { position: fixed; bottom: 25px; left: calc(50% + var(--rail-width)/2); transform: translate(-50%,12px); opacity: 0; pointer-events: none; z-index: 15; color: var(--qa-ink); background: var(--qa-surface); border: 1px solid var(--qa-line); border-radius: 8px; padding: 12px 18px; box-shadow: 0 8px 28px #20252b18; font-size: 12px; max-width: min(90vw,460px); transition: opacity 160ms,transform 160ms; }
.atlas-toast.visible { opacity: 1; transform: translate(-50%,0); }
@keyframes brand-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) { main { padding: 0 70px; }.brand-stage { min-height: 350px; } }
@media (max-width: 1180px) {
  :root { --rail-width: 178px !important; }.rail { padding-left: 16px; padding-right: 16px; }
  main { padding: 0 30px; }.topline { padding: 0 30px; }.brand-stage { min-height: 260px; }
  .workspace-nav { width: 120px; padding: 18px 5px; }.records { padding: 22px 16px 0; }
  .control-row { grid-template-columns: 150px 1fr; gap: 24px; }.brand-scale { gap: 25px; }.brand-scale > span { max-width: 170px; }
}
@media (max-width: 900px) {
  :root { --rail-width: 0px !important; }.rail { position: static; width: 100%; padding: 18px 24px 0; border-right: 0; border-bottom: 1px solid var(--qa-line); flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px; }
  .rail-brand { font-size: 32px; }.rail-caption { margin: 0 0 0 auto; gap: 20px; }.rail-bottom { display: none; }.rail nav { display: flex; gap: 0; width: 100%; overflow-x: auto; }.rail nav a { padding: 10px 12px; font-size: 11px; white-space: nowrap; }.rail nav a > span { display: none; }.topline { height: 55px; }.hero-wordmark { font-size: 190px; }.brand-stage { padding: 45px 0; }
  .sample-wordmark { font-size: 58px; }.font-study { padding: 15px; }.type-specimen { grid-template-columns: 115px 1fr; }.workspace-nav { width: 130px; }
}
@media (max-width: 640px) {
  main { padding: 0 22px; }.topline { padding: 0 22px; font-size: 9px; }.topline .slash { margin: 0 5px; }.theme-button { font-size: 10px !important; }
  .atlas-section { padding: 32px 0 42px; }.section-kicker { font-size: 8px; letter-spacing: .08em; }.section-kicker > span:last-child { text-align: right; max-width: 130px; }
  .brand-stage { min-height: 200px; padding: 38px 0; }.hero-wordmark { font-size: clamp(130px,35vw,190px); }.stage-note { display: none; }.identity-caption { align-items: flex-start; flex-direction: column; margin: 15px 0 28px; }.identity-caption h1 { font-size: 28px; }.identity-caption p { font-size: 13px; }.identity-rule { font-size: 10px; }.identity-rule > span:last-child { display: none; }
  .section-subhead { flex-direction: column; gap: 8px; margin-top: 36px; }.font-studies { grid-template-columns: 1fr; gap: 10px; }.font-study { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 18px; }.study-index { grid-column: 1/-1; margin-bottom: 12px; }.sample-wordmark { margin: 8px 0; font-size: 66px; }.study-name { font-size: 12px; }.study-name small { font-size: 10px; }.brand-scale { flex-wrap: wrap; gap: 28px; padding: 28px 0; }.brand-scale > span { flex-basis: 100%; max-width: none; margin: 0; }.inverse-wordmark { padding: 15px 20px; font-size: 36px; }
  .section-heading h2 { font-size: 28px; }.section-heading p { font-size: 13px; }.palette { grid-template-columns: 1fr 1fr; }.swatch { min-height: 190px; padding: 18px; }.swatch strong { font-size: 21px; }.copy-hint { opacity: 1; }
  .foundation-details { grid-template-columns: 1fr; gap: 25px; }.measure-row { grid-template-columns: 1fr 1fr; gap: 30px; }.measure-row > div:last-child { grid-column: 1/-1; margin-top: 8px; }.spacing-scale { gap: 8px; }.spacing-scale > span::before { width: 11px; }.shape-scale { gap: 12px; }
  .type-specimen { grid-template-columns: 1fr; gap: 14px; padding: 25px 0; }.type-specimen > p { margin-bottom: 20px; }.display-type { font-size: 42px; }.page-type { font-size: 28px; }.data-type span { margin-left: 12px; font-size: 12px; }.type-foot { flex-wrap: wrap; font-size: 16px; }.type-foot > span:last-child { flex-basis: 100%; }
  .control-row { grid-template-columns: 1fr; gap: 20px; }.control-label p { max-width: none; }.field-examples { grid-template-columns: 1fr; gap: 20px; }.selections { gap: 20px; }
  .workspace-top { padding: 12px; gap: 12px; }.workspace-org { font-size: 9px; padding-left: 12px; }.workspace-preview-label { display: none; }.workspace-top > .avatar { margin-left: auto; }.workspace-nav { display: none; }.records { padding: 22px 14px 0; }.records-heading .btn-primary { font-size: 10px; padding: 7px 9px; }.record-toolbar { flex-wrap: wrap; }.table-search { max-width: none; width: 100%; }.table-footer { font-size: 8px; }.table-footer > span:last-child { max-width: 180px; text-align: right; }.account-table { min-width: 530px; }.workspace-notes { flex-direction: column; gap: 8px; }
  .conversation-layout { grid-template-columns: 1fr; }.record-summary { border-right: 0; border-bottom: 1px solid var(--qa-line); padding: 24px; }.chat-specimen { padding: 0 20px 20px; }.atlas-footer { flex-wrap: wrap; gap: 20px; }.atlas-footer > span { max-width: 210px; }.atlas-footer > a { margin-left: 0; }.atlas-toast { width: max-content; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto !important; }.qa *, .qa *::before, .qa *::after { animation: none !important; transition: none !important; } }

/* Fixed, outlined identity: independent of font loading. */
.wordmark img.brand-lockup { width: 1.65em; height: auto; }
.wordmark img.brand-lockup-white { display: none; }
[data-theme="dark"] .wordmark img.brand-lockup-ink,
.inverse-wordmark img.brand-lockup-ink { display: none; }
[data-theme="dark"] .wordmark img.brand-lockup-white,
.inverse-wordmark img.brand-lockup-white { display: block; }
