:root {
  --paper: #f3efe6;
  --ink: #1c1915;
  --muted: #5f584e;
  --line: #d5ccbe;
  --rule: #8e2424;
  --card: #fbf8f2;
  --link: #1a3654;
  --ok: #1e4a34;
  --bad: #8e2424;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.45 "Avenir Next", "Segoe UI", sans-serif;
}
a { color: var(--link); }
h1, h2, .wordmark {
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.1rem; line-height: 1.15; margin: 0 0 0.6rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 0.6rem; }
.mast, main { max-width: 980px; margin: 0 auto; padding: 0 1.25rem; }
.mast { padding-top: 1.1rem; }
.mast-top, .mast-row, .section-head, .actions, .who {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.eyebrow {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.dateline, .meta, .note, .empty, .lede { color: var(--muted); }
.dateline { margin: 0; font-size: 0.85rem; }
.wordmark {
  color: inherit;
  text-decoration: none;
  font-size: 2.4rem;
  line-height: 1;
}
.mast { border-bottom: 3px solid var(--rule); margin-bottom: 1.5rem; padding-bottom: 0.8rem; }
.nav { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.who { font-size: 0.92rem; }
.role { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--muted); }
main { padding-bottom: 3rem; }
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.8fr);
  gap: 2rem;
}
.panel { max-width: 44rem; }
.narrow { max-width: 28rem; }
.story-list, .allocations { list-style: none; padding: 0; margin: 1rem 0 0; }
.story-list li, .allocations li {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.story-list a { color: inherit; text-decoration: none; font-family: Georgia, Palatino, serif; font-size: 1.2rem; }
.meta { margin: 0.25rem 0 0; font-size: 0.88rem; }
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.35rem;
}
.badge-submitted { border-color: #8a6a1f; color: #6d5312; }
.badge-returned, .badge-draft { color: var(--muted); }
.badge-published { border-color: var(--ok); color: var(--ok); }
.flash { padding: 0.7rem 0.8rem; background: var(--card); border-left: 4px solid var(--ok); }
.flash-error { border-left-color: var(--bad); }
label { display: block; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
input, select, textarea, button {
  font: inherit;
  color: inherit;
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 0;
  padding: 0.45rem 0.55rem;
}
label input, label select, label textarea { display: block; width: 100%; margin-top: 0.3rem; text-transform: none; letter-spacing: 0; font-size: 1rem; }
textarea { resize: vertical; }
textarea.script {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  min-height: 16rem;
  white-space: pre;
  width: 100%;
  margin: 0.6rem 0 1rem;
}
.stack { display: grid; gap: 0.85rem; margin: 1rem 0; }
.split { max-width: 40rem; }
button, .button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
}
button.secondary, .button.secondary { background: transparent; color: var(--ink); }
.text-button { background: none; border: 0; padding: 0; color: var(--link); }
.check { text-transform: none; letter-spacing: 0; display: flex; gap: 0.4rem; align-items: center; }
.check input { width: auto; }
.kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: var(--rule); margin-bottom: 0.4rem; }
.standfirst { font-family: Georgia, Palatino, serif; font-size: 1.25rem; }
.copy p, .assets { max-width: 40rem; }
.assets img { max-width: 100%; height: auto; display: block; }
.assets figure { margin: 1rem 0; }
.destination, .secret {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.8rem;
}
.secret { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; word-break: break-all; }
.decision { border-top: 1px solid var(--ink); margin-top: 1.5rem; max-width: 36rem; }
.pager { display: flex; gap: 1rem; flex-wrap: wrap; }
.posture { list-style: none; padding: 0; margin: 1rem 0; }
.posture li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}
.mark { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.mark-met { color: var(--ok); }
.mark-gap { color: var(--bad); }
.stat { margin: 0.2rem 0; }
.section-head { align-items: center; }
@media (max-width: 800px) {
  .desk-grid, .mast-row { display: block; }
  .wordmark { display: inline-block; margin: 0.4rem 0; }
  .nav { margin: 0.4rem 0; }
}
