@font-face{font-family:Anton;src:url('/news-ui/anton-latin-400-normal.woff2') format('woff2');font-display:swap}
@font-face{font-family:Poppins;src:url('/news-ui/poppins-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('/news-ui/poppins-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('/news-ui/poppins-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}

:root {
  color-scheme: dark;
  --ink: #f7f8fb;
  --sub: #c9d1df;
  --muted: #a8b7c9;
  --gold: #f6c453;
  --deep: #050a14;
  --navy: #0b1226;
  --panel: #132331;
  --raised: #192d3c;
  --line: #344a5e;
  --control: #627f97;
  --green: #81efbd;
  --error: #ffb6b0;
  accent-color: var(--gold);
  scrollbar-color: var(--control) var(--deep);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--deep); color: var(--ink); font: 400 .9rem/1.6 Poppins, sans-serif; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
a { color: var(--gold); text-underline-offset: .2em; }
a:hover { color: #ffe09a; }
p { margin: 0; }
h1, h2, legend { color: var(--ink); }
h1 { margin: 0; font: 400 clamp(2.25rem, 5vw, 3.5rem)/1.07 Anton, sans-serif; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
h2, legend { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
img { display: block; max-width: 100%; }
time { font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: var(--navy); }
.top-inner { display: flex; align-items: center; gap: clamp(.6rem, 2.5vw, 1.8rem); min-height: 66px; }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: .55rem; font: 400 1.31rem/1 Anton, sans-serif; text-transform: uppercase; white-space: nowrap; text-decoration: none; }
.brand img { flex: none; }
.section-link { color: var(--gold); font-weight: 700; text-decoration: none; }
.push { flex: 1; }
.private-note { color: var(--muted); font-size: .77rem; white-space: nowrap; }
.workspace { padding-block: 2rem 4rem; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.55rem; }
.page-heading p { color: var(--sub); margin-top: .5rem; }
.heading-state { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .9rem; }
.document-name { overflow-wrap: anywhere; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.publication-jump { display: none; font-size: .8rem; }
.pending-edits { color: var(--gold); margin-bottom: .85rem; }
.back { display: inline-block; margin-bottom: 1rem; font-size: .81rem; font-weight: 600; }

button, .button {
  font: 700 .84rem/1.35 Poppins, sans-serif;
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px;
  padding: .5rem .9rem; border: 1px solid transparent; border-radius: 8px;
  cursor: pointer; text-align: center; text-decoration: none;
}
.primary { background: var(--gold); color: var(--deep); }
.primary:hover { background: #ffe09a; color: var(--deep); }
.secondary { background: var(--raised); border-color: var(--control); color: var(--ink); }
.secondary:hover, .secondary[aria-current] { border-color: var(--gold); color: var(--gold); }
.quiet { background: transparent; color: var(--sub); padding-inline: .5rem; }
.quiet:hover { color: var(--ink); background: var(--panel); }
button:disabled, .button[aria-disabled=true] { color: var(--muted); background: var(--navy); border-color: var(--line); cursor: default; }
.danger { color: var(--error); }
.danger:hover { color: var(--error); background: #391e29; }

.status { display: inline-block; border-radius: 5px; color: var(--gold); background: #2f291e; padding: .14rem .46rem; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.status.live { color: var(--green); background: #163733; }
.status.scheduled { color: #d0e3ff; background: #243b59; }
.article-rows, .public-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 9rem 7rem; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding: 1rem .25rem; }
.row-name, .row-state { min-width: 0; display: grid; justify-items: start; gap: .24rem; }
.row-name a { color: var(--ink); font-weight: 700; text-decoration: none; }
.row-name a:hover, .public-rows a:hover { color: var(--gold); text-decoration: underline; }
.row-name span, .row-state > span:not(.status), .article-rows time, .public-rows time { color: var(--muted); font-size: .77rem; }
.row-name, .row-name span { overflow-wrap: anywhere; }
.article-rows time { text-align: right; }
.below, .empty { margin-top: 1.15rem; color: var(--sub); }

.editor-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); align-items: start; gap: 1.35rem; }
.section { min-width: 0; margin: 0 0 1.15rem; padding: 1.05rem 1.15rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
legend { padding-inline: .45rem; margin-inline-start: -.45rem; }
.field { margin-top: .76rem; display: grid; gap: .27rem; min-width: 0; }
.field label, .login label { font-weight: 600; }
.field small { color: var(--muted); font-size: .75rem; }
input:not([type=checkbox]), select, textarea {
  width: 100%; border: 1px solid var(--control); border-radius: 7px; padding: .5rem .66rem;
  background: #0a1725; color: var(--ink); min-height: 44px; caret-color: var(--gold);
  font: 400 1rem/1.5 Poppins, sans-serif;
}
input[readonly] { color: var(--sub); }
textarea { resize: vertical; }
input[type=file] { font-size: .81rem; }
input::file-selector-button { margin-right: .55rem; padding: .2rem .48rem; border: 1px solid var(--control); border-radius: 4px; background: var(--raised); color: var(--ink); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.check { display: flex; align-items: center; gap: .5rem; min-height: 37px; width: fit-content; }
.check input { width: 1rem; height: 1rem; margin: 0; }
.editor-cover { width: min(100%, 330px); margin-top: .65rem; border-radius: 6px; }
.publication > p { color: var(--sub); margin: .55rem 0 .8rem; font-size: .84rem; }
.publication .button, .publication button.primary { width: 100%; }
.publication form { margin-top: .6rem; }
.publication > .public-link { display: inline-block; margin-top: .65rem; font-size: .84rem; }
.notice, .alert { padding: .65rem .8rem; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 1rem; overflow-wrap: anywhere; }
.notice { color: var(--green); background: #112a27; }
.alert { color: var(--error); background: #311e29; }
.snippet { margin-top: .66rem; overflow-wrap: anywhere; }
.snippet span, .social-snippet span { display: block; color: var(--muted); font-size: .7rem; }
.snippet strong { color: #fbd481; font-size: 1.01rem; }
.snippet p, .social-snippet p { color: var(--sub); font-size: .81rem; }
.social-snippet { margin-top: .66rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; overflow-wrap: anywhere; }
.social-snippet img { width: 100%; aspect-ratio: 1.91; object-fit: cover; }
.social-snippet div { background: var(--navy); padding: .65rem .75rem; }
.social-snippet strong { display: block; }
.login { width: min(100% - 2rem, 450px); margin: min(10vh, 6rem) auto 0; }
.login p { margin: 1rem 0; color: var(--sub); }
.login input { margin: .4rem 0 1rem; }

.devices { display: flex; flex-wrap: wrap; gap: .45rem; }
.preview-scroll { margin-inline: auto; max-width: 100%; }
.preview-scroll.desktop { width: 960px; overflow: auto; }
.preview-frame { display: block; margin-inline: auto; height: min(76vh, 860px); min-height: 360px; background: var(--deep); border: 1px solid var(--control); border-radius: 10px; }
.preview-frame.desktop { width: 960px; }
.preview-frame.mobile { width: min(100%, 390px); }
.viewport-help { display: none; color: var(--sub); font-size: .82rem; margin-bottom: .5rem; }
.article-wrap { width: min(100% - 3rem, 780px); padding-block: clamp(1.7rem, 4vw, 3.6rem) 3rem; margin-inline: auto; }
.reader h1 { max-width: 24ch; }
.reader .lede { color: var(--sub); font-size: clamp(1rem, 2vw, 1.16rem); margin-top: .85rem; overflow-wrap: anywhere; }
.byline { color: var(--muted); font-size: .81rem; margin-top: .75rem; overflow-wrap: anywhere; }
.byline span { margin-inline: .25rem; color: var(--gold); }
.reader .cover { margin: 1.35rem 0; width: 100%; height: auto; border-radius: 10px; }
.prose { font-size: 1rem; max-width: 70ch; margin-top: 1.35rem; overflow-wrap: anywhere; }
.prose p { margin: .75rem 0; }
.prose h2 { margin-top: 1.35rem; color: var(--gold); font-size: 1.15rem; }
.related { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.55rem; }
.related ul { padding-inline-start: 1.1rem; }
.public-rows { margin-top: 1.35rem; }
.public-rows li { border-bottom: 1px solid var(--line); padding: 1rem 0; overflow-wrap: anywhere; }
.public-rows h2 a { color: var(--ink); text-decoration: none; }
.public-rows p { margin: .35rem 0; color: var(--sub); }
.reader-nav { display: flex; gap: .12rem; align-items: center; margin-left: auto; }
.reader-nav a { border-radius: 999px; color: var(--sub); font-weight: 700; padding: .62rem .65rem; text-decoration: none; white-space: nowrap; }
.reader-nav a:hover { color: var(--ink); background: var(--raised); }
.reader-nav a[aria-current] { color: var(--deep); background: var(--gold); }
.schedule .secondary { width: 100%; margin-top: .65rem; }
.history-link { margin: 0 0 1.1rem .15rem; }
.history-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.history-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.history-rows p { color: var(--muted); font-size: .78rem; margin-top: .28rem; }
.history-actions, .confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.confirmation { max-width: 44rem; margin-top: 1rem; }
.confirmation p { color: var(--sub); margin-top: .5rem; }
.confirm-actions { margin-top: 1rem; }

@media (max-width: 1008px) {
  .viewport-help { display: block; }
}
@media (max-width: 760px) {
  .wrap, .article-wrap { width: min(100% - 2rem, 780px); }
  .editor-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .publication-jump { display: inline-flex; align-items: center; min-height: 44px; }
  .workspace { padding-top: 1.35rem; }
  .reader .top-inner:has(.reader-nav) { display: grid; gap: .3rem; padding-block: .45rem; }
  .reader-nav { margin: 0; justify-content: space-between; }
  .reader-nav a { font-size: clamp(.69rem, 2.9vw, .82rem); padding-inline: .34rem; min-height: 40px; }
}
@media (max-width: 455px) {
  .wrap, .article-wrap { width: calc(100% - 1.5rem); }
  .top-inner { min-height: 58px; }
  .brand { font-size: 1.05rem; gap: .35rem; }
  .brand img { width: 30px; height: 30px; }
  .private-note { display: none; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; }
  .section { padding: .85rem; }
  .pair { grid-template-columns: 1fr; gap: 0; }
  .article-rows li { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }
  .article-rows time { grid-column: 1 / -1; text-align: left; }
}
