:root{color-scheme:dark;--bg:var(--zph-audit-bg,#0b182e);--panel:color-mix(in srgb,var(--zph-audit-panel,#17345d) 88%,var(--zph-audit-text,#fff) 12%);--text:var(--zph-audit-text,#fff);--muted:var(--zph-audit-muted,#d8e4f5);--mint:color-mix(in srgb,var(--zph-audit-accent,#ef6b61) 35%,var(--zph-audit-text,#fff) 65%);--violet:var(--mint);--line:color-mix(in srgb,var(--text) 22%,var(--bg));--amber:#ffcf7e;--red:#ff899d}
html body:has(.zph-audit-shell-v107){padding-top:0;background:var(--bg);color:var(--text);font-family:var(--zph-audit-font,Tahoma,Arial,sans-serif)}
html body .zph-audit-shell-v107{min-height:70vh;font-family:var(--zph-audit-font,Tahoma,Arial,sans-serif)}
html body .zph-audit-shell-v107 :where(button,input,select){font-family:inherit}
html body .zph-audit-shell-v107 .entry{background:color-mix(in srgb,var(--panel) 84%,var(--bg));border-color:var(--line)}
html body .zph-audit-shell-v107 :where(.panel,.score-card,.finding,.preview){background-color:var(--panel);border-color:var(--line)}
html body .zph-audit-shell-v107 .input-row{background:var(--bg)}
html body .zph-audit-shell-v107 .input-row button{background:var(--mint);color:var(--bg)}
html body .zph-audit-shell-v107 .disclosure{color:var(--muted)}
html body .zph-audit-shell-v107 .intro article{border-color:var(--line)}
html body .zph-audit-shell-v107 [hidden]{display:none!important}
/* V112: keep URL entry, progress, scores and report readable on narrow screens. */
html body .zph-audit-shell-v107{width:min(100%,1160px);max-width:100%;overflow-wrap:anywhere}
html body .zph-audit-shell-v107 :where(.entry,.input-row,.scan,.score-card,.metric,.report,.finding){min-width:0;max-width:100%}
html body .zph-audit-shell-v107 .tabs button{min-height:44px}
html body .zph-audit-shell-v107 .finding summary{min-height:48px}
@media(max-width:600px){
 html body .zph-audit-shell-v107{padding-inline:clamp(12px,4vw,20px);overflow-x:clip}
 html body .zph-audit-shell-v107 .hero{padding-top:24px}
 html body .zph-audit-shell-v107 h1{font-size:clamp(28px,8vw,39px);line-height:1.48;letter-spacing:-.04em}
 html body .zph-audit-shell-v107 .lead{font-size:13px;line-height:1.9}
 html body .zph-audit-shell-v107 .lead br{display:none}
 html body .zph-audit-shell-v107 .entry{padding:14px;border-radius:16px}
 html body .zph-audit-shell-v107 .input-row{display:grid;grid-template-columns:30px minmax(0,1fr);direction:ltr;gap:4px;padding:7px}
 html body .zph-audit-shell-v107 .url-icon{grid-column:1;grid-row:1;padding:0;text-align:center}
 html body .zph-audit-shell-v107 .input-row input[type=text]{grid-column:2;grid-row:1;min-width:0;width:100%;font-size:16px;padding:12px 3px}
 html body .zph-audit-shell-v107 .input-row button{grid-column:1/-1;grid-row:2;min-height:48px;width:100%;font-size:15px}
 html body .zph-audit-shell-v107 .entry-footer{display:grid;gap:10px}
 html body .zph-audit-shell-v107 fieldset{display:flex;gap:8px;flex-wrap:wrap}
 html body .zph-audit-shell-v107 fieldset span{display:grid;place-items:center;min-height:44px;padding:8px 16px}
 html body .zph-audit-shell-v107 .disclosure{font-size:11px;line-height:2}
 html body .zph-audit-shell-v107 .scan{gap:18px;padding:16px}
 html body .zph-audit-shell-v107 .scan-copy{text-align:right}
 html body .zph-audit-shell-v107 .steps{justify-content:flex-start;gap:6px}
 html body .zph-audit-shell-v107 .steps span{font-size:10px;line-height:1.7}
 html body .zph-audit-shell-v107 .score-grid{grid-template-columns:1fr;gap:10px}
 html body .zph-audit-shell-v107 .score-card{flex-direction:row;text-align:right;padding:14px;gap:14px}
 html body .zph-audit-shell-v107 .score-card h3{font-size:14px}
 html body .zph-audit-shell-v107 .score-card p{font-size:11px}
 html body .zph-audit-shell-v107 .ring{width:72px;height:72px;min-width:72px}
 html body .zph-audit-shell-v107 .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .zph-audit-shell-v107 .report-heading{display:grid;grid-template-columns:1fr;gap:10px}
 html body .zph-audit-shell-v107 .report-heading .outline{justify-self:start;min-height:44px;font-size:12px}
 html body .zph-audit-shell-v107 .toolbar{align-items:stretch;padding:10px;gap:10px}
 html body .zph-audit-shell-v107 .tabs{display:flex;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;max-width:100%;padding-bottom:5px}
 html body .zph-audit-shell-v107 .tabs button{flex:0 0 auto;scroll-snap-align:start;padding:10px 13px;font-size:12px;white-space:nowrap}
 html body .zph-audit-shell-v107 .filter-label{display:flex;align-items:center;justify-content:space-between;gap:8px;white-space:normal;font-size:11px}
 html body .zph-audit-shell-v107 .filter-label select{min-height:44px;max-width:78%;font-size:12px}
 html body .zph-audit-shell-v107 .finding summary{align-items:flex-start}
 html body .zph-audit-shell-v107 .finding h3{font-size:12px;line-height:1.8}
}
