/* Remaining owner-reference presentation. Scope excludes accepted Beat/Lyrics. */
.reference-studio[data-studio-screen=lyrics],.reference-studio[data-studio-screen=export]{--finish-glow:color-mix(in srgb,var(--sc-solid) 35%,transparent);--finish-edge:color-mix(in srgb,var(--sc-solid) 55%,var(--studio-line))}
.reference-studio[data-studio-screen=lyrics] :is(.take-lyrics-card,.take-beats-card,.studio-capture,.studio-take-review,.take-card),.reference-studio[data-studio-screen=export] .panel{background:linear-gradient(140deg,color-mix(in srgb,var(--studio-card) 94%,white),var(--studio-card));border:1px solid var(--studio-line);border-radius:22px;box-shadow:inset 0 1px 0 #ffffff09,0 8px 24px #00000014}
.reference-studio[data-studio-screen=lyrics] .take-input-choices{gap:12px}
.reference-studio[data-studio-screen=lyrics] .take-input-choices .studio-card{padding:14px;margin-bottom:0}
.reference-studio[data-studio-screen=lyrics] .take-lyrics-card label>span,.reference-studio[data-studio-screen=lyrics] .take-beat-heading>span{font-size:18px;font-weight:750;letter-spacing:-.3px;color:var(--studio-ink)}
.reference-studio[data-studio-screen=lyrics] :is(#takeLyrics,#takeBeat){min-height:52px;border:1px solid var(--finish-edge);border-radius:15px;box-shadow:inset 0 1px 0 #ffffff10,0 0 12px var(--finish-glow);font-size:15px;padding:10px 34px 10px 12px}
.reference-studio[data-studio-screen=lyrics] .take-beat-select{gap:10px;align-items:center}
.reference-studio[data-studio-screen=lyrics] #takePreviewBeat{width:56px;height:56px;min-width:56px;padding:0;border-radius:50%;border:2px solid var(--finish-edge);box-shadow:0 0 12px var(--finish-glow),inset 0 1px 3px #ffffff44}
.reference-studio[data-studio-screen=lyrics] #takePreviewBeat svg{width:25px;height:25px}
.reference-studio[data-studio-screen=lyrics] .take-loop-choice{padding:3px;border-radius:15px;background:color-mix(in srgb,var(--studio-card) 85%,black);border:1px solid var(--studio-line);gap:2px}
.reference-studio[data-studio-screen=lyrics] .take-loop-choice button{border:0!important;border-radius:11px!important;min-height:44px;box-shadow:none}
.reference-studio[data-studio-screen=lyrics] .take-loop-choice [aria-pressed=true]{background:linear-gradient(140deg,var(--sc-solid),color-mix(in srgb,var(--sc-solid) 65%,black));color:var(--sc-on-solid);box-shadow:0 0 10px var(--finish-glow),inset 0 1px 0 #ffffff33}
.reference-studio[data-studio-screen=lyrics] .studio-capture{margin-top:12px;padding:14px;display:flex;flex-direction:column;gap:4px}
.reference-studio[data-studio-screen=lyrics] .take-primary-actions{justify-content:center;gap:24px;min-height:108px;margin:10px 0}
.reference-studio[data-studio-screen=lyrics] .take-primary-actions>button,.reference-studio[data-studio-screen=lyrics] .take-primary-actions #recordPartButton{width:108px!important;min-width:0;flex:0 1 108px;min-height:100px!important;border-radius:50%!important;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px!important;padding:10px!important}
.reference-studio[data-studio-screen=lyrics] .take-primary-actions svg{width:32px;height:32px}
.reference-studio[data-studio-screen=lyrics] #recordPartButton{background:linear-gradient(145deg,#ff5b73,#ff264b 60%,#c61539)!important;border:2px solid #ff8a9d!important;color:white!important;box-shadow:0 0 17px #ff2d5255,inset 0 2px 3px #ffffff66!important;position:relative;top:auto}
.reference-studio[data-studio-screen=lyrics] #playRecordedTake{background:linear-gradient(140deg,color-mix(in srgb,var(--sc-solid) 55%,var(--studio-card)),var(--studio-card));border:2px solid var(--finish-edge);box-shadow:0 0 12px var(--finish-glow),inset 0 1px 3px #ffffff22}
.reference-studio[data-studio-screen=lyrics] .take-capture-stage{order:0;margin:0;flex:none}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .take-capture-stage{height:156px}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .studio-monitor{order:-2}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .take-start-summary{order:-1}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .take-primary-actions{min-height:64px;position:sticky;top:8px;z-index:7;padding:4px 0;background:var(--studio-card);border-radius:30px}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) #recordPartButton{flex:1;width:100%!important;min-height:64px!important;border-radius:32px!important;flex-direction:row;font-size:20px!important}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) #playRecordedTake{display:none}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) :is(.studio-extras,.take-group-details){display:none}
.reference-studio[data-studio-screen=lyrics] .take-capture-stage #studioElapsed{font-size:56px;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-2px;margin:5px 0}
.reference-studio[data-studio-screen=lyrics] .take-capture-stage #studioRecording{padding:4px 0}
.reference-studio[data-studio-screen=lyrics] .take-capture-stage #studioInputWave{height:54px;max-height:54px;color:var(--sc-solid)}
.reference-studio[data-studio-screen=lyrics] .studio-record-label{color:#ff6c83;font-size:14px;font-weight:700}
.reference-studio[data-studio-screen=lyrics] .studio-count b{border-color:var(--finish-edge);box-shadow:0 0 10px var(--finish-glow);width:52px;height:52px}
.reference-studio[data-studio-screen=lyrics] .studio-take-review{padding:20px 16px}
.reference-studio[data-studio-screen=lyrics] .studio-take-review h3{font-size:26px;letter-spacing:-.5px}
.reference-studio[data-studio-screen=lyrics] #studioWaveform{height:100px;border:1px solid var(--finish-edge);border-radius:18px;background:radial-gradient(ellipse,var(--finish-glow),transparent 75%);color:var(--sc-solid);margin:8px 0}
.reference-studio[data-studio-screen=lyrics] .studio-take-review :is(.voice-button-row button,#pendingSetup){min-height:56px;border-radius:16px}
.reference-studio[data-studio-screen=lyrics] #pendingKeep{box-shadow:0 0 12px var(--finish-glow),inset 0 1px 0 #ffffff33}
.reference-studio[data-studio-screen=lyrics] .take-card{padding:14px;gap:10px;margin-top:10px}
.reference-studio[data-studio-screen=lyrics] .take-card>div{min-width:0}.reference-studio[data-studio-screen=lyrics] .take-card strong{font-size:17px;overflow-wrap:anywhere}
.reference-studio[data-studio-screen=lyrics] .take-card [data-take-play]{width:52px;min-width:52px;height:52px;border-radius:50%;border:1px solid var(--finish-edge)}
.reference-studio[data-studio-screen=export] .studio-export-intro{margin:0 0 18px;display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.reference-studio[data-studio-screen=export] .studio-export-intro h2{margin:0 0 8px}.reference-studio[data-studio-screen=export] .studio-export-intro p{margin:0;font-size:14px;color:var(--studio-muted);line-height:1.5}
.reference-studio[data-studio-screen=export] .export-duration{flex:none;border:1px solid var(--finish-edge);padding:9px 12px;border-radius:20px;color:var(--studio-ink);font-variant-numeric:tabular-nums;font-size:14px}
.reference-studio[data-studio-screen=export] .panel{overflow:hidden;margin-bottom:16px}.reference-studio[data-studio-screen=export] .panel h3{font-size:21px;letter-spacing:-.3px}
.reference-studio[data-studio-screen=export] .panel p{font-size:13px;line-height:1.5;color:var(--studio-muted)}
.reference-studio[data-studio-screen=export] .field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.reference-studio[data-studio-screen=export] :is(input[type=number],textarea){border-radius:13px;min-height:52px}
.reference-studio[data-studio-screen=export] .mix-grid{display:grid;grid-template-columns:1fr;gap:10px;padding:14px}
.reference-studio[data-studio-screen=export] .mix-channel{display:grid;grid-template-columns:minmax(0,1fr) auto 70px;gap:4px 12px;padding:12px 14px;border-radius:16px;text-align:left;background:var(--studio-card);border:1px solid var(--studio-line);align-items:center}
.reference-studio[data-studio-screen=export] .mix-channel h4{margin:0;color:var(--studio-ink);font-size:16px;font-weight:650}
.reference-studio[data-studio-screen=export] .mix-channel :is(.level-bars,span){display:none}
.reference-studio[data-studio-screen=export] .mix-channel input{grid-column:1/3;grid-row:2;width:100%;height:44px;margin:0;accent-color:var(--sc-solid)}
.reference-studio[data-studio-screen=export] .mix-channel small{grid-column:2;grid-row:1;font-size:14px;color:var(--studio-muted);margin:0;font-variant-numeric:tabular-nums}
.reference-studio[data-studio-screen=export] .mix-channel .mute-button{grid-column:3;grid-row:1/3;min-height:48px;border-radius:13px;border:1px solid var(--studio-line);background:transparent;font-size:13px;color:var(--studio-ink);padding:4px}
.reference-studio[data-studio-screen=export] .mix-channel .mute-button.muted{border-color:var(--finish-edge);background:var(--finish-glow)}
.reference-studio[data-studio-screen=export] .beat-controls{padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.reference-studio[data-studio-screen=export] [data-export-wav]{min-height:60px;flex:1;font-size:17px;border-radius:18px;box-shadow:0 0 16px var(--finish-glow),inset 0 1px 0 #ffffff33}
@media(min-width:680px){.reference-studio[data-studio-screen=export] .mix-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.reference-studio[data-studio-screen=lyrics] *,.reference-studio[data-studio-screen=export] *{scroll-behavior:auto!important}}
/* Keep the primary pair above optional monitor/setup copy on short phones. */
.reference-studio[data-studio-screen=lyrics] .take-primary-actions{order:-3}
.reference-studio[data-studio-screen=lyrics] .take-start-summary{font-size:12px;line-height:1.4;margin:4px 0}
.reference-studio[data-studio-screen=lyrics] .studio-takes:has(.studio-capture:not([data-phase=idle])) .take-input-choices .studio-card{padding:8px 12px}
.reference-studio[data-studio-screen=lyrics] .studio-takes:has(.studio-capture:not([data-phase=idle])) :is(.take-loop-limit,.take-tag-filter,#takePreviewBeat){display:none}
.reference-studio[data-studio-screen=export] .studio-export .panel{padding:0}
.reference-studio[data-studio-screen=export] .studio-export .form-body,.reference-studio[data-studio-screen=export] .panel-head{padding:18px}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .take-capture-stage{order:-2}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .studio-monitor{order:-1}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .take-start-summary{order:0}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) .song-dial{order:1}
.reference-studio[data-studio-screen=lyrics] .studio-capture:not([data-phase=idle]) :is(#takeReviewHelp,#dialPlay,#dialStop){display:none}
/* Let monitor labels and the shared read-only drum breathe at enlarged text sizes. */
.reference-studio[data-studio-screen=lyrics] #studioClick{display:block;width:100%;min-width:0}
.reference-studio[data-studio-screen=lyrics] .studio-monitor .monitor-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.reference-studio[data-studio-screen=lyrics] .studio-monitor .monitor-options{position:static;flex:1 1 120px;min-width:0}
.reference-studio[data-studio-screen=lyrics] .studio-monitor .monitor-options summary{position:static;line-height:1.25;overflow-wrap:normal;padding:5px 0}
.reference-studio[data-studio-screen=lyrics] .studio-monitor>div>label{width:100%;justify-content:flex-start}
.reference-studio[data-studio-screen=lyrics] .song-dial #songDialSurface{width:100%;margin:0}
.reference-studio[data-studio-screen=lyrics] .song-dial .dial-local-transport{position:static;width:auto;display:flex;flex-direction:row;justify-content:center;margin:6px 0;gap:10px}
.reference-studio[data-studio-screen=lyrics] .song-dial .dial-heading{flex-wrap:wrap;gap:6px;align-items:center}
.reference-studio[data-studio-screen=lyrics] .song-dial .dial-heading h2{font-size:24px}
.reference-studio[data-studio-screen=lyrics] .song-dial .dial-view-options{position:relative;right:auto;top:auto;display:block;margin:0 0 4px}
.reference-studio[data-studio-screen=lyrics] .song-dial .dial-view-options[open]>.dial-overview{left:0;right:auto;min-width:0;width:min(250px,100%);box-sizing:border-box}

/* Lyrics owns both editing and recording now; keep reading/primary controls compact. */
.reference-studio[data-studio-screen=lyrics] .song-dial[data-dial-mode=lyrics]{padding-bottom:0}
.reference-studio[data-studio-screen=lyrics] .song-dial[data-dial-mode=lyrics] .dial-lyric-reading{margin-bottom:0}
.reference-studio[data-studio-screen=lyrics] .studio-takes.is-embedded{margin-top:8px}
.reference-studio[data-studio-screen=lyrics] #takeStageTitle[hidden]{display:none!important}
.reference-studio[data-studio-screen=lyrics] .song-dial #dialLyricDrum{height:240px;padding:12px 18px;scroll-padding-block:12px;box-sizing:border-box;mask-image:none}
.reference-studio[data-studio-screen=lyrics] .song-dial #dialLyricDrum p{opacity:.82;line-height:1.45;margin:10px 0}
.reference-studio[data-studio-screen=lyrics] .song-dial #dialLyricDrum p.dial-current-line{opacity:1;color:#fff}
.reference-studio[data-studio-screen=lyrics] .song-dial #dialLyricDrum #notebookText{min-height:214px;height:214px;padding:12px;font-size:21px;line-height:1.45;background:transparent;color:#fff;box-shadow:none}
.reference-studio[data-studio-screen=lyrics] .song-dial .dial-lyric-barrel,.reference-studio[data-studio-screen=lyrics] .song-dial #dialLyricDrum{height:240px!important;min-height:240px;box-sizing:border-box}

/* Local transports own creation screens; the final-song player exists only inside Export. */
.reference-studio .session[hidden]{display:none!important}
.reference-studio main{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
.reference-studio #exportSongPlayer .session{position:static;inset:auto;transform:none;width:100%;margin:8px 0 16px;box-sizing:border-box;box-shadow:none}
.reference-studio .export-listening{margin:12px 0 16px}.reference-studio .export-listening>h3{font-size:18px;margin:0 0 8px}
