:root{--accent:#c62b27}button,.button-link{transition:background .18s ease,box-shadow .18s ease}button:hover,.button-link:hover{box-shadow:0 3px 12px #c62b2726}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #305fb8;outline-offset:3px}.direction-icon{width:68px;height:68px;color:#c62b27;margin-bottom:22px}.improvement-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px}.improvement-flow>div{background:#f0f4fa;padding:24px;border-radius:16px}.improvement-flow strong{font-size:44px;color:#c62b27}.scan-help{margin:12px 0;font-size:15px;color:#39455a}.scan-help summary{cursor:pointer;min-height:44px}.scan-help p{padding:16px;background:#f0f4fa;border-radius:12px;max-width:600px}.report-page{max-width:1200px;margin:auto;padding:30px 24px}.report-header{max-width:1200px;margin:auto;padding:24px;display:flex;gap:30px;align-items:center;justify-content:space-between}.report-header nav{display:flex;gap:16px;flex-wrap:wrap}.report-actions{display:flex;gap:12px;flex-wrap:wrap}.button-link{display:inline-block;border:1px solid #c62b27;border-radius:10px;padding:12px 20px;color:#9c201d;text-decoration:none}.coverage{background:#f0f4fa;padding:20px;border-radius:14px;margin:22px 0}.coverage summary{cursor:pointer;font-weight:650}.report-filters{display:grid;grid-template-columns:1fr 250px auto auto;gap:12px;align-items:center;margin:24px 0}.report-filters>*{min-width:0}.report-filters select{width:100%;min-height:44px}.status-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.status-buttons button{min-height:44px;padding:10px;color:#273449;background:#edf1f6;font-size:14px}.status-buttons button[aria-pressed=true]{background:#bd2925;color:#fff}.check-card{margin:20px 0}.check-card h3{font-size:24px}.check-card dd{overflow-wrap:anywhere;margin:0 0 14px}.check-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 system-ui,sans-serif}.report-page h1{font-size:clamp(32px,4vw,52px)}.report-page h2{font-size:clamp(24px,3vw,32px)}.report-page summary{min-height:36px;cursor:pointer}.report-page .counts{margin-top:24px}.report-page .counts strong{display:block}.report-page .check-head{flex-wrap:wrap}.report-page #copy-selected{margin-bottom:12px}.report-page #notice:empty{display:none}.report-page #notice{padding:16px;background:#fff1d4}.report-page select{font:inherit;border:1px solid #aab5c5;border-radius:8px;padding:8px}.report-page #gate{margin-top:28px}.report-page .prompt-links a{min-height:44px;display:inline-flex;align-items:center}#sa-light-review .sr-nav{flex-wrap:wrap}#sa-light-review .sr-header{height:auto;min-height:100px}@media(max-width:900px){.report-filters{grid-template-columns:1fr 1fr}.status-buttons{grid-column:1/-1}.report-header{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.report-filters{grid-template-columns:1fr}.status-buttons{grid-template-columns:1fr 1fr}.improvement-flow{grid-template-columns:1fr}.report-page,.report-header{padding:20px 16px}.report-page .counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.report-page .count-tile{padding:12px 6px;min-width:0}.report-page .count-value{font-size:30px}.report-page .count-tile span{font-size:12px}.report-page .check-card{padding:18px}.report-page h3{font-size:22px}.report-header nav{font-size:14px;gap:10px}.direction-icon{width:56px;height:56px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* v2.1 report layout */
.support-link{font-weight:700}.report-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap}.assistant-primary,.assistant-action{background:#c62b27;color:#fff;border:1px solid #c62b27;border-radius:10px;padding:12px 18px;min-height:44px;font:inherit;font-weight:700;cursor:pointer}.assistant-action:hover{background:#a92320}.coverage-summary{display:flex;gap:10px 18px;flex-wrap:wrap;background:#f0f4fa;padding:16px 18px;border-radius:14px;margin:22px 0}.report-filters{display:block;margin:24px 0;padding:18px;border:1px solid #d6dde8;border-radius:14px;background:#fff}.filter-label{display:block;font-weight:700;margin-bottom:8px}.status-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.filter-row{display:grid;grid-template-columns:minmax(0,360px) auto;align-items:end;gap:16px;margin-top:16px}.filter-row label,.filter-more label{display:grid;gap:7px;font-weight:650}.filter-more{margin-top:14px}.filter-more>summary{display:inline-flex;align-items:center}.filter-more label{max-width:360px;margin-top:12px}.issue-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.recommendation{background:#f8fafc;border-left:4px solid #c62b27;padding:12px 16px;margin:14px 0}.check-id{font-size:13px;color:#68758a;margin:0 0 4px}.report-footer{max-width:1200px;margin:0 auto;padding:28px 24px 48px}.empty-state{margin:18px 0}.report-filters label{color:#273449}.report-filters select{color:#172338;background:#fff}.report-filters summary{color:#273449}.report-filters a{align-self:end;padding:12px 0}#assistant-dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:0;border-radius:16px;padding:28px;background:#fff;color:#172338;box-shadow:0 20px 80px #142a4d40}#assistant-dialog::backdrop{background:#15243c66}#assistant-dialog form{display:grid;gap:12px}#assistant-dialog input:not([type=checkbox]):not([type=hidden]){box-sizing:border-box;width:100%;padding:13px;border:1px solid #9baabd;border-radius:10px;font:inherit;min-height:44px}#assistant-close{display:block;margin-left:auto;background:#edf1f6;color:#172338;min-height:44px}
@media(max-width:700px){.status-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-row{grid-template-columns:1fr}.filter-row label,.filter-more label{max-width:none}.report-actions{width:100%}.assistant-primary{width:100%}.report-filters{padding:14px}.report-header{align-items:flex-start;flex-wrap:wrap}}

/* v2.2 unified layout and status controls */
.direction-icon{width:40px!important;height:40px!important;max-width:48px!important;max-height:48px!important;flex:0 0 40px;margin-bottom:16px!important}
.scan-help-contact{font-weight:800;color:#a92320;text-decoration:underline;text-underline-offset:3px}
.status-buttons button{min-width:0;min-height:44px;border:2px solid transparent;border-radius:10px;font-weight:700;white-space:normal;line-height:1.2}
.status-buttons button[value="all"]{background:#e9eef5;color:#273449}.status-buttons button[value="issue"]{background:#fee9e7;color:#a92320}.status-buttons button[value="review"]{background:#fff0c7;color:#664900}.status-buttons button[value="pass"]{background:#e1f4e8;color:#17633a}
.status-buttons button[aria-pressed="true"]{box-shadow:0 0 0 2px #172338 inset,0 0 0 1px #fff inset}
.status-buttons button[value="issue"][aria-pressed="true"]{background:#c62b27;color:#fff}.status-buttons button[value="review"][aria-pressed="true"]{background:#e9b435;color:#2b2200}.status-buttons button[value="pass"][aria-pressed="true"]{background:#278a55;color:#fff}.status-buttons button[value="all"][aria-pressed="true"]{background:#50647f;color:#fff}
.sf-header,.sf-footer{box-sizing:border-box;width:min(100%,1200px);margin:0 auto;background:#fff;color:#192333}.sf-header{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:94px;padding:20px 24px;border-bottom:1px solid #e5e9ef}.sf-brand{display:inline-flex;align-items:center;gap:11px;font:800 27px/1.15 Manrope,Arial,sans-serif;letter-spacing:-1.1px;text-decoration:none;color:#192333;white-space:nowrap}.sf-mark{display:inline-block;width:39px;height:36px;border:3px solid currentColor;border-radius:10px 10px 10px 3px;position:relative;color:#d82c26;flex-shrink:0}.sf-mark:before{content:'';position:absolute;left:7px;top:13px;width:4px;height:4px;background:currentColor;box-shadow:4px 4px 0 currentColor,8px 8px 0 currentColor,12px 4px 0 currentColor,16px 0 0 currentColor,20px -4px 0 currentColor}.sf-nav{display:flex;gap:23px;flex-wrap:wrap}.sf-nav a{display:inline-flex;align-items:center;min-height:44px;color:#455163;text-decoration:none;font-weight:650;font-size:13px}.sf-nav a:hover{text-decoration:underline}.sf-footer{border-top:1px solid #dfe5ec;padding:36px 24px 30px}.sf-footer-main{display:grid;grid-template-columns:1fr 1fr;gap:30px}.sf-footer p{color:#596272;font-size:13px;margin:15px 0 0}.sf-footer-nav{display:flex;flex-direction:column;align-items:flex-start}.sf-footer-nav a{font-size:13px;min-height:40px;display:flex;align-items:center;text-decoration:none;color:#455163}.sf-footer-nav a:hover{text-decoration:underline}.sf-company{border-top:1px solid #e5e9ef;padding-top:23px;margin-top:26px;display:grid;grid-template-columns:.8fr 1.2fr;gap:28px}.sf-company strong{font-size:14px}.sf-company p{font-size:12px;line-height:1.75;margin:0}.sf-copyright{display:flex;justify-content:space-between;gap:16px;margin-top:26px;font-size:11px;color:#596272}
.report-page,.legal{overflow-wrap:anywhere}.report-actions>*{min-height:44px}.check-card{min-width:0}.check-card pre,.check-card dd{max-width:100%;overflow-wrap:anywhere}.report-filters{overflow:visible}.filter-row{min-width:0}.filter-row>*{min-width:0}
@media(max-width:700px){.sf-header{padding:16px;align-items:flex-start;flex-direction:column}.sf-nav{gap:6px 14px}.sf-footer{padding:28px 16px}.sf-footer-main,.sf-company{grid-template-columns:1fr}.sf-copyright{flex-wrap:wrap}.status-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.direction-icon{width:36px!important;height:36px!important;flex-basis:36px}}


/* v2.3 strict diagnostics */
.status-buttons button[value="all"]{background:#fff0dc;color:#7a4300}
.status-buttons button[value="all"][aria-pressed="true"]{background:#dc7c13;color:#fff}
.finding-meta{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 10px}
.finding-meta span{display:inline-flex;align-items:center;min-height:28px;padding:3px 9px;border:1px solid #d7dee8;border-radius:999px;background:#f6f8fb;color:#455163;font-size:12px;font-weight:700}
.check-card.review .finding-meta span:first-child{background:#fff3c9;border-color:#e9c35d;color:#654800}
.check-card.issue .finding-meta span:first-child{background:#fde7e5;border-color:#df8d88;color:#8b211d}
.filter-extra{display:grid;grid-template-columns:minmax(0,360px) minmax(0,260px);gap:14px;align-items:end;margin-top:12px}
.strict-profile-note{padding:10px 14px;border-left:4px solid #dc7c13;background:#fff8ed;color:#5e431e;border-radius:6px;margin:14px 0}
@media(max-width:700px){.filter-extra{grid-template-columns:1fr}}


/* v2.5 report simplification and visible process state */
.process-panel{text-align:center;padding:44px 28px}.process-spinner{display:block;width:46px;height:46px;margin:0 auto 18px;border:4px solid #e7ebf1;border-top-color:#c62b27;border-radius:50%;animation:sf-spin .85s linear infinite}.process-kicker,.scan-preloader-kicker{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#7b8798}.process-stage{font-size:20px;font-weight:750;color:#172338;margin:14px 0}.scan-preloader{position:fixed;inset:0;z-index:100;background:#fffdfaeF;display:grid;place-items:center;padding:20px}.scan-preloader-card{width:min(620px,100%);background:#fff;border:1px solid #dfe5ec;border-radius:20px;padding:38px;text-align:center;box-shadow:0 24px 80px #19233324}.scan-preloader-card h2{font-size:clamp(24px,4vw,36px);margin:8px 0 12px}.scan-preloader-card p:last-child{color:#596272}.report-filters-compact{max-width:760px;margin:18px 0 22px;padding:0;border:0}.filter-primary{display:grid;grid-template-columns:minmax(260px,440px) auto;gap:14px;align-items:end}.filter-primary label{display:grid;gap:7px;font-weight:750}.filter-primary a{padding:12px 0}.filter-more{margin-top:10px}.filter-extra{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px}.selected-copy-row{display:flex;justify-content:flex-start;margin:24px 0 36px}.selected-copy-row #copy-selected{margin:0}.help-action{background:#fff;color:#a92320;border:1px solid #c62b27;border-radius:10px;padding:12px 18px;min-height:44px;font:inherit;font-weight:750;cursor:pointer}.help-action:hover{background:#fff3f2}.prompt-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.prompt-actions .copy-prompt,.prompt-actions .prompt-assistant{margin:0;min-height:44px}.finding-meta .impact-meta.impact-high{background:#fde8e6;border-color:#efb0aa;color:#8b211d}.finding-meta .impact-meta.impact-medium{background:#fff4cf;border-color:#e6c86f;color:#684d00}.finding-meta .impact-meta.impact-low{background:#e5f5ea;border-color:#a8d8b8;color:#17633a}
@keyframes sf-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.filter-primary{grid-template-columns:1fr}.filter-extra{grid-template-columns:1fr}.scan-preloader-card{padding:28px 20px}.prompt-actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){.process-spinner{animation:none}}
/* v3.0 finding explanations and visual signals */
.badge-with-icon{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.explain-block,.why-block{margin:14px 0;padding:16px 18px;border:1px solid #e1e6ed;border-radius:12px;background:#fafbfc}.explain-block h4,.why-block h4{margin:0 0 7px;font-size:14px}.explain-block p,.why-block p{margin:0;line-height:1.65;color:#3f4b5d}.check-card.issue .badge-with-icon{background:#fde8e6}.check-card.review .badge-with-icon{background:#fff4cf}.check-card.pass .badge-with-icon{background:#e5f5ea}
/* v3.1 — all 278 results and five-state summary */
.result-controls{margin:24px 0 12px}.counts.counts-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}.counts-five .count-tile{appearance:none;text-align:left;border:1px solid #dce3ed;min-height:108px;padding:18px 14px;background:#fff;color:#192333;border-radius:12px;box-shadow:none}.counts-five button.count-tile:hover{box-shadow:0 4px 16px #19233314;transform:translateY(-1px)}.counts-five button.count-tile[aria-pressed="true"]{outline:3px solid #192333;outline-offset:2px}.counts-five .count-value{font-size:36px;line-height:1}.counts-five .issue{background:#fff0ef;color:#982923}.counts-five .review{background:#fff8de;color:#704e00}.counts-five .pass{background:#eef8f2;color:#155e35}.counts-five .needs_data{background:#edf4ff;color:#244f87}.counts-five .not_applicable{background:#f2f3f5;color:#596272}.show-all-results{margin-top:12px;background:#fff;color:#192333;border:1px solid #cbd3de;min-height:44px}.show-all-results[aria-pressed="true"]{background:#192333;color:#fff}.check-card.needs_data{border-left-color:#4e79ae}.check-card.not_applicable{border-left-color:#89929e}.check-card.needs_data .badge-with-icon{background:#e8f1ff;color:#244f87}.check-card.not_applicable .badge-with-icon{background:#eceff2;color:#596272}.check-card.needs_data .finding-meta span:first-child{background:#e8f1ff;border-color:#b9cdeb;color:#244f87}.check-card.not_applicable .finding-meta span:first-child{background:#eceff2;border-color:#d2d7dd;color:#596272}.needed-data-block{margin:14px 0;padding:16px 18px;border:1px solid #bfd1ec;border-radius:12px;background:#f1f6ff}.needed-data-block h4{margin:0 0 7px;font-size:14px}.needed-data-block p{margin:0;line-height:1.65}.sample-note{padding:10px 14px;border-left:4px solid #6b7d95;background:#f5f7fa;border-radius:6px;color:#455163}.detailed-check-action{background:#fff;color:#244f87;border-color:#4e79ae}.detailed-check-action:hover{background:#f1f6ff}.check-card[hidden]{display:none!important}
@media(max-width:900px){.counts.counts-five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.counts.counts-five{grid-template-columns:repeat(2,minmax(0,1fr))}.counts-five .count-tile{min-height:96px}.counts-five .count-value{font-size:30px}}
.counts-five .count-tile span{background:transparent;padding:0;border-radius:0;font-size:13px;color:inherit}.counts-five .count-tile strong{color:inherit}
