#world-studio.uc-real-studio > section { display: none !important; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) { max-width: 1080px; margin: 0 auto; padding: 100px 24px 60px; color: #28281f; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal)[hidden] { display: none; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; color:#f6efdc; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) h1 { font-size:clamp(30px,5vw,48px); font-weight:500; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) h2 { font-size:26px; font-weight:500; margin-bottom:14px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) h3 { font-size:21px; font-weight:500; margin:18px 0 10px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) h4 { font-size:18px; margin-bottom:10px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) p { line-height:1.55; margin:10px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-card { background:#f6efdc; padding:24px; border-radius:18px; margin:20px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:18px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) form { display:flex; flex-direction:column; gap:12px; margin:18px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) label { display:flex; flex-direction:column; gap:5px; font-size:13px; line-height:1.5; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) input,:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) select,:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) textarea { width:100%; box-sizing:border-box; font:inherit; font-size:15px; padding:10px; color:#28281f; background:#fffcf2; border:1px solid #bdb399; border-radius:8px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) button { font:inherit; font-size:13px; font-weight:600; padding:10px 16px; border-radius:20px; border:1px solid #a6896a; background:#fffcf2; color:#3a2810; cursor:pointer; margin:4px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) button:disabled { opacity:.55; cursor:wait; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) form > button { align-self:flex-start; background:#157e4f; color:#f6efdc; border-color:#157e4f; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) :focus-visible { outline:3px solid #e2a03c; outline-offset:3px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-student { width:100%; text-align:left; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:16px; margin:8px 0; border-radius:12px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-assignment,:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-reference { border-top:1px solid #c8bda3; padding:18px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-take { border-left:3px solid #157e4f; padding:10px 16px; margin:12px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-check { flex-direction:row; align-items:center; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-check input { width:auto; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-muted { font-size:12px; color:#70654d; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-prose { white-space:pre-wrap; overflow-wrap:anywhere; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-eyebrow { text-transform:uppercase; font-size:12px; letter-spacing:.08em; color:#e2a03c; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) [data-studio-status],:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-error { color:#f6efdc; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) code { display:block; font-size:16px; overflow-wrap:anywhere; padding:12px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) audio { display:block; width:min(100%,440px); margin:12px 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) fieldset { padding:12px; border:1px solid #bdb399; border-radius:8px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) [data-recording-tempo] legend { padding:0 6px; font-weight:700; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-tempo-status { font-size:13px; min-height:1.5em; color:#157e4f; }
.tempo-player { max-width:560px; width:100%; box-sizing:border-box; margin:12px 0; padding:12px; border:1px solid #bdb399; border-radius:12px; color:#28281f; background:#fffcf2; }
.tempo-player .tempo-player-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.tempo-player [data-tempo-toggle] { min-width:88px; min-height:44px; }
.tempo-player [data-tempo-rate] { font-size:13px; color:#157e4f; }
.tempo-player [data-tempo-time] { margin-left:auto; font-size:13px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.tempo-player .tempo-player-seek { display:flex; flex-direction:column; gap:4px; font-size:12px; margin-top:8px; }
.tempo-player input[type="range"] { display:block; width:100%; min-height:36px; padding:0; accent-color:#157e4f; }
.tempo-player [data-tempo-status] { margin:6px 0 0; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.tempo-player [data-tempo-status]:empty { display:none; }
.tempo-player :focus-visible { outline:3px solid #e2a03c; outline-offset:3px; }
@media(max-width:420px) { .tempo-player { padding:10px; }.tempo-player .tempo-player-controls { gap:6px 8px; }.tempo-player [data-tempo-time] { font-size:12px; } }

#acStudioPortal { padding-top: 12px; padding-bottom: 24px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-selector { color: #f6efdc; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-companion { border-top: 1px solid #c8bda3; padding: 10px 0; }
.studio-invite-overlay { position:fixed; inset:0; z-index:95; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(20,15,9,.8); overflow:auto; }
.studio-invite-overlay[hidden] { display:none; }
.studio-invite-card { width:min(100%,520px); max-height:90dvh; overflow:auto; padding:28px; border-radius:20px; background:#f6efdc; color:#28281f; font-family:'Nunito Sans',sans-serif; }
.studio-invite-card h1 { font-size:32px; margin:14px 0; }
.studio-invite-card p { line-height:1.6; margin:14px 0; overflow-wrap:anywhere; }
.studio-invite-card button { font:inherit; font-weight:700; padding:12px 18px; min-height:44px; margin:6px; border:1px solid #a6896a; border-radius:24px; background:#fffcf2; color:#3a2810; cursor:pointer; }
.studio-invite-card button:first-child { background:#157e4f; color:#f6efdc; border-color:#157e4f; }
.studio-invite-card button:disabled { opacity:.6; cursor:wait; }
.studio-invite-card :focus-visible { outline:3px solid #e2a03c; outline-offset:3px; }
.studio-invite-card [role="alert"] { color:#9b321c; }

#teacherPracticePortal { padding-top: 12px; padding-bottom: 12px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) [hidden] { display: none !important; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-send { border: 1px solid #bdb399; border-radius: 16px; padding: 20px; background: #fffcf2; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) details { border: 1px solid #bdb399; border-radius: 10px; padding: 12px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) summary { cursor: pointer; line-height: 1.5; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-practice { scroll-margin-top: 80px; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-practice .studio-card { padding: 12px 0; margin: 0; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) .studio-practice .studio-error { color: #9b321c; }
:is(#studioPortal, #acStudioPortal, #teacherPracticePortal) button[data-studio-action="practice"] { background: #157e4f; color: #f6efdc; border-color: #157e4f; }
/* Written-score practice, shared by the song room and Student assignments. */
.score-bar-grid { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0; }
.score-bar { min-width:68px; max-width:130px; padding:9px; border:1px solid #b6aa91; border-radius:8px; cursor:pointer; color:#241b0f; background:#f6efdc; }
.score-bar strong,.score-bar small {display:block;}
.score-bar small {font-size:10px;margin-top:4px;}
.score-matched { background:#d4ebd9; }
.score-check {background:#f3ddb1;}
.score-context-bars {display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;}
.score-context-bars span {padding:6px 10px;border-radius:8px;background:#e6e2d9;color:#655e50;font-size:12px;}
.score-skipped {background:#e2c8c3;}
.score-uncertain,.score-unplayed {background:#e6e2d9;}
.score-practice-room {position:fixed;inset:0;z-index:10020;overflow:auto;background:#f6efdc;color:#241b0f;padding:24px max(16px,calc((100vw - 900px)/2));font:16px/1.5 sans-serif;}
.score-practice-room[hidden] {display:none;}
.score-practice-room label {display:block;margin:12px 0;}
.score-practice-room input,.score-practice-room select,.score-practice-room button {font:inherit;padding:8px;max-width:100%;}
.score-practice-room audio {width:100%;margin-top:10px;}
.score-practice-room .score-form-row {display:flex;gap:12px;flex-wrap:wrap;}
.score-practice-room .score-form-row label {flex:1;min-width:130px;}
/* Assignment practice uses the existing open room and its reactive dust. */
#roomStage.assignment-mode {z-index:10030;}
#roomStage.assignment-mode > [data-action],#roomStage.assignment-mode #roomEmbers {display:none!important;}
.assignment-room {position:absolute;inset:0;z-index:5;color:#f6efdc;font:15px/1.5 'Nunito Sans',sans-serif;}
.assignment-room [hidden] {display:none!important;}
.assignment-room-head {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px;}
.assignment-room h1 {font:500 clamp(19px,3vw,28px)/1.3 Georgia,serif;margin:0 0 6px;}
.assignment-room h2 {font:500 26px/1.3 Georgia,serif;margin:12px 0;}
.assignment-room-head p {margin:0;color:#9dddb8;}
.assignment-room button {font:inherit;font-size:13px;min-height:44px;padding:10px 16px;border-radius:24px;border:1px solid #a6896a;background:#fffaf0;color:#28281f;cursor:pointer;}
.assignment-room button:disabled {opacity:.5;cursor:default;}
.assignment-room button:focus-visible {outline:3px solid #e2a03c;outline-offset:3px;}
.assignment-room button[data-ar="start"],.assignment-room button[data-ar="send"],.assignment-room button[data-ar="finish"] {background:#157e4f;color:#f6efdc;border-color:#7dcc9f;}
.assignment-room-controls {position:absolute;bottom:18px;left:24px;right:24px;text-align:center;}
.assignment-room-buttons {display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 0;}
.assignment-room-privacy {font-size:12px;color:#9dddb8;}
.assignment-room-drawer,.assignment-room-review {position:absolute;inset:0;z-index:6;overflow:auto;overscroll-behavior:contain;padding:24px max(16px,calc((100% - 960px)/2));background:#071e17;}
.assignment-room-drawer {background:#f6efdc;color:#28281f;}
.assignment-room-review-card {background:#f6efdc;color:#28281f;border-radius:18px;padding:24px;max-width:960px;margin:0 auto;}
.assignment-room-review [data-ar-message] {min-height:24px;}
.assignment-room audio {display:block;width:100%;margin:14px 0;}
.assignment-room .score-review label {display:flex;align-items:center;gap:8px;}
.assignment-listen-only {display:flex;align-items:center;gap:8px;margin:16px 0;}
.assignment-room .score-matched {background:#d4ebd9;}
.assignment-room .score-check {background:#f3ddb1;}
.assignment-room .score-uncertain,.assignment-room .score-unplayed {background:#e6e2d9;}
.assignment-attempt {display:flex;gap:8px;flex-wrap:wrap;margin:8px 0;}
.assignment-attempt [aria-pressed="true"] {border:2px solid #157e4f;background:#d4ebd9;}
.assignment-room.tempo-pulse .assignment-room-head p {animation:assignmentTempo var(--tempo-period,1s) infinite;}
@keyframes assignmentTempo {0%{opacity:1;color:#fffaf0}75%{opacity:.5;color:#9dddb8}}
@media(max-width:600px) {.assignment-room-head {padding:16px;flex-wrap:wrap;gap:10px}.assignment-room-head>div {order:-1;width:100%}.assignment-room-controls {left:12px;right:12px;bottom:10px}.assignment-room-buttons {gap:8px}.assignment-room-review-card {padding:16px}.assignment-room-controls p {margin:8px 0;}}
@media(prefers-reduced-motion:reduce) {.assignment-room.tempo-pulse .assignment-room-head p {animation:none;outline:1px solid #9dddb8;}}
