/* Pomodoro — octobre 2026 — un minuteur lisible, les options à la demande. */
:root{--bg:#f7f7fb;--bg-deep:#f0eef7;--panel:#fff;--panel-strong:#faf9fc;--line:#e2ddeb;--ink:#2f2940;--muted:#70677b;--shadow:0 8px 32px #30204407}
[hidden]{display:none!important}
body.pomo-calm{--bg:#f7f7fb;--bg-deep:#f0eef7;--ink:#2f2940;--muted:#70677b;--accent:#76519b;--accent-dark:#624080;--accent-light:#f2edf8;color:var(--ink);background:#f7f7fb;font-size:15px}
body.pomo-calm[data-pomo-mode="short"]{--bg:#f7f7fb;--bg-deep:#f0eef7;--accent:#287f85;--accent-dark:#20686d;--accent-light:#e9f5f4}
body.pomo-calm[data-pomo-mode="long"]{--bg:#f7f7fb;--bg-deep:#f0eef7;--accent:#59804b;--accent-dark:#45653b;--accent-light:#edf4e9}
.pomo-calm :focus-visible{outline:3px solid #a68cc4;outline-offset:3px}
.pomo-calm .pomo-topbar{height:auto;min-height:72px;padding:14px 28px;border-bottom:1px solid #e6e2ef;background:#fff;color:#40354e;position:relative;z-index:5;box-shadow:none;gap:15px}
.pomo-calm .pomo-topbar-left{gap:20px;min-width:0}
.pomo-calm .public-tool-back{background:#fff;color:#62516f;border:1px solid #e3ddec;font-size:.82rem;min-height:42px;display:flex;align-items:center}
.pomo-calm .pomo-brand{gap:9px}.pomo-calm .pomo-brand h1{font-size:1rem;font-weight:650;margin:0;letter-spacing:-.02em}.pomo-calm .pomo-brand small{font-size:.62rem;color:#756080;letter-spacing:.08em}
.pomo-calm .pomo-brand-dot{border-color:var(--accent);background:var(--accent-light);width:18px;height:18px;box-shadow:inset 0 0 0 4px #fff}
.pomo-calm .pomo-top-actions{display:flex;gap:8px;align-items:center}
.pomo-calm .pomo-top-button,.pomo-calm .pomo-header-more>summary{min-height:42px;border:1px solid #e0d8e9;border-radius:9px;background:#fff;color:#635371;padding:9px 13px;font-size:.8rem;font-weight:550;cursor:pointer;text-transform:none}
.pomo-calm .pomo-top-button:hover,.pomo-calm .pomo-header-more>summary:hover{background:#f7f3fb}
.pomo-calm .pomo-auto-dot{background:#9e92ac}.pomo-calm .pomo-top-button[aria-pressed="true"] .pomo-auto-dot{background:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}
.pomo-header-more{position:relative}.pomo-header-more>summary{display:flex;align-items:center;gap:7px;list-style:none}.pomo-header-more>summary::-webkit-details-marker{display:none}.pomo-header-more>div{position:absolute;z-index:9;right:0;top:calc(100% + 8px);padding:8px;width:215px;display:grid;gap:6px;background:#fff;border:1px solid #ded5e8;border-radius:12px;box-shadow:0 12px 40px #49325520}
.pomo-calm .pomo-header-more>div .pomo-top-button{display:flex;align-items:center;gap:8px;text-align:left;width:100%}
.pomo-calm .pomo-app{width:min(1180px,calc(100% - 48px));grid-template-columns:minmax(0,1.3fr) minmax(320px,.85fr);gap:28px;min-height:0;padding-top:30px;align-items:start}
.pomo-calm .pomo-mode-tabs{width:100%;padding:5px;background:#eeebf5;border:1px solid #e5dfef;border-radius:12px;margin-bottom:14px}
.pomo-calm .pomo-mode-tabs button{min-height:43px;color:#766582;font-size:.85rem;font-weight:550}.pomo-calm .pomo-mode-tabs button:hover{background:#ffffff80;color:#493759}.pomo-calm .pomo-mode-tabs button.is-active{background:#fff;color:var(--accent-dark);box-shadow:0 2px 6px #4734580a}
.pomo-calm .pomo-timer-card{width:100%;min-height:0;background:#fff;border:1px solid #e1dbea;border-radius:20px;padding:22px 26px 20px;box-shadow:0 6px 24px #44315105;backdrop-filter:none}
.pomo-calm .pomo-session-line{font-size:.75rem;text-transform:none;letter-spacing:0;color:#7b6f85}
.pomo-calm .pomo-ring{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;width:min(320px,100%);aspect-ratio:1;border-radius:50%;margin:24px auto 14px;padding:38px 20px 48px;background:conic-gradient(from 0deg,var(--accent) var(--progress),#eeebf3 0);border:none;box-shadow:none;overflow:visible}
.pomo-calm .pomo-ring::after{position:absolute;content:"";inset:7px;background:#fff;border-radius:50%;z-index:0}
.pomo-calm .pomo-tree-backdrop{display:none}
.pomo-calm .pomo-ring .pomo-time{position:relative;z-index:2;margin:0;font-size:clamp(4.2rem,7.5vw,5.7rem);font-weight:550;line-height:1.1;letter-spacing:-.055em;text-shadow:none;color:#392b4b}
.pomo-calm .pomo-ring>small{position:relative;z-index:2;margin:6px 0 0;font-size:.77rem;color:#7a6d86}
.pomo-calm .pomo-ring .pomo-tree-mini{position:absolute;top:38px;inset-inline:22px;z-index:2;display:flex;align-items:center;justify-content:center;gap:5px;color:var(--accent-dark);padding:0;background:none;border:0;max-width:none;font-size:.62rem}
.pomo-calm .pomo-tree-mini span{font-size:.62rem;font-weight:500;white-space:normal;text-align:center;line-height:1.35;color:var(--accent-dark)}
.pomo-calm .pomo-tree-mini b{font-size:.6rem;color:var(--accent-dark);background:var(--accent-light);padding:3px 5px;border-radius:6px}
.pomo-plant{width:22px;height:22px;flex-shrink:0;color:var(--accent)}
.pomo-calm .pomo-ring .pomo-tree-steps{position:absolute;z-index:2;bottom:32px;display:flex;gap:6px;justify-content:center}
.pomo-calm .pomo-tree-steps span{font-size:.65rem;border:1px solid #e1d6ec;background:#fff;color:#867394;border-radius:6px;padding:3px 7px;opacity:1}
.pomo-calm .pomo-tree-steps span.is-growing,.pomo-calm .pomo-tree-steps span.is-grown{border-color:var(--accent);background:var(--accent-light);color:var(--accent-dark)}
.pomo-calm .pomo-phase-copy{margin:5px 0 22px;color:#72667e;font-size:.9rem;line-height:1.4;min-height:0}
.pomo-calm .pomo-start{min-width:168px;height:52px;background:var(--accent);color:#fff;border-radius:11px;box-shadow:none;font-size:.95rem;font-weight:600;text-transform:none;letter-spacing:0}
.pomo-calm .pomo-start:hover{background:var(--accent-dark)}.pomo-calm .pomo-start:active{transform:none;box-shadow:none}
.pomo-calm .pomo-skip,.pomo-reset-button{width:48px;height:48px;display:grid;place-items:center;border:1px solid #ddd4e8;background:#fff;color:#766087;border-radius:10px;cursor:pointer}.pomo-skip svg,.pomo-reset-button svg{width:22px;height:22px}
.pomo-secondary-actions{width:100%;text-align:center;margin-top:18px}.pomo-secondary-actions>summary{cursor:pointer;color:#7b668c;font-size:.8rem;min-height:32px;padding:7px;list-style:none}.pomo-secondary-actions>summary::after{content:' ⌄';padding-left:5px}.pomo-secondary-actions>summary::-webkit-details-marker{display:none}
.pomo-calm .pomo-sub-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:6px 0 0}.pomo-calm .pomo-sub-actions button{min-height:40px;padding:8px 12px;background:#f6f3fa;border:1px solid #e5ddec;border-radius:8px;color:#715a84;font-size:.76rem;font-weight:500}.pomo-calm .pomo-sub-actions button:hover{color:#4e3566}
.pomo-calm .pomo-cycle-card{width:100%;border:0;background:transparent;padding:14px 3px;margin:0;gap:12px}.pomo-calm .pomo-cycle-card span{color:#756080;font-size:.65rem;font-weight:550;letter-spacing:.06em}.pomo-calm .pomo-cycle-card strong{color:#64566f;font-size:.78rem;font-weight:500;line-height:1.5}
.pomo-calm .pomo-cycle-controls{gap:7px;flex-shrink:0}.pomo-calm .pomo-cycle-controls>button{background:#fff;border:1px solid #dfd6e9;border-radius:8px;color:#79608d;width:34px;height:34px;cursor:pointer}
.pomo-calm .pomo-cycle-dots{gap:5px}.pomo-calm .pomo-cycle-dots button{width:13px;height:13px;border:1px solid #b6a3c6;background:#fff;box-shadow:none}.pomo-calm .pomo-cycle-dots button.is-current{background:#c7b3d7;border-color:#9977b5;box-shadow:0 0 0 3px #eae2f2}.pomo-calm .pomo-cycle-dots button.is-done{background:var(--accent);border-color:var(--accent)}
.pomo-calm .pomo-session-overview{width:100%;grid-template-columns:repeat(3,1fr);margin:0 0 4px;gap:0;padding:14px 0;border-top:1px solid #e5dfed;border-bottom:1px solid #e5dfed;background:none}
.pomo-calm .pomo-session-overview>div{padding:0 16px;border:0;border-right:1px solid #e5dfed;border-radius:0;background:none;grid-column:auto}.pomo-calm .pomo-session-overview>div:last-child{border-right:0}.pomo-calm .pomo-session-overview span{font-size:.7rem;color:#756080;letter-spacing:0;text-transform:none}.pomo-calm .pomo-session-overview strong{font-size:.9rem;color:#5a456c;font-weight:600}
.pomo-fold{width:100%;border:1px solid #e4ddec;border-radius:12px;background:#fff;margin-top:10px;overflow:hidden;min-width:0}.pomo-fold>summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:14px 16px;min-height:48px;cursor:pointer;list-style:none;color:#5f4a74;font-size:.83rem}.pomo-fold>summary::-webkit-details-marker{display:none}.pomo-fold>summary::after{content:'⌄';margin-left:auto;color:#937caa}.pomo-fold[open]>summary::after{transform:rotate(180deg)}.pomo-fold>summary small{font-size:.72rem;color:#756080;margin-right:5px}
.pomo-calm .pomo-quick-card{margin:0;padding:14px 16px;border:0;border-top:1px solid #e9e3f0;background:#fff;display:grid;gap:12px}.pomo-calm .pomo-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.pomo-calm .pomo-presets button,.pomo-calm .pomo-available button{height:auto;min-height:40px;border:1px solid #e2d7ec;background:#f7f4fb;color:#674b7e;font-size:.8rem;padding:8px 10px}.pomo-calm .pomo-available{padding-top:12px;border-top:1px solid #e8e0f0;gap:9px;flex-wrap:wrap}.pomo-calm .pomo-available label{color:#715e7d;font-size:.8rem}.pomo-calm .pomo-available input{height:40px;background:#fff;border-color:#dfd5e9;color:#503866;font-size:.85rem}
.pomo-calm .pomo-active-task{width:100%;background:var(--accent-light);border:1px solid #ded2ea;border-radius:10px;padding:12px 16px;margin:10px 0 0}.pomo-calm .pomo-active-task strong{font-size:.9rem}.pomo-calm .pomo-active-task span,.pomo-calm .pomo-active-task small{font-size:.73rem;color:#7a638d}
.pomo-calm .pomo-session-notes{width:100%;margin:0;padding:14px 16px;gap:12px;border-top:1px solid #e9e3f0}.pomo-calm .pomo-session-notes span{font-size:.75rem;text-transform:none;color:#706078;letter-spacing:0}.pomo-calm .pomo-session-notes input{height:44px;border-color:#ded6e5;background:#fff;color:#4b355e;font-size:.8rem;width:100%;min-width:0}.pomo-calm input::placeholder{color:#756080;opacity:1}
.pomo-calm .pomo-sidebar{gap:16px}.pomo-calm .pomo-stats{gap:12px}.pomo-calm .pomo-stats>div{min-height:98px;border:1px solid #e1d9eb;border-radius:13px;background:#fff;padding:16px;column-gap:7px}.pomo-calm .pomo-stats span{color:#80708e;font-size:.65rem;font-weight:500;letter-spacing:.06em}.pomo-calm .pomo-stats strong{font-weight:550;color:#53376c;font-size:1.8rem}.pomo-calm .pomo-stats small{font-size:.75rem;color:#756080}
.pomo-calm .pomo-tasks{background:#fff;border:1px solid #e1d9eb;border-radius:15px}.pomo-calm .pomo-tasks>header{padding:20px;border-color:#eee7f3;gap:10px;flex-wrap:wrap}.pomo-calm .pomo-tasks>header span{font-size:.65rem;letter-spacing:.07em;font-weight:500;color:#756080}.pomo-calm .pomo-tasks h2{margin:3px 0 0;font-size:1.2rem;letter-spacing:-.02em;font-weight:600;color:#503961}.pomo-calm .pomo-tasks>header button{height:38px;background:#fff;border-color:#e1d4ec;color:#78558f;font-size:.8rem;padding:0 12px;font-weight:500}.pomo-calm .pomo-tasks>header [data-add-task]{background:var(--accent);border-color:var(--accent);color:#fff}
.pomo-calm .pomo-task-form{background:#faf8fd;border-color:#e8dfee;padding:16px;gap:12px;grid-template-columns:1fr 100px}.pomo-calm .pomo-task-form label{color:#795c8b;font-size:.75rem;font-weight:500}.pomo-calm .pomo-task-form input{height:42px;background:#fff;border-color:#dbcee5;color:#4d365e;font-size:.85rem}.pomo-calm .pomo-task-form button,.pomo-calm .pomo-task-footer button{height:auto;min-height:36px;color:#745986;background:#f5f0f9;border:1px solid #e6dcec;font-size:.73rem;padding:8px 10px;font-weight:500}.pomo-calm .pomo-task-form button.is-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.pomo-calm .pomo-task{padding:14px 16px;border-color:#eee7f3;gap:10px}.pomo-calm .pomo-task:hover{background:#faf7fe}.pomo-calm .pomo-task.is-active{background:var(--accent-light);box-shadow:inset 3px 0 0 var(--accent)}.pomo-calm .pomo-task.is-done{opacity:1}.pomo-calm .pomo-task-copy strong{font-size:.87rem;font-weight:550;color:#51375f}.pomo-calm .pomo-task-copy small{font-size:.73rem;color:#7f6690}.pomo-calm .pomo-task-check{width:30px;height:30px;border-color:#bfa8d0;background:#fff;color:#74518d}.pomo-calm .pomo-task-check.is-done{background:var(--accent);color:#fff;border-color:var(--accent)}.pomo-calm .pomo-task-actions button{min-width:34px;min-height:36px;color:#876b9c;background:transparent}.pomo-calm .pomo-task-actions button:hover{background:#e8dff2;color:#60426f}
.pomo-calm .pomo-task-empty{padding:54px 28px}.pomo-calm .pomo-task-empty strong{font-size:1rem;font-weight:550;color:#674e78}.pomo-calm .pomo-task-empty p{font-size:.85rem;line-height:1.7;color:#756080}.pomo-calm .pomo-task-footer{border-top:1px solid #eee8f4;padding:12px 16px;font-size:.74rem;color:#756080;flex-wrap:wrap}
.pomo-calm .pomo-shortcuts{padding:14px 16px;gap:10px 14px;color:#7f6793;font-size:.75rem;border-top:1px solid #e9e1f0}.pomo-calm .pomo-shortcuts kbd{height:24px;min-width:24px;border-color:#daccdf;background:#faf7fd;font-size:.7rem}
.pomo-calm .pomo-settings-card{color:#4a365d}.pomo-calm .pomo-settings-card>header{border-color:#e9e0f0}.pomo-calm .pomo-settings-card>header span,.pomo-calm .pomo-settings-card h3{color:#796583;font-size:.75rem}.pomo-calm .pomo-settings-grid label,.pomo-calm .pomo-switch-row strong,.pomo-calm .pomo-select-row strong,.pomo-calm .pomo-range-row strong{font-size:.86rem;color:#5e486d}.pomo-calm .pomo-switch-row small,.pomo-calm .pomo-select-row small,.pomo-calm .pomo-range-row small{font-size:.74rem;color:#756080}.pomo-calm .pomo-settings-card input,.pomo-calm .pomo-settings-card select,.pomo-calm .pomo-settings-card button{font-size:.85rem;accent-color:var(--accent)}.pomo-calm .pomo-settings-card footer small{color:#7d6689;font-size:.75rem}.pomo-calm .pomo-setting-presets button{min-height:42px;font-size:.8rem;color:#715280}.pomo-calm .pomo-settings-card .is-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.pomo-calm .pomo-settings-card p{font-size:.85rem;line-height:1.6;color:#7b6485}.pomo-calm .pomo-resume p,.pomo-calm .pomo-interruption p{font-size:.85rem}
.pomo-calm.is-immersive .pomo-ring,html:fullscreen .pomo-calm .pomo-ring{width:min(460px,90%);margin:24px auto 18px}.pomo-calm.is-immersive .pomo-ring .pomo-time,html:fullscreen .pomo-calm .pomo-ring .pomo-time{font-size:clamp(4.5rem,10vw,8rem)}
@media(max-width:900px){.pomo-calm .pomo-app{grid-template-columns:1fr;max-width:620px;gap:20px}.pomo-calm .pomo-sidebar{width:100%}.pomo-calm .pomo-brand small{display:none}}
@media(max-width:650px){.pomo-calm .pomo-topbar{padding:12px;min-height:66px;flex-wrap:wrap;gap:10px}.pomo-calm .pomo-topbar-left{gap:10px}.pomo-calm .pomo-brand h1{font-size:.95rem}.pomo-calm .pomo-top-actions{gap:6px}.pomo-calm .pomo-top-button,.pomo-calm .pomo-header-more>summary{min-height:40px;font-size:.76rem;padding:8px 9px}.pomo-calm .pomo-app{width:calc(100% - 24px);padding-top:20px;gap:18px}.pomo-calm .pomo-timer-card{padding:18px 16px;border-radius:16px}.pomo-calm .pomo-ring{width:min(280px,100%);margin:20px auto 12px}.pomo-calm .pomo-ring .pomo-time{font-size:clamp(3.6rem,17.5vw,4.8rem)}.pomo-calm .pomo-phase-copy{font-size:.83rem;margin-bottom:20px}.pomo-calm .pomo-start{min-width:144px;height:48px}.pomo-calm .pomo-mode-tabs button{font-size:.78rem;min-height:44px}.pomo-calm .pomo-cycle-card{align-items:start}.pomo-calm .pomo-cycle-controls{flex-wrap:wrap;justify-content:flex-end;max-width:128px}.pomo-calm .pomo-cycle-card strong{font-size:.73rem}.pomo-calm .pomo-session-overview>div{padding:0 10px}.pomo-calm .pomo-session-overview span{font-size:.62rem}.pomo-calm .pomo-session-overview strong{font-size:.8rem}.pomo-calm .pomo-fold>summary small{flex-basis:100%;order:2}.pomo-calm .pomo-session-notes{grid-template-columns:1fr}.pomo-calm .pomo-task-form{grid-template-columns:minmax(0,1fr) 90px}.pomo-calm .pomo-task-empty{padding:36px 22px}.pomo-calm .pomo-header-more [data-new-session]{display:flex}.pomo-calm .pomo-tree-mini span{font-size:.6rem}.pomo-calm .pomo-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.pomo-calm .pomo-top-actions{width:100%;justify-content:flex-end}.pomo-calm .pomo-ring{width:244px}.pomo-calm .pomo-timer-card{padding:16px 12px}.pomo-calm .pomo-cycle-controls{max-width:105px}.pomo-calm .pomo-main-actions{gap:7px}.pomo-calm .pomo-start{min-width:130px}.pomo-calm .pomo-skip,.pomo-reset-button{width:42px;height:44px}.pomo-calm .pomo-session-overview span{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){body.pomo-calm,.pomo-calm *{transition:none!important;animation:none!important}}
.pomo-calm .pomo-brand h1{color:#463251}.pomo-calm .pomo-top-button{width:auto;white-space:nowrap;flex-shrink:0}
.pomo-calm .pomo-ring .pomo-tree-mini{transform:none;left:22px;right:22px;width:auto;max-width:none}
.pomo-calm .pomo-ring .pomo-tree-mini span{display:inline;max-width:none}
.pomo-calm .pomo-cycle-card{width:100%;flex-direction:row;align-items:center}.pomo-calm .pomo-cycle-card>.pomo-cycle-controls{display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;max-width:none;width:auto}
@media(max-width:650px){.pomo-calm .pomo-topbar{justify-content:space-between}.pomo-calm .pomo-top-actions{width:100%;justify-content:flex-end}.pomo-calm .pomo-cycle-card{flex-wrap:wrap;gap:10px}.pomo-calm .pomo-cycle-controls{margin-left:auto}.pomo-calm .pomo-tree-steps{bottom:30px}.pomo-calm .pomo-ring .pomo-tree-mini span{font-size:.61rem}.pomo-calm .pomo-top-button[data-open-report]{display:block}}
.pomo-calm .pomo-task-copy{border:0;border-radius:5px;background:transparent;padding:6px 2px;text-align:left;cursor:pointer;color:inherit;min-height:44px;max-width:100%}.pomo-calm .pomo-task-copy[aria-pressed="true"] strong{color:var(--accent-dark)}
.pomo-calm .pomo-settings-grid label>span{color:#77657e;font-size:.72rem}
.pomo-calm .pomo-task-copy small{color:#70567f}
.pomo-calm .pomo-report-tabs button:not(.is-active){color:#695870}.pomo-calm .pomo-report-summary>div{background:#f7f4fa;border-color:#e6dcec}.pomo-calm .pomo-report-summary span,.pomo-calm .pomo-report-summary small,.pomo-calm .pomo-report-day small{color:#766080;font-size:.72rem}.pomo-calm .pomo-report-bar{background:var(--accent)}.pomo-calm .pomo-report-bar::after{color:#705579;font-size:.66rem}.pomo-calm .pomo-template-row small,.pomo-calm .pomo-template-empty{color:#796383;font-size:.75rem}.pomo-calm .pomo-template-row strong{font-size:.87rem}

.pomo-calm .pomo-top-button[data-open-settings]::after,.pomo-calm .pomo-top-button[data-open-report]::after,.pomo-calm .pomo-top-button[data-fullscreen]::after{content:none}

/* Le temps et la tâche d’abord ; l’organisation se déplie à la demande. */
.pomo-calm .pomo-app{grid-template-areas:"focus tasks" "organisation tasks";row-gap:18px}
.pomo-calm .pomo-focus{grid-area:focus}
.pomo-calm .pomo-sidebar{grid-area:tasks;grid-row:auto;gap:12px}
.pomo-calm .pomo-organisation{grid-area:organisation;display:grid;gap:10px;min-width:0}
.pomo-calm .pomo-fold{margin-top:0}
.pomo-calm .pomo-fold>summary{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:14px 18px;min-height:62px}
.pomo-calm .pomo-fold>summary>span{grid-column:1;grid-row:1;font-weight:600}
.pomo-calm .pomo-fold>summary>small{grid-column:1;grid-row:2;margin:0;order:initial;font-size:.74rem}
.pomo-calm .pomo-fold>summary::after{grid-column:2;grid-row:1/3;align-self:center;margin:0;font-size:1rem}
.pomo-calm .pomo-timer-card{padding:20px 24px 16px}
.pomo-calm .pomo-ring{width:min(288px,100%);padding:30px 18px;margin:20px auto 16px}
.pomo-calm .pomo-ring .pomo-time{font-size:clamp(4.1rem,7.5vw,5.4rem)}
.pomo-calm .pomo-phase-copy{margin:0 0 18px}
.pomo-calm .pomo-active-task{max-width:480px;margin:0 auto 18px;gap:5px;text-align:left}
.pomo-calm .pomo-active-task strong{line-height:1.4;overflow-wrap:anywhere}
.pomo-calm .pomo-secondary-actions{margin-top:12px}
.pomo-calm .pomo-plan-content{padding:0 18px 16px;border-top:1px solid #e9e3f0}
.pomo-calm .pomo-growth-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:14px}
.pomo-calm .pomo-growth-summary .pomo-tree-mini{display:flex;align-items:center;gap:7px;position:static;transform:none;width:auto;max-width:100%;background:none;border:0;padding:0}
.pomo-calm .pomo-growth-summary .pomo-tree-mini span{color:#675573;font-size:.76rem;text-align:left}
.pomo-calm .pomo-growth-summary .pomo-tree-mini b{font-size:.72rem}
.pomo-calm .pomo-growth-summary .pomo-tree-steps{position:static;transform:none;display:flex;gap:6px;flex-wrap:wrap}
.pomo-calm .pomo-growth-summary .pomo-tree-steps span{color:#70597f;font-size:.74rem}
.pomo-calm .pomo-day-summary .pomo-stats{padding:0 16px 16px;gap:10px}
.pomo-calm .pomo-day-summary .pomo-stats>div{min-height:82px;background:#f8f6fb;border-color:#eee7f4;padding:14px}
.pomo-calm .pomo-day-summary .pomo-stats span{color:#756080}
.pomo-calm .pomo-sidebar>.pomo-fold:last-child>summary{min-height:50px}
.pomo-calm .pomo-task-empty{padding:40px 26px}
html:fullscreen .pomo-organisation,body.is-immersive .pomo-organisation{display:none}
html:fullscreen .pomo-app,body.is-immersive .pomo-app{display:block}
html:fullscreen .pomo-ring,body.is-immersive .pomo-ring{width:min(440px,70dvh,88vw)}
html:fullscreen .pomo-ring .pomo-time,body.is-immersive .pomo-ring .pomo-time{font-size:clamp(4.5rem,12vw,7rem)}
@media(max-width:920px){
  .pomo-calm .pomo-app{grid-template-columns:1fr;grid-template-areas:"focus" "tasks" "organisation";width:min(640px,calc(100% - 32px));gap:18px}
  .pomo-calm .pomo-sidebar{width:100%;grid-row:auto}
}
@media(max-width:650px){
  .pomo-calm .pomo-app{width:calc(100% - 24px);padding-top:14px;gap:14px}
  .pomo-calm .pomo-mode-tabs{margin-bottom:10px}
  .pomo-calm .pomo-timer-card{padding:16px 16px 12px}
  .pomo-calm .pomo-ring{width:min(252px,100%);margin:16px auto 14px}
  .pomo-calm .pomo-ring .pomo-time{font-size:4.5rem}
  .pomo-calm .pomo-phase-copy{font-size:.82rem;margin-bottom:16px}
  .pomo-calm .pomo-active-task{padding:10px 12px;margin-bottom:14px}
  .pomo-calm .pomo-active-task span,.pomo-calm .pomo-active-task small{font-size:.72rem}
  .pomo-calm .pomo-fold>summary{padding:12px 16px;min-height:54px}
  .pomo-calm .pomo-fold>summary>small{font-size:.71rem}
  .pomo-calm .pomo-session-overview>div{min-width:0;padding:0 8px}
  .pomo-calm .pomo-plan-content{padding-inline:14px}
  .pomo-calm .pomo-task-empty{padding:28px 22px}
  .pomo-calm .pomo-shortcuts{display:grid}
}
@media(max-width:380px){
  .pomo-calm .pomo-ring{width:236px}
  .pomo-calm .pomo-ring .pomo-time{font-size:4.1rem}
  .pomo-calm .pomo-session-overview{grid-template-columns:1fr;gap:10px}
  .pomo-calm .pomo-session-overview>div{padding:0;border-right:0}
}

.pomo-calm .pomo-task-copy strong{white-space:normal;overflow-wrap:anywhere;display:block;line-height:1.45;text-overflow:clip}

/* PHILOSOPHAL DARK V1 */
@media screen {
:root[data-site-theme="dark"]{--bg:#161627;--bg-deep:#1b1729;--panel:#1d1921;--panel-strong:#1b1627;--line:#5e4c80;--ink:#cfcadd;--muted:#bbb5c5}
html[data-site-theme="dark"] body.pomo-calm{--bg:#161627;--bg-deep:#1b1729;--ink:#cfcadd;--muted:#bbb5c5;--accent:#bda8d1;--accent-dark:#bea7d3;--accent-light:#1f1729;background:#161627}
html[data-site-theme="dark"] body.pomo-calm[data-pomo-mode="short"]{--bg:#161627;--bg-deep:#1b1729;--accent:#9adbdf;--accent-dark:#9adbdf;--accent-light:#172a28}
html[data-site-theme="dark"] body.pomo-calm[data-pomo-mode="long"]{--bg:#161627;--bg-deep:#1b1729;--accent:#b5ceab;--accent-dark:#b4ceab;--accent-light:#1e2a17}
html[data-site-theme="dark"] .pomo-calm :focus-visible{outline:3px solid #644587}
html[data-site-theme="dark"] .pomo-calm .pomo-topbar{border-bottom:1px solid #5b4983;background:#1d1921;color:#bbb0c9}
html[data-site-theme="dark"] .pomo-calm .public-tool-back{background:#1d1921;color:#bbb5c5;border:1px solid #604983}
html[data-site-theme="dark"] .pomo-calm .pomo-brand small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-top-button,html[data-site-theme="dark"] .pomo-calm .pomo-header-more>summary{border:1px solid #644a82;background:#1d1921;color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-top-button:hover,html[data-site-theme="dark"] .pomo-calm .pomo-header-more>summary:hover{background:#1f1628}
html[data-site-theme="dark"] .pomo-calm .pomo-auto-dot{background:#655874}
html[data-site-theme="dark"] .pomo-calm .pomo-top-button[aria-pressed="true"] .pomo-auto-dot{background:var(--ph-action-bg)}
html[data-site-theme="dark"] .pomo-header-more>div{background:#1d1921;border:1px solid #644884}
html[data-site-theme="dark"] .pomo-calm .pomo-mode-tabs{background:#1d1729;border:1px solid #5e4587}
html[data-site-theme="dark"] .pomo-calm .pomo-mode-tabs button{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-mode-tabs button:hover{background:rgba(29,25,33,0.502);color:#beadcc}
html[data-site-theme="dark"] .pomo-calm .pomo-mode-tabs button.is-active{background:#1d1921}
html[data-site-theme="dark"] .pomo-calm .pomo-timer-card{background:#1d1921;border:1px solid #614b81}
html[data-site-theme="dark"] .pomo-calm .pomo-session-line{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-ring{background:conic-gradient(from 0deg,var(--ph-action-bg) var(--progress),#1e1829 0)}
html[data-site-theme="dark"] .pomo-calm .pomo-ring::after{background:#1d1921}
html[data-site-theme="dark"] .pomo-calm .pomo-ring .pomo-time{color:#baabcf}
html[data-site-theme="dark"] .pomo-calm .pomo-ring>small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-tree-steps span{border:1px solid #664587;background:#1d1921;color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-phase-copy{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-start{background:var(--ph-action-bg);color:#e5e2e9}
html[data-site-theme="dark"] .pomo-calm .pomo-start:hover{background:var(--ph-action-bg)}
html[data-site-theme="dark"] .pomo-calm .pomo-skip,html[data-site-theme="dark"] .pomo-reset-button{border:1px solid #634785;background:#1d1921;color:#beb2c8}
html[data-site-theme="dark"] .pomo-secondary-actions>summary{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-sub-actions button{background:#1e1628;border:1px solid #684983;color:#beb0c9}
html[data-site-theme="dark"] .pomo-calm .pomo-sub-actions button:hover{color:#bda8d2}
html[data-site-theme="dark"] .pomo-calm .pomo-cycle-card span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-cycle-card strong{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-cycle-controls>button{background:#1d1921;border:1px solid #644785;color:#beb0c9}
html[data-site-theme="dark"] .pomo-calm .pomo-cycle-dots button{border:1px solid #624e7e;background:#1d1921}
html[data-site-theme="dark"] .pomo-calm .pomo-cycle-dots button.is-current{background:#2a1d34;border-color:#694884}
html[data-site-theme="dark"] .pomo-calm .pomo-cycle-dots button.is-done{background:var(--ph-action-bg)}
html[data-site-theme="dark"] .pomo-calm .pomo-session-overview{border-top:1px solid #624983;border-bottom:1px solid #624983}
html[data-site-theme="dark"] .pomo-calm .pomo-session-overview>div{border-right:1px solid #624983}
html[data-site-theme="dark"] .pomo-calm .pomo-session-overview span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-session-overview strong{color:#beaecb}
html[data-site-theme="dark"] .pomo-fold{border:1px solid #644983;background:#1d1921}
html[data-site-theme="dark"] .pomo-fold>summary{color:#bdaecb}
html[data-site-theme="dark"] .pomo-fold>summary::after{color:#bdafcb}
html[data-site-theme="dark"] .pomo-fold>summary small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-quick-card{border-top:1px solid #644785;background:#1d1921}
html[data-site-theme="dark"] .pomo-calm .pomo-presets button,html[data-site-theme="dark"] .pomo-calm .pomo-available button{border:1px solid #684587;background:#1e1627;color:#beacce}
html[data-site-theme="dark"] .pomo-calm .pomo-available{border-top:1px solid #664587}
html[data-site-theme="dark"] .pomo-calm .pomo-available label{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-available input{background:#1d1921;border-color:#664686;color:#bea9d0}
html[data-site-theme="dark"] .pomo-calm .pomo-active-task{border:1px solid #664587}
html[data-site-theme="dark"] .pomo-calm .pomo-active-task span,html[data-site-theme="dark"] .pomo-calm .pomo-active-task small{color:#beb1c8}
html[data-site-theme="dark"] .pomo-calm .pomo-session-notes{border-top:1px solid #644785}
html[data-site-theme="dark"] .pomo-calm .pomo-session-notes span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-session-notes input{border-color:#624f7d;background:#1d1921;color:#beaacf}
html[data-site-theme="dark"] .pomo-calm input::placeholder{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-stats>div{border:1px solid #624686;background:#1d1921}
html[data-site-theme="dark"] .pomo-calm .pomo-stats span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-stats strong{color:#bea7d2}
html[data-site-theme="dark"] .pomo-calm .pomo-stats small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-tasks{background:#1d1921;border:1px solid #624686}
html[data-site-theme="dark"] .pomo-calm .pomo-tasks>header{border-color:#6b4587}
html[data-site-theme="dark"] .pomo-calm .pomo-tasks>header span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-tasks h2{color:#bfabce}
html[data-site-theme="dark"] .pomo-calm .pomo-tasks>header button{background:#1d1921;border-color:#694587;color:#c0acce}
html[data-site-theme="dark"] .pomo-calm .pomo-tasks>header [data-add-task]{background:var(--ph-action-bg);color:#e5e2e9}
html[data-site-theme="dark"] .pomo-calm .pomo-task-form{background:#1d1627;border-color:#6c4785}
html[data-site-theme="dark"] .pomo-calm .pomo-task-form label{color:#c0afca}
html[data-site-theme="dark"] .pomo-calm .pomo-task-form input{background:#1d1921;border-color:#6a4785;color:#bfabcf}
html[data-site-theme="dark"] .pomo-calm .pomo-task-form button,html[data-site-theme="dark"] .pomo-calm .pomo-task-footer button{color:#bfafca;background:#201728;border:1px solid #6e4884}
html[data-site-theme="dark"] .pomo-calm .pomo-task-form button.is-primary{background:var(--ph-action-bg);color:#e5e2e9}
html[data-site-theme="dark"] .pomo-calm .pomo-task{border-color:#6b4587}
html[data-site-theme="dark"] .pomo-calm .pomo-task:hover{background:#1d1627}
html[data-site-theme="dark"] .pomo-calm .pomo-task-copy strong{color:#c2abce}
html[data-site-theme="dark"] .pomo-calm .pomo-task-copy small{color:#bfb1c8}
html[data-site-theme="dark"] .pomo-calm .pomo-task-check{border-color:#6b4884;background:#1d1921;color:#c0abcf}
html[data-site-theme="dark"] .pomo-calm .pomo-task-check.is-done{background:var(--ph-action-bg);color:#e5e2e9}
html[data-site-theme="dark"] .pomo-calm .pomo-task-actions button{color:#bfb0ca}
html[data-site-theme="dark"] .pomo-calm .pomo-task-actions button:hover{background:#21182b;color:#c2acce}
html[data-site-theme="dark"] .pomo-calm .pomo-task-empty strong{color:#bfafcb}
html[data-site-theme="dark"] .pomo-calm .pomo-task-empty p{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-task-footer{border-top:1px solid #664587;color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-shortcuts{color:#beb1c8;border-top:1px solid #684587}
html[data-site-theme="dark"] .pomo-calm .pomo-shortcuts kbd{border-color:#624f7d;background:#1e1627}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-card{color:#bdabce}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-card>header{border-color:#6a4587}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-card>header span,html[data-site-theme="dark"] .pomo-calm .pomo-settings-card h3{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-grid label,html[data-site-theme="dark"] .pomo-calm .pomo-switch-row strong,html[data-site-theme="dark"] .pomo-calm .pomo-select-row strong,html[data-site-theme="dark"] .pomo-calm .pomo-range-row strong{color:#bfafca}
html[data-site-theme="dark"] .pomo-calm .pomo-switch-row small,html[data-site-theme="dark"] .pomo-calm .pomo-select-row small,html[data-site-theme="dark"] .pomo-calm .pomo-range-row small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-card footer small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-setting-presets button{color:#c2aecb}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-card .is-primary{background:var(--ph-action-bg);color:#e5e2e9}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-card p{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-brand h1{color:#c1adcc}
html[data-site-theme="dark"] .pomo-calm .pomo-settings-grid label>span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-task-copy small{color:#c0b0c9}
html[data-site-theme="dark"] .pomo-calm .pomo-report-tabs button:not(.is-active){color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-report-summary>div{background:#1f1628;border-color:#6e4884}
html[data-site-theme="dark"] .pomo-calm .pomo-report-summary span,html[data-site-theme="dark"] .pomo-calm .pomo-report-summary small,html[data-site-theme="dark"] .pomo-calm .pomo-report-day small{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-report-bar{background:var(--ph-action-bg)}
html[data-site-theme="dark"] .pomo-calm .pomo-report-bar::after{color:#c2b1c8}
html[data-site-theme="dark"] .pomo-calm .pomo-template-row small,html[data-site-theme="dark"] .pomo-calm .pomo-template-empty{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-plan-content{border-top:1px solid #644785}
html[data-site-theme="dark"] .pomo-calm .pomo-growth-summary .pomo-tree-mini span{color:#bbb5c5}
html[data-site-theme="dark"] .pomo-calm .pomo-growth-summary .pomo-tree-steps span{color:#bfb1c8}
html[data-site-theme="dark"] .pomo-calm .pomo-day-summary .pomo-stats>div{background:#1d1627;border-color:#694587}
html[data-site-theme="dark"] .pomo-calm .pomo-day-summary .pomo-stats span{color:#bbb5c5}
}
