html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
:root {
  --ink: #101827;
  --muted: #5c6675;
  --paper: #fcfcfa;
  --line: #cbd3dc;
  --accent: #b42318;
  --soft: #eef1f4;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  padding-top: 16rem;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; width: 100%; margin: 0; background: var(--paper); box-shadow: 0 2px 0 rgba(16, 24, 39, .08); transform: translateY(0); transition: transform 220ms ease; will-change: transform; }
.site-header-hidden { transform: translateY(-100%); }
.site-header-hidden:focus-within { transform: translateY(0); }
.site-header-hidden .more-links { pointer-events: none; }

/* WIP: Keep this layer's contract stable for a future ad provider without coupling layout to its SDK. */
.site-ad-placeholder { min-height: 8rem; margin: 0 auto; width: 100%; border: 1px dashed var(--line); background: linear-gradient(135deg, var(--soft) 25%, #f7f8f9 25%, #f7f8f9 50%, var(--soft) 50%, var(--soft) 75%, #f7f8f9 75%); background-size: 1rem 1rem; transition: opacity 220ms ease, transform 220ms ease; }
.site-ad-placeholder-hidden { opacity: 0; pointer-events: none; transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .site-ad-placeholder { transition: none; }
}

.site-header > .utility-bar, .site-header > .site-nav, .page-shell, .staff-console, .site-footer { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.utility-bar { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.site-nav { display: grid; gap: .8rem; padding: .9rem 0 .75rem; border-bottom: 4px double var(--ink); }
.nav-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: Georgia, serif; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.account-actions { display: flex; align-items: center; gap: .65rem; }
.account-actions form { margin: 0; }
.staff-session { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem .55rem; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-action, .subscribe-action, .search-action { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; }
.text-action, .search-action { cursor: pointer; padding: .35rem .1rem; }
.subscribe-action { border: 1px solid var(--ink); padding: .25rem .6rem; }
.search-action { font-size: 1.25rem; line-height: 1; transform: rotate(-20deg); }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(16, 24, 39, .66); }
.sign-in-modal { position: fixed; inset: 50% auto auto 50%; z-index: 41; width: min(560px, calc(100% - 2rem)); transform: translate(-50%, -50%); border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 50px rgba(16, 24, 39, .28); }
.modal-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 1.1rem 1.4rem; }
.modal-brand { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.modal-close { border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.8rem; line-height: 1; }
.modal-content { max-width: 390px; margin: 0 auto; padding: 2rem 1.4rem 2.5rem; text-align: center; }
.modal-content h2 { margin: 0; font-family: Georgia, serif; font-size: 2.1rem; }
.modal-content p { color: var(--muted); }
.modal-content [role="group"] { display: grid; gap: .55rem; margin: 1.5rem 0; text-align: left; }
.modal-content input, .checkout-form input, .search-form input { width: 100%; border: 1px solid var(--muted); padding: .8rem; background: white; color: var(--ink); font: inherit; }
.primary-action { border: 0; padding: .75rem 1rem; background: var(--ink); color: var(--paper); cursor: pointer; font: inherit; font-weight: 700; }
.modal-content small { color: var(--muted); }
.subscribe-page, .search-page { max-width: 920px; margin: 0 auto; }
.subscribe-hero { border-bottom: 4px double var(--ink); padding: 2rem 0 2.5rem; }
.subscribe-hero h1, .search-page h1 { max-width: 780px; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .92; letter-spacing: -.06em; }
.subscribe-hero p:not(.eyebrow), .search-page .section-heading p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.2rem; }
.subscription-plan { display: flex; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); padding: 2rem 0; }
.subscription-plan h2 { margin: 0 0 .5rem; font-family: Georgia, serif; line-height: 1.05; }
.subscription-plan p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.plan-price { flex: 0 0 auto; font-size: 1.4rem; white-space: nowrap; }
.plan-price span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.checkout-steps { display: grid; gap: .75rem; margin-top: 2rem; }
.checkout-step { border: 1px solid var(--line); padding: 1rem 1.25rem; }
.checkout-step h2 { display: flex; align-items: center; gap: .55rem; margin: 0; font-family: Georgia, serif; font-size: 1.2rem; }
.checkout-step h2 span { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #aeb6bf; color: var(--paper); font-family: Arial, sans-serif; font-size: .8rem; }
.checkout-step-active { min-height: 410px; }
.checkout-step-active h2 span { background: var(--ink); }
.checkout-step > p { margin-left: 2rem; color: var(--muted); }
.checkout-form { max-width: 390px; margin: 2.5rem auto 1rem; display: grid; gap: .55rem; text-align: left; }
.checkout-form h3 { margin: 0; text-align: center; font-family: Georgia, serif; font-size: 1.45rem; }
.checkout-form p { margin: 0 0 1rem; color: var(--muted); text-align: center; }
.account-status { border-left: 3px solid var(--accent); margin: 1rem 0 0; padding: .75rem 1rem; color: var(--muted); }
.outline-action { border: 1px solid var(--ink); padding: .65rem 1rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; }
.checkout-or { display: flex; align-items: center; gap: .6rem; margin: .35rem 0; color: var(--muted); text-align: center; }
.checkout-or::before, .checkout-or::after { flex: 1; border-top: 1px solid var(--line); content: ""; }
.checkout-or span { font-size: .85rem; }
.search-page .section-heading { border-bottom: 4px double var(--ink); padding: 2rem 0 1.5rem; }
.search-form { margin: 2rem 0; }
.search-form label { display: block; margin-bottom: .5rem; font-weight: 700; }
.search-form-row { display: flex; gap: .6rem; }
.search-form-row input { flex: 1; }
.search-status { border-top: 3px solid var(--ink); background: var(--soft); padding: 1.5rem; }
.search-status h2 { margin: 0 0 .5rem; font-family: Georgia, serif; }
.search-status p { margin: 0; color: var(--muted); }
.category-bar { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.nav-links { display: flex; flex-wrap: nowrap; gap: .85rem 1.15rem; min-width: 0; overflow: hidden; font-size: .9rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.live-nav-link { color: var(--accent); }
.live-dot { display: inline-block; width: .48rem; height: .48rem; margin-right: .25rem; border-radius: 50%; background: var(--accent); vertical-align: .08em; }
.more-menu { position: relative; flex: 0 0 auto; font-size: .9rem; font-weight: 700; }
.more-menu summary { cursor: pointer; list-style: none; white-space: nowrap; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary span { color: var(--accent); font-size: .7rem; }
.more-links { position: absolute; right: 0; z-index: 21; display: none; grid-template-columns: repeat(3, minmax(150px, max-content)); gap: 0; min-width: 580px; margin-top: .65rem; border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 1rem 0; background: var(--paper); box-shadow: 0 8px 18px rgba(16, 24, 39, .14); }
.more-menu:hover .more-links, .more-menu:focus-within .more-links, .more-menu[open] .more-links { display: grid; }
.more-column { display: grid; align-content: start; gap: .55rem; padding: 0 1rem; border-right: 1px solid var(--line); }
.more-column:last-child { border-right: 0; }
.more-heading { color: var(--muted); font-size: .75rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.more-links a { text-decoration: none; }
.page-shell { padding: 2.5rem 0 4rem; }
.live-page { max-width: 1120px; margin: 0 auto; }
.live-hero { display: flex; justify-content: space-between; gap: 2rem; align-items: end; border-bottom: 4px double var(--ink); padding-bottom: 1.5rem; }
.live-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; letter-spacing: -.06em; }
.live-kicker { display: flex; align-items: center; gap: .25rem; }
.live-deck { max-width: 650px; margin: 1rem 0 0; color: var(--muted); font-size: 1.15rem; }
.live-status { display: grid; grid-template-columns: auto 1fr; gap: .15rem .5rem; min-width: 135px; border-left: 3px solid var(--accent); padding-left: 1rem; }
.live-status .status-pulse { grid-row: span 2; align-self: center; width: .65rem; height: .65rem; border-radius: 50%; background: var(--accent); }
.live-status span:last-child { color: var(--muted); font-size: .8rem; }
.live-player { margin: 2.5rem 0 3rem; }
.media-placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #b7bcc3; color: #4c5560; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.media-placeholder-large { min-height: 300px; }
.player-caption { display: flex; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.player-caption h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; }
.player-caption p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.live-badge { align-self: start; white-space: nowrap; color: var(--accent); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.schedule-section, .video-section { margin-top: 3rem; }
.tv-guide-wrap { overflow-x: auto; border-top: 3px solid var(--ink); }
.tv-guide { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
.tv-guide caption { padding: .8rem 0; color: var(--muted); text-align: left; font-size: .8rem; }
.tv-guide th, .tv-guide td { border-bottom: 1px solid var(--line); padding: .85rem .75rem; text-align: left; vertical-align: top; }
.tv-guide thead th { background: var(--soft); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.tv-guide thead th:first-child, .tv-guide tbody th { width: 115px; }
.tv-guide tbody th { font-family: Georgia, serif; font-size: 1.05rem; white-space: nowrap; }
.tv-guide tbody td:nth-child(2) { width: 245px; }
.tv-guide tbody td:nth-child(3) { width: 145px; color: var(--muted); }
.tv-guide tbody td:last-child { color: var(--muted); }
.tv-guide-current { background: var(--soft); box-shadow: inset 4px 0 var(--accent); }
.schedule-state { margin: 0 0 .15rem; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.video-card h3 { margin: 0 0 .35rem; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.05; }
.video-card p:last-child { margin: 0; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.video-card { background: var(--paper); padding-bottom: 1.1rem; }
.video-card .eyebrow, .video-card h3, .video-card p:last-child { margin-left: 1rem; margin-right: 1rem; }
.video-card .eyebrow { margin-top: 1rem; }
.play-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #4c5560; border-radius: 50%; color: #4c5560; }
.masthead-grid { display: grid; grid-template-columns: 1fr 240px; gap: 2rem; align-items: end; padding-bottom: 1.5rem; }
.masthead-grid h1 { margin: .1rem 0 .4rem; font-family: Georgia, serif; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; letter-spacing: -.07em; }
.masthead-deck { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.15rem; }
.masthead-note { display: grid; gap: .6rem; border-left: 3px solid var(--accent); padding-left: 1rem; font-family: Georgia, serif; }
.eyebrow { margin: 0 0 .6rem; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.breaking-strip { display: block; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: .75rem 0; font-weight: 700; }
.breaking-label { color: var(--paper); background: var(--accent); padding: .15rem .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.breaking-items { display: block; }
.breaking-row { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .55rem 0 0; margin-top: .55rem; border-top: 1px solid var(--line); line-height: 1.3; }
.breaking-row:first-child { padding-top: 0; margin-top: .7rem; border-top: 0; }
.hero-story { padding: 0; border-bottom: 1px solid var(--line); }
.hero-story-content { min-height: 470px; display: flex; flex-direction: column; justify-content: end; padding: 4rem 3rem 2.5rem; color: var(--paper); background-image: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .95)), var(--hero-image, linear-gradient(135deg, #334155, #0f172a)); background-position: center; background-size: cover; }
.hero-story-content .eyebrow { color: #fecaca; }
.hero-story-content a { color: var(--paper); }
.hero-story-content h2, .hero-story-content .hero-excerpt, .hero-story-content .byline { text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.hero-story-content .hero-excerpt, .hero-story-content .byline { color: rgba(255, 255, 255, .92); }
.hero-story h2 { max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.0rem, 4.9vw, 4.15rem); line-height: .98; letter-spacing: -.05em; }
.hero-story h2 a, .story-card h3 a { text-decoration: none; }
.hero-excerpt { max-width: 760px; margin: 1.2rem 0 .7rem; font-size: 1.3rem; color: var(--muted); }
.byline { color: var(--muted); font-size: .85rem; }
.article-release-date { margin: .35rem 0 0; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.article-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 1rem 0 1.25rem; padding: .7rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-share-label { margin-right: .25rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-share-action { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .6rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: .8rem; text-decoration: none; }
.article-share-action:hover, .article-share-action:focus-visible { border-color: var(--ink); background: var(--soft); color: var(--ink); }
.share-icon { display: inline-grid; width: 1.05rem; height: 1.05rem; place-items: center; font-size: 1rem; font-weight: 800; line-height: 1; }
.article-share-status { color: var(--muted); font-size: .78rem; }
.content-band { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 2.5rem; padding-top: 2.5rem; }
.section-heading h1, .section-heading h2, .desk-list h2 { margin: 0; font-family: Georgia, serif; line-height: 1; letter-spacing: -.04em; }
.section-heading h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.section-heading h2, .desk-list h2 { font-size: 2rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.compact { margin-bottom: 1.2rem; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.story-card { min-height: 210px; padding: 1.35rem; background: var(--paper); }
.dispatch-card { position: relative; display: flex; align-items: end; overflow: hidden; min-height: 300px; color: var(--paper); background-image: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .94)), var(--dispatch-image, linear-gradient(135deg, #64748b, #1e293b)); background-position: center; background-size: cover; }
.dispatch-card:nth-child(2n) { background-image: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .94)), var(--dispatch-image, linear-gradient(135deg, #7c3aed, #312e81)); }
.dispatch-card:nth-child(3n) { background-image: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .94)), var(--dispatch-image, linear-gradient(135deg, #0f766e, #164e63)); }
.dispatch-card-content { position: relative; z-index: 1; width: 100%; }
.dispatch-card .eyebrow { color: #fecaca; }
.dispatch-card a { color: var(--paper); }
.dispatch-card h3, .dispatch-card p:not(.eyebrow) { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.dispatch-card p:not(.eyebrow) { color: rgba(255, 255, 255, .92); }
.story-card h2, .story-card h3 { margin: 0 0 .65rem; font-family: Georgia, serif; line-height: 1.05; }
.story-card h3 { font-size: 1.45rem; }
.story-card p:not(.eyebrow) { margin: 0; color: var(--muted); }
.dispatch-card .dispatch-card-content p:not(.eyebrow) { color: rgba(255, 255, 255, .92); font-weight: 400; }
.desk-list { border-top: 4px solid var(--ink); padding-top: 1rem; }
.desk-list ul { list-style: none; padding: 0; margin: 1.2rem 0; }
.desk-list li { border-bottom: 1px solid var(--line); padding: .7rem 0; font-weight: 700; }
.article-page { max-width: 850px; margin: 0 auto; }
.article-page h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 7vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.article-deck { color: var(--muted); font-size: 1.35rem; }
.article-body { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; font-family: Georgia, serif; font-size: 1.2rem; }
.author-box { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; border-top: 4px double var(--ink); border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.author-thumbnail { display: grid; flex: 0 0 4rem; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.author-box h2 { margin: 0; font-family: Georgia, serif; font-size: 1.5rem; }
.author-box .eyebrow { margin-bottom: .25rem; }
.author-handle, .author-role { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }
.author-role { font-weight: 700; }
.release-future { color: #8b949e; }
.article-staff-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.article-visibility-form { display: inline-flex; align-items: center; gap: .5rem; }
.article-visibility-form select { min-height: 2.25rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.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; }
.article-chart-figure { margin: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.article-chart { width: 100%; min-height: 300px; }
.article-chart-figure figcaption { margin-top: .6rem; color: var(--muted); font-size: .88rem; }
.error-page { max-width: 700px; margin: 5rem auto; }
.error-page h1 { font-family: Georgia, serif; font-size: clamp(2.5rem, 7vw, 5rem); line-height: .95; letter-spacing: -.05em; }
.request-id { color: var(--muted); font-family: monospace; font-size: .85rem; }
.button-link { display: inline-block; margin-top: 1rem; padding: .7rem 1rem; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; }
.site-footer { border-top: 4px double var(--ink); padding: 1.5rem 0 2rem; color: var(--muted); font-size: .85rem; }
.site-footer p { margin: .3rem 0; }
.news-delay { display: block; width: fit-content; margin: 1rem 0 0 auto; padding: .2rem .45rem; border: 1px solid #94a3b8; border-radius: .2rem; color: #64748b; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin: .8rem 0; }
.legal-updated { color: var(--muted); font-size: .85rem; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 3rem; align-items: start; }
.legal-content { min-width: 0; }
.legal-content h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .95; letter-spacing: -.06em; }
.legal-content h2 { scroll-margin-top: 10.5rem; }
.legal-toc { position: sticky; top: 10.5rem; border-top: 3px solid var(--ink); padding-top: .8rem; }
.legal-toc p { margin: 0 0 .65rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc li { margin: 0; }
.legal-toc a { display: block; border-left: 2px solid transparent; padding: .35rem .6rem; color: var(--muted); font-size: .88rem; text-decoration: none; }
.legal-toc a:hover, .legal-toc a[aria-current="true"] { border-left-color: var(--accent); color: var(--ink); font-weight: 700; }
.legal-callout { border-left: 4px solid var(--accent); background: var(--soft); margin: 1.5rem 0; padding: 1rem 1.25rem; }
.legal-callout p { margin: 0; }
.legal-content section { border-top: 1px solid var(--line); margin-top: 2.25rem; padding-top: .25rem; }
.legal-content section:first-of-type { margin-top: 2rem; }
.legal-content h2 { margin-top: 1rem; }
.legal-content dt { margin-top: 1rem; font-weight: 800; }
.legal-content dd { margin: .2rem 0 0; }
.page-shell h2 { margin-top: 2rem; font-family: Georgia, serif; line-height: 1.1; }
.page-shell li { margin: .45rem 0; }
.staff-console-header { display: flex; justify-content: space-between; align-items: end; gap: 2rem; border-bottom: 4px double var(--ink); padding-bottom: 1.5rem; }
.staff-console-header h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .92; letter-spacing: -.06em; }
.staff-console-header p:not(.eyebrow) { max-width: 690px; margin-bottom: 0; color: var(--muted); }
.staff-console-badge { flex: 0 0 auto; border: 1px solid var(--accent); padding: .45rem .65rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.staff-tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); padding-top: 1rem; }
.staff-tabs a { flex: 0 0 auto; border-bottom: 3px solid transparent; padding: .65rem .85rem; color: var(--muted); font-size: .86rem; font-weight: 800; text-decoration: none; }
.staff-tabs a:hover, .staff-tabs a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.staff-panel { width: 100%; max-width: none; box-sizing: border-box; margin-top: 2rem; border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 1.5rem; }
.staff-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.staff-panel > p:not(.eyebrow) { color: var(--muted); }
.staff-facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: .75rem 1.5rem; margin: 1.5rem 0 0; }
.staff-facts dt { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.staff-facts dd { margin: 0; }
.staff-form { display: grid; gap: .55rem; max-width: 620px; margin-top: 1.5rem; }
.staff-form label { font-weight: 700; }
.staff-form input, .staff-form textarea { width: 100%; border: 1px solid var(--muted); padding: .8rem; background: white; color: var(--ink); font: inherit; }
.staff-form textarea { resize: vertical; }
.profile-field-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.profile-field-heading label { margin: 0; }
.character-counter { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.staff-form .primary-action { justify-self: start; margin-top: .5rem; }
.staff-table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.staff-table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; }
.staff-table-wrap th, .staff-table-wrap td { border-bottom: 1px solid var(--line); padding: .8rem; text-align: left; vertical-align: top; }
.staff-table-wrap th { background: var(--soft); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.staff-table-wrap form { display: flex; gap: .45rem; align-items: center; }
.staff-table-wrap select { min-width: 130px; padding: .5rem; font: inherit; }
.users-roles-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.users-roles-heading > div:first-child { min-width: 0; }
.users-roles-heading h2 { margin-bottom: .35rem; }
.users-roles-deck { margin: 0; color: var(--muted); }
.users-roles-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); flex: 0 1 44rem; min-width: 0; gap: .5rem; max-width: 44rem; margin-left: auto; }
.users-stat { display: grid; min-width: 0; overflow: hidden; border-left: 3px solid var(--ink); padding: .15rem 0 .15rem .6rem; }
.users-stat strong { font-family: Georgia, serif; font-size: 1.65rem; line-height: 1; }
.users-stat span { display: block; min-width: 0; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .06em; line-height: 1.15; overflow-wrap: break-word; white-space: normal; text-transform: uppercase; }
.users-roles-count { min-width: 7rem; border-left-width: 3px; border-left-color: var(--accent); padding-left: .85rem; }
.users-roles-count strong { font-size: 2rem; }
.users-stat-administrator { border-left-color: #7c3aed; }
.users-stat-administrator strong { color: #5b21b6; }
.users-stat-editor { border-left-color: #0369a1; }
.users-stat-editor strong { color: #075985; }
.users-stat-author { border-left-color: #15803d; }
.users-stat-author strong { color: #166534; }
.users-stat-reader { border-left-color: #b45309; }
.users-stat-reader strong { color: #92400e; }
.users-stat-active { border-left-color: var(--ink); }
.users-stat-disabled { border-left-color: var(--accent); }
.users-stat-disabled strong { color: var(--accent); }
.users-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .75rem 0; }
.users-filter-search { display: flex; flex: 1 1 34rem; flex-wrap: wrap; align-items: center; gap: .65rem; }
.users-search-bar { position: relative; display: flex; align-items: center; flex: 1 1 20rem; max-width: 100%; }
.users-search-icon { position: absolute; left: .65rem; color: var(--muted); pointer-events: none; }
.users-search-bar input { width: 100%; border: 1px solid var(--muted); padding: .52rem 2rem .52rem 2.1rem; background: white; color: var(--ink); font: inherit; font-size: .85rem; }
.users-search-bar input::-webkit-search-cancel-button { display: none; }
.users-search-clear { position: absolute; right: .45rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0; }
.users-search-clear:hover { color: var(--ink); }
.users-role-filter { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.users-role-filter select { min-width: 9rem; border: 1px solid var(--muted); padding: .52rem .65rem; background: white; color: var(--ink); font: inherit; font-size: .85rem; letter-spacing: normal; text-transform: none; }
.users-bulk-form { display: flex; align-items: center; gap: .45rem; margin-left: auto; }
.users-actions-control { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.users-actions-control select { min-width: 10rem; border: 1px solid var(--muted); padding: .52rem .65rem; background: white; color: var(--ink); font: inherit; font-size: .85rem; letter-spacing: normal; text-transform: none; }
.users-actions-control[hidden], .users-actions-submit[hidden] { display: none; }
.users-actions-submit { padding: .52rem .75rem; font-size: .82rem; }
.role-chip { display: inline-flex; align-items: center; min-height: 1.65rem; border: 1px solid var(--line); border-radius: 999px; padding: .18rem .55rem; background: var(--soft); color: var(--ink); font-size: .76rem; font-weight: 800; line-height: 1.2; }
.role-chip-assigned { border-color: #b9c3ce; background: var(--paper); }
.role-chip-administrator { border-color: #c4b5fd; background: #f5f3ff; color: #5b21b6; }
.role-chip-editor { border-color: #7dd3fc; background: #f0f9ff; color: #075985; }
.role-chip-author { border-color: #86efac; background: #f0fdf4; color: #166534; }
.role-chip-reader { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.users-table-wrap { margin-top: 1rem; }
.users-table-wrap table { min-width: 0; border-collapse: separate; border-spacing: 0 .45rem; }
.users-table-wrap thead th { border-bottom: 1px solid var(--line); background: transparent; padding-top: .2rem; padding-bottom: .55rem; }
.users-table-wrap tbody tr { background: white; box-shadow: 0 1px 0 var(--line); }
.users-table-wrap tbody td { border-bottom: 0; padding: .7rem .65rem; vertical-align: middle; }
.users-table-wrap tbody td:first-child { border-left: 3px solid transparent; }
.users-table-wrap tbody tr:hover td:first-child { border-left-color: var(--accent); }
.users-table-wrap .user-select-cell { width: 2.5rem; text-align: center; }
.users-table-wrap tbody tr:hover .user-select-cell { border-left-color: transparent; }
.user-identity { display: flex; align-items: center; gap: .7rem; min-width: 16rem; font-weight: 700; }
.user-avatar { display: inline-grid; flex: 0 0 2rem; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: Georgia, serif; font-size: .78rem; letter-spacing: .03em; }
.user-avatar-role-administrator { background: #7c3aed; }
.user-avatar-role-editor { background: #0369a1; }
.user-avatar-role-author { background: #15803d; }
.user-avatar-role-reader { background: #b45309; }
.user-avatar-role-none { background: var(--muted); }
.user-name-block { display: grid; gap: .05rem; min-width: 0; }
.user-name-block strong { overflow-wrap: anywhere; }
.user-name-block small { color: var(--muted); font-size: .78rem; font-weight: 400; overflow-wrap: anywhere; }
.role-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.role-empty { color: var(--muted); font-size: .85rem; font-style: italic; }
/* Keep role definitions grouped below the table while matching each role's existing color. */
.users-role-legend { margin-top: .85rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.users-role-legend h3 { margin: 0 0 .35rem; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.users-role-legend-items { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.users-role-legend-item { display: flex; align-items: flex-start; gap: .5rem; min-width: 0; }
.users-role-legend-swatch { flex: 0 0 .7rem; width: .7rem; height: .7rem; margin-top: .25rem; border-radius: 2px; }
.users-role-legend-administrator { background: #7c3aed; }
.users-role-legend-editor { background: #0369a1; }
.users-role-legend-author { background: #15803d; }
.users-role-legend-reader { background: #b45309; }
.users-role-legend-item p { min-width: 0; margin: 0; font-size: .78rem; line-height: 1.25; }
.users-role-legend-item strong { color: var(--ink); }
.users-role-legend-item p span { color: var(--muted); }
.user-role-actions { min-width: 17rem; }
.role-action-stack { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.role-change-form { justify-content: flex-end; }
.role-change-form select { border: 1px solid var(--muted); background: var(--paper); color: var(--ink); }
.role-change-form button { padding: .5rem .7rem; font-size: .82rem; }
.role-action-stack > form:last-child { display: flex; }
.user-disabled-status { align-self: center; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .7rem; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.users-table-wrap .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.users-pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .8rem; color: var(--muted); font-size: .8rem; }
.users-pagination-actions { display: flex; align-items: center; gap: .65rem; }
.users-pagination .outline-action { padding: .4rem .65rem; color: var(--ink); text-decoration: none; }
.users-action-unavailable { display: inline-block; min-width: 2rem; color: var(--muted); text-align: center; }
.category-heading-row, .publisher-header, .publisher-panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.category-heading-row h1 { margin: 0; }
.publisher { width: 100%; margin: 0 auto; }
.publisher-header { border-bottom: 4px double var(--ink); padding-bottom: .7rem; }
.publisher-header h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: .95; letter-spacing: -.06em; }
.publisher-note { margin: .5rem 0 .9rem; color: var(--muted); font-size: .9rem; }
.publisher-form { display: grid; gap: .45rem; border-top: 3px solid var(--ink); padding-top: .9rem; }
.publisher-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: .85rem; }
.publisher-grid-core { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .55rem .8rem; }
.publisher-grid-span-full { grid-column: 1 / -1; }
.desk-col-2 { grid-column: span 2; }
.desk-col-3 { grid-column: span 3; }
.desk-col-4 { grid-column: span 4; }
.desk-col-7 { grid-column: span 7; }
.desk-col-8 { grid-column: span 8; }
.publisher-form label { font-weight: 700; }
.publisher-form input, .publisher-form select, .publisher-form textarea { width: 100%; border: 1px solid var(--muted); padding: .58rem; background: white; color: var(--ink); font: inherit; }
.publisher-form textarea { resize: vertical; }
.editor-metadata { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: .35rem .8rem; margin: .4rem 0 0; border-top: 1px solid var(--line); padding-top: .6rem; font-size: .8rem; }
.editor-metadata dt { color: var(--muted); font-weight: 800; }
.editor-metadata dd { margin: 0; overflow-wrap: anywhere; }
.editor-metadata-line { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .35rem 0 0; border-top: 1px solid var(--line); padding-top: .45rem; color: var(--muted); font-size: .76rem; }
.editor-metadata-line strong { color: var(--ink); font-size: .82rem; }
.publisher-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: .35rem; }
.publisher-alert { position: relative; border: 1px solid var(--accent); border-left: 4px solid var(--accent); margin: .75rem 0; padding: .8rem 2.5rem .8rem .9rem; background: #fff7f7; color: var(--ink); }
.publisher-status { border: 1px solid #15803d; border-left: 4px solid #15803d; margin: .75rem 0; padding: .8rem .9rem; background: #f0fdf4; color: var(--ink); }
.publisher-alert ul { margin: .4rem 0 0 1rem; }
.publisher-alert-dismiss { position: absolute; top: .45rem; right: .55rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.publisher-fieldset, .publisher-block-section { border: 1px solid var(--line); margin: .8rem 0 0; padding: .75rem; }
.publisher-fieldset { display: grid; gap: .55rem; }
.publisher-fieldset legend { padding: 0 .35rem; font-family: Georgia, serif; font-weight: 700; }
.placement-grid { display: grid; grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr); gap: .6rem 1rem; align-items: start; }
.placement-checks { display: grid; gap: .5rem; align-content: start; }
.placement-fields { display: grid; grid-template-columns: minmax(11rem, 13rem) minmax(0, 1fr); gap: .55rem .75rem; align-items: end; }
.publisher-check { display: inline-flex; gap: .45rem; align-items: center; justify-content: flex-start; font-weight: 700; }
.publisher-check input { width: auto; margin: 0; }
.publisher-check span { line-height: 1.2; }
.publisher-section-header { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.publisher-section-header h2 { margin: 0; font-family: Georgia, serif; }
.publisher-add-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .3rem; }
.upload-image-action { cursor: pointer; }
.publisher-add-actions button, .publisher-section-header > button, .editor-remove, .editor-move { border: 1px solid var(--ink); padding: .3rem .45rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: .75rem; font-weight: 700; }
.publisher-add-actions button { display: inline-flex; min-width: 7.25rem; min-height: 2rem; align-items: center; justify-content: center; line-height: 1.1; }
.editor-card-actions { display: inline-flex; gap: .25rem; align-items: center; }
.editor-move:disabled { cursor: not-allowed; opacity: .35; }
.publisher-blocks { display: grid; gap: .5rem; margin-top: .65rem; }
.publisher-workspace { display: grid; grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr); gap: .65rem; align-items: start; margin-top: .55rem; }
.publisher-outline-pane, .publisher-inspector-pane { border: 1px solid var(--line); background: white; }
.publisher-outline-pane { position: sticky; top: .8rem; align-self: start; max-height: calc(100vh - 12rem); overflow: auto; }
.publisher-outline-title { margin: 0; padding: .55rem .65rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.publisher-outline-list { display: grid; gap: .3rem; padding: .5rem; }
.publisher-outline-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem; align-items: start; }
.publisher-outline-select { display: grid; gap: .08rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-align: left; padding: .38rem .46rem; cursor: pointer; font: inherit; }
.publisher-outline-row.is-selected .publisher-outline-select { border-color: var(--accent); background: #fff7f7; }
.publisher-outline-select strong { font-size: .8rem; }
.publisher-outline-select small { color: var(--muted); font-size: .72rem; }
.publisher-outline-tools { display: inline-flex; gap: .2rem; }
.publisher-outline-tools button { border: 1px solid var(--line); background: white; color: var(--ink); cursor: pointer; font: inherit; font-size: .72rem; font-weight: 700; padding: .22rem .35rem; }
.publisher-inspector { display: grid; gap: .5rem; padding: .55rem; }
.publisher-empty { margin: 0; border: 1px dashed var(--line); background: var(--soft); color: var(--muted); font-size: .82rem; padding: .6rem; }
.publisher-card { display: grid; gap: .35rem; border-left: 3px solid var(--accent); background: var(--soft); padding: .6rem; }
.asset-identity-row { display: grid; grid-template-columns: minmax(0, 1fr) 10rem; gap: .75rem; align-items: start; }
.publisher-card header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; text-transform: capitalize; }
.publisher-card label { display: grid; gap: .25rem; font-weight: 700; font-size: .85rem; }
.publisher-card input, .publisher-card textarea { width: 100%; border: 1px solid var(--muted); padding: .55rem; background: white; color: var(--ink); font: inherit; }
.publisher-card select { width: 100%; border: 1px solid var(--muted); padding: .55rem; background: white; color: var(--ink); font: inherit; }
.asset-upload-status { margin: 0; color: var(--muted); font-size: .82rem; }
.asset-upload-status.success { color: #166534; }
.asset-upload-status.error { color: var(--accent); }
.asset-upload-preview { display: block; width: min(100%, 22rem); max-height: 12rem; object-fit: contain; border: 1px solid var(--line); background: white; }
.deleted-asset-list { display: grid; gap: .5rem; margin-top: .75rem; padding: .65rem; border: 1px dashed var(--muted); background: white; }
.deleted-asset-row { display: flex; align-items: center; gap: .6rem; }
.deleted-asset-row img { width: 4rem; height: 3rem; object-fit: cover; border: 1px solid var(--line); }
.deleted-asset-row button { margin-left: auto; border: 1px solid var(--ink); padding: .35rem .6rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; }
.publisher-card textarea { min-height: 7rem; resize: vertical; }
.publisher-contract-note { align-self: end; color: var(--muted); font-size: .85rem; }
.publisher-card-flat { border-left: 1px solid var(--line); background: white; }
.takeaways-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .5rem .6rem; }
.takeaway-col-6 { grid-column: span 6; }
.takeaway-col-12 { grid-column: 1 / -1; }
.publisher-tabs { display: flex; flex-wrap: nowrap; gap: .1rem; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: .2rem; scrollbar-width: thin; }
.publisher-tabs button { border: 0; border-bottom: 3px solid transparent; padding: .46rem .6rem; white-space: nowrap; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; }
.publisher-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--ink); }
.publisher-tab-error { color: var(--accent); font-size: .65em; line-height: 0; vertical-align: super; }
.publisher-tab-panel { display: grid; gap: .45rem; padding-top: .75rem; }
.publisher-tab-panel[hidden] { display: none !important; }
.publisher-preview-action { justify-self: start; margin-top: .5rem; }
.article-preview { display: grid; gap: 1rem; max-width: 48rem; padding: 1.25rem; border: 1px solid var(--line); background: white; }
.article-preview h1, .article-preview h2, .article-preview p { margin: 0; }
.article-preview blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--accent); font-family: Georgia, serif; font-size: 1.15rem; }
.article-preview figure { margin: 0; }
.article-preview img { display: block; width: 100%; height: auto; }
.article-preview figcaption, .article-preview .preview-meta { color: var(--muted); font-size: .85rem; }
.article-preview .preview-byline { color: var(--muted); font-size: .85rem; }
.article-preview .preview-byline span { font-style: italic; }
.preview-standalone { max-width: 900px; margin: 0 auto; padding: 2rem 1rem 1rem; }
.preview-standalone .publisher { max-width: none; }
.preview-legal { max-width: 900px; margin: 1rem auto 0; border-top: 1px solid var(--line); padding: 1rem; color: var(--muted); font-size: .8rem; }
.preview-legal p { margin: .35rem 0; }
.article-preview .preview-chart { padding: 1rem; border: 1px solid var(--line); background: var(--paper); }

.field-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.field-helper { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }
.chart-spec-helper { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .76rem; }
.chart-spec-helper a { color: var(--ink); text-align: right; }
.chart-spec-mode-switch { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.chart-spec-mode-button, .chart-spec-format { border: 1px solid var(--ink); padding: .28rem .45rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: .74rem; font-weight: 700; }
.chart-spec-mode-button[aria-pressed="true"] { background: var(--ink); color: white; }
.chart-spec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .5rem .6rem; align-items: start; }
.chart-col-4 { grid-column: span 4; }
.chart-col-6 { grid-column: span 6; }
.chart-col-12 { grid-column: 1 / -1; }
.chart-spec-grid textarea { min-height: 6.25rem; }
.chart-spec-raw { display: grid; gap: .45rem; }
.chart-spec-raw-input { min-height: 13rem !important; font-family: Consolas, monospace !important; font-size: .8rem; }
.image-spec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .5rem .6rem; align-items: start; }
.image-col-4 { grid-column: span 4; }
.image-col-8 { grid-column: span 8; }
.image-col-12 { grid-column: 1 / -1; }
.variant-preset-control { display: grid; gap: .25rem; align-content: start; }
.variant-preset-control small { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.image-spec-meta { display: grid; gap: .45rem; }
.image-spec-grid textarea { min-height: 6.25rem; }
.citation-spec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .5rem .6rem; align-items: start; }
.citation-col-4 { grid-column: span 4; }
.citation-col-6 { grid-column: span 6; }
.citation-col-8 { grid-column: span 8; }
.citation-col-12 { grid-column: 1 / -1; }
.editor-import-json { height: 18rem; min-height: 18rem; max-height: 18rem; overflow: auto; resize: none; font-family: Consolas, monospace !important; font-size: .82rem; }
.import-label-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.import-tools { display: flex; align-items: center; gap: .35rem; }
.import-tools input { width: 10rem; padding: .2rem .4rem; font-size: .78rem; }
.import-tools button { border: 1px solid var(--ink); padding: .2rem .4rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: .7rem; font-weight: 700; }
.import-apply-button { border: 1px solid var(--ink); padding: .2rem .4rem; background: var(--ink); color: white; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 700; }
.json-editor-shell { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: start; border: 1px solid var(--muted); background: #f8fafc; }
.json-editor-shell pre { height: 18rem; max-height: 18rem; box-sizing: border-box; overflow: hidden; margin: 0; padding: .7rem .45rem; border-right: 1px solid var(--line); color: var(--muted); font: .82rem/1.5 Consolas, monospace; text-align: right; user-select: none; }
.json-editor-shell .editor-import-json { min-height: 18rem; border: 0; border-radius: 0; background: white; font: .82rem/1.5 Consolas, monospace !important; }
.import-status { border: 1px solid var(--line); padding: .65rem; color: var(--muted); font-size: .85rem; }
.import-status[data-state="error"] { border-color: var(--accent); color: var(--accent); }
.import-status[data-state="success"] { border-color: #15803d; color: #166534; }
.editor-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 1rem; background: rgb(15 23 42 / 65%); }
.editor-modal[hidden] { display: none; }
.editor-modal-card { width: min(32rem, 100%); border: 2px solid var(--ink); background: white; box-shadow: 0 .75rem 2rem rgb(15 23 42 / 30%); padding: 1.25rem; }
.editor-modal-card h2 { margin-top: 0; font-family: Georgia, serif; }
.editor-modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.editor-modal-actions button { border: 1px solid var(--ink); padding: .45rem .7rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; }
.role-admin-confirmation-modal .editor-modal-card { border-top: 4px solid var(--accent); }
.role-admin-confirmation-modal .editor-modal-card h2 { margin-bottom: .5rem; }
.role-admin-confirm-button { background: var(--accent); color: white; }
.publisher-panel-heading h2 { margin: 0; }
.queue-intro-row { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; margin-top: .75rem; }
.queue-intro-row p { margin: 0; color: var(--muted); }
.queue-search-bar { position: relative; display: flex; align-items: center; flex: 0 0 280px; max-width: 100%; }
.queue-search-icon { position: absolute; left: .65rem; color: var(--muted); pointer-events: none; }
.queue-search-bar input { width: 100%; border: 1px solid var(--muted); padding: .45rem 1.8rem .45rem 2.1rem; background: white; color: var(--ink); font: inherit; font-size: .85rem; }
.queue-search-bar input::-webkit-search-cancel-button { display: none; }
.queue-search-clear { position: absolute; right: .45rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0; }
.queue-search-clear:hover { color: var(--ink); }
.queue-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.25rem; padding: .75rem; border: 1px solid var(--line); background: var(--soft); }
.queue-filter-date, .queue-filter-dropdowns { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.queue-filter-date label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.queue-filter-date input { border: 1px solid var(--muted); padding: .45rem; background: white; color: var(--ink); font: inherit; }
.queue-filter-dropdown { position: relative; }
.queue-filter-dropdown summary { list-style: none; cursor: pointer; border: 1px solid var(--muted); padding: .48rem .65rem; background: white; font-size: .82rem; font-weight: 800; }
.queue-filter-dropdown summary::-webkit-details-marker { display: none; }
.queue-filter-dropdown summary span { color: var(--accent); margin-left: .35rem; }
.queue-filter-menu { position: absolute; z-index: 3; top: calc(100% + .25rem); left: 0; width: 240px; padding: .75rem; border: 1px solid var(--ink); background: white; box-shadow: 0 8px 18px rgb(15 23 42 / 15%); }
.queue-filter-menu fieldset { display: grid; gap: .45rem; max-height: 220px; overflow-y: auto; border: 0; margin: 0; padding: 0; }
.queue-filter-menu legend { margin-bottom: .45rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.queue-filter-menu label { display: flex; gap: .45rem; align-items: center; font-size: .85rem; }
.queue-filter-actions { display: flex; justify-content: space-between; gap: .5rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.queue-filter-actions button { border: 0; padding: .42rem .55rem; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 800; }
.queue-filter-actions .primary-action { border: 1px solid var(--ink); background: var(--ink); color: white; }
.queue-filter-submit { margin-left: auto; }
.bulk-queue-form { margin-top: 1rem; }
.bulk-queue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.bulk-queue-toolbar span { color: var(--muted); font-size: .8rem; font-weight: 800; }
.bulk-queue-form table { min-width: 860px; }
.bulk-queue-form th:first-child, .bulk-queue-form td:first-child { width: 2.5rem; text-align: center; }
.bulk-action-modal { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgb(15 23 42 / 58%); }
.bulk-action-modal[hidden] { display: none; }
.bulk-action-modal .editor-modal-card { width: min(100%, 420px); display: grid; gap: .65rem; border: 1px solid var(--ink); padding: 1.25rem; background: white; box-shadow: 0 14px 30px rgb(15 23 42 / 25%); }
.bulk-action-modal h2 { margin: 0 0 .35rem; }
.bulk-action-modal label { font-weight: 800; }
.bulk-action-modal select, .bulk-action-modal input { width: 100%; border: 1px solid var(--muted); padding: .65rem; background: white; color: var(--ink); font: inherit; }
.queue-empty { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); }
.compact-table { margin-top: 1rem; }
.compact-table table { min-width: 0; }
.compact-table th, .compact-table td { padding: .55rem; }
.latest-list { margin-top: 2.5rem; border-top: 3px solid var(--ink); padding-top: 1rem; }
.latest-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .85rem; align-items: center; border-bottom: 1px solid var(--line); padding: .75rem 0; }
.latest-row h3, .latest-row p { margin: 0; }
.latest-row h3 { font-family: Georgia, serif; font-size: 1.08rem; }
.latest-thumb { aspect-ratio: 16 / 9; width: 100%; background: #dbe1e8; }
img.latest-thumb { display: block; height: auto; object-fit: cover; }
.live-time-overlay { margin: .75rem 0; color: var(--muted); font-size: .85rem; font-weight: 800; }
.live-progress { height: .35rem; overflow: hidden; background: var(--line); }
.live-progress span { display: block; height: 100%; background: var(--accent); }
.weekly-live-guide { min-height: 330px; margin: 1rem 0; border: 1px solid var(--line); background: white; }

@media (max-width: 720px) {
  body { padding-top: 20.25rem; }
  .site-header > .utility-bar, .site-header > .site-nav, .page-shell, .staff-console, .site-footer { width: min(100% - 1.25rem, 1180px); }
  .site-ad-placeholder { min-height: 8rem; }
  .utility-bar { align-items: flex-start; flex-direction: column; }
  .category-bar { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .nav-links { gap: .65rem .95rem; overflow-x: auto; padding-bottom: .2rem; }
  .account-actions { gap: .5rem; }
  .subscribe-action { padding: .25rem .5rem; }
  .more-links { position: static; grid-template-columns: 1fr; min-width: 0; margin-top: .55rem; }
  .more-column { border-right: 0; border-bottom: 1px solid var(--line); padding: .75rem 0; }
  .more-column:last-child { border-bottom: 0; }
  .more-menu { width: 100%; }
  .masthead-grid, .content-band { grid-template-columns: 1fr; }
  .live-hero, .player-caption { align-items: flex-start; flex-direction: column; }
  .live-status { border-left: 0; border-top: 1px solid var(--line); padding: .8rem 0 0; }
  .video-grid { grid-template-columns: 1fr; }
  .weekly-live-guide { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc { position: sticky; top: 13.75rem; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); padding: .7rem 0; }
  .legal-toc ol { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
  .legal-toc a { white-space: nowrap; }
  .story-grid { grid-template-columns: 1fr; }
  .masthead-note { border-left: 0; border-top: 1px solid var(--line); padding: .8rem 0 0; }
  .subscription-plan { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .search-form-row { align-items: stretch; flex-direction: column; }
  .staff-console-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .users-roles-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .users-roles-stats { grid-template-columns: repeat(3, minmax(4.5rem, 1fr)); width: 100%; margin-left: 0; }
  .users-filter-bar { align-items: stretch; flex-direction: column; }
  .users-filter-search { align-items: stretch; flex-direction: column; }
  .users-search-bar { flex-basis: auto; width: 100%; }
  .users-role-filter { justify-content: space-between; }
  .users-role-filter select { flex: 1; }
  .users-bulk-form { width: 100%; margin-left: 0; }
  .users-actions-control { flex: 1; justify-content: space-between; }
  .users-actions-control select { flex: 1; }
  .users-table-wrap table { border-spacing: 0 .65rem; }
  .users-table-wrap thead { display: none; }
  .users-table-wrap tbody tr { display: grid; gap: .2rem; padding: .8rem; }
  .users-table-wrap tbody td { padding: .35rem 0; }
  .users-table-wrap tbody td:first-child { border-left: 0; }
  .user-identity, .user-role-actions { min-width: 0; }
  .role-action-stack { justify-content: flex-start; }
  .role-change-form { justify-content: flex-start; flex-wrap: wrap; }
  .users-pagination { align-items: flex-start; flex-direction: column; }
  .staff-facts { grid-template-columns: 1fr; gap: .25rem; }
  .category-heading-row, .publisher-header, .publisher-panel-heading { align-items: flex-start; flex-direction: column; }
  .queue-intro-row { flex-direction: column; align-items: stretch; gap: .75rem; }
  .queue-search-bar { flex: 1 1 auto; width: 100%; }
  .publisher-grid, .publisher-grid-core { grid-template-columns: 1fr; }
  .desk-col-2, .desk-col-3, .desk-col-4, .desk-col-7, .desk-col-8 { grid-column: 1 / -1; }
  .placement-grid { grid-template-columns: 1fr; }
  .placement-fields { grid-template-columns: 1fr; }
  .asset-identity-row { grid-template-columns: 1fr; }
  .takeaway-col-6, .takeaway-col-12 { grid-column: 1 / -1; }
  .chart-col-4, .chart-col-6, .chart-col-12 { grid-column: 1 / -1; }
  .image-col-4, .image-col-8, .image-col-12 { grid-column: 1 / -1; }
  .citation-col-4, .citation-col-6, .citation-col-8, .citation-col-12 { grid-column: 1 / -1; }
  .publisher-workspace { grid-template-columns: 1fr; }
  .publisher-outline-pane { position: static; max-height: none; }
  .publisher-section-header { align-items: flex-start; flex-direction: column; }
  .publisher-add-actions { justify-content: flex-start; }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .desk-col-2 { grid-column: span 6; }
  .desk-col-3 { grid-column: span 6; }
  .desk-col-4 { grid-column: span 6; }
  .desk-col-7 { grid-column: span 12; }
  .desk-col-8 { grid-column: span 12; }
  .placement-grid { grid-template-columns: 1fr; }
  .placement-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .takeaway-col-6 { grid-column: 1 / -1; }
  .chart-col-4 { grid-column: span 6; }
  .image-col-4 { grid-column: span 6; }
  .image-col-8 { grid-column: span 12; }
  .citation-col-4, .citation-col-6 { grid-column: span 6; }
  .citation-col-8 { grid-column: span 12; }
}
