/* NEXORA / reader and editorial workspace. Loaded after the publication shell. */
:root {
  --reader-tint: #edf2ff;
  --reader-text: #303b4b;
  --reader-blue: #2357ff;
}
:root[data-theme="dark"] {
  --reader-tint: #1b2842;
  --reader-text: #c9d2e1;
  --reader-blue: #94afff;
}

/* A shared editorial rhythm for every desk, archive and utility page. */
:is(.category-main,.search-page,.latest-page,.article-page,.newsletter-page,.account-page,.info-page) {
  min-width: 0;
}
:is(.category-heading,.page-heading,.newsletter-hero,.account-welcome,.info-page) h1 {
  letter-spacing: -.045em;
  font-weight: 700;
  line-height: 1.07;
}
:is(.category-heading,.page-heading,.account-header,.info-page) .orange-dot { display: none; }
.breadcrumbs {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 10px;
  line-height: 1.7;
  padding-top: 27px;
  margin-bottom: 34px;
}
.category-heading {
  align-items: end;
  padding-bottom: 31px;
  border-bottom: 2px solid var(--ink);
}
.category-heading .eyebrow,.page-heading .eyebrow { font-size: 10px; }
.category-heading h1 { font-size: clamp(36px,4.4vw,62px); margin-top: 15px; }
.category-heading p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 17px;
}
.category-heading>.btn { margin-bottom: 3px; }
.category-toolbar { padding-block: 22px 30px; }
.topic-chips { gap: 7px; }
.topic-chips .chip { font-size: 11px; padding: 8px 12px; background: var(--paper); }
.topic-chips .chip.active { color: var(--paper); background: var(--ink); }
.sort-label { font-size: 11px; }
.sort-label select {
  font-size: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 26px 8px 10px;
}
.category-featured { gap: 35px; padding-bottom: 36px; margin-bottom: 35px; }
.category-featured .list-card { grid-template-columns: 1.08fr 1fr; gap: 28px; }
.category-featured .list-card .story-image { height: 315px; }
.category-featured .list-card h3 { font-size: clamp(25px,2.3vw,34px); line-height: 1.12; }
.category-featured .story-deck { font-size: 14px; line-height: 1.7; }
.category-featured .story-meta { font-size: 10px; line-height: 1.65; }
.category-editor-note {
  background: transparent;
  border-left: 1px solid var(--line);
  padding: 20px 0 20px 27px;
}
.category-editor-note .eyebrow { font-size: 10px; }
.category-editor-note h2 { font-size: 30px; line-height: 1.08; font-weight: 600; }
.category-editor-note p { font-size: 13px; line-height: 1.7; }
.category-editor-note .text-link { font-size: 12px; }
.category-grid { gap: 38px 28px; }
.category-grid h3 { font-size: 23px; line-height: 1.17; }
.category-grid .story-meta { font-size: 10px; line-height: 1.7; }
:where(.category-main,.search-page,.latest-page,.account-page) .list-card { gap: 28px; padding-block: 28px; grid-template-columns: 225px minmax(0,1fr); }
:where(.category-main,.search-page,.latest-page,.account-page) .list-card h3 { font-size: 25px; line-height: 1.16; }
:where(.category-main,.search-page,.latest-page,.account-page) .list-card .story-image { height: 160px; }
:where(.category-main,.search-page,.latest-page,.account-page) .list-card .story-deck { font-size: 14px; line-height: 1.65; }
:where(.category-main,.search-page,.latest-page,.account-page) .list-card .story-meta { font-size: 10px; line-height: 1.7; }
.latest-page { padding-top: 47px; }
.latest-page .latest-layout { border-top: 2px solid var(--ink); padding-top: 28px; margin-top: 12px; }
.page-heading { padding-block: 48px 30px; }
.page-heading h1 { font-size: clamp(35px,4.2vw,58px); max-width: 960px; margin-top: 16px; }
.page-heading p { font-size: 15px; line-height: 1.7; }

