/* Local-only refinement. Production bundles and data matching are unchanged. */
:root{--qr-ink:#1c2024;--qr-muted:#60646c;--qr-line:#d9e2f0;--qr-blue:#113264;--qr-tint:#e6f4fe;--qr-surface:#fbfdff}
html body .result-page{color:var(--qr-ink);font-size:14px;padding:16px 12px 88px!important;background:radial-gradient(ellipse at 100% 0%,#e6f4fe 0,transparent 45%),#f7f9fc!important;min-height:100dvh}
.result-page *{box-sizing:border-box}
html body .result-page{box-sizing:border-box!important;width:100%!important;max-width:100%!important}
html body .result-page .hero-stat-grid{display:none!important}
html body .result-page .ios-shell{width:100%;max-width:1060px;padding:0;margin:0 auto}
html body .result-page .hero-card{display:grid;grid-template-columns:1fr auto;gap:12px;padding:0 4px 16px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
html body .result-page .lz-query-brand--result{margin:0!important;padding:0!important;align-self:center}
html body .result-page .lz-brand__logo{width:32px!important;height:32px!important}
html body .result-page .lz-brand__copy strong{font-size:14px!important}
html body .result-page .lz-brand__copy small{font-size:12px!important;color:var(--qr-muted)}
html body .result-page .hero-card__top{margin:0!important;gap:8px!important;align-items:center}
html body .result-page .hero-card__body{grid-column:1/-1;margin:0!important;display:block!important}
html body .result-page .hero-copy h1{font-size:24px!important;line-height:1.4!important;margin:0 0 8px!important;letter-spacing:0!important}
html body .result-page .hero-copy>p{display:none!important}
html body .result-page .grade-switch-hint{padding:0!important;margin:0 0 8px!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:12px!important;color:var(--qr-muted)!important;line-height:1.5!important}
html body .result-page .hero-grade-strip{display:flex!important;gap:8px!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important;border:0!important;min-height:44px}
html body .result-page .hero-grade-chip{flex:0 1 auto!important;min-width:80px;min-height:44px!important;padding:8px 16px!important;border:0.5px solid var(--qr-line)!important;border-radius:8px!important;font-size:14px!important;background:var(--qr-surface)!important}
html body .result-page .hero-grade-chip.active{background:var(--qr-tint)!important;color:var(--qr-blue)!important;border-color:#8ec8f6!important;box-shadow:none!important}
html body .result-page .hero-grade-strip::before{display:none!important}
html body .result-page .back-button,html body .result-page .qr-export>summary{min-height:44px!important;min-width:44px;padding:10px!important;background:var(--qr-surface)!important;border:0.5px solid var(--qr-line)!important;border-radius:8px!important;font-size:12px!important;box-shadow:none!important;cursor:pointer;list-style:none}
.qr-export{position:relative}.qr-export>summary::-webkit-details-marker{display:none}
.qr-export[open]>.hero-action-group{position:absolute;right:0;top:50px;z-index:40;display:flex!important;flex-direction:column;gap:8px;padding:8px;background:var(--qr-surface);border:0.5px solid var(--qr-line);border-radius:12px;box-shadow:0 10px 32px #1c202420}
.qr-export:not([open])>.hero-action-group{display:none!important}
html body .result-page .hero-action-group button{min-height:44px!important;min-width:88px!important;margin:0!important;font-size:14px!important}
html body .result-page .result-stage{padding:16px 12px!important;margin:0!important;background:var(--qr-surface)!important;border:0.5px solid var(--qr-line)!important;border-radius:16px!important;box-shadow:none!important;overflow:visible!important}
html body .result-page .section-headline--result{margin:0 0 12px!important;padding:0!important;gap:12px!important}
html body .result-page .section-headline--result h2{font-size:16px!important;line-height:1.5!important}
html body .result-page .section-headline--result p{font-size:12px!important;color:var(--qr-muted)!important}
html body .result-page .result-view-switch{padding:3px!important;min-height:44px!important;background:#f0f4fa!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
html body .result-page .result-view-chip{font-size:14px!important;min-height:44px!important;border-radius:8px!important}
html body .result-page .result-sort-bar{padding:0!important;margin:0 0 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body .result-page .result-toolbar{padding:0!important;gap:8px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body .result-page .keyword-input .el-input__inner{height:44px!important;border:0.5px solid var(--qr-line)!important;border-radius:8px!important;font-size:16px!important;background:var(--qr-surface)!important}
html body .result-page .dock-group--result{gap:8px!important}
html body .result-page .result-sort-control{padding:0!important;background:transparent!important;gap:8px!important;border:0!important;box-shadow:none!important}
html body .result-page .result-sort-control::before{display:none!important}
html body .result-page .segment-chip--soft{font-size:14px!important;min-height:44px!important;border-radius:8px!important;box-shadow:none!important}
html body .result-page .segment-chip--soft.active{background:var(--qr-tint)!important;color:var(--qr-blue)!important}
html body .result-page .query-filter-summary{padding:8px 0!important;margin:0 0 8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body .result-page .query-filter-summary__scope,html body .result-page .query-filter-summary__note{display:none!important}
html body .result-page .query-filter-summary__values{gap:8px!important}
html body .result-page .query-filter-summary__values>div{display:flex!important;flex-direction:column!important;gap:3px!important}
html body .result-page .query-filter-summary__values span{font-size:12px!important;color:var(--qr-muted)!important}
html body .result-page .query-filter-summary__values strong{font-size:16px!important;color:var(--qr-ink)!important}
html body .result-page .history-list-note{padding:8px 0!important;margin:0!important;font-size:12px!important;gap:8px}
html body .result-page .history-list-note small{font-size:12px!important;color:var(--qr-muted)!important}
html body .result-page .history-school-card{padding:12px 8px!important;margin:0!important;min-height:76px!important;border:0!important;border-bottom:0.5px solid var(--qr-line)!important;border-radius:0!important;box-shadow:none!important;background:var(--qr-surface)!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1.65fr)!important;gap:8px!important}
html body .result-page .history-school-card:nth-of-type(even){background:#f7f9fc!important}
html body .result-page .history-school-card__head h3{font-size:14px!important;line-height:1.5!important;color:var(--qr-ink)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body .result-page .history-school-card__head p{font-size:12px!important;line-height:1.5!important;margin-top:4px!important;color:var(--qr-muted)!important;white-space:normal!important}
html body .result-page .history-score-strip{gap:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body .result-page .history-score-cell{padding:0 2px!important;min-width:0!important}
html body .result-page .history-score-cell strong{font-size:16px!important;font-weight:600!important;font-variant-numeric:tabular-nums;color:var(--qr-muted)!important}
html body .result-page .history-score-cell--current strong{font-weight:750!important;color:var(--qr-blue)!important}
html body .result-page .history-score-cell strong.history-score-missing{font-size:12px!important;font-weight:400!important;color:var(--qr-muted)!important;white-space:normal!important;word-break:normal!important}
html body .result-page .compact-table-header{position:sticky!important;top:0!important;z-index:10;background:#edf2fa!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1.65fr)!important;padding:12px 8px!important;gap:8px!important;border-radius:8px 8px 0 0!important;font-size:12px!important;color:var(--qr-muted)!important}
html body .result-page .compact-row-trigger{border-radius:0!important}
html body .result-page .mobile-action-bar{padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;border:0.5px solid var(--qr-line)!important;border-radius:16px!important;background:#fbfdfff2!important;backdrop-filter:blur(16px)!important;box-shadow:0 6px 24px #1c202412!important;bottom:8px!important}
html body .result-page .mobile-action-bar button{font-size:14px!important;min-height:44px!important}
html body .result-page .trust-footer{font-size:12px!important}
html body .result-page :focus-visible{outline:2px solid var(--qr-blue)!important;outline-offset:3px!important}
html body .result-page .query-segment-track::before{transition:none!important}
html body .result-page .query-history-dialog{border-radius:16px!important;background:var(--qr-surface)!important}
.qr-list-disclaimer{font-size:12px;line-height:1.6;color:var(--qr-muted);padding:12px 0 0;margin:0}
html body .result-page .grade-switch-hint i{display:none!important}
html body .result-page .history-school-card__head{margin:0!important;padding-right:8px!important}
html body .result-page .history-school-card{min-height:72px!important;gap:0!important}
html body .result-page .compact-list-heading{position:sticky!important;top:0!important;z-index:10;display:grid!important;grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,.55fr))!important;gap:0!important;padding:12px 8px!important;background:#edf2fa!important;border:0.5px solid var(--qr-line)!important;border-radius:8px 8px 0 0!important;font-size:12px!important;line-height:1.5!important;color:var(--qr-muted)!important}
html body .result-page .compact-list-heading span{text-align:center}
html body .result-page .compact-list-heading .compact-heading-label{text-align:left}
html body .result-page .compact-list-heading .compact-heading-current{color:var(--qr-blue)!important}
html body .result-page .result-sort-bar{position:static!important}
html body .result-page .query-filter-summary__note.qr-incomplete{display:block!important;font-size:12px!important;margin-top:8px;color:var(--qr-muted)}
html body .result-page.qr-single-category .hero-copy{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 8px}
html body .result-page.qr-single-category .hero-copy h1{grid-column:1/-1}
html body .result-page.qr-single-category .grade-switch-hint{margin:0!important}
html body .result-page.qr-single-category .hero-grade-strip{width:auto!important;grid-column:2}
html body .result-page .section-headline--result{flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important}
html body .result-page .section-headline--result>div:first-child{display:block!important}
html body .result-page .result-view-switch{width:auto!important;flex:0 0 auto!important;margin-left:auto!important}
html body .result-page .result-view-chip{padding:0 12px!important;flex:0 0 auto!important}
html body .result-page .query-filter-summary__values>div{flex-direction:column!important;align-items:baseline;gap:4px!important}
html body .result-page .history-school-card{cursor:default!important}
html body .result-page .history-school-card>.history-card-meta{display:flex!important;grid-column:1/-1!important;justify-content:space-between!important;align-items:baseline;flex-wrap:wrap;gap:4px 12px!important;margin:8px 0 0!important;padding:0!important;font-size:12px!important;line-height:1.5!important;color:var(--qr-muted)!important}
html body .result-page .history-card-meta>span:last-child{order:-1}
html body .result-page .query-history-open,html body .result-page .history-row-details,html body .result-page .query-history-desktop{display:none!important}
html body .query-history-dialog{border:0.5px solid var(--qr-line)!important;background:var(--qr-surface)!important;border-radius:16px!important;color:var(--qr-ink);font-size:14px}
html body .query-history-dialog__head{padding:16px!important;border-bottom:0.5px solid var(--qr-line)!important;gap:12px!important}
html body .query-history-dialog__head h2{font-size:16px!important;line-height:1.6!important}
html body .query-history-dialog__head p{font-size:12px!important}
html body .query-history-dialog__body{padding:16px!important}
html body .query-history-close{min-width:56px!important;min-height:44px!important;font-size:14px!important;border-radius:8px!important}
html body .query-history-dialog .history-detail-year{border:0.5px solid var(--qr-line)!important;border-radius:8px!important;padding:12px!important;margin-bottom:12px!important}
html body .query-history-dialog .history-detail-year__head strong{font-size:16px!important}
html body .query-history-dialog .history-full-line code{font-size:14px!important;font-variant-numeric:tabular-nums}
html body .query-history-dialog .history-source-note,html body .query-history-dialog .history-empty-note{font-size:12px!important;line-height:1.7!important}
.qr-detail-meta{font-size:14px;line-height:1.7;color:var(--qr-ink);padding:12px;background:var(--qr-tint);border-radius:8px;margin:0 0 16px}
@media(min-width:760px){html body .query-history-dialog{width:480px!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:16px 16px 16px auto!important;inset:0!important}}
@media(min-width:769px){html body .result-page .compact-list-heading{display:none!important}}
@media(min-width:760px){html body .result-page .hero-card{padding-top:8px!important}html body .result-page .result-toolbar{display:grid!important;grid-template-columns:1fr 1fr!important}.dock-search-row--result{order:0!important}.dock-group--result{order:1!important}html body .result-page .result-stage{padding:20px!important}}
@media(max-width:380px){html body .result-page{padding-left:8px!important;padding-right:8px!important}html body .result-page .result-stage{padding-left:8px!important;padding-right:8px!important}.lz-brand__copy small{display:none!important}}
@media(prefers-reduced-motion:reduce){html body .result-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
