[hidden]{display:none!important}
.rsi-main{max-width:1220px;margin:auto;padding:26px 30px 18px}
.rsi-intro .eyebrow{display:flex;gap:18px;font-size:11px}
.rsi-intro .eyebrow span{color:var(--muted);font-weight:400;letter-spacing:0}
.rsi-intro h1{font-size:clamp(28px,3.1vw,38px);letter-spacing:-.04em;margin:10px 0 8px;line-height:1.2}
.rsi-intro h1 span{color:var(--good)}
.rsi-intro>p:last-child{font-size:13px;color:var(--muted);line-height:1.7}
.chapter-track{display:flex;gap:32px;list-style:none;padding:0;margin:20px 0;border-bottom:1px solid var(--line)}
.chapter-track li{font-size:12px;color:var(--muted);padding-bottom:10px}
.chapter-track li span{font:11px ui-monospace,monospace;margin-right:7px}
.chapter-track [aria-current=step]{color:var(--ink);border-bottom:2px solid var(--good)}
.studio-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,1fr);gap:34px;align-items:start;scroll-margin-top:20px}
.art-desk{min-width:0;position:sticky;top:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--shadow)}
.desk-heading{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);line-height:1.6}
.desk-heading>span:last-child{font-size:9px}
.reference-strip{display:flex;align-items:center;gap:10px;padding:12px 0}
.master-art{width:44px;height:44px;overflow:hidden;flex:none;border-radius:50%;background:var(--soft);border:1px solid var(--line)}
.master-art svg{width:100%;height:100%;transform:scale(1.8) translateY(5px)}
.reference-strip strong{font-size:11px;font-weight:500;color:var(--muted)}
.reference-strip p{font-size:13px;line-height:1.8;font-weight:600}
.reference-client{margin-left:auto;display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--muted);font-size:10px}
.reference-client img{flex:none;width:30px;height:30px;object-fit:contain}
@media(max-width:450px){.reference-client{gap:3px}.reference-client img{width:24px;height:24px}}
.art-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.art-pair[data-single=true]{grid-template-columns:1fr}
.art-pair figure{margin:0;min-width:0}
.art-pair figcaption{font-size:12px;color:var(--muted);padding:0 2px 8px;line-height:1.4;min-height:25px}
.art-pair .current-art figcaption{color:var(--good)}
.art-pair figure>div{overflow:hidden;border-radius:5px;background:var(--soft)}
.art-pair svg{display:block;width:100%;height:min(310px,43vh)}
.art-pair[data-single=true] figure{width:100%;max-width:270px;margin:auto}
.current-art>div{outline:2px solid var(--good);outline-offset:2px}
.art-status{font-size:12px;line-height:1.7;color:var(--good);margin-top:13px;min-height:20px}
.director{padding:14px 0;min-width:0}
.director .eyebrow{font-size:11px;color:var(--muted)}
.director h2{font-size:clamp(23px,2.3vw,29px);line-height:1.4;letter-spacing:-.035em;margin:12px 0;scroll-margin-top:20px}
.director h2:focus{outline:none}
.guide-copy{font-size:15px;line-height:1.9;color:var(--muted);margin-bottom:22px}
.rsi-primary{display:block;width:100%;background:var(--ink);color:var(--surface);font-size:14px;font-weight:550;line-height:1.5;min-height:48px;border-radius:7px;padding:13px 14px;margin-top:15px;text-align:center}
.rsi-primary:hover:not(:disabled){filter:brightness(1.15)}
.rsi-primary:disabled{opacity:.4;cursor:not-allowed}
.assistant-note{background:var(--soft);padding:15px 17px;border-left:2px solid var(--good);margin:18px 0}
.assistant-note>span{font-size:11px;color:var(--good)}
.assistant-note p{font-size:13px;line-height:1.85;margin-top:6px}
.choice-hint{font-size:12px;color:var(--muted);margin:20px 0 10px}
.decision-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.decision-buttons button{border:1px solid var(--good);background:var(--surface);padding:14px 8px;border-radius:7px;text-align:center;min-height:75px}
.decision-buttons button:hover{background:var(--soft)}
.decision-buttons button:disabled{opacity:.4;cursor:not-allowed;background:var(--surface)}
.decision-buttons strong{display:block;font-size:14px;font-weight:600}
.decision-buttons span{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:5px}
.guess-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.guess-options button{min-height:46px;border:1px solid var(--line);border-radius:6px;font-size:14px;background:var(--surface)}
.guess-options [aria-pressed=true]{border-color:var(--good);box-shadow:inset 0 0 0 1px var(--good);background:var(--soft);color:var(--good)}
.small-note{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0}
.rule-evidence{border:1px solid var(--line);border-radius:8px;padding:12px 15px;background:var(--soft);margin:16px 0}
.rule-evidence p{font-size:12px;line-height:1.8;color:var(--muted)}
.rule-evidence p:first-child{color:var(--ink);font-weight:600;margin-bottom:6px}
.rule-editor{min-width:0;border:1px solid var(--line);border-radius:8px;padding:14px 15px;margin:20px 0 0}
.rule-editor legend{padding:0 6px;font-size:13px;font-weight:600;color:var(--ink)}
.rule-question{font-size:12px;color:var(--muted);margin:0 0 10px}
.rule-editor .guess-options button{min-height:46px;padding:8px 4px;font-size:13px}
.rule-editor .small-note{margin-bottom:0}
.rule-retest-results{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.rule-retest-results figure{margin:0;min-width:0}
.rule-retest-results figcaption,.rule-retest-results p{font-size:11px;line-height:1.7;color:var(--muted)}
.rule-retest-results figure>div{background:var(--soft);border-radius:4px;margin:6px 0;overflow:hidden}
.rule-retest-results svg{display:block;width:100%;height:116px}
.rule-retest-results p{color:var(--ink);font-weight:600}
.outcome{border-left:2px solid var(--good);padding:12px 15px;background:var(--soft);margin:20px 0}
.outcome>span{font-size:13px;font-weight:600;color:var(--good)}
.outcome p{font-size:14px;line-height:1.9;margin-top:8px}
.takeaway{font-size:13px;line-height:1.9;color:var(--muted)}
.saved-poster{margin:16px 0 4px;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow-wrap:anywhere}
.saved-poster summary{min-height:44px;padding:14px;cursor:pointer;color:var(--ink);line-height:1.6}
.saved-poster summary strong{font-size:14px;font-weight:600}
.saved-poster summary small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}
.saved-poster[open] summary{border-bottom:1px solid var(--line)}
.saved-poster-content{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:14px;align-items:start}
.saved-poster-content figure{margin:0;min-width:0}
.saved-poster-content figure>div{overflow:hidden;border-radius:4px;background:var(--soft)}
.saved-poster-content svg{display:block;width:100%;height:auto}
.saved-poster-content figcaption{font-size:10px;line-height:1.7;color:var(--muted);margin-top:8px}
.saved-poster-content p{font-size:12px;line-height:1.85;color:var(--ink);margin:0 0 10px}
.saved-poster-content .small-note{font-size:11px;color:var(--muted);margin-bottom:0}
@media(max-width:450px){.saved-poster-content{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:12px}.saved-poster summary{padding:12px}}
.text-button{min-height:44px;font-size:12px;color:var(--muted);text-align:left;text-decoration:underline;text-underline-offset:4px;margin-top:14px}
.evidence{border-top:1px solid var(--line);margin-top:18px;padding-top:6px}
.evidence summary,.rsi-boundaries summary{min-height:44px;padding:12px 0;font-size:12px;color:var(--muted);cursor:pointer}
.evidence p{font-size:12px;line-height:1.9;color:var(--muted);padding:0 0 10px}
.rsi-boundaries{margin-top:24px;border-top:1px solid var(--line)}
.rsi-boundaries>div{max-width:850px;padding:8px 0 15px}
.rsi-boundaries h2{font-size:18px}.rsi-boundaries p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:12px}
.rsi-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:10px;color:var(--muted);margin-top:12px}
.rsi-footer button{min-height:44px;font-size:12px}
button:focus-visible,summary:focus-visible{outline:2px solid var(--good);outline-offset:4px}
@media(max-width:1000px){.rsi-main{padding:24px}.studio-layout{gap:24px;grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr)}.art-desk{padding:12px}.guide-copy{font-size:14px}.reference-stamp{display:none}.desk-heading>span:last-child{font-size:8px}}
@media(max-width:700px){
 /* Leave the workshop's own entry unpadded. Only instructions and controls need to clear the pinned poster. */
 .rsi-main{padding:16px 14px 12px}.rsi-intro .eyebrow{font-size:10px;gap:12px}
 .rsi-intro h1{font-size:28px}.rsi-intro>p:last-child{font-size:12px}
 .chapter-track{gap:0;justify-content:space-between;margin:16px 0}
 .chapter-track li{font-size:11px}.chapter-track li span{font-size:10px;margin-right:5px}
 .studio-layout{display:block}.art-desk{top:0;z-index:3;padding:10px;box-shadow:0 6px 12px #00000012}
 .desk-heading{font-size:9px}.desk-heading>span:last-child{font-size:8px}
 .reference-strip{padding:7px 0;gap:8px}.master-art{width:32px;height:32px}
 .reference-strip strong{display:none}.reference-strip p{font-size:12px}
 .art-pair{gap:12px}.art-pair svg{height:clamp(125px,23vh,185px)}
 .art-pair[data-single=true] figure{max-width:150px}
 .art-pair figcaption{font-size:11px;min-height:22px;padding-bottom:6px}
 .art-status{font-size:11px;line-height:1.6;margin-top:10px;min-height:17px}
 .director{padding:21px 3px 0}.director h2{font-size:23px;margin:9px 0}
 .director :is(h2,button,summary,#rule-retest-feedback){scroll-margin-top:var(--pinned-art-height,280px)}
 .guide-copy{font-size:14px;line-height:1.8;margin-bottom:16px}
 .assistant-note{padding:11px 13px;margin:14px 0}.assistant-note p{font-size:12px}
 .choice-hint{margin-top:15px}.decision-buttons button{padding:12px 6px;min-height:71px}
 .decision-buttons strong{font-size:13px}.decision-buttons span{font-size:10px}
 .rsi-primary{font-size:13px}.outcome{margin:15px 0}.outcome p{font-size:13px}
}
@media(max-width:700px) and (max-height:650px){
 .art-desk{padding:8px}.art-pair svg{height:105px}.art-pair[data-single=true] figure{max-width:110px}
 .reference-strip{padding:5px 0}.master-art{width:26px;height:26px}
 .art-status{margin-top:7px}.director{padding-top:15px}.director h2{font-size:21px}
}
@media(min-width:701px) and (max-height:500px){
 .art-desk{top:8px;padding:10px}.art-pair svg{height:150px}
 .reference-strip{padding:7px 0}.master-art{width:30px;height:30px}.art-status{font-size:11px}
 .director{padding-top:0}.director h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
