dialog:has(.report-shell){width:min(1180px,96vw);max-width:1180px;padding:26px} .report-shell{font-size:15px;line-height:1.6}.report-shell [hidden]{display:none!important}.report-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 18px;margin-bottom:20px;border-bottom:1px solid var(--line)}.report-tabs .filter{min-height:40px}.report-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.report-card{padding:18px;background:var(--surface2);border:1px solid var(--line);border-radius:12px}.report-card>span{color:var(--muted);font-size:13px}.report-card strong{display:block;font:700 24px/1.5 Manrope,sans-serif;color:var(--text);overflow-wrap:anywhere}.report-card small{display:block;color:var(--muted);font-size:12px}.report-section{margin:24px 0}.report-section>h3{font-size:18px;letter-spacing:-.2px;margin:0 0 10px}.report-description,.report-empty{color:var(--muted);font-size:14px;margin:8px 0 14px}.report-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.report-list{padding-left:20px;line-height:1.9;color:var(--muted)}.report-shell h4{font-size:14px;margin:12px 0 8px}.report-shell .detail-table{margin:12px 0;table-layout:auto;line-height:1.6}.report-shell .detail-table td{max-width:340px;white-space:normal;vertical-align:top}.report-shell .detail-table th{background:var(--surface2);font-size:12px;text-transform:uppercase;letter-spacing:.03em}.report-shell .table-scroll{border:1px solid var(--line);border-radius:10px;max-height:600px;overflow:auto}.report-shell .detail-table thead{position:sticky;top:0;z-index:1}.report-audit{border:1px solid var(--line);border-radius:10px;padding:16px;margin:10px 0;background:var(--surface)}.report-audit>summary{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;cursor:pointer;font-weight:600}.report-audit>summary>span:first-child:before{content:'＋';color:var(--blue);margin-right:8px}.report-audit[open]>summary>span:first-child:before{content:'−'}.report-audit summary small{display:block;color:var(--muted);font-weight:400;font-size:12px;margin-left:22px}.report-audit>p{margin:14px 0;overflow-wrap:anywhere;color:var(--muted)}.report-audit .badge{flex-shrink:0}.report-audit-value,.report-savings{font-weight:650;color:var(--blue)!important}.report-filter{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:14px;margin-top:18px}.report-filter label{font-size:13px}.report-filter input,.report-filter select{font-size:14px}.evidence-values{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,3fr);gap:4px 14px;padding:10px 0;font-size:13px}.evidence-values dt{color:var(--muted);font-weight:600}.evidence-values dd{margin:0;overflow-wrap:anywhere}.evidence-item{border-top:1px solid var(--line);padding:8px 0}.report-audit code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.waterfall-track{width:180px;height:16px;background:var(--surface2);border-radius:4px;overflow:hidden}.waterfall-track span{display:block;height:100%;background:var(--blue);border-radius:3px;min-width:1px}.report-filmstrip{display:flex;gap:12px;overflow-x:auto;padding:12px;background:var(--surface2);border-radius:10px}.report-filmstrip figure{margin:0;flex:0 0 105px}.report-filmstrip img{width:105px;height:150px;object-fit:contain;object-position:top;background:white;border:1px solid var(--line);border-radius:6px}.report-filmstrip figcaption{text-align:center;font-size:12px;color:var(--muted)}.report-screenshot{display:block;width:auto;max-width:100%;max-height:620px;border:1px solid var(--line);border-radius:10px}.report-chart{margin:0;border:1px solid var(--line);border-radius:12px;padding:15px}.report-chart figcaption{font-weight:600;font-size:14px}.report-chart svg{width:100%;display:block}.report-chart line{stroke:var(--line)}.report-chart text{fill:var(--muted);font-size:12px}.report-chart polyline{fill:none;stroke:var(--blue);stroke-width:2.5;stroke-linejoin:round}.histogram-row{display:grid;grid-template-columns:115px 1fr 65px;gap:12px;align-items:center;font-size:13px;margin:10px 0}.histogram-row>div{height:14px;background:var(--surface2);border-radius:4px;overflow:hidden}.histogram-row i{display:block;height:100%;background:var(--blue)}.histogram-row strong{text-align:right}.report-shell .notice{display:block}.report-shell+.dialog-actions{flex-wrap:wrap}@media(max-width:700px){dialog:has(.report-shell){padding:18px}.report-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-card{padding:12px}.report-card strong{font-size:21px}.report-columns,.report-filter{grid-template-columns:1fr}.report-tabs{gap:6px}.report-tabs .filter{font-size:13px;padding:7px 9px}.report-audit{padding:12px}.report-audit>summary{gap:8px;font-size:14px}.report-audit .badge{font-size:11px}.report-filter{gap:0}.report-shell .detail-table{min-width:540px}.report-shell .report-section>.table-scroll{max-height:440px}}

