:root{color-scheme:dark;--bg:#14201a;--surface:#19251f;--panel:#19231fe8;--room-panel:#11191eee;--border:#c7d2bc25;--text:#f4ead8;--muted:#a4aaa2;--faint:#727c75;--accent:#eab155;--accent-hover:#f1c77e;--serif:Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 30% 0%,#3d47241c,transparent 60%),var(--bg);color:var(--text);font:14px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,textarea,select{color:inherit;background:#ffffff04;border:1px solid var(--border);border-radius:7px;padding:10px 12px;max-width:100%;accent-color:var(--accent)}input::placeholder,textarea::placeholder{color:#a6afa078}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=checkbox]{appearance:none;width:19px;height:19px;padding:0;border:1px solid #a1aaa494;border-radius:4px;flex-shrink:0;cursor:pointer;display:grid;place-content:center}input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}input[type=checkbox]:checked:after{content:'';width:9px;height:5px;border:2px solid #282b21;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}svg.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0;stroke-width:1.6}input[type=range]{appearance:none;background:#45504b;height:3px;border:0;border-radius:3px;padding:0;width:100%;cursor:pointer;accent-color:var(--accent)}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);height:12px;width:12px;border-radius:50%;box-shadow:0 0 0 4px #eab15500}input[type=range]:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #eab15515}input[type=range]::-moz-range-thumb{border:0;background:var(--accent);height:12px;width:12px;border-radius:50%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;background:var(--accent);color:#15211b;padding:10px 20px;z-index:99}.skip-link:focus{top:10px}#main{outline:none}.icon-button{width:35px;height:35px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;color:var(--muted)}.icon-button:hover{background:#ffffff0a;color:var(--text)}.icon-button.active{color:var(--accent);background:#eab15513}.text-button{font-size:13px;color:var(--muted);display:inline-flex;gap:7px;align-items:center;padding:6px 0}.text-button:hover{color:var(--accent)}.text-button .icon{width:17px;height:17px}.text-button.accent{color:var(--accent)}.primary,.outline-button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:7px;padding:12px 20px;border:1px solid var(--accent);font-size:14px;white-space:nowrap;transition:background .15s,color .15s}.primary{background:var(--accent);color:#26251c;font-weight:500}.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.outline-button{color:var(--accent);background:#eab15502}.outline-button:hover{background:#eab15512}.pill{border-radius:30px}.subtle{font-size:13px;color:var(--muted)}.row{display:flex;align-items:center;gap:12px}.spaced{justify-content:space-between}.amber{color:var(--accent)}
.app-header{height:72px;padding:0 35px;display:flex;align-items:center;border-bottom:1px solid var(--border);gap:26px;background:#142019d9;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:11px;font:43px/.9 var(--serif);letter-spacing:-1.5px;white-space:nowrap}.brand .icon{width:30px;height:30px;color:var(--accent);stroke-width:1.35}.header-divider{width:1px;height:29px;background:var(--border);margin:0 8px}.main-nav{display:flex;align-items:center;gap:31px;align-self:stretch}.nav-link{font-size:14px;color:var(--muted);padding:0 1px;position:relative;display:flex;align-items:center;gap:8px}.nav-link.active{color:var(--accent)}.nav-link.active:after{content:'';height:2px;background:var(--accent);position:absolute;bottom:0;left:0;right:0;border-radius:3px}.nav-link:hover{color:var(--text)}.header-right{margin-left:auto;display:flex;align-items:center;gap:15px}.header-time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;margin-right:8px}.local-profile{border-left:1px solid var(--border);padding-left:15px;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}.local-profile .icon{width:22px;height:22px}.header-session{border:1px solid var(--border);border-radius:30px;padding:5px 11px;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}.header-session .icon{width:14px;height:14px}.header-session[hidden]{display:none}.room-title{font:19px var(--serif);display:flex;align-items:center;gap:10px;max-width:280px;white-space:nowrap}.room-title .icon{width:15px;color:var(--muted)}
.lobby{max-width:1680px;margin:auto;padding:28px 35px 35px;animation:arrive .35s ease}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px}.page-heading{font-size:36px;letter-spacing:-.65px;line-height:1.2;margin:0 0 21px}.hero-room{display:block;position:relative;width:100%;height:clamp(340px,47vh,475px);border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#17231e}.hero-room>.room-art{width:100%;height:100%;object-fit:cover;object-position:center 49%;transition:transform .7s ease}.hero-room:hover>.room-art{transform:scale(1.025)}.hero-room:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#10150fd9);pointer-events:none}.hero-content{position:absolute;z-index:1;bottom:24px;left:25px;right:25px;display:flex;align-items:end;justify-content:space-between;gap:20px;text-align:left}.hero-content p{font-size:13px;color:#ede0c0ba;margin-bottom:3px}.hero-content h2{font-size:28px;letter-spacing:-.5px}.hero-content .primary{padding:13px 24px;border-radius:30px}.alternatives-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 14px}.alternatives-heading h2{font-size:25px;letter-spacing:-.3px}.alternatives-heading>span{color:var(--faint);font-size:12px}.alternatives{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 104px;gap:13px}.small-room{border:1px solid var(--border);border-radius:9px;overflow:hidden;min-width:0;background:#19241e;transition:transform .18s,border-color .18s}.small-room:hover{transform:translateY(-3px);border-color:#eab15570}.small-room>img{width:100%;height:155px;object-fit:cover;display:block}.small-room>div{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:12px 13px;font:17px var(--serif);white-space:nowrap}.small-room>div .icon{width:17px;height:17px;color:#cbd0be}.all-rooms-tile{border:1px solid var(--border);border-radius:9px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;color:#e2ddce;background:linear-gradient(140deg,#31422a18,transparent);min-width:0;font-size:14px}.all-rooms-tile:hover{background:#eab1550c;border-color:#eab15560}.all-rooms-tile>.icon:first-child{width:28px;height:28px;stroke-width:1.1}.all-rooms-tile>.icon:last-child{width:18px}.dashboard-side{display:flex;flex-direction:column;gap:21px;padding-top:3px}.panel{border:1px solid var(--border);border-radius:14px;background:linear-gradient(120deg,#ffffff02,transparent),var(--panel);padding:23px 25px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.panel-heading h2{font-size:25px;letter-spacing:-.3px}.panel-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}.task-list{list-style:none;margin:0;padding:0}.task-row{display:flex;align-items:center;gap:9px;position:relative;min-height:47px;border-bottom:1px solid #ffffff06}.task-row input[type=checkbox]{margin:0 3px 0 0}.task-title{min-width:0;flex:1;background:none;border:0;padding:8px 0;font-size:13px;border-radius:0;text-overflow:ellipsis}.task-title:focus{outline:none;border-bottom:1px solid var(--accent)}.task-row.done .task-title{text-decoration:line-through;color:var(--faint)}.task-minutes{display:flex;align-items:center;gap:1px;flex:0 0 40px;justify-content:flex-end;font-size:12px;color:var(--muted)}.task-minutes input{padding:4px 0;border:0;background:none;width:29px;text-align:right;font:12px var(--sans);border-radius:0}.task-minutes input::placeholder{color:#d2b88b}.task-delete{padding:0;width:15px;height:24px;color:var(--faint);opacity:0;position:absolute;right:-17px;display:grid;place-items:center}.task-delete .icon{width:13px;height:13px}.task-row:hover .task-delete,.task-row:focus-within .task-delete{opacity:1}.task-delete:hover{color:#f0bb98}.task-row.dragging{opacity:.35}.task-row.drag-over{border-top:1px solid var(--accent)}.task-row[draggable=true]{cursor:grab}.task-links{display:flex;justify-content:space-between;gap:15px;margin:18px 0}.task-links .text-button{font-size:12px}.task-links .accent{font-size:14px}.task-links .accent>.icon{width:20px;height:20px}.task-panel .plan-button{width:100%;margin:3px 0 23px}.focus-rhythm{border-top:1px solid var(--border);padding-top:21px;display:flex;align-items:center;gap:13px;color:#c7c6b9;font-size:13px}.focus-rhythm .icon{color:var(--accent);width:24px;height:24px}.focus-rhythm>button{margin-left:auto}.later-panel h2{font-size:24px;margin-bottom:9px}.later-panel .subtle{font-size:12px;margin-bottom:20px}.note-form{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;padding:0 11px;gap:8px;background:#ffffff02}.note-form>.icon{width:17px;height:17px;color:var(--muted)}.note-form input{border:0;outline:none;background:none;padding:12px 0;min-width:0;flex:1;font-size:13px}.note-form input:focus-visible{outline:none}.note-form:focus-within{border-color:#eab15588}.note-form button{color:var(--accent);padding:2px;display:grid;place-items:center}.note-form button>.icon{width:17px;height:17px}.notes-list{padding:0;margin:12px 0 0;list-style:none;max-height:156px;overflow:auto;scrollbar-width:thin}.notes-list li{display:flex;gap:8px;align-items:start;border-bottom:1px solid #ffffff08;padding:10px 0;font-size:12px;color:#bec1b6;line-height:1.5}.notes-list li>span{flex:1;overflow-wrap:anywhere}.notes-list li button{padding:2px;color:var(--faint);display:flex;align-items:center}.notes-list li button .icon{width:13px;height:13px}.notes-list li button:hover{color:var(--accent)}.new-task-form{display:flex;gap:7px;margin:10px 0 14px;padding:10px;background:#ffffff03;border:1px solid var(--border);border-radius:8px}.new-task-form input[name=title]{min-width:0;flex:1;border:0;padding:5px 0;background:none;font-size:13px}.new-task-form input[name=minutes]{width:40px;padding:5px 2px;text-align:center;font-size:12px}.new-task-form button{padding:0;color:var(--accent)}.task-empty{padding:16px 0;color:var(--muted);font-size:13px}.saved-foot{padding:0 2px;font-size:11px;color:var(--faint);display:flex;align-items:center;gap:8px}.saved-foot .icon{width:14px;height:14px}.plan-changed{font-size:11px;color:var(--accent);background:#eab1550b;padding:7px 10px;border-radius:4px;margin-top:10px}.plan-changed[hidden]{display:none}
.catalog{background:radial-gradient(ellipse at 45% 0%,#5247281a,transparent 60%),#111b1f;min-height:calc(100svh - 72px);padding:32px 35px;animation:arrive .35s ease}.catalog-inner{max-width:1610px;margin:auto}.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr) 330px}.catalog .page-heading{margin-bottom:7px;font-size:38px}.catalog-intro{font-family:var(--serif);font-size:17px;color:var(--muted)}.filters{display:flex;gap:13px;align-items:center;margin:23px 0 18px;flex-wrap:wrap}.filter{padding:7px 16px;border:1px solid transparent;border-radius:30px;font-size:12px;color:var(--muted)}.filter:hover{color:var(--text)}.filter.active{border-color:#eab155aa;background:#eab1550d;color:var(--accent)}.filter>.icon{width:14px;height:14px}.room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.room-card{border:1px solid var(--border);border-radius:11px;overflow:hidden;position:relative;background:#1a25299e;min-width:0;transition:transform .2s,border-color .2s}.room-card:hover{transform:translateY(-3px);border-color:#eab15570}.room-card>a{display:block}.room-card img{width:100%;height:auto;aspect-ratio:1.7;object-fit:cover;display:block;transition:filter .2s}.room-card:hover img{filter:brightness(1.08)}.room-card-info{padding:13px 15px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.room-card h2{font-size:19px;letter-spacing:-.3px;white-space:nowrap}.room-card-info p{font-size:11px;color:var(--muted);margin-top:4px;white-space:nowrap}.enter-small{border:1px solid #b8c2b73a;border-radius:18px;padding:6px 10px;display:flex;align-items:center;gap:6px;color:var(--accent);font-size:11px;white-space:nowrap}.enter-small>.icon{width:14px;height:14px}.favorite{position:absolute;right:10px;top:9px;color:#f5eedb;background:#12201955;backdrop-filter:blur(6px);width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.favorite>.icon{width:17px;height:17px;filter:drop-shadow(0 1px 2px #000)}.favorite.selected{color:var(--accent)}.favorite.selected .icon{fill:var(--accent)}.catalog .panel{background:#172127c9}.catalog .dashboard-side{padding-top:0}.catalog .task-panel .plan-button{margin-top:7px}.catalog .saved-foot{margin-top:12px}.last-visited{display:flex;align-items:center;gap:18px;border:1px solid var(--border);border-radius:10px;padding:10px 15px;margin-top:23px;font-size:13px;color:var(--muted)}.last-visited img{width:75px;height:47px;object-fit:cover;border-radius:6px}.last-visited strong{font-weight:400;color:var(--text)}.last-visited small{display:block;font-size:11px;margin-top:3px}.last-visited>.outline-button{margin-left:auto;padding:8px 15px;font-size:12px;border-color:#abb5aa44}.empty-rooms{padding:70px 25px;border:1px dashed var(--border);border-radius:10px;text-align:center;color:var(--muted);grid-column:1/-1}.empty-rooms h2{color:var(--text);font-size:24px;margin-bottom:8px}
body.in-room{background:#11191e}.in-room .app-header{height:64px;background:#11191ff2;padding:0 30px;gap:19px}.in-room .brand{font-size:37px}.in-room .brand .icon{width:28px;height:28px}.in-room .header-divider{height:27px;margin:0 0 0 4px}.in-room .header-right{gap:14px}.in-room .nav-link .icon{width:17px;height:17px}.in-room .nav-link{font-size:14px}.room-screen{height:calc(100svh - 64px);min-height:590px;position:relative;isolation:isolate;overflow:hidden;background:#11191e}.room-background{position:absolute;inset:0;z-index:-3;overflow:hidden}.room-background img{width:100%;height:100%;object-fit:cover;object-position:center 52%;display:block;animation:room-arrive .7s ease}.room-background:after{content:'';position:absolute;inset:0;background:#070e1420;transition:background .4s}.room-screen.dim .room-background:after{background:#050a1560}.room-screen:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#050d0c10,transparent 50%,#050d1020);pointer-events:none}.room-widgets .panel{background:linear-gradient(120deg,#ffffff02,transparent),var(--room-panel);backdrop-filter:blur(16px);border-color:#9caca53d;box-shadow:0 8px 35px #00000012}.room-tasks{position:absolute;right:23px;top:23px;width:306px;max-height:calc(100% - 287px);overflow:auto;scrollbar-width:thin;padding:20px 23px}.room-tasks .panel-heading{margin-bottom:11px}.room-tasks .panel-heading h2{font-size:23px}.room-tasks .task-row{min-height:39px}.room-tasks .task-title{font-size:12px}.room-tasks .task-minutes,.room-tasks .task-minutes input{font-size:11px}.room-tasks .task-links{margin:13px 0 15px}.room-tasks .task-links .text-button{font-size:11px}.room-tasks .task-links .accent{font-size:13px}.room-later{border-top:1px solid var(--border);padding-top:16px}.room-later h2{font-size:21px;margin-bottom:11px}.room-later .note-form input{padding:10px 0;font-size:12px}.room-later>.subtle{font-size:11px;margin-top:8px}.room-later .notes-list{max-height:85px;margin-top:7px}.room-later .notes-list li{font-size:11px;padding:7px 0}.sounds-panel{position:absolute;bottom:23px;left:23px;width:255px;padding:18px 21px}.sounds-panel .panel-heading{margin-bottom:16px}.sounds-panel .panel-heading h2{font-size:20px}.sounds-panel .panel-heading button{width:27px;height:27px}.sounds-panel .panel-heading button .icon{width:16px;height:16px}.sound-row{display:grid;grid-template-columns:20px 44px minmax(0,1fr) 21px;align-items:center;gap:9px;font-size:12px;margin:15px 0}.sound-row>.icon{color:var(--accent);width:17px;height:17px}.sound-row>output{font-size:11px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.sound-track{display:flex;align-items:center;gap:9px;width:100%;font-size:12px;text-align:left;padding:15px 0 0;border-top:1px solid var(--border);margin-top:16px;color:var(--muted)}.sound-track>.icon{width:17px;height:17px;color:var(--accent)}.sound-track>.track-label{flex:1}.sound-track>span:last-child{font-size:10px;color:var(--accent)}.sound-track.playing>.icon{animation:music-pulse 2s infinite}.sound-restore{position:absolute;left:23px;bottom:23px;display:flex;align-items:center;gap:9px;padding:11px 16px;border:1px solid var(--border);border-radius:30px;background:var(--room-panel);font-size:12px}.timer-panel{position:absolute;right:23px;bottom:23px;width:183px;padding:16px 16px 13px;display:flex;flex-direction:column;align-items:center}.timer-face{width:132px;height:132px;position:relative;display:grid;place-content:center;text-align:center;margin:0 auto 13px}.timer-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.timer-ring circle{fill:none;stroke:#ffffff1a;stroke-width:2.4}.timer-ring .progress{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:289;stroke-dashoffset:0;transition:stroke-dashoffset .3s linear}.timer-phase{font-size:8px;letter-spacing:2px;color:#d9ddd7;text-transform:uppercase;line-height:2}.timer-time{font-family:var(--serif);font-size:33px;font-variant-numeric:tabular-nums;letter-spacing:-.6px;line-height:1.15}.timer-panel .timer-primary{padding:7px 15px;border-radius:30px;font-size:12px;gap:6px;width:100%}.timer-primary .icon{width:13px;height:13px}.timer-secondary{display:flex;gap:15px;align-items:center;justify-content:center;margin-top:9px;width:100%}.timer-secondary>.icon-button{width:22px;height:22px}.timer-secondary .icon{width:13px;height:13px}.timer-secondary>button:nth-child(2){font-size:10px;color:var(--muted);padding:0}.timer-next{font-size:10px;color:var(--muted);margin-top:6px;text-align:center}.timer-task-name{font-size:10px;color:var(--muted);max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:0 0 8px;display:none}.timer-panel.running .timer-task-name{display:block}.timer-panel.break .timer-ring .progress{stroke:#a4ba9c}.room-bottom-label{position:absolute;bottom:25px;left:calc(50% - 100px);width:200px;text-align:center;color:#e6dcc480;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;pointer-events:none;text-shadow:0 1px 5px #111}.room-particles{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}.particle{position:absolute;top:-10%;left:var(--x);animation:fall var(--duration) linear infinite;animation-delay:var(--delay);opacity:0}.rain .particle{width:1px;height:25px;background:linear-gradient(transparent,#d8e3ed77);transform:rotate(9deg)}.snow .particle{width:var(--size);height:var(--size);border-radius:50%;background:#f2eadb99;filter:blur(.3px)}.motes .particle{width:2px;height:2px;background:#f0ca6caa;border-radius:50%;animation-name:drift;top:75%}.no-motion .room-particles{display:none}.room-loading{background:#1a221a}
dialog{color:var(--text);background:#18231eee;border:1px solid #b9c8b83d;border-radius:17px;box-shadow:0 25px 100px #0008;padding:0;width:min(860px,calc(100vw - 38px));max-height:calc(100svh - 50px);overflow:auto;scrollbar-width:thin;backdrop-filter:blur(35px)}dialog::backdrop{background:#050b0ba6;backdrop-filter:blur(5px)}.dialog-header{padding:26px 29px 20px;display:flex;justify-content:space-between;align-items:start;gap:20px;border-bottom:1px solid var(--border)}.dialog-header h2{font-size:29px;letter-spacing:-.5px}.dialog-header p{font-size:12px;color:var(--muted);margin-top:5px;max-width:580px}.dialog-body{padding:25px 29px}.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 29px;border-top:1px solid var(--border);background:var(--surface);position:sticky;bottom:0;z-index:1}.dialog-actions>span{font-size:12px;color:var(--muted);max-width:360px}.plan-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px}.plan-settings{display:flex;flex-direction:column;gap:17px;border-right:1px solid var(--border);padding-right:28px}.plan-settings label{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:13px}.plan-settings label>span{color:var(--muted)}.plan-settings input[type=number]{width:78px;text-align:center;padding:8px}.plan-settings select{max-width:130px;font-size:12px;padding:8px}.plan-settings .checkbox-label{align-items:start;justify-content:start;gap:10px;font-size:12px;color:var(--muted);margin-top:5px}.checkbox-label input{width:16px;height:16px;margin:2px 0 0}.plan-settings h3,.schedule-preview h3{font-size:22px;margin-bottom:6px}.plan-task-summary{font-size:12px;color:var(--muted);border-top:1px solid var(--border);padding-top:16px}.plan-task-summary p{display:flex;justify-content:space-between;gap:15px;margin-bottom:9px}.schedule-list{padding:0 0 0 15px;margin:17px 0 0;list-style:none;border-left:1px solid var(--border);max-height:360px;overflow:auto;scrollbar-width:thin}.schedule-list li{padding:0 0 15px 9px;position:relative;display:flex;align-items:start;gap:13px}.schedule-list li:before{content:'';position:absolute;top:5px;left:-19px;width:7px;height:7px;border-radius:50%;background:var(--accent)}.schedule-list li.break:before{background:#718573}.schedule-list time{font-size:11px;color:var(--muted);min-width:52px;margin-top:1px}.schedule-list strong{font-weight:400;font-size:12px;line-height:1.4;display:block}.schedule-list small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.schedule-list li.break strong{color:var(--muted)}.schedule-total{font-size:12px;color:var(--muted);margin-top:6px}.schedule-warning{padding:10px 12px;background:#eab1550d;border-left:2px solid var(--accent);font-size:12px;line-height:1.6;margin-top:15px;color:#d5bd8f}.schedule-empty{padding:30px 0;color:var(--muted);font-size:13px}.plan-stop-warning{font-size:12px;color:var(--accent);margin-top:10px}.estimate-intro{font-size:13px;color:var(--muted);margin-bottom:18px}.estimate-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border)}.estimate-row>span{flex:1;min-width:0}.estimate-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.estimate-row input[type=number]{width:65px;text-align:center;padding:8px}.estimate-row>label{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:12px}.dialog-small{max-width:550px}.preferences{display:flex;flex-direction:column;gap:22px}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:14px}.preference-row p{font-size:12px;color:var(--muted);margin-top:4px}.preference-row>input[type=range]{width:135px}.local-explanation{font-size:12px;color:var(--muted);line-height:1.7;padding-top:20px;border-top:1px solid var(--border)}.progress-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:17px;background:#ffffff03;border-radius:8px}.progress-summary b{display:block;font:26px var(--serif);margin-bottom:3px}.progress-summary span{font-size:11px;color:var(--muted)}.export-button{align-self:start}.room-dialog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.room-dialog-grid .room-card-info{padding:12px}.room-dialog-grid .room-card h2{font-size:16px}.room-dialog-grid .enter-small{display:none}.room-dialog-grid .room-card-info p{font-size:10px;white-space:normal}.note-dialog-list{max-height:400px;overflow:auto}.note-dialog-list .notes-list{max-height:none}.note-dialog-list .notes-list li{font-size:14px;padding:15px 0}.task-edit-actions{display:flex;gap:15px;margin-top:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:12px 20px;background:#26352b;border:1px solid #d4c29644;border-radius:10px;color:#ede5d1;box-shadow:0 8px 30px #0006;font-size:13px;z-index:20;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.no-script{margin:50px;text-align:center}body.calm-light{--bg:#26362b;--panel:#25362cee;--border:#d9dec12b}.calm-light .app-header{background:#25372c}
@keyframes arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes room-arrive{from{opacity:.4;transform:scale(1.018)}to{opacity:1;transform:scale(1)}}@keyframes fall{0%{opacity:0;translate:0 -10vh}10%{opacity:.3}90%{opacity:.15}100%{opacity:0;translate:-50px 110vh}}@keyframes drift{0%{opacity:0;translate:0 0}30%{opacity:.5}100%{opacity:0;translate:30px -160px}}@keyframes music-pulse{50%{opacity:.45}}
@media(min-width:1600px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 365px;gap:34px}.hero-room{height:490px}.small-room>img{height:180px}.panel{padding:27px}.page-heading{font-size:40px}.task-title{font-size:14px}.task-row{min-height:49px}.room-tasks{width:330px;padding:23px 25px}.room-tasks .task-title{font-size:13px}.sounds-panel{width:275px}.room-card img{aspect-ratio:1.6}.room-card h2{font-size:21px}}
@media(max-width:1190px){.lobby,.catalog{padding:25px}.dashboard-grid,.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.panel{padding:21px}.page-heading{font-size:29px}.hero-room{height:400px}.hero-content{left:20px;right:20px;bottom:22px}.hero-content h2{font-size:25px}.hero-content .primary{font-size:12px;padding:11px 19px}.alternatives{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.all-rooms-tile{grid-column:1/-1;flex-direction:row;padding:10px;gap:12px;font-size:12px}.all-rooms-tile>.icon:first-child{width:18px;height:18px}.all-rooms-tile>.icon:last-child{width:15px;height:15px}.small-room>img{height:125px}.small-room>div{font-size:14px;padding:10px}.small-room>div .icon{width:14px}.room-grid{gap:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.room-card-info{padding:12px}.room-card h2{font-size:18px}.room-card-info p{font-size:11px}.catalog .page-heading{font-size:33px}.room-tasks{right:20px;top:20px;width:280px;padding:18px 21px}.sounds-panel{left:20px;bottom:20px;width:236px;padding:16px 19px}.timer-panel{right:20px;bottom:20px}.room-title{font-size:18px}.header-time{display:none}.app-header{padding:0 25px;gap:21px}.header-right{gap:11px}.brand{font-size:39px}.main-nav{gap:25px}.local-profile span{display:none}}
@media(max-width:900px){.lobby,.catalog{padding:24px 21px}.dashboard-grid,.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr) 267px;gap:18px}.panel{padding:20px 19px}.panel-heading h2{font-size:23px}.panel-heading>span{font-size:11px}.task-title{font-size:12px}.task-links .text-button{font-size:11px}.task-links .accent{font-size:12px}.task-links{gap:10px}.task-minutes{flex-basis:31px}.task-minutes input{width:23px}.page-heading{font-size:27px;max-width:420px;line-height:1.25}.hero-room{height:385px}.hero-content{align-items:start;flex-direction:column;gap:12px;left:18px;bottom:18px}.hero-content h2{font-size:26px}.hero-content .primary{padding:9px 17px}.alternatives{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.small-room>img{height:140px}.small-room>div{font-size:16px}.alternatives-heading h2{font-size:24px}.alternatives-heading>span{display:none}.saved-foot{font-size:10px}.catalog .room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog .filters{gap:4px;margin:18px 0}.filter{font-size:11px;padding:6px 11px}.room-card-info{display:block;padding:10px 12px}.room-card-info .enter-small{display:none}.room-card h2{font-size:17px}.room-card-info p{font-size:10px;white-space:normal}.room-card img{aspect-ratio:1.45}.in-room .header-time,.in-room .local-profile{display:none}.in-room .header-right{gap:8px}.room-title{font-size:17px}.in-room .app-header{gap:14px;padding:0 20px}.room-bottom-label{display:none}.room-tasks{width:267px;padding:17px 20px;right:17px;top:17px}.room-tasks .panel-heading h2{font-size:22px}.room-tasks .task-title{font-size:11px}.room-tasks .task-links{gap:8px}.room-tasks .task-links .text-button{font-size:10px}.room-tasks .task-links .accent{font-size:12px}.sounds-panel{left:17px;bottom:17px;width:226px}.timer-panel{right:17px;bottom:17px}.catalog-intro{font-size:16px}.last-visited{gap:12px;font-size:12px}.last-visited small{font-size:10px}.last-visited>.outline-button{font-size:11px}.last-visited img{width:55px;height:43px}}
@media(max-height:750px) and (min-width:761px){.room-screen{min-height:570px}.room-tasks{max-height:calc(100% - 248px);top:18px;right:18px;padding:16px 20px}.timer-panel{padding:12px 13px 10px;bottom:18px;right:18px;width:170px}.timer-face{width:113px;height:113px;margin-bottom:8px}.timer-time{font-size:29px}.timer-secondary{margin-top:6px}.timer-next{font-size:9px;margin-top:3px}.sounds-panel{padding:14px 18px;bottom:18px;left:18px}.sound-row{margin:12px 0}.room-tasks .task-row{min-height:36px}.room-later{padding-top:11px}.room-later>.subtle{display:none}}
@media(max-width:760px){.app-header{height:65px;padding:0 18px;gap:16px}.brand{font-size:34px;gap:8px}.brand .icon{width:25px;height:25px}.header-divider{margin:0;height:23px}.main-nav{gap:20px}.nav-link{font-size:12px}.header-right{gap:8px}.local-profile{padding-left:9px}.header-right>.icon-button[data-action=appearance]{display:none}.header-time{display:none}.header-session{font-size:11px;padding:5px 8px;gap:5px}.header-session .icon{width:12px}.lobby,.catalog{padding:24px 20px}.dashboard-grid,.catalog .dashboard-grid{grid-template-columns:1fr;gap:27px}.page-heading{font-size:30px;max-width:none;margin-bottom:19px}.hero-room{height:390px}.hero-content{left:23px;right:23px;bottom:23px;flex-direction:row;align-items:end}.hero-content h2{font-size:28px}.hero-content .primary{padding:11px 19px}.alternatives{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.small-room>img{height:145px}.small-room>div{font-size:15px;padding:10px}.all-rooms-tile{padding:12px}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:0}.saved-foot{grid-column:1/-1}.panel{padding:23px}.task-title{font-size:14px}.task-row{min-height:45px}.task-delete{opacity:.7;right:-16px}.task-links .accent{font-size:14px}.task-links .text-button{font-size:12px}.panel-heading h2{font-size:25px}.panel-heading>span{font-size:12px}.focus-rhythm{font-size:12px;gap:9px}.note-form input{font-size:14px}.later-panel .subtle{font-size:12px}.catalog{min-height:calc(100svh - 65px)}.catalog .room-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.catalog .page-heading{font-size:34px}.catalog-intro{font-size:18px}.filters{margin:23px 0 18px!important;gap:8px!important}.filter{font-size:12px;padding:7px 13px}.room-card img{aspect-ratio:1.4}.room-card h2{font-size:17px}.room-card-info p{font-size:11px}.room-card-info{padding:12px}.catalog .dashboard-side{margin-top:6px}.last-visited{margin-top:5px;font-size:13px}.last-visited small{font-size:11px}.in-room .app-header{height:61px;padding:0 17px;gap:12px}.in-room .brand{font-size:31px}.in-room .brand .icon{width:23px;height:23px}.in-room .header-divider{display:none}.in-room .nav-link{font-size:12px}.in-room .room-title{font-size:15px;max-width:190px;overflow:hidden;text-overflow:ellipsis;gap:6px}.in-room .room-title .icon{width:12px}.in-room .header-right{gap:4px}.in-room .header-right>.icon-button{width:28px;height:28px}.in-room .header-right>.icon-button .icon{width:17px;height:17px}.in-room .header-session{display:none}.room-screen{height:auto;min-height:calc(100svh - 61px);overflow:visible;padding-top:calc(66svh + 15px);padding-bottom:20px;background:#111a1e}.room-background{height:66svh;min-height:420px}.room-background img{object-position:center}.room-background:after{background:linear-gradient(transparent 60%,#111a1e)}.room-screen:after{display:none}.room-widgets{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:0 18px;align-items:start}.room-tasks{position:static;width:auto;max-height:none;grid-column:1;grid-row:1/3;padding:20px}.room-tasks .panel-heading h2{font-size:24px}.room-tasks .task-row{min-height:43px}.room-tasks .task-title{font-size:13px}.room-tasks .task-minutes,.room-tasks .task-minutes input{font-size:12px}.room-tasks .task-links .text-button{font-size:11px}.room-tasks .task-links .accent{font-size:13px}.room-later h2{font-size:24px}.room-later .note-form input{font-size:13px}.room-later>.subtle{font-size:11px}.sounds-panel{position:static;width:auto;grid-column:2;grid-row:1;padding:20px}.sounds-panel .panel-heading h2{font-size:23px}.sound-row{font-size:12px;gap:8px;grid-template-columns:17px 40px minmax(0,1fr) 20px}.sound-restore{position:static;grid-column:2;grid-row:1;width:100%;justify-content:center;align-self:start}.timer-panel{top:260px;bottom:auto;right:21px;width:175px;padding:13px 15px 10px;min-height:0}.timer-face{width:118px;height:118px;margin-bottom:9px}.timer-time{font-size:32px}.timer-panel .timer-primary{font-size:12px;padding:7px 12px}.timer-secondary{margin-top:7px}.timer-next{margin-top:3px}.room-particles{height:66svh}.room-later .notes-list{max-height:170px}.sounds-panel .sound-track{font-size:11px}.room-widgets>.saved-foot{grid-column:2}.room-dialog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-layout{gap:22px}.plan-settings{padding-right:22px}.dialog-header{padding:24px}.dialog-body{padding:24px}.dialog-actions{padding:19px 24px}.dialog-header h2{font-size:28px}.dialog-actions>span{font-size:11px}.plan-settings label{font-size:12px}.plan-settings input[type=number]{width:65px}.plan-settings select{max-width:110px}}
@media(max-width:500px){.app-header{padding:0 16px;gap:12px}.header-divider{display:none}.brand{font-size:33px}.brand .icon{width:23px}.main-nav{gap:17px;margin-left:8px}.header-right{gap:4px}.local-profile{border:0;padding:0}.local-profile .icon{width:21px}.header-right>.icon-button[data-action=mute]{display:none}.header-session{font-size:10px;padding:5px 7px}.lobby,.catalog{padding:23px 16px 30px}.page-heading{font-size:29px;letter-spacing:-.7px;line-height:1.25}.hero-room{height:360px}.hero-content{left:19px;right:19px;bottom:21px;flex-direction:column;align-items:start;gap:13px}.hero-content p{font-size:12px}.hero-content h2{font-size:29px}.hero-content .primary{font-size:13px;padding:10px 19px}.alternatives-heading{margin-top:22px}.alternatives-heading h2{font-size:25px}.alternatives{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.small-room>img{height:144px}.small-room>div{font-size:17px;padding:12px}.dashboard-side{grid-template-columns:1fr;gap:18px}.panel{padding:25px}.task-title{font-size:15px}.task-row{min-height:48px}.task-minutes,.task-minutes input{font-size:13px}.task-minutes{flex-basis:40px}.task-minutes input{width:29px}.panel-heading h2{font-size:28px}.panel-heading>span{font-size:12px}.task-links{margin:20px 0}.task-links .text-button{font-size:13px}.task-links .accent{font-size:15px}.task-panel .plan-button{font-size:14px;padding:13px;margin-bottom:24px}.focus-rhythm{font-size:13px}.later-panel h2{font-size:27px}.later-panel .subtle{font-size:13px}.note-form input{font-size:14px;padding:14px 0}.note-form>.icon{width:18px;height:18px}.notes-list li{font-size:13px}.saved-foot{font-size:11px}.new-task-form input[name=title]{font-size:16px}.new-task-form input[name=minutes]{font-size:14px}.catalog .page-heading{font-size:31px}.catalog-intro{font-size:17px}.catalog .room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}.catalog .filters{gap:4px!important;row-gap:8px!important}.filter{font-size:11px;padding:6px 11px}.room-card img{aspect-ratio:1.28}.room-card-info{padding:11px 12px}.room-card h2{font-size:17px;letter-spacing:-.3px}.room-card-info p{font-size:10px;margin-top:6px;min-height:30px}.favorite{right:7px;top:7px;width:27px;height:27px}.last-visited{padding:11px;gap:11px;font-size:11px;align-items:center}.last-visited img{width:49px;height:45px}.last-visited small{font-size:10px}.last-visited>.outline-button{font-size:10px;padding:6px 10px}.last-visited>.outline-button>.icon{width:12px}.in-room .app-header{gap:10px;padding:0 13px}.in-room .brand{font-size:29px;gap:6px}.in-room .brand .icon{width:21px}.in-room .nav-link{font-size:11px;gap:4px}.in-room .nav-link .icon{width:14px}.in-room .room-title{font-size:14px;max-width:135px;gap:4px}.in-room .header-right{gap:0}.in-room .header-right>.icon-button[data-action=fullscreen]{display:none}.in-room .header-right>.icon-button[data-action=preferences]{display:none}.in-room .header-right>.icon-button[data-action=appearance]{display:flex}.room-screen{padding-top:535px}.room-background{height:520px;min-height:0}.room-background img{object-position:43% center}.room-widgets{grid-template-columns:1fr;padding:0 16px;gap:17px}.room-tasks{grid-column:auto;grid-row:auto;padding:24px}.room-tasks .panel-heading h2{font-size:28px}.room-tasks .task-row{min-height:47px}.room-tasks .task-title{font-size:14px}.room-tasks .task-minutes,.room-tasks .task-minutes input{font-size:13px}.room-tasks .task-links .text-button{font-size:12px}.room-tasks .task-links .accent{font-size:14px}.room-tasks .task-links{margin:18px 0}.room-later{padding-top:21px}.room-later h2{font-size:26px}.room-later .note-form input{font-size:14px;padding:13px 0}.room-later>.subtle{font-size:12px}.room-later .notes-list li{font-size:13px}.room-later .notes-list{max-height:160px}.timer-panel{top:266px;right:18px;width:168px;padding:13px 14px 11px}.timer-face{width:113px;height:113px}.timer-time{font-size:31px}.sounds-panel{grid-column:auto;grid-row:auto;padding:23px 25px}.sounds-panel .panel-heading h2{font-size:25px}.sound-row{grid-template-columns:20px 53px minmax(0,1fr) 25px;gap:11px;font-size:14px;margin:21px 0}.sound-row>output{font-size:12px}.sound-row>.icon{width:19px;height:19px}.sounds-panel .sound-track{font-size:13px;padding-top:18px;margin-top:22px}.sound-track>span:last-child{font-size:12px}.sound-restore{grid-column:auto;grid-row:auto}.room-particles{height:500px}.room-widgets>.saved-foot{grid-column:auto}.plan-layout{grid-template-columns:1fr;gap:25px}.plan-settings{border-right:0;border-bottom:1px solid var(--border);padding:0 0 23px}.plan-settings label{font-size:14px}.plan-settings input[type=number]{font-size:16px;width:78px}.plan-settings select{max-width:150px;font-size:14px}.plan-settings .checkbox-label{font-size:13px}.plan-task-summary{font-size:13px}.plan-settings h3,.schedule-preview h3{font-size:24px}.schedule-list{max-height:none}.schedule-list strong{font-size:13px}.schedule-list time,.schedule-list small{font-size:12px}.dialog-header,.dialog-body{padding:22px}.dialog-actions{padding:18px 22px;flex-direction:column;align-items:stretch;gap:13px}.dialog-actions .primary{width:100%}.dialog-actions>span{font-size:12px}.dialog-header h2{font-size:27px}.dialog-header p{font-size:12px}.estimate-row>span{font-size:13px}.estimate-row small{font-size:11px}.estimate-row input[type=number]{font-size:16px;width:53px;padding:7px}.estimate-intro{font-size:13px}.preference-row{font-size:13px}.preference-row p{font-size:11px}.preference-row>input[type=range]{width:95px}.room-dialog-grid{gap:13px}.room-dialog-grid .room-card h2{font-size:16px}.toast{font-size:12px;padding:11px 17px;bottom:15px;width:max-content}.task-title,.note-form input{font-size:16px}.room-tasks .task-title{font-size:16px}}
.task-grip{position:absolute;left:-19px;top:50%;transform:translateY(-50%);padding:2px;color:var(--faint);opacity:0;cursor:grab;display:grid;place-items:center}.task-grip .icon{width:13px;height:17px;stroke-width:3}.task-row:hover .task-grip,.task-row:focus-within .task-grip{opacity:1}.task-grip:hover{color:var(--accent)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.room-particles{display:none}}

/* Optional Later board */
.header-later{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;border:1px solid var(--border);border-radius:20px;padding:6px 11px}.header-later:hover{color:var(--accent);border-color:#eab15566}.header-later .icon{width:16px;height:16px}.later-heading{margin-bottom:9px}.later-heading h2{margin-bottom:0}.later-heading .text-button{font-size:11px}.later-modal{width:min(690px,calc(100vw - 36px))}.later-composer{display:block;padding:15px;background:#ffffff03;border-color:#eab15555}.later-composer textarea{width:100%;min-height:100px;resize:vertical;border:0;background:none;padding:3px 2px;font-size:14px;line-height:1.8;outline:none}.later-composer .row{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.later-composer select{font-size:12px;padding:8px 10px;max-width:170px}.later-composer button.primary{display:flex;padding:9px 14px;color:#26251c;font-size:12px}.later-composer button.primary .icon{width:15px;height:15px}.later-list-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 10px}.later-list-heading h3{font-size:21px}.later-list-heading>span{font-size:11px;color:var(--muted)}.later-dialog .notes-list{max-height:310px;margin:0}.later-dialog .notes-list li{font-size:14px;padding:15px 0;line-height:1.8}.later-dialog .notes-list li>span{white-space:pre-wrap}.later-dialog .notes-list li button{padding:5px}.note-kind{display:block;color:var(--accent);font-size:9px;letter-spacing:1px;margin-bottom:5px}.later-empty{text-align:center;color:var(--faint);padding:24px 15px;font-size:12px}.later-empty .icon{width:25px;height:25px;color:#b7c59b99;margin-bottom:12px}.later-reassurance{border-top:1px solid var(--border);padding-top:18px;font-size:11px;color:var(--muted);margin-top:20px}

/* Small additions to the existing Today's plan card. */
.hours-inline{display:flex;align-items:center;gap:3px;color:var(--muted);font-size:11px;white-space:nowrap}.hours-inline input{width:36px;text-align:right;border:0;border-bottom:1px dotted #a4aaa259;border-radius:0;padding:3px 2px;background:transparent;font-size:12px;color:var(--text)}.hours-inline:focus-within{color:var(--accent)}.task-panel .panel-heading,.room-tasks .panel-heading{gap:8px}.room-tasks .panel-heading h2{font-size:23px;white-space:nowrap}.todo-capture{border:1px solid transparent;border-radius:9px;margin:0 -10px;padding:0 9px;transition:border-color .3s,background .3s}.todo-capture.needs-task{border-color:#eab15535;background:#eab15504;padding-top:12px;padding-bottom:11px;margin-top:19px;margin-bottom:5px}.todo-invitation{font-size:12px;line-height:1.6;color:#e0d4bb}.todo-caption{font-size:10px;color:var(--muted);line-height:1.6}.needs-task .new-task-form{margin:10px 0 7px;border-color:#eab15550;background:#0e161417}.needs-task .task-links{display:none}.todo-capture:focus-within{border-color:#eab15555;background:#eab15504}.new-task-form:focus-within{border-color:#eab15590}.new-task-form input:focus-visible{outline-offset:1px}.todo-capture .task-links{margin:12px 0 7px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 12px}.calendar-toolbar .text-button{font-size:10px;gap:5px}.calendar-toolbar .icon{width:14px;height:14px}.calendar-toolbar [data-inline-action=availability]>.icon{width:11px;height:11px}.inline-planning-controls .plan-button{width:100%;margin:0 0 16px;font-size:13px;padding:10px 12px}.inline-planning-controls .plan-button .icon{width:15px;height:15px}.editable-rhythm{padding-top:14px;gap:8px;justify-content:center;font-size:11px;white-space:nowrap}.editable-rhythm>.icon{width:18px;height:18px}.editable-rhythm>label{display:flex;align-items:center;gap:3px}.editable-rhythm input{width:24px;padding:2px 0;border:0;border-bottom:1px dotted #a4aaa255;border-radius:0;background:transparent;color:var(--text);text-align:center;font-size:12px}.rhythm-divider{color:var(--faint);margin:0 2px}.inline-availability{border:1px solid var(--border);border-radius:8px;padding:12px;margin:0 0 13px;background:#ffffff02}.inline-availability[hidden]{display:none}.inline-time-window{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inline-time-window label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted);min-width:0}.inline-time-window input{width:100%;padding:6px;font-size:11px;min-width:0}.inline-busy-list{max-height:150px;overflow:auto;scrollbar-width:thin;margin-top:8px}.inline-busy-row{display:flex;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid var(--border)}.inline-busy-row>input{width:14px;height:14px;margin:0}.inline-busy-row>input:checked:after{width:7px;height:4px}.inline-busy-row>div{flex:1;min-width:0;font-size:11px}.inline-busy-row>div span{display:block;overflow-wrap:anywhere}.inline-busy-row small{display:block;color:var(--muted);font-size:10px}.inline-busy-row.excluded>div{opacity:.45}.inline-busy-row .icon-button{width:20px;height:23px}.inline-busy-row .icon{width:13px;height:13px}.add-busy-time{margin-top:11px;color:var(--muted);font-size:10px}.add-busy-time summary{cursor:pointer}.add-busy-time form{margin-top:9px}.add-busy-time input{font-size:11px;padding:6px 7px;width:100%}.add-busy-time form>div{display:flex;align-items:center;gap:5px;margin-top:6px}.add-busy-time input[type=time]{width:calc(50% - 23px);min-width:0;padding:5px 2px}.add-busy-time .icon-button{width:23px;height:23px}.auto-inline{display:flex;align-items:start;gap:7px;font-size:10px;line-height:1.5;color:var(--muted);margin-top:13px}.auto-inline>input{width:14px;height:14px;margin:1px 0 0}.availability-note{font-size:9px;line-height:1.5;color:var(--faint);margin-top:10px}.inline-planning-status:empty{display:none}.inline-planning-status p{font-size:10px;line-height:1.7;margin:0 0 13px}.inline-plan-error{color:#ecc095}.inline-plan-error>.text-button{font-size:10px;padding:5px 0 0}.inline-plan-message{color:var(--muted)}.inline-plan-message>button{color:var(--accent);font-size:10px;padding:0 0 0 7px;text-decoration:underline;text-underline-offset:3px}.inline-plan-warning{color:#d9ba80}.inline-schedule{margin-top:15px;border-top:1px solid var(--border);padding-top:12px}.inline-schedule summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:11px;color:var(--muted)}.inline-schedule summary::-webkit-details-marker{display:none}.inline-schedule summary>span{display:flex;align-items:center;gap:6px}.inline-schedule summary>.icon{width:13px;height:13px;transition:transform .2s}.inline-schedule[open] summary>.icon{transform:rotate(180deg)}.inline-schedule summary small{font-size:9px;margin-left:auto;white-space:nowrap}.inline-schedule summary>span>.icon{width:14px;height:14px;color:var(--accent)}.inline-schedule-content{margin-top:13px;max-height:176px;overflow:auto;scrollbar-width:thin}.inline-schedule ol{list-style:none;padding:0;margin:0}.inline-schedule li{display:flex;gap:9px;padding:0 0 12px;position:relative;color:var(--text)}.inline-schedule li time{font-size:9px;color:var(--muted);white-space:nowrap;width:53px;padding-top:2px;flex-shrink:0}.inline-schedule li>div{border-left:1px solid var(--border);padding-left:11px;min-width:0;position:relative}.inline-schedule li>div:before{content:'';position:absolute;left:-3px;top:5px;width:5px;height:5px;border-radius:50%;background:#6e7d70}.inline-schedule li>div>span{font-size:11px;line-height:1.5;display:block;overflow-wrap:anywhere}.inline-schedule li small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.inline-schedule li.break,.inline-schedule li.wait{color:var(--muted)}.inline-schedule li.current>div:before{background:var(--accent);box-shadow:0 0 0 3px #eab15514}.inline-schedule li.current>div>span{color:var(--accent)}.inline-schedule li.past{opacity:.45}.inline-old-plan,.inline-overflow{font-size:10px;line-height:1.7;color:#d9ba80;margin:0 0 10px}.room-tasks .inline-planning-controls{margin-bottom:18px}.room-tasks .todo-caption{font-size:9px}.room-tasks .calendar-toolbar{gap:5px}.room-tasks .editable-rhythm{gap:5px;font-size:10px}.room-tasks .inline-schedule-content{max-height:150px}.plan-attention{animation:gentle-attention 1.6s ease}@keyframes gentle-attention{40%{border-color:#eab15588;box-shadow:0 0 0 4px #eab15509}}
@media(max-width:900px){.header-later>span{display:none}.header-later{padding:7px}.header-right{gap:8px}.hours-inline{font-size:10px}.task-panel .panel-heading h2{font-size:22px}.hours-inline input{width:31px}.editable-rhythm{gap:5px;font-size:10px}}
@media(max-width:500px){.header-later{border:0;padding:5px}.header-later .icon{width:19px;height:19px}.in-room .header-right>.icon-button[data-action=appearance]{display:none}.later-modal{width:calc(100vw - 24px)}.later-modal .dialog-header h2{font-size:27px}.later-composer textarea{font-size:16px}.later-composer{padding:12px}.later-composer button.primary{font-size:11px;padding:8px 10px}.later-composer select{font-size:11px;max-width:132px;padding:8px}.later-list-heading h3{font-size:18px}.later-list-heading>span{font-size:10px}.later-dialog .notes-list li{font-size:13px}.task-panel .panel-heading h2,.room-tasks .panel-heading h2{font-size:27px}.hours-inline{font-size:12px}.hours-inline input{font-size:16px;width:39px}.todo-invitation{font-size:13px}.todo-caption,.room-tasks .todo-caption{font-size:11px}.calendar-toolbar .text-button{font-size:12px}.editable-rhythm,.room-tasks .editable-rhythm{font-size:12px;gap:8px}.editable-rhythm input{font-size:16px;width:29px}.inline-planning-controls .plan-button{font-size:14px}.inline-time-window input{font-size:15px}.inline-schedule summary{font-size:13px}.inline-schedule li>div>span{font-size:12px}.inline-schedule li time{font-size:10px}}
/* Keep the original separate timer and task cards clear of one another. */
@media(min-width:761px){.room-tasks{max-height:calc(100% - 350px)}.room-tasks .todo-capture.needs-task{margin-top:12px;padding-top:9px;padding-bottom:9px}.room-tasks .needs-task .new-task-form{padding:8px}.room-tasks .inline-planning-controls .plan-button{margin-bottom:11px}.room-tasks .editable-rhythm{padding-top:11px}.room-tasks .room-later{padding-top:12px}.room-tasks .notes-list:empty{display:none}}
@media(max-height:750px) and (min-width:761px){.room-tasks{max-height:calc(100% - 305px)}}

/* Calm workspace: one planning surface and a compact scene rail. */
:root{--muted:#b4baae;--faint:#8b968a;--border:#c7d2bc30}
[hidden]{display:none!important}
.lobby,.catalog{animation:none;padding:32px;max-width:1520px;margin:auto}
.catalog{background:transparent;min-height:calc(100svh - 72px)}
.dashboard-grid,.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.dashboard-side{padding:0;gap:14px;position:sticky;top:24px;min-width:0}
.dashboard-side .saved-foot{margin:0;padding:0 5px;font-size:12px}
.page-heading,.catalog .page-heading{font-size:34px;line-height:1.25;letter-spacing:-.7px}
.hero-room{height:clamp(300px,44vh,450px);border-color:#d5c6a52b}
.hero-content p{color:#eee1c9;font-size:13px}
.alternatives{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.small-room>img{height:auto;aspect-ratio:1.35}
.small-room>div{font-size:17px;padding:13px 12px;white-space:normal;min-height:46px}
.all-rooms-tile{grid-column:1/-1;flex-direction:row;gap:10px;padding:12px;min-height:44px;font-size:13px}
.all-rooms-tile>.icon:first-child,.all-rooms-tile>.icon:last-child{width:17px;height:17px}
.alternatives-heading{margin:24px 0 14px}
.alternatives-heading>span{color:var(--muted)}
.room-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.room-card img{aspect-ratio:1.45}
.room-card-info{padding:16px;display:block}
.room-card h2{font-size:21px;white-space:normal;line-height:1.25}
.room-card-info p{font-size:12px;white-space:normal;line-height:1.5;min-height:18px}
.enter-small{display:none}
.favorite{width:34px;height:34px;right:12px;top:12px}
.filters{gap:5px;margin:23px 0 22px}.filter{font-size:13px;padding:8px 13px}
.catalog-intro{font-size:17px}.catalog .task-panel{background:var(--panel)}
.task-panel{padding:0;max-height:calc(100svh - 168px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #cdbc8f62;box-shadow:0 8px 30px #00000010;background:#1a251ff5}
.plan-heading{padding:22px 22px 17px;margin:0!important;flex-shrink:0;border-bottom:1px solid #c6c6ab22;gap:9px}
.plan-heading h2,.task-panel .panel-heading h2{font-size:26px;white-space:nowrap}
.plan-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}
.plan-panel-content{padding:20px 22px 22px;overflow:auto;scrollbar-width:thin;scrollbar-color:#b5b8a544 transparent;min-height:0;overscroll-behavior:contain}
.study-time{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}
.study-time>label{font-size:13px;color:var(--text)}
.study-time>label>small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.hours-control{display:flex;align-items:center;border:1px solid #d5c5a34f;border-radius:8px;background:#10191240;padding:3px;gap:1px}
.hours-control>button{width:28px;height:32px;display:grid;place-items:center;color:#d0c5ad;border-radius:5px}
.hours-control>button:not(:disabled):hover{background:#eab15518;color:var(--accent)}
.hours-control>button:disabled{opacity:.25}.hours-control .icon{width:14px;height:14px}
.hours-value{display:flex;align-items:center;gap:1px;color:var(--muted);font-size:12px;padding-right:4px}
.hours-value input{width:44px;padding:5px 2px;border:0;background:none;color:var(--text);font-size:15px;text-align:center;font-variant-numeric:tabular-nums}
.todo-capture{padding:0;margin:0;border:0;border-radius:8px}.todo-capture:focus-within{border-color:transparent;background:transparent}
.todo-capture.needs-task{margin:0 0 16px;padding:13px;border:1px solid #d5b87d50;background:#eab15505}
.todo-invitation{font-size:13px;line-height:1.6;color:#ede0c7}
.todo-caption,.room-tasks .todo-caption{font-size:11px;color:var(--muted);line-height:1.6}
.task-row,.room-tasks .task-row{min-height:49px;gap:9px;border-bottom:1px solid #c6c6ab14;padding:3px 0}
.task-title,.room-tasks .task-title{font-size:14px;line-height:1.5;padding:8px 0}
.task-row input[type=checkbox]{height:17px;width:17px;margin-right:1px;border-color:#a9b7a57d}
.task-minutes,.room-tasks .task-minutes{flex:0 0 49px;gap:2px;font-size:11px;color:var(--muted);border:1px solid #c7d2bc2b;border-radius:6px;padding:0 4px;background:#ffffff03}
.task-minutes input,.room-tasks .task-minutes input{width:32px;padding:6px 0;font-size:12px}
.task-minutes:focus-within{border-color:#eab155aa;background:#eab15508}
.task-delete{right:-19px;width:20px;height:30px}.task-grip{left:-18px}.task-grip .icon{width:12px}
.todo-capture .task-links,.room-tasks .task-links{margin:12px 0 0;gap:8px}.task-links .text-button,.room-tasks .task-links .text-button{font-size:12px}.task-links .accent,.room-tasks .task-links .accent{font-size:13px}
.new-task-form{padding:10px 9px;margin:12px 0 4px;gap:6px;border-color:#ccb98d66;background:#ffffff03}
.new-task-form input[name=title]{font-size:14px;line-height:1.5}.new-task-form input[name=minutes]{width:38px;font-size:13px;background:#ffffff04}
.new-task-form button{width:25px;flex-shrink:0}.new-task-form .icon{width:19px;height:19px}
.needs-task .new-task-form{padding:8px 7px;margin:10px 0;background:#10191230;border-color:#ccb98d66}
.needs-task .new-task-form input[name=title]{font-size:13px}
.calendar-toolbar{margin:20px 0 16px;padding-top:14px;border-top:1px solid #c7d2bc24}
.calendar-toolbar .text-button{font-size:12px;gap:6px;min-height:28px}.calendar-toolbar .icon{width:15px;height:15px}
.editable-rhythm,.room-tasks .editable-rhythm{border:0;padding:0;gap:8px;font-size:12px;justify-content:space-between;margin-bottom:19px}
.editable-rhythm>.icon{width:17px;height:17px}.editable-rhythm>label{gap:4px}
.editable-rhythm input{font-size:13px;width:29px;padding:4px 0;border:1px solid #c7d2bc2b;border-radius:5px;background:#ffffff03}
.rhythm-divider{margin:0;color:var(--faint)}
.inline-planning-controls .plan-button,.room-tasks .inline-planning-controls .plan-button{min-height:42px;font-size:13px;margin:0;padding:10px 12px;border-radius:8px}
.inline-planning-status p{font-size:12px;margin:12px 0 0;line-height:1.6}.inline-plan-error>.text-button{font-size:12px}.inline-plan-message>button{font-size:12px}
.inline-schedule{margin-top:17px;padding-top:15px}.inline-schedule summary{font-size:12px;min-height:24px}.inline-schedule summary small{font-size:11px}
.inline-schedule-content{max-height:none;overflow:visible;margin-top:17px}
.inline-schedule li{padding-bottom:17px;gap:9px}.inline-schedule li time{font-size:11px;width:61px}.inline-schedule li>div>span{font-size:12px}.inline-schedule li small{font-size:11px}.inline-overflow,.inline-old-plan{font-size:12px}
.inline-time-window label{font-size:12px}.inline-time-window input{font-size:13px;padding:7px}.inline-busy-row>div{font-size:12px}.inline-busy-row small{font-size:11px}.auto-inline{font-size:12px}.availability-note{font-size:11px}.add-busy-time{font-size:12px}.add-busy-time input{font-size:13px}
/* The scene keeps its center open. All work controls share one right-hand rail. */
body.in-room{overflow:hidden}.in-room .app-header{height:64px;background:#101a17;gap:20px;border-bottom:1px solid #e4dab61c}
.in-room .header-right{gap:10px}.in-room .header-session{display:none}.in-room .header-time{color:#b0b7a8}
.room-screen{height:calc(100dvh - 64px);min-height:420px;padding:0;overflow:hidden;background:#111b17}
.room-background{inset:0;height:auto;min-height:0}.room-background img{animation:none;object-position:center 52%}
.room-background:after{background:#070e1409}.room-screen:after{background:linear-gradient(90deg,transparent 55%,#09110d15)}
.room-rail{position:absolute;top:24px;right:24px;bottom:24px;width:314px;display:flex;flex-direction:column;gap:16px;pointer-events:none}
.room-rail>.panel{pointer-events:auto;box-shadow:0 10px 35px #0000001c;backdrop-filter:blur(20px);background:#14201ced;border-radius:13px}
.room-rail>.timer-panel{position:relative;inset:auto;width:100%;max-height:none;display:block;flex:0 0 auto;padding:18px 20px 17px;border:1px solid #ded4b642}
.timer-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.timer-panel .timer-phase{font-size:10px;letter-spacing:1.5px;line-height:1.4;color:#d8c7a5}
.timer-panel .timer-secondary{display:flex;gap:6px;width:auto;margin:0}.timer-panel .timer-secondary>.icon-button{width:25px;height:25px}.timer-secondary .icon{width:14px;height:14px}
.timer-main{display:flex;align-items:center;justify-content:space-between;gap:14px}
.timer-panel .timer-time{font-size:46px;line-height:1;letter-spacing:-1.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.timer-panel .timer-primary{font-size:12px;min-height:36px;padding:8px 12px;width:auto;border:1px solid #d4bd864f;border-radius:7px;gap:5px;color:#e1c493}
.timer-panel .timer-primary:hover{background:#eab15518}.timer-primary .icon{width:12px;height:12px}
.timer-panel .timer-task-name,.timer-panel.running .timer-task-name{display:block;font-size:12px;text-align:left;margin:12px 0 13px;color:#bdc4b5;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.timer-track{height:2px;background:#d0c9af24;border-radius:2px;overflow:hidden}.timer-track>span{display:block;width:0;height:100%;background:#d8b97d;transition:width .3s linear}.timer-panel.break .timer-track>span{background:#a7b99b}
.timer-panel .timer-next{font-size:11px;margin-top:9px;text-align:left;color:#a6b09e}
.room-rail>.room-tasks{position:relative;inset:auto;width:100%;max-height:none;min-height:0;overflow:hidden;padding:0;display:flex;flex-direction:column;flex:0 1 auto;border:1px solid #cbb88b86;background:#15211af5;box-shadow:0 0 0 1px #131b15,0 10px 35px #00000018}
.room-tasks .plan-heading{padding:18px 20px 15px}.room-tasks .plan-heading h2{font-size:24px}.room-tasks .plan-panel-content{padding:13px 20px 18px}
.room-tasks .todo-capture.needs-task{margin:3px 0 12px;padding:11px}.room-tasks .needs-task .new-task-form{padding:8px 6px}
.room-tasks .inline-planning-controls{margin:10px 0 0}.room-tasks .calendar-toolbar{margin:15px 0}.room-tasks .inline-schedule-content{max-height:none}
.plan-edit-toggle{font-size:12px;padding:2px 0 6px;gap:6px}.plan-edit-toggle .icon{width:12px;height:12px;transition:transform .2s}.plan-edit-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}
.room-tasks .planning-options{padding-top:15px}.room-tasks .study-time{margin-bottom:0}.room-tasks .editable-rhythm{gap:5px;font-size:11px}.room-tasks .inline-planning-controls .plan-button{margin-top:9px}.room-tasks .inline-schedule{margin-top:10px;padding-top:12px}
.scene-dock{position:absolute;bottom:24px;left:24px;display:flex;align-items:flex-end;gap:12px;z-index:3}
.sound-control{position:relative}.sound-bar,.distraction-trigger{display:flex;align-items:center;gap:10px;min-height:46px;border:1px solid #d3c7a446;border-radius:11px;background:#14201cea;backdrop-filter:blur(18px);box-shadow:0 5px 20px #0002}
.sound-bar{padding:6px 9px 6px 7px;gap:7px}.sound-play{width:32px;height:32px;display:grid;place-items:center;color:#e5c688;border-radius:7px;background:#eab1550e}.sound-play:hover{background:#eab1551b}.sound-play .icon{width:16px;height:16px}
.sound-settings{font-size:13px;display:flex;align-items:center;gap:18px;padding:5px 4px;color:#e3ddcc}.sound-settings>.icon{height:13px;width:13px;color:var(--muted)}.sound-settings[aria-expanded=true]>.icon{transform:rotate(180deg)}
.scene-dock .sounds-panel{position:absolute;bottom:calc(100% + 12px);left:0;top:auto;width:288px;padding:18px 20px;background:#14201cf5;backdrop-filter:blur(20px);border-color:#c7bb9c5c;box-shadow:0 8px 28px #0003}
.scene-dock .sounds-panel .panel-heading{margin:0 0 16px;gap:8px}.scene-dock .sounds-panel h2{font-size:21px;line-height:1.3}.scene-dock .sounds-panel .icon-button{width:26px;height:26px}.scene-dock .sound-row{grid-template-columns:18px 44px minmax(0,1fr) 22px;font-size:12px;margin:19px 0;gap:9px}.scene-dock .sound-row output{font-size:11px}
.sound-mix-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px;font-size:12px;color:var(--muted)}
.distraction-trigger{padding:11px 15px;font-size:13px;color:#e1dccd;cursor:pointer}.distraction-trigger:hover{border-color:#dbc58d88;background:#1c291feb}.distraction-trigger>.icon{width:17px;height:17px;color:#d7be85}.distraction-trigger>small{border-left:1px solid var(--border);padding-left:9px;font-size:11px;color:var(--muted)}
.later-modal{max-width:590px}.later-modal .dialog-header h2{font-size:30px}.later-modal .dialog-header p{font-size:13px;line-height:1.6}.later-dialog{padding:24px}.later-composer{padding:15px;border-color:#c6b58466}.later-composer textarea{font-size:15px;line-height:1.7}.later-reassurance{font-size:12px}.later-list-heading h3{font-size:21px}.later-list-heading>span{font-size:12px}.later-dialog .notes-list li{font-size:14px}
@media(max-width:1190px){
 .lobby,.catalog{padding:26px}.dashboard-grid,.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr) 318px;gap:25px}.page-heading,.catalog .page-heading{font-size:30px}.hero-room{height:360px}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.small-room>div{font-size:15px;padding:11px 9px}.small-room>div>.icon{display:none}.task-panel .plan-heading{padding:20px}.plan-panel-content{padding:18px 20px 20px}.study-time{gap:8px}.task-panel .editable-rhythm{gap:5px;font-size:11px}.room-rail{right:22px;top:22px;bottom:22px;width:300px}.scene-dock{left:22px;bottom:22px}
}
@media(max-width:980px){
 .lobby,.catalog{padding:24px}.dashboard-grid,.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr) 302px;gap:24px}.page-heading,.catalog .page-heading{font-size:28px}.hero-room{height:330px}.alternatives{grid-template-columns:repeat(2,minmax(0,1fr))}.small-room>img{aspect-ratio:1.8}.alternatives-heading>span{display:none}.room-card h2{font-size:20px}.room-card-info p{font-size:12px}.task-panel .plan-heading h2{font-size:24px}.plan-heading>span{font-size:10px}.task-panel .plan-panel-content{padding:18px}.task-panel .study-time>label{font-size:12px}.task-panel .hours-control>button{width:25px}.room-rail{width:290px;top:20px;right:20px;bottom:20px}.room-tasks .plan-heading{padding:17px 18px 14px}.room-tasks .plan-panel-content{padding:12px 18px 17px}.room-tasks .task-title{font-size:13px}.scene-dock{left:20px;bottom:20px;gap:9px}.distraction-trigger{font-size:12px;padding:11px 12px}.sound-settings{gap:11px}
}
@media(max-width:820px){
 .dashboard-grid,.catalog .dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-side{position:static}.task-panel{max-height:none}.plan-panel-content{overflow:visible}.hero-room{height:380px}.alternatives{grid-template-columns:repeat(4,minmax(0,1fr))}.small-room>img{aspect-ratio:1.4}.dashboard-side{margin-top:3px}.task-panel .plan-heading h2{font-size:27px}.plan-heading>span{font-size:12px}.study-time{justify-content:flex-start;gap:24px}.study-time>label{font-size:14px}.task-panel .editable-rhythm{justify-content:flex-start;gap:10px;font-size:12px}.task-row .task-title{font-size:15px}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog .room-grid{gap:16px}.task-panel .inline-schedule-content{max-height:260px;overflow:auto}.in-room .app-header{gap:13px;padding:0 20px}.in-room .brand{font-size:34px}.in-room .header-divider{display:none}.in-room .room-title{max-width:220px;font-size:17px}.in-room .header-right{gap:3px}
}
@media(min-width:681px){.room-tasks .plan-panel-content{overflow:auto}}
@media(max-width:680px){
 body.in-room{overflow:auto}.in-room .app-header{height:60px}.room-screen{height:auto;min-height:100svh;padding:548px 0 20px;overflow:visible}.room-background{height:524px;bottom:auto}.room-background:after{background:linear-gradient(transparent 70%,#111b17)}.room-background img{object-position:42% center}.room-screen:after{display:none}.room-particles{height:510px}.room-rail{position:static;display:contents;pointer-events:auto}.room-rail>.timer-panel{position:absolute;top:20px;right:16px;bottom:auto;left:auto;width:222px;padding:14px 16px}.timer-panel .timer-time{font-size:38px}.timer-panel .timer-primary{font-size:11px;padding:7px 9px;gap:4px}.timer-main{gap:8px}.timer-panel .timer-task-name{font-size:11px;margin:10px 0}.timer-panel .timer-next{font-size:11px}.timer-topline{margin-bottom:5px}.room-rail>.room-tasks{position:relative;margin:0 16px;width:calc(100% - 32px);max-height:none;overflow:visible}.room-tasks .plan-heading{padding:20px}.room-tasks .plan-heading h2{font-size:27px}.room-tasks .plan-panel-content{padding:15px 20px 20px;overflow:visible}.room-tasks .task-title{font-size:16px}.room-tasks .inline-schedule-content{max-height:220px;overflow:auto}.room-tasks .study-time{justify-content:space-between;gap:12px}.room-tasks .editable-rhythm{justify-content:center;font-size:12px;gap:8px}.scene-dock{top:453px;bottom:auto;left:16px;right:auto;gap:10px}.scene-dock .sounds-panel{width:min(288px,calc(100vw - 32px))}.sound-settings{gap:13px}.distraction-trigger{font-size:12px}.room-tasks .new-task-form input[name=title]{font-size:16px}.plan-edit-toggle{font-size:13px;min-height:32px}.room-tasks .calendar-toolbar .text-button{font-size:12px}.in-room .header-right>.icon-button[data-action=fullscreen]{display:none}.in-room .header-right>.icon-button[data-action=preferences]{display:flex}.in-room .header-right>.icon-button[data-action=appearance]{display:flex}.in-room .header-right>.icon-button{width:30px;height:32px}.in-room .room-title{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;font-size:16px}.in-room .room-title .icon{width:12px}.in-room .nav-link{font-size:12px;gap:3px}.in-room .nav-link .icon{width:14px}.in-room .brand{font-size:30px;gap:7px}.in-room .brand .icon{width:22px}.in-room .app-header{gap:10px;padding:0 16px}
}
@media(max-width:500px){
 .app-header{height:64px;padding:0 18px;gap:16px}.brand{font-size:34px}.header-divider{display:none}.main-nav{gap:17px}.nav-link{font-size:13px}.local-profile{border:0;padding:0}.header-right{gap:5px}.header-right>.icon-button[data-action=mute]{display:none}.lobby,.catalog{padding:24px 18px}.page-heading,.catalog .page-heading{font-size:30px}.hero-room{height:330px}.hero-content h2{font-size:25px}.alternatives{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.small-room>img{aspect-ratio:1.6}.small-room>div{font-size:17px;padding:12px}.room-card-info{padding:13px}.room-card h2{font-size:19px}.room-card-info p{min-height:35px;font-size:12px}.room-card img{aspect-ratio:1.3}.catalog .filters{gap:3px!important}.filter{font-size:12px;padding:7px 11px}.plan-panel-content{padding:18px 20px 22px}.task-panel .plan-heading{padding:20px}.study-time{justify-content:space-between;gap:12px}.study-time>label{font-size:14px}.hours-value input{font-size:16px;width:44px}.hours-control>button{width:30px}.task-title,.new-task-form input[name=title]{font-size:16px}.task-minutes input,.room-tasks .task-minutes input{font-size:14px;width:33px}.inline-planning-controls .plan-button{font-size:14px;min-height:44px}.task-panel .editable-rhythm{justify-content:center;font-size:12px;gap:7px}.editable-rhythm input{font-size:15px;width:32px}.task-links .text-button{font-size:13px}.calendar-toolbar .text-button{font-size:12px}.inline-time-window input{font-size:15px}.later-modal{width:calc(100vw - 24px)}.later-dialog{padding:19px}.later-modal .dialog-header h2{font-size:28px}.later-list-heading h3{font-size:19px}.later-composer textarea{font-size:16px}
}
@media(max-width:370px){.in-room .room-title{max-width:103px}.in-room .header-right>.icon-button[data-action=appearance]{display:none}.scene-dock{gap:7px}.sound-settings{gap:7px}.distraction-trigger{padding:11px 10px;gap:7px}.distraction-trigger>small{padding-left:6px}.task-panel .editable-rhythm{gap:4px;font-size:11px}.plan-heading h2,.task-panel .plan-heading h2{font-size:24px}}

/* Dashboard columns share the top and bottom edges of the room collection. */
.dashboard-grid,.catalog .dashboard-grid{align-items:stretch}
.dashboard-side{position:relative;top:auto;align-self:stretch;min-height:520px;gap:0;margin-top:0}
.dashboard-side>.task-panel{position:absolute;inset:0;max-height:none;height:100%;min-height:0}
.dashboard-side .plan-panel-content{display:flex;flex-direction:column;flex:1;overflow:auto}
.dashboard-side .study-time,.dashboard-side .todo-capture{flex-shrink:0}
.dashboard-side .inline-planning-controls{margin-top:auto;padding-top:10px;flex-shrink:0}
.dashboard-side .task-panel>.saved-foot{flex-shrink:0;padding:13px 22px;border-top:1px solid #c6c6ab22;background:#10191220;font-size:11px;color:var(--muted)}
.catalog .room-grid{align-content:start}
@media(max-width:820px){
 .dashboard-side{position:static;min-height:0}
 .dashboard-side>.task-panel{position:static;height:auto;max-height:none}
 .dashboard-side .plan-panel-content{overflow:visible}
 .dashboard-side .inline-planning-controls{margin-top:0}
}

/* Scene controls remain independent of the dashboard layout. */
body.in-room{overflow:hidden}
.in-room .app-header{position:absolute;inset:0 0 auto;z-index:5;transition:transform .25s ease,opacity .2s ease,visibility .25s;background:#101a17e8;backdrop-filter:blur(16px)}
.in-room #main{min-height:0}
.room-screen{height:100dvh;min-height:0;padding:0;overflow:hidden}
.room-background{inset:0;height:100%;min-height:0}
.room-particles{height:100%}
.room-rail{position:absolute;top:88px;right:24px;bottom:88px;width:314px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;z-index:3;pointer-events:none;transition:transform .25s ease,opacity .2s ease,visibility .25s}
.room-rail>[hidden]{display:none!important}
.room-rail>.panel{animation:unfold-window .22s ease both}
.room-rail>.timer-panel{position:relative;inset:auto;width:100%;padding:18px 20px 17px;max-height:100%;overflow:auto}
.room-rail>.room-tasks{position:relative;inset:auto;margin:0;width:100%;max-height:100%;min-height:0;overflow:hidden}
.room-tasks .plan-panel-content{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#adab8b45 transparent}
.room-tasks .plan-heading{gap:10px;flex-shrink:0}
.room-tasks .plan-heading>span{display:none}
.room-tasks .plan-heading h2{margin-right:auto}
.minimize-window{flex:none;border:1px solid #d8cbaa24;border-radius:6px;color:#d3cfbc}
.minimize-window:hover{background:#d8cbaa14;border-color:#d8cbaa70}
.room-tasks .minimize-window{width:28px;height:28px}
.minimize-window .icon{width:14px;height:14px}
.scene-tab{display:flex;align-items:center;gap:9px;flex:0 0 auto;min-height:42px;padding:10px 13px;border:1px solid #d8cbaa45;border-radius:10px;background:#14201cdc;backdrop-filter:blur(18px);box-shadow:0 4px 18px #0002;color:#e9e2cf;font-size:12px;pointer-events:auto;animation:unfold-window .2s ease both;transition:background .2s,border-color .2s}
.scene-tab:hover{background:#1f2d24f5;border-color:#d8cbaa85}
.scene-tab>.icon{width:15px;height:15px;color:#d1bb8b}
.scene-tab>.icon:last-child{width:12px;height:12px;opacity:.65;margin-left:2px}
.tab-countdown{font-variant-numeric:tabular-nums;font-size:13px;border-left:1px solid #d8cbaa30;padding-left:10px;color:#f4e6c7}
.scene-dock{top:auto;bottom:24px;left:24px;right:auto;transition:transform .25s ease,opacity .2s ease,visibility .25s}
.scene-visibility-toggle{position:absolute;z-index:6;bottom:24px;right:24px;display:flex;align-items:center;gap:8px;min-height:42px;padding:10px 13px;border:1px solid #d8cbaa40;border-radius:10px;color:#e6dfcc;background:#14201cd9;backdrop-filter:blur(14px);font-size:12px;transition:background .2s,border-color .2s,opacity .2s}
.scene-visibility-toggle .icon{width:16px;height:16px}
.scene-visibility-toggle:hover,.scene-visibility-toggle:focus-visible{background:#1c2b23f2;border-color:#d8cbaa88;opacity:1}
.scene-clear .app-header{transform:translateY(-100%);opacity:0;visibility:hidden}
.scene-clear .room-rail{transform:translateX(30px);opacity:0;visibility:hidden}
.scene-clear .scene-dock{transform:translateY(30px);opacity:0;visibility:hidden}
.scene-clear .scene-visibility-toggle{padding:10px;width:42px;justify-content:center;opacity:.72;background:#14201c9c}
.scene-clear .scene-visibility-toggle>span{display:none}
.scene-clear .scene-visibility-toggle:hover,.scene-clear .scene-visibility-toggle:focus-visible{opacity:1}
@keyframes unfold-window{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:680px){
 .room-rail{top:80px;right:16px;bottom:82px;width:min(314px,calc(100vw - 32px));gap:10px}
 .room-rail>.timer-panel{width:100%;padding:18px 20px}
 .room-rail>.room-tasks{width:100%;margin:0;max-height:100%;overflow:hidden}
 .room-tasks .plan-panel-content{overflow:auto;padding:15px 20px 20px}
 .room-tasks .plan-heading{padding:16px 20px}
 .room-tasks .plan-heading h2{font-size:24px}
 .room-background:after{background:#070e1409}
 .scene-dock{left:16px;bottom:20px;gap:8px}
 .scene-visibility-toggle{right:16px;bottom:20px;width:42px;padding:10px;justify-content:center}
 .scene-visibility-toggle>span{display:none}
 .distraction-trigger{width:44px;min-height:46px;padding:11px;justify-content:center}
 .distraction-trigger>span,.distraction-trigger>small{display:none}
 .scene-dock .sounds-panel{max-height:calc(100dvh - 160px);overflow:auto}
 .scene-tab{min-height:42px}
}
@media(max-height:600px){
 .room-rail{top:76px;bottom:74px}
 .scene-dock,.scene-visibility-toggle{bottom:16px}
 .scene-dock .sounds-panel{max-height:calc(100dvh - 155px);overflow:auto}
}
@media(prefers-reduced-motion:reduce){
 .in-room .app-header,.room-rail,.scene-dock,.scene-visibility-toggle,.scene-tab{transition:none}
 .room-rail>.panel,.scene-tab{animation:none}
}

/* A movable distraction pad keeps the room and its controls available. */
.distraction-window{position:fixed;z-index:7;left:24px;top:100px;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 112px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #c9b78385;border-radius:13px;background:#16231ef7;backdrop-filter:blur(20px);box-shadow:0 14px 48px #0005;color:var(--text);transition:opacity .18s ease,visibility .18s}
.pad-titlebar{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:9px 12px 9px 8px;border-bottom:1px solid #c6c6ab25;background:#f1d59c04}
.pad-drag-handle{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:7px 5px;color:#eee2c7;cursor:grab;touch-action:none;user-select:none;text-align:left}
.pad-drag-handle>span{font:23px var(--serif);letter-spacing:-.3px}.pad-drag-handle>.icon{width:17px;height:17px;color:#a8b09d}
.pad-titlebar>.icon-button{width:29px;height:29px;border:1px solid #d5c5a32b;border-radius:6px;flex:none}
.pad-titlebar>.icon-button>.icon{width:14px;height:14px}
.distraction-window.is-dragging .pad-drag-handle{cursor:grabbing}.distraction-window.is-dragging{box-shadow:0 18px 60px #0006}
.pad-body{padding:16px 18px 18px;overflow:auto;min-height:0;scrollbar-width:thin;overscroll-behavior:contain}
.pad-intro{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:13px}
.distraction-window .later-composer{display:block;margin:0;padding:12px;border:1px solid #c9b7834d;background:#101b1640;border-radius:8px}
.distraction-window .later-composer textarea{display:block;width:100%;min-height:84px;max-height:180px;font:14px/1.6 var(--sans);resize:vertical;border:0;padding:0 0 10px;background:none;color:var(--text)}
.distraction-window .later-composer .row{gap:8px;align-items:center}
.distraction-window .later-composer select{max-width:150px;min-width:0;padding:7px 6px;font-size:11px}
.distraction-window .later-composer .primary{font-size:11px;padding:8px 10px;white-space:nowrap;gap:5px}
.distraction-window .later-composer .primary .icon{width:13px;height:13px}
.pad-save-status{min-height:18px;font-size:11px;color:#b9c6a8;padding-top:5px;margin-bottom:6px}
.pad-list-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:13px;gap:10px}
.pad-list-heading h3{font:18px var(--serif)}.pad-list-heading>span{font-size:11px;color:var(--muted)}
.pad-notes{max-height:180px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;margin-top:9px}
.pad-notes .notes-list{max-height:none;margin:0}.pad-notes .notes-list li{font-size:12px;line-height:1.6;padding:10px 0}.pad-notes .notes-list li>span{white-space:pre-wrap;overflow-wrap:anywhere}.pad-notes .notes-list button{flex-shrink:0}
.pad-empty{font-size:12px;line-height:1.6;color:var(--muted);padding:3px 0 0}
.scene-clear .distraction-window{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:500px){.distraction-window .later-composer textarea{font-size:16px}.pad-body{padding:14px}.pad-drag-handle>span{font-size:22px}.pad-notes{max-height:140px}}
@media(prefers-reduced-motion:reduce){.distraction-window{transition:none}}

/* Thought type stays readable without a native white popup. */
.thought-picker{position:relative;flex:0 1 auto;min-width:0}
.distraction-window .thought-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:33px;min-width:124px;padding:7px 9px;border:1px solid #c9b78355;border-radius:7px;background:#17251e;color:#f4ead8;font-size:11px;text-align:left}
.distraction-window .thought-picker-trigger:hover,.distraction-window .thought-picker-trigger[aria-expanded=true]{border-color:#d7b976;background:#223126}
.distraction-window .thought-picker-trigger>.icon{width:12px;height:12px;color:#c7bb9d}
.thought-picker-menu{position:absolute;left:0;bottom:calc(100% + 7px);z-index:2;min-width:170px;padding:5px;background:#1b2b22;border:1px solid #c9b78388;border-radius:9px;box-shadow:0 8px 24px #0006}
.distraction-window .thought-picker-menu>[role=option]{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:35px;padding:8px 9px;border-radius:5px;color:#f4ead8;font-size:12px;text-align:left;outline-offset:-2px}
.distraction-window .thought-picker-menu>[role=option]:hover,.distraction-window .thought-picker-menu>[role=option]:focus-visible{background:#35442f;color:#fff2cf;outline:1px solid #d7b976}
.distraction-window .thought-picker-menu>[aria-selected=true]{background:#eab15518;color:#f3cc87}
.distraction-window .thought-picker-menu>[role=option]>.icon{width:13px;height:13px;visibility:hidden}
.distraction-window .thought-picker-menu>[aria-selected=true]>.icon{visibility:visible}

/* Keep task entry comfortable inside the narrow scene rail. */
.todo-capture .new-task-form,.room-tasks .todo-capture .new-task-form{display:flex;flex-direction:column;gap:8px;margin:12px 0 4px;padding:10px;border:1px solid #c7d2bc35;border-radius:9px;background:#ffffff03;transition:border-color .15s ease}
.todo-capture .new-task-form:focus-within{border-color:#d2b4779c}
.todo-capture .new-task-form input[name=title]{display:block;flex:none;width:100%;height:34px;min-width:0;margin:0;padding:5px 2px;border:0;border-radius:3px;background:transparent;color:var(--text);font-size:14px;line-height:24px}
.todo-capture .new-task-form input[name=title]::placeholder{color:#a9afa1}
.todo-capture .new-task-form input[name=title]:focus{outline:none;background:#ffffff03}
.new-task-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.new-task-duration{display:flex;align-items:center;gap:4px;height:32px;padding:0 8px 0 4px;border:1px solid #c7d2bc35;border-radius:6px;background:#ffffff03;color:var(--muted);font-size:12px;cursor:text}
.new-task-duration:focus-within{border-color:#d2b4779c;background:#eab15508}
.todo-capture .new-task-form input[name=minutes]{width:35px;height:30px;margin:0;padding:0 2px;border:0;border-radius:3px;background:transparent;font-size:13px;line-height:30px;text-align:center;font-variant-numeric:tabular-nums}
.todo-capture .new-task-form input[name=minutes]:focus{outline:none}
.todo-capture .new-task-form button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:32px;margin:0;padding:6px 9px;border:1px solid #eab15533;border-radius:6px;background:#eab15512;color:#efc57f;font-size:12px;line-height:18px;white-space:nowrap}
.todo-capture .new-task-form button:hover{background:#eab15524;border-color:#eab15570}
.todo-capture .new-task-form button:focus-visible{outline:1px solid var(--accent);outline-offset:2px}
.todo-capture .new-task-form button .icon{width:15px;height:15px}
.todo-capture:has(.new-task-form) .task-links [data-action=add-task]{display:none}
.todo-capture:has(.new-task-form) .task-links{justify-content:flex-end}
/* Highlight the control being edited, without surrounding the entire task list. */
.todo-capture:not(.needs-task):focus-within{border-color:transparent;background:transparent}
.task-title:focus{border-bottom:0;box-shadow:inset 0 -1px #d2b4779c;outline:none}
.task-minutes input:focus{outline:none}
@media(max-width:680px){.todo-capture .new-task-form input[name=title],.todo-capture .new-task-form input[name=minutes]{font-size:16px}}
@media(prefers-reduced-motion:reduce){.todo-capture .new-task-form{transition:none}}

/* Blender loops share the exact framing and color of their still posters. */
.room-card a[href="#room/hearth"]>img,.small-room[href="#room/hearth"]>img{object-position:right center}
.room-background .scene-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%;opacity:0;pointer-events:none}
.room-background .scene-video.is-ready{opacity:1}
@media(max-width:680px){.room-background .scene-video{object-position:42% center}}

/* A compact audio player; its persistent audio element lives outside this panel. */
.sounds-panel{width:min(330px,calc(100vw - 32px))}
.sound-row{grid-template-columns:18px 74px minmax(0,1fr) 24px;gap:8px}
.sound-row input[type=range]{min-width:0;width:100%;height:32px;touch-action:pan-y}
.sound-bar{min-height:48px}.sound-play{width:44px;height:44px;flex-shrink:0}
.music-trigger{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-left:1px solid var(--border);font-size:12px;color:var(--text)}
.music-trigger .icon{width:16px}.music-trigger:hover{color:var(--accent)}
.music-window{position:fixed;z-index:45;left:max(24px,env(safe-area-inset-left));top:calc(84px + env(safe-area-inset-top));width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;border-color:#b5aa8266;box-shadow:0 16px 60px #0006;background:#18241e;scrollbar-width:thin}
.music-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 17px}
.music-heading h2{font:23px var(--serif);margin:0}.music-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}
.music-heading button{width:44px;height:44px;font-size:25px;flex-shrink:0}
.music-embed{height:214px;min-height:200px;background:#101813}
.music-embed iframe{display:block;width:100%;height:100%;border:0}
.music-info{padding:14px 18px 16px}.music-track{font-size:14px;line-height:1.4;color:var(--text);margin:0}
.music-artist{font-size:11px;color:var(--muted);margin:4px 0 12px;line-height:1.5}
.music-transport{display:flex;justify-content:space-between;align-items:center;gap:12px}.music-transport button{min-height:40px;font-size:12px}.music-transport span{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}
.music-volume{grid-template-columns:64px minmax(0,1fr) 24px;margin:10px 0}
.music-ambience{border-top:1px solid var(--border);margin:0 0 10px}.music-ambience summary{padding:11px 0;font-size:12px;color:var(--muted);cursor:pointer}.music-ambience .sound-row{margin:4px 0}.music-ambience .text-button{min-height:40px}
.music-status{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0 8px}
.music-source{font-size:11px;color:var(--accent)}.music-service-note{display:block;color:var(--muted);font-size:10px;margin-top:7px}
/* Keep the fire and cockpit in the frame as the viewport changes orientation. */
.room-screen[data-room=hearth] .room-background img,.room-screen[data-room=hearth] .scene-video{object-position:100% center}
.room-screen[data-room=space] .room-background img,.room-screen[data-room=space] .scene-video{object-position:50% center}
@media(max-width:680px){
 .music-window{left:max(16px,env(safe-area-inset-left));top:calc(76px + env(safe-area-inset-top));width:calc(100vw - 32px);max-height:calc(100dvh - 152px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 .music-embed{height:max(200px,calc((100vw - 34px)*.5625))}
 .scene-dock{left:max(16px,env(safe-area-inset-left));bottom:calc(16px + env(safe-area-inset-bottom));gap:8px}
 .scene-visibility-toggle{right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom))}
 .sound-settings{padding-right:10px}.music-trigger{padding:0 9px}.music-trigger span{display:none}
 .room-rail{right:max(16px,env(safe-area-inset-right));top:calc(80px + env(safe-area-inset-top));bottom:calc(82px + env(safe-area-inset-bottom))}
 .room-screen[data-room=hearth] .room-background img,.room-screen[data-room=hearth] .scene-video{object-position:100% center}
 .room-screen[data-room=space] .room-background img,.room-screen[data-room=space] .scene-video{object-position:48% center}
}
@media(max-height:600px) and (min-width:681px){
 .music-window{top:16px;left:max(20px,env(safe-area-inset-left));max-height:calc(100dvh - 32px)}
 .room-rail{right:max(20px,env(safe-area-inset-right))}.scene-dock{left:max(20px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom))}
}
.music-window.panel{padding:0}
.sound-row input[type=range]{background:transparent}
.sound-row input[type=range]::-webkit-slider-runnable-track{height:3px;background:#45504b;border-radius:3px}
.sound-row input[type=range]::-webkit-slider-thumb{margin-top:-6px;height:15px;width:15px}
.sound-row input[type=range]::-moz-range-track{height:3px;background:#45504b;border-radius:3px}
.sound-row input[type=range]::-moz-range-thumb{height:15px;width:15px}
.scene-dock .sounds-panel{width:min(330px,calc(100vw - 32px))}
.scene-dock .sound-row{grid-template-columns:18px 74px minmax(0,1fr) 24px;gap:8px}
.scene-dock .sounds-panel .icon-button{width:40px;height:40px;flex-shrink:0}

.music-window{width:340px}
.music-heading{border-bottom:1px solid var(--border);padding:12px 16px}
.music-heading h2{font-size:23px}.music-heading p{font-size:10px}
.music-current{display:flex;align-items:center;gap:13px;margin:3px 0 15px}
.music-current>div{min-width:0}.music-track{font-size:15px;overflow-wrap:anywhere}.music-current .music-artist{margin:4px 0 0}
.music-record{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:50%;border:1px solid #9d997766;background:repeating-radial-gradient(circle,#18251e 0 4px,#2b382d 5px 6px);color:#edbc6b;font-size:22px}
.music-seek{display:block;width:100%;height:20px;margin:0;accent-color:var(--accent)}
.music-time{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums;margin:0 0 10px}
.music-transport{justify-content:center;gap:13px;margin-bottom:10px}.music-transport .icon-button{width:44px;height:44px;font-size:28px}.music-transport .outline-button{min-width:134px;min-height:42px}
.music-window .music-volume{grid-template-columns:48px minmax(0,1fr) 24px;margin:8px 0}
.music-credit{display:flex;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid var(--border);font-size:10px;line-height:1.4;color:var(--muted)}
.music-credit a{color:var(--muted)}.music-credit a:hover{color:var(--accent)}
.music-window .music-status{font-size:11px;margin:6px 0 12px}
.playlist-chooser{margin:-4px 0 16px;border-bottom:1px solid var(--border);padding-bottom:10px}
.playlist-chooser summary{font-size:12px;color:var(--muted);cursor:pointer;padding:6px 0}
.playlist-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px}
.playlist-options button{min-height:60px;border:1px solid var(--border);border-radius:8px;text-align:left;padding:10px;color:var(--text);font-size:12px;background:#ffffff03}
.playlist-options button small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.playlist-options button[aria-pressed=true]{border-color:var(--accent);background:#eab35412}
.playlist-options button:hover{background:#ffffff0a}
.youtube-option{font-size:11px;min-height:40px;margin-top:6px}
.youtube-window{position:fixed;z-index:46;right:max(24px,env(safe-area-inset-right));bottom:84px;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 170px);display:flex;flex-direction:column;overflow:hidden;background:#18241e;border-color:#b5aa8266;box-shadow:0 16px 60px #0006}
.youtube-window.panel{padding:0}.youtube-window .music-heading{flex-shrink:0;padding:8px 12px}.youtube-window .music-heading h2{font-size:21px}.youtube-window .music-heading p{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.youtube-setup{padding:14px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}.youtube-setup[hidden]{display:none}
.youtube-setup label{font-size:12px;color:var(--muted)}.youtube-setup input[type=text],.youtube-input input{box-sizing:border-box;display:block;width:100%;min-width:0;font-size:12px;padding:11px;border:1px solid var(--border);border-radius:7px;background:#101a16;color:var(--text);margin-top:8px}
.youtube-input{display:flex;gap:8px;margin:8px 0}.youtube-input input{margin:0;flex:1}.youtube-input button{flex-shrink:0;padding:8px}
.youtube-actions{display:flex;align-items:center;gap:16px;margin:12px 0}.youtube-actions button{font-size:12px;min-height:40px}
.youtube-search,.youtube-saved,.youtube-privacy{border-top:1px solid var(--border);padding-top:12px;margin-top:12px}
.youtube-search summary,.youtube-privacy summary{font-size:12px;color:var(--muted);cursor:pointer;padding:3px 0}
.youtube-help,.youtube-empty,.youtube-privacy p{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0}
.youtube-saved h3{font:19px var(--serif);display:flex;justify-content:space-between}.youtube-saved h3 span{font:11px var(--sans);color:var(--muted)}
.youtube-saved-row{display:flex;gap:8px;border-bottom:1px solid #ffffff0b;align-items:center}.youtube-saved-use{flex:1;min-width:0;text-align:left;font-size:12px;padding:11px 0;overflow-wrap:anywhere;color:var(--text)}.youtube-saved-row>.icon-button{width:32px;flex-shrink:0;color:var(--muted)}
.youtube-consent{display:flex;align-items:flex-start;gap:7px;margin:12px 0 0;line-height:1.5}.youtube-consent input{margin-top:3px;flex-shrink:0;accent-color:var(--accent)}
.youtube-window a{color:var(--accent)}.youtube-result{display:block;width:100%;text-align:left;padding:11px 0;border-bottom:1px solid var(--border);color:var(--text);font-size:12px;line-height:1.4}.youtube-result small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.youtube-video{padding:0 12px;flex-shrink:0}.youtube-video[hidden]{display:none}.youtube-video iframe{display:block;width:100%;height:200px;min-height:200px;border:0;background:#0c1510}
.youtube-footer{display:flex;align-items:center;gap:12px;padding:10px 14px;flex-shrink:0;border-top:1px solid var(--border)}.youtube-footer button{font-size:11px;white-space:nowrap}.youtube-footer p{font-size:10px;line-height:1.5;color:var(--muted);margin:0}
@media(max-width:680px){.youtube-setup input[type=text],.youtube-input input{font-size:16px}.youtube-window{right:16px;bottom:80px;max-height:calc(100dvh - 152px)}.youtube-window .music-heading p{max-width:230px}}
@media(max-height:540px){.youtube-window{top:8px;bottom:auto;max-height:calc(100dvh - 16px)}.youtube-window.has-video .youtube-setup{max-height:80px}.youtube-window .music-heading{padding:3px 12px}.youtube-footer{padding:6px 12px}}
.music-trigger.is-playing,.header-right [data-action=music].is-playing{color:var(--accent)}
.music-trigger.is-playing .icon{filter:drop-shadow(0 0 4px #eab15555)}
@media(max-width:680px){.music-window{width:min(340px,calc(100vw - 32px))}}

/* Music opens as six calm station presets; player detail is a separate view. */
.music-window-simple{width:344px}
.music-window-simple .music-heading{padding:10px 16px;border-bottom:0}
.music-tabs{display:flex;gap:4px;margin:0 16px;border-bottom:1px solid var(--border);flex-shrink:0}
.music-tabs button{flex:1;padding:10px 7px;color:var(--muted);font-size:12px;border-bottom:2px solid transparent;min-height:40px}
.music-tabs button[aria-pressed=true]{color:var(--accent);border-bottom-color:var(--accent)}
.music-tabs button:hover{color:var(--text)}
[data-music-page][hidden],[data-yt-page][hidden],.youtube-footer[hidden],.youtube-player-links[hidden],.music-status[hidden]{display:none!important}
.music-stations{padding:12px 16px 10px}.station-intro{font-size:11px;color:var(--muted);margin:0 0 12px;line-height:1.5}
.station-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.station-card{position:relative;min-width:0;min-height:73px;padding:12px 10px;border:1px solid #acb4a127;border-radius:9px;text-align:left;color:var(--text);background:#ffffff02;transition:background .15s,border-color .15s}
.station-card:hover{border-color:#eab35480;background:#eab3540a}.station-card:active{background:#eab35416}
.station-number{position:absolute;right:8px;top:7px;font-size:9px;letter-spacing:.05em;color:#abb3a26b}
.station-name{display:block;font:17px var(--serif);line-height:1.2;padding-top:5px}
.station-card small{display:block;font-size:9px;letter-spacing:.015em;color:var(--muted);margin-top:6px}
.music-search-link{display:flex;width:100%;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);padding:14px 0 4px;min-height:40px}.music-search-link:hover{color:var(--accent)}
.music-window-simple .music-info{padding:14px 16px 10px}
.music-window-simple .playlist-chooser{margin:0 0 13px;padding:0;border:0}
.music-window-simple .playlist-chooser summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0;font-size:12px;color:var(--accent);list-style:none}
.music-window-simple .playlist-chooser summary::-webkit-details-marker{display:none}.playlist-change{font-size:10px;color:var(--muted)}
.music-window-simple .music-current{margin:0 0 10px}.music-window-simple .music-track{font-size:16px}.music-window-simple .music-artist{font-size:11px}
.music-window-simple .music-time{font-size:9px;margin-bottom:5px}
.music-window-simple .music-transport{justify-content:flex-start;gap:5px;margin:2px 0 6px}
.music-window-simple .music-transport .icon-button{width:32px;height:36px;min-height:36px;font-size:24px}
.music-window-simple .music-play-button{display:grid;place-items:center;background:var(--accent);color:#17241c;width:38px;height:38px;border-radius:50%;font-size:13px;min-height:38px;flex-shrink:0}
.music-window-simple .music-volume{display:flex;align-items:center;gap:7px;flex:1;min-width:0;margin:0 0 0 12px;color:var(--muted);font-size:16px}
.music-window-simple .music-volume input{min-width:0;width:100%;height:28px;accent-color:var(--accent)}
.music-window-simple .device-volume-note{margin-left:auto;font-size:10px;color:var(--muted)}
.music-about{margin-top:7px;border-top:1px solid var(--border);padding-top:8px}
.music-about summary{color:var(--muted);font-size:10px;cursor:pointer;padding:4px 0}.music-about>p{font-size:10px;color:var(--muted);margin:7px 0}.music-about .music-credit{border:0;padding:0 0 4px;line-height:1.6}
.youtube-tabs{margin:0 0 14px}.youtube-tabs button{font-size:11px;padding:8px 6px;min-height:36px}
.youtube-paste{margin-top:16px;border-top:1px solid var(--border);padding-top:12px}.youtube-paste summary{font-size:12px;color:var(--muted);cursor:pointer;padding:4px 0}
.youtube-saved-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin:4px 0 8px}.youtube-saved-heading button{font-size:11px}
.youtube-selection{font:23px var(--serif);margin:4px 0 8px}.youtube-connect{margin-top:15px;width:100%;min-height:42px;font-size:12px}
.youtube-window .youtube-privacy{padding-top:10px;margin-top:12px}.youtube-window .youtube-privacy summary{font-size:10px}
.youtube-footer{display:block}.youtube-player-links{display:flex;align-items:center;justify-content:space-between;gap:10px}.youtube-player-links a{font-size:10px;color:var(--muted)}
.youtube-footer p:not([hidden]){margin-top:6px}.youtube-footer:not(:has(.youtube-player-links:not([hidden]))) p{margin:0}
.youtube-loading{min-height:200px;display:grid;place-items:center;margin:0;font-size:12px;color:var(--muted)}
.youtube-load-failure{min-height:200px;display:flex;flex-direction:column;justify-content:center;padding:20px 10px}
.youtube-load-failure h3{font:23px var(--serif);margin:0 0 10px}.youtube-load-failure p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.youtube-recovery-actions{display:flex;align-items:center;gap:16px;margin-top:18px}.youtube-recovery-actions button{font-size:12px;min-height:40px}
@media(max-width:680px){.music-window-simple{width:min(344px,calc(100vw - 32px))}.station-card{min-height:72px}.station-name{font-size:17px}}
@media(prefers-reduced-motion:reduce){.station-card{transition:none}}
.music-window-simple .music-play-button span{color:#17241c;font-size:13px;line-height:1}
.music-window-simple .music-volume input{appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}
.music-window-simple .music-volume input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:#45504b}
.music-window-simple .music-volume input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:12px;width:12px;border-radius:50%;border:0;background:var(--accent);margin-top:-4.5px}
.music-window-simple .music-volume input::-moz-range-track{height:3px;border-radius:3px;background:#45504b}
.music-window-simple .music-volume input::-moz-range-thumb{height:12px;width:12px;border-radius:50%;border:0;background:var(--accent)}

/* Scene presets stay in the existing compact sound mixer. */
.scene-audio-button{width:auto;min-width:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px}
.scene-audio-button span{font-size:11px;white-space:nowrap}
.scene-audio-button span[hidden],.scene-audio-message[hidden]{display:none}
.scene-audio-setup{border-top:1px solid var(--border);padding-top:10px;margin-top:8px}
.scene-audio-auto{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:40px;font-size:12px;cursor:pointer}
.scene-audio-auto input{appearance:none;-webkit-appearance:none;width:32px;height:20px;min-height:20px;padding:0;border:1px solid #84917e;border-radius:12px;background:#3d4840;cursor:pointer;position:relative;flex-shrink:0}
.scene-audio-auto input:before{content:'';position:absolute;width:12px;height:12px;left:3px;top:3px;border-radius:50%;background:#d3d7cc;transition:transform .16s ease}
.scene-audio-auto input:checked{background:var(--accent);border-color:var(--accent)}
.scene-audio-auto input:checked:before{transform:translateX(12px);background:#253226}
.scene-playlist{margin:2px 0 0}
.scene-playlist summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;cursor:pointer}
.scene-playlist summary::-webkit-details-marker{display:none}
.scene-playlist summary>span{color:var(--muted);white-space:nowrap}
.scene-playlist summary strong{margin-left:auto;font-weight:400;color:var(--text);text-align:right;font-size:11px}
.scene-playlist summary svg{width:12px;flex-shrink:0}
.scene-playlist-options{display:grid;gap:3px;padding:4px 0 8px}
.scene-playlist-options button{display:flex;align-items:center;justify-content:space-between;min-height:40px;text-align:left;padding:8px 10px;border:1px solid transparent;border-radius:7px;font-size:12px;color:var(--muted)}
.scene-playlist-options button[aria-pressed=true]{border-color:#b5a67261;background:#e9b4530c;color:var(--accent)}
.scene-playlist-options button:hover{background:#f3e6c80b;color:var(--text)}
.scene-playlist-options svg{width:15px;height:15px}
.scene-audio-reset{font-size:10px;min-height:36px;color:var(--muted)}
.scene-audio-reset:hover{color:var(--accent)}
.scene-audio-message{max-width:330px;margin:0 0 10px;padding:12px 14px;background:#14201cf5;border:1px solid var(--border);border-radius:9px;color:var(--text);font-size:12px;line-height:1.5}
@media(prefers-reduced-motion:reduce){.scene-audio-auto input:before{transition:none}}
.scene-audio-auto input:checked:after{content:none}
.scene-dock .sounds-panel{max-height:calc(100dvh - 170px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.scene-media-retry{position:absolute;top:88px;left:24px;z-index:4;max-width:calc(100vw - 48px);padding:10px 14px;border:1px solid var(--border);border-radius:9px;background:#14201cf2;color:var(--text);font-size:12px}
.scene-media-retry[hidden]{display:none}.scene-media-retry:hover{border-color:var(--accent)}
.preferences select[data-scene-quality]{max-width:160px;font-size:12px;min-height:42px;background:var(--surface)}
@media(max-width:680px){.scene-media-retry{top:185px;left:16px}}
.scene-clear .scene-media-retry{opacity:0;visibility:hidden;pointer-events:none}

/* Weekly goals: soft cards on the dashboard, compact bubbles inside the scene. */
.weekly-board{padding:22px;margin:0 0 22px;background:linear-gradient(145deg,#d6daa109,transparent 70%),var(--surface);border-color:#b3bf8e40}
.weekly-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.weekly-heading h2{font-size:27px;line-height:1.3}.weekly-eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:10px;margin-bottom:6px}.weekly-heading>.outline-button{font-size:12px;padding:9px 14px;min-height:40px}
.weekly-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:370px;overflow:auto;padding:3px;scrollbar-width:thin}.weekly-goal{min-width:0;padding:17px;border:1px solid #c5cead36;border-radius:20px;background:#ffffff03;transition:transform .22s ease,border-color .22s ease,background .22s ease}.weekly-goal:hover{border-color:#d5c99b70;background:#ffffff05}.weekly-goal.is-current{border-color:#eab1558a;background:#eab15507}.goal-card-top{display:flex;align-items:flex-start;gap:10px}.goal-card-top>div{min-width:0;flex:1}.goal-card-top h3{font:19px/1.3 var(--serif);overflow-wrap:anywhere}.goal-card-top p{font-size:11px;color:var(--muted);margin-top:5px}.goal-orb{width:35px;height:35px;flex:0 0 35px;border-radius:13px 16px 12px 17px;display:grid;place-items:center;background:#bfcba119;color:#c6d4a5;transform:rotate(-6deg)}.goal-orb>.icon{width:19px;height:19px}.goal-card-top .goal-edit{height:28px;width:28px;flex-shrink:0;margin:-4px -5px 0 0}.goal-progress{margin:16px 0 8px;height:4px;border-radius:5px;background:#9aa88926;overflow:hidden}.goal-progress>span{display:block;height:100%;border-radius:5px;background:#bfce9a;transition:width .6s ease}.goal-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.goal-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;min-width:0}.goal-gentle{font-size:10px;color:var(--faint);max-width:45%}.goal-start{border:1px solid #d9c58a48;border-radius:24px;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--accent);min-height:40px}.goal-start:hover{background:#eab15515;transform:translateY(-1px)}.goal-start>.icon{width:14px;height:14px}.weekly-empty{grid-column:1/-1;text-align:center;padding:12px 16px 18px}.goal-seed{display:inline-grid;place-items:center;background:#bfcd9520;color:#c2d4a5;width:43px;height:43px;border-radius:16px 22px 18px 24px;transform:rotate(-8deg);margin-bottom:13px}.weekly-empty h3{font-size:23px}.weekly-empty p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 15px}.weekly-empty .outline-button{min-height:40px;font-size:12px;padding:9px 15px}.weekly-local{font-size:10px;color:var(--faint);display:flex;gap:6px;align-items:center;margin:15px 3px 0}.weekly-local>.icon{width:12px;height:12px}.weekly-help{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 13px}.weekly-history{margin:15px 3px 0;border-top:1px solid var(--border);padding-top:10px}.weekly-history summary{cursor:pointer;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;min-height:36px}.weekly-history summary>.icon{width:14px;height:14px}.weekly-history summary>span{margin-left:auto;font-size:10px}.weekly-history>div{max-height:240px;overflow:auto;scrollbar-width:thin}.weekly-history button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--border);text-align:left;font-size:12px}.weekly-history button small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.weekly-history button>.icon{width:14px;height:14px}.weekly-history button:hover{color:var(--accent)}
.goal-plan-tabs{display:flex;gap:5px;margin:14px 18px 0;padding:4px;border-radius:28px;background:#0002;flex-shrink:0}.goal-plan-tabs>button{flex:1;padding:8px 10px;border-radius:22px;font-size:12px;min-height:38px;color:var(--muted);transition:background .2s,color .2s}.goal-plan-tabs>button[aria-selected=true]{background:#f0deb616;color:var(--text);box-shadow:0 1px 4px #0002}.goal-plan-tabs>button span{display:inline-block;min-width:18px;font-size:10px;margin-left:5px;border-radius:10px;background:#eab15518;color:var(--accent)}
.weekly-goals.compact{display:flex;flex-direction:column;max-height:none;padding:2px}.compact .weekly-goal{padding:14px;border-radius:17px;cursor:grab}.compact .weekly-goal:active{cursor:grabbing}.compact .goal-card-top h3{font-size:18px}.compact .goal-card-top p{font-size:10px}.compact .goal-orb{width:28px;height:28px;flex-basis:28px}.compact .goal-orb>.icon{width:16px;height:16px}.compact .goal-gentle{display:none}.goal-drag-handle{display:flex;align-items:center;gap:2px;color:var(--muted);font-size:10px;cursor:grab;touch-action:none;min-height:42px;padding:3px 0}.goal-drag-handle>.icon{width:16px;height:16px}.goal-drag-handle:hover{color:var(--accent)}.compact .weekly-empty{padding:8px 2px 15px}.compact .weekly-empty h3{font-size:21px}.compact .weekly-empty p{font-size:11px}.compact .goal-start{font-size:11px;padding:7px 11px;flex-shrink:0}
.goal-form{display:flex;flex-direction:column;gap:23px}.goal-form>label{display:flex;flex-direction:column;gap:9px;font-size:13px}.goal-form input[name=title]{width:100%;min-height:46px;font-size:14px}.goal-form .goal-estimate-field{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.goal-estimate-field small{display:block;max-width:250px;font-size:11px;line-height:1.6;color:var(--muted);margin-top:4px}.goal-estimate-field>span:last-child{display:flex;align-items:center;gap:7px;flex-shrink:0;font-size:12px;color:var(--muted)}.goal-estimate-field input{width:65px;text-align:center;min-height:44px}.goal-rhythm{border:1px solid var(--border);border-radius:15px;padding:13px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;margin:0}.goal-rhythm legend{padding:0 8px;font-size:12px;color:var(--muted)}.goal-rhythm label{display:flex;align-items:center;gap:7px;font-size:11px;min-width:0}.goal-rhythm input{width:49px;padding:8px 3px;text-align:center;min-height:42px}.goal-rhythm>span{font-size:10px;color:var(--faint)}.goal-form-note{font-size:11px;line-height:1.8;color:var(--muted)}.goal-form>.primary{align-self:flex-end;min-height:44px;font-size:12px}.goal-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.goal-room-choice{padding:0;text-align:left;border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:transform .22s,border-color .22s}.goal-room-choice:hover{transform:translateY(-3px);border-color:var(--accent)}.goal-room-choice img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}.goal-room-choice>span{display:flex;align-items:center;justify-content:space-between;font:17px var(--serif);padding:12px;gap:10px}.goal-room-choice>span>.icon{width:15px;height:15px}
.goal-mode .timer-time{font-size:42px}.goal-mode .timer-main{gap:10px}.goal-mode .timer-primary{font-size:11px;padding:9px 11px;min-height:39px}.goal-mode .timer-task-name{line-height:1.5;white-space:normal;overflow-wrap:anywhere}.goal-mode .timer-track{margin:14px 0}.goal-time-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.goal-time-balance strong{font-size:17px;font-weight:400;color:var(--text);font-variant-numeric:tabular-nums}.goal-time-balance strong.overtime{color:var(--accent)}.goal-timer-total{color:var(--faint);font-size:10px;margin-top:4px}.goal-timer-footer{display:flex;justify-content:space-between;gap:12px;margin:12px 0 0}.goal-timer-footer .text-button{font-size:10px;min-height:32px}.goal-mode .timer-next{border-top:1px solid var(--border);padding-top:11px;margin-top:8px;font-size:10px}.goal-check-in{padding:12px;background:#e6c88c0b;border:1px solid #e6c88c30;border-radius:13px;margin-top:13px;animation:goal-pop .4s ease}.goal-check-in p{font-size:12px;margin-bottom:10px}.goal-check-in>div{display:flex;gap:7px}.goal-check-in button{font-size:10px;padding:8px 11px;min-height:38px;gap:5px}.goal-check-in button>.icon{width:14px;height:14px}.goal-check-in[hidden],.goal-timer-footer [hidden],#today-goals-panel[hidden],#week-goals-panel[hidden]{display:none!important}.goal-history-totals{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.goal-history-totals>div{padding:18px;border:1px solid var(--border);border-radius:17px}.goal-history-totals strong{font:30px var(--serif);display:block}.goal-history-totals span{font-size:11px;color:var(--muted)}.goal-history-body>p{font-size:12px;color:var(--muted);line-height:1.8}.goal-history-body h3{margin:24px 0 10px;font-size:21px}.goal-history-body ul{list-style:none;padding:0;margin:0 0 20px;max-height:220px;overflow:auto}.goal-history-body li{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px}.goal-history-body li strong{font-weight:400;text-align:right;white-space:nowrap}.goal-history-body li small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.goal-history-body>.outline-button{font-size:12px;margin-top:16px}
.goal-arrived{animation:goal-pop .6s cubic-bezier(.2,1,.4,1)}@keyframes goal-pop{0%{transform:translateY(12px) scale(.96);opacity:.65}60%{transform:translateY(-3px) scale(1.01)}100%{transform:none;opacity:1}}
.goal-dropzone{position:absolute;inset:25px 380px 90px 25px;border:1px dashed #e8dcb480;border-radius:28px;background:#14201b35;display:grid;place-items:center;pointer-events:none;z-index:8}.goal-dropzone[hidden]{display:none}.goal-dropzone>span{display:flex;align-items:center;gap:12px;padding:18px 24px;border:1px solid #d8cc9d70;border-radius:30px;background:#1c2a22eb;box-shadow:0 12px 50px #0003;font:22px var(--serif);color:#f4ead8}.goal-dropzone .icon{color:#c6d3a6}
.goal-flying-orb,.goal-touch-ghost{position:fixed;left:0;top:0;width:40px;height:40px;display:grid;place-items:center;border-radius:15px;background:#d5dcad;color:#293a2c;z-index:80;pointer-events:none;box-shadow:0 5px 25px #0003}.goal-touch-ghost{margin:-20px}.goal-celebration{position:fixed;z-index:40;left:50%;bottom:100px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);width:max-content;padding:20px;border:1px solid #cfdaae75;border-radius:24px;background:#233428f5;box-shadow:0 16px 70px #0005;animation:celebration-arrive .55s cubic-bezier(.2,1,.4,1)}.celebration-flower{width:45px;height:45px;display:grid;place-items:center;border-radius:18px 23px 17px 24px;background:#cfdbab;color:#31452a;transform:rotate(-8deg);flex-shrink:0}.goal-celebration strong{font:23px var(--serif);color:#f6eedb}.goal-celebration p{font-size:11px;color:#c0cbb6;margin-top:5px;overflow-wrap:anywhere}.goal-celebration .icon-button{align-self:flex-start;flex-shrink:0}.goal-celebration i{position:absolute;left:50%;top:30%;width:calc(5px + var(--i)*.6px);height:calc(5px + var(--i)*.6px);border-radius:50%;background:#dcc28c;pointer-events:none;opacity:0;animation:goal-bubbles 1.2s calc(var(--i)*35ms) ease-out}.goal-celebration i:nth-of-type(even){background:#b9d7b3}@keyframes goal-bubbles{0%{transform:translate(0,0) scale(.4);opacity:0}20%{opacity:.8}100%{transform:translate(calc((var(--i) - 4)*37px),calc(-60px - var(--i)*6px)) scale(1.3);opacity:0}}@keyframes celebration-arrive{0%{opacity:0;transform:translate(-50%,20px) scale(.94)}70%{transform:translate(-50%,-3px) scale(1.015)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
.calm-light .weekly-goal{background:#fff5}.calm-light .goal-orb,.calm-light .goal-seed{color:#577244;background:#78984c19}.calm-light .goal-progress{background:#7b8e7126}.calm-light .goal-progress>span{background:#7b966a}.calm-light .goal-plan-tabs{background:#33442208}
@media(min-width:1100px){.weekly-board~.hero-room{height:270px;min-height:0}.weekly-board~.alternatives .small-room>img{height:115px}}
@media(max-width:1000px){.weekly-goals{grid-template-columns:1fr}.weekly-board~.hero-room{height:290px}.goal-gentle{max-width:60%}}
@media(max-width:680px){.weekly-board{padding:17px;margin-bottom:18px}.weekly-heading{gap:10px}.weekly-heading h2{font-size:23px}.weekly-heading>.outline-button{font-size:11px;padding:8px 10px}.weekly-eyebrow{font-size:9px}.weekly-goals{max-height:420px}.goal-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.goal-room-choice>span{font-size:15px;padding:11px 9px}.goal-form .goal-estimate-field{gap:12px}.goal-estimate-field small{max-width:190px}.goal-form input[name=title]{font-size:16px}.goal-rhythm{gap:5px;padding:10px}.goal-rhythm label{gap:5px;font-size:10px}.goal-rhythm input{width:42px}.goal-celebration{bottom:85px;gap:10px;padding:15px;width:calc(100vw - 32px)}.goal-celebration strong{font-size:21px}.goal-dropzone{inset:15px 15px 100px;align-items:end;padding-bottom:20px}.goal-dropzone>span{font-size:17px;padding:12px 18px}}
@media(prefers-reduced-motion:reduce){.weekly-goal,.goal-progress>span,.goal-plan-tabs>button,.goal-room-choice,.goal-arrived,.goal-check-in,.goal-celebration,.goal-celebration i{animation:none;transition:none}.goal-celebration i{display:none}.goal-start:hover,.goal-room-choice:hover{transform:none}}
.lobby>.weekly-board .weekly-goals{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));max-height:275px}.lobby>.weekly-board .weekly-goal:only-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,280px);gap:0 28px}.lobby>.weekly-board .weekly-goal:only-child .goal-card-top{grid-row:1/3}.lobby>.weekly-board .weekly-goal:only-child .goal-progress{margin-top:8px}.lobby>.weekly-board .weekly-goal:only-child .goal-card-bottom{grid-column:1/-1;margin-top:9px}.lobby>.weekly-board .weekly-empty{padding:0 12px 8px}.lobby>.weekly-board .weekly-empty .goal-seed{display:none}.lobby>.weekly-board .weekly-local{margin-top:11px}
@media(max-width:680px){.lobby>.weekly-board .weekly-goal:only-child{display:block}.lobby>.weekly-board .weekly-goals{max-height:340px}.lobby>.weekly-board .weekly-goal:only-child .goal-progress{margin-top:16px}}
@media(max-width:500px){body:not(.in-room) .app-header{gap:12px}body:not(.in-room) .main-nav{gap:14px}body:not(.in-room) .nav-link{font-size:11px;white-space:nowrap}body:not(.in-room) .header-right{gap:5px}body:not(.in-room) .brand{font-size:32px;gap:7px}body:not(.in-room) .brand>.icon{width:24px}body:not(.in-room) .header-session{padding:4px 7px;font-size:10px}body:not(.in-room) .header-right>.icon-button{width:26px}}

/* A shared, quiet two-list menu: task details first, optional planning underneath. */
.dashboard-side:has(.unified-task-panel){align-self:start;min-height:0;height:auto;position:sticky;top:24px}
.dashboard-side .unified-task-panel{position:relative;inset:auto;padding:0;min-height:0;height:auto;max-height:calc(100svh - 130px);flex:0 1 auto}
.unified-task-panel .menu-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 20px 16px;flex-shrink:0}
.unified-task-panel .menu-heading h2{font:25px var(--serif);letter-spacing:-.3px;margin:0}
.task-menu-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 14px;padding:4px;border:1px solid var(--border);border-radius:10px;background:#0f191526;flex-shrink:0}
.task-menu-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 4px;border-radius:6px;min-height:41px;font-size:12px;color:var(--muted);white-space:nowrap;transition:background .18s,color .18s}
.task-menu-tabs button[aria-selected=true]{background:#c7bc9420;color:var(--text);box-shadow:0 1px 4px #0002}
.task-menu-tabs button span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.menu-drag-hint{font-size:10px;line-height:1.5;color:var(--muted);margin:11px 18px 0;flex-shrink:0}
.unified-task-panel .plan-panel-content{padding:0 14px 14px;overflow:auto;min-height:0}
.menu-list-summary{font-size:10px;color:var(--faint);margin:17px 4px 9px;letter-spacing:.1px}
.menu-task-list{list-style:none;padding:0;margin:0}
.menu-task{padding:9px 0 8px;border-bottom:1px solid var(--border);border-radius:7px;transition:background .2s;animation:task-settle .24s ease both}
.menu-task:hover{background:#d2c39905}.menu-task.is-current{background:#eab15509}
.menu-task-main{display:grid;grid-template-columns:18px 16px minmax(0,1fr) auto 28px;gap:8px;align-items:center}
.menu-delete{display:grid;place-items:center;width:28px;min-height:32px;padding:0;color:var(--muted);border-radius:6px}
.menu-delete .icon{width:15px;height:15px}
.menu-delete:hover{color:#efb0a2;background:#efb0a212}
.menu-delete:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(pointer:coarse){.menu-delete{min-height:40px}}
.menu-grip{width:22px;min-height:32px;padding:0;color:var(--faint);cursor:grab;touch-action:none;display:grid;place-items:center}
.menu-grip .icon{width:15px;height:18px;stroke-width:3}
.menu-task input[type=checkbox]{width:16px;height:16px;margin:0;cursor:pointer}
.menu-task-title{padding:7px 0;min-width:0;width:100%;font-size:13px;border:0;background:transparent;text-overflow:ellipsis;border-radius:3px;color:var(--text)}
.menu-task-title:focus-visible{outline:1px solid #eab15590;outline-offset:3px}
.menu-time{padding:5px 7px;min-width:40px;min-height:30px;border:1px solid var(--border);border-radius:6px;font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);background:#d2c39905}
.menu-time:hover{border-color:#eab15580;color:var(--accent)}
.menu-task-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:1px 0 0 50px;min-height:28px}
.menu-task-meta>span{font-size:9px;color:var(--faint);line-height:1.45;min-width:0}
.menu-task.is-current .menu-task-meta>span{color:#dbbf84}
.menu-task-meta>div{display:flex;gap:5px;flex-shrink:0}
.menu-task-meta button{display:flex;align-items:center;gap:4px;font-size:10px;padding:5px;min-height:28px;color:var(--muted);border-radius:5px}
.menu-task-meta .icon{width:12px;height:12px}.menu-task-meta button:hover{background:#c7bc9412;color:var(--text)}
.menu-task-meta .menu-start{color:var(--accent)}
.menu-task.is-done .menu-task-title{text-decoration:line-through;color:var(--muted)}
.menu-task.is-done .menu-grip{visibility:hidden}
.menu-empty{font:16px/1.65 var(--serif);color:var(--muted);padding:11px 4px 20px;margin:0}
.menu-composer{border:1px solid #cbbb8b50;border-radius:9px;background:#c7bc9405;margin:17px 0 3px;overflow:hidden}
.menu-composer>input{border:0;border-radius:0;background:none;display:block;padding:13px 12px;font-size:13px;width:100%;min-height:44px}
.menu-composer>input:focus-visible{outline:none;box-shadow:inset 0 -1px 0 #eab15580}
.menu-composer:focus-within{border-color:#eab15590}
.menu-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 9px 9px}
.menu-composer label{display:flex;align-items:center;gap:0;min-width:0}
.menu-composer label input{width:43px;font-size:11px;padding:5px 2px;border:0;background:none;text-align:center;appearance:textfield}
.menu-composer label input::-webkit-inner-spin-button{appearance:none}
.menu-composer select{font-size:11px;padding:5px 2px;border:0;background:none;color:var(--muted);width:57px}
.menu-composer option,.goal-form option{background:#19251f;color:#f4ead8}
.menu-composer button{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:11px;min-height:32px;padding:5px 8px;border-radius:6px;background:#eab1550d}
.menu-composer button .icon{width:14px;height:14px}.menu-composer button:hover{background:#eab15520}
.menu-form-error{margin:0;padding:5px 12px 12px;font-size:11px;line-height:1.5;color:#f1c77e}
.menu-completed summary{color:var(--muted);font-size:11px;padding:16px 4px 5px;cursor:pointer}.menu-completed summary span{margin-left:5px}
.menu-settings{margin:19px 4px 0;border-top:1px solid var(--border)}
.menu-settings>summary{display:flex;align-items:center;gap:7px;padding:17px 0 2px;font-size:11px;color:var(--muted);cursor:pointer;list-style:none}
.menu-settings>summary::-webkit-details-marker{display:none}.menu-settings>summary .icon{width:14px;height:14px}.menu-settings>summary .icon:last-child{margin-left:auto}
.menu-settings[open]>summary .icon:last-child{transform:rotate(180deg)}
.menu-settings [data-menu-planning]{padding-top:21px}.unified-task-panel .study-time{margin-bottom:15px}.unified-task-panel .planning-options{padding:0}
.unified-task-panel .inline-planning-controls{margin-top:0}.unified-task-panel .calendar-toolbar{margin-top:0}.unified-task-panel .saved-foot{flex-shrink:0;margin:0;padding:12px 18px;border-top:1px solid var(--border);font-size:10px}
.menu-remove{align-self:center;justify-content:center;color:var(--muted)}
.task-menu-tabs button.task-drop-hover,[data-menu-scope].task-drop-hover{outline:2px dashed var(--accent);outline-offset:-2px;background:#eab15516}
.task-dragging a[href^="#room/"].task-drop-hover{outline:3px solid var(--accent);outline-offset:3px}
.task-dragging .menu-grip{cursor:grabbing}
@keyframes task-settle{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:681px){.room-rail:has(.unified-task-panel){width:330px}.room-rail>.unified-task-panel{flex:0 1 auto}}
@media(max-width:900px){.dashboard-side:has(.unified-task-panel){position:static}.dashboard-side .unified-task-panel{max-height:680px}}
@media(max-width:680px){.unified-task-panel .menu-heading{padding:17px 18px 13px}.menu-task-title,.menu-composer>input{font-size:16px}.menu-task-meta button{min-height:36px}.menu-time{min-height:36px}.menu-grip{min-height:38px}.room-rail>.unified-task-panel{max-height:calc(100dvh - 190px)}.unified-task-panel .plan-panel-content{overflow:auto}.task-menu-tabs button{min-height:44px}.menu-composer button{min-height:38px}}
@media(prefers-reduced-motion:reduce){.menu-task{animation:none}.task-menu-tabs button,.menu-task{transition:none}}

@media(min-width:901px){.catalog .dashboard-side .unified-task-panel{max-height:max(400px,calc(100svh - 285px))}.lobby .dashboard-side .unified-task-panel{max-height:max(400px,calc(100svh - 195px))}}
.task-dragging{user-select:none;-webkit-user-select:none}.task-dragging .menu-task-title{pointer-events:none}

/* Quieter controls: one rhythm shortcut, one music source row. */
.timer-next-row{display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);margin-top:12px;padding-top:8px}
.timer-panel .timer-next-row .timer-next{border:0;padding:0;margin:0;flex:0 1 auto;line-height:1.6;font-size:11px}
.timer-next-row .rhythm-pencil{width:30px;height:30px;min-height:30px;flex:0 0 30px;color:var(--muted);border-radius:7px}
.rhythm-pencil .icon{width:13px;height:13px}.rhythm-pencil:hover{color:var(--accent);background:#eab1550c}
.rhythm-inputs{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.rhythm-form .rhythm-inputs label{gap:10px;font-size:13px;color:var(--muted)}
.rhythm-inputs label>span{display:flex;align-items:center;gap:9px}.rhythm-inputs input{width:100%;min-width:0;font-size:22px;padding:13px 12px;color:var(--text);font-variant-numeric:tabular-nums}
.rhythm-form .goal-form-note{margin:0;line-height:1.7}
.music-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 16px 3px}
.music-sources button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 5px;border:1px solid var(--border);border-radius:9px;color:var(--muted);font-size:11px;transition:background .18s,color .18s}
.music-sources button .icon{width:17px;height:17px;stroke-width:1.65}.music-sources button:hover{background:#eab1550b;color:var(--text)}
.music-sources button[aria-pressed=true]{background:#eab1550d;color:var(--accent);border-color:#eab15550}
.spotify-window{position:fixed;left:24px;top:calc(var(--header-h,80px) + 20px);z-index:75;width:370px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 132px);overflow:auto;box-shadow:0 16px 60px #0005;padding:0;border-radius:20px}
.spotify-body{padding:16px}.spotify-body form>label{font-size:12px;color:var(--muted);display:block;margin-bottom:12px}.spotify-input{display:flex;gap:8px}.spotify-input input{min-width:0;flex:1;font-size:12px;padding:11px;border-radius:8px}.spotify-input button{font-size:12px;padding:8px 13px;border-radius:8px}
.spotify-message{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0}.spotify-body iframe{display:block;border:0;border-radius:12px;background:#121212}
.spotify-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 10px;font-size:11px;color:var(--muted)}.spotify-links a{color:var(--accent)}.spotify-links button{font-size:11px}.spotify-window .music-about p{line-height:1.7}.spotify-window [hidden]{display:none!important}
.unified-task-panel .menu-heading{padding-bottom:13px}.menu-task-meta{padding-top:3px}.menu-task-meta>span{font-size:10px}.menu-list-summary{margin-top:14px}.menu-drag-hint{color:var(--faint)}
.goal-mode .goal-timer-footer{margin-top:9px}.goal-timer-footer .text-button{font-size:11px}
@media(max-width:680px){.spotify-window{left:16px;top:96px;max-height:calc(100dvh - 180px)}.spotify-input input,.rhythm-inputs input{font-size:16px}.rhythm-pencil{min-width:36px}.music-sources button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.music-sources button{transition:none}}
/* Let the list scroll without scrolling its fixed heading out of the panel. */
.room-rail>.unified-task-panel,.dashboard-side .unified-task-panel{overflow:clip}
.goal-mode .timer-track{margin:10px 0}.goal-mode .timer-task-name{margin:9px 0 10px}
.goal-mode .goal-timer-total{font-size:10px}.goal-mode .timer-next-row{margin-top:8px;padding-top:5px}
.spotify-window{background:#18241e;border-color:#b5aa8266;overscroll-behavior:contain;scrollbar-width:thin}

/* Coastal room context belongs with its saved sound mix. */
.scene-sound-note{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 15px;max-width:270px}

/* AI agent dock (agents.js): a quiet top-bar status and a panel of agent sessions. */
.agent-slot{display:contents}
.agent-dock-button{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;border:1px solid var(--border);border-radius:20px;padding:6px 11px;position:relative;white-space:nowrap;transition:color .15s,border-color .15s,background .15s}
.agent-dock-button .icon{width:16px;height:16px}
.agent-dock-button:hover{color:var(--accent);border-color:#eab15566}
.agent-dock-button.busy .icon{animation:agent-breathe 2.4s ease-in-out infinite}
.agent-dock-button.needs{color:var(--accent);border-color:#eab15599;background:#eab15512}
.agent-dock-button.offline{opacity:.6}
.agent-dock-button.held:after{content:'';position:absolute;top:2px;right:2px;width:7px;height:7px;border-radius:50%;background:#8fb39a}
.agent-badge{font-weight:600;font-size:10px;min-width:17px;height:17px;border-radius:9px;background:var(--accent);color:#26251c;display:inline-grid;place-items:center;padding:0 5px}
@keyframes agent-breathe{50%{opacity:.45}}
dialog:has(.agent-dialog){width:min(760px,calc(100vw - 38px))}
.agent-dialog,.agent-panel{display:flex;flex-direction:column;gap:18px}
.agent-group>h3{font:500 11px var(--sans);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;display:flex;gap:8px}
.agent-group>h3 span{color:var(--faint)}
.agent-card{border:1px solid var(--border);border-radius:12px;padding:14px 16px;background:#ffffff04;margin-bottom:10px;display:flex;flex-direction:column;gap:6px}
.agent-card.unread{border-color:#eab15559}
.agent-card header{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);min-width:0}
.agent-card header time{margin-left:auto;color:var(--faint);white-space:nowrap}
.agent-project{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-source{border:1px solid var(--border);border-radius:10px;padding:1px 7px;color:var(--text);white-space:nowrap}
.agent-card h3{font:17px/1.35 var(--serif);margin:0;overflow-wrap:anywhere;color:var(--text)}
.agent-status{font-size:12px;color:var(--muted);display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;margin:0}.agent-status i{align-self:center}
.agent-status i{width:7px;height:7px;border-radius:50%;background:var(--faint);flex:none}
.agent-status b{font-weight:500;color:var(--text);white-space:nowrap}
.status-working .agent-status i{background:#8fb39a;animation:agent-breathe 1.6s ease-in-out infinite}
.status-needs-you .agent-status i,.status-waiting .agent-status i{background:var(--accent)}
.status-error .agent-status i{background:#d9826b}
.status-done .agent-status i{background:#8fb39a}
.agent-line{font-size:12.5px;line-height:1.55;margin:0;color:#e3dac7;overflow-wrap:anywhere}
.agent-line span{display:inline-block;min-width:56px;color:var(--faint);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;margin-right:6px}
.agent-line.outcome{color:var(--text)}
.agent-card footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px;font-size:11px;color:var(--faint)}
.agent-link{display:flex;align-items:center;gap:6px;color:var(--muted)}
.agent-link select{max-width:240px;font-size:12px;padding:5px 8px}
.agent-activity{margin-left:auto}
.agent-card footer .text-button{padding:2px 0;color:var(--accent)}
.agent-settings{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding-top:16px;font-size:12px;color:var(--muted)}
.agent-settings .checkbox-label{display:flex;gap:9px;align-items:start}
.agent-privacy{font-size:11.5px;line-height:1.65;color:var(--faint);margin:0}
.agent-connect{display:flex;flex-direction:column;gap:16px}
.agent-lede{font-size:14px;line-height:1.6;color:var(--text);margin:0}
.agent-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}
.agent-steps b{color:var(--text);font-weight:500}
.agent-ok{color:#8fb39a}.agent-wait{color:var(--faint)}
.agent-pair-form{display:flex;gap:10px;align-items:stretch}
.agent-pair-form input{flex:1;max-width:230px;font:600 18px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;padding:10px 14px}
.agent-message{font-size:12px;color:var(--accent);margin:0}
.agent-empty{color:var(--muted);font-size:13px;margin:0}
.calm-light .agent-card{background:#ffffff26}
@media(max-width:900px){.agent-dock-text{display:none}.agent-dock-button{padding:7px}}
@media(max-width:500px){.agent-dock-button{border:0;padding:5px}.agent-dock-button .icon{width:19px;height:19px}.agent-activity{margin-left:0}.agent-pair-form{flex-direction:column}.agent-pair-form input{max-width:none}.agent-settings{flex-direction:column;align-items:start}}
/* Agent dock: Mac app download and automatic discovery. */
.agent-download{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #eab15544;border-radius:12px;background:#eab1550a}
.agent-download b{display:block;font:18px var(--serif);color:var(--text);font-weight:400}
.agent-download span{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.agent-download .primary{text-decoration:none;white-space:nowrap}
.agent-looking{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin:0}
.agent-looking i{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:agent-breathe 1.4s ease-in-out infinite}
.agent-looking.off{color:var(--faint)}
.agent-connect>.outline-button{align-self:start}
@media(max-width:500px){.agent-download{flex-direction:column;align-items:stretch;text-align:left}.agent-download .primary{text-align:center}}
.agent-note{font-size:12px;line-height:1.65;color:#d5bd8f;background:#eab1550d;border-left:2px solid var(--accent);padding:10px 12px;margin:0}
.agent-note b{color:var(--text);font-weight:500}
/* Agent dock: goals with connected chats and their progress. */
.goals{display:flex;flex-direction:column;gap:14px}
.goal-card{border:1px solid var(--border);border-radius:14px;padding:16px 18px;background:#ffffff05;display:flex;flex-direction:column;gap:9px}
.goal-card.confirm{border-color:#eab15566;gap:12px}.goal-card.confirm p{margin:0;font-size:13px}
.goal-confirm{display:flex;gap:14px;align-items:center}
.goal-head{display:flex;align-items:center;gap:12px}
.goal-head h3{font:21px/1.25 var(--serif);margin:0;flex:1;min-width:0;overflow-wrap:anywhere;color:var(--text);text-transform:none;letter-spacing:-.2px}
.goal-pct{font:600 15px var(--sans);color:var(--accent)}
.goal-remove{width:26px;height:26px;opacity:.55}.goal-remove:hover{opacity:1}.goal-remove .icon{width:14px;height:14px}
.goal-bar{height:6px;border-radius:4px;background:#ffffff12;overflow:hidden}
.goal-bar>span{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#b98a3f,var(--accent));transition:width .6s ease}
.goal-summary{margin:0;font-size:13px;line-height:1.55;color:var(--text)}
.gc-status{margin:0;font-size:12px;line-height:1.55;color:#ddd3bf;overflow-wrap:anywhere}
.gc-status span{display:inline-block;margin-right:8px;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.status-needs-you .gc-status,.status-waiting .gc-status{color:#f0cf93}
.goal-chats{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.goal-chat{border:1px solid #c7d2bc1c;border-radius:10px;padding:11px 13px;display:flex;flex-direction:column;gap:5px;background:#00000014}
.goal-chat.missing{opacity:.6}
.gc-head{display:flex;align-items:center;gap:8px;min-width:0}
.gc-dot{width:8px;height:8px;border-radius:50%;background:var(--faint);flex:none}
.status-working .gc-dot{background:#8fb39a;animation:agent-breathe 1.6s ease-in-out infinite}
.status-needs-you .gc-dot,.status-waiting .gc-dot{background:var(--accent)}
.status-error .gc-dot{background:#d9826b}.status-done .gc-dot{background:#8fb39a}
.gc-title{font-weight:500;font-size:14px;line-height:1.4;flex:1;min-width:0;overflow-wrap:anywhere}
.goal-chat .gc-head{align-items:flex-start}.goal-chat .gc-pill,.goal-chat .gc-remove{margin-top:1px}
.gc-pill{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:11px;color:var(--muted);border:1px solid var(--border);border-radius:10px;padding:1px 8px 1px 7px}
.status-needs-you .gc-pill,.status-waiting .gc-pill{color:var(--accent);border-color:#eab15566}
.gc-remove{color:var(--faint);display:grid;place-items:center;width:20px;height:20px;border-radius:50%}.gc-remove:hover{color:var(--text);background:#ffffff10}.gc-remove .icon{width:12px;height:12px}
.gc-where,.pick-where{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:11px;color:var(--faint)}
.gc-app{border:1px solid var(--border);border-radius:9px;padding:0 7px;color:var(--text);font-size:10.5px;line-height:17px}
.gc-project{color:#e6c689;font-weight:500}
.gc-summary{margin:2px 0 1px;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.55;color:var(--text);overflow-wrap:anywhere}
.gc-summary li{position:relative;padding-left:14px}
.gc-summary li::before{content:'';position:absolute;left:2px;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--accent);opacity:.75}
.gc-summary b{font-weight:600;color:#e6c689}
.gc-summary.local{color:#e6ddcb}
.goal-empty{margin:0;font-size:12px;color:var(--faint)}
.goal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:2px}
.goal-foot>.text-button{color:var(--accent);font-size:12.5px}.goal-foot .icon{width:14px;height:14px}
.goal-meta{font-size:11px;color:var(--faint)}.goal-meta .text-button{font-size:11px;padding:0;color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.goal-meta.checking{color:var(--accent)}.goal-meta.error{color:#d9a38f}
.agent-goal-form{display:flex;gap:10px}
.agent-goal-form input{flex:1;min-width:0;padding:10px 13px;font-size:13px}
.agent-goal-form .icon{width:14px;height:14px}
.agent-others{border-top:1px solid var(--border);padding-top:12px}
.agent-others summary{cursor:pointer;font-size:12px;color:var(--muted);list-style-position:inside}
.agent-others summary span{color:var(--faint);margin-left:6px}
.other-chats{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:7px}
.other-chat{display:flex;align-items:center;gap:9px;font-size:12.5px}
.other-chat b{font-weight:500;display:block}.other-chat small{display:block;font-size:11px;color:var(--faint)}
.agent-picker{display:flex;flex-direction:column;gap:14px}
.pick-range{display:inline-flex;align-self:start;border:1px solid var(--border);border-radius:9px;padding:3px;gap:2px}
.pick-range button{font-size:12px;padding:6px 12px;border-radius:7px;color:var(--muted)}
.pick-range button.active{background:#eab1551f;color:var(--text)}
.pick-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:min(52vh,460px);overflow:auto;scrollbar-width:thin}
.pick-row{display:flex;align-items:start;gap:11px;padding:10px 12px;border:1px solid #c7d2bc1c;border-radius:10px;cursor:pointer}
.pick-row:hover{border-color:#eab15544}
.pick-row input{width:16px;height:16px;margin-top:2px;flex:none;accent-color:var(--accent)}
.pick-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.pick-main b{font-weight:500;font-size:13px}.pick-main small{font-size:11px;color:var(--faint)}
.pick-ask{color:var(--muted)!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical;white-space:normal}
.calm-light .goal-card{background:#ffffff26}.calm-light .goal-chat{background:#ffffff1a}
@media(max-width:500px){.agent-goal-form{flex-direction:column}.goal-head h3{font-size:18px}.pick-range button{padding:6px 9px}}

/* ---------------------------------------------------------------- agent chats on to-dos (agents.js) */
.agent-todo-button{display:contents}
.agent-todo-connect .icon{width:14px;height:14px}
.agent-todo:empty{display:none}
.agent-todo{padding:2px 0 0 50px}
/* One quiet line per chat; details open in a popup */
.agent-subs{list-style:none;margin:0;padding:0}
.agent-sub{position:relative;display:flex;align-items:center;border-radius:6px}
.agent-sub:hover,.agent-sub.is-open{background:#ffffff0a}
.agent-sub-main{flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:26px;padding:0 6px;font-size:11.5px;color:#e6ddcb;text-align:left;border-radius:6px}
.agent-sub-dot{width:6px;height:6px;border-radius:50%;flex:none;background:var(--faint)}
.status-working>.agent-sub-main .agent-sub-dot{background:#8fb39a;animation:agent-breathe 1.6s ease-in-out infinite}
.status-needs-you>.agent-sub-main .agent-sub-dot,.status-waiting>.agent-sub-main .agent-sub-dot{background:var(--accent)}
.status-done>.agent-sub-main .agent-sub-dot{background:#8fb39a}
.status-error>.agent-sub-main .agent-sub-dot{background:#d9826b}
.agent-sub-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-sub-state{flex:none;font-size:10px;color:var(--faint)}
.status-needs-you .agent-sub-state,.status-waiting .agent-sub-state{color:var(--accent)}
.agent-sub-tick{position:absolute;right:3px;top:2px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:var(--muted);opacity:0;transition:opacity .15s}
.agent-sub-tick::before{content:'';width:12px;height:12px;border:1px solid currentColor;border-radius:50%;box-sizing:border-box}
.agent-sub:hover .agent-sub-tick,.agent-sub-tick:focus-visible{opacity:1}
.agent-sub:hover .agent-sub-state,.agent-sub:focus-within .agent-sub-state{visibility:hidden}
.agent-sub-tick:hover{color:#8fb39a}
.agent-sub-tick .icon{position:absolute;width:9px;height:9px;stroke-width:3}
.agent-sub.is-checked .agent-sub-dot{background:#8fb39a;animation:none}
.agent-sub.is-checked .agent-sub-label{color:var(--muted);text-decoration:line-through;text-decoration-color:#ffffff38}
.agent-sub.is-checked .agent-sub-tick{opacity:1;color:#1b2a22}
.agent-sub.is-checked .agent-sub-tick::before{background:#8fb39a;border-color:#8fb39a}
@media(hover:none){.agent-sub-tick{opacity:.55}.agent-sub-main{padding-right:30px}}
.agent-subs-done>summary{cursor:pointer;height:22px;display:flex;align-items:center;gap:6px;padding:0 6px;font-size:10.5px;color:var(--faint);list-style:none}
.agent-subs-done>summary::-webkit-details-marker{display:none}
.agent-subs-done>summary::before{content:'';width:4px;height:4px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-45deg);margin:0 2px 0 1px}
.agent-subs-done[open]>summary::before{transform:rotate(45deg)}
.agent-todo-summary{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 6px;font-size:10.5px;color:var(--muted)}
.agent-todo-summary .icon{width:12px;height:12px}
.agent-todo-summary.needs{color:var(--accent)}
/* The popup */
.agent-pop{position:fixed;z-index:70;padding:12px 14px;border-radius:12px;background:#1a2620f5;border:1px solid #c7d2bc2e;box-shadow:0 12px 32px #0000005c;color:var(--text);font-size:12px;line-height:1.5;backdrop-filter:blur(10px)}
.agent-pop[hidden]{display:none}
.agent-pop p{margin:0}
.agent-pop-title{font-weight:600;font-size:13px;overflow-wrap:anywhere}
.agent-pop-where{font-size:10.5px;color:var(--faint);margin-top:1px!important}
.agent-pop-status{display:flex;align-items:center;gap:7px;margin:8px 0 9px!important;color:#ddd3bf}
.agent-pop-status i{width:6px;height:6px;border-radius:50%;flex:none;background:var(--faint)}
.agent-pop-status.status-working i,.agent-pop-status.status-done i{background:#8fb39a}
.agent-pop-status.status-needs-you,.agent-pop-status.status-waiting{color:#f0cf93}
.agent-pop-status.status-needs-you i,.agent-pop-status.status-waiting i{background:var(--accent)}
.agent-pop-line{color:#e6ddcb;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.agent-pop-line+.agent-pop-line{margin-top:6px!important}
.agent-pop-line span{display:block;font-size:9.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--faint)}
.agent-pop-actions{display:flex;gap:16px;margin-top:10px;padding-top:9px;border-top:1px solid #c7d2bc1f}
.agent-pop-actions button{font-size:11px;color:var(--muted)}
.agent-pop-actions button:first-child{color:var(--accent)}
.agent-pop-actions button:hover{color:var(--text)}
/* The one-time prompt: a soft halo on the to-do and one short line under it */
.menu-task.agent-halo{background:#eab15508;box-shadow:0 0 0 1px #eab1553d,0 0 18px #eab1551f}
.agent-nudge{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:4px 8px 2px 0;padding:6px 10px;border-radius:8px;background:#eab15510;font-size:11px;line-height:1.45;color:#eadbb8}
.agent-nudge p{margin:0;flex:1 1 170px;min-width:0}
.agent-nudge b{font-weight:600;color:#f0cf93}
.agent-nudge-actions{display:flex;gap:12px;flex:none}
.agent-nudge-actions button{font-size:11px;color:var(--muted)}
.agent-nudge-actions button:hover{color:var(--text)}
.agent-nudge-actions .go{color:var(--accent);font-weight:600}
/* Your agents: to-do cards and chats not on a to-do */
.gc-check{width:15px;height:15px;flex:none;display:grid;place-items:center;border:1px solid #c7d2bc59;border-radius:50%;color:#1b2a22;padding:0;margin-top:2px}
.gc-check .icon{width:10px;height:10px;stroke-width:3}
.goal-chat.is-checked .gc-check{background:#8fb39a;border-color:#8fb39a}
.goal-chat.is-checked{opacity:.72}
.other-chat>span{flex:1;min-width:0}
.other-assign{flex:none;font-size:11.5px;color:var(--accent)}
.assign-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.assign-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid #c7d2bc1c;border-radius:10px;text-align:left;font-size:13px;color:var(--text)}
.assign-row:hover{border-color:#eab15544}
.assign-row b{font-weight:500;min-width:0;overflow-wrap:anywhere}.assign-row small{flex:none;font-size:11px;color:var(--faint)}
.agent-lede .icon{width:14px;height:14px;vertical-align:-2px}
@media(prefers-reduced-motion:reduce){.status-working>.agent-sub-main .agent-sub-dot{animation:none}.agent-sub-tick{transition:none}}

/* Task-linked chats: one hierarchy, deliberate disclosure, stable status rows. */
.menu-task-meta{flex-wrap:wrap;row-gap:0}
.menu-task-meta>div{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.menu-task-meta .agent-todo-connect{color:var(--muted);font-size:10px;gap:5px}
.agent-todo{padding:6px 0 3px 26px}
.task-chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px;min-height:27px}
.task-chat-toggle{display:flex;align-items:center;gap:6px;min-width:0;font-size:10.5px;color:var(--muted);padding:3px 5px;text-align:left}
.task-chat-toggle:disabled{opacity:1;cursor:default}
.task-chat-toggle>.icon{width:12px;height:12px;flex:none;opacity:.7}
.task-chat-toggle em{font:inherit;color:var(--accent);white-space:nowrap}
.task-chat-manage{display:flex;align-items:center;gap:3px;min-height:28px;padding:3px 6px;font-size:10.5px;color:var(--muted);border-radius:5px}
.task-chat-manage>.icon{width:11px;height:11px}
.task-chat-manage:hover,.task-chat-toggle:not(:disabled):hover{color:var(--text);background:#ffffff08}
.agent-subs{border-left:1px solid #c7d2bc22;margin-left:10px;padding-left:9px;display:flex;flex-direction:column;gap:1px}
.agent-sub{display:block;min-width:0;border-radius:6px}
.agent-sub-main{width:100%;min-height:34px;height:auto;padding:5px 5px 5px 3px;gap:7px;font-size:11.5px;line-height:1.35;color:var(--text)}
.agent-sub-label{font-weight:400}
.agent-sub-state{font-size:9.5px;white-space:nowrap;color:var(--muted)}
.agent-sub:hover .agent-sub-state,.agent-sub:focus-within .agent-sub-state{visibility:visible}
.agent-sub-main>.icon{width:10px;height:10px;flex:none;color:var(--faint);transition:transform .15s}
.agent-sub.is-open>.agent-sub-main>.icon{transform:rotate(180deg)}
.agent-sub:hover,.agent-sub.is-open{background:#ffffff05}
.status-waiting>.agent-sub-main .agent-sub-dot{background:var(--faint)}
.status-waiting>.agent-sub-main .agent-sub-state{color:var(--muted)}
.status-needs-you>.agent-sub-main .agent-sub-state{color:#efd096}
.status-done>.agent-sub-main .agent-sub-dot{background:#a6baa8;box-shadow:none}
.agent-chat-detail{padding:4px 9px 10px 16px;font-size:11px;line-height:1.6}
.agent-chat-detail[hidden]{display:none}
.agent-chat-detail p{margin:0 0 7px;overflow-wrap:anywhere}
.chat-detail-source{font-size:9.5px;color:var(--faint)}
.chat-detail-title{font-weight:500;color:var(--text)}
.chat-detail-update{color:var(--muted)}
.chat-detail-request{color:#efd096}
.chat-detail-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--border);padding-top:6px;margin-top:8px}
.chat-detail-actions button{padding:4px 0;min-height:28px;font-size:10px;color:var(--muted)}
.chat-detail-actions button:first-child{color:var(--accent)}
.chat-detail-actions button:hover{color:var(--text)}
.agent-subs-done>summary{min-height:30px;height:auto;margin-left:10px;color:var(--muted)}
.menu-task.agent-halo{background:#eab15504;box-shadow:0 0 0 1px #eab1552b,0 0 13px #eab1550c}
.agent-nudge{display:flex;align-items:flex-start;gap:10px;margin:2px 2px 4px 0;padding:2px 3px 4px 0;background:none;border-radius:0}
.agent-nudge>div{flex:1;min-width:0}
.agent-nudge b{font-size:11.5px;font-weight:500;color:var(--text)}
.agent-nudge p{margin:3px 0 5px;max-width:235px;font-size:11px;line-height:1.6;color:var(--muted)}
.agent-nudge .go{display:inline-flex;align-items:center;gap:7px;min-height:28px;font-size:11px;color:var(--accent)}
.agent-nudge .go>.icon{width:12px;height:12px}
.agent-nudge .nudge-dismiss{display:grid;place-items:center;width:26px;min-height:26px;flex:none;color:var(--faint);border-radius:5px}
.agent-nudge .nudge-dismiss:hover{background:#ffffff09;color:var(--text)}
.nudge-dismiss>.icon{width:12px;height:12px}
/* The connection library is secondary to the task list. */
.agent-linked-tasks{display:flex;flex-direction:column;gap:0}
.agent-linked-tasks>h2{font:500 11px var(--sans);color:var(--muted);margin:0 0 9px}
.agent-linked-task{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--border)}
.agent-linked-task h3{font:500 14px/1.4 var(--sans);margin:0;color:var(--text);overflow-wrap:anywhere}
.agent-linked-task p{font-size:11px;color:var(--muted);margin:4px 0 0}
.agent-linked-task .text-button{font-size:11px;color:var(--accent);white-space:nowrap}
.agent-linked-task .icon{width:12px;height:12px}
.agent-settings{align-items:flex-start;flex-direction:column;gap:12px;font-size:11.5px}
.agent-others{border:0;padding-top:0}
.other-chat{padding:9px 0;border-bottom:1px solid var(--border)}
.other-chat b{font-size:12px}
/* A small, searchable picker keeps linking to one explicit decision. */
dialog:has(.agent-dialog){width:min(580px,calc(100vw - 32px))}
.agent-picker{gap:12px}
.chat-search{display:block}
.chat-search input{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:#ffffff04;font-size:13px}
.pick-range{border:0;background:#ffffff04;padding:3px;border-radius:8px}
.pick-range button{font-size:11px;padding:5px 11px}
.pick-results{min-height:80px}
.pick-list{gap:0;max-height:min(42vh,355px)}
.pick-row{align-items:center;gap:10px;padding:12px 10px;border:1px solid transparent;border-bottom-color:var(--border);border-radius:7px;min-height:65px}
.pick-row:hover{border-color:transparent;border-bottom-color:var(--border);background:#ffffff04}
.pick-row.is-picked{background:#eab15509;border-color:#eab15533}
.pick-row input{margin:0;width:15px;height:15px}
.pick-main{flex:1;gap:5px}
.pick-main b{font-size:12.5px;line-height:1.4;overflow-wrap:anywhere}
.pick-where{font-size:10.5px;gap:3px 5px;color:var(--muted)}
.pick-where small{font-size:10px;margin-left:auto}
.pick-status{display:flex;align-items:center;gap:5px;font-size:9.5px;white-space:nowrap;color:var(--muted)}
.pick-status .gc-dot{width:5px;height:5px}
.pick-status.status-needs-you{color:var(--accent)}
.pick-move{color:#d9be8b!important;line-height:1.5}
.picker-empty{padding:20px 10px;color:var(--muted);font-size:12px;line-height:1.6}
.picker-support{margin:0;font-size:10.5px;color:var(--faint)}
.chat-privacy{border-top:1px solid var(--border);padding-top:10px}
.chat-privacy summary{font-size:11px;color:var(--muted);cursor:pointer}
.chat-privacy .agent-privacy{font-size:11px;margin-top:9px;line-height:1.65}
.chat-picker-actions{padding-top:15px;padding-bottom:15px;gap:12px;flex-direction:row;align-items:center}
.chat-picker-actions>div{display:flex;align-items:center;gap:20px}
.chat-picker-actions .primary{min-width:100px;font-size:12px}
.chat-picker-actions .primary:disabled{opacity:.45;cursor:default}
.chat-picker-actions .text-button{font-size:12px}
.calm-light .agent-sub-main,.calm-light .chat-detail-title{color:var(--text)}
.calm-light .agent-sub-state,.calm-light .chat-detail-update{color:var(--muted)}
.calm-light .agent-subs{border-left-color:#3d503329}
.calm-light .agent-sub:hover,.calm-light .agent-sub.is-open{background:#223c2507}
.calm-light .status-needs-you>.agent-sub-main .agent-sub-state{color:#805b1d}
@media(max-width:500px){.pick-status{font-size:9px}.pick-where small{margin-left:0}.pick-row{padding:11px 6px}.chat-picker-actions>div{gap:12px}.chat-picker-actions>.primary{width:auto}.agent-todo{padding-left:26px}.agent-sub-main{min-height:38px}.chat-detail-actions button,.task-chat-manage{min-height:34px}}
@media(prefers-reduced-motion:reduce){.agent-sub-main>.icon{transition:none}}
/* Keep task position and in-progress labels stable as chat status updates. */
.room-tasks .plan-panel-content{overflow-anchor:none}
.chat-label-form{display:flex;gap:7px;align-items:center;margin:7px 0}
.chat-label-form label{flex:1;min-width:0}
.chat-label-form input{width:100%;min-width:0;padding:6px 7px;font-size:11px}
.chat-label-form button{padding:6px 0;font-size:11px;color:var(--accent)}
.chat-detail-actions{gap:8px}
.pick-status.status-waiting .gc-dot{background:var(--faint)}

/* Quiet list: the approved concept, with task actions and chat detail on demand. */
.quiet-task-panel{background:#18241eF5;border:1px solid #a3b29b30;border-radius:16px;box-shadow:0 14px 48px #0003}
.quiet-task-panel .menu-heading{padding:27px 26px 20px;gap:10px}
.quiet-task-panel .menu-heading h2{font-size:31px;letter-spacing:-.5px;line-height:1.15}
.menu-heading-actions{display:flex;align-items:center;gap:5px}
.menu-heading-actions button{display:grid;place-items:center;width:27px;height:30px;min-height:30px;padding:0;border:0;background:none;border-radius:5px;color:var(--muted)}
.menu-heading-actions .icon{width:16px;height:16px}.menu-heading-actions .menu-planning-toggle{color:var(--faint)}
.menu-heading-actions button:hover{color:var(--text);background:#ffffff06}
.quiet-task-panel .task-menu-tabs{display:flex;gap:26px;border:0;border-radius:0;background:none;padding:0;margin:0 26px 8px}
.quiet-task-panel .task-menu-tabs button{flex:none;justify-content:flex-start;min-height:42px;padding:6px 0 9px;border-radius:0;font-size:14px;font-weight:400;border-bottom:1.5px solid transparent;background:none;box-shadow:none}
.quiet-task-panel .task-menu-tabs button[aria-selected=true]{border-bottom-color:#d6dfce;color:var(--text);background:none;box-shadow:none}
.quiet-task-panel [data-menu-count],.quiet-task-panel .menu-list-summary{display:none}
.quiet-task-panel .plan-panel-content{padding:5px 26px 22px;overflow:auto;scrollbar-width:thin;scrollbar-color:#a3b29b30 transparent}
.quiet-task-panel .menu-task{padding:23px 0 22px;background:none;border-radius:0;border-bottom:1px solid #a3b29b27;animation:none;transition:none}
.quiet-task-panel .menu-task:last-child{border-bottom:0}
.quiet-task-panel .menu-task-main{grid-template-columns:20px minmax(0,1fr) auto 25px 25px;gap:9px}
.quiet-task-panel .menu-task input[type=checkbox]{appearance:none;-webkit-appearance:none;display:grid;place-content:center;width:20px;height:20px;border:1.2px solid #dce3d3bd;border-radius:50%;background:transparent}
.quiet-task-panel .menu-task input[type=checkbox]:checked{background:#9aac98;border-color:#9aac98}
.quiet-task-panel .menu-task input[type=checkbox]:checked::before{content:'';width:8px;height:4px;border-left:1.5px solid #18241e;border-bottom:1.5px solid #18241e;transform:translateY(-1px) rotate(-45deg)}
.quiet-task-panel .menu-task-title{font-size:15px;font-weight:500;line-height:1.5;padding:5px 0;border:0;background:none}
.quiet-task-panel .menu-time{min-width:29px;min-height:32px;padding:4px 0;border:0;background:none;border-radius:4px;font-size:11px;font-weight:400;color:#a6b0a2}
.quiet-task-panel .menu-time:hover{color:var(--text);background:#ffffff06}
.quiet-task-panel .menu-more,.quiet-task-panel .agent-todo-connect{display:grid;place-items:center;width:25px;height:32px;min-height:32px;padding:0;border:0;background:none;color:#9aa494;border-radius:5px}
.quiet-task-panel .menu-more .icon{width:18px;height:18px;stroke-width:3}
.quiet-task-panel .agent-todo-connect .icon{width:15px;height:15px;stroke-width:1.5}
.quiet-task-panel .menu-more:hover,.quiet-task-panel .agent-todo-connect:hover{background:#ffffff08;color:var(--text)}
.quiet-task-panel .agent-todo-button{display:flex;min-width:0}
.quiet-task-panel .menu-task-meta{padding:0 0 0 29px;min-height:0}
.quiet-task-panel .menu-task-meta:has(>span:empty){display:none}
.quiet-task-panel .menu-task-meta>span{font-size:10px;color:#aebda7;padding:2px 0 5px}
.quiet-task-panel .agent-todo{padding:9px 0 0 29px}
.quiet-task-panel .agent-todo:empty{display:none}
.quiet-task-panel .agent-subs{padding:0;margin:0;border:0;gap:2px}
.quiet-task-panel .agent-sub{border-radius:5px;background:none}
.quiet-task-panel .agent-sub-main{min-height:32px;padding:4px 0;font-size:13px;line-height:1.4;gap:10px;border-radius:5px;background:none}
.quiet-task-panel .agent-sub-label{font-size:13px;font-weight:400;color:#dfE4d8}
.quiet-task-panel .agent-sub-dot{width:6px;height:6px;box-shadow:none;opacity:1;animation:none}
.quiet-task-panel .status-working .agent-sub-dot{background:#9ab09a}
.quiet-task-panel .status-needs-you .agent-sub-dot{background:#e8bc6e}
.quiet-task-panel .agent-sub-state{font-size:11px;color:#9aaa96;font-weight:400}
.quiet-task-panel .status-needs-you .agent-sub-state{color:#e8bc6e}
.quiet-task-panel .agent-sub-main:hover{background:#ffffff04}
.quiet-task-panel .agent-subs-done>summary{margin:0;font-size:11px}
.quiet-task-panel .menu-add{margin-top:10px}
.menu-add-trigger{display:flex;align-items:center;gap:9px;padding:8px 0;min-height:40px;font-size:14px;color:#a2b09b}
.menu-add-trigger .icon{width:16px;height:16px;stroke-width:1.5}.menu-add-trigger:hover{color:var(--text)}
.menu-add-trigger[hidden],.menu-composer[hidden],.menu-settings[hidden]{display:none!important}
.quiet-task-panel .menu-composer{margin:5px 0 0;border-color:#a3b29b38;background:transparent}
.quiet-task-panel .menu-composer>input{font-size:14px}
.menu-composer-actions{display:flex;gap:8px}.menu-composer-actions button[type=button]{background:none;color:var(--muted)}
.quiet-task-panel .menu-empty{font:13px/1.65 var(--sans);padding:20px 0 9px}
.quiet-task-panel .menu-settings{margin:12px 0 0}.quiet-task-panel .menu-settings>summary{padding-top:15px}
.quiet-task-panel .menu-completed summary{padding-left:0}
.quiet-task-panel .menu-task.agent-halo{background:none;box-shadow:none}
.quiet-task-panel .agent-nudge{padding:8px 12px;margin:3px 0 0;border-left:1px solid #d9b77c55;background:#eab15504;border-radius:0 6px 6px 0}
.task-action-menu{position:fixed;z-index:85;min-width:205px;padding:6px;border:1px solid #a3b29b35;border-radius:10px;background:#202d24;box-shadow:0 10px 36px #0005}
.task-action-menu button{display:flex;align-items:center;gap:10px;padding:10px 11px;min-height:38px;width:100%;text-align:left;border-radius:5px;font-size:12px;color:var(--text)}
.task-action-menu .icon{width:14px;height:14px;color:var(--muted)}
.task-action-menu button:hover,.task-action-menu button:focus-visible{background:#ffffff08}
.task-action-menu .task-action-remove{border-top:1px solid #a3b29b25;margin-top:4px;padding-top:12px;color:#c9b4a9}
.task-chat-preview{position:fixed;z-index:84;width:min(335px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:18px 20px 13px;border:1px solid #a3b29b35;border-radius:12px;background:#202c24;box-shadow:0 12px 40px #0005;color:var(--text)}
.task-chat-preview[hidden]{display:none!important}
.chat-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.chat-preview-heading h3{margin:0;font:500 16px/1.4 var(--sans);overflow-wrap:anywhere}
.chat-preview-heading button{display:grid;place-items:center;min-height:26px;width:26px;color:var(--muted);border-radius:4px}
.chat-preview-heading .icon{width:13px;height:13px}
.task-chat-preview .chat-detail-source{margin:4px 0 15px;font-size:10px;line-height:1.5;color:#a2ae9c}
.task-chat-preview .chat-detail-update{font-size:13px;line-height:1.7;color:#e0e4da;margin:0;overflow-wrap:anywhere}
.task-chat-preview .chat-detail-request{font-size:11px;line-height:1.6;margin:10px 0 0;color:#e8bc6e}
.chat-preview-age{margin:12px 0 10px;font-size:10px;color:#94a18f}
.task-chat-preview .chat-detail-actions{margin-top:0;padding-top:7px;border-top-color:#a3b29b28;gap:13px}
.task-chat-preview .chat-detail-actions button{min-height:30px;font-size:11px;color:#b3bfac}
.task-chat-preview .chat-detail-actions button:hover{color:var(--text)}
.task-chat-preview .chat-label-form{flex-wrap:wrap;margin:10px 0 14px}
.task-chat-preview .chat-label-form input{font-size:13px;padding:8px}
.task-chat-preview .chat-label-form p{flex-basis:100%;font-size:10px;color:var(--muted);margin:0}
@media(min-width:681px){.room-rail:has(.quiet-task-panel){width:390px}.room-rail>.quiet-task-panel{max-height:calc(100dvh - 200px)}}
@media(max-width:680px){.room-rail:has(.quiet-task-panel){width:min(360px,calc(100vw - 32px))}.quiet-task-panel .menu-heading{padding:23px 22px 17px}.quiet-task-panel .task-menu-tabs{margin-left:22px;margin-right:22px}.quiet-task-panel .plan-panel-content{padding:5px 22px 18px}.quiet-task-panel .menu-task-main{grid-template-columns:20px minmax(0,1fr) auto 25px 25px;gap:7px}.quiet-task-panel .menu-task-title{font-size:16px}.quiet-task-panel .agent-todo{padding-left:27px}.quiet-task-panel .menu-more,.quiet-task-panel .agent-todo-connect{min-height:38px}.quiet-task-panel .agent-sub-main{min-height:38px}.task-chat-preview .chat-label-form input{font-size:16px}.task-chat-preview .chat-detail-actions button{min-height:38px}}
.calm-light .quiet-task-panel{background:#f4f3e9f5;border-color:#67775c35}
.calm-light .quiet-task-panel .menu-task-title,.calm-light .quiet-task-panel .agent-sub-label{color:var(--text)}
.calm-light .quiet-task-panel .agent-sub-state,.calm-light .quiet-task-panel .menu-time,.calm-light .quiet-task-panel .menu-add-trigger{color:var(--muted)}
.calm-light .quiet-task-panel .status-needs-you .agent-sub-state{color:#825c21}
.calm-light .quiet-task-panel .menu-task input[type=checkbox]{border-color:#506146aa}
.calm-light .quiet-task-panel .task-menu-tabs button[aria-selected=true]{border-bottom-color:#62745a}

.task-chat-preview:focus{outline:1px solid #afc1a78c;outline-offset:2px}
.quiet-task-panel{backdrop-filter:none;-webkit-backdrop-filter:none}
.quiet-task-panel .menu-task input[type=checkbox]:checked::after{content:none}

/* Keep scene dragging available without adding another column to the quiet list. */
.quiet-task-panel .menu-task-main{position:relative}
.quiet-task-panel .menu-grip{position:absolute;left:-24px;top:0;width:22px;height:100%;min-height:32px;padding:0;border:0;background:none;color:var(--muted);opacity:.5;cursor:grab;touch-action:none;border-radius:4px}
.quiet-task-panel .menu-grip .icon{width:12px;height:17px}
.quiet-task-panel .menu-grip:hover,.quiet-task-panel .menu-grip:focus-visible{opacity:1;color:var(--text);background:#ffffff08}
.task-dragging .quiet-task-panel .menu-grip{cursor:grabbing}
@media(max-width:680px){.quiet-task-panel .menu-grip{left:-22px;width:20px;min-height:38px}}

/* Linking chats (agents.js): during a new guest's first session the + pulses, and a quick tour on
   the dashboard introduces to-dos, the Nook sidekick and linking chats. Skipping the tour stops
   both. Reduced motion keeps a still ring and still pictures. */
.agent-shine>.agent-todo-connect,.quiet-task-panel .agent-shine>.agent-todo-connect{position:relative;color:var(--accent)}
.quiet-task-panel .agent-shine>.agent-todo-connect:hover{color:var(--accent-hover);background:#eab15512}
.agent-shine>.agent-todo-connect .icon{position:relative;z-index:1;animation:agent-pulse-icon 2.4s ease-in-out infinite}
/* inset:0 + margin:auto centers on the button no matter how the button aligns its content. */
.agent-shine>.agent-todo-connect::before{content:'';position:absolute;inset:0;margin:auto;width:22px;height:22px;border:1.5px solid var(--accent);border-radius:50%;background:#eab15512;animation:agent-pulse-ring 2.4s ease-out infinite;pointer-events:none}
.agent-shine>.agent-todo-connect::after{content:'\2726';position:absolute;inset:0;margin:auto;width:9px;height:9px;translate:9px -9px;font:9px/9px var(--sans);text-align:center;color:#fbe6b8;text-shadow:0 0 5px #eab155;opacity:0;animation:agent-shine-spark 4.8s ease-in-out infinite;pointer-events:none}
@keyframes agent-pulse-ring{0%{opacity:.9;transform:scale(.6)}75%,100%{opacity:0;transform:scale(1.6)}}
@keyframes agent-pulse-icon{0%,100%{transform:scale(1);filter:none}12%{transform:scale(1.25);filter:drop-shadow(0 0 4px #eab155d0)}32%{transform:scale(1);filter:drop-shadow(0 0 2px #eab15570)}}
@keyframes agent-shine-spark{0%,55%{opacity:0;transform:scale(.2) rotate(0)}66%{opacity:1;transform:scale(1) rotate(45deg)}80%,100%{opacity:0;transform:scale(.2) rotate(90deg)}}
/* The tour: a spotlight on Your to-dos, a ring on the control in question, and a card beside it. */
.welcome-layer{position:fixed;inset:0;z-index:90}
.welcome-spot{position:fixed;border-radius:20px;box-shadow:0 0 0 200vmax #060c0bb3;transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease;pointer-events:none}
.welcome-ring{position:fixed;border:1.5px solid var(--accent);border-radius:12px;animation:welcome-ring 1.8s ease-in-out infinite;pointer-events:none}
.welcome-card:focus{outline:none}
.welcome-ring[hidden]{display:none}
.welcome-card{position:fixed;width:340px;padding:14px 20px 16px;border:1px solid #b9c8b83d;border-radius:16px;background:#1b2821;box-shadow:0 24px 70px #000a;color:var(--text);animation:welcome-in .3s ease}
.welcome-card.is-sheet{left:12px;right:12px;bottom:12px;width:auto;max-width:440px;margin:0 auto}
.welcome-card.is-sheet.at-top{top:12px;bottom:auto}
.welcome-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.welcome-close{display:grid;place-items:center;width:28px;height:28px;margin-right:-8px;border-radius:50%;color:var(--muted)}
.welcome-close:hover{background:#ffffff0a;color:var(--text)}
.welcome-close .icon{width:15px;height:15px}
.welcome-card h2{margin-top:16px;font-size:22px;letter-spacing:-.3px;line-height:1.25}
.welcome-card>p{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.welcome-card>p b{font-weight:500;color:var(--text)}
.welcome-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:12px;padding:9px 12px;border-radius:9px;background:#ffffff05;font-size:12px}
.welcome-status p{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted)}
.welcome-status i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--faint)}
.welcome-status .on{color:#c4dbc7}.welcome-status .on i{background:#8fb39a}
.welcome-get{font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.welcome-actions{display:flex;align-items:center;gap:16px;margin-top:18px}
.welcome-dots{display:flex;gap:5px;margin-right:auto}
.welcome-dots i{width:6px;height:6px;border-radius:3px;background:#ffffff26;transition:width .25s ease}
.welcome-dots i.on{width:16px;background:var(--accent)}
.welcome-actions .text-button{font-size:13px}
.welcome-actions .primary{padding:9px 20px;font-size:13px}
/* The small picture on each step */
.welcome-art{position:relative;display:flex;align-items:center;justify-content:center;height:108px;border:1px solid #a3b29b24;border-radius:11px;background:radial-gradient(ellipse at 50% 0%,#eab15512,transparent 70%),#ffffff03;overflow:hidden}
.w-panel{display:flex;flex-direction:column;gap:3px;width:252px;padding:9px 12px;border:1px solid #a3b29b2e;border-radius:10px;background:#18241e;font-size:12px}
.w-row{display:flex;align-items:center;gap:8px;min-height:26px}
.w-row b{flex:1;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w-row small{font-size:10px;color:#a6b0a2}
.w-circle{width:14px;height:14px;flex:none;border:1.2px solid #dce3d3bd;border-radius:50%}
.w-add{display:flex;align-items:center;gap:7px;min-height:26px;color:#a2b09b}
.w-add .icon{width:13px;height:13px}
.w-plus,.w-plus .agent-todo-connect{display:grid;place-items:center;width:22px;height:24px;flex:none}
.w-plus .icon{width:13px;height:13px}
.w-sub{display:flex;align-items:center;gap:8px;min-height:22px;margin-left:22px;padding-left:9px;border-left:1px solid #c7d2bc22;color:#dfe4d8}
.w-sub>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w-sub em{display:grid;font-size:10px;font-style:normal}
.w-sub em>span{grid-area:1/1;text-align:right}
.w-sub .s-work{color:#9aaa96;opacity:0}.w-sub .s-need{color:#e8bc6e}
.w-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#e8bc6e}
.w-dot.work{background:#9ab09a}
.w-menubar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:22px;padding:0 12px;border-bottom:1px solid #ffffff0d;background:#ffffff0a;font-size:10px;color:#cfd6c8}
.w-app{display:grid;place-items:center;width:20px;height:17px;border-radius:4px;background:#eab15540;color:var(--text)}
.w-app .icon{width:12px;height:12px}
.w-menu{position:absolute;top:27px;right:12px;width:232px;padding:7px 10px;border:1px solid #a3b29b33;border-radius:9px;background:#202c24;box-shadow:0 8px 24px #0005;font-size:11px}
.w-menu p{margin:0 0 3px;font-size:10px;color:var(--muted)}
.w-chat{display:flex;align-items:center;gap:7px;min-height:21px;color:#dfe4d8}
.w-chat>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w-chat small{font-size:9.5px;color:var(--muted)}
.w1 .w-add{animation:w-press 4.8s ease infinite}
.w1 .w-row{animation:w-appear 4.8s ease infinite}
.w2 .w-app{animation:w-app 4.8s ease infinite}
.w2 .w-menu{animation:w-menu 4.8s ease infinite}
.w2 .w-chat:nth-of-type(1){animation:w-chat1 4.8s ease infinite}
.w2 .w-chat:nth-of-type(2){animation:w-chat2 4.8s ease infinite}
.w3 .w-sub{animation:w-sub 4.8s ease infinite}
.w3 .w-sub .w-dot{animation:w-dot 4.8s ease infinite}
.w3 .s-work{animation:w-work 4.8s ease infinite}
.w3 .s-need{animation:w-need 4.8s ease infinite}
@keyframes welcome-in{from{opacity:0;transform:translateY(8px)}}
@keyframes welcome-ring{0%,100%{box-shadow:0 0 0 3px #eab15526}50%{box-shadow:0 0 0 8px #eab15508}}
@keyframes w-press{0%,14%,30%,100%{color:#a2b09b}20%,24%{color:#eab155}}
@keyframes w-appear{0%,28%{opacity:0;transform:translateY(-4px)}38%,88%{opacity:1;transform:none}96%,100%{opacity:0}}
@keyframes w-app{0%,8%,32%,100%{background:#ffffff14}14%,26%{background:#eab15566}}
@keyframes w-menu{0%,16%{opacity:0;transform:translateY(-6px)}26%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes w-chat1{0%,30%{opacity:0;transform:translateX(-6px)}40%,100%{opacity:1;transform:none}}
@keyframes w-chat2{0%,44%{opacity:0;transform:translateX(-6px)}54%,100%{opacity:1;transform:none}}
@keyframes w-sub{0%,26%{opacity:0;transform:translateY(-5px)}36%,90%{opacity:1;transform:none}98%,100%{opacity:0}}
@keyframes w-dot{0%,60%{background:#9ab09a}66%,100%{background:#e8bc6e}}
@keyframes w-work{0%,60%{opacity:1}66%,100%{opacity:0}}
@keyframes w-need{0%,60%{opacity:0}66%,100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.agent-shine>.agent-todo-connect::after{display:none}.agent-shine>.agent-todo-connect::before{opacity:.7;transform:scale(1.15)}.welcome-ring{box-shadow:0 0 0 4px #eab15526}}

/* Prepare for my day: a focused writing surface, shared with the room to-dos. */
.prepare-page{max-width:900px;margin:0 auto;padding:64px 40px 40px;--prepare-line:color-mix(in srgb,var(--text) 12%,transparent)}
.prepare-heading{margin-bottom:36px}.prepare-date{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);margin-bottom:13px}.prepare-heading h1{font:400 clamp(32px,4vw,44px)/1.2 var(--serif);letter-spacing:-1px}.prepare-heading>p:last-child{font-size:14px;color:var(--muted);margin-top:12px}
.prepare-intention{display:block;border:1px solid var(--prepare-line);border-radius:12px;background:color-mix(in srgb,var(--text) 3%,transparent);padding:18px 22px;margin-bottom:36px}.prepare-intention>span{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.prepare-intention input{display:block;border:0;background:none;padding:0;width:100%;border-radius:2px;font:400 21px/1.5 var(--serif)}.prepare-intention input::placeholder{color:var(--faint)}
.prepare-list-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;padding:0 32px 0 0}.prepare-list-heading h2{font:500 13px var(--sans)}.prepare-list-heading>span{font-size:11px;color:var(--muted)}.prepare-task-list{list-style:none;margin:0;padding:0}.prepare-task{border-top:1px solid var(--prepare-line);padding:20px 0 19px}.prepare-task-main{display:flex;align-items:center;gap:13px}.prepare-task-main>input[type=checkbox]{width:18px;height:18px;margin:0}.prepare-task-title{flex:1;min-width:0;border:0;background:none;padding:4px 0;font-size:16px;border-radius:2px}.prepare-duration{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;font-size:12px;color:var(--muted);border:1px solid var(--prepare-line);border-radius:7px;padding:4px 8px;background:color-mix(in srgb,var(--text) 2%,transparent)}.prepare-duration input{width:40px;padding:2px 0;text-align:right;border:0;background:none;color:var(--text);font-size:13px;border-radius:2px}.prepare-remove{width:24px;height:28px;flex-shrink:0;display:grid;place-items:center;color:var(--muted);opacity:.65;border-radius:5px;padding:0}.prepare-remove .icon{width:14px;height:14px}.prepare-remove:hover{opacity:1;background:color-mix(in srgb,var(--text) 7%,transparent)}
.prepare-task-tools{display:flex;align-items:center;gap:19px;margin:10px 0 0 31px;flex-wrap:wrap}.prepare-task-tools button{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);padding:3px 0;min-height:26px}.prepare-task-tools button:hover{color:var(--text)}.prepare-task-tools .icon{width:13px;height:13px}.prepare-task-tools .prepare-first.is-first{color:var(--accent)}.prepare-task.is-done .prepare-task-title{text-decoration:line-through;color:var(--muted)}
.prepare-steps{margin:14px 32px 0 32px;padding:0 0 0 16px;border-left:1px solid var(--prepare-line)}.prepare-steps ul,.prepare-room-steps ul{list-style:none;margin:0;padding:0}.prepare-step{display:flex;align-items:center;gap:9px;min-height:33px}.prepare-step input[type=checkbox]{width:14px;height:14px;border-radius:3px;margin:0}.prepare-step input[type=checkbox]:checked:after{width:7px;height:4px}.prepare-step input:not([type=checkbox]){flex:1;min-width:0;padding:5px 0;border:0;border-radius:2px;background:none;font-size:13px}.prepare-step.is-done input:not([type=checkbox]),.prepare-step.is-done>span{text-decoration:line-through;color:var(--muted)}.prepare-steps form{display:flex;gap:8px;margin-top:5px}.prepare-steps form input{flex:1;min-width:0;border:0;background:none;padding:7px 0;font-size:13px;border-radius:2px}.prepare-steps form button{color:var(--muted);width:30px;border-radius:5px}.prepare-steps form .icon{width:16px;height:16px}.prepare-task>.agent-todo{margin:9px 30px 0}.prepare-task>.agent-todo:empty{display:none}
.prepare-composer{display:flex;align-items:center;gap:13px;padding:18px 0;border-top:1px solid var(--prepare-line);border-bottom:1px solid var(--prepare-line)}.prepare-composer>span{color:var(--muted);width:18px}.prepare-composer>span .icon{width:18px;height:18px}.prepare-composer>input{flex:1;min-width:0;padding:7px 0;background:none;border:0;border-radius:2px;font-size:14px}.prepare-composer>button{display:flex;gap:5px;align-items:center;color:var(--accent);font-size:12px;padding:8px 0 8px 6px}.prepare-composer>button .icon{width:14px;height:14px}.prepare-completed{margin:22px 0}.prepare-completed>summary{font-size:12px;color:var(--muted);cursor:pointer;margin-bottom:12px}.prepare-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px}.prepare-footer p{font-size:14px}.prepare-footer>div{min-width:0}.prepare-footer>div>span{display:block;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;max-width:440px}.prepare-footer .primary{font-size:13px;min-height:44px;padding:11px 20px;flex-shrink:0}.prepare-footer .icon{width:16px;height:16px}.prepare-footnote{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:26px}.prepare-footnote .saved-foot{padding:0;margin:0;font-size:10px}.prepare-footnote .text-button{font-size:11px}.prepare-footnote .icon{width:13px;height:13px}
.prepare-room-steps{margin:8px 0 4px 32px}.prepare-room-steps summary{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:11px;color:var(--muted);list-style:none}.prepare-room-steps summary::-webkit-details-marker{display:none}.prepare-room-steps summary .icon{width:12px;height:12px}.prepare-room-steps[open] summary .icon{transform:rotate(180deg)}.prepare-room-steps ul{padding-top:7px}.prepare-room-steps .prepare-step>span{font-size:12px;overflow-wrap:anywhere;min-width:0}.prepare-menu-link{display:block;padding:12px 20px;border-top:1px solid var(--border);color:var(--muted);font-size:11px}.prepare-menu-link:hover{color:var(--accent)}
@media(max-width:680px){.prepare-page{padding:36px 22px 28px}.prepare-heading{margin-bottom:26px}.prepare-intention{padding:16px;margin-bottom:28px}.prepare-list-heading{padding-right:24px}.prepare-task-tools{gap:13px}.prepare-task-title{font-size:16px}.prepare-task-main{gap:10px}.prepare-duration{padding:4px 5px}.prepare-duration input{width:34px}.prepare-footer{gap:14px}.prepare-footer>div>span{max-width:220px}.prepare-footer .primary{padding:10px 14px}.prepare-composer{gap:10px;flex-wrap:wrap}.prepare-composer>input{font-size:16px;flex-basis:calc(100% - 32px)}.prepare-composer>.prepare-duration{margin-left:28px}.prepare-composer>button{margin-left:auto}.prepare-steps{margin-right:0;margin-left:28px}.prepare-task-tools{margin-left:28px}.prepare-task-tools button{min-height:32px}.prepare-remove{height:32px}.prepare-page .prepare-intention input{font-size:20px}}
@media(max-width:400px){.prepare-page{padding-inline:16px}.prepare-footer{align-items:stretch;flex-direction:column}.prepare-footer>div>span{max-width:100%}.prepare-task-tools{gap:10px}.prepare-task-tools button{font-size:10px}}

/* A warm, simple day page. Details appear only after a task exists. */
.prepare-simple{--text:#474537;--muted:#7b7768;--faint:#928b7b;--accent:#6d775a;--prepare-line:#ddd6c780;color:var(--text);background:#f4f0e6;border:1px solid #e8e0d0;border-radius:18px;box-shadow:0 12px 50px #080e0a18;max-width:720px;margin:58px auto;padding:36px 38px 30px;color-scheme:light}
.prepare-simple .prepare-heading{margin-bottom:26px}.prepare-simple .prepare-date{color:#8b8271;letter-spacing:.1px;text-transform:none;font-size:12px;margin-bottom:9px}.prepare-simple .prepare-heading h1{font-size:32px;line-height:1.25;letter-spacing:-.65px;color:#484434}.prepare-simple .prepare-heading>p:last-child{margin:0}
.prepare-simple .prepare-task{padding:19px 0;border-top:1px solid var(--prepare-line)}.prepare-simple .prepare-task:first-child{border-top:0;padding-top:4px}.prepare-simple .prepare-task-title{font-size:15px;color:#464638;line-height:1.65}.prepare-simple input::placeholder{color:#a29a8a}.prepare-simple input[type=checkbox]{border-color:#beb8a7;background:#fffdf733;border-radius:5px}.prepare-simple input[type=checkbox]:checked{background:#a5ad8f;border-color:#a5ad8f}.prepare-simple input[type=checkbox]:checked:after{border-color:#fffef8}.prepare-simple .prepare-task-main{gap:11px}.prepare-simple .prepare-task-main>input[type=checkbox]{width:17px;height:17px}
.prepare-simple .prepare-duration{background:none;border:0;padding:3px 0;gap:3px;color:#79715f}.prepare-simple .prepare-duration input{font-size:12px;width:34px;color:#746e5f}.prepare-simple .prepare-duration:focus-within{background:#e8e2d6;box-shadow:0 0 0 5px #e8e2d6}.prepare-simple .prepare-task-tools{gap:18px;margin:4px 0 0 28px}.prepare-simple .prepare-task-tools button{font-size:11px;color:#746e5f;min-height:30px}.prepare-simple .prepare-task-tools button:hover{color:#625b4b}.prepare-simple .prepare-task-tools .icon{width:12px;height:12px}
.prepare-simple .prepare-remove{color:#918978;opacity:0;transition:opacity .15s}.prepare-simple .prepare-task:hover>.prepare-task-main .prepare-remove,.prepare-simple .prepare-task:focus-within>.prepare-task-main .prepare-remove,.prepare-simple .prepare-step:hover .prepare-remove,.prepare-simple .prepare-step:focus-within .prepare-remove{opacity:.8}.prepare-simple .prepare-remove:hover{background:#e5decf}
.prepare-add-task{display:flex;align-items:center;gap:11px;width:100%;padding:13px 14px;margin-top:7px;color:#756d5b;background:#ede7da88;border:1px solid transparent;border-radius:9px;text-align:left;font-size:14px;min-height:48px}.prepare-add-task .icon{width:17px;height:17px;stroke-width:1.4}.prepare-add-task:hover{background:#e9e1d3;color:#625b48}.prepare-simple .prepare-composer{flex-wrap:nowrap;gap:10px;margin-top:7px;padding:8px 12px;background:#fffaf0;border:1px solid #dcd2bd;border-radius:9px;min-height:48px}.prepare-simple .prepare-composer>input{font-size:14px;flex:1;flex-basis:auto;min-width:0;padding:5px 0}.prepare-simple .prepare-composer>button{padding:5px 0;margin:0;font-size:12px;color:#72684e}.prepare-simple .prepare-composer>.prepare-cancel{color:#a4987f;padding-left:3px}.prepare-simple .prepare-composer>span{color:#a2957b}.prepare-simple .prepare-composer:focus-within{border-color:#b6ac94;box-shadow:0 0 0 3px #ded3bc40}
.prepare-simple .prepare-steps{margin:7px 24px 2px 28px;padding-left:15px;border-color:#dcd5c6}.prepare-simple .prepare-steps ul:empty{display:none}.prepare-simple .prepare-step input:not([type=checkbox]){font-size:13px;color:#6f6d5d}.prepare-simple .prepare-step.is-done input:not([type=checkbox]){color:#9c9585}.prepare-simple .prepare-steps form input{font-size:13px;color:#625f50}.prepare-simple .prepare-task>.agent-todo{margin-left:28px;margin-top:6px}.prepare-simple .agent-subs{border-color:#dcd5c6}.prepare-simple .agent-sub-main{color:#726a58}.prepare-simple .agent-sub-main:hover{background:#e5dfd166}.prepare-simple .agent-sub-label{color:#726a58}.prepare-simple .agent-sub-state{color:#998c74}.prepare-simple .agent-sub-dot{background:#9eab81}
.prepare-simple .prepare-footer{margin-top:28px;padding-top:22px;border-top:1px solid var(--prepare-line);align-items:center;flex-direction:row}.prepare-simple .prepare-footer>p{font-size:11px;color:#79715f}.prepare-simple .prepare-footer .primary{background:#6d775a;border-color:#6d775a;color:#fffbf0;font-size:12px;border-radius:8px;padding:10px 15px;min-height:40px}.prepare-simple .prepare-footer .primary:hover{background:#5d684b;border-color:#5d684b}.prepare-simple .prepare-footer .icon{width:14px;height:14px}.prepare-simple .prepare-completed{margin:21px 0 0}.prepare-simple .prepare-completed>summary{font-size:11px;color:#989080}.prepare-simple .prepare-completed .prepare-task{padding:10px 0}
@media(max-width:780px){.prepare-simple{max-width:calc(100% - 40px);margin:35px auto;padding:29px 26px 25px}}
@media(max-width:500px){.prepare-simple{max-width:calc(100% - 28px);margin:25px auto;padding:25px 20px 22px;border-radius:14px}.prepare-simple .prepare-heading h1{font-size:27px}.prepare-simple .prepare-task-title,.prepare-simple .prepare-composer>input{font-size:16px}.prepare-simple .prepare-task-tools{gap:14px}.prepare-simple .prepare-task-tools button{font-size:10px;min-height:32px}.prepare-simple .prepare-duration input{width:27px}.prepare-simple .prepare-duration{font-size:10px}.prepare-simple .prepare-task-main{gap:8px}.prepare-simple .prepare-remove{width:20px;opacity:.6}.prepare-simple .prepare-steps{margin-left:25px;margin-right:0}.prepare-simple .prepare-footer{gap:12px}.prepare-simple .prepare-footer .primary{font-size:11px;padding:10px 12px}}
@media(hover:none){.prepare-simple .prepare-remove{opacity:.6}}

/* Study journal: the same notebook, in daylight and lamplight. */
:root{--paper:#f4f0e6;--paper-ink:#444537;--paper-muted:#696657;--paper-line:#d7d0bf;--paper-tint:#eae5d8;--paper-accent:#56654a;--paper-on-accent:#fffcf4;--paper-radius:14px}
.in-room{--paper:#202920;--paper-ink:#f1eadb;--paper-muted:#b9bfac;--paper-line:#485244;--paper-tint:#2a3429;--paper-accent:#e3bf7f;--paper-on-accent:#20251e}
::selection{background:#c6b486;color:#242d22}input,textarea{caret-color:var(--accent)}a{text-underline-offset:4px}
.home-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px 22px;margin:0 0 24px}.home-heading .page-heading{margin:0}.home-heading>p{font-size:14px;color:#b8bdad}
.lobby .hero-room{height:clamp(280px,39vh,430px);border:0}.lobby .hero-content{align-items:end}.hero-content .hero-room-link{display:flex;align-items:center;gap:9px;font-size:14px;color:#f7ead4;white-space:nowrap}.hero-content>div>p{margin-top:5px;color:#e9e1ce}
.lobby .alternatives{grid-template-columns:repeat(4,minmax(0,1fr))}.lobby .alternatives-heading{margin-top:25px}.lobby .alternatives-heading h2{font-size:23px}.lobby .small-room>img{height:115px}.lobby .small-room>div{font-size:17px}.lobby .small-room{background:#1b2820}
.home-study{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px;row-gap:19px;margin-top:16px;padding:23px 25px 18px;border-radius:var(--paper-radius);background:var(--paper);color:var(--paper-ink)}
.home-study-copy h2{font:400 24px/1.3 var(--serif);overflow-wrap:anywhere}.home-study-copy p{font-size:13px;line-height:1.6;color:var(--paper-muted);margin-top:7px}.home-study>.primary{background:var(--paper-accent);border-color:var(--paper-accent);color:var(--paper-on-accent);font-size:13px;min-height:44px;padding:10px 16px;border-radius:8px}.home-study>.primary:hover{filter:brightness(1.1)}
.home-progress{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--paper-line);padding-top:15px;font-size:13px;color:var(--paper-muted);min-height:38px}.home-progress:hover{color:var(--paper-ink)}.home-progress>.icon{width:17px;height:17px}
.quiet-task-panel,dialog,.task-action-menu,.task-chat-preview{--text:var(--paper-ink);--muted:var(--paper-muted);--faint:var(--paper-muted);--accent:var(--paper-accent);--border:var(--paper-line);color:var(--text);background:var(--paper);border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:var(--paper-radius)}
dialog{box-shadow:0 18px 60px #0004;color-scheme:light}.in-room dialog{color-scheme:dark}.dialog-header h2{font-size:28px;letter-spacing:-.4px}.dialog-header p,.dialog-body .goal-form-note{font-size:13px;color:var(--muted)}dialog input,dialog select,dialog textarea{border-color:var(--paper-line);background:var(--paper-tint)}dialog .primary{background:var(--paper-accent);border-color:var(--paper-accent);color:var(--paper-on-accent)}dialog .progress-summary b{color:var(--paper-ink)}dialog .progress-summary span{color:var(--paper-muted)}.journal-preferences-link{display:flex;align-items:center;justify-content:space-between;margin:0 0 25px;padding:12px 0;font-size:14px;color:var(--accent);border-bottom:1px solid var(--border)}
.dashboard-side>.quiet-task-panel,.catalog .quiet-task-panel,.calm-light .quiet-task-panel{background:var(--paper);color:var(--paper-ink);border:0;box-shadow:none}.quiet-task-panel .menu-heading{padding:25px 25px 16px}.quiet-task-panel .menu-heading h2{font-size:28px;color:var(--paper-ink)}.quiet-task-panel .task-menu-tabs button[aria-selected=true],.calm-light .quiet-task-panel .task-menu-tabs button[aria-selected=true]{border-color:var(--paper-accent);color:var(--paper-ink)}.quiet-task-panel .menu-task{padding:17px 0;border-color:var(--paper-line)}
.quiet-task-panel .menu-task-title,.calm-light .quiet-task-panel .menu-task-title{color:var(--paper-ink);font-size:15px;font-weight:400}.quiet-task-panel .menu-task input[type=checkbox],.calm-light .quiet-task-panel .menu-task input[type=checkbox]{border-color:var(--paper-muted);border-radius:5px}.quiet-task-panel .menu-task input[type=checkbox]:checked{background:var(--paper-accent);border-color:var(--paper-accent)}.quiet-task-panel .menu-task input[type=checkbox]:checked::before{border-color:var(--paper-on-accent)}
.quiet-task-panel .menu-task-main{grid-template-columns:20px minmax(0,1fr) auto 30px 30px;gap:7px}.quiet-task-panel .menu-time,.quiet-task-panel .menu-more,.quiet-task-panel .agent-todo-connect,.quiet-task-panel .agent-sub-label,.quiet-task-panel .agent-sub-state,.quiet-task-panel .menu-add-trigger{color:var(--paper-muted);font-size:13px}.quiet-task-panel .menu-more,.quiet-task-panel .agent-todo-connect{width:30px;min-height:40px}.quiet-task-panel .menu-time{min-height:40px}.quiet-task-panel .menu-more:hover,.quiet-task-panel .agent-todo-connect:hover,.quiet-task-panel .menu-time:hover{background:var(--paper-tint);color:var(--paper-ink)}
.quiet-task-panel .menu-task-meta,.quiet-task-panel .menu-task-meta:has(>span:empty){display:flex;align-items:center;justify-content:space-between;gap:6px;padding:2px 0 0 27px;min-height:32px}.quiet-task-panel .menu-task-meta>span{font-size:12px;color:var(--paper-muted);padding:0}.quiet-task-panel .menu-task.is-done .menu-task-meta:has(>span:empty){display:none}.menu-start{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:5px 2px;min-height:32px;color:var(--paper-accent);font-size:12px;white-space:nowrap}.menu-start .icon{height:12px;width:12px}.menu-start:hover{text-decoration:underline}
.menu-heading-actions .menu-planning-toggle{display:flex;gap:5px;width:auto;min-height:40px;padding:0 5px;color:var(--paper-muted);font-size:12px}.quiet-task-panel .menu-empty{font-size:14px;color:var(--paper-muted)}.quiet-task-panel .menu-composer{background:var(--paper-tint);border-color:var(--paper-line)}.quiet-task-panel .menu-composer input::placeholder{color:var(--paper-muted)}.quiet-task-panel .prepare-menu-link{color:var(--paper-muted);font-size:13px;padding:15px 25px;border-color:var(--paper-line)}.quiet-task-panel .prepare-menu-link:hover{color:var(--paper-accent);background:var(--paper-tint)}.quiet-task-panel .menu-settings{border-color:var(--paper-line)}.quiet-task-panel .plan-panel-content{scrollbar-color:var(--paper-line) transparent}
.prepare-page.prepare-simple{--text:var(--paper-ink);--muted:var(--paper-muted);--faint:var(--paper-muted);--accent:var(--paper-accent);--prepare-line:var(--paper-line);max-width:850px;margin:40px auto;padding:34px 40px 28px;background:var(--paper);color:var(--paper-ink);border:0;border-radius:var(--paper-radius);box-shadow:none;color-scheme:light}
.prepare-simple .prepare-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 18px;justify-content:space-between;margin:0 0 28px}.prepare-simple .prepare-heading h1{font-size:34px;color:var(--paper-ink)}.prepare-simple .prepare-heading .journal-date{margin:0;color:var(--paper-muted);font:13px/1.5 var(--sans)}
.study-journal{padding-bottom:26px;border-bottom:1px solid var(--paper-line);margin-bottom:29px}.journal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.journal-heading h2{font:400 23px/1.3 var(--serif);color:var(--paper-ink);letter-spacing:-.3px}.journal-range{display:flex;gap:2px;background:var(--paper-tint);padding:3px;border-radius:7px}.journal-range button{font-size:12px;min-height:34px;padding:6px 11px;border-radius:5px;color:var(--paper-muted)}.journal-range button[aria-pressed=true]{background:var(--paper-accent);color:var(--paper-on-accent)}.journal-range button:not([aria-pressed=true]):hover{color:var(--paper-ink)}
.journal-total{font-size:15px;color:var(--paper-muted);margin-top:10px;font-variant-numeric:tabular-nums}.journal-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:23px 0 22px}.journal-day{display:flex;flex-direction:column;align-items:center;gap:7px;padding:7px 3px;border-radius:8px;font-size:12px;color:var(--paper-muted);min-width:0}.journal-day:hover{background:var(--paper-tint)}.journal-day[aria-pressed=true]{background:var(--paper-tint);color:var(--paper-ink)}.journal-day>span:first-child{font-size:12px}.journal-day-mark{display:grid;place-items:center;width:38px;height:38px;background:#e5e0d3;color:#655f50;border-radius:9px;font:15px var(--sans)}.journal-day.level-1 .journal-day-mark{background:#d5ddc7;color:#3b4934}.journal-day.level-2 .journal-day-mark{background:#9da98b;color:#202a1c}.journal-day.level-3 .journal-day-mark{background:#56654a;color:#fffcf4}.journal-day[aria-current=date] .journal-day-mark{font-weight:600;text-decoration:underline;text-underline-offset:4px}.journal-day small{font-size:11px;white-space:nowrap;min-height:17px}
.journal-record-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 15px;flex-wrap:wrap}.journal-record-heading h3{font:400 19px/1.4 var(--serif)}.journal-record-heading>span{font-size:12px;color:var(--paper-muted);font-variant-numeric:tabular-nums}.journal-empty{font-size:13px;line-height:1.7;color:var(--paper-muted);margin:9px 0 0;max-width:62ch}.journal-entries{list-style:none;margin:10px 0 0;padding:0}.journal-entries>li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--paper-line)}.journal-entries>li:last-child{border:0;padding-bottom:0}.journal-mark{color:var(--paper-accent);padding-top:5px}.journal-mark .icon{width:17px;height:17px}.journal-entries>li>div{flex:1;min-width:0}.journal-entry-title{font-size:14px;line-height:1.6;text-align:left;padding:0;min-height:28px;color:var(--paper-ink);overflow-wrap:anywhere}.journal-entry-title:hover{text-decoration:underline}.journal-entries>li>div>span{display:block;font-size:12px;color:var(--paper-muted);margin-top:2px}.journal-note{font-size:13px;line-height:1.6;color:var(--paper-muted);margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.journal-revisit{display:grid;place-items:center;width:40px;min-width:40px;min-height:40px;color:var(--paper-accent);border-radius:6px}.journal-revisit:hover{background:var(--paper-tint)}
.prepare-list-title{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:17px}.prepare-list-title h2{font-size:23px;line-height:1.3}.prepare-list-title>span{font-size:12px;color:var(--paper-muted)}.prepare-empty-hint{font-size:14px;line-height:1.7;max-width:60ch;color:var(--paper-muted);margin:0 0 15px}.prepare-simple .prepare-task-title,.prepare-simple .prepare-step input:not([type=checkbox]){color:var(--paper-ink)}.prepare-simple .prepare-task-tools{gap:8px 18px;flex-wrap:wrap}.prepare-simple .prepare-task-tools button{font-size:12px;min-height:36px;color:var(--paper-muted)}.prepare-simple .prepare-task-tools .prepare-focus{color:var(--paper-accent)}.prepare-simple .prepare-duration,.prepare-simple .prepare-duration input{font-size:13px;color:var(--paper-muted)}.prepare-simple .prepare-remove{min-width:32px;min-height:36px}.prepare-simple .prepare-add-task{font-size:14px;background:var(--paper-tint);color:var(--paper-ink)}.prepare-simple input::placeholder,.prepare-simple textarea::placeholder{color:var(--paper-muted);opacity:1}.prepare-simple .prepare-completed>summary{font-size:13px;min-height:36px;color:var(--paper-muted)}.prepare-simple .prepare-footer>p{font-size:13px;color:var(--paper-muted)}.prepare-simple .prepare-footer .primary{font-size:13px;min-height:44px;background:var(--paper-accent);border-color:var(--paper-accent);color:var(--paper-on-accent)}.prepare-simple .prepare-footnote{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:22px;margin-top:24px;border-top:1px solid var(--paper-line);font-size:12px;color:var(--paper-muted)}.prepare-simple .prepare-footnote .text-button{font-size:12px;min-height:32px}
.room-rail>.panel,.room-rail>.quiet-task-panel{background:var(--paper);border:1px solid var(--paper-line);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--paper-ink);border-radius:var(--paper-radius)}.room-rail>.timer-panel{padding:22px 24px;max-height:calc(100dvh - 185px);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--paper-line) transparent}.room-rail .session-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.room-rail .timer-panel .session-heading .timer-task-name{font:400 22px/1.4 var(--serif);white-space:normal;overflow-wrap:anywhere;overflow:visible;margin:0;color:var(--paper-ink);min-width:0}.room-rail .session-heading .minimize-window{width:32px;height:32px;flex-shrink:0;color:var(--paper-muted)}.room-rail .timer-topline{margin:13px 0 7px}.room-rail .timer-panel .timer-phase{font-size:11px;letter-spacing:.8px;color:var(--paper-muted)}.room-rail .timer-main{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.room-rail .timer-panel .timer-time{font:400 52px/1.12 var(--sans);letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--paper-ink)}.timer-context{font-size:12px;color:var(--paper-muted)}.room-rail .timer-track{height:3px;margin-top:17px;background:var(--paper-tint);border:0}.room-rail .timer-track>span{background:var(--paper-accent)}.session-earned{font-size:13px;color:var(--paper-muted);margin:12px 0 18px}.session-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.room-rail .timer-panel .timer-primary{font-size:14px;min-height:44px;padding:10px 17px;color:var(--paper-on-accent);background:var(--paper-accent);border-color:var(--paper-accent);border-radius:8px}.session-actions>.text-button{font-size:13px;min-height:40px;color:var(--paper-ink)}.session-details{border-top:1px solid var(--paper-line);margin-top:19px;padding-top:7px}.session-details>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:13px;min-height:40px;cursor:pointer;color:var(--paper-muted)}.session-details>summary::-webkit-details-marker{display:none}.session-details>summary .icon{width:14px;height:14px}.session-details[open]>summary .icon{transform:rotate(180deg)}.session-details .goal-time-balance{font-size:13px;margin-top:6px}.session-details .goal-time-balance strong{font-size:16px;font-weight:400}.session-details .goal-timer-total{font-size:12px;color:var(--paper-muted)}.session-details .timer-next-row{margin-top:8px}.session-details .timer-next{font-size:12px!important;color:var(--paper-muted)}.session-secondary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.session-secondary .text-button{font-size:12px;min-height:36px}.room-rail .goal-check-in{padding:14px 0 0;margin-top:12px;border-top:1px solid var(--paper-line);background:none}.room-rail .goal-check-in p{font-size:14px}.room-rail .goal-check-in button{font-size:12px;min-height:42px;padding:8px 12px}.room-rail .goal-check-in .primary{background:var(--paper-accent);color:var(--paper-on-accent)}
.recap-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.recap-heading h2{font:400 27px/1.3 var(--serif);letter-spacing:-.4px;color:var(--paper-ink)}.recap-heading .icon-button{width:32px;height:32px;flex-shrink:0;color:var(--paper-muted)}.recap-task{font-size:15px;line-height:1.5;margin:18px 0 6px;color:var(--paper-ink);overflow-wrap:anywhere}.recap-earned{font-size:13px;line-height:1.6;color:var(--paper-muted)}.recap-steps{list-style:none;margin:16px 0;padding:0}.recap-steps li{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--paper-muted);padding:4px 0;overflow-wrap:anywhere}.recap-steps .icon{width:15px;height:18px;color:var(--paper-accent)}.recap-note-label{display:block;font-size:14px;color:var(--paper-ink);margin-top:22px}.recap-note-label>span{font-size:12px;color:var(--paper-muted);margin-left:5px}.recap-note-label textarea{display:block;width:100%;margin-top:9px;resize:vertical;min-height:82px;max-height:200px;background:var(--paper-tint);color:var(--paper-ink);border:1px solid var(--paper-line);border-radius:8px;font-size:14px;line-height:1.6;padding:10px 12px;caret-color:var(--paper-accent)}.recap-note-label textarea::placeholder{color:var(--paper-muted);opacity:1}.recap-save{font-size:12px;color:var(--paper-muted);margin-top:6px;min-height:18px}.recap-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.recap-actions button{flex:1;padding:10px 12px;font-size:13px;min-height:44px;border-radius:8px}.recap-actions .primary{color:var(--paper-on-accent);background:var(--paper-accent);border-color:var(--paper-accent)}.recap-actions .outline-button{color:var(--paper-ink);border-color:var(--paper-line)}.recap-done{font-size:13px;color:var(--paper-muted);min-height:40px;margin-top:9px;display:flex;justify-content:center;width:100%}.journal-inline-recap{padding:0 0 27px;margin:0 0 29px;border-bottom:1px solid var(--paper-line)}.journal-inline-recap .recap-note-label textarea{max-width:100%}.journal-inline-recap .recap-actions{max-width:420px}.journal-inline-recap .recap-done{justify-content:flex-start;width:auto}.journal-inline-recap .recap-heading h2{font-size:25px}
.agent-quiet-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:38px;padding:6px 0;width:100%;text-align:left;color:var(--paper-muted);font-size:12px}.agent-quiet-summary>span{display:flex;align-items:flex-start;gap:7px;line-height:1.6}.agent-quiet-summary>small{display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap;min-height:19px}.agent-quiet-summary .icon{height:15px;width:15px;flex-shrink:0;margin-top:2px}.agent-quiet-summary:hover{color:var(--paper-ink)}.agent-quiet-summary[aria-expanded=true]>small>.icon{transform:rotate(180deg)}.chat-review-note{font-size:12px;line-height:1.6;color:var(--paper-muted);margin:6px 0 12px}.quiet-task-panel .agent-sub-dot{animation:none}.quiet-task-panel .agent-halo{box-shadow:none}.task-chat-preview .chat-detail-actions button{min-height:40px;font-size:12px}.quiet-task-panel .agent-sub-main{min-height:40px}
.welcome-card{--text:var(--paper-ink);--muted:var(--paper-muted);--accent:var(--paper-accent);--border:var(--paper-line);background:var(--paper);color:var(--paper-ink);border:0;border-radius:var(--paper-radius);box-shadow:0 18px 60px #0004}.welcome-card h2{color:var(--paper-ink)}.welcome-card>p,.welcome-top,.welcome-card .text-button{color:var(--paper-muted)}.welcome-card .primary{color:var(--paper-on-accent);background:var(--paper-accent);border-color:var(--paper-accent)}.welcome-card .welcome-art{height:auto;min-height:90px;padding:15px 0}.study-tour-art{display:flex;align-items:center;gap:16px;width:100%;padding:18px;border-radius:9px;background:var(--paper-tint);color:var(--paper-accent);font-size:14px}.study-tour-art .icon{width:30px;height:30px;stroke-width:1.4}.welcome-ring{animation:none;transition:opacity .18s ease;border-color:#d7bf8c}.welcome-card .welcome-dots i.on{background:var(--paper-accent)}
.calm-light .home-heading>p{color:#626957}.calm-light .home-progress{color:var(--paper-muted)}.calm-light .home-study>.primary{color:var(--paper-on-accent);background:var(--paper-accent)}
@media(max-width:1000px){.home-study{grid-template-columns:1fr;padding:21px}.home-study>.primary{justify-self:start}.home-study-copy h2{font-size:22px}.lobby .small-room>div{font-size:15px}.lobby .small-room>img{height:95px}}
@media(max-width:820px){.lobby .dashboard-grid{grid-template-columns:minmax(0,1fr)}.lobby .dashboard-side{min-height:0}.lobby .dashboard-side>.task-panel{position:static;height:auto}.lobby .hero-room{height:340px}.prepare-page.prepare-simple{max-width:calc(100% - 40px);margin:28px auto;padding:28px}.room-rail .timer-panel .timer-time{font-size:46px}}
@media(max-width:680px){.home-heading{gap:8px;margin-bottom:22px}.home-heading>p{font-size:13px;width:100%}.lobby .hero-room{height:310px}.lobby .hero-content{flex-direction:row;align-items:end;gap:15px}.hero-content .hero-room-link{font-size:12px}.hero-content .hero-room-link .icon{width:16px}.lobby .hero-content h2{font-size:25px}.lobby .hero-content p{font-size:12px}.lobby .alternatives{grid-template-columns:repeat(2,minmax(0,1fr))}.lobby .small-room>img{height:120px}.home-study{padding:21px 20px}.home-study-copy h2{font-size:22px}.home-progress{font-size:12px}.prepare-page.prepare-simple{max-width:calc(100% - 28px);padding:25px 20px;margin:24px auto}.prepare-simple .prepare-heading h1{font-size:30px}.prepare-simple .prepare-heading .journal-date{font-size:12px}.journal-heading h2,.prepare-list-title h2{font-size:22px}.journal-heading{gap:12px}.journal-range button{min-height:38px}.journal-week{gap:3px;margin:18px -5px}.journal-day{padding:6px 1px}.journal-day-mark{width:32px;height:36px}.journal-day>span:first-child{font-size:11px}.journal-day small{font-size:11px}.journal-record-heading{align-items:flex-start;flex-direction:column;gap:2px}.prepare-simple .prepare-task-tools{gap:2px 15px;margin-left:28px}.prepare-simple .prepare-task-tools button{min-height:40px;font-size:12px}.prepare-simple .prepare-task-title,.prepare-simple .prepare-composer>input,.recap-note-label textarea{font-size:16px}.prepare-simple .prepare-duration input{font-size:16px;width:32px}.prepare-simple .prepare-remove{width:30px;min-width:30px}.prepare-simple .prepare-task-main{gap:7px}.room-rail>.timer-panel{padding:20px;max-height:calc(100dvh - 215px);margin:0;width:100%}.room-rail .session-heading .timer-task-name{font-size:21px}.recap-heading h2{font-size:25px}.recap-note-label{margin-top:17px}.recap-actions{margin-top:15px}.room-rail .timer-panel .timer-time{font-size:44px}.room-rail .quiet-task-panel{max-height:calc(100dvh - 215px)}.scene-audio-button>span{font-size:12px}.quiet-task-panel .menu-task-meta>span{font-size:12px}.quiet-task-panel .menu-more,.quiet-task-panel .agent-todo-connect{min-height:40px}.menu-start{min-height:40px}.welcome-card .welcome-actions{gap:8px}.welcome-card .welcome-actions .primary{font-size:12px;padding:9px 12px;min-height:42px}}
@media(prefers-reduced-motion:reduce){.journal-day,.home-study,.journal-recap{transition:none;animation:none}}

/* Keep notebook controls distinct from their paper surface. */
.prepare-simple input[type=checkbox]{border-color:var(--paper-muted)}.prepare-simple input[type=checkbox]:checked{background:var(--paper-accent);border-color:var(--paper-accent)}.prepare-simple input[type=checkbox]:checked:after{border-color:var(--paper-on-accent)}

/* Study tour controls share the notebook text contrast. */
.welcome-card .welcome-close{width:40px;height:40px;color:var(--paper-muted);margin-right:-6px}.welcome-card .welcome-close:hover{background:var(--paper-tint);color:var(--paper-ink)}.welcome-card .welcome-close:focus-visible{outline:2px solid var(--paper-accent);outline-offset:2px}.welcome-card .welcome-dots i{background:var(--paper-line);transition:none}.welcome-card .welcome-dots i.on{background:var(--paper-accent)}

/* Study journal week shelf: each day fills with its real focus time; Home and same-day recaps carry a small copy. */
.journal-week{margin:22px 0 20px}.journal-day{gap:8px;padding:9px 3px 8px}.journal-day small.journal-day-value{font-size:12px;min-height:18px;color:var(--paper-muted);font-variant-numeric:tabular-nums}.journal-day.has-time .journal-day-value{color:var(--paper-ink);font-weight:500}
.journal-vessel{position:relative;display:block;width:min(46px,100%);height:96px;border:1px solid var(--paper-line);border-radius:9px;background:var(--paper-tint);overflow:hidden}.journal-day:hover .journal-vessel,.journal-day[aria-pressed=true] .journal-vessel{background:var(--paper)}.journal-day[aria-current=date] .journal-vessel{border-color:var(--paper-accent)}.journal-day.is-ahead .journal-vessel{opacity:.5}
.journal-fill{position:absolute;left:0;right:0;bottom:0;height:calc(var(--fill)*100%);background:var(--paper-accent);transform-origin:50% 100%}.journal-fill.is-rising{animation:journal-rise .9s cubic-bezier(.16,1,.3,1) both}@keyframes journal-rise{from{transform:scaleY(var(--rise))}}
.journal-day-name{font-size:12px;white-space:nowrap}.journal-day-date{font-variant-numeric:tabular-nums}.journal-day[aria-current=date] .journal-day-name{color:var(--paper-ink);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.journal-mini{display:inline-flex;align-items:stretch;gap:4px;height:26px;flex-shrink:0}.journal-mini>span{position:relative;width:7px;border-radius:30px;background:var(--paper-line);overflow:hidden}.journal-mini>.is-today{outline:1px solid var(--paper-accent);outline-offset:1px}.journal-mini>.is-ahead{opacity:.45}
.home-progress{justify-content:flex-start}.home-progress-text{flex:1;min-width:0}
.recap-day{display:flex;align-items:center;gap:12px;margin-top:16px;padding-top:15px;border-top:1px solid var(--paper-line);font-size:13px;line-height:1.5;color:var(--paper-muted);font-variant-numeric:tabular-nums}.journal-inline-recap .recap-day{display:none}
@media(max-width:680px){.journal-week{gap:3px;margin:18px -5px}.journal-day{gap:7px;padding:7px 1px}.journal-vessel{width:min(28px,100%);height:64px}.journal-day-name,.journal-day small.journal-day-value{font-size:11px}}
@media(prefers-reduced-motion:reduce){.journal-fill.is-rising{animation:none}}

/* Today's sessions on the session card and recap, and the next-time note that waits for the next start. */
.session-tracks{margin:0 0 18px}.session-tracks-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--paper-line)}.session-tracks-heading h3{font:400 16px/1.4 var(--serif);color:var(--paper-ink)}.session-tracks-heading>span{font-size:12px;color:var(--paper-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.session-tracks-fold{font-size:12px;color:var(--paper-muted);margin-top:8px}.session-tracks-fold a{color:var(--paper-ink)}
.session-tracks-list{list-style:none;margin:6px 0 0;padding:0}.session-tracks-list>li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:baseline;gap:10px;padding:8px 0;border-bottom:1px solid var(--paper-line);font-size:13px;line-height:1.45}.session-tracks-list>li:last-child{border-bottom:0;padding-bottom:0}
.track-no,.track-time{font-size:12px;color:var(--paper-muted);font-variant-numeric:tabular-nums}.track-time{white-space:nowrap}.track-main{display:flex;flex-direction:column;min-width:0}.track-title{color:var(--paper-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.track-room{font-size:12px;color:var(--paper-muted)}
.timer-panel:has(.session-tracks) [data-session-earned]{display:none}.recap-day+.session-tracks-list{margin-top:4px}.journal-inline-recap .session-tracks-list{display:none}
.journal-waiting{margin-top:14px;padding:10px 12px;border-radius:8px;background:var(--paper-tint)}.journal-waiting-label{font-size:12px;color:var(--paper-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journal-waiting-text{font-size:14px;line-height:1.6;color:var(--paper-ink);margin-top:3px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.home-study-copy .journal-waiting{max-width:62ch}.room-rail .timer-panel .journal-waiting{margin:12px 0 2px}

/* Polish: rooms keep the waiting note to two lines. On phones the ambience button uses its icon-only playing form (it keeps its aria-label), so the dock clears the hide-controls toggle instead of sitting under it. */
.room-rail .timer-panel .journal-waiting-text{-webkit-line-clamp:2}
@media(max-width:680px){.scene-audio-button>span{display:none}}

/* Immersive study workspace — the room, plan and focus share one quiet surface. */
body.nook-refined{--bg:#111d18;--surface:#1b2b23;--panel:#1b2b23;--room-panel:#1b2b23;--text:#f4eedf;--muted:#bdc4b7;--faint:#a4af9f;--border:#c7d2bc26;--accent:#f1c65f;--accent-hover:#f8d680;--paper:#1b2b23;--paper-ink:#f4eedf;--paper-muted:#bdc4b7;--paper-line:#c7d2bc26;--paper-tint:#13221b;--paper-accent:#f1c65f;--paper-on-accent:#222719;--paper-radius:16px;background:var(--bg);color:var(--text);color-scheme:dark;scrollbar-color:#70806e #14201a;caret-color:var(--accent)}
.nook-refined ::selection{background:#f1c65f;color:#18231b}.nook-refined input::placeholder,.nook-refined textarea::placeholder{color:var(--muted);opacity:1}.nook-refined :focus-visible{outline:2px solid var(--accent);outline-offset:4px}.nook-refined input[type=checkbox]{border-radius:50%;border-color:#bdc4b7}.nook-refined input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.nook-refined .primary{background:var(--accent);color:#222719;border-color:transparent;border-radius:30px;min-height:44px;font-size:13px}.nook-refined .primary:hover{background:var(--accent-hover)}.nook-refined .outline-button{border-color:var(--border);border-radius:30px;color:var(--text)}
.nook-refined .app-header,.nook-refined.in-room .app-header{position:absolute;inset:0 0 auto;height:88px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 32px;background:transparent;border:0;color:var(--text);z-index:12;pointer-events:none}.refined-place,.refined-navigation{display:flex;align-items:center;gap:14px;pointer-events:auto}.nook-refined .brand{font:30px/1 var(--serif);letter-spacing:-.8px;color:var(--text);text-shadow:0 2px 12px #0009}.refined-room-tag{display:flex;align-items:center;gap:9px;padding:10px 15px;border-radius:30px;background:#14221eed;color:var(--text);font-size:12px;min-height:40px}.refined-room-tag .icon{width:13px;height:13px;color:var(--muted)}
.nook-refined .main-nav{align-self:auto;display:flex;align-items:center;gap:3px;padding:5px;border-radius:30px;background:#12221cf5;box-shadow:0 4px 18px #0002}.nook-refined .nav-link{min-height:36px;padding:8px 17px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:30px;font-size:13px;color:var(--muted)}.nook-refined .nav-link.active{color:var(--accent);border-color:#f1c65f8a;background:#f1c65f08}.nook-refined .nav-link.active:after{display:none}.nook-refined .nav-link:hover{color:var(--text);background:#ffffff07}
.refined-settings{position:relative}.refined-settings>summary{list-style:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#14221eed;cursor:pointer}.refined-settings>summary::-webkit-details-marker{display:none}.refined-settings>div{position:absolute;right:0;top:52px;min-width:195px;padding:8px;background:var(--panel);border:1px solid var(--border);border-radius:12px}.refined-settings button{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:8px 12px;text-align:left;color:var(--text);font-size:13px;border-radius:6px}.refined-settings button:hover{background:#ffffff0a}.refined-settings .icon{width:18px;height:18px}
.refined-backdrop{position:fixed;inset:0;z-index:-1;background:#111b15;pointer-events:none}.refined-backdrop img{width:100%;height:100%;object-fit:cover;object-position:center}.refined-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0004,transparent 24%,transparent 60%,#07140ca8)}.nook-refined #main{min-height:100dvh}.refined-rooms{position:relative;min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-end;padding:160px 32px 26px;isolation:isolate}.refined-rooms>.refined-backdrop{z-index:-1}.refined-room-caption{margin:0 auto 28px;width:min(1280px,100%);text-shadow:0 2px 12px #000a}.refined-room-caption h2{font-size:36px;line-height:1.15}.refined-room-caption p{font-size:13px;margin-top:7px;color:#efeadd}
.refined-room-drawer{width:min(1280px,100%);margin:0 auto;padding:0 24px 18px;border-radius:16px;background:#14231d;box-shadow:0 14px 42px #0003}.nook-refined .home-study.refined-welcome{display:grid;grid-template-columns:minmax(210px,.95fr) minmax(0,1.6fr) auto;align-items:center;gap:28px;padding:22px 0 20px;margin:0;border:0;border-bottom:1px solid var(--border);background:transparent;border-radius:0;box-shadow:none}.refined-greeting{padding-right:28px;border-right:1px solid var(--border)}.refined-greeting h1{font:26px/1.3 var(--serif);letter-spacing:-.4px}.refined-greeting>span{display:block;margin-top:5px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.refined-next>span{display:block;color:var(--accent);font-size:11px;margin-bottom:5px}.refined-next h2{font:21px/1.35 var(--serif);overflow-wrap:anywhere}.refined-start{display:flex;flex-direction:column;align-items:center;gap:5px;max-width:270px}.refined-start .primary{padding:12px 20px;white-space:normal;text-align:center}.refined-start .primary .icon{width:16px}.refined-enter{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);min-height:24px}.refined-enter .icon{width:13px;height:13px}.refined-enter:hover{color:var(--text)}.refined-welcome .journal-waiting{margin-top:8px;padding:0;background:none}.refined-welcome .journal-waiting-label{display:none}.refined-welcome .journal-waiting-text{font-size:12px;-webkit-line-clamp:1;color:var(--muted)}
.refined-browser-heading{display:flex;align-items:center;gap:22px;margin:15px 0 12px}.refined-browser-heading h2{font-size:19px}.refined-browser-heading .filters{margin:0;flex-wrap:nowrap;gap:5px;overflow-x:auto;scrollbar-width:none;min-width:0}.refined-browser-heading .filter{border:0;border-radius:5px;padding:7px 9px;white-space:nowrap;font-size:12px;min-height:34px;color:var(--muted)}.refined-browser-heading .filter.active{color:var(--accent);background:#f1c65f0a}.refined-filmstrip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(132px,1fr);gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#58644e transparent;padding:3px 3px 7px;margin:0 -3px}.refined-room-choice{position:relative;min-width:0;scroll-snap-align:start}.refined-preview-room{display:block;width:100%;padding:0;text-align:left}.refined-preview-room img{width:100%;height:auto;aspect-ratio:1.55;object-fit:cover;display:block;border-radius:9px;outline:1px solid #ffffff14;outline-offset:0;transition:filter .2s ease}.refined-preview-room>span{display:block;font-size:12px;margin-top:8px;color:var(--muted)}.refined-room-choice.is-selected img{outline:2px solid var(--accent);outline-offset:2px}.refined-room-choice.is-selected .refined-preview-room>span{color:var(--text)}.refined-preview-room:hover img{filter:brightness(1.13)}.refined-room-choice .favorite{top:6px;right:6px;width:30px;height:30px;background:#13211dcc;color:var(--text)}.refined-room-choice .favorite .icon{width:16px;height:16px}.refined-room-choice .favorite.selected{color:var(--accent)}.refined-no-rooms{min-height:116px;display:flex;align-items:center;gap:16px;font-size:14px;color:var(--muted)}
/* My day is a single drawer: tasks on the left, the record of real work on the right. */
.nook-refined[data-view=prepare] #main{padding:clamp(132px,19vh,210px) 32px 28px;isolation:isolate}.nook-refined .prepare-page.prepare-simple{max-width:1160px;width:100%;margin:0 auto;padding:32px 36px 20px;background:#14231d;color:var(--text);border:0;border-radius:16px;color-scheme:dark;box-shadow:0 14px 42px #0003}.nook-refined .prepare-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 25px}.nook-refined .prepare-heading h1{font-size:34px;color:var(--text);line-height:1.2}.nook-refined .prepare-heading .journal-date{font-size:12px;color:var(--muted);margin:0}.refined-day-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:40px}.refined-day-tasks,.refined-day-record{min-width:0}.nook-refined .prepare-list-title{margin-bottom:8px}.nook-refined .prepare-list-title h2{font:13px var(--sans);color:var(--muted)}.nook-refined .prepare-list-title>span{font-size:12px}.nook-refined .prepare-task{padding:14px 0;border-color:var(--border)}.nook-refined .prepare-task-title{font-size:15px;line-height:1.4;color:var(--text);padding:4px 0}.nook-refined .prepare-task-tools{gap:14px;margin:2px 0 0 29px}.nook-refined .prepare-task-tools button{font-size:11px;min-height:28px;padding:0;color:var(--muted)}.nook-refined .prepare-task-tools .prepare-focus{color:var(--accent)}.nook-refined .prepare-task-tools .icon{width:13px;height:13px}.nook-refined .prepare-duration,.nook-refined .prepare-duration input{color:var(--muted);font-size:12px}.nook-refined .prepare-duration:focus-within{background:var(--paper-tint);box-shadow:0 0 0 5px var(--paper-tint)}.nook-refined .prepare-task-main{gap:10px}.nook-refined .prepare-remove{opacity:1;color:var(--muted);min-width:28px}.nook-refined .prepare-remove:hover{color:var(--text)}.nook-refined .prepare-add-task{background:none;color:var(--muted);margin-top:10px;padding:8px 0;min-height:44px}.nook-refined .prepare-composer{background:var(--paper-tint);color:var(--text);border:1px solid var(--border);margin-top:14px}.nook-refined .prepare-composer>input{color:var(--text);background:transparent}.nook-refined .prepare-composer button{color:var(--accent)}.nook-refined .prepare-steps{margin:8px 0 0 29px}.nook-refined .prepare-step input:not([type=checkbox]){font-size:13px;color:var(--muted);background:transparent}.nook-refined .prepare-step input[type=checkbox]{width:16px;height:16px}.nook-refined .prepare-step form input,.nook-refined .prepare-steps form input{color:var(--text)}.nook-refined .prepare-footer{margin-top:20px;padding-top:16px;border-color:var(--border)}.nook-refined .prepare-footer .primary{border-radius:30px}.nook-refined .prepare-footnote{padding-top:16px;margin-top:24px;font-size:11px}.nook-refined .prepare-completed{border-color:var(--border)}
.nook-refined .study-journal{padding:20px 20px 18px;margin:0;border:0;border-radius:12px;background:#1e3027}.nook-refined .journal-heading{gap:10px;align-items:center;flex-wrap:wrap}.nook-refined .journal-heading h2{font:20px/1.3 var(--serif);color:var(--text)}.nook-refined .journal-range{border:0;background:#13221b;border-radius:30px;padding:3px}.nook-refined .journal-range button{font-size:10px;min-height:29px;padding:4px 8px;border:0;border-radius:30px;color:var(--muted)}.nook-refined .journal-range button[aria-pressed=true]{background:#304037;color:var(--text)}.nook-refined .journal-total{font-size:12px;line-height:1.6}.nook-refined .journal-week{gap:3px;margin:20px -4px}.nook-refined .journal-vessel{height:105px;width:34px;border-radius:6px;background:#102219;border-color:transparent}.nook-refined .journal-day{gap:6px;padding:4px 2px;background:transparent}.nook-refined .journal-day[aria-pressed=true]{background:#ffffff05}.nook-refined .journal-day[aria-current=date] .journal-vessel{border-color:var(--accent)}.nook-refined .journal-day-name,.nook-refined .journal-day small.journal-day-value{font-size:10px}.nook-refined .journal-day-date{display:none}.nook-refined .journal-fill{background:#e3b651}.nook-refined .journal-record-heading{align-items:flex-start;flex-direction:column;gap:3px}.nook-refined .journal-record-heading h3{font:13px var(--sans)}.nook-refined .journal-record-heading>span{font-size:11px}.nook-refined .journal-empty{font-size:12px}.nook-refined .journal-entry-title{font-size:12px}.nook-refined .journal-entries>li>div>span,.nook-refined .journal-note{font-size:11px}.nook-refined .journal-inline-recap{max-width:650px;margin:0 auto 28px}
/* Focus keeps the clock on the scene and the actual work in one centered card. */
.nook-refined .room-screen{height:100dvh;min-height:560px;padding:0;overflow:hidden}.nook-refined .room-background:after{background:linear-gradient(180deg,#07110d55,transparent 30%,#0a170f24 65%,#08120c5c)}.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){position:absolute;inset:clamp(94px,17vh,180px) 0 106px;margin:0 auto;transform:none;width:min(560px,calc(100vw - 40px));gap:0;align-items:stretch;z-index:4;pointer-events:none}.nook-refined .room-rail>.timer-panel{background:none;border:0;box-shadow:none;padding:0;max-height:100%;overflow:visible;border-radius:0;pointer-events:none;animation:none;color:var(--text)}.nook-refined .refined-clock{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:26px;color:#fff9e9;text-shadow:0 2px 20px #0009;pointer-events:auto}.nook-refined .timer-panel .refined-clock .timer-time{font:400 clamp(64px,7vw,96px)/1 var(--serif);letter-spacing:-.035em;color:#fff9e9;white-space:nowrap;font-variant-numeric:tabular-nums}.nook-refined .refined-clock .timer-context{font:17px/1.3 var(--serif);color:#fff9e9}.refined-focus-card{padding:24px 28px 14px;border-radius:16px;background:#192c23;box-shadow:0 12px 36px #0003;max-height:calc(100dvh - 360px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#66745f transparent;pointer-events:auto}.nook-refined .refined-focus-card .session-heading{align-items:center;gap:12px}.nook-refined .refined-focus-card .timer-task-name{font:400 24px/1.35 var(--serif);flex:1}.refined-task-estimate{font-size:12px;color:var(--muted);white-space:nowrap}.refined-focus-card .session-heading>.icon-button{width:30px;height:32px;flex-shrink:0}.refined-focus-card .session-earned{font-size:11px;margin:12px 0 0;color:var(--muted)}.refined-focus-hint{font-size:13px;color:var(--muted);margin:12px 0}.refined-focus-steps{list-style:none;margin:18px 0 0;padding:0}.refined-focus-steps:empty{display:none}.refined-focus-steps .prepare-step{min-height:36px;padding:4px 0;display:flex;align-items:center;gap:12px;font-size:14px;color:var(--text)}.refined-focus-steps .prepare-step input[type=checkbox]{width:18px;height:18px}.refined-focus-steps .is-done>span{text-decoration:line-through;color:var(--muted)}.refined-focus-chats:empty{display:none}.refined-focus-chats .agent-quiet-summary{padding:8px 0 0;min-height:30px;font-size:11px}.refined-focus-chats .agent-subs{padding-left:0;margin:8px 0}.refined-focus-chats .agent-nudge{display:none}.refined-focus-card .session-details{margin-top:12px;padding-top:0;border-color:var(--border)}.refined-focus-card .session-details>summary{min-height:35px;font-size:11px}.refined-focus-card .goal-check-in{padding-top:16px;margin-top:14px;background:none}.nook-refined .refined-focus-actions{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);display:flex;flex-wrap:nowrap;gap:8px;width:max-content;padding:6px;background:#15281fee;border-radius:40px;pointer-events:auto;margin:0;z-index:6}.nook-refined .refined-focus-actions .timer-primary{min-width:120px;min-height:42px;font-size:13px;padding:10px 18px;background:transparent;border:1px solid #e7e9d72b;color:var(--text);border-radius:30px}.nook-refined .refined-focus-actions .refined-finish{min-width:132px;min-height:42px;padding:10px 20px}.nook-refined .refined-focus-actions button .icon{width:16px;height:16px}.nook-refined .room-rail>.quiet-task-panel{position:fixed;right:24px;top:96px;bottom:auto;width:min(390px,calc(100vw - 40px));max-height:calc(100dvh - 195px);background:#172a21fa;border:1px solid var(--border);pointer-events:auto}.nook-refined .room-rail:has(#scene-plan:not([hidden])){position:static;transform:none}.nook-refined .room-rail:has(#scene-plan:not([hidden])) #scene-timer{display:none}.nook-refined .scene-tab{position:fixed;right:28px;top:96px;pointer-events:auto;background:#182a21f2;border:1px solid var(--border);min-height:40px;border-radius:30px;font-size:12px}.nook-refined .scene-tab[data-scene-tab=timer]{top:144px}.nook-refined .scene-tab .icon:last-child{display:none}.nook-refined .scene-tab[data-scene-tab=plan]{transform:none}.nook-refined .scene-tab .icon{width:16px;height:16px}.nook-refined .scene-dock{position:absolute;left:28px;right:28px;bottom:28px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:5;gap:16px}.nook-refined .scene-dock>*{pointer-events:auto}.nook-refined .sound-bar,.nook-refined .distraction-trigger{background:#15281ff5;border:1px solid var(--border);border-radius:30px;backdrop-filter:none;box-shadow:none;color:var(--text);min-height:44px}.nook-refined .sound-settings,.nook-refined .music-trigger{font-size:12px;color:var(--text)}.nook-refined .sound-bar .icon{width:17px;height:17px}.nook-refined .distraction-trigger{font-size:12px;padding:10px 16px;margin-right:54px}.nook-refined .distraction-trigger .icon{width:16px;height:16px}.nook-refined .scene-visibility-toggle{right:28px;bottom:29px;padding:10px;width:44px;height:44px;border-radius:50%;background:#15281ff5;border-color:var(--border);backdrop-filter:none}.nook-refined .scene-visibility-toggle>span{display:none}.nook-refined .sounds-panel{background:#1b2b23;border:1px solid var(--border);border-radius:16px;color:var(--text)}.nook-refined .sounds-panel .panel-heading h2{font-size:23px}.nook-refined .sound-row{color:var(--text)}
/* A completion belongs to the work actually done, with a note for next time. */
.nook-refined .room-rail>.journal-recap{pointer-events:auto;padding:28px 32px;background:#1b2d24;border-radius:16px;box-shadow:0 16px 46px #0004;max-height:calc(100dvh - 215px);overflow:auto}.nook-refined.showing-recap .room-background{filter:brightness(.55)}.refined-recap-label{font-size:11px;color:var(--accent);align-self:center}.refined-recap-title{font:30px/1.25 var(--serif);margin:12px 0 8px;overflow-wrap:anywhere}.refined-recap-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:20px}.refined-recap-stats>div{padding:12px;background:#11231b;border-radius:8px;min-width:0}.refined-recap-stats strong{font:22px/1.3 var(--serif);display:block}.refined-recap-stats span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.nook-refined .recap-note-label{font-size:13px;margin-top:20px}.nook-refined .recap-note-label textarea{font-size:13px;min-height:66px;max-height:130px;background:#15261e}.nook-refined .recap-actions{flex-wrap:nowrap}.nook-refined .recap-actions button{min-width:0;white-space:normal;border-radius:30px;font-size:12px}.nook-refined .recap-actions .primary{flex:1.7}.nook-refined .recap-save,.nook-refined .recap-done{font-size:11px}.nook-refined .recap-done{margin-top:8px;min-height:32px}.nook-refined .recap-steps li{font-size:12px}.nook-refined.scene-clear .room-rail{opacity:0;visibility:hidden}.nook-refined.scene-clear .scene-dock{opacity:0;visibility:hidden}.nook-refined.scene-clear .app-header{opacity:0;visibility:hidden}
@media(min-width:1600px){.refined-room-drawer{padding:0 28px 22px}.refined-filmstrip{grid-auto-columns:minmax(150px,1fr)}}
@media(max-width:1000px){.nook-refined .home-study.refined-welcome{grid-template-columns:1fr 1.4fr;gap:18px}.refined-start{grid-column:2;grid-row:1;justify-self:end}.refined-next{grid-column:1 / -1;border-top:1px solid var(--border);padding-top:14px;display:flex;align-items:baseline;gap:12px}.refined-next .journal-waiting{display:none}.refined-greeting{border:0;padding:0}.refined-filmstrip{grid-auto-columns:148px}.refined-day-grid{gap:26px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.nook-refined .prepare-page.prepare-simple{padding:28px}.nook-refined .journal-heading{align-items:flex-start;flex-direction:column;gap:10px}.nook-refined .scene-dock .distraction-trigger>span{display:none}.nook-refined .distraction-trigger{padding:11px}.nook-refined .scene-audio-button>span{display:none}.nook-refined .refined-focus-actions{bottom:28px}.nook-refined .scene-tab{right:20px}.nook-refined .room-rail>.quiet-task-panel{right:20px}}
@media(max-width:760px){.nook-refined .app-header,.nook-refined.in-room .app-header{height:76px;padding:0 18px;gap:10px}.refined-place,.refined-navigation{gap:8px}.nook-refined .brand{font-size:27px}.refined-room-tag{font-size:11px;padding:8px 11px;min-height:34px}.nook-refined .main-nav{padding:4px;gap:0}.nook-refined .nav-link{padding:8px 12px;min-height:34px;font-size:12px}.refined-settings>summary{width:36px;height:36px}.refined-settings>div{top:47px}.refined-rooms{padding:130px 18px 18px}.refined-room-caption{margin-bottom:20px}.refined-room-caption h2{font-size:30px}.refined-room-drawer{padding:0 18px 12px}.refined-browser-heading{gap:14px}.refined-browser-heading .filter{font-size:11px;padding:7px}.refined-filmstrip{gap:13px;grid-auto-columns:142px}.refined-greeting h1{font-size:23px}.refined-greeting>span{font-size:11px}.refined-start .primary{font-size:12px;padding:11px 16px}.refined-next h2{font-size:19px}.nook-refined[data-view=prepare] #main{padding:138px 18px 20px}.nook-refined .prepare-page.prepare-simple{max-width:100%;padding:26px 24px 16px}.refined-day-grid{grid-template-columns:minmax(0,1fr)}.nook-refined .journal-heading{flex-direction:row;align-items:center}.nook-refined .journal-vessel{width:44px;height:100px}.nook-refined .prepare-heading{flex-wrap:wrap;gap:7px;margin-bottom:24px}.nook-refined .prepare-heading h1{font-size:30px}.nook-refined .prepare-task-title{font-size:16px}.nook-refined .prepare-duration input{font-size:16px;width:32px}.nook-refined .prepare-task-tools button{min-height:36px}.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){top:120px;bottom:165px;width:min(520px,calc(100vw - 36px))}.nook-refined .refined-focus-card{padding:22px 22px 12px;max-height:calc(100dvh - 400px)}.nook-refined .refined-focus-card .timer-task-name{font-size:22px}.nook-refined .timer-panel .refined-clock .timer-time{font-size:76px}.nook-refined .refined-clock{margin-bottom:22px}.nook-refined .refined-focus-actions{bottom:83px}.nook-refined .scene-dock{bottom:20px;left:18px;right:18px}.nook-refined .scene-visibility-toggle{bottom:21px;right:18px}.nook-refined .scene-tab{top:78px;right:18px;min-height:34px;padding:5px 12px}.nook-refined .scene-tab[data-scene-tab=timer]{top:118px}.nook-refined .room-rail>.quiet-task-panel{top:118px;right:18px;max-height:calc(100dvh - 210px);width:calc(100vw - 36px)}.nook-refined .room-rail>.journal-recap{padding:24px;max-height:calc(100dvh - 235px)}.nook-refined .distraction-trigger{margin-right:53px}.nook-refined .recap-note-label textarea{font-size:16px}.nook-refined .refined-recap-title{font-size:27px}}
@media(max-width:520px){.refined-place .brand{display:none}.refined-room-tag{max-width:132px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.refined-room-tag .icon{display:none}.nook-refined .nav-link{padding:7px 10px;font-size:11px;min-height:33px}.nook-refined .app-header,.nook-refined.in-room .app-header{padding:0 14px;gap:8px}.refined-settings>summary{width:30px;height:34px;background:none}.refined-navigation{gap:3px}.refined-rooms{padding:150px 14px 14px}.refined-room-caption{margin-bottom:20px}.refined-room-caption h2{font-size:27px}.refined-room-caption p{font-size:12px}.nook-refined .home-study.refined-welcome{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0 16px}.refined-greeting h1{font-size:24px}.refined-next{grid-column:1;display:block;padding-top:12px}.refined-next h2{font-size:20px}.refined-start{grid-row:auto;grid-column:1;flex-direction:row;justify-content:space-between;align-items:center;justify-self:stretch;max-width:none;gap:12px}.refined-start .primary{min-width:0;padding:10px 16px}.refined-enter{font-size:10px;flex-shrink:0}.refined-browser-heading{display:block;margin:14px 0 8px}.refined-browser-heading h2{font-size:18px;margin-bottom:5px}.refined-browser-heading .filters{margin-left:-7px}.refined-filmstrip{grid-auto-columns:138px}.refined-preview-room>span{font-size:11px}.nook-refined[data-view=prepare] #main{padding:122px 14px 14px}.nook-refined .prepare-page.prepare-simple{padding:24px 18px 16px}.nook-refined .prepare-heading{display:block}.nook-refined .prepare-heading .journal-date{margin-top:7px}.nook-refined .prepare-task-tools{gap:14px;flex-wrap:wrap;margin-left:29px}.nook-refined .prepare-task-tools button{font-size:11px}.nook-refined .prepare-task-main{gap:6px}.nook-refined .prepare-duration span{font-size:11px}.nook-refined .prepare-remove{min-width:26px;width:26px}.nook-refined .prepare-task-title{font-size:15px}.nook-refined .prepare-footer{flex-direction:row;align-items:center;gap:12px}.nook-refined .prepare-footer p{font-size:12px}.nook-refined .prepare-footer .primary{padding:10px 14px}.nook-refined .study-journal{padding:18px 14px}.nook-refined .journal-vessel{width:30px;height:84px}.nook-refined .journal-heading h2{font-size:19px}.nook-refined .prepare-footnote{font-size:10px}.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){width:calc(100vw - 28px)}.nook-refined .room-rail>.quiet-task-panel{width:calc(100vw - 28px);right:14px}.nook-refined .refined-focus-card{padding:20px 20px 10px}.nook-refined .refined-focus-card .timer-task-name{font-size:21px}.refined-task-estimate{font-size:11px}.nook-refined .refined-focus-actions .timer-primary{min-width:115px}.nook-refined .refined-focus-actions .refined-finish{min-width:125px}.nook-refined .refined-focus-steps .prepare-step{font-size:13px;min-height:37px}.nook-refined .room-rail>.journal-recap{padding:22px 20px}.refined-recap-stats>div{padding:11px 9px}.refined-recap-stats strong{font-size:21px}.refined-recap-stats span{font-size:10px}.nook-refined .recap-actions{flex-wrap:wrap}.nook-refined .recap-actions>.primary{flex-basis:100%}.nook-refined .recap-actions>.outline-button{flex-basis:100%}}
@media(max-height:700px) and (min-width:761px){.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){top:92px;bottom:90px}.nook-refined .timer-panel .refined-clock .timer-time{font-size:64px}.nook-refined .refined-clock{margin-bottom:18px}.refined-focus-card{max-height:calc(100dvh - 285px)}.nook-refined .room-rail>.journal-recap{max-height:calc(100dvh - 185px)}.refined-rooms{padding-top:115px}.refined-room-caption{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.nook-refined *{scroll-behavior:auto}.refined-preview-room img{transition:none}.nook-refined .room-rail,.nook-refined .app-header{transition:none}}

/* Final responsive spacing and scene chrome. */
.nook-refined .app-header,.nook-refined.in-room .app-header{backdrop-filter:none;-webkit-backdrop-filter:none}.nook-refined.refined-dim .refined-backdrop{filter:brightness(.62)}
.nook-refined .prepare-simple .prepare-task{padding:12px 0}.nook-refined .prepare-simple .prepare-task:first-child{padding-top:8px}.nook-refined .prepare-simple .prepare-task-tools{gap:14px;margin-top:2px}.nook-refined .prepare-simple .prepare-task-tools button{min-height:30px}.nook-refined .prepare-simple .prepare-steps[hidden]{display:none}.nook-refined .prepare-simple .prepare-footer{margin-top:16px;padding-top:16px}.nook-refined .prepare-completed{margin:16px 0}.nook-refined .prepare-task-title:focus{outline:1px solid var(--accent);outline-offset:3px}
@media(max-width:520px){.nook-refined .prepare-simple .prepare-task-tools{gap:13px;flex-wrap:nowrap}.nook-refined .prepare-simple .prepare-task-tools button{min-height:36px;white-space:nowrap}.nook-refined [data-prepare-agent-button]{margin-left:auto;min-width:32px;justify-content:center}.nook-refined [data-prepare-agent-button] span{display:none}.nook-refined [data-prepare-agent-button] .icon{width:16px;height:16px}.nook-refined .prepare-simple .prepare-task{padding:13px 0}.nook-refined .prepare-task-title{font-size:16px}.nook-refined .prepare-completed{margin:12px 0}.nook-refined .prepare-simple .prepare-footer{margin-top:12px;padding-top:12px}.nook-refined .refined-focus-card{max-height:calc(100dvh - 395px);min-height:100px}}

/* Review: working surfaces are solid; supporting metadata follows its task. */
.refined-next>span{margin:5px 0 0;color:var(--muted)}.nook-refined .recap-heading .refined-recap-title{margin:0;font:30px/1.25 var(--serif);flex:1}.nook-refined .journal-recap .recap-earned{margin-top:12px}.nook-refined .recap-heading{align-items:flex-start}.nook-refined .refined-recap-title:focus{outline:none}
@media(max-width:520px){.nook-refined .recap-heading .refined-recap-title{font-size:27px}}

/* Quiet workspace: the scene stays open; work and agent details live at the edge. */
.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){position:fixed;inset:96px 24px auto auto;margin:0;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 192px);transform:none;display:block}
.nook-refined .room-rail>.timer-panel{width:100%;max-height:inherit}.nook-refined .refined-focus-card{padding:20px;max-height:calc(100dvh - 192px);min-height:0;background:var(--paper);box-shadow:none;border:1px solid var(--border)}
.nook-refined .refined-timer-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.nook-refined .refined-timer-heading>.minimize-window{margin-left:auto;flex-shrink:0}
.nook-refined .refined-clock{align-items:flex-start;text-align:left;gap:5px;margin:0;color:var(--text);text-shadow:none}.nook-refined .timer-panel .refined-clock .timer-time{font:400 40px/1 var(--serif);letter-spacing:-.025em;color:var(--text)}.nook-refined .refined-clock .timer-context{font:12px/1.4 var(--sans);color:var(--muted)}
.nook-refined .refined-focus-card .session-heading{gap:8px;min-width:0}.nook-refined .refined-focus-card .timer-task-name{font:400 15px/1.5 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;min-width:0;text-align:left;padding:4px 0;background:none;border:0}.nook-refined .task-detail-trigger{cursor:pointer}.nook-refined .task-detail-trigger:hover{color:var(--accent)}.nook-refined .task-detail-trigger:focus-visible{outline:1px solid var(--accent);outline-offset:3px;border-radius:3px}
.nook-refined .refined-focus-actions{position:static;transform:none;display:flex;width:auto;margin:16px 0 0;padding:0;border-radius:0;background:none;gap:8px}.nook-refined .refined-focus-actions .timer-primary,.nook-refined .refined-focus-actions .refined-finish{min-width:0;min-height:38px;flex:1;padding:8px 12px;font-size:12px}.nook-refined .refined-focus-card .session-details{margin-top:14px}.nook-refined .refined-focus-card .session-details>summary{min-height:36px}.nook-refined .refined-focus-card .prepare-room-steps{margin:10px 0 0;font-size:12px}.nook-refined .refined-focus-card .session-earned{margin-top:12px}
.nook-refined .room-rail>.quiet-task-panel{position:fixed;right:24px;top:96px;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 192px);background:var(--paper);box-shadow:none}.nook-refined .room-rail>.journal-recap{max-height:calc(100dvh - 192px);padding:22px;background:var(--paper);box-shadow:none;border:1px solid var(--border)}.nook-refined .room-rail>.journal-recap .refined-recap-title{font-size:24px}
.nook-refined .menu-task{padding:12px 0}.nook-refined .menu-task-main{gap:8px}.nook-refined .menu-task-title,.nook-refined .prepare-task-title{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;background:none;border:0;font:400 14px/1.5 var(--sans);color:var(--text);padding:4px 0}.nook-refined .menu-task-meta,.nook-refined .menu-task>[data-prepare-room-steps]{display:none}.nook-refined .menu-grip{width:14px;min-width:14px}.nook-refined .menu-time{font-size:11px}.nook-refined .menu-task-main .menu-more,.nook-refined .menu-task-main .agent-todo-connect{min-width:28px;width:28px;min-height:32px}.nook-refined .menu-task-main .agent-todo-button:empty{display:none}
.nook-refined .agent-todo .agent-subs{margin:3px 0 0;padding:0 0 0 30px;border:0}.nook-refined .refined-focus-chats .agent-subs{padding-left:0}.nook-refined .agent-sub{padding:0;margin:0}.nook-refined .agent-sub-main{display:flex;align-items:center;gap:8px;min-height:32px;width:100%;padding:3px 0;background:none;border:0;font:12px/1.5 var(--sans);text-align:left}.nook-refined .agent-sub-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.nook-refined .agent-sub-main:hover .agent-sub-label{color:var(--text)}.nook-refined .agent-sub-state{font-size:10px;white-space:nowrap;flex-shrink:0;color:var(--muted)}.nook-refined .status-needs-you .agent-sub-state{color:var(--accent)}.nook-refined .agent-sub-dot{width:6px;height:6px;flex-shrink:0}.nook-refined .agent-relevance-mark{color:var(--accent);display:flex}.nook-refined .agent-relevance-mark .icon{width:12px;height:12px}.nook-refined .is-checked .agent-sub-label{opacity:.75}
.nook-refined .prepare-task-tools[hidden]{display:none}.nook-refined .prepare-options{background:none;border:0;color:var(--muted);width:30px;min-height:36px;display:grid;place-items:center}.nook-refined .prepare-task-main .agent-todo-connect{width:30px;min-height:36px}.nook-refined .prepare-task-main{gap:8px}.nook-refined .prepare-task-tools{padding:6px 0}.nook-refined .prepare-task-tools .prepare-focus{margin:0}.nook-refined .prepare-task-tools .prepare-remove{margin-left:auto}
.nook-refined .task-chat-preview{width:360px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;background:#1b2b23;color:var(--text);border:1px solid var(--border);border-radius:14px;padding:20px;box-shadow:none;z-index:70}.nook-refined .chat-preview-heading h3{font:400 19px/1.4 var(--serif);overflow-wrap:anywhere}.nook-refined .chat-parent-context{font-size:11px;line-height:1.6;color:var(--muted);margin:3px 0 12px}.nook-refined .chat-detail-update{font-size:13px;line-height:1.65;margin:12px 0 8px;color:var(--text)}.nook-refined .chat-detail-source,.nook-refined .chat-preview-age{font-size:10px;line-height:1.5;color:var(--muted)}.nook-refined .chat-detail-source{margin-top:5px}.nook-refined .chat-preview-age{margin:8px 0 0}.nook-refined .chat-refresh{font-size:11px;margin-top:8px}.nook-refined .task-agent-detail{padding:16px 0;border-bottom:1px solid var(--border)}.nook-refined .task-agent-detail:first-child{padding-top:12px}.nook-refined .task-agent-title{display:flex;align-items:center;gap:12px}.nook-refined .task-agent-title h4{font:500 13px/1.5 var(--sans);margin:0;flex:1}.nook-refined .task-agent-title .text-button{font-size:10px;min-height:28px;padding:2px 0}.nook-refined .task-agent-title .icon{width:12px;height:12px}.nook-refined .task-no-agents{font-size:13px;line-height:1.6;color:var(--muted);margin:16px 0}.nook-refined .task-detail-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.nook-refined .task-detail-actions .primary{font-size:11px;padding:8px 12px;min-height:36px}.nook-refined .task-detail-actions .text-button{font-size:11px;min-height:36px}.nook-refined .task-detail-actions .icon{width:13px;height:13px}.nook-refined .task-chat-preview .prepare-room-steps{margin-top:16px;font-size:12px}.nook-refined .task-chat-preview .chat-relevance-note{margin:12px 0 0;padding:12px 0;border-top:1px solid var(--border);font-size:11px;line-height:1.6;color:var(--muted)}.nook-refined .chat-relevance-note p{margin:0 0 7px}.nook-refined .chat-relevance-note p:first-child{display:flex;gap:7px;align-items:center;color:var(--accent)}.nook-refined .chat-relevance-note .icon{width:13px;height:13px}.nook-refined .chat-relevance-note>div{display:flex;gap:16px;flex-wrap:wrap}.nook-refined .chat-relevance-note button{font-size:11px;min-height:32px;padding:4px 0}.nook-refined .chat-relevance-note button:first-child{color:var(--accent)}
.nook-refined .refined-room-drawer,.nook-refined .prepare-page{position:relative}.nook-refined .workspace-collapse{position:absolute;right:16px;top:12px;width:32px;height:32px;z-index:2}.nook-refined .home-study.refined-welcome{padding-right:28px}.nook-refined .workspace-restore{position:fixed;right:24px;top:100px;width:auto;z-index:6}.nook-refined:not(.in-room) .scene-visibility-toggle{position:fixed;z-index:8;right:24px;bottom:20px}.nook-refined:not(.in-room) .refined-rooms{padding-bottom:80px}.nook-refined .prepare-heading{padding-right:32px}
.nook-refined.scene-clear .refined-room-drawer,.nook-refined.scene-clear .refined-room-caption,.nook-refined.scene-clear .prepare-page,.nook-refined.scene-clear .workspace-restore{opacity:0;visibility:hidden;pointer-events:none}.nook-refined.scene-clear #task-chat-preview{display:none}.nook-refined .workspace-restore[hidden],.nook-refined .refined-room-drawer[hidden],.nook-refined .prepare-page[hidden]{display:none}
@media(max-width:760px){.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){inset:118px 16px auto auto;width:360px;max-height:calc(100dvh - 206px)}.nook-refined .room-rail>.quiet-task-panel{top:118px;right:16px;width:360px;max-height:calc(100dvh - 206px)}.nook-refined .refined-focus-card,.nook-refined .room-rail>.journal-recap{max-height:calc(100dvh - 206px);padding:18px}.nook-refined .refined-focus-actions{position:static;transform:none;bottom:auto}.nook-refined .timer-panel .refined-clock .timer-time{font-size:36px}.nook-refined .refined-focus-card .timer-task-name{font-size:14px}.nook-refined .refined-timer-heading{margin-bottom:16px}.nook-refined .task-chat-preview{padding:18px}.nook-refined .prepare-task-main{gap:6px}.nook-refined .prepare-task-main .agent-todo-connect{width:26px}.nook-refined .prepare-task-title{font-size:14px}.nook-refined .prepare-duration input{font-size:13px}.nook-refined .agent-sub-main{min-height:36px}.nook-refined .workspace-restore{right:16px;top:90px}.nook-refined .home-study.refined-welcome{padding-right:0}.nook-refined .refined-greeting{padding-right:30px}.nook-refined:not(.in-room) .refined-rooms{padding-bottom:78px}}
/* Correction pass: keep secondary controls out of the task rows and clear of panels. */
.nook-refined .quiet-task-panel .menu-task-meta,.nook-refined .quiet-task-panel .menu-task-meta:has(>span:empty){display:none}
.nook-refined .quiet-task-panel .menu-task{padding:11px 0}.nook-refined .quiet-task-panel .menu-heading{padding:20px 24px 10px}.nook-refined .quiet-task-panel .menu-heading h2{font-size:25px}.nook-refined .quiet-task-panel .task-menu-tabs{margin-top:4px;margin-bottom:10px}.nook-refined .quiet-task-panel .plan-panel-content{padding-top:0}.nook-refined .quiet-task-panel .agent-todo,.nook-refined .prepare-simple .prepare-task>.agent-todo,.nook-refined .refined-focus-card .agent-todo{padding:0;margin:3px 0 0}.nook-refined .quiet-task-panel .agent-subs,.nook-refined .prepare-simple .agent-subs{padding:0 0 0 28px;margin:0;gap:0}.nook-refined .refined-focus-card .agent-subs{padding:0;margin:0}.nook-refined .quiet-task-panel .agent-sub-main{min-height:30px}.nook-refined .quiet-task-panel .menu-task input[type=checkbox]{border-radius:50%;width:18px;height:18px}.nook-refined .quiet-task-panel .menu-task-title{font:400 14px/1.5 var(--sans)}
.nook-refined .room-rail .timer-panel .refined-focus-card .timer-task-name{font:400 15px/1.5 var(--sans)}.nook-refined .room-rail .refined-timer-heading>.minimize-window{border:0;background:none;width:30px;height:30px;min-height:30px}
.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){top:148px;max-height:calc(100dvh - 240px)}.nook-refined .room-rail>.quiet-task-panel{top:148px;max-height:calc(100dvh - 240px)}.nook-refined .refined-focus-card,.nook-refined .room-rail>.journal-recap{max-height:calc(100dvh - 240px)}
.nook-refined .scene-tab[data-scene-tab=timer]{top:96px;right:128px}.nook-refined .scene-tab[data-scene-tab=plan]{top:96px;right:24px}.nook-refined .refined-lobby-tasks .quiet-task-panel{position:fixed;right:24px;top:148px;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 240px);background:var(--paper);border:1px solid var(--border);z-index:7}.nook-refined .refined-lobby-tasks .scene-tab{z-index:7}.nook-refined.scene-clear .refined-lobby-tasks{visibility:hidden;opacity:0;pointer-events:none}
.nook-refined .refined-browser-heading{padding-right:32px;gap:20px;margin-top:18px}.nook-refined .refined-browser-heading .filters{flex:1}.nook-refined .refined-room-enter{font-size:12px;padding:9px 16px;white-space:nowrap}.nook-refined .workspace-collapse{top:16px;right:12px}.nook-refined .workspace-restore{top:auto;bottom:24px;right:82px}
@media(max-width:760px){.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel){top:126px;max-height:calc(100dvh - 214px)}.nook-refined .room-rail>.quiet-task-panel,.nook-refined .refined-lobby-tasks .quiet-task-panel{top:126px;right:16px;width:360px;max-height:calc(100dvh - 214px)}.nook-refined .refined-focus-card,.nook-refined .room-rail>.journal-recap{max-height:calc(100dvh - 214px)}.nook-refined .scene-tab[data-scene-tab=timer]{top:78px;right:118px}.nook-refined .scene-tab[data-scene-tab=plan]{top:78px;right:16px}.nook-refined .quiet-task-panel .agent-sub-main{min-height:34px}.nook-refined .refined-browser-heading{display:flex;flex-wrap:wrap;padding-right:22px;gap:12px}.nook-refined .refined-browser-heading .filters{order:3;flex:0 0 100%;margin-left:-7px}.nook-refined .refined-browser-heading h2{margin:0;flex:1}.nook-refined .refined-room-enter{font-size:11px;padding:8px 12px}.nook-refined .workspace-restore{top:auto;bottom:22px;right:76px}.nook-refined .refined-room-drawer .workspace-collapse{top:18px;right:8px}.nook-refined .task-agent-title .text-button,.nook-refined .chat-detail-actions button,.nook-refined .chat-relevance-note button{min-height:36px}}
/* Keep room browsing controls clear of the open planning rail. */
@media(min-width:1001px){.nook-refined .refined-rooms:has(.refined-lobby-tasks .quiet-task-panel:not([hidden]))>.refined-room-drawer,.nook-refined .refined-rooms:has(.refined-lobby-tasks .quiet-task-panel:not([hidden]))>.refined-room-caption{width:min(1280px,calc(100% - 408px));margin-left:0;margin-right:auto}.nook-refined .refined-rooms:has(.refined-lobby-tasks .quiet-task-panel:not([hidden])) .refined-browser-heading{flex-wrap:wrap;gap:12px}.nook-refined .refined-rooms:has(.refined-lobby-tasks .quiet-task-panel:not([hidden])) .refined-browser-heading h2{flex:1}.nook-refined .refined-rooms:has(.refined-lobby-tasks .quiet-task-panel:not([hidden])) .refined-browser-heading .filters{flex:0 0 100%;order:3}}
/* Room collection: the scenic preview continues into an open browsing dashboard. */
.nook-refined .room-browse-cue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 16px;border-radius:24px;background:#14231d;color:var(--text);font-size:12px}.room-browse-cue .icon{width:16px;height:16px}.room-browse-cue:hover{color:var(--accent)}
.nook-refined .room-library{position:relative;z-index:3;min-height:100dvh;padding:96px 40px 54px;background:#14231d;color:var(--text);scroll-margin-top:64px;outline:none}.room-library-inner{max-width:1280px;margin:auto}.room-library-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;margin-bottom:36px}.room-library-heading h1{font:400 clamp(29px,3vw,40px)/1.15 var(--serif);letter-spacing:-.02em;text-wrap:balance}.room-library-heading p{font-size:14px;line-height:1.65;color:var(--muted);margin-top:12px}.library-back{flex-shrink:0;margin-top:5px}.room-library .text-button{min-height:40px}.room-library-toolbar{display:flex;flex-direction:column;gap:24px}.room-library-search{display:flex;align-items:center;gap:12px;width:min(100%,460px);min-height:48px;background:#1b2b23;border:1px solid var(--border);border-radius:12px;padding:0 14px;color:var(--muted)}.room-library-search:focus-within{border-color:var(--accent)}.room-library-search input{flex:1;min-width:0;border:0;background:transparent;padding:12px 0;font-size:14px;outline:none;box-shadow:none;caret-color:var(--accent)}.room-library-search input::placeholder{color:var(--muted);opacity:1}.room-library-search input::-webkit-search-cancel-button{display:none}.room-library-search>button{width:30px;min-height:34px;display:grid;place-items:center;padding:0}.room-library-search>button[hidden]{display:none}.room-library-search .icon{width:18px;height:18px}.room-library-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--border)}.room-library-filters button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border-radius:24px;font-size:13px;color:var(--muted);border:1px solid transparent}.room-library-filters button[aria-pressed=true]{color:var(--text);background:#293b30;border-color:#6f826550}.room-library-filters button:hover{color:var(--text);background:#1b2b23}.room-library-filters button>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.room-library-filters .icon{width:15px;height:15px}.room-library-count{color:var(--muted);font-size:12px;margin:18px 0 24px;overflow-wrap:anywhere;min-height:18px}.room-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px;align-items:start}.library-room{min-width:0}.library-room-art{position:relative;aspect-ratio:1.6;background:#1b2b23;border-radius:12px}.library-room-art>a{display:block;height:100%;border-radius:12px}.library-room-art img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px;transition:filter .2s ease}.library-room-art>a:hover img{filter:brightness(1.1)}.library-favorite{position:absolute;right:12px;top:12px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#14231d;color:var(--text)}.library-favorite:hover,.library-favorite.is-favorite{color:var(--accent)}.library-favorite.is-favorite .icon{fill:#eab15526}.library-current{position:absolute;bottom:12px;left:12px;border-radius:20px;background:#14231d;color:var(--text);padding:5px 10px;font-size:11px;pointer-events:none}.library-room-info{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:15px 0 0}.library-room-info>div{min-width:0}.library-category{font-size:11px;color:var(--muted);margin-bottom:5px}.library-room-info h2{font-size:23px;line-height:1.25}.library-room-info h2 a{display:inline-flex;align-items:center;gap:10px}.library-room-info h2 .icon{width:17px;height:17px;color:var(--muted)}.library-room-info h2 a:hover{color:var(--accent)}.library-room-sounds{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.6}.library-preview{font-size:12px;color:var(--muted);padding:7px 0;min-height:40px;flex-shrink:0;align-self:center;text-decoration:underline;text-decoration-color:var(--border);text-underline-offset:5px}.library-preview:hover{color:var(--accent)}.room-library-footer{margin-top:56px;padding-top:22px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--muted);font-size:12px}.room-library-empty{grid-column:1/-1;padding:48px 0 72px;min-height:320px;text-align:center}.room-library-empty h2{font-size:28px}.room-library-empty p{margin:12px auto 24px;max-width:50ch;font-size:14px;color:var(--muted)}.room-library-empty .outline-button{border-color:var(--border);color:var(--text);font-size:13px}
.nook-refined.browsing-rooms .app-header{background:#14231d;border-bottom:1px solid var(--border)}.nook-refined.browsing-rooms .refined-lobby-tasks,.nook-refined.browsing-rooms .workspace-restore,.nook-refined.browsing-rooms .room-browse-cue{opacity:0;visibility:hidden;pointer-events:none}.nook-refined.scene-clear .room-library,.nook-refined.scene-clear .room-browse-cue{visibility:hidden;pointer-events:none}.room-library ::selection{background:#eab15540;color:var(--text)}
@media(max-width:1100px){.room-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.room-library-heading{gap:24px}.room-library-heading h1{max-width:18ch}}
@media(max-width:760px){.nook-refined .room-library{padding:72px 24px 44px;scroll-margin-top:66px}.room-library-heading{display:block;margin-bottom:26px}.room-library-heading h1{font-size:32px;max-width:21ch}.room-library-heading p{font-size:13px}.library-back{margin-top:14px}.room-library-toolbar{gap:20px}.room-library-search{width:100%}.room-library-search input{font-size:16px}.room-library-filters{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding-bottom:16px;scrollbar-width:thin;scrollbar-color:#58644e transparent}.room-library-filters button{white-space:nowrap;flex-shrink:0;padding:8px 12px}.room-library-grid{gap:30px 20px}.library-room-info h2{font-size:21px}.room-library-footer{align-items:flex-start;flex-direction:column;gap:8px;margin-top:40px}.nook-refined .room-browse-cue{left:20px;transform:none;bottom:20px;font-size:11px}}
@media(max-width:560px){.room-library-grid{grid-template-columns:minmax(0,1fr)}.nook-refined .room-library{padding-left:20px;padding-right:20px}.room-library-heading h1{font-size:31px}.library-room-art{aspect-ratio:1.6}.room-library-count{margin-bottom:22px}.library-room-info h2{font-size:23px}.library-room-sounds{font-size:13px}.library-room-info{padding-top:14px}}
@media(prefers-reduced-motion:reduce){.library-room-art img{transition:none}}
/* Browse navigation stays reachable; the search field has one clear focus boundary. */
.nook-refined.browsing-rooms .app-header{position:fixed;pointer-events:auto}.nook-refined .room-library{scroll-margin-top:0;padding-top:120px}.nook-refined .room-library-search input:focus-visible{outline:none}.nook-refined .room-library-search:focus-within{outline:1px solid var(--accent);outline-offset:3px}.nook-refined .refined-room-caption:focus{outline:none}
@media(max-width:760px){.nook-refined .room-library{padding-top:104px}}
/* Review fixes: browsing never removes its own trigger or covers a room action. */
.nook-refined.browsing-rooms:not(.scene-clear) .room-browse-cue{opacity:1;visibility:visible;pointer-events:auto}.nook-refined.browsing-rooms:not(.scene-clear) .scene-visibility-toggle{display:none}.library-heading-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}.library-heading-actions .library-back{margin:0}.library-hide-controls{min-width:40px;min-height:40px}.library-hide-controls>span{display:none}.library-category{margin:7px 0 0;font-size:11px}.library-room-info{align-items:flex-start}.library-preview{align-self:flex-start;margin-top:-5px}
@media(max-width:760px){.library-heading-actions{margin-top:14px;justify-content:space-between}}
/* The Rooms drawer opens into the full collection on the same scroll track. */
.nook-refined .room-expansion{position:relative;height:calc(100dvh + var(--room-travel,720px));pointer-events:none}
.nook-refined .room-expansion>.refined-rooms{position:sticky;top:0;height:100dvh;min-height:0;pointer-events:auto;--room-compact:1}
.nook-refined .room-expansion .refined-room-drawer,.nook-refined .room-expansion .refined-room-caption{opacity:var(--room-compact)}
.nook-refined .room-expansion .refined-room-drawer{box-shadow:none}
.nook-refined .refined-browser-heading .room-browse-cue{position:static;transform:none;padding:0;min-height:36px;background:none;border-radius:0;font:inherit;display:flex;gap:9px;white-space:nowrap}
.nook-refined .refined-browser-heading .room-browse-cue .icon{width:14px;height:14px;color:var(--muted)}
.nook-refined .room-expansion+.room-library{margin-top:-100dvh;transform-origin:top left;--room-detail:0;pointer-events:none}
.nook-refined.rooms-expanded .room-library{pointer-events:auto}
.room-expansion+.room-library .library-room-art{transform-origin:top left}
.room-expansion+.room-library .room-library-heading,.room-expansion+.room-library .room-library-toolbar,.room-expansion+.room-library .room-library-count,.room-expansion+.room-library .library-room-info,.room-expansion+.room-library .room-library-footer,.room-expansion+.room-library .library-favorite,.room-expansion+.room-library .library-current,.room-expansion+.room-library .room-library-empty{opacity:var(--room-detail)}
.nook-refined.rooms-expanding .room-library,.nook-refined.rooms-expanding .library-room-art{will-change:transform,clip-path}
.nook-refined.browsing-rooms .app-header{background:rgb(20 35 29 / var(--room-expansion,0));border-color:rgb(111 130 101 / var(--room-expansion,0))}
.nook-refined.rooms-expanded .refined-room-drawer{visibility:hidden}
.nook-refined.scene-clear .room-expansion+.room-library{visibility:hidden}
@media(prefers-reduced-motion:reduce){.nook-refined .room-expansion{height:calc(100dvh + 1px)}.nook-refined .room-library,.nook-refined .library-room-art{will-change:auto}}
.nook-refined.browsing-rooms:not(.rooms-expanded):not(.scene-clear) .scene-visibility-toggle{display:flex}
.nook-refined.browsing-rooms .refined-room-drawer{pointer-events:none}
.room-expansion+.room-library .room-library-heading{opacity:1}
.room-expansion+.room-library .room-library-heading h1{transform-origin:top left}
.room-expansion+.room-library .room-library-heading p,.room-expansion+.room-library .library-heading-actions{opacity:var(--room-detail)}
.nook-refined.rooms-ready .room-library{pointer-events:auto}
.room-expansion+.room-library{overflow:clip}
/* Agents belong to to-dos; connection controls stay short and actionable. */
.agent-connect-simple .agent-connection-status{margin:0 0 22px;font-size:14px;line-height:1.5;color:var(--text)}
.agent-connection-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.agent-connection-actions .primary{min-height:42px;padding:10px 20px;border-radius:24px}.agent-connection-actions button:disabled{opacity:.55;cursor:wait}.agent-install-link{display:inline-block;margin-top:18px;font-size:12px;color:var(--muted)}
.agent-dialog .chat-privacy{margin-top:22px;padding-top:16px}.agent-dialog .chat-privacy summary{font-size:12px;color:var(--muted);cursor:pointer}.agent-dialog .chat-privacy .agent-privacy{margin-bottom:0}.agent-dialog .agent-settings>label{margin-top:14px}
/* Focus controls: one visible way to manage agents, and a timer-only view. */
.agents-entry{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:28px;background:var(--panel);color:var(--text);font-size:13px;white-space:nowrap}.agents-entry .icon{width:17px;height:17px}.agents-entry:hover{color:var(--accent)}
.refined-settings a{display:flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;color:var(--text);font-size:13px;border-radius:6px}.refined-settings a:hover{background:var(--paper)}
.no-distractions-button{position:absolute;right:28px;bottom:28px;z-index:6;display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 18px;border:1px solid var(--border);border-radius:28px;background:#15281f;color:var(--text);font-size:13px}.no-distractions-button:hover{color:var(--accent)}.no-distractions-button .icon{width:18px;height:18px}
.nook-refined .distraction-trigger{margin-right:184px}
.focus-only[hidden]{display:none}.focus-only{position:fixed;inset:0;z-index:15;display:grid;place-items:center;pointer-events:none}.focus-only-time{font:400 clamp(64px,9vw,96px)/1 var(--serif);font-variant-numeric:tabular-nums;color:var(--text);text-shadow:0 3px 22px #000b}.focus-only>button{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;pointer-events:auto;white-space:nowrap;padding:10px 18px;min-height:44px;background:#14231d;border:1px solid var(--border);border-radius:28px;color:var(--text);font-size:13px}.focus-only>button>span{font-size:11px;color:var(--muted);padding-left:8px}
.nook-refined.focus-only-mode .app-header,.nook-refined.focus-only-mode .room-rail,.nook-refined.focus-only-mode .scene-dock,.nook-refined.focus-only-mode .no-distractions-button,.nook-refined.focus-only-mode .distraction-window,.nook-refined.focus-only-mode .scene-media-retry,.focus-only-mode #task-chat-preview,.focus-only-mode #toast{visibility:hidden;opacity:0;pointer-events:none}
/* The inner playback control follows the capsule, with an even inset on every side. */
.nook-refined .sound-bar{padding:5px;gap:4px;min-height:52px;align-items:center;border-radius:30px}.nook-refined .sound-bar .scene-audio-button{height:40px;min-height:40px;min-width:40px;border-radius:24px;margin:0;padding:0 12px;align-self:center;background:#24362a}.nook-refined .sound-bar .sound-settings,.nook-refined .sound-bar .music-trigger{height:40px;min-height:40px;padding:0 14px;display:flex;align-items:center;justify-content:center;border-radius:22px}.nook-refined .sound-bar .music-trigger{border-left:1px solid var(--border);border-radius:0 24px 24px 0}
/* Subtasks use the existing task record and stay directly below their parent. */
.menu-subtasks:empty{display:none}.menu-subtasks ul{list-style:none;padding:0;margin:0}.menu-subtasks{margin:3px 0 3px 28px}.menu-subtask{display:flex;align-items:center;gap:8px;min-height:34px}.nook-refined .menu-task .menu-subtask input[type=checkbox]{width:14px;height:14px;min-width:14px}.menu-subtask-title{flex:1;min-width:0;border:0;background:transparent;padding:5px 0;color:var(--muted);font:13px/1.5 var(--sans);border-radius:3px;caret-color:var(--accent)}.menu-subtask-title:focus{color:var(--text)}.menu-subtask.is-done .menu-subtask-title{text-decoration:line-through}.menu-subtask button,.menu-subtasks form button{display:grid;place-items:center;width:30px;min-height:34px;color:var(--muted);border-radius:6px;flex-shrink:0}.menu-subtask button .icon,.menu-subtasks button .icon{width:14px;height:14px}.menu-subtask button{opacity:0}.menu-subtask:hover button,.menu-subtask:focus-within button{opacity:1}.menu-subtasks form{display:flex;gap:5px;align-items:center;margin-top:5px}.menu-subtasks form input{flex:1;min-width:0;padding:8px 0;border:0;border-bottom:1px solid var(--border);background:none;border-radius:0;font-size:13px;caret-color:var(--accent)}.menu-subtasks form input::placeholder{color:var(--muted)}.menu-add-step{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;min-height:32px;padding:2px 0}.menu-add-step:hover{color:var(--text)}.agent-manager-actions{display:flex;justify-content:flex-start;margin-bottom:18px}.agent-manager-actions .primary{border-radius:24px;min-height:42px}
/* Expand one green surface. Content stays in its grid instead of crossing other cards. */
.room-expansion+.room-library .room-library-inner{opacity:var(--room-detail);transform:translateY(var(--room-content-offset,0));transform-origin:top left}.room-expansion+.room-library .room-library-heading,.room-expansion+.room-library .room-library-toolbar,.room-expansion+.room-library .room-library-count,.room-expansion+.room-library .library-room-info,.room-expansion+.room-library .room-library-footer,.room-expansion+.room-library .library-favorite,.room-expansion+.room-library .library-current,.room-expansion+.room-library .room-library-empty,.room-expansion+.room-library .room-library-heading p,.room-expansion+.room-library .library-heading-actions{opacity:1}.nook-refined.rooms-expanding .library-room-art{will-change:auto}
@media(max-width:760px){.agents-entry{gap:6px;padding:9px 12px;font-size:12px;min-height:40px}.no-distractions-button{right:18px;bottom:82px;min-height:42px;padding:9px 14px;font-size:12px}.nook-refined .distraction-trigger{margin-right:0}.nook-refined .sound-bar{min-height:50px}.menu-subtask-title,.menu-subtasks form input{font-size:16px}.menu-subtask button{opacity:1}.focus-only>button{bottom:24px}.focus-only>button>span{display:none}}
@media(max-width:600px){.nook-refined:not(.in-room) .refined-place{display:none}.nook-refined:not(.in-room) .refined-navigation{width:100%;justify-content:space-between}.nook-refined.in-room .refined-room-tag{max-width:104px}.nook-refined.in-room .refined-navigation{gap:6px}.nook-refined .sound-bar .sound-settings,.nook-refined .sound-bar .music-trigger{padding:0 12px}}
@media(hover:none){.menu-subtask button{opacity:1}}
@media(prefers-reduced-motion:reduce){.room-expansion+.room-library .room-library-inner{transform:none}}
@media(max-width:760px){.nook-refined .room-rail,.nook-refined .room-rail:has(.quiet-task-panel),.nook-refined .room-rail>.quiet-task-panel,.nook-refined .refined-lobby-tasks .quiet-task-panel,.nook-refined .refined-focus-card{max-height:calc(100dvh - 282px)}.nook-refined .quiet-task-panel .menu-task-title{font-size:16px}}
.agent-assigned-to{color:var(--accent)}

/* Keep the source drawer anchored while its surface expands; focus must not scroll a sticky ancestor. */
.nook-refined .room-expansion>.refined-rooms{position:fixed;inset:0;width:100%;height:100dvh}

/* Center stage — the October 2 references. Scene first; warm brown working surfaces. */
body.nook-refined.nook-centered{--bg:#20170f;--surface:#30251b;--panel:#30251b;--room-panel:#2b2017f2;--text:#fff3de;--muted:#d4c4ac;--faint:#bead94;--border:#f4dfbc26;--accent:#f6c96f;--accent-hover:#ffda8b;--paper:#30251b;--paper-ink:#fff3de;--paper-muted:#d4c4ac;--paper-line:#f4dfbc26;--paper-tint:#251b13;--paper-accent:#f6c96f;--paper-on-accent:#2a1b0b;background:var(--bg);color:var(--text);scrollbar-color:#8b7153 #241b13}
.nook-centered ::selection{background:#f6c96f;color:#24190c}.nook-centered :focus-visible{outline:2px solid var(--accent);outline-offset:4px}.nook-centered a{text-underline-offset:5px}.nook-centered input,.nook-centered textarea{caret-color:var(--accent)}
.nook-centered .primary{background:var(--accent);color:#291b0c;border:0;border-radius:100px;min-height:48px;padding:13px 25px;font:600 14px/1.4 var(--sans);gap:14px}.nook-centered .primary:hover{background:var(--accent-hover)}.nook-centered .primary .icon{width:18px;height:18px}.nook-centered .outline-button{background:#fff0d50b;border:1px solid var(--border);color:var(--text);border-radius:50px}.nook-centered button{touch-action:manipulation}
body.nook-centered #header.app-header{position:absolute;inset:0 0 auto;height:100px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;background:none;border:0;box-shadow:none;z-index:30;transform:none;pointer-events:auto}
.cs-place{display:flex;align-items:baseline;gap:15px;min-width:0}.nook-centered .brand{font:400 40px/1 var(--serif);letter-spacing:-1.1px;color:var(--text)}.cs-room-name{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--text);white-space:nowrap}.cs-room-name .icon{width:12px;height:12px}.cs-nav{display:flex;align-items:center;gap:20px}.cs-leave{font-size:12px;padding:10px 15px;border:1px solid #f6c96f44;border-radius:25px;color:var(--accent)}
.cs-menu{position:relative;font-size:13px}.cs-menu summary{display:flex;align-items:center;gap:9px;min-height:40px;padding:10px 17px;background:#271e18ba;border-radius:25px;list-style:none;cursor:pointer}.cs-menu summary::-webkit-details-marker{display:none}.cs-menu summary .icon{width:16px;height:16px}.cs-menu nav{position:absolute;right:0;top:50px;width:215px;padding:10px;background:#2b2017;border-radius:14px;box-shadow:0 15px 40px #10090070;display:flex;flex-direction:column}.cs-menu nav>a,.cs-menu nav>button{display:block;text-align:left;padding:11px 13px;min-height:42px;border-radius:7px;font-size:13px}.cs-menu nav>a:hover,.cs-menu nav>button:hover{background:#f5d49712}.cs-menu hr{width:100%;border:0;border-top:1px solid var(--border);margin:6px 0}
.nook-centered #main{margin:0;padding:0;min-height:100dvh}.cs-dashboard{position:relative;isolation:isolate;height:100dvh;min-height:670px;overflow:hidden}.cs-dashboard .refined-backdrop{position:absolute;inset:0;z-index:-2}.cs-dashboard .refined-backdrop img{width:100%;height:100%;object-fit:cover;object-position:center;filter:none}.cs-dashboard .refined-backdrop::after{background:linear-gradient(180deg,#160f174d 0%,#25130636 45%,#160d0640 70%,#100a07b5 100%)}
.cs-dashboard-hero{position:absolute;left:5%;right:5%;top:19.5%;text-align:center;display:flex;flex-direction:column;align-items:center;color:var(--text);text-shadow:0 2px 18px #23100736}.cs-context{margin:0;font:400 14px/1.5 var(--sans);color:#f6e4cd}.cs-dashboard-hero h1{font:400 clamp(60px,8.8vw,136px)/1.06 var(--serif);letter-spacing:-.035em;margin:0 0 20px;max-width:1100px;text-wrap:balance;overflow-wrap:anywhere}.cs-dashboard-hero h1 button{font:inherit;letter-spacing:inherit;color:inherit;line-height:inherit;text-align:center;text-shadow:inherit}.cs-phrase{font:italic 24px/1.5 var(--serif);margin:0;color:var(--text)}.cs-hero-actions{display:flex;align-items:center;justify-content:center;gap:25px;margin:29px 0 0}.cs-quiet-action{font:400 13px/1.5 var(--sans);padding:12px 0;text-decoration:underline;text-decoration-color:#f2e4cb80;text-underline-offset:6px}.cs-quiet-action:hover{color:var(--accent)}
.cs-then{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:23px;max-width:100%;font:14px/1.5 var(--serif)}.cs-then>span{font:12px var(--sans);color:#ead9c0;margin-right:6px}.cs-then>button{max-width:260px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:block;padding:9px 15px;border-radius:25px;background:#2c180b9c}.cs-then small{font-size:12px;margin-left:6px}.cs-then>a{display:flex;align-items:center;gap:7px;font-size:13px;padding:8px}.cs-then .icon{width:13px;height:13px}
.cs-room-strip{position:absolute;bottom:28px;left:7%;right:7%;display:flex;align-items:flex-end;justify-content:center;gap:10px;height:145px}.cs-room-thumb{position:relative;isolation:isolate;flex:1;max-width:180px;min-width:0;height:112px;border:1px solid transparent;border-radius:15px;overflow:hidden;text-align:left;transition:border-color .2s}.cs-room-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.cs-room-thumb:after{position:absolute;content:'';inset:0;z-index:-1;background:linear-gradient(transparent 35%,#140b06c7)}.cs-room-thumb>span{position:absolute;bottom:11px;left:12px;right:6px;font:18px/1.2 var(--serif);text-shadow:0 1px 8px #000}.cs-room-thumb>small{position:absolute;top:8px;left:9px;background:#694220d9;color:#fff1d6;padding:4px 8px;border-radius:15px;font:10px var(--sans)}.cs-room-thumb.is-selected{height:137px;max-width:215px;flex:1.22;border-color:var(--accent)}.cs-room-thumb:hover{border-color:#f6c96f9c}.cs-all-rooms{flex:0 0 80px;height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.cs-all-rooms strong{font:400 29px var(--serif)}.cs-all-rooms span{font-size:12px;color:var(--muted)}
.cs-catalog{min-height:100dvh;padding:118px 4% 40px;background:radial-gradient(ellipse at 28% 0%,#3a281a 0%,#20170f 55%)}.cs-catalog-intro{text-align:center;margin:0 auto 34px}.cs-catalog h1{font:400 clamp(40px,4.8vw,70px)/1.1 var(--serif);letter-spacing:-.03em;margin:0 0 14px}.cs-catalog-intro>p{font-size:13px;color:var(--muted);margin-bottom:25px}.cs-search{display:flex;align-items:center;gap:9px;margin:0 auto 19px;width:min(460px,100%);padding:0 16px;border-radius:30px;background:#ffffff0b;color:var(--muted);min-height:42px}.cs-search .icon{width:15px;height:15px}.cs-search input{padding:12px 0;width:100%;min-width:0;background:none;border:0;font-size:13px;color:var(--text)}.cs-search input::placeholder{color:var(--muted)}.cs-search:focus-within{outline:2px solid var(--accent);outline-offset:3px}.cs-search input:focus-visible{outline:0}.cs-filters{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.cs-filters button{display:flex;align-items:center;gap:5px;min-height:33px;padding:8px 15px;border-radius:25px;background:#ffffff09;font-size:11px;color:#f7e8d2}.cs-filters button .icon{width:11px;height:11px}.cs-filters button[aria-pressed=true]{background:var(--accent);color:#2b1c0e}.cs-filters button:hover{box-shadow:inset 0 0 0 1px #f6c96f80}
.cs-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;max-width:1140px;margin:0 auto}.cs-room-card{border:1px solid #f9dfb926;border-radius:14px;overflow:hidden;background:#2c231a;min-width:0}.cs-room-card.is-current{border-color:var(--accent)}.cs-card-image{position:relative;aspect-ratio:1.78;overflow:hidden}.cs-card-image>img{display:block;width:100%;height:100%;object-fit:cover;transition:filter .22s}.cs-card-actions{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:15px;background:#1c130957;opacity:0;transition:opacity .2s}.cs-card-actions>button{min-height:38px;padding:10px 13px;font-size:12px;border-radius:24px}.cs-card-actions>button:first-child{background:#281d13b3}.cs-card-actions .primary .icon{width:13px;height:13px}.cs-room-card:hover .cs-card-actions,.cs-room-card:focus-within .cs-card-actions{opacity:1}.cs-favorite{position:absolute;z-index:2;right:9px;top:9px;display:grid;place-items:center;width:32px;height:32px;background:#21180dbc;border-radius:50%;color:#fff0d4}.cs-favorite .icon{width:14px;height:14px}.cs-favorite[aria-pressed=true]{color:var(--accent)}.cs-favorite[aria-pressed=true] .icon{fill:var(--accent)}.cs-current-label{position:absolute;left:9px;top:9px;padding:5px 8px;background:#563919e8;font-size:10px;border-radius:20px}.cs-card-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px}.cs-card-caption h2{font:400 21px/1.25 var(--serif);white-space:nowrap}.cs-card-caption p{font-size:10px;line-height:1.4;color:var(--muted);max-width:115px;text-align:right}.cs-return{display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;color:var(--muted);margin:30px auto 0;padding:12px}.cs-return .icon{width:16px;height:16px}.cs-no-results{grid-column:1/-1;text-align:center;padding:50px 20px}.cs-no-results h2{font:32px var(--serif)}.cs-no-results p{margin:15px 0 25px;color:var(--muted)}
.nook-centered dialog[data-kind=room-preview]{max-width:850px}.cs-preview-art{position:relative}.cs-preview-art>img{width:100%;max-height:52vh;object-fit:cover;display:block}.cs-preview-art>button{position:absolute;top:15px;right:15px;border-radius:50%;background:#21160dcf}.cs-preview-copy{padding:24px}.cs-preview-copy h2{font:32px var(--serif)}.cs-preview-copy p{margin:12px 0 22px;color:var(--muted)}.cs-preview-copy>.text-button{margin-left:16px}
.nook-centered .room-screen{height:100dvh;min-height:650px;padding:0;overflow:hidden;background:#251b12}.nook-centered .room-background{position:absolute;inset:0;width:100%;height:100%;min-height:0}.nook-centered .room-background img{object-position:center;animation:none}.nook-centered .room-background:after{background:linear-gradient(180deg,#150e1233,#1a0d0012 55%,#180c0761)}.nook-centered .room-screen:after{display:none}.nook-centered .room-particles{height:100%}
.nook-centered .room-rail{position:absolute;top:14%;right:6.5%;left:auto;bottom:108px;width:340px;max-width:36%;max-height:none;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0;overflow:visible}.nook-centered .room-rail>.timer-panel{position:relative;inset:auto;display:block;width:100%;max-height:100%;padding:0;background:#2b2018ed;border:0;border-radius:16px;box-shadow:0 14px 40px #120a0833;backdrop-filter:blur(12px);overflow:auto}.nook-centered .room-rail>.timer-panel[hidden]{display:none}.nook-centered .room-rail:has(.quiet-task-panel:not([hidden])){width:390px;max-width:45%}.nook-centered .room-rail>.quiet-task-panel{max-height:100%;width:100%;background:#30251bf7}.nook-centered .room-rail>[data-scene-tab=plan]{display:none}.nook-centered .room-rail .scene-tab{background:#2b2018ed;border-color:var(--border);align-self:flex-end}.nook-centered .room-rail>[data-scene-tab=timer]:not([hidden]){display:flex}
.cs-focus-card{padding:24px 25px 18px}.cs-focus-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.cs-focus-meta .minimize-window{position:static;min-width:26px;width:26px;min-height:26px;height:26px;margin:-7px -8px 0 0}.nook-centered .cs-clock{margin:0 0 13px}.nook-centered .cs-clock .timer-time{font:400 88px/1.03 var(--serif);font-variant-numeric:tabular-nums;letter-spacing:-.03em;color:var(--text)}.cs-focus-rule{height:2px;background:#fff0d517;margin:0 0 18px}.cs-focus-rule>span{display:block;height:100%;background:var(--accent);max-width:100%}.cs-focus-task{font:italic 26px/1.25 var(--serif);margin:0 0 10px;overflow-wrap:anywhere}.cs-focus-task button{font:inherit;color:inherit;text-align:left}.cs-checklist{list-style:none;margin:0 0 15px;padding:0}.cs-checklist .prepare-step{display:flex;align-items:flex-start;gap:9px;min-height:28px;margin:0;padding:4px 0;font-size:12px;line-height:1.5;color:#eadbc5}.cs-checklist input[type=checkbox]{flex:none;width:14px;height:14px;margin-top:2px;border-radius:50%;border-color:#c2aa83}.cs-checklist input:checked{background:var(--accent);border-color:var(--accent)}.cs-checklist .is-done>span{text-decoration:line-through;color:#bdab93}.cs-add-steps{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;padding:8px 0 15px}.cs-add-steps .icon{width:12px;height:12px}
.cs-focus-actions{display:flex;gap:10px;margin:4px 0 24px}.cs-focus-actions>button{flex:1;justify-content:center;min-height:40px;padding:10px 12px;font-size:12px}.cs-focus-actions .icon{height:13px;width:13px}.cs-upcoming-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:11px;color:var(--muted)}.cs-upcoming-heading>a{display:flex;align-items:center;gap:4px;font-size:10px}.cs-upcoming-heading .icon{width:11px;height:11px}.cs-queue-task{display:flex;align-items:baseline;justify-content:space-between;gap:15px;width:100%;text-align:left;min-height:26px;font:15px/1.4 var(--serif)}.cs-queue-task>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-queue-task>small{font:10px var(--sans);color:var(--muted);flex:none}.cs-queue-task:hover{color:var(--accent)}.cs-add-next{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);min-height:32px}.cs-add-next .icon{width:12px;height:12px}.cs-now-playing{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff0d508;margin-top:17px;border-radius:7px;padding:3px 7px}.cs-now-playing>button{display:flex;align-items:center;gap:7px;min-height:35px;font-size:10px;min-width:0}.cs-now-playing>button:first-child{flex:1}.cs-now-playing span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-now-playing .icon{color:var(--accent);width:13px;height:13px;flex:none}.cs-now-playing .cs-audio-toggle{min-width:32px;justify-content:center}.cs-session-details{margin-top:13px;font-size:11px;color:var(--muted)}.cs-session-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;min-height:24px}.cs-session-details summary .icon{width:12px;height:12px}.cs-session-details>p{margin:12px 0}.cs-session-details .text-button{display:block;margin-top:12px}
.nook-centered .scene-dock{position:absolute;left:50%;right:auto;bottom:25px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 30px);display:flex;justify-content:center;align-items:center;gap:0;background:#281e16ec;border-radius:32px;padding:5px;pointer-events:auto}.nook-centered .sound-bar{background:transparent;border:0;box-shadow:none;min-height:38px;padding:0;gap:1px}.nook-centered .sound-bar .scene-audio-button{background:#4e3a20;min-height:34px;height:34px;padding:0 12px;font-size:11px}.nook-centered .sound-bar .sound-settings,.nook-centered .sound-bar .music-trigger{min-height:34px;height:34px;padding:0 12px;font-size:11px;border:0}.nook-centered .sound-bar .icon{width:13px;height:13px}.nook-centered .distraction-trigger{margin:0;background:none;border:0;padding:0 12px;font-size:11px;min-height:34px;box-shadow:none}.nook-centered .distraction-trigger .icon{width:13px;height:13px}.nook-centered .no-distractions-button{position:absolute;right:4%;bottom:28px;background:#2d211ac9;min-height:40px;font-size:11px;padding:10px 14px}.nook-centered .sounds-panel{bottom:55px;left:0;right:auto;width:310px;background:#30251b;box-shadow:0 14px 45px #10080470}.nook-centered .scene-audio-message{bottom:55px;left:0;max-width:300px}.nook-centered .cs-break,.nook-centered .cs-sitting{position:absolute;inset:0;z-index:2}.cs-break-hero{position:absolute;top:21%;left:5%;right:5%;text-align:center}.cs-break-hero h2{font:400 clamp(75px,9vw,140px)/1.12 var(--serif);letter-spacing:-.035em;margin:0 0 7px}.cs-break-next{position:absolute;bottom:38px;left:50%;transform:translateX(-50%);width:470px;max-width:calc(100% - 40px);padding:17px 23px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:14px;background:#281c11cf}.cs-break-next>div:first-child{min-width:0}.cs-break-next span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.cs-break-next strong{display:block;font:italic 22px/1.3 var(--serif);overflow-wrap:anywhere}.cs-progress-marks{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:130px;flex-shrink:0}.cs-progress-marks i{display:block;width:23px;height:3px;background:#b1a18b60}.cs-progress-marks i.is-done{background:var(--accent)}.cs-progress-marks small{width:100%;text-align:right;font-size:10px;color:var(--muted);margin-top:8px}
.nook-centered[data-screen=break] .room-background:after{background:#1c100c4f}.nook-centered[data-screen=break] .room-rail,.nook-centered[data-screen=break] .scene-dock,.nook-centered[data-screen=break] .no-distractions-button,.nook-centered[data-screen=sit] .room-rail,.nook-centered[data-screen=sit] .no-distractions-button{display:none}.cs-sitting{pointer-events:none;display:flex;align-items:center;justify-content:center;gap:20px;flex-direction:column}.cs-sitting>span{font:italic 26px var(--serif);text-shadow:0 2px 15px #100804}.cs-sitting>button{pointer-events:auto}.cs-break[hidden],.cs-sitting[hidden]{display:none}
.nook-centered .prepare-page,.nook-centered .distraction-window,.nook-centered .task-chat-preview,.nook-centered dialog,.nook-centered .refined-settings>div{background:#30251b;color:var(--text)}.nook-centered[data-view=prepare] #main{padding-top:100px}.nook-centered .study-journal{background:#372b20}.nook-centered .prepare-tasks{background:transparent}
@media(hover:none){.cs-card-actions{opacity:1;align-items:flex-end;padding-bottom:10px;background:linear-gradient(transparent 30%,#2013087a)}.cs-card-actions>button{min-height:38px}.cs-favorite{width:38px;height:38px}}
@media(min-width:1450px){.nook-centered .room-rail{width:365px}.cs-focus-card{padding:28px}.nook-centered .cs-clock .timer-time{font-size:102px}.cs-focus-task{font-size:29px}.cs-checklist .prepare-step{font-size:13px;min-height:32px}.cs-focus-actions>button{min-height:44px}.cs-queue-task{font-size:17px;min-height:30px}.cs-now-playing>button{font-size:11px}}
@media(max-width:900px){body.nook-centered #header.app-header{height:86px}.nook-centered .brand{font-size:34px}.cs-room-name{font-size:11px}.cs-dashboard{min-height:640px}.cs-dashboard-hero{top:23%}.cs-dashboard-hero h1{font-size:clamp(54px,9.4vw,90px)}.cs-phrase{font-size:21px}.cs-room-strip{left:3%;right:3%;gap:8px}.cs-room-thumb{height:96px}.cs-room-thumb.is-selected{height:120px}.cs-room-thumb>span{font-size:15px}.cs-all-rooms{flex-basis:55px;height:96px}.cs-catalog{padding-top:112px}.cs-room-grid{gap:15px}.cs-card-caption{display:block;padding:12px}.cs-card-caption h2{font-size:20px}.cs-card-caption p{text-align:left;max-width:none;margin-top:5px}.nook-centered .room-rail{right:4%;width:320px;max-width:46%;top:15%}.nook-centered .no-distractions-button{bottom:85px;right:4%}}
@media(max-width:600px){body.nook-centered #header.app-header{height:82px;padding:0 21px}.cs-place{gap:10px}.nook-centered .brand{font-size:32px}.cs-room-name{font-size:10px;max-width:125px;white-space:normal;line-height:1.4}.cs-menu summary{font-size:11px;padding:9px 12px;min-height:36px}.cs-nav{gap:8px}.cs-leave{display:none}.cs-dashboard{height:100dvh;min-height:690px}.cs-dashboard-hero{top:23%;left:6%;right:6%}.cs-context{font-size:12px}.cs-dashboard-hero h1{font-size:clamp(48px,12vw,72px);line-height:1.08;margin-top:10px;margin-bottom:18px}.cs-phrase{font-size:19px}.cs-hero-actions{gap:16px;margin-top:23px;flex-wrap:wrap}.cs-hero-actions>.primary{font-size:12px;min-height:44px;padding:12px 20px}.cs-quiet-action{font-size:12px}.cs-then{gap:5px;margin-top:20px;flex-wrap:wrap}.cs-then>button{max-width:220px;padding:7px 11px;font-size:12px}.cs-then small{font-size:10px}.cs-then>span{width:100%;margin:0 0 3px;font-size:11px}.cs-room-strip{bottom:22px;left:0;right:0;justify-content:flex-start;overflow-x:auto;height:140px;padding:8px 22px;gap:8px;scrollbar-width:none;scroll-snap-type:x proximity}.cs-room-thumb{flex:0 0 112px;height:95px;min-width:112px;scroll-snap-align:center}.cs-room-thumb.is-selected{flex:0 0 137px;height:116px;min-width:137px}.cs-room-thumb>span{font-size:15px;left:9px;bottom:9px}.cs-room-thumb>small{font-size:9px;top:6px;left:6px}.cs-all-rooms{min-width:65px}.cs-catalog{padding:110px 20px 24px}.cs-catalog h1{font-size:42px}.cs-catalog-intro>p{font-size:12px}.cs-catalog-intro{margin-bottom:26px}.cs-search input{font-size:16px}.cs-filters{gap:6px}.cs-filters button{font-size:10px;padding:8px 11px}.cs-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.cs-card-image{aspect-ratio:1.05}.cs-card-caption{padding:11px 10px}.cs-card-caption h2{font-size:18px;white-space:normal}.cs-card-caption p{font-size:10px;line-height:1.5}.cs-card-actions{opacity:1;align-items:flex-end;padding:8px 5px;gap:4px;background:linear-gradient(transparent 45%,#21160770)}.cs-card-actions>button{padding:7px 10px;min-height:34px;font-size:10px}.cs-card-actions .primary .icon{width:10px;height:10px}.cs-current-label{font-size:8px;left:6px;top:6px}.cs-favorite{width:30px;height:30px;right:6px;top:6px}.nook-centered .room-screen{min-height:780px;height:100dvh}.nook-centered .room-background{position:absolute;height:100%;min-height:0}.nook-centered .room-background img{object-position:40% center}.nook-centered .room-rail,.nook-centered .room-rail:has(.quiet-task-panel:not([hidden])){top:134px;right:20px;left:20px;bottom:150px;width:auto;max-width:none;max-height:none;align-items:stretch}.nook-centered .room-rail>.timer-panel{width:100%;max-width:360px;align-self:center;max-height:100%}.cs-focus-card{padding:23px 25px 17px}.nook-centered .cs-clock .timer-time{font-size:83px}.cs-focus-meta{font-size:11px}.cs-focus-task{font-size:25px}.cs-checklist .prepare-step{font-size:13px;min-height:31px}.cs-focus-actions>button{min-height:42px}.nook-centered .room-rail>.quiet-task-panel{max-height:100%}.nook-centered .scene-dock{bottom:24px;left:50%;right:auto;flex-wrap:wrap;justify-content:center;max-width:calc(100% - 28px);width:max-content}.nook-centered .sound-bar .music-trigger{display:none}.nook-centered .sound-bar .sound-settings{padding:0 10px}.nook-centered .distraction-trigger{padding:0 9px;font-size:10px}.nook-centered .distraction-trigger>.icon{display:none}.nook-centered .no-distractions-button{bottom:82px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap}.nook-centered .sounds-panel{position:absolute;bottom:60px;left:0;width:min(310px,calc(100vw - 50px))}.cs-break-hero{top:27%}.cs-break-hero h2{font-size:80px}.cs-break-next{bottom:35px;padding:18px;gap:15px}.cs-break-next strong{font-size:20px}.cs-progress-marks{max-width:90px}.cs-progress-marks i{width:16px}.cs-sitting>span{font-size:24px}.nook-centered[data-view=prepare] #main{padding-top:82px}.nook-centered .prepare-page{margin-top:20px}.cs-preview-copy>.text-button{display:block;margin:15px 0 0}}
@media(max-width:350px){.cs-room-grid{grid-template-columns:1fr}.cs-card-image{aspect-ratio:1.6}.cs-room-name{max-width:105px}.cs-dashboard-hero{top:20%}.cs-dashboard-hero h1{font-size:46px}}
@media(prefers-reduced-motion:reduce){.cs-room-thumb,.cs-card-actions,.cs-card-image>img{transition:none}}

/* Reference review: clear the inherited rail geometry and retain reachable controls. */
.nook-centered .cs-dashboard-hero h1,.nook-centered .cs-phrase,.nook-centered .cs-catalog h1,.nook-centered .cs-clock .timer-time,.nook-centered .cs-focus-task,.nook-centered .cs-break-hero h2,.nook-centered .cs-break-next strong{font-family:"Nook Baskervville","Times New Roman",serif;font-weight:400}
.nook-centered .cs-dashboard .refined-backdrop img{transform:scale(1.3);transform-origin:22% 40%}
.nook-centered .room-rail:has(.quiet-task-panel){position:absolute;top:14%;right:6.5%;left:auto;bottom:108px;width:340px;max-width:36%;max-height:none;display:flex}
.nook-centered .room-rail:has(.quiet-task-panel:not([hidden])){width:390px;max-width:45%}
.nook-centered .room-rail>.quiet-task-panel{position:relative;inset:auto;max-height:100%;max-width:100%;width:100%}
.nook-centered .cs-focus-actions>.primary{min-height:40px;padding:10px 12px;font-size:12px}
.nook-centered .cs-card-actions>.primary{min-height:38px;padding:10px 13px;font-size:12px;gap:8px}
.nook-centered .cs-break-hero h2:focus{outline:none}
.nook-centered .scene-dock .distraction-trigger{position:static;transform:none;display:flex;align-items:center;gap:6px;width:auto;height:auto}.nook-centered .scene-dock .distraction-trigger>span{display:inline}
.nook-centered[data-screen=break] .room-rail:has(.quiet-task-panel),.nook-centered[data-screen=sit] .room-rail:has(.quiet-task-panel){display:none}
@media(min-width:1450px){.nook-centered .room-rail:has(.quiet-task-panel){width:365px}}
@media(max-width:900px){.nook-centered .room-rail:has(.quiet-task-panel){right:4%;width:320px;max-width:46%;top:15%}}
@media(max-width:600px){.nook-centered .room-rail:has(.quiet-task-panel),.nook-centered .room-rail:has(.quiet-task-panel:not([hidden])){top:134px;right:20px;left:20px;bottom:150px;width:auto;max-width:none;max-height:none}.nook-centered .cs-card-actions>.primary{min-height:34px;padding:7px 10px;font-size:10px;gap:5px}.nook-centered .cs-dashboard .refined-backdrop img{transform:none}.nook-centered .scene-dock .distraction-trigger{padding:0 10px;min-height:34px}}

/* Open Font License display family, shipped locally and embedded in the portable build. */
@font-face{font-family:"Nook Baskervville";src:url("assets/baskervville.ttf") format("truetype");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Nook Baskervville";src:url("assets/baskervville-italic.ttf") format("truetype");font-weight:400 700;font-style:italic;font-display:swap}

/* Reachable focus controls and a continuous scene-to-rooms scroll. */
body.nook-centered.in-room:not(.focus-only-mode){overflow:auto}
.nook-centered .room-rail>.timer-panel,.nook-centered .room-rail>.quiet-task-panel{pointer-events:auto;overscroll-behavior:contain}
.cs-room-flow{position:relative;isolation:isolate}.cs-scroll-stage{position:sticky;top:0;z-index:0}.cs-rooms-below{position:relative;z-index:5;min-height:100dvh;background:#20170f;outline:none}.cs-rooms-below{box-shadow:0 -18px 40px #160f0940}.cs-rooms-below .cs-catalog{background:radial-gradient(ellipse at 28% 0%,#312317 0%,#20170f 55%);padding-top:105px}.cs-browse-scroll{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);z-index:6;display:flex;align-items:center;gap:5px;min-height:24px;padding:3px 12px;font-size:10px;color:var(--muted);text-shadow:0 1px 8px #000}.cs-browse-scroll .icon,.cs-back-to-scene .icon{width:12px;height:12px}.cs-back-to-scene{position:absolute;top:26px;left:4%;display:flex;align-items:center;gap:7px;padding:10px 0;min-height:40px;font-size:12px;color:var(--muted)}.cs-back-to-scene:hover,.cs-browse-scroll:hover{color:var(--text)}
.nook-centered.focus-only-mode .cs-browse-scroll,.nook-centered.scene-clear .cs-browse-scroll{visibility:hidden}.nook-centered.focus-only-mode{overflow:hidden}
@media(max-width:600px){.cs-back-to-scene{left:20px;top:20px}.cs-rooms-below .cs-catalog{padding-top:95px}.cs-browse-scroll{font-size:9px;bottom:0;min-height:22px}}
/* Keep native focus scrolling inside long panels from scrolling behind the gallery. */
.cs-scroll-stage{position:relative}

/* Shared room thumbnails expand into the collection, driven by dashboard scroll. */
.morph-enabled .cs-morph-runway{height:calc(var(--morph-height) + var(--morph-travel))}
.morph-enabled .cs-scroll-stage{position:sticky;top:0;height:var(--morph-height)}
.morph-enabled .cs-rooms-below{margin-top:calc(-1 * var(--morph-height));background:transparent;box-shadow:none;pointer-events:none;will-change:transform}
.morph-enabled .cs-rooms-below:before{content:'';position:absolute;inset:0;z-index:-1;background:#20170f;opacity:var(--morph-backdrop,0)}
.morph-enabled .cs-rooms-below .cs-catalog{background:transparent}
.morph-enabled .cs-catalog-intro,.morph-enabled .cs-back-to-scene,.morph-enabled .cs-return{opacity:var(--morph-content,0)}
.morph-enabled .cs-room-card,.morph-enabled .cs-no-results{opacity:var(--morph-cards,0)}
.morph-enabled .cs-rooms-below:not([inert]){pointer-events:auto}
.morph-enabled .cs-dashboard-hero,.morph-enabled .cs-browse-scroll{opacity:var(--morph-hero,1)}
.morph-enabled.is-morphing .cs-room-strip{visibility:hidden}
.cs-morph-ghosts{position:fixed;inset:0;z-index:10;overflow:hidden;pointer-events:none;contain:strict}
.cs-morph-ghosts[hidden]{display:none}
.cs-morph-card{position:absolute;top:0;left:0;border:1px solid #f9dfb926;border-radius:14px;overflow:hidden;background:#2c231a;contain:layout paint;will-change:transform}
.cs-morph-card.is-current{border-color:var(--accent)}
.cs-morph-card img{position:absolute;inset:0 0 auto;width:100%;object-fit:cover;display:block}
.cs-morph-card:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#140b0660);pointer-events:none;opacity:calc(1 - var(--morph-progress))}
.cs-morph-title{position:absolute;z-index:1;right:10px;line-height:1.25;font-family:var(--serif);color:var(--text);text-shadow:0 1px 8px #0006}

/* Clipped artwork must not become a nested scroll container during keyboard focus. */
.morph-enabled .cs-dashboard{overflow:clip}

/* Distraction-free time stays quietly in the corner of the room. */
.nook-centered .focus-only{display:flex;align-items:flex-end;justify-content:flex-end;padding:32px}
.nook-centered .focus-only[hidden]{display:none}
.nook-centered .focus-only-time{font:400 36px/1.2 var(--serif);font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:#f4e8d5d9;text-shadow:0 2px 8px #100b08b3}
.nook-centered .focus-only>button{left:32px;bottom:27px;transform:none;background:transparent;border-color:transparent;padding:10px 0;font-size:12px;color:#f4e8d5b3;text-shadow:0 2px 6px #100b08}
.nook-centered .focus-only>button:hover,.nook-centered .focus-only>button:focus-visible{color:var(--text)}
@media(max-width:600px){.nook-centered .focus-only{padding:20px}.nook-centered .focus-only-time{font-size:30px}.nook-centered .focus-only>button{left:20px;bottom:16px;font-size:11px;gap:6px}}

.nook-centered.focus-only-mode .cs-rooms-below{display:none}

/* Lower rows appear in their final positions instead of taking an off-screen detour. */
.morph-enabled .cs-room-card.cs-morph-reveal{opacity:var(--morph-reveal,0)}

/* Focus Room v6 (focus-ui.js, focus-planner.js) — implementation guide: Newsreader / Instrument Sans,
   warm glass cards, one gold action per surface. Everything is scoped to body.nook-v6; ?ui=classic turns it off. */
body.nook-v6{--nf-ink:#FBF4E8;--nf-2:#E8DCCB;--nf-3:#BFB1A0;--nf-muted:#A89A88;--nf-ph:#B5A795;--nf-gold:#F2C46D;--nf-gold-h:#F6D188;--nf-on-gold:#26190A;--nf-green:#9AD5A8;--nf-green-t:#BFE6C8;--nf-coral:#F4A27E;--nf-glass:rgba(27,19,12,.82);--nf-pillbg:rgba(20,14,9,.72);--nf-popbg:rgba(32,23,15,.97);--nf-hair:rgba(251,244,232,.1);--nf-fill:rgba(251,244,232,.08);--nf-serif:'Newsreader',Georgia,'Times New Roman',serif;--nf-sans:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--nf-shadow:0 20px 56px rgba(0,0,0,.3);--nf-pop-shadow:0 20px 56px rgba(0,0,0,.5),0 0 0 1px rgba(251,244,232,.07);--nf-ease:cubic-bezier(.2,.8,.2,1);background:#1b130c;color:var(--nf-ink);font:13px/1.45 var(--nf-sans);overflow:hidden}
body.nook-v6 #header{display:none}
body.nook-v6 :is(button,a,input,[tabindex]):focus-visible{outline:2px solid var(--nf-gold);outline-offset:2px}
:where(body.nook-v6) button{font-family:var(--nf-sans)}
.nf,.nf *,#nf-layer *,.nf-toast *{box-sizing:border-box}
.nf{position:fixed;inset:0;overflow:hidden;color:var(--nf-ink)}
.nf h1,.nf h2,#nf-layer h1,#nf-layer h2{font-weight:400}
.nf-i{width:18px;height:18px;flex:none;display:block}
.nf-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}

/* Background, shade and the hidden-UI mode */
.nf-bg{position:absolute;inset:0;z-index:0;background:#1b130c}
.nf-bg-img,.nf-bg .scene-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .6s ease;display:block}
.nf-bg-img.is-on,.nf-bg .scene-video.is-ready{opacity:1}
.nf[data-room=hearth] :is(.nf-bg-img,.scene-video){object-position:100% center}
.nf-shade{position:absolute;inset:0;z-index:1;pointer-events:none}
.nf-on-dash .nf-shade{background:radial-gradient(ellipse 55% 42% at 50% 36%,rgba(16,10,6,.66),transparent),linear-gradient(180deg,rgba(16,10,6,.6) 0%,rgba(16,10,6,0) 28%,rgba(16,10,6,0) 58%,rgba(16,10,6,.72) 100%)}
.nf-in-room .nf-shade{background:linear-gradient(90deg,transparent 45%,rgba(16,10,6,.45)),linear-gradient(180deg,rgba(16,10,6,.5) 0%,rgba(16,10,6,0) 22%,rgba(16,10,6,0) 70%,rgba(16,10,6,.6) 100%)}
.nf.is-dim .nf-shade:after{content:'';position:absolute;inset:0;background:rgba(10,6,3,.35)}
.nf-ui{position:absolute;inset:0;z-index:2;pointer-events:none;transition:opacity .25s ease}
.nf-ui>*{pointer-events:auto}
.nf.is-hidden .nf-ui{opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s .25s}
body.nook-v6 .scene-media-retry{z-index:3;top:96px;left:clamp(14px,4vw,48px);border:0;border-radius:999px;background:var(--nf-pillbg);color:var(--nf-2);padding:9px 14px;backdrop-filter:blur(16px)}

/* 1 · Top bar */
.nf-top{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px clamp(14px,4vw,48px);pointer-events:none;transition:opacity .2s ease}
.nf-top>*{pointer-events:auto}
.nf-brand{display:flex;align-items:baseline;gap:14px;min-width:0}
.nf-logo{font:400 38px/1 var(--nf-serif);letter-spacing:-.02em;color:var(--nf-ink);font-optical-sizing:auto;text-shadow:0 2px 18px rgba(16,10,6,.35)}
.nf-roomname{font-size:14px;color:#EFE4D3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nf-top-right{display:flex;align-items:center;gap:10px}
.nf-pill{height:40px;padding:0 18px;border:0;border-radius:999px;background:var(--nf-pillbg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--nf-ink);font:500 14px var(--nf-sans);display:inline-flex;align-items:center;gap:9px;white-space:nowrap;transition:background .15s}
.nf-pill:hover{background:rgba(36,26,17,.88)}
.nf-menu-i{width:16px;height:12px}
.nf-menu-wrap{position:relative}
.nf-menu{position:absolute;top:calc(100% + 8px);right:0;width:220px;padding:6px;border-radius:16px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);z-index:20;animation:nf-in .16s ease}
.nf-menu[hidden]{display:none}
.nf-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;height:38px;padding:0 12px;border-radius:10px;color:var(--nf-ink);font:500 13px var(--nf-sans);text-align:left}
.nf-menu button:hover,.nf-menu button:focus-visible{background:var(--nf-fill)}
.nf-menu hr{border:0;height:1px;background:var(--nf-hair);margin:6px 8px}
.nf-menu-count{min-width:22px;height:20px;padding:0 7px;border-radius:999px;background:rgba(242,196,109,.16);color:var(--nf-gold);font-size:11px;font-weight:600;display:inline-grid;place-items:center}
/* While the planner is open its opener has become the veil: the bar, card and dock fade out. */
body.nf-planning .nf-ui{opacity:0;pointer-events:none}
body.nf-planning .nf-ui>*{pointer-events:none}

/* Buttons and shared controls */
.nf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border:0;border-radius:999px;font:600 14px var(--nf-sans);white-space:nowrap;text-decoration:none;transition:background .15s,color .15s}
.nf-btn .nf-i{width:15px;height:15px}
.nf-gold{background:var(--nf-gold);color:var(--nf-on-gold)}
.nf-gold:hover{background:var(--nf-gold-h)}
.nf-secondary{background:rgba(251,244,232,.1);color:var(--nf-ink);font-weight:500}
.nf-secondary:hover{background:rgba(251,244,232,.16)}
.nf-sm{height:30px;padding:0 12px;font-size:12px}
.nf-linkbtn{display:inline-flex;align-items:center;gap:5px;padding:4px 0;color:var(--nf-2);font:500 12px var(--nf-sans);text-decoration:none}
.nf-linkbtn:hover{color:var(--nf-ink)}
.nf-linkbtn .nf-i{width:13px;height:13px}
.nf-textbtn{color:var(--nf-ink);font:500 14px var(--nf-sans);text-decoration:underline;text-decoration-color:rgba(251,244,232,.45);text-underline-offset:4px;padding:6px 2px}
.nf-textbtn:hover{text-decoration-color:var(--nf-ink)}
.nf-chip{height:28px;padding:0 12px;border-radius:999px;background:var(--nf-fill);color:var(--nf-2);font:500 12px var(--nf-sans);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none}
.nf-chip:hover{background:rgba(251,244,232,.14);color:var(--nf-ink)}
.nf-session-chip{background:rgba(242,196,109,.14);color:var(--nf-gold);font-weight:600;font-variant-numeric:tabular-nums}
.nf-session-chip:hover{background:rgba(242,196,109,.22);color:var(--nf-gold-h)}
.nf-sep{opacity:.75}
:is(.nf-session-chip,.nf-show,.nf-backpill,.nf-pl-session).is-break{color:var(--nf-green)}
:is(.nf-session-chip,.nf-show,.nf-backpill,.nf-pl-session).is-paused .nf-dot{opacity:.45}
.nf-check{width:20px;height:20px;padding:0;border:1.5px solid var(--nf-2);border-radius:50%;background:transparent;color:transparent;display:grid;place-items:center;flex:none;transition:background .15s,border-color .15s,color .15s}
.nf-check .nf-i{width:13px;height:13px}
.nf-check:hover{border-color:var(--nf-gold)}
.nf-check[aria-checked=true]{background:var(--nf-gold);border-color:var(--nf-gold);color:var(--nf-on-gold)}
.nf-check.sub{width:17px;height:17px}
.nf-check.sm{width:16px;height:16px}
:is(.nf-check.sub,.nf-check.sm) .nf-i{width:11px;height:11px}
.nf-switch{position:relative;width:34px;height:20px;padding:0;border-radius:999px;background:rgba(251,244,232,.2);flex:none;transition:background .15s}
.nf-switch i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--nf-ink);transition:transform .15s ease}
.nf-switch[aria-checked=true]{background:var(--nf-gold)}
.nf-switch[aria-checked=true] i{transform:translateX(14px)}
.nf-play{width:26px;height:26px;padding:0;border-radius:50%;background:rgba(251,244,232,.1);color:var(--nf-ink);display:grid;place-items:center;flex:none;opacity:.6;transition:opacity .15s,background .15s}
.nf-play .nf-i{width:11px;height:11px;margin-left:1px}
.nf-play:hover,.nf-play:focus-visible{opacity:1;background:rgba(251,244,232,.18)}
.nf-play.is-focus{opacity:1;background:var(--nf-gold);color:var(--nf-on-gold)}
.nf-tag{display:inline-flex;align-items:center;gap:6px;margin-left:10px;font-size:12px;color:var(--nf-3);white-space:nowrap}
.nf-tag.is-focus{color:var(--nf-gold)}
.nf-chatpill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border:1px solid rgba(251,244,232,.16);border-radius:999px;background:transparent;color:var(--nf-2);font:500 11px var(--nf-sans);white-space:nowrap;flex:none}
.nf-chatpill:hover{border-color:rgba(251,244,232,.32);color:var(--nf-ink)}
.nf-chatpill .nf-i{width:13px;height:13px}
.nf-chat-n{color:var(--nf-3)}
.nf-sdot{display:inline-block;width:7px;height:7px;border-radius:50%;flex:none}
.nf-sdot.st-working{background:var(--nf-gold);animation:nf-pulse 1.8s ease-in-out infinite}
.nf-sdot.st-needs{background:var(--nf-coral)}
.nf-sdot.st-review{background:var(--nf-green)}
.nf-sdot.st-linked,.nf-sdot.st-reviewed{background:transparent;box-shadow:inset 0 0 0 1.5px #CDBFAE}
.nf-timechip{padding:3px 9px;border-radius:999px;background:rgba(242,196,109,.16);color:var(--nf-gold);font:600 11px var(--nf-sans);white-space:nowrap;flex:none}
.nf-timechip[hidden]{display:none}
.nf-quick{position:relative;display:flex;align-items:center;gap:10px;height:40px;flex:none;margin:0}
.nf-quick input{flex:1;min-width:0;height:32px;padding:0 4px;border:0;border-radius:8px;background:transparent;color:var(--nf-ink);font:13px var(--nf-sans)}
.nf-quick input::placeholder{color:var(--nf-ph);opacity:1}
.nf-quick input:focus{outline:none}
.nf-quick input:focus-visible{outline:2px solid var(--nf-gold);outline-offset:2px}
.nf-quick-plus{color:var(--nf-3);display:grid;place-items:center;width:20px;flex:none}
.nf-quick-plus .nf-i{width:15px;height:15px}
.nf-hair{height:1px;background:var(--nf-hair);flex:none}

/* 2 · Rooms dashboard (hero; the line of rooms and its scroll into the collection are styled further down) */
.nf-dash{position:absolute;inset:0;pointer-events:none}
.nf-dash>*{pointer-events:auto}
.nf-hero{position:absolute;left:50%;top:clamp(92px,16vh,200px);transform:translateX(-50%);width:min(960px,calc(100vw - 32px));text-align:center;animation:nf-fade .3s ease}
.nf-hero-in{display:flex;flex-direction:column;align-items:center;transition:opacity .16s ease,transform .16s ease}
.nf-hero-in.is-out{opacity:0;transform:translateY(5px)}
.nf-hero-eyebrow{font-size:16px;color:var(--nf-2);text-shadow:0 1px 12px rgba(16,10,6,.5)}
.nf-hero-room{margin:8px 0 6px;font:400 clamp(44px,min(7.6vw,11vh),108px)/1.02 var(--nf-serif);letter-spacing:-.025em;color:var(--nf-ink);text-shadow:0 2px 28px rgba(16,10,6,.4)}
.nf-hero-line{font:italic 400 20px/1.4 var(--nf-serif);color:var(--nf-2);text-shadow:0 1px 12px rgba(16,10,6,.5)}
.nf-hero-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin-top:26px}
.nf-enter{height:52px;padding:0 26px;font-size:15px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.nf-enter .nf-i{width:17px;height:17px}
.nf-backpill{margin-top:18px;height:34px;padding:0 14px;border-radius:999px;background:var(--nf-pillbg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--nf-2);font:500 12px var(--nf-sans);display:inline-flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.nf-backpill .nf-dot{color:var(--nf-gold)}
.nf-backpill.is-break .nf-dot{color:var(--nf-green)}
.nf-backpill:hover{color:var(--nf-ink)}

/* 3–5 · Room scene, Tasks card and Focus Room card */
.nf-room{position:absolute;inset:0;pointer-events:none}
.nf-room>*{pointer-events:auto}
.nf-side{position:absolute;top:96px;right:clamp(14px,4vw,48px);width:340px;display:flex;flex-direction:column}
.nf-card{display:flex;flex-direction:column;width:100%;min-height:0;max-height:calc(100vh - 188px);max-height:calc(100dvh - 188px);border-radius:24px;background:var(--nf-glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--nf-shadow);color:var(--nf-ink);animation:nf-in .18s ease}
.nf-tasks{padding:20px 22px 12px}
.nf-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px;flex:none}
.nf-eyebrow{font-size:12px;color:var(--nf-2)}
.nf-context{font-size:11px;line-height:1.4;color:var(--nf-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-next{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:14px;align-items:center;margin-top:16px;flex:none}
.nf-next-row{display:contents}
.nf-next .nf-context{grid-column:2}
.nf-next .nf-check{grid-column:1}
.nf-next-title{grid-column:2;margin:2px 0;font:italic 400 26px/1.18 var(--nf-serif);letter-spacing:-.01em;overflow-wrap:anywhere}
.nf-next-meta{grid-column:2;margin-top:8px;font-size:12px;color:var(--nf-2)}
.nf-next-meta .nf-tag{margin-left:8px}
.nf-empty{margin-top:16px;flex:none}
.nf-empty-title{font:italic 400 24px/1.2 var(--nf-serif)}
.nf-empty-line{margin-top:6px;font-size:13px;color:var(--nf-3)}
.nf-actions{display:flex;gap:10px;margin-top:18px;flex:none}
.nf-actions .nf-btn{flex:1;min-width:0}
.nf-tasks>.nf-hair{margin:18px 0 2px}
.nf-then{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 2px;border-radius:8px;color:var(--nf-ink);font:13px var(--nf-sans);flex:none}
.nf-then-label{color:var(--nf-3)}
.nf-then .nf-chev{margin-left:auto;width:16px;height:16px;color:var(--nf-2);transition:transform .15s}
.nf-then[aria-expanded=true] .nf-chev{transform:rotate(180deg)}
.nf-then-list{list-style:none;margin:0;padding:0 2px;overflow:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.nf-then-list[hidden]{display:none}
.nf-then-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto 34px;align-items:center;gap:12px;padding:6px 0}
.nf-then-text{display:flex;flex-direction:column;min-width:0}
.nf-then-title{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-then-ctx{font-size:11px;color:var(--nf-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-then-time{font-size:12px;color:var(--nf-2);text-align:right;font-variant-numeric:tabular-nums}
.nf-tasks .nf-quick{margin-top:4px}
.nf-focus{overflow:hidden}
.nf-focus-scroll{padding:20px 22px 10px;overflow:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.nf-phase{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--nf-2)}
.nf-phase .nf-dot{color:var(--nf-gold)}
.nf-focus.is-break .nf-phase{color:var(--nf-green)}
.nf-focus.is-break .nf-phase .nf-dot{color:var(--nf-green)}
.nf-focus.is-paused .nf-phase .nf-dot{opacity:.45}
.nf-focus.is-up .nf-phase{color:var(--nf-coral)}
.nf-focus.is-up .nf-phase .nf-dot{color:var(--nf-coral)}
.nf-focus .nf-context{margin-top:14px}
.nf-focus-title{margin-top:2px;font:italic 400 24px/1.2 var(--nf-serif);overflow-wrap:anywhere}
.nf-timer{margin:10px 0 12px;font:300 clamp(46px,min(6vw,10vh),84px)/1 var(--nf-serif);font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum","lnum";letter-spacing:-.03em;color:var(--nf-ink);transition:color .4s ease}
.nf-focus.is-break .nf-timer{color:var(--nf-green-t)}
.nf-focus.is-paused .nf-timer{color:var(--nf-2)}
.nf-bar{display:flex;gap:3px;height:4px}
.nf-seg{position:relative;min-width:3px;border-radius:999px;overflow:hidden;background:rgba(242,196,109,.18)}
.nf-seg.is-break{background:rgba(154,213,168,.2)}
.nf-seg b{position:absolute;top:0;bottom:0;left:0;border-radius:inherit;background:var(--nf-gold);transition:width .9s linear}
.nf-seg.is-break b{background:var(--nf-green)}
.nf-next-line{margin-top:10px;font-size:12px;color:var(--nf-2)}
.nf-meta{margin-top:3px;font-size:11px;color:var(--nf-3)}
.nf-breaks{margin-top:14px;padding:11px 14px 12px;border-radius:14px;background:rgba(251,244,232,.05)}
.nf-breaks-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}
.nf-breaks-steps{display:flex;justify-content:space-between;gap:8px;margin-top:10px}
.nf-step{display:flex;align-items:center;gap:5px;font-size:12px}
.nf-step-label{margin-right:3px;color:var(--nf-3)}
.nf-step-btn{width:24px;height:24px;padding:0;border-radius:50%;background:var(--nf-fill);color:var(--nf-ink);display:grid;place-items:center}
.nf-step-btn:hover{background:rgba(251,244,232,.16)}
.nf-step-btn .nf-i{width:12px;height:12px}
.nf-step-val{min-width:30px;text-align:center;font-variant-numeric:tabular-nums}
.nf-breaks-plan{margin-top:8px;font-size:11px;color:var(--nf-3)}
.nf-focus-chats{margin-top:12px}
.nf-subs{list-style:none;margin:14px 0 0;padding:0}
.nf-sub{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:12px;padding:6px 0;font-size:13px}
.nf-sub-title{overflow-wrap:anywhere}
.nf-sub.is-done .nf-sub-title{text-decoration:line-through;color:var(--nf-muted)}
.nf-sub-time{font-size:12px;color:var(--nf-3)}
.nf-sub-add{height:36px;margin-top:2px}
.nf-focus-foot{padding:12px 22px 14px;flex:none}
.nf-focus-foot .nf-actions{margin-top:0}
.nf-focus-foot .nf-hair{margin:12px 0 10px}
.nf-foot-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--nf-3)}
.nf-foot-next{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-foot-next b{font-weight:500;color:var(--nf-2)}
.nf-show{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:7;height:40px;padding:0 16px;border-radius:999px;background:var(--nf-pillbg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--nf-ink);display:inline-flex;align-items:center;gap:8px;font:500 13px var(--nf-sans);font-variant-numeric:tabular-nums}
.nf-show[hidden]{display:none}
.nf-show .nf-dot{color:var(--nf-gold)}
.nf-show.is-break .nf-dot{color:var(--nf-green)}

/* 11 · Dock and its popovers */
.nf-dock{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:2px;height:48px;max-width:calc(100vw - 24px);padding:4px;border-radius:999px;background:var(--nf-pillbg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font:500 13px var(--nf-sans)}
.nf-dock-item{height:40px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;gap:9px;color:var(--nf-ink);white-space:nowrap;min-width:0;transition:background .15s,color .15s}
.nf-dock-item:hover,.nf-dock-item[aria-expanded=true]{background:rgba(251,244,232,.08)}
.nf-dock-item[data-dock=ambience].is-playing{background:rgba(242,196,109,.14);color:var(--nf-gold)}
.nf-dock-text{overflow:hidden;text-overflow:ellipsis}
.nf-dock-ic{display:none}
.nf-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:rgba(251,244,232,.14);color:var(--nf-ink);font-size:11px;font-weight:600;display:inline-grid;place-items:center}
.nf-dock-sep{width:1px;height:22px;margin:0 6px;background:rgba(251,244,232,.16);flex:none}
.nf-eye{width:40px;padding:0;justify-content:center}
.nf-eye .nf-i{width:20px;height:20px}
.nf-eq{display:inline-flex;align-items:flex-end;gap:2px;width:14px;height:14px;flex:none}
.nf-eq i{display:block;width:3px;border-radius:1px;background:currentColor;height:45%}
.nf-eq i:nth-child(2){height:100%}
.nf-eq i:nth-child(3){height:65%}
.is-playing .nf-eq i{animation:nf-eq 1.1s ease-in-out infinite}
.is-playing .nf-eq i:nth-child(2){animation-delay:-.35s}
.is-playing .nf-eq i:nth-child(3){animation-delay:-.7s}
.nf-pop{position:fixed;bottom:82px;z-index:6;width:300px;max-height:calc(100dvh - 180px);overflow:auto;padding:16px 18px 18px;border-radius:18px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);animation:nf-in .16s ease}
.nf-pop[hidden]{display:none}
.nf-pop-eyebrow{font-size:12px;color:var(--nf-2)}
.nf-pop-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.nf-amb-row{display:flex;align-items:center;gap:14px;margin:12px 0 14px}
.nf-amb-play{width:44px;height:44px;padding:0;border-radius:50%;background:rgba(251,244,232,.12);color:var(--nf-ink);display:grid;place-items:center;flex:none}
.nf-amb-play .nf-i{width:18px;height:18px}
.nf-amb-play.is-on{background:var(--nf-gold);color:var(--nf-on-gold)}
.nf-amb-name{font:400 20px/1.2 var(--nf-serif)}
.nf-amb-state{font-size:12px;color:var(--nf-3)}
.nf-range-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;font-size:13px;color:var(--nf-ink)}
.nf-mix-row{grid-template-columns:92px minmax(0,1fr);height:36px}
.nf-mix-row.is-zero>span{color:var(--nf-3)}
body.nook-v6 .nf-range-row input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:6px;margin:0;padding:0;border:0;border-radius:999px;background:linear-gradient(90deg,var(--nf-gold) var(--v,0%),rgba(251,244,232,.16) var(--v,0%));accent-color:var(--nf-gold);cursor:pointer}
body.nook-v6 .nf-range-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:var(--nf-gold);border:0;box-shadow:0 0 0 3px rgba(242,196,109,.16)}
body.nook-v6 .nf-range-row input[type=range]::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:var(--nf-gold)}
body.nook-v6 .nf-range-row input[type=range]:focus-visible{outline-offset:6px}
.nf-pad-form input{width:100%;height:38px;margin-top:10px;padding:0 12px;border:1px solid rgba(251,244,232,.12);border-radius:12px;background:rgba(251,244,232,.06);color:var(--nf-ink);font:13px var(--nf-sans)}
.nf-pad-form input::placeholder{color:var(--nf-ph);opacity:1}
.nf-notes{list-style:none;margin:10px 0 0;padding:0;max-height:240px;overflow:auto}
.nf-notes li{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--nf-hair);font-size:13px}
.nf-notes li>span{flex:1;min-width:0;overflow-wrap:anywhere}
.nf-x{width:26px;height:26px;padding:0;border-radius:50%;color:var(--nf-3);display:grid;place-items:center;flex:none}
.nf-x:hover{background:var(--nf-fill);color:var(--nf-ink)}
.nf-x .nf-i{width:14px;height:14px}
.nf-pad-empty{margin-top:10px;font-size:12px;color:var(--nf-3)}

/* 12 · Toast */
.nf-toast{position:fixed;left:50%;bottom:84px;z-index:90;display:flex;align-items:center;gap:12px;min-height:44px;max-width:min(560px,calc(100vw - 24px));padding:0 8px 0 18px;border-radius:999px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);font:13px/1.35 var(--nf-sans);opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:opacity .18s ease,transform .18s ease,bottom .2s ease}
.nf-toast:not(:has(button)){padding-right:18px}
.nf-toast.is-on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.nf-toast>span{padding:10px 0}
.nf-toast-undo{height:30px;padding:0 12px;border-radius:999px;color:var(--nf-gold);font:600 13px var(--nf-sans);flex:none}
.nf-toast-undo:hover{background:rgba(242,196,109,.12)}
body.nf-dock-open .nf-toast{bottom:300px}
body.nf-planning .nf-toast{top:22px;bottom:auto;transform:translate(-50%,-8px)}
body.nf-planning .nf-toast.is-on{transform:translate(-50%,0)}
body:not(.nook-v6) .nf-toast,body:not(.nook-v6) #nf-layer{display:none}
body.nook-v6 #toast{bottom:84px;padding:12px 18px;border:0;border-radius:999px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);font:13px var(--nf-sans)}

/* 7–8 · Today planner: the opener morphs into a full-screen veil over the dimmed room */
#nf-layer{position:relative;z-index:50}
.nf-veil{position:fixed;z-index:50;overflow:hidden;border-radius:24px;background-color:var(--nf-glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);color:var(--nf-ink);outline:none;transition:left .36s var(--nf-ease),top .36s var(--nf-ease),width .36s var(--nf-ease),height .36s var(--nf-ease),border-radius .36s var(--nf-ease),background-color .36s ease,-webkit-backdrop-filter .36s ease,backdrop-filter .36s ease}
.nf-veil.is-open{border-radius:0;background-color:rgba(16,10,6,.6);-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}
.nf-veil.no-motion,.nf-veil.no-motion .nf-planner{transition:none}
.nf-planner{position:absolute;top:0;left:0;width:100vw;height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;opacity:0;transform:translateY(10px);transition:opacity .24s ease .14s,transform .24s ease .14s}
.nf-veil.is-open .nf-planner{opacity:1;transform:none}
.nf-veil.is-closing .nf-planner{opacity:0;transform:translateY(6px);transition:opacity .12s ease,transform .12s ease}
.nf-pl-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:28px clamp(14px,4vw,48px) 18px;background:linear-gradient(180deg,rgba(16,10,6,.82) 45%,rgba(16,10,6,0))}
.nf-pl-head-right{display:flex;align-items:center;gap:10px;min-width:0}
.nf-pl-session{display:inline-flex;align-items:center;gap:10px;height:40px;min-width:0;padding:0 5px 0 16px;border-radius:999px;background:var(--nf-pillbg);color:var(--nf-ink);font-size:14px;font-variant-numeric:tabular-nums}
.nf-pl-session .nf-dot{color:var(--nf-gold)}
.nf-pl-session.is-break .nf-dot{color:var(--nf-green)}
.nf-pl-session-time{font-weight:600}
.nf-pl-session-title{color:var(--nf-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
.nf-pl-pause{height:30px;padding:0 14px;border-radius:999px;background:rgba(251,244,232,.12);color:var(--nf-ink);font:600 13px var(--nf-sans);flex:none}
.nf-pl-pause:hover{background:rgba(251,244,232,.2)}
.nf-pl-back{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0 8px;font-size:15px}
.nf-pl-back:hover{background:var(--nf-fill)}
.nf-pl-body{max-width:752px;margin:0 auto;padding:4px 16px 72px}
.nf-pl-hero{text-align:center;margin-bottom:28px}
.nf-pl-eyebrow{font-size:14px;color:var(--nf-2)}
.nf-pl-title{margin:6px 0 8px;font:400 clamp(48px,min(7vw,12vh),84px)/1 var(--nf-serif);letter-spacing:-.025em}
.nf-pl-sum{font:italic 400 19px/1.4 var(--nf-serif);color:var(--nf-2)}
.nf-pl-add{height:52px;max-width:720px;margin:0 auto;padding:0 6px 0 12px;gap:12px;border-radius:999px;background:var(--nf-glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--nf-shadow)}
.nf-pl-add input{font-size:15px}
body.nook-v6 .nf-pl-add input:focus-visible{outline:none}
.nf-pl-add:focus-within{box-shadow:0 0 0 2px var(--nf-gold),var(--nf-shadow)}
.nf-pl-plus{width:28px;height:28px;border:1.5px dashed rgba(251,244,232,.45);border-radius:50%;display:grid;place-items:center;color:var(--nf-2);flex:none}
.nf-pl-plus .nf-i{width:14px;height:14px}
.nf-cat-chip{display:inline-flex;align-items:center;gap:6px;height:38px;max-width:190px;padding:0 12px 0 14px;border-radius:999px;background:var(--nf-fill);color:var(--nf-ink);font:500 13px var(--nf-sans);flex:none}
.nf-cat-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-cat-chip .nf-i{width:14px;height:14px}
.nf-cat-chip:hover{background:rgba(251,244,232,.14)}
.nf-pl-addbtn{height:40px;padding:0 16px;border-radius:999px;background:var(--nf-fill);color:var(--nf-ink);font:600 14px var(--nf-sans);white-space:nowrap;flex:none}
.nf-pl-addbtn:hover{background:rgba(251,244,232,.14)}
.nf-pl-hint{margin:14px 0 22px;text-align:center;font-size:12px;color:var(--nf-2)}
.nf-pl-card{position:relative;max-width:720px;margin:0 auto;padding:6px 4px;border-radius:24px;background:var(--nf-glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--nf-shadow)}
.nf-cat+.nf-cat{border-top:1px solid var(--nf-hair)}
.nf-cat-head{display:flex;align-items:center;gap:8px;min-height:52px;padding:0 12px 0 10px}
.nf-cat-chev{width:26px;height:26px;padding:0;border-radius:8px;color:var(--nf-2);display:grid;place-items:center;flex:none}
.nf-cat-chev:hover{background:var(--nf-fill)}
.nf-cat-chev .nf-i{width:15px;height:15px}
.nf-cat-name{padding:4px 2px;font:600 12px var(--nf-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--nf-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
.nf-cat-name:hover{color:var(--nf-ink)}
.nf-cat-input{height:30px;width:min(260px,50%);padding:0 10px;border:1px solid rgba(251,244,232,.18);border-radius:8px;background:rgba(251,244,232,.06);color:var(--nf-ink);font:600 12px var(--nf-sans);letter-spacing:.08em;text-transform:uppercase}
.nf-cat-meta{font-size:12px;color:var(--nf-3);white-space:nowrap}
.nf-cat-trash{margin-left:auto;opacity:0}
.nf-cat-head:hover .nf-cat-trash,.nf-cat-trash:focus-visible{opacity:1}
.nf-rows{list-style:none;margin:0;padding:0 0 8px}
.nf-row{position:relative;display:flex;align-items:center;min-height:40px;padding:0 12px 0 var(--indent);border-radius:12px}
.nf-row.is-sub{min-height:34px}
.nf-row:hover{background:rgba(251,244,232,.035)}
.nf-guide{position:absolute;top:0;bottom:0;width:1px;background:rgba(251,244,232,.09);pointer-events:none}
.nf-handle{width:24px;height:30px;padding:0;color:var(--nf-3);display:grid;place-items:center;flex:none;opacity:0;cursor:grab;touch-action:none;transition:opacity .15s}
.nf-handle .nf-i{width:15px;height:15px}
.nf-row:hover .nf-handle,.nf-handle:focus-visible{opacity:1}
body.nf-dragging,body.nf-dragging *{cursor:grabbing!important}
.nf-chev{width:20px;height:26px;padding:0;color:var(--nf-2);display:grid;place-items:center;flex:none;border-radius:6px}
.nf-chev .nf-i{width:14px;height:14px}
button.nf-chev:hover{background:var(--nf-fill)}
.nf-row .nf-check{margin:0 12px 0 4px}
.nf-row.is-sub .nf-check{margin:0 12px 0 5px}
.nf-title{flex:0 1 auto;min-width:0;padding:4px 0;text-align:left;font:400 17px/1.25 var(--nf-serif);color:var(--nf-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text}
.nf-row.is-sub .nf-title{font:400 13px/1.3 var(--nf-sans)}
.nf-row.is-done .nf-title{text-decoration:line-through;color:var(--nf-muted)}
.nf-title-input{flex:1 1 auto;min-width:0;height:32px;padding:0 8px;border:1px solid rgba(251,244,232,.2);border-radius:8px;background:rgba(251,244,232,.06);color:var(--nf-ink);font:400 16px var(--nf-serif)}
.nf-row.is-sub .nf-title-input{font:400 13px var(--nf-sans)}
.nf-row-tail{display:contents}
.nf-count{margin-left:12px;font-size:11px;color:var(--nf-3);white-space:nowrap}
.nf-row-acts{display:inline-flex;gap:2px;margin-left:8px;opacity:0;transition:opacity .15s ease}
.nf-row:hover .nf-row-acts,.nf-row:focus-within .nf-row-acts{opacity:1}
.nf-row-act{width:28px;height:28px;padding:0;border-radius:8px;color:var(--nf-3);display:grid;place-items:center}
.nf-row-act:hover{background:var(--nf-fill);color:var(--nf-ink)}
.nf-row-act .nf-i{width:16px;height:16px}
.nf-row .nf-chatpill{margin-left:8px}
.nf-timebtn{margin-left:auto;height:28px;padding:0 8px;border-radius:8px;color:var(--nf-2);font:400 14px var(--nf-sans);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-variant-numeric:tabular-nums;flex:none}
.nf-row.is-sub .nf-timebtn{font-size:13px}
.nf-timebtn.is-empty{color:var(--nf-3);font-size:12px}
.nf-timebtn:hover,.nf-timebtn[aria-expanded=true]{background:var(--nf-fill);color:var(--nf-ink)}
.nf-brk-glyph{width:16px;height:6px;fill:none;stroke-width:2.4;stroke-linecap:round}
.nf-row .nf-play{margin-left:10px}
.nf-row:hover .nf-play{opacity:1}
.nf-play-gap{visibility:hidden}
.nf-add-row{position:relative;display:flex;align-items:center;min-height:38px;padding:0 12px 0 var(--indent)}
.nf-add-row .nf-quick{flex:1;height:38px;padding-left:46px;gap:12px}
.nf-add-goal .nf-quick input::placeholder{color:var(--nf-2)}
.nf-drop-line{position:absolute;right:12px;height:2px;border-radius:2px;background:var(--nf-gold);pointer-events:none;z-index:2}
.nf-drop-line[hidden]{display:none}
.nf-row.is-dragging{opacity:.45}
.nf-pl-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:720px;margin:18px auto 0}
.nf-newcat{background:var(--nf-glass);font-size:14px}
.nf-newcat .nf-i{width:15px;height:15px}
.nf-pl-finished{font-size:13px;color:var(--nf-2)}

/* 9–10 · Popovers (time & breaks, linked chats, categories) and the link modal */
.nf-popover{position:fixed;z-index:70;overflow:auto;padding:16px;border-radius:18px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);font:13px/1.45 var(--nf-sans);animation:nf-in .15s ease;overscroll-behavior:contain}
.nf-pop-title{margin-bottom:8px;font-size:12px;color:var(--nf-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-tp-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;font-size:13px}
.nf-stepper{display:inline-flex;align-items:center;gap:6px}
.nf-stepper button{width:28px;height:28px;padding:0;border-radius:50%;background:var(--nf-fill);color:var(--nf-ink);display:grid;place-items:center}
.nf-stepper button:hover{background:rgba(251,244,232,.16)}
.nf-stepper button .nf-i{width:13px;height:13px}
.nf-stepper-val{min-width:54px;text-align:center;font-variant-numeric:tabular-nums}
.nf-tp-input{width:78px;height:32px;padding:0 6px;border:1px solid rgba(251,244,232,.14);border-radius:10px;background:rgba(251,244,232,.06);color:var(--nf-ink);font:500 13px var(--nf-sans);text-align:center}
.nf-tp-note{margin:0 0 4px;font-size:11px;color:var(--nf-3)}
.nf-tp-use{color:var(--nf-gold)}
.nf-tp-use:hover{color:var(--nf-gold-h)}
.nf-popover .nf-hair{margin:10px 0 4px}
.nf-tp-bar{margin-top:12px}
.nf-tp-plan{margin-top:8px;font-size:11px;color:var(--nf-2)}
.nf-tp-done{width:100%;height:36px;margin-top:14px}
.nf-pop-cats{padding:6px}
.nf-pop-cats button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:36px;padding:0 10px;border-radius:10px;color:var(--nf-ink);font:500 13px var(--nf-sans);text-align:left}
.nf-pop-cats button:hover,.nf-pop-cats button:focus-visible{background:var(--nf-fill)}
.nf-pop-cats button .nf-i{width:14px;height:14px;color:var(--nf-gold)}
.nf-pop-cats hr{border:0;height:1px;margin:6px 8px;background:var(--nf-hair)}
.nf-cc-head{margin-bottom:4px;font-size:12px;color:var(--nf-2)}
.nf-cc-chat{padding:12px 0;border-top:1px solid var(--nf-hair)}
.nf-cc-chat:first-of-type{border-top:0}
.nf-cc-top{display:flex;align-items:center;gap:8px}
.nf-cc-top .nf-i{width:16px;height:16px;color:var(--nf-3)}
.nf-cc-title{font:400 17px/1.25 var(--nf-serif);overflow-wrap:anywhere}
.nf-cc-status{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:12px;color:var(--nf-2)}
.nf-cc-when{font-size:11px;color:var(--nf-3)}
.nf-cc-q{margin-top:8px;padding:10px 12px;border:1px solid rgba(244,162,126,.28);border-radius:12px;background:rgba(244,162,126,.1);font-size:12px}
.nf-cc-sum{margin-top:6px;font-size:12px;color:var(--nf-2)}
.nf-cc-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:10px}
.nf-cc-acts .nf-btn .nf-i{width:12px;height:12px}
.nf-cc-link{width:100%;margin-top:6px}
.nf-cc-link .nf-i{width:13px;height:13px}
.nf-cc-foot{margin-top:10px;text-align:center;font-size:11px;color:var(--nf-3)}
.nf-modal-back{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:16px;background:rgba(16,10,6,.55);animation:nf-fade .15s ease}
.nf-modal{width:min(420px,100%);padding:24px;border-radius:24px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);animation:nf-in .18s ease}
.nf-modal h2{font:400 26px/1.2 var(--nf-serif)}
.nf-modal-sub{margin:4px 0 18px;font-size:12px;color:var(--nf-3)}
.nf-field{display:grid;gap:6px;margin-bottom:12px;font-size:12px;color:var(--nf-2)}
.nf-field small{color:var(--nf-3);font-size:11px}
.nf-field input{width:100%;height:40px;padding:0 12px;border:1px solid rgba(251,244,232,.14);border-radius:12px;background:rgba(251,244,232,.06);color:var(--nf-ink);font:14px var(--nf-sans)}
.nf-field input::placeholder{color:var(--nf-ph);opacity:1}
.nf-field-err{margin:-2px 0 10px;font-size:12px;color:var(--nf-coral)}
.nf-field-err[hidden]{display:none}
.nf-modal-acts{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}

@keyframes nf-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes nf-fade{from{opacity:0}}
@keyframes nf-pulse{0%,100%{box-shadow:0 0 0 0 rgba(242,196,109,.55)}50%{box-shadow:0 0 0 4px rgba(242,196,109,0)}}
@keyframes nf-eq{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}
.is-playing .nf-eq i{transform-origin:50% 100%}

/* 14 · Responsive */
@media(max-width:1099px){.nf-pop{width:270px}}
@media(hover:none){.nf-handle,.nf-row-acts,.nf-cat-trash{opacity:1}.nf-play{opacity:1}}
@media(max-width:759px){
 .nf-top{padding:16px 12px}
 .nf-logo{font-size:32px}
 .nf-pill{height:38px;padding:0 14px}
 .nf-side{left:12px;right:12px;width:auto}
 .nf-side:has(.nf-tasks){top:auto;bottom:84px}
 .nf-side:has(.nf-focus){top:72px}
 .nf-card{max-height:calc(100vh - 168px);max-height:calc(100dvh - 168px)}
 .nf-hero{top:clamp(84px,14vh,160px)}
 .nf-hero-line{font-size:17px}
 .nf-pl-head{padding:14px 12px 10px}
 .nf-pl-session-title{display:none}
 .nf-pl-body{padding:0 12px 64px}
 .nf-pl-add{padding-left:10px;gap:8px}
 .nf-cat-chip{max-width:110px;padding:0 10px}
 .nf-pl-addbtn{padding:0 12px}
 .nf-pl-hint{font-size:11px}
 .nf-pl-session{flex:none}
 .nf-row{flex-wrap:wrap;padding-right:8px;padding-bottom:4px}
 .nf-row .nf-title{flex:1 1 0}
 .nf-title-input{flex:1 1 0}
 .nf-row-tail{display:flex;flex-wrap:wrap;align-items:center;row-gap:2px;flex-basis:100%;min-width:0;padding-left:44px;margin-top:-4px}
 .nf-row-tail .nf-count,.nf-row-tail .nf-tag{margin-left:0;margin-right:10px}
 .nf-row-tail .nf-row-acts{margin-left:0}
 .nf-row-tail .nf-chatpill{margin-left:6px}
 .nf-toast{bottom:150px}
}
@media(max-width:520px){
 .nf-dock-item{padding:0 12px}
 .nf-dock-item[data-dock=sounds] .nf-dock-text,.nf-dock-item[data-dock=pad] .nf-dock-text{display:none}
 .nf-dock-item[data-dock=sounds] .nf-dock-ic,.nf-dock-item[data-dock=pad] .nf-dock-ic{display:grid}
 .nf-dock-ic .nf-i{width:19px;height:19px}
 .nf-dock-item[data-dock=ambience]{max-width:150px}
 .nf-pl-add .nf-cat-chip{display:none}
 .nf-pl-head .nf-brand{display:none}
 .nf-pl-session{padding-left:12px}
}
@media(max-height:719px){
 .nf-side{top:84px}
 .nf-card{max-height:calc(100vh - 164px);max-height:calc(100dvh - 164px)}
 .nf-tasks{padding:16px 18px 10px}
 .nf-focus-scroll{padding:16px 18px 6px}
 .nf-focus-foot{padding:10px 18px 12px}
 .nf-next-title{font-size:21px}
 .nf-focus-title{font-size:20px}
 .nf-timer{margin:6px 0 10px;font-size:clamp(40px,min(6vw,9vh),64px)}
 .nf-btn{height:34px}
 .nf-meta{display:none}
 .nf-actions{margin-top:12px}
 .nf-top{padding-top:18px;padding-bottom:18px}
}
@media(prefers-reduced-motion:reduce){
 body.nook-v6 .nf *,body.nook-v6 #nf-layer *,body.nook-v6 .nf-toast{animation:none!important;transition:none!important}
 .nf-veil{transition:none}
}

/* Focus Room v6 — one design everywhere: Your space, and the retained music, YouTube and Spotify windows and dialogs
   wear the same glass, type and controls as the room. The earlier tokens are remapped so leftovers follow too. */
body.nook-v6{--bg:#1b130c;--surface:#20170f;--panel:rgba(27,19,12,.92);--room-panel:rgba(27,19,12,.92);--border:rgba(251,244,232,.12);--text:#FBF4E8;--muted:#BFB1A0;--faint:#A89A88;--accent:#F2C46D;--accent-hover:#F6D188;--serif:'Newsreader',Georgia,'Times New Roman',serif;--sans:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.nook-v6 .skip-link{border-radius:999px;background:var(--nf-gold);color:var(--nf-on-gold);font:600 13px var(--nf-sans);padding:10px 18px}
.nf-space{width:min(440px,100%);max-height:calc(100dvh - 32px);overflow:auto}
.nf-space-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nf-space .nf-modal-sub{margin:4px 0 14px}
.nf-space-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--nf-hair)}
.nf-space-title{font-size:14px;color:var(--nf-ink)}
.nf-space-hint{margin-top:2px;font-size:12px;color:var(--nf-3)}
.nf-seg-pick{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--nf-fill);flex:none}
.nf-seg-pick button{height:28px;padding:0 12px;border-radius:999px;color:var(--nf-2);font:500 12px var(--nf-sans)}
.nf-seg-pick button[aria-checked=true]{background:var(--nf-gold);color:var(--nf-on-gold)}
.nf-space-vol{padding:14px 0;border-top:1px solid var(--nf-hair)}
.nf-space-acts{display:flex;flex-wrap:wrap;gap:10px;padding-top:14px;border-top:1px solid var(--nf-hair)}
.nf-space-acts .nf-btn{flex:1 1 auto}
.nf-space .nf-cc-foot{margin-top:14px}

body.nook-v6 :is(.music-window,.youtube-window,.spotify-window){position:fixed;z-index:46;left:clamp(14px,4vw,48px);right:auto;width:340px;max-width:calc(100vw - 24px);max-height:calc(100vh - 188px);max-height:calc(100dvh - 188px);padding:0;overflow:auto;border:0;border-radius:24px;background:var(--nf-popbg);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);font:13px/1.45 var(--nf-sans);animation:none;top:auto;bottom:82px;max-height:calc(100vh - 190px);max-height:calc(100dvh - 190px)}
body.nook-v6 :is(.youtube-window,.spotify-window){width:380px}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) .music-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 8px;border:0;background:none}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) h2{font:400 24px/1.2 var(--nf-serif);color:var(--nf-ink);letter-spacing:0}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) h3{font:400 17px/1.25 var(--nf-serif);color:var(--nf-ink)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) .music-heading p,body.nook-v6 :is(.youtube-help,.youtube-privacy p,.music-status,.music-artist,.music-time,.station-number,.youtube-result small,.youtube-saved-heading,.device-volume-note){color:var(--nf-3);font-family:var(--nf-sans)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) .icon-button{width:32px;height:32px;min-height:32px;border-radius:50%;background:var(--nf-fill);color:var(--nf-ink);font:400 18px/1 var(--nf-sans);display:inline-grid;place-items:center}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) .icon-button:hover{background:rgba(251,244,232,.16)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window)>:not(.music-heading){padding-left:20px;padding-right:20px}
body.nook-v6 .music-window .music-info{padding-bottom:18px}
body.nook-v6 :is(.music-sources,.music-tabs){display:flex;gap:2px;margin:6px 0 12px;padding:3px;border:0;border-radius:999px;background:var(--nf-fill)}
body.nook-v6 :is(.music-sources,.music-tabs) button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;min-height:32px;padding:0 10px;border:0;border-radius:999px;background:none;color:var(--nf-2);font:500 12px var(--nf-sans)}
body.nook-v6 :is(.music-sources,.music-tabs) button .icon{width:15px;height:15px;stroke-width:1.4}
body.nook-v6 :is(.music-sources,.music-tabs) button:is([aria-pressed=true],.active,[aria-selected=true]){background:var(--nf-gold);color:var(--nf-on-gold)}
body.nook-v6 .playlist-chooser summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:14px;background:rgba(251,244,232,.05);color:var(--nf-ink);font:500 13px var(--nf-sans);list-style:none;cursor:pointer}
body.nook-v6 .playlist-chooser summary::-webkit-details-marker{display:none}
body.nook-v6 .playlist-change{color:var(--nf-gold);font-size:12px}
body.nook-v6 .playlist-options{margin-top:6px;padding:6px;border-radius:14px;background:rgba(251,244,232,.04)}
body.nook-v6 .playlist-options button{display:flex;justify-content:space-between;width:100%;height:34px;padding:0 10px;border:0;border-radius:10px;background:none;color:var(--nf-ink);font:500 13px var(--nf-sans)}
body.nook-v6 .playlist-options button:hover,body.nook-v6 .playlist-options button[aria-pressed=true]{background:var(--nf-fill)}
body.nook-v6 .playlist-options small{color:var(--nf-3)}
body.nook-v6 .music-current{margin:14px 0 6px}
body.nook-v6 .music-track{font:italic 400 20px/1.25 var(--nf-serif);color:var(--nf-ink)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) input[type=range]{-webkit-appearance:none;appearance:none;height:6px;border:0;border-radius:999px;background:rgba(251,244,232,.16);accent-color:var(--nf-gold)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--nf-gold);box-shadow:0 0 0 3px rgba(242,196,109,.16)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--nf-gold)}
body.nook-v6 .music-window-simple .music-transport{display:flex;align-items:center;gap:8px}
body.nook-v6 .music-window-simple .music-transport .icon-button{width:32px;height:32px;min-height:32px;font-size:20px}
body.nook-v6 .music-window-simple .music-play-button{width:44px;height:44px;min-height:44px;border-radius:50%;background:var(--nf-gold);color:var(--nf-on-gold)}
body.nook-v6 .music-window-simple .music-volume{color:var(--nf-3)}
body.nook-v6 :is(.music-about,.youtube-privacy,.youtube-paste) summary{color:var(--nf-2);font:500 12px var(--nf-sans);cursor:pointer}
body.nook-v6 :is(.music-about,.youtube-privacy){margin-top:12px;padding-top:10px;border-top:1px solid var(--nf-hair)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window) a{color:var(--nf-gold)}
body.nook-v6 :is(.youtube-window,.spotify-window) :is(input[type=text],input[type=search],input[type=url],input:not([type])){height:38px;padding:0 12px;border:1px solid rgba(251,244,232,.14);border-radius:12px;background:rgba(251,244,232,.06);color:var(--nf-ink);font:13px var(--nf-sans)}
body.nook-v6 :is(.youtube-window,.spotify-window) input::placeholder{color:var(--nf-ph);opacity:1}
body.nook-v6 :is(.youtube-window,.spotify-window) input[type=checkbox]{width:17px;height:17px;border:1.5px solid var(--nf-2);border-radius:50%;background:transparent}
body.nook-v6 :is(.youtube-window,.spotify-window) input[type=checkbox]:checked{background:var(--nf-gold);border-color:var(--nf-gold)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window,#dialog) :is(.outline-button,.primary){height:36px;min-height:36px;padding:0 16px;border:0;border-radius:999px;font:600 13px var(--nf-sans)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window,#dialog) .outline-button{background:rgba(251,244,232,.1);color:var(--nf-ink)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window,#dialog) .primary{background:var(--nf-gold);color:var(--nf-on-gold)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window,#dialog) .text-button{color:var(--nf-2);font:500 12px var(--nf-sans)}
body.nook-v6 :is(.music-window,.youtube-window,.spotify-window,#dialog) .text-button:hover{color:var(--nf-ink)}
body.nook-v6 .station-grid{gap:8px}
body.nook-v6 .station-card{min-height:68px;padding:12px;border:0;border-radius:14px;background:rgba(251,244,232,.05);color:var(--nf-ink);font-family:var(--nf-sans)}
body.nook-v6 .station-card:hover,body.nook-v6 .station-card[aria-pressed=true]{background:rgba(242,196,109,.14)}
body.nook-v6 .station-name{font:400 15px/1.2 var(--nf-serif)}
body.nook-v6 :is(.youtube-result,.youtube-saved-use){border:0;border-radius:12px;background:rgba(251,244,232,.05);color:var(--nf-ink);font-family:var(--nf-sans)}
body.nook-v6 .youtube-video iframe{border-radius:14px;background:#140e09}
body.nook-v6 .youtube-footer{border:0;background:none}
body.nook-v6 #dialog{max-width:min(460px,calc(100vw - 32px));padding:0;border:0;border-radius:24px;background:var(--nf-popbg);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);font:13px/1.45 var(--nf-sans)}
body.nook-v6 #dialog::backdrop{background:rgba(16,10,6,.55)}
body.nook-v6 #dialog :is(h2,h3){font-family:var(--nf-serif);font-weight:400;color:var(--nf-ink)}
body.nook-v6 #dialog :is(p,.subtle){color:var(--nf-3)}
@media(max-width:759px){body.nook-v6 :is(.music-window,.youtube-window,.spotify-window){left:12px;right:12px;width:auto;max-height:calc(100dvh - 160px)}}

/* Focus Room v6 — dashboard: the line of rooms scrolls into the collection (room-transition.js), in the room's type and colour. */
body.nook-v6[data-view=dashboard]{overflow-x:hidden;overflow-y:auto}
.nf-dashroot{position:relative;color:var(--nf-ink)}
.nf-dashbar{position:fixed;top:0;left:0;right:0;z-index:30;pointer-events:none;transition:opacity .2s ease}
body.nf-planning .nf-dashbar{opacity:0}
body.nf-planning .nf-dashbar *{pointer-events:none!important}
.nf-dash .nf-bg{z-index:-2}
.nf-dash .nf-shade{z-index:-1;background:radial-gradient(ellipse 55% 42% at 50% 36%,rgba(16,10,6,.66),transparent),linear-gradient(180deg,rgba(16,10,6,.6) 0%,rgba(16,10,6,0) 28%,rgba(16,10,6,0) 58%,rgba(16,10,6,.72) 100%)}
.nf-dashroot.is-dim .nf-dash .nf-shade:after{content:'';position:absolute;inset:0;background:rgba(10,6,3,.35)}
.nf-dashroot[data-room=hearth] .nf-bg-img{object-position:100% center}
.morph-enabled .nf-hero{opacity:var(--morph-hero,1)}
body.nook-v6 .cs-room-strip{bottom:34px;gap:12px}
body.nook-v6 .cs-room-thumb{border:1px solid rgba(251,244,232,.16);border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.32);transition:border-color .2s,transform .2s var(--nf-ease)}
body.nook-v6 .cs-room-thumb:hover{border-color:rgba(251,244,232,.38);transform:translateY(-2px)}
body.nook-v6 .cs-room-thumb{transition:border-color .2s,height .28s var(--nf-ease),transform .2s var(--nf-ease),box-shadow .2s}
body.nook-v6 .cs-room-thumb.is-selected{border:2px solid var(--nf-gold)}
@media(min-width:601px){body.nook-v6 .cs-room-thumb.is-selected{flex:1;max-width:180px}}
body.nook-v6 .cs-room-thumb:after{background:linear-gradient(transparent 38%,rgba(16,10,6,.78))}
body.nook-v6 .cs-room-thumb>span{font:400 17px/1.2 var(--nf-serif);color:var(--nf-ink)}
body.nook-v6 .cs-room-thumb>small{padding:3px 9px;border-radius:999px;background:rgba(242,196,109,.92);color:var(--nf-on-gold);font:600 10px var(--nf-sans)}
body.nook-v6 .cs-all-rooms{border-radius:16px;color:var(--nf-ink)}
body.nook-v6 .cs-all-rooms strong{font:400 28px var(--nf-serif)}
body.nook-v6 .cs-all-rooms span{font:500 12px var(--nf-sans);color:var(--nf-2)}
body.nook-v6 .cs-all-rooms:hover strong{color:var(--nf-gold)}
body.nook-v6 .cs-browse-scroll{font:500 11px var(--nf-sans);color:var(--nf-2);text-shadow:0 1px 8px rgba(16,10,6,.7)}
body.nook-v6 .cs-rooms-below{background:#1b130c}
body.nook-v6 .morph-enabled .cs-rooms-below{background:transparent}
body.nook-v6 .morph-enabled .cs-rooms-below:before{background:#1b130c}
body.nook-v6 .cs-rooms-below .cs-catalog,body.nook-v6 .cs-catalog{padding-top:150px;background:radial-gradient(ellipse at 30% 0%,rgba(242,196,109,.07) 0%,transparent 55%)}
body.nook-v6 .cs-back-to-scene{top:100px;left:clamp(14px,4vw,48px);height:36px;min-height:36px;padding:0 14px;border-radius:999px;background:var(--nf-pillbg);color:var(--nf-ink);font:500 13px var(--nf-sans)}
body.nook-v6 .cs-back-to-scene:hover{background:rgba(36,26,17,.9)}
body.nook-v6 .cs-catalog h1{font:400 clamp(44px,5vw,72px)/1.05 var(--nf-serif);letter-spacing:-.025em;color:var(--nf-ink)}
body.nook-v6 .cs-catalog-intro>p{font:italic 400 19px/1.4 var(--nf-serif);color:var(--nf-2)}
body.nook-v6 .cs-search{min-height:48px;border-radius:999px;background:var(--nf-glass);color:var(--nf-3);box-shadow:var(--nf-shadow)}
body.nook-v6 .cs-search input{font:14px var(--nf-sans);color:var(--nf-ink)}
body.nook-v6 .cs-search input::placeholder{color:var(--nf-ph)}
body.nook-v6 .cs-search:focus-within{outline:2px solid var(--nf-gold);outline-offset:2px}
body.nook-v6 .cs-filters button{min-height:32px;padding:0 14px;border-radius:999px;background:var(--nf-fill);color:var(--nf-2);font:500 12px var(--nf-sans)}
body.nook-v6 .cs-filters button:hover{box-shadow:none;background:rgba(251,244,232,.14);color:var(--nf-ink)}
body.nook-v6 .cs-filters button[aria-pressed=true]{background:var(--nf-gold);color:var(--nf-on-gold)}
body.nook-v6 .cs-room-grid{gap:20px}
body.nook-v6 .cs-room-card{border:1px solid rgba(251,244,232,.12);border-radius:20px;background:var(--nf-glass);box-shadow:var(--nf-shadow)}
body.nook-v6 .cs-room-card.is-current{border:2px solid var(--nf-gold)}
body.nook-v6 .cs-card-actions{background:rgba(16,10,6,.42)}
body.nook-v6 .cs-card-actions>button{height:38px;min-height:38px;padding:0 16px;border:0;border-radius:999px;font:600 13px var(--nf-sans)}
body.nook-v6 .cs-card-actions>button:first-child{background:var(--nf-pillbg);color:var(--nf-ink)}
body.nook-v6 .cs-card-actions>.primary{background:var(--nf-gold);color:var(--nf-on-gold)}
body.nook-v6 .cs-favorite{background:var(--nf-pillbg);color:var(--nf-ink)}
body.nook-v6 .cs-favorite[aria-pressed=true]{color:var(--nf-gold)}
body.nook-v6 .cs-favorite[aria-pressed=true] .icon{fill:var(--nf-gold)}
body.nook-v6 .cs-current-label{padding:3px 9px;border-radius:999px;background:rgba(242,196,109,.92);color:var(--nf-on-gold);font:600 10px var(--nf-sans)}
body.nook-v6 .cs-card-caption{padding:14px 16px}
body.nook-v6 .cs-card-caption h2{font:400 20px/1.25 var(--nf-serif);color:var(--nf-ink)}
body.nook-v6 .cs-card-caption p{font:12px/1.4 var(--nf-sans);color:var(--nf-3)}
body.nook-v6 .cs-return{font:500 13px var(--nf-sans);color:var(--nf-2)}
body.nook-v6 .cs-no-results h2{font:400 30px var(--nf-serif)}
body.nook-v6 .cs-morph-card{border:1px solid rgba(251,244,232,.16);border-radius:16px;background:#2a1f15}
body.nook-v6 .cs-morph-card.is-current{border:2px solid var(--nf-gold)}
body.nook-v6 .cs-morph-title{font-family:var(--nf-serif);color:var(--nf-ink)}
body.nook-v6 #dialog .cs-preview-art>img{border-radius:24px 24px 0 0}
body.nook-v6 #dialog .cs-preview-art>button{background:var(--nf-pillbg);color:var(--nf-ink)}
body.nook-v6 #dialog .cs-preview-copy{padding:22px 24px 24px}
body.nook-v6 #dialog .cs-preview-copy h2{font:400 30px/1.15 var(--nf-serif)}
body.nook-v6 #dialog .cs-preview-copy p{color:var(--nf-2)}

/* The room card can be tucked away into a small pill and brought back. */
.nf-head-right{display:flex;align-items:center;gap:6px;flex:none}
.nf-min{width:28px;height:28px;padding:0;border-radius:50%;color:var(--nf-3);display:grid;place-items:center;flex:none}
.nf-min:hover{background:var(--nf-fill);color:var(--nf-ink)}
.nf-min .nf-i{width:15px;height:15px}
.nf-side.is-min{width:auto;align-items:flex-end}
.nf-restore{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 16px;border-radius:999px;background:var(--nf-glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--nf-shadow);color:var(--nf-ink);font:500 13px var(--nf-sans);font-variant-numeric:tabular-nums;white-space:nowrap;animation:nf-in .18s ease}
.nf-restore:hover{background:rgba(36,26,17,.9)}
.nf-restore .nf-dot{color:var(--nf-gold)}
.nf-restore.is-break .nf-dot{color:var(--nf-green)}
.nf-restore.is-paused .nf-dot{opacity:.45}
.nf-restore .nf-i{width:14px;height:14px;color:var(--nf-2)}

/* Eye: everything hides except time — the current phase's time left, or a clock counting up from zero. */
.nf-solo{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:7;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 20px 8px;border-radius:24px;background:transparent;color:var(--nf-ink);cursor:pointer}
.nf-solo[hidden]{display:none}
.nf-solo-time{font:300 clamp(48px,6.5vw,80px)/1 var(--nf-serif);font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum","lnum";letter-spacing:-.03em;text-shadow:0 2px 28px rgba(16,10,6,.6);transition:color .4s ease}
.nf-solo.is-break .nf-solo-time{color:var(--nf-green-t)}
.nf-solo.is-paused .nf-solo-time{opacity:.7}
.nf-solo-hint{font:500 12px var(--nf-sans);color:var(--nf-2);opacity:0;transition:opacity .15s ease;text-shadow:0 1px 10px rgba(16,10,6,.7)}
.nf-solo:hover .nf-solo-hint,.nf-solo:focus-visible .nf-solo-hint{opacity:1}
@media(max-width:759px){
 .nf-side.is-min{left:auto;right:12px;top:72px;bottom:auto}
 body.nook-v6 .cs-back-to-scene{top:76px}
 body.nook-v6 .cs-rooms-below .cs-catalog,body.nook-v6 .cs-catalog{padding-top:126px}
}

/* Today card: the list leads. Plan my day is the big way in only while nothing is planned. */
.nf-plan-mini{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 11px;border-radius:999px;background:var(--nf-fill);color:var(--nf-ink);font:500 12px var(--nf-sans);white-space:nowrap;flex:none}
.nf-plan-mini:hover{background:rgba(251,244,232,.16)}
.nf-plan-mini .nf-i{width:12px;height:12px}
.nf-plan-big{flex:1}
.nf-session-bar{display:flex;align-items:center;gap:7px;width:100%;height:34px;margin-top:12px;padding:0 10px 0 12px;border-radius:12px;font-size:12px}
.nf-session-bar-title{flex:1;min-width:0;margin-left:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;color:var(--nf-2);font-weight:500}
.nf-session-bar .nf-i{width:14px;height:14px}

/* Dock cards: an expand toggle on each, and a clear way to music. */
.nf-pop-tools{display:flex;align-items:center;gap:8px;flex:none}
.nf-expand{width:28px;height:28px;padding:0;border-radius:50%;background:var(--nf-fill);color:var(--nf-2);display:grid;place-items:center;flex:none}
.nf-expand:hover{background:rgba(251,244,232,.16);color:var(--nf-ink)}
.nf-expand .nf-i{width:14px;height:14px}
.nf-pop[data-kind=ambience] .nf-pop-head{margin-bottom:0}
.nf-music{margin-top:14px;padding:12px;border-radius:14px;background:rgba(251,244,232,.05)}
.nf-music-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.nf-music-label{display:inline-flex;align-items:center;gap:6px;font:500 13px var(--nf-sans);color:var(--nf-ink)}
.nf-music-label .nf-i{width:15px;height:15px;color:var(--nf-gold)}
.nf-music-now{min-width:0;font:italic 400 14px/1.2 var(--nf-serif);color:var(--nf-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nf-music-src{display:flex;gap:6px}
.nf-music-src button{flex:1;height:30px;padding:0 8px;border-radius:999px;background:var(--nf-fill);color:var(--nf-ink);font:500 12px var(--nf-sans);white-space:nowrap}
.nf-music-src button:hover{background:rgba(242,196,109,.18);color:var(--nf-gold-h)}
.nf-pad-more{margin-top:8px}

/* Expanded panels (full mixer, full pad) share the music player's place and glass. */
.nf-panel{position:fixed;z-index:46;top:auto;bottom:82px;left:clamp(14px,4vw,48px);width:360px;max-width:calc(100vw - 24px);max-height:calc(100vh - 190px);max-height:calc(100dvh - 190px);overflow:auto;overscroll-behavior:contain;padding:18px 20px 20px;border-radius:24px;background:var(--nf-popbg);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--nf-pop-shadow);color:var(--nf-ink);will-change:clip-path}
.nf-panel[hidden]{display:none}
.nf-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nf-panel-head h2{font:400 24px/1.2 var(--nf-serif)}
.nf-panel-sub{margin:4px 0 6px;font-size:12px;color:var(--nf-3)}
.nf-panel-sec{padding:12px 0 4px;border-top:1px solid var(--nf-hair);margin-top:10px}
.nf-panel-sec .nf-space-row{border-top:0;padding-top:4px}
.nf-panel-label{margin-bottom:4px;font:600 11px var(--nf-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--nf-2)}
.nf-panel-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.nf-panel-acts .nf-btn .nf-i{width:14px;height:14px}
.nf-panel-count{font-size:12px;color:var(--nf-3)}
.nf-notes-full{max-height:none}
@media(max-width:759px){.nf-panel{left:12px;right:12px;width:auto;max-height:calc(100dvh - 160px)}}

.nf-dashbar:before{content:'';position:absolute;top:0;left:0;right:0;height:110px;background:linear-gradient(180deg,rgba(27,19,12,.94) 35%,rgba(27,19,12,0));opacity:0;transition:opacity .25s ease;pointer-events:none}
.nf-dashbar.is-scrolled:before{opacity:1}

/* Expanded dock cards sit above the dock; the toast moves to the top so it never covers them. */
body.nf-expanded .nf-toast{top:22px;bottom:auto;transform:translate(-50%,-8px)}
body.nf-expanded .nf-toast.is-on{transform:translate(-50%,0)}

.nf-pop-label{margin:12px 0 2px;padding-top:10px;border-top:1px solid var(--nf-hair);font:600 11px var(--nf-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--nf-2)}
