.hl-tool fieldset{border:0;margin:16px 0 8px;padding:0;min-width:0}.hl-tool legend{font-weight:700;margin-bottom:8px}.hl-modes{display:flex;background:#eaf2f3;border-radius:9px;padding:4px;gap:4px}.hl-modes label{flex:1;position:relative;margin:0;cursor:pointer;display:block}.hl-modes input{position:absolute;opacity:0;width:1px;height:1px}.hl-modes span{display:block;text-align:center;padding:12px 8px;border-radius:6px;color:#0b2637;font-weight:700}.hl-modes input:checked+span{color:white;background:#007f73}.hl-modes input:focus-visible+span{outline:2px solid #007f73;outline-offset:3px}.hl-radio{display:inline-flex!important;align-items:center;gap:8px;margin:0 18px 0 0!important}.hl-radio input{width:auto!important;accent-color:#007f73}.hl-results td{overflow-wrap:anywhere;min-width:90px}.hl-results td:first-child{min-width:170px}.hl-results h3{margin-top:24px}.hl-tool button[disabled]{opacity:.65;cursor:wait}.hl-tool button[disabled]:before{content:"";display:inline-block;width:.85em;height:.85em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:8px;animation:hl-spin .8s linear infinite}@keyframes hl-spin{to{transform:rotate(360deg)}}@media(max-width:650px){.hl-modes span{font-size:.85rem}}@media(prefers-reduced-motion:reduce){.hl-tool button[disabled]:before{animation:none}}

/* Localization score: same visual language as Lighthouse, without individual tiles. */
.hl-results .hl-summary{margin:16px 0;background:#fff;border:1px solid #dbe5e8;border-radius:9px;padding:20px;min-width:0}
.hl-results .hl-score{display:flex;align-items:center;gap:22px;min-width:0;padding-bottom:16px}
.hl-results .hl-score-ring{display:block;width:126px;height:auto;aspect-ratio:1;flex:none;max-width:100%}
.hl-results .hl-ring-track{stroke:currentColor;opacity:.14}.hl-results .hl-ring-value{stroke:currentColor;stroke-linecap:round}
.hl-results .hl-ring-number{fill:currentColor;font-size:35px;font-weight:700;font-variant-numeric:tabular-nums}.hl-results .hl-ring-caption{fill:#50616f;font-size:11px}
.hl-results .hl-score-copy{min-width:0;overflow-wrap:anywhere}.hl-results .hl-score-copy strong{display:block;color:#0b2637;font-size:1.15rem;line-height:1.3}.hl-results .hl-score-copy>span{display:block;font-size:.85rem;color:#50616f;margin-top:4px}
.hl-results .hl-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid #dbe5e8;padding-top:16px}.hl-results .hl-count{text-align:center;min-width:0}.hl-results .hl-count strong{display:block;font-size:1.55rem;font-variant-numeric:tabular-nums;color:inherit}.hl-results .hl-count span{display:block;font-size:.8rem;color:#50616f;overflow-wrap:anywhere}
.hl-results .hl-tone-pass{color:#007f73}.hl-results .hl-tone-warn{color:#a36c19}.hl-results .hl-tone-error{color:#a13630}.hl-results .hl-tone-unknown{color:#697d89}
.hl-results .hl-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){.hl-results .hl-summary{padding:14px}.hl-results .hl-score{gap:12px}.hl-results .hl-score-ring{width:104px}.hl-results .hl-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:340px){.hl-results .hl-score{flex-direction:column;text-align:center}}

/* Weighted category breakdown, independent of the number of findings per category. */
.hl-results .hl-categories{border-top:1px solid #dbe5e8;margin-top:18px;padding-top:18px}
.hl-results .hl-categories h3{margin:0 0 16px;font-size:1.05rem;color:#0b2637}
.hl-results .hl-category{margin:0 0 17px;min-width:0}
.hl-results .hl-category-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#0b2637;font-size:.95rem;line-height:1.35}
.hl-results .hl-category-label strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}
.hl-results .hl-category-track{height:8px;background:#e8eef0;border-radius:99px;margin:7px 0 4px;overflow:hidden}
.hl-results .hl-category-track span{display:block;height:100%;background:currentColor;border-radius:99px}
.hl-results .hl-category-unverified{background:repeating-linear-gradient(135deg,#e8eef0,#e8eef0 5px,#f5f7f8 5px,#f5f7f8 10px)}
.hl-results .hl-category small{display:block;color:#50616f;font-size:.78rem;line-height:1.4}
.hl-results .hl-category-note{font-size:.82rem;line-height:1.45;color:#50616f;margin:8px 0 0}

/* Language link consistency: derived from actual inspected links. */
.hl-results .hl-link-summary>h3{margin:0 0 18px;color:#0b2637}
.hl-results .hl-link-summary h4{margin:20px 0 10px;color:#0b2637}
.hl-results .hl-link-summary .hl-score{padding-bottom:0}
.hl-results .hl-link-summary .hl-ring-number{font-size:29px}
.hl-results .hl-link-summary .hl-ring-caption{font-size:10px}
.hl-results .hl-link-legend{flex:1;min-width:0;overflow-wrap:anywhere}
.hl-results .hl-link-legend-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 9px;color:#0b2637;font-size:.9rem}
.hl-results .hl-link-legend-row strong{font-variant-numeric:tabular-nums}
.hl-results .hl-link-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:currentColor;margin-right:8px}
.hl-results .hl-link-dot.hl-tone-warn{background:#d79539}
.hl-results .hl-link-legend small{display:block;color:#50616f;font-size:.78rem;margin-top:5px}
.hl-results .hl-link-summary .tablewrap{max-width:100%;overflow-x:auto}
@media(max-width:440px){.hl-results .hl-link-summary .hl-score{flex-direction:column;align-items:stretch;text-align:left}.hl-results .hl-link-summary .hl-score-ring{align-self:center;width:118px}}

/* Live server-reported stage progress; indeterminate when no denominator is known. */
.hl-tool .hl-progress[hidden]{display:none}
.hl-tool .hl-progress{margin:16px 0 0;padding:14px 16px;background:#fff;border:1px solid #dbe5e8;border-radius:8px;min-width:0}
.hl-tool .hl-progress strong,.hl-tool .hl-progress small{display:block;overflow-wrap:anywhere}
.hl-tool .hl-progress strong{color:#0b2637;font-size:.95rem}
.hl-tool .hl-progress small,.hl-results .hl-coverage small{color:#50616f;font-size:.8rem}
.hl-tool .hl-progress progress{display:block;width:100%;height:10px;margin:10px 0;accent-color:#007f73}
.hl-results .hl-coverage{border-top:1px solid #dbe5e8;margin-top:18px;padding-top:16px;color:#007f73}
