:root{--paper: #f3f6f8;--paper-2: #e9eff2;--card: #ffffff;--card-2: #f7f9fa;--line: #dce4e8;--line-2: #bcc9cf;--ink: #102a38;--ink-2: #344b57;--muted: #566b76;--primary: #087f73;--primary-hover: #06685f;--primary-ink: #ffffff;--primary-soft: #dff4f0;--play: #099f91;--play-hover: #13a698;--play-ink: #102a38;--control-line: #82949d;--soft: #dff4f0;--brand-green: #087f73;--brand-blue: #1875b7;--live: #087a52;--live-rgb: 8, 122, 82;--bad: #c4322b;--warn: #a55a08;--accent: #a55a08;--font-ui: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace}:root[data-theme=dark]{color-scheme:dark;--paper: #08141c;--paper-2: #0d1d27;--card: #10232e;--card-2: #142a36;--line: #29404c;--line-2: #3e5966;--ink: #edf5f7;--ink-2: #c5d4d9;--muted: #91a7b0;--primary: #54d8c6;--primary-hover: #78e8d7;--primary-ink: #042d29;--primary-soft: #123c3a;--play: #54d8c6;--play-hover: #78e8d7;--play-ink: #042d29;--control-line: #5c7884;--soft: #123c3a;--brand-green: #72e4d4;--brand-blue: #79c7f4;--live: #70dfa9;--live-rgb: 112, 223, 169;--bad: #ffb4ac;--warn: #ffc269;--accent: #ffc269}body.public-shell{min-width:320px;min-height:100dvh;background:var(--paper);color:var(--ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased}.public-shell .card{border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:none}.public-shell .brand,.public-shell .brand-foot{font-family:var(--font-ui);letter-spacing:-.025em}.public-shell .brand-foot{opacity:.8}.public-shell h1,.public-shell .big,.public-shell .ev-name{font-family:var(--font-ui);font-weight:720;letter-spacing:-.035em}.public-shell .eyebrow{color:var(--primary);font-family:var(--font-ui);font-size:12px;font-weight:750;letter-spacing:0;text-transform:none}.public-shell button,.public-shell .btn,.public-shell select,.public-shell input{font-family:var(--font-ui)}.public-shell button,.public-shell .btn{border-radius:9px;font-weight:680}.public-shell .app-tip{position:absolute;z-index:9999;pointer-events:none;max-width:min(320px,calc(100vw - 24px));padding:8px 11px;border-radius:8px;background:var(--ink);color:var(--card);box-shadow:0 0 0 1px color-mix(in srgb,currentColor 16%,transparent);font:450 12.5px/1.5 var(--font-ui);white-space:pre-line;opacity:0;transform:translateY(3px);transition:opacity .13s ease,transform .13s ease}.public-shell .app-tip.show{opacity:1;transform:none}.public-shell .app-tip:after{content:"";position:absolute;left:var(--tip-arrow, 50%);margin-left:-5px;border:5px solid transparent}.public-shell .app-tip[data-below="0"]:after{top:100%;border-top-color:var(--ink)}.public-shell .app-tip[data-below="1"]:after{bottom:100%;border-bottom-color:var(--ink)}@media(prefers-reduced-motion:reduce){.public-shell .app-tip{transition:none}}.public-shell .btn,.public-shell button:not(.theme-btn):not(.dbg-btn):not(.dbg-close):not(.help-global-trigger):not(.toggle):not(.btn-refresh):not(.btn-leave):not(.ptt){min-height:50px}.public-shell input[type=text],.public-shell input[type=password],.public-shell select{min-height:48px;border:1px solid var(--control-line);border-radius:9px;background-color:var(--card);color:var(--ink)}.public-shell input:focus-visible,.public-shell select:focus-visible,.public-shell button:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.public-shell .status-row,.public-shell .status{font-weight:620}.public-shell .dot.live{box-shadow:0 0 0 5px color-mix(in srgb,var(--live) 18%,transparent)}.public-tools{position:fixed;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:51;display:flex;gap:8px}.public-tools .theme-btn,.public-tools .dbg-btn{position:static;width:36px;height:36px;min-height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--control-line);border-radius:50%;background:var(--card);color:var(--muted);box-shadow:none;cursor:pointer;opacity:1}.public-tools .theme-btn:hover,.public-tools .dbg-btn:hover,.public-tools .dbg-btn[aria-expanded=true]{border-color:var(--primary);color:var(--primary)}.public-tools .dbg-btn>span{width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent)}.public-shell .dbg-panel{position:fixed;top:calc(max(10px,env(safe-area-inset-top)) + 44px);right:max(10px,env(safe-area-inset-right));bottom:auto;z-index:52;width:min(280px,calc(100vw - 20px));max-height:min(70dvh,520px);overflow:auto;padding:13px 15px;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:none}.public-shell .dbg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.public-shell .dbg-head>span{font-size:12px;font-weight:750;letter-spacing:0;text-transform:none;color:var(--muted)}.public-shell .dbg-close{width:30px;height:30px;min-height:30px;padding:0;border:0;background:transparent;color:var(--muted);cursor:pointer}.public-shell .dbg-body{font-family:var(--font-mono);font-size:12px;color:var(--ink)}.public-shell .dbg-row{display:flex;justify-content:space-between;gap:14px;padding:3px 0}.public-shell .dbg-k{color:var(--muted)}.public-shell .dbg-v{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.public-explainer{margin:12px 0;border:1px solid var(--line);border-radius:9px;background:var(--card-2)}.public-explainer>summary{min-height:44px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ink-2);font-size:13px;font-weight:680;cursor:pointer;list-style:none}.public-explainer>summary::-webkit-details-marker{display:none}.public-explainer>summary:after{content:"+";color:var(--muted);font-size:18px;font-weight:500;line-height:1}.public-explainer[open]>summary:after{content:"−"}.public-explainer[open]>summary{border-bottom:1px solid var(--line)}.public-explainer>:not(summary){margin:0}.surface-listen .audio-route .public-explainer{margin:12px 0 0;text-align:start}.surface-listen .audio-route .public-explainer .status{min-height:0;padding:12px 13px;margin:0}.surface-listen .card{width:min(460px,calc(100vw - 28px));padding:28px}.surface-listen .brand{margin-bottom:22px}.surface-listen .event-head{padding:15px;border-radius:10px;background:var(--card-2);border:1px solid var(--line)}.surface-listen .event-head:empty{display:none}.surface-listen .ev-lang{border-radius:6px;font-size:11px;letter-spacing:.05em}.surface-listen .play{width:154px;height:154px;line-height:154px;border:3px solid var(--play);border-radius:50%;background:var(--play);color:var(--play-ink);box-shadow:none}.surface-listen .play:hover,.surface-listen .play:active,.surface-listen .play.playing{border-color:var(--play-hover);background:var(--play-hover)}.surface-listen .toggle,.surface-listen .btn-refresh,.surface-listen .btn-leave{border-color:var(--control-line);border-radius:8px}.surface-listen .audio-route{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--card-2)}.surface-listen.split .card{box-shadow:none}.surface-listen #subs-panel{background:#071a25}.surface-speaker .wrap{width:min(100%,30rem);padding:24px 18px}.surface-speaker .card{padding:24px}.surface-speaker .meta{border-radius:9px;background:var(--card-2)}.surface-speaker .level{height:10px;background:var(--paper-2)}.surface-speaker button.secondary,.surface-speaker button.ghost{border-color:var(--control-line);border-radius:9px}.surface-conversation{display:grid;place-items:center;padding:18px}.surface-conversation .wrap{width:min(100%,32rem);padding:0}.surface-conversation .brand{display:inline-flex;align-items:center;margin:0 0 13px;color:var(--brand-green);font-size:15px;font-weight:750}.surface-conversation .brand img{display:block;width:28px;height:28px;margin-right:8px}:root[data-theme=dark] .surface-conversation .brand>img[src^="/mysalamMark.png"]{filter:brightness(0) invert(1)}.surface-conversation .brand[data-edition]:after{content:attr(data-edition);margin-left:8px;padding:2px 6px;border:1px solid var(--line-2);border-radius:4px;color:var(--muted);font-size:8px;letter-spacing:.1em;text-transform:uppercase}.surface-conversation .card{padding:24px}.surface-conversation h1{font-size:28px}.surface-conversation .disclosure{padding:13px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--line));border-radius:8px;background:var(--primary-soft);line-height:1.5}.surface-conversation .public-explainer .disclosure{padding:12px 13px;border:0;border-radius:0;background:transparent}.surface-conversation .public-explainer .route-note{padding:12px 13px}.surface-conversation .status{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--card-2)}.surface-conversation .ptt{min-height:132px;border:2px solid var(--primary);border-radius:12px;font-size:21px;touch-action:none;user-select:none;-webkit-user-select:none}.surface-conversation .ptt:disabled{border-width:1px}.surface-conversation .ptt.held{background:var(--primary-hover)}.surface-conversation .level{height:10px;background:var(--paper-2)}.surface-conversation .route-note,.surface-conversation .receiverHint,.surface-conversation .hint{line-height:1.5}@media(max-width:520px){body.public-shell{padding:12px}.surface-listen .card{width:100%;padding:22px 18px}.surface-listen .play{width:138px;height:138px;line-height:138px}.surface-speaker .wrap{padding:16px 4px}.surface-conversation{padding:12px}.surface-conversation .card{padding:20px 17px}.surface-conversation h1{font-size:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}body.public-shell.surface-listen,body.public-shell.surface-conversation{padding-top:max(64px,calc(env(safe-area-inset-top) + 54px))}.public-shell.surface-listen .card:has(#screen-live:not(.hidden)){height:calc(100dvh - max(64px,env(safe-area-inset-top) + 54px) - max(16px,env(safe-area-inset-bottom)));min-height:0;padding:16px;justify-content:flex-start}.surface-listen #screen-live{display:flex;flex:1;flex-direction:column;align-items:center;gap:10px;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain}.surface-listen #screen-live>*{flex-shrink:0}.surface-listen .card:has(#screen-live:not(.hidden))>.event-head{max-height:min(24dvh,140px);overflow:auto;flex-shrink:0}.surface-listen .card:has(#screen-live:not(.hidden))>#summary-block{max-height:25dvh;overflow-y:auto;flex-shrink:0}.surface-listen .card:has(#screen-live:not(.hidden)) .brand-foot{display:none}.surface-listen #screen-live h1{font-size:17px;margin:0}.surface-listen #screen-live .sub{margin:0;font-size:13px}.surface-listen .event-head{margin:0 0 12px;padding:10px}.surface-listen .ev-desc{max-height:4.5em;overflow:auto}.surface-listen .lang-switch{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;width:100%;gap:5px;margin:0;text-align:start}.surface-listen .lang-switch label{font-size:12px;font-weight:650;color:var(--muted)}.surface-listen .lang-switch select{width:100%;min-width:0;min-height:44px;padding:8px 12px;font-size:16px}.surface-listen #screen-live .row{margin:0;gap:6px;width:100%}.surface-listen #screen-live .toggle{min-height:44px;padding:6px 10px;font-size:13px}.surface-listen .vu{margin:0}.surface-listen #screen-live .audio-route{width:100%;margin:0;padding:10px}.surface-listen #screen-live .audio-route:not([open]){padding:0}.public-shell .audio-route>summary,.public-shell #audio-controls>summary{min-height:44px;padding:10px 12px;font-size:13px;font-weight:650;cursor:pointer}.surface-listen .audio-route label,.surface-conversation #audio-controls label{display:none}.surface-listen #screen-live .status{margin:0;font-size:13px}.surface-listen #screen-live .status:empty{display:none}.surface-listen .card>#live-status{flex-shrink:0;margin:8px 0 0;max-height:20dvh;overflow-y:auto;font-size:13px}.surface-listen .card>#live-status:empty,.surface-listen .card:not(:has(#screen-live:not(.hidden)))>#live-status{display:none}.surface-listen .listener-actions{display:flex;flex-shrink:0;gap:8px;width:100%;align-items:stretch;margin-top:10px}.surface-listen .card:not(:has(#screen-live:not(.hidden)))>.listener-actions{display:none}.surface-listen .listener-actions>*{flex:1 1 0;min-width:0}.surface-listen .listener-actions>#refresh-wrap{flex-grow:3}.public-shell.surface-listen .listener-actions button{width:100%;height:44px;min-height:44px;margin:0;padding:0 8px;font-size:13px;line-height:1.2;white-space:nowrap;gap:5px}.surface-listen .listener-actions .lbl{overflow:hidden;text-overflow:ellipsis}.surface-listen .listener-actions .ic{width:18px;height:18px}.surface-listen .brand-foot{padding-top:8px}.public-shell.surface-listen.split .card:has(#screen-live:not(.hidden)){height:50dvh;padding:max(64px,env(safe-area-inset-top) + 54px) 16px 10px}.surface-listen.split #screen-live{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:center}.surface-listen.split #screen-live h1,.surface-listen.split .org-logo,.surface-listen.split .ev-name,.surface-listen.split .ev-subject,.surface-listen.split .ev-desc,.surface-listen.split #screen-live .vu,.surface-listen.split #screen-live .audio-route{display:none}.surface-listen.split .event-head{padding:0;border:0;background:none;margin-bottom:6px}.surface-listen.split .ev-lang{margin:0}.surface-listen.split .lang-switch,.surface-listen.split #live-status{grid-column:1 / -1}.surface-listen.split #screen-live .play{width:72px;height:72px;line-height:72px}.surface-listen.split #screen-live .row{grid-column:2;justify-content:start}.public-shell.surface-listen.split.subs-expanded .card:has(#screen-live:not(.hidden)){height:10dvh;padding:6px 16px}.surface-listen.split.subs-expanded #screen-live{display:flex;flex-direction:row;justify-content:center}.surface-listen.split.subs-expanded .event-head,.surface-listen.split.subs-expanded .lang-switch,.surface-listen.split.subs-expanded #screen-live .row,.surface-listen.split.subs-expanded .listener-actions,.surface-listen.split.subs-expanded #live-status{display:none}.surface-listen.split.subs-expanded #screen-live .play{width:44px;height:44px;line-height:44px;border-width:1px}.public-shell.surface-speaker .actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.public-shell.surface-speaker .wrap{padding:max(64px,env(safe-area-inset-top) + 54px) 18px max(16px,env(safe-area-inset-bottom))}.public-shell.surface-speaker .actions button{min-width:0;height:50px;min-height:50px;padding:0 8px;font-size:14px;white-space:nowrap;gap:6px}.public-shell.surface-speaker .actions #muteBtn,.public-shell.surface-speaker .actions #leaveBtn{min-height:50px;padding:0 8px;gap:6px;font-size:14px}.surface-speaker .actions .lbl{overflow:hidden;text-overflow:ellipsis}.public-shell.surface-conversation .captions{max-height:28dvh;overflow:auto;overscroll-behavior:contain}.public-shell.surface-conversation #audio-controls{border:1px solid var(--line);border-radius:9px}.public-shell.surface-conversation #audio-controls[open]{padding-bottom:8px}.public-shell.surface-conversation #audio-controls[open]>:not(summary){margin:0 8px 8px;width:calc(100% - 16px)}.public-shell.surface-conversation #audio-controls label{margin:0}.public-shell.surface-conversation #chooseOutput{min-height:44px;font-size:14px}.public-shell.surface-conversation .card:has(#live:not(.hidden))>:is(.eyebrow,.sub,.public-explainer){display:none}.public-shell.surface-conversation #live{display:flex;flex-direction:column;gap:6px}.surface-conversation #live>:is(#ptt,.mic-state,.level,details){flex-shrink:0}.surface-conversation #live #ptt{order:-1;margin:0;min-height:80px;font-size:clamp(16px,4vw,22px)}.surface-conversation #live .captions{flex:1 1 100px;min-height:0;margin:0}.surface-conversation #live .level,.surface-conversation #live .mic-state{margin:0}.surface-conversation #live :is(#receiverHint,#autoHint){font-size:12px;margin:0}.public-shell.surface-listen.split #subs-dock{display:flex;flex-direction:column;padding-top:56px;background:#0b1220}.public-shell.surface-listen.split #subs-panel{flex:1 1 0;padding:16px 22px;min-height:0;max-height:none}.public-shell.surface-listen.split #subs-dock>.ai-disclaimer{position:static;flex:0 0 auto;margin:0;padding:8px 16px max(8px,env(safe-area-inset-bottom));font-size:12px;color:#dce5ed;background:#0b1220}.surface-listen.split .play{box-shadow:none}.surface-listen.split .listener-actions{margin-top:4px}.surface-listen.split #refresh-wrap{margin:0}.surface-listen.split.subs-expanded #screen-live .play{display:none}.surface-speaker #leaveBtn{color:var(--bad);background:transparent;border:1px solid currentColor}@media(max-width:760px),(max-height:500px){body.public-shell .public-tools>button{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex-basis:44px!important}body.public-shell .dbg-close{min-width:44px;min-height:44px}}.surface-speaker #live{flex-shrink:0}.surface-listen .org-logo{background:#fff;border-radius:8px}@media(max-height:700px){.public-shell.surface-conversation .card:has(#live:not(.hidden)) h1{font-size:20px;margin:0}.public-shell.surface-conversation .card:has(#live:not(.hidden)) .status{margin:6px 0;font-size:13px}.public-shell.surface-conversation .card>#live{overflow:visible}.surface-conversation .brand,.surface-listen.split .event-head{display:none}.public-shell.surface-listen.split .card:has(#screen-live:not(.hidden)){padding:54px 12px 6px}.surface-listen.split #screen-live{grid-template-columns:44px minmax(0,1fr)}.surface-listen.split #screen-live .play{width:44px;height:44px;line-height:44px}.surface-listen.split #screen-live .row{gap:4px}.surface-listen.split #screen-live .toggle{padding:4px;font-size:12px}}@media(max-height:500px)and (orientation:landscape){.public-shell.surface-listen:not(.split) .card:has(#screen-live:not(.hidden)){display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,2fr);gap:8px 16px;width:min(900px,100%)}.surface-listen:not(.split) .event-head{grid-column:1;grid-row:1 / span 2;max-height:100%;margin:0}.surface-listen:not(.split) #screen-live{grid-column:2;display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px;align-items:center}.surface-listen:not(.split) #screen-live :is(h1,.sub,.vu){display:none}.surface-listen:not(.split) #screen-live .play{width:64px;height:64px;line-height:64px;grid-row:1 / span 2}.surface-listen:not(.split) #screen-live .row{grid-column:2}.surface-listen:not(.split) #screen-live .audio-route{grid-column:1 / -1}.surface-listen:not(.split) .listener-actions{grid-column:2;margin:0}.surface-listen.split .public-tools{position:fixed;inset:4px auto auto 8px}.public-shell.surface-listen.split .card:has(#screen-live:not(.hidden)){padding:50px 12px 6px}.surface-listen.split #screen-live{display:flex;flex-direction:row;gap:8px;overflow:auto}.surface-listen.split #screen-live .row{width:auto;flex:1;flex-wrap:nowrap}.surface-listen.split .listener-actions{min-height:44px}.surface-speaker #live .meta{margin:0}.surface-speaker #live .actions{margin:8px 0 0}.public-shell.surface-conversation .wrap{width:min(800px,100%);max-width:800px}.public-shell.surface-conversation #live{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr}.surface-conversation #live #ptt{grid-column:1;grid-row:1 / span 2}.surface-conversation #live .captions{grid-column:2;grid-row:1 / span 3;max-height:none}.surface-conversation #live :is(.level,#receiverHint,#autoHint){display:none}}@media(max-height:700px){.surface-listen:not(.split) #screen-live .play{width:80px;height:80px;line-height:80px}.surface-listen:not(.split) #screen-live .sub,.surface-listen:not(.split) #screen-live .play:not(.playing)~.vu{display:none}.public-shell.surface-listen:not(.split) .card:has(#screen-live:not(.hidden)){padding:12px}.surface-listen:not(.split) #screen-live{gap:7px}.public-shell.surface-speaker .wrap{gap:10px}.public-shell.surface-speaker .card.state{min-height:0;flex:1}.surface-speaker .meta{margin-top:10px;padding:8px}.surface-speaker .big{font-size:24px;margin-top:12px}}@media(max-width:700px){body.public-shell.surface-conversation{height:100dvh;min-height:0;overflow:hidden;align-content:start}.surface-conversation .wrap{height:calc(100dvh - max(64px,env(safe-area-inset-top) + 54px) - 12px);display:flex;flex-direction:column}.surface-conversation .brand{flex-shrink:0}.public-shell.surface-conversation .card{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:16px}.public-shell.surface-conversation .card:not(:has(#live:not(.hidden))){display:block;overflow-y:auto}.surface-conversation .card>.public-explainer[open]{flex-shrink:1;min-height:44px;max-height:30dvh;overflow-y:auto}.surface-conversation .card>:not(#live){flex-shrink:0}.surface-conversation #live{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.surface-conversation .card>.ai-disclaimer{margin:8px 0 0}.surface-conversation .card:has(#live:not(.hidden)) .sub{display:none}.surface-conversation .status,.surface-conversation .level{margin:10px 0}.surface-conversation .captions{min-height:100px}.surface-conversation #error:empty{display:none}}
