/* Shared mobile settings controls, matching the Android configuration pages. */
.capture-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 14px}.capture-picker button{background:#f8f9fb;border:1px solid #e3e6ec;border-radius:12px;padding:12px 10px;text-align:left;color:#303642}.capture-picker b,.capture-picker small{display:block}.capture-picker b{font-size:14px}.capture-picker small{font-size:11px;margin-top:3px;color:#727b89}.capture-picker [aria-pressed=true]{background:#fff1f4;border-color:#fe2c55;color:#e5224c}.capture-picker [aria-pressed=true] small{color:#c64563}.capture-picker button:disabled{cursor:default;opacity:.65}
.home-helper,.helper-setup{background:#f8f9fb;border:1px solid #e4e7ed;border-radius:13px;padding:16px;margin:14px 0}.home-helper>span{font-size:12px;color:#697384}.home-helper p,.helper-setup ol{font-size:12px;color:#697384;line-height:1.9}.home-helper p{margin:9px 0 0}.position-row{display:flex;align-items:center;gap:10px;margin-top:8px}.position-row code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:15px;font-weight:650;overflow-wrap:anywhere;flex:1;min-width:0;user-select:all}.position-row button{flex-shrink:0}.helper-setup h3{font-size:15px;margin:0}.helper-setup label{margin-top:10px}.helper-setup ol{padding-left:18px}.helper-pending{font-size:12px;background:#fff3e6;color:#946020;border:1px solid #ffe0b5;border-radius:9px;padding:11px 12px}
.preview-panel{position:sticky;top:12px;z-index:6;padding:16px 19px;margin-top:18px;border:1px solid #ffc8d5;background:#fff9fb;box-shadow:0 5px 22px #252c3a14;border-radius:14px}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.preview-head small,.preview-head strong,.preview-head span{display:block}.preview-head small{font-size:11px}.preview-head strong{font-size:15px;margin-top:2px}.preview-head span{font-size:11px;color:#727b89}.preview-head button{font-size:12px;white-space:nowrap}.preview-panel audio{height:35px;margin-top:10px}.voice-actions .danger{font-size:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
dialog.advanced-modal{width:min(780px,calc(100% - 32px));max-width:780px;padding:0;border-radius:19px;overflow:hidden;max-height:calc(100dvh - 40px);display:flex;flex-direction:column}dialog.advanced-modal:not([open]){display:none}.advanced-modal .modal-head{flex-shrink:0;background:white;padding:20px 24px;margin:0;border-bottom:1px solid #e5e7eb}.advanced-modal #modalBody{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 24px;background:#f4f5f7;scrollbar-width:thin}.advanced-intro{margin:17px 0 20px}.advanced-section-title{display:flex;align-items:center;gap:10px;font-size:15px;margin:23px 0 11px}.advanced-section-title>span{font-size:11px;font-weight:500;color:#fe2c55;background:#fff0f4;border-radius:7px;min-width:29px;text-align:center;padding:6px 3px}.advanced-card{background:white;border:1px solid #e4e7ed;border-radius:15px;padding:18px;margin-bottom:20px}.advanced-card textarea{margin-top:0;border-radius:10px;font-size:13px;line-height:1.9;background:#f7f8fa;min-height:90px}.advanced-card h4{font-size:12px;margin:18px 0 10px}.advanced-card .hint{margin-bottom:0;font-size:11px;line-height:1.85}.advanced-voice-field{margin-bottom:16px}.advanced-voice-field>div:first-child{display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:center}.advanced-voice-field b{font-size:13px}.advanced-voice-field small{font-size:11px;grid-column:1}.advanced-voice-field button{grid-column:2;grid-row:1/3}.ink{border:1px solid #444b5d;background:linear-gradient(145deg,#3b4053,#2d3040);color:white;border-radius:9px;font-weight:550}.voice-summary{background:#f4f5f7;border-radius:9px;padding:11px 13px;font-size:12px;color:#6b7381;line-height:1.9;margin:11px 0}.voice-check-list{max-height:230px;overflow-y:auto;border:1px solid #e1e5ec;border-radius:10px;padding:6px 12px}.voice-check-list label{display:flex;align-items:center;gap:9px;padding:9px 0;font-size:13px;margin:0;font-weight:400;border-bottom:1px solid #edf0f4}.voice-check-list label:last-child{border-bottom:0}.voice-check-list input{width:17px;flex:0 0 17px;margin:0}
.freq-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.freq-buttons button{border:1px solid #e2e6ed;border-radius:9px;background:#f7f8fa;padding:10px 5px;font-size:12px;color:#414956;min-height:39px}.freq-buttons [aria-pressed=true]{color:#fe2c55;border-color:#fe2c55;background:#fff0f4;font-weight:600}.freq-value{padding:11px 13px;background:#f7f8fa;border:1px solid #e5e8ef;border-radius:9px;margin-top:11px;font-size:12px;color:#727a88}.freq-value strong{font-size:18px;color:#252c39;margin:0 7px}
.web-stepper{display:grid;grid-template-columns:minmax(80px,1fr) 34px 76px 20px 34px;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #edf0f4}.web-stepper:last-of-type{border-bottom:0}.web-stepper label{font-size:12px;margin:0}.web-stepper button{border:1px solid #e0e4eb;border-radius:8px;background:#f3f4f7;height:35px;color:#333b49;font-size:18px}.web-stepper input{appearance:textfield;-moz-appearance:textfield;text-align:center;font-size:13px;padding:7px 4px;margin:0;border-radius:8px}.web-stepper input::-webkit-inner-spin-button,.web-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.web-stepper span{font-size:11px;color:#7a8290;text-align:center}.unit-input{display:flex;align-items:center;gap:12px}.unit-input input{margin:0;min-width:0;max-width:180px}.unit-input span{font-size:12px;color:#6b7584;white-space:nowrap}
.advanced-save-bar{position:sticky;bottom:0;background:#f4f5f7ee;backdrop-filter:blur(10px);display:grid;grid-template-columns:100px 1fr;gap:12px;padding:14px 0 max(14px,env(safe-area-inset-bottom));border-top:1px solid #e0e4eb;z-index:5}.advanced-save-bar button{min-height:45px;font-size:13px}.frequency-editor{position:fixed;inset:0;background:#20273555;display:flex;align-items:center;justify-content:center;z-index:30;padding:18px}.frequency-sheet{width:min(350px,100%);background:white;border-radius:16px;padding:23px;box-shadow:0 20px 70px #20273533}.frequency-sheet h3{font-size:17px;margin:0 0 20px}.frequency-sheet label{font-size:12px}.frequency-sheet .unit-input input{max-width:none}.frequency-sheet>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.frequency-sheet .field-error{font-size:12px;color:#d62148;line-height:1.7}
@media(max-width:600px){dialog.advanced-modal{width:100%;max-height:100dvh;height:100dvh;max-width:none;border-radius:0;border:0;margin:0}.advanced-modal .modal-head{padding:16px 18px}.advanced-modal #modalBody{padding:0 14px}.advanced-card{padding:15px}.advanced-card textarea{font-size:14px}.advanced-save-bar{grid-template-columns:80px 1fr}.preview-panel{top:8px;padding:13px 14px}.capture-picker{gap:8px}.capture-picker button{padding:12px 10px}.position-row{align-items:flex-start;flex-wrap:wrap}.position-row code{min-width:130px;font-size:14px}.position-row .small{font-size:11px;padding:7px 10px}.workbench-heading+.capture-picker{margin-top:17px}.helper-setup .section-head{gap:7px}.web-stepper{grid-template-columns:minmax(68px,1fr) 30px 64px 16px 30px;gap:5px}.web-stepper input{font-size:16px}.frequency-sheet input{font-size:16px}}

.engine-config{margin-top:18px}.engine-trigger{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;background:white;border:1px solid #e2e6ed;border-radius:12px;padding:15px 16px;text-align:left;color:#202735}.engine-trigger b,.engine-trigger small{display:block}.engine-trigger b{font-size:14px}.engine-trigger small{font-size:11px;margin-top:4px}.engine-trigger>span:last-child{font-size:23px;color:#7b8493}.engine-options{display:grid;gap:10px}.engine-option{display:flex;gap:12px;align-items:flex-start;background:#f7f8fa;border:1px solid #e2e6ed;border-radius:12px;padding:14px;margin:0;font-weight:400}.engine-option:has(input:checked){border-color:#fe2c55;background:#fff1f4}.engine-option input{flex:0 0 17px;width:17px;height:17px;margin:3px 0 0;accent-color:#fe2c55}.engine-option b,.engine-option small,.engine-option em{display:block}.engine-option b{font-size:14px}.engine-option small{font-size:11px;margin-top:4px;line-height:1.8}.engine-option em{font-style:normal;font-size:10px;color:#a36c23;margin-top:5px}.engine-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.engine-agent textarea{font-size:14px}

dialog.engine-modal{padding:0;overflow:hidden;display:flex;flex-direction:column}dialog.engine-modal:not([open]){display:none}.engine-modal .modal-head{padding:20px 22px;margin:0;flex-shrink:0}.engine-modal #modalBody{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:18px 22px 0;scrollbar-width:thin}.engine-modal .engine-actions{position:sticky;bottom:0;background:white;padding:13px 0;border-top:1px solid #e7e9ee;z-index:2}.engine-modal .engine-option{padding:12px 14px}@media(max-width:600px){dialog.engine-modal{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.engine-modal .modal-head{padding:17px 18px}.engine-modal #modalBody{padding:16px 16px 0}.engine-modal .engine-actions{padding-bottom:max(14px,env(safe-area-inset-bottom))}}

/* Shared Android-style basic configuration, speaker sheet and recharge controls. */
.reception-list{background:white;border:1px solid #e3e6ed;border-radius:14px;overflow:hidden}.reception-list label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px;margin:0;border-bottom:1px solid #edf0f4;font-size:13px;font-weight:400}.reception-list label:last-child{border:0}.reception-list input{width:20px;height:20px;margin:0;flex:0 0 20px}.engine-modal{width:min(680px,calc(100% - 28px));max-width:680px}.engine-modal .advanced-section-title:first-child{margin-top:0}.engine-modal .advanced-card{padding:14px}.engine-agent{margin-top:18px}
.speaker-field{margin-top:19px}.speaker-trigger{display:flex;align-items:center;gap:12px;border:1px solid #e3e6ed;border-radius:12px;background:white;width:100%;padding:13px;text-align:left;color:#252d3a}.speaker-trigger>span:nth-child(2){min-width:0;overflow-wrap:anywhere;flex:1;font-weight:550;font-size:13px}.speaker-trigger small{white-space:nowrap;font-size:11px;color:#ed2854}.voice-avatar{display:inline-grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:11px;background:#fff0f5;color:#fe2c55;font-size:19px}.clone-avatar{background:#eaf8f4;color:#159e88}
.segmented{display:flex;border-radius:12px;background:#eef0f4;padding:4px;gap:5px}.segmented button{flex:1;min-width:0;padding:11px 7px;border-radius:9px;background:transparent;color:#667080;font-size:13px;font-weight:550}.segmented button[aria-pressed=true]{background:#35394c;color:white;box-shadow:0 2px 6px #232b3b18}.library-tabs{max-width:640px;margin:22px 0}.voice-row-head{display:flex;align-items:center;gap:11px;min-width:0}.voice-row-head>div{min-width:0}.voice-row-head h3{font-size:14px;margin:0;overflow-wrap:anywhere}.voice-row-head p{font-size:11px;line-height:1.7;margin:4px 0 0;overflow-wrap:anywhere}.voice-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:17px}.voice-actions button{min-height:36px}.voice-empty{grid-column:1/-1;text-align:center;background:white;border:1px dashed #dfe4ec;border-radius:15px;padding:45px 20px;color:#788293}.voice-empty>span{font-size:28px;color:#fe2c55}.voice-empty h3{font-size:16px;color:#303846;margin:9px 0}.voice-empty p{font-size:12px;line-height:1.9;margin:0 0 20px}.voice-empty button{font-size:13px}.voice-intro p{font-size:12px;line-height:1.9}.voice-intro button{white-space:nowrap;font-size:13px}
dialog.speaker-modal{padding:0;overflow:hidden;display:flex;flex-direction:column;width:min(650px,calc(100% - 28px));max-width:650px}dialog.speaker-modal:not([open]){display:none}.speaker-modal .modal-head{padding:20px;margin:0;flex-shrink:0;border-bottom:1px solid #eef0f4}.speaker-modal #modalBody{padding:0;overflow-y:auto;min-height:0;overscroll-behavior:contain}.speaker-none{display:flex;justify-content:space-between;align-items:center;text-align:left;width:100%;background:white;padding:17px 21px;color:#252d3a;border-bottom:1px solid #edf0f4}.speaker-none b,.speaker-none small{display:block}.speaker-none b{font-size:13px;font-weight:500}.speaker-none small{font-size:11px;margin-top:3px}.speaker-tabs{margin:14px 18px;position:sticky;top:0;z-index:3}.speaker-row{display:flex;align-items:center;gap:8px;padding:10px 20px;border-bottom:1px solid #edf0f4}.speaker-select{flex:1;min-width:0;padding:8px 0;text-align:left;background:white;color:#252d3a}.speaker-select b,.speaker-select small{display:block;overflow-wrap:anywhere}.speaker-select b{font-size:14px;font-weight:500}.speaker-select small{font-size:11px;margin-top:4px}.speaker-audition{font-size:11px;padding:7px 10px;flex-shrink:0}.speaker-footnote{padding:10px 20px;line-height:1.8}.speaker-modal .preview-panel{position:static;margin:10px 18px;padding:12px}.speaker-modal .preview-head strong{font-size:13px}.speaker-modal .preview-head button{font-size:11px;padding:8px}.speaker-modal .voice-empty{margin:20px}
.recharge-modal .auth-intro{margin-bottom:18px}.recharge-tabs{margin-bottom:22px}.recharge-tabs button{font-size:13px}.recharge-modal .pay-choice{padding:16px 12px}.pay-choice b{font-size:14px}.pay-choice strong{font-size:23px;margin-top:12px;color:#252d3a}.pay-choice.selected strong{color:#fe2c55}.custom-recharge{display:block;border:1px solid #e3e7ed;border-radius:12px;padding:15px;margin:15px 0}.custom-recharge:focus-within{border-color:#fe2c55;background:#fff9fb}.custom-recharge b,.custom-recharge small{display:block}.custom-recharge small{margin-top:4px}.custom-recharge>span{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:13px;color:#737c8b}.custom-recharge input{width:110px;margin:0}.pay-total{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 16px;font-size:13px;color:#707a89}.pay-total strong{color:#fe2c55;font-size:24px}.recharge-modal .primary.full{min-height:48px}.recharge-modal .hint{line-height:1.9}.offer-summary{background:#fff1f5;border:1px solid #ffd6e0;border-radius:14px;padding:20px}.offer-summary>small{color:#df2c53}.offer-summary .pay-amount{margin:9px 0}.offer-summary p{font-size:12px;color:#8a5b67;margin:0}.home-trial{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;margin-top:17px}.home-trial strong{display:block}.home-trial b{font-size:12px;white-space:nowrap}.home-trial small{font-size:11px}
@media(max-width:600px){dialog.speaker-modal{width:100%;height:90dvh;max-height:90dvh;margin:auto 0 0;border-radius:20px 20px 0 0;border:0;max-width:none}.speaker-modal .modal-head{padding:17px 18px}.speaker-row{padding:10px 17px}.speaker-modal .preview-panel{margin:10px 14px}.speaker-trigger{padding:12px 10px}.speaker-trigger small{font-size:10px}.speaker-tabs{margin:12px 14px}.voice-intro button{width:100%;margin-top:17px}.voice-grid{grid-template-columns:1fr}.voice{padding:17px}.voice-row-head h3{font-size:15px}.voice-actions{margin-left:46px}.library-tabs{margin-bottom:20px}.home-trial{padding:14px}.home-trial strong{font-size:22px}.home-trial strong span{font-size:12px}.recharge-tabs button{font-size:12px}.recharge-modal .pay-choice strong{font-size:21px}.recharge-modal input,.engine-modal textarea{font-size:16px}.engine-modal{max-width:none}.recharge-modal .pay-grid{gap:10px}}

/* Mobile live workspace: controls, configuration, conversation, then optional logs. */
.live-panel .section-head{margin-bottom:15px}.live-session-time{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;background:#fff3f6;border:1px solid #ffe0e8;border-radius:12px;margin-bottom:17px}.live-session-time small{font-size:11px}.live-session-time strong{font-size:23px;font-variant-numeric:tabular-nums;letter-spacing:1px;display:block;color:#222a37}.live-session-time button{font-size:11px;white-space:nowrap}.live-panel .status-grid{gap:14px;padding:0 0 14px}.live-panel .status-grid b{font-size:16px}.live-panel .now-playing{margin-top:14px;padding:12px 14px}.live-panel .now-playing p{min-height:0;font-size:12px;line-height:1.8;margin:6px 0 0}.controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-wrap:unset}.controls button{font-size:13px;min-height:45px;padding:11px 8px;min-width:0}.controls[data-layout=idle] #startBtn{grid-column:1/-1}.controls[data-layout=orphaned] #startBtn{display:none}.controls[data-layout=orphaned] #stopBtn{grid-column:1/-1}.controls #pauseBtn{background:#34394d;color:white}.audio-options{border-top:1px solid #edf0f4;margin-top:18px;padding-top:13px}.audio-options summary{font-size:11px;color:#818a98}.audio-options p{font-size:11px}.runtime-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-size:15px;font-weight:600;color:#303846}.runtime-panel>summary::-webkit-details-marker{display:none}.runtime-panel>summary small{font-size:11px;font-weight:400;white-space:nowrap}.runtime-panel>summary small:after{content:' ＋';color:#fe2c55}.runtime-panel[open]>summary small:after{content:' −'}.runtime-panel .section-head{margin:15px 0 3px}.runtime-panel .logs{height:auto;max-height:260px}.runtime-panel .logs .empty{padding:20px 0}.runtime-panel .logs .log{padding:9px 0}.runtime-panel:not([open]){padding-top:18px;padding-bottom:18px}#speakPanel h2{font-size:16px}#speakPanel .hint{font-size:11px;margin-bottom:0}#speakPanel textarea{margin-top:0}
.live-window{position:fixed;z-index:25;right:25px;bottom:24px;width:340px;max-width:calc(100vw - 28px);padding:15px 17px;border:1px solid #ffbdce;border-radius:16px;background:#fffaff;box-shadow:0 10px 45px #35334524}.live-window-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #f0e7ed}.live-window-head>span{font-size:12px;font-weight:600}.live-window-head button{font-size:11px;padding:4px 0}.live-window-body{display:flex;align-items:center;gap:15px;padding-top:12px}.live-window-body>div{flex:1;min-width:0}.live-window-body small,.live-window-body strong,.live-window-body span{display:block}.live-window-body small{font-size:11px;color:#627386}.live-window-body strong{font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:1px;color:#272e3d;margin:2px 0}.live-window-body span{font-size:10px;color:#8a8490;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-window-body button{font-size:12px;padding:11px 12px;white-space:nowrap}.live-window-pill{position:fixed;z-index:25;right:24px;bottom:24px;display:flex;align-items:center;gap:9px;border:1px solid #ffd0dc;border-radius:30px;background:#fff8fb;padding:12px 17px;color:#38394b;box-shadow:0 4px 24px #3533451c}.live-window-pill span{font-size:11px}.live-window-pill b{font-size:13px;font-variant-numeric:tabular-nums}.live-window-pill>span:last-child{color:#ee2852}.live-window-pill .dot{margin:0;flex-shrink:0}
@media(max-width:850px){main{padding-top:calc(20px + env(safe-area-inset-top,0px))}.workspace{grid-template-columns:minmax(0,1fr);gap:14px}.player-column{display:contents}.config-column{display:contents}.config-column>.card{grid-row:2}.live-panel{grid-row:1}#speakPanel{grid-row:3}#runtimePanel{grid-row:4}.live-window{right:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:330px;padding:13px 15px}.live-window-pill{right:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));padding:11px 15px}.live-panel{padding:18px}.live-panel h2{font-size:17px}.live-panel .status-grid{grid-template-columns:1fr 1fr;gap:12px 16px}.live-panel .status-grid small{font-size:11px}.live-panel .status-grid b{font-size:15px}.live-session-time{padding:10px 13px;margin-bottom:15px}.live-session-time strong{font-size:23px}.live-panel .controls{margin-top:14px}.top{gap:9px}.top #accountBtn{max-width:45%;white-space:nowrap}.runtime-panel>summary{font-size:14px}.runtime-panel:not([open]){padding:16px 18px}.engine-modal .modal-head,.advanced-modal .modal-head{padding-top:calc(17px + env(safe-area-inset-top,0px))}}
@media(max-width:600px){.voice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px}.voice-row-head{gap:10px}.voice-row-head .voice-avatar{width:31px;height:34px;flex-basis:31px;font-size:17px}.voice-row-head h3{font-size:14px}.voice-row-head p{min-height:0;font-size:10px;margin:3px 0 0}.voice-actions{margin:0;justify-content:flex-end;gap:6px;max-width:120px}.voice-actions button{font-size:11px;min-height:35px;padding:7px 9px}.voice-actions .text{padding:4px}.voice-intro h2{font-size:21px}.preview-panel audio{display:block;max-width:100%}.speaker-trigger>span:nth-child(2){font-size:13px}.live-window-body strong{font-size:23px}.live-window-body button{font-size:11px}.live-window-head>span{font-size:11px}}
.page-back{background:transparent;color:#434c5c;font-size:13px;padding:9px 5px;white-space:nowrap}.top-titles{flex:1;min-width:0}.modal-back{background:transparent;color:#4b5667;padding:0 11px 0 0;line-height:1;font-size:30px;flex:0 0 28px}.modal-head h2{flex:1;min-width:0}.live-window-text{font-size:15px;line-height:1.85;color:#2a303f;margin:11px 0 9px;max-height:112px;overflow:auto;overflow-wrap:anywhere}.live-clip-details{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f0e7ed;padding-bottom:11px}.live-clip-details progress{width:100%;height:5px;min-width:0;flex:1;accent-color:#fe2c55}.live-clip-details span{font-size:11px;color:#cf3156;font-variant-numeric:tabular-nums;white-space:nowrap}.live-window-body strong:before{content:'本次已播';display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#8a8490;margin-top:3px}.live-window-body{padding-top:9px}
@media(max-width:850px){body:not([data-workspace-page=home]) .top{display:grid;grid-template-columns:70px minmax(0,1fr) 70px;position:sticky;top:0;z-index:12;background:#f4f5f7f5;backdrop-filter:blur(8px);padding:10px 0;margin-top:-10px;border-bottom:1px solid #e7eaf0}body:not([data-workspace-page=home]) .top .top-titles{text-align:center}body:not([data-workspace-page=home]) .top h1{font-size:18px;letter-spacing:0;margin:0}body:not([data-workspace-page=home]) .top .eyebrow,body:not([data-workspace-page=home]) .top #accountBtn{display:none}.top .page-back{text-align:left;padding-left:0;font-size:13px}.live-window-text{font-size:14px;max-height:104px}.live-window-body strong{font-size:21px}.live-window{max-height:calc(100dvh - 110px - env(safe-area-inset-bottom,0px));overflow-y:auto}}

/* Minimal live actions: only duration and the main action in the page. */
.live-minimal{padding:0;border:0;background:transparent;box-shadow:none}.minimal-time{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0 3px;color:#7c8899;font-size:12px}.minimal-time strong{color:#465162;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;margin-left:6px;letter-spacing:.3px}.minimal-time button{font-size:11px}.live-minimal .controls{margin-top:0}.live-minimal .audio-options{display:none}.minimal-message{font-size:12px;color:#ad3f50;line-height:1.7;margin:8px 3px}.window-actions{display:grid;gap:7px}.window-actions button{min-height:35px}.live-minimal .controls[data-layout=running],.live-minimal .controls[data-layout=paused]{display:none}

body[data-workspace-page=home] .top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}#backWebsite{grid-column:1/-1;justify-self:start;min-height:36px;padding:5px 0;display:inline-flex;align-items:center}body[data-workspace-page=home] .top #accountBtn{max-width:none}body[data-workspace-page=home] .top .eyebrow{letter-spacing:0;font-size:12px}

/* Keep the dialog's initial focus on its title, not the back button. */
#modalTitle:focus { outline: none; }
#backModal { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; margin-right: 4px; border: 0; border-radius: 9px; -webkit-tap-highlight-color: transparent; }
#backModal svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#backModal:focus-visible, #closeModal:focus-visible { outline: 2px solid #606c7d; outline-offset: 2px; }
