/* ═══════════════════════════════════════════════════════════════════
   THE WIRE · GOOD VIBES NEWSROOM — Skin v2 "Modern Brutalist"
   2026-07-20 · Frank's cut. Zero radius forever. Ink + paper + lime.
   Inspo digested: Linear density, shadcn spacing rhythm, sonner toasts,
   Raygun easing. No frameworks, no fakery.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink: #141416;
  --paper: #f6f5f1;
  --surface: #ffffff;
  --muted: #6f6f78;
  --faint: #a1a1aa;
  --line: #e4e4e0;
  --lime: #ebf99a;
  --blue: #1a73e8;
  --green: #34a853;
  --yellow: #fbbc04;
  --red: #ea4335;
  --f-body: "Inter", -apple-system, sans-serif;
  --f-display: "Space Grotesk", "Inter", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", monospace;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; border-radius: 0 !important; }
::selection { background: var(--lime); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 2px solid var(--ink);
  background: var(--surface);
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-brand { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand-sub { font-weight: 500; color: var(--muted); font-size: 13px; }
.brand-home { color: var(--ink); text-decoration: none; }
.topbar-meta { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.staff-link {
  border: 1.5px solid var(--ink);
  padding: 6px 12px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
}
.staff-link:hover { background: var(--ink); color: #fff; }
.rail-toggle {
  border: 1.5px solid var(--ink);
  background: var(--surface);
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1;
}
.rail-toggle:hover { background: var(--lime); }

/* ── Layout ── */
.layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: calc(100vh - 55px); }
.layout.rail-closed { grid-template-columns: minmax(0, 1fr); }
.layout.rail-closed .sidebar { display: none; }
.layout > .content { min-width: 0; }
.layout > .sidebar { min-width: 0; }