/* Search feels like an archive: a clear query, useful filters, then stories. */
.big-search { max-width: none; padding: 9px 10px 9px 21px; border-color: var(--line); border-bottom: 2px solid var(--ink); }
.big-search input { font-size: 20px; padding-block: 14px; }
.big-search>svg { color: var(--muted); }
.search-popular { font-size: 12px; gap: 12px 18px; }
.search-popular>span { font-family: 'IBM Plex Mono',monospace; font-size: 9px; }
.search-layout { gap: 42px; grid-template-columns: 215px minmax(0,1fr); }
.search-filters .rail-heading { font-size: 10px; letter-spacing: .06em; gap: 12px; }
.search-filters legend { font-size: 13px; margin-bottom: 19px; }
.radio-row { font-size: 13px; line-height: 1.5; gap: 10px; margin-bottom: 14px; }
.radio-row>span { font: 10px 'IBM Plex Mono',monospace; }
.search-filters fieldset { margin-block: 27px; }
.search-filters>.text-link { font-size: 12px; }
.results-toolbar { font-size: 13px; padding-bottom: 18px; }
.search-suggestions { box-shadow: 0 10px 20px #12172112; border-top: 0; }
.search-suggestions a { padding: 18px 22px; }
.search-suggestions .eyebrow { font-size: 9px; }
.search-suggestions strong { font-size: 14px; font-weight: 500; }
.pagination button { width: 40px; height: 40px; }

/* Long-form reading: measured line length, clear provenance and a quiet brief. */
.article-heading { max-width: 980px; }
.article-heading>.eyebrow { font-size: 10px; }
.article-heading h1 {
  font-size: clamp(38px,4.5vw,62px);
  font-weight: 700;
  letter-spacing: -.043em;
  line-height: 1.07;
  max-width: 980px;
  margin-top: 20px;
}
.article-deck { max-width: 880px; font-size: 19px; line-height: 1.65; margin-top: 23px; }
.article-byline { gap: 14px; margin-block: 30px; }
.article-byline strong { font-size: 12px; font-weight: 600; }
.article-byline span { font-size: 10px; line-height: 1.6; }
.author-avatar {
  border-radius: 0;
  background: var(--soft);
  color: var(--muted);
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--line);
}
.author-avatar.large { font-size: 17px; }
.byline-date { font-family: 'IBM Plex Mono',monospace; font-size: 10px; line-height: 1.6; }
.article-actions { gap: 8px; }
.article-actions .btn { font-size: 11px; }
.article-hero { margin-bottom: 40px; }
.article-hero img { height: 500px; }
.article-hero figcaption { font-size: 10px; line-height: 1.6; text-align: left; padding-top: 12px; }
.article-layout { grid-template-columns: 155px minmax(0,720px) minmax(180px,1fr); gap: 35px; }
.article-toc { padding-top: 4px; gap: 19px; }
.article-toc>.eyebrow { font-size: 9px; }
.article-toc>button { font-size: 11px; line-height: 1.65; }
.article-demo-note { font-family: 'IBM Plex Mono',monospace; font-size: 9px; line-height: 1.8; margin-bottom: 25px; }
.ai-summary {
  background: var(--reader-tint);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  margin-bottom: 38px;
}
.ai-summary-toggle { padding: 20px 22px 16px; flex-wrap: wrap; row-gap: 10px; }
.ai-summary-toggle>span:first-child { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ai-summary-toggle>span:first-child>svg { color: var(--reader-blue); }
.ai-summary-toggle>svg { margin-left: 0; }
.ai-pill {
  color: var(--reader-blue);
  border-color: var(--line);
  font: 8px 'IBM Plex Mono',monospace;
  padding: 5px 6px;
}
.ai-summary-body { padding: 0 22px 22px; }
.ai-summary-body>.small-muted { font-size: 12px; }
.ai-summary-body ul { padding-left: 19px; margin-block: 19px 22px; }
.ai-summary-body li { font-size: 15px; line-height: 1.75; padding-left: 5px; margin-bottom: 14px; }
.ai-summary-body li::marker { color: var(--reader-blue); }
.ai-disclosure { color: var(--muted); border-color: var(--line); font-size: 11px; line-height: 1.7; padding-top: 15px; margin-bottom: 17px; }
.ai-summary-body>.text-link { font-size: 12px; color: var(--reader-blue); }
.body-section { margin-bottom: 36px; }
.body-section h2 { font-size: 29px; letter-spacing: -.028em; line-height: 1.2; margin-bottom: 18px; font-weight: 600; }
.body-section p { font-family: 'IBM Plex Sans',Arial,sans-serif; font-size: 19px; line-height: 1.85; color: var(--reader-text); margin-bottom: 22px; }
.body-section:first-of-type>p:first-of-type:first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0; font-weight: inherit; }
.source-note { font-size: 13px; padding-block: 23px; }
.source-note strong { font-size: 14px; font-weight: 600; }
.source-note p { line-height: 1.8; }
.source-primary-link { font-size: 13px; color: var(--reader-blue); }
.source-primary-link small { font-family: 'IBM Plex Mono',monospace; font-size: 10px; line-height: 1.7; }
.source-checked { font-size: 11px!important; }
.author-bio { gap: 20px; }
.author-bio .eyebrow { font-size: 9px; }
.author-bio p { font-size: 13px; line-height: 1.8; }
.article-right { padding-top: 0; }
.article-brief-ad { background: var(--ink); color: var(--bg); padding: 26px 22px; }
.article-brief-ad .eyebrow { font-size: 9px; color: var(--bg); opacity: .66; }
.article-brief-ad h3 { font-size: 31px; font-weight: 600; line-height: 1.06; }
.article-brief-ad p { color: var(--bg); opacity: .75; font-size: 13px; line-height: 1.7; }
.article-brief-ad .btn { background: #2357ff; color: #fff; border-color: #2357ff; font-size: 12px; }
.article-brief-ad>.small-muted { color: var(--bg); opacity: .66; font-size: 10px; line-height: 1.7; }
.related-rail>h3 { font-size: 18px; }
.related-rail .eyebrow { font-size: 9px; }
.related-rail h4 { font-size: 15px; line-height: 1.4; }
.related-section { padding-top: 30px; margin-top: 35px; }
.related-grid h3 { font-size: 24px; line-height: 1.18; }

/* The brief and reading room use the same paper, rules and type as the news. */
.newsletter-page { padding-block: 55px 75px; }
.newsletter-hero { grid-template-columns: 1.12fr .9fr; gap: 80px; max-width: 1180px; }
.newsletter-hero h1 { font-size: clamp(36px,4vw,54px); }
.newsletter-hero>div>p { font-size: 15px; line-height: 1.8; }
.newsletter-benefits { gap: 12px; }
.newsletter-benefits span { font-size: 13px; }
.newsletter-benefits svg { color: var(--reader-blue); }
.newsletter-preview { padding: 27px; box-shadow: none; border-top: 3px solid var(--ink); }
.newsletter-preview>.eyebrow { font-size: 9px; }
.preview-brand { font-family: 'Archivo',Arial,sans-serif; font-weight: 700; font-size: 30px; }
.preview-brand span { font: 9px 'IBM Plex Mono',monospace; }
.newsletter-preview>h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.newsletter-preview>a { gap: 16px; padding-block: 20px; }
.newsletter-preview>a>span { font: 12px 'IBM Plex Mono',monospace; }
.newsletter-preview>a strong { font-size: 14px; font-weight: 500; line-height: 1.5; }
.newsletter-preview>a small { font: 10px 'IBM Plex Mono',monospace; margin-top: 8px; }
.newsletter-preview>.small-muted { font-size: 10px; line-height: 1.7; }
.newsletter-signup { padding: 31px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--orange); }
.signup-icon { margin-bottom: 18px; }
.newsletter-signup>h2 { font-size: 32px; font-weight: 600; }
.newsletter-signup>p { font-size: 13px; line-height: 1.65; }
.newsletter-signup .field>label { font-size: 12px; }
.newsletter-signup .field input { font-size: 14px; padding: 13px 12px; }
.topic-options legend,.frequency-options legend { font-size: 12px; }
.topic-option { padding-block: 13px; gap: 12px; border-bottom: 1px solid var(--line); }
.topic-option strong { font-size: 13px; font-weight: 500; }
.topic-option small { font-size: 11px; line-height: 1.5; }
.frequency-options { flex-wrap: wrap; gap: 12px 20px; }
.frequency-options>label { font-size: 12px; }
.consent-label { font-size: 11px; line-height: 1.8; }
.newsletter-signup .form-help { font-size: 11px; line-height: 1.7; }
.manage-newsletter { font-size: 12px; }
.account-welcome { max-width: 1040px; margin: auto; }
.account-welcome h1 { font-size: clamp(35px,4.2vw,55px); }
.account-welcome>p { font-size: 15px; line-height: 1.8; }
.account-feature-grid { gap: 35px; max-width: none; text-align: left; }
.account-feature-grid h3 { font-size: 21px; font-weight: 600; }
.account-feature-grid p { font-size: 13px; line-height: 1.7; }
.account-header h1 { font-size: 42px; font-weight: 600; letter-spacing: -.04em; }
.account-header .eyebrow { font-size: 9px; }
.account-header p { font-size: 13px; }
.account-tabs { margin-top: 38px; gap: 32px; }
.account-tabs button { font-size: 13px; padding-block: 17px; }
.account-tabs button span { font: 10px 'IBM Plex Mono',monospace; border-radius: 0; padding: 3px 6px; }
.following-card { background: var(--paper); border: 0; border-top: 2px solid var(--ink); padding: 26px 25px; }
.following-card .eyebrow { font-size: 9px; }
.following-card h2 { font-size: 28px; font-weight: 600; }
.following-card p { font-size: 14px; line-height: 1.7; }
.settings-card { padding: 28px; }
.settings-card h2 { font-size: 25px; font-weight: 600; }
.settings-card>p { font-size: 13px; }
.settings-card .field>label { font-size: 12px; }
.info-page { max-width: 900px; padding-block: 60px 80px; }
.info-page>.eyebrow { font-size: 10px; }
.info-page h1 { font-size: clamp(36px,4.3vw,57px); }
.info-intro { font-size: 22px; line-height: 1.5; }
.info-page>section { padding-block: 29px; }
.info-page>section h2 { font-size: 27px; font-weight: 600; line-height: 1.2; }
.info-page>section p,.info-page>p:not(.info-intro) { font-size: 16px; line-height: 1.85; }
.source-register .eyebrow { font-size: 9px; }
.source-register h3 { font-size: 23px; line-height: 1.3; }
.source-register .text-link { font-size: 12px; }
.source-rate-grid span { font: 9px 'IBM Plex Mono',monospace; }
.source-rate-grid strong { font: 500 20px 'IBM Plex Mono',monospace; letter-spacing: -.04em; }
.credits-grid figcaption { font-size: 12px; }

