:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#19383b;background:#fff;--green:#176d67;--muted:#607675;--line:#dce8e6;color-scheme:light;font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 2%,#e7f5f480,transparent 35rem),#fff}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button,a{touch-action:manipulation}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #72acae;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:8px;left:15px;padding:12px;background:white;z-index:50;transform:translateY(-160%)}.skip:focus{transform:none}.header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px max(20px,calc((100vw - 1110px)/2));border-bottom:1px solid var(--line);background:#fffffff5;position:sticky;top:0;z-index:5}.header:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(100deg,#127c68,#5bbdc7,#f0cb71)}.brand{display:flex;align-items:center;gap:8px;color:#19383b;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1px}.brand span{color:#158470;margin-left:-7px}.brand img{border-radius:8px}.language select{max-width:165px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;min-height:44px}main{max-width:1110px;margin:auto;padding:23px 24px calc(35px + env(safe-area-inset-bottom))}.back-links{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:20px}.back-links a{text-decoration:none;min-height:44px;display:flex;align-items:center}.text-button{padding:8px 0;border:0;background:none;color:var(--green);font-size:13px;min-height:44px;text-align:left}.hero{display:flex;align-items:center;justify-content:space-between;gap:25px}.eyebrow{font-size:10px;font-weight:700;color:#327e72;letter-spacing:1.4px;margin:0 0 8px}h1{font-size:clamp(37px,5vw,57px);letter-spacing:-2px;line-height:1.1;margin:0 0 14px;font-weight:650}.lead{font-size:18px;line-height:1.65;color:#536d69;margin:0;max-width:500px}h2{font-size:23px;letter-spacing:-.6px;line-height:1.35;margin:0 0 10px}h3{font-size:19px;letter-spacing:-.4px;line-height:1.35;margin:0 0 10px}p{margin:8px 0 14px}.muted{color:var(--muted);font-size:14px}.membership{background:#f0f8f3;color:#45695c;border:1px solid #e0ece4;border-radius:10px;padding:10px 14px;font-size:12px;line-height:1.6;margin:23px 0}.day-tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 15px}.day-tabs button,.mode-buttons button,.presets button,.templates button{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 16px;background:white;font-size:14px}.day-tabs button[aria-pressed=true],.mode-buttons button[aria-pressed=true],.presets button[aria-pressed=true]{background:#176d67;color:white;border-color:#176d67}.day-tabs>span{font-size:13px;color:var(--muted);margin-left:auto}.day-summary{padding:25px;background:linear-gradient(110deg,#f2f9f5,#fbfcf7);border:1px solid #dbe9e0;border-radius:19px;margin-bottom:25px}.summary-heading{display:flex;align-items:flex-start;gap:25px;justify-content:space-between}.summary-heading>div{max-width:580px}.summary-heading p{margin-bottom:7px}.limit-label{white-space:nowrap;font-size:12px;display:grid;gap:6px}.limit-label>span:last-child{display:flex;align-items:center;gap:7px}.limit-label input{width:90px;background:white;border:1px solid var(--line);border-radius:10px;padding:9px;font-size:18px;min-height:45px}.summary-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0 14px}.summary-numbers>div{display:grid;gap:2px}.summary-numbers strong{font-size:28px;letter-spacing:-.6px;color:#245e53;font-weight:600}.summary-numbers span{font-size:12px;color:#58796b}.plan-estimate{font-size:13px;color:#536c63;margin:12px 0}.notice{padding:12px 15px;border:1px solid #e4e6d4;background:#fcfbef;color:#6b633c;border-radius:10px;font-size:13px;line-height:1.7}.notice.calm{border-color:#dcebe6;background:#eef7f1;color:#386659}.notice.warning{background:#fff8ee;color:#856139;border-color:#eddfc7}.workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:25px;align-items:start}.section-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:15px}.section-title h2{margin:0}.section-title>span{font-size:11px;max-width:140px;text-align:right}.card,.task{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff;box-shadow:0 4px 18px #254f4804;margin-bottom:18px}.task{padding:20px}.task-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.task h3{font-size:19px;margin-bottom:7px;overflow-wrap:anywhere}.category{font-size:11px;color:#446c65;background:#eef6f3;padding:3px 7px;border-radius:5px;display:inline-flex}.task-count{font-size:11px;color:var(--muted);white-space:nowrap}.steps{list-style:none;margin:15px 0 12px;padding:0;display:grid;gap:8px}.step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;border:1px solid #e8eeeb;padding:11px 10px;border-radius:10px}.step-check{margin-top:3px;width:21px;height:21px;accent-color:#176d67;flex:none}.step label{margin:0;display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.5;min-height:30px;overflow-wrap:anywhere;grid-column:1/3}.step.done label>span{text-decoration:line-through;color:#7e9390}.step-info{display:block;font-size:11px;color:var(--muted);text-decoration:none!important;margin-top:3px}.step button{min-width:44px;min-height:44px;padding:7px 10px;border:1px solid #dbe9e4;border-radius:8px;background:#f3f8f5;color:#2b6a5b;font-size:12px;grid-column:3}.step.done button{visibility:hidden}.task-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.task-actions button{background:none;border:0;min-height:44px;padding:6px 0;font-size:12px;color:#547970}.task-actions .remove{color:#8e7466}.empty{background:#f8faf8;border:1px dashed #d4e3da;border-radius:15px;padding:20px;margin-bottom:20px}.empty h3{font-size:18px}.empty p{font-size:14px;color:var(--muted)}.templates{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.templates button{font-size:12px;padding:8px 11px;color:#4c7068}.templates button:hover{background:#edf7f2}form label,.timer-card>label:not(.sound-option){display:block;font-size:13px;font-weight:600;margin:17px 0 7px}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #d6e3de;background:#fff;border-radius:10px;padding:11px;min-height:46px;font-size:16px}textarea{resize:vertical;line-height:1.6}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.input-unit{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:13px}.field-help{font-size:12px;color:#6e8380;line-height:1.75;margin:8px 0 17px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:11px;min-height:48px;border:1px solid #176d67;padding:10px 18px;font-size:14px;font-weight:600;background:#176d67;color:white;text-decoration:none}.primary:hover{background:#135c57}.secondary{border-color:#d7e4df;background:#fff;color:#496d61}.add-task .primary{width:100%;margin-top:5px}.timer-card{border-top:3px solid #54aca2;padding-top:23px;scroll-margin-top:100px}.timer-status{color:#3b7b6b;background:#eef7f0;padding:3px 7px;border-radius:6px}.mode-buttons{display:flex;gap:8px;margin:16px 0}.mode-buttons button{flex:1}.timer-face{--progress:0deg;width:min(260px,100%);aspect-ratio:1;margin:27px auto 20px;border-radius:50%;padding:9px;background:conic-gradient(from -90deg,#b6d6cf var(--progress),#176d67 var(--progress));box-shadow:0 10px 30px #2a685b0c}.timer-face.rest{background:conic-gradient(from -90deg,#e5dec2 var(--progress),#a39a6b var(--progress))}.timer-center{height:100%;border-radius:50%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:20px;text-align:center}.timer-center>span:first-child{font-size:12px;line-height:1.5;max-width:180px;max-height:36px;overflow:hidden}.timer-center strong{font-size:clamp(45px,6vw,59px);font-weight:500;letter-spacing:-2px;line-height:1.4;font-variant-numeric:tabular-nums}.timer-center>span:last-child{font-size:12px}.timer-message{font-size:14px;color:#3c7764;line-height:1.65;text-align:center;min-height:24px}.timer-actions{display:flex;gap:8px}.timer-actions button{flex:1;padding:10px 7px}.break-button{border:1px solid #e5dfcb;background:#fbf8ed;color:#746543;display:block;width:100%;min-height:46px;border-radius:10px;padding:10px;margin:12px 0}.sound-option{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);min-height:44px}.sound-option input{width:18px;height:18px;accent-color:#176d67}.presets{display:flex;gap:7px;flex-wrap:wrap}.presets button{padding:8px 11px;flex:1;white-space:nowrap;font-size:13px}.label{font-weight:600;font-size:13px;margin:17px 0 7px}.custom-time{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;margin:12px 0}.custom-time .input-unit{max-width:120px}.gentle{background:#f5f8ef;padding:13px 15px;border-radius:10px;color:#64734e;font-size:13px;line-height:1.7;margin:20px 0 0}footer{border-top:1px solid var(--line);padding:24px 0 0;margin-top:20px;color:var(--muted);font-size:12px}footer>div{display:flex;justify-content:space-between;align-items:center;gap:20px}footer a{text-decoration:none;min-height:44px;display:flex;align-items:center}#toast{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#214f45;color:#fff;max-width:calc(100vw - 40px);width:max-content;padding:13px 18px;border-radius:12px;font-size:13px;z-index:30;box-shadow:0 6px 25px #1d3a3928}#tasks{scroll-margin-top:100px}
@media(max-width:780px){main{padding:20px 18px 35px}.header{padding:12px 18px}.workspace{display:flex;flex-direction:column;gap:5px}.timer-column{order:0;width:100%}.planner{order:1;width:100%}.hero img{width:78px;height:78px}.hero{gap:17px}.lead{font-size:16px}.summary-heading{flex-direction:column;gap:13px}.limit-label{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:13px}.limit-label input{width:100px}.day-summary{padding:20px}.summary-numbers{gap:9px}.summary-numbers strong{font-size:24px}.summary-numbers span{font-size:11px}.timer-face{width:235px}.timer-center strong{font-size:56px}.card{padding:21px}.task{padding:17px}.section-title h2{font-size:21px}.section-title>span{font-size:10px;max-width:95px}.timer-card{padding-top:21px}.rhythm .presets button{flex:1}.new-task{margin-bottom:20px}}
@media(max-width:380px){.brand{font-size:22px}.language select{font-size:12px;max-width:143px}.hero img{width:63px;height:63px}.hero h1{font-size:36px}.summary-numbers{grid-template-columns:1fr 1fr}.summary-numbers>div:last-child{grid-column:1/3}.summary-numbers>div:last-child{display:flex;align-items:baseline;gap:10px}.form-row{grid-template-columns:1fr}.presets{gap:5px}.presets button{font-size:12px;padding:8px}.step label{font-size:13px}.back-links{gap:10px;font-size:12px}.back-links .text-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(forced-colors:active){.timer-face{border:4px solid Highlight}.timer-center{border:1px solid CanvasText}}
/* White surfaces; the supplied heart logo provides the small colour accents. */
body,.day-summary,.card { background:#ffffff; }
.header:before { background:linear-gradient(100deg,#087e4e,#b6d81d 22%,#ffbf29 40%,#ee7c28 53%,#d82471 68%,#15b8d0 82%,#1664e7); }
.day-summary { border-top:3px solid #b6d81d; }
.summary-numbers>div:nth-child(1) strong { color:#175dbd; }
.summary-numbers>div:nth-child(2) strong { color:#147247; }
.summary-numbers>div:nth-child(3) strong { color:#ad3768; }
.presets button[data-focus="2"] { border-bottom:3px solid #087e4e; }
.presets button[data-focus="5"] { border-bottom:3px solid #15b8d0; }
.presets button[data-focus="15"] { border-bottom:3px solid #1664e7; }
.presets button[data-focus="25"] { border-bottom:3px solid #d82471; }
.timer-face { background:conic-gradient(from -90deg,#e5ede9 var(--progress),transparent 0),conic-gradient(from -90deg,#087e4e,#b6d81d,#ffbf29,#ee7c28,#d82471,#15b8d0,#1664e7,#087e4e); }
.timer-face.rest { background:conic-gradient(from -90deg,#eeeadd var(--progress),transparent 0),conic-gradient(from -90deg,#b9c879,#f0cb71,#ecbc8d,#b9c879); }
/* The app bars follow the viewport; their space stays available to the content. */
:root {
  --app-top-height:calc(73px + env(safe-area-inset-top,0px));
  --app-bottom-height:calc(70px + env(safe-area-inset-bottom,0px));
  scroll-padding-top:calc(var(--app-top-height) + 12px);
  scroll-padding-bottom:calc(var(--app-bottom-height) + 12px);
}
body { padding-top:var(--app-top-height);min-height:100dvh; }
.header {
  position:fixed;top:0;right:0;left:0;bottom:auto;z-index:20;background:#ffffff;
  padding-top:calc(14px + env(safe-area-inset-top,0px));
}
.header:before { top:env(safe-area-inset-top,0px); }
main { padding-bottom:calc(var(--app-bottom-height) + 24px); }
.app-nav {
  position:fixed;bottom:0;left:0;right:0;top:auto;z-index:20;
  display:flex;justify-content:center;gap:8px;
  padding:8px max(12px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));
  border-top:1px solid #dce8e6;background:#ffffff;box-shadow:0 -4px 16px #19383b05;
}
.app-nav a { flex:1;max-width:180px;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:600;color:#356e64; }
.app-nav a:hover { background:#eef7f3; }
.app-nav svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
#toast { bottom:calc(var(--app-bottom-height) + 12px); }
#timer,#tasks,#day,#rhythm { scroll-margin-top:16px; }
@media(max-width:780px) { .header { padding-top:calc(12px + env(safe-area-inset-top,0px)); } }

.data-transfer { margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-size:13px; }
.data-transfer summary { cursor:pointer;min-height:36px;display:list-item;color:#356e64;font-weight:600; }
.data-transfer>p { font-size:12px;line-height:1.7; }
.transfer-actions { display:flex;gap:9px;flex-wrap:wrap; }
.transfer-actions button { min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#356e64;font-size:13px; }
