@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ink: #111c2e;
  --ink-soft: #22314a;
  --paper: #f7f6f2;
  --white: #fff;
  --muted: #687386;
  --line: #dce0e5;
  --red: #d93b32;
  --red-dark: #b52822;
  --gold: #e4ae52;
  --green: #2d7867;
  --shadow: 0 18px 50px rgba(17, 28, 46, .09);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(217, 59, 50, .52); outline-offset: 3px; }
.page-shell { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.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; }

.preview-ribbon { display: flex; justify-content: center; align-items: center; min-height: 34px; padding: 7px 16px; color: #fff; background: #9c241f; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.ribbon-dot { width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #ffd3c8; box-shadow: 0 0 0 3px rgba(255, 211, 200, .16); }
.ribbon-divider { margin: 0 9px; opacity: .6; }
.site-header { background: var(--white); }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--red); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 16px; letter-spacing: .095em; font-weight: 800; }
.brand-copy span { color: #667082; font-size: 9px; letter-spacing: .22em; font-weight: 700; }
.masthead-tools { display: flex; align-items: center; gap: 19px; }
.search-form { display: flex; align-items: center; width: 270px; height: 40px; gap: 9px; padding: 0 11px; border: 1px solid #dce1e7; border-radius: 5px; background: #fbfbfa; }
.search-form > svg { width: 17px; height: 17px; fill: none; stroke: #778195; stroke-width: 1.8; stroke-linecap: round; }
.search-form input { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-form input::placeholder { color: #7b8492; }
.search-shortcut { color: #8b93a0; font-size: 8px; letter-spacing: .1em; font-weight: 700; }
.editor-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.editor-link svg, .footer-editor svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.editor-link:hover, .footer-editor:hover { color: var(--red-dark); }
.desk-nav { border-top: 1px solid #edf0f3; border-bottom: 1px solid #e5e8ec; }
.nav-inner { min-height: 51px; display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-filter { position: relative; flex: 0 0 auto; height: 50px; padding: 0; border: 0; background: transparent; color: #626e81; cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.nav-filter::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ''; background: transparent; }
.nav-filter:hover, .nav-filter.is-active { color: var(--ink); }
.nav-filter.is-active::after { background: var(--red); }
.nav-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #7a8493; font-size: 9px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9da6b2; }

.intro-band { display: grid; grid-template-columns: 1.4fr .75fr; align-items: end; gap: 46px; padding-top: 49px; padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #788193; font-size: 9px; line-height: 1.3; font-weight: 800; letter-spacing: .15em; }
.eyebrow-line { width: 18px; height: 2px; background: var(--red); }
.eyebrow-date { margin-left: 7px; color: #9aa1ab; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
.intro-band h1 { margin-bottom: 13px; font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); line-height: .99; letter-spacing: -.035em; font-weight: 400; }
.intro-band h1 em, .standards-card h2 em { color: var(--red); font-weight: 400; }
.intro-lede { max-width: 610px; margin-bottom: 0; color: #687386; font-size: 14px; line-height: 1.7; }
.preview-warning { display: flex; align-items: flex-start; gap: 13px; padding: 17px 18px; border: 1px solid #edcfca; border-left: 3px solid var(--red); border-radius: 5px; background: #fff9f7; }
.warning-icon { width: 22px; height: 22px; flex: 0 0 22px; color: var(--red-dark); }
.warning-icon svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.preview-warning strong { display: block; margin: 0 0 5px; font-size: 12px; }
.preview-warning p { margin: 0; color: #786c6a; font-size: 10px; line-height: 1.55; }

.lead-section { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(270px, .88fr); gap: 18px; align-items: stretch; }
.lead-story { display: grid; grid-template-columns: minmax(235px, .93fr) minmax(270px, 1.07fr); min-height: 350px; overflow: hidden; border: 1px solid #e4e6e9; border-radius: 7px; background: var(--white); box-shadow: 0 9px 30px rgba(17, 28, 46, .045); }
.lead-photo-wrap { position: relative; min-height: 350px; overflow: hidden; background: #d6dbe1; }
.lead-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-label { position: absolute; right: 11px; bottom: 10px; padding: 5px 7px; border-radius: 2px; color: white; background: rgba(17, 28, 46, .77); font-size: 7px; letter-spacing: .12em; font-weight: 800; }
.demo-stamp { position: absolute; top: 14px; left: 14px; padding: 7px 9px; border-radius: 2px; color: white; background: var(--red); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.lead-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 27px 27px 17px; }
.story-kicker { display: flex; align-items: center; gap: 7px; color: #697588; font-size: 8px; letter-spacing: .12em; font-weight: 800; line-height: 1.4; }
.category-mark { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--red); }
.mark-celebrities { background: #8a65b7; }
.mark-accidents { background: #d58335; }
.mark-disasters { background: #b93b32; }
.mark-economy { background: #367a68; }
.kicker-separator { color: #b3bac4; }
.lead-copy h2 { max-width: 500px; margin: 15px 0 10px; font-family: var(--serif); font-size: clamp(25px, 2.35vw, 32px); line-height: 1.08; letter-spacing: -.025em; font-weight: 400; }
.story-summary { margin-bottom: 15px; color: #687386; font-size: 11px; line-height: 1.65; }
.story-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #737e8f; font-size: 9px; line-height: 1.4; }
.meta-divider { width: 3px; height: 3px; border-radius: 50%; background: #b0b7c2; }
.text-link, .standards-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--red-dark); font-size: 10px; font-weight: 800; text-decoration: none; }
.text-link svg, .standards-link svg, .workflow-button svg, .footer-editor svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-link:hover, .standards-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.photo-credit { margin: 12px 0 0; color: #929aa6; font-size: 8px; line-height: 1.5; }
.photo-credit span { color: #656f7e; font-weight: 700; }
.photo-credit a { color: #697487; text-decoration: underline; text-decoration-color: #c5cbd2; text-underline-offset: 2px; }
.photo-credit a:hover { color: var(--red-dark); }
.standards-card { display: flex; flex-direction: column; padding: 26px 25px 18px; border-radius: 7px; color: white; background: var(--ink); box-shadow: 0 10px 25px rgba(17, 28, 46, .12); }
.eyebrow-light { color: #b9c2d0; }
.standards-card h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 27px; line-height: 1.1; font-weight: 400; letter-spacing: -.025em; }
.standards-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.standards-list li { display: flex; align-items: flex-start; gap: 9px; color: #d7dce4; font-size: 10px; line-height: 1.55; }
.check-icon { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 17px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fac2a8; }
.check-icon svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.standards-link { margin-top: 21px; color: #ffc1ae; }
.standards-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); color: #b8c1cf; font-size: 8px; letter-spacing: .02em; }
.tiny-shield { width: 17px; height: 17px; color: #d4dce7; }
.tiny-shield svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }

.ad-placement { display: grid; justify-items: center; gap: 8px; }
.ad-placement-banner { margin-block: 4px 25px; }
.ad-placement-inline { margin-block: -4px 54px; }
.ad-slot-meta { display: flex; justify-content: space-between; gap: 12px; width: min(100%, 970px); color: #858e9b; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.ad-slot { display: grid; place-items: center; width: min(100%, 970px); padding: 8px; border: 1px dashed #cbd1d8; border-radius: 5px; background: rgba(255,255,255,.55); }
.ad-slot-banner { min-height: 110px; }
.ad-slot-rectangle { width: min(100%, 336px); min-height: 272px; }
.ad-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 90px; padding: 14px; border: 1px solid #e3e6e9; border-radius: 3px; color: #707b8a; text-align: center; background: #f3f4f4; }
.ad-slot-rectangle .ad-placeholder { min-height: 250px; }
.ad-placeholder strong { color: #5c6879; font-size: 11px; }
.ad-placeholder span { font-size: 9px; line-height: 1.5; }
.ad-placeholder small { color: #949daa; font-size: 8px; }

.sample-section { padding-top: 63px; padding-bottom: 54px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.section-note { margin: 0 0 3px; color: #8992a0; font-size: 9px; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.story-tile { min-width: 0; overflow: hidden; border: 1px solid #e3e6e9; border-radius: 6px; background: white; box-shadow: 0 6px 18px rgba(17, 28, 46, .035); transition: transform .18s ease, box-shadow .18s ease; }
.story-tile:hover { transform: translateY(-3px); box-shadow: 0 13px 25px rgba(17, 28, 46, .09); }
.tile-image-wrap { position: relative; height: 146px; overflow: hidden; background: #d7dce2; }
.tile-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-tile[data-category="celebrities"] .tile-image-wrap img { object-position: 50% 28%; }
.demo-stamp-small { top: 10px; left: 10px; padding: 6px 7px; font-size: 7px; }
.tile-content { display: flex; flex-direction: column; min-height: 255px; padding: 15px 15px 13px; }
.tile-content .story-kicker { min-height: 14px; font-size: 7px; }
.tile-content h3 { margin: 9px 0 8px; font-family: var(--serif); font-size: 18px; line-height: 1.12; font-weight: 400; letter-spacing: -.015em; }
.tile-content > p:not(.photo-credit) { margin: 0 0 13px; color: #6e798a; font-size: 9px; line-height: 1.6; }
.tile-content .photo-credit { margin-top: 10px; padding-top: 9px; border-top: 1px solid #edf0f2; font-size: 7px; }
.empty-state { margin-top: 12px; padding: 28px; border: 1px dashed #bdc5ce; border-radius: 6px; color: #636f80; text-align: center; background: rgba(255,255,255,.55); }
.empty-state strong, .empty-state span { display: block; }
.empty-state span { margin-top: 4px; font-size: 12px; }

.workflow-banner { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 19px; margin-bottom: 65px; padding: 25px 27px; border: 1px solid #e4e5e2; border-radius: 7px; background: #eeeee9; }
.workflow-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--red-dark); background: #f9e4df; }
.workflow-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.workflow-banner .eyebrow { margin-bottom: 5px; font-size: 8px; }
.workflow-banner h2 { margin: 0 0 5px; font-family: var(--serif); font-size: 22px; line-height: 1.1; font-weight: 400; }
.workflow-banner p:last-child { max-width: 680px; margin: 0; color: #707a88; font-size: 9px; line-height: 1.55; }
.workflow-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border: 1px solid #b6bec7; border-radius: 4px; color: var(--ink); background: white; font-size: 9px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s; }
.workflow-button:hover { border-color: var(--red); color: var(--red-dark); }

.site-footer { color: #ccd3dd; background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { width: 34px; height: 34px; color: #f06b60; }
.brand-footer .brand-copy strong { font-size: 12px; }
.brand-footer .brand-copy span { color: #aab4c2; font-size: 7px; }
.footer-inner > p { margin: 0; color: #aeb8c6; font-size: 9px; }
.footer-editor { display: inline-flex; align-items: center; gap: 6px; color: white; font-size: 9px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 43px; border-top: 1px solid rgba(255,255,255,.13); color: #929eaf; font-size: 8px; }
.footer-bottom a { color: #c5cbd4; text-decoration: none; white-space: nowrap; }
.footer-bottom a:hover { color: white; }

/* Editorial editor mockup */
.admin-body { background: #f1f3f6; }
.admin-topline { color: #d9e0e9; background: #17243a; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 83px; }
.admin-heading-wrap { display: flex; align-items: center; gap: 16px; }
.admin-heading-wrap h1 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.admin-heading-wrap p { margin: 4px 0 0; color: #798598; font-size: 10px; }
.mockup-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #e7c7a2; border-radius: 3px; color: #81572c; background: #fff8eb; font-size: 8px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.mockup-pill::before { width: 6px; height: 6px; border-radius: 50%; content: ''; background: #d39245; }
.admin-head-actions { display: flex; align-items: center; gap: 13px; }
.admin-home-link { display: inline-flex; align-items: center; gap: 7px; color: #526074; font-size: 10px; font-weight: 700; text-decoration: none; }
.admin-home-link:hover { color: var(--red-dark); }
.admin-home-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.admin-intro { padding-top: 28px; padding-bottom: 20px; }
.admin-intro p { max-width: 770px; margin: 0; color: #657184; font-size: 12px; line-height: 1.65; }
.admin-alert { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid #edd6b6; border-radius: 4px; color: #715a36; background: #fff8eb; font-size: 10px; line-height: 1.55; }
.admin-alert svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.admin-alert strong { color: #624321; }
.admin-workspace { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(360px, 1.45fr) minmax(240px, .85fr); align-items: start; gap: 15px; padding-bottom: 55px; }
.admin-panel { min-width: 0; border: 1px solid #e0e4e9; border-radius: 6px; background: white; box-shadow: 0 5px 18px rgba(17, 28, 46, .035); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; border-bottom: 1px solid #ebedf0; }
.panel-head h2 { margin: 0; font-size: 12px; font-weight: 800; }
.panel-head span { color: #8791a1; font-size: 8px; }
.queue-list { display: grid; gap: 0; }
.queue-item { display: block; width: 100%; padding: 13px 15px; border: 0; border-bottom: 1px solid #edf0f3; background: white; color: var(--ink); cursor: pointer; text-align: left; transition: background .15s; }
.queue-item:last-child { border-bottom: 0; }
.queue-item:hover, .queue-item.is-selected { background: #f7f8fa; }
.queue-item.is-selected { box-shadow: inset 3px 0 var(--red); }
.queue-title { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 14px; line-height: 1.2; }
.queue-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #7b8697; font-size: 8px; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 2px; color: #76613e; background: #f8f0dd; font-size: 7px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.status-chip::before { width: 5px; height: 5px; border-radius: 50%; content: ''; background: #c19447; }
.status-chip.status-ready { color: #296454; background: #e5f1ec; }
.status-chip.status-ready::before { background: #3c8973; }
.status-chip.status-needs { color: #8d3c31; background: #fbe9e6; }
.status-chip.status-needs::before { background: #d75448; }
.editor-form { padding: 17px 17px 15px; }
.form-label { display: block; margin: 0 0 6px; color: #4f5c70; font-size: 9px; font-weight: 800; }
.form-row { margin-bottom: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-control { display: block; width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid #d9dfe6; border-radius: 3px; color: var(--ink); background: #fff; font-size: 10px; }
textarea.field-control { min-height: 72px; resize: vertical; line-height: 1.5; }
.field-help { margin: 5px 0 0; color: #949daa; font-size: 8px; line-height: 1.45; }
.source-field { display: flex; align-items: center; gap: 7px; }
.source-field svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: #9aa3b0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 5px; }
.button-primary, .button-secondary { min-height: 34px; padding: 8px 11px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: 9px; font-weight: 800; }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: #263751; }
.button-secondary { border-color: #d6dce3; color: #4d5a6e; background: #fff; }
.button-secondary:hover { background: #f5f6f8; }
.button-disabled { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 7px 9px; border: 1px solid #e4e7eb; border-radius: 3px; color: #9aa2af; background: #f5f6f7; font-size: 8px; font-weight: 700; cursor: not-allowed; }
.button-disabled svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-feedback { min-height: 18px; margin: 10px 0 0; color: #30735f; font-size: 9px; font-weight: 700; }
.preview-card { margin: 0 17px 17px; overflow: hidden; border: 1px solid #e3e6eb; border-radius: 4px; background: #f9fafb; }
.preview-card-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #e9edf1; color: #778294; font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.preview-card-body { padding: 12px; }
.preview-card-category { margin-bottom: 6px; color: var(--red-dark); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.preview-card-title { margin-bottom: 6px; font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.preview-card-summary { margin: 0; color: #6e7988; font-size: 9px; line-height: 1.5; }
.review-panel { padding-bottom: 13px; }
.review-intro { margin: 13px 14px 10px; color: #6d7888; font-size: 9px; line-height: 1.5; }
.checklist { display: grid; gap: 0; margin: 0; padding: 0 14px; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 8px; padding: 9px 0; border-top: 1px solid #edf0f2; color: #526074; font-size: 9px; line-height: 1.45; }
.checklist li svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: #507d6d; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.desk-sources { margin: 13px 13px 0; padding: 11px; border-radius: 4px; background: #f5f6f8; }
.desk-sources strong { display: block; margin-bottom: 7px; color: #4f5b6e; font-size: 8px; }
.desk-sources p { margin: 0; color: #7b8593; font-size: 8px; line-height: 1.6; }
.admin-legal { margin: 16px auto 0; padding: 0 12px; color: #8892a0; text-align: center; font-size: 8px; line-height: 1.5; }
.toast { position: fixed; right: 20px; bottom: 18px; z-index: 10; max-width: calc(100% - 40px); padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; color: white; background: #1d6b55; box-shadow: var(--shadow); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .page-shell { width: min(100% - 42px, 900px); }
  .intro-band { grid-template-columns: 1.1fr .9fr; gap: 25px; }
  .lead-section { grid-template-columns: minmax(0, 1.5fr) minmax(250px, .9fr); }
  .lead-story { grid-template-columns: minmax(210px, .9fr) minmax(250px, 1.1fr); }
  .lead-copy { padding: 22px 20px 16px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-image-wrap { height: 190px; }
  .tile-content { min-height: 225px; }
  .admin-workspace { grid-template-columns: minmax(210px, .72fr) minmax(350px, 1.28fr); }
  .review-panel { grid-column: 1 / -1; }
  .review-panel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 14px 5px; }
  .review-intro { margin: 13px 14px 10px; }
  .checklist { padding: 0; }
  .desk-sources { margin: 0; }
}

@media (max-width: 720px) {
  .page-shell { width: min(100% - 32px, 620px); }
  .preview-ribbon { min-height: 32px; padding: 7px 10px; font-size: 8px; letter-spacing: .08em; }
  .masthead { min-height: 73px; gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy span { font-size: 7px; }
  .masthead-tools { gap: 10px; }
  .search-form { width: 126px; height: 36px; gap: 6px; padding: 0 7px; }
  .search-form input { width: 100%; font-size: 9px; }
  .search-shortcut { display: none; }
  .editor-link { width: 35px; height: 35px; justify-content: center; border: 1px solid #e0e4e8; border-radius: 4px; }
  .editor-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .nav-inner { width: 100%; min-height: 47px; gap: 22px; padding-inline: 16px; }
  .nav-filter { height: 46px; font-size: 10px; }
  .nav-status { display: none; }
  .intro-band { grid-template-columns: 1fr; gap: 18px; padding-top: 32px; padding-bottom: 21px; }
  .intro-band h1 { font-size: clamp(40px, 11vw, 54px); }
  .intro-lede { font-size: 12px; line-height: 1.65; }
  .preview-warning { padding: 13px 14px; }
  .lead-section { grid-template-columns: 1fr; gap: 12px; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-photo-wrap { min-height: 0; height: min(62vw, 315px); }
  .lead-photo { object-position: center 44%; }
  .lead-copy { padding: 19px 18px 15px; }
  .lead-copy h2 { max-width: 560px; margin-top: 11px; font-size: 28px; }
  .story-summary { font-size: 10px; }
  .standards-card { padding: 21px 19px 16px; }
  .standards-card h2 { font-size: 25px; }
  .standards-list { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .standards-list li { font-size: 9px; }
  .standards-foot { margin-top: 15px; }
  .ad-placement-banner { margin-block: 2px 18px; }
  .ad-placement-inline { margin-block: -4px 38px; }
  .ad-slot-meta { font-size: 7px; letter-spacing: .09em; }
  .ad-slot-banner { min-height: 86px; padding: 6px; }
  .ad-slot-banner .ad-placeholder { min-height: 68px; padding: 10px; }
  .sample-section { padding-top: 45px; padding-bottom: 37px; }
  .section-heading { align-items: start; flex-direction: column; gap: 7px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 30px; }
  .section-note { font-size: 8px; }
  .story-grid { grid-template-columns: 1fr; gap: 12px; }
  .story-tile { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; }
  .tile-image-wrap { height: 100%; min-height: 180px; }
  .tile-content { min-height: 0; padding: 13px 13px 11px; }
  .tile-content h3 { font-size: 17px; }
  .tile-content > p:not(.photo-credit) { font-size: 8px; }
  .tile-content .story-meta { font-size: 8px; }
  .tile-content .photo-credit { font-size: 7px; }
  .workflow-banner { grid-template-columns: 40px 1fr; gap: 12px; margin-bottom: 42px; padding: 17px; }
  .workflow-icon { width: 38px; height: 38px; }
  .workflow-icon svg { width: 22px; height: 22px; }
  .workflow-banner h2 { font-size: 19px; }
  .workflow-button { grid-column: 2; justify-self: start; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; min-height: 90px; padding-block: 17px; }
  .footer-inner > p { order: 3; flex-basis: 100%; font-size: 8px; }
  .footer-bottom { flex-wrap: wrap; justify-content: space-between; gap: 7px 13px; padding-block: 12px; font-size: 7px; }
  .footer-bottom span:nth-child(2) { order: 3; flex-basis: 100%; }
  .admin-head { min-height: 72px; }
  .admin-heading-wrap h1 { font-size: 24px; }
  .admin-heading-wrap p { max-width: 250px; font-size: 8px; }
  .mockup-pill { padding: 6px 7px; font-size: 7px; }
  .admin-head-actions { gap: 8px; }
  .admin-home-link span { display: none; }
  .admin-intro { padding-top: 19px; padding-bottom: 13px; }
  .admin-intro p { font-size: 10px; }
  .admin-workspace { grid-template-columns: 1fr; gap: 12px; }
  .review-panel { grid-column: auto; }
  .review-panel-body { grid-template-columns: 1fr; gap: 11px; }
  .desk-sources { margin-top: 0; }
}

@media (max-width: 440px) {
  .tile-image-wrap { min-height: 195px; }
  .story-tile { grid-template-columns: minmax(95px, 35%) 1fr; }
  .tile-content { padding: 11px 10px 10px; }
  .tile-content .story-kicker { gap: 5px; font-size: 6px; letter-spacing: .08em; }
  .search-form { width: 102px; }
  .tile-content h3 { margin-top: 7px; font-size: 16px; }
  .tile-content > p:not(.photo-credit) { margin-bottom: 9px; }
  .tile-content .story-meta { flex-wrap: wrap; gap: 5px; }
  .photo-credit { line-height: 1.45; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .admin-heading-wrap { gap: 10px; }
  .admin-heading-wrap h1 { font-size: 22px; }
  .mockup-pill { max-width: 112px; white-space: normal; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Safe demo ad manager and non-obstructive placements */
.ad-manager { margin-bottom: 24px; }
.ad-manager-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(270px, .95fr); gap: 18px; align-items: start; }
.ad-editor-form { padding: 17px 0 17px 17px; }
.ad-editor-form .form-row:last-child { margin-bottom: 0; }
.code-field { min-height: 132px !important; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 9px; line-height: 1.5; }
.ad-active-toggle { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 12px; padding: 10px; border: 1px solid #e5e9ed; border-radius: 4px; background: #f8f9fa; cursor: pointer; }
.ad-active-toggle input { width: 15px; height: 15px; flex: 0 0 15px; margin: 1px 0 0; accent-color: var(--green); }
.ad-active-toggle strong, .ad-active-toggle small { display: block; }
.ad-active-toggle strong { color: #4f5c70; font-size: 9px; }
.ad-active-toggle small { margin-top: 3px; color: #858f9d; font-size: 8px; line-height: 1.45; }
.safe-ad-preview { min-width: 0; margin: 16px 16px 16px 0; overflow: hidden; border: 1px solid #e3e6eb; border-radius: 4px; background: #f9fafb; }
.safe-ad-preview-body { padding: 12px; }
.ad-preview-frame { display: grid; gap: 10px; }
.ad-preview-meta { color: #8791a1; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ad-preview-message { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px; border: 1px dashed #cbd1d8; border-radius: 4px; color: #6f7a89; background: #fff; }
.ad-preview-message strong { color: #455267; font-size: 10px; }
.ad-preview-message span { font-size: 9px; line-height: 1.5; }
.ad-code-preview { max-height: 220px; margin: 0; padding: 10px; overflow: auto; border: 1px solid #e2e6eb; border-radius: 3px; color: #566174; background: #f1f3f6; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.smartlink-preview, .ad-smartlink-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; padding: 16px; border: 1px solid #e3e6e9; border-radius: 4px; text-align: center; background: #fff; }
.ad-smartlink-preview { min-height: 88px; padding: 12px; border: 0; background: transparent; }
.ad-slot-rectangle .ad-smartlink-preview { min-height: 250px; }
.sponsored-label { display: inline-flex; padding: 4px 7px; border-radius: 2px; color: #6f7885; background: #eef0f2; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.smartlink-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 10px 17px; border: 1px solid var(--red-dark); border-radius: 4px; color: #fff; background: var(--red); font-size: 10px; font-weight: 800; text-decoration: none; transition: background .15s, transform .15s; }
.smartlink-cta:hover { background: var(--red-dark); transform: translateY(-1px); }
.smartlink-note { color: #8791a1; font-size: 8px; line-height: 1.4; }

@media (max-width: 1020px) {
  .ad-manager-body { grid-template-columns: minmax(0, 1fr) minmax(240px, .9fr); }
}

@media (max-width: 720px) {
  .ad-manager-body { grid-template-columns: 1fr; gap: 0; }
  .ad-editor-form { padding: 15px 14px 12px; }
  .safe-ad-preview { margin: 0 14px 15px; }
}
