.qm {--ink:#122131;--muted:#405367;--line:#d1dae3;--red:#ab1535;padding-bottom:2rem}
.qm *, .qm *::before, .qm *::after {box-sizing:border-box}
.qm .qi543 {padding:clamp(1rem,2.5vw,2rem);margin:1rem 0;border-radius:16px;background:#fff;color:var(--ink);line-height:1.5;scroll-margin-top:6rem}
.qm .qi543 h2 {font-weight:800;letter-spacing:-.025em;border-left:4px solid var(--red);padding-left:.7rem}
.qm .qm-overview {border-top:5px solid var(--red)}
.qm .qm-overview h1 {font-size:clamp(1.6rem,3.3vw,2.8rem);letter-spacing:-.04em}
.qm .qm-overview h1 span {display:block;font-size:.61em;letter-spacing:-.02em}
.qm .qm-filter {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;gap:1rem;align-items:end;background:#edf2f6;padding:1rem;border-radius:10px;margin:1rem 0}
.qm .qm-filter label,.qm .qm-label {display:block;color:var(--ink);font-weight:700;margin:0 0 .3rem}
.qm .qm-fixed {display:flex;align-items:center;min-height:46px}
.qm .qm-filter button,.qm .qm-actions a {display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--red);color:#fff!important;-webkit-text-fill-color:#fff;font:inherit;font-weight:750;text-decoration:none!important;min-height:46px;padding:.65rem 1.2rem;margin:0;cursor:pointer}
.qm .qm-filter button:hover,.qm .qm-actions a:hover {background:#751030}
.qm .qm-totals {grid-template-columns:repeat(4,minmax(0,1fr))}
.qm .qm-totals strong {font-size:clamp(1.25rem,3vw,2rem);font-variant-numeric:tabular-nums}
.qm .qm-totals .qi543-item:first-child {background:#17283c;border-color:#17283c}
.qm .qm-totals .qi543-item:first-child :is(small,strong) {color:white}
.qm .qm-deltas {display:flex;flex-wrap:wrap;gap:.45rem 1.3rem;margin-bottom:0}
.qm .qm-deltas span {font-size:.9rem}
.qm .qm-brands,.qm .qm-categories {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:.75rem}
.qm .qm-brand {border-radius:12px;background:linear-gradient(115deg,rgba(0,0,0,.22),rgba(0,0,0,.54)),var(--brand);color:white;padding:1rem;min-width:0}
.qm .qm-brand :is(h3,span,strong,dt,dd) {color:white}
.qm .qm-brand-title,.qm .qm-share {display:flex;align-items:center;gap:.6rem}
.qm .qm-brand-title img,.qm .qm-mark {width:54px;height:34px;object-fit:cover;border:1px solid #ffffff78;border-radius:5px}
.qm .qm-mark {display:grid;place-items:center;background:#ffffff15;font-weight:800}
.qm .qm-brand-title h3,.qm .qm-category h3 {font-size:1.12rem;margin:0;font-weight:800}
.qm .qm-share {justify-content:space-between;margin:.7rem 0 .25rem}
.qm .qm-share strong {font-size:1.4rem;font-variant-numeric:tabular-nums}
.qm .qm-track {height:4px;background:#ffffff45;border-radius:2px;overflow:hidden}
.qm .qm-track i {display:block;height:100%;background:white}
.qm dl {display:flex;justify-content:space-between;gap:.6rem;margin:.75rem 0 0}
.qm dt {font-size:.8rem;font-weight:500}
.qm dd {margin:0;font-weight:750;font-variant-numeric:tabular-nums}
.qm .qm-category {padding:1rem;border:1px solid var(--line);border-radius:12px;background:linear-gradient(160deg,#eff4f8,#fff 70%)}
.qm .qm-category img {display:block;width:116px;height:58px;margin:0 0 .45rem}
.qm .qm-category h3 a {color:#163b5c;text-decoration:underline;text-underline-offset:3px}
.qm .qm-category > strong {font-size:1.5rem}
.qm .qm-category dl {border-top:1px solid var(--line);padding-top:.5rem;color:var(--muted)}
.qm .qi543-scroll {border:1px solid var(--line);border-radius:10px}
.qm .qi543 table {min-width:0;font-variant-numeric:tabular-nums}
.qm .qi543 thead th {color:white;background:#192d43;font-weight:650}
.qm .qi543 tbody :is(th,td) {background:#fff;color:var(--ink);border-color:#dde4eb}
.qm .qi543 tbody tr:nth-child(even) :is(th,td) {background:#eff3f7}
.qm .qi543 tbody th {white-space:normal}
.qm .qi543 tr > :not(:first-child) {text-align:right}
.qm .qm-actions {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.qm .qm-actions a {justify-content:space-between;background:#1a334c;gap:.5rem}
.qm .qm-actions a::after {content:'→';font-size:1.15rem}
.qm .qm-actions a:first-child {background:var(--red)}
@media(max-width:760px){
  .qm .qm-filter {grid-template-columns:1fr}
  .qm .qm-totals,.qm .qm-actions {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .qm .qm-brands,.qm .qm-categories {grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
  .qm .qm-category,.qm .qm-brand {padding:.7rem}
  .qm .qm-brand-title {align-items:flex-start;flex-direction:column}
  .qm .qm-share {align-items:flex-start;flex-direction:column;gap:0}
  .qm .qm-category dl,.qm .qm-brand dl {display:grid;gap:.3rem}
  .qm .qi543 table {font-size:.84rem}
  .qm .qi543 th,.qm .qi543 td {padding:.55rem .48rem}
  .qm .qi543 thead th {white-space:normal}
  .qm .qm-actions a {padding:.65rem .75rem}
}
@media(max-width:350px){.qm .qm-actions{grid-template-columns:1fr}}

.qm .qm-filter {grid-template-columns: minmax(0,1fr) minmax(0,2fr)}
.qm .qm-order {border:0;margin:0;padding:0;min-width:0;display:flex;flex-wrap:wrap;gap:.45rem}
.qm .qm-order legend {font-weight:700;color:#122131;padding:0;margin:0 0 .3rem}
.qm .qm-order button {background:#fff;border:1px solid #65798a;color:#172d43!important;-webkit-text-fill-color:#172d43}
.qm .qm-order button[aria-pressed="true"] {background:#19354a;color:#fff!important;-webkit-text-fill-color:#fff;border-color:#19354a}
.qm .qm-order button:hover {box-shadow:inset 0 0 0 2px #8a2943}
.qm .qm-brand-title {min-height:44px}
.qm .qm-brand-title .qm-logo {width:80px;height:42px;object-fit:contain;background:white;border:0;border-radius:6px;padding:5px}
.qm .qm-category .qm-bike {display:block;width:116px;height:58px;max-width:100%;margin:0 0 .45rem}
.qm .qm-return {display:inline-flex;align-items:center;min-height:44px;margin-top:.3rem}
@media(max-width:760px){.qm .qm-filter {grid-template-columns:1fr}}

.qm .qm-category .qm-example {margin:0 0 .75rem;background:white;border-radius:8px;overflow:hidden}
.qm .qm-category .qm-example img {display:block;width:100%;max-width:100%;height:clamp(110px,12vw,178px);object-fit:contain;margin:0;padding:.35rem}
.qm .qm-example figcaption {color:#405367;font-size:.82rem;line-height:1.35;padding:.3rem .55rem .55rem}
.qm .qm-type-badge {display:inline-grid;place-items:center;width:80px;height:42px;border-radius:6px;background:#fff;color:#203346!important;font-weight:800;letter-spacing:.04em}
@media(max-width:420px){.qm .qm-category .qm-example img {height:98px;padding:.2rem}.qm .qm-example figcaption{font-size:.76rem}}
