:root {
  --ft-color-brand: #c8320b;
  --ft-color-brand-strong: #a82908;
  --ft-color-brand-soft: #f4dfd6;
  --ft-color-page: #f6f2e9;
  --ft-color-panel: #fbfaf6;
  --ft-color-border: #d8cdbd;
  --ft-color-border-strong: #b9aa95;
  --ft-color-text: #191817;
  --ft-color-muted: #575149;
  --ft-color-warning-bg: #f5ecd7;
  --ft-color-warning-text: #73520f;
  --ft-color-warning-border: #cdb783;
  --ft-color-success-bg: #e2eee9;
  --ft-color-success-text: #0f6958;
  --ft-color-danger: #a72b20;
  --ft-color-danger-bg: #f4dfda;
  --ft-color-neutral-bg: #ece6db;
  --ft-color-neutral-text: #575149;
  --ft-gradient-brand: #c8320b;
  --ft-gradient-brand-deep: #a82908;
  --ft-focus-ring: 0 0 0 3px rgba(200, 50, 11, .18);
  --ft-sidebar-width: 188px;
  --ft-content-max: 1600px;
  --ft-radius-sm: 2px;
  --ft-radius-md: 3px;
  --ft-radius-card: 3px;
  --ft-radius-pill: 999px;
  --ft-shadow-card: none;
  --ft-font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --ft-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}

