:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-soft: rgba(248, 251, 252, 0.82);
  --surface-raised: rgba(255, 255, 255, 0.95);
  --border: rgba(111, 126, 148, 0.2);
  --border-strong: rgba(70, 89, 113, 0.34);
  --text: #101827;
  --muted: #667085;
  --accent: #12b99f;
  --accent-dark: #078173;
  --accent-soft: rgba(218, 249, 241, 0.82);
  --accent-warm: #ff8a3d;
  --accent-warm-soft: rgba(255, 238, 218, 0.88);
  --nav: rgba(255, 255, 255, 0.84);
  --nav-soft: rgba(233, 250, 246, 0.9);
  --nav-text: #263244;
  --success: #11a66a;
  --warning: #e18a1a;
  --danger: #d84a3a;
  --glass-highlight: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    linear-gradient(145deg, rgba(18, 185, 159, 0.08), transparent 34%),
    linear-gradient(215deg, rgba(255, 138, 61, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0, #f5f7fb 380px, #eef3f7 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  overflow-x: hidden;
}

body.login-body {
  background: #0f2c2f;
  background-image: linear-gradient(160deg, #0e3034 0%, #132a3a 100%);
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.app-frame {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.sidebar {
  background: var(--nav);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 12px 0 36px rgba(31, 50, 62, 0.08);
  color: var(--nav-text);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100vh;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  min-width: 0;
}

.brand {
  align-items: center;
  color: var(--text);
  display: flex;
  gap: 10px;
  font-weight: 800;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, #27b7a8, #188c82);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(34, 166, 153, 0.28);
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.1;
}

.brand em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  margin-top: 3px;
}

.sidebar-search {
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  min-height: 38px;
  padding: 9px 11px;
}

.sidebar-search:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-nav a,
.sidebar-foot a {
  border-radius: 8px;
  color: var(--nav-text);
  font-weight: 700;
  padding: 9px 10px;
}

.sidebar-nav a:hover,
.sidebar-foot a:hover {
  background: var(--nav-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.sidebar-nav a.active,
.sidebar-foot a.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: inset 3px 0 0 var(--accent);
}

.sidebar-foot {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.topbar-logout {
  display: inline-flex;
  margin: 0;
}

.topbar-logout button {
  background: transparent;
  border-color: var(--border);
  color: var(--nav-text);
  justify-content: flex-start;
  min-height: 28px;
  padding: 4px 8px;
  width: 100%;
}

.topbar-logout button:hover {
  background: var(--nav-soft);
  color: var(--accent-dark);
}

.shell {
  margin: 0;
  max-width: none;
  min-width: 0;
  padding: 30px;
  width: 100%;
}

.global-blackout-banner {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 239, 0.86)),
    linear-gradient(90deg, rgba(255, 138, 61, 0.12), rgba(18, 185, 159, 0.06));
  border: 1px solid rgba(255, 138, 61, 0.36);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.18fr) auto;
  margin-bottom: 18px;
  padding: 14px;
}

.global-blackout-banner.state-clear {
  display: none;
}

.global-blackout-banner.state-overdue {
  border-color: rgba(216, 74, 58, 0.42);
}

.global-blackout-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.global-blackout-copy span {
  color: #8f4915;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.global-blackout-banner.state-overdue .global-blackout-copy span {
  color: #a33125;
}

.global-blackout-copy strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.global-blackout-copy p,
.global-blackout-copy em {
  margin: 0;
}

.global-blackout-copy p {
  color: var(--text);
  font-weight: 700;
}

.global-blackout-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.global-blackout-count {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 138, 61, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 10px 12px;
  text-align: center;
}

.global-blackout-count strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.global-blackout-count span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.global-blackout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.login-shell {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 420px);
  min-height: 100vh;
  padding: 24px;
}

.login-brand-panel {
  color: #ffffff;
  display: grid;
  gap: 24px;
  justify-self: end;
  max-width: 660px;
  padding: 16px;
}

.login-brand {
  color: #ffffff;
}

.login-brand em {
  color: rgba(255, 255, 255, 0.72);
}

.login-brand-copy {
  display: grid;
  gap: 14px;
}

.login-brand-copy .status-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #dff8ec;
  justify-self: start;
}

.login-brand-copy h1 {
  color: #ffffff;
  font-size: 48px;
  max-width: 640px;
}

.login-brand-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.login-capability-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.login-capability-grid div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.login-capability-grid strong {
  color: #ffffff;
}

.login-capability-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.login-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(6, 22, 34, 0.25);
  margin: 0 auto;
  max-width: 420px;
  padding: 24px;
  width: 100%;
}

.login-panel h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.login-eyebrow {
  color: var(--accent-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.login-hint {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
}

.login-hint div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.login-hint span,
.login-footnote {
  font-size: 12px;
}

.login-hint strong {
  font-size: 12px;
  text-align: right;
}

.login-next-card {
  background: linear-gradient(135deg, rgba(232, 251, 246, 0.86), rgba(255, 247, 239, 0.78));
  border: 1px solid rgba(18, 185, 159, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 12px;
}

.login-next-card div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.login-next-card span,
.login-next-card p,
.login-flow span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.login-next-card span {
  color: var(--muted);
  text-transform: uppercase;
}

.login-next-card strong {
  color: var(--accent-dark);
  font-size: 13px;
  text-align: right;
}

.login-next-card p {
  color: var(--muted);
  margin: 0;
}

.login-flow {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
}

.login-flow span {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  min-width: 0;
  padding: 7px 6px;
  text-align: center;
}

.page-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-page-head {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 255, 251, 0.82));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 10px;
  padding: 18px;
}

.dashboard-page-head h1 {
  font-size: 36px;
}

.dashboard-main-actions {
  align-items: center;
}

.dashboard-main-actions form {
  display: inline-flex;
  gap: 8px;
}

.dashboard-tool-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.dashboard-tool-strip a {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--nav-text);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.dashboard-tool-strip a:hover {
  background: var(--accent-soft);
  border-color: rgba(18, 185, 159, 0.34);
  color: var(--accent-dark);
  text-decoration: none;
}

.brandit-glance-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0 0 14px;
}

.brandit-glance-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  display: grid;
  gap: 5px;
  min-height: 118px;
  min-width: 0;
  padding: 12px;
}

