:root{color-scheme:light;--navy:#14283f;--deep:#101f32;--gold:#b89b68;--gold-ink:#785a2b;--sand:#e8ddca;--ivory:#faf8f3;--paper:#fffefa;--white:#fff;--ink:#1e2e3e;--muted:#5e6971;--border:#e4e0d7;--surface:#f5f2eb;--danger:#a03e39;--success:#31644c;--serif:Georgia,"Times New Roman",serif;--sans:"Segoe UI",system-ui,sans-serif;--sidebar:236px;--radius:9px;font-family:var(--sans);font-size:16px;color:var(--ink);background:var(--ivory)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:320px}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.52}
img{display:block;max-width:100%}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{color:var(--navy)}
svg{flex:none;vertical-align:middle}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #966b29;outline-offset:3px}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip:focus{position:fixed;top:10px;left:10px;z-index:20;background:white;padding:12px 16px}
.muted{color:var(--muted)}
.long{overflow-wrap:anywhere}
.eyebrow{color:var(--gold-ink);font-size:.72rem;font-weight:750;letter-spacing:.14em;line-height:1.5}
.eyebrow>span{display:inline-block;width:25px;height:1px;background:var(--gold);vertical-align:middle;margin-right:8px}
.button-group{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:normal;text-align:center;min-height:38px;padding:8px 14px;border:1px solid transparent;border-radius:7px;font-size:.86rem;font-weight:650;line-height:1.25;transition:background .15s,color .15s,border .15s}
.primary{background:var(--navy);color:white;border-color:var(--navy)}
.primary:hover:not(:disabled){background:#274761;border-color:#274761}
.secondary{background:var(--paper);color:var(--navy);border-color:#d9d5cb}
.secondary:hover:not(:disabled){background:#f1ebe0;border-color:#c7baa7}
.ghost{background:transparent;color:var(--navy);border-color:transparent}
.ghost:hover:not(:disabled){background:#f2ede3}
.outline{background:transparent;border-color:#848f9d;color:white}
.outline:hover{background:#203951}
.side-ghost{background:transparent;color:#dee6ee;font-size:.71rem;padding:5px;min-height:30px}
.side-ghost:hover{background:#203951}
.danger-button{border-color:#d7a6a1;color:#8c2f28;background:#fff7f5}
.danger-button:hover{background:#fce2de}
.icon-button{display:inline-grid;place-items:center;border:0;background:transparent;color:var(--navy);border-radius:7px;min-width:38px;min-height:38px}
.icon-button:hover{background:#f1ebe0}
.site-wrap{width:min(1312px,calc(100% - 104px));margin-inline:auto}
.product-nav{border-bottom:1px solid var(--border);background:var(--ivory)}
.nav-inner{min-height:77px;display:flex;align-items:center;gap:27px}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--serif);color:var(--navy);font-weight:700;font-size:1.61rem;letter-spacing:-.045em;line-height:.88;white-space:nowrap}
.brand img{flex:none}
.brand small{display:block;margin-top:6px;font:700 .54rem/1 var(--sans);letter-spacing:.165em;color:#796947}
.nav-inner>nav{display:flex;gap:27px;margin-inline:auto 0;font-size:.9rem;font-weight:650;color:#435263}
.nav-inner>nav a:hover,.nav-private:hover,.product-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.nav-private{font-size:.82rem;color:#475565;font-weight:650}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:42px;min-height:570px;align-items:center;padding-block:50px 56px}
.hero-copy{padding-block:22px}
.hero h1,.developer h1{font-family:var(--serif);font-size:clamp(3.4rem,5.65vw,5.7rem);letter-spacing:-.075em;line-height:.98;font-weight:500;margin:18px 0 24px}
.hero h1 em{color:#7a5c34;font-weight:500}
.hero-lead{color:#4e5c67;font-size:1.13rem;line-height:1.65;max-width:495px;margin-bottom:27px}
.hero .button,.product-case .button,.architecture .button,.nav-inner .button{min-height:44px;padding-inline:17px}
.hero-note{margin-top:22px;color:#5b6670;font-size:.81rem;line-height:1.6}
.hero-note span{padding:0 3px;color:#8c6a39}
.hero-image{position:relative;min-width:0;height:466px;overflow:hidden;border-radius:4px;background:#d0a873}
.hero-image>img{width:100%;height:100%;object-fit:cover;object-position:58% center}
.hero-image::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #14283f25}
.hero-image figcaption{position:absolute;left:20px;bottom:20px;display:flex;align-items:center;gap:11px;background:#14283f;color:white;border:1px solid #ffffff32;padding:12px 17px 12px 12px}
.caption-mark{font:italic 1.9rem/1 var(--serif);color:#e4c896;border-right:1px solid #ffffff50;padding-right:9px}
.hero-image figcaption strong{display:block;font:1.27rem/1 var(--serif)}
.hero-image figcaption small{display:block;font-size:.56rem;letter-spacing:.14em;color:#eddfc8;margin-top:5px}
.cap-band{padding:56px 0 59px;background:#f1eadf;border-top:1px solid #e9dfd0;border-bottom:1px solid #e9dfd0;scroll-margin-top:15px}
.section-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:25px;align-items:end;margin-bottom:30px}
.section-intro>p,.section-intro>div>p:not(.eyebrow){color:var(--muted);font-size:1rem;line-height:1.65;max-width:490px}
.section-intro h2,.product-case h2{font:500 clamp(2.2rem,3.7vw,3.6rem)/1.05 var(--serif);letter-spacing:-.065em;margin-top:9px}
.triad{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d4c8b7;border-bottom:1px solid #d4c8b7}
.triad>a{padding:23px 28px 24px 0;display:block}
.triad>a+a{border-left:1px solid #d4c8b7;padding-left:25px}
.line-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #cabba2;border-radius:6px;color:#72603d;font-size:1.25rem}
.triad h3{font:600 1.42rem/1.15 var(--serif);margin:13px 0 9px}
.triad p,.product-case p:not(.eyebrow){color:#52606a;line-height:1.65;margin-bottom:16px}
.small-link{color:var(--navy);font-size:.87rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.triad a:hover .small-link{color:#805c28}
.product-case{padding-block:70px;display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:center}
.product-case h2{margin-bottom:17px;max-width:490px}
.paper-example{background:var(--paper);border:1px solid #ddd5c8;border-top:3px solid var(--gold);padding:27px 30px;border-radius:4px;box-shadow:0 12px 28px #2e271008}
.paper-top,.paper-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:.83rem}
.paper-example h3{font:600 1.65rem/1.1 var(--serif);margin-top:19px}
.paper-example blockquote{font:1.3rem/1.5 var(--serif);margin:13px 0 21px;border-left:2px solid var(--gold);padding-left:14px}
mark{background:#f2dfb7;color:inherit}
.paper-bottom{border-top:1px solid var(--border);padding-top:13px;color:#5b6670}
.architecture{background:var(--navy);color:white;padding-block:53px}
.architecture h2{color:white}
.architecture .eyebrow{color:#dcc59c}
.architecture .section-intro{margin-bottom:0}
.architecture .section-intro>div>p:not(.eyebrow){color:#e1e6ec;margin-bottom:16px}
.product-footer{border-top:1px solid var(--border);padding-block:24px;background:var(--ivory)}
.product-footer>.site-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.product-footer p,.product-footer a:not(.brand){font-size:.87rem;color:#536171}
.developer{padding-block:55px 75px}
.developer h1{font-size:clamp(3rem,5.2vw,5.3rem)}
.doc-layout{display:grid;grid-template-columns:190px minmax(0,760px);gap:35px;border-top:1px solid var(--border);padding-top:25px}
.doc-layout nav{display:flex;flex-direction:column;gap:13px;font-weight:650;font-size:.89rem}
.doc-layout nav a:hover{text-decoration:underline}
.doc-layout article section{margin-bottom:30px}
.doc-layout article h2{font:600 1.8rem/1.15 var(--serif);margin-bottom:.65rem}
.doc-layout article p,.doc-layout article li{margin-bottom:.7rem;line-height:1.65;color:#465563}
.doc-layout pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#ece8de;border:1px solid var(--border);padding:16px;border-radius:7px;font-size:.88rem}
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}
.sidebar{height:100vh;position:sticky;top:0;overflow:auto;background:var(--navy);color:#e4ebf3;display:flex;flex-direction:column;scrollbar-color:#566a7f var(--navy)}
.side-brand{color:#fff;padding:24px 19px 17px}
.side-brand img{border:1px solid #c8ad7a55;border-radius:10px}
.side-brand small{color:#dbc39b;font-size:.52rem}
.workspace-select{display:flex;align-items:center;gap:10px;padding:9px;margin:0 14px 17px;border:1px solid #ffffff22;border-radius:8px;background:#213852}
.workspace-select>span:not(.workspace-avatar),.user-avatar>div{min-width:0}
.workspace-select strong,.user-avatar strong{display:block;color:#fff;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-select small,.user-avatar small{display:block;color:#c8d3de;font-size:.69rem;margin-top:2px}
.workspace-avatar{background:#e6d6b7;color:#26374a;display:grid;place-items:center;width:34px;height:34px;border-radius:6px;font-size:.78rem;font-weight:750;flex:none}
.workspace-select select{min-width:0;width:100%;background:#14283f;color:white;border-color:#687b91;font-size:.83rem;padding:5px}
.sidebar nav{padding:0 11px}
.side-section{margin-bottom:17px}
.side-section>p{font-size:.66rem;text-transform:uppercase;color:#bfceda;letter-spacing:.13em;font-weight:750;margin:0 9px 7px}
.side-section>a,.sidebar-footer>a{position:relative;min-height:37px;padding:7px 9px;display:flex;gap:10px;align-items:center;border-radius:6px;color:#dbe3eb;font-size:.8rem;line-height:1.22;font-weight:520}
.side-section>a:hover,.sidebar-footer>a:hover{background:#243d59;color:#fff}
.side-section>a[aria-current=page]{background:#304761;color:#fff;font-weight:700}
.side-section>a[aria-current=page]::before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:2px;border-radius:2px;background:#dfbf85}
.side-section>a[aria-current=page]>svg{color:#e7c88e}
.side-section>a>small{margin-left:auto;background:#415674;color:white;padding:2px 5px;border-radius:5px;font-size:.64rem}
.sidebar-footer{margin-top:auto;padding:6px 12px 13px}
.user-avatar{display:flex;gap:8px;align-items:center;border-top:1px solid #ffffff22;margin-top:9px;padding:12px 2px 1px}
.user-avatar>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#40546d;color:white;font-weight:700;font-size:.73rem;flex:none}
.user-avatar button{margin-left:auto}
.workspace-content{min-width:0}
.app-bar{height:61px;background:#fffdf8;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 31px}
.breadcrumbs,.app-bar-actions{display:flex;align-items:center;gap:10px;font-size:.82rem;white-space:nowrap;color:#5c6873}
.breadcrumbs strong{color:var(--navy)}
.mode-label,.synthetic-label{display:inline-flex;align-items:center;gap:6px;background:#f0e7d7;color:#654d2a;border:1px solid #e5d8c3;border-radius:5px;padding:5px 8px;font-weight:700;font-size:.72rem}
.synthetic-label{background:transparent;color:#5f6b74;border-color:#dedbd1;font-weight:620}
.mobile-menu,.nav-scrim{display:none}
.workspace-main{padding:28px clamp(17px,2.5vw,36px) 45px;max-width:1660px;margin-inline:auto}
.view-heading{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:23px}
.view-heading .eyebrow{margin-bottom:4px}
.view-heading h1{font:500 clamp(2.2rem,3.25vw,3.2rem)/1.07 var(--serif);letter-spacing:-.058em;overflow-wrap:anywhere}
.view-heading p:not(.eyebrow){font-size:.91rem;color:#56636d;margin-top:7px;line-height:1.5}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:19px}
.metric{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;min-height:112px;background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);padding:12px 13px}
.metric:hover{border-color:#c6ad82;background:#fffdf7}
.metric-icon,.file-icon,.timeline-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:#f0ede5;color:#5b6a79;flex:none}
.metric-risk .metric-icon{background:#f8ebe7;color:#98443d}
.metric-label{font-size:.79rem;font-weight:700;color:#485667;line-height:1.25}
.metric-value{grid-column:1/-1;font:500 2.07rem/.95 var(--serif);color:var(--navy);padding:7px 0 4px}
.metric small{grid-column:1/-1;font-size:.71rem;line-height:1.3;color:#5e6972}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:16px;margin-bottom:16px;align-items:start}
.panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--paper);min-width:0;overflow:hidden;margin-bottom:16px}
.overview-grid>.panel,.evidence-grid>.panel{margin:0}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 15px;border-bottom:1px solid var(--border);min-height:54px}
.panel-head h2{font-size:1rem;line-height:1.3;font-weight:750}
.panel-head p{color:var(--muted);font-size:.76rem;margin-top:4px;line-height:1.4;overflow-wrap:anywhere}
.panel-link{font-size:.76rem;color:#715328;font-weight:750;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.table-wrap{overflow-x:auto;scrollbar-color:#c8baa7 transparent}
table{width:100%;border-collapse:collapse;text-align:left;font-size:.81rem;color:#43515d}
th{background:#f7f4ed;text-transform:uppercase;font-weight:750;font-size:.65rem;letter-spacing:.08em;color:#596473;white-space:nowrap}
th,td{padding:9px 12px;border-bottom:1px solid #eee9df}
td:first-child,th:first-child{padding-left:15px}
td:last-child,th:last-child{padding-right:15px}
tr:last-child td{border-bottom:0}
td>strong,td button strong{color:var(--navy);font-size:.84rem}
td small,.resource-list small,.timeline small,.deadlines small{display:block;color:#64707b;font-size:.72rem;margin-top:3px;line-height:1.4}
.table-title{display:flex;align-items:center;gap:9px;min-width:130px}
.text-button{text-align:left;background:transparent;border:0;padding:1px;color:var(--navy);line-height:1.3}
.text-button:hover strong,.text-button:hover{text-decoration:underline;text-underline-offset:3px}
.file-icon{width:30px;height:32px;color:#6d604a;border:1px solid #e7dfd1;background:#f4f0e7}
.badge{display:inline-flex;align-items:center;line-height:1.2;padding:4px 7px;white-space:nowrap;border:1px solid transparent;border-radius:5px;font-size:.68rem;font-weight:750;max-width:100%}
.badge.good{background:#e8f2eb;color:#28583f;border-color:#dcebe1}
.badge.gold{background:#f5eddd;color:#684c1d;border-color:#eee0c6}
.badge.danger{background:#f8e9e6;color:#8a332e;border-color:#f1dcd7}
.badge.neutral{background:#eeeff1;color:#4c5a64;border-color:#e7e8ea}
.deadlines,.timeline,.resource-list,.comments{padding:0;margin:0;list-style:none}
.deadlines>li,.timeline>li,.resource-list>li{padding:10px 15px;border-bottom:1px solid #eee9df;display:flex;gap:10px;align-items:center}
.deadlines>li:last-child,.timeline>li:last-child,.resource-list>li:last-child{border-bottom:0}
.deadlines strong,.timeline strong,.resource-list strong{font-size:.82rem;color:var(--navy)}
.calendar-tile{background:#f5eee0;color:#745a31;display:grid;min-width:36px;min-height:41px;place-content:center;text-align:center;border-radius:6px;padding:4px}
.calendar-tile strong{font:600 1.13rem/1 var(--serif);color:#6d532a}
.calendar-tile small{font-size:.61rem;margin-top:2px;color:#705a38;text-transform:uppercase}
.timeline-icon{width:27px;height:27px;color:#775d36;background:#f3ede1}
.resource-list>li{justify-content:space-between}
.resource-list>li>div{overflow-wrap:anywhere}
.summary-list>a{display:flex;align-items:center;gap:9px;padding:11px 14px;border-bottom:1px solid #eee9df;font-size:.82rem;color:#415467}
.summary-list>a:last-child{border:0}
.summary-list>a:hover{background:#f8f4ec}
.summary-list strong{margin-left:auto;color:var(--navy)}
.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.scenario{display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--border);padding:14px;color:var(--navy)}
.scenario:not(:nth-child(3n)){border-right:1px solid var(--border)}
.scenario:nth-last-child(-n+3){border-bottom:0}
.scenario:hover{background:#f5efe3}
.scenario strong,.scenario small{display:block}
.scenario strong{font-size:.82rem}
.scenario small{font-size:.74rem;color:#5f6b74;margin-top:4px;line-height:1.4}
.empty{padding:26px 18px;display:grid;justify-items:center;text-align:center;gap:7px;color:var(--muted);min-height:100px}
.empty strong{font-size:.95rem;color:#435467}
.empty p{font-size:.84rem;max-width:34rem}
.empty svg{color:#8c7858}
.field{display:grid;align-content:start;gap:5px;font-size:.81rem;font-weight:700;color:#3e4d5b;min-width:0}
.field>span{line-height:1.35}
input,select,textarea{width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid #d6d1c5;border-radius:6px;background:white;color:var(--ink);font-size:.83rem}
input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--navy)}
textarea{resize:vertical}
select{appearance:none;padding-right:26px;background-image:url('/assets/chevron.svg');background-position:right 8px center;background-repeat:no-repeat;background-size:12px}
input[type=file]{padding:8px 4px}
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;padding:13px;background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:14px;align-items:end}
.filter-bar>.field{flex:1 1 110px}
.search-bar>.field:first-child{flex-grow:2;min-width:190px}
.search-note{font-size:.8rem;color:var(--muted);margin:3px 0 13px}
.notice{padding:11px 12px;border:1px solid var(--border);background:#f5f2eb;border-radius:6px;color:#485663;font-size:.84rem;margin:10px 14px}
.notice.warning{background:#fbf1db;color:#6b4d1f;border-color:#e9dbb8}
.evidence-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:14px;align-items:start}
.review-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.passage-list,.finding-list{max-height:min(69vh,760px);min-height:235px;overflow:auto;position:relative;scrollbar-color:#c8baa7 transparent}
.passage-list{background:#f0ece3;padding:16px}
.document-paper{background:#fffdf8;border:1px solid #e1dbcf;padding:16px;border-radius:4px}
.document-paper>.eyebrow{margin-bottom:10px}
.passage{padding:9px 8px;border-top:1px solid #eeeae3}
.passage>span{font-size:.65rem;color:#74684f;font-weight:720;letter-spacing:.055em;text-transform:uppercase}
.passage>p{font:1rem/1.5 var(--serif);margin-top:4px;overflow-wrap:anywhere}
.passage.evidence{background:#faf0dc;border-left:2px solid #c7aa71}
.passage.selected{background:#f1dfb1;border-left:3px solid #926826}
.metadata{margin:0 14px;font-size:.85rem}
.metadata>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,1.55fr);gap:8px;padding:9px 0;border-bottom:1px solid var(--border)}
.metadata dt{font-weight:700}
.metadata dd{margin:0;overflow-wrap:anywhere;color:var(--muted)}
.detail-actions{padding:12px 14px;display:flex;gap:7px;flex-wrap:wrap}
.finding-list{padding:10px}
.finding{border:1px solid #eae3d7;border-radius:7px;padding:12px;margin-bottom:9px;background:#fffdf9}
.finding.focused{border-color:#b19561}
.finding-top,.finding-bottom{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.finding-bottom{justify-content:space-between;margin-top:6px;border-top:1px solid #ece8df;padding-top:6px}
.finding h3{font-size:1rem;margin:7px 0 4px}
.finding p{font-size:.82rem;line-height:1.45;margin-bottom:6px;overflow-wrap:anywhere}
.finding .rule{font-weight:680;color:#4d5b67}
.finding-evidence{display:grid;gap:5px;margin:8px 0}
.evidence-quote{display:grid;gap:4px;background:#f8f1e2;border:0;border-left:2px solid var(--gold);text-align:left;padding:7px 8px;color:#344457;font-size:.78rem;line-height:1.45;overflow-wrap:anywhere}
.evidence-quote:hover{background:#f2e1bd}
.evidence-quote strong{display:flex;gap:5px;align-items:center;color:#6c552e}
.next-action strong{margin-right:4px}
.comments li{padding:4px 0;display:grid;gap:2px;font-size:.75rem;color:var(--muted);overflow-wrap:anywhere}
.approval-strip{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 13px;margin-bottom:14px;border:1px solid var(--border);border-radius:7px;background:#f6f0e4;font-size:.83rem}
.approval-strip p{margin-top:2px;font-size:.74rem;color:var(--muted)}
.search-result,.change,.notes article{padding:12px 14px;border-bottom:1px solid var(--border)}
.search-result:last-child,.change:last-child,.notes article:last-child{border:0}
.search-result>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.86rem}
.search-result>div>span,.notes small{color:var(--muted);font-size:.72rem}
.search-result blockquote{border-left:2px solid var(--gold);padding-left:10px;margin:7px 0 5px;font-size:.89rem;line-height:1.55;overflow-wrap:anywhere}
.diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:7px}
.diff-grid>div{padding:9px;border-radius:5px;font-size:.83rem;line-height:1.45;overflow-wrap:anywhere}
.diff-grid small{color:#55616c;font-size:.73rem}
.diff-grid p{margin:4px 0}
.diff-old{background:#f7ebe8}
.diff-new{background:#ebf2e9}
.notes p{font-size:.85rem;white-space:pre-wrap;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}
dialog{padding:0;width:min(520px,calc(100% - 26px));max-height:calc(100% - 28px);border:1px solid #d8cdbb;border-radius:11px;background:var(--paper);color:var(--ink);box-shadow:0 13px 44px #08132344;overflow:auto}
dialog.large{width:min(800px,calc(100% - 26px))}
dialog::backdrop{background:#0f1c2db0}
.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 15px 10px 18px;border-bottom:1px solid var(--border)}
.dialog-header h2{font:600 1.49rem/1.14 var(--serif)}
.dialog-body{padding:15px 18px;font-size:.89rem;line-height:1.55;overflow-wrap:anywhere}
.dialog-body>p+p{margin-top:.65rem}
.dialog-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding:10px 18px;border-top:1px solid var(--border)}
.stack-form{display:grid;gap:11px}
.panel>.stack-form{padding:14px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.check-field{display:flex;align-items:center;gap:6px;font-size:.83rem}
.edit-rows{display:grid;gap:8px}
.edit-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:8px;border:1px solid var(--border);border-radius:6px}
.edit-row legend{font-size:.75rem;color:var(--muted);font-weight:700}
.edit-row>.button{align-self:end;justify-self:start}
.generated-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#384957;font: .85rem/1.65 var(--sans);padding:12px;margin:0;background:#f6f2e9}
.toast{position:fixed;right:14px;bottom:13px;z-index:15;max-width:min(525px,calc(100% - 28px));padding:11px 15px;border-radius:7px;background:var(--navy);color:white;font-size:.87rem;box-shadow:0 4px 18px #21395236}
.toast.error{background:#80352f}
.form-error{padding:8px 10px;background:#f9e9e5;color:#82392f;border:1px solid #e8ccc7;border-radius:6px;font-size:.84rem}
dialog:modal .notice{margin-inline:0}
.auth{min-height:100vh;display:grid;place-items:center;padding:20px;background:#eee7d9}
.auth-panel{width:min(100%,460px);padding:30px;border:1px solid #ded4c1;border-radius:9px;background:var(--paper)}
.auth-panel .eyebrow{margin-top:28px}
.auth-panel h1{font:500 2.3rem/1.1 var(--serif);letter-spacing:-.06em;margin:7px 0 9px}
.auth-panel>p:not(.eyebrow){color:var(--muted);line-height:1.5}
.auth-panel .stack-form{margin:20px 0}
.auth-panel>a:last-child{font-size:.85rem;text-decoration:underline;color:var(--navy)}
.loading{padding:40px;text-align:center;color:var(--muted)}
@media(max-width:1100px){
  :root{--sidebar:203px}
  .site-wrap{width:calc(100% - 60px)}
  .hero{min-height:510px;gap:23px}
  .hero-image{height:415px}
  .nav-inner{gap:20px}
  .nav-inner>nav{gap:17px}
  .overview-grid{grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr)}
  .app-bar{padding-inline:20px}
}
@media(max-width:880px){
  .app-shell{display:block}
  .sidebar{display:none;position:fixed;inset:0 auto 0 0;width:min(267px,84vw);height:100dvh;z-index:8}
  .sidebar.is-open{display:flex}
  .mobile-menu{display:inline-grid}
  .nav-scrim{display:block;position:fixed;inset:0;background:#14283f91;border:0;z-index:7}
  .hero{min-height:0}
  .hero h1{font-size:clamp(2.7rem,5.7vw,4.6rem)}
  .hero-image{height:370px}
  .product-case{gap:30px}
  .nav-inner>nav{font-size:.8rem}
}
@media(max-width:680px){
  .site-wrap{width:calc(100% - 34px)}
  .nav-inner{min-height:61px;gap:8px;justify-content:space-between}
  .nav-inner>nav,.nav-private{display:none}
  .brand{font-size:1.46rem}
  .nav-inner .button{min-height:35px;padding:7px 9px;font-size:.78rem}
  .hero{grid-template-columns:1fr;gap:21px;padding-block:33px}
  .hero-copy{padding:0}
  .hero h1{font-size:clamp(2.7rem,9.3vw,4.4rem);margin:13px 0 15px}
  .hero-lead{font-size:1rem;margin-bottom:18px}
  .hero-note{margin-top:12px}
  .hero-image{height:clamp(205px,64vw,320px)}
  .hero-image figcaption{left:10px;bottom:10px}
  .cap-band,.architecture{padding-block:32px}
  .section-intro,.product-case{display:grid;grid-template-columns:1fr;gap:12px}
  .section-intro{margin-bottom:16px}
  .triad{grid-template-columns:1fr}
  .triad>a,.triad>a+a{padding:14px 0;border-left:0}
  .triad>a+a{border-top:1px solid #d4c8b7}
  .product-case{padding-block:36px}
  .paper-example{padding:16px}
  .doc-layout{grid-template-columns:1fr;gap:20px}
  .doc-layout nav{flex-direction:row;flex-wrap:wrap}
  .developer{padding-block:30px}
  .app-bar{height:51px;padding-inline:10px}
  .breadcrumbs,.app-bar-actions{gap:5px}
  .breadcrumbs>span,.breadcrumbs>svg,.synthetic-label{display:none}
  .workspace-main{padding:17px 11px 32px}
  .view-heading{display:block;margin-bottom:13px}
  .view-heading>.button-group{margin-top:9px}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:11px}
  .metric{min-height:88px;padding:7px 8px;column-gap:5px}
  .metric-icon{width:25px;height:25px}
  .metric-label{font-size:.74rem}
  .metric-value{font-size:1.75rem}
  .overview-grid,.evidence-grid{grid-template-columns:1fr;gap:9px}
  .panel{margin-bottom:9px}
  .panel-head{padding:9px;min-height:43px}
  .panel-head h2{font-size:.91rem}
  .scenario-grid{grid-template-columns:1fr 1fr}
  .scenario:not(:nth-child(3n)){border-right:0}
  .scenario:nth-child(odd){border-right:1px solid var(--border)}
  .scenario:nth-last-child(-n+3){border-bottom:1px solid var(--border)}
  .scenario:nth-last-child(-n+2){border-bottom:0}
  .scenario{padding:9px}
  .passage-list,.finding-list{max-height:55vh}
  .passage-list{padding:7px}
  .document-paper{padding:7px}
  .edit-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .approval-strip{align-items:flex-start}
  .approval-strip>.button-group{justify-content:flex-end}
}
@media(max-width:375px){
  .button{font-size:.78rem;padding-inline:9px}
  .form-grid{grid-template-columns:1fr}
  .app-bar .mode-label{font-size:.65rem}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.app-bar,.button,.toast{display:none!important}.app-shell{display:block}.workspace-main{padding:0}}
