@charset "UTF-8";
:root{color-scheme:light;--ink:#253c39;--muted:#6f7c73;--cream:#f6f3eb;--line:#e1e4da;--accent:#31544b;font-family:"Segoe UI",Arial,sans-serif;font-synthesis:none;font-weight:400}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--cream);color:var(--ink)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{touch-action:manipulation}button:disabled{cursor:default;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d2b987;outline-offset:5px}svg{height:22px;width:22px;flex-shrink:0;vertical-align:middle}button{color:inherit}button svg{pointer-events:none}input[type=number]{font-variant-numeric:tabular-nums}.skip-link{position:fixed;top:8px;left:8px;z-index:20;padding:12px;background:var(--cream);color:var(--ink);transform:translateY(-180%)}.skip-link:focus{transform:none}.focus-room{position:relative;min-height:850px;height:100svh;max-height:1300px;color:#f6f4ed;isolation:isolate;overflow:hidden;background:#142736;--room-text:#f6f4ed;--room-soft:rgba(255,255,255,.68);--room-panel:rgba(255,255,255,.055);--room-border:rgba(255,255,255,.18)}.scene-backdrop,.scene-shade{position:absolute;inset:0;z-index:-2;pointer-events:none}.scene-backdrop{background:#142736 url('/assets/pomodoro-rainy-trail-poster.webp') center/cover no-repeat;transition:filter .5s,background-color .5s}.scene-shade{z-index:-1;background:linear-gradient(180deg,rgba(8,19,28,.35),rgba(8,20,29,.12) 26%,rgba(8,20,29,.23) 65%,rgba(8,19,28,.67))}.room-header{height:112px;display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;gap:24px}.brand{display:flex;align-items:center;text-decoration:none;gap:10px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border:1px solid var(--room-border);border-radius:50%}.brand-mark svg{width:24px;height:24px}.brand strong{font-size:27px;letter-spacing:-1.2px;font-weight:600}.brand-dot{color:#d3bc91}.brand-divider{height:24px;width:1px;background:var(--room-border);margin:0 8px}.room-name{font-size:10px;letter-spacing:2.4px;font-weight:500;color:var(--room-soft)}.header-right{display:flex;align-items:center;gap:30px}.guide-link{font-size:12px;text-decoration:none;display:flex;align-items:center;gap:10px;opacity:.88}.guide-link svg{width:14px;height:14px}.languages{display:flex;align-items:center;gap:14px}.languages a{font-size:11px;text-decoration:none;opacity:.56;letter-spacing:.4px}.languages a[aria-current=page]{opacity:1;text-decoration:underline;text-underline-offset:6px}.icon-button{width:42px;height:42px;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:inherit;transition:background .2s,border-color .2s}.icon-button:hover{border-color:var(--room-border);background:var(--room-panel)}.timer-center{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);width:min(740px,92%);text-align:center}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:600;margin:0 0 12px}.room-eyebrow{font-size:9px;color:#d6c4a5;letter-spacing:2.6px;margin-bottom:13px}.timer-center h1{font-size:13px;font-weight:400;letter-spacing:.6px;margin:0;color:var(--room-soft)}.room-headline{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1px;font-size:46px;line-height:1.2;margin:16px 0 10px}.room-subtitle{font-size:12px;letter-spacing:.2px;line-height:1.8;color:var(--room-soft);margin:0 0 31px}.mode-tabs{display:inline-flex;gap:4px;padding:5px;border:1px solid var(--room-border);border-radius:40px;background:rgba(10,20,28,.12);backdrop-filter:blur(14px)}.mode-tabs button{border:none;border-radius:30px;background:transparent;padding:10px 20px;font-size:12px;color:var(--room-soft);white-space:nowrap;transition:color .2s,background .2s}.mode-tabs button[aria-pressed=true]{background:#f2efe5;color:#243c39;box-shadow:0 1px 10px #08172115}.mode-tabs button:hover{color:var(--room-text)}.mode-tabs button[aria-pressed=true]:hover{color:#243c39}.time{font-family:"Segoe UI",Arial,sans-serif;font-size:clamp(104px,11vw,174px);font-weight:300;letter-spacing:-9px;line-height:1.2;font-variant-numeric:tabular-nums;margin:8px 0 6px;font-feature-settings:"tnum";text-shadow:0 3px 25px #0a192333}.session-line{display:flex;justify-content:center;align-items:center;gap:9px;font-size:11px;letter-spacing:.2px;color:var(--room-soft)}.status-dot{height:5px;width:5px;background:#c9d5a7;border-radius:50%}.timer-actions{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:27px}.start-button{height:51px;min-width:170px;border:1px solid #f5efe2;border-radius:32px;background:#f5efe2;color:#2c4039;font-size:13px;letter-spacing:.25px;box-shadow:0 5px 20px #06111b12;padding:0 28px;transition:transform .2s,background .2s}.start-button:hover{background:white;transform:translateY(-2px)}.timer-actions .icon-button{color:var(--room-soft)}.session-progress{height:2px;background:rgba(255,255,255,.13);border-radius:4px;width:168px;margin:25px auto 0;overflow:hidden}.session-progress span{display:block;width:var(--progress);max-width:100%;height:100%;background:#d3c39e;transition:width .2s}.room-bottom{position:absolute;bottom:74px;left:4.2%;right:4.2%;display:flex;align-items:center;justify-content:space-between;gap:20px}.atmosphere-controls,.focus-controls{display:flex;align-items:center;gap:14px}.scene-button{display:flex;align-items:center;gap:12px;text-align:left;padding:6px 12px 6px 6px;min-height:58px;border:1px solid var(--room-border);background:rgba(12,24,32,.22);backdrop-filter:blur(14px);color:inherit;border-radius:12px}.scene-button strong{display:block;font-size:12px;font-weight:500;margin:0 0 4px}.scene-button small{display:block;color:var(--room-soft);font-size:10px}.scene-button>svg{margin-left:8px;width:15px}.scene-thumb{height:42px;width:58px;border-radius:7px;background:url('/assets/pomodoro-rainy-trail-thumb.webp') center/cover;flex-shrink:0}.dock-button{display:flex;align-items:center;gap:9px;border:1px solid var(--room-border);background:rgba(12,24,32,.18);backdrop-filter:blur(14px);border-radius:50px;color:var(--room-text);padding:11px 16px;font-size:11px;min-height:43px}.dock-button svg{width:17px;height:17px}.dock-button:hover,.scene-button:hover{background:rgba(255,255,255,.13)}.room-footnote{position:absolute;bottom:22px;left:4.2%;font-size:9px;letter-spacing:1px;color:var(--room-soft);opacity:.7}.noscript{position:absolute;bottom:0;left:0;right:0;text-align:center;background:#192c39;margin:0;padding:12px}.notice{position:fixed;z-index:40;bottom:25px;left:50%;transform:translateX(-50%);border-radius:13px;background:#f7f3e8;color:#29443d;box-shadow:0 5px 25px #14273633;padding:14px 24px;max-width:min(90vw,640px);font-size:13px;pointer-events:none}.notice:empty{display:none}body[data-scene=paper] .scene-backdrop{background-image:radial-gradient(ellipse at 75% 5%,#e9d9bf80,transparent 50%),radial-gradient(ellipse at 5% 90%,#b9c7ae44,transparent 55%),linear-gradient(120deg,#f5f0e6,#e7e5d7)}body[data-scene=original] .scene-backdrop{background-image:url('/assets/pomodoro-original.webp')}
/* Reading space. */
.guide-section{max-width:1180px;margin:auto;padding:100px 36px 80px}.guide-intro{max-width:680px;margin-bottom:44px}.guide-intro>.eyebrow{color:#71816a}.guide-intro h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(29px,4vw,47px);line-height:1.18;letter-spacing:-1.1px;font-weight:400;margin:15px 0 20px}.guide-intro>p:last-child{font-size:16px;line-height:1.8;color:var(--muted);max-width:550px}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;border-block:1px solid var(--line);padding:30px 0 35px;margin-bottom:60px}.feature-row svg{height:22px;width:22px;color:#6a8062}.feature-row h3{font-size:14px;font-weight:600;margin:13px 0 9px}.feature-row p{font-size:13px;line-height:1.8;margin:0;color:var(--muted)}.guide-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:60px;align-items:start}.guide-toc{position:sticky;top:30px;max-height:calc(100vh - 60px);overflow:auto;scrollbar-width:thin;padding-right:12px}.guide-toc>.eyebrow{font-size:9px;color:var(--muted)}.guide-toc nav{display:grid;gap:0;border-left:1px solid #d2dacb}.guide-toc nav a{font-size:11px;line-height:1.55;padding:9px 0 9px 15px;text-decoration:none;color:#6a776b}.guide-toc nav a:hover{color:#243c39}.back-to-timer{display:block;font-size:12px;margin:24px 0;text-underline-offset:5px}.guide-content{min-width:0;font-size:15px;line-height:1.9;color:#4c5b51;overflow-wrap:anywhere}.guide-content p{margin:15px 0 21px}.guide-content h2{font-family:Georgia,"Times New Roman",serif;font-size:30px;line-height:1.3;letter-spacing:-.4px;color:var(--ink);font-weight:400;margin:43px 0 20px}.guide-content h3{color:var(--ink);font-size:20px;font-weight:500;line-height:1.4;margin:35px 0 16px}.guide-content h4{font-size:16px;color:var(--ink)}.guide-content ul,.guide-content ol{padding-left:22px;margin:18px 0 25px}.guide-content li{padding-left:3px;margin:10px 0}.guide-content li p{margin:7px 0}.guide-content a{color:#315b4d;text-decoration-thickness:1px;text-underline-offset:3px}.guide-content figure{margin:30px 0}.guide-content img{display:block;max-width:100%;height:auto;border-radius:15px}.guide-content figcaption{font-size:11px;line-height:1.7;color:#71816d;margin:10px 0}.guide-content table{display:block;overflow-x:auto;width:100%;border-collapse:collapse;font-size:13px;margin:26px 0}.guide-content td,.guide-content th{border:1px solid #d8dfd2;padding:13px;text-align:left;min-width:100px}.guide-content th{background:#e8eddf;color:var(--ink);font-weight:600}.guide-content summary{cursor:pointer;color:var(--ink);font-weight:500;padding:17px 0}.guide-content details{border-bottom:1px solid var(--line)}.guide-content details p{margin-top:0}.guide-content blockquote,.guide-content .callout,.guide-content .ep-tool-guide-example,.guide-content .practical-note{border-left:3px solid #a4b393;background:#e9edde;padding:15px 22px;margin:25px 0;border-radius:0 9px 9px 0}.guide-content .art-source-list{list-style:none;padding:0}.guide-content .art-source-list a{display:grid;gap:5px;font-size:12px}.guide-content .art-source-domain{display:none}.guide-content .ep-content-image{margin:25px 0}.site-footer{max-width:1180px;margin:auto;border-top:1px solid var(--line);padding:35px 36px 45px;display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-brand{font-size:23px;letter-spacing:-.8px;font-weight:600;text-decoration:none}.site-footer p{font-size:11px;color:var(--muted)}.site-footer>nav:not(.languages){display:flex;flex-wrap:wrap;gap:18px;font-size:11px}.site-footer>nav a{text-decoration:none}
/* Dialogs. */
.panel{color:var(--ink);width:min(570px,calc(100vw - 30px));max-height:calc(100svh - 40px);border:1px solid #f9f7ef;border-radius:23px;background:#f8f6ef;padding:30px;box-shadow:0 30px 100px #0005;overscroll-behavior:contain;scrollbar-width:thin}.panel::backdrop{background:#081c2c88;backdrop-filter:blur(8px)}.panel-heading{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:25px}.panel-heading .eyebrow{font-size:8px;color:#899078;letter-spacing:1.7px}.panel-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:400;letter-spacing:-.6px;line-height:1.25;margin:0 0 9px}.panel-heading p:last-child{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.close-button{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:transparent;flex-shrink:0}.close-button svg{width:16px;height:16px}.field-caption,.panel legend{font-size:11px;color:var(--muted);margin:0 0 10px}.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:22px}.presets button{border:1px solid #dce1d3;border-radius:12px;padding:12px 5px;background:#fff8}.presets button:hover,.presets button[aria-pressed=true]{border-color:#71816a;background:#edf0e5}.presets strong{font-size:17px;display:block;font-weight:500}.presets span{display:block;font-size:9px;color:var(--muted);margin-top:3px}.panel fieldset{padding:0;border:0;margin:0 0 19px}.duration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.duration-grid label{font-size:10px;color:var(--muted)}.duration-grid input{display:block;width:100%;font-size:21px;font-weight:400;padding:10px 13px;border:1px solid #dce1d3;border-radius:9px;background:#fff9;color:var(--ink);margin-top:8px}.cycle-setting{display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:11px;margin:5px 0 18px;line-height:1.6}.cycle-setting input{width:60px;border:1px solid #dce1d3;border-radius:8px;background:#fff9;padding:8px;color:var(--ink)}.toggle-list{border-block:1px solid var(--line);margin-bottom:14px}.toggle-list label{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:15px;padding:13px 0}.toggle-list input{appearance:none;width:34px;height:20px;flex-shrink:0;border:0;border-radius:20px;background:#d9ded0;position:relative;cursor:pointer;margin:0}.toggle-list input:after{content:"";display:block;background:white;height:14px;width:14px;position:absolute;top:3px;left:3px;border-radius:50%;box-shadow:0 1px 3px #0001;transition:transform .15s}.toggle-list input:checked{background:#53725e}.toggle-list input:checked:after{transform:translateX(14px)}.text-button{border:0;background:transparent;padding:4px 0;font-size:11px;color:#4f6d5a;text-decoration:underline;text-underline-offset:4px;text-align:left}.text-button:hover{color:#1e4937}.setting-tools{display:flex;justify-content:space-between;align-items:center;gap:15px}.setting-tools>span{font-size:10px;color:var(--muted)}.notification-button{margin-top:15px}.fine-print{font-size:10px;color:var(--muted);line-height:1.75;margin:12px 0 0}.solid-button{background:#34574a;border:1px solid #34574a;border-radius:9px;color:#fff9ed;font-size:12px;padding:12px 20px}.solid-button:hover{background:#244b3d}.save-button{width:100%;margin-top:20px;padding:14px}.scene-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.scene-option{border:1px solid #dce1d3;border-radius:12px;overflow:hidden;padding:0 0 12px;text-align:left;background:#fff7;position:relative;font-size:11px}.scene-option>span:nth-child(2){margin:0 12px}.scene-preview{height:106px;display:block;margin-bottom:11px;background:#13273a}.preview-paper{background:radial-gradient(ellipse at 75% 5%,#e9d9bf80,transparent 50%),linear-gradient(120deg,#f5f0e6,#e7e5d7)}.preview-original{background:url('/assets/pomodoro-original.webp') center/cover}.selection-dot{display:block;width:13px;height:13px;border:1px solid #cbd3c3;border-radius:50%;flex-shrink:0}.scene-option>.selection-dot{position:absolute;bottom:13px;right:12px}.scene-option[aria-pressed=true],.sound-option[aria-pressed=true]{border-color:#7a9275;background:#eaf0e1}.scene-option[aria-pressed=true] .selection-dot,.sound-option[aria-pressed=true] .selection-dot{background:#64845f;border-color:#64845f;box-shadow:inset 0 0 0 3px #f1f5e9}.sound-options{display:grid;gap:10px}.sound-option{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:#fff7;border-radius:12px;padding:14px;text-align:left}.sound-option>span:nth-child(2){flex:1}.sound-option strong{font-size:12px;font-weight:500;display:block}.sound-option small{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.5}.sound-icon{width:35px;height:35px;background:#e9edde;border-radius:10px;display:grid;place-items:center;color:#6c8264}.sound-icon svg{width:19px;height:19px}.volume-label{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;font-size:12px}.volume-label input{width:65%;accent-color:#67835e;cursor:pointer}.today-summary{display:flex;gap:30px;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:23px}.today-summary>div{display:flex;align-items:baseline;gap:8px}.today-summary strong{font-size:30px;font-weight:400;font-variant-numeric:tabular-nums}.today-summary span{font-size:10px;color:var(--muted)}.panel h3{font-size:12px;font-weight:500;margin:24px 0 13px}.task-form{display:flex;gap:8px}.task-form input{min-width:0;flex:1;padding:12px;font-size:11px;border:1px solid var(--line);border-radius:9px;background:#fffa;color:var(--ink)}.task-form .solid-button{padding:10px 16px;font-size:11px}.task-list{list-style:none;padding:0;margin:14px 0;max-height:250px;overflow:auto;scrollbar-width:thin}.task-item{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:11px;margin:8px 0;font-size:12px;background:#fff5}.task-item.is-current{border-color:#86a078;background:#eaf0e1}.task-item input{accent-color:#597c5b}.task-title{flex:1;text-align:left;border:0;background:transparent;font-size:12px;line-height:1.6;overflow-wrap:anywhere;padding:2px}.task-item label{display:flex;align-items:center;gap:10px;flex:1}.task-item.is-done .task-title{text-decoration:line-through;color:#8b9685}.task-delete{border:0;background:transparent;font-size:18px;color:#8f9c8c;padding:0 4px;line-height:1}.list-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:12px 0}.list-tools>span{font-size:10px;color:var(--muted)}.day-strip{display:flex;align-items:end;gap:10px;height:117px;border-bottom:1px solid var(--line);padding:12px 2px 0}.day-strip>*{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:4px}.day-bar{display:block;min-height:3px;max-height:70px;width:100%;border-radius:4px 4px 0 0;background:#9db28d}.day-label{font-size:9px;color:var(--muted)}.day-value{font-size:9px;color:#668057}.completion-symbol{margin:15px auto;height:70px;width:70px;background:#e7edda;color:#7a9164;border-radius:50%;display:grid;place-items:center}.completion-symbol svg{height:33px;width:33px}#completion-dialog{text-align:center}#completion-dialog h3{font-family:Georgia,serif;font-size:24px;font-weight:400}#completion-dialog [data-completion-text]{font-size:13px;line-height:1.7;color:var(--muted)}
/* A deliberately sparse view, with its exit always visible. */
body.is-zen .focus-room{height:100svh;min-height:620px;max-height:none}body.is-zen .room-header,body.is-zen .atmosphere-controls,body.is-zen .progress-button,body.is-zen .room-footnote,body.is-zen .guide-section,body.is-zen .site-footer,body.is-zen .room-eyebrow,body.is-zen .room-headline,body.is-zen .room-subtitle,body.is-zen #page-title{display:none}body.is-zen .timer-center{top:48%}body.is-zen .time{font-size:clamp(120px,17vw,220px)}body.is-zen .room-bottom{justify-content:flex-end;bottom:30px}
@media(min-width:1600px){.room-header{height:125px}.timer-center{top:48%}.room-headline{font-size:51px}.room-subtitle{margin-bottom:36px}.time{font-size:180px;margin-top:12px}.timer-actions{margin-top:31px}.room-bottom{bottom:86px}}
@media(max-height:850px) and (min-width:761px){.focus-room{min-height:700px}.room-header{height:90px}.timer-center{top:48%}.room-headline{font-size:38px;margin-top:11px}.room-subtitle{margin-bottom:20px}.time{font-size:135px;margin-top:3px}.mode-tabs button{padding:9px 18px}.timer-actions{margin-top:22px}.session-progress{margin-top:20px}.room-bottom{bottom:57px}.room-footnote{bottom:17px}}
@media(max-width:1100px){.room-name,.brand-divider{display:none}.header-right{gap:20px}.room-bottom{gap:12px}.guide-layout{grid-template-columns:180px minmax(0,1fr);gap:35px}.scene-button small{display:none}.scene-button{min-height:50px}.scene-thumb{height:35px;width:45px}.dock-button{padding:11px 13px}.feature-row{gap:25px}.site-footer{flex-wrap:wrap}.site-footer>nav:not(.languages){max-width:420px}}
@media(max-width:760px){.focus-room{height:100svh;min-height:760px;max-height:1100px}.room-header{height:86px;padding-inline:6%;gap:10px}.brand-mark{width:31px;height:31px}.brand strong{font-size:24px}.brand{gap:7px}.guide-link{display:none}.header-right{gap:10px}.languages{gap:11px}.languages a{font-size:10px}.room-header .icon-button{width:30px;height:30px}.room-header .icon-button svg{height:18px;width:18px}.timer-center{top:47%;width:90%}.room-eyebrow{font-size:8px;letter-spacing:1.8px}.timer-center h1{font-size:11px;letter-spacing:.2px}.room-headline{font-size:37px;letter-spacing:-.9px;margin-top:17px}.room-subtitle{font-size:11px;max-width:290px;margin:12px auto 26px}.mode-tabs{gap:1px;padding:4px}.mode-tabs button{font-size:11px;padding:10px 14px}.time{font-size:clamp(105px,23vw,155px);letter-spacing:-6px;margin:15px 0 9px}.session-line{font-size:10px;gap:7px}.timer-actions{gap:10px;margin-top:25px}.start-button{height:50px;min-width:145px;padding-inline:20px}.timer-actions .icon-button{width:34px;height:34px}.timer-actions .icon-button svg{width:19px;height:19px}.session-progress{margin-top:24px;width:145px}.room-bottom{left:6%;right:6%;bottom:51px;gap:10px}.atmosphere-controls{gap:9px}.scene-button{padding:5px 9px 5px 5px;gap:8px;min-height:43px;border-radius:10px}.scene-thumb{height:31px;width:38px}.scene-button strong{font-size:10px;margin:0}.scene-button>svg{width:11px;margin-left:0}.dock-button{padding:11px;gap:0;min-height:41px}.dock-button svg{width:17px;height:17px}.dock-button>span{display:none}.focus-controls{gap:6px}.focus-controls .icon-button{width:35px;height:35px}.room-footnote{bottom:17px;left:6%;font-size:8px}.guide-section{padding:65px 24px 45px}.guide-intro{margin-bottom:27px}.guide-intro h2{font-size:35px}.guide-intro>p:last-child{font-size:14px}.feature-row{grid-template-columns:1fr;gap:21px;padding:27px 0;margin-bottom:35px}.feature-row>div{display:grid;grid-template-columns:25px 1fr;column-gap:13px}.feature-row svg{grid-column:1;grid-row:1/3;width:20px}.feature-row h3{margin:0 0 5px;font-size:13px}.feature-row p{grid-column:2;font-size:12px}.guide-layout{display:block}.guide-toc{position:static;max-height:210px;margin-bottom:35px;background:#edf0e5;padding:18px;border-radius:10px;overflow:auto}.guide-toc nav{display:grid;grid-template-columns:1fr 1fr;border-left:0;gap:0 15px}.guide-toc nav a{padding:7px 0;font-size:10px}.back-to-timer{display:none}.guide-content{font-size:14px;line-height:1.9}.guide-content h2{font-size:27px;margin-top:35px}.guide-content h3{font-size:19px}.site-footer{padding:28px 24px 35px;gap:20px}.site-footer>div{width:100%}.site-footer>nav:not(.languages){font-size:10px;gap:15px}.site-footer .languages{margin-top:5px}.panel{padding:24px 20px;max-height:calc(100svh - 26px);border-radius:18px}.panel-heading h2{font-size:26px}.scene-preview{height:90px}.scene-grid{gap:11px}.scene-option{font-size:10px}.scene-option>span:nth-child(2){margin-inline:10px}.scene-option>.selection-dot{right:10px}.today-summary{gap:25px}.task-form .solid-button{padding:10px 12px}.duration-grid{gap:8px}.duration-grid input{padding:9px 10px}.panel-heading{gap:10px}.today-summary strong{font-size:26px}}
@media(max-width:360px){.room-header{padding-inline:5%}.brand-mark{display:none}.mode-tabs button{font-size:10px;padding:10px 11px}.room-headline{font-size:32px}.timer-actions{gap:7px}.time{font-size:102px}.start-button{min-width:130px}.scene-button strong{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.start-button:hover{transform:none}}
@media print{.focus-room,.panel,.guide-toc,.site-footer,.notice,.feature-row{display:none!important}.guide-section{padding:0;max-width:none}.guide-layout{display:block}.guide-content{font-size:11pt}.guide-content img{max-height:250px}.guide-content details>div,.guide-content details>p{display:block}}

.notice{opacity:0;visibility:hidden;transition:opacity .2s}.notice.is-visible{opacity:1;visibility:visible}body[data-scene=paper] .scene-thumb{background-image:linear-gradient(120deg,#e6dbbb,#bfcbb3)}body[data-scene=original] .scene-thumb{background-image:url("/assets/pomodoro-original.webp")}
.task-empty{font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0}.task-delete{min-height:26px;min-width:26px}

body[data-long-time=true] .time{font-size:clamp(95px,9vw,150px);letter-spacing:-6px}@media(max-width:760px){body[data-long-time=true] .time{font-size:clamp(82px,20vw,130px);letter-spacing:-5px}}

[hidden]{display:none!important}

/* Compact collections retain native keyboard and no-script disclosure behavior. */
.scene-more{margin-top:14px}
.scene-more-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border:1px solid #d5ddcc;border-radius:11px;background:linear-gradient(145deg,#fffcf5,#edf1e6);color:#48614d;font-size:12px;font-weight:500;letter-spacing:.15px;line-height:1.5;list-style:none;cursor:pointer;box-shadow:0 2px 7px #31433105;transition:border-color .18s,background .18s}
.scene-more-toggle::-webkit-details-marker{display:none}
.scene-more-toggle::marker{content:""}
.scene-more-toggle:hover{border-color:#9caf91;background:#eaf0e1}
.scene-more-toggle:focus-visible{outline:2px solid #b59b61;outline-offset:3px}
.scene-more-toggle svg{width:17px;height:17px;flex:none;transition:transform .18s}
.scene-more-hide,.scene-more[open] .scene-more-show{display:none}
.scene-more[open] .scene-more-hide{display:inline}
.scene-more[open] .scene-more-toggle svg{transform:rotate(180deg)}
.scene-more>.scene-grid{margin-top:16px}
.scene-more:not([open])>.scene-grid{display:none}

/* Wallpaper motion stays behind the timer; the still cover is always ready. */
.scene-video{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;opacity:0;transition:opacity .65s ease;background:transparent}.scene-video.is-playing{opacity:1}
body[data-scene=fireplace] .scene-backdrop{background:#24160e url('/assets/pomodoro-fireplace-poster.webp?v=1.10.0') center/cover no-repeat;filter:none}body[data-scene=rainfall] .scene-backdrop{background:#14252e url('/assets/pomodoro-rainfall-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=fireplace] .scene-thumb,.preview-fireplace{background:#342318 url('/assets/pomodoro-fireplace-poster.webp?v=1.10.0') center/cover}body[data-scene=rainfall] .scene-thumb,.preview-rainfall{background:#1b3541 url('/assets/pomodoro-rainfall-poster.webp') center/cover}
.audio-dock-copy{display:grid;gap:4px;text-align:left;max-width:150px}.audio-dock-copy>small{font-size:9px;line-height:1.3;color:var(--room-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-dock-copy>span{font-size:11px}.atmosphere-controls>.dock-button{border-radius:12px;min-height:58px}

/* Scene and sound collections share the room's quiet, warm palette. */
.scene-group+.scene-group{margin-top:26px;padding-top:4px}.panel .media-section-heading{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.35px;margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#3c5547}.media-count{font-size:9px;font-weight:400;letter-spacing:1px;color:#89937f}.scene-preview{position:relative}.scene-option{transition:border-color .18s,background .18s,box-shadow .18s}.scene-option:hover{border-color:#a1b294;box-shadow:0 3px 12px #3143310a}.scene-option>span:nth-child(2){display:block;padding-right:22px;line-height:1.5}.live-badge{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #ffffff30;border-radius:5px;background:#18201c99;backdrop-filter:blur(6px);color:#fff7ea;font-size:8px;font-weight:600;letter-spacing:1px}.live-badge:before{content:"";width:4px;height:4px;border-radius:50%;background:#d7c49a}
.live-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.media-control{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d6dece;border-radius:10px;background:#fffa;color:#425d4a;padding:11px 9px;font-size:10px;line-height:1.4;min-height:42px}.media-control svg{height:15px;width:15px}.media-control:hover:not(:disabled){background:#eaf0e1;border-color:#95a98b}.media-control[aria-pressed=true]{background:#e4ebda;border-color:#99ad8d}.media-control:disabled{opacity:.48}.media-status{font-size:10px;line-height:1.7;color:#6f7e67;margin:11px 0 0;min-height:17px}.live-tip{border-top:1px solid var(--line);padding-top:11px;font-size:9px}
#sound-dialog{width:min(640px,calc(100vw - 30px))}.audio-section+.audio-section{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}#sound-dialog .sound-options{grid-template-columns:1fr 1fr;gap:9px}#sound-dialog .sound-option{gap:10px;padding:12px 11px;min-height:78px}#sound-dialog .sound-icon{width:31px;height:31px;border-radius:9px}#sound-dialog .sound-icon svg{width:17px;height:17px}#sound-dialog .sound-option strong{font-size:11px}#sound-dialog .sound-option small{font-size:9px;line-height:1.6}#sound-dialog .selection-dot{width:11px;height:11px}#sound-dialog .sound-option>.selection-dot{align-self:center}.media-volume{display:grid;grid-template-columns:minmax(130px,1fr) minmax(80px,1.15fr);gap:13px;align-items:center;font-size:10px;line-height:1.5;margin-top:17px}.media-volume:has(output){grid-template-columns:minmax(130px,1fr) minmax(70px,1.15fr) 33px}.media-volume input{width:100%;min-width:0;margin:0;min-height:24px;accent-color:#71865b}.media-volume output{font-size:10px;font-variant-numeric:tabular-nums;text-align:right;color:#7c8973}
.audio-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px}.audio-section-heading .media-section-heading{margin-bottom:4px}.audio-section-heading p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.music-off{flex-shrink:0;border:1px solid #dce1d3;background:transparent;border-radius:7px;padding:7px 9px;color:#74826a;font-size:9px;line-height:1.4}.music-off:hover,.music-off[aria-pressed=true]{background:#edf0e5;color:#435d42;border-color:#a9b79b}.music-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.music-option{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;text-align:left;position:relative;min-height:79px;border:1px solid #dce1d3;border-radius:12px;background:#fff7;padding:13px 21px 13px 12px;overflow:hidden;transition:border-color .18s,background .18s}.music-option:hover{border-color:#a1b294;background:#fff}.music-option[aria-pressed=true]{border-color:#7a9275;background:#eaf0e1}.music-option>.selection-dot{position:absolute;top:10px;right:10px}.music-option[aria-pressed=true]>.selection-dot{background:#64845f;border-color:#64845f;box-shadow:inset 0 0 0 2px #f1f5e9}.music-art{position:relative;display:grid;place-items:center;width:42px;height:46px;border-radius:8px;overflow:hidden;isolation:isolate}.music-art:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,#ffffff06 2px,#ffffff06 3px);pointer-events:none}.music-art>svg{height:22px;width:22px;opacity:.9}.music-night .music-art{background:radial-gradient(circle at 80% 0%,#947d7b77,transparent 60%),linear-gradient(135deg,#1e3948,#47425b);color:#e2d7bd}.music-daylight .music-art{background:radial-gradient(circle at 90% 0%,#ffebad,transparent 70%),linear-gradient(135deg,#b89a72,#cfbda1);color:#fff7dd}.music-copy{min-width:0}.music-copy strong{display:block;font-size:11px;font-weight:500;line-height:1.4}.music-copy small{display:block;font-size:9px;line-height:1.6;margin-top:4px;color:#7a846f}.music-bars{position:absolute;bottom:5px;right:5px;display:flex;align-items:flex-end;gap:2px;height:7px;opacity:0}.music-bars i{display:block;width:2px;background:currentColor;border-radius:1px;height:4px}.music-bars i:nth-child(2){height:7px}.music-bars i:nth-child(3){height:5px}.music-bars i:nth-child(4){height:3px}.music-option[aria-pressed=true] .music-bars{opacity:.9}.music-section>.media-status{margin-top:10px}.audio-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;margin-top:21px}.audio-footer .fine-print{margin:0;max-width:335px;font-size:9px;line-height:1.7}.stop-audio{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;background:#e9edde;border:1px solid #dce1d3;border-radius:8px;padding:10px 12px;font-size:10px;color:#4e6547;line-height:1.4}.stop-audio svg{width:15px;height:15px}.stop-audio:hover{background:#e1e8d8;border-color:#a7b69a}.audio-origin{font-size:8px;margin-top:12px;color:#8b9583}
@media(max-width:1100px){.atmosphere-controls>.dock-button{min-height:50px}.audio-dock-copy{max-width:120px}}
@media(max-width:760px){.atmosphere-controls>.dock-button{min-height:43px}.audio-dock-copy{display:none}.scene-group+.scene-group{margin-top:23px}.live-controls{gap:7px;margin-top:13px}.media-control{font-size:9px;gap:6px;padding:10px 7px}.media-control svg{height:14px;width:14px}.media-volume{grid-template-columns:minmax(110px,1fr) minmax(70px,1.15fr);font-size:10px;gap:10px}.media-volume:has(output){grid-template-columns:minmax(110px,1fr) minmax(55px,1.15fr) 30px}.audio-section-heading{gap:10px}.audio-section-heading p{font-size:9px}.music-off{font-size:8px;padding:7px}.audio-footer{gap:14px}.stop-audio{font-size:9px;padding:9px;gap:5px}}
@media(max-width:520px){#sound-dialog .sound-option{padding:11px;min-height:75px;gap:8px}#sound-dialog .sound-icon{display:none}#sound-dialog .sound-option small{font-size:9px}.music-options{grid-template-columns:1fr}.music-option{min-height:68px;padding:10px 28px 10px 11px;gap:12px}.music-art{width:42px;height:44px}.music-copy strong{font-size:12px}.music-copy small{font-size:9px}.audio-footer{display:block}.audio-footer .fine-print{max-width:none}.stop-audio{width:100%;margin-top:12px;padding:11px}.audio-origin{text-align:center}.audio-section+.audio-section{padding-top:19px;margin-top:19px}}
@media(prefers-reduced-motion:reduce){.scene-video{transition:none}}
.audio-origin a{white-space:nowrap;text-underline-offset:3px}

/* Hide only the Pomodoro viewport scrollbar; native scrolling remains enabled. */
html[data-pomodoro-page]{scrollbar-width:none;-ms-overflow-style:none;scrollbar-gutter:auto}
html[data-pomodoro-page]::-webkit-scrollbar{display:none;width:0;height:0}

/* Keep each dialog's exit in reach without shifting its heading or content. */
html[data-pomodoro-page] .panel{overflow:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:62px 24px}
html[data-pomodoro-page] .panel-close{position:sticky;top:14px;height:0;display:flex;justify-content:flex-end;z-index:5;pointer-events:none}
html[data-pomodoro-page] .panel-close .close-button{width:40px;height:40px;margin-top:-5px;background:#f8f6ef;box-shadow:0 0 0 6px #f8f6ef;pointer-events:auto}
html[data-pomodoro-page] .panel-close .close-button:hover{background:#eaf0e1;border-color:#a1b294}
html[data-pomodoro-page] .panel-heading{padding-inline-end:52px}
html[data-pomodoro-page]:has(dialog.panel[open]),html[data-pomodoro-page]:has(dialog.panel[open]) body{overflow:hidden;overscroll-behavior:none}
@media(pointer:coarse){html[data-pomodoro-page] .panel-close .close-button{width:44px;height:44px}}

/* Additional prepared live scenes */
body[data-scene=fireplace-embers] .scene-backdrop{background:#24160e url('/assets/pomodoro-fireplace-embers-poster.webp?v=1.10.0') center/cover no-repeat;filter:none}
body[data-scene=fireplace-embers] .scene-thumb,.preview-fireplace-embers{background:#24160e url('/assets/pomodoro-fireplace-embers-poster.webp?v=1.10.0') center/cover}
body[data-scene=sunny-garden] .scene-backdrop{background:#14252e url('/assets/pomodoro-sunny-garden-poster.webp?v=1.10.0') center/cover no-repeat;filter:none}
body[data-scene=sunny-garden] .scene-thumb,.preview-sunny-garden{background:#14252e url('/assets/pomodoro-sunny-garden-poster.webp?v=1.10.0') center/cover}
body[data-scene=fireplace-bright] .scene-backdrop{background:#392019 url('/assets/pomodoro-fireplace-bright-poster.webp?v=1.10.0') center/cover no-repeat;filter:none}
body[data-scene=fireplace-bright] .scene-thumb,.preview-fireplace-bright{background:#392019 url('/assets/pomodoro-fireplace-bright-poster.webp?v=1.10.0') center/cover}
body[data-scene=rainfall-drops] .scene-backdrop{background:#14252e url('/assets/pomodoro-rainfall-drops-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=rainfall-drops] .scene-thumb,.preview-rainfall-drops{background:#14252e url('/assets/pomodoro-rainfall-drops-poster.webp') center/cover}

/* A separate header keeps Close visible without covering scrolling controls. */
html[data-pomodoro-page] .panel{padding:0;overflow:hidden;scroll-padding:0}
html[data-pomodoro-page] .panel[open]{display:flex;flex-direction:column}
html[data-pomodoro-page] .panel-header{position:relative;flex:none;padding:30px 30px 22px;background:#f8f6ef}
html[data-pomodoro-page] .panel-heading{margin:0;padding-inline-end:54px}
html[data-pomodoro-page] .panel-close{position:absolute;top:25px;right:30px;height:auto;z-index:1;pointer-events:auto}
html[data-pomodoro-page] .panel-close .close-button{width:44px;height:44px;margin:0;box-shadow:none}
html[data-pomodoro-page] .panel-body{min-height:0;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:16px;padding:0 30px 30px;scrollbar-width:thin;scrollbar-color:#9b9b93 transparent}
@media(max-width:640px){
html[data-pomodoro-page] .panel-header{padding:24px 20px 18px}
html[data-pomodoro-page] .panel-close{top:19px;right:20px}
html[data-pomodoro-page] .panel-body{padding:0 20px 24px}
.timer-actions{gap:7px}.timer-actions .icon-button{width:44px;height:44px;flex:none}.timer-actions .start-button{min-width:118px;padding-inline:18px}
.room-header .icon-button,.focus-controls .icon-button{width:44px;height:44px;flex:none}
.room-bottom .dock-button,.atmosphere-controls>.dock-button,.scene-button{min-height:44px;min-width:44px}
.atmosphere-controls{min-width:0;flex:1}.focus-controls{flex-shrink:0}.scene-button{max-width:calc(100vw - 180px);min-width:0}
.scene-button>span:not(.scene-thumb){min-width:0}.scene-button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Show the completed Pomodoro phase and the next real interval in one place. */
#completion-dialog{text-align:left}
#completion-dialog .panel-heading h2{font-size:30px;text-wrap:balance}
#completion-dialog .panel-heading .eyebrow{line-height:1.7;letter-spacing:1.25px}
.completion-next{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #dce3d3;border-radius:14px;background:#edf1e6;margin:2px 0 18px}
#completion-dialog .completion-symbol{margin:0;width:48px;height:48px;flex:none;background:#dfe8d3;color:#607b50}
#completion-dialog .completion-symbol svg{width:26px;height:26px}
.completion-focus-icon{display:none}
#completion-dialog[data-next-mode=focus] .completion-focus-icon{display:inline}
#completion-dialog[data-next-mode=focus] .completion-break-icon{display:none}
.completion-next-copy{flex:1;min-width:0}
.completion-next-label{font-size:10px;line-height:1.5;color:#687662;margin:0 0 4px}
#completion-dialog [data-completion-mode]{font:500 16px/1.4 "Segoe UI",Arial,sans-serif;margin:0;overflow-wrap:anywhere}
.completion-duration{display:flex;align-items:baseline;gap:5px;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.completion-duration strong{font-size:34px;line-height:1;font-weight:400;letter-spacing:-1px}
.completion-duration span{font-size:12px;color:#687662}
.completion-waiting{font-size:12px;line-height:1.7;color:var(--muted);text-align:center;margin:0}
#completion-dialog .save-button{font-size:13px;line-height:1.5;min-height:48px;margin-top:16px}
@media(max-width:400px){
#completion-dialog .panel-heading h2{font-size:26px}
.completion-next{padding:14px;gap:10px}
#completion-dialog .completion-symbol{width:36px;height:36px}
#completion-dialog .completion-symbol svg{width:22px;height:22px}
#completion-dialog [data-completion-mode]{font-size:14px}
.completion-duration{gap:3px}.completion-duration strong{font-size:29px}.completion-duration span{font-size:11px}
}

/* Let the scenery stay inviting while retaining the existing text contrast. */
.focus-room>.scene-shade{opacity:.8}

/* Keep supporting copy readable without changing the timer or display headings. */
.panel .live-tip,.panel .media-status,.panel .fine-print,
#sound-dialog .sound-option small,.panel .music-copy small,
.panel .audio-section-heading p,.panel .audio-footer .fine-print{font-size:12px;line-height:1.6}
.panel .audio-origin{font-size:11px;line-height:1.6;color:#6f7c73}
.panel-heading .eyebrow,.panel .media-count,.panel .live-badge{font-size:10px;line-height:1.55}
.panel .media-control,.panel .music-off,.panel .stop-audio,
.panel .media-volume,.panel .media-section-heading{font-size:12px;line-height:1.5}
.panel .media-volume output{font-size:11px}
.panel .scene-option,.panel .music-copy strong,#sound-dialog .sound-option strong{font-size:12px;line-height:1.5}
.panel .field-caption,.panel legend,.panel .duration-grid label,
.panel .cycle-setting,.panel .setting-tools>span,.panel .today-summary span,
.panel .list-tools>span{font-size:12px;line-height:1.55}
.panel .presets span,.panel .day-label,.panel .day-value{font-size:11px;line-height:1.5}
.panel .task-form input,.panel .task-form .solid-button,.panel .text-button{font-size:12px}
.focus-room .session-line,.focus-room .languages a{font-size:12px}
.focus-room .scene-button small,.focus-room .audio-dock-copy>small{font-size:11px;line-height:1.45}
.focus-room .room-eyebrow,.focus-room .room-footnote{font-size:10px}

/* Supporting panel copy keeps sufficient contrast at its modest text size. */
.panel{--muted:#59695b}
.panel .live-tip,.panel .media-status,.panel .fine-print,
#sound-dialog .sound-option small,.panel .music-copy small,
.panel .audio-section-heading p,.panel .audio-footer .fine-print,
.panel .audio-origin,.panel .media-volume output{color:#59695b}
.panel-heading .eyebrow,.panel .media-count,.panel .day-value,
.panel .music-off,.panel .text-button,.panel .completion-next-label,
.panel .completion-duration span{color:#536356}
.panel .live-badge{background:#18201cc2}



/* A clear title, a quieter description, and equal breathing room in audio cards. */
.panel .music-option{grid-template-columns:44px minmax(0,1fr);gap:12px;min-height:88px;padding:14px 30px 14px 14px}
.panel .music-art{width:44px;height:48px}
.panel .music-copy strong,#sound-dialog .sound-option strong{font-size:13px;font-weight:500;line-height:1.35}
.panel .music-copy small,#sound-dialog .sound-option small{font-size:12px;line-height:1.5}
.panel .music-copy small{margin-top:5px}
.panel .completion-next-label{font-size:12px;line-height:1.5}
@media(max-width:520px){
.panel .music-option{min-height:82px;padding:12px 30px 12px 13px}
.panel .music-art{height:46px}
}

/* Additional still scenes keep full-size photographs separate from gallery thumbnails. */
body[data-scene=garden-reflection] .scene-backdrop{background:#253f3b url('/assets/pomodoro-garden-reflection.webp') center/cover no-repeat;filter:none}
body[data-scene=garden-reflection] .scene-thumb,.preview-garden-reflection{background:#253f3b url('/assets/pomodoro-garden-reflection-thumb.webp') center/cover no-repeat}
body[data-scene=alpine-morning] .scene-backdrop{background:#253f3b url('/assets/pomodoro-alpine-morning.webp') center/cover no-repeat;filter:none}
body[data-scene=alpine-morning] .scene-thumb,.preview-alpine-morning{background:#253f3b url('/assets/pomodoro-alpine-morning-thumb.webp') center/cover no-repeat}
body[data-scene=quiet-library] .scene-backdrop{background:#253f3b url('/assets/pomodoro-quiet-library.webp') center/cover no-repeat;filter:none}
body[data-scene=quiet-library] .scene-thumb,.preview-quiet-library{background:#253f3b url('/assets/pomodoro-quiet-library-thumb.webp') center/cover no-repeat}
body[data-scene=lavender-field] .scene-backdrop{background:#253f3b url('/assets/pomodoro-lavender-field.webp') center/cover no-repeat;filter:none}
body[data-scene=lavender-field] .scene-thumb,.preview-lavender-field{background:#253f3b url('/assets/pomodoro-lavender-field-thumb.webp') center/cover no-repeat}
body[data-scene=cafe-light] .scene-backdrop{background:#253f3b url('/assets/pomodoro-cafe-light.webp') center/cover no-repeat;filter:none}
body[data-scene=cafe-light] .scene-thumb,.preview-cafe-light{background:#253f3b url('/assets/pomodoro-cafe-light-thumb.webp') center/cover no-repeat}
body[data-scene=tropical-shore] .scene-backdrop{background:#253f3b url('/assets/pomodoro-tropical-shore.webp') center/cover no-repeat;filter:none}
body[data-scene=tropical-shore] .scene-thumb,.preview-tropical-shore{background:#253f3b url('/assets/pomodoro-tropical-shore-thumb.webp') center/cover no-repeat}

/* New native Full HD scenery retains natural light and local text contrast. */
body[data-scene=rainy-trail] .scene-backdrop{background:#253f3b url('/assets/pomodoro-rainy-trail-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=rainy-trail] .scene-thumb,.preview-rainy-trail{background:#253f3b url('/assets/pomodoro-rainy-trail-thumb.webp') center/cover no-repeat}
body[data-scene=forest-waterfall] .scene-backdrop{background:#253f3b url('/assets/pomodoro-forest-waterfall-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=forest-waterfall] .scene-thumb,.preview-forest-waterfall{background:#253f3b url('/assets/pomodoro-forest-waterfall-thumb.webp') center/cover no-repeat}
body[data-scene=sunset-coast] .scene-backdrop{background:#253f3b url('/assets/pomodoro-sunset-coast-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=sunset-coast] .scene-thumb,.preview-sunset-coast{background:#253f3b url('/assets/pomodoro-sunset-coast-thumb.webp') center/cover no-repeat}

/* Music families share the same quiet card scale and clear icon treatment. */
.music-jazz .music-art{background:radial-gradient(circle at 80% 5%,#dec7a075,transparent 70%),linear-gradient(135deg,#7e634c,#b48b65);color:#fff2d9}
.music-piano .music-art{background:radial-gradient(circle at 80% 5%,#f2e6cd88,transparent 70%),linear-gradient(135deg,#b1ab96,#d6cfbc);color:#fffdf3}
.music-ambient .music-art{background:radial-gradient(circle at 80% 5%,#b9c8b35e,transparent 70%),linear-gradient(135deg,#526b64,#829186);color:#eef4e4}
@media(min-width:521px){.music-options>.music-option:last-child:nth-child(odd){grid-column:1/-1}}

/* Additional still scenery v1.12. */
body[data-scene=greenhouse-light] .scene-backdrop{background:#2c3d34 url('/assets/pomodoro-greenhouse-light.webp') center/cover no-repeat;filter:none}
body[data-scene=greenhouse-light] .scene-thumb,.preview-greenhouse-light{background:#2c3d34 url('/assets/pomodoro-greenhouse-light-thumb.webp') center/cover no-repeat}
body[data-scene=autumn-reflection] .scene-backdrop{background:#2c3d34 url('/assets/pomodoro-autumn-reflection.webp') center/cover no-repeat;filter:none}
body[data-scene=autumn-reflection] .scene-thumb,.preview-autumn-reflection{background:#2c3d34 url('/assets/pomodoro-autumn-reflection-thumb.webp') center/cover no-repeat}
body[data-scene=snow-cabin] .scene-backdrop{background:#2c3d34 url('/assets/pomodoro-snow-cabin.webp') center/cover no-repeat;filter:none}
body[data-scene=snow-cabin] .scene-thumb,.preview-snow-cabin{background:#2c3d34 url('/assets/pomodoro-snow-cabin-thumb.webp') center/cover no-repeat}
body[data-scene=cabin-window] .scene-backdrop{background:#2c3d34 url('/assets/pomodoro-cabin-window.webp') center/cover no-repeat;filter:none}
body[data-scene=cabin-window] .scene-thumb,.preview-cabin-window{background:#2c3d34 url('/assets/pomodoro-cabin-window-thumb.webp') center/cover no-repeat}

/* Additional native live scenes v1.12. */
body[data-scene=rain-ripples] .scene-backdrop{background:#253f3b url('/assets/pomodoro-rain-ripples-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=rain-ripples] .scene-thumb,.preview-rain-ripples{background:#253f3b url('/assets/pomodoro-rain-ripples-thumb.webp') center/cover no-repeat}
body[data-scene=woodland-cascade] .scene-backdrop{background:#253f3b url('/assets/pomodoro-woodland-cascade-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=woodland-cascade] .scene-thumb,.preview-woodland-cascade{background:#253f3b url('/assets/pomodoro-woodland-cascade-thumb.webp') center/cover no-repeat}
body[data-scene=sunlit-beach] .scene-backdrop{background:#253f3b url('/assets/pomodoro-sunlit-beach-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=sunlit-beach] .scene-thumb,.preview-sunlit-beach{background:#253f3b url('/assets/pomodoro-sunlit-beach-thumb.webp') center/cover no-repeat}

/* Additional scenery v1.13: preserve brightness with local text contrast. */
body[data-scene=alpine-mirror] .scene-backdrop{background:#293c34 url('/assets/pomodoro-alpine-mirror.webp') center/cover no-repeat;filter:none}
body[data-scene=alpine-mirror] .scene-thumb,.preview-alpine-mirror{background:#293c34 url('/assets/pomodoro-alpine-mirror-thumb.webp') center/cover no-repeat}
body[data-scene=bookish-corner] .scene-backdrop{background:#293c34 url('/assets/pomodoro-bookish-corner.webp') center/cover no-repeat;filter:none}
body[data-scene=bookish-corner] .scene-thumb,.preview-bookish-corner{background:#293c34 url('/assets/pomodoro-bookish-corner-thumb.webp') center/cover no-repeat}
body[data-scene=koi-garden] .scene-backdrop{background:#293c34 url('/assets/pomodoro-koi-garden.webp') center/cover no-repeat;filter:none}
body[data-scene=koi-garden] .scene-thumb,.preview-koi-garden{background:#293c34 url('/assets/pomodoro-koi-garden-thumb.webp') center/cover no-repeat}
body[data-scene=meadow-dawn] .scene-backdrop{background:#293c34 url('/assets/pomodoro-meadow-dawn.webp') center/cover no-repeat;filter:none}
body[data-scene=meadow-dawn] .scene-thumb,.preview-meadow-dawn{background:#293c34 url('/assets/pomodoro-meadow-dawn-thumb.webp') center/cover no-repeat}
body[data-scene=sakura-path] .scene-backdrop{background:#293c34 url('/assets/pomodoro-sakura-path.webp') center/cover no-repeat;filter:none}
body[data-scene=sakura-path] .scene-thumb,.preview-sakura-path{background:#293c34 url('/assets/pomodoro-sakura-path-thumb.webp') center/cover no-repeat}
body[data-scene=tea-window] .scene-backdrop{background:#293c34 url('/assets/pomodoro-tea-window.webp') center/cover no-repeat;filter:none}
body[data-scene=tea-window] .scene-thumb,.preview-tea-window{background:#293c34 url('/assets/pomodoro-tea-window-thumb.webp') center/cover no-repeat}
body[data-scene=autumn-rain] .scene-backdrop{background:#293c34 url('/assets/pomodoro-autumn-rain-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=autumn-rain] .scene-thumb,.preview-autumn-rain{background:#293c34 url('/assets/pomodoro-autumn-rain-thumb.webp') center/cover no-repeat}
body[data-scene=golden-tide] .scene-backdrop{background:#293c34 url('/assets/pomodoro-golden-tide-poster.webp') center/cover no-repeat;filter:none}
body[data-scene=golden-tide] .scene-thumb,.preview-golden-tide{background:#293c34 url('/assets/pomodoro-golden-tide-thumb.webp') center/cover no-repeat}

/* Gallery actions follow their content; live controls remain within reach. */
.scene-more-collapse{width:100%;margin-top:16px}
.scene-more-collapse svg{transform:rotate(180deg)}
.scene-more:has(>summary[hidden])>.scene-grid{margin-top:0}
#scene-dialog .panel-body{overflow-anchor:none}
.scene-footer{flex:none;border-top:1px solid var(--line);padding:13px 30px 16px;background:#f8f6ef}
.scene-footer .live-controls{margin-top:0}
.scene-footer .media-status{margin-top:7px;min-height:0}
#scene-dialog .scene-footer:has([data-live-toggle]:disabled){display:none}
@media(max-width:640px){.scene-footer{padding:11px 20px 14px}}

/* Natural scenery with the established ivory foreground: no text plates or scene shade. */
body[data-pomodoro-app] .scene-shade{display:none;background:none;opacity:0}
body[data-pomodoro-app] :is(.scene-backdrop,.scene-video){filter:none}
body[data-pomodoro-app] .focus-room{--room-text:#f8f6ee;--room-soft:rgba(255,255,255,.94);--room-border:rgba(255,255,255,.3);color:var(--room-text)}
body[data-pomodoro-app] :is(.room-header,.room-eyebrow,.timer-center h1,.room-headline,.room-subtitle,.time,.session-line,.room-footnote){background:transparent;backdrop-filter:none;text-shadow:0 1px 2px #071e1db3;-webkit-text-stroke:0}
body[data-pomodoro-app] .room-eyebrow{color:#f7edd9}
body[data-pomodoro-app] .timer-center h1{display:block;width:auto;max-width:100%;margin:0;padding:0;border-radius:0;color:var(--room-soft)}
body[data-pomodoro-app] .room-subtitle{display:block;max-width:100%;margin:0 0 31px;padding:0;border-radius:0;color:var(--room-soft)}
body[data-pomodoro-app] .session-line{display:flex;width:auto;max-width:100%;margin:0;padding:0;border-radius:0;color:var(--room-soft)}
body[data-pomodoro-app] .timer-center .time{text-shadow:0 2px 5px #071e1d80}
body[data-pomodoro-app] .mode-tabs{background:#10252524}
body[data-pomodoro-app] .mode-tabs button:not([aria-pressed=true]){color:var(--room-text)}
body[data-pomodoro-app] .timer-actions .icon-button{background:transparent;border-color:transparent;color:var(--room-text);filter:none}
body[data-pomodoro-app] .timer-actions .icon-button:hover{background:#ffffff1a;border-color:var(--room-border)}
body[data-pomodoro-app] :is(.scene-button,.dock-button){--room-soft:rgba(255,255,255,.87);background:#10252573;color:#f8f6ee}
body[data-pomodoro-app] .room-footnote{opacity:.9}
@media(max-height:850px) and (min-width:761px){body[data-pomodoro-app] .room-subtitle{margin-bottom:20px}}
@media(max-height:720px) and (min-width:761px){body[data-pomodoro-app] .timer-center{top:46%}}
@media(max-width:760px){body[data-pomodoro-app] .room-subtitle{max-width:290px;margin:12px auto 26px}}

/* Quiet depth belongs to the foreground controls, never to the scenery. */
body[data-pomodoro-app] .timer-center .room-headline{text-shadow:0 1px 3px #071e1d80}
body[data-pomodoro-app] .mode-tabs{box-shadow:0 3px 12px #071e1d12,inset 0 1px 0 #ffffff26}
body[data-pomodoro-app] .mode-tabs button[aria-pressed=true]{box-shadow:0 2px 7px #071e1d18}
body[data-pomodoro-app] .start-button{box-shadow:0 6px 20px #071e1d29,inset 0 1px 0 #ffffff40}
body[data-pomodoro-app] .start-button:hover{box-shadow:0 8px 24px #071e1d33,inset 0 1px 0 #ffffff40}
body[data-pomodoro-app] :is(.scene-button,.dock-button){box-shadow:0 5px 18px #071e1d24,inset 0 1px 0 #ffffff14}
body[data-pomodoro-app] .timer-actions .icon-button svg{filter:drop-shadow(0 1px 1px #071e1d80)}

/* One foreground palette and control style for every wallpaper. */
body[data-pomodoro-app] .focus-room{--room-text:#f8f6ee;--room-soft:rgba(255,255,255,.94);--room-border:rgba(255,255,255,.3);--room-panel:rgba(255,255,255,.055);color:var(--room-text)}
body[data-pomodoro-app] .focus-room .mode-tabs{background:#10252524}
body[data-pomodoro-app] .focus-room .mode-tabs button[aria-pressed=true]{background:#f2efe5;color:#243c39}
body[data-pomodoro-app] .focus-room .start-button{background:#f5efe2;border-color:#f5efe2;color:#2c4039}
body[data-pomodoro-app] .focus-room .start-button:hover{background:#fff}
body[data-pomodoro-app] :is(.timer-center h1,.room-subtitle,.session-line){font-weight:400}

/* Consistent small-type hierarchy and comfortable controls in the same ivory palette. */
body[data-pomodoro-app] :is(.timer-center h1,.room-subtitle,.session-line){font-weight:500}
body[data-pomodoro-app] .languages{gap:4px}
body[data-pomodoro-app] .languages a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:36px;padding:4px 5px;border-radius:7px}
body[data-pomodoro-app] .languages a:focus-visible{outline-width:2px;outline-offset:2px}
body[data-pomodoro-app] .room-header .languages a:not([aria-current=page]){opacity:.86}
body[data-pomodoro-app] .room-header .languages a:hover{opacity:1}
body[data-pomodoro-app] .start-button:active{transform:translateY(0)}
.panel .media-volume input[type=range]{min-height:32px}
.panel :is(.music-off,.stop-audio){min-height:40px}
.panel .task-delete{display:inline-grid;place-items:center;width:36px;min-width:36px;min-height:36px;padding:4px;border-radius:8px}
.panel .task-delete:hover{background:#e8ede2}
body[data-pomodoro-app] .dock-button[data-action=sound]{position:relative}
body[data-pomodoro-app][data-media-playing=true] .dock-button[data-action=sound]::after{content:"";position:absolute;top:8px;right:9px;width:5px;height:5px;border-radius:50%;background:#e2d2a9;box-shadow:0 0 0 2px #e2d2a91f;pointer-events:none}
@media(max-width:640px){
 .panel :is(.music-off,.stop-audio){min-height:44px}
 .panel .task-delete{width:40px;min-width:40px;min-height:40px}
 body[data-pomodoro-app] .languages a{min-height:40px}
}
@media(max-width:420px){
 .room-header{padding-inline:18px;gap:8px}
 .room-header .brand{gap:6px}
 .room-header .brand-mark{width:28px;height:28px}
 .room-header .header-right{gap:6px}
 .room-header .languages{gap:0}
 .room-header .icon-button{width:40px;height:40px}
}
/* Fit shorter desktop windows without clipping the dock or changing the background. */
@media(min-width:761px) and (max-height:700px){
 body[data-pomodoro-app]:not(.is-zen) .focus-room{min-height:580px;height:100svh;max-height:none}
 body[data-pomodoro-app]:not(.is-zen) .room-header{height:76px}
 body[data-pomodoro-app]:not(.is-zen) .timer-center{top:45%}
 body[data-pomodoro-app]:not(.is-zen) .room-eyebrow{display:none}
 body[data-pomodoro-app]:not(.is-zen) .room-headline{font-size:36px;margin:8px 0 7px}
 body[data-pomodoro-app]:not(.is-zen) .room-subtitle{margin-bottom:18px}
 body[data-pomodoro-app]:not(.is-zen) .time{font-size:clamp(112px,18svh,126px);line-height:1.12;margin:4px 0 6px}
 body[data-pomodoro-app]:not(.is-zen) .timer-actions{margin-top:18px;gap:12px}
 body[data-pomodoro-app]:not(.is-zen) .session-progress{margin-top:16px}
 body[data-pomodoro-app]:not(.is-zen) .room-bottom{bottom:42px}
 body[data-pomodoro-app]:not(.is-zen) .room-footnote{bottom:12px}
}
body[data-pomodoro-app].is-zen .focus-room{min-height:360px}
body[data-pomodoro-app].is-zen .timer-center{top:48%}
@media(max-height:500px){
 body[data-pomodoro-app].is-zen .time{font-size:clamp(104px,30svh,132px);line-height:1.1;margin:6px 0}
 body[data-pomodoro-app].is-zen .timer-actions{margin-top:14px}
 body[data-pomodoro-app].is-zen .session-progress{margin-top:12px}
}

@media(max-width:760px) and (max-height:740px){
 body[data-pomodoro-app]:not(.is-zen) .focus-room{min-height:600px;height:100svh;max-height:none}
 body[data-pomodoro-app]:not(.is-zen) .timer-center{top:48%}
 body[data-pomodoro-app]:not(.is-zen) .room-eyebrow{display:none}
 body[data-pomodoro-app]:not(.is-zen) .room-headline{margin:12px 0 7px}
 body[data-pomodoro-app]:not(.is-zen) .room-subtitle{margin:8px auto 14px}
 body[data-pomodoro-app]:not(.is-zen) .time{margin:8px 0 6px;line-height:1.1}
 body[data-pomodoro-app]:not(.is-zen) .timer-actions{margin-top:14px}
 body[data-pomodoro-app]:not(.is-zen) .session-progress{margin-top:12px}
 body[data-pomodoro-app]:not(.is-zen) .room-bottom{bottom:44px}
 body[data-pomodoro-app]:not(.is-zen) .room-footnote{bottom:10px}
}

/* v1.13.5 · Readability belongs to the foreground; never darken or blur a scene. */
body[data-pomodoro-app] .scene-shade{display:none!important;opacity:0!important}
body[data-pomodoro-app] :is(.scene-backdrop,.scene-video){filter:none!important}
body[data-pomodoro-app] :is(
  .brand strong,.room-name,.guide-link,.languages a,
  .room-eyebrow,.timer-center h1,.room-subtitle,.session-line,
  .room-footnote,.scene-button strong,
  .scene-button small,.dock-button .audio-dock-copy,.progress-button span
){
  text-shadow:0 1px 2px rgba(9,20,19,.55),
              0 3px 8px rgba(9,20,19,.27),
              0 8px 20px rgba(9,20,19,.10);
}
body[data-pomodoro-app] .room-headline{
  text-shadow:0 2px 3px rgba(9,20,19,.51),
              0 5px 12px rgba(9,20,19,.23),
              0 12px 26px rgba(9,20,19,.09);
}
body[data-pomodoro-app] .time{
  text-shadow:0 2px 4px rgba(9,20,19,.48),
              0 6px 15px rgba(9,20,19,.21),
              0 13px 28px rgba(9,20,19,.08);
}
body[data-pomodoro-app] :is(
  .brand-mark svg,.guide-link svg,.header-right .icon-button svg,
  .timer-actions .icon-button svg,
  .scene-button>svg,.dock-button svg,
  .focus-controls>.icon-button svg
){
  filter:drop-shadow(0 1px 2px rgba(9,20,19,.48))
         drop-shadow(0 4px 10px rgba(9,20,19,.17));
}
/* No shadows on dark type in ivory controls; these keep their designed contrast. */
body[data-pomodoro-app] .mode-tabs button[aria-pressed=true],
body[data-pomodoro-app] .start-button{text-shadow:none}

/* v1.14.1 — restore the original quiet Pomodoro identity.  The leaf path is
   taken from the original pomodoro-mark.svg without its filled tile.  Keep
   the full Boardesa word, never substitute the circular lettermark for b. */
body[data-pomodoro-app] .room-header .brand {
  display:inline-flex;
  align-items:center;
  gap:13px;
  white-space:nowrap;
  color:#fff;
  text-decoration:none;
}
body[data-pomodoro-app] .room-header .brand-wordmark {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-width:0;
  line-height:1;
}
body[data-pomodoro-app] .room-header .brand-mark {
  display:inline-flex;
  width:26px;
  height:26px;
  flex:0 0 26px;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  clip-path:none;
  color:#fff;
}
body[data-pomodoro-app] .room-header .brand-mark svg {
  display:block;
  width:24px;
  height:24px;
  fill:none;
  filter:drop-shadow(0 1px 2px rgba(15,26,26,.38));
}
body[data-pomodoro-app] .room-header .brand-text {
  display:inline-block;
  color:#fff;
  font-size:26px;
  font-weight:570;
  letter-spacing:-1.25px;
  line-height:1;
  text-shadow:0 1px 3px rgba(8,20,20,.4),0 4px 14px rgba(8,20,20,.14);
  transform:none;
}
body[data-pomodoro-app] .room-header .brand-dot {
  color:#e6d6bb;
}
/* FOCUS ROOM: restored pre-v1.14.1 type, color and spacing (v1.14.2).
   The leaf emblem and complete boardesa. wordmark remain unchanged. */
body[data-pomodoro-app] .room-header .brand-divider {
  width:1px;
  height:24px;
  margin:0 10px 0 6px;
  background:var(--room-border);
}
body[data-pomodoro-app] .room-header .room-name {
  color:var(--room-soft);
  font-size:10px;
  font-weight:500;
  letter-spacing:2.8px;
}
body[data-pomodoro-app] .room-header .brand:hover .brand-text,
body[data-pomodoro-app] .room-header .brand:focus-visible .brand-text {opacity:1}
body[data-pomodoro-app] .atmosphere-controls .audio-dock-copy>span {white-space:nowrap;font-weight:500}
@media (max-width:760px) {
  body[data-pomodoro-app] .room-header .brand{gap:9px}
  body[data-pomodoro-app] .room-header .brand-wordmark{gap:7px}
  body[data-pomodoro-app] .room-header .brand-mark{width:23px;height:23px;flex-basis:23px}
  body[data-pomodoro-app] .room-header .brand-mark svg{width:22px;height:22px}
  body[data-pomodoro-app] .room-header .brand-text{font-size:23px;letter-spacing:-1.1px}
}
@media (max-width:360px) {
  body[data-pomodoro-app] .room-header .brand-wordmark{gap:5px}
  body[data-pomodoro-app] .room-header .brand-mark{width:20px;height:20px;flex-basis:20px}
  body[data-pomodoro-app] .room-header .brand-mark svg{width:19px;height:19px}
  body[data-pomodoro-app] .room-header .brand-text{font-size:21px;letter-spacing:-.9px}
}