.brandit-glance-card:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}

.brandit-glance-card > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.brandit-glance-card > strong {
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.brandit-glance-card.score > strong {
  font-size: 38px;
}

.brandit-glance-card > em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.brandit-glance-card.state-urgent,
.brandit-glance-card.state-manual_needed,
.brandit-glance-card.state-due {
  border-top-color: var(--accent-warm);
}

.brandit-glance-card.state-blocked,
.brandit-glance-card.state-off,
.brandit-glance-card.state-paused {
  border-top-color: var(--danger);
}

.brandit-glance-card.state-clear,
.brandit-glance-card.state-active,
.brandit-glance-card.state-armed {
  border-top-color: var(--success);
}

.ops-ribbon {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.ops-ribbon-stage {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 13px;
}

.ops-ribbon-stage:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}

.ops-ribbon-stage > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-ribbon-stage > strong {
  font-size: 30px;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.ops-ribbon-stage > em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.32;
}

.ops-ribbon-stage form {
  align-self: end;
  display: inline-flex;
}

.ops-ribbon-stage.state-manual_needed,
.ops-ribbon-stage.state-urgent,
.ops-ribbon-stage.state-aging,
.ops-ribbon-stage.state-due {
  border-left-color: var(--accent-warm);
}

.ops-ribbon-stage.state-blocked,
.ops-ribbon-stage.state-off,
.ops-ribbon-stage.state-paused {
  border-left-color: var(--danger);
}

.ops-ribbon-stage.state-clear,
.ops-ribbon-stage.state-active,
.ops-ribbon-stage.state-armed {
  border-left-color: var(--success);
}

.autopilot-contract {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 16px;
}

.autopilot-contract-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 252, 0.78)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.08), rgba(255, 138, 61, 0.05));
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 6px;
  min-height: 132px;
  min-width: 0;
  padding: 13px;
}

.autopilot-contract-card > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.autopilot-contract-card > strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.autopilot-contract-card > em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 730;
  line-height: 1.35;
}

.autopilot-contract-card.state-manual_needed,
.autopilot-contract-card.state-urgent,
.autopilot-contract-card.state-due {
  border-top-color: var(--accent-warm);
}

.autopilot-contract-card.state-blocked,
.autopilot-contract-card.state-off,
.autopilot-contract-card.state-paused {
  border-top-color: var(--danger);
}

.autopilot-contract-card.state-clear,
.autopilot-contract-card.state-active,
.autopilot-contract-card.state-armed {
  border-top-color: var(--success);
}

.autotakedown-quick-control {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.autotakedown-control-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.autotakedown-control-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 252, 0.82)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.08), rgba(255, 138, 61, 0.05));
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 174px;
  min-width: 0;
  padding: 13px;
}

.autotakedown-control-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.autotakedown-control-card > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.autotakedown-control-card > strong {
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.autotakedown-control-card > p,
.autotakedown-control-card > em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.autotakedown-control-card .checkline {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 8px;
  margin: 0;
}

.autotakedown-control-card .checkline input {
  min-height: 16px;
  width: auto;
}

.autotakedown-control-card.state-manual_needed,
.autotakedown-control-card.state-urgent,
.autotakedown-control-card.state-due,
.autotakedown-control-card.state-aging,
.autotakedown-control-card.state-ready_to_arm,
.autotakedown-control-card.state-google_first {
  border-top-color: var(--accent-warm);
}

.autotakedown-control-card.state-blocked,
.autotakedown-control-card.state-off,
.autotakedown-control-card.state-overdue,
.autotakedown-control-card.state-paused {
  border-top-color: var(--danger);
}

.autotakedown-control-card.state-clear,
.autotakedown-control-card.state-active,
.autotakedown-control-card.state-armed,
.autotakedown-control-card.state-running {
  border-top-color: var(--success);
}

.readiness-gate {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr) auto;
  margin-bottom: 16px;
  padding: 14px;
}

.readiness-gate.state-urgent,
.readiness-gate.state-aging {
  border-left-color: var(--accent-warm);
}

.readiness-gate.state-overdue {
  border-left-color: var(--danger);
}

.readiness-gate.state-ready_to_arm {
  border-left-color: var(--accent);
}

.readiness-gate.state-armed {
  border-left-color: var(--success);
}

.readiness-gate-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.readiness-gate-main strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.readiness-gate-main p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.38;
  margin: 0;
}

.readiness-gate-checks {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.readiness-gate-checks a {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
}

.readiness-gate-checks a:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}

.readiness-gate-checks strong {
  font-size: 16px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.readiness-gate-checks span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.readiness-gate-checks .state-urgent,
.readiness-gate-checks .state-due,
.readiness-gate-checks .state-aging,
.readiness-gate-checks .state-manual_needed {
  border-top-color: var(--accent-warm);
}

.readiness-gate-checks .state-blocked,
.readiness-gate-checks .state-off,
.readiness-gate-checks .state-overdue,
.readiness-gate-checks .state-paused {
  border-top-color: var(--danger);
}

.readiness-gate-checks .state-clear,
.readiness-gate-checks .state-active,
.readiness-gate-checks .state-armed {
  border-top-color: var(--success);
}

.panel.blackout-sprint-launcher {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 242, 0.88)),
    linear-gradient(90deg, rgba(255, 138, 61, 0.14), rgba(18, 185, 159, 0.08));
  border-left: 4px solid var(--accent-warm);
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}

.blackout-sprint-main {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
}

.blackout-sprint-main h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.blackout-sprint-main p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.42;
  margin: 0;
  max-width: 920px;
}

.blackout-sprint-score {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 138, 61, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 5px;
  justify-items: start;
  padding: 14px;
}

.blackout-sprint-score strong {
  color: var(--text);
  font-size: 42px;
  line-height: 0.95;
}

.blackout-sprint-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.blackout-sprint-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(160px, 1fr));
}

.blackout-sprint-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
}

.blackout-sprint-card.primary {
  border-color: rgba(255, 138, 61, 0.36);
  box-shadow: 0 14px 32px rgba(255, 138, 61, 0.12);
}

.blackout-sprint-card span,
.blackout-sprint-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.blackout-sprint-card span {
  text-transform: uppercase;
}

