:root{color-scheme:dark;--bg:#0c1220;--panel:#131c2e;--surface:#1a263b;--line:#2c3850;--text:#eff3fa;--muted:#a6b1c5;--accent:#b3f36b;--accent-ink:#172611;--phase:var(--accent)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 'Segoe UI',system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}header{max-width:1360px;margin:auto;padding:28px 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-size:27px;font-weight:650;letter-spacing:-1px}.brand-icon{font-size:36px;color:var(--accent)}.brand-tag{font-size:12px;color:var(--muted);letter-spacing:2px;margin-left:12px;font-weight:500}.header-actions{display:flex;gap:24px;align-items:center}.local-label,.today{font-size:14px;color:var(--muted)}main{max-width:1280px;margin:36px auto;display:grid;grid-template-columns:1fr 1.05fr;gap:32px;padding:0 32px}.timer-panel{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:24px 28px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.eyebrow{font-size:12px;letter-spacing:1.8px;color:var(--muted);font-weight:650}.quiet{border:0;background:transparent;color:var(--muted);padding:8px;border-radius:8px;font-size:14px}.quiet:hover{background:var(--surface);color:var(--text)}.phase-tabs{display:flex;justify-content:center;gap:5px;background:var(--bg);border-radius:12px;padding:5px;margin:28px auto 22px;max-width:380px;font-size:14px}.phase-tabs span{padding:8px 10px;border-radius:8px;text-align:center;flex:1}.phase-tabs .selected{background:var(--surface);color:var(--phase)}.dial{--progress:0deg;width:302px;height:302px;border-radius:50%;padding:7px;background:conic-gradient(var(--phase) var(--progress),#2c3850 0);margin:24px auto;box-shadow:0 0 50px #0002}.dial-inner{width:100%;height:100%;background:var(--panel);border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.phase-label{color:var(--phase);font-size:14px;font-weight:600}#clock{font-size:76px;font-weight:650;letter-spacing:-4px;line-height:1.4;font-variant-numeric:tabular-nums}#timer-state{color:var(--muted);font-size:14px}.timer-controls{display:flex;align-items:center;justify-content:center;gap:18px}.primary{border:0;background:var(--accent);color:var(--accent-ink);padding:13px 23px;border-radius:11px;font-weight:700}.primary:hover{filter:brightness(1.07)}#start{min-width:174px;background:var(--phase)}.icon-button{width:44px;height:44px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:12px;font-size:24px}.icon-button:hover{background:var(--surface);color:var(--text)}.cycle-status{display:flex;flex-direction:column;align-items:center;gap:10px;margin:25px 0;font-size:14px;color:var(--muted)}#cycle-dots{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.cycle-dot{width:9px;height:9px;background:var(--line);border-radius:50%}.cycle-dot.filled{background:var(--accent)}.focus-card{border-top:1px solid var(--line);padding:21px 5px 8px;display:flex;flex-direction:column;gap:7px}.focus-card strong{font-weight:550;overflow-wrap:anywhere}.focus-card>span:last-child{font-size:14px;color:var(--muted)}.timer-footnote{font-size:12px;color:var(--muted);margin:18px 5px 0;max-width:460px}.tasks-panel{padding:4px 0}.tasks-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 26px}.tasks-heading h1{font-size:30px;margin:6px 0 0;font-weight:600;letter-spacing:-1px}#task-count{font-size:16px;color:var(--muted);background:var(--surface);padding:2px 10px;border-radius:8px;margin-left:6px;vertical-align:middle}.task-form{background:var(--panel);border:1px solid var(--line);padding:20px;border-radius:16px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:var(--muted)}input,select{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:var(--bg);color:var(--text)}input::placeholder{color:#7e8ba4}#task-title{margin:9px 0 16px;padding:12px;font-size:16px}.form-row{display:grid;grid-template-columns:1fr 1.15fr auto;gap:12px;align-items:end}.add{padding:11px 15px}.list-toolbar{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px;font-size:14px;color:var(--muted)}.task{display:grid;grid-template-columns:24px 1fr;gap:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:16px;margin-bottom:12px}.task.active{border-color:var(--accent);background:#192733}.task-check{accent-color:var(--accent);width:19px;height:19px;margin:5px 0;cursor:pointer}.task-title{font-size:16px;font-weight:550;margin:0;overflow-wrap:anywhere}.task.done .task-title{text-decoration:line-through;color:var(--muted)}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px;font-size:12px;color:var(--muted)}.priority{border-radius:5px;padding:2px 7px}.priority-3{color:#ffb4ad;background:#ff78651c}.priority-2{color:#f2cd78;background:#f2cd7818}.priority-1{color:#90baf7;background:#90baf718}.task-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:10px}.task-buttons{display:flex;gap:4px}.task-buttons .quiet{padding:5px 7px}.focus-button{font-size:13px;color:var(--accent);border:1px solid #b3f36440;background:transparent;border-radius:7px;padding:5px 9px}.focus-button:hover{background:#b3f36410}.progress-track{height:5px;background:var(--line);border-radius:5px;margin-top:13px;overflow:hidden}.progress-fill{height:100%;background:var(--accent);border-radius:5px}.empty{text-align:center;padding:52px 10px;color:var(--muted)}.empty-icon{display:inline-grid;place-items:center;border:1px dashed var(--line);width:62px;height:62px;border-radius:20px;font-size:26px;color:var(--accent)}.empty h2{font-size:18px;color:var(--text);font-weight:500;margin:18px 0 7px}.empty p{font-size:14px;margin:0}.completed-toggle{margin:12px 0}footer{max-width:1280px;margin:24px auto;padding:20px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}footer b{font-weight:400}dialog{border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);width:min(490px,calc(100% - 32px));padding:28px;max-height:90vh;overflow:auto}dialog::backdrop{background:#050913ba;backdrop-filter:blur(5px)}dialog h2{font-size:25px;font-weight:600;margin:0 0 12px}dialog p{color:var(--muted);font-size:15px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.check-label{flex-direction:row;align-items:center;gap:12px}.check-label input{width:18px;height:18px;accent-color:var(--accent)}.small{font-size:13px!important}.finish-symbol{display:grid;place-items:center;background:#b3f3641a;color:var(--accent);width:60px;height:60px;border-radius:20px;font-size:28px;margin-bottom:20px}#finish-dialog .eyebrow{display:block;margin-bottom:10px}.finish-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}.secondary{border:1px solid var(--line);color:var(--text);background:var(--surface);border-radius:11px;padding:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--bg);border-radius:10px;padding:12px 18px;max-width:90vw;box-shadow:0 8px 40px #0004;font-size:14px;z-index:5}#toast:empty{display:none}[hidden]{display:none!important}@media(max-width:960px){main{gap:20px;padding:0 22px}.timer-panel{padding:22px 18px}.form-row{grid-template-columns:1fr 1fr}.add{grid-column:1/-1}.section-top{align-items:flex-start}.dial{width:270px;height:270px}#clock{font-size:68px}.today{display:none}}@media(max-width:720px){header{padding:18px 20px}.brand-tag,.local-label{display:none}.brand{font-size:24px}main{grid-template-columns:1fr;margin:22px auto;padding:0 16px;max-width:540px}.timer-panel{padding:22px}.dial{width:min(280px,100%);aspect-ratio:1;height:auto}.tasks-panel{padding:14px 4px}.section-top>.eyebrow{font-size:11px}.section-top .quiet{font-size:13px}footer{margin:10px 16px;padding:20px 0;flex-direction:column;gap:8px}.task-form{padding:16px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,filter .15s}.progress-fill{transition:width .3s}}@media(max-width:360px){.phase-tabs{font-size:12px}.phase-tabs span{padding:8px 4px}#clock{font-size:62px}.timer-panel{padding:16px}.list-toolbar{align-items:flex-start}.list-toolbar>div{display:flex;flex-direction:column}}
/* Themes and activity tide */
:root{--phase-color:#b3f36b;--primary-text:#172611;--tide-opacity:.16}
:root[data-theme="light"]{color-scheme:light;--bg:#edf2f8;--panel:#ffffff;--surface:#e7eef7;--line:#ccd7e4;--text:#182338;--muted:#506078;--accent:#386b0b;--accent-ink:#ffffff;--primary-text:#ffffff;--tide-opacity:.25}
body{isolation:isolate;min-height:100vh}
header,main,footer{position:relative;z-index:1}
.tide{position:fixed;inset:auto 0 0;height:45vh;pointer-events:none;z-index:-1;overflow:hidden;color:var(--phase-color);opacity:var(--tide-opacity);transition:color 1.2s,opacity .5s}
.tide svg{width:200%;height:100%;display:block;animation:tide-drift 22s linear infinite}
.wave{fill:currentColor}.wave-back{opacity:.35}.wave-front{opacity:.6;transform-origin:center;animation:tide-rise 8s ease-in-out infinite alternate}
@keyframes tide-drift{to{transform:translateX(-50%)}}
@keyframes tide-rise{to{transform:translateY(30px)}}
.timer-panel,.task-form,.task{background:color-mix(in srgb,var(--panel) 94%,transparent)}
.tasks-panel{border-radius:16px}.task.active{background:color-mix(in srgb,var(--panel) 94%,var(--accent))}
.dial{background:conic-gradient(var(--phase) var(--progress),var(--line) 0)}
#start{color:var(--primary-text)}
.time-adjustments{display:flex;justify-content:center;align-items:center;gap:8px;margin:18px 0 12px}
.time-adjustments>span{font-size:12px;color:var(--muted);padding:0 2px}
.minute-button{min-width:43px;min-height:38px;padding:7px 9px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;font-size:14px;font-variant-numeric:tabular-nums}
.minute-button:hover{border-color:var(--phase)}
.complete-phase{display:block;margin:0 auto;border:1px solid color-mix(in srgb,var(--phase) 50%,var(--line));background:transparent;color:var(--phase);border-radius:9px;padding:9px 14px;font-size:14px;font-weight:600}
.complete-phase:hover{background:color-mix(in srgb,var(--phase) 10%,transparent)}
.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}
.focus-button{border-color:var(--accent)}
:root[data-theme="light"] .priority-3{color:#a5372d;background:#ffe7e3}
:root[data-theme="light"] .priority-2{color:#785700;background:#fff0c7}
:root[data-theme="light"] .priority-1{color:#265ea6;background:#e4efff}
:root[data-theme="light"] .finish-symbol{background:#eaf4df}
:root[data-theme="light"] dialog::backdrop{background:#15213966}
:root[data-theme="light"] input::placeholder{color:#65748a}
.header-actions{gap:14px}
@media(max-width:960px){.local-label{display:none}}
@media(max-width:480px){.header-actions{gap:4px}.header-actions .quiet{font-size:12px;padding:7px 5px}header{padding:16px}.brand{gap:6px;font-size:22px}.brand-icon{font-size:28px}.timer-controls{gap:12px}#start{min-width:150px}.time-adjustments{gap:6px}.tide{height:55vh}}
@media(prefers-reduced-motion:reduce){.tide svg,.wave-front{animation:none}.tide{transition:none}}
/* Timer controls and immutable task history */
main{align-items:start}.timer-column{min-width:0;display:flex;flex-direction:column;gap:20px}
.timer-controls{gap:12px}.timer-controls .complete-phase{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin:0;padding:0;font-size:23px;color:var(--phase);border-color:var(--phase)}
.time-adjustments{flex-wrap:wrap;gap:8px;max-width:350px;margin:18px auto 12px}.minute-button{min-width:54px}
.reset-time{flex-basis:100%;margin-top:2px;background:transparent;color:var(--muted);font-size:13px}
.history-panel{padding:22px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--panel) 94%,transparent)}
.history-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.history-heading h2{font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.3px;margin:0}.history-count{color:var(--muted);background:var(--surface);border-radius:7px;padding:2px 9px;font-size:14px}
.history-list{max-height:350px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding-right:5px;outline-offset:3px}
.history-entry{padding:16px 0;border-top:1px solid var(--line)}.history-entry:first-child{padding-top:0;border-top:0}.history-entry h3{margin:0;font-size:16px;font-weight:550;overflow-wrap:anywhere}
.history-times{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:13px 0}.history-times>div{display:flex;flex-direction:column;gap:3px}.history-times span{font-size:12px;color:var(--muted)}.history-times time{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.history-repeat{padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:14px}.history-repeat:hover{border-color:var(--accent);color:var(--accent)}
.history-empty{margin:0;font-size:14px;color:var(--muted)}
@media(max-width:480px){.timer-controls{gap:8px}.timer-controls #start{min-width:138px}.time-adjustments{max-width:290px}.history-panel{padding:20px}.history-list{max-height:320px}}
.history-panel{grid-column:1/-1}.history-entry{display:grid;grid-template-columns:minmax(160px,1fr) minmax(350px,1.8fr) auto;column-gap:24px;align-items:center}.history-entry h3{grid-column:1;grid-row:1}.history-entry .task-meta{grid-column:1;grid-row:2}.history-times{grid-column:2;grid-row:1/3;grid-template-columns:1fr 1fr minmax(90px,.6fr);margin:0}.history-repeat{grid-column:3;grid-row:1/3}.history-times strong{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.timer-controls #start{min-width:140px}.timer-controls .icon-button{flex-shrink:0}.time-adjustments{flex-wrap:nowrap;max-width:350px}.refresh-time{font-size:23px;padding:1px 7px;line-height:1.3}
.tide svg,.wave-front{animation-play-state:paused}.tide{transition:color 1.2s,opacity .8s,filter .8s;filter:saturate(1)}
:root[data-running="true"] .tide{opacity:.42;filter:saturate(1.45)}:root[data-theme="light"][data-running="true"] .tide{opacity:.55}
:root[data-running="true"] .tide svg,:root[data-running="true"] .wave-front{animation-play-state:running}
@media(max-width:1050px){.history-entry{grid-template-columns:1fr auto}.history-times{grid-column:1/-1;grid-row:3;margin-top:14px}.history-repeat{grid-column:2;grid-row:1/3}}
@media(max-width:480px){.timer-controls{gap:6px}.timer-controls #start{min-width:118px;padding:13px 15px}.timer-controls .icon-button{width:40px;height:44px}.minute-button{min-width:46px;padding:7px 8px}.time-adjustments{gap:6px}.history-entry{display:block}.history-times{grid-template-columns:1fr 1fr;margin:14px 0}.history-times>div:last-child{grid-column:1/-1}.history-repeat{margin-top:0}}
@media(max-width:360px){.timer-controls #start{min-width:104px;padding:13px 10px}.timer-controls .icon-button{width:36px}.minute-button{min-width:42px}.time-adjustments{gap:4px}}
@media(prefers-reduced-motion:reduce){:root[data-running="true"] .tide svg,:root[data-running="true"] .wave-front{animation:none}.tide{transition:none}}
@media(min-width:721px) and (max-width:960px){.timer-controls{gap:8px}.timer-controls #start{min-width:118px;padding:13px 15px}}
.history-actions{grid-column:3;grid-row:1/3;display:flex;align-items:center;gap:8px}.history-delete{width:40px;height:40px;flex-shrink:0;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font-size:22px;line-height:1;display:grid;place-items:center}.history-delete:hover{color:#e45e53;border-color:#e45e53;background:#e45e5312}
@media(max-width:1050px){.history-actions{grid-column:2;grid-row:1/3}}
@media(max-width:600px){.history-entry{display:block}.history-times{margin:14px 0}.history-actions{margin-top:14px;flex-wrap:wrap}}
/* Tidework Timer identity */
.brand{gap:13px;letter-spacing:-1px}.brand-mark{display:flex;flex-shrink:0;width:52px;height:52px}.brand-mark svg{width:100%;height:100%;display:block}.brand-wordmark{font-size:29px;line-height:1.1;font-weight:700;display:flex;flex-direction:column;gap:5px}.brand-descriptor{font-size:11px;line-height:1;letter-spacing:4px;font-weight:600;color:var(--muted);padding-left:2px}
.header-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}.language-control{display:flex;flex-direction:row;align-items:center;gap:6px}.language-icon{color:var(--muted);font-size:23px}.language-control select{width:auto;max-width:190px;font-size:14px;padding:8px 10px;background:var(--surface)}
.empty p{max-width:290px;margin:auto}.task-form .form-row label>span{min-height:21px}.check-label>span{line-height:1.4}
@media(max-width:1160px){.header-actions .local-label{display:none}}
@media(max-width:720px){header{gap:18px;flex-wrap:wrap;align-items:center}.header-actions{gap:8px}.brand-mark{width:44px;height:44px}.brand-wordmark{font-size:25px}.brand-descriptor{font-size:10px}.language-control select{max-width:174px}}
@media(max-width:480px){header{gap:13px}.brand{gap:10px}.header-actions{width:100%;justify-content:space-between;gap:5px}.header-actions .quiet{font-size:12px}.language-control{gap:4px}.language-control select{max-width:162px;font-size:12px}.language-icon{font-size:19px}}
@media(max-width:480px){.language-control select{max-width:140px;width:140px}.language-icon{display:none}.header-actions .quiet{padding:7px 3px}}
/* Sound previews stay inside the cycle settings and never change timer state. */
.sound-palette{margin:24px 0;padding-top:18px;border-top:1px solid var(--line)}
.sound-palette p{margin:8px 0 12px}
.sound-preview-row{display:flex;gap:10px;align-items:center}
.sound-preview-row select{flex:1;min-width:0}
.sound-preview-row button{flex-shrink:0}
@media(max-width:420px){.sound-preview-row{align-items:stretch;flex-direction:column}}
/* Reorder from the handle so task buttons and touch scrolling keep working. */
.task{position:relative}
.task-title-row{display:flex;align-items:flex-start;gap:8px}
.task-title-row .task-title{flex:1;min-width:0;padding-top:3px}
.task-drag-handle{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;margin:-5px -6px 0 0;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.task-drag-handle:hover{background:var(--surface);color:var(--text)}
.task-drag-handle:disabled{opacity:.25;touch-action:pan-y}
.task-order-hint{font-size:12px;color:var(--muted);margin:0 0 14px}
.task-dragging{opacity:.35}
.task-drag-ghost{position:fixed!important;z-index:2000;margin:0!important;pointer-events:none;box-shadow:0 18px 45px #0005;border-color:var(--phase);opacity:.94}
.task-drop-before::before,#tasks.task-drop-end::after{content:'';position:absolute;left:0;right:0;height:3px;border-radius:4px;background:var(--phase);pointer-events:none}
.task-drop-before::before{top:-8px}
#tasks{position:relative}
#tasks.task-drop-end::after{bottom:-5px}
.task-reordering,.task-reordering body{cursor:grabbing;user-select:none;-webkit-user-select:none}
.task-reordering .task-drag-handle{cursor:grabbing}
/* Compact pending cards; keep the drag target generous without adding a row. */
.task{grid-template-columns:22px minmax(0,1fr);gap:10px;padding:12px 14px;margin-bottom:8px;border-radius:12px}
.task .task-check{margin:2px 0}
.task-title-row{min-height:22px;padding-right:36px}
.task-title-row .task-title{padding-top:0;line-height:1.35}
.task .task-drag-handle{position:absolute;top:6px;right:7px;width:40px;height:40px;margin:0}
.task .task-meta{margin-top:4px;gap:8px;padding-right:36px;line-height:1.4}
.task .progress-track{height:4px;margin-top:7px}
.task .task-bottom{margin-top:7px;flex-wrap:wrap}
.task .task-buttons{margin-left:auto}
.task .quiet{padding:4px 8px;font-size:13px}
.task .focus-button{padding:4px 9px;line-height:1.4}
.task-drop-before::before{top:-6px}
/* Selection sits above editing in the right-hand action column. */
.task-content{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr;grid-template-areas:"title actions" "meta actions" "progress actions";gap:4px 12px;align-items:start}
.task .task-title-row{grid-area:title;min-height:30px}
.task .task-meta{grid-area:meta;margin-top:0;padding-right:0}
.task .progress-track{grid-area:progress;margin-top:3px;align-self:start}
.task .task-bottom{grid-area:actions;margin-top:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:3px}
.task .task-buttons{margin:0;align-items:center}
.task .task-delete{display:grid;place-items:center;width:30px;height:28px;padding:4px;color:#bc7b82;border-radius:7px}
.task .task-delete:hover{color:#e38e93;background:#bc7b8214}
:root[data-theme="light"] .task .task-delete{color:#a8636a}
:root[data-theme="light"] .task .task-delete:hover{color:#b84f5c;background:#a8636a12}
/* The drag handle sits beside the whole action stack, rather than above it. */
.task .task-title-row{min-height:22px;padding-right:0}
.task-controls{grid-area:actions;display:flex;align-items:center;gap:6px;min-width:0}
.task .task-bottom{flex-shrink:0}
.task .task-drag-handle{position:static;width:40px;height:40px;margin:0}

/* Comfortable standalone display, including iPhone safe areas. */
body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
#pwa-open{white-space:nowrap}
#pwa-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto}
#pwa-dialog h3{font-size:16px;margin:0 0 10px}
#pwa-install-help{line-height:1.6}
.pwa-notification-section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}
.pwa-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pwa-actions button,#pwa-install,#pwa-update{min-height:42px}
@media(max-width:640px){body{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.header-actions{flex-wrap:wrap}}
