:root{
  --ink:#452f30;--muted:#856f69;--faint:#aa938b;--paper:#fffaf6;--cream:#f8eee8;--cream-2:#f2e3da;
  --line:rgba(112,72,66,.14);--line-strong:rgba(112,72,66,.22);--rose:#b85f62;--rose-deep:#8f4149;--rose-soft:#f4d6d2;
  --sage:#74826b;--gold:#bd8155;--shadow:0 18px 50px rgba(77,48,45,.10);--shadow-sm:0 8px 24px rgba(77,48,45,.08);
  --radius:26px;--radius-sm:16px;--accent:#b85f62;--accent-deep:#8f4149;--accent-soft:#f4d6d2;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cream);line-height:1.5}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(184,95,98,.28);outline-offset:2px}::selection{background:var(--rose-soft)}

/* Shared */
.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:1.35rem;letter-spacing:-.02em}.brand img{width:34px;height:34px}.eyebrow,.micro-label{margin:0 0 7px;color:var(--accent);font-size:.68rem;letter-spacing:.16em;font-weight:800}.micro-label{font-size:.6rem;letter-spacing:.13em}.centered{text-align:center}.primary-btn,.soft-btn,.soft-icon,.sidebar-action{border:0;border-radius:13px;min-height:44px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750}.primary-btn{background:linear-gradient(135deg,var(--accent),var(--accent-deep));color:#fff;box-shadow:0 9px 22px rgba(143,65,73,.22)}.primary-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}.soft-btn,.soft-icon{background:#fff9f5;border:1px solid var(--line);color:var(--ink)}.soft-btn:hover,.soft-icon:hover{background:#fff}.icon-button{border:0;background:transparent;color:var(--muted);padding:8px;border-radius:10px;font-weight:800}.icon-button:hover,.icon-button.active{background:var(--accent-soft);color:var(--accent-deep)}.glass-card,.card{background:rgba(255,250,246,.92);border:1px solid rgba(118,80,73,.13);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.card{border-radius:var(--radius);padding:22px}.flash{max-width:760px;margin:12px auto;padding:12px 16px;border-radius:14px;font-size:.9rem;box-shadow:var(--shadow-sm)}.flash-success{background:#edf4e8;color:#51604d}.flash-error{background:#fae8e7;color:#8c4a4a}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.card-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;margin:0;letter-spacing:-.015em}.card-heading>span{color:var(--muted);font-size:.72rem}.live-dot{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#f7e5df;color:#a35658;font-size:.58rem;font-weight:850;letter-spacing:.1em}.player-badges{display:flex;align-items:center;gap:6px}.card-intro{margin:-5px 0 18px;color:var(--muted);font-size:.86rem}.progress{height:5px;background:#eee1db;border-radius:999px;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--accent-soft),var(--accent));border-radius:inherit;transition:width .4s}.progress.big{height:8px;margin-top:12px}.shortcut-hint{font-size:.65rem;color:var(--faint)}kbd{font-family:inherit;background:#fff;border:1px solid var(--line-strong);box-shadow:0 1px 0 rgba(0,0,0,.07);border-radius:6px;padding:2px 6px;font-size:.68rem}

/* Landing + Gate */
.landing-body{min-height:100vh;background:radial-gradient(circle at 75% 15%,rgba(255,255,255,.96),transparent 31%),linear-gradient(135deg,#fbf3ed,#f5e9e2 53%,#f2e3da)}.landing-shell{width:min(1500px,calc(100% - 42px));min-height:calc(100vh - 42px);margin:21px auto;padding:24px 38px 20px;background:rgba(255,252,249,.72);border:1px solid rgba(126,87,79,.10);border-radius:28px;box-shadow:0 26px 70px rgba(70,43,41,.11);position:relative;overflow:hidden}.landing-topbar{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5}.topline{font-size:.78rem;color:var(--muted);border:1px solid var(--line);padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.55)}.gate-layout{position:relative;display:grid;grid-template-columns:minmax(330px,.9fr) minmax(500px,1.45fr);gap:30px;min-height:720px;align-items:center}.gate-copy{padding:20px 0 80px;position:relative;z-index:2}.gate-copy h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(3.4rem,5vw,5.6rem);line-height:.93;letter-spacing:-.05em;margin:0 0 24px}.gate-copy h1 span,.auth-card h1 span,.dash-header h1 span{color:var(--accent)}.gate-copy .lead{font-size:1.06rem;color:var(--muted);max-width:520px;margin:0 0 36px}.feature-notes{display:grid;gap:12px;width:min(430px,100%)}.feature-notes article{display:grid;gap:5px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.58);box-shadow:var(--shadow-sm);transform:rotate(-1deg)}.feature-notes article:nth-child(2){margin-left:34px;transform:rotate(1deg)}.feature-notes article:nth-child(3){margin-left:12px}.feature-notes b{color:var(--accent-deep)}.feature-notes span{font-size:.78rem;color:var(--muted)}.room-stage{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:flex-end}.room-stage:before{content:"";position:absolute;inset:10% -15% 5% 5%;background:radial-gradient(circle,rgba(188,106,100,.15),transparent 60%);filter:blur(20px)}.room-stage img{width:min(780px,100%);aspect-ratio:1/1;object-fit:cover;border-radius:30px;box-shadow:0 32px 65px rgba(97,48,49,.16);position:relative}.gate-card{position:absolute;left:44%;top:50%;transform:translate(-50%,-44%);width:min(390px,42vw);z-index:4;border-radius:28px;padding:30px}.gate-card .gate-logo,.auth-card .gate-logo{width:54px;height:54px;margin:0 auto 10px;padding:12px;border-radius:50%;background:#f8e9e5}.gate-card h2{font-family:Georgia,"Times New Roman",serif;font-size:2.1rem;text-align:center;margin:2px 0 8px}.gate-card>p:not(.eyebrow):not(.cookie-hint){text-align:center;color:var(--muted);font-size:.88rem}.stack-form{display:grid;gap:10px;margin-top:20px}.stack-form label{font-size:.72rem;font-weight:700}.input-wrap{display:flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:13px;padding:0 10px;background:#fff}.input-wrap input{border:0;outline:0;background:transparent;flex:1;min-width:0;height:46px}.peek{border:0;background:transparent;color:var(--muted)}.cookie-hint{display:flex;gap:6px;margin:14px 0 0;font-size:.67rem!important;color:var(--muted);text-align:left!important}.landing-footer{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:.72rem}.landing-footer span{text-align:center}.landing-footer span+span{border-left:1px solid var(--line)}

/* Auth */
.auth-shell{min-height:calc(100vh - 42px)}.auth-layout{display:grid;grid-template-columns:1.02fr 1.12fr;align-items:center;gap:38px;min-height:760px;padding:18px 0}.auth-room{position:relative;min-height:660px;display:flex;align-items:center;justify-content:center}.auth-room>img{width:min(690px,100%);aspect-ratio:1/1;object-fit:cover;border-radius:32px;box-shadow:var(--shadow)}.floating-chip{position:absolute;display:grid;gap:3px;background:rgba(255,250,246,.94);border:1px solid var(--line);border-radius:16px;padding:12px 15px;box-shadow:var(--shadow-sm);font-size:.75rem}.floating-chip span{color:var(--muted);font-size:.65rem}.chip-music{left:0;bottom:90px}.chip-focus{left:16px;bottom:20px}.chip-rain{right:10px;top:50px}.auth-card{width:min(690px,100%);margin:auto;padding:42px;border-radius:30px}.auth-card h1{text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:2.35rem;line-height:1.04;margin:5px 0 12px}.auth-card>p{text-align:center;color:var(--muted);font-size:.9rem}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f5e9e3;border:1px solid var(--line);border-radius:14px;padding:4px;margin:26px 0 18px}.auth-tabs button{height:40px;border:0;background:transparent;border-radius:10px;color:var(--muted);font-weight:700}.auth-tabs button.active{background:linear-gradient(135deg,var(--accent),var(--accent-deep));color:#fff;box-shadow:0 6px 14px rgba(143,65,73,.16)}.auth-panel{display:none;gap:14px}.auth-panel.active{display:grid}.auth-panel label{display:grid;gap:6px;font-size:.72rem;font-weight:750}.auth-panel input{height:46px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;padding:0 13px;outline:0}.password-hints{list-style:none;margin:0;padding:0;color:#67806e;font-size:.68rem;display:grid;gap:4px}.password-hints li:before{content:"✓";margin-right:7px}.switch-copy{text-align:center!important;font-size:.72rem!important}.switch-copy button{border:0;background:transparent;color:var(--accent);font-weight:750;padding:0}

/* Application layout */
.app-body{min-height:100vh;background:linear-gradient(145deg,#f7ede7,#f1e1d8);--scene-glow:rgba(184,95,98,.13);transition:background .35s}.app-body.scene-rain{--accent:#9a6676;--accent-deep:#694857;--accent-soft:#eadbe0;--scene-glow:rgba(86,66,105,.16);background:linear-gradient(145deg,#f4ebe8,#e9e1e5)}.app-body.scene-sunset{--accent:#be7358;--accent-deep:#914c3b;--accent-soft:#f4ded4;--scene-glow:rgba(219,121,73,.15);background:linear-gradient(145deg,#faeee5,#f3e0d4)}.app-body.scene-library{--accent:#a16945;--accent-deep:#754a34;--accent-soft:#efe0d2;--scene-glow:rgba(119,78,51,.14);background:linear-gradient(145deg,#f7eee6,#ede1d6)}.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:25px 19px 20px;background:rgba(255,250,246,.80);backdrop-filter:blur(20px);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:0 10px 22px}.side-nav{display:grid;gap:5px}.side-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;color:#735e59;font-size:.84rem;font-weight:650}.side-nav a span{width:20px;text-align:center;font-size:1rem;color:#9d766a}.side-nav a:hover,.side-nav a.active{background:linear-gradient(90deg,var(--accent-soft),rgba(255,255,255,.7));color:var(--accent-deep)}.side-nav a.active span{color:var(--accent)}.sidebar blockquote{margin:auto 4px 14px;padding:28px 12px;text-align:center;border:1px solid var(--line);border-radius:20px;background:linear-gradient(160deg,#fffaf6,#f4e7df);font-family:Georgia,"Times New Roman",serif;box-shadow:var(--shadow-sm)}.sidebar blockquote .quote-mark{display:block;color:var(--accent-soft);font-size:2.8rem;line-height:.4}.sidebar blockquote strong{display:block;font-size:1.18rem;line-height:1.12;margin:12px 0}.sidebar blockquote>span:last-child{color:var(--accent)}.side-calm{display:grid;gap:5px;border:1px solid var(--line);border-radius:16px;padding:13px;background:rgba(255,255,255,.55);font-size:.72rem}.side-calm span{color:var(--muted);font-size:.66rem}.sidebar-action{width:100%;margin-top:8px;background:var(--accent-soft);color:var(--accent-deep);font-size:.72rem}.logout-form{margin-top:8px}.logout-form button{width:100%;border:0;background:transparent;color:var(--muted);padding:9px;border-radius:10px;font-size:.72rem}.logout-form button:hover{background:#f3e7e1}.dashboard{min-width:0;padding:28px clamp(22px,3vw,48px) 38px;max-width:1680px;width:100%;margin:auto}.dash-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dash-header h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.8rem,2.3vw,2.55rem);font-weight:500;margin:0 0 4px;letter-spacing:-.035em}.dash-header p:not(.eyebrow){margin:0;color:var(--muted);font-size:.84rem}.header-actions{display:flex;align-items:center;gap:8px}.soft-icon{height:42px;min-height:42px;padding:0 13px;font-size:.75rem}.profile-pill{display:flex;align-items:center;gap:9px;background:rgba(255,250,246,.75);border:1px solid var(--line);border-radius:999px;padding:5px 12px 5px 5px;font-size:.72rem;font-weight:700}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--accent-soft),#fff);color:var(--accent-deep);font-family:Georgia,serif}.dash-grid{display:grid;gap:18px}.top-grid{grid-template-columns:minmax(360px,.82fr) minmax(520px,1.38fr);align-items:stretch;margin-bottom:18px}.top-grid>.card{min-height:560px}.pomodoro-card{display:flex;flex-direction:column}.focus-intent{display:grid;gap:6px;margin-bottom:12px}.focus-intent span{font-size:.68rem;color:var(--muted);font-weight:700}.focus-intent input{height:42px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 12px;outline:0}.mode-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#f5e9e3;border-radius:13px;padding:4px}.mode-tabs button{border:0;background:transparent;border-radius:9px;padding:9px 5px;color:var(--muted);font-size:.73rem}.mode-tabs button small{display:block;font-size:.58rem;opacity:.72}.mode-tabs button.active{background:#fff;color:var(--accent-deep);box-shadow:0 4px 12px rgba(90,52,50,.08);font-weight:750}.timer-ring{--progress:0deg;width:min(310px,72vw);aspect-ratio:1;border-radius:50%;margin:18px auto 14px;position:relative;background:conic-gradient(var(--accent) var(--progress),var(--accent-soft) 0);padding:8px;filter:drop-shadow(0 12px 22px rgba(143,65,73,.09))}.timer-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:var(--paper)}.timer-ring>div{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.timer-ring img{width:28px;height:28px;margin-bottom:12px}.timer-ring strong{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:4.3rem;line-height:1;letter-spacing:-.06em}.timer-ring span{font-size:.76rem;color:var(--muted);margin-top:8px;max-width:220px}.timer-ring em{font-style:normal;color:var(--accent);margin-top:5px}.timer-actions{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:8px}.timer-actions button{min-height:42px;padding:0 10px;font-size:.75rem}.timer-meta{display:flex;justify-content:space-between;gap:8px;margin:12px 2px 0;color:var(--muted);font-size:.65rem}.tip{margin-top:auto;background:linear-gradient(90deg,#f8ece6,#fff);border:1px solid var(--line);border-radius:12px;padding:9px 11px;font-size:.67rem;color:var(--muted)}.room-card{position:relative;overflow:hidden;padding:0;background:#2f171a;isolation:isolate}.room-card>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:opacity .28s,transform .6s}.room-card>img.scene-changing{opacity:.35;transform:scale(1.02)}.room-card:hover>img{transform:scale(1.015)}.room-vignette{position:absolute;inset:0;background:linear-gradient(to top,rgba(30,15,16,.58),transparent 38%),radial-gradient(circle at 55% 30%,transparent 40%,rgba(41,18,20,.08));z-index:1}.room-overlay{position:absolute;left:20px;right:20px;top:18px;display:flex;justify-content:space-between;align-items:center;color:#fff;z-index:2;text-shadow:0 1px 7px rgba(0,0,0,.4)}.room-overlay span{background:rgba(40,21,22,.36);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px);padding:6px 9px;border-radius:999px;font-size:.63rem}.room-overlay strong{font-size:.66rem;letter-spacing:.12em}.scene-switcher{position:absolute;z-index:3;left:16px;right:16px;bottom:15px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px;background:rgba(37,20,21,.54);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.14);border-radius:17px}.scene-switcher button{border:1px solid transparent;background:transparent;border-radius:11px;padding:5px;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:7px;text-align:left;color:#f9ece6;font-size:.62rem}.scene-switcher button img{width:38px;height:32px;object-fit:cover;border-radius:8px}.scene-switcher button:hover,.scene-switcher button.active{background:rgba(255,245,239,.13);border-color:rgba(255,255,255,.2)}.focus-exit{display:none;position:absolute;right:18px;bottom:84px;z-index:4;border:1px solid rgba(255,255,255,.18);background:rgba(35,19,20,.58);color:#fff;border-radius:999px;padding:8px 12px;font-size:.7rem;backdrop-filter:blur(12px)}

/* Music + soundscape */
.media-grid{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);margin-bottom:18px}.music-card,.soundscape-card{min-height:480px}.track-main{display:grid;grid-template-columns:104px 1fr;gap:16px;align-items:center}.track-main>img{width:104px;height:104px;object-fit:cover;border-radius:17px;box-shadow:0 12px 26px rgba(69,40,38,.14)}.track-copy{display:grid;gap:3px}.track-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:1.3rem}.track-copy span{color:var(--accent);font-size:.72rem}.track-copy p{color:var(--muted);font-size:.7rem;max-width:460px;margin:5px 0 0}.seek{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:9px;margin:14px 0 5px;font-size:.62rem;color:var(--muted)}input[type=range]{appearance:none;height:4px;border-radius:999px;background:#eadbd4;accent-color:var(--accent)}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:var(--accent);box-shadow:0 2px 7px rgba(0,0,0,.14)}.player-actions{display:flex;justify-content:center;align-items:center;gap:18px;margin:8px 0}.player-actions button{border:0;background:transparent;font-size:.8rem}.round-play{width:50px;height:50px;border-radius:50%!important;background:linear-gradient(145deg,var(--accent),var(--accent-deep))!important;color:#fff;box-shadow:0 8px 18px rgba(143,65,73,.22)}.volume-row{display:grid;grid-template-columns:22px 1fr 36px;align-items:center;gap:8px}.mini-toggle{border:1px solid var(--line);background:#fff8f4;border-radius:9px;height:32px}.mini-toggle.active{background:var(--accent-soft);color:var(--accent-deep)}.playlist{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:15px}.playlist-item{min-width:0;border:1px solid var(--line);background:rgba(255,255,255,.55);border-radius:12px;padding:6px;display:grid;grid-template-columns:32px minmax(0,1fr) 14px;gap:7px;align-items:center;text-align:left}.playlist-item:hover,.playlist-item.active{background:var(--accent-soft);border-color:transparent}.playlist-item img{width:32px;height:32px;border-radius:8px;object-fit:cover}.playlist-item span{min-width:0}.playlist-item b,.playlist-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist-item b{font-size:.62rem}.playlist-item small{font-size:.54rem;color:var(--muted)}.playlist-item i{font-style:normal;color:var(--accent);font-size:.55rem}.mixer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mixer-channel{border:1px solid var(--line);border-radius:16px;padding:10px;background:rgba(255,255,255,.52);transition:.2s}.mixer-channel.active{background:linear-gradient(145deg,var(--accent-soft),#fff);border-color:transparent;box-shadow:var(--shadow-sm)}.ambient-toggle{width:100%;border:0;background:transparent;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;text-align:left;align-items:center;padding:0}.ambient-toggle>span{grid-row:1/3;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#fff;color:var(--accent);font-size:1rem}.ambient-toggle b{font-size:.72rem}.ambient-toggle small{font-size:.58rem;color:var(--muted)}.ambient-volume{width:100%;margin-top:10px}.soundscape-presets{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:16px}.soundscape-presets>span{font-size:.62rem;color:var(--muted);margin-right:3px}.soundscape-presets button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 9px;font-size:.6rem}.soundscape-presets button:hover{background:var(--accent-soft)}.soundscape-footer{display:flex;justify-content:space-between;margin-top:auto;padding-top:18px;color:var(--muted);font-size:.58rem}.soundscape-card{display:flex;flex-direction:column}

/* Stats / tasks / notes */
.content-grid{grid-template-columns:repeat(12,minmax(0,1fr));margin-bottom:18px}.stats-card{grid-column:span 4}.heat-card{grid-column:span 4}.recent-card{grid-column:span 4}.tasks-card{grid-column:span 6}.note-card{grid-column:span 6}.goal-hero{text-align:center;padding:12px 6px 15px}.goal-hero>strong{font-family:Georgia,"Times New Roman",serif;font-size:2.55rem;font-weight:500;display:block}.goal-hero>span{font-size:.68rem;color:var(--muted)}.stat-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stat-tiles>div{padding:11px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.55);display:grid;gap:2px}.stat-tiles span{font-size:.57rem;color:var(--muted)}.stat-tiles strong{font-size:.83rem}.heatmap{display:grid;grid-template-columns:repeat(14,1fr);gap:5px;margin:22px 0 13px}.heat-cell{aspect-ratio:1;border-radius:5px;background:#eee1da;transition:transform .15s}.heat-cell:hover{transform:scale(1.2)}.level-0{background:#eee3dd}.level-1{background:#efd0c8}.level-2{background:#dc9c94}.level-3{background:#c66e6e}.level-4{background:#95494f}.heat-legend{display:flex;align-items:center;justify-content:center;gap:5px;font-size:.55rem;color:var(--muted)}.heat-legend i{width:12px;height:12px;border-radius:4px}.recent-list{display:grid;gap:8px}.recent-item{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:9px;padding:9px 8px;border-bottom:1px solid var(--line)}.session-dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}.session-dot.short,.session-dot.long{background:var(--sage)}.recent-item div{min-width:0}.recent-item b,.recent-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-item b{font-size:.68rem}.recent-item small{font-size:.56rem;color:var(--muted)}.recent-item strong{font-size:.7rem;color:var(--accent)}.empty-state{border:1px dashed var(--line-strong);border-radius:13px;padding:22px;text-align:center;font-size:.67rem;color:var(--muted)}.task-list{list-style:none;padding:0;margin:0;display:grid;gap:5px;max-height:275px;overflow:auto}.task-list li{display:grid;grid-template-columns:18px 56px 1fr 24px;align-items:center;gap:7px;padding:7px;border-bottom:1px solid var(--line)}.task-check{width:16px;height:16px;border-radius:50%;border:1px solid #cdb6ad;background:#fff}.task-list li.done .task-check{background:var(--sage);border-color:var(--sage);position:relative}.task-list li.done .task-check:after{content:"✓";position:absolute;color:#fff;font-size:.58rem;left:3px;top:0}.task-list li.done .task-title{text-decoration:line-through;opacity:.48}.task-tag{font-size:.52rem;padding:4px 5px;border-radius:6px;text-align:center;background:#f3e1d8;color:#9e594b}.tag-study{background:#dfeae2;color:#587364}.tag-work{background:#f3dcda;color:#9b5657}.tag-personal{background:#e7e2ee;color:#715f83}.task-title{font-size:.68rem;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-delete{border:0;background:transparent;color:#b8978c;font-size:1rem}.task-form{display:grid;grid-template-columns:92px 1fr 36px;gap:7px;margin-top:11px}.task-form select,.task-form input{border:1px solid var(--line);background:#fff;border-radius:10px;height:36px;padding:0 9px;font-size:.64rem;outline:0}.task-form button{border:0;border-radius:10px;background:var(--accent);color:#fff}.note-card textarea{width:100%;min-height:245px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:linear-gradient(#fffaf7,#fff);padding:15px;outline:0;font-family:Georgia,"Times New Roman",serif;font-size:.92rem;line-height:1.7}.note-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;color:var(--muted);font-size:.62rem}.note-footer button{min-height:34px;font-size:.65rem}.scene-gallery{display:grid;grid-template-columns:.7fr 1.3fr;gap:26px;align-items:center;margin-bottom:18px;padding:26px}.section-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:1.8rem;line-height:1.05;margin:0 0 10px}.section-copy p:not(.eyebrow){color:var(--muted);font-size:.78rem;max-width:520px}.scene-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.scene-gallery-grid button{position:relative;border:0;border-radius:17px;overflow:hidden;padding:0;aspect-ratio:.86/1;background:#2d191b;text-align:left}.scene-gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.scene-gallery-grid button:hover img{transform:scale(1.04)}.scene-gallery-grid span{position:absolute;left:0;right:0;bottom:0;padding:26px 10px 10px;background:linear-gradient(transparent,rgba(33,17,18,.83));color:#fff}.scene-gallery-grid b,.scene-gallery-grid small{display:block}.scene-gallery-grid b{font-size:.7rem}.scene-gallery-grid small{font-size:.55rem;opacity:.8}.app-footer{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.58rem;padding:5px 3px}.mobile-nav,.mobile-mini-player{display:none}

/* Dialog + toast */
.settings-dialog{border:0;padding:0;background:transparent;max-width:min(610px,calc(100vw - 28px));width:100%}.settings-dialog::backdrop{background:rgba(52,31,31,.42);backdrop-filter:blur(8px)}.settings-panel{border:1px solid var(--line);background:#fffaf6;border-radius:24px;padding:24px;box-shadow:0 28px 80px rgba(54,31,31,.28)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start}.dialog-heading h2{font-family:Georgia,"Times New Roman",serif;margin:0;font-size:1.65rem}.dialog-heading button{border:0;background:#f3e7e1;border-radius:50%;width:34px;height:34px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.settings-grid label{display:grid;grid-template-columns:1fr 72px;align-items:center;gap:6px;border:1px solid var(--line);border-radius:13px;padding:10px 12px;font-size:.7rem}.settings-grid label>input{grid-column:2;grid-row:1/3;width:68px;height:40px;border:1px solid var(--line);border-radius:10px;text-align:center;background:#fff}.settings-grid label>span{color:var(--muted);font-size:.56rem}.toggle-setting{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;gap:2px 9px;align-items:center;padding:10px 0}.toggle-setting input{display:none}.toggle-setting>span{grid-row:1/3;width:36px;height:20px;border-radius:999px;background:#dbc9c1;position:relative}.toggle-setting>span:after{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;transition:.2s}.toggle-setting input:checked+span{background:var(--accent)}.toggle-setting input:checked+span:after{transform:translateX(16px)}.toggle-setting b{font-size:.7rem}.toggle-setting small{font-size:.58rem;color:var(--muted)}.keyboard-card{display:flex;flex-wrap:wrap;gap:7px 13px;border:1px dashed var(--line-strong);border-radius:13px;padding:12px;margin:8px 0 16px;font-size:.62rem;color:var(--muted)}.keyboard-card b{width:100%;color:var(--ink)}.settings-panel>.primary-btn{width:100%}.toast-stack{position:fixed;right:18px;bottom:18px;z-index:100;display:grid;gap:8px}.toast{min-width:220px;max-width:360px;padding:11px 14px;border-radius:12px;background:#fffaf6;border:1px solid var(--line);box-shadow:var(--shadow);font-size:.72rem;opacity:0;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:none}.toast-error{background:#fff0ef;color:#8d4848}

/* Focus Room immersive mode */
.focus-mode{overflow:hidden;background:#1d1113}.focus-mode .sidebar,.focus-mode .dash-header,.focus-mode .media-grid,.focus-mode .content-grid,.focus-mode .scene-gallery,.focus-mode .app-footer,.focus-mode .mobile-nav,.focus-mode .mobile-mini-player,.focus-mode .flash{display:none!important}.focus-mode .app-shell{display:block}.focus-mode .dashboard{padding:18px;max-width:none;height:100vh;background:radial-gradient(circle at 65% 20%,var(--scene-glow),transparent 45%),#1d1113}.focus-mode .top-grid{grid-template-columns:minmax(380px,500px) minmax(0,1fr);height:calc(100vh - 36px);margin:0 auto;max-width:1600px;gap:14px}.focus-mode .top-grid>.card{min-height:0;height:100%}.focus-mode .pomodoro-card{background:rgba(255,247,242,.96);box-shadow:0 24px 80px rgba(0,0,0,.35)}.focus-mode .room-card{box-shadow:0 24px 80px rgba(0,0,0,.35);border-color:rgba(255,255,255,.08)}.focus-mode .focus-exit{display:block}.focus-mode .timer-ring{width:min(340px,70vh)}.focus-mode .shortcut-hint{display:none}.focus-mode .room-overlay{top:20px}.focus-mode .scene-switcher{max-width:680px;margin:auto}

/* Responsive */
@media(max-width:1280px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-inline:14px}.top-grid{grid-template-columns:minmax(340px,.9fr) minmax(450px,1.2fr)}.playlist{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:repeat(6,1fr)}.stats-card,.heat-card,.recent-card{grid-column:span 2}.tasks-card,.note-card{grid-column:span 3}.scene-gallery{grid-template-columns:1fr}.scene-gallery-grid{max-width:900px}}
@media(max-width:1050px){.app-shell{display:block}.sidebar{display:none}.dashboard{padding:22px 20px 116px}.top-grid{grid-template-columns:1fr}.top-grid>.card{min-height:auto}.room-card{min-height:580px;order:-1}.pomodoro-card{min-height:550px}.media-grid{grid-template-columns:1fr 1fr}.playlist{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:repeat(2,1fr)}.stats-card,.heat-card,.recent-card,.tasks-card,.note-card{grid-column:auto}.recent-card{grid-column:1/-1}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:14px;right:14px;bottom:max(10px,env(safe-area-inset-bottom));z-index:50;background:rgba(255,250,246,.91);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:18px;padding:7px;box-shadow:0 14px 34px rgba(69,38,37,.16)}.mobile-nav a{display:grid;justify-items:center;gap:2px;color:#9a7a70;font-size:.95rem}.mobile-nav a span{font-size:.54rem}.mobile-nav a.active{color:var(--accent)}.mobile-mini-player{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;position:fixed;left:22px;right:22px;bottom:79px;z-index:49;background:rgba(48,25,28,.91);color:#fff;border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:7px 9px;backdrop-filter:blur(16px);box-shadow:0 12px 28px rgba(37,19,20,.22)}.mobile-mini-player img{width:38px;height:38px;object-fit:cover;border-radius:9px}.mobile-mini-player div{min-width:0}.mobile-mini-player b,.mobile-mini-player span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-mini-player b{font-size:.66rem}.mobile-mini-player span{font-size:.54rem;opacity:.7}.mobile-mini-player button{border:0;background:var(--accent);color:#fff;width:34px;height:34px;border-radius:50%}.focus-mode .mobile-mini-player{display:none}.focus-mode .top-grid{grid-template-columns:360px 1fr}}
@media(max-width:900px){.landing-shell{width:calc(100% - 24px);margin:12px auto;min-height:calc(100vh - 24px);padding:20px}.gate-layout{grid-template-columns:1fr;min-height:auto}.gate-copy{text-align:center;padding:30px 0 0}.gate-copy .lead,.feature-notes{margin-inline:auto}.feature-notes{display:none}.room-stage{order:2}.room-stage img{width:min(650px,100%)}.gate-card{position:relative;order:3;left:auto;top:auto;transform:none;width:min(440px,100%);margin:-70px auto 20px}.landing-footer{grid-template-columns:1fr 1fr}.auth-layout{grid-template-columns:1fr;min-height:auto;padding:30px 0}.auth-room{min-height:0;max-height:550px;overflow:hidden}.auth-room>img{width:min(650px,100%)}.floating-chip{display:none}.auth-card{margin:-55px auto 15px;position:relative;z-index:2;width:min(650px,100%)}.media-grid{grid-template-columns:1fr}.music-card,.soundscape-card{min-height:auto}.content-grid{grid-template-columns:1fr 1fr}.scene-gallery-grid{grid-template-columns:repeat(2,1fr)}.focus-mode .top-grid{grid-template-columns:1fr}.focus-mode .pomodoro-card{display:none}.focus-mode .room-card{min-height:calc(100vh - 36px)}.focus-mode .focus-exit{bottom:92px}}
@media(max-width:650px){body{font-size:14px}.landing-topbar .topline{display:none}.landing-shell{padding:16px}.brand img{width:30px;height:30px}.brand{font-size:1.15rem}.gate-copy h1{font-size:3.15rem}.gate-copy .lead{font-size:.92rem}.room-stage img{border-radius:22px}.gate-card{margin-top:-38px;padding:25px 18px}.landing-footer{font-size:.66rem;gap:8px}.auth-card{padding:26px 18px;margin-top:-25px}.auth-card h1{font-size:1.95rem}.dashboard{padding:17px 11px 152px}.dash-header{align-items:flex-start}.dash-header h1{font-size:1.75rem}.dash-header p:not(.eyebrow){font-size:.72rem;max-width:360px}.soft-icon span,.profile-pill>span:last-child{display:none}.soft-icon{width:40px;padding:0}.profile-pill{padding-right:5px}.room-card{min-height:460px;border-radius:20px}.card{border-radius:20px;padding:16px}.room-card{padding:0}.room-overlay{left:12px;right:12px;top:12px}.room-overlay strong{font-size:.55rem}.scene-switcher{left:8px;right:8px;bottom:8px;gap:4px;padding:5px}.scene-switcher button{grid-template-columns:1fr;text-align:center;justify-items:center;gap:2px;padding:4px}.scene-switcher button img{width:100%;height:34px}.scene-switcher button span{font-size:.5rem}.pomodoro-card{min-height:auto}.timer-ring{width:min(290px,78vw)}.timer-ring strong{font-size:3.9rem}.timer-actions{grid-template-columns:1fr 1fr}.timer-actions #timer-reset{grid-column:1/-1}.timer-meta{display:grid}.shortcut-hint{display:none}.track-main{grid-template-columns:82px 1fr}.track-main>img{width:82px;height:82px}.track-copy p{display:none}.playlist{grid-template-columns:1fr 1fr}.mixer-grid{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:1fr}.recent-card{grid-column:auto}.heatmap{grid-template-columns:repeat(14,1fr);gap:3px}.heat-cell{border-radius:3px}.task-form{grid-template-columns:1fr 36px}.task-form select{grid-column:1/-1}.note-card textarea{min-height:200px}.scene-gallery{padding:18px}.section-copy h2{font-size:1.45rem}.scene-gallery-grid{grid-template-columns:1fr 1fr}.app-footer{display:grid;gap:3px}.settings-grid{grid-template-columns:1fr}.settings-panel{padding:18px}.mobile-mini-player{left:14px;right:14px}.toast-stack{left:12px;right:12px;bottom:150px}.toast{max-width:none;min-width:0}.focus-mode .dashboard{padding:8px}.focus-mode .top-grid{height:calc(100vh - 16px)}.focus-mode .room-card{min-height:calc(100vh - 16px)}.focus-mode .scene-switcher{bottom:10px}.focus-mode .focus-exit{bottom:78px;right:12px}}
@media(max-width:420px){.gate-copy h1{font-size:2.75rem}.gate-card h2{font-size:1.85rem}.landing-footer{grid-template-columns:1fr}.landing-footer span+span{border-left:0}.auth-room{max-height:390px}.timer-ring strong{font-size:3.5rem}.mode-tabs button{font-size:.64rem}.playlist{grid-template-columns:1fr}.scene-gallery-grid{grid-template-columns:1fr}.scene-gallery-grid button{aspect-ratio:1.35/1}.mobile-nav{left:7px;right:7px}.mobile-mini-player{left:9px;right:9px}.mixer-grid{grid-template-columns:1fr 1fr}.heatmap{grid-template-columns:repeat(14,1fr)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.room-card:hover>img{transform:none}}

/* 1.4.0 — Stillness Edition: deliberately small, calm dashboard surface */
.quiet-app{min-height:100vh;background:
  radial-gradient(circle at 82% 4%,rgba(255,255,255,.85),transparent 28%),
  linear-gradient(145deg,#f7eee8,#efe1da);color:var(--ink);--scene-glow:rgba(184,95,98,.13)}
.quiet-app.scene-rain{background:radial-gradient(circle at 78% 0,rgba(255,255,255,.74),transparent 28%),linear-gradient(145deg,#f3ebe8,#e8e0e4);--accent:#926879;--accent-deep:#694b59;--accent-soft:#eadde2}
.quiet-app.scene-sunset{background:radial-gradient(circle at 80% 0,rgba(255,255,255,.8),transparent 30%),linear-gradient(145deg,#f8eee7,#f0dfd5);--accent:#b86d54;--accent-deep:#8d4e3d;--accent-soft:#f2ddd3}
.quiet-app.scene-library{background:radial-gradient(circle at 80% 0,rgba(255,255,255,.82),transparent 30%),linear-gradient(145deg,#f6eee7,#ebdfd4);--accent:#9b6848;--accent-deep:#704b36;--accent-soft:#eddfd3}
.quiet-shell{width:min(1500px,calc(100% - 36px));margin:18px auto 32px}
.quiet-header{height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 6px;border-bottom:1px solid rgba(112,72,66,.10)}
.quiet-header>.brand{justify-self:start}.quiet-tagline{margin:0;color:var(--muted);font-size:.72rem;letter-spacing:.03em}
.quiet-header-actions{justify-self:end;display:flex;align-items:center;gap:8px}.quiet-icon{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:rgba(255,250,246,.72);color:var(--muted);box-shadow:0 5px 18px rgba(77,48,45,.05)}.quiet-icon:hover{background:#fff;color:var(--accent-deep)}
.user-menu{position:relative}.user-menu summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 9px 4px 4px;border:1px solid var(--line);border-radius:999px;background:rgba(255,250,246,.72)}.user-menu summary::-webkit-details-marker{display:none}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--accent-soft),#fff);color:var(--accent-deep);font-family:Georgia,serif;font-weight:700}.user-name{font-size:.7rem;font-weight:750;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-popover{position:absolute;right:0;top:48px;z-index:70;width:230px;padding:14px;background:#fffaf6;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 48px rgba(68,39,39,.16);display:grid;gap:4px}.user-popover>b{font-size:.76rem}.user-popover>span{font-size:.62rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.menu-action{width:100%;margin-top:8px;border:0;border-radius:10px;background:#f5e9e3;padding:9px 10px;text-align:left;font-size:.68rem;color:var(--ink)}.user-popover form{margin:0}
.quiet-main{padding:28px 6px 0}.quiet-main>.flash{margin:0 0 16px;max-width:none}.quiet-welcome{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:10px 0 22px;padding:0 4px}.quiet-welcome h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(2rem,3vw,3.15rem);letter-spacing:-.045em;line-height:1}.quiet-welcome>p{max-width:420px;margin:0 0 3px;color:var(--muted);font-size:.78rem;text-align:right}
.quiet-hero{display:grid;grid-template-columns:minmax(340px,.76fr) minmax(560px,1.48fr);gap:18px;align-items:stretch}.quiet-focus-card,.quiet-room-card{min-height:610px}.quiet-focus-card{display:flex;flex-direction:column;padding:24px}.quiet-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.quiet-card-top h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:1.35rem}.quiet-dot-button{border:0;background:transparent;color:var(--muted);padding:7px 5px;border-radius:9px;letter-spacing:.08em}.quiet-dot-button:hover{background:var(--accent-soft);color:var(--accent-deep)}
.quiet-tabs{margin-top:18px}.quiet-tabs button{padding:8px 5px}.quiet-tabs button small{display:inline;margin-left:4px;font-size:.56rem}.quiet-timer{width:min(305px,72vw);margin:25px auto 17px}.quiet-timer strong{font-size:4.55rem}.quiet-timer .timer-leaf{font-size:.8rem;color:var(--accent);margin:0 0 8px}.quiet-timer #timer-caption{margin-top:9px}.quiet-intent{display:grid;gap:6px;margin-top:auto}.quiet-intent>span{font-size:.6rem;color:var(--muted);font-weight:750;letter-spacing:.02em}.quiet-intent input{width:100%;height:43px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.72);padding:0 12px;outline:0}.quiet-intent input::placeholder{color:#b6a19a}
.quiet-timer-actions{display:grid;grid-template-columns:1fr 44px;gap:8px;margin-top:10px}.quiet-timer-actions .primary-btn{width:100%}.quiet-secondary{border:1px solid var(--line);background:#fff9f5;border-radius:12px;font-size:1rem;color:var(--muted)}.quiet-focus-meta{display:flex;justify-content:space-between;gap:12px;margin-top:13px;color:var(--muted);font-size:.6rem}.quiet-focus-meta b{color:var(--ink);font-weight:800}
.quiet-room-card{padding:0;position:relative;overflow:hidden;background:#29191c;box-shadow:0 24px 60px rgba(72,42,42,.14)}.quiet-room-card>img{width:100%;height:100%;min-height:610px;object-fit:cover;transition:opacity .22s,transform .55s}.quiet-room-card:hover>img{transform:scale(1.012)}.quiet-room-card .scene-changing{opacity:.72}.quiet-room-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(34,18,20,.14),transparent 35%,transparent 55%,rgba(28,15,17,.46))}.quiet-room-copy{position:absolute;left:22px;top:20px;color:#fff;display:grid;gap:3px;text-shadow:0 2px 18px rgba(0,0,0,.35)}.quiet-room-copy span{font-family:Georgia,"Times New Roman",serif;font-size:1.15rem}.quiet-room-copy strong{font-size:.55rem;letter-spacing:.16em;text-transform:uppercase;opacity:.82}.quiet-room-controls{position:absolute;left:16px;right:16px;bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.quiet-scene-switcher{display:flex;gap:5px;padding:5px;background:rgba(31,17,19,.55);border:1px solid rgba(255,255,255,.12);border-radius:999px;backdrop-filter:blur(14px)}.quiet-scene-switcher button{border:0;background:transparent;color:rgba(255,255,255,.76);border-radius:999px;padding:7px 9px;display:flex;align-items:center;gap:6px;font-size:.56rem}.quiet-scene-switcher button:hover,.quiet-scene-switcher button.active{background:rgba(255,255,255,.15);color:#fff}.scene-dot{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.75}.room-focus-button{border:1px solid rgba(255,255,255,.16);background:rgba(31,17,19,.58);color:#fff;border-radius:999px;padding:9px 12px;font-size:.58rem;backdrop-filter:blur(14px)}.focus-exit{display:none;position:absolute;right:18px;top:18px;z-index:6;border:1px solid rgba(255,255,255,.16);background:rgba(30,16,18,.68);color:#fff;border-radius:999px;padding:9px 13px;font-size:.62rem}
.quiet-lower{display:grid;grid-template-columns:1.08fr .92fr;gap:18px;margin-top:18px}.quiet-player-card,.quiet-today-card{min-height:150px}.quiet-player-card{display:grid;grid-template-columns:74px minmax(160px,1fr) auto auto;grid-template-rows:auto 24px;align-items:center;gap:8px 15px;padding:18px 20px}.quiet-player-card>img{width:74px;height:74px;border-radius:15px;object-fit:cover;grid-row:1/3;box-shadow:0 8px 22px rgba(57,31,32,.17)}.quiet-track-copy{min-width:0}.quiet-track-copy .micro-label{margin-bottom:4px}.quiet-track-copy strong,.quiet-track-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quiet-track-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:1.13rem}.quiet-track-copy span{font-size:.62rem;color:var(--muted);margin-top:3px}.quiet-player-actions{display:flex;align-items:center;gap:3px}.quiet-player-actions button{border:0;background:transparent;width:34px;height:34px;border-radius:50%;color:var(--muted)}.quiet-player-actions button:hover{background:#f3e5df;color:var(--ink)}.quiet-play{border:0!important;background:linear-gradient(135deg,var(--accent),var(--accent-deep))!important;color:#fff!important;border-radius:50%!important;box-shadow:0 6px 16px rgba(110,56,59,.18)}.quiet-library-button{border:1px solid var(--line);background:#fff9f5;border-radius:999px;padding:8px 12px;font-size:.62rem}.quiet-volume{grid-column:2/5;width:100%;height:3px;accent-color:var(--accent)}
.quiet-today-card{padding:19px 21px}.quiet-today-card .quiet-card-top{align-items:center}.quiet-today-card .quiet-card-top>span{font-family:Georgia,"Times New Roman",serif;font-size:1.15rem;color:var(--accent-deep)}.quiet-goal-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;margin-top:9px}.quiet-goal-row>div:first-child{display:flex;align-items:baseline;gap:5px}.quiet-goal-row strong{font-family:Georgia,"Times New Roman",serif;font-size:1.7rem;font-weight:500}.quiet-goal-row span{font-size:.58rem;color:var(--muted)}.quiet-goal-row .progress{height:7px}.quiet-stats-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:13px;color:var(--muted);font-size:.58rem}.quiet-stats-row b{color:var(--ink);font-size:.68rem}.quiet-heat{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;margin-top:14px}.quiet-heat .heat-cell{aspect-ratio:1;border-radius:4px;min-width:0}.quiet-footer{display:flex;justify-content:space-between;gap:15px;margin-top:17px;padding:0 4px;color:var(--muted);font-size:.56rem}
.library-dialog{width:min(930px,calc(100% - 28px));max-height:min(820px,calc(100vh - 28px));padding:0;border:0;border-radius:26px;background:transparent;overflow:visible}.library-dialog::backdrop{background:rgba(45,25,27,.48);backdrop-filter:blur(10px)}.library-panel{max-height:min(820px,calc(100vh - 28px));overflow:auto;background:#fffaf6;border:1px solid var(--line);border-radius:26px;box-shadow:0 30px 90px rgba(49,27,29,.32);padding:24px}.library-heading{margin:0}.library-heading>div>p:last-child,.quiet-settings-panel .dialog-heading p:last-child{margin:5px 0 0;color:var(--muted);font-size:.65rem}.library-now{display:grid;grid-template-columns:60px 1fr 42px;align-items:center;gap:12px;padding:12px;margin:18px 0;border:1px solid var(--line);border-radius:16px;background:#f8ece6}.library-now img{width:60px;height:60px;object-fit:cover;border-radius:12px}.library-now div{min-width:0}.library-now span,.library-now strong,.library-now small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-now span{font-size:.55rem;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-weight:800}.library-now strong{font-family:Georgia,"Times New Roman",serif;font-size:1.1rem}.library-now small{font-size:.58rem;color:var(--muted)}.library-now .quiet-play{width:40px;height:40px}
.quiet-playlist{grid-template-columns:repeat(3,1fr);gap:8px}.quiet-playlist .playlist-item{padding:8px;border-radius:13px}.quiet-playlist .playlist-item img{width:42px;height:42px;border-radius:9px}.ambient-details{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.ambient-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:7px 2px}.ambient-details>summary::-webkit-details-marker{display:none}.ambient-details>summary>span:first-child{display:grid}.ambient-details>summary b{font-family:Georgia,"Times New Roman",serif;font-size:1rem}.ambient-details>summary small{color:var(--muted);font-size:.58rem}.quiet-mixer-grid{grid-template-columns:repeat(4,1fr);margin-top:10px}.quiet-mixer-grid .mixer-channel{padding:10px}.quiet-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.quiet-presets button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;font-size:.57rem}.quiet-presets button:hover{background:var(--accent-soft);color:var(--accent-deep)}
.quiet-settings-panel{padding:24px}.quiet-settings-panel .keyboard-card{margin-top:8px}.quiet-mobile-nav{display:none}

/* Focus Room: scene first, timer becomes a small floating control */
.focus-mode.quiet-app{overflow:hidden;background:#1b1012}.focus-mode .quiet-header,.focus-mode .quiet-welcome,.focus-mode .quiet-lower,.focus-mode .quiet-footer,.focus-mode .quiet-mobile-nav,.focus-mode .flash{display:none!important}.focus-mode .quiet-shell{width:100%;height:100vh;margin:0}.focus-mode .quiet-main{height:100vh;padding:0}.focus-mode .quiet-hero{display:block;height:100vh;position:relative}.focus-mode .quiet-room-card{position:absolute;inset:0;border:0;border-radius:0;min-height:100vh;height:100vh;box-shadow:none}.focus-mode .quiet-room-card>img{min-height:100vh;height:100vh}.focus-mode .quiet-room-shade{background:linear-gradient(180deg,rgba(15,8,9,.20),transparent 48%,rgba(15,8,9,.32))}.focus-mode .quiet-room-controls{bottom:22px}.focus-mode .focus-exit{display:block}.focus-mode .room-focus-button{display:none}.focus-mode .quiet-focus-card{position:absolute;z-index:5;left:50%;bottom:22px;transform:translateX(-50%);width:min(640px,calc(100% - 44px));min-height:0;padding:11px 14px;border-radius:20px;background:rgba(255,249,245,.88);backdrop-filter:blur(20px);box-shadow:0 18px 60px rgba(0,0,0,.25);display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px}.focus-mode .quiet-focus-card .quiet-card-top,.focus-mode .quiet-focus-card .quiet-intent,.focus-mode .quiet-focus-card .quiet-focus-meta,.focus-mode .quiet-focus-card .quiet-secondary{display:none}.focus-mode .quiet-tabs{margin:0;min-width:210px}.focus-mode .quiet-timer{width:auto;aspect-ratio:auto;margin:0;padding:0;background:transparent;filter:none}.focus-mode .quiet-timer:before{display:none}.focus-mode .quiet-timer>div{display:block;height:auto}.focus-mode .quiet-timer .timer-leaf,.focus-mode .quiet-timer #timer-caption{display:none}.focus-mode .quiet-timer strong{font-size:2.25rem;line-height:1;white-space:nowrap}.focus-mode .quiet-timer-actions{display:block;margin:0}.focus-mode .quiet-timer-actions .primary-btn{min-height:40px;padding:0 18px}.focus-mode .quiet-scene-switcher{margin-right:auto}

@media(max-width:1080px){
  .quiet-shell{width:min(100% - 24px,1100px)}.quiet-hero{grid-template-columns:1fr}.quiet-room-card{order:-1;min-height:540px}.quiet-room-card>img{min-height:540px}.quiet-focus-card{min-height:auto}.quiet-timer{width:min(280px,68vw);margin-block:18px}.quiet-lower{grid-template-columns:1fr}.quiet-player-card,.quiet-today-card{min-height:auto}.quiet-playlist{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .quiet-shell{width:100%;margin:0}.quiet-header{height:62px;margin:0 12px;grid-template-columns:1fr auto}.quiet-tagline{display:none}.quiet-header-actions{gap:5px}.quiet-icon{width:36px;height:36px}.user-name{display:none}.user-menu summary{padding-right:4px}.quiet-main{padding:16px 11px 112px}.quiet-welcome{display:block;margin:5px 2px 14px}.quiet-welcome h1{font-size:2rem}.quiet-welcome>p{display:none}.quiet-hero{gap:12px}.quiet-room-card{min-height:390px;border-radius:21px}.quiet-room-card>img{min-height:390px}.quiet-room-copy{left:14px;top:14px}.quiet-room-controls{left:9px;right:9px;bottom:9px;display:block}.quiet-scene-switcher{width:max-content;max-width:100%;overflow:auto;margin:0 auto}.quiet-scene-switcher button{padding:7px 8px}.quiet-scene-switcher button span:last-child{display:none}.room-focus-button{display:none}.quiet-focus-card{padding:18px;border-radius:21px}.quiet-focus-card .quiet-card-top h2{font-size:1.2rem}.quiet-timer{width:min(275px,74vw)}.quiet-timer strong{font-size:4rem}.quiet-intent input{height:42px}.quiet-lower{gap:12px;margin-top:12px}.quiet-player-card{grid-template-columns:62px 1fr auto;grid-template-rows:auto 18px;padding:13px}.quiet-player-card>img{width:62px;height:62px;border-radius:13px}.quiet-player-actions{grid-column:3;grid-row:1}.quiet-player-actions #track-prev,.quiet-player-actions #track-next{display:none}.quiet-library-button{grid-column:3;grid-row:2;padding:5px 8px;font-size:.52rem}.quiet-volume{grid-column:2;grid-row:2}.quiet-today-card{padding:16px}.quiet-today-card .quiet-card-top h2{font-size:1.05rem}.quiet-goal-row{grid-template-columns:1fr;gap:6px}.quiet-stats-row{gap:10px}.quiet-footer{display:none}.quiet-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);left:10px;right:10px;bottom:max(9px,env(safe-area-inset-bottom));z-index:60;background:rgba(255,250,246,.91);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:18px;padding:6px;box-shadow:0 14px 34px rgba(69,38,37,.16)}.quiet-mobile-nav a,.quiet-mobile-nav button{border:0;background:transparent;display:grid;justify-items:center;gap:1px;padding:5px;border-radius:12px;color:#92776f;font-size:.92rem}.quiet-mobile-nav span{font-size:.5rem}.quiet-mobile-nav a.active,.quiet-mobile-nav button:active{color:var(--accent);background:#f7e9e3}.library-dialog{width:calc(100% - 14px);max-height:calc(100vh - 14px)}.library-panel{padding:17px;border-radius:22px;max-height:calc(100vh - 14px)}.quiet-playlist{grid-template-columns:1fr}.quiet-mixer-grid{grid-template-columns:1fr 1fr}.settings-dialog{width:calc(100% - 16px)}.quiet-settings-panel{padding:17px}.settings-grid{grid-template-columns:1fr}.toast-stack{left:12px;right:12px;bottom:86px}.toast{max-width:none;min-width:0}.focus-mode .quiet-main{padding:0}.focus-mode .quiet-focus-card{bottom:12px;width:calc(100% - 20px);padding:9px 10px;grid-template-columns:1fr auto}.focus-mode .quiet-tabs{display:none}.focus-mode .quiet-timer strong{font-size:2rem}.focus-mode .quiet-room-controls{bottom:72px}.focus-mode .quiet-scene-switcher button span:last-child{display:none}.focus-mode .quiet-room-card{border-radius:0}.focus-mode .quiet-room-card>img{min-height:100vh}
}
@media(max-width:430px){
  .quiet-main{padding-inline:8px}.quiet-room-card{min-height:330px}.quiet-room-card>img{min-height:330px}.quiet-timer{width:min(248px,72vw)}.quiet-timer strong{font-size:3.55rem}.quiet-focus-meta{font-size:.56rem}.quiet-track-copy strong{font-size:1rem}.quiet-stats-row{justify-content:space-between}.quiet-heat{gap:3px}.library-now{grid-template-columns:52px 1fr 38px}.library-now img{width:52px;height:52px}.quiet-mixer-grid{grid-template-columns:1fr 1fr}
}

/* =========================================================
   1.4.0 — Stillness UI
   One visual room, one timer, one music strip. Everything
   else stays tucked away so the dashboard can breathe.
   ========================================================= */
.still-app{
  --still-glass:rgba(255,249,245,.88);
  --still-glass-strong:rgba(255,250,247,.95);
  --still-dark:rgba(35,17,20,.62);
  --still-shadow:0 26px 70px rgba(61,32,34,.15);
  background:
    radial-gradient(circle at 72% -10%,var(--scene-glow),transparent 38%),
    linear-gradient(145deg,#f8efea,#f1e3dc 64%,#ecddd6);
}
.still-shell{width:min(1440px,calc(100% - 36px));margin:0 auto;padding:0 0 28px}
.still-header{height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line);position:relative;z-index:80}
.still-header .brand{justify-self:start;font-size:1.12rem}.still-header .brand img{width:30px;height:30px}
.still-tagline{justify-self:center;color:var(--muted);font-size:.64rem;letter-spacing:.06em}
.still-header-actions{justify-self:end;display:flex;align-items:center;gap:6px}
.still-icon{width:38px;height:38px;border:1px solid transparent;background:transparent;border-radius:50%;color:var(--muted);display:grid;place-items:center}
.still-icon:hover{background:rgba(255,250,246,.72);border-color:var(--line);color:var(--accent-deep)}
.still-user-menu summary{background:rgba(255,250,246,.60);border:1px solid var(--line);padding:4px 9px 4px 4px;border-radius:999px}
.still-main{padding:28px 0 0}.still-main>.flash{margin:0 0 16px;max-width:none}
.still-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:5px 4px 20px}
.still-intro h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,3.3vw,3.7rem);font-weight:500;letter-spacing:-.052em;line-height:.96}
.still-intro>p{margin:0 0 4px;color:var(--muted);font-size:.72rem}

.sanctuary-card{position:relative;min-height:690px;border-radius:30px;overflow:hidden;background:#2b171a;box-shadow:var(--still-shadow);isolation:isolate}
.sanctuary-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .26s ease,transform .75s cubic-bezier(.2,.7,.2,1);will-change:transform,opacity}
.sanctuary-card:hover>img{transform:scale(1.008)}.sanctuary-card>img.scene-changing{opacity:.62;transform:scale(1.018)}
.sanctuary-vignette{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(24,11,14,.50),rgba(24,11,14,.08) 45%,rgba(24,11,14,.03) 70%),linear-gradient(180deg,rgba(22,10,12,.14),transparent 35%,transparent 65%,rgba(22,10,12,.36))}
.sanctuary-glow{position:absolute;z-index:2;left:6%;top:12%;width:24%;height:24%;border-radius:50%;background:rgba(255,175,104,.12);filter:blur(44px);pointer-events:none;animation:still-breathe 7s ease-in-out infinite}
@keyframes still-breathe{0%,100%{opacity:.58;transform:scale(.96)}50%{opacity:1;transform:scale(1.05)}}
.sanctuary-topline{position:absolute;z-index:4;left:24px;right:24px;top:22px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;color:#fff}
.scene-title{display:grid;gap:1px;text-shadow:0 2px 16px rgba(0,0,0,.28)}.scene-title>span{font-family:Georgia,"Times New Roman",serif;font-size:1.18rem}.scene-title>small{font-size:.52rem;letter-spacing:.12em;text-transform:uppercase;opacity:.76}
.sanctuary-focus-button{border:1px solid rgba(255,255,255,.16);background:rgba(27,14,17,.40);color:#fff;border-radius:999px;padding:9px 12px;font-size:.58rem;backdrop-filter:blur(15px)}
.sanctuary-focus-button:hover{background:rgba(27,14,17,.58)}

.focus-float{position:absolute;z-index:5;left:38px;bottom:42px;width:min(385px,calc(100% - 76px));padding:19px;border:1px solid rgba(255,255,255,.28);border-radius:24px;background:var(--still-glass);box-shadow:0 18px 56px rgba(24,11,13,.26);backdrop-filter:blur(22px) saturate(1.05)}
.still-tabs{margin:0;background:rgba(106,61,60,.08)}.still-tabs button{padding:7px 5px;font-size:.64rem}.still-tabs button small{display:inline;margin-left:4px;font-size:.5rem}
.still-timer{width:224px;margin:17px auto 12px;padding:5px;filter:none;background:conic-gradient(var(--accent) var(--progress),rgba(184,95,98,.15) 0)}
.still-timer:before{inset:6px;background:rgba(255,250,246,.96)}.still-timer strong{font-size:3.5rem}.still-timer span{font-size:.62rem;margin-top:7px}
.still-timer-actions{display:grid;grid-template-columns:1fr 42px;gap:8px}.still-timer-actions .primary-btn{min-height:42px}.still-reset{border:1px solid var(--line);background:rgba(255,255,255,.54);border-radius:12px;color:var(--muted);font-size:1rem}.still-reset:hover{background:#fff}
.still-session-meta{display:flex;justify-content:space-between;gap:10px;margin:10px 2px 0;color:var(--muted);font-size:.55rem}.still-session-meta b{color:var(--ink)}

.sanctuary-bottom{position:absolute;z-index:4;right:20px;bottom:18px;display:flex;align-items:center;gap:12px}
.still-scene-switcher{display:flex;gap:4px;padding:5px;border:1px solid rgba(255,255,255,.14);background:rgba(29,15,17,.48);backdrop-filter:blur(16px);border-radius:999px}
.still-scene-switcher button{border:0;background:transparent;color:rgba(255,255,255,.72);border-radius:999px;padding:7px 9px;display:flex;align-items:center;gap:6px;font-size:.54rem}
.still-scene-switcher button:hover,.still-scene-switcher button.active{background:rgba(255,255,255,.14);color:#fff}.still-scene-switcher .scene-dot{width:5px;height:5px}
.sanctuary-quote{color:rgba(255,255,255,.67);font-size:.49rem;letter-spacing:.13em;text-transform:uppercase;text-shadow:0 2px 14px rgba(0,0,0,.3)}
.sanctuary-card .focus-exit{top:20px;right:20px;bottom:auto}

.still-dock{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:14px;margin-top:14px}
.still-music,.still-progress{min-height:118px;border:1px solid var(--line);border-radius:22px;background:rgba(255,250,246,.78);box-shadow:0 10px 34px rgba(69,39,39,.07);backdrop-filter:blur(18px)}
.still-music{display:grid;grid-template-columns:64px minmax(180px,1fr) auto auto;grid-template-rows:auto 18px;align-items:center;gap:8px 14px;padding:14px 16px}
.still-music>img{width:64px;height:64px;grid-row:1/3;border-radius:14px;object-fit:cover;box-shadow:0 8px 20px rgba(48,24,26,.16)}
.still-track-copy{min-width:0}.still-track-copy .micro-label{margin:0 0 2px}.still-track-copy strong,.still-track-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.still-track-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:1.06rem}.still-track-copy span{font-size:.58rem;color:var(--muted);margin-top:2px}
.still-player-actions{display:flex;align-items:center;gap:2px}.still-player-actions button{width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.still-player-actions button:hover{background:var(--accent-soft);color:var(--accent-deep)}
.still-play{width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;background:linear-gradient(135deg,var(--accent),var(--accent-deep))!important;color:#fff!important;box-shadow:0 7px 18px rgba(108,51,56,.19)}
.still-library-button{border:1px solid var(--line);background:rgba(255,255,255,.54);border-radius:999px;padding:7px 10px;font-size:.56rem}.still-library-button:hover{background:#fff}
.still-volume{grid-column:2/5;width:100%;height:3px}
.still-progress{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:20px;align-items:center;padding:17px 19px}
.still-progress-copy{grid-row:1/3;min-width:96px}.still-progress-copy .micro-label{margin-bottom:1px}.still-progress-copy strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:1.65rem;font-weight:500;line-height:1.05}.still-progress-copy>span{display:block;margin-top:4px;color:var(--muted);font-size:.55rem}
.still-progress-bar{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.still-progress-bar .progress{height:7px}.still-progress-bar>span{font-family:Georgia,"Times New Roman",serif;color:var(--accent-deep);font-size:.9rem}
.still-progress-meta{display:flex;gap:15px;align-items:center;color:var(--muted);font-size:.54rem}.still-progress-meta b{color:var(--ink);font-size:.61rem}
.still-footer{display:flex;justify-content:space-between;gap:16px;padding:15px 4px 0;color:var(--faint);font-size:.52rem}

/* Dialogs remain available but visually quiet. */
.still-library-dialog::backdrop,.still-settings-dialog::backdrop{background:rgba(34,18,20,.54);backdrop-filter:blur(12px)}
.still-library-panel,.still-settings-panel{background:rgba(255,250,246,.98);box-shadow:0 34px 100px rgba(35,18,20,.32)}
.still-library-now{background:linear-gradient(135deg,#f7e9e3,#fff8f4)}
.still-playlist{grid-template-columns:repeat(3,1fr)}.still-playlist .playlist-item{transition:background .16s,border-color .16s,transform .16s}.still-playlist .playlist-item:hover{transform:translateY(-1px)}
.still-ambient{opacity:.9}

/* Landing/auth: fewer floating callouts, more room for the artwork. */
.auth-room .floating-chip{display:none}.auth-room>img{box-shadow:0 28px 75px rgba(69,35,36,.15)}
.gate-card,.auth-card{box-shadow:0 24px 68px rgba(66,34,35,.14)}
.feature-notes article{transform:none!important}.feature-notes article:nth-child(2),.feature-notes article:nth-child(3){margin-left:0}

/* Immersive focus mode: only room + compact timer survive. */
.focus-mode.still-app{overflow:hidden;background:#170d0f}.focus-mode .still-header,.focus-mode .still-intro,.focus-mode .still-dock,.focus-mode .still-footer,.focus-mode .still-mobile-nav,.focus-mode .flash{display:none!important}
.focus-mode .still-shell{width:100%;height:100vh;margin:0;padding:0}.focus-mode .still-main{height:100vh;padding:0}.focus-mode .sanctuary-card{position:fixed;inset:0;min-height:100vh;height:100vh;border-radius:0;box-shadow:none}.focus-mode .sanctuary-card>img{height:100vh;min-height:100vh}.focus-mode .sanctuary-vignette{background:linear-gradient(180deg,rgba(18,8,10,.14),transparent 46%,rgba(18,8,10,.30))}.focus-mode .sanctuary-topline{display:none}.focus-mode .focus-exit{display:block}.focus-mode .sanctuary-bottom{right:50%;transform:translateX(50%);bottom:18px}.focus-mode .sanctuary-quote{display:none}
.focus-mode .focus-float{left:50%;bottom:76px;transform:translateX(-50%);width:min(560px,calc(100% - 40px));padding:10px 12px;border-radius:18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;background:rgba(255,249,245,.86)}
.focus-mode .still-tabs{margin:0;min-width:200px}.focus-mode .still-timer{width:auto;aspect-ratio:auto;margin:0;padding:0;background:transparent}.focus-mode .still-timer:before{display:none}.focus-mode .still-timer>div{display:block;height:auto}.focus-mode .still-timer strong{font-size:2.25rem;white-space:nowrap}.focus-mode .still-timer span{display:none}.focus-mode .still-timer-actions{display:block}.focus-mode .still-timer-actions .primary-btn{min-height:40px;padding:0 18px}.focus-mode .still-reset,.focus-mode .still-session-meta{display:none}

@media(max-width:980px){
  .still-shell{width:min(100% - 24px,940px)}.still-intro h1{font-size:2.6rem}.sanctuary-card{min-height:650px}.focus-float{left:24px;bottom:28px}.sanctuary-bottom{right:16px;bottom:16px}.still-dock{grid-template-columns:1fr}.still-progress{min-height:104px}.still-playlist{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .still-shell{width:100%;padding-bottom:0}.still-header{height:60px;margin:0 11px;grid-template-columns:1fr auto;border-bottom-color:rgba(116,77,71,.10)}.still-header .brand{font-size:.98rem}.still-header .brand img{width:27px;height:27px}.still-tagline{display:none}.still-header-actions{gap:3px}.still-icon{width:35px;height:35px}.still-user-menu .user-name{display:none}.still-user-menu summary{padding-right:4px}
  .still-main{padding:15px 8px 104px}.still-intro{display:block;margin:4px 4px 13px}.still-intro h1{font-size:2rem}.still-intro>p{display:none}.still-intro .eyebrow{font-size:.56rem;margin-bottom:4px}
  .sanctuary-card{min-height:720px;border-radius:24px}.sanctuary-card>img{object-position:center}.sanctuary-vignette{background:linear-gradient(180deg,rgba(25,11,14,.12),transparent 34%,rgba(25,11,14,.08) 48%,rgba(25,11,14,.50))}.sanctuary-topline{left:15px;right:15px;top:14px}.sanctuary-focus-button{display:none}.scene-title>span{font-size:1rem}
  .focus-float{left:11px;right:11px;bottom:70px;width:auto;padding:14px;border-radius:20px}.still-tabs button{padding:7px 3px}.still-timer{width:206px;margin:12px auto 9px}.still-timer strong{font-size:3.15rem}.still-timer span{font-size:.57rem}.still-timer-actions .primary-btn{min-height:40px}.still-session-meta{margin-top:8px}
  .sanctuary-bottom{left:10px;right:10px;bottom:11px;justify-content:center}.still-scene-switcher{max-width:100%;overflow:auto}.still-scene-switcher button{padding:7px 8px}.still-scene-switcher button span:last-child{display:none}.sanctuary-quote{display:none}
  .still-dock{gap:10px;margin-top:10px}.still-music,.still-progress{border-radius:19px}.still-music{grid-template-columns:58px 1fr auto;grid-template-rows:auto 18px;padding:12px}.still-music>img{width:58px;height:58px;border-radius:12px}.still-track-copy strong{font-size:.96rem}.still-player-actions{grid-column:3;grid-row:1}.still-player-actions #track-prev,.still-player-actions #track-next{display:none}.still-library-button{grid-column:3;grid-row:2;padding:4px 8px}.still-volume{grid-column:2;grid-row:2}.still-progress{grid-template-columns:auto 1fr;padding:14px 15px}.still-progress-meta{gap:9px;justify-content:space-between}.still-progress-copy strong{font-size:1.45rem}.still-footer{display:none}
  .still-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);left:9px;right:9px;bottom:max(8px,env(safe-area-inset-bottom));z-index:90;background:rgba(255,250,246,.90);border:1px solid var(--line);border-radius:17px;padding:5px;box-shadow:0 14px 36px rgba(54,29,31,.16);backdrop-filter:blur(20px)}.still-mobile-nav a,.still-mobile-nav button{min-height:45px;border:0;background:transparent;display:grid;place-items:center;gap:0;border-radius:12px;color:#91766f;font-size:.9rem}.still-mobile-nav span{font-size:.48rem;margin-top:-3px}.still-mobile-nav a.active{color:var(--accent);background:var(--accent-soft)}
  .still-library-dialog{width:calc(100% - 12px);max-height:calc(100svh - 12px)}.still-library-panel{max-height:calc(100svh - 12px);padding:16px;border-radius:21px}.still-playlist{grid-template-columns:1fr}.quiet-mixer-grid{grid-template-columns:1fr 1fr}.still-settings-dialog{width:calc(100% - 14px)}.still-settings-panel{padding:16px}.settings-grid{grid-template-columns:1fr}
  .focus-mode .sanctuary-card{min-height:100svh;height:100svh}.focus-mode .sanctuary-card>img{height:100svh;min-height:100svh}.focus-mode .focus-float{left:10px;right:10px;bottom:69px;transform:none;width:auto;grid-template-columns:1fr auto;padding:9px 10px}.focus-mode .still-tabs{display:none}.focus-mode .still-timer strong{font-size:2rem}.focus-mode .sanctuary-bottom{left:50%;right:auto;transform:translateX(-50%);bottom:14px}.focus-mode .focus-exit{top:12px;right:12px}
}
@media(max-width:430px){
  .still-main{padding-inline:6px}.sanctuary-card{min-height:660px}.focus-float{bottom:66px;padding:12px}.still-timer{width:188px}.still-timer strong{font-size:2.9rem}.still-session-meta{font-size:.51rem}.still-progress-meta{font-size:.49rem}.still-progress-meta b{font-size:.57rem}.still-library-button{font-size:.5rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.sanctuary-glow{animation:none}.sanctuary-card>img,.primary-btn,.playlist-item{transition:none!important}
}

/* === v1.5.0 Calm Room refinement ========================================= */
.still-app{
  --scene-x:0px;
  --scene-y:0px;
  background:
    radial-gradient(circle at 78% -10%,rgba(255,255,255,.68),transparent 34%),
    linear-gradient(145deg,#f8efea,#f0e1d8);
}
.still-shell{width:min(1380px,calc(100% - 40px))}
.still-main{padding-top:24px}
.still-intro{margin:4px 5px 18px;align-items:flex-end}
.still-intro h1{font-size:clamp(2.15rem,3vw,3.25rem);letter-spacing:-.048em}
.still-intro>p{font-size:.68rem;letter-spacing:.015em}

.sanctuary-card{min-height:710px;border-radius:32px;box-shadow:0 30px 85px rgba(55,28,31,.16)}
.sanctuary-card>img{
  transform:scale(1.018) translate3d(var(--scene-x),var(--scene-y),0);
  transition:opacity .32s ease,filter .32s ease,transform .5s cubic-bezier(.2,.7,.2,1);
  will-change:transform;
}
.sanctuary-card::after{
  content:"";position:absolute;inset:0;z-index:3;pointer-events:none;opacity:.18;
  background-image:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.16) 0 1px,transparent 1.4px),
    radial-gradient(circle at 70% 60%,rgba(30,12,15,.10) 0 1px,transparent 1.5px);
  background-size:9px 9px,13px 13px;mix-blend-mode:soft-light;
}
.sanctuary-vignette{z-index:2}.sanctuary-glow{z-index:2}
.sanctuary-topline,.focus-float,.sanctuary-bottom,.focus-exit{z-index:5}

.focus-float{
  width:min(370px,calc(100% - 76px));padding:17px 18px 16px;
  background:rgba(255,250,246,.89);border-color:rgba(255,255,255,.32);
  box-shadow:0 20px 62px rgba(25,12,14,.25);
}
.focus-intent-line{
  height:34px;margin:9px 3px -3px;display:flex;align-items:center;gap:7px;
  color:var(--accent);border-bottom:1px solid rgba(117,77,72,.13);
  transition:opacity .2s,height .2s,margin .2s;
}
.focus-intent-line>span{font-size:.64rem;opacity:.72}
.focus-intent-line input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:.67rem;padding:0}
.focus-intent-line input::placeholder{color:#aa9189}
.timer-break .focus-intent-line{height:0;margin:0;opacity:0;overflow:hidden;pointer-events:none;border:0}
.timer-running .focus-intent-line{opacity:.52}
.still-timer{width:210px;margin:14px auto 10px}
.still-timer strong{font-size:3.25rem}
.still-session-meta{font-size:.54rem;color:#917970}

/* A single quiet dock replaces multiple dashboard cards. */
.calm-dock{
  display:grid;grid-template-columns:minmax(0,1.45fr) 1px minmax(300px,.62fr);align-items:center;
  gap:18px;margin-top:13px;padding:13px 16px;border:1px solid var(--line);border-radius:22px;
  background:rgba(255,250,246,.80);box-shadow:0 10px 34px rgba(69,39,39,.07);backdrop-filter:blur(18px);
}
.calm-track{display:grid;grid-template-columns:58px minmax(160px,1fr) auto auto;grid-template-rows:auto 16px;align-items:center;gap:7px 12px;min-width:0}
.calm-track>img{width:58px;height:58px;grid-row:1/3;border-radius:13px;object-fit:cover;box-shadow:0 8px 20px rgba(48,24,26,.14)}
.calm-track .still-volume{grid-column:2/5;width:100%;height:3px}
.calm-divider{width:1px;height:58px;background:var(--line)}
.calm-day{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;min-width:0}
.calm-day-copy{min-width:86px}.calm-day-copy .micro-label{margin-bottom:0}.calm-day-copy strong{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:1.42rem;line-height:1}.calm-day-copy span{display:block;color:var(--muted);font-size:.52rem;margin-top:3px}
.calm-goal{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;min-width:0}.calm-goal .progress{height:6px}.calm-goal>span{font-family:Georgia,"Times New Roman",serif;font-size:.82rem;color:var(--accent-deep)}

.still-footer{padding-top:13px;opacity:.82}
.still-library-panel{width:min(980px,100%)}
@media(min-width:1180px){.still-playlist{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Landing/auth now use purpose-built AI artwork with less visual clutter. */
.room-stage img,.auth-room>img{object-position:center;filter:saturate(.94) contrast(.98)}
.gate-copy .feature-notes{grid-template-columns:repeat(3,1fr);width:min(560px,100%);gap:8px}
.gate-copy .feature-notes article{padding:11px 12px;border-radius:15px;box-shadow:none;background:rgba(255,255,255,.42)}
.gate-copy .feature-notes span{display:none}.gate-copy .feature-notes b{font-size:.69rem;font-weight:700}

/* During immersive focus, the input and decorative texture disappear. */
.focus-mode .focus-intent-line{display:none}
.focus-mode .sanctuary-card::after{opacity:.08}
.focus-mode .focus-float{width:min(520px,calc(100% - 40px));grid-template-columns:auto 1fr auto}

@media(max-width:980px){
  .still-shell{width:min(100% - 24px,940px)}
  .calm-dock{grid-template-columns:1fr;gap:11px;padding:13px}
  .calm-divider{width:100%;height:1px}
  .calm-day{grid-template-columns:auto 1fr;padding:0 3px 2px}
}
@media(max-width:720px){
  .still-main{padding-top:14px}
  .still-intro{margin-bottom:11px}.still-intro h1{font-size:1.92rem;line-height:1.02}
  .sanctuary-card{min-height:706px;border-radius:23px}
  .sanctuary-card>img{transform:scale(1.01)}
  .focus-float{left:10px;right:10px;bottom:68px;width:auto;padding:13px 14px}
  .focus-intent-line{margin-top:7px}
  .still-timer{width:196px;margin:10px auto 8px}.still-timer strong{font-size:3rem}
  .calm-dock{margin-top:9px;border-radius:19px;padding:11px;gap:9px}
  .calm-track{grid-template-columns:54px minmax(0,1fr) auto;grid-template-rows:auto 15px;gap:6px 10px}
  .calm-track>img{width:54px;height:54px;border-radius:12px}
  .calm-track .still-player-actions{grid-column:3;grid-row:1}.calm-track #track-prev,.calm-track #track-next{display:none}
  .calm-track .still-library-button{grid-column:3;grid-row:2;padding:4px 8px}
  .calm-track .still-volume{grid-column:2;grid-row:2}
  .calm-day-copy strong{font-size:1.25rem}.calm-day{gap:12px}.calm-goal>span{font-size:.74rem}
  .still-library-panel{width:100%}
}
@media(max-width:430px){
  .sanctuary-card{min-height:654px}.focus-float{bottom:65px;padding:11px 12px}.still-timer{width:181px}.still-timer strong{font-size:2.78rem}
  .focus-intent-line input{font-size:.62rem}
  .calm-day-copy{min-width:76px}.calm-day-copy strong{font-size:1.14rem}
}
@media(prefers-reduced-motion:reduce){
  .sanctuary-card>img{transform:none!important}.focus-intent-line{transition:none}
}

/* v1.7.0 — hidden gate + tiny optional insights dashboard */
.gate-only-body{margin:0;min-height:100vh;background:
 radial-gradient(circle at 18% 18%,rgba(181,127,151,.16),transparent 34%),
 radial-gradient(circle at 82% 75%,rgba(112,87,139,.14),transparent 38%),
 linear-gradient(145deg,#17131a,#211a22 52%,#141217);color:#f3ecee;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:grid;place-items:center;padding:24px;box-sizing:border-box}
.gate-only-shell{width:min(100%,390px)}
.gate-only-card{background:rgba(28,23,30,.78);border:1px solid rgba(255,255,255,.08);box-shadow:0 28px 90px rgba(0,0,0,.38);backdrop-filter:blur(22px);border-radius:30px;padding:42px 34px;text-align:center}
.gate-only-lock{width:64px;height:64px;border-radius:999px;border:1px solid rgba(255,255,255,.17);display:grid;place-items:center;margin:0 auto 24px;font-size:26px;color:#d9cdd5}
.gate-only-card h1{font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500;margin:0 0 8px;letter-spacing:-.02em}.gate-only-card>p{margin:0 0 28px;color:#a99da6;font-size:14px}
.gate-only-form{display:grid;gap:14px}.gate-only-input{position:relative}.gate-only-input input{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045);color:#fff;border-radius:15px;padding:15px 48px 15px 16px;font-size:16px;outline:none}.gate-only-input input:focus{border-color:rgba(194,143,207,.58);box-shadow:0 0 0 3px rgba(194,143,207,.1)}.gate-only-input .peek{position:absolute;right:8px;top:7px;width:38px;height:38px;border:0;background:transparent;color:#a99da6;cursor:pointer}.gate-only-card .primary-btn{width:100%;min-height:50px;border-radius:15px}
.gate-only-body .flash{margin:0 0 14px;border-radius:14px}

.insights-dialog{border:0;padding:0;background:transparent;color:inherit;max-width:none}.insights-dialog::backdrop{background:rgba(10,8,12,.58);backdrop-filter:blur(6px)}
.insights-panel{width:min(92vw,620px);max-height:min(86vh,760px);overflow:auto;background:rgba(30,25,33,.97);border:1px solid rgba(255,255,255,.09);border-radius:28px;padding:24px;box-shadow:0 28px 90px rgba(0,0,0,.48);color:#f3ecee}
.insights-heading{margin-bottom:18px}.insights-heading h2{font-size:28px}.insights-heading p{color:#a99ca8}
.insights-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.insights-summary article{padding:16px;border-radius:19px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);display:grid;gap:4px}.insights-summary span,.insights-summary small{color:#9f939e;font-size:12px}.insights-summary strong{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;color:#f2e9ee}
.insights-tasks,.insights-recent{padding:18px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.055)}.insights-recent{margin-top:12px}.insights-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.insights-section-title h3{font-size:17px;margin:2px 0 0}.insights-section-title>span{font-size:12px;color:#a99ca8}
.task-add-row{display:flex;gap:8px;margin-bottom:10px}.task-add-row input{flex:1;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#f8f3f5;border-radius:13px;padding:11px 13px;outline:none}.task-add-row button{width:42px;border:0;border-radius:13px;background:linear-gradient(135deg,#9774d8,#cc79aa);color:#fff;font-size:21px;cursor:pointer}
.mini-task-list{display:grid;gap:6px}.mini-task{display:grid;grid-template-columns:28px 1fr 28px;align-items:center;gap:8px;min-height:38px;padding:4px 6px;border-radius:11px}.mini-task:hover{background:rgba(255,255,255,.035)}.mini-task>span{font-size:14px;color:#e9e0e5}.mini-task.done>span{text-decoration:line-through;color:#776d75}.task-check,.task-delete{width:27px;height:27px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:transparent;color:#cbbec7;cursor:pointer}.mini-task.done .task-check{background:rgba(152,119,210,.22);color:#d9c1ff}.task-delete{border:0;opacity:.48}.task-delete:hover{opacity:1}
.recent-session-list{display:grid;gap:7px}.recent-session-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.045);font-size:13px}.recent-session-list>div:last-child{border-bottom:0}.recent-session-list span{color:#b7abb5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-session-list b{font-weight:600;color:#e7ddea}

@media(max-width:720px){.gate-only-card{padding:34px 22px;border-radius:24px}.insights-panel{width:94vw;box-sizing:border-box;padding:18px;border-radius:24px}.insights-summary{grid-template-columns:1fr 1fr}.insights-summary article:last-child{grid-column:1/-1}.insights-heading h2{font-size:24px}.still-header-actions #insights-toggle{display:inline-grid}}

/* v1.9 calm refresh */
.remember-note{margin:-.15rem 0 .2rem;color:var(--muted,#8d7f82);font-size:.78rem;text-align:center}.scene-hearth .still-room:after{background:radial-gradient(circle at 78% 68%,rgba(255,164,91,.16),transparent 34%)}.still-scene-switcher button[data-scene=hearth] .scene-dot{background:#d88f62}.playlist-item.active{box-shadow:inset 0 0 0 1px rgba(184,127,177,.22),0 8px 28px rgba(57,35,55,.08)}
