/* Notifications settings, introduction and iPhone note. Facelift tokens only, so light, dark and swim themes follow. */
.push-body{gap:14px!important}
.push-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r-card);padding:14px;display:flex;flex-direction:column;gap:12px}
.push-on{display:flex;flex-direction:column;gap:14px}
.push-on[hidden],.push-more[hidden]{display:none!important}
.push-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.push-title{font-size:16px;font-weight:600;color:var(--text)}
.push-sub{font-size:13px;line-height:1.45;color:var(--muted);margin:0}
.push-label{font-size:14px;font-weight:600;color:var(--text);margin-top:2px}
.push-more{display:flex;flex-direction:column;gap:10px}
.push-switch{flex:none;width:52px;height:44px;padding:0;border:0!important;background:transparent!important;display:flex;align-items:center;justify-content:center;cursor:pointer;min-height:44px!important}
.push-switch span{position:relative;display:block;width:48px;height:28px;border-radius:14px;box-sizing:border-box;border:1px solid var(--muted);background:transparent;transition:background .15s,border-color .15s}
.push-switch span::after{content:"";position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:10px;background:var(--muted);transition:right .15s,left .15s,background .15s}
.push-switch[aria-checked="true"] span{background:var(--action);border-color:var(--action)}
.push-switch[aria-checked="true"] span::after{right:auto;left:3px;background:var(--on-action)}
.push-switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--r-ctl)}
.push-switch:disabled{opacity:.5}
.push-mode{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--r-ctl);background:var(--soft);font-size:13px;line-height:1.4;color:var(--text)}
.push-mode img{width:30px;height:24px;object-fit:contain;flex:none}
.push-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.push-levels button{min-height:58px!important;padding:6px 2px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:14px;font-weight:600;color:var(--text)!important;border-radius:var(--r-ctl)!important;background:transparent!important;border:2px solid var(--line)!important;cursor:pointer}
.push-levels button[aria-pressed="true"]{background:var(--soft)!important;border-color:var(--accent)!important}
.push-levels i{display:block;width:24px;height:6px;border-radius:3px;box-shadow:0 0 0 1px var(--line)}
.push-beaches{display:flex;flex-direction:column}
.push-beach{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line-2);font-size:15px;color:var(--text)}
.push-time{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line-2);padding-top:8px;font-size:15px;color:var(--text)!important;font-weight:400!important}
.push-hours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.push-hours label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.push-card input[type=time]{height:44px;min-height:44px!important;box-sizing:border-box;padding:0 10px;font:inherit;font-size:15px;color:var(--text)!important;background:var(--bg)!important;border:1px solid var(--line)!important;border-radius:var(--r-ctl)!important}
.push-soon{font-size:13px;color:var(--text-2);background:var(--soft);border-radius:var(--r-chip);padding:6px 10px}
.push-test{min-height:48px;border-radius:var(--r-ctl)!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;font-weight:600;cursor:pointer}
.push-status{min-height:1.4em;margin:0;font-size:14px;color:var(--text-2)}
/* introduction and iPhone note */
dialog.push-dialog{width:min(358px,calc(100vw - 32px));box-sizing:border-box;border:1px solid var(--line)!important;padding:24px 20px 20px;background:var(--panel);color:var(--text);display:flex;flex-direction:column;gap:14px;text-align:center}
dialog.push-dialog:not([open]){display:none}
dialog.push-dialog::backdrop{background:rgba(0,0,0,.6)}
dialog.push-dialog h2{margin:0;font-size:21px;font-weight:600}
.push-badge{width:56px;height:56px;border-radius:16px;background:var(--soft);color:var(--accent);display:flex;align-items:center;justify-content:center;align-self:center}
.push-badge svg{width:30px;height:30px}.push-badge img{width:40px;height:40px;object-fit:contain}
.push-lead{margin:0;font-size:15px}
.push-text{margin:0;font-size:15px;line-height:1.5;color:var(--text-2)}
.push-list{margin:0;padding:10px 14px;list-style:none;background:var(--bg);border-radius:var(--r-ctl);display:flex;flex-direction:column;gap:6px;font-size:14px;text-align:start}
.push-list li{display:flex;align-items:center;gap:8px}
.push-list li::before{content:"";width:6px;height:6px;border-radius:3px;background:var(--accent);flex:none}
.push-steps{margin:0;padding:6px 14px;list-style:none;background:var(--bg);border-radius:var(--r-card);text-align:start}
.push-steps li{min-height:56px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line-2);font-size:15px}
.push-steps li:last-child{border-bottom:0}
.push-steps b{width:32px;height:32px;border-radius:16px;background:var(--soft);color:var(--accent);display:flex;align-items:center;justify-content:center;flex:none;font-weight:600}
.push-primary{min-height:48px!important;border:0!important;border-radius:var(--r-ctl)!important;background:var(--action)!important;color:var(--on-action)!important;font-weight:600;font-size:15px;cursor:pointer}
.push-later{min-height:44px;border:0;border-radius:var(--r-ctl);background:transparent;color:var(--text-2);font:inherit;font-weight:500;cursor:pointer}
.push-center{text-align:center}
/* admin page: the pending count at the top */
.admin-pending-top{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--text-2)}
.admin-pending-top[hidden]{display:none}
.admin-pending-top b{background:#E8893A;color:#2B1404;font-size:13px;font-weight:700;padding:2px 10px;border-radius:var(--r-chip)}

/* quiet days (11.11.2026) */
.push-days-label{margin-top:14px}
.push-days{display:flex;justify-content:space-between;gap:4px;margin:6px 0 8px}
.push-days button{width:44px;height:44px;min-height:44px!important;padding:0!important;border-radius:50%!important;border:1.5px solid var(--line)!important;background:transparent!important;color:var(--text)!important;font:600 15px/1 Heebo,inherit;cursor:pointer;flex:0 0 auto}
.push-days button[aria-pressed="true"]{background:var(--text)!important;border-color:var(--text)!important;color:var(--bg,#fff)!important}
.push-days-hint{margin-top:2px}
@media (max-width:360px){.push-days button{width:40px;height:40px;min-height:40px!important}}
/* morning summary card (approved 12.11.2026): a sheet at the bottom on a phone, centred on a wide screen */
dialog.push-digest{width:min(440px,100vw);max-height:88dvh;box-sizing:border-box;border:1px solid var(--line)!important;padding:0 0 calc(14px + env(safe-area-inset-bottom,0px));background:var(--panel);color:var(--text);border-radius:var(--r-dialog);overflow:auto;font-family:inherit}
dialog.push-digest:not([open]){display:none}
dialog.push-digest::backdrop{background:rgba(0,0,0,.55)}
@media (max-width:600px){dialog.push-digest{margin:auto 0 0;max-width:100vw;border-radius:var(--r-dialog) var(--r-dialog) 0 0;border-bottom:0!important}}
.pd-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 16px 6px}
.pd-head h2{margin:0;font-size:19px;font-weight:600}
.pd-when{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.pd-close{width:44px;height:44px;margin:-8px;display:flex;align-items:center;justify-content:center;background:none!important;border:0!important;color:var(--muted);cursor:pointer;flex:none}
.pd-note{margin:0 16px 10px;font-size:13px;line-height:1.45;color:var(--text-2);background:var(--soft);border-radius:var(--r-chip);padding:8px 10px}
.pd-list{display:flex;flex-direction:column}
.pd-row{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:10px 16px;background:none!important;border:0!important;border-top:1px solid var(--line-2)!important;border-radius:0!important;color:var(--text);text-align:start;cursor:pointer;font:inherit}
.pd-row:hover{background:var(--row-hover)!important}
.pd-row svg{color:var(--chev,var(--muted));flex:none}
html:not([dir=ltr]) .pd-row svg{transform:scaleX(-1)}
.pd-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.pd-name{font-weight:600;font-size:15px}
.pd-chips{display:flex;flex-wrap:wrap;gap:6px}
.pd-chip{font-size:13px;border-radius:var(--r-chip);padding:1px 8px;background:var(--chip-bg);color:var(--text-2)}
.pd-chip.good{color:var(--accent);font-weight:600}
.pd-none{font-size:13px;color:var(--muted)}
.pd-msg{padding:18px 16px;font-size:14px;color:var(--text-2);text-align:center;border-top:1px solid var(--line-2)}
.pd-foot{padding:10px 16px 0;font-size:13px;color:var(--muted)}
.pd-head h2:focus{outline:none}
/* admin test sends (approved 12.11.2026) */
.push-tests{gap:8px}
.push-tests-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.push-tag{font-size:12px;color:var(--accent);background:var(--chip-bg);border-radius:var(--r-chip);padding:1px 8px;white-space:nowrap}
.push-test-kind{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 12px;border:1px solid var(--line)!important;border-radius:var(--r-ctl)!important;background:var(--bg)!important;color:var(--text)!important;font:inherit;text-align:start;cursor:pointer}
.push-test-kind:disabled{opacity:.55;cursor:default}
.push-test-kind>span{display:flex;flex-direction:column}
.push-tk-title{font-size:15px}
.push-tk-sub{font-size:12px;color:var(--muted)}
.push-test-kind svg{color:var(--muted);flex:none}
.push-tests-status:empty{display:none}

/* sound per kind (18.11.2026): small three-way choice per row; the hit area stays 44 */
.push-sound{gap:6px}
.push-sound-list{margin-top:6px}
.push-sound-row{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line-2);font-size:14px;color:var(--text)}
.push-sound-row.is-off>span:first-child{color:var(--muted)}
.push-tri{display:flex;flex:none;margin-inline-end:-4px}
.push-tri button{width:38px;height:44px;min-height:44px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--muted)!important;display:flex;align-items:center;justify-content:center;cursor:pointer}
.push-tri button>span{width:30px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;opacity:.6}
.push-tri button[aria-checked="true"]{color:var(--accent)!important}
.push-tri button[aria-checked="true"]>span{background:var(--soft);opacity:1}
.push-tri button:focus-visible{outline:none}.push-tri button:focus-visible>span{outline:2px solid var(--accent);outline-offset:1px}
.push-sound-legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;padding:8px 0 2px;border-top:1px solid var(--line-2);font-size:12px;color:var(--muted)}
.push-sound-legend span{display:inline-flex;align-items:center;gap:3px}
.push-sound-legend svg{width:13px;height:13px}
.push-sound-legend i{font-style:normal}
