/* Corporate navy: shared across all public checker languages. */
#scanPanel .scan-panel{background:#16253e;color:#f5f8ff;border:1px solid #344b6b;box-shadow:none}
#scanPanel .scan-heading{color:white;font-size:27px}#scanPanel .scan-caption{color:#bdcbe0;font-weight:normal}
#scanPanel .scan-ring{width:116px;height:116px;margin:14px auto}#scanPanel .scan-ring svg{width:116px;height:116px}
#scanPanel .scan-ring circle:first-child{stroke:#3a4d6e;stroke-width:5}#scanPanel #scanRingBar{stroke:#96b8ff;stroke-width:5}
#scanPanel .scan-ring .pct{color:white;font-size:27px}
#scanPanel[data-audit-state=running] #scanRingBar{stroke-dasharray:94 326.7;stroke-dashoffset:0!important;}
#scanPanel .scan-progress-track{background:#34445f;height:5px}#scanPanel .scan-progress-bar{background:#8fb3ff}
#scanPanel[data-audit-state=running] .scan-progress-bar{width:24%!important;animation:navy-discovery 2.6s ease-in-out infinite}
#scanPanel .scan-stat{background:#1d304e;border-color:#3b4b65;border-radius:10px;padding:15px 8px}#scanPanel .scan-stat b{color:white;font-size:27px}#scanPanel .scan-stat span{color:#bdcbe0}
#scanPanel .scan-live{background:#0c1729;border:1px solid #405473;padding:15px;align-items:flex-start}#scanPanel .dot-badge{background:#243b60;color:#e1ebff;border:1px solid #718bb2}#scanPanel .status-text{color:#f5f8ff;font-family:Consolas,monospace;white-space:normal;overflow-wrap:anywhere;text-align:start}
#scanPanel .scan-step{background:#0c1729;border-color:#8fb3ff;text-align:start}#scanPanel .scan-step b{color:#e2ebff}#scanPanel .scan-step p{color:#bdcbe0}#scanPanel .audit-activity{margin-top:12px;padding-top:10px;border-top:1px solid #293b57;font-family:Consolas,monospace;overflow-wrap:anywhere}#scanPanel .audit-activity:empty{display:none}
#scanPanel .sheet-table{min-width:0;table-layout:fixed}#scanPanel .sheet-table thead th{background:#edf2ff;border-color:#dce2ec;white-space:normal}#scanPanel .sheet-table tbody td{white-space:normal;overflow-wrap:anywhere;border-color:#dce2ec}#scanPanel .sheet-table th:first-child{width:46%}#scanPanel .sheet-table tbody tr:nth-child(even){background:#f4f6fa}#scanPanel .sheet-table tbody tr:hover{background:#edf2ff}#scanPanel .sheet-table td:first-child a{font-weight:bold;color:#2856bb;display:block}#scanPanel .sheet-table td:first-child a:hover{text-decoration:underline}#scanPanel .sheet-table td:first-child a:after{content:'↗';margin-inline-start:6px}#scanPanel .sheet-table th,#scanPanel .sheet-table td{border-inline-end-color:#dce2ec}
#scanPanel[data-audit-state=running] .scan-ring svg{animation:navy-orbit 1.8s linear infinite;transform-origin:center}
@keyframes navy-orbit{to{transform:rotate(360deg)}}@keyframes navy-discovery{0%,100%{translate:0}50%{translate:300%}}
@media(max-width:600px){#scanPanel .scan-heading{font-size:23px}#scanPanel .sheet-table{font-size:12px}#scanPanel .sheet-table thead th,#scanPanel .sheet-table tbody td{padding:10px 6px}#scanPanel .sheet-table th:first-child{width:42%}#scanPanel .scan-stat b{font-size:23px}}
@media(prefers-reduced-motion:reduce){#scanPanel[data-audit-state=running] .scan-ring svg,#scanPanel[data-audit-state=running] .scan-progress-bar{animation:none}.scan-live .dot-badge i{animation:none}}



/* Keep the selected palette inside the audit window only. */
#scanPanel{--red:#2856bb;--red-dark:#183d91;--red-tint:#edf2ff;--ink:#17243d;--muted:#56627a}
#scanPanel .sheet-toolbar{background:#f4f6fa}
#scanPanel .sheet-wrap{border-color:#dce2ec;box-shadow:none}

/* Desktop audit window: 825px instead of the original 1100px. */
.audit-clock{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:normal;font-variant-numeric:tabular-nums;color:inherit;opacity:.85;white-space:nowrap}
.audit-clock:before{content:'◷';font-size:15px}
#scanPanel{max-width:825px;margin-inline:auto}
@media(max-width:900px){#scanPanel{max-width:100%;width:100%}}
/* Compact vertically without clipping translated text or reducing text size. */
#scanPanel .scan-panel{padding:18px 22px}
#scanPanel .scan-top{gap:3px;margin-bottom:10px}
#scanPanel .scan-heading{font-size:24px;line-height:1.3}
#scanPanel .scan-caption{margin:0;line-height:1.5}
#scanPanel .scan-ring,#scanPanel .scan-ring svg{width:76px;height:76px}
#scanPanel .scan-ring{margin:6px auto}
#scanPanel .scan-ring .pct{font-size:21px}
#scanPanel .scan-progress-track{margin-bottom:10px}
#scanPanel .scan-stats{gap:8px;margin-bottom:10px}
#scanPanel .scan-stat{padding:8px 6px}
#scanPanel .scan-stat b{font-size:23px;line-height:1.3}
#scanPanel .scan-live{padding:9px 12px;margin-bottom:8px}
#scanPanel .scan-step{padding:9px 12px}
#scanPanel .audit-activity{margin-top:8px;padding-top:7px}
#scanPanel .sheet-toolbar{gap:8px;padding:12px 14px;flex-wrap:wrap}
#scanPanel .sheet-toolbar h3{font-size:16px;margin:0}
#scanPanel .sheet-toolbar h2{font-size:16px;margin:0}
#scanPanel .sheet-toolbar>span{font-size:12px;flex:1 1 auto}
#scanPanel .sheet-toolbar .live-audit-action{font-size:13px;line-height:1.3;padding:9px 12px;min-height:38px;min-width:0;border-radius:8px;box-shadow:none;margin:0;flex:0 1 auto;white-space:normal}
@media(min-width:700px){#scanPanel .sheet-toolbar{flex-wrap:nowrap}}
@media(max-width:600px){#scanPanel .scan-panel{padding:16px 12px}#scanPanel .scan-heading{font-size:21px}#scanPanel .sheet-toolbar>span{flex-basis:100%}#scanPanel .sheet-toolbar .live-audit-action{flex:1 1 120px;min-height:44px}}
#scanPanel .report-html-download{display:block;background:transparent;color:#183d91;border:1px solid #a5b3ca;border-radius:6px;font:inherit;font-size:13px;padding:9px 12px;min-height:38px;margin:12px 14px;cursor:pointer}
