.pomo-turn{width:100%;max-width:460px;margin:0 0 24px;align-self:flex-start;color:#24262b}
.pomo-command{width:fit-content;max-width:90%;margin:0 0 22px auto;padding:16px 18px;border-radius:26px;background:#fff;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.pomo-tile{position:relative;overflow:hidden;isolation:isolate;background:#ef5b3c;border-radius:28px;color:#fff;min-height:204px}
.pomo-progress{position:absolute;inset:0 auto 0 0;background:rgba(0,0,0,.3);z-index:-1}
.pomo-inner{padding:14px 22px 18px;min-height:204px;display:flex;flex-direction:column;box-sizing:border-box}
.pomo-heading{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}
.pomo-time{font-size:68px;font-weight:700;line-height:1.12;font-variant-numeric:tabular-nums;letter-spacing:-.025em;white-space:nowrap}
.pomo-time.pomo-title{font-size:46px;line-height:1.25}
.pomo-turn button{cursor:pointer;font-family:inherit;border:0;box-shadow:none}
.pomo-turn .pomo-edit{flex-shrink:0;background:transparent;color:#fff;min-width:44px;min-height:44px;padding:6px 0;font-size:16px;font-weight:600}
.pomo-status{font-size:14px;line-height:22px;font-weight:600;margin-top:4px}
.pomo-actions{display:flex;gap:10px;margin-top:auto;padding-top:22px}
.pomo-actions button{flex:1;min-width:0;min-height:50px;border-radius:28px;padding:10px 12px;font-size:16px;line-height:24px;font-weight:600}
.pomo-primary{background:#fff;color:#24262b}.pomo-actions .pomo-secondary{background:rgba(0,0,0,.25);color:#fff}
.pomo-done,.pomo-done .pomo-inner{min-height:184px}.pomo-done .pomo-actions button{min-height:56px;font-size:17px}
.pomo-task{margin-top:16px}.pomo-task label{display:block;font-size:14px;color:#6e6e68;line-height:22px;margin-bottom:6px}
.pomo-task input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #e6e4df;border-radius:18px;background:#faf9f7;padding:16px;font-size:16px;color:#24262b;box-shadow:none;outline:none}
.pomo-task input:focus,.pomo-task input:focus-visible{outline:none;box-shadow:none;border-color:#c9c6c0}
.pomo-task p{font-size:16px;overflow-wrap:anywhere}.pomo-history{margin:24px 0 0;font-size:13px;color:#fff}
.pomo-turn [data-pomo-error]{color:#a13629;font-size:14px;line-height:22px;margin-top:10px}
#pomo-settings{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:100%;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:28px 28px 0 0;overflow:auto;background:#fff;color:#24262b;scrollbar-width:none}
#pomo-settings::backdrop{background:rgba(0,0,0,.36)}
.pomo-sheet{padding:10px 20px max(16px,env(safe-area-inset-bottom));box-sizing:border-box}
.pomo-sheet-handle{width:40px;height:4px;background:#dad7d1;border-radius:8px;margin:0 auto 16px}
.pomo-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.pomo-sheet h2{font-size:20px;line-height:28px;margin:0;font-weight:700}
.pomo-sheet header button{width:44px;height:44px;padding:10px;background:transparent;border:0;color:#24262b}
.pomo-sheet header svg{width:24px;height:24px}
.pomo-wheels{display:flex;gap:8px}.pomo-wheel-column{flex:1;min-width:0;text-align:center;font-size:14px;font-weight:600}
.pomo-wheel-frame{position:relative;height:220px;margin-top:4px}
.pomo-wheel-selection{position:absolute;inset:90px 6px auto;height:40px;border-radius:24px;background:#f4f2ee;pointer-events:none}
.pomo-wheel{position:relative;height:220px;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;padding-block:88px;box-sizing:border-box;touch-action:pan-y}
.pomo-wheel::before,.pomo-wheel::after{content:none}
.pomo-wheel-frame::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(#fff,transparent 28%,transparent 72%,#fff)}
.pomo-wheel [role=option]{height:44px;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;color:#898983;font-size:17px;font-weight:500;cursor:pointer}
.pomo-wheel [aria-selected=true]{color:#24262b;font-size:20px;font-weight:700}
.pomo-sheet footer{display:flex;gap:10px;margin-top:18px}.pomo-sheet footer button{flex:1;border:0;border-radius:18px;min-height:50px;background:#f2f0eb;color:#24262b;font-size:16px;font-weight:600}
.pomo-sheet footer #pomo-settings-save{background:#24262b;color:#fff}
#pomo-reset-hint{font-size:13px;line-height:20px;background:#fdece7;color:#a13629;border-radius:12px;padding:10px 12px;margin:10px 0 0}
#pomo-settings-error{font-size:14px;color:#a13629;margin:6px 0 0}
#pomo-settings::-webkit-scrollbar,.pomo-wheel::-webkit-scrollbar{display:none}
.pomo-turn button:focus-visible,.pomo-sheet button:focus-visible,.pomo-wheel:focus-visible{outline:2px solid #24262b;outline-offset:3px}
.pomo-turn button:active,.pomo-sheet button:active{filter:brightness(.93)}
@media(max-width:360px){.pomo-inner{padding-inline:18px}.pomo-time{font-size:58px}.pomo-time.pomo-title{font-size:36px}.pomo-status{font-size:13px}.pomo-sheet{padding-inline:16px}.pomo-wheels{gap:4px}.pomo-wheel-selection{left:2px;right:2px}}
@media(prefers-reduced-motion:reduce){.pomo-turn,.pomo-progress{transition:none;animation:none}}
