:root{--bg:#101311;--panel:#171b18;--panel2:#1d231e;--line:#2a322b;--text:#edf2e9;--muted:#929d90;--green:#bafc78;--green2:#8cce51;--red:#ff7979;--amber:#ffce73;--blue:#9fc8ff;--mono:'DM Mono',monospace;--sans:'DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;border-right:1px solid var(--line);padding:28px 16px 18px;display:flex;flex-direction:column;background:#121512}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;margin-bottom:50px;color:var(--text);text-decoration:none;font-size:20px;font-weight:700;letter-spacing:-.8px}.brand-mark{width:35px;height:35px;color:var(--green)}.brand-mark svg{width:100%;height:100%}.brand-light{font-weight:400;color:#aab5a6}.brand small{display:block;font:9px var(--mono);letter-spacing:1.3px;color:#7d897c;margin-top:2px}.side-label,.micro-label,.stat-label,.section-kicker,.eyebrow,.breadcrumb,.top-right,.editor-foot,.side-footer,.empty-hint,.disclaimer>span,.check-progress{font-family:var(--mono);letter-spacing:1px;font-size:10px}.side-label{color:#697468;padding:0 12px;margin-bottom:13px}.nav-item{width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#aab4a8;border-radius:8px;padding:12px 12px;display:flex;align-items:center;gap:12px;margin-bottom:4px;font-size:12px}.nav-item:hover,.nav-item.active{background:#202720;border-color:#2d3b2a;color:var(--text)}.nav-item.active{box-shadow:inset 2px 0 var(--green)}.nav-icon{font-size:17px;color:#8e9a8c;width:19px;text-align:center}.nav-item.active .nav-icon{color:var(--green)}.nav-pill{margin-left:auto;font:10px var(--mono);color:var(--green)}.sidebar-bottom{margin-top:auto}.local-card{background:#1a211a;border:1px solid #2c392a;border-radius:9px;padding:13px 10px;display:flex;align-items:flex-start;gap:9px}.pulse,.network-dot,.green-dot,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 9px #bafc7840;flex-shrink:0}.pulse{margin-top:5px}.local-card strong{font-size:11px;font-weight:600}.local-card p{margin:5px 0 0;color:#829080;font-size:10px;line-height:1.5}.lock{margin-left:auto;color:var(--green);font-size:18px}.side-footer{line-height:2;color:#7d897c;margin:23px 10px 0;font-size:9px}.side-footer span{color:#4f5b4e}.main{min-width:0}.topbar{height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{color:#788475}.breadcrumb span{padding:0 10px;color:#455044}.breadcrumb b{color:#d5ded0;font-weight:400}.top-right{display:flex;align-items:center;gap:9px;color:#879282;font-size:9px}.version{border:1px solid #303930;border-radius:4px;padding:4px 6px;color:#a9b5a4}.content{max-width:1210px;margin:0 auto;padding:34px 42px 26px}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--green);font-size:9px}.eyebrow-line{width:22px;height:1px;background:var(--green)}.eyebrow-tag{border:1px solid #384735;color:#9cb88b;border-radius:3px;padding:3px 6px;font-size:8px;margin-left:3px}.hero-row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.hero-row h1,.alternate-view h1{font-size:clamp(37px,4.3vw,55px);letter-spacing:-2.5px;line-height:1.04;margin:0;font-weight:600}.hero-row h1 em,.alternate-view h1 em{font-style:normal;color:var(--green)}.hero-copy{color:#9aa598;line-height:1.75;max-width:580px;font-size:13px;margin:16px 0 0}.hero-stamp{width:104px;height:104px;color:#82927e;margin-right:25px;opacity:.8}.hero-stamp svg{width:100%;height:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:28px 0 35px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:15px 16px 13px;min-height:95px}.stat-label{display:block;color:#7e8a7d;font-size:9px;margin-bottom:12px}.stat-card strong{font:500 19px var(--mono);letter-spacing:-.6px;display:block}.stat-card:nth-child(1) strong,.stat-card:nth-child(3) strong{color:var(--green)}.muted-small{font-size:12px;color:#697468}.tiny-lock{font-size:13px;color:var(--green)}.stat-card small{display:flex;align-items:center;gap:7px;color:#788577;font-size:10px;margin-top:7px}.status-dot{width:5px;height:5px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:15px}.section-kicker{color:var(--green);font-size:9px}.section-head h2{font-size:20px;letter-spacing:-.6px;margin:5px 0 0;font-weight:600}.head-actions{display:flex;gap:7px}.btn{border-radius:6px;padding:10px 13px;font-size:11px;font-weight:600;border:1px solid transparent;transition:all .15s}.btn-quiet{background:#191e19;border-color:#303830;color:#b4beb0}.btn-quiet:hover{border-color:#56634f;color:#fff}.btn-quiet span{color:var(--green);margin-left:5px}.btn-primary{background:var(--green);color:#10170d;width:100%;padding:13px 14px;text-align:left;display:flex;align-items:center;justify-content:space-between;font-size:12px}.btn-primary:hover{background:#cbff9a;transform:translateY(-1px)}.btn-primary span{font-size:17px}.btn:disabled{opacity:.4;cursor:not-allowed}.work-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:12px}.editor-card,.run-card{border:1px solid var(--line);border-radius:9px;background:var(--panel);overflow:hidden}.editor-top{height:43px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#191d19;padding:0 13px}.file-tab{height:100%;display:flex;align-items:center;gap:8px;font:10px var(--mono);color:#c7d1c2;border-bottom:2px solid var(--green);padding:0 8px}.file-dot{width:6px;height:6px;background:#e8c16f;border-radius:2px}.tab-close{color:#566052;font-size:14px;margin-left:10px}.upload-btn{color:var(--green);font-size:10px;cursor:pointer}.upload-btn:hover{text-decoration:underline}.editor-body{display:flex;min-height:236px;max-height:340px;background:#131613;overflow:auto}.line-numbers{min-width:39px;padding:17px 11px 16px 0;text-align:right;color:#4f5b4e;font:11px/1.8 var(--mono);user-select:none;border-right:1px solid #222a22}.editor-body textarea{width:100%;resize:vertical;min-height:236px;max-height:340px;border:0;outline:0;background:transparent;color:#c9d4c5;padding:15px 14px;font:11px/1.8 var(--mono);white-space:pre;tab-size:2}.editor-body textarea::placeholder{color:#596456;white-space:normal}.editor-foot{height:34px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);color:#72806e;font-size:8px}.editor-foot>span:first-child{display:flex;align-items:center;gap:7px}.green-dot{width:5px;height:5px}.run-card{padding:18px 17px;display:flex;flex-direction:column}.run-card-top{display:flex;align-items:center;gap:9px}.run-icon{width:26px;height:26px;border-radius:6px;background:#293326;color:var(--green);display:grid;place-items:center;font-size:18px}.micro-label{font-size:9px;color:#84917f}.run-card h3{font-size:16px;letter-spacing:-.4px;margin:18px 0 7px}.run-card>p{font-size:11px;line-height:1.7;color:#8c9888;margin:0 0 17px}.rule-mini-list{display:grid;gap:11px;margin-bottom:20px}.rule-mini-list>div{font-size:10px;color:#b0bbae;display:flex;align-items:center;gap:8px}.rule-check{width:15px;height:15px;border:1px solid #3b4b34;background:#20291d;color:var(--green);border-radius:4px;display:grid;place-items:center;font-size:9px}.run-note{font-size:9px;color:#788374;line-height:1.6;margin-top:11px}.run-note span{color:var(--amber);margin-right:4px}.results-section{margin-top:33px}.result-head{align-items:center}.results-count{font:10px var(--mono);color:#81907d;margin-left:7px;border:1px solid #303a2f;border-radius:4px;padding:3px 6px}.empty-state{min-height:195px;border:1px dashed #303930;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:22px;background:#141714}.empty-graphic{width:45px;height:45px;border:1px solid #394435;border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:25px;position:relative;margin-bottom:12px}.empty-graphic i,.empty-graphic b{position:absolute;width:5px;height:5px;background:#53644c;border-radius:50%;right:-6px;top:4px}.empty-graphic b{left:-5px;right:auto;top:auto;bottom:3px;width:3px;height:3px}.empty-state h3{font-size:13px;margin:0 0 6px}.empty-state p{font-size:10px;color:#879382;max-width:340px;line-height:1.6;margin:0}.empty-hint{color:#64735e;font-size:8px;margin-top:14px}.findings-list{display:grid;gap:9px}.finding{border:1px solid var(--line);border-radius:8px;background:var(--panel);overflow:hidden}.finding-main{display:grid;grid-template-columns:75px minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px}.severity{font:9px var(--mono);letter-spacing:.6px;padding:5px 6px;border-radius:4px;text-align:center}.severity.high{color:#ff9b9b;background:#382222;border:1px solid #613737}.severity.medium{color:var(--amber);background:#342c1b;border:1px solid #56462b}.severity.low{color:var(--blue);background:#202c39;border:1px solid #344b62}.finding h3{font-size:12px;margin:0 0 6px}.finding p{font-size:10px;line-height:1.65;color:#9aa598;margin:0}.finding .line-ref{font:9px var(--mono);color:#84907e;white-space:nowrap}.finding-code{margin:0 15px 13px 102px;padding:10px 12px;border-radius:5px;background:#111411;border:1px solid #293128;color:#c4d0be;font:10px/1.6 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.finding-code mark{background:#5c4424;color:#ffe1a0;border-radius:2px;padding:1px 2px}.fix-note{margin:0 15px 14px 102px;font-size:10px;color:#b7c9ac;line-height:1.6}.fix-note strong{color:var(--green);font-weight:600}.scan-summary{margin-top:12px;padding:13px 15px;border:1px solid #33432e;background:#1a2218;border-radius:7px;display:flex;justify-content:space-between;gap:15px;align-items:center}.scan-summary strong{font-size:11px}.scan-summary p{font-size:10px;color:#91a18b;margin:4px 0 0}.summary-score{font:20px var(--mono);color:var(--green);white-space:nowrap}.disclaimer{margin-top:35px;padding-top:15px;border-top:1px solid var(--line);display:grid;grid-template-columns:145px 1fr auto;gap:18px;align-items:start}.disclaimer>span{color:#73806e;font-size:8px;padding-top:3px}.disclaimer p{margin:0;color:#6f7a6d;font-size:9px;line-height:1.65}.disclaimer a,.source-note a{font-size:9px;color:var(--green);text-decoration:none;white-space:nowrap}.disclaimer a:hover,.source-note a:hover{text-decoration:underline}.alternate-view{padding-top:48px;min-height:calc(100vh - 64px)}.alternate-view h1{margin-top:25px}.checklist-panel{margin-top:35px;border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:24px}.checklist-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.checklist-head h2{margin:6px 0 0;font-size:20px}.check-progress{color:var(--green)}.check-item{display:flex;gap:13px;padding:17px 0;border-top:1px solid var(--line);align-items:flex-start;cursor:pointer}.check-item input{accent-color:var(--green);margin-top:3px}.check-item strong{font-size:12px;display:block;margin-bottom:5px}.check-item p{font-size:10px;color:#8e9b89;line-height:1.6;margin:0}.check-item.done strong{color:#82917c;text-decoration:line-through}.checklist-actions{border-top:1px solid var(--line);padding-top:16px;display:flex;align-items:center;gap:15px}.checklist-actions span{color:#7c8877;font-size:10px}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:32px}.method-card{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:21px;min-height:150px}.method-number{font:10px var(--mono);color:var(--green)}.method-card h3{font-size:14px;margin:17px 0 8px}.method-card p{font-size:11px;line-height:1.7;color:#929f8d;margin:0}.source-note{display:flex;gap:15px;margin-top:13px;padding:19px;border:1px solid #35442f;border-radius:8px;background:#1b2319}.source-note>span{font-size:18px;color:var(--green)}.source-note strong{font-size:12px}.source-note p{font-size:10px;line-height:1.6;color:#8d9b86}.toast{position:fixed;bottom:24px;right:24px;z-index:10;padding:12px 16px;border:1px solid #42533a;background:#20291e;color:#d9ead0;border-radius:7px;font-size:11px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}[hidden]{display:none!important}
@media(max-width:1050px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.content{padding-left:26px;padding-right:26px}.topbar{padding:0 26px}.work-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.hero-stamp{margin-right:0;width:85px;height:85px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:13px 16px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{margin:0;font-size:18px}.brand-mark{width:30px;height:30px}.brand small{font-size:8px}.side-label,.sidebar-bottom{display:none}.sidebar .nav-item{display:none}.topbar{height:48px;padding:0 17px}.top-right{font-size:8px}.content{padding:26px 17px}.hero-row{align-items:flex-start}.hero-row h1,.alternate-view h1{font-size:42px;letter-spacing:-1.8px}.hero-copy{font-size:12px}.hero-stamp{width:62px;height:62px;margin-top:4px}.stats-grid{grid-template-columns:1fr 1fr;gap:8px;margin:23px 0 28px}.stat-card{min-height:88px;padding:12px}.stat-card strong{font-size:17px}.work-grid{grid-template-columns:1fr}.run-card{padding:16px}.run-card h3{margin-top:13px}.rule-mini-list{grid-template-columns:1fr 1fr;gap:10px}.section-head h2{font-size:18px}.editor-body textarea{font-size:10px}.disclaimer{grid-template-columns:1fr;gap:8px}.disclaimer a{white-space:normal}.finding-main{grid-template-columns:65px minmax(0,1fr);gap:9px;padding:12px}.finding .line-ref{grid-column:2}.finding-code,.fix-note{margin-left:12px;margin-right:12px}.method-grid{grid-template-columns:1fr}.alternate-view{padding-top:35px}.checklist-panel{padding:16px}.checklist-head{align-items:flex-start;gap:10px;flex-direction:column}.checklist-actions{align-items:flex-start;flex-direction:column}.breadcrumb{font-size:8px}.version{display:none}}@media(max-width:390px){.hero-row h1,.alternate-view h1{font-size:36px}.hero-stamp{width:50px;height:50px}.head-actions{gap:4px}.btn{padding:9px 8px;font-size:10px}.top-right{gap:5px}.rule-mini-list{grid-template-columns:1fr}}

/* Readability pass: use reliable system fonts and comfortable text sizes without external font requests. */
:root{
  --mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans:Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --muted:#aab5a5;
}
body{font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.side-label,.micro-label,.stat-label,.section-kicker,.eyebrow,.breadcrumb,.top-right,.editor-foot,.side-footer,.empty-hint,.disclaimer>span,.check-progress{letter-spacing:.075em}
.side-label{font-size:11px;color:#8b9787}
.brand small{font-size:10px;letter-spacing:.11em}
.nav-item{font-size:13px;line-height:1.4}
.local-card strong{font-size:12px}
.local-card p{font-size:12px;line-height:1.6;color:#a0ad9b}
.side-footer{font-size:10px;color:#a0ac9b}
.top-right{font-size:10px;color:#a6b2a1}
.content{padding-top:38px}
.eyebrow{font-size:11px}
.eyebrow-tag{font-size:10px}
.hero-copy{font-size:15px;line-height:1.75;color:#b2bdb0;max-width:610px}
.stat-label{font-size:10px;color:#a0ad9b}
.stat-card small{font-size:12px;line-height:1.5;color:#a0ad9b}
.muted-small{font-size:13px;color:#a0ad9b}
.section-kicker{font-size:11px}
.btn{font-size:12px;line-height:1.4}
.btn-primary{font-size:13px}
.file-tab{font-size:11px}
.upload-btn{font-size:12px}
.line-numbers{font-size:12px}
.editor-body textarea{font-size:12px;line-height:1.8}
.editor-body textarea::placeholder{color:#8b9787}
.editor-foot{font-size:10px;color:#a0ad9b}
.micro-label{font-size:11px;color:#a6b2a1}
.run-card h3{font-size:17px}
.run-card>p{font-size:13px;line-height:1.7;color:#b0bbae}
.rule-mini-list>div{font-size:12px;line-height:1.5;color:#c0cbbd}
.rule-check{width:17px;height:17px;font-size:10px;flex-shrink:0}
.run-note{font-size:11px;line-height:1.65;color:#a5b19f}
.results-count{font-size:11px;color:#a5b19f}
.empty-state h3{font-size:15px}
.empty-state p{font-size:13px;line-height:1.7;color:#aeb9aa}
.empty-hint{font-size:10px;color:#9aaa91}
.finding-main{gap:14px;padding:17px}
.severity{font-size:10px;letter-spacing:.04em}
.finding h3{font-size:14px;line-height:1.45}
.finding p{font-size:13px;line-height:1.7;color:#b2bdb0}
.finding .line-ref{font-size:11px;color:#a4b09e}
.finding-code{font-size:12px;line-height:1.7}
.fix-note{font-size:12px;line-height:1.7;color:#c0cfb7}
.scan-summary strong{font-size:13px}
.scan-summary p{font-size:12px;line-height:1.6;color:#b0bda8}
.disclaimer>span{font-size:10px;color:#9aa792}
.disclaimer p{font-size:11px;line-height:1.7;color:#a0ab9a}
.disclaimer a,.source-note a{font-size:11px;line-height:1.6;white-space:normal}
.check-item strong{font-size:14px}
.check-item p{font-size:13px;line-height:1.7;color:#b0bbae}
.checklist-actions span{font-size:12px;color:#a8b4a2}
.method-card h3{font-size:16px}
.method-card p{font-size:13px;line-height:1.75;color:#b0bbae}
.method-number{font-size:11px}
.source-note strong{font-size:14px}
.source-note p{font-size:12px;line-height:1.7;color:#b0bbae}
.toast{font-size:13px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:760px){
  .content{padding:27px 17px}
  .hero-copy{font-size:14px}
  .stat-label{font-size:10px}
  .stat-card small{font-size:11px}
  .editor-body textarea{font-size:12px}
  .editor-foot{font-size:9px;letter-spacing:.045em}
  .run-card>p{font-size:13px}
  .rule-mini-list>div{font-size:12px}
  .finding-main{padding:13px;gap:9px}
  .finding h3{font-size:13px}
  .finding p{font-size:12px}
  .finding-code{font-size:11px}
  .fix-note{font-size:12px}
  .disclaimer p{font-size:11px}
}
