.scan-shell{max-width:52rem;margin:0 auto;padding:clamp(2rem,6vw,5rem) 1.25rem}.scan-shell h1{font-size:clamp(2.4rem,7vw,4.5rem);max-width:15ch}.scan-shell section+section{margin-top:2.5rem}.scan-shell h2{margin:1.4rem 0 .65rem}.scan-shell .card{margin:1rem 0}.scan-shell form{display:grid;gap:1rem;align-items:start}.scan-shell form button{justify-self:start}.scan-shell .check{display:flex;align-items:baseline;gap:.6rem}.scan-shell .check input{width:auto}.scan-url,.scan-shell article{overflow-wrap:anywhere}.score-box{border-left:4px solid #9d8448;padding:.5rem 1rem;margin:1rem 0}.score-box strong{font-size:2.2rem}.scan-shell details{padding:1rem 0;border-bottom:1px solid #aeb6aa}.scan-shell summary{cursor:pointer;font-weight:700}.scan-shell article h3{font-size:1.05rem}.scan-shell article{padding:.5rem 0}.scan-next button{display:block;margin:1.2rem 0}.scan-shell [hidden]{display:none!important}#status{font-weight:600;min-height:1.5em}.scan-shell a:focus-visible,.scan-shell button:focus-visible,.scan-shell summary:focus-visible{outline:3px solid #9d8448;outline-offset:4px}

.scan-shell .score-box { display: flex; align-items:center; gap:1rem; border:0; padding:0; }
.score-box strong {font-size:1.25rem;} .score-box p {margin:.25rem 0;}
.score-ring {display:inline-grid;place-items:center;position:relative;width:5rem;height:5rem;color:var(--ink);font-variant-numeric:tabular-nums;}
.score-ring svg {position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
.score-ring circle {fill:none;stroke-width:4;}
.ring-track {stroke:var(--rule);}
.ring-value {stroke:var(--sage);stroke-linecap:round;}
.score-ring b {font-size:1.45rem;}
.score-areas {display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:1rem;padding:1rem 0;}
.score-areas > div {display:grid;align-content:start;justify-items:start;gap:.2rem;}
.score-areas .score-ring {width:3.4rem;height:3.4rem;}
.score-areas .score-ring b {font-size:1rem;}
.finding-state {display:inline-block;margin:.75rem 0 .45rem;font-weight:700;}
.finding-state.pass {color:#27653a;} .finding-state.warn {color:#7a5207;} .finding-state.fail {color:#9b3832;}
[data-theme="dark"] .finding-state.pass {color:#95d8a7;}
[data-theme="dark"] .finding-state.warn {color:#eecc80;}
[data-theme="dark"] .finding-state.fail {color:#f49e93;}
.scan-shell article h3 {margin-bottom:.25rem;}
@media(prefers-reduced-motion:no-preference) {
  #summary:has(#summary-heading:focus) .card { animation: highlight-first 1.2s ease-out 1; }
  @keyframes highlight-first { from {outline:2px solid var(--gold);outline-offset:.35rem;} to {outline:2px solid transparent;outline-offset:0;} }
}

#crawl-list {padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.35rem 1.2rem;}
#crawl-list li {display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.4rem;padding:.5rem 0;border-bottom:1px solid var(--rule);}
#crawl-list small {width:100%;color:var(--muted);}
#crawl-list .finding-state {margin:0;}