.blackout-sprint-card strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.blackout-sprint-flow {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blackout-sprint-flow div {
  align-items: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 9px;
}

.blackout-sprint-flow strong {
  align-items: center;
  background: var(--accent-warm-soft);
  border-radius: 999px;
  color: #a24f10;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 12px;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.blackout-sprint-flow span {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.blackout-sprint-actions {
  align-items: center;
}

.sprint-command-rail {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(220px, 1fr));
}

.sprint-command-step {
  align-content: start;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
}

.sprint-command-step.primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(235, 251, 247, 0.78)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.16), rgba(255, 138, 61, 0.1));
  border-color: rgba(18, 185, 159, 0.34);
  box-shadow: var(--shadow-soft);
}

.sprint-command-step span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.sprint-command-step strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.12;
}

.sprint-command-step p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.38;
  margin: 0;
}

.sprint-command-step > .button,
.sprint-command-step > button {
  justify-self: start;
}

.blackout-sprint-submit {
  align-items: center;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 260px) auto;
  padding: 10px;
}

.blackout-sprint-submit .checkline {
  margin: 0;
}

.blackout-sprint-submit input[type="text"] {
  margin: 0;
  min-height: 36px;
}

.dashboard-detail-drawer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 251, 248, 0.82)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.08), rgba(255, 138, 61, 0.08));
  border: 1px solid rgba(18, 185, 159, 0.2);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin: 18px 0;
  overflow: hidden;
}

.dashboard-detail-drawer > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 8px 14px;
  grid-template-columns: minmax(130px, 0.22fr) minmax(220px, 0.36fr) minmax(0, 1fr);
  list-style: none;
  padding: 16px 18px;
}

.dashboard-detail-drawer > summary::-webkit-details-marker {
  display: none;
}

.dashboard-detail-drawer > summary::after {
  align-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-dark);
  content: "Open";
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  justify-self: end;
  line-height: 1;
  min-width: 64px;
  padding: 9px 12px;
}

.dashboard-detail-drawer[open] > summary::after {
  content: "Close";
}

.dashboard-detail-drawer > summary span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-detail-drawer > summary strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
}

.dashboard-detail-drawer > summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 720;
  line-height: 1.35;
  padding-right: 84px;
}

.dashboard-detail-drawer-content {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 18px;
  padding: 18px;
}

.dashboard-detail-drawer-content > section {
  margin: 0;
}

.panel.same-day-command {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 253, 249, 0.9)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.15), rgba(255, 138, 61, 0.12));
  border-left: 4px solid var(--accent);
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}

.panel.same-day-command.state-urgent,
.panel.same-day-command.state-manual_needed {
  border-left-color: var(--accent-warm);
}

.panel.same-day-command.state-clear {
  border-left-color: var(--success);
}

.same-day-command-main {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
}

.same-day-command-main h2 {
  font-size: 28px;
  margin: 0 0 6px;
}

.same-day-command-main p,
.same-day-boundary {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.42;
  margin: 0;
}

.same-day-command-score {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(18, 185, 159, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
}

.same-day-command-score strong {
  color: var(--text);
  font-size: 42px;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.same-day-command-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.same-day-command-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(160px, 1fr));
}

.same-day-command-steps {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.same-day-command-steps div {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 9px;
}

.same-day-command-steps strong {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 12px;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.same-day-command-steps span {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.official-form-boundary {
  align-items: start;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 138, 61, 0.28);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  padding: 10px 12px;
}

.official-form-boundary strong {
  color: #8f4915;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.official-form-boundary span {
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.36;
}

.blackout-primary-flow {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(300px, 1.25fr) repeat(2, minmax(220px, 1fr));
}

.blackout-primary-card {
  align-content: start;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.blackout-primary-card.action-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 250, 244, 0.9)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.2), rgba(255, 138, 61, 0.08));
  border-color: rgba(18, 185, 159, 0.38);
  box-shadow: var(--shadow-soft);
}

.blackout-primary-card span,
.advanced-blackout-tools > summary span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.blackout-primary-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.12;
}

.blackout-primary-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
  line-height: 1.38;
  margin: 0;
}

.blackout-primary-card .button,
.blackout-primary-card button {
  justify-self: start;
}

.primary-action-button {
  font-size: 15px;
  min-height: 46px;
  padding-inline: 18px;
}

.advanced-blackout-tools {
  margin: 0;
}

.advanced-blackout-tools > summary {
  background: rgba(255, 255, 255, 0.6);
  grid-template-columns: minmax(90px, 0.16fr) minmax(160px, 0.24fr) minmax(0, 1fr);
  padding: 12px 14px;
}

.advanced-blackout-tools .dashboard-detail-drawer-content {
  gap: 12px;
}

.source-google-first-boundary {
  align-items: center;
  grid-template-columns: minmax(170px, 0.24fr) minmax(0, 1fr) auto;
  margin-top: 10px;
}

.source-google-first-boundary .button {
  justify-self: end;
  white-space: nowrap;
}

.same-day-command-actions {
  align-items: center;
}

.same-day-command-actions form {
  display: inline-flex;
}

.same-day-submit {
  margin: 0;
}

h1,
h2 {
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: 34px;
  font-weight: 850;
  line-height: 1.05;
}

h2 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
}

.muted,
.empty {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.actions.left {
  justify-content: flex-start;
}

button,
.button {
  align-items: center;
  background: linear-gradient(145deg, #25b6a8, #179184);
  border: 1px solid rgba(25, 145, 132, 0.42);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 750;
  min-height: 36px;
  padding: 8px 12px;
  box-shadow: 0 12px 24px rgba(34, 166, 153, 0.2);
}

button:hover,
.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
}

button.small {
  min-height: 30px;
  padding: 5px 9px;
}

.button.small {
  min-height: 30px;
  padding: 5px 9px;
}

button.danger {
  background: var(--danger);
  border-color: var(--danger);
  box-shadow: 0 7px 16px rgba(193, 59, 50, 0.12);
}

button.danger:hover {
  background: #9f2f28;
}

button:disabled,
button:disabled:hover {
  background: #e8eef2;
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}

.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-soft);
}

.secondary:hover {
  background: var(--nav-soft);
  border-color: var(--border-strong);
  color: var(--accent-dark);
}

.metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  margin-bottom: 20px;
}

