/* V36 — spacious practice workbench: explanation on left, live cube and player on right.
 * RTL text stays RTL; physical column layout stays consistent across languages. */
body.rubik-hub-page .rubik-shell{width:min(1900px,calc(100% - 34px))}
body.rubik-hub-page:has(.rubik-topic-nav button:not([data-rubik-view=overview])[aria-current=page]) .rubik-landing-hero{display:none}
body.rubik-hub-page:has(.rubik-topic-nav [data-rubik-view=practice][aria-current=page]) #rubikHubContent{padding-top:9px}
body.rubik-hub-page .rubik-topic-nav{flex-wrap:nowrap;gap:4px}
body.rubik-hub-page .rubik-topic-nav button{flex:1 1 0;min-width:0;padding:10px 7px}
body.rubik-hub-page .rubik-section-header{margin:5px 0 11px}
body.rubik-hub-page .rubik-section-header h2{font-size:clamp(21px,2vw,29px)}
body.rubik-hub-page .rubik-section-header p{max-width:none;font-size:13px}
body.rubik-hub-page:has(.rubik-training-stage) .rubik-info-line{margin:7px 0 10px;padding:11px 17px;font-size:12px}
body.rubik-hub-page .rubik-training-stage{display:grid;direction:ltr;grid-template-columns:minmax(300px,.66fr) minmax(0,1.6fr);align-items:start;gap:15px;width:100%;max-width:none;margin:10px auto 0}
body.rubik-hub-page .rubik-studio-form{direction:rtl;position:sticky;top:139px;min-width:0;align-content:start;gap:11px;padding:18px;border-radius:16px;max-height:calc(100dvh - 151px);overflow-y:auto;background:#fff;border:1px solid #bcd6ed}
html[dir=ltr] body.rubik-hub-page .rubik-studio-form{direction:ltr}
body.rubik-hub-page .rubik-studio-form label{font-size:12px;gap:6px}
body.rubik-hub-page .rubik-studio-form select{min-height:40px;padding:8px 10px;font-size:13px}
body.rubik-hub-page .rubik-studio-form textarea{min-height:95px;padding:12px 13px;font-size:16px;background:#f8fbff;letter-spacing:.025em}
body.rubik-hub-page .rubik-studio-selectors{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.rubik-hub-page .rubik-studio-hint{font-size:12px;line-height:1.7;margin:0}
.rubik-studio-input-warning{font:750 12px/1.6 system-ui;color:#a24928;margin:0;min-height:0}
.rubik-studio-input-warning:empty{display:none}
body.rubik-hub-page .rubik-studio-cube{position:sticky;top:139px;max-height:calc(100dvh - 151px);overflow-y:auto;min-width:0;background:#fff;border:1px solid #c0d5eb;border-radius:17px;padding:12px 14px;display:grid;gap:10px;direction:rtl}
html[dir=ltr] body.rubik-hub-page .rubik-studio-cube{direction:ltr}
.rubik-studio-control-rail{background:#eff7ff;border:1px solid #c9ddef;border-radius:13px;padding:10px 12px;display:grid;gap:9px}
.rubik-studio-control-rail>strong{color:#225f93;font:900 13px system-ui}
.rubik-studio-control-rail .rubik-studio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.rubik-studio-control-rail .rubik-studio-actions button{padding:10px 13px;white-space:nowrap;font-size:12px;flex:0 1 auto}
.rubik-studio-speed-rail{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px}
.rubik-studio-speed-rail label{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:800;font-size:12px}
.rubik-studio-speed-rail select{width:95px;min-width:88px;border-radius:9px;border:1px solid #a6c7e6;padding:8px 10px;background:#fff;color:#245d8f;font-size:13px}
.rubik-studio-speed-pills{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.rubik-studio-speed-pills button{border:1px solid #bad2e7;border-radius:8px;background:#fff;color:#2a5c8e;font:850 12px system-ui;padding:8px 10px;cursor:pointer;min-width:48px}
.rubik-studio-speed-pills button[aria-pressed=true]{color:#fff;background:#226da7;border-color:#226da7}
.rubik-studio-speed-note{color:#597d9e;font-size:11px}
body.rubik-hub-page .rubik-studio-view{min-width:0}
body.rubik-hub-page .rubik-studio-view>.rubik-notation-live{margin:0;padding:9px 10px;background:#f2f8ff}
body.rubik-hub-page .rubik-studio-view .rubik-notation-live-guide{display:none}
body.rubik-hub-page .rubik-studio-view .rubik-dual-view{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:stretch;gap:10px}
body.rubik-hub-page .rubik-studio-view .rubik-dual-view>section{min-height:unset;padding:8px}
body.rubik-hub-page .rubik-studio-view .rubik-full-view{grid-column:2;grid-row:1}
body.rubik-hub-page .rubik-studio-view .rubik-net-view{grid-column:1;grid-row:1}
body.rubik-hub-page .rubik-studio-view .rubik-cube-3d{max-height:min(42dvh,410px)}
body.rubik-hub-page .rubik-studio-view .rubik-net-view .rubik-diagram{max-height:min(42dvh,410px)}
body.rubik-hub-page .rubik-studio-view .rubik-notation-live-status{margin:6px 0}
body.rubik-hub-page .rubik-studio-view .rubik-notation-live-actions{margin-bottom:2px}
body.rubik-hub-page .rubik-studio-stage-footer{display:grid;gap:9px;padding:5px 3px 2px}
body.rubik-hub-page .rubik-studio-stage-footer>label{font:850 12px system-ui;display:flex;align-items:center;gap:8px}
body.rubik-hub-page .rubik-studio-stage-footer>label input{width:17px;height:17px}
body.rubik-hub-page .rubik-studio-stage-footer .rubik-studio-challenge{font-size:12px;margin:0}
body.rubik-hub-page .rubik-studio-stage-footer .rubik-studio-progress{font-size:13px}
body.rubik-hub-page .rubik-studio-stage-footer .rubik-studio-timeline{padding:8px;gap:4px}
body.rubik-hub-page .rubik-studio-stage-footer .rubik-studio-token{font-size:12px;padding:5px 7px}
body.rubik-hub-page .rubik-studio-timer{border-top:1px solid #d1e4f5;padding-top:9px;gap:9px}
body.rubik-hub-page .rubik-studio-timer strong{font-size:22px}
.rubik-studio-space-tip{font:750 12px system-ui;color:#386a96;border:1px solid #c2d9ec;background:#eaf5ff;border-radius:8px;padding:6px 10px}
@media(min-width:1300px){
 body.rubik-hub-page .rubik-studio-view .rubik-cube-3d{max-height:min(47dvh,450px)}
 body.rubik-hub-page .rubik-studio-view .rubik-net-view .rubik-diagram{max-height:min(47dvh,450px)}
}
@media(max-width:1100px){
 body.rubik-hub-page .rubik-training-stage{grid-template-columns:minmax(0,1fr)}
 body.rubik-hub-page .rubik-studio-form{position:static;overflow:visible;max-height:none;order:2}
 body.rubik-hub-page .rubik-studio-cube{order:1;position:static;top:auto;max-height:none;overflow:visible}
 body.rubik-hub-page .rubik-topic-nav{flex-wrap:wrap}
 body.rubik-hub-page .rubik-topic-nav button{flex:1 1 22%}
}
@media(max-width:650px){
 body.rubik-hub-page .rubik-shell{width:calc(100% - 20px)}
 body.rubik-hub-page .rubik-studio-cube{padding:8px}
 body.rubik-hub-page .rubik-studio-control-rail{padding:9px}
 body.rubik-hub-page .rubik-studio-speed-rail{gap:8px}
 body.rubik-hub-page .rubik-studio-speed-pills button{min-width:43px;padding:7px}
 body.rubik-hub-page .rubik-studio-view .rubik-dual-view{grid-template-columns:1fr}
 body.rubik-hub-page .rubik-studio-view .rubik-full-view,
 body.rubik-hub-page .rubik-studio-view .rubik-net-view{grid-column:1;grid-row:auto}
 body.rubik-hub-page .rubik-studio-view .rubik-cube-3d{max-height:360px}
 body.rubik-hub-page .rubik-studio-selectors{grid-template-columns:1fr}
}