/* Modals are compact tools rather than promotional cards. */
.modal-backdrop { background: #0a101bd1; backdrop-filter: none; }
.modal-dialog { background: var(--paper); border: 1px solid var(--line); border-radius: 0; box-shadow: 0 18px 60px #0003; }
.modal-header { padding: 24px 30px; }
.modal-header .eyebrow { font-size: 9px; }
.modal-header h2 { font-size: 28px; font-weight: 600; line-height: 1.15; }
.modal-body>p { font-size: 14px; line-height: 1.75; }
.modal-body .field>label,.modal-body .field-label { font-size: 12px; }
.modal-body .form-help { font-size: 11px; }
.login-symbol { font-family: 'Archivo',Arial,sans-serif; background: var(--soft); border-left: 3px solid var(--orange); font-weight: 700; }
.login-body>h2 { font-size: 32px; font-weight: 600; }
.login-body>p { font-size: 14px; }
.success-icon { border-radius: 0; background: var(--reader-tint); color: var(--reader-blue); }
.success-body>p { font-size: 14px; }
.assistant-body .assistant-story { font-family: 'Archivo',Arial,sans-serif; font-size: 24px; font-weight: 600; line-height: 1.25; }
.assistant-intro { padding: 20px; border-top: 2px solid var(--orange); background: var(--soft); }
.assistant-intro>svg { color: var(--reader-blue); }
.assistant-intro strong { font-size: 14px; font-weight: 500; }
.assistant-intro p { font-size: 12px; line-height: 1.7; }
.question-chips button { font-size: 12px; padding: 10px 12px; line-height: 1.5; text-align: left; }
#assistant-form>label { font-size: 12px; }
.assistant-input input { font-size: 14px; }
.assistant-response { background: var(--reader-tint); padding: 23px; }
.assistant-response .eyebrow { font-size: 10px; color: var(--reader-blue); }
.assistant-response p { font-size: 15px; line-height: 1.8; }
.answer-source { font-size: 11px; line-height: 1.7; }
.toast { box-shadow: 0 5px 18px #0a101b20; }
.toast svg { color: #a8beff; }

/* Editorial Studio: dense, readable and consistent with the publication. */
.cms-layout { grid-template-columns: 215px minmax(0,1fr); }
.cms-sidebar { background: #141a25; color: #e4eaf5; padding: 31px 16px; }
.cms-brand { font-family: 'Archivo',Arial,sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.055em; gap: 9px; }
.cms-brand>span { color: #9daac0; border-color: #3f4c60; font: 8px 'IBM Plex Mono',monospace; padding: 5px; }
.cms-workspace-label { color: #8c9bb2; font: 9px 'IBM Plex Mono',monospace; margin-inline: 13px; }
.cms-nav>button { color: #9eacc2; font-size: 13px; padding: 14px 13px; gap: 11px; border-left: 2px solid transparent; }
.cms-nav>button.active { border-color: #527cff; color: #fff; background: #25334d; }
.cms-nav>button:hover { background: #202b3e; }
.cms-nav small { color: #aebbd0; font: 10px 'IBM Plex Mono',monospace; }
.demo-label { color: #9daac0; border-color: #3f4c60; font: 8px 'IBM Plex Mono',monospace; }
.cms-sidebar-bottom>p { color: #9eacc2; font-size: 13px; }
.cms-sidebar-bottom .btn { color: #c0cadd; border-color: #3f4c60; font-size: 11px; }
.cms-sidebar-bottom .btn:hover { background: #202b3e; }
.cms-main { padding: 32px; background: var(--bg); }
.cms-header { gap: 24px; }
.cms-header .eyebrow { font-size: 9px; }
.cms-header h1 { font-size: 35px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.cms-header .muted { font-size: 12px; line-height: 1.65; }
.cms-header-actions { gap: 16px; }
.cms-role-label { font-size: 10px; }
.cms-role-label select { font-size: 12px; min-width: 165px; }
.cms-header-actions .btn { font-size: 12px; }
.cms-demo-banner { background: var(--reader-tint); color: var(--reader-text); border-color: var(--line); font-size: 11px; padding: 12px 15px; line-height: 1.65; }
.cms-stats { gap: 15px; }
.cms-stat { padding: 21px; border: 0; border-top: 2px solid var(--line); }
.cms-stat>span { font-size: 12px; }
.cms-stat>strong { font-family: 'IBM Plex Mono',monospace; font-size: 36px; font-weight: 500; letter-spacing: -.06em; }
.cms-stat>small { font-size: 10px; line-height: 1.7; }
.cms-panel { padding: 24px; }
.cms-toolbar { font-size: 12px; gap: 13px; }
.cms-search input { font-size: 12px; }
.cms-search>span { top: 12px; }
.cms-toolbar>select { font-size: 12px; }
.cms-toolbar>.muted { font: 10px 'IBM Plex Mono',monospace; }
.cms-table { font-size: 12px; min-width: 690px; }
.cms-table th { font: 10px 'IBM Plex Mono',monospace; letter-spacing: .03em; padding: 14px 13px; }
.cms-table td { padding: 17px 13px; line-height: 1.65; }
.cms-table td:first-child { min-width: 220px; max-width: 360px; }
.cms-table tbody tr:hover { background: var(--soft); }
.cms-article-title { font-size: 13px; font-weight: 500; line-height: 1.5; }
.cms-author { font-size: 10px; line-height: 1.6; margin-top: 7px; }
.cms-row-actions .btn { font-size: 11px; padding: 7px; }
.status-badge { font: 9px 'IBM Plex Mono',monospace; border-radius: 0; padding: 5px 7px; line-height: 1.5; }
.status-published { color: #156247; background: #e6f2ec; }
.status-draft { color: #566172; background: #edf0f5; }
.status-review { color: #865b17; background: #faf1dd; }
.status-scheduled { color: #315bad; background: #e9effd; }
.cms-workflow { background: transparent; border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 24px; }
.cms-workflow .eyebrow { font-size: 9px; }
.cms-workflow p { font-size: 13px; line-height: 1.8; }
.cms-workflow p>span { color: var(--muted); }
.cms-workflow>.muted { font-size: 11px; line-height: 1.7; }
.cms-footer { font: 9px 'IBM Plex Mono',monospace; line-height: 1.7; }
.cms-section-intro .eyebrow { font-size: 9px; }
.cms-section-intro h2 { font-size: 28px; font-weight: 600; }
.cms-section-intro p { font-size: 14px; line-height: 1.7; }
.cms-definition { font-size: 12px; }
.cms-definition dd { font-size: 12px; }
.cms-editor input,.cms-editor textarea,.cms-editor select { font-size: 14px; }
.cms-editor #cms-body { font-family: 'IBM Plex Mono',Consolas,monospace; font-size: 12px; }
.cms-editor .field label { font-size: 12px; }
.cms-editor .form-help { font-size: 11px; line-height: 1.7; }
.cms-editor-actions .btn { font-size: 11px; }

/* Override the original warm dark palette in these reader surfaces. */
:root[data-theme="dark"] .body-section p { color: var(--reader-text); }
:root[data-theme="dark"] .ai-summary { background: var(--reader-tint); border-color: var(--line); border-top-color: var(--orange); }
:root[data-theme="dark"] .ai-disclosure { border-color: var(--line); color: var(--muted); }
:root[data-theme="dark"] .ai-pill { border-color: var(--line); color: var(--reader-blue); }
:root[data-theme="dark"] .author-avatar { background: var(--soft); color: var(--muted); }
:root[data-theme="dark"] .article-brief-ad { color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
:root[data-theme="dark"] .article-brief-ad p,
:root[data-theme="dark"] .article-brief-ad .eyebrow,
:root[data-theme="dark"] .article-brief-ad>.small-muted { color: var(--ink); }
:root[data-theme="dark"] .cms-demo-banner { background: var(--reader-tint); border-color: var(--line); color: var(--reader-text); }
:root[data-theme="dark"] .success-icon { background: var(--reader-tint); color: var(--reader-blue); }
:root[data-theme="dark"] .status-published { color: #a2d9bc; background: #183b2d; }
:root[data-theme="dark"] .status-draft { color: #b5c2d5; background: #2b3443; }
:root[data-theme="dark"] .status-review { color: #e3c38a; background: #42351e; }
:root[data-theme="dark"] .status-scheduled { color: #afc6fa; background: #253957; }

@media (max-width: 1200px) {
  .category-featured { gap: 25px; }
  .category-featured .list-card .story-image { height: 290px; }
  .article-layout { grid-template-columns: 130px minmax(0,1fr) 185px; gap: 28px; }
  .article-heading { max-width: 920px; }
  .article-brief-ad { padding: 24px 17px; }
  .article-brief-ad h3 { font-size: 28px; }
  .article-brief-ad p { font-size: 12px; }
  .newsletter-hero { gap: 48px; }
  .cms-layout { grid-template-columns: 185px minmax(0,1fr); }
  .cms-main { padding: 28px 24px; }
  .cms-header-actions { gap: 12px; }
  .cms-role-label select { min-width: 150px; }
}
@media (max-width: 960px) {
  .category-featured { grid-template-columns: 1fr; }
  .category-featured .list-card { grid-template-columns: 1.1fr 1fr; }
  .category-featured .list-card h3 { font-size: 30px; }
  .category-grid h3 { font-size: 21px; }
  .search-layout { grid-template-columns: 185px minmax(0,1fr); gap: 30px; }
  .search-results .list-card { grid-template-columns: 150px minmax(0,1fr); gap: 20px; }
  .search-results .list-card h3 { font-size: 22px; }
  .search-results .story-image { height: 130px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 28px; }
  .article-hero img { height: 390px; }
  .article-byline { flex-wrap: wrap; }
  .article-actions { margin-left: 0; }
  .ai-summary-toggle { gap: 9px; padding-inline: 18px; }
  .ai-summary-toggle>span:first-child { font-size: 14px; }
  .ai-pill { font-size: 7px; }
  .ai-summary-body { padding-inline: 18px; }
  .body-section p { font-size: 18px; }
  .newsletter-hero { gap: 30px; grid-template-columns: 1fr 1fr; }
  .newsletter-signup { padding: 25px; }
  .preview-brand { gap: 12px; flex-wrap: wrap; }
  .cms-layout { grid-template-columns: 165px minmax(0,1fr); }
  .cms-sidebar { padding-inline: 12px; }
  .cms-brand { font-size: 21px; gap: 5px; }
  .cms-brand>span { font-size: 6px; }
  .cms-nav>button { font-size: 12px; gap: 8px; padding-inline: 10px; }
  .cms-header h1 { font-size: 30px; }
  .cms-header-actions { align-items: end; flex-direction: column; }
  .cms-panel { padding: 19px; }
  .cms-main { padding: 25px 20px; }
}
@media (max-width: 700px) {
  .breadcrumbs { padding-top: 22px; margin-bottom: 27px; font-size: 9px; gap: 7px; }
  .category-heading { flex-wrap: wrap; gap: 18px; padding-bottom: 24px; }
  .category-heading h1 { font-size: 40px; max-width: none; }
  .category-heading p { font-size: 14px; }
  .category-heading .eyebrow { font-size: 9px; }
  .category-heading>.btn { font-size: 11px; margin: 0; padding: 9px 12px; }
  .category-toolbar { gap: 18px; padding-block: 21px 25px; }
  .topic-chips .chip { font-size: 10px; padding: 7px 9px; }
  .category-featured .list-card { grid-template-columns: 1fr; gap: 15px; }
  .category-featured .list-card .story-image { height: 240px; }
  .category-featured .list-card h3 { font-size: 29px; }
  .category-featured .story-deck { display: block; font-size: 14px; }
  .category-grid { gap: 29px 17px; }
  .category-grid h3 { font-size: 19px; line-height: 1.2; }
  .category-grid .story-image { height: 145px; }
  .category-grid .story-meta { font-size: 9px; line-height: 1.65; }
  .page-heading { padding-block: 33px 27px; }
  .page-heading h1 { font-size: 38px; margin-top: 13px; }
  .page-heading .eyebrow { font-size: 9px; }
  .page-heading p { font-size: 14px; }
  .latest-page { padding-top: 33px; }
  .latest-page .latest-layout { padding-top: 25px; }
  :where(.category-main,.search-page,.latest-page,.account-page) .list-card { grid-template-columns: 112px minmax(0,1fr); gap: 17px; padding-block: 23px; }
  :where(.category-main,.search-page,.latest-page,.account-page) .list-card .story-image { height: 108px; }
  :where(.category-main,.search-page,.latest-page,.account-page) .list-card h3 { font-size: 20px; line-height: 1.18; }
  :where(.category-main,.search-page,.latest-page,.account-page) .list-card .story-meta { font-size: 9px; }
  .big-search { padding: 7px; gap: 6px; }
  .big-search>svg { width: 18px; margin-left: 6px; }
  .big-search input { font-size: 15px; padding: 11px 3px; }
  .big-search .btn { min-width: 0; font-size: 11px; padding: 12px 10px; gap: 7px; }
  .search-popular { gap: 8px 13px; font-size: 11px; }
  .search-layout { grid-template-columns: 1fr; gap: 29px; margin-top: 32px; }
  .search-filters { gap: 0 22px; }
  .search-filters .rail-heading { font-size: 10px; }
  .search-filters fieldset { margin-block: 18px; }
  .search-filters legend { font-size: 12px; margin-bottom: 15px; }
  .radio-row { font-size: 12px; line-height: 1.6; margin-bottom: 11px; gap: 8px; }
  .radio-row input { width: 15px; height: 15px; flex-basis: 15px; }
  .radio-row>span { font-size: 9px; }
  .search-filters>.text-link { font-size: 11px; }
  .results-toolbar { font-size: 12px; align-items: start; gap: 12px; }
  .sort-label { font-size: 10px; gap: 7px; }
  .sort-label select { padding: 6px; font-size: 10px; }
  .search-results .list-card { grid-template-columns: 112px minmax(0,1fr); gap: 17px; }
  .search-results .list-card h3 { font-size: 20px; }
  .search-results .story-image { height: 108px; }
  .search-results .story-meta { font-size: 9px; }
  .article-heading h1 { font-size: 38px; line-height: 1.1; margin-top: 17px; }
  .article-heading>.eyebrow { font-size: 9px; }
  .article-deck { font-size: 17px; margin-top: 21px; line-height: 1.65; }
  .article-byline { gap: 11px; margin-block: 27px; }
  .article-byline strong { font-size: 11px; }
  .article-byline span { font-size: 9px; }
  .byline-date { font-size: 9px; margin-left: 0; padding-left: 12px; }
  .article-actions { width: 100%; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
  .article-actions .btn { font-size: 11px; margin-left: auto; }
  .article-hero { margin-inline: 0; margin-bottom: 28px; }
  .article-hero img { height: 270px; }
  .article-hero figcaption { font-size: 9px; padding: 10px 0 0; line-height: 1.7; }
  .article-layout { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .article-demo-note { font-size: 8px; line-height: 1.85; }
  .ai-summary-toggle { padding: 16px 16px 14px; gap: 8px; }
  .ai-summary-toggle>span:first-child { font-size: 14px; gap: 7px; }
  .ai-summary-toggle>span:first-child>svg { width: 17px; }
  .ai-summary-toggle>svg { margin-left: auto; width: 15px; }
  .ai-pill { font-size: 7px; padding: 4px 5px; margin-left: 0; }
  .ai-summary-body { padding: 0 17px 20px; }
  .ai-summary-body>.small-muted { font-size: 12px; }
  .ai-summary-body li { font-size: 14px; line-height: 1.75; }
  .ai-disclosure { font-size: 10px; line-height: 1.75; }
  .body-section h2 { font-size: 27px; }
  .body-section p { font-size: 18px; line-height: 1.85; }
  .source-note { font-size: 12px; }
  .source-note p { font-size: 12px; }
  .source-note strong { font-size: 13px; }
  .source-primary-link { font-size: 12px; line-height: 1.75; }
  .source-primary-link small { font-size: 9px; }
  .source-checked { font-size: 10px!important; }
  .author-bio { gap: 15px; }
  .author-bio .author-avatar { width: 46px; height: 46px; font-size: 13px; }
  .author-bio p { font-size: 12px; }
  .related-grid h3 { font-size: 19px; }
  .newsletter-page { padding-block: 35px 55px; }
  .newsletter-hero { grid-template-columns: minmax(0,1fr); gap: 35px; }
  .newsletter-hero h1 { font-size: 41px; }
  .newsletter-hero>div>p { font-size: 14px; }
  .newsletter-hero .eyebrow { font-size: 9px; }
  .newsletter-preview { padding: 23px; }
  .newsletter-preview>a strong { font-size: 14px; }
  .preview-brand { font-size: 28px; gap: 9px; }
  .preview-brand span { font-size: 8px; }
  .newsletter-signup { padding: 26px 22px; }
  .newsletter-signup>h2 { font-size: 30px; }
  .account-page { padding-block: 35px 50px; }
  .account-welcome h1 { font-size: 37px; }
  .account-welcome>p { font-size: 14px; }
  .account-feature-grid { grid-template-columns: 1fr; gap: 27px; }
  .account-feature-grid>div { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .account-feature-grid h3 { font-size: 22px; }
  .account-feature-grid p { font-size: 13px; }
  .account-feature-grid svg { margin-bottom: 12px; }
  .account-header { gap: 13px; }
  .account-header h1 { font-size: 30px; }
  .account-header .eyebrow { font-size: 8px; }
  .account-header p { font-size: 12px; }
  .account-header>.btn { font-size: 10px; padding: 9px 10px; margin-left: 0; }
  .account-tabs { gap: 24px; margin-top: 27px; }
  .account-tabs button { font-size: 12px; gap: 6px; }
  .account-tabs button span { font-size: 9px; padding-inline: 4px; }
  .following-card { padding: 24px 20px; }
  .following-card h2 { font-size: 26px; }
  .settings-card { padding: 25px 22px; }
  .info-page { padding-block: 40px 60px; }
  .info-page h1 { font-size: 39px; }
  .info-intro { font-size: 20px; }
  .info-page>section h2 { font-size: 25px; }
  .info-page>section p,.info-page>p:not(.info-intro) { font-size: 15px; }
  .source-rate-grid { gap: 8px; }
  .source-rate-grid>div { padding: 12px 8px; }
  .source-rate-grid span { font-size: 8px; }
  .source-rate-grid strong { font-size: 18px; }
  .source-register h3 { font-size: 21px; }
  .credits-grid figcaption { font-size: 10px; }
  .modal-backdrop { padding: 12px; }
  .modal-header { padding: 21px 20px; }
  .modal-header h2 { font-size: 26px; }
  .modal-body { padding: 23px 20px; }
  .modal-body>p { font-size: 13px; }
  .modal-actions { padding: 18px 20px; }
  .modal-actions .btn { font-size: 11px; }
  .assistant-body .assistant-story { font-size: 22px; }
  .assistant-intro { gap: 13px; padding: 17px; }
  .assistant-intro strong { font-size: 13px; }
  .assistant-intro p { font-size: 11px; }
  .question-chips button { font-size: 11px; }
  .assistant-response { padding: 18px; }
  .assistant-response p { font-size: 14px; }
  .cms-layout { display: block; }
  .cms-sidebar { padding: 14px 18px; }
  .cms-nav { gap: 5px; }
  .cms-nav>button { font-size: 11px; padding: 10px 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .cms-nav>button.active { border-bottom-color: #527cff; }
  .cms-nav small { font-size: 9px; }
  .cms-main { padding: 25px 18px; }
  .cms-header { flex-wrap: wrap; gap: 19px; }
  .cms-header h1 { font-size: 31px; }
  .cms-header .eyebrow { font-size: 9px; }
  .cms-header .muted { font-size: 11px; max-width: 300px; }
  .cms-header-actions { flex-direction: row; width: 100%; align-items: end; justify-content: space-between; gap: 15px; }
  .cms-role-label { font-size: 10px; }
  .cms-role-label select { font-size: 11px; min-width: 155px; max-width: 190px; padding: 9px; }
  .cms-header-actions .btn { font-size: 11px; padding: 11px 12px; }
  .cms-demo-banner { font-size: 10px; padding: 12px; align-items: start; }
  .cms-demo-banner>svg { margin-top: 2px; }
  .cms-stats { gap: 11px; }
  .cms-stat { padding: 18px 15px; }
  .cms-stat>span { font-size: 11px; }
  .cms-stat>strong { font-size: 31px; }
  .cms-stat>small { font-size: 9px; }
  .cms-panel { padding: 17px 12px; }
  .cms-toolbar { gap: 10px; }
  .cms-search { min-width: 150px; }
  .cms-search input { font-size: 11px; }
  .cms-toolbar>select { font-size: 11px; padding: 10px; }
  .cms-toolbar>.muted { font-size: 9px; }
  .cms-table { min-width: 690px; font-size: 11px; }
  .cms-table th { font-size: 9px; }
  .cms-table td,.cms-table th { padding: 14px 11px; }
  .cms-workflow { padding-top: 18px; }
  .cms-workflow p { font-size: 12px; }
  .cms-workflow>.muted { font-size: 10px; }
  .cms-section-intro h2 { font-size: 26px; }
  .cms-section-intro p { font-size: 13px; }
  .cms-editor-actions { padding: 16px; }
  .cms-editor-actions .btn { font-size: 10px; }
}
@media (max-width: 380px) {
  .article-heading h1,.page-heading h1 { font-size: 35px; }
  .article-byline .byline-date { width: 100%; padding-left: 0; border: 0; }
  .article-byline .byline-date span { display: inline-flex; }
  .ai-summary-toggle>span:first-child { font-size: 13px; }
  .ai-summary-toggle { gap: 8px 5px; }
  .search-results .list-card,.latest-page .list-card { grid-template-columns: 96px minmax(0,1fr); gap: 14px; }
  .search-results .list-card h3,.latest-page .list-card h3 { font-size: 18px; }
  .cms-role-label select { min-width: 145px; max-width: 155px; }
  .cms-header-actions .btn { font-size: 10px; padding-inline: 9px; }
}
@media print {
  .article-heading h1 { font-size: 30px; }
  .article-layout { display: block; }
  .body-section p { font-size: 12pt; line-height: 1.7; }
  .article-hero img { height: 250px; }
  .article-demo-note { font-size: 8pt; }
  .article-hero figcaption { font-size: 7pt; }
}