.dashboard-command-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(250px, 0.82fr) minmax(320px, 1.14fr) minmax(280px, 1fr) minmax(250px, 0.82fr);
  margin-bottom: 16px;
}

.command-hero-score,
.command-next-action,
.command-auto-posture,
.command-access-posture {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.mission-control-panel {
  display: grid;
  gap: 14px;
}

.source-switchboard-panel {
  display: grid;
  gap: 14px;
}

.source-switchboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.95fr);
}

.source-switchboard-command,
.source-switchboard-detail,
.source-switchboard-arm {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.source-switchboard-command strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
}

.source-switchboard-command p,
.source-switchboard-arm p {
  color: var(--muted);
  margin: 0;
}

.source-switchboard-facts,
.source-switchboard-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-switchboard-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-switchboard-facts div,
.source-switchboard-stats div,
.source-switchboard-exclusions,
.source-switchboard-list,
.source-switchboard-proof {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.source-switchboard-facts strong,
.source-switchboard-stats strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.source-switchboard-facts span,
.source-switchboard-stats span,
.source-switchboard-exclusions span,
.source-switchboard-list span,
.source-switchboard-proof span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.source-switchboard-exclusions strong,
.source-switchboard-list strong,
.source-switchboard-proof strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
}

.source-switchboard-proof {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.source-switchboard-proof div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.source-switchboard-arm {
  grid-column: 1 / -1;
}

.loop-stability-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.loop-stability-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.loop-stability-item {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 11px;
}

.loop-stability-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.loop-stability-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.loop-stability-item strong {
  font-size: 20px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.loop-stability-item em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.warning-list {
  color: var(--warning);
}

.strike-first-screen {
  background: var(--surface);
  display: grid;
  gap: 14px;
}

.strike-first-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1.08fr) minmax(240px, 0.96fr) minmax(220px, 0.82fr) minmax(260px, 1fr);
}

.strike-first-card {
  align-content: start;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 50, 62, 0.1);
  display: grid;
  gap: 8px;
  min-height: 192px;
  padding: 14px;
}

.strike-first-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.strike-first-card > strong {
  font-size: 34px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.strike-first-card > em {
  color: var(--accent-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.strike-first-card > p,
.strike-boundary-note {
  line-height: 1.4;
  margin: 0;
}

.strike-first-card .inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-template-columns: none;
  margin-bottom: 0;
}

.strike-first-card .inline-form button,
.strike-first-card .inline-form .button {
  flex: 1 1 112px;
  justify-content: center;
}

.strike-first-card.state-urgent,
.strike-first-card.state-manual_needed,
.strike-first-card.state-due {
  border-top-color: var(--warning);
}

.strike-first-card.state-blocked,
.strike-first-card.state-off,
.strike-first-card.state-paused {
  border-top-color: var(--danger);
}

.strike-first-card.state-armed,
.strike-first-card.state-clear,
.strike-first-card.state-active {
  border-top-color: var(--success);
}

.strike-activity-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 252, 251, 0.62) 100%);
}

.activity-pulse-list {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.activity-pulse-list a {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
}

.activity-pulse-list a:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.activity-pulse-list strong {
  font-size: 12px;
  line-height: 1.2;
}

.activity-pulse-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mission-control-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-score-value {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-score-value strong {
  font-size: 46px;
  line-height: 0.92;
}

.hero-score-value span,
.next-action-main p {
  color: var(--muted);
  font-weight: 700;
}

.hero-score-meta {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-score-meta a,
.posture-list a {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 3px;
  padding: 10px;
}

.hero-score-meta a:hover,
.posture-list a:hover {
  text-decoration: none;
}

.hero-score-meta strong {
  font-size: 18px;
  line-height: 1;
}

.hero-score-meta span,
.posture-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.next-action-main {
  display: grid;
  gap: 6px;
}

.next-action-main strong {
  font-size: 24px;
  line-height: 1.08;
}

.next-action-main p {
  line-height: 1.38;
  margin: 0;
}

.posture-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.posture-list strong {
  font-size: 13px;
}

.access-posture-list {
  display: grid;
  gap: 8px;
}

.access-posture-list div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
}

.access-posture-list strong {
  font-size: 13px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.access-posture-list span,
.access-posture-detail {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.access-posture-detail {
  margin: 0;
}

.access-tunnel-command {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.access-tunnel-command strong {
  color: var(--text);
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.access-tunnel-command span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.access-tunnel-command code {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: block;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  padding: 8px;
}

.metric,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow);
  position: relative;
}

.metric::before,
.panel::before {
  background: linear-gradient(180deg, var(--glass-highlight), rgba(255, 255, 255, 0));
  border-radius: 8px 8px 0 0;
  content: "";
  height: 1px;
  left: 1px;
  pointer-events: none;
  position: absolute;
  right: 1px;
  top: 0;
}

.metric {
  color: var(--text);
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 18px;
}

.metric:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 52px rgba(31, 50, 62, 0.14);
  text-decoration: none;
}

.value {
  font-size: 30px;
  font-weight: 850;
}

.label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 16px;
}

.batch-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.next-batch-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  margin-top: 12px;
}

.export-workflow {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr) minmax(280px, 0.7fr);
  margin-top: 12px;
}

.boundary-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.boundary-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.boundary-grid strong {
  font-size: 14px;
}

