/* Preserved V5.3 layout, overflow, clock motion and native safe-area geometry. */
:root :is(.button-primary,#arm,.recording-top-actions>.button-primary,.lifetime-welcome .welcome-free){border:1px solid var(--v54-line)!important}
:root :is(button,[role="radio"]):focus-visible{outline:2px solid var(--v52-ring)!important;outline-offset:3px}
:root :is(.button-primary,.button-quiet,.selected-sound-card,.date-quick button,.premium-select-trigger,.primary-nav button,.record-item-actions button):active{transform:translateY(2px)!important}
:root .sound-row.selected,:root[data-theme="light"] .sound-row.selected,:root:not([data-theme="light"]) .sound-row.selected{transform:translateY(2px)!important}
:root .sound-row .sound-selector,:root .sound-row:not(.selected) .sound-selector{display:block;width:18px;height:18px;flex:none;border:1.5px solid var(--v54-line)!important;border-radius:50%}
:root .sound-row.selected .sound-selector{border:5px solid var(--v54-line)!important}
:root .sound-row:has([role="radio"]:active){transform:translateY(3px)!important}
:root .date-quick button.is-selected,:root[data-theme="light"] .date-quick button.is-selected,:root:not([data-theme="light"]) .date-quick button.is-selected{transform:translateY(2px)!important}
:root .import-kind label:has(input:checked){transform:translateY(2px)}
.sound-row{min-width:0}
.sound-choice{min-width:0;flex:1}
.sound-text{min-width:0;overflow:hidden}
.sound-name,.sound-sub{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sound-selector,.preview{flex:none!important}
.sound-row .preview{min-width:44px!important}
:root .clock-panel{min-height:0!important;padding:24px!important;border-radius:24px!important}
:root .clock-orbit{width:min(100%,280px)!important;max-width:280px!important;height:280px!important;min-height:0!important;aspect-ratio:1!important;margin:24px auto!important;padding:0!important;border:0!important;border-radius:50%!important;box-sizing:border-box!important}
:root .clock-orbit .orbit-track{display:block!important;inset:0!important;border:1.5px solid var(--v54-line)!important;border-radius:50%!important}
:root .clock-orbit .orbit-track::after,:root .clock-orbit :is(.orbit-inner,.orbit-point){display:none!important}
:root .clock-face{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:0!important;padding:25px 19px!important;transform:none!important;text-align:center!important}
:root .clock-date{order:1!important;margin:0 0 17px!important;font-size:12px!important;letter-spacing:.15em!important;text-transform:uppercase!important}
:root .digital-clock{order:2!important;display:flex!important;align-items:baseline!important;gap:6px!important;width:auto!important;justify-content:center!important}
:root .digital-clock #clock{font-size:clamp(52px,7vw,66px)!important;line-height:1.05!important;letter-spacing:-.065em!important;font-variant-numeric:tabular-nums!important}
:root #seconds{font-size:14px!important;letter-spacing:0!important}
:root .clock-caption{order:3!important;position:static!important;margin-top:17px!important;padding:0!important;font-size:11px!important;line-height:1.4!important;text-align:center!important}
:root .clock-orbit .frequency{order:4!important;display:flex!important;margin-top:19px!important;height:20px!important;opacity:.65!important}
:root[data-theme="light"] .clock-orbit .frequency{opacity:1!important}
:root .alarm-status{margin:0!important;padding:17px!important;border:1px solid var(--v54-line)!important;border-radius:15px!important}
:root .status-icon{border:0!important}
:root .clock-bottom{padding:19px 2px 0!important}
:root .primary-nav button[aria-selected="true"],:root body.native-mobile .primary-nav button[aria-selected="true"]{border:1px solid var(--v54-line)!important;transform:translateY(1px)!important}
:root #arm{border-radius:14px!important}
:root .record-dialog.studio-mode .record-dialog-hero{min-height:0!important}
:root .record-dialog .record-studio-cards>div{padding:15px!important}
:root .record-dialog .record-clock{margin-top:20px!important}
:root[data-theme="light"] :is(input,select,textarea,.record-dialog input,.record-dialog select,.record-dialog textarea):focus-visible{outline:2px solid var(--v54-text)!important;outline-offset:2px!important}
:root:not([data-theme="light"]) :is(input,select,textarea,.record-dialog input,.record-dialog select,.record-dialog textarea):focus-visible{outline:2px solid #f7f5f0!important;outline-offset:2px!important}
@media (max-width:600px){:root .clock-panel{padding:18px!important}
:root .clock-orbit{width:min(100%,260px)!important;height:260px!important;max-width:260px!important;margin:17px auto!important}
:root .digital-clock #clock{font-size:58px!important}
:root .record-dialog.studio-mode .record-dialog-hero{padding:17px!important}
:root .record-dialog.studio-mode .record-orb{width:64px!important;height:64px!important;margin:10px auto 0!important}
:root .record-dialog.studio-mode .record-orb svg{width:30px!important}}
:root body.native-mobile .clock-orbit{width:100%!important;max-width:none!important;height:auto!important;min-height:178px!important;aspect-ratio:auto!important;margin:16px 0!important;padding:24px!important;border:1px solid var(--v54-line)!important;border-radius:18px!important}
:root body.native-mobile .clock-orbit .orbit-track{display:none!important}
:root body.native-mobile .clock-face{position:static!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;width:100%!important;height:auto!important;min-height:128px!important;padding:0!important;text-align:left!important}
:root body.native-mobile .clock-date{order:2!important;margin:7px 0 0!important;text-align:left!important}
:root body.native-mobile .digital-clock{order:1!important;justify-content:flex-start!important}
:root body.native-mobile .digital-clock #clock{font-size:clamp(58px,12vw,76px)!important}
:root body.native-mobile .clock-caption{order:3!important;margin-top:18px!important;text-align:left!important}
:root body.native-mobile .clock-orbit .frequency{display:none!important}
:root[data-theme="light"] :is(.clock-panel,.setup-panel,.sounds-mount,.recordings-library,.referral-offer-banner){border:1px solid var(--v54-line)!important}
:root[data-theme="light"] :is(.alarm-status,.selected-sound-card,.wake-profile,.time-control,.date-trigger,.calendar-panel,.wheel-value,.sound-row,.sound-use-callout,.alarms-panel,.recording-cta,.record-item,.recording-card){border:1px solid var(--v54-line)!important}
:root[data-theme="light"] .primary-nav button[aria-selected="true"],:root[data-theme="light"] body.native-mobile .primary-nav button[aria-selected="true"]{border:1px solid var(--v54-line)!important}
:root:not([data-theme="light"]) .primary-nav,:root:not([data-theme="light"]) body.native-mobile .primary-nav{border:1px solid var(--v54-line)!important}
:root:not([data-theme="light"]) .primary-nav button[aria-selected="true"],:root:not([data-theme="light"]) body.native-mobile .primary-nav button[aria-selected="true"]{border:1px solid var(--v54-line)!important}
:root .wake-profile{padding:20px!important;border-radius:18px!important}
:root .wake-profile-main{align-items:center!important;gap:18px!important}
:root .wake-profile-main h3{font-size:20px!important;letter-spacing:-.035em!important}
:root .wake-profile-main p{font-size:13px!important;line-height:1.45!important}
:root .wake-profile .wake-choice{display:flex!important;align-items:center!important;min-width:54px!important;min-height:44px!important;cursor:pointer!important}
:root .wake-profile .toggle{width:52px!important;height:30px!important}
:root .wake-profile .toggle input{width:52px!important;height:30px!important;cursor:pointer!important;z-index:2!important}
:root .wake-profile .toggle span{width:52px!important;height:30px!important;border:1px solid var(--v54-line)!important;border-radius:999px!important;transition:background .2s,border-color .2s!important}
:root .wake-profile .toggle span:after{top:3px!important;left:3px!important;width:22px!important;height:22px!important;transition:transform .2s,background .2s!important}
:root .wake-profile .toggle input:checked+span:after{left:3px!important;transform:translateX(22px)!important}
:root .wake-stages-toggle{margin-top:17px!important;padding:15px 0 0!important;border:0!important;border-top:1px solid var(--v54-line)!important;font-size:13px!important}
:root .wake-stages-toggle span{border:0!important}
:root .wake-profile-extra{margin-top:14px!important;padding-top:10px!important}
:root .wake-profile-extra ol{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:14px 0!important;padding:0 0 0 12px!important;border-left:2px solid var(--v54-line)!important}
:root .wake-profile-extra li{position:relative!important;display:grid!important;grid-template-columns:75px 1fr!important;align-items:center!important;gap:12px!important;min-height:39px!important;padding:6px 0 6px 17px!important;border:0!important;border-radius:0!important;font-size:13px!important}
:root .wake-profile-extra li::before{content:"";position:absolute;left:-18px;top:15px;width:10px;height:10px;border-radius:50%;border:2px solid var(--v54-line)}
:root .wake-profile-extra li span{font-size:12px!important;letter-spacing:0!important}
:root .wake-profile-extra #wake-preview{min-height:42px!important;margin-top:14px!important}
.clock-motion{display:none}
:root body.native-mobile .clock-panel{padding:20px!important}
:root body.native-mobile .clock-panel .panel-top{gap:8px!important}
:root body.native-mobile .clock-panel .timezone{border:0!important;padding:0!important;font-size:11px!important;text-align:right!important}
:root body.native-mobile .clock-orbit{position:relative!important;min-height:0!important;height:auto!important;margin:14px 0!important;padding:21px 20px 19px!important;border-radius:18px!important}
:root body.native-mobile .clock-face{min-height:0!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:end!important;justify-content:stretch!important;gap:0 8px!important}
:root body.native-mobile .digital-clock{grid-column:1/-1!important;order:0!important;align-items:baseline!important;justify-content:flex-start!important;gap:7px!important}
:root body.native-mobile .digital-clock #clock{font-size:clamp(52px,13vw,76px)!important;letter-spacing:-.07em!important}
:root body.native-mobile #seconds{font-size:19px!important;line-height:1!important}
:root body.native-mobile .clock-date{grid-column:1/-1!important;order:0!important;margin:4px 0 0!important;font-size:12px!important;letter-spacing:.13em!important}
:root body.native-mobile .clock-caption{grid-column:1/-1!important;order:0!important;margin:18px 0 0!important;font-size:12px!important;text-align:left!important}
:root body.native-mobile .clock-motion{grid-column:1/-1!important;order:0!important;position:relative!important;display:block!important;width:100%!important;height:24px!important;margin:15px 0 0!important;overflow:visible!important}
:root body.native-mobile .clock-motion::before{content:"";position:absolute;left:0;right:0;top:11px;height:2px}
:root body.native-mobile .clock-motion-fill{position:absolute;left:0;top:11px;width:var(--second-progress,0%);height:2px;transition:none}
:root body.native-mobile .clock-motion-dot{position:absolute;left:var(--second-progress,0%);top:6px;width:12px;height:12px;border-radius:50%;border:2px solid var(--v54-line);transform:translateX(-50%);transition:none;animation:clock-breathe 2s ease-in-out infinite}
:root body.native-mobile .clock-panel .alarm-status{padding:12px 14px!important;border:0!important;border-radius:13px!important}
:root body.native-mobile .clock-panel .clock-bottom{padding-top:12px!important}
:root .selected-sound-card,:root .selected-sound-card>span:first-child,:root .record-item,:root .record-item-body,:root .sound-library-item,:root .sound-library-item .record-item-body{min-width:0!important;max-width:100%!important}
:root .selected-sound-card>span:last-child{flex:none!important}
:root #selected-sound-label,:root #selected-sound-source,:root #recording-alarm-hint,:root .alarm-entry-sound,:root .alarm-confirmation #alarm-confirmation-detail{overflow-wrap:anywhere!important;word-break:break-word!important}
:root #selected-sound-label{white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
:root #recording-alarm-hint,:root .alarm-entry-sound{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-width:100%!important}
:root #recording-alarm-hint[hidden]{display:none!important}
:root .sound-library-item strong,:root .record-item-heading strong{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
:root .wake-profile-main>div:first-child{min-width:0!important}
:root[data-theme="light"] #wake-profile .wake-choice .toggle{border:0!important}
:root body.native-mobile .clock-panel{padding:0 0 18px!important;border:0!important;border-radius:0!important;min-height:0!important}
:root body.native-mobile .clock-panel .panel-top{padding:0 2px 11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid var(--v54-line)!important}
:root body.native-mobile .clock-panel .panel-top .micro-label{font-size:10px!important;letter-spacing:.21em!important}
:root body.native-mobile .clock-panel .panel-top .timezone{font-size:12px!important;letter-spacing:.005em!important;opacity:.82!important}
@media (max-width:360px){:root body.native-mobile .clock-panel .panel-top .timezone{font-size:10px!important}}
:root body.native-mobile .clock-orbit{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:18px 0 0!important;border:0!important;border-radius:0!important}
:root body.native-mobile .clock-orbit :is(.orbit-track,.orbit-inner,.orbit-point){display:none!important}
:root body.native-mobile .clock-face{width:100%!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:0 10px!important}
:root body.native-mobile .digital-clock{grid-column:1!important;grid-row:1!important;min-width:0!important;display:flex!important;align-items:baseline!important;gap:5px!important;justify-content:flex-start!important}
:root body.native-mobile .digital-clock #clock{font-size:clamp(52px,14vw,70px)!important;line-height:1!important;letter-spacing:-.075em!important;font-variant-numeric:tabular-nums!important}
:root body.native-mobile #seconds{font-size:18px!important;line-height:1!important;letter-spacing:-.03em!important;font-variant-numeric:tabular-nums!important}
:root body.native-mobile .clock-date{grid-column:2!important;grid-row:1!important;max-width:82px!important;align-self:end!important;order:0!important;margin:0 1px 6px 0!important;text-align:right!important;font-size:10px!important;line-height:1.35!important;letter-spacing:.13em!important;text-transform:uppercase!important}
:root body.native-mobile .clock-caption{grid-column:1/-1!important;grid-row:3!important;order:0!important;margin:1px 1px 0!important;text-align:left!important;font-size:11px!important;line-height:1.4!important}
:root body.native-mobile .clock-motion{grid-column:1/-1!important;grid-row:2!important;order:0!important;position:relative!important;display:block!important;width:100%!important;height:58px!important;margin:8px 0 5px!important;overflow:hidden!important}
:root body.native-mobile .clock-motion::before{content:""!important;position:absolute!important;left:0!important;right:0!important;top:28px!important;height:1px!important}
:root body.native-mobile .clock-motion::after{content:"";position:absolute;top:0;bottom:0;left:var(--second-progress,0%);width:1px;opacity:.56;transition:none}
:root body.native-mobile .clock-motion-fill{top:27px!important;width:var(--second-progress,0%)!important;height:2px!important;opacity:.72!important}
:root body.native-mobile .clock-motion-dot{z-index:2!important;top:23px!important;width:10px!important;height:10px!important;border:2px solid var(--v54-line)!important;animation:none!important}
:root body.native-mobile .clock-wave-bar{position:absolute;top:28px;width:2px;height:var(--wave-height);border-radius:2px;opacity:var(--wave-opacity,.44);transform:translateY(-50%) scaleY(.8);animation:clock-wave var(--wave-duration,3s) ease-in-out infinite alternate;animation-delay:var(--wave-delay,0s)}
:root body.native-mobile .clock-wave-bar::after{content:"";position:absolute;top:0;left:0;width:2px;height:100%;border-radius:2px;opacity:.2;transform:scaleY(1.6)}
@keyframes clock-wave{0%{transform:translateY(-50%) scaleY(.38)}
50%{transform:translateY(-50%) scaleY(1)}
100%{transform:translateY(-50%) scaleY(.62)}}
:root body.native-mobile .clock-panel .alarm-status{margin:17px 0 0!important;padding:12px 0!important;border:0!important;border-top:1px solid var(--v54-line)!important;border-radius:0!important}
:root body.native-mobile .clock-panel .clock-bottom{padding:11px 0 0!important;border-top:1px solid var(--v54-line)!important}
@media (max-width:360px){:root body.native-mobile .digital-clock #clock{font-size:clamp(48px,13vw,60px)!important}
:root body.native-mobile .clock-date{font-size:9px!important;max-width:70px!important}}
@media (prefers-reduced-motion:reduce){:root body.native-mobile .clock-wave-bar{animation:none!important}
:root body.native-mobile .clock-motion::after{transition:none!important}}
@media (prefers-reduced-motion:reduce){:root body.native-mobile .clock-motion-dot{animation:none!important}
:root body.native-mobile :is(.clock-motion-dot,.clock-motion-fill){transition:none!important}}
:root body.native-mobile .primary-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important}
:root body.native-mobile .primary-nav button{padding-inline:1px!important;font-size:10px!important;min-width:0!important}
:root body.native-mobile .primary-nav button svg{width:23px!important;height:23px!important}
:root .calendar-view{width:100%;min-width:0}
:root .calendar-intro{padding:10px 0 22px}
:root .calendar-intro h2{font-size:clamp(32px,8vw,46px);line-height:1.08;letter-spacing:-.05em;margin:7px 0 9px}
:root .calendar-intro p,:root .calendar-card p,:root .calendar-connect p{font-size:14px;line-height:1.5;margin:5px 0 0}
:root .calendar-connect,:root .calendar-card{border:1px solid var(--v54-line);border-radius:18px;padding:20px;margin:0 0 14px}
:root .calendar-connect{display:flex;align-items:center;justify-content:space-between;gap:12px}
:root .calendar-connect strong,:root .calendar-card h3{font-size:17px;letter-spacing:-.025em}
:root .calendar-connect .button-quiet{width:auto;min-width:82px;flex:none}
:root .calendar-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:13px;border-bottom:1px solid var(--v54-line)}
:root .calendar-card-heading h3,:root .calendar-alarm-card h3{margin:0}
:root .calendar-card-heading span{font-size:11px;white-space:nowrap}
:root .calendar-events{display:grid;gap:0;margin:3px 0 15px;max-height:360px;overflow-y:auto}
:root .calendar-events>p{padding:15px 0}
:root .calendar-event{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-bottom:1px solid var(--v54-line);min-width:0}
:root .calendar-event time{font-size:11px}
:root .calendar-event strong{font-size:14px;overflow-wrap:anywhere}
:root .calendar-alert-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--v54-line);padding-top:17px}
:root .calendar-alert-row>span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
:root .calendar-alert-row strong{font-size:14px}
:root .calendar-alert-row small{font-size:12px}
:root .calendar-switch{position:relative;width:52px;height:30px;flex:none}
:root .calendar-switch input{position:absolute;inset:0;opacity:0;z-index:2;cursor:pointer}
:root .calendar-switch span{display:block;width:52px;height:30px;border:1px solid var(--v54-line);border-radius:20px}
:root .calendar-switch span::after{content:"";position:absolute;width:22px;height:22px;left:4px;top:4px;border-radius:50%;transition:transform .2s}
:root .calendar-switch input:checked+span::after{transform:translateX(22px)}
:root .calendar-switch input:focus-visible+span{outline:2px solid var(--v52-text);outline-offset:3px}
:root .calendar-switch input:disabled+span{opacity:.5}
:root .calendar-lead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 0;font-size:13px}
:root .calendar-lead select,:root .calendar-alarm-card select{border:1px solid var(--v54-line);border-radius:11px;padding:12px;min-width:0}
:root .calendar-lead select{max-width:63%;font-size:12px}
:root .calendar-help{font-size:11px!important;margin-top:12px!important}
:root .calendar-alarm-card p{margin:8px 0 15px}
:root .calendar-alarm-card select{display:block;width:100%;margin-bottom:13px;font-size:13px}
:root .calendar-status{min-height:20px;font-size:12px;line-height:1.5}
:root .calendar-permissions{width:min(440px,calc(100vw - 30px));border:1px solid var(--v54-line)!important;padding:22px!important}
:root .calendar-permissions h2{font-size:29px;letter-spacing:-.04em;margin:15px 0 8px}
:root .calendar-permissions p{font-size:14px;line-height:1.55}
:root .calendar-permissions .calendar-permission-continue{margin-top:22px}
:root .calendar-permissions .calendar-permission-later{margin-top:9px;width:100%}
:root .header-tutorial span{font-size:10px!important;margin-right:2px}
:root body.native-mobile .header-actions{display:flex;align-items:center;gap:7px}
:root body.native-mobile .header-tutorial{padding:9px 10px!important;font-size:11px!important}
:root body.native-mobile .menu-toggle{padding:9px 10px!important}
:root body.native-mobile.is-calendar-view :is(.referral-offer-banner,.intro){display:none!important}
:root body.native-mobile.is-calendar-view .calendar-intro{padding-top:30px}
@media (max-width:360px){:root body.native-mobile .header-tutorial{padding-inline:7px!important}
:root body.native-mobile .menu-toggle{padding-inline:7px!important}}