.speed-grade{display:flex;gap:24px;align-items:center;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);margin-bottom:24px}.speed-grade h2{color:var(--grade);margin:0 0 8px}.speed-grade p,.speed-grade small{color:var(--muted)}.grade-ring{flex:0 0 100px;width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--grade) var(--score),var(--line) 0)}.grade-ring strong{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;background:var(--surface);font-size:31px;color:var(--grade)}.transfer-bars{display:grid;gap:14px}.transfer-bars span{display:block;font-size:14px;margin-bottom:5px}.transfer-bars progress{width:100%;height:14px;accent-color:var(--blue)}.report-card,.report-chart{animation:report-appear .4s ease both}@keyframes report-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.report-card,.report-chart{animation:none}}@media(max-width:500px){.speed-grade{align-items:flex-start;gap:15px;padding:16px}.grade-ring{flex-basis:75px;width:75px;height:75px}.grade-ring strong{width:61px;height:61px;font-size:25px}}

@media print{.report-card,.report-chart{animation:none}.report-shell .table-scroll{max-height:none;overflow:visible}.report-shell .detail-table thead{position:static}}

.metric-bars{display:grid;gap:18px}.metric-bar>div{display:flex;justify-content:space-between;gap:20px}.metric-bar progress{display:block;width:100%;height:12px;margin:8px 0;accent-color:#1769aa}.metric-bar small{color:var(--muted)}.assessment{display:flex;align-items:center;gap:24px;padding:28px;border:1px solid var(--line);border-radius:18px;margin:20px 0;background:var(--surface)}.assessment h2{margin:4px 0}.assessment-orb{display:grid;place-items:center;flex-shrink:0;width:74px;height:74px;border-radius:50%;background:#e0f6ec;color:#137b52;font-size:35px}.assessment.attention .assessment-orb{background:#fff0d7;color:#9b6000}.locked-report{border:1px dashed #8a91b2;background:var(--surface);padding:20px;border-radius:14px;margin:20px 0}.next-action{padding:14px 0;border-bottom:1px solid var(--line)}.live-metrics{background:var(--surface);padding:16px;border-radius:12px;font-variant-numeric:tabular-nums}.report-chart polyline{stroke-linecap:round;stroke-linejoin:round}
@media(prefers-reduced-motion:no-preference){.grade-ring,.assessment-orb{animation:grade-arrive .65s ease-out both}.report-chart polyline{stroke-dasharray:1400;stroke-dashoffset:1400;animation:draw-chart 1.2s ease-out forwards}.metric-bar{animation:grade-arrive .5s ease-out both}@keyframes grade-arrive{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes draw-chart{to{stroke-dashoffset:0}}}

.mobile-preview img{max-width:390px!important;margin:auto;display:block}.report-card h4{margin:12px 0}.sample-switch{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.sample-report-host{margin-top:24px}.sample-report-host .report-shell{max-width:100%}

.report-hero{display:flex;gap:28px;align-items:center;padding:20px 0}.report-hero>div{flex:1}.report-hero figure{width:32%;margin:0;flex-shrink:0}.report-hero img{display:block;width:100%;max-height:280px;object-fit:contain;object-position:top;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.report-hero figcaption{font-size:13px;color:var(--muted);margin-top:8px}.report-hero .speed-grade{margin:0}@media(max-width:650px){.report-hero{display:block}.report-hero figure{width:100%;margin-bottom:20px}.report-hero img{max-height:230px}}
/* Unified report layout. */
.service-main:has(.report-v2){max-width:1560px;width:calc(100% - 64px)}
.report-v2{font-size:16px;line-height:1.7}.v2-heading{display:flex;align-items:start;justify-content:space-between;gap:24px;padding:34px 0 30px;border-top:1px solid var(--line)}.v2-heading h2{font-size:31px;letter-spacing:-1px;margin:10px 0}.v2-heading p{color:var(--muted);max-width:720px;margin:0}.v2-tier{padding:8px 15px;border:1px solid var(--line);border-radius:30px;white-space:nowrap;color:var(--blue);font-size:13px;font-weight:700;background:var(--surface)}.v2-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px}.report-v2 .report-tabs{display:flex;flex-direction:column;gap:5px;align-self:start;position:sticky;top:20px;border:1px solid var(--line);border-radius:18px;padding:18px 12px;background:var(--surface)}.report-v2 .report-tabs>.eyebrow{font-size:11px;padding:8px 12px 14px}.report-v2 .report-tabs button{display:flex;align-items:center;gap:12px;text-align:left;white-space:normal;min-height:48px;border:0;background:transparent;font-size:14px;padding:12px;border-radius:10px}.report-v2 .report-tabs button span{font-size:12px;opacity:.6}.report-v2 .report-tabs button.active{background:var(--blue);color:#fff}.v2-help{font-size:13px;padding:18px 12px 2px;border-top:1px solid var(--line);margin-top:12px}.v2-content{min-width:0}.report-v2 .report-section{margin:0 0 24px;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.report-v2 .report-section>h3{font-size:22px;margin-bottom:14px}.report-v2 .report-card-grid{gap:14px}.report-v2 .report-card{padding:22px 18px;background:var(--surface);border-radius:16px;box-shadow:0 4px 14px #17244805}.report-v2 .report-card strong{font-size:29px;margin:8px 0}.report-v2 .report-card>span{font-size:13px}.report-v2 .report-description{font-size:15px;line-height:1.8}.report-v2 .report-hero{padding:0 0 24px;align-items:stretch}.report-v2 .report-hero figure{width:30%;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:18px}.report-v2 .report-hero img{height:240px;border:0}.report-v2 .speed-grade{height:auto;min-height:180px;border-radius:18px}.report-v2 .detail-table{font-size:14px}.report-v2 .detail-table td{padding:16px 14px}.report-v2 .report-audit{padding:22px;border-radius:12px}.report-v2 .report-audit summary{font-size:16px}.report-v2 .report-audit summary small{font-size:13px}.report-v2 .report-filmstrip figure{flex-basis:145px}.report-v2 .report-filmstrip img{width:145px;height:210px}.report-v2 .report-chart{padding:22px;border-radius:16px}.report-v2 .report-chart figcaption{font-size:17px}.report-v2 .report-shell h4{font-size:16px}.v2-lock{border:1px dashed var(--blue);border-radius:14px;padding:18px 22px;margin-bottom:24px;font-size:14px;background:var(--surface)}.v2-lock p{margin:4px 0;color:var(--muted)}.fix-card{border:1px solid var(--line);border-radius:14px;margin:22px 0;overflow:hidden}.fix-card header{display:flex;gap:18px;align-items:center;padding:24px;background:var(--surface2)}.fix-number{font-size:26px;color:var(--blue);font-weight:700}.fix-card h3{margin:3px 0;font-size:19px}.fix-card small{color:var(--muted)}.fix-observation{padding:20px 24px;border-bottom:1px solid var(--line)}.fix-observation p{margin:6px 0;overflow-wrap:anywhere}.fix-columns{display:grid;grid-template-columns:1fr 1.4fr;gap:28px;padding:24px}.fix-columns h4{font-size:16px;margin:0 0 10px}.fix-columns p,.fix-columns ol{margin:0;color:var(--muted)}.fix-columns ol{padding-left:20px}.fix-columns li+li{margin-top:10px}.fix-card footer{padding:20px 24px;background:var(--surface2);border-top:1px solid var(--line)}.fix-card footer p{margin:5px 0;color:var(--muted)}.report-version{color:var(--muted);font-size:13px}.report-v2 .waterfall-track{width:220px}.report-v2 button:focus-visible,.report-v2 a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(min-width:1600px){.report-v2 .report-card strong{font-size:35px}}
@media(max-width:1100px){.v2-workspace{grid-template-columns:190px minmax(0,1fr);gap:20px}.report-v2 .report-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-v2 .report-section{padding:20px}.v2-heading{display:block}.v2-tier{display:inline-block;margin-top:16px}}
@media(max-width:760px){.service-main:has(.report-v2){width:calc(100% - 28px)}.v2-workspace{display:block}.report-v2 .report-tabs{position:static;flex-direction:row;overflow:auto;flex-wrap:nowrap;padding:8px;border-radius:12px}.report-v2 .report-tabs button{white-space:nowrap;flex-shrink:0;font-size:13px}.report-v2 .report-tabs>.eyebrow,.report-v2 .v2-help{display:none}.v2-heading h2{font-size:26px}.v2-heading{padding-top:22px}.report-v2 .report-card{padding:16px}.report-v2 .report-card strong{font-size:25px}.report-v2 .report-section{padding:18px}.fix-columns{grid-template-columns:1fr;gap:16px;padding:18px}.fix-card header,.fix-observation,.fix-card footer{padding:18px}.report-v2 .report-hero{display:block}.report-v2 .report-hero figure{width:100%;margin-bottom:16px}.report-v2 .report-tabs button span{display:none}}
@media print{.v2-workspace{display:block}.report-v2 .report-tabs,.v2-lock,.report-version{display:none}.report-v2 .report-tab-panel[hidden]{display:block!important}.report-v2 .report-section{break-inside:auto}.fix-card{break-inside:avoid}.service-main:has(.report-v2){width:100%}}
.quality-grades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quality-grade{padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface);min-width:0}.quality-label{font-weight:750;font-size:17px}.quality-label span{display:block;font-size:12px;color:var(--grade);font-weight:600;margin-top:3px}.quality-value{display:flex;align-items:center;gap:18px;margin:18px 0;color:var(--grade)}.quality-value>strong{font-size:45px;line-height:1;width:68px;height:76px;border:1px solid var(--grade);border-radius:16px;display:grid;place-items:center;background:var(--surface2)}.quality-value>div{font-size:37px;font-weight:750;line-height:1.1}.quality-value small{display:block;color:var(--muted);font-size:13px;font-weight:500;margin-top:7px}.quality-meter{height:6px;border-radius:8px;background:var(--line);overflow:hidden}.quality-meter i{display:block;height:100%;background:var(--grade);border-radius:8px}.quality-grade p{font-size:12px;color:var(--muted);margin:12px 0 0}.grade-method{font-size:13px;color:var(--muted);margin:16px 0}.grade-method summary{cursor:pointer;color:var(--text);font-weight:600}.priority-shortlist{padding-left:24px}.priority-shortlist li{padding:8px 0;border-bottom:1px solid var(--line)}.fix-card>.filter{margin:16px 0}.quality-grades{animation:report-appear .4s ease both}@media(prefers-reduced-motion:reduce){.quality-grades{animation:none}}@media(max-width:760px){.report-hero{display:block}.report-hero figure{width:100%;margin-bottom:20px}.quality-grade{padding:16px}.quality-value{gap:12px}.quality-value>strong{width:52px;height:62px;font-size:33px}.quality-value>div{font-size:29px}}@media(max-width:380px){.quality-grades{grid-template-columns:1fr}}

.report-shell.report-v2 .v2-heading h2{font-size:26px}.report-shell.report-v2 .report-card strong{font-size:26px}.report-shell.report-v2 .v2-heading{padding-top:22px}.sample-report-host .report-section>h3{font-size:20px}
@media(max-width:760px){.report-shell.report-v2 .report-tabs{padding:8px;gap:6px}.report-shell.report-v2 .report-tabs button{font-size:13px;padding:8px 10px}.report-shell.report-v2 .report-card strong{font-size:21px}.report-shell.report-v2 .report-section{padding:18px}.report-shell.report-v2 .report-card{padding:15px 12px}.report-shell.report-v2 .v2-heading h2{font-size:24px}.report-shell.report-v2 .report-hero{display:block}.report-shell.report-v2 .report-hero figure{width:100%;margin-bottom:18px}.report-shell.report-v2 .v2-heading{flex-wrap:wrap}}

.report-v2 .report-filmstrip figure{flex-basis:145px}.report-v2 .report-filmstrip img{width:145px;height:auto;max-height:none;object-fit:contain}.report-v2 .desktop-filmstrip figure{flex-basis:260px}.report-v2 .desktop-filmstrip img{width:260px;height:auto}.report-v2 .report-hero img{height:auto;max-height:300px;object-fit:contain}.report-v2 .report-hero figure{align-self:start}.report-screenshot{height:auto;object-fit:contain}

.browser-preview-stage{position:relative;margin:20px auto;background:var(--surface2);border:1px solid var(--line);border-radius:14px;overflow:hidden;width:100%}.browser-preview-stage img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain}.browser-preview-stage [hidden]{display:none!important}.mobile-preview .browser-preview-stage{max-width:340px}.browser-scan{min-height:280px;position:relative;overflow:hidden}.mobile-preview .browser-scan{min-height:430px}.scan-browserbar{display:flex;align-items:center;gap:5px;padding:14px;border-bottom:1px solid var(--line);background:var(--surface)}.scan-browserbar i{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.4}.scan-browserbar span{margin-left:12px;font-size:13px;color:var(--muted)}.scan-content{padding:30px}.scan-skeleton-title,.scan-skeleton-line,.scan-skeleton-grid i{display:block;background:var(--line);border-radius:7px}.scan-skeleton-title{width:55%;height:22px;margin-bottom:18px}.scan-skeleton-line{width:90%;height:10px;margin-bottom:10px}.scan-skeleton-line.short{width:65%}.scan-skeleton-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}.scan-skeleton-grid i{height:80px}.mobile-preview .scan-skeleton-grid{grid-template-columns:1fr}.mobile-preview .scan-skeleton-grid i{height:42px}.browser-scan>p{padding:0 20px 22px;text-align:center;color:var(--muted);font-size:13px}.scan-sweep{display:none;position:absolute;inset:45px 0 auto;height:50px;background:linear-gradient(transparent,color-mix(in srgb,var(--blue) 12%,transparent));border-bottom:2px solid var(--blue);pointer-events:none}.is-scanning .scan-sweep{display:block;animation:browser-scan 2.8s ease-in-out infinite}@keyframes browser-scan{0%,100%{top:45px;opacity:.3}50%{top:75%;opacity:1}}@media(prefers-reduced-motion:reduce){.is-scanning .scan-sweep{animation:none;top:50%}}

.browser-preview-stage .scan-image-sweep{display:none}.browser-preview-stage.is-scanning:has(#preview-image:not([hidden]))>.scan-image-sweep{display:block}
.score-contributions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.score-contribution{min-width:0;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--surface)}.score-contribution>div:first-child{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.score-contribution span,.score-contribution small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.score-contribution p{font-size:14px;margin:8px 0}.contribution-track{height:8px;background:var(--line);border-radius:6px;overflow:hidden;margin-top:14px}.contribution-track i{display:block;height:100%;background:var(--blue,#1677ca)}.score-total{color:var(--muted);font-size:13px}.score-total strong{color:var(--text)}@media(max-width:1100px){.score-contributions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.score-contributions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:340px){.score-contributions{grid-template-columns:1fr}}
.report-shell,.report-hero>div,.v2-workspace,.v2-workspace>*,.report-tab-panel,.report-section{min-width:0;max-width:100%}.report-shell .table-scroll{max-width:100%;overflow-x:auto}.report-shell .detail-table td{overflow-wrap:anywhere;white-space:normal}.report-shell .report-audit p,.report-shell .grade-method p{overflow-wrap:anywhere}.coverage-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.coverage-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.coverage-card h4{margin:0 0 10px}.coverage-card p{font-size:14px}.coverage-card details{margin-top:12px}.coverage-card summary{cursor:pointer;font-weight:600}@media(max-width:650px){.coverage-cards{grid-template-columns:1fr}}

#repeat-dialog .device-options{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}#repeat-dialog .device-options label{min-width:0;overflow-wrap:anywhere}#repeat-dialog .device-options input{flex-shrink:0}@media(max-width:420px){#repeat-dialog{padding:18px}#repeat-dialog .device-options{grid-template-columns:1fr;gap:10px}#repeat-dialog .device-options label{padding:14px}#repeat-dialog .dialog-top{top:-18px}}
html[data-theme=dark] .report-shell .quality-grade .quality-label span,html[data-theme=dark] .report-shell .quality-grade .quality-value{color:color-mix(in srgb,var(--grade) 55%,white)}
html[data-theme=dark] .report-shell.report-v2 .report-tabs button[aria-pressed=true]{border-color:var(--blue);box-shadow:inset 3px 0 var(--blue);font-weight:700}
