/* Narrow screens use their own composition rather than shrinking a desktop slide. */
@media (max-width:900px){
 .qcp-explainer-section>.container{padding-inline:16px}
 .qcp-explainer{padding:16px 14px 14px;border-radius:16px}
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-story-heading{height:78px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:32px 34px;gap:12px 10px;transform:none}
 .qcp-story-copy{grid-column:1/-1;grid-row:1}
 .qcp-explainer .qcp-story-copy h2{font-size:20px;line-height:1.25;text-wrap:balance}
 .qcp-step-arrow{min-width:100px;height:34px;gap:8px;padding:0 12px;font-size:12px}
 .qcp-story-heading .qcp-loop-strip{grid-column:1/-1;grid-row:1;height:32px;font-size:13px;gap:10px;white-space:nowrap}
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-stage{height:440px;margin-top:14px}
 .qcp-stage-content{gap:12px}
 .qcp-stage[data-chapter="0"] .qcp-stage-content{grid-template-rows:74px minmax(0,1fr) 116px;gap:12px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px}
 .qcp-stage[data-chapter="0"] .qcp-select-prompt{font-size:15px;line-height:22px;min-height:22px;margin:0}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button{height:44px;border-radius:8px;gap:5px;padding:0 6px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button strong{font-size:13px;line-height:1.2}
 .qcp-stage[data-chapter="0"] .qcp-token-flow{height:116px;display:flex;align-items:center;justify-content:center}
 .qcp-token-flow .qcp-conditioning-mobile{max-width:390px;height:116px}
 .qcp-stage[data-chapter="1"] .qcp-stage-content,.qcp-stage[data-chapter="2"] .qcp-stage-content{grid-template-columns:minmax(0,1fr);grid-template-rows:138px minmax(0,1fr);gap:14px}
 .qcp-stage[data-chapter="1"] .qcp-knob-controls,.qcp-stage[data-chapter="2"] .qcp-knob-controls{max-width:360px;margin:auto;padding:0;grid-template-columns:126px minmax(0,1fr);grid-template-rows:116px;gap:0 14px;align-items:center}
 .qcp-stage[data-chapter="1"] .qcp-dial-wrap,.qcp-stage[data-chapter="2"] .qcp-dial-wrap{grid-column:1;grid-row:1;width:116px;height:116px;align-self:center;justify-self:center;margin:0}
 .qcp-stage[data-chapter="1"] #qcp-dial-quality,.qcp-stage[data-chapter="2"] .qcp-limit-message{grid-column:2;grid-row:1;font-size:23px;line-height:1.2;align-self:center;padding:0;margin:0;text-align:left}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint{width:126px;font-size:12px;top:calc(100% - 13px)}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint>span{font-size:12px;margin:0}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint svg{width:84px;height:19px}
 .qcp-stage[data-chapter="1"] .qcp-world>.qcp-dial-readout{left:12px;top:38px;padding:0}
 .qcp-stage[data-chapter="1"] .qcp-world>.qcp-dial-readout strong{font-size:17px}
 .qcp-stage[data-chapter="2"] .qcp-side{transform:translateY(calc((1 - var(--collect-shift,1))*65px))}
 .qcp-collect-intro{inset:52% 12px 13% 12px;padding:0;justify-content:center}
 .qcp-collect-intro p{font-size:27px;line-height:1.22;text-align:center}
 .qcp-stage[data-chapter="3"] .qcp-world{border:0;border-radius:12px}
 .qcp-learning-board svg{max-width:390px;margin:auto}
 .qcp-explainer[data-chapter="-1"]{grid-template-columns:1fr}
 .qcp-explainer[data-chapter="-1"] .qcp-stage{height:492px;margin:0}
 .qcp-explainer[data-chapter="-1"] #qcp-next{grid-column:1;grid-row:2;justify-self:center;top:0;margin:0 0 6px}
 .qcp-explainer[data-chapter="-1"] .qcp-playback{grid-row:3}
 .qcp-explainer[data-chapter="4"] .qcp-stage{height:532px}
 .qcp-closing-board svg{max-width:390px;margin:auto}
 .qcp-explainer[data-chapter="4"] #qcp-previous{margin:0 8px 6px}
 .qcp-playback{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;width:100%;margin:14px auto 0;align-items:center}
 .qcp-time{display:contents}
 .qcp-track{grid-column:1;grid-row:1;gap:9px;height:32px}
 .qcp-progress-knob{top:10px}
 .qcp-playback-buttons{grid-column:2;grid-row:1;margin:0;gap:7px}
 .qcp-playback-buttons button{width:32px;height:32px}
 .qcp-chapters{grid-column:1/-1;grid-row:2;gap:5px;grid-template-columns:repeat(6,minmax(0,1fr))}
 .qcp-chapters button{min-height:32px;font-size:12px;line-height:1.2;border-radius:6px;padding:5px 3px;letter-spacing:-.025em}
 .qcp-chapters button[aria-pressed=true]{background:#eaf1fa;color:#315f96}
 .qcp-step-index{display:none}
 .qcp-trained-policy{padding:10px 16px;column-gap:12px}
 .qcp-trained-title>span{font-size:15px}
 .qcp-trained-title>strong{font-size:20px}
}

/* Half-width windows retain a generous workspace beside the conditioning flow. */
@media (min-width:561px) and (max-width:900px){
 .qcp-stage[data-chapter="0"] .qcp-stage-content{grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:78px minmax(0,1fr);gap:16px}
 .qcp-stage[data-chapter="0"] .qcp-side{grid-column:1/-1;grid-row:1}
 .qcp-stage[data-chapter="0"] .qcp-world{grid-column:1;grid-row:2}
 .qcp-stage[data-chapter="0"] .qcp-token-flow{grid-column:2;grid-row:2;height:100%}
 .qcp-token-flow .qcp-conditioning-desktop{display:block;max-width:180px}
 .qcp-token-flow .qcp-conditioning-mobile{display:none}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker{max-width:540px;margin:auto}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button strong{font-size:15px}
 .qcp-trained-policy{display:flex;text-align:center;gap:18px;padding:16px 8px}
 .qcp-trained-mark{width:64px;height:64px}.qcp-trained-mark>span{font-size:40px}
 .qcp-trained-title>span{font-size:18px}.qcp-trained-title>strong{display:block;font-size:26px;margin-top:5px}
 .qcp-trained-status{align-self:center;font-size:16px}
 .qcp-stage[data-chapter="1"] .qcp-stage-content{grid-template-rows:138px minmax(0,1fr)}
 .qcp-stage[data-chapter="1"] .qcp-world>.qcp-dial-readout strong{font-size:19px}
}

@media (max-width:560px){
 .qcp-explainer{padding:14px 12px 12px}
 .qcp-explainer .qcp-story-copy h2{font-size:18px}
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-story-heading{height:88px;grid-template-rows:42px 34px;gap:12px 8px}
 .qcp-chapters{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 7px}
 .qcp-chapters button{font-size:12.5px;min-height:32px}
 .qcp-stage[data-chapter="0"] .qcp-token-flow{background:#f7f9fc;border-radius:12px}
 .qcp-stage[data-chapter="0"] .qcp-token-flow[hidden]{display:none}
 .qcp-conditioning-mobile .qcp-flow-choice{font-size:16px}
 .qcp-conditioning-mobile .qcp-token-label,.qcp-conditioning-mobile .qcp-action-label{font-size:14.5px}
 .qcp-conditioning-mobile .qcp-policy-label{font-size:14px}
 .qcp-stage[data-chapter="1"] #qcp-dial-quality,.qcp-stage[data-chapter="2"] .qcp-limit-message{font-size:21px}
 .qcp-story-heading .qcp-loop-strip{gap:8px;font-size:12px}
 .qcp-stage[data-chapter="1"] .qcp-world>.qcp-dial-readout{top:37px}
}


/* Half-width keeps the desktop timeline: labels share the tracks' columns. */
@media (min-width:701px) and (max-width:900px){
 .qcp-playback{width:min(100%,660px);grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;margin-top:12px}
 .qcp-time{display:block;min-width:0;grid-column:1;grid-row:1}
 .qcp-track{gap:10px;height:26px}
 .qcp-progress-knob{top:7px}
 .qcp-chapters{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
 .qcp-chapters button{min-height:22px;padding:0;border-radius:0;font-size:11px;line-height:22px;letter-spacing:-.025em}
 .qcp-chapters button[aria-pressed=true]{background:none;color:#354e70}
 .qcp-step-index{display:inline}
 .qcp-playback-buttons{margin-top:0;gap:6px}
 .qcp-playback-buttons button{width:28px;height:28px}
}

/* Keep the completion badge inside the short right-hand panel at half width. */
@media (min-width:701px) and (max-width:900px){
 .qcp-trained-policy{gap:8px;padding:10px 8px}
 .qcp-trained-mark{width:42px;height:42px;box-shadow:inset 0 0 0 3px #ffffffaa}
 .qcp-trained-mark>span{font-size:28px}
 .qcp-trained-title{align-self:center;flex:none;line-height:1.18}
 .qcp-trained-title>span{font-size:14px}
 .qcp-trained-title>strong{font-size:21px;margin-top:3px}
 .qcp-trained-status{flex:none;align-self:center;font-size:13px;line-height:1.2;gap:5px}
 .qcp-trained-status svg{width:14px;height:14px}
}

/* Closing uses the same top-left navigation position as Choose at half width. */
@media (min-width:701px) and (max-width:900px){
 .qcp-explainer[data-chapter="4"] #qcp-previous{align-self:start;margin:-1px 0 0}
}

/* A half-width slide stays landscape; reserve its height for the task. */
@media (min-width:701px) and (max-width:900px){
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="0"]):not([data-chapter="4"]) .qcp-story-heading{
  height:34px;grid-template-columns:140px minmax(0,1fr) 140px;grid-template-rows:34px;gap:8px;transform:translateY(-1px)
 }
 .qcp-explainer:is([data-chapter="1"],[data-chapter="2"],[data-chapter="3"]) .qcp-story-copy{grid-column:2;grid-row:1}
 .qcp-explainer:is([data-chapter="1"],[data-chapter="2"],[data-chapter="3"]) .qcp-story-copy h2{margin:0;font-size:19px;line-height:1.2}
 .qcp-explainer:is([data-chapter="1"],[data-chapter="2"],[data-chapter="3"]) .qcp-back-button{grid-column:1;grid-row:1}
 .qcp-explainer:is([data-chapter="1"],[data-chapter="2"],[data-chapter="3"]) .qcp-next-button{grid-column:3;grid-row:1}
 .qcp-explainer:is([data-chapter="2"],[data-chapter="3"]) .qcp-loop-strip{grid-column:2;grid-row:1;font-size:12px;gap:7px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-stage-content{grid-template-columns:174px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:18px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-side{min-height:0;align-items:center}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-knob-controls{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;max-width:none;height:100%;margin:0;padding:0 0 20px}
 .qcp-stage[data-chapter="1"] #qcp-dial-quality,.qcp-stage[data-chapter="2"] .qcp-limit-message{font-size:22px;line-height:1.2;text-align:center;align-self:center;margin:0;padding:0}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-dial-wrap{flex:none;width:132px;height:132px;margin:0;align-self:center}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-dial-ticks{mask:radial-gradient(circle,transparent 59px,#000 60px 62px,transparent 63px)}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint{top:calc(100% - 13px);width:132px}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint svg{width:90px;height:20px}
 .qcp-stage[data-chapter="2"] .qcp-side{transform:translateX(calc((1 - var(--collect-shift,1))*54px))}
 .qcp-stage[data-chapter="2"] .qcp-collect-intro{inset:0 3% 0 40%;padding:0;justify-content:center}
 .qcp-stage[data-chapter="2"] .qcp-collect-intro p{font-size:28px;line-height:1.25;text-align:left}
 .qcp-learning-board svg,.qcp-closing-board svg{max-width:none}
 .qcp-stage[data-chapter="3"] .qcp-stage-content{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}
 .qcp-explainer[data-chapter="4"] .qcp-stage{margin-top:44px}
}

/* Small tablets keep a compact landscape stage and direct chapter navigation. */
@media (min-width:561px) and (max-width:700px){
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-story-heading{height:34px;grid-template-columns:34px minmax(0,1fr) 34px;grid-template-rows:34px;gap:10px;transform:none}
 .qcp-story-copy{grid-column:2;grid-row:1}
 .qcp-explainer .qcp-story-copy h2{margin:0;font-size:17px;line-height:1.2}
 .qcp-story-heading .qcp-loop-strip{grid-column:2;grid-row:1;font-size:12px;gap:8px}
 .qcp-back-button{grid-column:1;grid-row:1}
 .qcp-next-button{grid-column:3;grid-row:1}
 .qcp-step-arrow{width:34px;min-width:34px;height:34px;padding:0;gap:0;border-radius:9px}
 .qcp-step-arrow>span:not(.qcp-nav-arrow){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-stage{height:280px;margin-top:12px}
 .qcp-stage[data-chapter="0"] .qcp-stage-content{grid-template-columns:minmax(0,1fr) 144px;grid-template-rows:66px minmax(0,1fr);gap:12px}
 .qcp-stage[data-chapter="0"] .qcp-select-prompt{font-size:14px;line-height:20px;min-height:20px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker{gap:8px;max-width:440px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button{height:36px;border-radius:7px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button strong{font-size:13px}
 .qcp-trained-policy{gap:8px;padding:8px;border-radius:12px}
 .qcp-trained-mark{width:40px;height:40px;box-shadow:inset 0 0 0 3px #ffffffaa}
 .qcp-trained-mark>span{font-size:27px}
 .qcp-trained-title{align-self:center;flex:none;line-height:1.18}
 .qcp-trained-title>span{font-size:14px}
 .qcp-trained-title>strong{font-size:21px;margin-top:3px}
 .qcp-trained-status{flex:none;align-self:center;font-size:13px;line-height:1.2;gap:5px}
 .qcp-trained-status svg{width:14px;height:14px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-stage-content{grid-template-columns:138px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:12px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-side{min-height:0;align-items:center}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-knob-controls{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;max-width:none;height:100%;margin:0;padding:0 0 20px}
 .qcp-stage[data-chapter="1"] #qcp-dial-quality,.qcp-stage[data-chapter="2"] .qcp-limit-message{font-size:20px;line-height:1.2;text-align:center;align-self:center;margin:0;padding:0}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-dial-wrap{flex:none;width:112px;height:112px;margin:0;align-self:center}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-dial-ticks{mask:radial-gradient(circle,transparent 49px,#000 50px 52px,transparent 53px)}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint{top:calc(100% - 13px);width:112px}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint>span{font-size:11px}
 .qcp-stage[data-chapter="1"] .qcp-world>.qcp-dial-readout{top:37px}
 .qcp-stage[data-chapter="1"] .qcp-world>.qcp-dial-readout strong{font-size:17px}
 .qcp-stage[data-chapter="2"] .qcp-side{transform:translateX(calc((1 - var(--collect-shift,1))*32px))}
 .qcp-stage[data-chapter="2"] .qcp-collect-intro{inset:0 4% 0 39%;padding:0;justify-content:center}
 .qcp-stage[data-chapter="2"] .qcp-collect-intro p{font-size:24px;line-height:1.25;text-align:left}
 .qcp-stage[data-chapter="3"] .qcp-stage-content{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}
 .qcp-learning-board svg,.qcp-closing-board svg{max-width:none}
 .qcp-explainer[data-chapter="-1"] .qcp-stage{height:326px;margin:0}
 .qcp-explainer[data-chapter="-1"] #qcp-next{grid-column:1;grid-row:1;justify-self:end;align-self:end;min-width:124px;width:auto;padding:0 12px;gap:8px;margin:0 16px 24px;top:0}
 .qcp-explainer[data-chapter="-1"] #qcp-next-label{position:static;width:auto;height:auto;clip-path:none;overflow:visible}
 .qcp-explainer[data-chapter="-1"] .qcp-playback{grid-row:2}
 .qcp-explainer[data-chapter="4"] .qcp-stage{height:280px;margin-top:46px}
 .qcp-explainer[data-chapter="4"] #qcp-previous{align-self:start;margin:0}
 .qcp-playback{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:12px;align-items:start}
 .qcp-time{display:block;min-width:0;grid-column:1;grid-row:1}
 .qcp-track{gap:5px;height:22px}
 .qcp-progress-knob{top:5px}
 .qcp-chapters{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
 .qcp-chapters button{font-size:10.5px;min-height:28px;padding:3px 1px;line-height:20px;border-radius:5px;white-space:nowrap}
 .qcp-playback-buttons{gap:5px;margin:0}
 .qcp-playback-buttons button{width:28px;height:28px}
}

/* Mobile navigation lives in the chapter picker, leaving more room for the story. */
@media (max-width:560px){
 .qcp-explainer .qcp-step-arrow{display:none}
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-story-heading{height:40px;grid-template-columns:minmax(0,1fr);grid-template-rows:40px;gap:0;transform:none}
 .qcp-story-copy,.qcp-story-heading .qcp-loop-strip{grid-column:1;grid-row:1}
 .qcp-explainer .qcp-story-copy h2{margin:0;font-size:18px;line-height:1.1}
 .qcp-story-heading .qcp-loop-strip{height:32px;gap:8px;font-size:12px}
 .qcp-explainer:not([data-chapter="-1"]):not([data-chapter="4"]) .qcp-stage{height:380px;margin-top:8px}
 .qcp-stage[data-chapter="0"] .qcp-stage-content{grid-template-columns:minmax(0,1fr);grid-template-rows:60px minmax(0,1fr) 90px;gap:8px}
 .qcp-stage[data-chapter="0"] .qcp-select-prompt{font-size:14px;line-height:20px;min-height:20px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker{gap:6px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button{height:34px;border-radius:7px;padding:0 4px}
 .qcp-stage[data-chapter="0"] .qcp-quality-picker button strong{font-size:12px}
 .qcp-stage[data-chapter="0"] .qcp-token-flow,.qcp-token-flow .qcp-conditioning-mobile{height:90px}
 .qcp-trained-policy{grid-template-columns:44px max-content;grid-template-rows:auto auto;justify-content:center;align-content:center;gap:6px 14px;padding:12px;text-align:center}
 .qcp-trained-mark{grid-column:1;grid-row:1/3;justify-self:center;align-self:center;width:44px;height:44px}
 .qcp-trained-mark>span{font-size:29px}
 .qcp-trained-title{grid-column:2;grid-row:1;align-self:center;line-height:1.15;letter-spacing:-.025em}
 .qcp-trained-title>span{font-size:14px;font-weight:500}
 .qcp-trained-title>strong{display:block;margin-top:2px;font-size:18px;font-weight:600}
 .qcp-trained-status{grid-column:2;grid-row:2;justify-self:center;align-self:center;gap:4px;font-size:12px;line-height:1.2}
 .qcp-trained-status svg{width:13px;height:13px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-stage-content{grid-template-columns:minmax(0,1fr);grid-template-rows:118px minmax(0,1fr);gap:10px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-knob-controls{width:100%;max-width:300px;margin:auto;padding:0 0 12px;grid-template-columns:112px minmax(0,1fr);grid-template-rows:100px;gap:0 12px}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-dial-wrap{width:100px;height:100px;margin:0}
 .qcp-stage:is([data-chapter="1"],[data-chapter="2"]) .qcp-dial-ticks{mask:radial-gradient(circle,transparent 43px,#000 44px 46px,transparent 47px)}
 .qcp-stage[data-chapter="1"] #qcp-dial-quality,.qcp-stage[data-chapter="2"] .qcp-limit-message{font-size:20px;line-height:1.2}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint{width:112px;top:calc(100% - 12px)}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint svg{width:76px;height:17px}
 .qcp-stage[data-chapter="1"] .qcp-dial-hint>span{font-size:11px}
 .qcp-stage[data-chapter="2"] .qcp-side{transform:translateY(calc((1 - var(--collect-shift,1))*45px))}
 .qcp-stage[data-chapter="2"] .qcp-collect-intro{inset:45% 12px 9%;padding:0}
 .qcp-stage[data-chapter="2"] .qcp-collect-intro p{font-size:24px;line-height:1.2}
 .qcp-explainer:is([data-chapter="-1"],[data-chapter="4"]) .qcp-stage{height:428px;margin:0}
 .qcp-explainer[data-chapter="-1"] .qcp-playback{grid-row:2}
 .qcp-playback{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;margin:8px auto 0}
 .qcp-time{display:contents}
 .qcp-track{height:24px;gap:6px}
 .qcp-progress-knob{top:6px}
 .qcp-playback-buttons{gap:5px;margin:0}
 .qcp-playback-buttons button{width:28px;height:28px}
 .qcp-chapters{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 6px}
 .qcp-chapters button{font-size:12px;line-height:20px;min-height:30px;padding:5px 3px}
}

/* Compact screens retain the same numbered chapter names. */
@media (max-width:700px){
 .qcp-step-index{display:inline}
}
/* One mobile composition: small phones scale it uniformly rather than reflowing it. */
@media (max-width:360px){
 .qcp-explainer-section>.container{width:390px;max-width:none;margin-inline:0;zoom:var(--qcp-mobile-scale,1)}
}