::selection { color: #fff; background: var(--ft-color-brand); }
* { scrollbar-width: thin; scrollbar-color: #b9aa95 transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { border: 2px solid transparent; background: #b9aa95; background-clip: padding-box; }
html { background: var(--ft-color-page); scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 82% 8%, rgba(200, 50, 11, .035), transparent 28rem),
    linear-gradient(180deg, #f8f5ed 0, var(--ft-color-page) 32rem);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { caret-color: var(--ft-color-brand); }
a { color: #4b443b; text-underline-offset: 3px; }
a:hover { color: var(--ft-color-brand-strong); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ft-color-brand);
  outline-offset: 2px;
}

.app-shell { grid-template-columns: var(--ft-sidebar-width) minmax(0, 1fr); }
.sidebar {
  padding: 0;
  color: var(--ft-color-text);
  background: rgba(244, 239, 230, .96);
  border-right-color: var(--ft-color-border);
}
.brand {
  min-height: 74px;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid var(--ft-color-border);
  font-family: var(--ft-font-display);
}
.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--ft-color-brand);
  background: transparent;
  border: 1px solid var(--ft-color-brand);
  border-radius: 0;
  box-shadow: none;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 600;
}
.brand strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.brand small { color: #575149; font-family: var(--ft-font-ui); font-size: 10px; letter-spacing: .015em; }
.nav-list { gap: 2px; margin: 0; padding: 20px 0; counter-reset: station-nav; }
.nav-item {
  min-height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #5f584f;
  border-radius: 0;
  font-family: var(--ft-font-display);
  font-size: 14px;
  font-weight: 500;
  counter-increment: station-nav;
  transition: color .16s ease, background-color .16s ease;
}
.nav-item::after {
  content: "0" counter(station-nav);
  margin-left: auto;
  color: #91877a;
  font-family: var(--ft-font-mono);
  font-size: 8px;
  letter-spacing: .08em;
}
.nav-item:hover { color: var(--ft-color-text); background: rgba(128, 100, 47, .07); }
.nav-item.active {
  color: var(--ft-color-brand);
  background: transparent;
  box-shadow: inset 3px 0 0 var(--ft-color-brand);
  font-weight: 600;
}
.nav-item.active::after { color: var(--ft-color-brand); }
.sidebar-boundary {
  margin: auto 16px 22px;
  padding: 15px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ft-color-border);
  border-radius: 0;
}
.sidebar-boundary strong { font-family: var(--ft-font-display); font-size: 11px; font-weight: 600; }
.sidebar-boundary small { margin-top: 4px; font-size: 9px; line-height: 1.55; }
.status-dot { width: 6px; height: 6px; background: #0f6958; box-shadow: none; }

.topbar {
  min-height: 74px;
  padding: 13px 28px;
  background: rgba(248, 245, 237, .95);
  border-bottom-color: var(--ft-color-border);
  backdrop-filter: blur(18px);
}
.topbar h1 {
  margin-top: 0;
  font-family: var(--ft-font-display);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 500;
  letter-spacing: -.025em;
}
.eyebrow { color: #655e55; font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.user-avatar {
  color: var(--ft-color-brand);
  background: transparent;
  border: 1px solid var(--ft-color-brand);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--ft-font-display);
}
.page-frame > .ui-notice {
  padding: 9px 28px;
  color: #594f42;
  background: #f3ecdf;
  border-bottom-color: var(--ft-color-border);
}
.ui-notice--boundary { color: #73520f; background: #f5ecd7; border-color: #cdb783; }
.ui-notice--simulation { color: #594f42; background: #efe8de; border-color: var(--ft-color-border); }
.content { padding: 18px 22px 34px; }
.footer { padding: 16px 22px 24px; font-family: var(--ft-font-display); font-size: 10px; }

.panel,
.station-secondary-view,
.dashboard-panel,
.dashboard-metric,
.station-mail-hero,
.station-mail-status,
.station-mail-inbox,
.station-mail-boundary {
  background: rgba(251, 250, 246, .72);
  border-color: var(--ft-color-border);
  border-radius: 3px;
  box-shadow: none;
}
.panel { padding: 20px; }
.panel-header { margin-bottom: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--ft-color-border); }
.panel-header h2,
.station-mail-hero h2,
.station-mail-heading h2,
.station-mail-boundary h2,
.dashboard-panel__header h2,
.dashboard-panel__header h3 {
  font-family: var(--ft-font-display);
  font-weight: 500;
  letter-spacing: -.015em;
}
.metric-grid { gap: 0; border: 1px solid var(--ft-color-border); }
.metric-card {
  min-height: 112px;
  padding: 18px 20px;
  background: rgba(251, 250, 246, .72);
  border: 0;
  border-right: 1px solid var(--ft-color-border);
  border-radius: 0;
  box-shadow: none;
}
.metric-card:last-child { border-right: 0; }
.metric-card span, .metric-card small { font-family: var(--ft-font-display); }
.metric-card strong { color: var(--ft-color-text); font-family: var(--ft-font-display); font-size: 34px; font-weight: 400; }
.metric-card .metric-zero { color: var(--ft-color-brand); }

.button {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
}
.button-primary { color: #fff; background: var(--ft-color-brand); border-color: var(--ft-color-brand); }
.button-primary:hover { background: var(--ft-color-brand-strong); filter: none; }
.button-quiet { color: #39342e; background: transparent; border-color: var(--ft-color-border-strong); }
.button-quiet:hover { color: #fff; background: var(--ft-color-text); }
input, select {
  min-height: 40px;
  color: var(--ft-color-text);
  background: rgba(255, 255, 255, .34);
  border-color: var(--ft-color-border-strong);
  border-radius: 2px;
}
th { color: #5d564d; background: #f0eadf; border-bottom-color: var(--ft-color-border-strong); font-family: var(--ft-font-display); }
td { border-bottom-color: var(--ft-color-border); }
tbody tr:hover { background: rgba(128, 100, 47, .055); }
.badge, .policy-chip, .role-chip, .lock-chip, .attribution-chip, .mail-route-chip, .mode-chip {
  border-radius: 2px;
  font-weight: 600;
}

.station-dashboard {
  --sd-color-brand: var(--ft-color-brand);
  --sd-color-brand-strong: var(--ft-color-brand-strong);
  --sd-color-brand-soft: var(--ft-color-brand-soft);
  --sd-color-page: var(--ft-color-page);
  --sd-color-panel: rgba(251, 250, 246, .72);
  --sd-color-border: var(--ft-color-border);
  --sd-color-border-strong: var(--ft-color-border-strong);
  --sd-color-text: var(--ft-color-text);
  --sd-color-muted: var(--ft-color-muted);
  --sd-radius-sm: 2px;
  --sd-radius-md: 3px;
  --sd-radius-card: 3px;
  --sd-shadow-card: none;
}
.station-dashboard__boundary { border-radius: 2px; }
.station-dashboard__title { font-family: var(--ft-font-display); font-weight: 500; letter-spacing: -.025em; }
.station-dashboard__eyebrow { color: #655e55; font-weight: 600; }
.station-dashboard__metrics { gap: 0; border: 1px solid var(--ft-color-border); }
.dashboard-metric {
  min-height: 118px;
  border: 0;
  border-right: 1px solid var(--ft-color-border);
  border-radius: 0;
}
.dashboard-metric:last-child { border-right: 0; }
.dashboard-metric__value { color: var(--ft-color-text); font-family: var(--ft-font-display); font-size: 36px; font-weight: 400; }
.dashboard-panel { overflow: hidden; }
.dashboard-panel__header h2, .dashboard-panel__header h3 { font-family: var(--ft-font-display); font-weight: 500; }
.station-context-chip, .dashboard-pill, .evidence-level, .conclusion-chip, .evidence-push-status, .execution-role { border-radius: 2px; }
.evidence-meter__track { height: 4px; border: 0; border-radius: 0; }
.evidence-meter__fill { background: #80642f; border-radius: 0; }
.case-table tbody tr:hover { background: rgba(128, 100, 47, .055); }

.station-mail-hero { background: rgba(251, 250, 246, .72); }
.station-mail-hero p, .station-mail-boundary p, .mail-toggle, .mail-body-preview, .mail-send-locked { color: var(--ft-color-muted); }
.station-mail-facts { gap: 0; border: 1px solid var(--ft-color-border); }
.station-mail-facts > div { padding: 15px; background: transparent; border-right: 1px solid var(--ft-color-border); border-radius: 0; }
.station-mail-facts > div:last-child { border-right: 0; }
.station-mail-row { border-color: var(--ft-color-border); border-radius: 2px; }
.station-mail-row:hover { background: rgba(128, 100, 47, .055); }
.station-mail-row.selected { border-color: var(--ft-color-brand); background: rgba(200, 50, 11, .04); }
.station-mail-notice, .station-mail-empty { color: var(--ft-color-muted); background: #efe8dc; border-radius: 2px; }
.mail-body-preview { background: rgba(255, 255, 255, .2); border-color: var(--ft-color-border-strong); border-radius: 2px; }
.mail-send-locked { background: #ece6dc; border-color: var(--ft-color-border); border-radius: 3px; }
.mail-send-locked h2 { color: var(--ft-color-text); font-family: var(--ft-font-display); font-weight: 500; }

.landing-topbar-mark, .login-brand .brand-mark { color: var(--ft-color-brand); background: transparent; border-color: var(--ft-color-brand); }
.landing-badge, .landing-topbar-chip { color: var(--ft-color-brand-strong); background: #f1e5dc; border-color: #d7b8a8; }
.landing h1, .landing h2, .landing h3, .landing-flow-ring { font-family: var(--ft-font-display); }
.landing-cta, .landing-topbar-login { background: var(--ft-color-brand); border-color: var(--ft-color-brand); border-radius: 2px; }
.landing-cta:hover, .landing-topbar-login:hover { background: var(--ft-color-brand-strong); }
.landing-card { background: #f8f4eb; border-color: var(--ft-color-border); border-radius: 3px; }
.landing-module-grid li, .landing-pillars li, .landing-flow-ring { border-radius: 2px; }

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover::after { transform: translateX(-2px); }
  .nav-item::after { transition: transform .16s ease; }
}

@media (pointer: coarse) {
  .nav-item, .button, .station-mail-row { min-height: 44px; }
}

@media (max-width: 1100px) {
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--ft-color-border); }
  .dashboard-metric:nth-child(2) { border-right: 0; }
  .dashboard-metric:nth-child(-n+2) { border-bottom: 1px solid var(--ft-color-border); }
}

@media (max-width: 780px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .sidebar { position: static; width: auto; overflow: visible; border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
  .brand { min-height: 64px; padding: 0 16px; }
  .nav-list {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--ft-color-border);
  }
  .nav-item { min-width: max-content; min-height: 50px; padding: 0 15px; font-size: 12px; }
  .nav-item.active { box-shadow: inset 0 -3px var(--ft-color-brand); }
  .nav-item::after { margin-left: 8px; }
  .topbar { position: static; min-height: 68px; padding: 12px 16px; }
  .topbar .eyebrow { display: none; }
  .page-frame > .ui-notice { padding-inline: 16px; }
  .content { padding: 16px; }
  .metric-grid, .station-dashboard__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-mail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-mail-facts > div:nth-child(2) { border-right: 0; }
  .station-mail-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--ft-color-border); }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .topbar { align-items: flex-start; }
  .user-menu { gap: 8px; }
  .content { padding: 12px; }
  .panel { padding: 15px; }
  .metric-card, .dashboard-metric { min-height: 98px; padding: 14px; }
  .metric-card strong, .dashboard-metric__value { font-size: 28px; }
  .station-mail-hero { padding: 18px; }
}

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

/* Eight production work surfaces — source-matched editorial ledger layer. */
body {
  min-width: 320px;
  background-color: var(--ft-color-page);
  background-image: url("/static/img/paper-grain.png");
  background-repeat: repeat;
}

img { max-width: 100%; }
.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 16px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ft-color-text);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

.sidebar {
  padding: 0;
  background-color: rgba(244, 239, 230, .94);
  background-image: url("/static/img/paper-grain.png");
  box-shadow: 8px 0 34px rgba(69, 52, 30, .025);
}
.brand {
  min-height: 74px;
  padding: 0 20px;
  gap: 9px;
  white-space: nowrap;
}
.brand strong { font-size: 16px; letter-spacing: -.02em; }
.brand > span {
  padding-left: 9px;
  border-left: 1px solid var(--ft-color-border);
  color: #39342e;
  font-family: var(--ft-font-display);
  font-size: 14px;
}
.nav-caption {
  margin: 18px 20px 2px;
  color: #777064;
  font-family: var(--ft-font-display);
  font-size: 9px;
  letter-spacing: .08em;
}
.nav-list { margin: 0; padding: 7px 0 17px; }
.nav-item { gap: 12px; text-decoration: none; }
.nav-item img,
.surface-tab img,
.topbar img,
.button img,
.outline-button img,
.primary-button img,
.locked-button img,
.command-list img,
.reader-actions img,
.boundary-note img,
.inline-search img,
.command-center-search img,
.time-note img {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  object-fit: contain;
}
.nav-item img { opacity: .72; }
.nav-item.active img { opacity: 1; }
.sidebar-meta {
  margin-top: auto;
  padding: 16px 18px 14px;
  border-top: 1px solid #e2d9cc;
}
.sidebar-meta dl { margin: 0; display: grid; gap: 8px; }
.sidebar-meta dl div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px;
  color: var(--ft-color-muted);
  font-size: 9px;
}
.sidebar-meta dt,
.sidebar-meta dd { margin: 0; }
.sidebar-meta dd { overflow: hidden; color: #2c2925; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-meta p {
  margin: 13px 0 0;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #e2d9cc;
  color: #575149;
  font-size: 9px;
  line-height: 1.4;
}
.sidebar-meta .status-dot { margin: 0; }
.sidebar-boundary {
  display: block;
  margin: 0 17px 18px;
  padding: 13px 0 0;
}
.sidebar-boundary strong,
.sidebar-boundary small { display: block; }
.sidebar-boundary small { margin-top: 5px; color: #71695f; }

.page-frame { min-height: 100vh; }
.topbar {
  height: 74px;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(255px, 350px) auto auto;
  gap: 18px;
  padding: 0 21px 0 27px;
  background-color: rgba(247, 244, 237, .96);
  background-image: url("/static/img/paper-grain.png");
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.product-lockup {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
  overflow: hidden;
  font-family: var(--ft-font-display);
  white-space: nowrap;
}
.product-lockup strong { overflow: hidden; font-size: 16px; font-weight: 500; text-overflow: ellipsis; }
.product-lockup span { color: #3e3933; font-size: 11px; }
.product-lockup small { color: #776f64; font-family: var(--ft-font-ui); font-size: 9px; }
.topbar-state {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #49443c;
  font-family: var(--ft-font-display);
  font-size: 10px;
  white-space: nowrap;
}
.topbar-state span { display: flex; align-items: center; gap: 7px; }
.topbar-state span + span { padding-left: 14px; border-left: 1px solid #e4dbce; }
.topbar-state img { width: 14px; height: 14px; }
.production-indicator {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--ft-color-brand);
}
.command-search {
  height: 42px;
  min-width: 0;
  padding: 0 10px 0 14px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #d8c6ad;
  border-radius: 4px;
  color: #6f685f;
  background: rgba(255, 255, 255, .34);
  font-family: var(--ft-font-display);
  font-size: 10px;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.command-search:hover {
  color: var(--ft-color-text);
  border-color: #80642f;
  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 24px rgba(77, 57, 31, .06);
  text-decoration: none;
}
.command-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
kbd {
  padding: 2px 5px;
  border: 1px solid #e1d7c9;
  border-radius: 3px;
  color: #6b645b;
  background: rgba(255,255,255,.42);
  font-family: var(--ft-font-ui);
  font-size: 9px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(75, 60, 40, .08);
}
.today-date { display: flex; align-items: center; gap: 7px; font-family: var(--ft-font-display); font-size: 10px; white-space: nowrap; }
.today-date img { width: 15px; height: 15px; }
.user-menu { gap: 8px; }
.user-menu .button { min-height: 34px; padding-inline: 10px; }
.user-avatar { width: 29px; height: 29px; }

.surface-nav {
  min-height: 53px;
  position: sticky;
  z-index: 8;
  top: 74px;
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  border-bottom: 1px solid var(--ft-color-border);
  background-color: rgba(246, 242, 233, .97);
  background-image: url("/static/img/paper-grain.png");
  backdrop-filter: blur(18px);
}
.surface-tab {
  min-width: 0;
  position: relative;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-right: 1px solid #e4dbce;
  color: #655e54;
  font-family: var(--ft-font-display);
  font-size: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.surface-tab:last-child { border-right: 0; }
.surface-tab span { overflow: hidden; text-overflow: ellipsis; }
.surface-tab small { color: #9a9185; font-family: "Courier New", monospace; font-size: 8px; letter-spacing: .05em; }
.surface-tab:hover { color: var(--ft-color-text); background: rgba(128, 100, 47, .055); text-decoration: none; }
.surface-tab.active { color: var(--ft-color-brand); }
.surface-tab.active::after { content: ""; height: 3px; position: absolute; inset: auto 0 0; background: var(--ft-color-brand); }
.surface-tab.active small { color: var(--ft-color-brand); }
.surface-tab img { width: 16px; height: 16px; opacity: .78; }

.content {
  width: min(var(--ft-content-max), 100%);
  min-height: calc(100vh - 180px);
  padding: 18px 22px 34px;
  outline: 0;
}
.footer { display: flex; justify-content: space-between; gap: 16px; text-align: left; }

.view-heading {
  min-height: 174px;
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 20px 24px 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--ft-color-border);
  background: rgba(255,255,255,.16);
  box-shadow: 0 18px 56px rgba(75, 54, 29, .035);
}
.view-heading-field {
  width: min(58%, 720px);
  height: 100%;
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  object-fit: cover;
  object-position: center;
  opacity: .34;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.view-heading-copy { max-width: min(720px, 68%); position: relative; z-index: 1; }
.view-heading h1 { margin: 0 0 9px; font-family: var(--ft-font-display); font-size: clamp(33px, 3.25vw, 54px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.view-heading-copy > p { margin: 0; color: var(--ft-color-muted); font-family: var(--ft-font-display); font-size: 13px; }
.view-heading-meta { min-width: 104px; position: relative; z-index: 1; display: flex; align-items: flex-end; flex-direction: column; gap: 12px; }
.view-folio { color: rgba(60, 52, 42, .62); font-family: var(--ft-font-display); font-size: 49px; font-weight: 400; letter-spacing: -.065em; line-height: .8; }
.production-chip { display: flex; align-items: center; gap: 7px; color: #655e54; font-size: 9px; letter-spacing: .04em; white-space: nowrap; }
.production-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ft-color-brand); }

.module-shell {
  min-height: 260px;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--ft-color-border);
  background-color: rgba(255,255,255,.2);
  background-image: url("/static/img/paper-grain.png");
  box-shadow: 0 20px 62px rgba(79, 60, 35, .055), 0 1px 0 rgba(255,255,255,.68) inset;
}
.module-shell::before {
  content: "";
  width: 100%;
  height: 34px;
  position: absolute;
  z-index: 2;
  inset: -19px 0 auto;
  background: url("/static/img/zine-torn-seam.png") center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.module-toolbar {
  min-height: 62px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ft-color-border);
}
.module-toolbar > p { margin: 0; color: #5b554d; font-family: var(--ft-font-display); font-size: 10px; }
.module-toolbar > .outline-button:last-child { margin-left: auto; }
.segmented { padding: 3px; display: flex; gap: 2px; border: 1px solid var(--ft-color-border); background: #ede7db; }
.segmented button { min-width: 58px; height: 30px; padding: 0 11px; border: 0; color: #686158; background: transparent; font-size: 10px; }
.segmented button:hover,
.segmented button.active { color: #fbfaf6; background: var(--ft-color-text); }
.inline-search,
.command-center-search {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ft-color-border);
  background: rgba(255,255,255,.28);
}
.inline-search { width: min(370px, 36vw); margin-left: auto; }
.inline-search input,
.command-center-search input { width: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.primary-button,
.outline-button,
.locked-button {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ft-color-text);
  border-radius: 0;
  color: var(--ft-color-text);
  background: transparent;
  font-size: 10px;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.primary-button { color: #fff; background: var(--ft-color-brand); border-color: var(--ft-color-brand); }
.primary-button:hover { color: #fff; background: var(--ft-color-brand-strong); text-decoration: none; }
.outline-button:hover,
.outline-button.selected { color: #fff; background: var(--ft-color-text); text-decoration: none; box-shadow: 0 7px 18px rgba(25, 24, 23, .12); }
.locked-button { color: #70695f; border-color: var(--ft-color-border); background: #ede7db; cursor: not-allowed; }
.text-action { min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; border: 0; color: #4e4941; background: transparent; font-family: var(--ft-font-display); font-size: 10px; }

.workbench-view {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--ft-color-border);
  background-color: rgba(255,255,255,.2);
  background-image: url("/static/img/paper-grain.png");
  box-shadow: 0 24px 76px rgba(76, 55, 30, .065), 0 1px 0 rgba(255,255,255,.7) inset;
}
.workbench-hero { min-height: 356px; display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(300px, .92fr); }
.priority-brief { min-width: 0; padding: 22px 28px 12px; }
.brief-kicker { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brief-folio { padding-left: 16px; border-left: 1px solid #e4dbce; color: #716b62; font-family: "Courier New", monospace; font-size: 8px; letter-spacing: .08em; }
.priority-brief > h1 { margin: 16px 0 18px; font-family: var(--ft-font-display); font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.priority-layout { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 288px; align-items: center; }
.priority-layout--single { grid-template-columns: minmax(0, 1fr); }
.priority-copy { min-width: 0; padding-bottom: 18px; }
.case-link {
  max-width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  color: var(--ft-color-text);
  background: transparent;
  font-family: var(--ft-font-display);
  font-size: clamp(32px, 3.8vw, 59px);
  line-height: 1.05;
  letter-spacing: -.05em;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.case-link:hover { color: var(--ft-color-brand-strong); text-decoration: none; }
.case-link b { font-weight: 400; }
.priority-copy > p { margin: 18px 0 27px; color: #4d4841; font-family: var(--ft-font-display); font-size: 12px; line-height: 1.75; }
.mobile-priority-action { display: none; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats > div { min-width: 0; min-height: 72px; padding: 3px 16px 0 0; }
.hero-stats > div + div { padding-left: 19px; border-left: 1px solid #e4dbce; }
.hero-stats span,
.hero-stats strong { display: block; }
.hero-stats span { min-height: 30px; color: #686158; font-family: var(--ft-font-display); font-size: 9px; }
.hero-stats strong { font-family: var(--ft-font-display); font-size: 31px; font-weight: 400; line-height: 1; }
.next-action-card { padding: 23px 25px 20px; border-left: 1px solid var(--ft-color-border); background: rgba(255,255,255,.12); }
.vermillion-action { width: 100%; min-height: 54px; margin-top: 20px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #fff; background: var(--ft-color-brand); font-family: var(--ft-font-display); font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(205,49,9,.13); }
.vermillion-action:hover { color: #fff; background: var(--ft-color-brand-strong); text-decoration: none; }
.next-action-card ol { margin: 24px 0 0; padding: 0; display: grid; gap: 15px; list-style: none; }
.next-action-card li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; color: #4e4942; font-family: var(--ft-font-display); font-size: 10px; line-height: 1.5; }
.next-action-card li > span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--ft-color-border); border-radius: 50%; color: #686158; font-family: var(--ft-font-ui); font-size: 8px; }
.time-note { margin: 19px 0 0; padding-top: 12px; display: flex; align-items: center; gap: 7px; border-top: 1px solid #e4dbce; color: #80642f; font-family: var(--ft-font-display); font-size: 10px; }
.zine-seam { width: 100%; height: 42px; position: relative; z-index: 2; overflow: hidden; margin: -4px 0 -3px; pointer-events: none; }
.zine-seam img { width: 100%; height: 100%; display: block; object-fit: cover; mix-blend-mode: multiply; }
.ledger-panel { min-width: 0; border-top: 1px solid var(--ft-color-border); background: rgba(255,255,255,.08); }
.ledger-panel + .ledger-panel { border-top-color: #e4dbce; }
.ledger-panel > header { min-height: 52px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e4dbce; }
.ledger-panel > header h2 { margin: 0; font-family: var(--ft-font-display); font-size: 13px; font-weight: 600; }
.ledger-panel > header a { font-family: var(--ft-font-display); font-size: 10px; }
.station-live-panel > #station-dashboard-root,
.station-live-panel > #station-funnel-root { padding: 18px; }
.station-live-panel .station-funnel { margin: 0; }
.station-secondary-view { border-radius: 0; box-shadow: none; }

/* Homepage introduction follows the case-centre research brief: one heading,
 * one company summary, one evidence-bound status, and one route forward. */
.workbench-intro-heading {
  min-height: 132px;
  padding: 24px 28px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--ft-color-border);
}
.workbench-intro-heading > div { min-width: 0; }
.workbench-intro-heading h1 {
  margin: 9px 0 7px;
  font-family: var(--ft-font-display);
  font-size: clamp(27px, 3vw, 41px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.workbench-intro-heading > div > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: #575149;
  font-family: var(--ft-font-display);
  font-size: 12px;
  line-height: 1.65;
}
.workbench-intro-action {
  min-width: 174px;
  min-height: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--ft-color-brand);
  font-family: var(--ft-font-display);
  font-size: 11px;
  text-decoration: none;
}
.workbench-intro-action:hover { color: #fff; background: var(--ft-color-brand-strong); text-decoration: none; }
.workbench-intro-action img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.workbench-research-brief {
  min-width: 0;
  margin: 18px 20px 20px;
  padding: 18px 20px 19px;
  display: block;
  color: var(--ft-color-text);
  background: rgba(253,249,241,.86);
  border: 1px solid var(--ft-color-border-strong);
  border-left: 5px solid var(--ft-color-brand);
  text-decoration: none;
}
.workbench-research-brief:hover { color: var(--ft-color-text); background: rgba(253,249,241,.98); text-decoration: none; }
.workbench-research-brief__header {
  min-width: 0;
  padding-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ft-color-border);
}
.workbench-research-brief__header > div { min-width: 0; }
.workbench-research-brief__header p {
  margin: 0 0 4px;
  color: var(--ft-color-brand);
  font-family: var(--ft-font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}
.workbench-research-brief__header h2 {
  max-width: 46ch;
  margin: 0;
  font-family: var(--ft-font-display);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 520;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.workbench-research-brief__header > span {
  max-width: min(34ch, 42%);
  min-height: 30px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ft-color-brand-strong);
  background: var(--ft-color-brand-soft);
  border: 1px solid rgba(200,50,11,.38);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.workbench-research-brief__body { padding-top: 13px; }
.workbench-research-brief__body p {
  margin: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  color: #302c27;
  font-size: 13px;
  line-height: 1.65;
}
.workbench-research-brief__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.workbench-research-brief__grid section {
  min-width: 0;
  margin: 0;
  padding: 8px 10px 9px;
  background: rgba(255, 255, 255, .38);
  border: 1px solid var(--ft-color-border);
}
.workbench-research-brief__grid h3 {
  margin: 0 0 6px;
  color: var(--ft-color-brand-strong);
  font-size: 11px;
  font-weight: 750;
}
.workbench-research-brief__grid ul {
  margin: 0;
  padding-left: 1.1em;
  color: #302c27;
  font-size: 13px;
  line-height: 1.5;
}
.workbench-research-brief__grid li[data-empty="true"] {
  color: #716b62;
  list-style: none;
  margin-left: -1.1em;
}
.workbench-research-brief__body b { color: var(--ft-color-brand-strong); font-weight: 700; }
.workbench-research-brief__conclusion {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px dashed var(--ft-color-border);
}
.workbench-research-brief__body small {
  max-width: 100%;
  margin-top: 10px;
  display: block;
  overflow: hidden;
  color: #716b62;
  font-family: var(--ft-font-mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workbench-view > .zine-seam { height: 32px; margin: -3px 0 -2px; }

.baseline-workbench {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--ft-color-border);
  background-color: rgba(255,255,255,.2);
  background-image: url("/static/img/paper-grain.png");
  box-shadow: 0 24px 76px rgba(76,55,30,.065), 0 1px 0 rgba(255,255,255,.7) inset;
}
.baseline-workbench-hero { min-height: 390px; }
.baseline-priority-brief { padding-bottom: 30px; }
.baseline-priority-copy { min-width: 0; padding-top: 12px; }
.baseline-case-link { white-space: normal; }
.baseline-case-link span { color: var(--ft-color-brand); }
.baseline-priority-copy > p { max-width: 70ch; margin: 19px 0 31px; color: #4d4841; font-family: var(--ft-font-display); font-size: 12px; line-height: 1.75; }
.baseline-hero-stats .accent { color: var(--ft-color-brand); }
.baseline-hero-stats small { display: block; margin-top: 5px; color: #716b62; font-family: var(--ft-font-display); font-size: 8px; line-height: 1.4; }
.baseline-next-action .time-note { color: #73520f; }
.baseline-ledger-panel { border-top: 0; }
.baseline-task-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.baseline-task-strip article { min-width: 0; min-height: 126px; padding: 20px 18px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-content: start; gap: 12px; border-right: 1px solid #e4dbce; }
.baseline-task-strip article:last-child { border-right: 0; }
.baseline-task-strip article > span { color: var(--ft-color-brand); font-family: Georgia, serif; font-size: 18px; }
.baseline-task-strip article > div { min-width: 0; }
.baseline-task-strip strong,
.baseline-task-strip small { display: block; font-family: var(--ft-font-display); }
.baseline-task-strip strong { overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.baseline-task-strip small { margin-top: 5px; color: #716b62; font-size: 8px; line-height: 1.45; }
.baseline-task-strip article > b { grid-column: 2; align-self: end; margin-top: 11px; color: #73520f; font-family: var(--ft-font-display); font-size: 8px; font-weight: 600; }
.baseline-task-strip article > b.is-review { color: #0f6958; }
.baseline-boundary-line { margin: 0; padding: 13px 18px; display: flex; align-items: flex-start; gap: 8px; border-top: 1px solid #e4dbce; color: #686158; font-family: var(--ft-font-display); font-size: 9px; line-height: 1.6; }
.baseline-boundary-line img { width: 16px; height: 16px; flex: 0 0 auto; }
.baseline-quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ft-color-border); }
.baseline-quick-links > a { min-width: 0; min-height: 78px; padding: 13px 18px; display: grid; grid-template-columns: 21px minmax(0, 1fr) 15px; align-items: center; gap: 10px; border-right: 1px solid #e4dbce; color: var(--ft-color-text); text-decoration: none; }
.baseline-quick-links > a:last-child { border-right: 0; }
.baseline-quick-links > a:hover { color: var(--ft-color-brand); background: rgba(128,100,47,.055); }
.baseline-quick-links > a > img:first-child { width: 21px; height: 21px; }
.baseline-quick-links > a > img:last-child { width: 15px; height: 15px; }
.baseline-quick-links span { min-width: 0; display: grid; gap: 3px; }
.baseline-quick-links b { font-family: var(--ft-font-display); font-size: 11px; font-weight: 600; }
.baseline-quick-links small { overflow: hidden; color: #716b62; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.baseline-archive-link { margin: 0; padding: 12px 18px; border-top: 1px solid #e4dbce; color: #716b62; font-family: var(--ft-font-display); font-size: 8px; text-align: right; }
.baseline-cases-empty { display: grid; grid-template-columns: minmax(220px, .46fr) minmax(0, 1.54fr); }
.baseline-cases-empty > div { min-height: 330px; padding: 42px 34px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--ft-color-border); }
.baseline-cases-empty > div span,
.baseline-cases-empty > div strong,
.baseline-cases-empty > div small { display: block; font-family: var(--ft-font-display); }
.baseline-cases-empty > div span { color: #686158; font-size: 10px; }
.baseline-cases-empty > div strong { margin: 24px 0 15px; color: var(--ft-color-brand); font-size: 92px; font-weight: 400; letter-spacing: -.04em; line-height: .8; }
.baseline-cases-empty > div small { max-width: 28ch; color: #716b62; font-size: 9px; line-height: 1.6; }
.baseline-cases-empty > article { min-height: 330px; padding: 42px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.baseline-cases-empty > article > img { width: 25px; height: 25px; }
.baseline-cases-empty h2 { margin: 17px 0 9px; font-family: var(--ft-font-display); font-size: 25px; font-weight: 500; }
.baseline-cases-empty p { max-width: 62ch; margin: 0; color: #686158; font-family: var(--ft-font-display); font-size: 10px; line-height: 1.75; }
.baseline-cases-empty nav { margin-top: 22px; display: flex; gap: 9px; }
.baseline-history-entry { min-height: 46px; grid-column: 1 / -1; padding: 0 18px; display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid var(--ft-color-border); color: #686158; font-family: var(--ft-font-display); font-size: 8px; }

.command-center-search { width: calc(100% - 36px); margin: 18px; }
.command-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.command-groups > section + section { border-left: 1px solid var(--ft-color-border); }
.command-groups > section > header { padding: 19px 22px 13px; border-top: 1px solid #e4dbce; border-bottom: 1px solid #e4dbce; }
.command-groups h2 { margin: 0; font-family: var(--ft-font-display); font-size: 15px; font-weight: 500; }
.command-groups header p { margin: 4px 0 0; color: #686158; font-size: 10px; }
.command-list { display: grid; }
.command-list a { min-height: 70px; padding: 12px 18px; display: grid; grid-template-columns: 23px minmax(0, 1fr) auto 17px; align-items: center; gap: 11px; border-bottom: 1px solid #e4dbce; color: var(--ft-color-text); text-decoration: none; }
.command-list a:hover { color: var(--ft-color-brand); background: rgba(128,100,47,.055); }
.command-list span { min-width: 0; display: grid; gap: 2px; }
.command-list b { overflow: hidden; font-family: var(--ft-font-display); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.command-list small { overflow: hidden; color: #716b62; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.command-empty { margin: 0; padding: 28px; color: #686158; text-align: center; }

.mail-module-toolbar .inline-search { margin-left: 0; }
.station-mail-hero { margin: 0; padding: 22px 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border: 0; border-bottom: 1px solid var(--ft-color-border); }
.station-mail-hero > div { max-width: 850px; }
.station-mail-hero h2 { margin: 7px 0 8px; font-size: 20px; }
.station-mail-hero p { margin: 0; }
.mail-route-chip { flex: 0 0 auto; margin-top: 3px; padding: 5px 8px; border: 1px solid #cdb783; color: #73520f; background: #f5ecd7; font-size: 9px; }
.station-mail-facts { margin: 0; border-width: 0 0 1px; }
.mail-metric-grid { margin: 0; border-width: 0 0 1px; }
.station-mail-notice { margin: 0; padding: 10px 18px; border: 0; border-bottom: 1px solid var(--ft-color-border); }
.mail-layout { grid-template-columns: minmax(330px, .85fr) minmax(390px, 1.15fr); gap: 0; margin: 0; }
.station-mail-inbox,
.mail-preview { min-width: 0; min-height: 510px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.station-mail-inbox { border-right: 1px solid var(--ft-color-border); }
.mail-list-heading,
.mail-preview-heading { min-height: 66px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e4dbce; }
.mail-list-heading h2 { margin: 2px 0 0; font-family: var(--ft-font-display); font-size: 17px; font-weight: 500; }
.mail-list-heading > span { color: #716b62; font-size: 9px; }
.station-mail-list { padding: 0; display: block; }
.station-mail-row { width: 100%; min-height: 82px; margin: 0; padding: 14px 18px 13px 43px; border: 0; border-bottom: 1px solid #e4dbce; border-radius: 0; appearance: none; -webkit-appearance: none; background: transparent; color: inherit; font: inherit; text-align: left; }
.station-mail-row::before { left: 20px; }
.mail-preview { padding: 0 20px 20px; }
.mail-preview-heading { margin: 0 -20px 18px; }
.mail-preview-heading > div { display: flex; align-items: center; gap: 12px; }
.mail-preview-heading > img { width: 24px; height: 24px; }
.mail-preview > h2 { margin: 0 0 15px; font-family: var(--ft-font-display); font-size: 25px; font-weight: 500; }
.reader-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-send-locked { margin: 0; padding: 20px 24px; border: 0; border-top: 1px solid var(--ft-color-border); border-radius: 0; }
.mail-lock-icon { width: 40px; height: 40px; opacity: .6; }

.map-filter { width: 100%; display: flex; align-items: flex-end; gap: 10px; }
.map-filter > label { min-width: 150px; display: grid; gap: 5px; color: #686158; font-size: 9px; }
.map-filter select { width: 100%; }
.map-filter .inline-search { width: min(380px, 37vw); margin-left: 0; display: flex; }
.map-summary-grid,
.metric-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ft-color-border); }
.map-summary-grid article,
.metric-card-grid article { min-height: 112px; padding: 18px 20px; border-right: 1px solid var(--ft-color-border); }
.map-summary-grid article:last-child,
.metric-card-grid article:last-child { border-right: 0; }
.map-summary-grid span,
.map-summary-grid strong,
.map-summary-grid small,
.metric-card-grid span,
.metric-card-grid strong,
.metric-card-grid small { display: block; font-family: var(--ft-font-display); }
.map-summary-grid span,
.metric-card-grid span { color: #686158; font-size: 10px; }
.map-summary-grid strong,
.metric-card-grid strong { margin: 8px 0; font-size: 34px; font-weight: 400; line-height: 1; }
.map-summary-grid small,
.metric-card-grid small { color: #716b62; font-size: 9px; line-height: 1.45; }
.locked-metric strong { color: var(--ft-color-brand); }
.market-table { overflow-x: auto; }
.market-head,
.market-row { min-width: 970px; display: grid; grid-template-columns: 105px 145px minmax(160px, 1fr) 70px 85px minmax(210px, 1.4fr) 55px; align-items: center; gap: 10px; }
.market-head { min-height: 42px; padding: 0 16px; color: #686158; background: #ede7db; font-family: var(--ft-font-display); font-size: 9px; }
.market-row { min-height: 66px; padding: 9px 16px; border-bottom: 1px solid #e4dbce; color: #38342f; font-family: var(--ft-font-display); font-size: 10px; text-decoration: none; }
.market-row:hover { color: var(--ft-color-brand); background: rgba(128,100,47,.055); text-decoration: none; }
.market-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.market-row > span:first-child { display: flex; align-items: center; gap: 7px; }
.market-row i { width: 6px; height: 6px; border-radius: 50%; background: #80642f; }
.market-row b,
.market-row small { display: block; }
.market-row b { font-weight: 500; }
.market-row small { overflow: hidden; color: #716b62; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.market-row em { color: var(--ft-color-brand); font-style: normal; }
.boundary-note { margin: 0; padding: 13px 16px; display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid var(--ft-color-border); color: #686158; font-family: var(--ft-font-display); font-size: 10px; }

.metrics-funnel { margin: 18px; }
.metrics-boundaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ft-color-border); }
.metrics-boundaries article { padding: 20px; }
.metrics-boundaries article + article { border-left: 1px solid var(--ft-color-border); }
.metrics-boundaries h2 { margin: 0 0 12px; font-family: var(--ft-font-display); font-size: 14px; font-weight: 500; }
.metrics-boundaries p,
.connection-list p { margin: 0; padding: 9px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e4dbce; color: #686158; font-family: var(--ft-font-display); font-size: 10px; }
.metrics-boundaries p span,
.connection-list p span { display: flex; align-items: center; gap: 7px; }
.metrics-boundaries p b,
.connection-list p b { color: #38342f; font-weight: 500; text-align: right; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.settings-grid > section { min-width: 0; }
.settings-grid > section + section { border-left: 1px solid var(--ft-color-border); }
.settings-grid > section > header { min-height: 82px; padding: 18px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ft-color-border); }
.settings-grid h2 { margin: 0; font-family: var(--ft-font-display); font-size: 17px; font-weight: 500; }
.settings-grid header p { margin: 4px 0 0; color: #716b62; font-size: 10px; }
.settings-grid header img { width: 24px; height: 24px; }
.setting-row { min-height: 76px; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e4dbce; }
.setting-row > div:first-child { min-width: 0; display: grid; gap: 3px; }
.setting-row b { font-family: var(--ft-font-display); font-size: 11px; font-weight: 500; }
.setting-row span { color: #716b62; font-size: 9px; }
.toggle { width: 42px; height: 23px; flex: 0 0 auto; position: relative; padding: 2px; border: 1px solid #bfb19e; border-radius: 999px; background: #ded5c8; }
.toggle i { width: 17px; height: 17px; display: block; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(50,42,32,.16); transition: transform .16s ease; }
.toggle.on { border-color: var(--ft-color-brand); background: var(--ft-color-brand); }
.toggle.on i { transform: translateX(17px); }
.connection-list { padding: 4px 20px 12px; }
.safety-callout { margin: 12px 20px 20px; padding: 13px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid #cdb783; color: #73520f; background: #f5ecd7; }
.safety-callout img { width: 18px; height: 18px; }
.safety-callout p { margin: 0; font-family: var(--ft-font-display); font-size: 10px; }
.settings-footer { min-height: 66px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--ft-color-border); }
.settings-footer p { margin: 0; color: #686158; font-size: 10px; }

.capture-heading .view-heading-copy { max-width: 850px; }
.capture-heading .view-heading-copy > p { max-width: 720px; }
.capture-baseline { overflow: hidden; }
.capture-toolbar { align-items: center; }
.capture-toolbar > p { min-width: 0; display: flex; align-items: center; gap: 9px; }
.capture-toolbar > p strong { font-family: var(--ft-font-display); font-size: 11px; font-weight: 600; }
.capture-toolbar > p span:last-child { overflow: hidden; color: #716b62; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.capture-live-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #0f6958; }

.capture-thesis { min-height: 210px; display: grid; grid-template-columns: minmax(330px, .82fr) minmax(560px, 1.18fr); border-bottom: 1px solid var(--ft-color-border); }
.capture-thesis-copy { padding: 31px 34px 30px; border-right: 1px solid var(--ft-color-border); }
.capture-thesis-copy > p { margin: 0 0 22px; color: var(--ft-color-brand); font-family: "Courier New", monospace; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.capture-thesis-copy h2 { max-width: 610px; margin: 0; font-family: var(--ft-font-display); font-size: clamp(28px, 3.2vw, 47px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.capture-thesis-copy h2 strong { color: var(--ft-color-brand); font-weight: 500; }
.capture-thesis-copy > span { max-width: 70ch; margin-top: 18px; display: block; color: #686158; font-family: var(--ft-font-display); font-size: 10px; line-height: 1.75; }
.capture-kpi-strip { min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.capture-kpi-strip > div { min-width: 0; padding: 28px 20px 22px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--ft-color-border); }
.capture-kpi-strip > div:last-child { border-right: 0; }
.capture-kpi-strip dt,
.capture-kpi-strip dd,
.capture-kpi-strip small { margin: 0; font-family: var(--ft-font-display); }
.capture-kpi-strip dt { color: #655e55; font-size: 9px; }
.capture-kpi-strip dd { margin: 19px 0 12px; color: var(--ft-color-text); font-size: clamp(38px, 4vw, 62px); font-weight: 400; letter-spacing: -.04em; line-height: .85; }
.capture-kpi-strip small { min-height: 30px; color: #716b62; font-size: 8px; line-height: 1.55; }
.capture-kpi-strip .capture-kpi-critical dd { color: var(--ft-color-brand); }

.capture-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(278px, 312px); }
.capture-run-ledger { min-width: 0; padding: 26px 26px 30px; border-right: 1px solid var(--ft-color-border); }
.capture-section-heading { min-height: 62px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.capture-section-heading h2,
.capture-layer-stack h2,
.capture-next-gate h2,
.capture-state-locks h2 { margin: 0; font-family: var(--ft-font-display); font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.capture-section-heading p,
.capture-layer-stack header p { margin: 5px 0 0; color: #716b62; font-size: 9px; line-height: 1.55; }
.capture-section-heading > span { flex: 0 0 auto; padding: 5px 7px; color: #73520f; border: 1px solid #cdb783; background: #f5ecd7; font-family: var(--ft-font-display); font-size: 8px; }
.capture-run-list { border-top: 1px solid var(--ft-color-border-strong); }
.capture-run { min-width: 0; display: grid; grid-template-columns: 44px minmax(150px, 1fr) minmax(180px, .9fr) 86px; grid-template-rows: auto auto; column-gap: 14px; padding: 17px 0 15px; border-bottom: 1px solid var(--ft-color-border); }
.capture-run-index { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.capture-run-index span { color: var(--ft-color-brand); font-family: Georgia, serif; font-size: 22px; line-height: 1; }
.capture-run-index small { color: #81786c; font-family: "Courier New", monospace; font-size: 7px; writing-mode: vertical-rl; }
.capture-run-subject { min-width: 0; align-self: start; }
.capture-run-subject strong,
.capture-run-subject small { display: block; font-family: var(--ft-font-display); }
.capture-run-subject strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.capture-run-subject small { margin-top: 6px; color: #716b62; font-size: 8px; }
.capture-action-rail { min-width: 0; grid-column: 2 / 5; grid-row: 2; margin: 13px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); list-style: none; border-top: 1px solid #d7ccbc; }
.capture-action-rail li { min-width: 0; position: relative; padding: 11px 8px 0 0; display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: center; gap: 4px; }
.capture-action-rail li::before { content: ""; width: 100%; height: 1px; position: absolute; top: -1px; left: 0; background: #0f6958; }
.capture-action-rail li span { width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; background: #0f6958; font-family: "Courier New", monospace; font-size: 7px; }
.capture-action-rail li b { overflow: hidden; color: #5e574e; font-family: var(--ft-font-display); font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.capture-action-rail li.is-blocked::before,
.capture-action-rail li.is-blocked span { background: var(--ft-color-brand); }
.capture-package-state { min-width: 0; align-self: start; padding-left: 12px; border-left: 1px solid var(--ft-color-border); }
.capture-package-state strong,
.capture-package-state small { display: block; font-family: var(--ft-font-display); }
.capture-package-state strong { color: #73520f; font-size: 9px; font-weight: 600; line-height: 1.4; }
.capture-package-state small { margin-top: 5px; color: #716b62; font-size: 8px; line-height: 1.45; }
.capture-package-review strong { color: #0f6958; }
.capture-package-admitted strong { color: #0f6958; }
.capture-run-proof { align-self: start; justify-self: end; }
.capture-run-proof summary { min-height: 44px; display: flex; align-items: center; color: #5f584f; cursor: pointer; font-family: var(--ft-font-display); font-size: 9px; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.capture-run-proof summary::-webkit-details-marker { display: none; }
.capture-run-proof[open] { grid-column: 2 / 5; grid-row: 3; justify-self: stretch; margin-top: 12px; padding: 12px; border: 1px solid var(--ft-color-border); background: rgba(255,255,255,.22); }
.capture-run-proof[open] summary { margin-bottom: 8px; }
.capture-run-proof p { margin: 0 0 8px; color: #686158; font-size: 8px; }
.capture-run-proof ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; list-style: none; }
.capture-run-proof li { min-width: 0; display: grid; gap: 3px; }
.capture-run-proof li span { color: #716b62; font-size: 7px; }
.capture-run-proof code,
.capture-receipt-hash { display: block; max-width: 100%; overflow: visible; white-space: normal; overflow-wrap: anywhere; word-break: break-all; font-size: 8px; line-height: 1.45; text-overflow: clip; }

.capture-decision-rail { min-width: 0; background: rgba(242,236,225,.42); }
.capture-decision-rail > section { padding: 23px 21px; border-bottom: 1px solid var(--ft-color-border); }
.capture-layer-stack ol { margin: 18px 0 0; padding: 0; list-style: none; }
.capture-layer-stack li { min-height: 78px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 11px; position: relative; }
.capture-layer-stack li:not(:last-child)::after { content: ""; width: 1px; height: calc(100% - 22px); position: absolute; top: 21px; left: 9px; background: var(--ft-color-border-strong); }
.capture-layer-stack li > span { width: 19px; height: 19px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; background: #0f6958; font-family: "Courier New", monospace; font-size: 7px; }
.capture-layer-stack li.is-gated > span { background: var(--ft-color-brand); }
.capture-layer-stack li div { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-content: start; column-gap: 9px; }
.capture-layer-stack li strong { grid-row: 1 / 3; color: var(--ft-color-text); font-family: var(--ft-font-display); font-size: 28px; font-weight: 400; line-height: 1; }
.capture-layer-stack li.is-gated strong { color: var(--ft-color-brand); }
.capture-layer-stack li b { font-family: var(--ft-font-display); font-size: 9px; font-weight: 600; }
.capture-layer-stack li small { margin-top: 4px; color: #716b62; font-size: 8px; line-height: 1.4; }
.capture-next-gate { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 12px; }
.capture-next-gate > img { width: 21px; height: 21px; }
.capture-next-gate p { margin: 8px 0 0; color: #686158; font-family: var(--ft-font-display); font-size: 9px; line-height: 1.7; }
.capture-next-gate > a { min-height: 44px; grid-column: 1 / -1; margin-top: 4px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--ft-color-brand); font-family: var(--ft-font-display); font-size: 9px; text-decoration: none; }
.capture-next-gate > a:hover { background: var(--ft-color-brand-strong); }
.capture-next-gate > a img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.capture-hard-blockers header,
.evidence-hard-blockers header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.capture-hard-blockers h2,
.evidence-hard-blockers h2 { margin: 0; font-family: var(--ft-font-display); font-size: 14px; font-weight: 500; }
.capture-hard-blockers header > strong,
.evidence-hard-blockers header > strong { color: var(--ft-color-brand); font-family: var(--ft-font-display); font-size: 25px; font-weight: 400; }
.capture-hard-blockers ul,
.evidence-hard-blockers ul { margin: 15px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.capture-hard-blockers li,
.evidence-hard-blockers li { min-width: 0; padding-top: 10px; display: grid; gap: 5px; border-top: 1px solid #ddd3c5; }
.capture-hard-blockers li span,
.evidence-hard-blockers li span { color: #39342e; font-family: var(--ft-font-display); font-size: 9px; line-height: 1.5; }
.capture-hard-blockers li code,
.evidence-hard-blockers li code { max-width: 100%; color: #716b62; font-size: 8px; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; }
.capture-blocker-gap,
.evidence-hard-blockers > p { margin: 13px 0 0; color: #716b62; font-size: 8px; line-height: 1.6; }
.capture-state-locks h2 { margin-bottom: 12px; }
.capture-state-locks dl { margin: 0; }
.capture-state-locks dl div { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ddd3c5; font-family: var(--ft-font-display); font-size: 8px; }
.capture-state-locks dt { color: #716b62; }
.capture-state-locks dd { margin: 0; color: #39342e; }

.capture-policy-disclosure { border-top: 1px solid var(--ft-color-border); }
.capture-policy-disclosure > summary { min-height: 52px; padding: 0 26px; display: flex; align-items: center; cursor: pointer; color: #5f584f; font-family: var(--ft-font-display); font-size: 9px; list-style: none; }
.capture-policy-disclosure > summary::-webkit-details-marker { display: none; }
.capture-policy-disclosure > summary::after { content: "+"; margin-left: auto; color: var(--ft-color-brand); font-family: Georgia, serif; font-size: 18px; }
.capture-policy-disclosure[open] > summary::after { content: "−"; }
.capture-policy-disclosure > div { padding: 0 26px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.capture-policy-disclosure p { margin: 0; color: #686158; font-family: var(--ft-font-display); font-size: 9px; line-height: 1.65; }
.capture-policy-disclosure p strong { display: block; margin-bottom: 4px; color: #39342e; font-weight: 600; }
.capture-policy-disclosure .text-action { align-self: end; justify-self: end; font-family: var(--ft-font-display); font-size: 9px; }
.capture-baseline-empty { min-height: 360px; padding: 70px 24px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.capture-baseline-empty > img { width: 28px; height: 28px; }
.capture-baseline-empty h2 { margin: 18px 0 9px; font-family: var(--ft-font-display); font-size: 26px; font-weight: 500; }
.capture-baseline-empty p { max-width: 62ch; margin: 0 0 22px; color: #686158; font-family: var(--ft-font-display); font-size: 11px; line-height: 1.75; }

.evidence-baseline-heading .view-heading-copy { max-width: 850px; }
.evidence-baseline { overflow: hidden; }
.evidence-action-audit > summary {
  min-height: 58px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 0;
  cursor: pointer;
  list-style: none;
}
.evidence-action-audit[open] > summary { border-bottom: 1px solid var(--ft-color-border); }
.evidence-action-audit > summary::-webkit-details-marker { display: none; }
.evidence-action-audit > summary span {
  color: var(--ft-color-ink);
  font-family: var(--ft-font-display);
  font-size: 12px;
  font-weight: 650;
}
.evidence-action-audit > summary small {
  color: var(--ft-color-muted);
  font-family: var(--ft-font-display);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}
.evidence-action-audit > summary:focus-visible { outline: 2px solid var(--ft-color-brand); outline-offset: -3px; }
.evidence-baseline > .module-toolbar p { min-width: 0; display: flex; align-items: center; gap: 10px; }
.evidence-baseline > .module-toolbar strong { font-family: var(--ft-font-display); font-size: 10px; }
.evidence-baseline > .module-toolbar span { overflow: hidden; color: #716b62; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.evidence-admission-hero { min-height: 255px; display: grid; grid-template-columns: minmax(230px, .48fr) minmax(0, 1.52fr); border-bottom: 1px solid var(--ft-color-border); }
.evidence-admission-hero > div { padding: 31px 30px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--ft-color-border); }
.evidence-admission-hero > div p { margin: 0; color: #686158; font-family: var(--ft-font-display); font-size: 10px; }
.evidence-admission-hero > div h2 { margin: 28px 0 0; color: var(--ft-color-brand); font-family: var(--ft-font-display); font-size: 16px; font-weight: 500; }
.evidence-admission-hero > div h2 strong { margin-right: 7px; font-size: 92px; font-weight: 400; letter-spacing: -.05em; line-height: .75; }
.evidence-admission-hero > div > small { margin-top: 15px; color: #716b62; font-family: var(--ft-font-display); font-size: 8px; line-height: 1.55; }
.evidence-admission-hero > article { padding: 39px 40px 32px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.evidence-admission-hero > article h2 { max-width: 760px; margin: 0; font-family: var(--ft-font-display); font-size: clamp(25px, 3vw, 41px); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.evidence-admission-hero > article > p { max-width: 72ch; margin: 17px 0 0; color: #5f584f; font-family: var(--ft-font-display); font-size: 11px; line-height: 1.8; }
.evidence-zero-lock { margin-top: 24px; padding-top: 13px; display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid #e4dbce; color: #73520f; font-family: var(--ft-font-display); font-size: 9px; line-height: 1.55; }
.evidence-zero-lock img { width: 17px; height: 17px; flex: 0 0 auto; }
.evidence-baseline-metrics { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ft-color-border); }
.evidence-baseline-metrics > div { min-height: 132px; padding: 21px 20px 18px; border-right: 1px solid var(--ft-color-border); }
.evidence-baseline-metrics > div:last-child { border-right: 0; }
.evidence-baseline-metrics dt,
.evidence-baseline-metrics dd,
.evidence-baseline-metrics small { margin: 0; display: block; font-family: var(--ft-font-display); }
.evidence-baseline-metrics dt { color: #686158; font-size: 9px; }
.evidence-baseline-metrics dd { margin: 14px 0 10px; font-size: 38px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.evidence-baseline-metrics small { color: #716b62; font-size: 8px; line-height: 1.45; }
.evidence-baseline-metrics .is-critical dd { color: var(--ft-color-brand); }
.evidence-baseline-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); }
.evidence-task-admission { min-width: 0; padding: 26px 25px 29px; border-right: 1px solid var(--ft-color-border); }
.evidence-task-admission > header { min-height: 62px; }
.evidence-task-admission h2,
.evidence-gate-panel h2 { margin: 0; font-family: var(--ft-font-display); font-size: 17px; font-weight: 500; }
.evidence-task-admission header p { margin: 5px 0 0; color: #716b62; font-size: 9px; line-height: 1.55; }
.evidence-admission-list { border-top: 1px solid var(--ft-color-border-strong); }
.evidence-admission-list article { min-height: 74px; padding: 13px 0; display: grid; grid-template-columns: 32px minmax(150px, 1fr) minmax(180px, .85fr) 70px; align-items: center; gap: 12px; border-bottom: 1px solid var(--ft-color-border); }
.evidence-admission-list article > span { color: var(--ft-color-brand); font-family: Georgia, serif; font-size: 18px; }
.evidence-admission-list article > div { min-width: 0; }
.evidence-admission-list strong,
.evidence-admission-list small { display: block; font-family: var(--ft-font-display); }
.evidence-admission-list strong { overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.evidence-admission-list small { margin-top: 5px; color: #716b62; font-size: 8px; }
.evidence-admission-list b { color: #73520f; font-family: var(--ft-font-display); font-size: 8px; font-weight: 600; line-height: 1.5; }
.evidence-admission-list b.is-review { color: #0f6958; }
.evidence-admission-list em { color: var(--ft-color-brand); font-family: var(--ft-font-display); font-size: 8px; font-style: normal; text-align: right; }
.evidence-admission-list em.is-admitted { color: #0f6958; font-weight: 600; }
.evidence-gate-panel { background: rgba(242,236,225,.42); }
.evidence-gate-panel > section { padding: 24px 22px; border-bottom: 1px solid var(--ft-color-border); }
.evidence-gate-panel ol { margin: 18px 0 0; padding: 0; list-style: none; }
.evidence-gate-panel li { min-height: 75px; display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 10px; position: relative; }
.evidence-gate-panel li:not(:last-child)::after { content: ""; width: 1px; height: calc(100% - 22px); position: absolute; top: 21px; left: 9px; background: var(--ft-color-border-strong); }
.evidence-gate-panel li > span { width: 19px; height: 19px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; background: #0f6958; font-family: "Courier New", monospace; font-size: 7px; }
.evidence-gate-panel li:last-child > span { background: var(--ft-color-brand); }
.evidence-gate-panel li b { font-family: var(--ft-font-display); font-size: 9px; font-weight: 600; }
.evidence-gate-panel li p { margin: 4px 0 0; color: #716b62; font-size: 8px; line-height: 1.55; }
.evidence-gate-action { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; }
.evidence-gate-action > img { width: 20px; height: 20px; }
.evidence-gate-action h2 { font-size: 14px; }
.evidence-gate-action p { margin: 7px 0 0; color: #686158; font-family: var(--ft-font-display); font-size: 9px; line-height: 1.65; }
.evidence-baseline-footer { min-height: 60px; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ft-color-border); }
.evidence-baseline-footer p { margin: 0; color: #716b62; font-family: var(--ft-font-display); font-size: 8px; }

/* Latest-capture views carry operational evidence, so their supporting type
   stays readable without giving up the compact editorial hierarchy. */
.capture-toolbar > p strong,
.evidence-baseline > .module-toolbar strong { font-size: 12px; }
.capture-toolbar > p span:last-child,
.evidence-baseline > .module-toolbar span { font-size: 10px; line-height: 1.5; }
.capture-thesis-copy > p { font-size: 10px; }
.capture-thesis-copy > span,
.evidence-admission-hero > div p,
.evidence-admission-hero > article > p { font-size: 12px; }
.capture-kpi-strip dt,
.evidence-baseline-metrics dt { font-size: 11px; }
.capture-kpi-strip small,
.evidence-baseline-metrics small,
.evidence-admission-hero > div > small { font-size: 10px; }
.capture-section-heading p,
.capture-layer-stack header p,
.evidence-task-admission header p { font-size: 11px; }
.capture-section-heading > span { font-size: 10px; }
.capture-run-index small { font-size: 9px; }
.capture-run-subject strong,
.evidence-admission-list strong { font-size: 12px; }
.capture-run-subject small,
.evidence-admission-list small { font-size: 10px; line-height: 1.5; }
.capture-action-rail li span,
.capture-layer-stack li > span,
.evidence-gate-panel li > span { font-size: 9px; }
.capture-action-rail li b { font-size: 10px; }
.capture-package-state strong,
.capture-layer-stack li b,
.evidence-gate-panel li b { font-size: 11px; }
.capture-package-state small,
.capture-layer-stack li small,
.evidence-gate-panel li p { font-size: 10px; }
.capture-run-proof summary { font-size: 11px; }
.capture-run-proof p,
.capture-run-proof code,
.capture-receipt-hash { font-size: 10px; }
.capture-run-proof li span { font-size: 10px; }
.capture-next-gate p,
.capture-policy-disclosure p,
.evidence-gate-action p { font-size: 11px; }
.capture-next-gate > a,
.capture-policy-disclosure > summary,
.capture-policy-disclosure .text-action { font-size: 11px; }
.capture-hard-blockers li span,
.evidence-hard-blockers li span { font-size: 11px; }
.capture-hard-blockers li code,
.evidence-hard-blockers li code,
.capture-blocker-gap,
.evidence-hard-blockers > p { font-size: 10px; }
.capture-state-locks dl div { min-height: 40px; font-size: 10px; }
.evidence-zero-lock,
.evidence-admission-list b,
.evidence-admission-list em { font-size: 10px; }
.evidence-baseline-footer p { font-size: 10px; line-height: 1.55; }
.baseline-hero-stats small,
.baseline-task-strip small,
.baseline-task-strip article > b,
.baseline-boundary-line,
.baseline-archive-link,
.baseline-history-entry { font-size: 11px; line-height: 1.5; }

/* Clarity correction: persistent navigation and operational controls must remain
   legible on ordinary 100% browser zoom and non-Retina Windows displays. */
.nav-item::after { font-size: 10px; }
.nav-caption,
.sidebar-boundary small,
.sidebar-meta dl div,
.sidebar-meta p,
.eyebrow,
.product-lockup small,
.production-chip,
.today-date,
.footer { font-size: 11px; line-height: 1.5; }
.product-lockup span,
.topbar-state,
.command-search,
.surface-tab,
.module-toolbar > p,
.segmented button,
.primary-button,
.outline-button,
.locked-button,
.text-action { font-size: 12px; }
.surface-tab small,
kbd,
.brief-folio { font-size: 10px; }
.topbar h1,
.view-heading h1,
.login-editorial h1 { font-weight: 600; }

.capture-run-index small,
.capture-run-subject small,
.capture-action-rail li b,
.capture-package-state small,
.capture-layer-stack li small,
.capture-run-proof p,
.capture-run-proof code,
.capture-receipt-hash,
.evidence-baseline > .module-toolbar span,
.evidence-baseline-metrics small,
.evidence-admission-hero > div > small,
.evidence-admission-list small,
.evidence-gate-panel li p,
.evidence-hard-blockers li code,
.evidence-hard-blockers > p,
.evidence-baseline-footer p { font-size: 11px; }
.capture-action-rail li b,
.capture-package-state strong,
.capture-layer-stack li b,
.evidence-admission-list b,
.evidence-admission-list em,
.evidence-gate-panel li b { line-height: 1.5; }
.archive-mode-banner { min-height: 58px; margin-bottom: 15px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #73520f; border: 1px solid #cdb783; background: #f5ecd7; }
.archive-mode-banner > div { display: grid; gap: 3px; }
.archive-mode-banner strong { font-family: var(--ft-font-display); font-size: 12px; }
.archive-mode-banner span { font-size: 10px; line-height: 1.5; }
.archive-mode-banner a { min-height: 44px; display: inline-flex; align-items: center; font-family: var(--ft-font-display); font-size: 11px; }
.station-archive-readonly { min-height: 360px; padding: clamp(34px, 6vw, 76px); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.station-archive-readonly h1 { max-width: 820px; margin: 10px 0 14px; font-family: var(--ft-font-display); font-size: clamp(30px, 4.5vw, 58px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.station-archive-readonly > p:not(.eyebrow) { max-width: 72ch; margin: 0; color: #686158; font-family: var(--ft-font-display); font-size: 11px; line-height: 1.75; }
.station-archive-readonly nav,
.capture-baseline-empty nav { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.admission-chip,
.admission-chip.conflict,
.admission-chip.review,
.admission-chip.ready,
.admission-chip.muted {
  color: var(--ft-color-text);
  background: rgba(255,255,255,.18);
  border-color: var(--ft-color-border-strong);
  box-shadow: none;
}
.admission-chip strong { color: var(--ft-color-text); }
.admission-chip.review { border-bottom-color: #80642f; }
.admission-chip.ready { border-bottom-color: #0f6958; }
.admission-chip.conflict { border-bottom-color: var(--ft-color-brand); }
.plane-role,
.source-grid article { border-radius: 1px; background: rgba(255,255,255,.2); }
.panel,
.station-dashboard,
.station-funnel,
.case-file-hero { background-color: rgba(251,250,246,.74); background-image: url("/static/img/paper-grain.png"); }

.login-shell {
  min-height: 100vh;
  padding: 0;
  display: block;
  place-items: normal;
  overflow-x: hidden;
  --login-paper: #f4efe4;
  --login-paper-light: #fbf8f0;
  --login-ink: #181612;
  --login-muted: #625b51;
  --login-rule: #cfc1ae;
  color: var(--ft-color-text);
  background-color: var(--login-paper);
  background-image: url("/static/img/paper-grain.png");
}
.login-main,
.login-stage { min-height: 100vh; }
.login-stage { overflow-x: hidden; display: grid; grid-template-rows: 76px minmax(0, 1fr) 30px 54px; }
.login-topbar { padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--login-rule); }
.login-lockup { min-width: 0; display: flex; align-items: baseline; gap: 12px; font-family: var(--ft-font-display); }
.login-lockup strong { color: var(--login-ink); font-size: 18px; letter-spacing: -.025em; }
.login-lockup span { overflow: hidden; padding-left: 12px; border-left: 1px solid var(--login-rule); color: var(--login-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.login-header-actions { display: flex; align-items: center; gap: 22px; }
.login-product-name { display: flex; align-items: center; gap: 8px; color: var(--login-muted); font-family: var(--ft-font-display); font-size: 12px; white-space: nowrap; }
.login-product-name i { width: 7px; height: 7px; border-radius: 50%; background: #0f6958; }
.login-entry-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--login-ink); font-family: var(--ft-font-display); font-size: 12px; text-decoration: none; }
.login-entry-link img { width: 16px; height: 16px; transition: transform .16s ease; }
.login-entry-link:hover img { transform: translateX(3px); }
.login-composition { width: min(1420px, 100%); margin: 0 auto; padding: clamp(42px, 6vw, 88px) clamp(20px, 5vw, 76px); display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(360px, .64fr); align-items: center; gap: clamp(48px, 8vw, 124px); }
.login-editorial { min-height: 520px; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 18px 0 46px; }
.login-editorial h1 { max-width: 860px; margin: 0 0 26px; position: relative; z-index: 1; color: var(--login-ink); font-family: var(--ft-font-display); font-size: clamp(54px, 6vw, 92px); font-weight: 600; letter-spacing: -.038em; line-height: 1.01; }
.login-editorial h1 span { color: var(--ft-color-brand); }
.login-deck { max-width: 640px; margin: 0; position: relative; z-index: 1; color: #514b43; font-family: var(--ft-font-display); font-size: 16px; line-height: 1.8; }
.login-site-note { margin: 22px 0 0; position: relative; z-index: 1; color: #514b43; font-family: var(--ft-font-mono); font-size: 11px; letter-spacing: .035em; text-transform: uppercase; }
.login-principles { max-width: 720px; margin: 48px 0 0; padding: 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--login-rule); list-style: none; }
.login-principles li { min-width: 0; padding: 18px 16px 0 0; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.login-principles li + li { padding-left: 16px; border-left: 1px solid var(--login-rule); }
.login-principles img { width: 20px; height: 20px; margin-top: 1px; }
.login-principles span { min-width: 0; display: grid; gap: 5px; }
.login-principles strong { font-family: var(--ft-font-display); font-size: 13px; font-weight: 600; }
.login-principles small { color: #595249; font-size: 12px; line-height: 1.55; }
.login-field-art { width: min(62vw, 760px); height: auto; position: absolute; z-index: 0; left: -4%; bottom: -4%; opacity: .27; mix-blend-mode: multiply; pointer-events: none; }
.login-card { position: relative; padding: 34px 32px 30px; border: 1px solid #c8b69f; border-radius: 2px; background: rgba(251, 248, 240, .92); box-shadow: 0 30px 80px rgba(68, 49, 27, .1); }
.login-card-seam { width: 100%; height: 34px; position: absolute; inset: -18px 0 auto; object-fit: fill; mix-blend-mode: multiply; pointer-events: none; }
.login-card-heading { margin-bottom: 30px; display: flex; align-items: center; gap: 10px; color: #5e574d; font-family: var(--ft-font-display); font-size: 11px; }
.login-card-heading img { width: 20px; height: 20px; }
.login-card h2 { margin: 0 0 11px; color: var(--login-ink); font-family: var(--ft-font-display); font-size: 32px; font-weight: 500; letter-spacing: -.03em; }
.login-copy { margin: 0 0 27px; color: var(--login-muted); font-family: var(--ft-font-display); font-size: 13px; line-height: 1.72; }
.form-stack { display: grid; gap: 17px; }
.form-stack label { display: grid; gap: 8px; color: #453f37; font-family: var(--ft-font-display); font-size: 12px; font-weight: 500; }
.form-stack input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #8e7e69; border-radius: 1px; background: rgba(255,255,255,.5); font-size: 16px; }
.form-stack input:hover { border-color: #8e7e69; }
.form-stack input:focus { background: rgba(255,255,255,.76); }
.button-full { width: 100%; min-height: 50px; margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.button-full img { width: 18px; height: 18px; filter: brightness(0) invert(1); transition: transform .16s ease; }
.button-full:hover img { transform: translateX(3px); }
.button-full[aria-busy="true"] img { opacity: .55; transform: none; }
.form-error { margin: 0; padding: 10px 12px; color: #8e2118; background: #f4dfda; border: 1px solid #c9786f; border-radius: 0; font-size: 12px; line-height: 1.5; }
.login-boundary { margin-top: 25px; padding-top: 18px; display: grid; justify-content: normal; gap: 7px; border-top: 1px solid var(--login-rule); }
.login-boundary strong { display: flex; align-items: center; gap: 7px; color: #343028; font-family: var(--ft-font-display); font-size: 12px; }
.login-boundary strong img { width: 16px; height: 16px; }
.login-boundary p { margin: 7px 0 0; color: #595249; font-size: 12px; line-height: 1.65; }
.login-seam { overflow: hidden; }
.login-seam img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.login-footer { padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--login-rule); color: #514b43; font-family: var(--ft-font-display); font-size: 11px; }

body.density-compact .content { padding-top: 12px; }
body.density-compact .panel { padding: 15px; }
body.density-compact .metric-card,
body.density-compact .dashboard-metric { min-height: 92px; padding: 13px; }
body.quiet-mode .production-chip i,
body.quiet-mode .production-indicator { opacity: .72; }
body:not(.risk-emphasis) .ui-notice--boundary,
body:not(.risk-emphasis) .safety-callout { filter: saturate(.58); }
body:not(.motion-on) * { animation: none !important; transition-duration: .01ms !important; }

@media (max-width: 1320px) {
  .topbar { grid-template-columns: minmax(180px, 1fr) minmax(225px, 300px) auto auto; }
  .topbar-state { display: none; }
  .surface-tab { padding-inline: 8px; }
  .priority-layout:not(.priority-layout--single) { grid-template-columns: minmax(0, 1fr) 235px; }
  .capture-thesis { grid-template-columns: minmax(310px, .78fr) minmax(500px, 1.22fr); }
  .capture-thesis-copy { padding-inline: 27px; }
  .capture-kpi-strip > div { padding-inline: 16px; }
  .capture-workspace { grid-template-columns: minmax(0, 1fr) 282px; }
  .capture-run-ledger { padding-inline: 20px; }
}

@media (max-width: 1080px) {
  :root { --ft-sidebar-width: 82px; }
  .brand { padding: 0 11px; justify-content: center; }
  .brand strong { font-size: 11px; }
  .brand > span,
  .nav-caption,
  .nav-item span,
  .nav-item::after,
  .sidebar-meta,
  .sidebar-boundary { display: none; }
  .nav-list { padding-top: 16px; }
  .nav-item { min-height: 54px; justify-content: center; padding: 0; }
  .nav-item img { width: 20px; height: 20px; }
  .nav-item.active { box-shadow: inset 3px 0 0 var(--ft-color-brand); }
  .topbar { grid-template-columns: minmax(170px, 1fr) minmax(220px, 300px) auto; }
  .today-date { display: none; }
  .surface-tab small { display: none; }
  .workbench-hero { grid-template-columns: 1fr; }
  .next-action-card { border-top: 1px solid var(--ft-color-border); border-left: 0; }
  .next-action-card ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .time-note { max-width: 360px; }
  .metric-card:nth-child(2),
  .dashboard-metric:nth-child(2) { border-right: 1px solid var(--ft-color-border); }
  .metric-card:nth-child(-n+2),
  .dashboard-metric:nth-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 820px) {
  .topbar { grid-template-columns: minmax(160px, 1fr) minmax(195px, 260px) auto; gap: 10px; padding-inline: 16px; }
  .product-lockup span,
  .product-lockup small { display: none; }
  .user-menu .button span { display: none; }
  .surface-nav { grid-template-columns: repeat(2, minmax(78px, 1fr)); overflow-x: auto; }
  .surface-tab { grid-template-columns: 16px minmax(0, 1fr); }
  .view-heading { min-height: 154px; }
  .view-heading-copy { max-width: 78%; }
  .view-heading h1 { font-size: clamp(30px, 5vw, 42px); }
  .workbench-intro-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .workbench-intro-action { width: 100%; }
  .workbench-research-brief__header { align-items: stretch; flex-direction: column; gap: 10px; }
  .workbench-research-brief__header > span { max-width: 100%; align-self: flex-start; }
  .priority-layout:not(.priority-layout--single) { grid-template-columns: minmax(0, 1fr) 190px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(3) { padding-top: 15px; padding-left: 0; border-left: 0; border-top: 1px solid #e4dbce; }
  .hero-stats > div:nth-child(4) { padding-top: 15px; border-top: 1px solid #e4dbce; }
  .command-groups,
  .settings-grid,
  .metrics-boundaries { grid-template-columns: 1fr; }
  .command-groups > section + section,
  .settings-grid > section + section,
  .metrics-boundaries article + article { border-top: 1px solid var(--ft-color-border); border-left: 0; }
  .mail-layout { grid-template-columns: 1fr; }
  .station-mail-inbox { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
  .mail-preview { min-height: 410px; }
  .map-summary-grid,
  .metric-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-summary-grid article:nth-child(2),
  .metric-card-grid article:nth-child(2) { border-right: 0; }
  .map-summary-grid article:nth-child(-n+2),
  .metric-card-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--ft-color-border); }
  .login-composition { grid-template-columns: 1fr; }
  .login-editorial { min-height: 460px; }
  .login-card { width: min(500px, 100%); justify-self: center; }
  .baseline-quick-links { grid-template-columns: 1fr; }
  .baseline-quick-links > a { border-right: 0; border-bottom: 1px solid #e4dbce; }
  .baseline-quick-links > a:last-child { border-bottom: 0; }
  .baseline-cases-empty { grid-template-columns: 1fr; }
  .baseline-cases-empty > div { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
  .baseline-cases-empty > article { min-height: 290px; }
  .capture-thesis { grid-template-columns: 1fr; }
  .capture-thesis-copy { border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
  .capture-workspace { grid-template-columns: 1fr; }
  .capture-run-ledger { border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
  .capture-policy-disclosure > div { grid-template-columns: 1fr; }
  .capture-policy-disclosure .text-action { justify-self: start; }
  .evidence-admission-hero { grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); }
  .evidence-admission-hero > article { padding-inline: 27px; }
  .evidence-baseline-grid { grid-template-columns: 1fr; }
  .evidence-task-admission { border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
}

@media (max-width: 680px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .page-frame { margin: 0; }
  .topbar {
    height: auto;
    min-height: 68px;
    position: sticky;
    top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 12px;
  }
  .command-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .user-menu { grid-column: 2; grid-row: 1; }
  .surface-nav { min-height: 52px; top: 112px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(104px, max-content); justify-content: start; }
  .surface-tab { min-height: 52px; padding: 0 12px; grid-template-columns: 17px auto auto; }
  .surface-nav { grid-auto-columns: minmax(124px, max-content); }
  .surface-tab span { overflow: visible; text-overflow: clip; }
  .surface-tab small { display: block; }
  .command-search,
  .user-menu .button,
  .segmented button,
  .inline-search,
  .outline-button,
  .primary-button,
  .locked-button { min-height: 44px; }
  .user-menu .button { min-width: 44px; }
  .toggle {
    width: 48px;
    height: 44px;
    min-height: 44px;
    padding: 13px 4px;
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .toggle::before {
    content: "";
    position: absolute;
    inset: 10px 2px;
    border: 1px solid #bfb19e;
    border-radius: 999px;
    background: #ded5c8;
  }
  .toggle.on { border: 0; background: transparent; }
  .toggle.on::before { border-color: var(--ft-color-brand); background: var(--ft-color-brand); }
  .toggle i { position: relative; z-index: 1; }
  .toggle.on i { transform: translateX(21px); }
  .page-frame > .ui-notice { padding: 9px 12px; font-size: 10px; }
  .ui-notice__aside { display: none; }
  .content { padding: 10px 10px 25px; }
  .workbench-intro-heading { min-height: 0; padding: 21px 16px 19px; }
  .workbench-intro-heading h1 { font-size: clamp(27px, 9vw, 37px); }
  .workbench-intro-heading > div > p:last-child { font-size: 11px; }
  .workbench-intro-action { min-height: 48px; }
  .workbench-research-brief { margin: 12px 10px 14px; padding: 15px 14px 16px; }
  .workbench-research-brief__header h2 { font-size: clamp(20px, 7vw, 25px); }
  .workbench-research-brief__body p { grid-template-columns: 1fr; gap: 5px; font-size: 12px; }
  .workbench-research-brief__grid { grid-template-columns: minmax(0, 1fr); }
  .workbench-view > .zine-seam { height: 28px; }
  .footer { padding: 15px 12px 20px; display: grid; gap: 4px; }
  .view-heading { min-height: 145px; margin-bottom: 28px; padding: 18px 16px 20px; }
  .view-heading-field { width: 74%; opacity: .22; }
  .view-heading-copy { max-width: 86%; }
  .view-heading h1 { font-size: clamp(29px, 9vw, 40px); }
  .view-heading-copy > p { max-width: 92%; font-size: 11px; }
  .view-heading-meta { min-width: 50px; }
  .view-folio { font-size: 37px; }
  .production-chip { display: none; }
  .module-toolbar { min-height: 54px; flex-wrap: wrap; }
  .inline-search { width: 100%; margin: 0; order: 3; }
  .mail-module-toolbar .inline-search { width: 100%; }
  .priority-brief { padding: 20px 16px 10px; }
  .priority-brief > h1 { font-size: 17px; }
  .baseline-priority-brief { padding-bottom: 23px; }
  .baseline-priority-brief > h1 { font-size: 18px; line-height: 1.45; }
  .baseline-case-link { font-size: clamp(30px, 10vw, 43px); }
  .baseline-priority-copy > p { font-size: 11px; }
  .baseline-task-strip { grid-template-columns: 1fr; }
  .baseline-task-strip article { min-height: 104px; border-right: 0; border-bottom: 1px solid #e4dbce; }
  .baseline-task-strip article:last-child { border-bottom: 0; }
  .baseline-boundary-line { font-size: 11px; line-height: 1.5; }
  .baseline-archive-link { text-align: left; }
  .baseline-cases-empty > div,
  .baseline-cases-empty > article { padding: 28px 20px; }
  .baseline-cases-empty > div strong { font-size: 70px; }
  .baseline-cases-empty nav { align-items: stretch; flex-direction: column; width: 100%; }
  .priority-layout { display: block; }
  .case-link { font-size: clamp(31px, 10vw, 48px); white-space: normal; }
  .mobile-priority-action { min-height: 44px; margin: 0 0 18px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ft-color-brand); color: var(--ft-color-brand); font-family: var(--ft-font-display); font-size: 11px; text-decoration: none; }
  .next-action-card ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-live-panel > #station-dashboard-root,
  .station-live-panel > #station-funnel-root { padding: 10px; }
  .station-dashboard { padding: 0; }
  .command-center-search { width: calc(100% - 24px); margin: 12px; }
  .command-list a { min-height: 68px; padding-inline: 13px; grid-template-columns: 20px minmax(0, 1fr) 16px; }
  .command-list kbd { display: none; }
  .station-mail-hero { display: block; padding: 18px 16px; }
  .mail-route-chip { margin-top: 13px; display: inline-block; }
  .station-mail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-mail-facts > div:nth-child(2) { border-right: 0; }
  .station-mail-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--ft-color-border); }
  .station-mail-facts > div { min-width: 0; }
  .station-mail-facts strong { overflow-wrap: anywhere; }
  .mail-preview > h2 { font-size: 22px; }
  .map-filter { align-items: stretch; flex-wrap: wrap; }
  .map-filter > label,
  .map-filter .inline-search { width: 100%; }
  .map-filter .outline-button { flex: 1; }
  .metrics-funnel { margin: 10px; }
  .settings-footer { align-items: stretch; flex-direction: column; }
  .settings-footer .primary-button { width: 100%; }
  .acquisition-module > .acquisition-layout { padding: 10px; }
  .two-column,
  .acquisition-layout { grid-template-columns: 1fr; }
  .capture-toolbar > p { align-items: flex-start; flex-wrap: wrap; }
  .capture-toolbar > p span:last-child { width: 100%; padding-left: 15px; white-space: normal; }
  .capture-thesis-copy { padding: 25px 18px; }
  .capture-thesis-copy h2 { font-size: clamp(28px, 9vw, 40px); }
  .capture-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capture-kpi-strip > div { min-height: 135px; border-bottom: 1px solid var(--ft-color-border); }
  .capture-kpi-strip > div:nth-child(2) { border-right: 0; }
  .capture-kpi-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .capture-kpi-strip dd { font-size: 44px; }
  .capture-run-ledger { padding: 21px 15px 24px; }
  .capture-section-heading { display: grid; gap: 10px; }
  .capture-section-heading > span { justify-self: start; }
  .capture-run { grid-template-columns: 34px minmax(0, 1fr) 66px; grid-template-rows: auto auto auto; column-gap: 10px; }
  .capture-run-index { grid-row: 1 / 4; }
  .capture-run-index small { display: none; }
  .capture-run-subject { grid-column: 2; }
  .capture-package-state { grid-column: 2 / 4; grid-row: 2; margin-top: 11px; padding: 9px 0 0; border-top: 1px solid var(--ft-color-border); border-left: 0; }
  .capture-run-proof { grid-column: 3; grid-row: 1; }
  .capture-run-proof[open] { grid-column: 2 / 4; grid-row: 4; }
  .capture-action-rail { grid-column: 2 / 4; grid-row: 3; }
  .capture-action-rail li { grid-template-columns: 15px minmax(0, 1fr); padding-right: 3px; }
  .capture-action-rail li b { font-size: 10px; line-height: 1.35; }
  .capture-run-proof ol { grid-template-columns: 1fr; }
  .capture-run-proof code,
  .capture-receipt-hash { font-size: 11px; line-height: 1.55; }
  .capture-policy-disclosure > summary { min-height: 58px; padding-inline: 17px; }
  .capture-policy-disclosure > div { padding: 0 17px 20px; }
  .evidence-baseline > .module-toolbar p { align-items: flex-start; flex-direction: column; gap: 3px; }
  .evidence-baseline > .module-toolbar span { white-space: normal; }
  .evidence-admission-hero { grid-template-columns: 1fr; }
  .evidence-admission-hero > div { min-height: 170px; padding: 24px 18px; border-right: 0; border-bottom: 1px solid var(--ft-color-border); }
  .evidence-admission-hero > div h2 strong { font-size: 72px; }
  .evidence-admission-hero > article { padding: 27px 18px; }
  .evidence-admission-hero > article h2 { font-size: 27px; }
  .evidence-baseline-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-baseline-metrics > div { border-bottom: 1px solid var(--ft-color-border); }
  .evidence-baseline-metrics > div:nth-child(2) { border-right: 0; }
  .evidence-baseline-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .evidence-task-admission { padding: 21px 15px 24px; }
  .evidence-admission-list article { grid-template-columns: 28px minmax(0, 1fr) 58px; grid-template-rows: auto auto; }
  .evidence-admission-list article > b { grid-column: 2; grid-row: 2; margin-top: 5px; }
  .evidence-admission-list article > em { grid-column: 3; grid-row: 1 / 3; }
  .evidence-baseline-footer { align-items: flex-start; flex-direction: column; }
  .archive-mode-banner { align-items: flex-start; flex-direction: column; }
  .button,
  input,
  select,
  .pagination a,
  .gap-more > summary,
  .evidence-table details > summary { min-height: 44px; }
  .pagination a,
  .gap-more > summary,
  .evidence-table details > summary,
  .evidence-table a { display: inline-flex; align-items: center; }
  .evidence-table a { min-height: 44px; }
  .login-stage { grid-template-rows: 66px minmax(0, 1fr) 28px auto; }
  .login-topbar { padding-inline: 16px; }
  .login-lockup { gap: 9px; }
  .login-lockup strong { font-size: 16px; }
  .login-lockup span { max-width: 126px; padding-left: 9px; font-size: 10px; }
  .login-product-name { display: none; }
  .login-header-actions { gap: 0; }
  .login-composition { padding: 32px 16px 44px; gap: 28px; }
  .login-editorial { min-height: 440px; padding-top: 4px; }
  .login-editorial h1 { font-size: clamp(45px, 13vw, 61px); letter-spacing: -.035em; }
  .login-deck { font-size: 14px; line-height: 1.75; }
  .login-site-note { margin-top: 18px; font-size: 10px; }
  .login-principles { grid-template-columns: 1fr; margin-top: 30px; }
  .login-principles li { min-height: 58px; padding: 11px 0; border-bottom: 1px solid var(--login-rule); }
  .login-principles li + li { padding-left: 0; border-left: 0; }
  .login-field-art { width: 100%; left: 0; bottom: -4px; opacity: .22; }
  .login-card { padding: 28px 20px 24px; }
  .login-card-heading { margin-bottom: 24px; }
  .login-card h2 { font-size: 29px; }
  .login-footer { min-height: 58px; padding: 12px 16px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
}