/* ── Sidebar ── */
.sidebar {
  border-right: 2px solid var(--ink);
  padding: 18px 14px 40px;
  background: var(--surface);
  position: sticky;
  top: 55px;
  height: calc(100vh - 55px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.panel { border: none; padding: 0; margin-bottom: 22px; background: none; }
.panel h2 {
  margin: 0 0 8px 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.pill {
  display: block;
  padding: 7px 10px;
  border: 1.5px solid var(--ink);
  margin-bottom: 5px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}
.pill:hover { background: var(--ink); color: #fff; }
.pill.active { background: var(--ink); color: #fff; }
.pill.active .chip, .pill:hover .chip { background: var(--lime); color: var(--ink); }
.chip {
  border: 1px solid var(--ink);
  background: var(--lime);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  line-height: 1.5;
}
.archive-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.archive-row strong { color: var(--ink); }

/* Sidebar expanders */
details.lane-group { margin-bottom: 5px; }
details.lane-group > summary.lane-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
details.lane-group > summary.lane-summary::-webkit-details-marker { display: none; }
details.lane-group > summary.lane-summary::after { content: "▸"; font-size: 10px; color: var(--faint); }
details.lane-group[open] > summary.lane-summary::after { content: "▾"; }
details.lane-group[open] > summary.lane-summary { background: var(--ink); color: #fff; }
.lane-sub { border-left: 1.5px solid var(--line); margin: 5px 0 10px 9px; padding-left: 7px; }
.sub-pill {
  font-size: 11.5px;
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-width: 1px;
  border-color: var(--line);
}
.sub-pill:hover { border-color: var(--ink); }
.sub-pill.active { border-color: var(--ink); }
.btn-pill { width: 100%; text-align: left; cursor: pointer; font-family: var(--f-body); }
.export-gold { background: var(--lime); font-weight: 700; border-color: var(--ink); }
.marksmith-pill { background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; }
details[open] > .marksmith-pill::after { color: #fff; }

/* ── Content column: the reading measure ── */
.content { padding: 22px 28px 120px; max-width: 900px; margin: 0 auto; width: 100%; }

/* ── Select strip ── */
.select-strip {
  position: sticky;
  top: 55px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 9px 14px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
}
.bulk-selectall { display: flex; align-items: center; gap: 7px; font-weight: 700; cursor: pointer; }
.bulk-selectall input { width: 15px; height: 15px; accent-color: var(--ink); cursor: pointer; }
.strip-count { color: var(--muted); }
.strip-divider { width: 1.5px; height: 16px; background: var(--line); }
.strip-hint { margin-left: auto; color: var(--faint); font-size: 10px; }
.fresh-label { font-weight: 700; font-size: 9.5px; letter-spacing: 0.1em; color: var(--faint); }
.fresh-pill {
  border: 1.5px solid var(--ink);
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
}
.fresh-pill:hover { background: var(--ink); color: #fff; }
.fresh-pill.active { background: var(--lime); }
.refresh-form { display: inline-flex; }
.refresh-btn {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}
.refresh-btn:hover { background: var(--lime); color: var(--ink); }
.refresh-btn:disabled { opacity: 0.55; cursor: wait; }

/* ── Lane banner ── */
.lane-banner {
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 11px 14px;
  margin-bottom: 20px;
  font-family: var(--f-display);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface);
}
.lane-banner-gold { background: #fff3c4; }
.lane-banner-silver { background: #eceff1; }
.lane-banner-bronze { background: #f5e0cc; }
.lane-banner-braindump { background: #ede7f6; }
.lane-banner-archived { background: #f0f0ee; }

/* ── Cards ── */
@keyframes card-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card {
  border: 2px solid var(--ink);
  background: var(--surface);
  margin-bottom: 22px;
  padding: 0 20px 16px;
  box-shadow: 3px 3px 0 var(--ink);
  animation: card-rise 0.3s var(--ease-spring) both;
}
.card:nth-child(2) { animation-delay: 0.03s; }
.card:nth-child(3) { animation-delay: 0.06s; }
.card:nth-child(4) { animation-delay: 0.09s; }
.card:nth-child(5) { animation-delay: 0.12s; }
.card:nth-child(6) { animation-delay: 0.15s; }
.card.selected { outline: 3px solid var(--blue); outline-offset: -3px; }
.card h3 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 14px 0 4px;
  overflow-wrap: anywhere;
}
.card > p { font-size: 13.5px; line-height: 1.6; color: #3d3d43; margin: 10px 0; overflow-wrap: anywhere; }
.card > p > strong {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 2px;
}
.source { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 0 0 4px; }
.source a { color: var(--blue); word-break: break-all; text-decoration: none; }
.source a:hover { text-decoration: underline; }

/* Card meta band */
:root { --band: #e6f0ff; --band-ink: #10243f; }
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: var(--band);
  color: var(--band-ink);
  border-bottom: 1.5px solid var(--ink);
  margin: 0 -20px 4px;
  padding: 8px 14px;
}
.badges { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.card-check { display: inline-flex; align-items: center; margin-right: 3px; }
.card-check input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.card-times { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; margin-left: 10px; }
.pub-time { font-family: var(--mono); font-size: 11px; color: var(--band-ink); font-weight: 600; white-space: nowrap; }
.sourced-time { font-family: var(--mono); font-size: 9.5px; color: #7d8fa8; white-space: nowrap; letter-spacing: 0.02em; }

/* Badges */
.badge {
  border: 1px solid var(--ink);
  padding: 2.5px 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
}
.badge.section.sec-national { background: #dbeafe; color: #1e40af; }
.badge.section.sec-local { background: #d1fae5; color: #065f46; }
.badge.section.sec-fun { background: #ede9fe; color: #5b21b6; }
.badge.category.cat-eats { background: #f59e0b; color: #fff; }
.badge.category.cat-community { background: #14b8a6; color: #fff; }
.badge.category.cat-development { background: #6366f1; color: #fff; }
.badge.category.cat-business { background: #475569; color: #fff; }
.badge.category.cat-entertainment { background: #ec4899; color: #fff; }
.badge.category.cat-sports { background: #ef4444; color: #fff; }
.badge.hov { background: var(--ink); color: var(--lime); border-color: var(--lime); }
.badge.status-pending_review { background: #fff4ce; }
.badge.status-approved { background: #d9f6df; }
.badge.status-rejected { background: #fad2cf; }
.badge.wire { background: var(--lime); color: var(--ink); }
.badge.planning { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.badge.saved { background: #d9f6df; }
.badge.kicker {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  vertical-align: middle;
  font-size: 10px;
  margin-right: 4px;
}

/* ── MARKSMITH block ── */
.marksmith-block {
  border: 1.5px solid var(--ink);
  background: #fffdf2;
  padding: 12px 16px;
  margin: 14px 0 6px;
  box-shadow: 3px 3px 0 var(--lime), 3px 3px 0 1.5px var(--ink);
}
.marksmith-head {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}
.marksmith-at { color: var(--faint); font-weight: 400; font-size: 9.5px; }
.marksmith-headline { margin: 0 0 5px; font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.marksmith-copy { margin: 0; font-size: 14px; line-height: 1.62; }

/* ── Card action rows ── */
.lane-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.lane-strip form { display: flex; gap: 0; flex-wrap: wrap; }
.lane-strip form + form { margin-left: 2px; }
.lane-btn {
  border: 1.5px solid var(--ink);
  background: var(--surface);
  padding: 5px 10px;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
  margin-left: -1.5px;
}
.lane-strip form .lane-btn:first-child { margin-left: 0; }
.lane-btn:hover { background: var(--ink); color: #fff; position: relative; z-index: 1; }
.lane-btn.lane-gold:hover { background: #fff3c4; color: var(--ink); }
.lane-btn.lane-silver:hover { background: #eceff1; color: var(--ink); }
.lane-btn.lane-bronze:hover { background: #f5e0cc; color: var(--ink); }
.lane-btn.lane-braindump:hover { background: #ede7f6; color: var(--ink); }
.lane-btn.remove:hover { background: #fad2cf; color: var(--ink); }
.lane-btn.restore:hover { background: #d9f6df; color: var(--ink); }
.lane-btn.gsave.on { background: #d9f6df; }
.lane-btn.marksmith-btn { background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10.5px; }
.lane-btn.marksmith-btn:hover { background: var(--lime); color: var(--ink); }
.rank-chip {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 8px;
}
.rank-form { display: inline-flex; gap: 0; }
.rank-btn { padding: 5px 9px; font-size: 10px; }
.move-form { display: flex; align-items: center; gap: 6px; }
.move-label { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.move-form select { border: 1.5px solid var(--ink); padding: 5px 7px; font-size: 11.5px; background: var(--surface); font-family: var(--f-body); }

/* Editor row */
.editor-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 96px 168px 1fr 88px;
  gap: 0;
}
.editor-form input, .editor-form select, .editor-form button {
  border: 1.5px solid var(--line);
  border-right-width: 0;
  padding: 7px 9px;
  font-size: 12px;
  font-family: var(--f-body);
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
}
.editor-form input:focus, .editor-form select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fffdf2;
}
.editor-form button {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 11.5px;
}
.editor-form button:hover { background: var(--lime); color: var(--ink); }

/* ── Command Dock ── */
.command-dock {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 160%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(96vw, 1080px);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--lime);
  padding: 10px 14px;
  transition: transform 180ms var(--ease-spring);
}
.command-dock.show { transform: translate(-50%, 0); }
.dock-count {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 11px;
}
.dock-editor {
  width: 78px;
  border: 1.5px solid #3f3f46;
  background: transparent;
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 6px 8px;
}
.dock-editor:focus { outline: none; border-color: var(--lime); }
.dock-divider { width: 1.5px; align-self: stretch; background: #3f3f46; }
.dock-btn {
  border: 1.5px solid #52525b;
  background: transparent;
  color: #fff;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.dock-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.dock-btn kbd {
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8.5px;
  padding: 0.5px 4px;
  opacity: 0.65;
}
.dock-btn.dock-lane-gold:hover { background: #fff3c4; }
.dock-btn.dock-lane-silver:hover { background: #eceff1; }
.dock-btn.dock-lane-bronze:hover { background: #f5e0cc; }
.dock-btn.dock-lane-braindump:hover { background: #ede7f6; }
.dock-btn.approve:hover { background: var(--green); color: #fff; border-color: var(--green); }
.dock-btn.reject:hover { background: var(--red); color: #fff; border-color: var(--red); }
.dock-btn.clear { border-style: dashed; opacity: 0.75; }

/* ── Toasts ── */
#toast-stack {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.toast {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  animation: toast-in 0.25s var(--ease-spring) both;
}
.toast.gone { opacity: 0; transform: translateX(24px); transition: all 220ms var(--ease-spring); }
.toast-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 600;
}
.toast-undo {
  border: 1.5px solid var(--ink);
  background: var(--lime);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}
.toast-undo:hover { background: var(--ink); color: var(--lime); }
.toast-timer { height: 3px; background: var(--lime); animation: toast-timer 4.5s linear forwards; }
@keyframes toast-timer { from { width: 100%; } to { width: 0; } }
.fresh-toast {
  position: fixed;
  top: 68px;
  right: 26px;
  z-index: 70;
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  animation: toast-in 0.3s var(--ease-spring) both;
}

/* ── Wire Inbox + Publications ── */
.wire-inbox { max-width: 860px; margin: 0 auto; padding: 22px 28px 80px; }
.wire-inbox-note {
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: #e8f0fe;
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.wire-pitch { white-space: pre-wrap; }
.wire-attachments .inline-pill { display: inline-block; margin: 2px 6px 2px 0; padding: 4px 9px; width: auto; }
.wire-uid { font-family: var(--mono); font-size: 9.5px; color: var(--faint); margin-bottom: 0; }
.pub-card.pub-archived { opacity: 0.55; }
.pub-card.pub-locked { border-width: 3px; }
.lane-strip a.lane-btn { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; }

/* ═══ WIRE PUBLIC PAGES ═══ */
.wire-public { background: var(--paper); }
.wire-hero { display: flex; justify-content: center; padding: 64px 20px 36px; }
.wire-hero-inner { max-width: 720px; }
.wire-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: 1.5px solid var(--ink);
  display: inline-block;
  padding: 5px 11px;
  background: var(--lime);
  margin: 0 0 22px;
}
.wire-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.wire-lede { font-size: 17px; line-height: 1.6; max-width: 600px; color: #3d3d43; }
.wire-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.wire-cta {
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(20, 20, 22, 0.25);
  cursor: pointer;
}
.wire-cta:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(20, 20, 22, 0.3); }
.wire-cta.ghost { background: var(--surface); color: var(--ink); }
.wire-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 24px; }
.wire-facts .fact {
  border: 1.5px solid var(--ink);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 14px;
  font-size: 13px;
  line-height: 1.45;
}
.wire-facts .fact strong { display: block; font-family: var(--mono); color: var(--blue); font-size: 13px; margin-bottom: 5px; }
.wire-footnote { font-size: 12.5px; color: var(--muted); }
.wire-footnote a { color: var(--blue); }
.wire-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 2px solid var(--ink);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}
.wire-form-wrap { max-width: 680px; margin: 0 auto; padding: 44px 20px 80px; }
.wire-form-title { font-family: var(--f-display); font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.025em; margin: 0 0 8px; }
.wire-form-sub { color: #3d3d43; margin: 0 0 26px; line-height: 1.55; }
.req { color: var(--red); }
.form-errors {
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: #fad2cf;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.form-errors p { margin: 4px 0; font-size: 13.5px; font-weight: 600; }
.wire-form { display: flex; flex-direction: column; gap: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--ink);
  padding: 11px 12px;
  font-size: 14.5px;
  font-family: var(--f-body);
  background: var(--surface);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--lime);
}
.wire-form-note { font-size: 12.5px; color: var(--muted); border-left: 3px solid var(--lime); padding-left: 12px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .layout, .layout.rail-closed { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: none; border-bottom: 2px solid var(--ink); }
  .editor-form { grid-template-columns: 1fr 1fr; }
  .editor-form input, .editor-form select { border-right-width: 1.5px; }
}
@media (max-width: 720px) {
  .content { padding: 16px 14px 140px; }
  .field-grid, .wire-facts { grid-template-columns: 1fr; }
  .command-dock { bottom: 12px; gap: 5px; padding: 8px; }
  .strip-hint { display: none; }
  .editor-form { grid-template-columns: 1fr; }
}

/* ── THE WIRE inbox lanes (2026-07-20) ── */
.wire-lane-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.wire-lane-tabs .fresh-pill { font-size: 12px; padding: 6px 11px; display: inline-flex; align-items: center; gap: 6px; }
.wire-addr { font-family: var(--mono); font-size: 10.5px; background: var(--lime); border: 1.5px solid var(--ink); padding: 3px 8px; color: var(--ink); }
.badge.tag { background: var(--paper); border-style: dashed; text-transform: lowercase; }
.att-preview { opacity: 0.55; font-size: 9px; font-family: var(--mono); }
.wire-inbox .lane-strip form { display: flex; gap: 0; flex-wrap: wrap; }
.planning-note { background: #fff3c4; }
.planning-card h3 { margin-bottom: 7px; }
.planning-evidence {
  border-left: 3px solid var(--ink);
  background: var(--paper);
  padding: 10px 12px;
  margin: 12px 0;
}
.planning-evidence ul { margin: 7px 0 0; padding-left: 20px; }
.planning-evidence li { margin: 4px 0; line-height: 1.45; }
.evidence-page { font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--lime); padding: 1px 4px; }
.planning-related { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.planning-error { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.disabled-pill { opacity: 0.55; cursor: not-allowed; }

/* ── RED LABEL (open-gates discipline, 2026-07-20) ── */
.badge.redlabel { background: var(--red); color: #fff; border-color: var(--red); }
.fresh-pill.red-pill.active { background: var(--red); color: #fff; }
.fresh-pill.red-pill:hover { background: var(--red); color: #fff; }