.boundary-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.filing-run-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.filing-run-export {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-raised);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.filing-run-export-head {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.filing-run-grid {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
}

.filing-run-form {
  display: grid;
  gap: 12px;
}

.filing-run-submit {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.filing-run-payload {
  display: grid;
  gap: 8px;
}

.filing-run-payload pre {
  max-height: 110px;
}

.filing-run-steps {
  margin-top: 10px;
}

.filing-lane-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.filing-cadence-panel {
  display: grid;
  gap: 14px;
}

.current-sprint-cockpit {
  border-top: 4px solid var(--accent);
}

.sprint-cockpit-board {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(280px, 1.2fr) minmax(280px, 1fr);
}

.sprint-cockpit-primary,
.sprint-cockpit-steps,
.sprint-cockpit-payload,
.sprint-cockpit-record {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.sprint-cockpit-payload-grid {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
}

.sprint-cockpit-primary {
  align-content: start;
  display: grid;
  gap: 10px;
}

.sprint-cockpit-primary strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
}

.sprint-cockpit-primary p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.sprint-cockpit-steps {
  display: grid;
  gap: 8px;
}

.sprint-cockpit-steps div {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 30px minmax(0, 1fr);
}

.sprint-cockpit-steps strong {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.sprint-cockpit-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.sprint-cockpit-payload {
  display: grid;
  gap: 10px;
}

.sprint-cockpit-payload pre {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  max-height: 166px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
}

.sprint-cockpit-record {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.sprint-cockpit-record button[type="submit"] {
  justify-self: start;
}

.filing-cadence-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.filing-cadence-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
}

.filing-cadence-grid strong {
  font-size: 21px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.filing-cadence-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.next-sprint-submit {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.next-sprint-submit button[type="submit"] {
  justify-self: start;
}

.filing-field-kit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.field-kit-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field-kit-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.field-kit-grid strong {
  font-size: 18px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.field-kit-grid span,
.field-kit-details dd {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.field-kit-details {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: 112px minmax(0, 1fr);
  margin: 0;
  padding: 12px;
}

.form-assist-panel {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.sprint-fast-fields {
  margin-top: 10px;
}

.form-assist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.captcha-safe-google-panel {
  border-top: 3px solid var(--accent);
}

.google-field-copy-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.google-field-copy-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
}

.google-field-copy-card span {
  color: var(--muted);
  font-size: 12px;
}

.google-field-copy-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.simple-dmca-head {
  border-left: 4px solid var(--accent);
}

.simple-dmca-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
}

.simple-dmca-refill {
  display: grid;
  gap: 14px;
}

.simple-dmca-refill-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simple-dmca-refill-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.simple-dmca-refill-card.primary {
  border-color: rgba(20, 184, 166, 0.36);
  box-shadow: 0 16px 38px rgba(20, 184, 166, 0.12);
}

.simple-dmca-refill-card strong {
  color: var(--text);
  font-size: 16px;
}

.simple-dmca-refill-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.simple-dmca-primary {
  display: grid;
  gap: 14px;
}

.simple-dmca-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-dmca-metrics div {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
}

.simple-dmca-metrics strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.simple-dmca-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.copy-payload-box {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  min-height: 360px;
  resize: vertical;
  white-space: pre;
}

.copy-payload-box.compact {
  min-height: 132px;
  white-space: pre-wrap;
}

.simple-dmca-instructions {
  align-self: start;
  display: grid;
  gap: 12px;
}

.simple-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.simple-step-list li {
  padding-left: 3px;
}

.simple-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-copy-panels {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.simple-copy-panels label,
.simple-dmca-complete label.strong {
  color: var(--text);
  display: block;
  font-weight: 760;
  margin-bottom: 8px;
}

.simple-dmca-complete {
  display: grid;
  gap: 14px;
}

.simple-dmca-complete .blackout-sprint-submit {
  margin: 0;
}

.captcha-safe-actions {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.lane-runner-panel {
  display: grid;
  gap: 12px;
}

.lane-runner-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lane-runner-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.64fr) minmax(260px, 0.82fr);
  padding: 12px;
}

.lane-runner-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.lane-runner-card p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.lane-runner-actions {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lane-runner-submit {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(108px, auto) minmax(0, 1fr) auto;
}

.lane-runner-submit input[type="text"] {
  min-width: 0;
}

.filing-lane-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.filing-lane-card p {
  margin: 4px 0 0;
}

.filing-lane-card pre {
  max-height: 96px;
}

.filing-sprints-panel {
  display: grid;
  gap: 12px;
}

.filing-sprint-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.filing-sprint-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.filing-sprint-card p {
  margin: 4px 0 0;
}

.filing-sprint-card pre {
  max-height: 118px;
}

.blackout-sla-command {
  display: grid;
  gap: 14px;
}

.blackout-sla-grid,
.blackout-command-steps {
  display: grid;
  gap: 10px;
}

.blackout-sla-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blackout-sla-grid div,
.blackout-command-steps div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.blackout-sla-grid strong {
  font-size: 24px;
  line-height: 1;
}

.blackout-sla-grid span,
.blackout-command-steps span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.blackout-command-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blackout-command-steps div {
  align-items: start;
  grid-template-columns: 28px minmax(0, 1fr);
}

.blackout-command-steps strong {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.lane-filed-form {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.export-step {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
}

.step-number {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.export-payload {
  min-height: 360px;
}

.grid.two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.panel {
  margin-bottom: 16px;
  overflow: hidden;
  padding: 18px;
}

.panel.narrow {
  max-width: 720px;
}

.panel-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.panel-head > * {
  min-width: 0;
}

.status-panel {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
}

.ops-panel {
  padding-bottom: 12px;
}

.strike-command {
  padding-bottom: 12px;
}

.dashboard-blackout-banner {
  display: grid;
  gap: 14px;
}

.blackout-attack-mini,
.attack-plan-grid {
  display: grid;
  gap: 10px;
}

.blackout-attack-mini {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.blackout-attack-mini div,
.attack-plan-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
}

.blackout-attack-mini strong,
.attack-plan-grid strong {
  font-size: 22px;
  line-height: 1;
}

.blackout-attack-mini span,
.attack-plan-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.blackout-attack-plan {
  display: grid;
  gap: 14px;
}

.attack-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.attack-plan-progress {
  background: #d9e7ec;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.attack-plan-progress span {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  display: block;
  height: 100%;
}

.priority-stack-panel {
  padding-bottom: 12px;
}

.priority-stack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.priority-action {
  align-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: 36px minmax(0, 1fr) minmax(108px, 160px);
  min-height: 84px;
  padding: 10px 12px;
}

.priority-action:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.priority-rank {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.priority-action-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.priority-action p {
  color: var(--muted);
  margin: 4px 0 0;
}

.priority-action-count {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.priority-action-count strong {
  font-size: 22px;
  line-height: 1;
}

.priority-action-count span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.source-autopilot-command {
  display: grid;
  gap: 12px;
}

.source-strike-runner {
  display: grid;
  gap: 12px;
}

.source-runner-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.source-send-cadence-panel {
  display: grid;
  gap: 14px;
}

.source-cadence-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.source-cadence-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
}

.source-cadence-grid strong {
  font-size: 21px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.source-cadence-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.source-runner-step {
  align-content: start;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 12px;
}

.source-runner-step > span {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.source-runner-step strong {
  font-size: 15px;
}

.source-runner-step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

.source-runner-step form {
  gap: 6px;
}

.source-runner-send {
  background: var(--accent-soft);
}

.source-command-body {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.source-command-action {
  display: grid;
  gap: 8px;
}

.source-manifest-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 10px 0;
}

.source-manifest-summary div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 10px;
}

.source-manifest-summary strong {
  font-size: 19px;
  line-height: 1;
}

.source-manifest-summary span {
  color: var(--muted);
  font-size: 12px;
}

.verified-proof-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
}

.verified-proof-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.verified-proof-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.verified-proof-grid strong {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.verified-proof-grid span {
  color: var(--muted);
  font-size: 12px;
}

.brand-overview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  margin-bottom: 16px;
}

.brand-score-card,
.brand-profile-card {
  align-content: start;
}

.score-dial {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.score-dial strong {
  font-size: 42px;
  line-height: 1;
}

.score-dial span {
  color: var(--muted);
  font-weight: 700;
}

.score-bar {
  background: #d9e7ec;
  border-radius: 999px;
  height: 10px;
  margin: 12px 0;
  overflow: hidden;
}

.score-bar span {
  background: var(--accent);
  display: block;
  height: 100%;
}

.brand-score-grid,
.active-infringement-grid,
.auto-model-grid {
  display: grid;
  gap: 10px;
}

.brand-score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-score-grid a,
.active-tile,
.brand-profile-list a,
.brand-profile-list .empty,
.auto-model-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 4px;
  padding: 12px;
}

.brand-score-grid a:hover,
.active-tile:hover,
.brand-profile-list a:hover {
  text-decoration: none;
}

.brand-score-grid strong,
.active-tile strong {
  font-size: 22px;
  line-height: 1;
}

.brand-score-grid span,
.active-tile em,
.brand-profile-list span,
.auto-model-grid span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.brand-profile-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.brand-profile-list strong,
.active-tile span,
.auto-model-grid strong {
  font-weight: 800;
}

.score-driver-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.score-driver-head,
.score-driver {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.score-driver-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.score-driver {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 12px;
}

.score-driver:hover {
  text-decoration: none;
}

.score-driver strong,
.score-driver span {
  display: block;
}

.score-driver span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.score-driver em {
  color: var(--text);
  font-size: 20px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.score-driver.state-manual_needed,
.score-driver.state-needs_review,
.score-driver.state-due {
  border-left-color: var(--warning);
}

.score-driver.state-ready_to_arm,
.score-driver.state-waiting {
  border-left-color: var(--accent);
}

.score-driver.state-armed,
.score-driver.state-clear {
  border-left-color: var(--success);
}

.brand-profile-add-form {
  margin: 12px 0;
}

.active-infringements-panel,
.brand-activity-grid,
.auto-model-panel {
  margin-bottom: 16px;
}

.active-infringement-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}

.active-tile {
  min-height: 108px;
}

.alias-hotspot-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  margin: 12px 0;
}

.alias-hotspot-hero,
.alias-hotspot-summary a,
.alias-hotspot-row {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.alias-hotspot-hero {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.alias-hotspot-hero span,
.alias-hotspot-row span,
.alias-hotspot-row em,
.alias-hotspot-summary span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.alias-hotspot-hero strong {
  font-size: 24px;
  line-height: 1.1;
}

.alias-hotspot-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alias-hotspot-summary a {
  color: var(--text);
  display: grid;
  gap: 4px;
  padding: 12px;
}

.alias-hotspot-summary a:hover {
  text-decoration: none;
}

.alias-hotspot-summary strong {
  font-size: 22px;
  line-height: 1;
}

.alias-hotspot-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
}

.alias-hotspot-row {
  align-items: center;
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(160px, 0.8fr) minmax(160px, 1fr) 48px;
  padding: 10px 12px;
}

.alias-hotspot-row:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.alias-hotspot-row strong {
  display: block;
}

.alias-hotspot-row em {
  font-weight: 800;
  text-align: right;
}

.alias-hotspot-meter {
  background: #d9e7ec;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.alias-hotspot-meter span {
  background: var(--accent);
  display: block;
  height: 100%;
}

.case-filter-panel {
  margin-bottom: 14px;
}

.case-results-command {
  margin-bottom: 14px;
}

.case-results-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.case-results-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 12px;
}

.case-results-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.case-results-card.primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 249, 0.9)),
    linear-gradient(90deg, rgba(18, 185, 159, 0.16), rgba(255, 138, 61, 0.1));
  border-color: rgba(18, 185, 159, 0.28);
}

.case-results-card span,
.case-results-card em,
.case-domain-strip span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.case-results-card strong {
  font-size: 25px;
  line-height: 1;
}

.case-domain-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.case-domain-strip > strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.case-domain-strip a {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 750;
  padding: 6px 10px;
}

.case-domain-strip a:hover {
  text-decoration: none;
}

.case-search-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(280px, 1fr) auto auto;
}

.case-search-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.case-search-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.auto-model-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.domain-dossier-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin-bottom: 16px;
}

.domain-info-panel dl {
  grid-template-columns: 112px minmax(0, 1fr);
}

.domain-capability-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.domain-capability-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.domain-capability-grid strong {
  font-size: 16px;
}

.domain-capability-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.domain-filter-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  margin: 12px 0;
}

.domain-filter-grid strong {
  display: block;
  margin-bottom: 8px;
}

.compact-tabs {
  margin-bottom: 0;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.table-actions form {
  display: inline-grid;
  gap: 0;
}

.command-cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.command-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 12px;
}

.command-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.command-card-head {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.command-card-head span {
  font-weight: 800;
}

.command-card-head strong {
  font-size: 24px;
  line-height: 1;
}

.command-metric {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.command-metric span {
  font-size: 18px;
  font-weight: 800;
}

.command-metric em,
.command-card b {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.command-card p {
  color: var(--muted);
  margin: 0;
}

.action-checklist {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  gap: 6px;
  line-height: 1.35;
  margin: 0;
  padding-left: 18px;
}

.compact-list {
  color: var(--muted);
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.dashboard-export-submit {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.dashboard-filing-handoff span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-export-fields {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr);
}

.command-run {
  align-content: start;
  margin: 0;
}

.ops-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}

.ops-flow-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ops-flow-eight {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-stage {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 12px;
}

.ops-stage:hover {
  text-decoration: none;
}

.ops-stage-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.ops-stage-head span {
  font-weight: 750;
}

.ops-stage-head strong {
  font-size: 20px;
}

.ops-stage p {
  color: var(--muted);
  margin: 0;
}

.ops-stage em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 700;
}

.status-badge {
  align-self: start;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  justify-self: start;
  padding: 3px 8px;
  text-transform: uppercase;
}

.state-armed,
.state-running,
.state-ready,
.state-fresh,
.state-public_bind {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(22, 163, 109, 0.34);
}

.state-manual_needed,
.state-ready_to_arm,
.state-due,
.state-aging,
.state-proxy_or_tunnel_required,
.state-network_bind_local_url {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(223, 139, 18, 0.36);
}

.state-urgent {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(223, 139, 18, 0.42);
}

.state-blocked,
.state-off,
.state-overdue {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(193, 59, 50, 0.34);
}

.state-waiting_recheck,
.state-active,
.state-dry_run,
.state-paused,
.state-needs_review,
.state-waiting,
.state-idle,
.state-clear,
.state-local_only,
.state-custom_bind {
  background: rgba(255, 255, 255, 0.62);
}

.state-armed .status-badge,
.state-running .status-badge,
.state-ready .status-badge,
.state-fresh .status-badge,
.state-public_bind .status-badge {
  background: #dff8ec;
  color: #0f6f4b;
}

.state-manual_needed .status-badge,
.state-ready_to_arm .status-badge,
.state-due .status-badge,
.state-aging .status-badge,
.state-proxy_or_tunnel_required .status-badge,
.state-network_bind_local_url .status-badge {
  background: #fff0c9;
  color: #9b5a0f;
}

.state-urgent .status-badge {
  background: #ffe0bd;
  color: #9b4f16;
}

.state-blocked .status-badge,
.state-off .status-badge,
.state-overdue .status-badge {
  background: #ffe2df;
  color: #a93129;
}

.state-waiting_recheck .status-badge,
.state-active .status-badge,
.state-dry_run .status-badge,
.state-paused .status-badge,
.state-needs_review .status-badge,
.state-waiting .status-badge,
.state-idle .status-badge,
.state-clear .status-badge,
.state-local_only .status-badge,
.state-custom_bind .status-badge {
  background: #eaf1f5;
  color: #4a5a6d;
}

.ops-note {
  border-top: 1px solid var(--border);
  margin: 12px 0 0;
  padding-top: 10px;
}

.status-grid,
.action-grid {
  display: grid;
  gap: 10px;
}

.status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.status-grid strong {
  font-size: 20px;
}

.status-grid span {
  color: var(--muted);
  font-size: 12px;
}

.action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

table {
  border-collapse: collapse;
  max-width: 100%;
  width: 100%;
}

.panel > table,
.metric > table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.panel > table th,
.panel > table td,
.metric > table th,
.metric > table td {
  white-space: nowrap;
}

.panel > table td.truncate,
.metric > table td.truncate {
  max-width: min(420px, 65vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel > table td.empty,
.metric > table td.empty {
  white-space: normal;
}

.panel > table.worklist-table {
  display: table;
  table-layout: fixed;
}

.panel > table.worklist-table th,
.panel > table.worklist-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.worklist-table th:nth-child(1),
.worklist-table td:nth-child(1) {
  width: 64px;
}

.worklist-table th:nth-child(2),
.worklist-table td:nth-child(2) {
  width: 150px;
}

.worklist-table th:nth-child(3),
.worklist-table td:nth-child(3) {
  width: 120px;
}

.worklist-table th:nth-child(4),
.worklist-table td:nth-child(4) {
  width: 150px;
}

.worklist-table th:nth-child(6),
.worklist-table td:nth-child(6) {
  width: min(360px, 30vw);
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.55);
}

tr:last-child td {
  border-bottom: 0;
}

tr.next-send td {
  background: var(--accent-soft);
}

.pill {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.action-kind-google {
  background: #dff8ec;
  color: #0f6f4b;
}

.action-kind-source {
  background: #fff2d7;
  color: #805200;
}

.action-kind-notice {
  background: #eaf1f5;
  color: #405264;
}

.scan-kind-sos {
  background: #dff8ec;
  color: #0f6f4b;
}

.scan-kind-engine {
  background: #eaf1f5;
  color: #405264;
}

.availability-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 8px;
  text-transform: uppercase;
}

.availability-pill.yes {
  background: #dff8ec;
  color: #0f6f4b;
}

.availability-pill.no {
  background: #eaf1f5;
  color: #4a5a6d;
}

.report-metrics {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.inline-form,
form.stack,
form {
  display: grid;
  gap: 10px;
}

.inline-form {
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 160px) auto auto;
  margin-bottom: 16px;
}

.inline-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 166, 153, 0.12);
  outline: none;
}

textarea {
  line-height: 1.4;
  resize: vertical;
}

.mini-payload {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  margin-top: 10px;
  min-height: 112px;
}

label {
  color: var(--muted);
  font-weight: 650;
}

.check,
.checkline {
  align-items: center;
  color: var(--text);
  display: flex;
  gap: 6px;
}

.check input,
.checkline input {
  min-height: auto;
  width: auto;
}

.checkline.strong {
  background: #fff4e8;
  border: 1px solid #edbf82;
  border-radius: 8px;
  margin: 2px 0 8px;
  padding: 10px;
}

.bulk-form {
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.batch-submit-form {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}

.next-batch-submit {
  align-self: start;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.table-action {
  display: inline-grid;
}

.export-submit-form {
  gap: 6px;
  min-width: 220px;
}

.export-submit-form input[type="text"] {
  min-width: 0;
  width: 100%;
}

.contact-verify-form {
  gap: 6px;
  min-width: 240px;
}

.contact-verify-form input {
  min-width: 0;
  width: 100%;
}

.bulk-current-contact-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bulk-selection-summary {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.review-strip {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) minmax(160px, auto);
  margin: 12px 0;
  padding: 10px;
}

.review-strip div {
  display: grid;
  gap: 2px;
}

.review-strip strong {
  font-size: 18px;
}

.review-strip span,
.review-limit-actions {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.review-limit-actions {
  align-items: center;
  display: flex !important;
  gap: 8px;
  justify-content: flex-end;
}

.review-limit-actions::before {
  content: "show";
}

.review-limit-actions a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
}

.compact-actions {
  align-items: center;
  justify-content: flex-start;
}

.query-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.steps {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.steps li {
  margin: 8px 0;
}

.query-list.compact {
  max-height: 260px;
  overflow: auto;
}

.visually-hidden {
  border: 0;
  height: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.section-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 18px;
}

code,
pre {
  background: #f4f8fa;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

code {
  padding: 3px 6px;
}

pre {
  margin: 0;
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
}

.summary {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 12px;
}

.danger-summary {
  background: #fef2f2;
  border-color: #fecaca;
}

.warning-summary {
  background: var(--accent-warm-soft);
  border-color: rgba(255, 138, 61, 0.38);
}

.compact-summary {
  margin-top: 0;
  padding: 10px;
}

.result-next-action {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.result-next-action span {
  color: var(--muted);
}

.error {
  color: var(--danger);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tabs a {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  padding: 8px 12px;
}

.tabs a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sprint-mode-note {
  margin: -8px 0 16px;
}

.filing-mode-recommendation {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: -6px 0 16px;
  padding: 12px;
}

.filing-mode-recommendation strong {
  display: block;
  font-size: 14px;
}

.filing-mode-recommendation span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}

.truncate {
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

dl {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: 96px minmax(0, 1fr);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    justify-self: stretch;
    max-width: none;
    padding: 0;
  }

  .login-brand-copy h1 {
    font-size: 34px;
  }

  .login-capability-grid {
    grid-template-columns: 1fr;
  }

  .app-frame {
    grid-template-columns: 1fr;
  }

  .sidebar {
    gap: 10px;
    min-height: auto;
    padding: 14px;
    position: static;
  }

  .sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 -2px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sidebar-foot {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    padding-top: 8px;
  }

  .sidebar-foot a,
  .topbar-logout {
    flex: 0 0 auto;
  }

  .topbar-logout button {
    min-height: 34px;
  }

  .shell {
    padding: 18px;
  }

  .sidebar,
  .shell,
  .page-head,
  .panel,
  .metric,
  .actions {
    max-width: 100%;
    min-width: 0;
  }

  .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics,
  .batch-grid,
    .case-search-form,
    .case-results-grid,
    .filing-run-grid,
    .filing-lane-grid,
    .sprint-cockpit-board,
    .sprint-cockpit-payload-grid,
    .filing-cadence-grid,
    .field-kit-grid,
    .google-field-copy-grid,
    .simple-dmca-layout,
    .simple-dmca-metrics,
    .simple-copy-panels,
    .global-blackout-banner,
    .filing-sprint-grid,
    .filing-sprint-card,
    .lane-runner-grid,
    .lane-runner-card,
    .lane-runner-submit,
    .attack-plan-grid,
    .blackout-attack-mini,
    .blackout-sla-grid,
    .blackout-command-steps,
    .boundary-grid,
    .brandit-glance-strip,
    .autopilot-contract,
    .autotakedown-control-grid,
    .dashboard-command-strip,
    .ops-ribbon,
    .readiness-gate,
    .readiness-gate-checks,
    .blackout-sprint-main,
    .blackout-sprint-grid,
    .blackout-sprint-flow,
    .sprint-command-rail,
    .blackout-primary-flow,
    .blackout-sprint-submit,
    .same-day-command-main,
    .same-day-command-grid,
    .same-day-command-steps,
    .official-form-boundary,
    .same-day-submit,
    .strike-first-grid,
    .mission-control-grid,
    .source-switchboard-grid,
    .loop-stability-grid,
    .source-switchboard-facts,
    .source-switchboard-stats,
    .brand-overview-grid,
    .next-batch-grid,
    .export-workflow,
  .grid.two,
    .source-command-body,
    .source-cadence-grid,
    .source-runner-grid,
    .status-panel,
    .command-cards,
    .hero-score-meta,
    .posture-list,
    .brand-score-grid,
  .brand-profile-list,
  .active-infringement-grid,
  .alias-hotspot-grid,
  .alias-hotspot-summary,
  .alias-hotspot-row,
  .auto-model-grid,
  .domain-dossier-grid,
  .domain-capability-grid,
  .domain-filter-grid,
  .ops-flow,
  .status-grid,
  .action-grid,
  .review-strip {
    grid-template-columns: 1fr;
  }

  .source-google-first-boundary .button {
    justify-self: stretch;
    width: 100%;
  }

  .dashboard-detail-drawer > summary {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .dashboard-detail-drawer > summary::after {
    justify-self: start;
  }

  .dashboard-detail-drawer > summary em {
    padding-right: 0;
  }

  .global-blackout-actions {
    justify-content: stretch;
  }

  .global-blackout-copy em {
    display: none;
  }

  .global-blackout-actions .button {
    justify-content: center;
    width: 100%;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .case-search-form input,
  .case-search-form button,
  .case-search-form .button {
    width: 100%;
  }

  .inline-fields {
    grid-template-columns: 1fr;
  }

  .priority-action {
    align-items: start;
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .priority-action-count {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .source-manifest-summary {
    grid-template-columns: 1fr;
  }

  .verified-proof-grid {
    grid-template-columns: 1fr;
  }

  .source-switchboard-proof {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .panel > table.worklist-table {
    display: block;
    table-layout: auto;
  }

  .panel > table.worklist-table th,
  .panel > table.worklist-table td {
    white-space: nowrap;
  }

  .panel > table.worklist-table td:nth-child(5),
  .panel > table.worklist-table td:nth-child(6) {
    min-width: 280px;
    white-space: normal;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dd {
    min-width: 0;
  }
}

@media (min-width: 901px) and (max-width: 1380px) {
  .ops-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readiness-gate {
    grid-template-columns: 1fr;
  }

  .readiness-gate-checks {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .strike-first-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blackout-sprint-grid,
  .blackout-sprint-flow,
  .same-day-command-grid,
  .same-day-command-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blackout-sprint-submit,
  .same-day-submit {
    grid-template-columns: 1fr;
  }

  .strike-first-card {
    min-width: 0;
  }
}
