:root { color-scheme: dark; --bg:#07100f; --panel:#0d1a18; --line:#223633; --text:#f0f5f2; --muted:#9fb2ad; --mint:#7ee0b8; --amber:#f4c978; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(circle at 75% 12%, #15382f 0, transparent 34rem), var(--bg); font:16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color:inherit; text-decoration:none; }
.site-header, footer { max-width:1180px; margin:auto; padding:24px 30px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; line-height:1.15; }
.brand-logo { display:block; width:46px; height:46px; flex:0 0 46px; }
.brand small { display:block; margin-top:4px; color:var(--muted); font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
nav { display:flex; gap:26px; color:#c8d6d2; font-size:14px; }
nav a:hover, .text-link:hover { color:var(--mint); }
main { max-width:1180px; margin:auto; padding:34px 30px 80px; }
.hero { padding:72px 0 88px; max-width:820px; }
.eyebrow { color:var(--mint); font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
h1 { margin:16px 0 20px; font-size:clamp(48px, 7vw, 84px); line-height:1.02; letter-spacing:-.045em; }
h1 span { color:var(--mint); }
.lead { max-width:680px; color:#bbcac6; font-size:20px; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; border:1px solid transparent; border-radius:10px; font:inherit; font-weight:700; cursor:pointer; }
.primary { background:var(--mint); color:#092019; }
.secondary { border-color:#3c5550; background:#101e1c; color:var(--text); }
.button[disabled], textarea[disabled] { cursor:not-allowed; opacity:.48; }
.status-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
article, .boundary, .workspace { border:1px solid var(--line); background:linear-gradient(145deg, rgba(18,35,32,.94), rgba(9,20,18,.96)); border-radius:18px; }
article { min-height:280px; padding:28px; }
.step { color:#6f8882; font:12px ui-monospace, monospace; }
article h2 { margin:45px 0 10px; font-size:22px; }
article p, .boundary p { color:var(--muted); }
.pill { display:inline-flex; margin-top:10px; padding:5px 9px; border-radius:99px; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.ready { background:#163e31; color:var(--mint); }
.pending { background:#3c301a; color:var(--amber); }
.boundary { margin-top:16px; padding:28px; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:end; }
.boundary h2 { margin:6px 0 0; font-size:32px; }
footer { border-top:1px solid #172622; color:#78908a; font-size:12px; }
.workspace { min-height:670px; overflow:hidden; display:grid; grid-template-columns:330px minmax(0,1fr); }
.workspace aside { min-width:0; padding:28px; border-right:1px solid var(--line); background:#0a1513; }
.workspace aside h1 { margin:14px 0 4px; font-size:28px; letter-spacing:-.02em; }
.workspace aside p { margin:0; color:var(--muted); font-size:13px; }
.identity { display:flex; min-width:0; align-items:flex-start; gap:12px; margin:52px 0 20px; padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.avatar { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#233431; color:var(--muted); }
.identity small, .identity strong { display:block; }
.identity small { color:var(--muted); font-size:11px; }
.identity > div { min-width:0; }
.identity strong { max-width:100%; font-size:14px; line-height:1.35; overflow-wrap:anywhere; word-break:break-word; }
.full { width:100%; }
.text-link { display:block; margin-top:20px; color:var(--muted); font-size:13px; text-align:center; }
.conversation { display:grid; grid-template-rows:auto 1fr auto; min-width:0; }
.conversation-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; border-bottom:1px solid var(--line); font-size:13px; }
.live-dot { display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px #1c3c33; }
.message-list { min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:14px; padding:24px; }
.empty-state { margin:auto; max-width:520px; padding:30px; text-align:center; }
.empty-logo { display:block; width:58px; height:58px; margin:0 auto 22px; }
.empty-state h2 { margin:0 0 10px; font-size:28px; }
.empty-state p { color:var(--muted); }
.message { max-width:78%; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:#101e1c; }
.message.user { align-self:flex-end; background:#173329; border-color:#315449; }
.message.assistant { align-self:flex-start; }
.message span { display:block; margin-bottom:5px; color:var(--mint); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.message p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.pending-message { color:var(--muted); }
.error-message { border-color:#74433d; background:#2c1917; }
.error-message span { color:#ffaaa0; }
.composer { display:flex; gap:12px; margin:24px; padding:12px; border:1px solid var(--line); border-radius:14px; background:#0a1513; }
textarea { flex:1; resize:none; border:0; outline:0; padding:10px; color:var(--text); background:transparent; font:inherit; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.evidence-hero { display:flex; justify-content:space-between; align-items:flex-end; gap:28px; padding:36px 0 30px; }
.evidence-hero h1 { margin:8px 0; font-size:clamp(42px,6vw,68px); }
.evidence-hero p { max-width:720px; margin:0; color:var(--muted); }
.evidence-actions { display:flex; gap:10px; flex-shrink:0; }
.evidence-notice { display:flex; flex-wrap:wrap; gap:10px 24px; margin-bottom:18px; padding:13px 16px; border:1px solid #3c5550; border-radius:12px; background:#0b1816; color:var(--muted); font-size:12px; }
.evidence-notice strong { color:var(--mint); }
.evidence-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.evidence-card { min-width:0; min-height:150px; padding:18px; overflow:hidden; }
.evidence-card strong, .evidence-card code { display:block; }
.evidence-card strong { margin:28px 0 8px; font-size:18px; }
.evidence-card code { overflow-wrap:anywhere; color:#a8bbb6; font-size:11px; }
.card-label { display:block; margin-bottom:7px; overflow-wrap:anywhere; word-break:break-word; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.integrity-pass { color:var(--mint); }
.integrity-unknown { color:var(--amber); }
.turn-section { margin-top:50px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:18px; }
.section-heading h2 { margin:5px 0 0; font-size:30px; }
.section-heading p { max-width:520px; margin:0; color:var(--muted); font-size:13px; text-align:right; }
.turn-card { min-height:0; margin-bottom:18px; padding:24px; }
.turn-head { display:flex; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.turn-head h3 { margin:8px 0 0; font:15px ui-monospace, monospace; overflow-wrap:anywhere; }
.turn-time { display:flex; flex-direction:column; color:var(--muted); font:11px ui-monospace, monospace; text-align:right; }
.status-badge, .sequence { display:inline-flex; padding:3px 8px; border-radius:99px; background:#163e31; color:var(--mint); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.status-failed { background:#42201d; color:#ffaaa0; }
.turn-facts, .tool-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin:16px 0; overflow:hidden; border:1px solid var(--line); border-radius:10px; background:var(--line); }
.turn-facts div, .tool-facts div { min-width:0; padding:12px; background:#0a1513; }
.turn-facts span, .tool-facts span, .response-card > div > span { display:block; color:var(--muted); font-size:10px; text-transform:uppercase; }
.turn-facts code, .tool-facts code { display:block; overflow-wrap:anywhere; color:#c3d1cd; font-size:11px; }
.prompt-answer { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0; }
.prompt-answer > div { padding:16px; border:1px solid var(--line); border-radius:10px; background:#0a1513; }
.prompt-answer p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
details { margin-top:12px; border:1px solid var(--line); border-radius:10px; background:#0a1513; }
summary { padding:12px 14px; cursor:pointer; color:#cdd9d6; font-size:13px; font-weight:700; }
.details-body { padding:0 14px 14px; }
pre { max-width:100%; margin:6px 0 14px; padding:14px; overflow:auto; border:1px solid #1c302c; border-radius:8px; background:#06100e; color:#bfcec9; font:11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
pre.sql { border-color:#315449; color:#e5fff4; font-size:13px; }
.tool-list { display:grid; gap:14px; margin:18px 0; }
.tool-card { padding:16px; border:1px solid #315048; border-radius:12px; background:#0c1917; }
.tool-head { display:flex; justify-content:space-between; gap:16px; margin-bottom:15px; }
.tool-head > div { min-width:0; }
.tool-head strong { margin-left:8px; overflow-wrap:anywhere; word-break:break-word; }
.tool-head code { color:var(--muted); font-size:11px; overflow-wrap:anywhere; }
.split-pre { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.split-pre > * { min-width:0; }
.response-list { display:grid; gap:10px; }
.response-card { padding:12px; border:1px solid var(--line); border-radius:8px; background:#0d1a18; }
.response-card code { display:block; overflow-wrap:anywhere; color:#c3d1cd; font-size:11px; }
.no-evidence { padding:70px 24px; border:1px dashed #3c5550; border-radius:14px; text-align:center; }
.no-evidence h3 { margin:0 0 8px; }
.no-evidence p { margin:0; color:var(--muted); }
@media (max-width:900px) { .evidence-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .turn-facts, .tool-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .site-header { flex-wrap:wrap; } .site-header nav { display:flex; order:2; width:100%; gap:18px; padding:10px 0 2px; overflow-x:auto; border-top:1px solid var(--line); } .site-header nav a { flex:0 0 auto; white-space:nowrap; } .status-grid, .boundary, .workspace, .prompt-answer, .split-pre { grid-template-columns:1fr; } .workspace aside { border-right:0; border-bottom:1px solid var(--line); } .hero { padding-top:36px; } .workspace { min-height:800px; } footer, .evidence-hero, .section-heading, .turn-head { align-items:flex-start; flex-direction:column; } .section-heading p, .turn-time { text-align:left; } }
@media (max-width:520px) { .evidence-grid, .turn-facts, .tool-facts { grid-template-columns:1fr; } .evidence-actions { width:100%; flex-direction:column; } }

/* Sealed-run Evidence Center */
.forensic-hero { padding-top:44px; }
.forensic-hero h1 { max-width:790px; font-size:clamp(44px,5.6vw,70px); }
.forensic-verdict { margin:22px 0 14px; padding:24px 28px; display:flex; align-items:center; justify-content:space-between; gap:28px; border:1px solid #315449; border-radius:16px; background:linear-gradient(105deg,#10241f,#0b1715); }
.forensic-verdict h2 { margin:5px 0 0; font:700 27px/1.2 ui-monospace,monospace; }
.forensic-verdict p { margin:5px 0 0; color:var(--muted); }
.verdict-stamp { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:0 10px; min-width:220px; }
.verdict-stamp .live-dot { grid-row:1/3; }
.verdict-stamp strong,.verdict-stamp small { display:block; }
.verdict-stamp small { color:var(--muted); font-size:11px; }
.forensic-metrics .evidence-card { min-height:165px; }
.forensic-panel { min-height:0; }
.forensic-panel h3 { margin:8px 0; font-size:22px; }
.finding-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:16px; }
.finding-grid div { padding:14px; border:1px solid var(--line); border-radius:10px; background:#091512; }
.finding-grid span,.hash-block span { display:block; color:var(--muted); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.finding-grid strong { display:block; margin-top:8px; color:#d9e6e2; font-size:12px; line-height:1.35; }
.forensic-tool { min-height:0; }
.correlation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.audit-row { display:grid; grid-template-columns:minmax(0,155px) minmax(0,1fr); gap:4px 14px; margin-top:12px; padding:12px; border:1px solid var(--line); border-radius:9px; background:#091512; }
.audit-row span { color:var(--muted); font:10px ui-monospace,monospace; }
.audit-row strong { overflow-wrap:anywhere; word-break:break-word; font-size:12px; }
.audit-row code { grid-column:1/-1; overflow-wrap:anywhere; color:#c6d6d1; font-size:11px; }
.muted-copy { color:var(--muted); font-size:13px; }
.hash-block { margin-top:12px; padding:12px; border-left:2px solid #315449; background:#091512; }
.hash-block code { display:block; margin-top:5px; overflow-wrap:anywhere; color:#c3d1cd; font-size:11px; }
.baseline-list { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:18px 0; }
.baseline-list span { padding:10px 12px; border:1px solid var(--line); border-radius:8px; color:var(--muted); font-size:12px; }
.baseline-list strong { float:right; color:var(--mint); }
.gap-panel { border-color:#66512b; }
.gap-panel h3 { color:var(--amber); }
.gap-panel p { color:#c8b993; }
.archive-footer { margin-top:50px; padding:24px 28px; display:flex; align-items:center; justify-content:space-between; gap:24px; border:1px solid var(--line); border-radius:14px; background:#091512; }
.archive-footer > div { min-width:0; }
.archive-footer strong,.archive-footer code { display:block; }
.archive-footer strong { overflow-wrap:anywhere; }
.archive-footer code { margin-top:6px; overflow-wrap:anywhere; color:var(--muted); font-size:11px; }
.reference-warning { display:flex; flex-wrap:wrap; gap:6px 14px; margin:-6px 0 18px; padding:13px 16px; border:1px solid #7a4736; border-radius:12px; background:#281612; color:#d9b4a8; font-size:12px; }
.reference-warning strong { color:#ff9d7e; }
.archive-switcher { display:block; margin:18px 0 28px; padding:18px; border:1px solid var(--line); border-radius:18px; background:rgba(6,22,18,.78); }
.archive-switcher-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:10px; margin-top:10px; }
.archive-choice { display:grid; gap:5px; padding:14px 16px; border:1px solid var(--line); border-radius:13px; color:var(--muted); text-decoration:none; background:rgba(12,36,30,.55); }
.archive-choice strong { color:var(--text); overflow-wrap:anywhere; }
.archive-choice:hover,.archive-choice.active { border-color:rgba(119,224,184,.7); background:rgba(22,73,58,.72); }
.archive-choice.active::after { content:"Selected"; justify-self:start; margin-top:3px; color:var(--mint); font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
@media (max-width:900px) { .finding-grid { grid-template-columns:repeat(2,1fr); } .correlation-grid { grid-template-columns:1fr; } }
@media (max-width:760px) { .forensic-verdict,.archive-footer { align-items:flex-start; flex-direction:column; } }
@media (max-width:520px) { .finding-grid,.baseline-list { grid-template-columns:1fr; } .audit-row { grid-template-columns:1fr; } .audit-row code { grid-column:1; } }

/* Shared customer-facing application surfaces */
.app-surface { color-scheme:light; --bg:#edf5f1; --panel:#ffffff; --line:#cbded6; --text:#123129; --muted:#587269; --mint:#167d60; --amber:#9b6b18; background:radial-gradient(circle at 78% 4%,rgba(108,211,171,.22) 0,transparent 32rem),linear-gradient(180deg,#f4f9f6 0%,#eaf3ef 100%); }
.app-surface .site-header,.app-surface main,.app-surface footer { max-width:1320px; }
.app-surface .site-header { padding-top:28px; padding-bottom:20px; }
.app-surface nav { color:#355b50; font-weight:650; }
.app-surface nav a:hover,.app-surface .text-link:hover { color:#096d50; }
.app-surface footer { border-top-color:#c9dcd5; color:#607a71; }
.app-surface .button { border-radius:9px; }
.app-surface .primary { background:#35b98d; color:#06291f; box-shadow:0 10px 24px rgba(24,125,95,.14); }
.app-surface .primary:hover { background:#2aa77f; }
.app-surface .secondary { border-color:#b9d0c7; background:#f9fcfa; color:#173b31; }
.app-surface .secondary:hover { border-color:#79aa99; background:#fff; }
.app-surface .ready { background:#e1f5ed; color:#147256; }
.app-surface .pending { background:#fff2d8; color:#875c0d; }
.app-surface .live-dot { background:#2eb987; box-shadow:0 0 0 4px rgba(46,185,135,.14); }

/* Agent workspace: light operational shell */
.workspace-surface .workspace { border-color:#c7dcd4; background:#fff; box-shadow:0 24px 60px rgba(21,67,53,.1); }
.workspace-surface .workspace aside { border-right-color:#cbded6; background:linear-gradient(160deg,#f4faf7,#edf5f1); }
.workspace-surface .workspace aside h1,.workspace-surface .empty-state h2 { color:#14382e; }
.workspace-surface .avatar { background:#dcece6; color:#2c6655; }
.workspace-surface .identity { border-color:#cbded6; }
.workspace-surface .text-link { color:#56736a; }
.workspace-surface .conversation { background:#fff; }
.workspace-surface .conversation-head { border-bottom-color:#d2e2dc; background:#f8fbf9; }
.workspace-surface .message-list { background:linear-gradient(180deg,#fff,#f7fbf9); }
.workspace-surface .message { border-color:#cbded6; background:#fff; color:#16372e; box-shadow:0 7px 20px rgba(25,70,57,.05); }
.workspace-surface .message.user { border-color:#a8d4c4; background:#def3eb; }
.workspace-surface .message span { color:#15765a; }
.workspace-surface .pending-message { color:#647c74; }
.workspace-surface .error-message { border-color:#e6aea5; background:#fff1ee; color:#7d2c22; }
.workspace-surface .error-message span { color:#a53f31; }
.workspace-surface .composer { border-color:#bfd5cd; background:#fff; box-shadow:0 10px 28px rgba(25,70,57,.08); }
.workspace-surface textarea { color:#173b31; }
.workspace-surface textarea::placeholder { color:#779088; }

/* Evidence pages: light narrative shell with dark forensic code islands */
.evidence-surface .evidence-hero h1 { color:#123129; }
.evidence-surface .evidence-hero h1 span { color:#178263; }
.evidence-surface .evidence-notice { border-color:#bdd8ce; background:#eef7f3; color:#4e6c62; }
.evidence-surface .evidence-notice strong { color:#126f53; }
.evidence-surface article { border-color:#cbded6; background:#fff; box-shadow:0 10px 30px rgba(25,70,57,.055); }
.evidence-surface .evidence-card strong,.evidence-surface .section-heading h2,.evidence-surface .forensic-panel h3 { color:#173a30; }
.evidence-surface .evidence-card code,.evidence-surface .turn-facts code,.evidence-surface .tool-facts code,.evidence-surface .response-card code,.evidence-surface .tool-head code,.evidence-surface .archive-footer code { color:#4f6d63; }
.evidence-surface .card-label,.evidence-surface .step { color:#648078; }
.evidence-surface .turn-head { border-bottom-color:#d3e2dc; }
.evidence-surface .status-badge,.evidence-surface .sequence { background:#e1f5ed; color:#147256; }
.evidence-surface .status-failed { background:#fde9e5; color:#9a392c; }
.evidence-surface .turn-facts,.evidence-surface .tool-facts { border-color:#d4e3de; background:#d4e3de; }
.evidence-surface .turn-facts div,.evidence-surface .tool-facts div { background:#f3f8f5; }
.evidence-surface .prompt-answer > div { border-color:#d0e0da; background:#f8fbf9; }
.evidence-surface details { border-color:#cbded6; background:#f8fbf9; }
.evidence-surface summary { color:#244b40; }
.evidence-surface pre { border-color:#1c302c; background:#06100e; color:#bfcec9; box-shadow:none; }
.evidence-surface pre.sql { border-color:#397765; color:#e5fff4; }
.evidence-surface .tool-card { border-color:#c4dbd2; background:#fff; }
.evidence-surface .response-card { border-color:#d0e0da; background:#f3f8f5; }
.evidence-surface .no-evidence { border-color:#9bbcaf; background:rgba(255,255,255,.62); }
.evidence-surface .forensic-verdict { border-color:#b8d7cb; background:linear-gradient(110deg,#e0f2eb,#f8fbf9); }
.evidence-surface .finding-grid div { border-color:#d0e0da; background:#f4f8f6; }
.evidence-surface .finding-grid strong { color:#294c42; }
.evidence-surface .audit-row { border-color:#d0e0da; background:#f4f8f6; }
.evidence-surface .audit-row code { color:#3f6257; }
.evidence-surface .hash-block { border-left-color:#65a993; background:#f0f7f4; }
.evidence-surface .hash-block code { color:#45675d; }
.evidence-surface .baseline-list span { border-color:#cbded6; background:#f8fbf9; }
.evidence-surface .gap-panel { border-color:#dfc47f; background:#fffaf0; }
.evidence-surface .gap-panel h3 { color:#8a5d0b; }
.evidence-surface .gap-panel p { color:#78633a; }
.evidence-surface .archive-footer { border-color:#c7dcd4; background:#fff; box-shadow:0 10px 30px rgba(25,70,57,.055); }
.evidence-surface .reference-warning { border-color:#e5afa3; background:#fff1ed; color:#7d493f; }
.evidence-surface .reference-warning strong { color:#9b3d2e; }
.evidence-surface .archive-switcher { border-color:#c7dcd4; background:#eef7f3; }
.evidence-surface .archive-choice { border-color:#c8ddd5; background:#fff; color:#56736a; }
.evidence-surface .archive-choice strong { color:#173a30; }
.evidence-surface .archive-choice:hover,.evidence-surface .archive-choice.active { border-color:#65aa92; background:#dff2ea; }
.evidence-surface .archive-choice.active::after { color:#147256; }
.evidence-surface article,.evidence-surface details,.evidence-surface .turn-section,.evidence-surface .tool-list,.evidence-surface .tool-card,.evidence-surface .correlation-grid,.evidence-surface .details-body { min-width:0; max-width:100%; }
.evidence-surface .correlation-grid > *,.evidence-surface .finding-grid > * { min-width:0; }
.evidence-surface code,.evidence-surface .tool-head strong { max-width:100%; overflow-wrap:anywhere; word-break:break-word; }
.evidence-surface pre { min-width:0; max-width:100%; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; }

/* Durable navigation and evidence-library components */
.app-surface nav a.active { color:#096d50; }
.app-surface nav a.active::after { content:""; display:block; width:100%; height:2px; margin-top:4px; border-radius:99px; background:#2aae82; }
.app-surface a:focus-visible,.app-surface button:focus-visible,.app-surface summary:focus-visible,.app-surface textarea:focus-visible { outline:3px solid rgba(28,143,108,.34); outline-offset:3px; }
.evidence-sidebar-button { display:grid; gap:1px; padding-top:9px; padding-bottom:9px; line-height:1.3; }
.evidence-sidebar-button small { color:#6a827a; font-size:11px; font-weight:500; }
.prominent-link { color:#126f53; font-weight:750; }
.breadcrumbs { display:flex; align-items:center; gap:9px; margin:10px 0 2px; color:#698179; font-size:12px; }
.breadcrumbs a { color:#166e55; font-weight:750; }
.breadcrumbs a:hover { color:#0b553f; }

.hub-hero { display:flex; justify-content:space-between; align-items:flex-end; gap:42px; padding:42px 0 34px; }
.hub-hero h1 { max-width:860px; margin:8px 0 14px; color:#123129; font-size:clamp(44px,5.5vw,70px); }
.hub-hero h1 span { color:#178263; }
.hub-hero p { max-width:760px; margin:0; color:#587269; font-size:17px; }
.hub-summary { display:grid; min-width:210px; padding:20px 22px; border:1px solid #b9d6cb; border-radius:16px; background:#e4f4ed; box-shadow:0 10px 30px rgba(25,70,57,.06); }
.hub-summary strong { color:#126f53; font-size:30px; line-height:1; }
.hub-summary span { margin-top:8px; color:#56736a; font-size:12px; }
.session-evidence-card { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(300px,.9fr) auto; align-items:center; gap:30px; padding:28px; border:1px solid #c4dbd2; border-radius:18px; background:#fff; box-shadow:0 12px 34px rgba(25,70,57,.06); }
.session-evidence-card h2 { margin:6px 0 8px; color:#173a30; font-size:28px; }
.session-evidence-card p { max-width:620px; margin:0; color:#587269; }
.session-facts { display:grid; gap:8px; min-width:0; }
.session-facts span { min-width:0; padding:9px 11px; border:1px solid #d4e3de; border-radius:9px; background:#f4f8f6; }
.session-facts small,.session-facts code { display:block; }
.session-facts small { color:#688179; font-size:10px; text-transform:uppercase; }
.session-facts code { overflow:hidden; color:#3f6257; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.scenario-library { margin-top:66px; }
.library-heading { margin-bottom:22px; }
.scenario-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.scenario-card { display:flex; min-height:400px; flex-direction:column; padding:24px; }
.scenario-card > header { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.scenario-letter { display:grid; place-items:center; width:46px; height:46px; border-radius:13px; background:#173d32; color:#fff; font-size:21px; font-weight:850; box-shadow:0 8px 18px rgba(18,72,55,.15); }
.scenario-status { padding:5px 9px; border-radius:99px; font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.status-sealed { background:#dff4eb; color:#116d51; }
.status-planned { background:#edf1ef; color:#667b74; }
.status-unavailable { background:#fde9e5; color:#963a2d; }
.scenario-card h3 { margin:8px 0 10px; color:#173a30; font-size:22px; line-height:1.2; }
.scenario-card p { margin:0; color:#587269; font-size:14px; }
.scenario-card > div { flex:1; margin-top:24px; }
.scenario-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin:22px 0 0; overflow:hidden; border:1px solid #d4e3de; border-radius:10px; background:#d4e3de; }
.scenario-facts div { padding:9px; background:#f4f8f6; }
.scenario-facts dt { color:#70877f; font-size:9px; text-transform:uppercase; }
.scenario-facts dd { margin:2px 0 0; color:#244c40; font-size:12px; font-weight:800; }
.scenario-date { display:block; min-height:36px; margin:12px 0; color:#70877f; font-size:10px; overflow-wrap:anywhere; }
.scenario-planned { border-style:dashed; background:rgba(255,255,255,.62) !important; box-shadow:none !important; }
.scenario-planned .scenario-letter { background:#dce7e3; color:#577068; box-shadow:none; }
.disabled-action { cursor:not-allowed; opacity:.66; }
.sealed-definition { display:grid; grid-template-columns:.75fr 1.25fr; gap:54px; margin-top:18px; padding:34px 38px; border:1px solid #bdd8ce; border-radius:18px; background:linear-gradient(125deg,#dff1e9,#f8fbf9); }
.sealed-definition h2 { margin:7px 0 0; color:#173a30; font-size:30px; line-height:1.15; }
.sealed-definition p { margin:0; color:#4f6d63; }

.status-hero { align-items:center; }
.status-overview { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:18px; padding:20px 24px; border:1px solid #b9d6cb; border-radius:16px; background:#e5f4ee; }
.status-overview > div { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:0 9px; }
.status-overview .live-dot { grid-row:1/3; }
.status-overview strong { color:#126f53; }
.status-overview small { color:#5d766d; }
.status-overview code { color:#4f6d63; font-size:11px; }
.runtime-status-grid { grid-template-columns:repeat(5,1fr); }
.runtime-status-grid article { min-height:190px; }
.runtime-status-grid article h2 { margin:38px 0 8px; color:#173a30; font-size:20px; }
.runtime-contract-card { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin-top:18px; overflow:hidden; border:1px solid #cbded6; border-radius:14px; background:#cbded6; }
.runtime-contract-card div { padding:18px 20px; background:#fff; }
.runtime-contract-card strong { display:block; margin-top:5px; color:#173a30; }

.message-body { min-width:0; }
.message-body p { margin:0 0 9px; white-space:normal; }
.message-body p:last-child { margin-bottom:0; }
.message-body ul { margin:7px 0; padding-left:21px; }
.message-body code { padding:2px 5px; border-radius:5px; background:#eaf3ef; color:#235244; font-size:.9em; }
.message-table-wrap { max-width:100%; margin:10px 0 13px; overflow-x:auto; border:1px solid #c7dcd4; border-radius:9px; }
.message-body table { width:100%; border-collapse:collapse; background:#fff; font-size:12px; }
.message-body th,.message-body td { padding:8px 9px; border-bottom:1px solid #d6e4df; text-align:left; vertical-align:top; }
.message-body th { background:#edf6f2; color:#214c3f; font-size:10px; text-transform:uppercase; }
.message-body tr:last-child td { border-bottom:0; }

@media (max-width:1050px) { .session-evidence-card { grid-template-columns:1fr 1fr; } .session-evidence-card .evidence-actions { grid-column:1/-1; } .scenario-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .runtime-status-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px) { .hub-hero { align-items:flex-start; flex-direction:column; } .hub-summary { width:100%; } .session-evidence-card,.sealed-definition { grid-template-columns:1fr; } .scenario-grid,.runtime-status-grid { grid-template-columns:1fr; } .scenario-card { min-height:0; } .status-overview { align-items:flex-start; flex-direction:column; } .runtime-contract-card { grid-template-columns:1fr; } }

/* Meridian home */
.home-surface { color-scheme:light; --bg:#edf5f1; --panel:#ffffff; --line:#cbded6; --text:#123129; --muted:#587269; --mint:#167d60; --amber:#9b6b18; background:radial-gradient(circle at 78% 4%,rgba(108,211,171,.22) 0,transparent 32rem),linear-gradient(180deg,#f4f9f6 0%,#eaf3ef 100%); }
.home-surface .site-header,.home-surface main,.home-surface footer { max-width:1320px; }
.home-surface .site-header { padding-top:28px; padding-bottom:20px; }
.home-surface nav { color:#355b50; font-weight:650; }
.home-surface nav a:hover { color:#096d50; }
.home-surface main { padding-top:26px; }
.home-surface footer { border-top-color:#c9dcd5; color:#607a71; }
.home-surface .button { border-radius:9px; }
.home-surface .primary { background:#35b98d; color:#06291f; box-shadow:0 10px 24px rgba(24,125,95,.16); }
.home-surface .primary:hover { background:#2aa77f; }
.home-surface .secondary { border-color:#b9d0c7; background:#f9fcfa; color:#173b31; }
.home-surface .secondary:hover { border-color:#79aa99; background:#fff; }
.home-hero { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; overflow:hidden; border:1px solid #c7dcd4; border-radius:20px; background:rgba(255,255,255,.94); box-shadow:0 28px 70px rgba(21,67,53,.12); }
.home-hero-copy { display:flex; min-width:0; flex-direction:column; justify-content:center; padding:46px 44px 42px 48px; }
.home-hero h1 { max-width:560px; margin:17px 0 20px; color:#102e26; font-size:clamp(42px,4.35vw,58px); line-height:.99; }
.home-hero h1 span { color:#178263; }
.home-hero .lead { max-width:555px; margin:0; color:#536d65; font-size:17px; line-height:1.5; }
.home-hero .actions { flex-wrap:nowrap; margin-top:28px; }
.home-hero .button { min-height:44px; padding-right:17px; padding-left:17px; }
.home-hero-visual { position:relative; align-self:center; min-width:0; aspect-ratio:16/9; margin:28px 28px 28px 0; overflow:hidden; border-radius:16px; background:#071411; box-shadow:inset 0 0 0 1px rgba(126,224,184,.22); }
.home-hero-visual::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(5,18,15,.1),transparent 28%),linear-gradient(0deg,rgba(5,18,15,.56),transparent 32%); }
.home-hero-visual img,.home-hero-video { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-proof { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,1fr); margin:0 24px 24px; overflow:hidden; border:1px solid #d4e4de; border-radius:12px; background:#f3f8f5; }
.hero-proof span { padding:14px 18px; color:#61786f; font-size:12px; }
.hero-proof span+span { border-left:1px solid #d4e4de; }
.hero-proof strong { display:block; color:#163c31; font-size:13px; }
.home-intro { display:grid; grid-template-columns:1.05fr .95fr; gap:72px; align-items:end; padding:76px 4px 30px; }
.home-intro h2,.research-strip h2,.home-cta h2 { margin:8px 0 0; font-size:clamp(32px,4vw,50px); line-height:1.08; letter-spacing:-.035em; }
.home-intro p { margin:0; color:var(--muted); font-size:17px; }
.home-flow article { position:relative; min-height:270px; border-color:#ccded7; background:rgba(255,255,255,.88); box-shadow:0 12px 34px rgba(25,70,57,.06); }
.home-flow article h2 { margin-top:42px; color:#173a30; }
.home-flow article p { color:#5b726a; }
.home-flow .step { color:#6b887e; }
.home-flow .ready { background:#e1f5ed; color:#147256; }
.research-strip { margin-top:18px; padding:42px 44px; border:1px solid #bdd8ce; border-radius:18px; background:linear-gradient(125deg,#dff1e9,#f8fbf9); }
.research-strip > p { max-width:880px; margin:24px 0 0; color:var(--muted); }
.boundary-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.boundary-tags span { padding:7px 11px; border:1px solid #b7d1c7; border-radius:99px; color:#42665a; background:#f9fcfa; font-size:11px; font-weight:700; letter-spacing:.04em; }
.home-cta { margin-top:18px; padding:40px 44px; display:flex; align-items:flex-end; justify-content:space-between; gap:50px; border:1px solid #c7dcd4; border-radius:18px; background:#ffffff; box-shadow:0 12px 34px rgba(25,70,57,.06); }
.home-cta h2 { max-width:760px; font-size:34px; }
@media (max-width:1000px) { .home-hero { grid-template-columns:1fr; } .home-hero-copy { padding:46px 42px 34px; } .home-hero-visual { margin:0 24px 24px; } .home-intro { grid-template-columns:1fr; gap:18px; } }
@media (max-width:760px) { .home-surface .site-header,.home-surface main,.home-surface footer { padding-right:20px; padding-left:20px; } .home-hero-copy { padding:38px 24px 28px; } .home-hero h1 { font-size:clamp(39px,11.5vw,52px); } .home-hero .actions { flex-wrap:wrap; } .home-hero-visual { aspect-ratio:4/3; margin:0 14px 14px; } .home-hero-visual img,.home-hero-video { object-position:56% center; } .hero-proof { grid-template-columns:1fr; margin:0 14px 14px; } .hero-proof span+span { border-top:1px solid #d4e4de; border-left:0; } .home-intro { padding-top:58px; } .research-strip,.home-cta { padding:28px; } .home-cta { align-items:flex-start; flex-direction:column; } }

.evidence-link-groups,.collection-launch,.collection-status,.forensic-overview,.path-columns article,.stage-matrix article,.artifact-table{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin:22px 0}.evidence-link-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:10px 0 20px}.evidence-service-link{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:12px;color:inherit;text-decoration:none}.evidence-service-link:not(.is-na):hover{border-color:var(--green);box-shadow:0 8px 24px rgba(15,80,64,.08)}.evidence-service-link span{color:var(--muted);font-size:.88rem}.is-dependent,.is-planned,.is-na{background:#f5f8f7;color:#60746f}.collection-launch{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.collection-launch label{width:100%;font-weight:700}.collection-launch select{flex:1;min-width:320px;padding:13px;border:1px solid var(--line);border-radius:10px}.status-title,.visual-summary{display:flex;justify-content:space-between;gap:18px;align-items:center}.progress-track{height:10px;background:#e8f1ee;border-radius:10px;overflow:hidden;margin:18px 0}.progress-track span{display:block;height:100%;width:0;background:var(--green);transition:width .35s}.stage-list{display:grid;gap:7px}.stage-row{display:grid;grid-template-columns:42px 1fr auto;gap:10px;padding:10px 12px;background:#f6f9f8;border-radius:9px}.stage-row strong{text-transform:capitalize}.collection-actions{display:flex;gap:12px;margin-top:18px}.disabled{opacity:.45;pointer-events:none}.loop-flow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.loop-flow span{padding:14px 16px;border:1px solid #9ec9be;border-radius:12px;background:#eff8f5;font-weight:700}.path-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.path-columns article{margin:0}.path-columns ol{list-style:none;padding:0;display:grid;gap:12px}.path-columns li{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start}.path-columns li>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#123d35;color:#fff}.path-columns p{margin:.25rem 0;color:var(--muted)}.visual-summary{display:grid;grid-template-columns:repeat(4,1fr);margin:22px 0}.visual-summary article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:7px}.stage-matrix{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stage-matrix article{margin:0}.stage-matrix details{margin-top:10px}.stage-matrix summary{display:grid;grid-template-columns:32px 1fr auto;gap:8px}.stage-matrix em{font-style:normal;font-size:.72rem}.artifact-table table{width:100%;border-collapse:collapse}.artifact-table th,.artifact-table td{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.artifact-table code{word-break:break-all}@media(max-width:900px){.path-columns,.stage-matrix,.visual-summary{grid-template-columns:1fr}.collection-actions{flex-direction:column}}
.evidence-group-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:16px}.evidence-group-heading h2{margin:6px 0 0;font-size:27px}.evidence-group-heading p,.assurance-heading p{max-width:520px;margin:0;color:var(--muted)}.core-evidence-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.core-evidence-tile{display:grid;grid-template-columns:54px 1fr;gap:16px;min-height:180px;padding:22px;border:1px solid #a8cfc4;border-radius:16px;text-decoration:none;color:inherit}.core-evidence-tile.is-primary{background:linear-gradient(135deg,#e2f7ef,#f9fcfb);box-shadow:0 14px 32px rgba(20,108,82,.12)}.core-evidence-tile.is-primary:hover{border-color:#35b98d;transform:translateY(-1px)}.core-evidence-tile.is-conditional{background:#f5f8f7;color:#5e736d}.tile-number{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#123d35;color:#fff;font-weight:800}.core-evidence-tile small{display:block;color:#168263;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.core-evidence-tile strong{display:block;margin:7px 0;font-size:21px}.core-evidence-tile p{margin:0;color:var(--muted);line-height:1.5}.core-evidence-tile em{display:block;margin-top:18px;color:#14775a;font-style:normal;font-weight:800}.assurance-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-top:30px}.collection-note{display:flex;flex-direction:column;gap:3px;width:100%;padding:13px 15px;border-left:4px solid #35b98d;background:#eef8f4;border-radius:8px}.collection-note span{color:var(--muted)}.completion-metrics{display:grid;grid-template-columns:.7fr .8fr .8fr 2fr;gap:10px;margin-top:18px}.completion-metrics>div{display:flex;min-width:0;flex-direction:column;gap:5px;padding:13px;background:#f2f8f5;border:1px solid var(--line);border-radius:10px}.completion-metrics span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.completion-metrics code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:900px){.core-evidence-row,.completion-metrics{grid-template-columns:1fr}.evidence-group-heading,.assurance-heading{align-items:start;flex-direction:column}}

/* OCI Responses assurance */
.assurance-identity-link{background:linear-gradient(135deg,#edf5ff,#fff);border-color:#91bce0;box-shadow:0 10px 24px rgba(31,101,151,.09)}.assurance-identity-link strong{color:#164d72}.assurance-live-link{background:linear-gradient(135deg,#e5f7f1,#fff);border-color:#59b99f;box-shadow:0 10px 24px rgba(20,108,82,.11)}.assurance-live-link em{font-style:normal;font-weight:800;color:#14775a}.assurance-deepsec-link{background:linear-gradient(135deg,#f2f4f6,#fafbfb);border-color:#c7cfd3}.assurance-deepsec-link strong{color:#66757a}.assurance-hero h1{max-width:920px}.assurance-request-select,.assurance-chain,.assurance-section,.assurance-columns>article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin:22px 0}.assurance-request-select form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.assurance-request-select label{width:100%;font-weight:800}.assurance-request-select select{flex:1;min-width:360px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff}.assurance-message{display:flex;flex-direction:column;gap:7px;padding:18px 20px;border-radius:14px}.assurance-message.is-unavailable{border:1px solid #e3c78f;background:#fff8e8}.assurance-summary{display:grid;grid-template-columns:1.2fr .65fr .8fr .7fr;gap:14px;margin:22px 0}.assurance-summary article{display:flex;min-width:0;min-height:140px;flex-direction:column;gap:8px;padding:19px;background:#fff;border:1px solid var(--line);border-radius:15px}.assurance-summary article>span,.assurance-response-facts span,.assurance-source-list small{color:var(--muted);font-size:12px;letter-spacing:.04em}.assurance-summary strong{font-size:22px}.assurance-summary code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assurance-flow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.assurance-flow>span{display:flex;min-width:170px;flex-direction:column;gap:6px;padding:15px;border:1px solid #9ec9be;border-radius:12px;background:#eff8f5;font-weight:800}.assurance-flow code{max-width:240px;overflow:hidden;text-overflow:ellipsis}.assurance-response-list{display:grid;gap:10px}.assurance-response{border:1px solid var(--line);border-radius:12px;background:#f8fbfa;overflow:hidden}.assurance-response summary{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:13px 15px;cursor:pointer}.assurance-response summary code{overflow:hidden;text-overflow:ellipsis}.assurance-response-facts{display:grid;grid-template-columns:1.3fr 1.5fr .6fr .6fr;border-top:1px solid var(--line)}.assurance-response-facts div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:13px;border-right:1px solid var(--line)}.assurance-response-facts code{overflow:hidden;text-overflow:ellipsis}.assurance-response pre{max-height:360px;margin:0;border-radius:0;overflow:auto}.assurance-columns{display:grid;grid-template-columns:1.1fr .9fr .9fr;gap:18px}.assurance-columns>article{margin:0}.assurance-columns h2{font-size:23px}.assurance-source-list{display:grid;gap:7px}.assurance-source-list>div{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px 12px;background:#f5f9f7;border-radius:9px}.assurance-source-list small{grid-column:1/-1}.source-state{font-size:11px;text-align:right}.state-available-with-records{color:#14775a}.state-available-no-records{color:#7a6a42}.assurance-context,.assurance-columns p{color:var(--muted);line-height:1.5}.assurance-callout{display:flex;flex-direction:column;gap:5px;padding:18px;background:#eef8f4;border-radius:12px}.assurance-callout strong{font-size:28px;color:#14775a}.assurance-download{display:inline-flex;margin-top:14px}.assurance-download-pending{display:block;margin-top:14px;color:var(--muted);font-size:12px;font-weight:700}.applicability-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.applicability-grid>div{display:flex;min-width:0;flex-direction:column;gap:7px;padding:14px;background:#f5f8f7;border-radius:10px}.applicability-grid span{font-size:12px;color:var(--muted)}.applicability-grid strong{font-size:13px}@media(max-width:1050px){.assurance-summary,.assurance-columns,.applicability-grid{grid-template-columns:1fr 1fr}.assurance-response-facts{grid-template-columns:1fr 1fr}}@media(max-width:700px){.assurance-summary,.assurance-columns,.applicability-grid,.assurance-response-facts{grid-template-columns:1fr}.assurance-request-select select{min-width:100%}.assurance-response summary{grid-template-columns:38px 1fr}.assurance-response summary strong{grid-column:2}}

/* Evidence Center operations cockpit */
.evidence-cockpit{position:relative;overflow:hidden;padding:0;background:linear-gradient(145deg,#082f2b 0%,#0b3f38 58%,#0d3437 100%);border:1px solid #0f5a4d;box-shadow:0 22px 55px rgba(4,47,42,.2)}
.evidence-cockpit:before{content:"";position:absolute;inset:-180px -120px auto 42%;height:360px;background:radial-gradient(circle,rgba(55,211,163,.18),transparent 68%);pointer-events:none}
.cockpit-header{position:relative;display:grid;grid-template-columns:1.2fr 1fr auto;gap:26px;align-items:end;padding:28px 30px 25px;border-bottom:1px solid rgba(188,238,222,.18)}
.cockpit-kicker,.cockpit-section-heading span{display:block;color:#71e0bd;font-size:11px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.cockpit-header h2{margin:6px 0 0;color:#fff;font-size:32px;line-height:1.12}
.cockpit-header p{max-width:460px;margin:0;color:#c9e2db;line-height:1.55}
.cockpit-status{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 12px;border:1px solid rgba(126,227,194,.34);border-radius:999px;background:rgba(10,81,67,.72);color:#d8fff2;font-size:12px;font-weight:800}
.cockpit-status i{width:8px;height:8px;border-radius:50%;background:#47d6a8;box-shadow:0 0 0 4px rgba(71,214,168,.15)}
.cockpit-section-heading{position:relative;display:flex;justify-content:space-between;align-items:end;gap:24px;padding:22px 30px 13px}
.cockpit-section-heading strong{display:block;margin-top:4px;color:#fff;font-size:18px}
.cockpit-section-heading p{max-width:530px;margin:0;color:#a9c9c0;font-size:13px;line-height:1.5;text-align:right}
.cockpit-section-heading.is-assurance{margin-top:5px;padding-top:24px;border-top:1px solid rgba(188,238,222,.13)}
.evidence-cockpit .core-evidence-row{position:relative;padding:0 30px 26px;gap:18px}
.evidence-cockpit .core-evidence-tile{min-height:205px;padding:25px;border-width:1px;border-radius:18px;box-shadow:0 14px 32px rgba(0,0,0,.18);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.evidence-cockpit .core-evidence-tile.is-primary{background:linear-gradient(135deg,#08775f,#0b614f);border-color:#35d3a5;color:#fff}
.evidence-cockpit .core-evidence-tile.is-primary:hover{border-color:#8af0ce;box-shadow:0 18px 38px rgba(0,0,0,.24);transform:translateY(-3px)}
.evidence-cockpit .core-evidence-tile.is-conditional{background:linear-gradient(135deg,#e9f4ff,#f8fbff);border-color:#69a9da;color:#103d60;box-shadow:0 14px 32px rgba(4,25,45,.17)}
.evidence-cockpit .core-evidence-tile .tile-number{width:54px;height:54px;border-radius:15px;background:#fff;color:#075b49;font-size:19px;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.evidence-cockpit .core-evidence-tile.is-conditional .tile-number{background:#1f6897;color:#fff}
.evidence-cockpit .core-evidence-tile small{color:#9ef1d5;font-size:12px}
.evidence-cockpit .core-evidence-tile.is-conditional small{color:#23658f}
.evidence-cockpit .core-evidence-tile strong{margin:8px 0 10px;font-size:24px;line-height:1.2}
.evidence-cockpit .core-evidence-tile p{color:#d8eee8}
.evidence-cockpit .core-evidence-tile.is-conditional p{color:#4e7189}
.evidence-cockpit .core-evidence-tile em{color:#9ff1d5}
.evidence-cockpit .core-evidence-tile.is-conditional em{color:#1f6897}
.cockpit-assurance-grid{position:relative;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0 30px 30px}
.evidence-cockpit .evidence-service-link{position:relative;min-height:205px;gap:8px;padding:22px 20px 20px;border-width:1px;border-radius:16px;box-shadow:0 12px 28px rgba(0,0,0,.16);transition:transform .18s ease,box-shadow .18s ease}
.evidence-cockpit .evidence-service-link:not(.is-na):hover{transform:translateY(-3px);box-shadow:0 17px 34px rgba(0,0,0,.23)}
.evidence-cockpit .evidence-service-link small{font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.evidence-cockpit .evidence-service-link strong{font-size:20px;line-height:1.25}
.evidence-cockpit .evidence-service-link>span:not(.service-number){font-size:14px;line-height:1.5}
.evidence-cockpit .evidence-service-link em{display:block;margin-top:auto;padding-top:9px;font-style:normal;font-size:13px;font-weight:900}
.service-number{position:absolute;top:18px;right:18px;display:grid;width:36px;height:36px;place-items:center;border-radius:11px;font-size:12px;font-weight:900}
.evidence-cockpit .assurance-identity-link{background:linear-gradient(145deg,#eef0ff,#fafaff);border-color:#8e91dc;color:#282b67}
.evidence-cockpit .assurance-identity-link small,.evidence-cockpit .assurance-identity-link em{color:#5852b8}
.evidence-cockpit .assurance-identity-link strong{color:#282b67}
.evidence-cockpit .assurance-identity-link .service-number{background:#5751b5;color:#fff}
.evidence-cockpit .assurance-live-link{background:linear-gradient(145deg,#e6fbf8,#f9fffe);border-color:#48c0b1;color:#0c554f}
.evidence-cockpit .assurance-live-link small,.evidence-cockpit .assurance-live-link em{color:#087d71}
.evidence-cockpit .assurance-live-link strong{color:#0b514b}
.evidence-cockpit .assurance-live-link .service-number{background:#0b8a7c;color:#fff}
.evidence-cockpit .assurance-deepsec-link{background:linear-gradient(145deg,#fff5df,#fffaf0);border-color:#d6ab58;color:#684a18;opacity:1}
.evidence-cockpit .assurance-deepsec-link small,.evidence-cockpit .assurance-deepsec-link em{color:#946617}
.evidence-cockpit .assurance-deepsec-link strong{color:#684a18}
.evidence-cockpit .assurance-deepsec-link .service-number{background:#a6731a;color:#fff}
.evidence-cockpit .assurance-deepsec-link>span:not(.service-number){color:#806a44}
@media(max-width:1050px){.cockpit-header{grid-template-columns:1fr 1fr}.cockpit-status{grid-column:1/-1;width:max-content}.cockpit-assurance-grid{grid-template-columns:1fr 1fr}.cockpit-assurance-grid .assurance-deepsec-link{grid-column:1/-1}}
@media(max-width:760px){.cockpit-header{grid-template-columns:1fr;padding:24px 20px}.cockpit-header h2{font-size:28px}.cockpit-section-heading{align-items:start;flex-direction:column;padding:20px 20px 12px}.cockpit-section-heading p{text-align:left}.evidence-cockpit .core-evidence-row,.cockpit-assurance-grid{grid-template-columns:1fr;padding-left:20px;padding-right:20px}.cockpit-assurance-grid .assurance-deepsec-link{grid-column:auto}.evidence-cockpit .core-evidence-tile{grid-template-columns:48px 1fr;padding:20px}.evidence-cockpit .core-evidence-tile .tile-number{width:46px;height:46px}.evidence-cockpit .core-evidence-tile strong{font-size:21px}}

/* Meridian Guard: graphite-purple, copper and warm-ivory visual identity. */
.app-surface,.home-surface{--bg:#f2eee8;--panel:#fffaf2;--line:#d9cec4;--text:#2d2633;--muted:#716773;--mint:#a9682f;--amber:#b57932;background:radial-gradient(circle at 78% 2%,rgba(91,67,111,.19) 0,transparent 32rem),linear-gradient(180deg,#f7f3ee 0%,#eee8e3 100%);color:#2d2633}
.app-surface nav,.home-surface nav{color:#584c60}.app-surface nav a:hover,.home-surface nav a:hover,.app-surface .text-link:hover{color:#8b5326}.app-surface nav a.active,.home-surface nav a.active{color:#75462a}.app-surface nav a.active::after,.home-surface nav a.active::after{background:#b77732}
.app-surface footer,.home-surface footer{border-top-color:#d9cec4;color:#786d75}.app-surface .primary,.home-surface .primary{background:#b77732;color:#fffaf2;box-shadow:0 10px 24px rgba(97,58,35,.2)}.app-surface .primary:hover,.home-surface .primary:hover{background:#9e602b}.app-surface .secondary,.home-surface .secondary{border-color:#bcaebc;background:#fffaf2;color:#403548}.app-surface .secondary:hover,.home-surface .secondary:hover{border-color:#826d86;background:#fffdf9}.app-surface a:focus-visible,.app-surface button:focus-visible,.app-surface summary:focus-visible,.app-surface textarea:focus-visible{outline-color:rgba(183,119,50,.45)}
.app-surface .ready,.home-surface .ready{background:#e1f2ed;color:#116f63}.app-surface .pending,.home-surface .pending{background:#f7ead5;color:#825019}.app-surface .live-dot,.home-surface .live-dot{background:#178777;box-shadow:0 0 0 4px rgba(23,135,119,.15)}
.workspace-sidebar{background:linear-gradient(180deg,#322b3b,#282330);color:#fffaf2}.workspace-sidebar p,.workspace-sidebar span,.workspace-sidebar a{color:#d8cdd8}.workspace-sidebar strong,.workspace-sidebar h1,.workspace-sidebar h2{color:#fffaf2}
.home-hero,.research-strip,.home-cta,.status-grid>article,.evidence-card,.turn-card,.evidence-notice,.evidence-hero,.identity-review-section,.assurance-section,.assurance-request-select,.assurance-chain,.assurance-columns>article{background:#fffaf2;border-color:#d9cec4}.home-hero h1,.home-intro h2,.home-cta h2,.evidence-hero h1{color:#2d2633}.home-hero h1 span,.eyebrow,.step,.card-label{color:#9b5d2c}.research-strip{background:linear-gradient(135deg,#eee5ec,#fffaf2)}.boundary-tags span{border-color:#bdaebd;background:#fbf6ed;color:#594b60}
.evidence-cockpit{background:linear-gradient(145deg,#24212c 0%,#352c42 58%,#2b2733 100%);border-color:#604f69;box-shadow:0 22px 55px rgba(38,29,45,.28)}.evidence-cockpit:before{background:radial-gradient(circle,rgba(186,118,55,.21),transparent 68%)}.cockpit-kicker,.cockpit-section-heading span{color:#dda868}.cockpit-header p{color:#d8ceda}.cockpit-status{border-color:rgba(35,157,140,.5);background:rgba(19,91,83,.5);color:#e8fffa}.cockpit-status i{background:#2fc2ab;box-shadow:0 0 0 4px rgba(47,194,171,.17)}.cockpit-section-heading p{color:#bfb2c2}.evidence-cockpit .core-evidence-tile.is-primary{background:linear-gradient(135deg,#9c5b2a,#75452c);border-color:#dca15d}.evidence-cockpit .core-evidence-tile.is-primary:hover{border-color:#ffd29b}.evidence-cockpit .core-evidence-tile.is-primary small,.evidence-cockpit .core-evidence-tile.is-primary em{color:#ffe0b8}.evidence-cockpit .core-evidence-tile.is-primary p{color:#fff3e2}.evidence-cockpit .core-evidence-tile.is-primary .tile-number{color:#784422}.evidence-cockpit .core-evidence-tile.is-conditional{background:linear-gradient(135deg,#eee8f3,#fffaf6);border-color:#9c84ac;color:#493953}.evidence-cockpit .core-evidence-tile.is-conditional .tile-number{background:#665071}.evidence-cockpit .core-evidence-tile.is-conditional small,.evidence-cockpit .core-evidence-tile.is-conditional em{color:#74547d}.evidence-cockpit .core-evidence-tile.is-conditional p{color:#6b5c70}
.evidence-cockpit .assurance-identity-link{background:linear-gradient(145deg,#eee6f2,#fffaf7);border-color:#a28aad;color:#44334f}.evidence-cockpit .assurance-identity-link small,.evidence-cockpit .assurance-identity-link em,.evidence-cockpit .assurance-identity-link strong{color:#64496e}.evidence-cockpit .assurance-identity-link .service-number{background:#70537a}.evidence-cockpit .assurance-live-link{background:linear-gradient(145deg,#f7ecdc,#fffaf2);border-color:#c88d4b;color:#60401f}.evidence-cockpit .assurance-live-link small,.evidence-cockpit .assurance-live-link em,.evidence-cockpit .assurance-live-link strong{color:#8e5626}.evidence-cockpit .assurance-live-link .service-number{background:#a7672e}.evidence-cockpit .assurance-deepsec-link{background:linear-gradient(145deg,#e3f1ed,#fffaf2);border-color:#2a9788;color:#174f49;opacity:1}.evidence-cockpit .assurance-deepsec-link small,.evidence-cockpit .assurance-deepsec-link em,.evidence-cockpit .assurance-deepsec-link strong{color:#176f64}.evidence-cockpit .assurance-deepsec-link .service-number{background:#177f71}.evidence-cockpit .assurance-deepsec-link>span:not(.service-number){color:#4f716c}

/* Forensic Evidence Visualization — progressive review */
.forensic-visual-hero h1{max-width:900px}.forensic-review-section{margin:22px 0;padding:26px;background:#fff;border:1px solid var(--line);border-radius:18px}.visual-summary article small{color:var(--muted);line-height:1.4}.context-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.context-facts>div,.final-controls>div{display:flex;min-width:0;flex-direction:column;gap:7px;padding:14px;background:#f4f8f7;border:1px solid #d7e6e1;border-radius:10px}.context-facts span,.final-controls span,.boundary-checks span,.assurance-verdicts span{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.context-facts code,.final-controls code{overflow:hidden;text-overflow:ellipsis}.forensic-request-detail,.final-answer{margin-top:15px;border:1px solid #cfe1db;border-radius:11px;overflow:hidden}.forensic-request-detail summary,.final-answer summary,.nested-evidence summary{padding:13px 15px;font-weight:800;cursor:pointer;background:#f4f8f7}.forensic-request-detail pre,.final-answer pre,.nested-evidence pre,.layer-card pre{max-height:430px;margin:0;border-radius:0;overflow:auto;white-space:pre-wrap;word-break:break-word}.iteration-list{display:grid;gap:12px}.iteration-card{border:1px solid #cfe1db;border-radius:13px;background:#fbfdfc;overflow:hidden}.iteration-card>summary{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:14px 16px;cursor:pointer}.iteration-card>summary div{display:flex;min-width:0;flex-direction:column;gap:4px}.iteration-card>summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-family:ui-monospace,monospace}.iteration-card>summary em{font-style:normal}.iteration-facts{display:grid;grid-template-columns:.65fr 1.25fr 1.1fr .8fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.iteration-facts>div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:13px;border-right:1px solid var(--line)}.iteration-facts span{font-size:11px;color:var(--muted)}.iteration-facts code{overflow:hidden;text-overflow:ellipsis}.boundary-checks,.assurance-verdicts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.boundary-checks>div,.assurance-verdicts>article{display:flex;min-width:0;flex-direction:column;gap:7px;padding:14px;border-radius:11px;border:1px solid #d6e4df;background:#f4f8f7}.boundary-checks code{font-size:10px;overflow:hidden;text-overflow:ellipsis}.boundary-checks .is-pass,.assurance-verdicts .is-pass{background:#e9f8f2;border-color:#7fc9b4}.boundary-checks .is-pass strong,.assurance-verdicts .is-pass strong{color:#13775a}.boundary-checks .is-review,.assurance-verdicts .is-review{background:#fff8e8;border-color:#dfc27f}.is-observed{background:#eef5fb!important;border-color:#9fc0d8!important}.nested-evidence{margin:0 14px 14px;border:1px solid #d6e4df;border-radius:9px;overflow:hidden}.assurance-verdicts{padding:0}.assurance-verdicts>article{min-height:170px}.assurance-verdicts p{margin:0;color:var(--muted);line-height:1.5}.layer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.layer-card{border:1px solid #cfdeda;border-left:5px solid #6d9f91;border-radius:11px;background:#fafcfb;overflow:hidden}.layer-card summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px;cursor:pointer}.layer-card summary div{display:flex;align-items:center;gap:11px}.layer-card summary div>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#143f36;color:#fff;font-weight:800}.layer-card summary em{font-style:normal;color:var(--muted);font-size:12px}.layer-card>p{margin:0;padding:0 15px 15px;color:var(--muted)}.layer-card pre{border-radius:0}.layer-web{border-left-color:#347cad}.layer-application{border-left-color:#168263}.layer-oci{border-left-color:#7650a7}.layer-database{border-left-color:#b26b2e}.layer-return{border-left-color:#367f72}.layer-integrity{border-left-color:#68777b}.final-controls{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px}.coverage-map .stage-matrix{margin-top:16px}.coverage-map .stage-matrix article{background:#f9fbfa}.coverage-map .stage-matrix h3{font-size:21px;margin:7px 0 15px}@media(max-width:1050px){.context-facts,.boundary-checks,.assurance-verdicts,.final-controls{grid-template-columns:1fr 1fr}.iteration-facts{grid-template-columns:1fr 1fr}}@media(max-width:720px){.context-facts,.boundary-checks,.assurance-verdicts,.final-controls,.layer-grid,.iteration-facts{grid-template-columns:1fr}.iteration-card>summary{grid-template-columns:38px 1fr}.iteration-card>summary em{grid-column:2}.forensic-review-section{padding:18px}}

/* Meridian Identity evidence — app01 depth, Meridian architecture */
.identity-review-section{margin:20px 0;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px}.identity-review-section h2{margin:8px 0 18px;font-size:25px}.identity-summary p,.identity-note,.identity-summary-list{color:var(--muted);line-height:1.55}.identity-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.identity-review-grid .identity-review-section{margin:0}.identity-facts{display:grid;gap:0;margin:0}.identity-facts>div{display:grid;grid-template-columns:minmax(145px,.65fr) 1.35fr;gap:14px;padding:11px 0;border-bottom:1px solid #dce9e4}.identity-facts>div:last-child{border-bottom:0}.identity-facts dt{color:var(--muted)}.identity-facts dd{margin:0;min-width:0;overflow-wrap:anywhere}.identity-checks{display:grid;gap:8px}.identity-checks>div{display:flex;justify-content:space-between;gap:14px;padding:11px 13px;border-radius:9px;background:#f3f8f6}.identity-checks strong{font-size:12px}.identity-groups{display:flex;flex-wrap:wrap;gap:8px}.identity-groups code{padding:8px 10px;border:1px solid #b9d9cf;border-radius:8px;background:#eef8f4;overflow-wrap:anywhere}.identity-correlation{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.identity-correlation>div{display:flex;min-width:190px;max-width:280px;flex-direction:column;gap:7px;padding:14px;border:1px solid #a6cec2;border-radius:11px;background:#eff8f5}.identity-correlation span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.identity-correlation code{overflow:hidden;text-overflow:ellipsis}.identity-review-final{margin-top:18px}.identity-summary-list{padding-left:20px}.identity-review-section details{margin-top:16px;border:1px solid #cfe1db;border-radius:10px;overflow:hidden}.identity-review-section summary{padding:13px 15px;background:#f4f8f7;font-weight:800;cursor:pointer}@media(max-width:850px){.identity-review-grid{grid-template-columns:1fr}.identity-facts>div{grid-template-columns:1fr}.identity-correlation>b{display:none}.identity-correlation>div{width:100%;max-width:none}}
