:root{color-scheme:light dark;--bg:#f7f7f8;--surface:rgba(255,255,255,.84);--surface-solid:#fff;--surface-soft:#f2f2f7;--surface-subtle:rgba(255,255,255,.72);--text:#0e0e11;--muted:#777780;--line:rgba(14,14,17,.08);--accent:#0d0d0f;--accent-text:#fff;--danger:#c9342c;--focus:#0071e3;--radius-s:14px;--radius-m:22px;--radius-l:30px;--shadow:0 22px 60px rgba(20,20,26,.075);--space-6:32px;--ease:cubic-bezier(.22,.8,.24,1)}
*{box-sizing:border-box}[hidden]{display:none!important}html{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;background:var(--bg);color:var(--text);text-size-adjust:100%}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fff 0,#f8f8fa 38%,var(--bg) 100%);-webkit-font-smoothing:antialiased;overflow-x:hidden}button,input,select{font:inherit}.skip-link{position:fixed;left:16px;top:12px;z-index:100;transform:translateY(-160%);background:#fff;color:#111;padding:12px 16px;border-radius:12px}.skip-link:focus{transform:none}.app-shell{min-height:100dvh;max-width:760px;margin:auto;padding:env(safe-area-inset-top) clamp(18px,4vw,32px) env(safe-area-inset-bottom)}.topbar{height:72px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.topbar>#backButton{grid-column:1;grid-row:1;justify-self:start}.topbar>.brand{grid-column:2;grid-row:1;justify-self:center}.topbar>#settingsButton{grid-column:3;grid-row:1;justify-self:end}.brand{text-align:center;font-size:17px;letter-spacing:-.025em;font-weight:560}.icon-button{width:44px;height:44px;border:0;background:transparent;border-radius:50%;color:var(--text);display:grid;place-items:center}.icon-button svg,.chevron{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-button svg circle{fill:currentColor;stroke:none}.icon-button:hover{background:rgba(0,0,0,.04)}:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 38%,transparent);outline-offset:3px}.screen{display:none;min-height:calc(100dvh - 90px);animation:screenIn .38s var(--ease)}.screen.active{display:flex}@keyframes screenIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.screen-home{flex-direction:column;align-items:center;justify-content:space-between;padding:clamp(58px,11vh,118px) 0 36px;gap:48px}.home-copy{text-align:center;max-width:620px}.home-copy h1,.section-heading h1{font-size:clamp(44px,9vw,74px);line-height:.96;letter-spacing:-.062em;font-weight:430;margin:0;text-wrap:balance}.call-orb{position:relative;width:clamp(176px,31vw,218px);aspect-ratio:1;border-radius:50%;border:0;background:var(--accent);color:var(--accent-text);box-shadow:0 36px 80px rgba(0,0,0,.17),inset 0 0 0 1px rgba(255,255,255,.13);font-size:21px;font-weight:520;letter-spacing:-.02em;display:flex;flex-direction:column;gap:13px;align-items:center;justify-content:center;transition:transform .22s var(--ease),box-shadow .22s var(--ease)}.call-orb::after{content:"";position:absolute;inset:-11px;border-radius:inherit;border:1px solid rgba(14,14,17,.065)}.call-orb:hover{transform:translateY(-2px);box-shadow:0 42px 88px rgba(0,0,0,.2)}.call-orb:active{transform:scale(.97)}.phone-icon{width:43px;height:43px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.selected-call{width:min(100%,440px);min-height:74px;border:0;background:var(--surface);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border-radius:var(--radius-m);padding:13px 17px;display:flex;align-items:center;gap:14px;text-align:left;color:var(--text);box-shadow:var(--shadow);transition:transform .2s var(--ease),background .2s}.selected-call:hover{transform:translateY(-1px);background:var(--surface-solid)}.selected-meta{display:flex;flex:1;flex-direction:column;gap:3px}.selected-meta strong,.setting-row strong{font-size:15px;font-weight:590}.selected-meta small,.setting-row small,.data-card small,.step-content small,.account-identity small{font-size:13px;color:var(--muted);line-height:1.4}.avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#e9e9ed;color:#202024;font-weight:590;flex:none}.screen-call{position:fixed;inset:0;max-width:none;background:radial-gradient(circle at 50% 7%,#36363d 0,#19191d 42%,#070708 100%);color:white;z-index:10;flex-direction:column;align-items:center;justify-content:space-between;padding:calc(env(safe-area-inset-top) + clamp(76px,12vh,128px)) 24px calc(env(safe-area-inset-bottom) + 32px)}.call-identity{text-align:center}.avatar-large{width:118px;height:118px;font-size:35px;margin:0 auto 32px;background:rgba(255,255,255,.11);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.call-identity h1{font-size:clamp(40px,8vw,50px);font-weight:410;letter-spacing:-.05em;margin:0 0 10px}.call-identity p{margin:0;color:#b9b9c0;font-size:17px}.timer{font-variant-numeric:tabular-nums;margin-top:8px!important}.call-actions{display:flex;align-items:flex-end;gap:clamp(26px,7vw,42px)}.quiet-control,.end-call{border:0;color:#fff;display:grid;place-items:center}.quiet-control{background:transparent;gap:9px;font-size:12px;min-width:60px}.quiet-control svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.end-call{width:76px;height:76px;border-radius:50%;background:#ff453a;box-shadow:0 14px 30px rgba(255,69,58,.24)}.end-call svg{width:42px;height:42px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.screen-settings,.screen-library,.screen-create,.screen-data,.screen-account{flex-direction:column;padding:clamp(34px,6vh,66px) 0 54px}.section-heading{margin-bottom:38px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:620;color:var(--muted);margin:0 0 17px}.section-heading h1{font-size:clamp(40px,8vw,62px)}.subcopy{font-size:clamp(16px,2.5vw,18px);line-height:1.56;color:var(--muted);margin:20px 0 0;max-width:500px;text-wrap:pretty}.settings-list,.conversation-list,.account-panel{background:var(--surface);border-radius:var(--radius-l);overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.72)}.setting-row{width:100%;min-height:78px;border:0;border-bottom:1px solid var(--line);background:transparent;padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;color:inherit}.setting-row:last-child{border-bottom:0}.setting-row:hover{background:rgba(0,0,0,.024)}.setting-row span:first-child{display:flex;flex-direction:column;gap:5px}.setting-value{color:var(--muted)}.setting-row select{border:0;background:transparent;color:var(--muted);min-height:44px}.setting-row input[type=checkbox]{appearance:none;width:48px;height:28px;border-radius:999px;background:#c8c8ce;position:relative;transition:.2s}.setting-row input[type=checkbox]::after{content:"";position:absolute;width:22px;height:22px;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.22);transition:.2s}.setting-row input[type=checkbox]:checked{background:#34c759}.setting-row input[type=checkbox]:checked::after{transform:translateX(20px)}.conversation-item-wrap{border-bottom:1px solid var(--line)}.conversation-item-wrap:last-child{border:0}.conversation-item{display:flex;align-items:center;gap:14px;width:100%;border:0;background:transparent;padding:17px 19px;text-align:left;color:var(--text);min-height:80px}.conversation-item:hover{background:rgba(0,0,0,.025)}.conversation-item .copy{flex:1;display:flex;flex-direction:column;gap:4px}.conversation-item .copy small{color:var(--muted)}.conversation-actions{display:flex;gap:10px;padding:0 19px 15px 79px}.conversation-actions button,.preview-link{border:0;background:transparent;color:var(--focus);padding:8px 0}.conversation-actions .danger-link{color:var(--danger);margin-left:12px}.create-form{display:flex;flex-direction:column;gap:18px}.form-step{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;background:var(--surface);border-radius:var(--radius-m);padding:18px;box-shadow:0 14px 38px rgba(0,0,0,.04)}.step-number{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-text);font-size:13px}.create-form label,.account-form label{display:flex;flex-direction:column;gap:9px;font-size:13px;color:var(--muted)}.create-form input,.account-form input{width:100%;border:0;background:var(--surface-solid);color:var(--text);border-radius:16px;padding:16px;font-size:17px;box-shadow:inset 0 0 0 1px var(--line)}.form-step-clips .step-content{width:100%;display:grid;gap:8px}.clip-editor{margin-top:10px}.clip-card{background:var(--surface-solid);border-radius:18px;padding:16px;display:grid;gap:14px;margin-bottom:12px;box-shadow:inset 0 0 0 1px var(--line)}.clip-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.pause-choice-button{border:0;background:transparent;color:var(--muted);min-height:44px;padding:0;display:flex;align-items:center;gap:7px;text-align:right}.pause-choice-button .chevron{width:18px;height:18px;flex:none}.record-button,.secondary-button,.primary-button,.danger-button{min-height:50px;border-radius:16px;padding:0 18px;font:inherit;font-weight:570}.record-button,.secondary-button{border:1px solid var(--line);background:var(--surface-solid);color:var(--text)}.record-button.recording{background:#ff453a;color:#fff}.primary-button{border:0;background:var(--accent);color:var(--accent-text)}.danger-button{border:0;background:#fff0ef;color:#c62f26}.clip-controls{display:flex;gap:10px;align-items:center}.clip-controls audio{width:100%;height:44px}.data-card{background:var(--surface);border-radius:var(--radius-l);padding:22px;display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:var(--shadow)}.data-card>div{display:flex;flex-direction:column;gap:6px}.account-panel{padding:20px}.segmented{display:grid;grid-template-columns:1fr 1fr;background:rgba(118,118,128,.12);padding:3px;border-radius:13px;margin-bottom:20px}.segmented button{border:0;background:transparent;border-radius:10px;min-height:38px;color:var(--muted)}.segmented button.active{background:var(--surface-solid);color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,.08)}.account-form{display:grid;gap:15px}.privacy-note{color:var(--muted);font-size:13px;line-height:1.5;margin:18px 2px 0}.account-identity{display:flex;align-items:center;gap:14px;margin-bottom:22px}.account-identity div{display:flex;flex-direction:column;gap:4px}.account-panel .primary-button,.account-panel .secondary-button{width:100%;margin-top:10px}.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 22px);transform:translate(-50%,20px);background:#111;color:#fff;padding:12px 18px;border-radius:999px;opacity:0;pointer-events:none;transition:.25s var(--ease);z-index:30;white-space:nowrap;max-width:calc(100vw - 32px);overflow:hidden;text-overflow:ellipsis}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:520px){.screen-home{padding-top:7vh}.call-orb{width:174px}.data-card{align-items:flex-start;flex-direction:column}.danger-button{width:100%}.clip-card-head{align-items:flex-start;flex-direction:column}.clip-card select{width:100%}.form-step{grid-template-columns:30px 1fr;padding:16px}.conversation-actions{padding-left:75px}}
@media(max-height:680px){.screen-home{padding-top:30px;gap:30px}.home-copy h1{font-size:40px}.call-orb{width:144px}.selected-call{min-height:68px}.topbar{height:60px}.screen-call{padding-top:calc(env(safe-area-inset-top) + 40px)}}
@media(prefers-color-scheme:dark){:root{--bg:#0b0b0d;--surface:rgba(29,29,33,.84);--surface-solid:#1d1d21;--surface-soft:#25252a;--surface-subtle:rgba(255,255,255,.055);--text:#f5f5f7;--muted:#a2a2aa;--line:rgba(255,255,255,.09);--accent:#f5f5f7;--accent-text:#111114;--shadow:0 24px 70px rgba(0,0,0,.28)}body{background:linear-gradient(180deg,#1b1b1f 0,#111114 38%,#09090b 100%)}.avatar{background:#2c2c31;color:#f5f5f7}.settings-list,.conversation-list,.account-panel{border-color:rgba(255,255,255,.05)}.danger-button{background:#351916;color:#ff8b82}.segmented button.active{background:#2c2c31}.form-step{background:var(--surface)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){*{forced-color-adjust:auto}.call-orb,.end-call,.primary-button,.step-number{border:2px solid ButtonText}.settings-list,.conversation-list,.account-panel,.form-step{border:1px solid CanvasText}}

.privacy-copy div{display:grid;gap:10px}.privacy-copy strong:not(:first-child){margin-top:16px}.privacy-copy small{line-height:1.55}

/* Stage 13 — believable incoming-call experience */
.incoming-actions{display:flex;align-items:flex-end;justify-content:center;gap:clamp(72px,18vw,118px)}
.incoming-actions button{border:0;background:transparent;color:#fff;display:grid;justify-items:center;gap:11px;font-size:13px;min-width:76px}
.incoming-actions button::before,.answer-call svg{width:72px;height:72px;border-radius:50%;display:grid;place-items:center}
.answer-call svg{padding:20px;background:#34c759;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 16px 34px rgba(52,199,89,.24)}
.decline-call .incoming-symbol{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#ff453a;color:#fff;font-size:42px;font-weight:280;line-height:1;box-shadow:0 16px 34px rgba(255,69,58,.24)}
.screen-call[data-call-state="incoming"] .call-identity{animation:incomingPulse 2.2s ease-in-out infinite}
@keyframes incomingPulse{50%{transform:scale(1.018)}}
@media(max-height:680px){.incoming-actions{gap:58px}.incoming-actions button::before,.answer-call svg,.decline-call .incoming-symbol{width:62px;height:62px}}
.sync-status-card{width:100%;min-width:0;margin:20px 0;padding:18px;border-radius:22px;background:var(--surface-soft);color:var(--text);display:grid;gap:12px;overflow:hidden}.sync-status-card>*{min-width:0}.sync-status-card>div:first-child{display:flex;align-items:center;gap:10px}.sync-status-card>div:first-child strong{min-width:0;overflow-wrap:anywhere}.sync-status-card>small{display:block;color:var(--muted);line-height:1.45;overflow-wrap:anywhere}.sync-dot{width:10px;height:10px;border-radius:50%;background:#8e8e93;flex:0 0 auto}.sync-status-card[data-state="ok"] .sync-dot{background:#34c759}.sync-status-card[data-state="working"] .sync-dot{background:#0a84ff;animation:pulse 1.2s infinite}.sync-status-card[data-state="warning"] .sync-dot{background:#ff9f0a}.sync-status-card[data-state="waiting"] .sync-dot{background:#ffd60a}.sync-status-card dl{width:100%;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.sync-status-card dl div{min-width:0;padding:10px;border-radius:14px;background:var(--surface-subtle)}.sync-status-card dt{font-size:11px;color:var(--muted);white-space:nowrap}.sync-status-card dd{min-width:0;margin:3px 0 0;color:var(--text);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.account-panel,.account-identity,.account-identity>div{min-width:0}.account-identity strong,.account-identity small{overflow-wrap:anywhere}@keyframes pulse{50%{opacity:.35}}
@media(max-width:390px){.sync-status-card{padding:16px}.sync-status-card dl{gap:6px}.sync-status-card dl div{padding:9px 8px}.sync-status-card dt{font-size:10px}.sync-status-card dd{font-size:13px}}

/* Stage 21 — single, verified viewport model.
   The document is locked once; the Settings screen is the only nested vertical scroller. */
html,body{
  width:100%;
  height:100%;
  overflow:hidden;
  overscroll-behavior:none;
}
body{
  position:static;
  inset:auto;
  min-height:0;
  max-height:none;
  touch-action:auto;
}
.app-shell{
  position:relative;
  inset:auto;
  width:min(100%,760px);
  height:100dvh;
  min-height:0;
  max-height:none;
  margin:0 auto;
  padding:env(safe-area-inset-top) clamp(18px,4vw,32px) env(safe-area-inset-bottom);
  display:grid;
  grid-template-rows:72px minmax(0,1fr);
  overflow:hidden;
}
.topbar{height:72px;min-height:72px}
main{
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  overflow:hidden;
}
.screen{
  height:100%;
  min-height:0;
  max-height:none;
  overflow:hidden;
  overscroll-behavior:none;
  touch-action:auto;
}
.screen.active{display:flex}
.screen-settings.active{
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding-bottom:calc(54px + env(safe-area-inset-bottom));
}
.screen-settings::-webkit-scrollbar{display:none;width:0;height:0}
.screen-settings>.section-heading,
.screen-settings>.settings-list{flex:0 0 auto}
.ringtone-file-input{position:fixed;left:-9999px;top:-9999px;width:1px;height:1px;opacity:.001;pointer-events:none}
.ringtone-upload-row{cursor:pointer}
.screen-call{height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:none}
@media(max-height:680px){.app-shell{grid-template-rows:60px minmax(0,1fr)}.topbar{height:60px;min-height:60px}}

.install-guide{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;display:flex;align-items:flex-end;justify-content:center;padding:12px 12px calc(12px + env(safe-area-inset-bottom));overflow:hidden;background:rgba(7,7,9,.54);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);touch-action:none}
.install-guide[hidden]{display:none}
.install-guide-card{width:min(100%,460px);max-height:min(calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px),560px);margin:0;padding:20px;overflow:auto;border-radius:26px;background:var(--surface-solid);box-shadow:0 24px 70px rgba(0,0,0,.34)}
.install-guide-icon{width:44px;height:44px;border-radius:14px;background:var(--accent);color:var(--accent-text);display:grid;place-items:center;margin:0 0 14px}.install-guide-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.install-guide .eyebrow{margin:0 0 8px;font-size:10px}.install-guide h2{font-size:28px;line-height:1.03;margin:0 0 10px;letter-spacing:-.045em}.install-guide p:not(.eyebrow){font-size:14px;line-height:1.4;margin:0}.install-steps{display:grid;gap:7px;margin:15px 0}.install-step{display:flex;gap:9px;align-items:center;padding:0;background:transparent}.install-step-number{width:21px;height:21px;border-radius:50%;background:var(--accent);color:var(--accent-text);display:grid;place-items:center;font-size:11px;flex:none}.install-step span:last-child{font-size:13px;line-height:1.3}.install-guide-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.install-guide .primary-button,.install-guide-later{width:100%;min-height:46px;margin:0;border-radius:14px}.install-guide-later{border:1px solid var(--line);background:transparent;color:var(--text)}
@media(max-height:620px){.install-guide-card{padding:16px;border-radius:22px}.install-guide-icon{display:none}.install-guide h2{font-size:24px}.install-guide p:not(.eyebrow){font-size:13px}.install-steps{margin:11px 0;gap:5px}}

/* Stage 22: headings receive programmatic focus for screen-reader announcement.
   Suppress only the unintended visual focus ring on those non-interactive targets. */
.section-heading h1[tabindex="-1"]:focus,
.section-heading h1[tabindex="-1"]:focus-visible{
  outline:none;
  box-shadow:none;
}

/* Stage 25 — every standard app page owns the main viewport's vertical scroll.
   The fixed shell remains unchanged; active screens, not the locked document, scroll. */
.screen.active:not(.screen-call){
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding-bottom:calc(54px + env(safe-area-inset-bottom));
}
.screen.active:not(.screen-call)::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}
.screen.active:not(.screen-call)>*{
  flex-shrink:0;
}


/* Stage 26: dedicated in-app choice pages replace native select popovers. */
.setting-choice{display:flex;align-items:center;gap:12px;min-width:0;margin-left:auto}
.setting-choice .setting-value{white-space:nowrap}
.screen-choice.active{display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:none;-ms-overflow-style:none}
.screen-choice::-webkit-scrollbar{display:none;width:0;height:0}
.choice-list{margin:28px 40px max(48px,env(safe-area-inset-bottom));border-radius:28px;overflow:hidden;background:var(--panel);flex:0 0 auto}
.choice-row{width:100%;min-height:84px;padding:20px 28px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);display:flex;align-items:center;justify-content:space-between;text-align:left;font:inherit;font-size:1.08rem;cursor:pointer}
.choice-row:last-child{border-bottom:0}
.choice-row[aria-selected="true"]{font-weight:600}
.choice-check{font-size:1.35rem;line-height:1;min-width:28px;text-align:right}
@media (max-width:640px){.choice-list{margin-left:20px;margin-right:20px}.choice-row{min-height:76px;padding:18px 22px}}


/* Stage 28: restore dedicated custom-ringtone and scheduled-call pages. */
.detail-stack{display:grid;gap:18px;margin:28px 40px max(52px,env(safe-area-inset-bottom));flex:0 0 auto}
.detail-card{overflow:hidden;border-radius:28px;background:var(--panel);box-shadow:var(--shadow)}
.current-selection-card{padding:24px 26px;display:grid;gap:8px}
.detail-label{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:650}
.current-selection-card strong{font-size:1.35rem;line-height:1.2}
.detail-primary,.detail-secondary{width:100%;min-height:58px;margin:0}
.detail-note{margin:-6px 4px 2px;color:var(--muted);font-size:.88rem;line-height:1.45}
.detail-card-heading{padding:22px 24px;border-bottom:1px solid var(--line)}
.detail-card-heading span{display:grid;gap:5px}.detail-card-heading strong{font-size:1.08rem}.detail-card-heading small{color:var(--muted);font-size:.9rem}
.embedded-choice-list{display:grid}
.embedded-choice-list:empty::before{content:'No custom ringtones saved yet.';padding:22px 24px;color:var(--muted);font-size:.95rem}
.embedded-choice-list .choice-row{border-radius:0}
@media(max-width:640px){.detail-stack{margin-left:20px;margin-right:20px}.current-selection-card{padding:22px}.detail-card-heading{padding:20px 22px}}


/* Stage 36 — curated SafeCall Originals ringtone library. */
.ringtone-choice-list{overflow:visible;background:transparent;box-shadow:none;display:grid;gap:12px}
.choice-category{padding:14px 8px 2px;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.ringtone-choice-row{border:0;border-radius:22px;background:var(--panel);box-shadow:var(--shadow);gap:18px;overflow:visible}
.ringtone-choice-row[aria-selected="true"]{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 45%,transparent),var(--shadow)}
.choice-copy{display:grid;gap:5px;min-width:0}.choice-copy strong{font-size:1.04rem;line-height:1.2}.choice-copy small{color:var(--muted);font-size:.84rem;line-height:1.35;font-weight:400}
.ringtone-row-actions{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.ringtone-preview-button{width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--surface-soft);color:var(--text);font:inherit;font-size:.95rem;cursor:pointer}
.ringtone-preview-button.is-playing{background:var(--accent);color:var(--accent-text)}
@media(max-width:420px){.ringtone-choice-row{padding:17px 18px;gap:12px}.ringtone-row-actions{gap:9px}.ringtone-preview-button{width:42px;height:42px}.choice-copy small{font-size:.8rem}}
.ringtone-select-button{flex:1;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
