:root {
  --navy: #0b1d2a;
  --navy-2: #102838;
  --ink: #1a2630;
  --ink-soft: #55636e;
  --paper: #f4f7f8;
  --panel: #ffffff;
  --line: #dce5e9;
  --line-strong: #c7d5dc;
  --teal: #149b86;
  --teal-dark: #08796e;
  --teal-soft: #dff4ef;
  --blue: #2b88d8;
  --blue-soft: #e4f1ff;
  --gold: #d79b32;
  --gold-soft: #fff2d8;
  --rose: #d7565e;
  --rose-soft: #fff0f0;
  --muted: #77848c;
  --radius: 13px;
  --radius-sm: 9px;
  --shadow: 0 12px 30px rgba(28, 52, 65, .09);
  --ease: cubic-bezier(.23, 1, .32, 1);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(43, 136, 216, .42); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; background: radial-gradient(circle at 85% 6%, rgba(33, 147, 179, .23), transparent 28%), radial-gradient(circle at 15% 85%, rgba(216, 160, 61, .24), transparent 34%), var(--navy); }
.login-card { width: min(100%, 510px); padding: clamp(30px, 6vw, 54px); color: white; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(16, 40, 56, .88); box-shadow: 0 32px 100px rgba(0,0,0,.36); backdrop-filter: blur(12px); }
.brand-lockup, .sidebar-brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; color: white; font-family: Georgia, serif; font-size: 22px; }
.eyebrow { margin: 0 0 7px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.3; }
h1 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 5vw, 42px); font-weight: 400; letter-spacing: -.04em; }
.login-copy { margin: 27px 0; color: rgba(255,255,255,.72); font-size: 15px; }
.login-form { display: grid; gap: 17px; }
label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.login-card label { color: white; }
input, textarea, select { width: 100%; padding: 12px 13px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px; background: white; }
.login-card input { color: white; border-color: rgba(255,255,255,.22); background: rgba(0,0,0,.2); }
textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
select option { color: var(--ink); }
.login-footnote, .dialog-note { margin: 19px 0 0; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.55; }
.dialog-note { color: var(--ink-soft); }
.form-error { min-height: 18px; margin: 0; color: #c83842; font-size: 13px; }

.button { min-height: 42px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 800; transition: transform 150ms var(--ease), background 180ms var(--ease), border 180ms var(--ease), box-shadow 180ms var(--ease); }
.button:active { transform: scale(.97); }
.button-primary { color: white; background: var(--teal); box-shadow: 0 7px 16px rgba(20, 155, 134, .22); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 9px 19px rgba(20, 155, 134, .28); }
.button-secondary { color: var(--ink); border-color: var(--line-strong); background: white; }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }
.text-button { margin: 8px 0 0; padding: 0; color: rgba(255,255,255,.64); border: 0; background: none; text-align: left; font-size: 12px; }
.text-button:hover { color: white; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 22px; line-height: 1; }

