.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);min-height:65px}
.workspace-nav{display:flex;gap:28px;overflow-x:auto;scrollbar-width:none;min-width:0}.workspace-nav button{position:relative;min-height:64px;padding:15px 0;background:none;border:0;border-bottom:2px solid transparent;white-space:nowrap;color:var(--muted);font-size:15px}.workspace-nav button:hover{color:var(--ink)}.workspace-nav button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent)}
.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:9px 14px;color:var(--ink);font-size:14px;white-space:nowrap}.secondary-button:hover{background:var(--soft);border-color:var(--muted)}.secondary-button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#eeb06f10}
.stage-actions{display:flex;align-items:center;gap:10px}.stage-actions .secondary-button{min-height:36px;padding:7px 12px}.technique-readout{display:flex;flex-wrap:wrap;gap:6px;position:absolute;left:20px;bottom:76px;pointer-events:none;z-index:2}.technique-readout span{font-size:12px;padding:6px 9px;border:1px solid #eeb06f55;border-radius:3px;background:#181613ed;color:var(--accent);font-variant-numeric:tabular-nums}
.countdown-overlay{position:absolute;inset:66px 0 65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;z-index:4;background:#181613c9;backdrop-filter:blur(4px);border-radius:8px}.countdown-overlay>span{color:var(--muted);font-size:16px}.countdown-overlay strong{font-family:var(--display);font-weight:500;font-size:110px;line-height:1.05;color:var(--accent)}
.practice-tools{border-bottom:1px solid var(--line)}.practice-tools summary{list-style:none;display:flex;align-items:center;gap:24px;min-height:66px;cursor:pointer;color:var(--ink);font-size:15px;padding:18px 0}.practice-tools summary::-webkit-details-marker{display:none}.practice-tools summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.summary-hint{color:var(--muted);font-size:14px}.disclosure-mark{margin-left:auto;font-size:24px;color:var(--accent);line-height:1}.practice-tools[open] .disclosure-mark{transform:rotate(45deg)}.practice-settings{display:flex;flex-wrap:wrap;align-items:center;gap:22px;padding:4px 0 16px}.check-control{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;line-height:1.4;cursor:pointer}.check-control input{appearance:auto;width:18px;height:18px;margin:0;accent-color:var(--accent);flex-shrink:0}.practice-enable{color:var(--accent)}.field-control{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.5;color:var(--muted)}.field-control select{border:1px solid var(--line);padding:10px 12px;min-height:44px;color:var(--ink);background:var(--paper);border-radius:4px;max-width:100%}.settings-status{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 18px}.settings-status:empty{display:none}.counter-settings{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid var(--line)}.counter-settings .settings-status{margin:0;flex:1;font-size:13px}.counter-header{display:none}
.playground-controls{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}.pour-actions{display:flex;align-items:center;gap:14px}.fill-control{margin-left:auto;display:grid;grid-template-columns:auto minmax(80px,150px) 38px;gap:12px;align-items:center;font-size:14px;color:var(--muted)}.fill-control meter{appearance:none;width:100%;height:8px;border:0;overflow:hidden;border-radius:9px;background:var(--line)}.fill-control meter::-webkit-meter-bar{border:0;background:var(--line);border-radius:9px}.fill-control meter::-webkit-meter-optimum-value{background:var(--accent)}.fill-control meter::-moz-meter-bar{background:var(--accent)}.pour-sliders{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:28px}.pour-sliders label{display:grid;grid-template-columns:1fr auto;gap:5px}.pour-sliders output{font-size:13px;color:var(--ink);font-variant-numeric:tabular-nums}.pour-sliders input{grid-column:1/-1;width:100%;height:30px;margin:0;accent-color:var(--accent)}.playground-note{font-size:14px;color:var(--muted);line-height:1.65;margin:20px 0 0;max-width:800px}
body[data-workspace=playground] .lesson-description{position:static;width:auto;height:auto;margin:0 0 18px;overflow:visible;clip-path:none;white-space:normal;font-size:16px;max-width:330px}body[data-workspace=playground] #lesson-title{font-size:clamp(62px,6.6vw,98px)}body[data-workspace=playground] .stage{min-height:490px}
body.counter-mode{min-height:100dvh}body.counter-mode .site-header,body.counter-mode .workspace-bar,body.counter-mode .patterns-panel,body.counter-mode .coach-note,body.counter-mode .learn-note,body.counter-mode .studio-footer{display:none}body.counter-mode main{max-width:1500px;padding:0 4%}body.counter-mode .counter-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}body.counter-mode .counter-header .eyebrow{color:var(--accent)}body.counter-mode .lesson-intro{display:none}body.counter-mode .studio-layout{grid-template-rows:1fr;grid-template-columns:42% minmax(0,1fr);min-height:360px}body.counter-mode .stage{grid-row:1;min-height:360px}body.counter-mode .lesson-instruction{grid-row:1;align-self:center;padding:25px 0}body.counter-mode .pour-callout{max-width:550px}body.counter-mode .pour-callout h2{font-family:var(--display);font-size:clamp(34px,4.5vw,62px);line-height:1.1}body.counter-mode #step-detail{font-size:18px}body.counter-mode .play-button{min-width:235px;min-height:70px;font-size:18px}body.counter-mode .step{min-height:85px}body.counter-mode .counter-settings{padding:16px 0}body.counter-mode .counter-settings .check-control{font-size:16px}
@media(max-width:1100px){.workspace-nav{gap:23px}.practice-settings{gap:18px}.practice-settings .field-control:first-of-type{max-width:280px}.pour-sliders{gap:18px}.technique-readout{left:10px}}
@media(max-width:760px){.workspace-bar{min-height:0;gap:12px;flex-wrap:wrap;padding-bottom:12px}.workspace-nav{flex:1 0 100%;gap:26px;border-bottom:1px solid var(--line)}.workspace-nav button{min-height:55px;font-size:14px}.workspace-bar>#counter-toggle{margin-left:auto;min-height:36px;padding:7px 11px}.stage-bottom{gap:8px}#orbit-hint{font-size:12px;max-width:120px;line-height:1.4}.stage-actions{gap:5px}.stage-actions .secondary-button{font-size:13px;padding:8px 10px}.summary-hint{font-size:13px;max-width:210px}.practice-tools summary{gap:15px}.practice-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px}.practice-enable{grid-column:1/-1}.practice-settings .field-control{min-width:0}.practice-settings .field-control select{width:100%;font-size:14px}.practice-settings .check-control{font-size:14px}.counter-settings{gap:8px 24px}.counter-settings .settings-status{flex-basis:100%}.pour-actions{flex-wrap:wrap}.fill-control{flex-basis:100%;margin-top:6px;grid-template-columns:auto 1fr 38px}.pour-sliders{grid-template-columns:1fr 1fr;gap:18px}.technique-readout{bottom:69px;left:10px}.technique-readout span{font-size:12px;padding:5px 6px}body[data-workspace=playground] .stage{min-height:370px}body[data-workspace=playground] .lesson-description{max-width:100%}body.counter-mode .studio-layout{grid-template-columns:1fr;grid-template-rows:auto auto;min-height:0}body.counter-mode .stage{grid-column:1;grid-row:1;min-height:260px}body.counter-mode .lesson-instruction{grid-column:1;grid-row:2;padding:10px 0 22px}body.counter-mode .pour-callout{min-height:0}body.counter-mode .pour-callout h2{font-size:38px}body.counter-mode #step-detail{font-size:16px}body.counter-mode .play-button{min-width:200px;min-height:62px;font-size:16px}body.counter-mode .counter-header{padding:12px 0}.counter-header .eyebrow{font-size:12px}body.counter-mode .counter-header .secondary-button{font-size:13px}.practice-tools .settings-status{font-size:13px}}
@media(max-width:390px){.workspace-nav{gap:20px}.workspace-nav button{font-size:13px}.summary-hint{display:none}.pour-sliders{gap:16px 12px}.pour-sliders label{font-size:13px}.pour-sliders output{font-size:12px}}

#journal-panel,#mistakes-panel{padding:36px 0;border-top:1px solid var(--line)}
@media(min-width:1000px) and (max-height:820px){.site-header{min-height:64px;padding-top:10px;padding-bottom:10px}.workspace-bar{min-height:54px}.workspace-nav button{min-height:54px}.pattern-card{min-height:70px;padding-top:8px;padding-bottom:8px}.pattern-card img{width:46px;height:46px}.studio-layout,.stage,body[data-workspace=playground] .stage{min-height:365px}.lesson-intro{padding-top:18px;padding-bottom:14px}h1{font-size:66px;margin-top:16px;margin-bottom:14px}.lesson-instruction{padding-top:0;padding-bottom:18px}.pour-callout h2{font-size:21px;margin:9px 0}.step-facts{margin-top:11px}.player{padding:14px 0}.stage-top{top:10px}}
