/* One neutral, transparent material for Today and the four tool sheets. */
:root{
  --brb-sheet:linear-gradient(130deg,#ffffff0c,transparent 65%),#18181814;
  --brb-sheet-line:#ffffff47;
  --brb-sheet-shadow:inset 0 1px #ffffff40,0 8px 28px #00000018;
  --brb-sheet-blur:blur(10px);
  --brb-title-size:16px;
  --brb-body-size:14px;
  --brb-meta-size:12px;
  --brb-field:#00000014;
}
html[data-scene] :is(#simple-today,#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)){
  background:var(--brb-sheet);border:1px solid var(--brb-sheet-line);border-radius:20px;
  box-shadow:var(--brb-sheet-shadow);backdrop-filter:var(--brb-sheet-blur);-webkit-backdrop-filter:var(--brb-sheet-blur);
  color:#fff;text-shadow:var(--clear-text-shadow);font-size:var(--brb-body-size);
  --ui-body:14px;--ui-caption:12px;--ui-line:#ffffff2e;--clear-sheet-border:var(--brb-sheet-line);--clear-sheet-shadow:var(--brb-sheet-shadow);--clear-field:var(--brb-field);
}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)){--panel-pad:18px;padding:18px;scroll-padding-top:66px;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .panel-head{
  position:relative;min-height:38px;gap:5px;padding:0 0 12px;margin:0 0 16px;top:auto;
  background:transparent;border:0;border-bottom:1px solid var(--ui-line);backdrop-filter:none;-webkit-backdrop-filter:none;
}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .panel-head h2,
html[data-scene] .simple-today-head h2{font:400 var(--brb-title-size)/1.4 ForestSans,'Helvetica Neue',Arial,sans-serif;letter-spacing:-.2px;margin:0;color:#fff;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .window-handle,
html[data-scene] .simple-today-head .today-move-handle{display:grid;place-items:center;flex:0 0 20px;width:20px;height:28px;min-height:28px;margin:0;padding:0;color:#fff;opacity:.55;cursor:grab;border-radius:6px;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .window-handle svg{width:12px;height:18px;stroke-width:2.2;}
html[data-scene] .simple-today-head{margin-bottom:10px;min-height:28px;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .close{flex:0 0 30px;width:30px;height:30px;min-width:30px;min-height:30px;font-size:19px;border:1px solid var(--ui-line);border-radius:50%;background:#ffffff04;color:#fff;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .close:hover{background:#ffffff12;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) :is(label,.text-button,.outline-button,.wide-button){font-size:var(--brb-body-size)!important;font-weight:400;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) :is(.fine-print,small){font-size:var(--brb-meta-size);line-height:1.55;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) :is(input[type=text],input[type=search],textarea,select),
html[data-scene] :is(#simple-task-input,.simple-task-edit-input){box-sizing:border-box;min-height:40px;padding:9px 10px;border:1px solid #ffffff38;border-radius:10px;background:var(--brb-field);color:#fff;font-family:inherit;font-size:14px;text-shadow:var(--clear-text-shadow);}
html[data-scene] :is(#simple-task-input,.simple-task-edit-input)::placeholder{color:#eee;}
html[data-scene] #simple-task-form{border-top:0;padding-top:0;margin-top:10px;gap:6px;}
html[data-scene] #simple-task-form>button{height:40px;min-height:40px;border:1px solid #ffffff38;border-radius:10px;background:#ffffff04;font-size:22px;}
html[data-scene] :is(#simple-task-list,.brb-music-tracks){scrollbar-width:thin;scrollbar-color:#ffffff50 transparent;}
html[data-scene] #simple-today{display:flex;flex-direction:column;gap:0;padding-bottom:22px;overflow:hidden;}
html[data-scene] #simple-today>:not(#simple-task-list){flex-shrink:0;}
html[data-scene] #simple-today.today-sized{max-width:calc(100vw - 16px);}
html[data-scene] #simple-today.today-sized #simple-task-list{flex:1;min-height:0;max-height:none;}
html[data-scene] #simple-today .today-resize-handle{position:absolute;right:2px;bottom:2px;width:24px;height:24px;min-height:24px;padding:3px;display:grid;place-items:center;opacity:.45;color:#fff;background:none;border:0;border-radius:6px;cursor:nwse-resize;touch-action:none;}
html[data-scene] #simple-today .today-resize-handle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;}
html[data-scene] #simple-today .today-resize-handle:hover,html[data-scene] #simple-today .today-resize-handle:focus-visible{opacity:1;background:#ffffff10;}
html[data-scene] #simple-today.today-resizing{user-select:none;}
/* Light tabs, common row rhythm, and the same selected state across tools. */
html[data-scene] :is(:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs,#timer-dialog .brb-timer-tabs,#breathe-dialog .breathing-tabs){display:flex;gap:4px;padding:0 0 10px;margin:0 0 16px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent;box-shadow:none;}
html[data-scene] :is(:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs,#timer-dialog .brb-timer-tabs,#breathe-dialog .breathing-tabs)>button{flex:1;min-width:0;min-height:40px;padding:9px 6px;border:1px solid transparent;border-radius:10px;background:transparent;color:#fff;font:400 14px/1.35 ForestSans,'Helvetica Neue',Arial,sans-serif;box-shadow:none;}
html[data-scene] :is(:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs,#timer-dialog .brb-timer-tabs,#breathe-dialog .breathing-tabs)>button[aria-selected=true]{background:#ffffff12!important;border-color:#ffffff38;box-shadow:inset 0 1px #ffffff20;}
html[data-scene] :is(:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs,#timer-dialog .brb-timer-tabs,#breathe-dialog .breathing-tabs)>button[hidden]{display:none!important;}
html[data-scene] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-track{border-radius:10px;font-size:14px;min-height:44px;font-weight:400;padding:9px 10px;}
html[data-scene] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-track-name{font-weight:400;}
html[data-scene] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-track[aria-pressed=true]{background:#ffffff0c;border-color:#ffffff38;}
html[data-scene] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) :is(.brb-music-caption,.brb-music-time,.brb-music-track-number){font-size:12px;}
html[data-scene] #view-dialog .space-card{border-radius:12px;background:#ffffff04;border-color:#ffffff38;}
html[data-scene] #view-dialog .space-card[aria-current]{background:#ffffff0c;border-color:#ffffff80;}
html[data-scene] #view-dialog .space-card-copy strong{font-size:14px;font-weight:400;}
html[data-scene] #view-dialog .space-card-copy em{font-size:12px;}
html[data-scene] #timer-dialog :is(.brb-focus-planner,.brb-countdown-planner){padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;}
html[data-scene] #timer-dialog :is(.brb-focus-fields label,.brb-focus-fields label span,.brb-focus-duration,.brb-focus-summary){font-size:12px;}
html[data-scene] #timer-dialog .brb-focus-fields{gap:10px;margin-top:16px;}
html[data-scene] #timer-dialog :is(.brb-focus-fields input,.brb-countdown-field input){background:var(--brb-field);border-color:#ffffff38;border-radius:10px;}
html[data-scene] #timer-dialog .brb-focus-start{border-radius:10px;}
html[data-scene] #breathe-dialog .breathing-choice{padding:15px 2px;border-color:var(--ui-line);}
html[data-scene] #breathe-dialog .breathing-choice strong{font-size:16px;font-weight:400;}
html[data-scene] #breathe-dialog .breathing-choice small{font-size:12px;}
html[data-scene] :is(#simple-today,#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) :is(button,input,textarea,select,summary,a):focus-visible{outline:1px solid #fff;outline-offset:2px;}
@media(max-width:700px){
  html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)){padding:16px;}
  html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .window-handle{display:none!important;}
  html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .panel-head{margin-bottom:14px;}
  html[data-scene] :is(#simple-task-input,.simple-task-edit-input,#view-dialog input,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) input[type=text],:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) input[type=search],:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) select){font-size:16px;}
  html[data-scene] :is(:is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs,#timer-dialog .brb-timer-tabs,#breathe-dialog .breathing-tabs)>button{font-size:13px;min-height:44px;}
  html[data-scene] #simple-today .today-resize-handle{width:28px;height:28px;right:0;bottom:0;}
}
@media(prefers-reduced-transparency:reduce){html[data-scene] :is(#simple-today,#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)){background:#292929!important;backdrop-filter:none;-webkit-backdrop-filter:none;}}

/* Keep header and resize corner stationary while long tool content scrolls. */
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)).window-resizable{display:flex;flex-direction:column;overflow:hidden;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding-bottom:24px;}
html[data-scene] .window-resizable:not([open]){display:none!important;}
html[data-scene] .window-resizable>.panel-head{flex-shrink:0;}
html[data-scene] .window-content{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;}
html[data-scene] .window-resize-handle{position:absolute;right:2px;bottom:2px;width:24px;height:24px;padding:4px;border:0;border-radius:6px;background:transparent;color:#ffffff80;cursor:nwse-resize;touch-action:none;}
html[data-scene] .window-resize-handle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;}
html[data-scene] .window-resize-handle:is(:hover,:focus-visible){color:white;background:#ffffff0c;}
html[data-scene] .window-resizing{user-select:none;}
@media(max-width:700px){html[data-scene] .window-resize-handle{width:28px;height:28px;}}

html[data-scene] .window-options{flex:0 0 28px;width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:#ffffffa6;font:400 17px/1 ForestSans,sans-serif;letter-spacing:1px;cursor:pointer;}
html[data-scene] .window-options:is(:hover,:focus-visible){background:#ffffff10;color:white;}
html[data-scene] .window-layout-menu{position:fixed;inset:auto;margin:0;padding:5px;width:max-content;max-width:calc(100vw - 16px);border:1px solid #ffffff47;border-radius:12px;background:linear-gradient(130deg,#ffffff14,transparent 65%),#24242438;box-shadow:inset 0 1px #ffffff30,0 8px 28px #00000018;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff;text-shadow:0 1px 2px #00000030;}
html[data-scene] .window-layout-menu button{display:block;min-height:38px;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:inherit;font:400 14px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] .window-layout-menu button:is(:hover,:focus-visible){background:#ffffff14;}
@media(prefers-reduced-transparency:reduce){html[data-scene] .window-layout-menu{background:#292929;backdrop-filter:none;}}

html[data-scene] .window-reset-confirm{box-sizing:border-box;width:340px;max-width:calc(100vw - 32px);padding:22px;border:1px solid #ffffff47;border-radius:20px;background:linear-gradient(130deg,#ffffff0c,transparent 65%),#18181828;box-shadow:inset 0 1px #ffffff40,0 8px 28px #00000018;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff;text-shadow:0 1px 2px #00000030;}
html[data-scene] .window-reset-confirm::backdrop{background:#00000018;}
html[data-scene] .window-reset-confirm h2{margin:0 0 12px;font:400 16px/1.4 ForestSans,sans-serif;letter-spacing:-.2px;}
html[data-scene] .window-reset-confirm p{margin:0 0 22px;color:#ffffffe0;font:400 14px/1.6 ForestSans,sans-serif;}
html[data-scene] .window-reset-actions{display:flex;justify-content:flex-end;gap:8px;}
html[data-scene] .window-reset-actions button{padding:9px 14px;min-height:40px;border:1px solid #ffffff38;border-radius:10px;color:white;background:transparent;font:400 14px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] .window-reset-actions [data-confirm]{background:#ffffff18;}
html[data-scene] .window-reset-actions button:hover{background:#ffffff25;}
html[data-scene] .window-reset-actions button:focus-visible{outline:1px solid white;outline-offset:3px;}
@media(prefers-reduced-transparency:reduce){html[data-scene] .window-reset-confirm{background:#292929;backdrop-filter:none;}}

/* A single glass surface, quiet controls, persistent readable labels. */
html[data-scene] .sound-player{grid-template-columns:44px auto auto;gap:4px;padding:6px 10px 6px 6px;border-radius:28px;clip-path:inset(0 round 28px);border:1px solid #ffffff47;background:linear-gradient(125deg,#ffffff0c,transparent 65%),#18181820;box-shadow:inset 0 1px #ffffff30,0 6px 22px #00000012;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);text-shadow:0 1px 2px #00000055;}
html[data-scene] .sound-player::before,html[data-scene] .sound-player::after{display:none;}
html[data-scene] .sound-player>.audio-orb{width:44px;height:44px;min-height:44px;border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:white;}
html[data-scene] .sound-player>.audio-orb::before,html[data-scene] .sound-player>.audio-orb::after{display:none;}
html[data-scene] #simple-now-playing{width:190px;gap:0;padding:0 8px 0 4px;border:0;}
html[data-scene] #simple-music-open{min-height:44px;justify-content:center;gap:0;padding:0 4px;}
html[data-scene] #simple-track-title{max-width:142px;font-size:14px;line-height:1.4;color:white;}
html[data-scene] #simple-next{flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;border-radius:12px;}
html[data-scene] .player-tools{gap:2px;padding:0;border:0;}
html[data-scene] .player-tools button{flex:0 0 60px;width:60px;min-height:48px;padding:4px 2px;gap:4px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:#fff;text-shadow:0 1px 2px #00000055;}
html[data-scene] .player-tools button>span{font-size:14px;line-height:1.25;}
html[data-scene] .player-tools button::after{display:none;}
html[data-scene] .player-tools button[aria-expanded=true],html[data-scene] #today-open[aria-pressed=true]{border:0;background:#ffffff16;box-shadow:none;}
html[data-scene] .sound-player :is(.player-tools button,.audio-orb,#simple-next,#simple-music-open):hover{background:#ffffff12;}
html[data-scene] .sound-player :is(button,.audio-orb):focus-visible{outline:1px solid white;outline-offset:-3px;}
html[data-scene] .sound-player svg{filter:none;color:white;}
@media(max-width:700px){
 html[data-scene] .sound-player{grid-template-columns:44px minmax(0,1fr);gap:0;width:310px;max-width:calc(100vw - 24px);padding:6px;border-radius:24px;clip-path:inset(0 round 24px);}
 html[data-scene] #simple-now-playing{width:auto;padding:0 2px 0 4px;}
 html[data-scene] #simple-track-title{max-width:100%;}
 html[data-scene] .player-tools{grid-column:1/-1;grid-row:2;gap:0;justify-content:space-between;padding:2px 0 0;border:0;}
 html[data-scene] .player-tools button{flex:1 1 0;width:auto;min-width:0;min-height:48px;padding-inline:1px;}
 html[data-scene] .player-tools button>span{font-size:14px;}
}
@media(prefers-reduced-transparency:reduce){html[data-scene] .sound-player{background:#292929;backdrop-filter:none;-webkit-backdrop-filter:none;}}

/* Scene selection first; display controls remain one disclosure away. */
html[data-scene] #view-dialog .space-card{position:relative;}
html[data-scene] #view-dialog .space-card-image{height:auto;aspect-ratio:16/10;min-height:80px;}
html[data-scene] #view-dialog .space-card-copy{padding:12px 10px;min-height:40px;justify-content:center;}
html[data-scene] #view-dialog .scene-current{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #ffffff70;border-radius:50%;background:#20202038;backdrop-filter:blur(10px);color:white;font-size:14px;}
html[data-scene] #view-dialog .scene-display{margin-top:0;padding:0;border:0;border-top:1px solid #ffffff30;}
html[data-scene] #view-dialog .scene-display>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;min-height:44px;padding:8px 0 0;font-size:14px;}
html[data-scene] #view-dialog .scene-display>summary::-webkit-details-marker{display:none;}
html[data-scene] #view-dialog .scene-display-chevron{font-size:18px;color:#ffffffb3;}
html[data-scene] #view-dialog .scene-display-controls{padding-top:20px;}
html[data-scene] #view-dialog .scene-display-controls>label:first-child{display:flex;justify-content:space-between;align-items:center;font-size:14px;}
html[data-scene] #view-dialog .scene-display-controls .checkbox-row{margin-top:16px;font-size:14px;}
html[data-scene] #view-dialog .scene-display-reset{display:block;min-height:40px;margin:16px 0 0;padding:8px 0;border:0;background:transparent;color:#ffffffe0;font:400 14px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] #view-dialog :is(.scene-display>summary,.scene-display-reset):focus-visible{outline:1px solid white;outline-offset:3px;border-radius:6px;}

/* Music: one track list, compact transport and direct volume control. */
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-caption{gap:10px;min-height:44px;font-size:12px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-state{margin-left:auto;font-size:12px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport button{width:44px;min-height:44px;border:0;background:transparent;box-shadow:none;border-radius:10px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-track{grid-template-columns:minmax(0,1fr) 20px;min-height:48px;border-color:transparent;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-track[aria-pressed=true]{border-color:transparent;background:#ffffff12;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-library{margin-top:8px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume-tools{display:flex;align-items:center;gap:5px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-mute{display:grid;place-items:center;width:44px;min-height:44px;padding:10px;border:0;border-radius:10px;background:transparent;color:white;cursor:pointer;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-mute svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-mute[aria-pressed=false] .brb-mute-slash{display:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-mute:hover{background:#ffffff12;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-mute:focus-visible{outline:1px solid white;outline-offset:-2px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings .mix-now{display:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-time{font-size:12px;}

html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport .brb-music-play{border:0;background:transparent;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport .brb-music-play:hover{background:#ffffff12;}

/* Bound floating sheets by their actual top edge; only their body scrolls. */
@media(min-width:701px){html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)).workspace-window{max-height:calc(100dvh - var(--window-top,88px) - 16px);}}
html[data-scene] .window-content{flex:1 1 auto;min-width:0;scrollbar-width:thin;scrollbar-color:#ffffff70 transparent;scrollbar-gutter:stable;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-layout{min-height:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings{padding:0;margin:12px 0 0;border:0;border-top:1px solid #ffffff30;border-radius:0;background:transparent;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings>summary{min-height:44px;padding:8px 0;margin:0;font-size:14px;font-weight:400;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body{padding:8px 0 0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body .dreamcore-master{padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body .channel-heading{margin:0 0 4px;font-size:14px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body .channel-name{font-size:14px;gap:8px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body .channel-name svg{display:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body :is(.saved-mix-section,.playback-settings){margin:8px 0 0;padding:0;border:0;border-top:1px solid #ffffff26;border-radius:0;background:transparent;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body summary{min-height:44px;padding:8px 0;font-size:14px;font-weight:400;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) :is(#saved-mixes,#mix-name){box-sizing:border-box;max-width:100%;min-width:0;min-height:40px;font-size:14px;border-radius:10px;border:1px solid #ffffff38;background:#00000014;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .mix-save-row{display:flex;gap:8px;align-items:center;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #mix-name{flex:1;width:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .mix-save-row button{flex:none;min-height:40px;padding:8px 12px;font-size:14px;font-weight:400;border:1px solid #ffffff38;border-radius:10px;background:#ffffff08;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .saved-mix-label{display:block;margin:14px 0 6px;font-size:14px;font-weight:400;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .saved-mix-actions{display:flex;justify-content:flex-start;gap:12px;margin-top:8px;flex-wrap:wrap;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .saved-mix-actions button{min-height:40px;font-size:14px;font-weight:400;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body .fine-print{font-size:12px;line-height:1.55;margin:8px 0 12px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-settings-body .checkbox-row{margin:4px 0;font-size:14px;font-weight:400;}
@media(max-width:700px){html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) :is(#mix-name,#saved-mixes){font-size:16px;}}
/* The shell must never become a second focus-scrolled container. */
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)).window-resizable{overflow:clip;}
@media(max-width:700px){html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)).window-resizable{position:fixed;top:max(16px,env(safe-area-inset-top,0px));left:8px;right:auto;bottom:auto;margin:0;max-height:calc(100dvh - max(16px,env(safe-area-inset-top,0px)) - 16px);}}

html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-settings-panel{margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-settings-panel .brb-music-settings-body{padding-top:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs{display:flex;grid-template-columns:repeat(3,minmax(0,1fr));}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-sound-tabs>button{flex:1;min-width:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .mixer-presets[hidden]{display:none!important;}

/* Nature layers use the same light rows as the rest of Music. */
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel :is(.primary-sliders,.dreamcore-nature-sliders){display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer]{display:grid;grid-template-columns:minmax(0,1fr);row-gap:0;padding:10px 0 4px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer] .channel-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;align-items:center;margin:0;min-height:44px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer] .channel-name{grid-column:auto;display:flex;align-items:center;gap:8px;min-width:0;font-size:14px;line-height:1.4;font-weight:400;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .channel-name svg{display:block;width:16px;height:16px;flex:0 0 16px;stroke:currentColor;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer] output{justify-self:end;text-align:right;font-size:12px;font-weight:400;font-variant-numeric:tabular-nums;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer] output::after{content:'%';}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-layer-toggle{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:9px;background:#ffffff10;box-shadow:none;color:#fff;font:400 12px/1.4 ForestSans,sans-serif;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-layer-toggle[aria-checked=false]{background:transparent;color:#ffffffa6;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-layer-toggle:hover{background:#ffffff1a;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer] input[type=range]{width:100%;height:40px;margin:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-channel-detail{display:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-nature-details{margin:8px 0 0;padding:0;border:0;border-top:1px solid #ffffff30;border-radius:0;background:transparent;box-shadow:none;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-nature-details>summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;margin:0;padding:8px 0;font-size:14px;font-weight:400;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel .dreamcore-nature-sliders [data-mix-layer]+[data-mix-layer]{border-top:1px solid #ffffff26;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-nature-panel [data-mix-layer]{padding:4px 0 0;}

/* Reserve keyboard focus space inside the list, never outside its pane. */
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-tracks{box-sizing:border-box;min-width:0;max-width:100%;margin:0;padding:4px;}

html[data-scene] #timer-dialog .brb-focus-presets{display:flex;gap:8px;margin:0 0 16px;}
html[data-scene] #timer-dialog :is(.brb-focus-presets button,.brb-countdown-presets button){flex:1;min-height:40px;padding:8px;border:1px solid #ffffff26;border-radius:10px;background:transparent;color:white;font:400 14px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] #timer-dialog :is(.brb-focus-presets button,.brb-countdown-presets button)[aria-pressed=true]{background:#ffffff12;border-color:#ffffff50;}
html[data-scene] #timer-dialog .brb-focus-fields{margin:0 0 14px;gap:10px;}
html[data-scene] #timer-dialog .brb-focus-fields label{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.4;}
html[data-scene] #timer-dialog .brb-focus-fields input{box-sizing:border-box;min-width:0;height:44px;padding:9px;font-size:18px;}
html[data-scene] #timer-dialog .brb-focus-summary{font-size:12px;line-height:1.6;margin:8px 0 16px;color:#ffffffe0;}
html[data-scene] #timer-dialog .brb-countdown-field{gap:12px;font-size:14px;}
html[data-scene] #timer-dialog .brb-countdown-presets{margin:16px 0;}
html[data-scene] #timer-dialog .brb-focus-start{justify-content:center;min-height:44px;border-radius:10px;font-size:14px;font-weight:400;}
html[data-scene] #timer-dialog #timer-program{font-size:14px;letter-spacing:0;font-weight:400;}
html[data-scene] #timer-dialog #timer-display{font-variant-numeric:tabular-nums;font-size:clamp(40px,8vw,60px);font-weight:300;letter-spacing:-1px;}
html[data-scene] #timer-dialog #timer-message:empty{display:none;}
html[data-scene] #timer-dialog #timer-active .panel-row{gap:8px;}
html[data-scene] #timer-dialog #timer-active .panel-row button{flex:1;min-height:44px;padding:9px;border-radius:10px;font-size:14px;font-weight:400;}
html[data-scene] #timer-dialog :is(.brb-focus-presets button,.brb-countdown-presets button):focus-visible{outline:1px solid white;outline-offset:2px;}

/* Breathe: short situation rows, clear pacing and session progress. */
html[data-scene] #breathe-dialog .breathing-choice{padding:14px 0;gap:12px;min-height:64px;}
html[data-scene] #breathe-dialog .breathing-choice strong{font-size:16px;line-height:1.4;font-weight:400;}
html[data-scene] #breathe-dialog .breathing-choice small{margin-top:4px;font-size:12px;line-height:1.5;}
html[data-scene] #breathe-dialog .breathing-choice-duration{font-size:12px;}
html[data-scene] #breathe-dialog #breathing-session-title{font-size:16px;line-height:1.4;font-weight:400;}
html[data-scene] #breathe-dialog .breathing-orbit{height:132px;margin:8px 0;}
html[data-scene] #breathe-dialog #breathing-cue{font-size:20px!important;font-weight:400;}
html[data-scene] #breathe-dialog #breathing-time{display:block;font-size:12px;color:#ffffffe0;font-variant-numeric:tabular-nums;}
html[data-scene] #breathe-dialog #breathing-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:2px;border:0;border-radius:2px;overflow:hidden;background:#ffffff26;color:#fff;margin:10px 0 0;}
html[data-scene] #breathe-dialog #breathing-progress::-webkit-progress-bar{background:#ffffff26;}
html[data-scene] #breathe-dialog #breathing-progress::-webkit-progress-value{background:#fff;}
html[data-scene] #breathe-dialog #breathing-progress::-moz-progress-bar{background:#fff;}
html[data-scene] #breathe-dialog .breathing-actions{gap:8px;margin-top:16px;}
html[data-scene] #breathe-dialog .breathing-actions button{flex:1;min-height:44px;border-radius:10px;border:1px solid #ffffff30;background:transparent;box-shadow:none;font-size:14px;font-weight:400;}
html[data-scene] #breathe-dialog .breathing-actions #breathing-pause{background:#ffffff10;}
html[data-scene] #breathe-dialog .breathing-evidence>summary{font-size:14px;min-height:44px;font-weight:400;}
html[data-scene] #breathe-dialog .breathing-evidence article+article{border-top:1px solid #ffffff26;margin-top:16px;padding-top:4px;}
@media(max-width:700px){html[data-scene] #breathe-dialog .breathing-orbit{height:112px;}}

/* Inline editing replaces the label instead of repeating it underneath. */
html[data-scene] #simple-task-list li.is-editing>:is(.simple-task-label,.simple-task-options){display:none;}
html[data-scene] #simple-task-list li.is-editing .simple-task-edit{grid-column:2/-1;grid-row:1;margin:0 0 6px;}
html[data-scene] #simple-task-list .simple-task-edit-actions button{min-height:36px;padding:6px 10px;border-radius:8px;font-size:13px;}
html[data-scene] #simple-task-list .simple-task-edit-actions button[type=submit]{background:#ffffff12;}
html[data-scene] #simple-task-count{font-variant-numeric:tabular-nums;}

/* Shared interaction polish across all tool sheets and the dock. */
html[data-scene] #timer-open[data-timing=true]>svg{display:none;}
html[data-scene] #timer-open #timer-chip{font-size:12px;line-height:18px;font-variant-numeric:tabular-nums;letter-spacing:0;}
html[data-scene] #timer-open #timer-control-label{font-size:14px;line-height:1.25;}
html[data-scene] #breathe-dialog .breathing-evidence>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;}
html[data-scene] #breathe-dialog .breathing-evidence>summary::-webkit-details-marker{display:none;}
html[data-scene] #breathe-dialog .breathing-evidence>summary::after{content:'+';font-size:18px;font-weight:300;color:#ffffffb3;}
html[data-scene] #breathe-dialog .breathing-evidence[open]>summary::after{content:'−';}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog))) input[type=range]{appearance:none;-webkit-appearance:none;box-sizing:border-box;min-width:0;width:100%;height:40px;padding:0;border:0;background:transparent;cursor:pointer;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog))) input[type=range]::-webkit-slider-runnable-track{height:3px;border:0;border-radius:3px;background:#ffffff45;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog))) input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:16px;height:16px;margin-top:-6.5px;border:1px solid white;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000020;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog))) input[type=range]::-moz-range-track{height:3px;border:0;border-radius:3px;background:#ffffff45;}
html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog))) input[type=range]::-moz-range-thumb{box-sizing:border-box;width:16px;height:16px;border:1px solid white;border-radius:50%;background:white;}
html[data-scene] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #master-value::after{content:'%';}
html[data-scene] #timer-dialog #timer-active .panel-row button{border:1px solid #ffffff30;background:transparent;box-shadow:none;color:white;}
html[data-scene] #timer-dialog #timer-active #timer-pause{background:#ffffff10;}
@media(pointer:coarse){html[data-scene] :is(#simple-today,#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .window-options{width:36px;height:36px;min-height:36px;flex-basis:36px;}html[data-scene] :is(#view-dialog,:is(#mixer-dialog,:is(#now-dialog,#view-dialog)),#timer-dialog,#breathe-dialog,#account-dialog,:is(#now-dialog,#view-dialog)) .close{width:36px;height:36px;min-width:36px;min-height:36px;}}

/* Breathe guide hierarchy: method, readable steps, optional evidence. */
html[data-scene] #breathe-dialog .breathing-choice{align-items:center;padding:16px 0;}
html[data-scene] #breathe-dialog .breathing-choice-context{display:block;font-size:14px;line-height:1.5;margin-top:4px;color:#ffffffe6;}
html[data-scene] #breathe-dialog .breathing-choice small{font-size:12px;color:#ffffffce;margin-top:3px;}
html[data-scene] #breathe-dialog #breathing-session-context{font-size:13px;line-height:1.5;margin:5px 0 0;color:#ffffffe0;}
html[data-scene] #breathe-dialog .breathing-evidence{padding-bottom:4px!important;}
html[data-scene] #breathe-dialog .breathing-guide-method{padding:16px 0 8px;}
html[data-scene] #breathe-dialog .breathing-guide-method h4{font-size:16px;line-height:1.4;font-weight:400;margin:0 0 5px;}
html[data-scene] #breathe-dialog .breathing-guide-method .breathing-guide-rhythm{font-size:12px!important;color:#ffffffe0;margin:0 0 12px!important;}
html[data-scene] #breathe-dialog .breathing-guide-steps{margin:0;padding:0 0 0 22px;}
html[data-scene] #breathe-dialog .breathing-guide-steps li{padding-left:3px;margin:8px 0;font-size:14px;line-height:1.7;overflow-wrap:anywhere;}
html[data-scene] #breathe-dialog :is(.breathing-research,.breathing-safety){padding:0;margin:12px 0 0;border:0;border-top:1px solid #ffffff24;border-radius:0;background:transparent;box-shadow:none;}
html[data-scene] #breathe-dialog :is(.breathing-research,.breathing-safety)>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:44px;padding:8px 0;font-size:14px;line-height:1.5;cursor:pointer;}
html[data-scene] #breathe-dialog :is(.breathing-research,.breathing-safety)>summary::-webkit-details-marker{display:none;}
html[data-scene] #breathe-dialog :is(.breathing-research,.breathing-safety)>summary::after{content:'+';font-size:18px;color:#ffffffb3;}
html[data-scene] #breathe-dialog :is(.breathing-research,.breathing-safety)[open]>summary::after{content:'−';}
html[data-scene] #breathe-dialog .breathing-research dl{display:block;margin:4px 0 14px;}
html[data-scene] #breathe-dialog .breathing-research dt{font-size:12px;line-height:1.5;color:#ffffffbc;margin:14px 0 4px;}
html[data-scene] #breathe-dialog .breathing-research dd{margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere;}
html[data-scene] #breathe-dialog .breathing-research a{display:block;font-size:12px!important;line-height:1.7!important;overflow-wrap:anywhere;text-decoration-thickness:1px;}
html[data-scene] #breathe-dialog .breathing-adaptation{padding:12px;margin:12px 0!important;border-left:1px solid #ffffff50;background:#ffffff05;font-size:13px!important;line-height:1.7!important;border-radius:0 8px 8px 0;}
html[data-scene] #breathe-dialog .breathing-safety ul{padding:0 0 0 19px;margin:0 0 12px;}
html[data-scene] #breathe-dialog .breathing-safety li{font-size:13px;line-height:1.7;margin:10px 0;padding-left:3px;}
html[data-scene] #breathe-dialog .breathing-comfort{font-size:13px!important;line-height:1.7!important;color:#ffffffe6;}
html[data-scene] #breathe-dialog .breathing-guide-method+article{margin-top:8px;padding-top:20px;}

/* Breathe separates practice from reading, within one fixed-height shell. */
html[data-scene] #breathe-dialog.window-resizable:not(.window-sized){height:560px;}
html[data-scene] #breathe-dialog>.window-content{display:flex;overflow:hidden;scrollbar-gutter:auto;}
html[data-scene] #breathe-dialog .breathing-workspace{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;}
html[data-scene] #breathe-dialog .breathing-view-tabs{display:flex;flex-shrink:0;gap:24px;margin:0 0 8px;padding:0;border-bottom:1px solid #ffffff30;}
html[data-scene] #breathe-dialog .breathing-view-tabs>button{flex:0 0 auto;position:relative;min-width:0;min-height:42px;padding:8px 0 12px;border:0;border-radius:0;background:transparent;color:#ffffffb8;font:400 14px/1.35 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] #breathe-dialog .breathing-view-tabs>button[aria-selected=true]{background:transparent;color:white;box-shadow:inset 0 -2px 0 #ffffffe0;}

html[data-scene] #breathe-dialog .breathing-view{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff70 transparent;padding:2px 3px 8px;}
html[data-scene] #breathe-dialog #breathing-guide-panel{margin:0!important;border:0!important;padding:2px 3px 8px!important;}
html[data-scene] #breathe-dialog #breathing-guide-panel .breathing-guide-method:first-child{padding-top:4px;}
html[data-scene] #breathe-dialog .breathing-tabs{margin-bottom:8px;padding-bottom:8px;border-bottom:0;}
html[data-scene] #breathe-dialog .breathing-tabs>button{font-size:13px;padding:8px 4px;}
html[data-scene] #breathe-dialog .breathing-orbit{height:112px;}
html[data-scene] #breathe-dialog .breathing-comfort{margin-top:14px!important;}

html[data-scene] #breathe-dialog .breathing-guide-method .breathing-benefit{font-size:14px!important;line-height:1.7!important;margin:8px 0 12px!important;color:#fff;padding-left:12px;border-left:1px solid #ffffff70;}
html[data-scene] #breathe-dialog .breathing-choice strong{overflow-wrap:anywhere;}

html[data-scene] #breathe-dialog #breathing-expand{display:block;min-height:36px;margin:0 0 8px auto;padding:6px 10px;color:white;font-size:12px;border-radius:8px;background:#ffffff08;}
body.breathing-immersed :is(.masthead,.sound-player,#simple-today,.panel){visibility:hidden!important;}
html[data-scene] .breathing-immersive{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:max(24px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));border:0;border-radius:0;background:transparent;color:white;text-align:center;overflow:auto;text-shadow:0 1px 3px #00000065;}
html[data-scene] .breathing-immersive[open]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px;}
html[data-scene] .breathing-immersive::backdrop{background:linear-gradient(#00000010,#00000000 45%,#00000025);}
.breathing-immersive h2{margin:0;font:400 16px/1.5 ForestSans,sans-serif;}
.immersive-center{width:min(100%,440px);margin:auto;}
.immersive-orbit{height:clamp(150px,36vh,320px);display:grid;place-items:center;}
#immersive-circle{width:clamp(130px,27vmin,260px);height:clamp(130px,27vmin,260px);border-radius:50%;border:1px solid #ffffffc0;background:#ffffff06;box-shadow:inset 0 1px #ffffff30,0 0 32px #ffffff08;backdrop-filter:blur(2px);will-change:transform;}
#immersive-cue{font:400 clamp(23px,4vw,32px)/1.4 ForestSans,sans-serif;min-height:45px;margin:8px 0;}
#immersive-phase{font-size:16px;min-height:24px;margin:0 0 12px;font-variant-numeric:tabular-nums;}
#immersive-time{font-size:13px;margin:0;font-variant-numeric:tabular-nums;}
.immersive-footer{max-width:100%;}
.immersive-controls{display:flex;gap:8px;justify-content:center;padding:5px;border:1px solid #ffffff40;border-radius:16px;background:#18181818;backdrop-filter:blur(12px);}
.immersive-controls button{min-width:76px;min-height:44px;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:white;font:400 14px/1.4 ForestSans,sans-serif;cursor:pointer;}
.immersive-controls button:hover{background:#ffffff16;}
.immersive-controls button:focus-visible{outline:1px solid white;outline-offset:-2px;}
.immersive-footer p{font:400 12px/1.5 ForestSans,sans-serif;margin:10px 0 0;}
@media(prefers-reduced-motion:reduce){#immersive-circle{transform:none!important;will-change:auto;}}
@media(max-height:480px){.immersive-orbit{height:100px;}#immersive-circle{width:90px;height:90px;}#immersive-cue{min-height:30px;margin:2px 0;font-size:23px;}.immersive-footer p{margin-top:4px;}.immersive-center{margin:0;}}
html[data-scene] body.breathing-immersed :is(.chrome,.masthead,.sound-player,#simple-today,.panel){opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
html[data-scene] body.breathing-immersed :is(.chrome,.masthead,.sound-player,#simple-today,.panel){transition:none!important;}

/* Unframed cues: readable typography and gentle scene-wide lighting. */
html[data-scene] .breathing-immersive::backdrop{background:linear-gradient(180deg,#00000038 0%,transparent 28%,transparent 42%,#00000035 70%,#00000038 100%);}
html[data-scene] .breathing-immersive #immersive-method{max-width:90vw;margin:0;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;font-size:17px;font-weight:500;line-height:1.5;letter-spacing:.2px;}
.immersive-guidance{box-sizing:border-box;max-width:min(100%,400px);margin:6px auto 0;padding:4px 0;border:0;background:none;box-shadow:none;backdrop-filter:none;}
html[data-scene] .breathing-immersive :is(#immersive-method,#immersive-cue,#immersive-phase,#immersive-time){color:#fff;-webkit-text-stroke:.35px #00000070;paint-order:stroke fill;text-shadow:0 1px 2px #00000070,0 0 12px #00000020;}
html[data-scene] .breathing-immersive #immersive-cue{font-size:clamp(26px,4vw,36px);line-height:1.3;font-weight:500;min-height:0;margin:0 0 12px;letter-spacing:-.3px;overflow-wrap:anywhere;}
html[data-scene] .breathing-immersive #immersive-phase{font-size:21px;line-height:1.4;font-weight:500;min-height:29px;margin:0 0 12px;}
html[data-scene] .breathing-immersive #immersive-time{font-size:16px;line-height:1.5;font-weight:500;}
html[data-scene] .breathing-immersive .immersive-controls{background:#18181818;border-color:#ffffff40;}
html[data-scene] .breathing-immersive .immersive-footer p{font-size:12px;line-height:1.5;background:none;border:0;padding:0;text-shadow:0 1px 2px #00000080;}
html[data-scene] #breathe-dialog .breathing-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0 12px;}
html[data-scene] #breathe-dialog .breathing-toolbar{flex-wrap:wrap;gap:8px;}
html[data-scene] #breathe-dialog .breathing-categories{display:flex;flex:1 1 100%;gap:4px;padding:3px;border:1px solid #ffffff24;border-radius:10px;background:#ffffff06;}
html[data-scene] #breathe-dialog .breathing-categories button{flex:1;min-width:0;min-height:38px;padding:7px 4px;border:0;border-radius:7px;background:transparent;color:#ffffffc9;font:400 13px/1.35 ForestSans,sans-serif;cursor:pointer;white-space:nowrap;}
html[data-scene] #breathe-dialog .breathing-categories button[aria-selected=true]{background:#ffffff1f;color:white;box-shadow:inset 0 0 0 1px #ffffff24;}
html[data-scene] #breathe-dialog .breathing-categories button:hover{background:#ffffff14;color:white;}
html[data-scene] :is(#breathing-fullscreen-start,#focus-immersive-start){margin-left:auto;}
html[data-scene] :is(#breathing-fullscreen-start,#focus-immersive-start){display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:36px;padding:6px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#ffffffcf;font:400 12px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] :is(#breathing-fullscreen-start,#focus-immersive-start)[aria-pressed=true]{background:#ffffff14;border-color:#ffffff38;color:white;}
html[data-scene] :is(#breathing-fullscreen-start,#focus-immersive-start):hover{background:#ffffff14;color:white;}
html[data-scene] :is(#breathing-fullscreen-start,#focus-immersive-start) svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;}

@media(max-height:480px){html[data-scene] .breathing-immersive #immersive-cue{font-size:24px;margin-bottom:4px;}html[data-scene] .breathing-immersive #immersive-phase{font-size:17px;min-height:22px;margin-bottom:4px;}html[data-scene] .breathing-immersive #immersive-time{font-size:14px;}}

@media(max-width:700px){html[data-scene] #breathe-dialog{left:8px!important;right:auto!important;transform:none!important;width:calc(100vw - 16px)!important;}html[data-scene] #breathe-dialog #breathing-category{font-size:16px;}}



html[data-scene] .breathing-immersive #immersive-method,html[data-scene] .breathing-immersive .immersive-footer{opacity:0;pointer-events:none;transition:opacity .2s;}
html[data-scene] .breathing-immersive.show-controls #immersive-method,html[data-scene] .breathing-immersive.show-controls .immersive-footer,html[data-scene] .breathing-immersive:focus-within:has(.immersive-footer :focus-visible) .immersive-footer{opacity:1;pointer-events:auto;}

html[data-scene] #breathe-dialog .breathing-navigation{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #ffffff30;margin-bottom:12px;}html[data-scene] #breathe-dialog .breathing-navigation .breathing-view-tabs{flex:1;border:0;margin:0;}html[data-scene] #breathe-dialog .breathing-navigation #breathing-fullscreen-start{margin-top:1px;}


html[data-scene] .focus-immersive[open]{justify-content:center;}
.focus-immersive-center{display:grid;place-items:center;flex:1;width:100%;}
#focus-immersive-time{margin:0;color:#fff;font:400 24px/1.4 ForestSans,sans-serif;font-variant-numeric:tabular-nums;-webkit-text-stroke:.35px #00000070;paint-order:stroke fill;text-shadow:0 1px 2px #00000070;}
.focus-immersive .immersive-footer{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);}

html[data-scene] #timer-dialog .focus-display-toolbar{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #ffffff30;margin:0 0 12px;}
html[data-scene] #timer-dialog .focus-display-toolbar .brb-timer-tabs{display:flex;flex:1;gap:24px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
html[data-scene] #timer-dialog .focus-display-toolbar .brb-timer-tabs>button{flex:0 0 auto;position:relative;min-width:0;min-height:42px;padding:8px 0 12px;border:0;border-radius:0;background:transparent!important;color:#ffffffb8;font:400 14px/1.35 ForestSans,sans-serif;box-shadow:none;cursor:pointer;}
html[data-scene] #timer-dialog .focus-display-toolbar .brb-timer-tabs>button[aria-selected=true]{background:transparent!important;color:white;box-shadow:inset 0 -2px 0 #ffffffe0;}
html[data-scene] #timer-dialog .focus-display-toolbar #focus-immersive-start{margin-top:1px;}
html[data-scene] #timer-dialog .focus-display-toolbar .brb-timer-tabs>button:disabled{cursor:default;}
@media(max-width:380px){html[data-scene] :is(#timer-dialog .focus-display-toolbar,#breathe-dialog .breathing-navigation){gap:8px;}html[data-scene] #timer-dialog .focus-display-toolbar .brb-timer-tabs{gap:14px;}}


/* A shared, compact header rhythm for Focus and Breathe. */
html[data-scene] :is(#breathe-dialog,#timer-dialog) .panel-head{padding-bottom:10px;margin-bottom:8px;}
html[data-scene] :is(#breathe-dialog .breathing-navigation,#timer-dialog .focus-display-toolbar){align-items:center;gap:12px;margin:0 0 10px;}
html[data-scene] :is(#breathe-dialog .breathing-navigation .breathing-view-tabs,#timer-dialog .focus-display-toolbar .brb-timer-tabs){align-items:center;gap:24px;padding:0;margin:0;}
html[data-scene] :is(#breathe-dialog .breathing-navigation .breathing-view-tabs,#timer-dialog .focus-display-toolbar .brb-timer-tabs)>button{min-height:40px;padding:10px 0;}
html[data-scene] :is(#breathe-dialog .breathing-navigation #breathing-fullscreen-start,#timer-dialog .focus-display-toolbar #focus-immersive-start){margin-top:0;margin-bottom:0;}
@media(max-width:380px){html[data-scene] :is(#breathe-dialog .breathing-navigation,#timer-dialog .focus-display-toolbar){gap:8px;}html[data-scene] :is(#breathe-dialog .breathing-navigation .breathing-view-tabs,#timer-dialog .focus-display-toolbar .brb-timer-tabs){gap:14px;}}

html[data-scene] #breathe-dialog #breathing-setup h3{font:400 16px/1.4 ForestSans,sans-serif;margin:8px 0;}
html[data-scene] #breathe-dialog #breathing-setup p{font-size:13px;line-height:1.6;margin:12px 0;}
.breathing-pace-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:22px;font-size:14px;}
#breathing-pace{width:100%;min-height:40px;accent-color:white;}
html[data-scene] #breathe-dialog #breathing-release{display:block;margin:0 auto 10px;padding:8px 14px;min-height:40px;border:1px solid #ffffff60;border-radius:10px;background:#ffffff10;color:white;font:400 14px/1.4 ForestSans,sans-serif;}
html[data-scene] #breathe-dialog #breathing-release[hidden],#immersive-release[hidden]{display:none!important;}
#immersive-release{position:absolute;z-index:2;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);min-height:44px;padding:10px 16px;border:1px solid #ffffff70;border-radius:12px;background:#ffffff14;color:white;font:400 14px/1.4 ForestSans,sans-serif;backdrop-filter:blur(10px);text-shadow:0 1px 2px #0008;cursor:pointer;}
.breathing-immersive:has(#immersive-release:not([hidden])) .immersive-footer{margin-bottom:56px;}

#breathing-pace{appearance:none;-webkit-appearance:none;background:transparent;padding:0;cursor:pointer;}
#breathing-pace::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:#ffffff50;}
#breathing-pace::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:1px solid #ffffff90;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;}
#breathing-pace::-moz-range-track{height:4px;border-radius:4px;background:#ffffff50;}
#breathing-pace::-moz-range-thumb{width:16px;height:16px;border:1px solid #ffffff90;border-radius:50%;background:#fff;}

/* A compact now-playing area, followed by the growing Originals library. */
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-heading{position:static;width:auto;height:auto;overflow:visible;clip-path:none;display:flex;align-items:center;gap:8px;margin:6px 0 4px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-title{font-size:16px;font-weight:400;line-height:1.4;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-caption{min-height:24px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport{gap:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport button{width:34px;min-height:40px;padding:8px;border:1px solid transparent;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport svg{width:17px;height:17px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) :is(#brb-music-shuffle,#brb-music-like)[aria-pressed=true]{background:#ffffff14;border-color:#ffffff38;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-like[aria-pressed=true] svg{fill:#ffffffb0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:26px;margin:0;padding:0;border:0;background:transparent;accent-color:white;cursor:pointer;}
#brb-music-progress::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:#ffffff50;}
#brb-music-progress::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;border:0;border-radius:50%;background:white;}
#brb-music-progress::-moz-range-track{height:3px;background:#ffffff50;}#brb-music-progress::-moz-range-thumb{width:12px;height:12px;border:0;background:white;border-radius:50%;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-time{margin-top:0;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-filters{display:flex;gap:4px;margin:0 0 6px;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-filters button{min-height:36px;padding:6px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#ffffffc9;font:400 13px/1.4 ForestSans,sans-serif;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-filters button[aria-pressed=true]{color:white;background:#ffffff12;border-color:#ffffff30;}
@media(max-width:380px){html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-heading{flex-wrap:wrap;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-transport{margin-left:auto;}}

html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-track{min-height:40px;padding:8px 10px;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume{margin-top:12px;padding-top:10px;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-tracks{gap:2px;}

html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume-label{display:contents;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume-tools{grid-column:1;grid-row:1;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume input{grid-column:2;grid-row:1;min-width:0;width:100%;}html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-volume output{grid-column:3;grid-row:1;}

html[data-scene] #breathe-dialog .breathing-guide-caution{font-size:12px!important;line-height:1.55!important;margin:8px 0!important;color:#ffffffe0;}html[data-scene] #breathe-dialog .breathing-research a+a{display:block;margin-top:8px;}

html[data-scene] #breathe-dialog .breathing-guide-group{margin:16px 0 4px;font:400 12px/1.4 ForestSans,sans-serif;color:#ffffffbd;}
html[data-scene] #breathe-dialog .breathing-guide-group:first-child{margin-top:4px;}
html[data-scene] #breathe-dialog .breathing-guide-choice{display:block;width:100%;padding:12px 2px;border:0;border-bottom:1px solid #ffffff26;background:transparent;color:white;text-align:left;border-radius:0;cursor:pointer;}
html[data-scene] #breathe-dialog .breathing-guide-choice strong{display:block;font:400 15px/1.45 ForestSans,sans-serif;}
html[data-scene] #breathe-dialog .breathing-guide-choice span{display:block;margin-top:4px;font:400 12px/1.5 ForestSans,sans-serif;color:#ffffffe0;}
html[data-scene] #breathe-dialog .breathing-guide-choice:hover{background:#ffffff0c;}
html[data-scene] #breathe-dialog .breathing-guide-back{min-height:36px;padding:6px 0;margin:0 0 8px;border:0;background:none;color:#ffffffe0;font:400 13px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] #breathe-dialog .breathing-guide-start{display:block;width:100%;min-height:42px;margin:16px 0 12px;padding:9px 12px;border:1px solid #ffffff45;border-radius:10px;background:#ffffff14;color:white;font:400 14px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] #breathe-dialog .breathing-guide-start:hover{background:#ffffff20;}

/* Locked content stays visible; only its information can be opened. */
html[data-scene] #view-dialog .space-plus{position:relative;padding:0;color:white;text-align:left;font-family:inherit;cursor:pointer;}
html[data-scene] #view-dialog .space-plus .space-card-image{width:100%;object-fit:cover;aspect-ratio:16/9;height:auto;}
html[data-scene] #view-dialog .space-plus .space-card-copy{gap:8px;}
.plus-badge{display:inline-flex!important;align-items:center;justify-content:center;gap:3px;width:max-content;max-width:100%;padding:3px 6px;border:1px solid #ffffff45;border-radius:6px;background:#ffffff0e;color:white;font:400 11px/1.3 ForestSans,sans-serif!important;white-space:nowrap;}
.plus-badge svg{width:12px!important;height:12px!important;fill:none;stroke:currentColor;stroke-width:1.2;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-locked .brb-music-track{grid-template-columns:minmax(0,1fr) auto;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-locked .plus-badge{display:inline-flex;}
.brb-plus-dialog{box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #ffffff55;border-radius:20px;background:linear-gradient(130deg,#ffffff12,transparent),#30343b25;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:white;box-shadow:inset 0 1px #ffffff40,0 12px 40px #0002;text-shadow:0 1px 2px #0005;overflow:auto;}
.brb-plus-dialog::backdrop{background:#00000024;}
.plus-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.plus-dialog-head button{width:30px;height:30px;border:1px solid #ffffff40;border-radius:50%;background:transparent;color:white;font-size:20px;cursor:pointer;}
.brb-plus-dialog h2{font:400 20px/1.4 ForestSans,sans-serif;margin:20px 0 10px;}
.brb-plus-dialog p{font:400 14px/1.6 ForestSans,sans-serif;margin:8px 0;}
.brb-plus-dialog .plus-availability{padding:10px 0;margin:12px 0;border-block:1px solid #ffffff30;}
.brb-plus-dialog .plus-free-note{font-size:12px;color:#ffffffe0;}
.brb-plus-dialog button:focus-visible{outline:1px solid white;outline-offset:2px;}

/* Plan filters share the same quiet glass controls in Scenes and Music. */
html[data-scene] #view-dialog .scene-catalog-filters{display:flex;align-items:center;gap:4px;margin:0 0 12px;}
html[data-scene] #view-dialog .scene-catalog-filters button{min-height:36px;padding:6px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#ffffffc9;font:400 13px/1.4 ForestSans,sans-serif;cursor:pointer;}
html[data-scene] #view-dialog .scene-catalog-filters button[aria-pressed=true]{color:white;background:#ffffff12;border-color:#ffffff30;}
html[data-scene] #view-dialog .space-picker>[hidden]{display:none!important;}
html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) #brb-music-liked-filter{margin-left:auto;}
html[data-scene] #view-dialog .scene-catalog-filters button:hover,html[data-scene=dreamcore] :is(#mixer-dialog,:is(#now-dialog,#view-dialog)) .brb-music-filters button:hover{background:#ffffff14;}

.brb-pricing-dialog{width:min(580px,calc(100vw - 32px));padding:24px;}
.brb-pricing-dialog h2{margin:16px 0 6px;font-size:24px;}
.brb-pricing-dialog #plus-content-context{font-size:13px;color:#ffffffe0;}
.plus-billing{display:flex;gap:4px;width:max-content;margin:18px 0 16px;padding:3px;border:1px solid #ffffff30;border-radius:10px;}
.plus-billing button{min-height:36px;padding:7px 16px;border:0;border-radius:7px;background:transparent;color:white;font:400 13px/1.4 ForestSans,sans-serif;cursor:pointer;}
.plus-billing button[aria-pressed=true]{background:#ffffff18;}
.plus-billing button:disabled{cursor:default;}
.plus-plans{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.plus-plan{min-width:0;padding:18px 16px;border:1px solid #ffffff30;border-radius:14px;background:#ffffff04;}
.plus-plan.plus-featured{border-color:#ffffff75;background:#ffffff0d;}
.plus-plan h3{font:400 16px/1.4 ForestSans,sans-serif;margin:0 0 12px;}
.brb-pricing-dialog .plus-price{font-size:28px;line-height:1.25;margin:0 0 6px;letter-spacing:-.5px;}
.brb-pricing-dialog .plus-price-note{font-size:12px;color:#ffffffe0;min-height:38px;margin:0;}
.plus-plan ul{padding:14px 0 0 16px;margin:10px 0 0;border-top:1px solid #ffffff25;font:400 13px/1.7 ForestSans,sans-serif;}
.plus-plan li+li{margin-top:6px;}
.plus-subscribe{display:block;width:100%;min-height:44px;margin:20px 0 6px;padding:10px 14px;border:1px solid #ffffff60;border-radius:10px;background:#ffffff18;color:white;font:400 14px/1.4 ForestSans,sans-serif;}
.plus-subscribe:disabled{cursor:default;}
.brb-pricing-dialog .plus-checkout-note{font-size:12px;text-align:center;color:#ffffffe0;}
.plus-keep-free{display:block;min-height:40px;margin:6px auto 0;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:white;font:400 13px/1.4 ForestSans,sans-serif;cursor:pointer;}
.plus-keep-free:hover{background:#ffffff12;}
@media(max-width:420px){.brb-pricing-dialog{padding:18px;}.plus-plans{grid-template-columns:1fr;}.plus-plan{padding:14px;}.brb-pricing-dialog .plus-price-note{min-height:0;}.plus-free ul{display:none;}.plus-free{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;}.plus-free h3{margin:0;}.plus-free .plus-price{font-size:22px;grid-column:2;grid-row:1/3;}.plus-free .plus-price-note{grid-column:1;}}

/* Three clear options, with billing changes confined to the subscription. */
.brb-pricing-dialog{width:min(780px,calc(100vw - 32px));}
.plus-plans{grid-template-columns:repeat(3,minmax(0,1fr));}
.plus-plan{display:flex;flex-direction:column;padding:18px 16px;}
.plus-plan h3{min-height:24px;}
.brb-pricing-dialog .plus-price{font-family:ForestSans,'Helvetica Neue',Arial,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0;}
.brb-pricing-dialog .plus-price-note{min-height:42px;}
.plus-plan ul{flex:1;}
.plus-plan-action{width:100%;min-height:40px;margin-top:20px;padding:9px 8px;border:1px solid #ffffff45;border-radius:9px;background:#ffffff0d;color:white;font:400 13px/1.4 ForestSans,sans-serif;}
.plus-featured .plus-plan-action{background:#ffffffd9;color:#202020;border-color:transparent;}
.plus-plan-action:disabled{cursor:default;opacity:.7;}
.brb-pricing-dialog .plus-checkout-note{margin:14px 0 16px;}
.plus-pricing-faq{border-top:1px solid #ffffff2e;}
.plus-pricing-faq summary{list-style:none;display:flex;justify-content:space-between;gap:10px;padding:12px 0;font:400 13px/1.5 ForestSans,sans-serif;cursor:pointer;}
.plus-pricing-faq summary::after{content:'+';}.plus-pricing-faq[open] summary::after{content:'−';}.plus-pricing-faq summary::-webkit-details-marker{display:none;}
.brb-pricing-dialog .plus-pricing-faq p{font-size:13px;margin:0 0 12px;}
@media(max-width:640px){.plus-plans{grid-template-columns:1fr;gap:10px;}.plus-plan,.plus-free{display:flex;padding:14px;}.plus-free ul{display:block;}.plus-free .plus-price{font-size:28px;}.brb-pricing-dialog .plus-price-note{min-height:0;}.plus-plan h3{margin-bottom:6px;}.plus-plan-action{margin-top:12px;}.plus-plan ul{padding-top:10px;margin-top:10px;}.plus-plan li+li{margin-top:3px;}}

.plus-free .plus-keep-free{width:100%;min-height:40px;margin:20px 0 0;padding:9px 8px;border:1px solid #ffffff45;border-radius:9px;font-size:13px;}@media(max-width:640px){.plus-free{align-items:stretch;text-align:left;}.plus-free .plus-keep-free{margin-top:12px;}}

/* Cloud storage follows the existing light, neutral glass controls. */
.brb-cloud-settings{min-width:0;padding:4px 0 20px;border-bottom:1px solid #ffffff26;margin-bottom:20px}
.brb-cloud-settings h3{font:inherit;font-weight:500;margin:0 0 12px}
.brb-cloud-settings p{font-size:13px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
.brb-cloud-settings .cloud-secondary,.cloud-account{opacity:.78}
.cloud-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cloud-actions button,.cloud-actions a,.cloud-backup{font:inherit;font-size:13px;color:inherit;text-decoration:none;border:1px solid #ffffff40;border-radius:12px;background:#ffffff0a;padding:9px 12px;cursor:pointer}
.cloud-actions button:hover,.cloud-actions a:hover,.cloud-backup:hover{background:#ffffff16}
.cloud-details{margin-top:16px;font-size:13px}.cloud-details summary{cursor:pointer}.cloud-details p{opacity:.82}
.brb-cloud-update{position:fixed;right:24px;top:24px;z-index:150;font:inherit;font-size:12px;color:#fff;border:1px solid #ffffff4d;border-radius:18px;background:#ffffff12;backdrop-filter:blur(20px);padding:10px 14px;cursor:pointer;text-shadow:0 1px 3px #0006}
body.breathing-immersed .brb-cloud-update{display:none}

.brb-cloud-settings .cloud-details{background:transparent;border:0;border-radius:0;padding:0}
.brb-cloud-settings .cloud-details summary{background:transparent;padding:8px 0;border:0}

html[data-scene] .masthead-right.has-account{display:flex!important;align-items:center;pointer-events:auto}
html[data-scene] .masthead-right.has-account #about-open{display:none}
.brb-account-launcher{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid #ffffff42;border-radius:24px;background:#ffffff08;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font:400 14px ForestSans,'Helvetica Neue',Arial,sans-serif;text-shadow:var(--clear-text-shadow);cursor:pointer}
.brb-account-launcher:hover{background:#ffffff15}.brb-account-launcher svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
.brb-account-launcher[data-attention=true]{border-color:#ffffffb3}
html[data-scene] #account-dialog{width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);overflow-y:auto}
#account-dialog .brb-cloud-settings{margin:0;padding:0;border:0}
#account-dialog .cloud-account{font-size:16px;opacity:1;margin:4px 0 6px}
#account-dialog .cloud-plan{font-size:13px;opacity:.76;margin:0 0 20px}
#account-dialog .cloud-status{font-size:14px;line-height:1.5;margin:0 0 16px}
#account-dialog .cloud-local{margin:20px 0 0;font-size:13px;opacity:.8}
#account-dialog .cloud-actions :is(button,a){font-size:14px;min-height:40px}
#account-dialog .cloud-details{margin-top:16px;border-top:1px solid #ffffff26;padding-top:8px;font-size:14px}
#account-dialog .cloud-details p{font-size:14px;line-height:1.55}
.google-signin-slot{font-size:13px;line-height:1.5;opacity:.9;margin:12px 0}.google-signin-slot:empty{margin:0}
@media(max-width:700px){html[data-scene] #account-dialog{max-height:calc(100dvh - 110px)}.brb-account-launcher{min-height:40px}}

.google-pending{min-height:42px;width:100%;border:1px solid #ffffff40;border-radius:22px;background:#ffffff0a;color:#fff;font:inherit;font-size:14px;opacity:.65}.google-signin-slot p{margin:8px 0 0!important;font-size:13px!important}

#account-dialog .cloud-plan-summary{margin:-6px 0 16px;color:#fff;opacity:.86}
#account-dialog .cloud-plan-summary p{font-size:13px;line-height:1.55;margin:4px 0}
