.qw-case { padding-block:clamp(52px,7vw,100px); color:#22251f; background:#f6f5f0; }
.qw-heading { display:flex; justify-content:space-between; align-items:end; gap:1rem 2rem; margin-bottom:30px; }
.qw-heading h2 { font-size:clamp(2rem,4.1vw,4.3rem); font-weight:750; line-height:1.13; letter-spacing:-.055em; margin-top:.25em; }
.qw-heading > p { max-width:21em; color:#52564b; line-height:1.65; }
.qw-bench { border:1px solid #b9bdb1; background:#fbfaf6; }
.qw-bar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; border-bottom:1px solid #c7cabe; }
.qw-note { color:#565b50; font-size:.78rem; margin:9px 18px; }
.qw-tabs { display:flex; }
.qw-tabs button { appearance:none; border:0; border-right:1px solid #babeb2; background:transparent; padding:9px clamp(13px,2vw,27px); min-height:46px; cursor:pointer; font-weight:650; }
.qw-tabs button[aria-pressed="true"] { color:#fff; background:#252821; }
.qw-tabs button:focus-visible { position:relative; z-index:1; outline:2px solid #7f8c72; outline-offset:-4px; }
.qw-panel { display:grid; grid-template-columns:1.12fr 1fr; }
.qw-input,.qw-readout { min-width:0; padding:clamp(18px,3.5vw,50px); }
.qw-input h3 { font-size:clamp(1.3rem,2.4vw,2.15rem); line-height:1.32; letter-spacing:-.035em; }
.qw-input > p { margin-top:.65em; font-size:.96rem; color:#53584e; }
.qw-fields { margin:26px 0 0; padding:0; border:0; }
.qw-control + .qw-control { margin-top:13px; }
.qw-control > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; font-size:.9rem; }
.qw-control strong { font-variant-numeric:tabular-nums; }
.qw-control input { display:block; width:100%; height:28px; margin:0; cursor:pointer; accent-color:#30382a; }
.qw-control input:focus-visible { outline:2px solid #47573c; outline-offset:1px; }
.qw-readout { background:#242820; color:#f5f5ed; display:flex; flex-direction:column; justify-content:center; }
.qw-read-label { font-size:.9rem; color:#d6d9ce; }
.qw-number { display:flex; align-items:baseline; gap:10px; margin-block:10px 16px; }
.qw-number strong { font:600 clamp(3.5rem,6.7vw,6.5rem)/1 var(--mono,monospace); letter-spacing:-.075em; }
.qw-number span { color:#d0d4c6; }
.qw-track { height:5px; background:#565c4d; }
.qw-track i { display:block; height:100%; background:#e6e9de; transition:width 160ms ease-out; }
.qw-conclusion { margin-top:14px; font-size:clamp(.94rem,1.5vw,1.18rem); }
.qw-source { padding:0 clamp(16px,2vw,30px); border-top:1px solid #c7cabe; }
.qw-source summary { cursor:pointer; padding-block:12px; font-size:.86rem; }
.qw-source p { margin-bottom:18px; max-width:70ch; color:#53584e; font-size:.89rem; }
@media(max-width:720px) {
  .qw-heading { display:block; margin-bottom:20px; }
  .qw-heading > p { margin-top:11px; }
  .qw-panel { grid-template-columns:1fr; }
  .qw-fields { margin-top:16px; }
  .qw-input,.qw-readout { padding:20px; }
}
@media(max-width:420px) {
  .qw-note { margin:6px 10px; font-size:.69rem; }
  .qw-tabs button { padding-inline:10px; font-size:.87rem; }
}
@media(prefers-reduced-motion:reduce) { .qw-track i { transition:none; } }
