/* Quiet, editorial private-studio surfaces; original course artwork stays intact. */
:root{
  --studio-ink:#39323d;
  --studio-muted:#6d666b;
  --studio-accent:#66536f;
  --studio-gold:#896e51;
  --studio-border:#ded6ce;
  --studio-paper:#fdfbf7;
  --studio-warm:#f4eee5;
}
.studio-icon{display:inline-block;flex:none;vertical-align:middle}
.studio-kicker{font-size:.78rem;line-height:1.55;letter-spacing:.13em;font-weight:650;color:var(--studio-gold)}
.studio-text-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;color:var(--studio-accent);font:550 .91rem/1.55 var(--sans);text-decoration:underline;text-underline-offset:4px;border:0;background:none;padding:0}
.studio-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.studio-small{font-size:.84rem;line-height:1.7;color:var(--studio-muted)}
:is(.studio-home,.studio-page,.studio-profile-banner,.studio-room) :is(a,button,input,textarea,summary):focus-visible{outline:2px solid #a083a1;outline-offset:3px}
.studio-home{padding:29px 0 38px;border-top:1px solid var(--hair)}
.studio-section-bar{align-items:flex-end;margin:0 0 18px;gap:16px}
.studio-section-bar h2{font:550 clamp(1.65rem,3.05vw,2.35rem)/1.3 var(--serif);margin:6px 0 0;color:var(--studio-ink)}
.studio-section-bar>.studio-text-link{margin-bottom:5px;white-space:nowrap}
.studio-home-grid{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(0,1fr);gap:18px}
.studio-home-today,.studio-home-map{min-width:0;overflow:hidden;display:grid;align-items:stretch;border:1px solid var(--studio-border);border-radius:14px;background:var(--studio-paper)}
.studio-home-today{grid-template-columns:minmax(0,1.7fr) minmax(108px,.9fr);background:#f8f3eb}
.studio-home-copy{position:relative;padding:clamp(18px,2.5vw,30px);min-width:0;z-index:1}
.studio-home-meta{font-size:.82rem;color:var(--studio-muted);margin:9px 0 0}
.studio-home-meta>span{color:#a49a9d;margin:0 3px}
.studio-home :is(h3,.studio-card-title){font:600 clamp(1.22rem,2.05vw,1.68rem)/1.4 var(--serif);margin:7px 0;color:var(--studio-ink)}
.studio-home p{font-size:1rem;line-height:1.7;color:var(--studio-muted);margin:6px 0 15px}
.studio-home-actions{display:flex;align-items:center;gap:9px 14px;flex-wrap:wrap}
.studio-start{font-weight:600;gap:12px;white-space:normal;text-align:center}
.studio-home-cover,.studio-home-map-art{position:relative;min-width:0;overflow:hidden;background:#e7dccb}
.studio-home-cover img,.studio-home-map-art img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.studio-home-cover img{object-position:52% center}
.studio-home-map{grid-template-columns:minmax(102px,.82fr) minmax(0,1.05fr);transition:border-color .2s ease,box-shadow .2s ease}
.studio-home-map:hover{border-color:#ada0a7;box-shadow:0 6px 24px #3f32380c}
.studio-home-map-art img{object-position:7% center}
.studio-home-map-copy{padding:clamp(15px,2.1vw,25px);align-self:center;min-width:0}
.studio-home-map-copy .studio-text-link{margin-top:2px}
.studio-profile-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--studio-warm);padding:22px 25px;border:1px solid var(--studio-border);border-radius:12px;margin:0 0 26px}
.studio-profile-banner h2{font:600 1.45rem/1.5 var(--serif);color:var(--studio-ink);margin:6px 0}
.studio-profile-banner p{font-size:.93rem;color:var(--studio-muted);margin:0}
.studio-profile-actions{display:flex;gap:8px;flex-wrap:wrap;flex:none}
.studio-page{max-width:1200px;color:var(--studio-ink)}
.studio-page-head{margin:3px 0 27px;max-width:790px}
.studio-page-head h1{font:550 clamp(2.35rem,4.4vw,3.85rem)/1.22 var(--serif);letter-spacing:-.02em;color:var(--studio-ink);margin:9px 0 12px}
.studio-page-head p{font-size:1.02rem;line-height:1.8;color:var(--studio-muted);margin:0}
.studio-today-layout{display:grid;grid-template-columns:minmax(280px,.83fr) minmax(0,1.27fr);align-items:start;gap:clamp(20px,3.1vw,44px)}
.studio-today-controls{border:1px solid var(--studio-border);border-radius:14px;background:var(--studio-paper);min-width:0;padding:clamp(19px,2.55vw,30px)}
.studio-control-group h2{font:600 1.4rem/1.45 var(--serif);color:var(--studio-ink);margin:7px 0 16px}
.studio-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.studio-goals button{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:11px 12px;text-align:left;background:transparent;border:1px solid var(--studio-border);border-radius:8px;color:var(--studio-ink);font:500 .94rem/1.5 var(--sans);transition:background .16s,border-color .16s}
.studio-goals button:hover,.studio-time-options button:hover{border-color:#9d8da3}
.studio-goals button[aria-pressed=true]{border-color:#a795af;background:#f1ebf1;color:#4e3e59;font-weight:650}
.studio-goal-check{display:grid;place-items:center;width:21px;height:21px;border:1px solid #c5b8c4;border-radius:50%;flex:none;color:transparent}
.studio-goals button[aria-pressed=true] .studio-goal-check{background:var(--studio-accent);border-color:var(--studio-accent);color:#fff}
.studio-goal-check svg{width:15px;height:15px}
.studio-time-control{margin-top:24px;padding-top:23px;border-top:1px solid var(--studio-border)}
.studio-time-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.studio-time-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:80px;padding:8px 4px;background:transparent;border:1px solid var(--studio-border);border-radius:9px;color:var(--studio-muted);font:500 .88rem/1.4 var(--sans)}
.studio-time-options button strong{font:500 1.85rem/1.1 var(--serif);font-variant-numeric:lining-nums tabular-nums;color:var(--studio-ink)}
.studio-time-options button[aria-pressed=true]{background:var(--studio-accent);border-color:var(--studio-accent);color:#f8f4f8}
.studio-time-options button[aria-pressed=true] strong{color:#fff}
.studio-time-control .studio-small{margin:9px 0 0}
.studio-control-links{display:grid;gap:11px;border-top:1px solid var(--studio-border);padding-top:17px;margin-top:21px}
#studio-pick{min-width:0}
.studio-pick-card{background:var(--studio-paper);border:1px solid var(--studio-border);border-radius:14px;overflow:hidden;box-shadow:0 10px 35px #594b3610}
.studio-pick-visual{position:relative;width:100%;aspect-ratio:2.85;max-height:230px;overflow:hidden;background:#e9dfd2}
.studio-pick-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 47%}
.studio-pick-label{position:absolute;left:18px;bottom:15px;padding:6px 12px;border:1px solid #b6a99b;background:#fffaf0e8;font-size:.83rem;color:#55483e;border-radius:4px}
.studio-pick-copy{padding:clamp(19px,3vw,34px)}
.studio-pick-copy h2{font:600 clamp(1.75rem,3vw,2.35rem)/1.35 var(--serif);margin:7px 0 10px;letter-spacing:-.018em}
.studio-pick-goal{font-size:1rem;line-height:1.75;color:var(--studio-muted);margin:0 0 18px}
.studio-reason{display:flex;gap:12px;align-items:flex-start;background:#f4eee6;border-radius:8px;padding:13px 15px;color:#6a5545;margin-bottom:21px}
.studio-reason>.studio-icon{margin-top:4px;color:var(--studio-gold);width:23px;height:23px}
.studio-reason strong{font-size:.82rem;letter-spacing:.04em;color:#735b43}
.studio-reason p{font-size:.91rem;line-height:1.64;margin:4px 0 0}
.studio-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--studio-border);padding:14px 0;gap:12px}
.studio-meta-grid>div{min-width:0;display:flex;flex-direction:column;gap:5px;padding-right:11px}
.studio-meta-grid>div:not(:last-child){border-right:1px solid var(--studio-border)}
.studio-meta-grid small{font-size:.76rem;line-height:1.4;color:var(--studio-muted)}
.studio-meta-grid strong{font:600 clamp(1.27rem,2vw,1.65rem)/1.2 var(--serif);font-variant-numeric:tabular-nums;color:var(--studio-ink);overflow-wrap:anywhere}
.studio-meta-grid strong span{font:500 .79rem/1.4 var(--sans)}
.studio-meta-grid strong.studio-meta-state{font:600 .97rem/1.5 var(--sans)}
.studio-pick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:24px}
.studio-pick-actions .studio-start{min-height:52px;padding-inline:24px}
.studio-alternatives{margin-top:25px;display:grid;gap:8px}
.studio-alternatives h3{font:600 1.16rem/1.4 var(--serif);margin:0 0 3px}
.studio-alternative{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--studio-border);background:var(--studio-paper);border-radius:8px;padding:12px 15px}
.studio-alternative>div{display:grid;gap:3px}
.studio-alternative strong{font-size:.96rem;line-height:1.5}
.studio-alternative>div span{font-size:.8rem;color:var(--studio-muted)}
.studio-alternative .btn{min-height:40px;padding:6px 12px;white-space:nowrap}
.studio-alternative .studio-icon{width:16px}
.studio-privacy-inline{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--studio-border);margin:26px 0 0;padding:15px 0;color:var(--studio-muted);font-size:.84rem}
.unit-room-link{margin-top:0!important}

/* Body atlas: two actual views of one artwork, with broad clickable regions. */
.body-page{max-width:1260px}
.body-page-head{display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:none}
.body-page-head>div:first-child{max-width:730px}
.body-page-count{min-width:172px;border-left:1px solid var(--studio-border);padding-left:23px;flex:none;display:grid;gap:5px;color:var(--studio-muted);font-size:.82rem}
.body-page-count strong{font:550 2.1rem/1.2 var(--serif);font-variant-numeric:tabular-nums;color:var(--studio-ink)}
.body-page-count strong span{font-size:1.2rem;color:var(--studio-muted)}
.body-page-count progress{width:100%;height:6px;accent-color:var(--studio-accent);border:0;border-radius:6px;background:#e9e1e5}
.body-layout{display:grid;grid-template-columns:minmax(300px,.87fr) minmax(0,1.26fr);gap:clamp(20px,3vw,38px);align-items:start}
.body-map-panel{min-width:0;border:1px solid var(--studio-border);border-radius:14px;padding:16px;background:var(--studio-paper)}
.body-map-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:1px 0 14px}
.body-view-switch{display:flex;background:#f0ebe5;border:1px solid #ded4cc;border-radius:25px;padding:3px;gap:3px}
.body-view-switch button{border:1px solid transparent;min-height:38px;min-width:64px;border-radius:23px;color:#6c5e65;background:none;font:550 .91rem/1.4 var(--sans);padding:5px 12px}
.body-view-switch button[aria-pressed=true]{background:#fffdf9;border-color:#dad0c7;color:#504454;box-shadow:0 1px 4px #3f343011}
.body-atlas-figure{max-width:100%;margin:0 0 14px}
.body-atlas-canvas{position:relative;width:100%;aspect-ratio:3/4;max-width:440px;margin:auto;overflow:hidden;border-radius:9px;background:#e4d5c2;isolation:isolate}
.body-atlas-canvas>img{position:absolute;top:0;left:0;width:200%;height:100%;max-width:none;max-height:none;object-fit:fill;pointer-events:none;user-select:none}
.body-atlas-canvas[data-view=back]>img{left:-100%}
.body-atlas-figure figcaption{font-size:.79rem;line-height:1.55;letter-spacing:.02em;text-align:center;color:var(--studio-muted);margin:9px 0 0}
.body-hotspot{position:absolute;z-index:2;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center;border-radius:50%;padding:0;outline:none;border:1px solid transparent;background:transparent;color:#544959}
.body-hotspot>span{pointer-events:none}
.hotspot-pin{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fffaf0eb;border:1px solid #938276;box-shadow:0 0 0 5px #fff9ec66,0 2px 5px #39291824;font:650 .7rem/1 var(--sans);font-variant-numeric:tabular-nums;transition:transform .15s}
.body-hotspot:is(:hover,:focus-visible,[aria-pressed=true]){z-index:3}
.body-hotspot:is(:hover,:focus-visible) .hotspot-pin{transform:scale(1.12)}
.body-hotspot[data-status=review] .hotspot-pin{background:#f0d8c4;border-color:#a96e58;color:#75402e}
.body-hotspot[data-status=clear] .hotspot-pin,.body-hotspot[data-status=observed] .hotspot-pin{background:#dde5d9;border-color:#778976;color:#3d5b46}
.body-hotspot[data-status=later] .hotspot-pin{background:#e3ded8;color:#675e59;border-color:#a39991}
.body-hotspot[aria-pressed=true] .hotspot-pin{background:#64526d;color:#fff;border:1px solid #fffaf0;box-shadow:0 0 0 5px #64526d39,0 2px 6px #34283138;transform:scale(1.1)}
.body-hotspot:focus-visible{outline:2px solid #3c2b4b;outline-offset:0}
.hotspot-label{position:absolute;left:calc(50% + 17px);top:50%;transform:translateY(-50%);background:#fffdf8ee;border:1px solid #c6b7ac;border-radius:4px;padding:4px 7px;white-space:nowrap;box-shadow:0 2px 6px #3c2b1c10;font:600 .76rem/1.4 var(--sans);color:#524556}
.body-hotspot[data-view=back]:is([data-region=hands],[data-region=shoulders]) .hotspot-label{left:auto;right:calc(50% + 17px)}
.body-region-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.body-region-choice{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:58px;min-width:0;padding:8px 9px;border:1px solid var(--studio-border);border-radius:8px;background:transparent;text-align:left;transition:background .15s,border-color .15s}
.body-region-choice:hover{border-color:#a899a3}
.body-region-choice[aria-pressed=true]{background:#f0ebf1;border-color:#a99ab0}
.region-number{display:grid;place-items:center;flex:none;width:22px;height:28px;color:#877477;font:500 .82rem/1.2 var(--serif);font-variant-numeric:tabular-nums}
.region-choice-main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.region-choice-main strong{font-size:.9rem;font-weight:600;line-height:1.35;color:var(--studio-ink)}
.region-choice-main small{font-size:.78rem;line-height:1.35;color:var(--studio-muted)}
.body-region-choice[data-status=review] small{color:#925e41}
.body-region-choice[data-status=observed] small,.body-region-choice[data-status=clear] small{color:#496b54}
.region-choice-arrow{flex:none;color:#9a8c99}
.region-choice-arrow svg{width:15px;height:15px}
.body-region-choice.region-special{background:#f4efe9}
.body-region-choice.region-special[aria-pressed=true]{background:#f0ebf1}
.region-special .region-number svg{width:17px;height:17px}
.body-region-detail{min-width:0;scroll-margin-top:16px}
.body-region-detail:focus{outline:none}
.body-detail-heading{padding:2px 0 15px;border-bottom:1px solid var(--studio-border)}
.body-detail-heading>span:first-child{margin-right:10px}
.body-detail-heading h2{font:600 clamp(1.75rem,3.3vw,2.65rem)/1.34 var(--serif);margin:7px 0 9px;color:var(--studio-ink)}
.body-detail-heading p{font-size:1rem;line-height:1.75;color:var(--studio-muted);margin:0}
.region-status{display:inline-flex;align-items:center;gap:5px;color:#746d76;background:#eeeae6;border-radius:20px;padding:3px 9px;font-size:.77rem;font-weight:550}
.region-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.region-status[data-status=observed],.region-status[data-status=clear]{color:#42654d;background:#e8efe5}
.region-status[data-status=review]{color:#89573f;background:#f4e4d5}
.body-back-to-map{display:none}
.region-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 12px}
.region-section-head h3{font:600 1.25rem/1.4 var(--serif);color:var(--studio-ink);margin:0}
.region-section-head>span{font-size:.77rem;line-height:1.4;color:var(--studio-muted);text-align:right}
.region-visual{margin:21px 0 26px;min-width:0}
.region-visual .lesson-motion{margin:0}
.region-visual .motion-heading h3{font-size:1rem}
.region-motion-links{display:grid;gap:6px;margin-top:11px}
.region-motion-links a{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--studio-border);border-radius:7px;background:var(--studio-paper);font-size:.89rem;color:var(--studio-accent);min-height:43px}
.region-motion-links a span{flex:1}
.region-motion-links a svg{width:17px;height:17px}
.region-observation{padding:clamp(17px,2.3vw,25px);border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-warm);margin-bottom:26px}
.region-observation-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0 16px}
.region-observation-options label{display:flex;align-items:center;gap:8px;min-height:46px;border:1px solid #d9cfc8;border-radius:7px;padding:8px 10px;background:#fffdfa;font-size:.93rem;cursor:pointer}
.region-observation-options label:has(input:checked){background:#eee5ee;border-color:#a99aaf}
.region-observation-options input{accent-color:var(--studio-accent);width:17px;height:17px;margin:0;flex:none}
.region-note{display:grid;gap:7px;font-size:.92rem;font-weight:550}
.region-note textarea{padding:12px;resize:vertical;min-height:80px;max-width:100%;width:100%;border:1px solid #cfc4cb;background:#fffdfa;border-radius:7px;color:var(--studio-ink);font:400 .94rem/1.7 var(--sans)}
.region-save-error{color:#8d4539;font-size:.88rem;margin:0}
.region-save-error:not(:empty){margin:8px 0}
.region-record-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;margin:14px 0 10px}
.region-observation .studio-small{margin:6px 0 0}
.region-learning{margin:0 0 25px}
.region-course-list,.region-material-links{display:grid;gap:8px}
.region-course{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:12px;border:1px solid var(--studio-border);border-radius:8px;padding:9px 11px;background:var(--studio-paper);color:var(--studio-ink);min-width:0}
.region-course:hover,.region-material-links a:hover,.region-motion-links a:hover{border-color:#9c8aa1}
.region-course-thumb{display:grid;place-items:center;min-width:0;aspect-ratio:3/2;background:#f0e9e3;overflow:hidden;border-radius:5px}
.region-course-thumb>img,.region-course-thumb>svg{width:100%;height:100%;display:block;object-fit:contain}
.region-course>span:nth-child(2){display:grid;gap:5px;min-width:0}
.region-course strong{font:600 .99rem/1.45 var(--serif);overflow-wrap:anywhere}
.region-course small{font-size:.78rem;color:var(--studio-muted)}
.region-course>.studio-icon,.region-material-links a>.studio-icon{color:var(--studio-accent);width:18px}
.region-material-links a{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:55px;border:1px solid var(--studio-border);border-radius:8px;padding:10px 13px;background:var(--studio-paper)}
.region-material-links a span{display:grid;gap:3px;min-width:0}
.region-material-links small{font-size:.75rem;color:var(--studio-muted)}
.region-material-links strong{font-size:.92rem;line-height:1.5;overflow-wrap:anywhere}
.studio-privacy-details{border-top:1px solid var(--studio-border);padding:12px 0 0;color:var(--studio-muted);font-size:.9rem}
.studio-privacy-details>summary{cursor:pointer;font-weight:550;padding:5px 0}
.studio-privacy-details .learning-device{margin-top:12px}

/* The practice room intentionally keeps the educational plates and reading
   surfaces light and unaltered for legibility, including in the dusk environment. */
body.studio-mode{background:#f5f1ec;min-height:100vh}
body.studio-mode>header{display:none}
body.studio-mode.studio-dusk{background:#252128;color:#eee7e1}
body.studio-mode>main{outline:none}
.studio-room{
  --room-surface:#fcfaf6;--room-soft:#f0ebe6;--room-ink:#39323d;--room-muted:#72696e;--room-line:#d9d0c8;
  --room-accent:#60506b;--room-on-accent:#fff;--room-kicker:#8b735d;--room-content-paper:#fffdfa;
  --studio-accent:var(--room-accent);--studio-muted:var(--room-muted);--studio-gold:var(--room-kicker);
  --ink:var(--room-ink);--muted:var(--room-muted);--hair:var(--room-line);--learn-ink:var(--room-ink);--learn-muted:var(--room-muted);
  min-height:100vh;width:min(1340px,94%);margin:0 auto;padding:16px 0 24px;color:var(--room-ink)
}
.studio-room[data-theme=dusk]{
  --room-surface:#322c35;--room-soft:#403744;--room-ink:#f4ece6;--room-muted:#cdc1c6;--room-line:#514852;
  --room-accent:#ddc9e2;--room-on-accent:#312637;--room-kicker:#d3b897;--room-content-paper:#f1eae1;
  --learn-iris:#ddc9e2;--learn-plum:#e0bfd4;--purple:#ddc9e2;--learn-line:#514852;
}
.room-topbar{display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:center;padding:3px 0 14px}
.room-exit{display:inline-flex;align-items:center;gap:7px;min-height:42px;font-size:.9rem;color:var(--room-muted);justify-self:start}
.room-exit:hover{color:var(--room-accent)}
.room-regular{justify-self:end}
.room-brand{display:flex;align-items:center;gap:9px;font:600 1.09rem/1.4 var(--serif);letter-spacing:.035em;color:var(--room-ink)}
.room-brand>span{display:flex;align-items:center;gap:9px}
.room-brand i{height:17px;width:1px;background:var(--room-line)}
.studio-room[data-theme=dusk] .room-brand img{filter:grayscale(1) brightness(0) invert(.83)}
.room-identity{display:flex;justify-content:space-between;align-items:center;gap:16px;border-block:1px solid var(--room-line);padding:13px 0}
.room-identity>div:first-child{min-width:0}
.room-identity>div>strong{font:600 1.2rem/1.45 var(--serif);display:block;margin-top:3px}
.room-utilities{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex:none}
.room-utilities button{border:1px solid var(--room-line);border-radius:7px;background:var(--room-surface);display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:7px 11px;font:550 .88rem/1.35 var(--sans);color:var(--room-muted);white-space:nowrap}
.room-utilities button:hover,.room-utilities button[aria-pressed=true]{border-color:var(--room-accent);color:var(--room-accent)}
.room-utilities button[aria-pressed=true]{background:var(--room-soft)}
.room-utilities .studio-icon{height:17px;width:17px}
#room-clock{color:var(--room-ink);font-variant-numeric:tabular-nums;min-width:2.75em}
.room-navigation{display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,.27fr);align-items:center;gap:24px;border-bottom:1px solid var(--room-line);padding:12px 0}
.room-phases{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.room-phases a{min-width:0;display:flex;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:8px 4px;border:1px solid transparent;border-radius:7px;color:var(--room-muted);font-size:.9rem}
.room-phases a span{font:550 .8rem/1.2 var(--serif);font-variant-numeric:tabular-nums;opacity:.78}
.room-phases a strong{font-weight:550;white-space:nowrap}
.room-phases a[aria-current=step]{border-color:var(--room-line);background:var(--room-surface);color:var(--room-accent);box-shadow:0 2px 5px #30292b08}
.room-phases a[aria-current=step] strong{font-weight:700}
.room-progress{min-width:0;display:grid;gap:6px;color:var(--room-muted);font-size:.81rem;line-height:1.4}
.room-progress progress{width:100%;height:5px;border:0;background:var(--room-soft);accent-color:var(--room-accent);border-radius:4px}
.room-progress progress::-webkit-progress-bar{border-radius:4px;background:var(--room-soft)}
.room-progress progress::-webkit-progress-value{border-radius:4px;background:var(--room-accent)}
.room-content{padding:23px 0 22px;min-width:0}
.room-preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 17px}
.room-preview-heading h1{font:550 clamp(1.95rem,3.75vw,3rem)/1.3 var(--serif);color:var(--room-ink);margin:0 0 6px}
.room-preview-heading p{margin:0;font-size:.98rem;color:var(--room-muted);line-height:1.65}
.room-duration{color:var(--room-muted);font-size:.86rem;white-space:nowrap}
.room-preview-layout{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(250px,.83fr);gap:clamp(18px,2.5vw,34px);align-items:start}
.room-visual,.room-aside-inner{padding:clamp(15px,2.05vw,24px);border:1px solid var(--room-line);border-radius:13px;background:var(--room-surface);min-width:0}
.room-visual-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:.8rem;color:var(--room-muted)}
.room-motion-switch{margin-bottom:14px}
.studio-room .room-motion-switch button{color:var(--room-muted);background:var(--room-soft);border-color:var(--room-line)}
.studio-room .room-motion-switch button[aria-pressed=true]{color:var(--room-on-accent);background:var(--room-accent);border-color:var(--room-accent)}
.room-visual .lesson-motion,.room-step-art .lesson-motion,.room-reference .lesson-motion{margin:0}
.room-visual .motion-heading:has(>button:only-child){justify-content:flex-end}
.room-aside{min-width:0;display:grid;gap:11px}
.room-aside-inner h2{font:600 clamp(1.25rem,2.2vw,1.6rem)/1.5 var(--serif);color:var(--room-ink);margin:7px 0 11px}
.room-facts{margin:11px 0 20px}
.room-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:11px 0;border-bottom:1px solid var(--room-line)}
.room-facts dt{font-size:.84rem;color:var(--room-muted)}
.room-facts dd{margin:0;font-size:.93rem;font-weight:650;color:var(--room-ink);text-align:right}
.room-aside-inner .btn{width:100%;min-height:50px}
.room-aside-inner>.studio-text-link{margin-top:10px;display:flex;justify-content:center;min-height:30px}
.room-aside-inner>.studio-small{margin:12px 0 0}
.room-reading-link{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:14px 17px;border:1px solid var(--room-line);border-radius:9px;color:var(--room-ink)}
.room-reading-link>span{display:grid;gap:3px}
.room-reading-link strong{font-size:.91rem}
.room-reading-link small{font-size:.78rem;color:var(--room-muted)}
.room-reading-link:hover{border-color:var(--room-accent)}
.studio-room .btn.primary{background:var(--room-accent);color:var(--room-on-accent);border-color:var(--room-accent)}
.studio-room .btn.outline{border-color:var(--room-line);color:var(--room-accent);background:var(--room-surface)}
.studio-room .btn:hover{filter:brightness(.95)}
.studio-room .room-activity{width:100%;max-width:none;margin:0;padding:0;min-height:0}
.studio-room .room-activity .activity-head{margin:0 0 12px}
.studio-room .room-activity .activity-head h1{color:var(--room-ink);font:600 clamp(1.6rem,2.7vw,2.2rem)/1.35 var(--serif);margin:7px 0}
.studio-room .room-activity .activity-head>p{max-width:70em}
.studio-room .room-activity .eyebrow{color:var(--room-kicker)}
.studio-room .room-activity .learning-context{margin:10px 0 15px}
.studio-room .room-activity .task-panel{border-color:var(--room-line);background:var(--room-content-paper);padding:clamp(19px,2.4vw,32px);border-radius:12px}
.room-step-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);align-items:start;gap:clamp(20px,2.6vw,34px)}
.room-step-art,.room-step-copy{min-width:0}
.room-step-copy>.task-prose{margin-top:0;line-height:1.82}
.room-step-copy>.task-prose>p:first-child{margin-top:0}
.room-step-copy>.task-input:first-child,.room-step-copy>.task-free:first-child,.room-step-copy>.task-timer:first-child{margin-top:0}
.room-step-layout .room-step-art .step-preview{margin:0}
.room-reference>p{font-size:.84rem;font-weight:600;color:#78677a;margin:0 0 8px}
.room-reference .motion-heading{margin-top:0}
.studio-room .room-activity .task-controls{margin-top:21px;padding-top:16px}
.studio-room .activity-return{color:var(--room-muted);font-size:.88rem}
.studio-room .activity-return a,.studio-room .room-footer a,.studio-room .learn-text-link{color:var(--room-accent);text-underline-offset:3px}
.studio-room .room-feedback{width:min(790px,100%);max-width:none;padding:0;margin:0 auto;min-height:0}
.studio-room .room-feedback .guided-page-head h1{color:var(--room-ink);font-size:clamp(1.8rem,3.2vw,2.65rem)}
.room-feedback .guided-page-head{margin:0 0 17px}
.studio-room .room-feedback :is(.feedback-panel,.learning-device){border-color:var(--room-line);background:var(--room-content-paper)}
/* Explicit paper palette inside instructional content, regardless of room theme. */
.studio-room :is(.task-panel,.feedback-panel,.learning-device,.lesson-motion){
  --ink:#302a35;--muted:#67616b;--purple:#514769;--hair:#d7cfc6;--paper:#faf8f4;--learn-ink:#302a35;--learn-muted:#67616b;
  --learn-iris:#514769;--learn-plum:#74455f;--learn-line:#d4cbd6;--learn-card:#fcf8f2;--learn-tint:#f0ebf3;
  --room-ink:#302a35;--room-muted:#67616b;--room-line:#cdc3c3;--room-accent:#514769;--room-on-accent:#fff;--room-surface:#fdfaf6;color:#302a35
}
.studio-room .lesson-motion .motion-heading{color:#3b3243}
.studio-room .task-panel .task-option{background:#fffaf5}
.studio-room .task-panel .task-option:has(:checked){background:#eee7f0}
.studio-room .task-panel .task-free textarea{background:#fffaf5}
.studio-room .room-activity .task-position{color:#635173}
.studio-room .room-activity .task-error{color:#894133}
.studio-room .room-activity .task-panel a{overflow-wrap:anywhere}
.room-loading{min-height:200px;display:grid;place-content:center;text-align:center;color:var(--room-muted)}
.room-footer{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:14px 0 0;border-top:1px solid var(--room-line);color:var(--room-muted);font-size:.8rem;line-height:1.55}
.room-footer a{text-decoration:underline}

/* Smaller screens: all controls remain real buttons, with the full course in
   the same width. The room never needs system fullscreen to be usable. */
@media(max-width:1040px){
  .studio-home-grid{gap:12px}
  .studio-home-today{grid-template-columns:minmax(0,1.7fr) minmax(95px,.8fr)}
  .studio-home-map{grid-template-columns:minmax(90px,.73fr) minmax(0,1.1fr)}
  .studio-home-actions .studio-start{min-width:0;padding:10px 14px}
  .studio-profile-banner{align-items:flex-start;flex-direction:column;gap:14px}
  .room-identity{flex-wrap:wrap}
  .room-utilities{justify-content:flex-start;flex:1 1 auto}
  .room-step-layout{grid-template-columns:minmax(0,1.17fr) minmax(240px,1fr);gap:20px}
}
@media(max-width:760px){
  .studio-home{padding-block:25px 29px}
  .studio-section-bar{align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:14px}
  .studio-section-bar h2{font-size:1.75rem}
  .studio-section-bar>.studio-text-link{margin:0}
  .studio-home-grid{grid-template-columns:minmax(0,1fr);gap:11px}
  .studio-home-today{grid-template-columns:minmax(0,1fr) 30%}
  .studio-home-map{grid-template-columns:34% minmax(0,1fr);min-height:169px}
  .studio-home-copy,.studio-home-map-copy{padding:17px 15px}
  .studio-home :is(h3,.studio-card-title){font-size:1.33rem}
  .studio-home-actions .studio-text-link{min-height:36px}
  .studio-home-map-art img{object-position:7% 44%}
  .studio-profile-banner{padding:17px}
  .studio-profile-actions{width:100%;flex-wrap:wrap}
  .studio-profile-actions .btn{flex:1 1 132px;padding:10px}
  .studio-page-head{margin-bottom:21px}
  .studio-page-head h1{font-size:2.45rem}
  .studio-page-head p{font-size:.96rem}
  .studio-today-layout,.body-layout{grid-template-columns:minmax(0,1fr);gap:19px}
  .studio-today-controls{padding:17px}
  .studio-control-group h2{font-size:1.23rem;margin-bottom:13px}
  .studio-goals{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .studio-goals button{padding:10px 9px;gap:6px;min-height:58px;font-size:.87rem}
  .studio-goal-check{width:17px;height:17px}.studio-goal-check svg{width:13px;height:13px}
  .studio-time-control{margin-top:18px;padding-top:18px}
  .studio-time-options button{min-height:64px}
  .studio-time-options button strong{font-size:1.55rem}
  .studio-control-links{grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;padding-top:13px}
  .studio-control-links a{font-size:.84rem}
  .studio-pick-visual{aspect-ratio:2.1}
  .studio-pick-copy{padding:20px 17px}
  .studio-pick-copy h2{font-size:1.75rem}
  .studio-pick-actions{flex-direction:column;align-items:stretch;gap:13px;margin-top:18px}
  .studio-pick-actions .studio-text-link{justify-content:center;min-height:36px}
  .studio-meta-grid{gap:8px}
  .studio-meta-grid>div{padding-right:6px}
  .studio-meta-grid small{font-size:.72rem}
  .studio-meta-grid strong{font-size:1.34rem}
  .studio-meta-grid strong.studio-meta-state{font-size:.85rem}
  .body-page-head{display:grid;justify-content:stretch;gap:13px}
  .body-page-count{border:0;padding:9px 12px;min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 10px;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-paper)}
  .body-page-count strong{font-size:1.45rem}
  .body-page-count strong span{font-size:.95rem}
  .body-page-count progress{grid-column:1/-1}
  .body-map-panel{padding:12px}
  .body-atlas-canvas{max-width:340px}
  .body-region-list{gap:7px}
  .body-region-choice{min-height:55px;padding:7px 8px}
  .region-choice-main strong{font-size:.875rem}
  .region-choice-arrow svg{width:13px}
  .body-region-detail{scroll-margin-top:12px;padding:6px 0 0}
  .body-detail-heading h2{font-size:2rem}
  .body-back-to-map{display:inline-flex;min-height:40px;margin-top:6px}
  .region-visual{margin-top:18px}
  .region-course{grid-template-columns:87px minmax(0,1fr);gap:10px}
  .region-course strong{font-size:.95rem}
  .region-observation{padding:17px}
  .region-record-actions .btn{flex:1 1 140px}
  .studio-room{width:94%;padding:8px 0 22px}
  .room-topbar{display:grid;grid-template-columns:1fr 1fr;gap:1px 12px;padding:0 0 9px}
  .room-brand{grid-column:1/-1;grid-row:1;justify-self:center;justify-content:center;min-height:37px;font-size:1.04rem}
  .room-brand img{height:23px;width:23px}
  .room-exit{font-size:.83rem;min-height:40px}
  .room-identity{gap:10px;padding:9px 0 11px}
  .room-identity>div:first-child{width:100%}
  .room-identity>div>strong{font-size:1.08rem}
  .room-utilities{justify-content:flex-start;width:100%;flex-wrap:wrap;gap:6px}
  .room-utilities button{font-size:.875rem;min-height:40px;padding:7px 8px;flex:1 0 auto}
  .room-utilities .studio-icon{width:15px;height:15px}
  .room-navigation{grid-template-columns:1fr;gap:8px;padding:9px 0}
  .room-phases{gap:4px}
  .room-phases a{gap:5px;font-size:.83rem;min-height:42px}
  .room-phases a span{font-size:.74rem}
  .room-progress{grid-template-columns:auto 1fr;align-items:center;gap:8px;font-size:.75rem}
  .room-progress progress{max-width:none}
  .room-content{padding:17px 0 20px}
  .room-preview-heading{display:block;margin-bottom:13px}
  .room-preview-heading h1{font-size:1.8rem}
  .room-preview-heading p{font-size:.93rem;margin:0 0 8px}
  .room-preview-layout,.room-step-layout{grid-template-columns:minmax(0,1fr);gap:15px}
  .room-visual{padding:9px}
  .room-visual-title{padding:2px 3px;margin-bottom:8px}
  .room-visual-title>span:last-child{font-size:.75rem}
  .room-aside-inner{padding:17px}
  .studio-room .room-activity .activity-head h1{font-size:1.55rem}
  .studio-room .room-activity .task-panel{padding:14px 12px}
  .studio-room .room-activity .task-position{background:var(--room-content-paper);border-color:var(--hair);z-index:9}
  .studio-room[data-theme=dusk] .room-activity .task-position{background:#f1eae1}
  .studio-room .room-activity .task-panel .task-prose{font-size:16px;line-height:1.78}
  .room-step-copy>.task-prose{margin-top:0}
  .studio-room .room-activity .task-controls{gap:8px}
  .room-footer{display:grid;gap:6px}
}
@media(max-width:390px){
  .studio-home-today{grid-template-columns:minmax(0,1fr) 25%}
  .studio-home-copy{padding:15px 13px}
  .studio-home-actions .studio-start{font-size:14px;padding-inline:10px}
  .studio-home-actions .studio-start svg{width:17px}
  .studio-goals button{font-size:.83rem}
  .studio-control-links{grid-template-columns:1fr}
  .region-observation-options label{font-size:.85rem;padding:8px}
  .region-choice-arrow{display:none}
  .room-utilities button{gap:5px;padding:6px}
  .room-utilities button[data-studio-action=clock]{flex-basis:105px}
  .room-clock-label{font-size:.72rem}
  .room-phases a{gap:4px;font-size:.85rem}
}
@media(prefers-reduced-motion:reduce){
  .studio-home-map,.studio-goals button,.body-region-choice,.hotspot-pin{transition:none}
}
.studio-pick-jump{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:55px;margin-top:15px;padding:10px 12px;text-align:left;border-radius:8px;border:1px solid var(--studio-border);background:#f5efe9;color:var(--studio-accent)}
.studio-pick-jump>span{display:grid;gap:4px;min-width:0}
.studio-pick-jump small{font-size:.73rem;color:var(--studio-gold)}
.studio-pick-jump strong{font-size:.9rem;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.studio-pick-jump:hover{border-color:#a795af}
#studio-pick{scroll-margin-top:15px}
#studio-pick:focus{outline:none}

.studio-pick-jump .pick-jump-label{display:block;flex:none;font-size:.875rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}

.studio-pick-visual{align-self:stretch}
@media(min-width:761px) and (max-width:1000px){.studio-goals button{padding:9px 8px;font-size:.88rem;gap:6px}.studio-goal-check{width:18px;height:18px}.studio-goal-check svg{width:13px;height:13px}}


/* The home opens directly into the two learning invitations, rather than
   spending a separate screen on decorative cover art and repeated actions. */
.studio-home.studio-entry{border-top:0;padding:clamp(25px,3.3vw,42px) 0 32px}
.studio-masthead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 22px}
.studio-home-heading{min-width:0}
.studio-masthead h1{font:550 clamp(2.1rem,4.1vw,3.35rem)/1.25 var(--serif);letter-spacing:-.025em;color:var(--studio-ink);margin:8px 0 0}
.studio-masthead h1 em{font-style:normal;color:var(--studio-accent);margin-inline-start:.16em}
.studio-masthead .studio-tagline{font-size:1rem;line-height:1.65;margin:8px 0 0;color:var(--studio-muted)}
.studio-masthead>.studio-text-link{flex:none;margin-bottom:4px}
@media(max-width:760px){
  .studio-home.studio-entry{padding:22px 0 25px}
  .studio-masthead{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-bottom:16px}
  .studio-home-heading{width:100%}
  .studio-masthead h1{font-size:clamp(1.85rem,6.8vw,2.65rem);margin-top:7px}
  .studio-masthead .studio-tagline{font-size:.94rem;margin-top:7px}
  .studio-masthead>.studio-text-link{margin:0}
}
@media(max-width:355px){.studio-masthead h1{font-size:1.7rem}}
