@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#203332;background:#f6f8f8;font-synthesis:none;--ink:#203332;--muted:#778682;--green:#197e69;--line:#e6ebe8;--red:#bd4a44;--orange:#c48932;--nav:#122e2c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #55b9aa;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #64bca9;outline-offset:1px}button{border:0;background:none;color:inherit}a{color:inherit}svg{display:block}.icon{width:20px;height:20px;flex-shrink:0;stroke-width:1.7}.app-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:var(--nav);color:#adbfbb;padding:32px 20px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;color:#fff;padding:0 9px 33px}.brand-mark{width:34px;height:40px;color:#72d7b8}.brand strong{font-family:Manrope,sans-serif;display:block;letter-spacing:2.6px;font-size:19px;font-weight:800}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#92b0a8;margin-top:5px}.nav-label{font-size:10px;letter-spacing:1.8px;padding:12px 13px 12px;color:#74938b;font-weight:600}.nav-item{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:13px 14px;margin-bottom:5px;font-size:14px;border-radius:6px;color:#abc2ba;transition:background .15s}.nav-item:hover{background:#1c3a36}.nav-item.active{color:#a0eed7;background:#24473e}.nav-item.active .icon{color:#84dbbc}.nav-count{margin-left:auto;background:#41665b;color:#cbf4e5;border-radius:4px;padding:2px 6px;font-size:11px}.nav-sep{height:1px;background:#29423c;margin:20px 11px}.sidebar-bottom{margin-top:auto}.demo-card{margin:25px 4px 20px;padding:15px 13px;border:1px solid #35534a;border-radius:8px}.demo-card strong{color:#d8e9e3;font-size:12px;display:flex;gap:7px;align-items:center}.demo-card p{font-size:12px;line-height:1.65;color:#90ada2;margin:7px 0 0}.demo-card button{font-size:12px;color:#8bdfbd;margin-top:10px;padding:0}.profile{display:flex;align-items:center;gap:10px;padding:0 8px}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#3b594d;color:#d6e5d9;font-size:12px}.profile strong{font-size:12px;color:#ebf0ed;display:block}.profile small{font-size:11px;display:block;margin-top:3px;color:#88a599}.workspace{grid-column:2;min-width:0}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:15px}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:#7c8a84}.breadcrumb strong{color:#435c52;font-weight:500}.top-actions{display:flex;align-items:center;gap:20px}.prototype-pill{display:flex;align-items:center;gap:6px;font-size:11px;background:#edf5f1;border:1px solid #dfeae4;border-radius:5px;color:#568b74;padding:6px 9px}.prototype-pill i{width:5px;height:5px;background:#5a9d7e;border-radius:50%}.icon-button{position:relative;padding:6px;color:#738880}.notification-count{position:absolute;right:0;top:0;border-radius:50%;height:7px;width:7px;background:#dc9762;border:2px solid white}.divider{height:22px;width:1px;background:var(--line)}main{max-width:1600px;margin:auto;padding:32px 34px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{display:flex;align-items:center;gap:7px;color:#7f9388;font-size:10px;letter-spacing:1.6px;font-weight:600;text-transform:uppercase;margin:0 0 9px}.eyebrow::before{content:'';width:16px;height:2px;background:#7d9b89}h1,h2,h3,p{margin:0}h1{font-family:Manrope,sans-serif;font-weight:750;font-size:28px;letter-spacing:-1.1px;color:#193a2e}h2{font-family:Manrope,sans-serif;font-size:16px;font-weight:750;letter-spacing:-.3px}h3{font-size:14px;font-weight:600}.subtitle{margin-top:8px;color:#819086;font-size:13px;line-height:1.55}.actions{display:flex;align-items:center;gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:6px;font-size:12px;font-weight:600;padding:11px 14px;white-space:nowrap}.btn .icon{width:16px;height:16px}.btn-primary{background:#247b59;color:white;box-shadow:0 2px 3px #143d2510}.btn-primary:hover{background:#1c654a}.btn-secondary{background:white;border:1px solid #dce5df;color:#5e7467}.btn-secondary:hover{background:#f1f7f3}.btn-danger{background:#faebe8;color:#b64c3d}.filters{display:flex;gap:10px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.select-wrap{display:flex;align-items:center;gap:8px;background:white;border:1px solid #e0e8e2;border-radius:6px;padding:0 10px;color:#799182;height:35px}.select-wrap .icon{width:15px;height:15px}select{color:#5b7164;border:0;background:transparent;max-width:100%;font-size:12px;padding-right:4px;cursor:pointer}select option{color:#294435}.updated{margin-left:auto;display:flex;align-items:center;gap:6px;color:#8d9e92;font-size:11px}.updated .icon{width:12px;height:12px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:19px 21px;position:relative;overflow:hidden}.metric-top{font-size:12px;color:#76897b;display:flex;align-items:center;justify-content:space-between}.metric-top .icon{width:17px;height:17px;color:#9eb0a0}.metric-number{font-family:Manrope,sans-serif;font-weight:750;font-size:32px;letter-spacing:-1.2px;margin:9px 0 11px;line-height:1}.metric-number.red{color:#b85644}.metric-number.orange{color:#ae833e}.metric-foot{font-size:10px;color:#96a195;display:flex;align-items:center;gap:6px}.metric-foot .trend{color:#738d70;background:#f2f6ef;border-radius:3px;padding:3px 5px}.metric-foot .trend.alert{color:#b77653;background:#fcf3ea}.spark{position:absolute;right:19px;bottom:27px;width:59px;height:25px;opacity:.7}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:21px}.main-column,.right-column{display:flex;flex-direction:column;gap:21px;min-width:0}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 23px 0}.panel-sub{font-size:11px;color:#95a092;margin-top:5px}.small-link{display:flex;align-items:center;gap:5px;color:#63816a;font-size:11px;white-space:nowrap;padding:3px 0}.small-link .icon{width:13px;height:13px}.legend{display:flex;gap:13px;font-size:10px;color:#899488;align-items:center}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:7px;height:7px;border-radius:2px;background:#87aa8c}.legend i.critical{background:#d09077}.chart-wrap{padding:20px 23px 17px}.chart{display:flex;height:174px;gap:14px}.y-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:#a0a99c;padding-bottom:20px}.bar-plot{position:relative;display:flex;gap:10px;justify-content:space-between;align-items:flex-end;flex:1;padding-bottom:23px;background:repeating-linear-gradient(to top,transparent,transparent calc(25% - 1px),#f0f2ee calc(25% - 1px),#f0f2ee 25%)}.bar-group{width:100%;max-width:38px;height:100%;position:relative;display:flex;align-items:flex-end;justify-content:center;gap:3px}.bar{width:10px;background:#a1bca0;border-radius:3px 3px 0 0;min-height:2px;position:relative}.bar.critical{background:#d5a68c}.bar-group label{position:absolute;bottom:-21px;font-size:9px;color:#9aa395;white-space:nowrap}.chart-caption{border-top:1px solid #eef1eb;padding:11px 23px;color:#8c9a87;font-size:10px;display:flex;gap:7px;align-items:center}.chart-caption .icon{width:12px;height:12px}.inline-number{color:#52795e;font-weight:600}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:9px;text-transform:uppercase;color:#8a9b8e;font-weight:500;letter-spacing:.8px;padding:13px 14px;border-bottom:1px solid #e9eee7;background:#fbfcfa}td{border-bottom:1px solid #eef1ec;font-size:11px;padding:15px 14px}th:first-child,td:first-child{padding-left:23px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbf7}.report-link{text-align:left;display:block;padding:0;max-width:300px}.report-title{font-size:12px;line-height:1.45;font-weight:500;color:#40583e}.report-meta{font-size:9px;color:#96a18f;margin-top:5px}.score{font-family:Manrope,sans-serif;font-weight:800;font-size:15px;display:inline-flex;gap:7px;align-items:center}.score i{width:4px;height:18px;border-radius:2px;background:currentColor}.critical-text{color:#b95b47}.high-text{color:#bb904d}.moderate-text{color:#839672}.low-text{color:#548d70}.badge{display:inline-flex;align-items:center;gap:4px;font-size:9px;border-radius:4px;padding:5px 7px;white-space:nowrap;line-height:1}.badge.critical{background:#f9ece7;color:#b76b51}.badge.high{background:#faf2df;color:#a98643}.badge.moderate{background:#eef2e7;color:#899560}.badge.low{background:#eaf4ed;color:#608d6b}.badge.review{background:#f4ede2;color:#b18c4e}.badge.escalated{background:#f7e9e4;color:#b8735d}.badge.confirmed{background:#eaf3eb;color:#63916d}.badge.new{background:#edf1ef;color:#8a9a90}.queue-head{padding-bottom:20px}.queue-note{font-size:10px;color:#93a18b;padding:12px 23px;border-top:1px solid #edf1e8;display:flex;align-items:center;gap:6px}.queue-note .icon{width:12px;height:12px}.count-label{font-size:10px;color:#85917d;background:#f1f4ed;border-radius:4px;padding:3px 6px;margin-left:7px;vertical-align:middle}.risk-panel{background:#f2f6ee;border-color:#e0e8d9}.risk-panel .panel-head{padding:21px 20px 0}.risk-panel .panel-head h2{font-size:14px}.risk-kicker{padding:18px 20px 0;display:flex;gap:8px;align-items:center;font-size:10px;color:#a58440}.risk-kicker .icon{width:14px;height:14px}.risk-title{font-family:Manrope,sans-serif;font-weight:700;line-height:1.5;font-size:17px;letter-spacing:-.3px;margin:10px 20px}.risk-desc{font-size:11px;line-height:1.8;color:#8b987c;margin:0 20px}.risk-stats{display:flex;padding:17px 20px;gap:23px}.risk-stats strong{font-size:22px;font-family:Manrope,sans-serif;color:#53724b;display:block;letter-spacing:-.6px}.risk-stats span{font-size:9px;color:#95a186;display:block;margin-top:4px}.risk-mini{padding:0 20px 14px;height:58px}.risk-panel .risk-button{width:calc(100% - 40px);margin:0 20px 20px;padding:11px;border:1px solid #d8e2cc;background:#edf3e5;border-radius:5px;color:#738562;font-size:11px;display:flex;justify-content:space-between;align-items:center}.risk-button .icon{width:13px;height:13px}.heatmap{padding:20px 20px 16px}.heat-head,.heat-row{display:grid;grid-template-columns:74px repeat(4,1fr);gap:5px;align-items:center}.heat-head{font-size:8px;color:#93a18b;margin-bottom:8px;text-align:center}.heat-row{margin:5px 0;font-size:10px;color:#849477}.heat-cell{height:26px;border-radius:3px;background:#f3f5e9;display:grid;place-items:center;font-size:9px;color:#789171}.heat-legend{display:flex;justify-content:flex-end;align-items:center;gap:3px;font-size:8px;color:#9da48f;margin-top:14px}.heat-legend i{height:7px;width:14px;border-radius:1px}.heat-legend span{padding:0 4px}.rule-list{padding:9px 20px 15px}.rule-item{padding:13px 0;border-bottom:1px solid #eef1e8;display:grid;grid-template-columns:26px 1fr 20px;gap:8px;align-items:center}.rule-item:last-child{border-bottom:0}.rule-item>.icon{width:16px;height:16px;color:#96a184}.rule-item strong{font-size:11px;font-weight:500}.rule-item small{display:block;color:#a1aa94;font-size:9px;margin-top:4px}.rule-item b{font-size:12px;color:#78916a}.footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:9px;color:#a0ad9a;padding:23px 2px 0}.footer span{display:flex;align-items:center;gap:5px}.footer .icon{width:12px;height:12px}.empty{text-align:center;padding:45px 20px;color:#8b9a8d;font-size:14px}.mobile-menu{display:none}.searchbox{position:relative;display:flex;gap:7px;align-items:center;border:1px solid #dfe7df;background:white;padding:10px 12px;border-radius:6px;flex:1;max-width:420px}.searchbox .icon{width:16px;height:16px;color:#8b9e8b}.searchbox input{width:100%;border:0;outline:0;font-size:13px}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.toolbar select{border:1px solid #dfe7df;background:white;padding:10px;border-radius:6px}.page-panel{padding:25px}.modal-backdrop{position:fixed;inset:0;background:#0b292a60;backdrop-filter:blur(3px);z-index:50;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:660px;max-width:100%;max-height:90vh;overflow:auto;background:#fff;border-radius:13px;box-shadow:0 30px 100px #12302840}.modal.wide{width:1020px}.modal-head{padding:25px 27px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-head p{font-size:12px;color:#8b9b8b;margin-top:7px}.modal-body{padding:25px 27px}.modal-foot{padding:17px 27px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.field{display:block;margin-bottom:18px}.field>span{display:block;font-weight:500;font-size:13px;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #dce5da;border-radius:6px;background:#fff;color:#344d3e;font-size:14px}.field textarea{resize:vertical;min-height:155px;line-height:1.7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hint{font-size:11px;color:#8f9a88;line-height:1.7}.demo-examples{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 20px}.demo-examples button{padding:7px 9px;border:1px solid #e2e8dc;border-radius:5px;font-size:11px;color:#7a8d70;background:#f8faf4}.progress-line{display:flex;align-items:center;gap:12px;padding:12px;background:#f0f6ed;border-radius:6px;color:#678562;font-size:12px}.spinner{width:14px;height:14px;border:2px solid #cadbc4;border-top-color:#50824b;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#183b2e;color:white;z-index:90;padding:14px 21px;border-radius:8px;font-size:13px;box-shadow:0 5px 30px #123b2e20;display:none;max-width:90vw}.detail-grid{display:grid;grid-template-columns:1fr 290px;gap:25px}.section-label{font-size:10px;font-weight:600;color:#8e9c83;letter-spacing:1px;text-transform:uppercase;margin:23px 0 10px}.section-label:first-child{margin-top:0}.narrative{font-size:14px;line-height:1.9;color:#527049;background:#f6f8f2;padding:19px;border-radius:7px}mark{background:#f1dfbb;color:#78592b;border-radius:2px;padding:1px 0}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{padding:6px 8px;background:#eef3e9;color:#7e916a;font-size:10px;border:1px solid #e4ebdc;border-radius:4px}.explanation{font-size:13px;line-height:1.8;color:#7d8d73}.barrier{border:1px solid #ece5d7;border-radius:6px;padding:12px 14px;margin:8px 0;font-size:12px}.barrier strong{display:flex;justify-content:space-between;gap:10px;color:#8c7450}.barrier p{font-size:11px;color:#9b927e;line-height:1.7;margin-top:7px}.recommendation{font-size:12px;color:#718363;display:flex;gap:10px;line-height:1.7;margin:11px 0}.recommendation b{flex-shrink:0;width:21px;height:21px;background:#eff4e9;color:#829867;border-radius:50%;text-align:center}.score-card{background:#f7f8f3;border:1px solid #e7ecdd;border-radius:8px;padding:20px}.score-large{font-family:Manrope,sans-serif;font-size:60px;letter-spacing:-3px;line-height:1.3;font-weight:750}.score-large small{font-size:17px;letter-spacing:0;color:#a1aa90;font-weight:500}.component{margin-top:15px}.component-label{display:flex;justify-content:space-between;font-size:10px;color:#8f9b7d;margin-bottom:6px}.meter{height:5px;background:#e9edde;border-radius:5px;overflow:hidden}.meter i{display:block;height:100%;background:#98ad7e;border-radius:5px}.model-note{border-top:1px solid #e3e9d8;padding-top:14px;margin-top:17px;font-size:10px;color:#a1ab8e;line-height:1.8}.similar-item{width:100%;text-align:left;display:block;border:1px solid #e7ecdf;padding:12px;border-radius:5px;margin-top:7px}.similar-item strong{font-size:11px;line-height:1.6;display:block;font-weight:500}.similar-item span{font-size:10px;color:#96a285}.detail-review{margin-top:20px;border-top:1px solid #e8eddf;padding-top:18px}.detail-review textarea{width:100%;min-height:63px;border:1px solid #dfe6d7;border-radius:5px;padding:10px;font-size:12px;resize:vertical}.detail-review .actions{margin-top:10px;flex-wrap:wrap}.error-message{padding:12px;background:#fbece8;border:1px solid #f1d8cd;color:#b27259;border-radius:5px;font-size:12px;margin:12px 0;line-height:1.7}.dropzone{display:block;border:1px dashed #a9bd9b;border-radius:8px;text-align:center;padding:30px 15px;background:#f7faf2;margin:20px 0;cursor:pointer}.dropzone strong{font-size:14px;display:block;color:#789266}.dropzone p{font-size:12px;color:#9ba98b;margin-top:8px}.dropzone input{max-width:100%;margin-top:20px;font-size:12px}.pattern-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pattern-card{padding:24px;display:flex;flex-direction:column;gap:15px}.pattern-card h2{font-size:17px;line-height:1.55}.pattern-card p{font-size:12px;line-height:1.8;color:#93a283}.pattern-card .risk-stats{padding:0}.pattern-card .btn{margin-top:auto}.graph-grid{display:grid;grid-template-columns:1fr 275px;gap:22px}.graph-view{position:relative;min-height:510px;background:radial-gradient(#dce5d5 1px,transparent 1px);background-size:16px 16px}.graph-view>svg{width:100%;height:510px}.graph-node{cursor:pointer}.graph-node:hover circle{stroke-width:4}.graph-node text{font-family:'DM Sans',sans-serif;font-size:12px}.graph-node:focus{outline:none}.graph-node:focus circle{stroke-width:4;stroke:#0d7363}.graph-sidebar{padding:24px}.graph-sidebar p{font-size:13px;line-height:1.8;color:#8d9c7e;margin-top:12px}.graph-sidebar .risk-stats{padding:20px 0}.alert-item{padding:22px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.alert-item:last-child{border:0}.alert-item h3{margin-bottom:8px}.alert-item p{font-size:12px;color:#92a080;line-height:1.7}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.setting{padding:20px 0;border-bottom:1px solid #e8eee0}.setting:last-child{border:0}.setting strong{font-size:13px;display:block;margin-bottom:8px}.setting p{font-size:12px;line-height:1.7;color:#95a48a}.setting .badge{margin-top:10px}.table-action{color:#789468;padding:3px}.table-action .icon{width:16px;height:16px}.mobile-shade{display:none}.feedback-log{padding:15px 0;border-bottom:1px solid #e8eee0}.feedback-log strong{font-size:12px}.feedback-log p{font-size:12px;color:#849774;margin-top:7px;line-height:1.7}.csv-table{max-height:200px;overflow:auto}.text-danger{color:#b86b4e!important}
@media(min-width:1550px){main{padding:38px 45px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 325px}.chart{height:205px}.metric{padding:22px 24px}td{padding-top:19px;padding-bottom:19px}.topbar{padding:0 45px}}
@media(max-width:1250px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{width:195px;padding-left:12px;padding-right:12px}main{padding:25px 23px}.topbar{padding:0 23px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 255px;gap:16px}.metrics{gap:12px}.metric{padding:17px 16px}.spark{display:none}.panel-head{padding-left:18px;padding-right:18px}.legend{gap:7px}.sidebar .brand strong{font-size:17px}.sidebar .brand{gap:9px}.report-link{max-width:240px}.pattern-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr}.right-column .rule-panel{display:none}.page-heading{align-items:flex-start}.page-heading .actions{flex-wrap:wrap;justify-content:flex-end}.metrics{gap:10px}.metric-top{font-size:11px}.metric-number{font-size:29px}.metric-foot{font-size:9px}.graph-grid{grid-template-columns:1fr}.graph-sidebar{border-top:1px solid var(--line)}.detail-grid{grid-template-columns:1fr 250px;gap:20px}.graph-view{min-height:400px}.graph-view>svg{height:400px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:224px}.sidebar.open{transform:translateX(0)}.mobile-shade.open{display:block;position:fixed;inset:0;background:#14352260;z-index:19}.mobile-menu{display:block}.topbar{height:65px;padding:0 18px}.breadcrumb{gap:5px;font-size:11px}.top-actions{gap:10px}.top-actions .divider{display:none}.prototype-pill{font-size:10px}.top-actions>.avatar{display:none}main{padding:24px 17px}.page-heading{display:block;margin-bottom:22px}h1{font-size:25px}.page-heading .actions{justify-content:flex-start;margin-top:19px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:17px}.metric-top{font-size:12px}.metric-foot{font-size:10px}.updated{width:100%;margin-top:5px}.right-column{grid-template-columns:1fr}.legend{font-size:9px}.panel-head{padding:18px 17px 0}h2{font-size:15px}.panel-sub{font-size:10px}.chart-wrap{padding:22px 17px 15px}.chart{gap:10px}.bar-plot{gap:5px}.bar{width:7px}.bar-group label{font-size:8px}.queue-head{padding-bottom:17px}th:first-child,td:first-child{padding-left:17px}th,td{padding-left:10px;padding-right:10px}.footer{font-size:9px;line-height:1.5}.modal-backdrop{padding:10px}.modal{max-height:95vh}.modal-head{padding:20px}.modal-body{padding:20px}.modal-foot{padding:15px 20px;flex-wrap:wrap}.detail-grid{display:flex;flex-direction:column}.detail-grid>aside{order:-1}.score-card{padding:17px}.score-large{font-size:40px}.score-card .component{display:inline-block;width:48%;padding-right:10px}.score-card .model-note{margin-top:12px}.form-row{grid-template-columns:1fr;gap:0}.pattern-grid,.settings-grid{grid-template-columns:1fr}.graph-view{min-height:330px}.graph-view>svg{height:330px}.alert-item{align-items:flex-start;flex-direction:column}.toolbar .searchbox{max-width:none;flex-basis:100%}.btn{font-size:12px}.heat-head{font-size:10px}.heat-row{font-size:12px}.heat-cell{height:33px}.subtitle{font-size:13px}.panel-sub,.report-meta,.queue-note,.chart-caption{font-size:11px}.report-title{font-size:12px}.badge{font-size:10px}.risk-desc,.rule-item small{font-size:12px}.heat-legend{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Readable working-surface type and contrast, shared across every view. */
:root{--muted:#63756b}
.breadcrumb,.prototype-pill,.updated,.panel-sub,.legend,.metric-foot,.report-meta,.queue-note,.chart-caption,.count-label,.hint,.footer,.badge,.tag,.model-note,.section-label,.component-label,.risk-stats span,.heat-legend,.profile small,.demo-card p,.demo-card button,.similar-item span,.rule-item small{font-size:.75rem}
.btn,.select-wrap select,.metric-top,.report-title,.small-link,.risk-desc,.risk-panel .risk-button,.rule-item strong,.field>span,.recommendation,.barrier,.setting strong,.feedback-log strong,.alert-item p,.heat-row{font-size:.875rem}
.subtitle,.explanation,.narrative,.pattern-card p,.setting p,.graph-sidebar p,.feedback-log p{font-size:1rem}
.subtitle,.explanation,.panel-sub,.report-meta,.hint,.updated,.footer,.risk-desc,.pattern-card p,.setting p,.feedback-log p,.graph-sidebar p,.model-note,.similar-item span,.rule-item small,.queue-note,.chart-caption{color:#6e7c68}
.metric-foot,.metric-top,.risk-stats span,.component-label,.section-label,.legend{color:#687b62}
td{font-size:.875rem}.risk-kicker{font-size:.75rem}.heat-head,.heat-cell{font-size:.75rem}.heat-head{line-height:1.5}.heat-head,.heat-row{grid-template-columns:86px repeat(4,minmax(0,1fr))}.heat-cell{height:30px}.bar-group label,.y-axis{font-size:.625rem}.bar-group:nth-child(even) label{visibility:hidden}.metric-foot{flex-wrap:wrap;gap:4px}.metric-number{margin:14px 0}.spark{display:none}.metric-foot .trend{font-size:.625rem}.risk-stats{gap:20px}.risk-mini{display:none}.risk-stats span{line-height:1.5}.table-scroll table{min-width:570px}.panel-head{flex-wrap:wrap}.risk-desc{line-height:1.75}.brand small{font-size:.625rem}.section-label{line-height:1.5}.modal-head p{line-height:1.6}.score-card .component-label{gap:8px}.component-label span{max-width:83%}.heatmap{padding:20px 15px 16px}.heat-head span{overflow-wrap:anywhere}.top-actions .prototype-pill{white-space:nowrap}
@media(min-width:1251px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 320px}.app-shell{grid-template-columns:234px minmax(0,1fr)}.sidebar{width:234px}.chart{height:185px}}
@media(max-width:760px){.topbar{padding:0 12px}.topbar .breadcrumb{font-size:11px}.topbar .prototype-pill{font-size:10px}.subtitle{font-size:14px}.metric-top{font-size:13px}.metrics .metric-foot{font-size:11px;line-height:1.6}.metric-foot .trend{font-size:10px}.metric{min-height:145px}.footer{font-size:11px}.panel-head .small-link{font-size:12px}.table-scroll table{min-width:560px}.score-card .component{vertical-align:top}.section-label{font-size:12px}.modal-foot .hint{font-size:11px}.heat-head,.heat-cell{font-size:12px}.bar-group label{font-size:9px}.heat-head,.heat-row{grid-template-columns:90px repeat(4,minmax(0,1fr))}}
