@font-face{font-family:Plex;src:url(assets/IBMPlexSans-Regular.ttf);font-display:swap}
@font-face{font-family:Plex;src:url(assets/IBMPlexSans-SemiBold.ttf);font-weight:600;font-display:swap}
@font-face{font-family:Lexend;src:url(assets/Lexend-VariableFont_wght.ttf);font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--navy:#071d2b;--deep:#081b28;--panel:#102c3c;--surface:#0c2534;--ivory:#f7f5ef;--aqua:#49c5b6;--teal:#075e63;--copper:#c66b3d;--muted:#b1c5cd;--line:#294757;--radius:12px;font-family:Plex,Arial,sans-serif}
*{box-sizing:border-box}
body{margin:0;color:var(--ivory);background:var(--navy);font-size:15px;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,select{cursor:pointer}
button:disabled{cursor:default}
:focus-visible{outline:2px solid var(--aqua);outline-offset:3px}
h1,h2,h3,p{margin:0}
h1,h2,h3,.big,.metric strong{font-family:Lexend,Arial,sans-serif}
h1{font-weight:560;font-size:clamp(29px,3.2vw,47px);line-height:1.13;letter-spacing:-.05em}
h2{font-size:19px;line-height:1.25;font-weight:530;letter-spacing:-.025em}
h3{font-size:15px;font-weight:550}
small{color:var(--muted)}
[hidden]{display:none!important}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;z-index:3;top:8px;left:8px;background:var(--aqua);color:var(--navy);padding:10px}
.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:var(--deep);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:20px 16px;gap:22px}
.logo{display:flex;align-items:center;width:max-content;max-width:100%;margin:0 5px}
.logo img{width:174px;height:auto;display:block}
.workspace{display:flex;gap:11px;align-items:center;padding:11px 10px;border:1px solid var(--line);background:var(--surface);border-radius:9px}
.workspace strong,.workspace small{display:block}
.workspace small{font-size:12px}
.monogram{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:#14484c;color:#9beae0;font-family:Lexend,sans-serif}
nav{display:grid;gap:5px}
nav a{display:flex;gap:11px;align-items:center;min-height:43px;padding:8px 10px;border:1px solid transparent;border-radius:8px;color:var(--muted)}
nav a span{font-size:19px;line-height:1;width:20px;text-align:center}
nav a:hover,nav a[aria-current]{background:#103840;color:var(--ivory)}
nav a[aria-current]{border-color:#216467}
nav a[aria-current] span{color:var(--aqua)}
nav b{margin-left:auto;background:#1b3949;border-radius:6px;padding:0 6px;font-size:12px}
.sidebar-foot{margin-top:auto;padding:0 10px;color:var(--muted);font-size:13px}
.sidebar-foot i,.demo i,.eyebrow i{display:inline-block;width:7px;height:7px;background:var(--copper);margin-right:6px}
.workspace-main{min-width:0;display:flex;flex-direction:column}
.topbar{min-height:66px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px clamp(18px,3.3vw,52px);color:var(--muted)}
.topbar strong{color:var(--ivory)}
.topbar span[aria-hidden]{padding:0 7px;color:#7895a3}
.demo{display:inline-flex;align-items:center;border:1px solid #695146;background:#302b2b;border-radius:6px;padding:4px 9px;color:#ffd9c3;font-size:12px;white-space:nowrap}
main{width:100%;max-width:1500px;margin:0 auto;padding:32px clamp(18px,3.3vw,52px) 24px;flex:1}
main:focus{outline:none}
.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}
.eyebrow{color:#8adbd1;font-weight:600;letter-spacing:.09em;text-transform:uppercase;font-size:11px;margin-bottom:9px}
.eyebrow span{color:#7895a3;margin:0 5px}
.lede{color:var(--muted);margin-top:10px;max-width:68ch}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:41px;border:1px solid #456172;border-radius:7px;padding:7px 12px;color:var(--ivory);background:#122e3d;font-weight:600}
.button:hover{background:#1b4152}
.button.primary{background:var(--aqua);border-color:var(--aqua);color:var(--navy);padding-inline:15px}
.button.primary:hover{background:#83dfd3}
.button.quiet{color:#9be3d9;background:transparent;border-color:transparent}
.button.quiet:hover{background:#173d49}
.text-link{color:#91e4d9;font-weight:600;display:inline-block}
.text-link:hover{text-decoration:underline}
.hero{min-height:181px;position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;border:1px solid #315464;border-radius:var(--radius);background:linear-gradient(110deg,#102d3d 40%,#103640 100%);padding:24px 26px}
.hero-copy{position:relative;z-index:1;max-width:490px}
.hero h2{font-size:clamp(21px,2.1vw,29px)}
.hero-copy>p:not(.eyebrow){color:#c2d4d8;margin:9px 0 12px;max-width:46ch}
.hero-art{position:absolute;inset:0 0 0 auto;width:43%;min-width:290px;opacity:.88;background:radial-gradient(ellipse at 76% 50%,#1b666872,transparent 62%),repeating-linear-gradient(90deg,transparent 0 25px,#74c9c60b 25px 26px),repeating-linear-gradient(0deg,transparent 0 25px,#74c9c60b 25px 26px)}
.hero-art span{position:absolute;top:50%;right:var(--right);width:var(--size);height:var(--size);transform:translateY(-50%) rotate(45deg);border:1px solid var(--aqua);border-radius:8px;background:#49c5b609}
.hero-art span:nth-child(1){--right:37%;--size:134px;opacity:.24}
.hero-art span:nth-child(2){--right:32%;--size:107px;opacity:.39}
.hero-art span:nth-child(3){--right:27%;--size:78px;opacity:.62}
.hero-art span:nth-child(4){--right:22%;--size:49px;opacity:.8}
.hero-art b{position:absolute;width:11px;height:11px;top:50%;right:20%;transform:translateY(-50%);background:var(--copper);box-shadow:0 0 0 7px #c66b3d28}
.section{margin:25px 0}
.section-head,.panel-head,.progress-foot,.callout{display:flex;align-items:center;justify-content:space-between;gap:14px}
.section-head{margin-bottom:12px}
.section-head>span,.panel-head p,.callout p{color:var(--muted);font-size:13px}
.outcomes,.health-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.health-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}
.metric{min-width:0;position:relative;display:grid;justify-items:start;gap:4px;min-height:113px;padding:13px 15px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
a.metric:hover{background:#123743;border-color:#518386}
.metric strong,.big{font-size:32px;font-weight:550;line-height:1.14}
.metric>span:not(.metric-icon):not(.metric-arrow){color:#d9e5e7;font-weight:600}
.metric-icon{display:grid;place-items:center;width:28px;height:28px;margin-bottom:2px;border-radius:6px;background:#223a4b;color:#c8dae6}
.metric.asis .metric-icon{background:#174a4b;color:#96ebdd}
.metric.work .metric-icon{background:#4a3529;color:#ffd3b7}
.metric.review .metric-icon{background:#343451;color:#e0d8ff}
.metric-arrow{position:absolute;right:13px;top:12px;color:#91aeb9}
.lower{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:14px;align-items:start}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.panel-head{padding:16px 17px;border-bottom:1px solid var(--line)}
.panel-head p{margin-top:4px}
.action-row{display:grid;align-items:center;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;padding:8px 15px;border-bottom:1px solid var(--line)}
.action-row:last-child{border-bottom:0}
.action-row small,.table-wrap small,.choice small{display:block;margin-top:2px}
.priority-mark{width:7px;height:7px;background:var(--copper)}
.progress-body{padding:18px}
.big small{font-size:18px}
.progress-body p{margin:5px 0 12px;color:var(--muted)}
progress{width:100%;height:9px;appearance:none;display:block;border:0;background:#233f50;border-radius:8px;overflow:hidden}
progress::-webkit-progress-bar{background:#233f50}
progress::-webkit-progress-value{background:var(--aqua)}
progress::-moz-progress-bar{background:var(--aqua)}
.progress-foot{margin-top:13px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.foot{padding:10px clamp(18px,3.3vw,52px) 20px;color:var(--muted);font-size:12px}
.callout{padding:13px 16px;margin:15px 0;border-left:3px solid var(--aqua);background:#113440;border-radius:4px 8px 8px 4px}
.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:13px 15px;border-bottom:1px solid var(--line)}
.search{display:flex;align-items:center;gap:8px;flex:1 1 175px;min-width:0;padding:0 9px}
.search,input[type=search],select{color:var(--ivory);background:var(--deep)}
.search,select{border:1px solid #446071;border-radius:7px;min-height:41px}
.search>span{font-size:22px;color:#9be3d9}
.search input{border:0;min-width:0;width:100%;outline:none}
.search:focus-within{outline:2px solid var(--aqua);outline-offset:2px}
.search input::placeholder{color:var(--muted)}
select{padding:5px 7px}
.result-count{color:var(--muted);font-size:13px;padding:10px 15px}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:9px 12px;border-top:1px solid var(--line)}
th:first-child,td:first-child{padding-left:16px}
thead th{font-size:12px;color:#bbd0d7;background:#112f3f}
tbody th{font-weight:600}
tbody th small{font-weight:400;overflow-wrap:anywhere}
tbody tr:hover{background:#113141}
.badge{display:inline-flex;gap:6px;align-items:center;padding:3px 7px;border-radius:5px;background:#213b4b;color:#d7e7ef;font-size:12px;font-weight:600;white-space:nowrap}
.badge i{width:6px;height:6px;background:currentColor;border-radius:50%}
.badge.asis{color:#a4f3e5;background:#164747}
.badge.work,.badge.medium{color:#ffd2aa;background:#493728}
.badge.high{color:#ffd0c4;background:#4c3030}
.badge.high i{border-radius:0}
.badge.review{color:#e1d8ff;background:#353653}
.empty{padding:20px;color:var(--muted)}
.segmented{display:flex;gap:7px;margin-bottom:13px;flex-wrap:wrap}
.segmented [aria-pressed=true]{background:#16484d;border-color:#388481}
.categories>div:not(.panel-head){display:grid;grid-template-columns:minmax(105px,145px) minmax(0,1fr) 25px;align-items:center;gap:12px;padding:9px 16px}
.rule-row{grid-template-columns:auto minmax(0,1fr) auto auto}
.rule-id{color:#91e4d9;font-size:12px;font-weight:600}
dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(100%,480px);max-width:100%;border:0;border-left:1px solid #406072;background:#0c2635;color:var(--ivory);padding:20px 24px;overflow:auto;box-shadow:-18px 0 55px #0005}
dialog::backdrop{background:#030e16aa}
body:has(dialog[open]){overflow:hidden}
.drawer-top,.drawer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.drawer-top .eyebrow{margin:0}
dialog h2{font-size:25px}
.path,.note{color:var(--muted);font-size:13px;margin-top:6px;overflow-wrap:anywhere}
.drawer-badges{margin:11px 0}
.drawer-section{padding:11px 0;border-top:1px solid var(--line)}
.drawer-section p{margin:3px 0}
fieldset{padding:0;border:0;margin:8px 0 0;min-width:0}
legend{font-family:Lexend,sans-serif;font-weight:550;margin-bottom:7px}
.choice{display:flex;gap:8px;align-items:flex-start;padding:7px 9px;margin-bottom:5px;border:1px solid var(--line);border-radius:7px;cursor:pointer}
.choice:has(:checked){border-color:#4fa99f;background:#123d45}
.choice input,.check input{accent-color:var(--aqua);margin-top:5px}
.choice small{font-size:12px}
.check{display:flex;align-items:flex-start;gap:8px;color:#ffd9c3;margin:9px 0}
.drawer-actions{justify-content:flex-end;margin-top:12px}
.toast{position:fixed;z-index:2;right:18px;bottom:18px;padding:12px 16px;background:#153d44;border:1px solid #4fa99f;border-radius:8px;color:var(--ivory);box-shadow:0 8px 25px #0005}
@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-inline:12px}.logo img{width:151px}}
@media(max-width:820px){.shell{display:block}.sidebar{height:auto;position:relative;border-right:0;border-bottom:1px solid var(--line);padding:9px 17px;gap:8px;display:grid;grid-template-columns:1fr auto;align-items:center}.sidebar nav{grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:4px}.sidebar-foot{display:none}.workspace{padding:5px 7px}.topbar{min-height:48px}main{padding-top:24px}}
@media(max-width:560px){.sidebar nav a{font-size:12px;padding:4px;min-height:36px;gap:4px}.sidebar nav a span{font-size:15px;width:16px}.workspace small{display:none}.monogram{width:25px;height:25px}.logo img{width:125px}.intro{align-items:flex-start;flex-direction:column;gap:13px}.hero{padding:17px}.hero-art{opacity:.18}.outcomes,.health-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lower{grid-template-columns:1fr}.section-head{align-items:flex-start}.section-head>span{text-align:right}.metric{min-height:99px;padding:10px}.panel-head .text-link{font-size:12px;text-align:right}.callout{align-items:flex-start;flex-wrap:wrap}.toolbar>*{max-width:100%}.search{flex-basis:100%}.table-wrap .area,.table-wrap .priority-cell,.table-wrap thead th:nth-child(2),.table-wrap thead th:nth-child(3){display:none}.table-wrap th,.table-wrap td{padding:7px 6px}.table-wrap th:first-child{padding-left:10px}.table-wrap small{display:none}.table-wrap .button{padding-inline:4px;font-size:12px}.table-wrap .badge{white-space:normal}.rule-row{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.rule-id{grid-column:1/-1}}
.outcome-chart{margin:16px 0;padding:15px 18px}
.outcome-chart figcaption{font-family:Lexend,sans-serif;font-weight:530;margin-bottom:8px}
.chart-row,.chart-axis{display:grid;grid-template-columns:minmax(105px,135px) minmax(0,1fr) 30px;gap:10px;align-items:center}
.chart-row{padding:5px 0;border-radius:4px;font-size:14px}
.chart-row:hover{background:#143747}
.chart-row strong{text-align:right}
.chart-track{display:block;height:12px;background:#213c4b;border-radius:3px;overflow:hidden}
.chart-track i{display:block;height:100%;background:#9ab9cd;border-radius:3px}
.asis .chart-track i{background:var(--aqua)}
.work .chart-track i{background:#e69869}
.review .chart-track i{background:#c0b1e8}
.chart-axis{grid-template-columns:1fr 1fr 1fr;margin:4px 40px 0 calc(135px + 10px);color:var(--muted);font-size:12px}
.chart-axis span:nth-child(2){text-align:center}
.chart-axis span:last-child{text-align:right}
.health-overall{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px;margin-bottom:14px}
.health-overall strong{color:var(--aqua)}
.health-overall p{color:var(--muted);margin-top:4px}
.pagination{display:flex;justify-content:center;align-items:center;gap:12px;border-top:1px solid var(--line);padding:12px}
.button:disabled{opacity:.48}
.drawer-edit{padding:6px 0 12px}
.editor-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.editor-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(255px,1fr);gap:14px;align-items:start}
.editor-fields,.assistant-body{padding:16px}
.editor-fields label{display:block;font-weight:600;margin-bottom:5px}
.editor-fields input,.editor-fields textarea{width:100%;background:var(--deep);color:var(--ivory);border:1px solid #446071;border-radius:7px;padding:9px 11px;font:inherit}
.editor-fields input{margin-bottom:15px}
.editor-fields textarea{resize:vertical;min-height:225px}
.editor-toolbar{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.editor-toolbar .button{min-height:34px;font-size:13px}
.editor-toolbar [aria-pressed=true]{border-color:var(--aqua)}
.draft-preview{background:var(--deep);padding:16px;border-radius:7px;min-height:225px;overflow-wrap:anywhere}
.draft-preview p,.draft-preview h3{margin-top:10px}
.assistant-body details{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
.assistant-body summary{cursor:pointer;font-weight:600}
.assistant-body details p{margin-top:7px}
.checks-count{margin:12px 0 7px;font-weight:600}
.suggestion{background:var(--deep);border:1px solid var(--line);border-radius:7px;padding:10px;margin-bottom:7px}
.suggestion p{margin-top:3px;color:var(--muted)}
.suggestion ins{color:#9be3d9}
.suggestion .button{min-height:34px;padding:4px 0}
@media(max-width:900px){.editor-layout{grid-template-columns:1fr}}
@media(max-width:560px){.chart-row{grid-template-columns:108px minmax(0,1fr) 23px;gap:7px}.chart-axis{margin-left:115px;margin-right:30px}.health-overall .big{font-size:26px}}
.audit-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0;padding:8px 11px;background:#123944;border-radius:7px}
.audit-summary strong{font:550 24px Lexend,sans-serif;color:var(--aqua)}
.audit-summary small{font-size:13px}
.applied-rules summary,.drawer-section summary{cursor:pointer;font-weight:600}
.applied-rules ul{padding-left:20px;margin:8px 0}
.applied-rules li+li{margin-top:6px}
.audit-heading{margin-top:14px}
#audit-status:not(:empty){margin-top:5px;color:#ffd2aa;font-size:13px}
.suggestion h3 small{white-space:nowrap;margin-left:5px}
.product-header{background:var(--deep);border-bottom:1px solid var(--line)}
.product-top,.product-nav{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;max-width:1500px;margin:auto;padding:8px clamp(18px,3.3vw,52px)}
.product-top{min-height:70px}
.product-nav{padding-top:0;flex-wrap:wrap}
.product-nav nav{display:flex;flex-wrap:wrap;align-items:center;gap:3px}
.product-nav nav a{min-height:36px;white-space:nowrap;font-size:14px;padding:4px 8px;gap:4px}
.breadcrumbs{color:var(--muted);font-size:13px}
.breadcrumbs strong{padding:0 6px;color:var(--ivory)}
.breadcrumbs span[aria-hidden]{width:auto;font-size:13px}
.product-account{display:flex;align-items:center;gap:11px}
.account{position:relative}
.account summary{display:grid;place-items:center;width:42px;height:42px;cursor:pointer;color:#9beae0;background:#14484c;border:1px solid #367777;border-radius:50%;font-weight:600}
.account summary::-webkit-details-marker{display:none}
.account-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:3;display:grid;gap:6px;padding:13px;width:min(260px,85vw);border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:0 12px 35px #0006}
.account-menu strong{overflow-wrap:anywhere;margin-bottom:5px}
.auth-main{display:grid;place-items:center;min-height:calc(100dvh - 55px)}
.auth-card{padding:25px;width:min(100%,420px)}
.auth-card>img{display:block;width:178px;margin:-5px 0 9px}
.auth-card h1{font-size:31px}
.auth-card p{margin:10px 0;color:var(--muted)}
.auth-card strong{color:var(--ivory);overflow-wrap:anywhere}
.auth-card form{display:grid;gap:8px;margin-top:16px}
.auth-card .button{width:100%;margin-top:7px}
.auth-card .text-link{display:block;text-align:center;margin-top:12px}
.auth-card input,.ingest-form input:not([type=checkbox]){width:100%;min-width:0;min-height:41px;border:1px solid #446071;border-radius:7px;background:var(--deep);color:var(--ivory);padding:8px 11px;font:inherit}
.onboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.start-card{padding:20px}
.start-card p{color:var(--muted);margin:7px 0 14px}
.content-home,.onboard-links{margin-top:16px}
.home-draft,.queued-file{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.home-draft:first-child{border-top:0}
.home-draft small{text-align:right}
.ingest-panel{max-width:850px}
.ingest-body{padding:16px}
.ingest-form label:not(.choice){display:block;font-weight:600}
.ingest-form select{margin-top:6px;max-width:100%}
.field-help{color:var(--muted);font-size:13px;margin:4px 0 8px}
.field-error:not(:empty){color:#ffd0c4;margin:8px 0}
.field-action{display:flex;gap:8px}
.field-action input{flex:1}
.crawl-selection{margin-top:10px;border-top:1px solid var(--line);padding-top:12px}
.crawl-selection small{overflow-wrap:anywhere}
.ingest-actions{margin:10px 0}
.dropzone{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 9px;padding:19px 12px;border:1px dashed #58858b;border-radius:9px;text-align:center;background:#102f3c}
.dropzone.dragging{border-color:var(--aqua);background:#174a4b}
.dropzone strong,.dropzone>span{width:100%}
.dropzone>span{color:var(--muted);margin-bottom:4px}
#file-list:not(:empty){margin:10px 0;border:1px solid var(--line);border-radius:7px}
.queued-file:first-child{border-top:0}
#upload-form label[for=assign-site]{margin-top:12px}
@media(max-width:560px){.onboard-grid{grid-template-columns:1fr}.product-nav nav a{font-size:12px;padding:3px 6px}.product-nav{gap:4px}.home-draft{align-items:flex-start;flex-direction:column}.home-draft small{text-align:left}.field-action{flex-direction:column}.product-top{min-height:56px}}

.example-notice{margin:16px 0 0;padding:12px 16px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:13px;line-height:1.6}.example-notice a{color:var(--aqua)}.example-intro{max-width:1000px;margin:auto;padding:32px 28px}.example-intro header{display:flex;align-items:center;justify-content:space-between;gap:24px}.example-intro main{max-width:780px;padding:64px 0 48px}.example-intro h1{font-size:clamp(34px,5vw,54px);margin:12px 0 24px}.example-intro p{font-size:18px;line-height:1.7;margin:0 0 24px}.example-intro .eyebrow{font-size:13px}.example-intro .lede{font-size:22px}.example-intro .example-disclaimer{font-size:15px;color:var(--muted);border-left:3px solid var(--aqua);padding-left:16px}.example-intro footer a{color:var(--muted)}@media(max-width:560px){.example-intro{padding:24px 20px}.example-intro header img{width:165px}.example-intro main{padding-top:40px}.example-intro .lede{font-size:20px}.example-intro p{font-size:17px}}


/* Rulewide v1 visual refresh — keep demo content and workflows unchanged */
:root{color-scheme:light;--navy:#10212B;--deep:#10212B;--panel:#FFFFFF;--surface:#FFFFFF;--ivory:#111827;--aqua:#2B65CC;--teal:#1D4FA7;--copper:#F29A67;--muted:#4B5563;--line:#E5E7EB;--radius:22px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}
body{margin:0;color:#111827;background:#F2F2F2;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.5}
a{color:#1D4FA7;text-decoration-thickness:1px;text-underline-offset:3px}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid #2B65CC;outline-offset:3px}
h1,h2,h3,.big,.metric strong{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:-.025em}
h1{font-weight:650;font-size:clamp(30px,3.2vw,40px);line-height:1.15;color:#111827}
h2{font-size:24px;line-height:32px;font-weight:650;color:#111827}
h3{font-size:18px;font-weight:650;color:#111827}
small{color:#4B5563}
.skip:focus{background:#2B65CC;color:#fff;border-radius:12px}
.sidebar{background:#10212B;color:#F8FAFC;border-right:1px solid #354851;padding:20px 16px}
.logo img{width:174px;height:auto}
.workspace{border-color:#465963;background:#172D38;border-radius:16px}
.workspace small{font-size:14px;color:#D4E2DE}
.monogram{border-radius:10px;background:#253F4D;color:#DCE9FF}
nav a{border-radius:12px;color:#D4E2DE;font-size:14px}
nav a:hover,nav a[aria-current]{background:#263F4C;color:#fff}
nav a[aria-current]{border-color:#5C7690}
nav a[aria-current] span{color:#B7D0FF}
nav b{background:#344751;border-radius:8px;font-size:13px}
.sidebar-foot{color:#D4E2DE;font-size:14px}
.topbar{min-height:66px;border-bottom:1px solid #E5E7EB;background:#fff;color:#4B5563}
.topbar strong{color:#111827}
.demo{border:1px solid #B8CCF5;background:#EAF1FF;border-radius:10px;color:#1D4FA7;font-size:13px;padding:5px 10px}
main{max-width:1500px;padding-top:32px}
.eyebrow{color:#1D4FA7;font-weight:650;letter-spacing:.07em;font-size:14px}
.lede{color:#4B5563}
.button{min-height:44px;border:1px solid #6B7280;border-radius:14px;padding:9px 15px;color:#111827;background:#fff;font-weight:600;transition:background-color .15s,border-color .15s,transform .15s;box-shadow:0 1px 2px rgba(17,24,39,.04)}
.button:hover{background:#EAF1FF;border-color:#7FA0E6}
.button.primary{color:#fff;background:#2B65CC;border-color:#2B65CC;padding-inline:17px}
.button.primary:hover{background:#1D4FA7;border-color:#1D4FA7}
.button.quiet{color:#1D4FA7;background:transparent;border-color:transparent;box-shadow:none}
.button.quiet:hover{background:#EAF1FF}
.text-link{color:#1D4FA7}
.hero{min-height:181px;border:1px solid #E5E7EB;border-radius:22px;background:#fff;padding:26px 28px;box-shadow:0 2px 10px rgba(17,24,39,.07)}
.hero h2{color:#111827}
.hero-copy>p:not(.eyebrow){color:#4B5563}
.hero-art{opacity:.65;background:repeating-linear-gradient(90deg,transparent 0 25px,#2B65CC0a 25px 26px),repeating-linear-gradient(0deg,transparent 0 25px,#2B65CC0a 25px 26px)}
.hero-art span{border-color:#2B65CC;background:#2B65CC08}
.hero-art b{background:#2B65CC;box-shadow:0 0 0 7px #2B65CC20}
.metric{background:#fff;border:1px solid #E5E7EB;border-radius:18px;box-shadow:0 2px 10px rgba(17,24,39,.07);padding:16px 18px;min-height:110px}
.metric-label,.metric-note{color:#4B5563;font-size:14px}
.metric strong,.big{color:#111827}
.metric-icon,.metric-arrow{color:#1D4FA7}
.section-head>span,.panel-head p,.callout p{color:#4B5563;font-size:14px}
.panel,.callout,.notice,.finding,.drawer,.dialog,.progress-panel,.chart-panel,.table-wrap{background:#fff;border:1px solid #E5E7EB;border-radius:22px;box-shadow:0 2px 10px rgba(17,24,39,.07)}
.panel{padding:22px}
.panel-head{border-bottom-color:#E5E7EB}
.tag,.chip,.badge,.status{border-radius:10px;font-size:14px}
input,select,textarea{border-color:#6B7280;border-radius:12px;background:#fff;color:#111827;min-height:44px}
input::placeholder{color:#626B75;opacity:1}
label{color:#111827;font-weight:600}
table{border-collapse:separate;border-spacing:0;background:#fff;width:100%}
th{background:#F8FAFC;color:#374151;font-weight:650;font-size:14px;border-bottom:1px solid #D1D5DB}
td{color:#111827;border-bottom:1px solid #E5E7EB;font-size:14px}
tbody tr:hover{background:#EAF1FF}
.progress,.bar,[role=progressbar]{background-color:#2B65CC}
.progress span,.bar span{background-color:#4D7FD6}
[class*='chart'] .fill,[class*='bar'] .fill{background-color:#2B65CC}
.danger,.critical{color:#B42318}
@media(max-width:900px){.hero{padding:22px;border-radius:20px}main{padding-top:24px}}
@media(max-width:620px){body{font-size:16px}.panel{padding:18px;border-radius:18px}.button{min-height:44px}.hero{border-radius:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* Contrast and live control overrides */
body, .workspace-main, #main { color:#111827 !important; background:#F2F2F2 !important; font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif !important; }
.product-header { background:#10212B !important; color:#F8FAFC !important; border-color:#354851 !important; }
.product-header a, .product-nav a, .product-top .text-link { color:#E6EDF2 !important; }
.product-nav .admin-links a:hover, .product-nav .admin-links a[aria-current], .product-nav .admin-links a.active { color:#FFFFFF !important; background:#263F4C !important; }
.example-notice { background:#FFFFFF !important; color:#374151 !important; border-color:#D1D5DB !important; }
.example-notice a, .example-notice a:visited { color:#1D4FA7 !important; }
#main input, #main select, #main textarea, #main [contenteditable="true"], .editor-form input, .editor-form textarea, .editor-form select { background:#FFFFFF !important; color:#111827 !important; border:1px solid #6B7280 !important; }
#main input::placeholder, #main textarea::placeholder { color:#4B5563 !important; opacity:1 !important; }
#main label, #main .field-label { color:#111827 !important; }
#main .panel, #main .card, #main .editor-form, #main .finding, #main .drawer { background:#FFFFFF !important; color:#111827 !important; border-color:#D1D5DB !important; }
#main .panel p, #main .panel small, #main .finding p, #main .meta, #main .muted { color:#4B5563 !important; }
#main .button.primary, #main button.primary, #main .button-primary { background:#2B65CC !important; border-color:#2B65CC !important; color:#FFFFFF !important; }
#main .button.primary:hover, #main button.primary:hover, #main .button-primary:hover { background:#1D4FA7 !important; border-color:#1D4FA7 !important; }
#main :focus-visible, .product-header :focus-visible { outline:3px solid #79A3F0 !important; outline-offset:3px !important; }


/* Legibility override: simulated audit findings use the light product surface. */
#editor-checks .audit-summary { background: #EEF3F8; border: 1px solid #D5DDE7; color: #111827; }
#editor-checks .audit-summary span { color: #354052; }
#editor-checks .audit-summary strong { color: #1D4FA7; }
#editor-checks .suggestion { background: #F7F8FA; border: 1px solid #D5DDE7; color: #111827; }
#editor-checks .suggestion h3 { color: #111827; }
#editor-checks .suggestion p { color: #354052; }
#editor-checks .suggestion .button.quiet { color: #1D4FA7; }


/* Unified desktop product navigation; narrow screens retain the compact top navigation. */
@media (min-width: 1000px) {
  .workspace-main { display: block; min-height: 100vh; padding-left: 248px; }
  .product-header { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 248px; display: flex; flex-direction: column; align-items: stretch; overflow-y: auto; border-right: 1px solid #354851 !important; border-bottom: 0 !important; }
  .product-top, .product-nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: none; margin: 0; padding: 20px 16px; gap: 20px; }
  .product-top { min-height: auto; }
  .product-account { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .product-nav { padding-top: 0; }
  .product-nav nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .product-nav nav a { min-height: 44px; padding: 9px 11px; border-radius: 12px; font-size: 14px; }
  .breadcrumbs { border-top: 1px solid #354851; padding-top: 16px; order: 2; }
  .example-notice { margin: 16px 24px 0; }
  #main { padding-top: 28px; }
}


@media (min-width: 1000px) {
  .product-nav .breadcrumbs, .product-nav .breadcrumbs span, .product-nav .breadcrumbs strong { color: #DCE6EC !important; }
  .workspace-main:has(.editor-form) .product-nav .admin-links a[href="#inventory"] { background: #263F4C; color: #FFFFFF; font-weight: 600; border-color: #466274; }
}

@media (min-width: 1000px) {
  body:has(.editor-layout) .product-nav .admin-links a[href="#inventory"] { background: #263F4C; color: #FFFFFF; font-weight: 600; border-color: #466274; }
}

#main .metric span:not(.metric-icon):not(.metric-arrow) { color: #4B5563 !important; }


/* Preserve the separate dark example introduction while matching the blue action colour. */
body:not(:has(.workspace-main)) { background: #071D2B !important; color: #F7F5EF !important; }
body:not(:has(.workspace-main)) .button.primary { background: #2B65CC !important; border-color: #2B65CC !important; color: #FFFFFF !important; }
body:not(:has(.workspace-main)) .button.primary:hover { background: #1D4FA7 !important; border-color: #1D4FA7 !important; }

/* Landing page contrast: keep the navy intro while making every text role readable. */
body:not(:has(.workspace-main)) h1,
body:not(:has(.workspace-main)) h2,
body:not(:has(.workspace-main)) h3,
body:not(:has(.workspace-main)) strong { color: #F7F5EF !important; }
body:not(:has(.workspace-main)) p,
body:not(:has(.workspace-main)) .lede,
body:not(:has(.workspace-main)) .intro-copy { color: #DCE6EC !important; }
body:not(:has(.workspace-main)) a:not(.button) { color: #DCE6EC !important; }
body:not(:has(.workspace-main)) .eyebrow,
body:not(:has(.workspace-main)) .example-note,
body:not(:has(.workspace-main)) .disclaimer,
body:not(:has(.workspace-main)) footer { color: #C4D0D8 !important; }
body:not(:has(.workspace-main)) .example-note,
body:not(:has(.workspace-main)) .disclaimer { border-left-color: #2B65CC !important; }
/* Remove decorative metric glyphs and keep hover feedback pale with dark text. */
.workspace-main .metric-icon,
.workspace-main .metric-arrow { display: none !important; }
#main .metric:hover,
#main .panel:hover,
#main tbody tr:hover,
.product-nav nav a:hover { background: #EAF1FF !important; color: #111827 !important; border-color: #B8CCF5 !important; }
#main .metric:hover * { color: #111827 !important; }
.product-nav nav a:hover { color: #111827 !important; }

/* Hide decorative outcome glyphs in the dashboard summary cards. */
#main .metric-icon,
#main .metric-arrow { display: none !important; }

/* Keep interactive summary tiles visibly pale on hover and focus. */
.metric-icon,
.metric-arrow { display: none !important; }
.metric:hover,
.metric:focus-visible { background: #EAF1FF !important; color: #111827 !important; border-color: #B8CCF5 !important; }
.metric:hover *,
.metric:focus-visible * { color: #111827 !important; }


/* Visual corrections: remove decorative hover fills and restore light, readable detail surfaces. */
#main .metric:hover,
#main .metric:focus-visible { background: inherit !important; color: inherit !important; border-color: inherit !important; box-shadow: none !important; }
#main .metric:hover *, #main .metric:focus-visible * { color: inherit !important; }
#main .panel:hover, #main .panel:focus-within { background: #FFFFFF !important; color: inherit !important; border-color: inherit !important; box-shadow: none !important; }
#main tbody tr:hover, #main tbody tr:hover > * { background: transparent !important; }
.toolbar .search, .toolbar .search:focus-within { background: #FFFFFF !important; color: #111827 !important; border: 1px solid #D5DAE1 !important; box-shadow: none !important; }
.toolbar .search input { background: #FFFFFF !important; color: #111827 !important; border: 0 !important; box-shadow: none !important; }
dialog { background: #FFFFFF !important; color: #111827 !important; border-left: 1px solid #D5DAE1 !important; box-shadow: -18px 0 40px rgba(17,24,39,.14) !important; }
dialog h2, dialog h3, dialog strong, dialog legend, .drawer-section h3 { color: #111827 !important; }
dialog p, dialog small, dialog label, dialog .path, dialog .note { color: #4B5563 !important; }
dialog .drawer-section { border-color: #D5DAE1 !important; }
dialog .choice { background: #FFFFFF !important; color: #111827 !important; border-color: #D5DAE1 !important; }
dialog .choice:has(:checked) { background: #EAF1FF !important; color: #111827 !important; border-color: #2B65CC !important; }
dialog .check { color: #4B5563 !important; }
/* Keep semantic labels legible on the light detail surface. */
dialog .badge.high, dialog .badge.critical { color: #8B1E14 !important; background: #FDE8E6 !important; }
dialog .badge.medium, dialog .badge.work { color: #704500 !important; background: #FFF2CC !important; }
dialog .badge.low, dialog .badge.asis { color: #176344 !important; background: #E4F3EA !important; }
dialog .badge.review { color: #403C72 !important; background: #EEEDFA !important; }
dialog .badge { color: #111827 !important; }

/* Normalize every nested drawer surface to the light product theme. */
dialog * { background-color: transparent !important; color: #111827 !important; border-color: #D5DAE1 !important; }
dialog .button.primary, dialog button.primary { background: #2B65CC !important; border-color: #2B65CC !important; color: #FFFFFF !important; }
dialog .button.primary:hover, dialog button.primary:hover { background: #1D4FA7 !important; border-color: #1D4FA7 !important; color: #FFFFFF !important; }
dialog .badge.high, dialog .badge.critical { color: #8B1E14 !important; background: #FDE8E6 !important; border-color: #F3C7C1 !important; }
dialog .badge.medium, dialog .badge.work { color: #704500 !important; background: #FFF2CC !important; border-color: #EAD69E !important; }
dialog .badge.low, dialog .badge.asis { color: #176344 !important; background: #E4F3EA !important; border-color: #BDDCC9 !important; }
dialog .badge.review { color: #403C72 !important; background: #EEEDFA !important; border-color: #D5D3ED !important; }
dialog .choice { background: #FFFFFF !important; color: #111827 !important; border-color: #D5DAE1 !important; }
dialog .choice:has(:checked) { background: #EAF1FF !important; color: #111827 !important; border-color: #2B65CC !important; }
dialog .path, dialog .note, dialog small, dialog .check { color: #4B5563 !important; }
dialog a:not(.button) { color: #1D4FA7 !important; }

/* Keep the account menu beside its initials instead of placing it off the left edge. */
.account-menu {
  top: 0 !important;
  left: calc(100% + 12px) !important;
  right: auto !important;
  width: min(260px, calc(100vw - 90px)) !important;
  max-width: calc(100vw - 90px) !important;
}


/* Place the account menu beside DE and outside the sidebar's scroll clipping. */
.account-menu {
  position: fixed !important;
  top: 152px !important;
  left: 70px !important;
  right: auto !important;
  width: min(260px, calc(100vw - 82px)) !important;
  max-width: calc(100vw - 82px) !important;
  z-index: 10000 !important;
}
.account-menu strong { color: #111827 !important; }

/* Let the account popup extend beyond the fixed sidebar. */
#product-header { overflow: visible !important; }
#account-email { color: #111827 !important; }