/* V5.4 owns all app colors. Layout rules precede these materials. */
@font-face{font-family:Inter;src:url('./fonts/Inter-variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--v54-bg:#000;--v54-surface:#000;--v54-control:#121212;--v54-hover:#1a1a1a;--v54-selected:#1a1a1a;--v54-text:#f7f5f0;--v54-muted:#b7b5b0;--v54-line:#282828;--v54-frame:#515151;--v54-primary:#171717;--v54-primary-text:#f7f5f0;--v54-shadow:#0009;--v54-danger:#ffc0c0}
:root[data-theme="light"]{color-scheme:light;--v54-bg:#fafaf7;--v54-surface:#fff;--v54-control:#fff;--v54-hover:#fafaf7;--v54-selected:#fff;--v54-text:#151515;--v54-muted:#595955;--v54-line:#dededa;--v54-frame:#767670;--v54-primary:#151515;--v54-primary-text:#fff;--v54-shadow:#00000016;--v54-danger:#a62424}
:root{--v52-bg:var(--v54-bg);--v52-panel:var(--v54-surface);--v52-card:var(--v54-surface);--v52-raised:var(--v54-control);--v52-text:var(--v54-text);--v52-muted:var(--v54-muted);--v52-line:var(--v54-line);--v52-pressed:var(--v54-selected);--v52-ring:var(--v54-text);--bg:var(--v54-bg);--panel:var(--v54-surface);--text:var(--v54-text);--muted:var(--v54-muted);--accent:var(--v54-text);--border:var(--v54-line);--sound:var(--v54-text);font-family:Inter,Arial,Helvetica,sans-serif;font-synthesis:none}
:root body,:root button,:root input,:root select,:root textarea,:root dialog,:root label,:root .account-panel,:root .referral-offer-dialog{font-family:Inter,Arial,Helvetica,sans-serif!important;font-optical-sizing:auto;font-weight:500}
:root body *{font-family:Inter,Arial,Helvetica,sans-serif!important}
:root body{background:var(--v54-bg)!important;color:var(--v54-text)!important}
:root .ambient{display:none!important}
:root body :is(h1,h2,h3,h4,strong,label,button,a,input,select,textarea,output){color:var(--v54-text)}
:root body :is(h1,h2,h3,h4){font-weight:700!important;letter-spacing:-.035em;text-shadow:none!important;color:var(--v54-text)!important}
:root body :is(h1,h2,h3,h4) span{color:inherit!important}
:root body :is(button,label,strong,.sound-name,.premium-select-value){font-weight:600!important}
:root body :is(.brand,.intro h1 span,.brand-dot,.lavender,.sound-name,.selected-sound-card strong,.date-trigger-copy strong,.calendar-heading strong,.record-dialog strong,.record-dialog label,.record-status,.record-clock,.record-clock output,.account-price,.account-kicker,.welcome-price,.welcome-infinity,.welcome-kicker,.welcome-plan-label,.welcome-brand,.welcome-brand-mark,.welcome-orbit-glint){color:var(--v54-text)!important;text-shadow:none!important}
:root body :is(.brand-label,.eyebrow,.micro-label,.timezone,.clock-date,.clock-caption,.clock-bottom,.footer,.intro-note,.view-top p,.calendar-intro p,.calendar-card p,.calendar-connect p,.sound-sub,.sound-count,.time-format,.time-context,.wheel-label,.alarm-status p+p,.record-empty,.recording-empty,.record-item-origin,.record-item-body>span,.record-dialog small,.record-dialog p,.record-privacy,.record-intro,.record-studio-index,.sound-library-description,.sound-library-privacy,.sound-library-empty,.sound-library-item small,.open-note,.message,.recording-alarm-hint,.selected-sound-card small,.selected-sound-card em,.calendar-help,.calendar-status,.calendar-alert-row small,.calendar-card-heading span,.calendar-event time,.calendar-weekdays span,.date-manual-form label span,.welcome-description,.welcome-availability,.welcome-once,.download-status,.account-small,.account-panel output,.referral-offer-note,.tutorial-heading p,.tutorial-foot a,dialog>p,dialog li){color:var(--v54-muted)!important}
:root body :is(.clock-panel,.setup-panel,.sounds-mount,.recordings-library,.app-menu,dialog,.tutorial-dialog,.calendar-panel,.calendar-connect,.calendar-card,.alarms-panel,.sound-library-item,.record-item,.recording-card,.recording-item,.recording-row,.record-studio-cards>div,.record-dialog-controls,.record-dialog-hero,.referral-offer-banner,.account-panel,.referral-offer-dialog,.download-option,.lifetime-welcome,.welcome-plan,.welcome-orbit,.sound-library-menu,.saved-recording-chooser,.alarm-entry,.wake-profile,.alarm-status,.selected-sound-card,.recording-cta,.time-control,.sound-row,.sound-use-callout,.import-alarm-callout,.alarm-confirmation){background:var(--v54-surface)!important;background-image:none!important;color:var(--v54-text)!important;border-color:var(--v54-line)!important;box-shadow:none!important}
:root body :is(dialog,.app-menu,.calendar-panel,.sound-library-menu){border-color:var(--v54-frame)!important;box-shadow:0 14px 45px var(--v54-shadow)!important}
:root body dialog::backdrop{background:#000b!important;backdrop-filter:blur(8px)}
:root body :is(.header,.calendar-card-heading,.calendar-event,.calendar-alert-row,.account-section,.referral-offer-controls,.date-manual-form){border-color:var(--v54-line)!important}
:root body .recording-divider::before,:root body .recording-divider::after{background:var(--v54-line)!important}
:root body :is(.short-line,.tiny-dot,.frequency i,.frequency i:nth-child(5n),.clock-orbit .frequency i){background:var(--v54-muted)!important;box-shadow:none!important}
:root body :is(.tiny-dot.ready,.countdown,.text-button,.preview,.date-trigger-chevron,.wheel-divider,.calendar-close,.close-dialog,.account-close,.referral-offer-close,.date-trigger-copy small,.date-trigger-copy strong,.date-trigger-icon,.calendar-alert-row strong,.calendar-event strong){color:var(--v54-text)!important;text-shadow:none!important}
:root body :is(.button-primary,#arm,.recording-top-actions>.button-primary,.account-panel button.primary,.referral-offer-controls button,.date-manual-form button,.welcome-deal){background:var(--v54-primary)!important;color:var(--v54-primary-text)!important;border:1px solid var(--v54-frame)!important;background-image:none!important;box-shadow:none!important}
:root body :is(.button-primary,#arm,.recording-top-actions>.button-primary,.account-panel button.primary,.referral-offer-controls button,.date-manual-form button,.welcome-deal) :is(span,strong,small,svg,path){color:var(--v54-primary-text)!important;stroke:currentColor!important}
:root body :is(.button-quiet,.button-cancel,.date-quick button,.date-trigger,.store-button,.record-item-actions button,.sound-library-item button,.account-panel button:not(.primary):not(.account-close),.referral-offer-banner button,.calendar-heading button,.calendar-close,.close-dialog,.wheel-step,.record-actions button,.sound-library-menu button,.welcome-free,.referral-offer-close){background:var(--v54-control)!important;color:var(--v54-text)!important;border-color:var(--v54-frame)!important;box-shadow:none!important;background-image:none!important}
:root body :is(.button-quiet,.button-cancel,.date-quick button,.date-trigger,.store-button,.record-item-actions button,.sound-library-item button,.calendar-heading button,.calendar-close,.close-dialog,.wheel-step,.record-actions button,.sound-library-menu button,.referral-offer-banner button):hover:not(:disabled){background:var(--v54-hover)!important;border-color:var(--v54-text)!important;filter:none!important}
:root body :is(button,input,textarea,select,[role="radio"]):focus-visible{outline:2px solid var(--v54-text)!important;outline-offset:3px;box-shadow:none!important}
:root body :is(button,[role="radio"]):disabled{opacity:.45;cursor:not-allowed}
:root body :is(.button-primary,.button-quiet,.date-trigger,.date-quick button,.premium-select-trigger,.record-item-actions button,.wheel-step):active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 5px #0004!important}
:root body :is(.sound-row.selected,.date-quick button.is-selected,.import-kind label:has(input:checked)){background:var(--v54-selected)!important;border-color:var(--v54-text)!important;box-shadow:inset 0 2px 5px #0003!important;transform:translateY(1px)}
:root body .sound-selector{display:block;width:18px;height:18px;flex:none;border:1.5px solid var(--v54-muted)!important;border-radius:50%;background:transparent!important;box-shadow:none!important}
:root body .sound-row.selected .sound-selector{border:5px solid var(--v54-text)!important;background:var(--v54-bg)!important}
:root body :is(.sound-icon,.date-trigger-icon,.step-number,.status-icon,.record-orb){background:transparent!important;color:var(--v54-text)!important;border-color:var(--v54-line)!important;box-shadow:none!important;filter:none!important}
:root body :is(input:not([type="checkbox"]):not([type="range"]):not([type="hidden"]),select,textarea,.wheel-value,.date-value,.account-panel input,.referral-offer-controls input){background:var(--v54-control)!important;color:var(--v54-text)!important;border-color:var(--v54-frame)!important;background-image:none!important;box-shadow:none!important}
:root body input::placeholder,:root body textarea::placeholder{color:var(--v54-muted)!important;opacity:.75}
:root body :is(.record-item-actions .recording-delete,[data-alarm-action="delete"],#record-delete-take,.date-manual-error,.recording-alarm-hint.is-error){background:var(--v54-control)!important;color:var(--v54-danger)!important;border-color:var(--v54-frame)!important}
:root body :is(.toggle,.wake-choice,.wake-stages-toggle,.wake-profile-extra,.wake-profile-extra li,.record-dialog-controls,.record-studio-cards span,.wake-stages-toggle span){background:transparent!important;background-image:none!important}
:root body :is(.wake-profile-main p,.wake-profile-extra>p,.wake-profile-extra li span,#wake-profile-note,#wake-preview-status){color:var(--v54-muted)!important}
:root body :is(.wake-profile-main h3,.wake-stages-toggle,.wake-profile-extra li){color:var(--v54-text)!important}
:root body :is(.toggle span,.calendar-switch span){background:var(--v54-control)!important;border:1px solid var(--v54-frame)!important}
:root body :is(.toggle input:checked+span,.calendar-switch input:checked+span){background:var(--v54-text)!important;border-color:var(--v54-text)!important}
:root body :is(.app-menu button,.app-menu a){background:transparent!important;color:var(--v54-text)!important;font-weight:600!important}
:root body :is(.app-menu button,.app-menu a):hover{background:var(--v54-hover)!important}
:root body :is(.primary-nav,body.native-mobile .primary-nav){background:var(--v54-control)!important;background-image:none!important;border-color:var(--v54-line)!important;box-shadow:0 -4px 16px var(--v54-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root body .primary-nav button{background:transparent!important;color:var(--v54-muted)!important;border-color:transparent!important;box-shadow:none!important;font-weight:600!important}
:root body .primary-nav button[aria-selected="true"]{background:var(--v54-selected)!important;color:var(--v54-text)!important;border:1px solid var(--v54-frame)!important;box-shadow:inset 0 2px 4px #0002!important}
:root body .primary-nav button svg{filter:none!important;color:currentColor!important}
:root body .primary-nav button:hover{color:var(--v54-text)!important}
:root body .calendar-grid button{background:transparent!important;color:var(--v54-text)!important;font-weight:600!important}
:root body .calendar-grid button.is-selected:not(:disabled){background:var(--v54-text)!important;color:var(--v54-bg)!important;border-color:var(--v54-text)!important;box-shadow:none!important}
:root body .calendar-grid button.outside-month{color:var(--v54-muted)!important}
:root body .calendar-grid button.is-today:not(.is-selected){border-color:var(--v54-frame)!important}
:root body .calendar-grid button.is-today::after{background:var(--v54-text)!important}
:root body :is(.alarm-count,#alarm-count,.alarm-confirmation>span:first-child,.tutorial-heading-icon){background:transparent!important;color:var(--v54-muted)!important;border-color:var(--v54-line)!important;box-shadow:none!important}
:root body .welcome-content::before,:root body .lifetime-welcome::before{background:none!important}
:root body .welcome-orbit-ring{border-color:var(--v54-frame)!important}
:root[data-theme] body .lifetime-welcome :is(.welcome-infinity,.welcome-orbit-glint,.welcome-brand-mark,.welcome-brand-separator){color:var(--v54-text)!important;text-shadow:none!important}
:root[data-theme] body .lifetime-welcome .welcome-orbit{background:var(--v54-surface)!important;border-color:var(--v54-line)!important;box-shadow:none!important}
:root[data-theme] body .lifetime-welcome .welcome-orbit-ring{border-color:var(--v54-frame)!important}
:root body .welcome-divider span{color:var(--v54-muted)!important}
:root body .welcome-divider::before,:root body .welcome-divider::after{background:var(--v54-line)!important}
:root body dialog summary{color:var(--v54-text)!important;font-weight:600!important}
:root body .account-price small{color:var(--v54-muted)!important}
:root body .security-lock{color:var(--v54-text)!important;filter:none!important}
:root body .menu-lock{color:#ffd45a!important;filter:drop-shadow(0 0 3px #ffd45acc) drop-shadow(0 0 8px #d99a264d)!important}
:root body .security-lock{color:#ffd45a!important;filter:drop-shadow(8px 10px 7px #0009) drop-shadow(0 0 5px #ffd45acc) drop-shadow(0 0 14px #d99a2659)!important}
:root body :is(.security-caption,.security-times span){color:var(--v54-muted)!important}
:root body .security-times>div{background:var(--v54-surface)!important;background-image:none!important;border-color:var(--v54-line)!important;box-shadow:none!important}
:root body .security-times-current{background:var(--v54-surface)!important;border-color:var(--v54-frame)!important}
:root body :is(.referral-offer-banner p,.date-today-hint,.time-context span+span,.record-item-body span,.alarm-entry-date,.alarm-entry-sound,.alarm-empty,.recording-divider,.saved-recording-chooser #record-saved-help,.sound-library-dialog>p){color:var(--v54-muted)!important}
:root body :is(.selected-sound-card>span:last-child,.alarm-entry-time,#clock,#seconds,.date-trigger-chevron,.sound-library-item strong,.sound-library-menu button,.record-clock .record-clock-label){color:var(--v54-text)!important}
:root body #clock{font-weight:700!important}
:root body #seconds{font-weight:600!important}
:root body .selected-sound-card>span:last-child{white-space:normal;max-width:100px;line-height:1.4;text-align:right}
:root body .alarm-entry-actions button:not(.alarm-toggle){background:var(--v54-control)!important;color:var(--v54-text)!important;border-color:var(--v54-frame)!important;box-shadow:none!important}
:root body .alarm-entry-actions [data-alarm-action="delete"]{color:var(--v54-danger)!important}
:root body .alarm-entry-actions .alarm-toggle{background:var(--v54-control)!important;border:1px solid var(--v54-frame)!important;box-shadow:none!important}
:root body .alarm-toggle::before{background:var(--v54-muted)!important}
:root body .alarm-toggle[aria-checked="true"]{background:var(--v54-text)!important;border-color:var(--v54-text)!important}
:root body .alarm-toggle[aria-checked="true"]::before{background:var(--v54-bg)!important}
:root body :is(.import-kind label,.import-kind label:has(input:checked)){background:var(--v54-control)!important;color:var(--v54-text)!important;border-color:var(--v54-frame)!important;box-shadow:none!important}
:root body .import-kind label:has(input:checked){border-color:var(--v54-text)!important;box-shadow:inset 0 2px 5px #0002!important}
:root body .import-kind :is(legend,strong){color:var(--v54-text)!important}
:root body .import-kind small,:root body dialog p,:root body dialog li{color:var(--v54-muted)!important}
:root body :is(.record-clock>span,.record-studio-cards small,.sound-library-dialog>p,.sound-library-item small,.saved-recording-chooser label,.record-fields label,.record-divider){color:var(--v54-muted)!important}
:root body .record-orb svg{stroke:var(--v54-text)!important}
:root body .record-dot{background:var(--v54-muted)!important;box-shadow:none!important}
:root body .record-dot.active{background:var(--v54-text)!important}
:root body .is-recording .record-dot{background:var(--v54-text)!important}
:root body .record-dialog progress{background:var(--v54-line)!important;accent-color:var(--v54-text)!important}
:root body .record-dialog progress::-webkit-progress-bar{background:var(--v54-line)!important}
:root body .record-dialog progress::-webkit-progress-value{background:var(--v54-text)!important;background-image:none!important}
:root body .record-dialog progress::-moz-progress-bar{background:var(--v54-text)!important}
:root body .record-dialog .record-studio-cards :is(span,small){color:var(--v54-muted)!important}
:root body .wake-profile-extra li::before{background:var(--v54-text)!important;border-color:var(--v54-surface)!important}
:root body .toggle span::after,:root body .calendar-switch span::after{background:var(--v54-muted)!important;box-shadow:none!important}
:root body .toggle input:checked+span::after,:root body .calendar-switch input:checked+span::after{background:var(--v54-bg)!important}
:root body .clock-orbit .orbit-track{background:var(--v54-surface)!important;background-image:none!important;border-color:var(--v54-line)!important;box-shadow:none!important}
:root body.native-mobile .clock-panel,:root body.native-mobile .clock-orbit{background:transparent!important;border:0!important;box-shadow:none!important}
:root body.native-mobile .clock-panel .alarm-status{background:transparent!important;border-top-color:var(--v54-line)!important}
:root body.native-mobile .clock-motion::before{background:var(--v54-line)!important}
:root body.native-mobile .clock-motion::after{background:linear-gradient(transparent,var(--v54-muted) 18%,var(--v54-text) 50%,var(--v54-muted) 82%,transparent)!important}
:root body.native-mobile .clock-motion-fill,:root body.native-mobile .clock-wave-bar,:root body.native-mobile .clock-wave-bar::after{background:var(--v54-text)!important}
:root body.native-mobile .clock-motion-dot{background:var(--v54-text)!important;border:2px solid var(--v54-bg)!important;box-shadow:0 0 0 2px var(--v54-text)!important}
:root body :is(.calendar-field,.calendar-selected,.calendar-date-time,.calendar-existing){min-width:0;max-width:100%;color:var(--v54-text);background:transparent}
:root body .calendar-field{display:grid;gap:8px;margin:15px 0;font-size:13px;font-weight:600}
:root body .calendar-date-time{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px}
:root body .calendar-date-time input{width:100%;min-width:0;min-height:48px;padding:10px 11px;border:1px solid var(--v54-frame);border-radius:12px;font-size:13px}
:root body .calendar-selected{display:block;margin:8px 0 14px!important;color:var(--v54-muted)!important;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
:root body .calendar-existing{margin-top:22px;border-top:1px solid var(--v54-line);padding-top:18px}
:root body .calendar-lead .premium-select{width:64%;min-width:0}
:root body .calendar-alarm-card .premium-select{margin-bottom:12px}
:root body .premium-native-select{display:none!important}
:root body .premium-select-trigger{min-height:48px;padding:10px 12px;border:1px solid var(--v54-frame)!important;border-radius:12px;background:var(--v54-control)!important;color:var(--v54-text)!important;box-shadow:none!important}
:root body .premium-select-copy{display:block;min-width:0;flex:1}
:root body .premium-select-value{display:block;font-size:13px;font-weight:600!important;color:var(--v54-text)!important;line-height:1.4;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:root body .premium-select-chevron{display:grid;place-items:center;width:20px;height:20px;flex:none;color:var(--v54-text)!important}
:root body .premium-select-chevron svg,:root body .premium-select-check svg{width:20px;height:20px}
:root body .premium-select-trigger:hover:not(:disabled),:root body .premium-select.is-open .premium-select-trigger{background:var(--v54-hover)!important;border-color:var(--v54-text)!important}
:root body .premium-select-options{position:fixed;inset:auto;z-index:10000;display:grid;gap:2px;margin:0!important;padding:5px;max-height:400px;border:1px solid var(--v54-frame)!important;border-radius:14px;background:var(--v54-surface)!important;color:var(--v54-text)!important;box-shadow:0 12px 35px var(--v54-shadow)!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--v54-muted) var(--v54-surface);animation:picker-enter .14s ease-out;box-sizing:border-box}
:root body .premium-select-options[hidden]{display:none!important}
:root body .premium-select-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 12px;border:1px solid transparent;border-radius:9px;background:transparent!important;color:var(--v54-text)!important;box-shadow:none!important}
:root body .premium-select-option strong{display:block;min-width:0;flex:1;font-size:13px;font-weight:500!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:var(--v54-text)!important}
:root body .premium-select-option::after{display:none!important}
:root body .premium-select-check{display:grid;place-items:center;flex:none;width:20px;height:20px;visibility:hidden;color:var(--v54-text)!important}
:root body .premium-select-option[aria-selected="true"]{background:var(--v54-selected)!important;border-color:var(--v54-frame)!important}
:root body .premium-select-option[aria-selected="true"] strong{font-weight:600!important}
:root body .premium-select-option[aria-selected="true"] .premium-select-check{visibility:visible}
:root body .premium-select-option:is(:hover,.is-active):not([aria-disabled="true"]){background:var(--v54-hover)!important;border-color:var(--v54-text)!important}
:root body .premium-select-option[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
:root body .premium-select-options::backdrop{background:transparent}
@keyframes picker-enter{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
:root body .icon-chevron{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root body .wheel-step{display:grid;place-items:center;min-height:36px;border-radius:9px!important}
:root body :is(.wheel-step,.calendar-heading button,.calendar-close){display:grid;place-items:center}
:root body .calendar-heading button{width:40px;height:40px}
:root body .date-trigger-chevron{display:grid;place-items:center}
:root body .wake-stages-toggle>span{font-size:0!important}
:root body .wake-stages-toggle>span::after,:root body .alarms-panel summary::after{content:""!important;display:block;width:18px;height:18px;background:currentColor!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;color:var(--v54-text)!important}
:root body .alarms-panel[open] summary::after{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){:root body .premium-select-options{animation:none}:root body :is(.premium-select-chevron,.date-trigger-chevron){transition:none}}
/* The fullscreen player owns one uninterrupted video and its compact controls. */
:root body .tutorial-player{background:#000!important;background-image:none!important;border-color:var(--v54-frame)!important;box-shadow:none!important}
:root body .tutorial-video-frame{background:#000!important}
:root body .tutorial-controls{background:var(--v54-control)!important;background-image:none!important;color:var(--v54-text)!important}
:root body :is(.tutorial-time,.tutorial-timeline span,.tutorial-actions button,.tutorial-status){color:var(--v54-text)!important}
:root body .tutorial-actions button,:root body .tutorial-retry{background:var(--v54-control)!important;color:var(--v54-text)!important;border-color:var(--v54-frame)!important;box-shadow:none!important;font-family:Inter,Arial,Helvetica,sans-serif!important}
:root body .tutorial-actions button:hover,:root body .tutorial-retry:hover{background:var(--v54-hover)!important}
:root body .tutorial-timeline input{accent-color:var(--v54-text)!important}
:root body .tutorial-status{font-size:12px;line-height:1.5;text-align:center;padding:9px 12px;background:var(--v54-surface)}
:root body .tutorial-retry{min-height:40px;padding:8px 14px;border:1px solid var(--v54-frame);border-radius:10px;font-weight:600}
:root body .tutorial-player:fullscreen{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#000!important;--v54-control:#121212;--v54-hover:#1a1a1a;--v54-text:#f7f5f0;--v54-frame:#515151;--v54-surface:#000}
:root body .tutorial-player:fullscreen .tutorial-video-frame{flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;width:100%!important;border-radius:0!important}
:root body .tutorial-player:fullscreen video{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;background:#000!important}
:root body .tutorial-player:fullscreen .tutorial-controls{flex:none!important;width:100%!important;padding:9px max(12px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important}
:root body .tutorial-player:fullscreen .tutorial-actions button{min-height:40px!important}

/* Android's unified per-event editor uses the existing two-theme tokens. */
:root body .reminder-editor{min-width:0}
:root body .reminder-editor h3{margin:0;font-size:20px}
:root body .reminder-editor input:not([type=radio]){width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--v54-frame);border-radius:12px;background:var(--v54-control);color:var(--v54-text);font:600 14px Inter,Arial,sans-serif}
:root body .reminder-style{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-width:0;border:0;margin:16px 0;padding:0}
:root body .reminder-style legend{font-size:13px;font-weight:600;margin-bottom:10px}
:root body .reminder-style label{display:flex;align-items:flex-start;gap:9px;padding:14px 10px;min-width:0;border:1px solid var(--v54-frame);border-radius:13px;background:var(--v54-control);cursor:pointer}
:root body .reminder-style label:has(input:checked){border-color:var(--v54-text);box-shadow:inset 0 2px 5px var(--v54-shadow)}
:root body .reminder-style input{accent-color:var(--v54-text);flex:none;width:16px;height:16px;margin:2px 0}
:root body .reminder-style strong{display:block;font-size:13px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
:root body .reminder-style small{display:block;font-size:11px;line-height:1.5;color:var(--v54-muted);margin-top:6px}
:root body .reminder-interval{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0}
:root body .reminder-preview{border-top:1px solid var(--v54-line);padding-top:15px;font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
:root body .reminder-editor>.button-primary,:root body .reminder-editor>.button-quiet{width:100%;margin-top:14px}
:root body .reminder-event-row{display:flex;flex-direction:column;gap:7px;align-items:stretch;min-width:0}
:root body .reminder-event-row strong,:root body .reminder-event-row small{overflow-wrap:anywhere;max-width:100%;line-height:1.5}
:root body .reminder-event-row small{font-size:11px;color:var(--v54-muted)}
:root body .reminder-row-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
:root body .reminder-row-actions button{font-size:12px;min-height:40px;white-space:normal}
@media(max-width:360px){:root body .reminder-style{grid-template-columns:minmax(0,1fr)}:root body .calendar-date-time{grid-template-columns:minmax(0,1fr)}}

:root body.native-android .header{height:auto!important;min-height:92px!important;padding-top:22px!important;padding-bottom:22px!important;align-items:center!important;gap:8px!important}
:root body.native-android .header-actions{align-self:center!important;align-items:center!important;margin-block:0!important;padding-block:0!important}
:root body.native-android :is(.header-tutorial,.menu-toggle){min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin-block:0!important;line-height:1.2!important}

/* Standalone app information and lifetime screens use the same saved theme. */
:root body:is(.lifetime-page,.information-page) :is(a,p,li,span,small,summary,s){color:var(--v54-text)}
:root body.lifetime-page :is(.intro,.back,.eyebrow,.price-note,.currency-label,.footnote,.footer-links,.restore-note,.referral-intro,.referral-price>div,.referral-steps li strong,.referral-details p,.free-card>p,li div>span,#purchase-status,#referral-status,#trial-status){color:var(--v54-muted)!important}
:root body.lifetime-page :is(.access-card,.free-card,.referral-card,.orbit,.orbit-inner){background:var(--v54-surface)!important;background-image:none!important;border-color:var(--v54-line)!important;box-shadow:none!important}
:root body.lifetime-page :is(.infinity,.spark,.brand span,h1>span,.currency,.referral-price>span,.price strong){font-family:Inter,Arial,Helvetica,sans-serif!important;color:var(--v54-text)!important;text-shadow:none!important}
:root body.lifetime-page .referral-steps li>div{color:var(--v54-text)!important}
:root body.lifetime-page :is(.badge,.check,.referral-steps li>span){background:transparent!important;background-image:none!important;color:var(--v54-text)!important;border-color:var(--v54-frame)!important;box-shadow:none!important}
:root body.lifetime-page :is(.purchase,.invite,.continue-free,.free-card button){background:var(--v54-control)!important;background-image:none!important;color:var(--v54-text)!important;border:1px solid var(--v54-frame)!important;box-shadow:none!important;text-shadow:none!important}
:root body.lifetime-page button.purchase{background:var(--v54-primary)!important;color:var(--v54-primary-text)!important}
:root body.lifetime-page .purchase span{color:var(--v54-primary-text)!important}
:root body.lifetime-page :is(.purchase,.invite,.continue-free,.free-card button):hover:not(:disabled){background:var(--v54-hover)!important;border-color:var(--v54-text)!important;transform:none!important}
:root body.lifetime-page button.purchase:hover:not(:disabled){background:var(--v54-primary)!important}
:root body.lifetime-page .divider{background:var(--v54-line)!important}
:root body.lifetime-page .referral-details{border-color:var(--v54-line)!important}
:root body:is(.lifetime-page,.information-page) :is(a,summary):focus-visible{outline:2px solid var(--v54-text)!important;outline-offset:4px}
:root body.information-page .policy{padding-block:32px 60px;max-width:800px}
:root body.information-page .policy p{color:var(--v54-muted)!important;line-height:1.7}
:root body.information-page .policy :is(a,label){color:var(--v54-text)!important}
:root body.information-page .policy h2{margin-top:32px}
:root body.information-page .policy .text-button{display:inline-flex;margin-bottom:20px}
:root body.information-page .account-panel p{color:var(--v54-muted)!important}
:root body.information-page .account-panel a{color:var(--v54-text)!important;text-decoration:underline;text-underline-offset:3px}

/* Android agenda, compact sheets and permissions. */
:root body.native-android .header{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding-block:18px!important}
:root body.native-android .header-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;gap:12px!important}
:root body.native-android .header-actions>#install{display:none!important}
:root body.native-android :is(.header-tutorial,.menu-toggle){width:100%!important;font-size:14px!important;padding:12px!important;min-height:46px!important}
:root body.native-android .calendar-intro{margin:22px 0 16px!important}
:root body.native-android .calendar-intro h2{font-size:28px!important;line-height:1.2!important;margin-bottom:8px!important}
:root body.native-android .calendar-connect{border:0!important;padding:8px 0!important;background:transparent!important;display:flex!important;align-items:center!important;gap:12px!important;font-size:12px!important;margin-bottom:12px!important}
:root body .agenda-new{width:100%;margin-bottom:18px}
:root body .agenda-filters{display:flex;gap:6px;padding:4px;border:1px solid var(--v54-line);border-radius:13px;background:var(--v54-surface);margin-bottom:18px}
:root body .agenda-filters button{flex:1;min-width:0;min-height:44px;padding:9px 6px;font-weight:600;font-size:13px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--v54-muted)}
:root body .agenda-filters button[aria-pressed=true]{background:var(--v54-control)!important;border-color:var(--v54-frame)!important;color:var(--v54-text)!important;box-shadow:inset 0 2px 4px var(--v54-shadow)}
:root body .agenda-date{font-size:12px;margin:24px 0 10px;letter-spacing:.02em;color:var(--v54-muted)}
:root body .agenda-list .calendar-event{border:0!important;border-bottom:1px solid var(--v54-line)!important;border-radius:0!important;padding:14px 0!important;margin:0!important;background:transparent!important;gap:5px}
:root body .agenda-list .calendar-event strong{font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:root body .agenda-list .calendar-event time{font-size:12px;line-height:1.5}
:root body .calendar-sheet{box-sizing:border-box;width:calc(100% - 20px)!important;max-width:520px!important;max-height:calc(100dvh - 36px)!important;padding:0!important;border:1px solid var(--v54-frame)!important;border-radius:22px!important;background:var(--v54-surface)!important;color:var(--v54-text)!important;overflow:hidden!important;margin:auto!important;box-shadow:none!important}
:root body .calendar-sheet[open]{display:flex!important;flex-direction:column!important}
:root body .calendar-sheet::backdrop{background:rgba(0,0,0,.74);backdrop-filter:blur(4px)}
:root body .sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 12px;border-bottom:1px solid var(--v54-line);flex:none}
:root body .sheet-heading h3{font-size:19px!important;font-weight:700!important;margin:0;line-height:1.4}
:root body .sheet-close{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;font-size:26px!important;border:1px solid var(--v54-line);border-radius:12px;background:var(--v54-control);color:var(--v54-text)}
:root body .sheet-scroll{padding:16px 20px;overflow:auto;min-height:0;overscroll-behavior:contain}
:root body .sheet-footer{display:flex;flex-wrap:wrap;gap:12px;padding:14px 20px 18px;border-top:1px solid var(--v54-line);flex:none}
:root body .sheet-footer>button{flex:1;min-height:48px;margin:0!important;font-size:14px!important}
:root body #alarm-review{max-width:420px!important}
:root body #alarm-review .sheet-heading h2{margin:0!important;font-size:23px!important;line-height:1.25!important}
:root body .alarm-review-details{margin:0}
:root body .alarm-review-details>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--v54-line)}
:root body .alarm-review-details>div:last-child{border-bottom:0}
:root body .alarm-review-details dt{color:var(--v54-muted);font-size:13px}
:root body .alarm-review-details dd{margin:0;text-align:right;color:var(--v54-text);font-size:14px;font-weight:700;overflow-wrap:anywhere}
:root body .calendar-sheet .calendar-field{margin:0 0 14px!important;font-size:12px!important;gap:7px!important}
:root body .calendar-sheet :is(input,.premium-select-trigger){min-height:46px!important;font-size:14px!important;padding:11px 12px!important}
:root body .reminder-detail-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;text-align:left;border:0;border-bottom:1px solid var(--v54-line);background:transparent;color:var(--v54-text);padding:13px 0;margin:0 0 10px}
:root body .reminder-detail-row>span:first-child{font-size:12px;color:var(--v54-muted)}
:root body .reminder-detail-row>strong{grid-column:1;font-size:14px;font-weight:600;overflow-wrap:anywhere}
:root body .reminder-detail-row>span:last-child{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;font-weight:500}
:root body .reminder-options{padding:10px 0 16px!important;margin:0!important}
:root body .calendar-sheet .reminder-style{grid-template-columns:1fr!important;gap:9px!important}
:root body .calendar-sheet .reminder-preview{font-size:12px!important;margin:12px 0 0!important;padding-top:12px!important}
:root body .calendar-sheet .calendar-help{font-size:12px!important;line-height:1.6;margin:8px 0 14px}
:root body .permission-actions{flex-direction:column}
:root body .permission-actions>button{width:100%!important;flex:none!important;white-space:normal!important}
:root body .access-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--v54-line)}
:root body .access-row>div{flex:1;min-width:0}
:root body .access-row strong{display:block;font-size:14px;font-weight:600}
:root body .access-row small{display:block;font-size:11px;color:var(--v54-muted);line-height:1.5;margin-top:5px}
:root body .access-row button{font-size:12px;min-height:44px;min-width:76px;padding:9px}
:root body .datetime-summary{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;margin:0 0 16px;line-height:1.5}
:root body .month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
:root body .month-toolbar button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--v54-line);border-radius:12px;background:var(--v54-control);color:var(--v54-text)}
:root body .month-toolbar svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
:root body .picker-year{display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:12px}
:root body .picker-year input{width:100px}
:root body .month-weekdays,:root body .month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
:root body .month-weekdays{font-size:10px;color:var(--v54-muted);margin-bottom:8px}
:root body .month-grid button{min-height:40px;padding:4px 0;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--v54-text);font-size:13px;font-variant-numeric:tabular-nums}
:root body .month-grid button[aria-pressed=true]{background:var(--v54-primary)!important;color:var(--v54-primary-text)!important;border-color:var(--v54-frame)!important}
:root body .time-columns{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:12px;text-align:center;font-size:12px}
:root body .time-colon{align-self:center;font-size:30px}
:root body .datetime-sheet .time-wheel{margin-top:10px;height:160px;padding:60px 0;box-sizing:border-box;overflow:auto;scroll-snap-type:y mandatory;scrollbar-width:none;border:1px solid var(--v54-frame);border-radius:16px;overscroll-behavior:contain;background:var(--v54-surface)}
:root body .datetime-sheet .time-wheel button{display:block;width:100%;height:40px;min-height:40px;padding:0;border:0;border-radius:9px;scroll-snap-align:center;font-variant-numeric:tabular-nums;font-size:24px;font-weight:600;background:transparent;color:var(--v54-muted)}
:root body .datetime-sheet .time-wheel button[aria-pressed=true]{background:var(--v54-control)!important;color:var(--v54-text)!important}
:root body .time-manual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:18px}
:root body .time-manual label{font-size:12px}
:root body .time-manual input{width:100%;box-sizing:border-box;margin-top:7px}
:root body #datetime-period{margin-top:14px}
:root body :is(#reminder-editor-status,#datetime-error,#phone-access-status){font-size:12px;line-height:1.5;overflow-wrap:anywhere}
:root body :is(.calendar-sheet,.agenda-list) [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.calendar-sheet *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

:root body .datetime-sheet .time-wheel{display:block!important;flex-direction:column!important}
:root body .datetime-sheet .time-wheel button{display:block!important;flex:none!important;width:100%!important;min-width:0!important;height:40px!important;line-height:40px!important;box-sizing:border-box}
:root body .calendar-sheet input:not([type=radio]):not([type=hidden]){background:var(--v54-control);color:var(--v54-text);border:1px solid var(--v54-frame);border-radius:12px;padding:12px;width:100%;box-sizing:border-box;font:inherit;min-height:46px}
:root body .reminder-detail-row svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;grid-column:2;grid-row:1/3}
:root body .reminder-event-row{cursor:pointer}

:root body .agenda-list{max-height:none;overflow:visible}
:root body.native-android #calendar-status:empty{display:none}
:root body #reminder-selected-sound:not([hidden]){overflow-wrap:anywhere;font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* One agenda, progressive editor, and a full-page access introduction. */
:root body .agenda-list button.calendar-event{width:100%;text-align:left;color:var(--v54-text);font:inherit;min-height:64px}
:root body .agenda-list button.calendar-event:hover{background:var(--v54-control)!important}
:root body .agenda-reminder-label{display:flex;align-items:center;gap:6px}
:root body .agenda-reminder-label svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:root body .calendar-intro{margin-bottom:12px}
:root body .calendar-connect{font-size:12px;margin:0 0 18px!important}
:root body .calendar-status:empty{display:none}
:root body .reminder-summary{font-size:13px;line-height:1.6;margin:16px 0;color:var(--v54-muted);overflow-wrap:anywhere}
:root body .reminder-customize{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;margin-bottom:12px}
:root body .reminder-customize svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
:root body .reminder-customize[aria-expanded=true] svg{transform:rotate(90deg)}
:root body #reminder-custom-settings{padding-top:10px}
:root body #reminder-remove{margin-top:16px;min-height:44px}
:root body #reminder-preview{display:none}
:root body #phone-access-setup.phone-access-page{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;background:var(--v54-bg)!important;margin:0!important}
:root body .phone-access-page .sheet-heading{padding:28px 24px 16px!important;border:0!important;flex-shrink:0}
:root body .phone-access-page .sheet-heading h2{font-size:26px!important;margin:0}
:root body .phone-access-page .sheet-scroll{width:100%;max-width:560px;align-self:center;padding:0 24px 20px!important}
:root body .phone-access-page .sheet-footer{width:100%;max-width:560px;align-self:center;padding:18px 24px max(22px,env(safe-area-inset-bottom))!important;background:var(--v54-bg)!important}
:root body .access-intro{font-size:17px;line-height:1.5;margin:8px 0}
:root body .access-row{padding:18px 0}
:root body .access-row strong{font-size:15px}
:root body .access-row small{font-size:12px}
:root body .access-status{font-size:11px;color:var(--v54-muted);min-width:76px;text-align:right;flex-shrink:0}
:root body #phone-access-defer{background:transparent!important;border-color:transparent!important;margin-top:8px}
:root body #phone-access-status{font-size:13px;line-height:1.6;margin:20px 0 0}
:root body .menu-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px 12px;border-bottom:1px solid var(--v54-line);margin-bottom:8px}
:root body #app-menu{max-height:calc(100dvh - 190px);overflow-y:auto}
:root body #app-menu .menu-heading button{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;display:grid;place-items:center;border:1px solid var(--v54-frame);border-radius:12px;background:var(--v54-control)}
:root body #menu-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
:root body .clip-delete-dialog{width:calc(100% - 36px)!important;max-width:360px!important;padding:24px!important;border:1px solid var(--v54-frame)!important;border-radius:20px!important;background:var(--v54-surface)!important;color:var(--v54-text)!important;box-sizing:border-box}
:root body .clip-delete-dialog::backdrop{background:rgba(0,0,0,.7)}
:root body .clip-delete-dialog h3{font:700 18px/1.4 Inter,sans-serif;margin:0 0 12px}
:root body .clip-delete-name{font-size:14px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
:root body .clip-delete-dialog p{font-size:12px;color:var(--v54-muted);line-height:1.5}
:root body .clip-delete-actions{display:flex;gap:12px;margin-top:20px}
:root body .clip-delete-actions button{flex:1;min-height:44px;border-radius:12px;font-size:14px}
:root body .clip-delete-dialog [hidden],:root body .phone-access-page [hidden]{display:none!important}

/* Music categories remain visible buttons and remember the active list in this session. */
:root body.native-android .primary-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
:root body .music-categories{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 26px}
:root body .music-categories button{min-height:48px;padding:11px 16px;border:1px solid var(--v54-line);border-radius:24px;background:var(--v54-control);color:var(--v54-text);font-weight:600}
:root body .music-categories button[aria-pressed=true]{border-color:var(--v54-frame);box-shadow:inset 0 2px 5px var(--v54-shadow);background:var(--v54-surface)}
:root body .music-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
:root body .music-list-heading h3{margin:0}
:root body .music-list-heading span{color:var(--v54-muted);font-size:14px}
:root body .music-track{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:14px;padding:18px;border:1px solid var(--v54-line);border-radius:18px;margin:12px 0;background:var(--v54-surface)}
:root body .music-track.selected{border-color:var(--v54-frame);box-shadow:inset 0 2px 5px var(--v54-shadow)}
:root body .music-track-copy{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}
:root body .music-track-copy strong{font-size:18px}
:root body .music-track-copy small{font-size:14px;color:var(--v54-muted)}
:root body .music-track .preview{width:48px;height:48px;align-self:center}
:root body .music-use{grid-column:1/-1;width:100%;min-height:48px}
:root body .music-remove-download{grid-column:1/-1;justify-self:end;min-height:40px;padding:6px 3px;border:0;background:transparent;color:var(--v54-muted);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
:root body .music-remove-download:hover,:root body .music-remove-download:focus-visible{color:var(--v54-text)}
:root body #music-credits{display:none!important}

/* One slim rectangular scroll indicator across every scrollable app surface. */
:root{scrollbar-width:thin;scrollbar-color:var(--v54-muted) transparent}
:root *{scrollbar-width:thin;scrollbar-color:var(--v54-muted) transparent}
:root *::-webkit-scrollbar{width:5px;height:5px}
:root *::-webkit-scrollbar-track{background:transparent}
:root *::-webkit-scrollbar-thumb{background:var(--v54-muted);border:0;border-radius:1px}
:root *::-webkit-scrollbar-thumb:hover{background:var(--v54-text)}
:root body.native-mobile :is(.sheet-scroll,#app-menu,.tutorial-dialog,.sound-library-dialog,.sound-library-list,.premium-select-options,.record-dialog,.calendar-events,.time-wheel){scrollbar-gutter:stable}

/* A date-first calendar with just time, sound and a Ping choice in its editor. */
:root body .event-month{margin:18px 0 22px;padding:14px 10px;border:1px solid var(--v54-line);border-radius:20px;background:var(--v54-surface)}
:root body .event-month-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
:root body .event-month-heading h3{font-size:20px;margin:0;text-align:center}
:root body .event-month-heading button{display:grid;place-items:center;width:44px;height:44px;padding:10px;background:var(--v54-control);border:1px solid var(--v54-line);border-radius:12px;color:var(--v54-text);flex:none}
:root body .event-month-heading svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
:root body .event-weekdays,:root body .event-month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
:root body .event-weekdays{font-size:12px;color:var(--v54-muted);margin-bottom:8px}
:root body .event-month-days button{position:relative;aspect-ratio:1;min-height:40px;padding:4px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--v54-text);font-variant-numeric:tabular-nums}
:root body .event-month-days button[aria-pressed=true]{background:var(--v54-control);border-color:var(--v54-frame);box-shadow:inset 0 2px 4px var(--v54-shadow)}
:root body .event-month-days button[aria-current=date]{font-weight:700;text-decoration:underline;text-underline-offset:5px}
:root body .event-month-days button.has-event:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;bottom:3px;left:calc(50% - 2px)}
:root body .reminder-readonly-date{display:grid;gap:5px;margin:0 0 10px;padding:12px 0;border-bottom:1px solid var(--v54-line)}
:root body .reminder-readonly-date span{font-size:13px;color:var(--v54-muted)}
:root body .reminder-readonly-date strong{font-size:17px;color:var(--v54-text)}
:root body .event-day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
:root body .event-day-heading h3{margin:0;font-size:18px}
:root body .event-day-heading button{min-height:48px}
:root body .event-sound-ping{display:grid;grid-template-columns:minmax(0,1fr) 60px;gap:14px;align-items:end;margin:18px 0}
:root body .event-ping{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:60px;cursor:pointer}
:root body .event-ping input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer;margin:0}
:root body .ping-circle{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:2px solid var(--v54-frame);background:var(--v54-control)}
:root body .event-ping input:checked+.ping-circle:after{content:'';width:14px;height:14px;border-radius:50%;background:var(--v54-text)}
:root body .event-ping input:focus-visible+.ping-circle{outline:2px solid var(--v54-text);outline-offset:4px}
:root body #reminder-preview{display:none}
:root body #reminder-editor-status:empty{display:none}
:root body #reminder-editor-status{padding:12px;border:1px solid var(--v54-frame);border-radius:12px}
:root body #phone-access-setup.phone-access-page[open]{display:block!important;inset:0!important;box-sizing:border-box!important}
:root body .phone-access-page .sheet-scroll{box-sizing:border-box;width:100%!important;max-width:610px!important;height:100dvh;max-height:100dvh;align-self:stretch;overflow-y:auto!important;min-height:0;margin:0 auto;padding:24px 24px max(32px,env(safe-area-inset-bottom))!important}
:root body .phone-access-page .permission-actions{display:grid;gap:10px;margin-top:24px;padding-bottom:8px}
:root body .phone-access-page .access-complete{min-height:calc(100dvh - 56px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;box-sizing:border-box}
:root body .phone-access-page .access-complete[hidden]{display:none!important}
:root body .phone-access-page .access-complete h2{font-size:clamp(34px,9vw,52px)!important;margin:12px 0}
:root body .phone-access-page .access-complete p{max-width:420px;margin:0 auto 32px;font-size:16px!important;line-height:1.55}
:root body .phone-access-page .access-celebration{font-size:78px;line-height:1}
:root body .phone-access-page #phone-access-finish{width:min(100%,420px);min-height:56px;font-size:18px!important}
:root body .phone-access-page .permission-actions .button-quiet{border:0!important;background:transparent!important;min-height:44px!important}

/* Comfortable reading sizes, with compact navigation and tabular clock digits. */
:root body.native-mobile{font-size:16px!important;line-height:1.55}
:root body.native-mobile p,:root body.native-mobile label,:root body.native-mobile input,:root body.native-mobile select,:root body.native-mobile button{font-size:16px!important;line-height:1.45}
:root body.native-mobile small,:root body.native-mobile .calendar-help,:root body.native-mobile .calendar-selected,:root body.native-mobile .sound-sub,:root body.native-mobile .account-small{font-size:14px!important;line-height:1.5}
:root body.native-mobile .sound-name,:root body.native-mobile .calendar-event strong{font-size:17px!important}
:root body.native-mobile .calendar-event time,:root body.native-mobile .agenda-reminder-label,:root body.native-mobile .access-status{font-size:14px!important}
:root body.native-mobile h2{font-size:clamp(24px,6vw,30px)!important;line-height:1.2}
:root body.native-mobile h3{font-size:20px!important;line-height:1.3}
:root body.native-mobile .primary-nav button,:root body.native-mobile .primary-nav button span{font-size:12px!important;line-height:1.25;min-width:0}
:root body.native-mobile .primary-nav button{padding-inline:3px!important}
:root body.native-mobile .event-month-days button{font-size:16px!important}
:root body.native-mobile .event-weekdays span{font-size:12px!important}
:root body.native-mobile .event-ping{font-size:14px!important}
:root body.native-mobile .sheet-close{font-size:26px!important}
:root body.native-mobile .micro-label{font-size:13px!important}
:root body.native-mobile.is-music-view :is(.referral-offer-banner,.intro){display:none!important}
:root body.native-mobile .music-view{padding-top:30px}
:root body .music-download-note{margin:18px 0 24px;padding:18px;border:1px solid var(--v54-frame);border-radius:18px;background:var(--v54-surface)}
:root body .music-download-note h3{margin:0 0 8px;font-size:20px}
:root body .music-download-note p{margin:0 0 14px;color:var(--v54-muted);line-height:1.55}
:root body .music-download-note .button-quiet{width:100%;min-height:48px}
:root body #music-download-status{min-height:1.4em;margin:10px 0 0;font-size:14px;color:var(--v54-text)}
:root body .music-download-state{display:block;margin-top:5px;color:var(--v54-muted);font-size:13px}
:root body .music-track.downloaded .music-download-state{color:var(--v54-text)}
:root body.native-mobile.is-music-view .music-view{padding-bottom:138px!important}
:root body.native-mobile .calendar-view{padding-bottom:124px!important}
:root body .music-player{position:fixed;z-index:870;left:10px;right:10px;bottom:calc(82px + env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px 12px;align-items:center;padding:13px 14px;border:1px solid var(--v54-frame);border-radius:16px;background:var(--v54-control);color:var(--v54-text);box-shadow:0 -8px 26px var(--v54-shadow);box-sizing:border-box}
:root body .music-player[hidden]{display:none!important}
:root body .music-player-copy{display:grid;min-width:0}
:root body .music-player-copy :is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root body .music-player-copy strong{font-size:15px}
:root body .music-player-copy small{font-size:12px;color:var(--v54-muted)}
:root body #music-player-toggle{display:grid;place-items:center;width:48px;height:48px;padding:12px;border:1px solid var(--v54-frame);border-radius:50%;background:var(--v54-surface);color:var(--v54-text)}
:root body #music-player-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
:root body #music-player-toggle svg path[d^="m8"]{fill:currentColor;stroke:none}
:root body .music-player-timeline{grid-column:1/-1;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;align-items:center;font-size:11px;font-variant-numeric:tabular-nums}
:root body #music-player-seek{width:100%;height:28px;margin:0;accent-color:var(--v54-text)}
:root body.native-mobile #phone-access-setup :is(p,label,button){font-size:16px!important}
:root body.native-mobile #reminder-editor .sheet-close{font-size:26px!important}
:root body.native-mobile #calendar-connection{font-size:14px!important}
:root body.native-mobile .footer{font-size:14px!important}
:root body.native-mobile .header-actions button{font-size:17px!important}


/* Final shared controls and dock. */
:root body .app-close{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:10px;border:1px solid var(--v54-frame);border-radius:12px;background:var(--v54-control);color:var(--v54-text)}
:root body .app-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.policy-close{float:right}.access-scroll-cue{font-size:13px;color:var(--v54-muted);opacity:.7}
:root body .music-player{left:0;right:0;bottom:var(--music-dock-bottom,82px);border-radius:14px 14px 0 0;box-shadow:none}
:root body .music-player[hidden],:root body:not(.is-music-view) .music-player{display:none!important}
:root body .music-view{padding-bottom:180px!important}
:root body #alarm-time-open{width:100%;margin-bottom:16px}

:root body .time-control[hidden]{display:none!important}
:root body .time-wheel .wheel-value{width:88px;min-width:88px;font-size:48px!important;line-height:1.15;padding:10px 8px;border-radius:14px;font-variant-numeric:tabular-nums}
:root body .time-wheel .wheel-divider{font-size:46px}
:root body .time-wheel .wheel-step{width:72px;min-height:44px}
:root body .time-wheel{gap:12px;justify-content:center}
@media(max-width:340px){:root body .time-wheel .wheel-value{width:78px;min-width:78px;font-size:44px!important}:root body .time-wheel{gap:8px}}

/* Unified alarm composer and consistent controls. */
:root body.native-android .primary-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
:root body #wake-profile[hidden]{display:none!important}
:root body .workspace{display:flex!important;flex-direction:column!important;gap:24px}
:root body .setup-panel{display:flex!important;flex-direction:column!important;gap:18px}
:root body .setup-panel>.step-heading{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;position:static!important}
:root body #alarm-time-open{width:100%;margin:16px 0 -24px!important;min-height:48px}
:root body #app-menu :is(a,button):not(.app-close){font-size:16px!important;line-height:1.4!important}
:root body #phone-access-finish{background:#fff!important;color:#111!important;border-color:#fff!important;min-height:52px;width:100%;pointer-events:auto!important}
:root body #phone-access-complete{min-height:calc(100dvh - 48px);display:flex;flex-direction:column;justify-content:center;gap:22px}
:root body #phone-access-complete[hidden]{display:none!important}
:root body #reminder-sound-control:disabled{opacity:.35;cursor:default}


:root body #alarm-confirmation[hidden]{display:none!important}
:root body #alarm-confirmation strong{font-size:34px!important}
:root body .alarm-sound-sheet{width:calc(100% - 24px);max-width:560px}
:root body .alarm-sound-sheet .view-top{display:none}
:root body .alarm-sound-sheet #view-sounds{padding:0!important}
:root body .alarm-sound-sheet .sound-heading{display:none}
:root body #music-player-seek{touch-action:pan-y;min-width:0;pointer-events:auto}

:root body .alarm-sound-sheet .sheet-scroll{padding:14px!important;overflow:auto}
:root body .alarm-sound-sheet .sound-use-callout{font-size:14px!important}
:root body #reminder-when{padding:20px 0!important;min-height:102px}

:root body #music-player-seek{touch-action:none!important}

:root body #app-menu :is(a,button) :is(span,strong){font-size:inherit!important}

:root[data-theme="light"] body #phone-access-finish{background:#111!important;color:#fff!important;border-color:#111!important}

:root body #arm{background:var(--v54-primary)!important;color:var(--v54-primary-text)!important;border-color:var(--v54-primary)!important} :root body #arm *{color:inherit!important}
#quick-alarm{max-width:520px} #quick-alarm .time-control{display:block!important} #quick-alarm .quick-error{padding:0 24px;color:var(--v54-danger)} #quick-alarm .sheet-heading button{min-width:44px;min-height:44px}

:root body #quick-alarm .sheet-heading button{background:var(--v54-control)!important;color:var(--v54-text)!important;border:1px solid var(--v54-line)!important;border-radius:12px!important;width:44px;height:44px;font-size:26px;padding:0} :root body .music-deselect{background:transparent!important;border:0!important;font-size:13px!important;color:var(--v54-muted)!important;min-height:44px} .music-deselect[hidden]{display:none!important}


/* Compact controls and a subdued confirmation in the page that saved it. */
:root body{font-size:14px!important}
:root body.native-mobile :is(p,label,select,button,input:not(.wheel-value):not(.date-value)){font-size:14px!important;line-height:1.45}
:root body.native-mobile :is(small,.calendar-help,.sound-sub,.record-privacy,.record-status){font-size:12px!important}
:root body.native-mobile :is(h2,.view-top h2){font-size:24px!important} :root body.native-mobile :is(h3,.sheet-heading h3){font-size:20px!important}
:root body #app-menu :is(a,button):not(.app-close){font-size:14px!important}
:root body #arm{background:#fff!important;color:#111!important;border-color:#fff!important;font-size:19px!important;min-height:54px}
:root[data-theme="light"] body #arm{background:#111!important;color:#fff!important;border-color:#111!important}
:root body #arm *{font-size:19px!important;color:inherit!important}
:root body #alarm-time-open,:root body #choose-sound{box-sizing:border-box;width:100%;min-height:50px!important;border:1px solid var(--v54-frame)!important;border-radius:12px!important;padding:12px 16px!important;background:var(--v54-control)!important;color:var(--v54-text)!important;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:15px!important;gap:3px}
:root body #choose-sound>span:last-child{order:-1;font-size:15px!important} :root body #choose-sound small{display:none} :root body #choose-sound>span:first-child{display:flex;flex-direction:column;gap:2px} :root body #choose-sound>span:first-child:has(#selected-sound-label:empty){display:none} :root body #choose-sound strong{font-size:13px!important} :root body #choose-sound em{font-size:12px!important}
:root body .workspace>.clock-panel{order:0!important} :root body .workspace>.setup-panel{order:1!important}
:root body :is(#clock-caption,#status-detail,.open-note){display:none!important}
:root body #alarm-confirmation{position:static!important;inset:auto!important;z-index:auto!important;min-height:0!important;width:100%;box-sizing:border-box;padding:14px 18px!important;margin:12px 0!important;display:grid!important;grid-template-columns:22px 1fr;gap:3px 9px;justify-content:start;align-items:center;border-radius:14px!important;background:#183126!important;border:1px solid #304b3c!important;color:#e6eeea!important;pointer-events:none;box-shadow:none!important}
:root body #alarm-confirmation[hidden]{display:none!important} :root body #alarm-confirmation *{color:#e6eeea!important} :root body #alarm-confirmation strong{font-size:17px!important;text-align:left} :root body #alarm-confirmation-detail{grid-column:2;font-size:13px!important;text-align:left}
:root body .music-deselect{justify-self:start!important;align-self:start!important;grid-column:1/-1!important;text-align:left!important;width:auto!important;padding:6px 0!important;margin:0!important}
:root body .alarm-entry{display:flex;flex-direction:column;gap:12px} :root body .alarm-entry-actions{display:grid!important;grid-template-columns:1fr 1fr 44px;gap:9px;width:100%;align-items:center} :root body .alarm-entry-actions button:not(.alarm-toggle){width:100%;min-height:44px;padding:8px 12px!important;border-radius:10px!important;font-size:14px!important}
:root body .record-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;width:100%} :root body .record-actions button{min-width:0!important;width:100%!important;min-height:48px!important;white-space:normal;padding:12px!important;border-radius:12px!important} :root body #record-delete-take{grid-column:1/-1}
:root body .sound-library-more[open]{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;width:100%;padding-top:8px} :root body .sound-library-more summary{grid-column:1/-1;min-height:44px;display:flex;align-items:center} :root body .sound-library-more button{min-width:0;width:100%;min-height:44px;border-radius:10px!important;padding:10px!important;margin:0!important}
:root body .event-sound-ping{display:grid;grid-template-columns:minmax(0,1fr) 44px 48px;gap:10px;align-items:center} :root body .calendar-sound-preview{width:44px;min-height:44px;border:1px solid var(--v54-frame);border-radius:50%;background:var(--v54-control);color:var(--v54-text);padding:10px} .calendar-sound-preview svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
:root body #phone-access-complete{position:relative;background:radial-gradient(ellipse at 50% 35%,#cfa63a12,transparent 60%);border-radius:28px} :root body .access-celebration{animation:celebrate-soft 2.8s ease-in-out infinite;transform-origin:50% 70%;filter:drop-shadow(0 8px 16px #cfa63a24)}
:root body #phone-access-complete::before,:root body #phone-access-complete::after{content:'✦';position:absolute;color:#b99a59;opacity:.35;font-size:24px;top:24%;left:16%} :root body #phone-access-complete::after{left:auto;right:17%;top:38%;font-size:15px}
@keyframes celebrate-soft{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(5deg) translateY(-8px)}}
@media(prefers-reduced-motion:reduce){:root body .access-celebration{animation:none}}
:root,:root *{scrollbar-width:none!important} :root *::-webkit-scrollbar{display:none!important} .scroll-position-indicator{position:fixed;width:3px;border-radius:1px;background:var(--v54-muted,#aaa);opacity:.65;pointer-events:none;z-index:15000}

:root body #alarm-confirmation{grid-column:1/-1!important}

:root body #choose-sound>span:last-child{width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;white-space:nowrap!important;text-align:center!important;margin:0!important}
:root body #arm,:root body #arm *{text-shadow:none!important} :root body #arm svg,:root body #arm svg *{color:inherit!important;stroke:currentColor!important}
:root body .workspace>.clock-panel,:root body .workspace>.setup-panel{width:100%!important;max-width:none!important;box-sizing:border-box}
:root body.native-mobile .intro h1{font-size:30px!important;line-height:1.15} :root body #alarm-confirmation{scroll-margin-bottom:120px}

:root body #phone-access-finish span{color:inherit!important}
:root:not([data-theme="light"]) body #arm :is(span,svg,path){color:#111!important}
:root[data-theme="light"] body #arm :is(span,svg,path){color:#fff!important}
:root body.native-mobile #phone-access-complete h2{font-size:36px!important}

/* Compact Calendar preview, aligned with the sound field rather than its label. */
:root body .event-sound-ping{grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;align-items:end}
:root body .calendar-sound-preview{width:44px;height:48px;min-height:48px;padding:14px 13px;border:0;border-radius:10px;background:transparent!important;display:grid;place-items:center;align-self:end;margin-bottom:0}
:root body .calendar-sound-preview svg{width:17px;height:17px;stroke-width:1.8}
:root body .calendar-sound-preview:hover:not(:disabled){background:var(--v54-control)!important}
:root body .event-ping{height:48px;gap:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px!important;align-self:end}
:root body .event-ping .ping-circle{width:24px;height:24px;border-width:2px}
:root body .event-sound-ping .calendar-field{margin-bottom:0!important}
:root body .event-sound-ping .event-ping{min-height:48px}
:root body .record-item{display:flex;flex-direction:column;gap:14px}
:root body .record-item-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
:root body .record-item-actions button{min-width:0;min-height:44px;padding:10px 8px;font-size:13px!important;border-radius:10px;white-space:normal}
:root body .record-item-actions [data-record-action="export"],:root body .record-item-actions [data-record-action="delete"]{font-size:12px!important;min-height:44px}
:root body .record-item #alarm-confirmation{width:100%;box-sizing:border-box}
:root body #alarm-form-error{font-size:13px;line-height:1.5;margin:10px 0 0;color:var(--v54-text)}
:root body #music-player-seek{touch-action:pan-y;cursor:pointer}

/* A small party around the emoji; decorations never cover the text or action. */
:root body .access-party{position:relative;width:min(100%,330px);height:190px;margin:0 auto;flex-shrink:0;pointer-events:none}
:root body .access-party .access-celebration{position:absolute;left:50%;top:54px;margin-left:-45px;width:90px;height:90px;font-size:80px;animation:party-blow 3.2s ease-in-out infinite;transform-origin:center 70%}
:root body #phone-access-complete::before,:root body #phone-access-complete::after{content:none}
.party-balloon{position:absolute;width:34px;height:43px;border-radius:50% 50% 46% 46%;box-shadow:inset -5px -5px 9px #0002;animation:balloon-float 4s ease-in-out infinite}
.party-balloon::before{content:'';position:absolute;left:14px;bottom:-4px;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:5px solid currentColor}
.party-balloon::after{content:'';position:absolute;left:17px;top:47px;height:45px;width:1px;background:currentColor;opacity:.5;transform:rotate(5deg);transform-origin:top}
.balloon-one{left:20px;top:34px;color:#d6ae56;background:#e5be66;animation-delay:-1s;transform:rotate(-12deg)}
.balloon-two{right:17px;top:21px;color:#829bb8;background:#91abc9;animation-delay:-2.3s}
.balloon-three{right:52px;top:72px;width:26px;height:34px;color:#c395a8;background:#d4a6b8;animation-delay:-.5s;opacity:.8}
.party-star{position:absolute;color:#d9b357;animation:star-twinkle 3.2s ease-in-out infinite;font-size:20px}
.star-one{left:77px;top:18px}.star-two{left:46px;top:124px;animation-delay:-1s;font-size:13px}.star-three{right:82px;top:12px;animation-delay:-2s;font-size:26px}.star-four{right:32px;top:144px;animation-delay:-.6s;font-size:13px}
.party-sparks{position:absolute;left:74%;top:59%;width:10px;height:10px}
.party-sparks i{position:absolute;width:5px;height:5px;background:#e2bc61;border-radius:1px;opacity:0;animation:party-spark 3.2s ease-out infinite;--sx:58px;--sy:-28px;--spin:140deg}
.party-sparks i:nth-child(2){--sx:47px;--sy:-51px;--spin:250deg;background:#86b9c4;animation-delay:.05s}
.party-sparks i:nth-child(3){--sx:65px;--sy:-8px;--spin:310deg;animation-delay:.1s}
.party-sparks i:nth-child(4){--sx:34px;--sy:-65px;--spin:180deg;background:#c79ab8;animation-delay:.04s}
.party-sparks i:nth-child(5){--sx:60px;--sy:17px;--spin:270deg;background:#bfc9b4;animation-delay:.12s}
.party-sparks i:nth-child(6){--sx:78px;--sy:-37px;--spin:190deg;animation-delay:.08s;width:3px;height:7px}
@keyframes party-blow{0%,100%{transform:rotate(-5deg) scale(1)}18%{transform:rotate(6deg) scale(1.09)}30%{transform:rotate(-3deg) scale(1.03)}50%{transform:rotate(3deg) scale(1.06)}75%{transform:rotate(-4deg) scale(1)}}
@keyframes party-spark{0%,12%{opacity:0;transform:translate(0,0) scale(.3)}18%{opacity:1}48%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--spin)) scale(.7)}100%{opacity:0;transform:translate(var(--sx),var(--sy))}}
@keyframes balloon-float{0%,100%{translate:0 0;rotate:-6deg}50%{translate:0 -9px;rotate:6deg}}
@keyframes star-twinkle{0%,100%{opacity:.35;scale:.8}50%{opacity:.9;scale:1.15}}
@media(prefers-reduced-motion:reduce){.access-party *{animation:none!important}.party-sparks{display:none}}
:root body.native-mobile .primary-nav button span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root body #app-menu .menu-heading{position:sticky;top:0;background:var(--v54-surface);z-index:1;padding-top:8px}

/* Cards have one clear header and one balanced row of actions. */
:root body .alarm-entry{padding:18px!important;margin:0!important;border:1px solid var(--v54-line)!important;border-radius:16px!important;gap:16px!important}
:root body #alarm-list{display:flex!important;flex-direction:column;gap:12px!important;padding-top:16px}
:root body .alarm-entry-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%}
:root body .alarm-entry-main{min-width:0;flex:1;margin:0!important;padding:0!important;text-align:left!important}
:root body .alarm-entry-time{font-size:32px!important;line-height:1.15!important;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.8px}
:root body .alarm-entry-date{margin-top:7px!important;font-size:13px!important}
:root body .alarm-entry-sound{margin-top:5px!important;font-size:13px!important;line-height:1.5!important}
:root body .alarm-entry-header .alarm-toggle{grid-column:auto!important;grid-row:auto!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important}
:root body .alarm-entry-header .alarm-toggle::before{content:none!important}
:root body .alarm-switch-track{display:block!important;position:relative;width:40px;height:24px;box-sizing:border-box;border:1px solid var(--v54-frame);border-radius:999px;background:var(--v54-control);transition:background .2s}
:root body .alarm-switch-track::before{content:'';position:absolute;left:2px;top:2px;width:18px;height:18px;border-radius:50%;background:var(--v54-muted);transition:transform .2s}
:root body .alarm-toggle[aria-checked="true"] .alarm-switch-track{background:var(--v54-text)!important;border-color:var(--v54-text)}
:root body .alarm-toggle[aria-checked="true"] .alarm-switch-track::before{background:var(--v54-bg);transform:translateX(16px)}
:root body .alarm-entry-actions{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important;gap:10px!important;width:100%!important}
:root body .alarm-entry-actions button{grid-column:auto!important;grid-row:auto!important;min-height:44px!important;border-radius:10px!important;font-size:13px!important;padding:9px 12px!important;width:100%!important}
:root body .alarm-entry.is-off .alarm-entry-main{opacity:.55}
:root body #recordings-library{padding:0!important;border:0!important;background:transparent!important;display:flex!important;flex-direction:column;gap:12px!important}
:root body .record-item{padding:18px!important;margin:0!important;gap:16px!important;border-radius:16px!important}
:root body .record-item-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important}
:root body .record-item-heading strong{font-size:16px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
:root body .record-item-origin{font-size:10px!important;letter-spacing:.5px;text-transform:uppercase;font-weight:500;border:1px solid var(--v54-line);border-radius:5px;padding:2px 6px;line-height:1.4!important}
:root body .record-item-body>span{display:block;margin-top:8px;font-size:12px!important;line-height:1.4}
:root body .record-item-actions{gap:8px!important}
:root body .record-item-actions button{display:flex;justify-content:center;align-items:center;gap:7px;font-size:13px!important;min-height:44px!important;line-height:1.3!important}
:root body .record-action-icon{font-size:18px!important;line-height:1;flex-shrink:0}
:root body #recordings-library .record-item-actions :is([data-record-action="export"],[data-record-action="delete"]){border:0!important;background:transparent!important;font-size:12px!important;box-shadow:none!important}
:root body .record-item-actions [data-record-action="use"]{font-weight:650!important}
:root body .music-deselect{display:inline-flex;justify-self:start!important;align-items:center;gap:7px;width:auto!important;min-height:44px!important;padding:7px 13px!important;margin:0!important;border:1px solid var(--v54-line)!important;border-radius:999px!important;background:var(--v54-control)!important;font-size:12px!important;font-weight:500!important;color:var(--v54-muted)!important;transition:background .2s,color .2s}
:root body .music-deselect[hidden]{display:none!important}
:root body .music-deselect span:first-child{font-size:19px;line-height:1}
:root body .music-deselect:hover{color:var(--v54-text)!important;border-color:var(--v54-muted)!important}
:root body #alarm-confirmation{animation:confirmation-in .22s ease-out}
@keyframes confirmation-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}

/* The blower unrolls on each puff; rising balloons stay behind the controls. */
:root body #phone-access-complete{isolation:isolate;overflow:hidden}
:root body #phone-access-complete :is(h2,p){position:relative;z-index:1;isolation:isolate}
:root body .access-party{overflow:visible;height:200px}
:root body .access-party .access-celebration{animation:party-blow-bold 3.2s ease-in-out infinite}
.party-face{position:relative;z-index:2}
.party-blower{position:absolute;z-index:3;left:68%;top:61%;width:61px;height:12px;border-radius:3px 10px 10px 3px;background:repeating-linear-gradient(90deg,#60c5d9 0 9px,#ebbf62 9px 16px,#e88ba8 16px 24px);border:1px solid #40a6b7;transform-origin:left center;animation:blower-unroll 3.2s ease-in-out infinite;box-shadow:0 2px 0 #0002}
.party-puff{position:absolute;left:125%;top:50%;width:34px;height:32px;border-radius:50%;border:2px solid #bdd8e9;animation:blower-puff 3.2s ease-out infinite;opacity:0}
:root body .party-sparks{left:130%;top:64%;z-index:4}
:root body .party-sparks i{width:6px;height:6px;animation:party-spark-bold 3.2s ease-out infinite}
.party-sparks i:nth-child(7){--sx:65px;--sy:42px;background:#eaa0bc;--spin:260deg}
.party-sparks i:nth-child(8){--sx:78px;--sy:-65px;background:#aad4e8;--spin:320deg}
.party-sparks i:nth-child(9){--sx:34px;--sy:55px;background:#eac668;--spin:190deg}
.party-sparks i:nth-child(10){--sx:90px;--sy:3px;background:#c6b3de;--spin:390deg}
:root body .party-balloon{z-index:-1;animation:balloon-rise 6s linear infinite;top:auto;bottom:-220px;width:36px;height:46px}
:root body .balloon-one{left:4%;animation-delay:-1s}
:root body .balloon-two{right:8%;animation-delay:-3.4s}
:root body .balloon-three{right:26%;animation-delay:-.4s}
.balloon-four{left:26%;color:#a398cb;background:#bfb0e4;animation-delay:-4.9s!important}
.balloon-five{left:64%;color:#7db6a9;background:#9acebd;animation-delay:-2.1s!important}
@keyframes party-blow-bold{0%,100%{transform:rotate(-6deg) scale(1)}15%{transform:rotate(-12deg) scale(.97)}24%{transform:rotate(8deg) scale(1.16)}35%{transform:rotate(3deg) scale(1.07)}54%{transform:rotate(-4deg) scale(1)}75%{transform:rotate(3deg) scale(1.03)}}
@keyframes blower-unroll{0%,15%,60%,100%{transform:rotate(-12deg) scaleX(.18)}24%,38%{transform:rotate(-12deg) scaleX(1)}48%{transform:rotate(-12deg) scaleX(.3)}}
@keyframes blower-puff{0%,22%{opacity:0;transform:scale(.2)}26%{opacity:.8}44%{opacity:0;transform:translate(35px,-14px) scale(1.8)}100%{opacity:0}}
@keyframes party-spark-bold{0%,23%{opacity:0;transform:translate(0,0) scale(.4)}28%{opacity:1}58%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--spin)) scale(.6)}100%{opacity:0}}
@keyframes balloon-rise{0%{opacity:0;transform:translate(0,0) rotate(-12deg)}12%{opacity:.85}45%{transform:translate(12px,-275px) rotate(10deg)}82%{opacity:.8}100%{opacity:0;transform:translate(-10px,-540px) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){:root body .access-party *,:root body #alarm-confirmation{animation:none!important}.party-blower,.party-puff,.party-sparks{display:none!important}:root body .party-balloon{bottom:100px!important;opacity:.7;transform:none!important}}

/* Final requested control alignment, without changing the surrounding pages. */
:root body #recordings-library .record-item-actions [data-record-action="use"]{grid-column:1/-1}
:root body #recordings-library .record-item-actions [data-record-action="delete"],:root body .sound-library-actions .recording-delete{border:1px solid var(--v54-frame)!important;background:var(--v54-control)!important;box-shadow:none!important;color:var(--v54-danger)!important;font-size:13px!important}
:root body .sound-library-item{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
:root body .sound-library-item>[data-sound-pick]{width:100%!important;min-height:44px!important;margin:0!important}
:root body .sound-library-more,:root body .sound-library-more[open]{display:block!important;width:100%!important;margin:0!important;padding:0!important}
:root body .sound-library-more summary{display:flex!important;align-items:center;justify-content:space-between;min-height:44px;padding:0 5px!important;list-style:none!important;font-size:13px!important}
:root body .sound-library-more summary::-webkit-details-marker{display:none}
:root body .sound-library-more summary::after{content:'⌄';font-size:20px;transition:transform .2s}
:root body .sound-library-more[open] summary::after{transform:rotate(180deg)}
:root body .sound-library-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:6px}
:root body .sound-library-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px!important;width:100%!important;margin:0!important;padding:9px 6px!important;font-size:13px!important;border:1px solid var(--v54-frame)!important;background:var(--v54-control)!important;border-radius:10px!important}
:root body :is(#record-listen,#backing-preview){display:flex;align-items:center;justify-content:center;gap:7px}
:root body #backing-preview svg{width:18px;height:18px;fill:currentColor;stroke:none}
:root body .preview[aria-pressed=true] svg path,:root body .calendar-sound-preview[aria-pressed=true] svg path{fill:currentColor;stroke:none}
/* Touch scrolling stays native; only deliberate taps/keyboard moves animate. */
:root body .datetime-sheet .time-wheel{height:234px!important;padding:78px 0!important;scroll-snap-type:y proximity!important;scrollbar-width:none!important;scrollbar-gutter:auto!important;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:0!important;border-radius:16px!important}
:root body .datetime-sheet .time-wheel::-webkit-scrollbar{display:none}
:root body #calendar-datetime-picker .time-wheel button{height:78px!important;min-height:78px!important;line-height:78px!important;font-size:48px!important;font-weight:600!important;border-radius:14px!important;padding:0!important}
:root body .datetime-sheet .time-colon{font-size:46px!important}
/* Confetti starts at the extended blower tip, fans out, then falls. Balloons retain their existing motion. */
:root body .access-party .access-celebration{animation:party-breath 3.2s ease-in-out infinite!important}
:root body .party-face{display:block;width:90px;height:90px}
:root body .party-face svg{display:block;width:90px;height:90px;overflow:visible}
:root body .party-cheek{transform-origin:center;animation:party-cheeks 3.2s ease-in-out infinite}
:root body .party-blower{left:65%;top:63%;animation:blower-unroll 3.2s ease-in-out infinite}
:root body .party-puff{display:none}
.party-confetti{position:absolute;left:129%;top:60%;z-index:4;width:1px;height:1px}
.party-confetti i{position:absolute;left:0;top:0;width:5px;height:8px;border-radius:1px;background:var(--color);opacity:0;animation:confetti-blast 3.2s cubic-bezier(.16,.7,.4,1) infinite;animation-delay:calc(-1s + var(--delay))}
.party-confetti i:nth-child(3n){width:7px;height:4px}.party-confetti i:nth-child(4n){border-radius:50%;width:5px;height:5px}
@keyframes party-breath{0%,12%,100%{transform:scale(1)}18%{transform:scale(.97)}26%{transform:scale(1.06)}40%,70%{transform:scale(1)}}
@keyframes party-cheeks{0%,18%,60%,100%{opacity:.6}25%,38%{opacity:.95}}
@keyframes confetti-blast{0%,22%{opacity:0;transform:translate(0,0) rotate(0) scale(.5)}25%{opacity:1}44%{opacity:1;transform:translate(var(--cx),var(--cy)) rotate(var(--spin)) scale(1)}68%{opacity:0;transform:translate(calc(var(--cx) + 6px),calc(var(--cy) + var(--fall))) rotate(calc(var(--spin) + 160deg)) scale(.8)}100%{opacity:0}}
@media(max-width:340px){:root body #calendar-datetime-picker .time-wheel button{font-size:44px!important}}
@media(prefers-reduced-motion:reduce){:root body .access-party .access-celebration,:root body .party-cheek{animation:none!important}.party-confetti{display:none!important}}

:root{--record-delete-surface:#181414}
:root[data-theme="light"]{--record-delete-surface:#fffafa}
:root body #recordings-library [data-record-action="delete"],:root body #sound-library-list .sound-library-actions .recording-delete{background:var(--record-delete-surface)!important;color:var(--v54-danger)!important}
:root body #sound-library-list .sound-library-more summary::after{content:none!important}
:root body .access-party :is(.access-celebration,.party-cheek,.party-blower){animation-delay:-1s!important}
:root body #message{min-height:2.8em}
:root body .free-version-page summary{font-size:14px;font-weight:600;cursor:pointer;line-height:1.4}
:root body .free-version-page h3{font-size:15px;margin:20px 0 8px}
:root body .free-version-page :is(p,li){font-size:13px;line-height:1.65;color:var(--v54-muted)}
:root body .free-version-page ul{padding-left:20px;margin:8px 0}
:root body .sound-library-more .more-chevron{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
:root body .sound-library-more[open] .more-chevron{transform:rotate(180deg)}

/* Keep gesture scrolling on the browser compositor; never intercept drags. */
:root,:root body :is(.sheet-scroll,#app-menu,.tutorial-dialog,.sound-library-list,.record-dialog-controls,.premium-select-options,.calendar-events,.alarm-list){scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overflow-anchor:none}
:root body .datetime-sheet .time-wheel{scroll-behavior:auto;overscroll-behavior:contain}
:root body .scroll-position-indicator{top:0;left:0;will-change:transform}
:root body.is-user-scrolling :is(.clock-wave-bar,.clock-motion-dot,.party-balloon,.party-star,.party-confetti i,.party-blower,.party-cheek,.party-face,.party-puff){animation-play-state:paused!important}
:root body .calendar-new-reminder{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;min-height:52px;margin:16px 0 0;padding:14px 16px;border:1px solid var(--v54-frame)!important;border-radius:14px!important;background:var(--v54-control)!important;color:var(--v54-text)!important;text-align:left;font-size:14px!important;font-weight:600}
:root body .calendar-new-reminder[hidden]{display:none!important}
:root body .calendar-new-reminder svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root body #event-day-title{scroll-margin-top:20px}
@media(prefers-reduced-motion:reduce){:root,:root body :is(.sheet-scroll,#app-menu,.tutorial-dialog,.sound-library-list,.record-dialog-controls,.premium-select-options,.calendar-events,.alarm-list){scroll-behavior:auto}}

:root body #tutorial-video{display:block;width:100%;height:auto;max-height:70dvh;background:#000;object-fit:contain}
:root body .tutorial-fullscreen{align-self:flex-end;min-height:44px;padding:10px 14px;margin-top:8px}
:root body #tutorial-video:fullscreen{width:100vw!important;height:100dvh!important;max-height:none!important;background:#000;object-fit:contain}
:root[data-theme="light"] body #header-tutorial.button-quiet{background:#151515!important;border-color:#151515!important;color:#fff!important}
:root[data-theme="light"] body #header-tutorial.button-quiet span{margin-right:7px!important;color:#fff!important;font-size:10px!important}
:root:not([data-theme="light"]) body #header-tutorial.button-quiet{background:#f4f4f2!important;border-color:#f4f4f2!important;color:#111!important}
:root:not([data-theme="light"]) body #header-tutorial.button-quiet span{color:#111!important}

/* Content ends at the footer; only the visible fixed dock gets reserved space. */
:root body.native-mobile .app-view{min-height:0!important;padding-bottom:0!important}
:root body.native-mobile.is-music-view .music-view,:root body.native-mobile .calendar-view{padding-bottom:0!important}
:root body.native-mobile #recordings-library{min-height:0!important}
:root body.native-mobile .footer{padding-top:16px!important;padding-bottom:12px!important;margin-top:0!important;gap:0!important}
:root body.native-mobile .footer>div{display:none!important}
:root body.native-mobile{padding-bottom:80px!important}
:root body.native-mobile.is-music-view:has(#music-player:not([hidden])){padding-bottom:190px!important}
:root body.native-mobile .intro{padding:18px 0 16px!important}
:root body.native-mobile .music-view,:root body.native-mobile .calendar-intro{padding-top:18px!important}