.app-shell { display: grid; min-height: 100vh; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 24px 13px 20px; color: white; border-right: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, #0b1d2a 0%, #0d2533 70%, #0b1d2a 100%); }
.sidebar::after { position: absolute; right: 0; bottom: 0; left: 0; height: 225px; opacity: .32; background: radial-gradient(ellipse at 60% 100%, rgba(79,155,147,.45), transparent 54%), linear-gradient(161deg, transparent 32%, rgba(255,255,255,.12) 33%, transparent 34%); content: ""; pointer-events: none; }
.sidebar-brand { position: relative; z-index: 1; padding: 0 9px 28px; }
.sidebar-brand .brand-mark { width: 33px; height: 33px; font-size: 17px; }
.sidebar-name { display: block; color: white; font-family: Georgia, serif; font-size: 19px; line-height: 1; letter-spacing: -.03em; }
.sidebar-subtitle { display: block; margin-top: 7px; color: rgba(255,255,255,.68); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.nav { position: relative; z-index: 1; display: grid; gap: 4px; }
.nav-item { display: flex; gap: 11px; align-items: center; width: 100%; padding: 10px 11px; color: rgba(255,255,255,.77); border: 0; border-radius: 8px; background: transparent; text-align: left; font-size: 12px; font-weight: 650; transition: background 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.nav-item span { width: 20px; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); transform: translateX(2px); }
.nav-item.active { color: white; background: rgba(43,136,216,.24); box-shadow: inset 0 0 0 1px rgba(102,181,255,.16); }
.nav-item.active span { color: #a8d3ff; }
.sidebar-footer { position: relative; z-index: 1; margin-top: auto; padding: 16px 10px 0; color: rgba(255,255,255,.72); font-size: 11px; }
.environment-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #71d1af; box-shadow: 0 0 0 4px rgba(113,209,175,.09); }

.main-content { min-width: 0; background: var(--paper); }
.topbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 92px; padding: 23px clamp(22px, 3.5vw, 50px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.91); }
.topbar h2 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; letter-spacing: -.045em; }
.topbar-actions { display: flex; gap: 11px; align-items: center; }
.phase-pill, .state-pill, .confidence-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; color: var(--teal-dark); border: 1px solid rgba(20,155,134,.23); border-radius: 999px; background: var(--teal-soft); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.page-content { padding: 0 clamp(18px, 3.5vw, 50px) 55px; }

.overview-hero { position: relative; display: flex; min-height: 218px; margin: 0 calc(clamp(18px, 3.5vw, 50px) * -1) 20px; padding: 35px clamp(22px, 3.5vw, 50px); overflow: hidden; color: white; background: radial-gradient(circle at 82% 18%, rgba(252, 191, 112, .93), transparent 4%), linear-gradient(100deg, rgba(8, 25, 39, .92) 0%, rgba(19, 59, 78, .5) 47%, rgba(156, 105, 62, .14) 100%), radial-gradient(ellipse at 70% 136%, #1e8193 0%, transparent 54%), linear-gradient(175deg, #3d5e64 0%, #1d4456 45%, #0b2030 100%); }
.overview-hero::before { position: absolute; right: 0; bottom: 0; left: 24%; height: 60%; opacity: .62; background: linear-gradient(177deg, transparent 0 43%, rgba(255,255,255,.22) 44% 45%, transparent 46%), radial-gradient(ellipse at 50% 150%, rgba(4,17,26,.86) 0 42%, transparent 43%); content: ""; }
.overview-hero::after { position: absolute; top: 37px; right: 9%; width: 215px; height: 150px; border: 1px solid rgba(255,255,255,.24); border-bottom: 0; box-shadow: 28px 0 0 -1px rgba(255,255,255,.1), 56px 0 0 -1px rgba(255,255,255,.08); content: ""; transform: skewY(-8deg); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,25,.4), transparent); pointer-events: none; }
.hero-copy, .hero-meta, .hero-quote { position: relative; z-index: 1; }
.hero-copy { align-self: flex-end; }
.hero-eyebrow { color: rgba(255,255,255,.76); }
.hero-copy h1 { margin: 0 0 6px; color: white; font-size: clamp(33px, 4.2vw, 54px); }
.hero-copy p:last-child { margin: 0; color: white; font-size: clamp(14px, 1.5vw, 19px); font-weight: 500; }
.hero-meta { position: absolute; top: 24px; right: clamp(22px, 3.5vw, 50px); display: flex; gap: 17px; align-items: center; color: rgba(255,255,255,.83); font-size: 10px; }
.hero-live { display: inline-flex; gap: 7px; align-items: center; }
.hero-live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #78d4b1; box-shadow: 0 0 0 4px rgba(120,212,177,.15); }
.hero-quote { position: absolute; right: clamp(22px, 3.5vw, 50px); bottom: 34px; max-width: 245px; margin: 0; color: rgba(255,255,255,.9); font-family: Georgia, serif; font-size: 15px; font-style: italic; line-height: 1.35; text-align: right; }

.metric-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: -20px; }
.metric-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; min-height: 131px; padding: 15px 13px; border: 1px solid rgba(203,215,220,.92); border-radius: var(--radius); background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
.metric-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; font-size: 16px; font-weight: 800; line-height: 1; }
.metric-compass { color: var(--teal-dark); background: var(--teal-soft); }.metric-change { color: #c88717; background: var(--gold-soft); }.metric-decision { color: var(--rose); background: var(--rose-soft); }.metric-agent { color: var(--teal-dark); background: var(--teal-soft); }.metric-next { color: white; background: var(--blue); }
.metric-eyebrow { margin: 1px 0 5px; color: var(--ink-soft); font-size: 9px; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.metric-badge, .count-chip { display: inline-flex; align-items: center; min-height: 18px; margin-left: 5px; padding: 1px 6px; color: var(--teal-dark); border-radius: 999px; background: var(--teal-soft); font-size: 10px; font-weight: 850; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.count-danger { color: #bd3742; background: var(--rose-soft); }
.metric-card h3 { margin: 0 0 4px; color: var(--ink); font-size: 14px; line-height: 1.25; }
.metric-card p:not(.metric-eyebrow) { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.35; }
.metric-action, .link-button { display: inline-flex; gap: 4px; align-items: center; margin-top: 8px; padding: 0; color: var(--blue); border: 0; background: none; font-size: 11px; font-weight: 750; }
.metric-action:hover, .link-button:hover { color: #136ab5; text-decoration: underline; }
.metric-action span, .link-button span { font-size: 14px; line-height: .7; }

.dashboard-layout { display: grid; grid-template-columns: minmax(275px, .72fr) minmax(470px, 1.55fr) minmax(285px, .82fr); gap: 12px; margin-top: 15px; align-items: start; }
.dashboard-card, .panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 4px 14px rgba(31,54,67,.035); }
.card-heading, .panel-header { display: flex; justify-content: space-between; gap: 13px; align-items: flex-start; padding: 17px 18px 13px; border-bottom: 1px solid #e9eef0; }
.card-heading h2, .panel-header h3 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 18px; font-weight: 400; letter-spacing: -.025em; }
.card-heading p, .panel-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.panel-body { padding: 12px 19px 19px; }
.clean-panel { margin-top: 22px; }

.chronology-card { grid-row: span 2; }
.chronology-list { padding: 7px 16px 13px; }
.timeline-row { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; padding: 11px 0; }
.timeline-row:not(:last-child)::after { position: absolute; top: 28px; left: 5px; width: 1px; height: calc(100% - 12px); background: #9cd9c6; content: ""; }
.timeline-dot { position: relative; z-index: 1; width: 10px; height: 10px; margin-top: 6px; border: 2px solid white; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px #6cc1a8; }
.timeline-row:nth-child(4n) .timeline-dot { background: var(--blue); box-shadow: 0 0 0 1px #5aa7e2; }
.timeline-row:nth-child(5n) .timeline-dot { background: var(--gold); box-shadow: 0 0 0 1px #d79b32; }
.timeline-copy { min-width: 0; }
.timeline-phase { margin: 0 0 3px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .035em; }
.timeline-copy h4 { margin: 0 0 4px; color: var(--ink); font-size: 12px; line-height: 1.25; }
.timeline-copy p:last-child { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.timeline-source { display: none; }

.roadmap-card-wide { grid-column: 2 / 4; }
.phase-toggle { padding: 7px 9px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 10px; font-weight: 700; }
.phase-toggle:hover { border-color: var(--blue); color: var(--blue); }
.phase-board { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap: 9px; padding: 13px; overflow-x: auto; }
.phase-column { min-width: 160px; min-height: 218px; padding: 12px; border-radius: 9px; background: #f6f8f8; }
.phase-column.phase-foundation { background: #f2f5f4; }.phase-column.phase-evidence { border: 1px solid rgba(43,136,216,.32); background: linear-gradient(180deg, #e8f4ff, #f7fbff); box-shadow: inset 0 2px 0 #56a7e4; }
.phase-column header { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 11px; color: var(--ink); font-size: 11px; font-weight: 800; }
.phase-column header em { padding: 3px 6px; color: var(--muted); border-radius: 999px; background: white; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.phase-evidence header em { color: var(--blue); background: var(--blue-soft); }
.phase-column ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.phase-task { display: grid; grid-template-columns: 15px minmax(0, 1fr) 11px; gap: 6px; align-items: center; min-height: 31px; padding: 5px 3px; color: #65727a; border-bottom: 1px solid rgba(215,224,227,.66); font-size: 10px; line-height: 1.25; }
.phase-task:last-child { border-bottom: 0; }.task-check { color: #a7b2b6; font-size: 15px; line-height: 1; }.phase-task.is-done { color: #287c69; }.phase-task.is-done .task-check { color: var(--teal); }.phase-task.is-current { color: #166baa; font-weight: 750; background: rgba(82,163,229,.11); }.phase-task.is-current .task-check { color: var(--blue); }.task-cursor { color: var(--blue); font-size: 14px; }

.agent-dashboard-card { grid-column: 2; }
.agent-list, .decision-list-dashboard, .blocker-list, .document-list, .evidence-list, .job-list { margin: 0; padding: 0; list-style: none; }
.agent-list { padding: 0 18px 4px; }.agent-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf1f3; }.agent-row:last-child { border-bottom: 0; }.agent-avatar { display: grid; place-items: center; width: 30px; height: 30px; color: white; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); font-size: 12px; font-weight: 800; }.agent-row p { margin: 0 0 2px; color: var(--ink); font-size: 11px; font-weight: 800; }.agent-row span { color: var(--muted); font-size: 10px; }.agent-status { padding: 4px 6px; color: var(--teal-dark) !important; border-radius: 999px; background: var(--teal-soft); font-size: 9px !important; font-weight: 800; text-transform: uppercase; }.agent-empty { display: flex; gap: 10px; align-items: flex-start; padding: 21px 2px 24px; color: var(--ink-soft); }.agent-empty .metric-icon { flex: 0 0 auto; color: var(--blue); background: var(--blue-soft); }.agent-empty strong { display: block; color: var(--ink); font-size: 12px; }.agent-empty p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; }
.dashboard-side-stack { display: grid; gap: 12px; }.compact-card .card-heading { padding-bottom: 11px; }.decision-list-dashboard { padding: 0 14px; }.decision-row { display: grid; grid-template-columns: 23px minmax(0, 1fr) 52px; gap: 8px; padding: 11px 0; border-bottom: 1px solid #edf1f3; }.decision-row:last-child { border-bottom: 0; }.decision-number { display: grid; place-items: center; width: 22px; height: 22px; color: white; border-radius: 50%; background: var(--rose); font-size: 10px; font-weight: 800; }.decision-type { display: block; margin-bottom: 3px; color: var(--rose); font-size: 8px; font-weight: 850; letter-spacing: .08em; }.decision-row strong { display: block; color: var(--ink); font-size: 11px; line-height: 1.3; }.decision-row p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }.decision-meta { color: var(--rose); font-size: 9px; font-weight: 700; text-align: right; }.blocker-list { padding: 0 14px 7px; }.blocker-row { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 8px; padding: 10px 0; }.blocker-row .metric-icon { width: 24px; height: 24px; color: var(--gold); background: var(--gold-soft); font-size: 13px; }.blocker-row strong { color: var(--ink); font-size: 11px; }.blocker-row p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }.blocker-row > span { display: none; }

.system-card { min-height: 210px; }.system-card:nth-last-child(3) { grid-column: 1; }.system-card:nth-last-child(2) { grid-column: 2; }.system-card:nth-last-child(1) { grid-column: 3; }.system-card-body { padding: 14px 17px 17px; }.system-card-body ul { display: grid; gap: 7px; margin: 13px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }.system-card-body li { display: flex; gap: 7px; align-items: flex-start; }.system-card-body li .metric-icon { flex: 0 0 auto; width: 17px; height: 17px; color: var(--teal-dark); background: var(--teal-soft); font-size: 10px; }.system-visual { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 63px; color: var(--ink-soft); border-radius: 8px; background: #f5f8f8; font-size: 9px; font-weight: 850; letter-spacing: .06em; }.value-visual i { width: 22px; height: 1px; background: var(--gold); }.value-visual span:nth-of-type(3) { padding: 7px; color: var(--teal-dark); border-radius: 999px; background: var(--teal-soft); }.clara-visual b { color: var(--blue); font-size: 15px; }.clara-visual span { padding: 7px; border-radius: 999px; background: white; }.twin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: 8px; background: var(--line); }.twin-metrics div { padding: 10px 7px; background: #f8fafb; text-align: center; }.twin-metrics strong { display: block; color: var(--teal-dark); font-size: 18px; }.twin-metrics span { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.2; }

.priority-list, .decision-list, .timeline-list { margin: 0; padding: 0; list-style: none; }.priority-item, .decision-item, .document-item, .evidence-item, .job-item { position: relative; padding: 16px 0; border-bottom: 1px solid #e9eef0; }.priority-item:last-child, .decision-item:last-child, .document-item:last-child, .evidence-item:last-child, .job-item:last-child { border-bottom: 0; }.item-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }.item-title { margin: 0 0 7px; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.35; }.item-copy { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }.workstream-swatch { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.timeline { position: relative; margin: 6px 0 0 7px; padding: 0 0 0 25px; border-left: 1px solid #96cfc0; }.timeline-event { position: relative; padding: 3px 0 23px; }.timeline-event::before { position: absolute; top: 7px; left: -31px; width: 11px; height: 11px; border: 3px solid white; border-radius: 50%; background: var(--teal); content: ""; box-shadow: 0 0 0 1px #52b99f; }.timeline-date { display: block; margin-bottom: 5px; color: var(--teal-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }.timeline-event h3 { margin: 0 0 6px; font-size: 15px; }.timeline-event p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }

.roadmap-board { display: grid; grid-template-columns: repeat(7, minmax(180px, 1fr)); gap: 12px; min-width: 1330px; padding-bottom: 4px; }.roadmap-scroll { overflow-x: auto; padding-bottom: 8px; }.roadmap-column { min-height: 360px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafb; }.roadmap-column h3 { margin: 0; padding: 13px 14px; color: var(--teal-dark); border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }.roadmap-card { margin: 10px; padding: 12px; border-left: 3px solid var(--card-color, var(--teal)); border-radius: 7px; background: white; box-shadow: 0 6px 16px rgba(27,51,64,.07); }.roadmap-card h4 { margin: 0 0 9px; color: var(--ink); font-size: 13px; line-height: 1.35; }.roadmap-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.roadmap-owner { margin-top: 9px !important; color: var(--teal-dark) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; font-size: 12px; }th { padding: 11px 12px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .09em; text-align: left; text-transform: uppercase; }td { padding: 15px 12px; color: var(--ink-soft); border-bottom: 1px solid #edf1f3; vertical-align: top; line-height: 1.45; }tr:last-child td { border-bottom: 0; }.table-title { color: var(--ink); font-weight: 750; }.small-button { min-height: 30px; padding: 5px 8px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; background: white; font-size: 10px; font-weight: 800; text-transform: uppercase; }.small-button:hover { color: var(--blue); border-color: var(--blue); }

.agent-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; padding: 23px; color: var(--ink); border: 1px solid rgba(20,155,134,.23); border-radius: var(--radius); background: linear-gradient(130deg, var(--teal-soft), white); }.agent-hero h3 { margin: 0 0 11px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; }.agent-hero p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }.agent-policy { display: grid; align-content: start; gap: 8px; padding-left: 20px; border-left: 1px solid var(--line); }.policy-row { color: var(--ink-soft); font-size: 11px; line-height: 1.45; }.policy-row strong { display: block; margin-bottom: 3px; color: var(--teal-dark); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }.job-state { color: var(--teal-dark); }.empty-state { padding: 31px 20px; color: var(--muted); text-align: center; font-size: 13px; }

.mission-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: 24px; padding: 27px; color: white; border-radius: var(--radius); background: radial-gradient(circle at 87% 15%, rgba(214,174,103,.34), transparent 20%), linear-gradient(125deg, #0c2735, #13566a 55%, #0b3440); box-shadow: var(--shadow); }.mission-hero h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 34px); font-weight: 400; letter-spacing: -.035em; }.mission-hero p:not(.eyebrow) { max-width: 700px; margin: 0; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.6; }.mission-hero .eyebrow { color: rgba(255,255,255,.67); }.mission-hero-policy { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(7,26,35,.24); }.mission-hero-policy div { display: grid; align-content: center; gap: 4px; padding: 12px; border-right: 1px solid rgba(255,255,255,.15); text-align: center; }.mission-hero-policy div:last-child { border-right: 0; }.mission-hero-policy strong { color: #e6bd75; font-family: Georgia, serif; font-size: 20px; }.mission-hero-policy span { color: rgba(255,255,255,.67); font-size: 9px; font-weight: 750; line-height: 1.3; text-transform: uppercase; }.mission-control-panel { margin-top: 18px; }.header-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }.mission-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; padding: 17px; }.mission-case-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(150deg, #fff, #f8fbfb); }.mission-case-card > header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }.case-reference { margin: 0 0 5px; color: var(--teal-dark); font-size: 10px; font-weight: 850; letter-spacing: .09em; }.mission-case-card h3 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 20px; font-weight: 400; }.case-summary { min-height: 54px; margin: 13px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.52; }.case-meta { display: flex; flex-wrap: wrap; gap: 6px; }.case-meta span { padding: 4px 6px; color: var(--muted); border-radius: 999px; background: #eef3f4; font-size: 9px; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }.case-next { margin-top: 14px; padding: 10px; border-left: 3px solid var(--blue); border-radius: 4px; background: var(--blue-soft); }.case-next strong { display: block; margin-bottom: 4px; color: #246a9f; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }.case-next p { margin: 0; color: #346b90; font-size: 11px; line-height: 1.4; }.mission-stack { display: grid; gap: 9px; margin-top: 14px; }.mission-row { padding: 12px; border: 1px solid #dbe5e8; border-radius: 8px; background: white; }.mission-row-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }.mission-row-top > div { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }.external-blocked { padding: 4px 6px; color: #8b6730; border-radius: 999px; background: var(--gold-soft); font-size: 8px; font-weight: 850; letter-spacing: .06em; }.mission-assignee { color: var(--muted); font-size: 9px; font-weight: 700; }.mission-row h4 { margin: 10px 0 4px; color: var(--ink); font-size: 13px; line-height: 1.3; }.mission-objective { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.48; }.mission-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }.mission-detail-grid p { margin: 0; padding: 8px; color: var(--ink-soft); border-radius: 6px; background: #f5f8f9; font-size: 10px; line-height: 1.4; }.mission-detail-grid strong { display: block; margin-bottom: 3px; color: var(--teal-dark); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }.mission-evidence-return { margin-top: 10px; padding: 9px; border-left: 3px solid #9a70ba; border-radius: 4px; background: #f6effa; }.mission-evidence-return p { margin: 0 0 5px; color: #64487c; font-size: 10px; line-height: 1.4; }.mission-evidence-return p:last-child { margin-bottom: 0; }.mission-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.mission-primary { color: white; border-color: var(--teal); background: var(--teal); }.mission-primary:hover { color: white; border-color: var(--teal-dark); background: var(--teal-dark); }.mission-status-copy { color: var(--muted); font-size: 10px; line-height: 1.4; }.case-new-mission { margin-top: 13px; }

.dialog { width: min(100% - 32px, 650px); padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.36); }.dialog::backdrop { background: rgba(8,24,36,.62); backdrop-filter: blur(3px); }.dialog-content { display: grid; gap: 17px; padding: 24px; }.dialog-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }.dialog-header h2 { margin: 0; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 3px; }.checkbox-row { grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: var(--ink-soft); font-size: 12px; font-weight: 500; }.checkbox-row input { width: auto; margin-top: 3px; }

.state-RESEARCH { color: #2e77b5; border-color: rgba(43,136,216,.23); background: var(--blue-soft); }.state-PLAN { color: #bd7d10; border-color: rgba(215,155,50,.26); background: var(--gold-soft); }.state-DELEGATE, .state-RUNNING { color: var(--teal-dark); border-color: rgba(20,155,134,.25); background: var(--teal-soft); }.state-EVIDENCE { color: #8656a2; border-color: rgba(134,86,162,.23); background: #f1e6f8; }.state-HUMAN_DECISION { color: #c0693d; border-color: rgba(192,105,61,.24); background: #fff0e5; }.state-ACCEPTED, .state-VERIFIED, .state-HIGH { color: #237565; border-color: rgba(35,117,101,.23); background: var(--teal-soft); }.state-REJECTED, .state-FAIL { color: #bd3742; border-color: rgba(189,55,66,.22); background: var(--rose-soft); }.state-GATED, .state-OPEN, .state-MEDIUM { color: #8a6c39; border-color: rgba(138,108,57,.2); background: #f7f1e5; }.state-SUPERSEDED, .state-ARCHIVED { color: #75838a; border-color: #dce4e7; background: #f3f6f7; }.state-PRIVATE_GATED { color: #8656a2; border-color: rgba(134,86,162,.23); background: #f1e6f8; }

@media (max-width: 1350px) { .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.dashboard-layout { grid-template-columns: minmax(260px, .7fr) minmax(410px, 1.3fr); }.roadmap-card-wide { grid-column: 2; }.agent-dashboard-card { grid-column: 2; }.dashboard-side-stack { grid-column: 1 / 3; grid-template-columns: repeat(2, minmax(0, 1fr)); }.system-card:nth-last-child(3), .system-card:nth-last-child(2), .system-card:nth-last-child(1) { grid-column: auto; }.system-card:last-child { grid-column: 1 / 3; } }
@media (max-width: 980px) { .app-shell { width: 100%; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }.sidebar, .main-content { min-width: 0; width: 100%; }.sidebar { position: static; height: auto; padding: 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }.sidebar::after { display: none; }.sidebar-brand { padding: 0 7px 14px; }.nav { display: flex; min-width: 0; width: 100%; overflow-x: auto; }.nav-item { min-width: 155px; }.sidebar-footer { display: none; }.topbar { min-height: 0; }.metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.dashboard-layout { grid-template-columns: 1fr; }.chronology-card, .roadmap-card-wide, .agent-dashboard-card, .dashboard-side-stack, .system-card:last-child { grid-column: auto; grid-row: auto; }.dashboard-side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }.phase-board { grid-template-columns: repeat(5, minmax(170px, 1fr)); }.agent-hero, .mission-hero { grid-template-columns: 1fr; }.agent-policy { padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; }.hero-quote { display: none; } }
@media (max-width: 600px) { .topbar { display: grid; padding: 20px 16px; }.topbar-actions { justify-content: space-between; }.topbar h2 { font-size: 31px; }.page-content { padding: 0 12px 36px; }.overview-hero { min-height: 230px; margin-right: -12px; margin-left: -12px; padding: 27px 18px; }.hero-meta { top: 15px; right: 18px; font-size: 9px; }.hero-meta > span:first-child { display: none; }.metric-grid { grid-template-columns: 1fr; margin-top: -16px; }.metric-card { min-height: 110px; }.dashboard-layout { gap: 10px; margin-top: 10px; }.dashboard-side-stack { grid-template-columns: 1fr; }.system-card:last-child { grid-column: auto; }.card-heading, .panel-header { padding: 15px; }.chronology-list { padding-inline: 13px; }.phase-board { padding: 10px; }.topbar-actions .phase-pill { display: none; }.dialog-content { padding: 20px; }.mission-hero { padding: 20px; }.mission-hero-policy { grid-template-columns: 1fr; }.mission-hero-policy div { grid-template-columns: 70px 1fr; align-items: center; padding: 9px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); text-align: left; }.mission-hero-policy div:last-child { border-bottom: 0; }.mission-case-grid { grid-template-columns: 1fr; padding: 10px; }.mission-detail-grid { grid-template-columns: 1fr; }.header-actions { width: 100%; }.header-actions .button { flex: 1; } }
