:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,sans-serif;background:#061622;color:#eef5ff;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 40%,#0b3041,transparent 65%),#061622}
.app-shell{max-width:760px;margin:auto;padding:24px 18px 50px}.brand{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px}.brand h1{font-size:32px;margin:0;font-weight:600}.brand span,.eyebrow,.hint{color:#a6b9cc}.panel{border:1px solid #243d50;border-radius:24px;padding:24px;margin-bottom:18px;background:#102432b3}.connection-panel{background:#0b1e2b}.connection-panel h1{font-size:22px;margin:6px 0}.hint{line-height:1.6;font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:12px;align-items:center}input,select,textarea{width:100%;border:1px solid #345166;border-radius:12px;background:#071a28;color:#eef5ff;font:inherit;padding:13px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #39e5e6;outline-offset:3px}.actions{grid-column:1/-1;display:flex;gap:12px;margin-top:8px}button{min-height:48px;border:1px solid #345166;border-radius:28px;background:#0a2332;color:#eef5ff;padding:12px 18px;font:inherit;cursor:pointer}button:hover:not(:disabled){border-color:#30dae1}.primary{background:#31dfe5;color:#03212a;font-weight:700;flex:1}button:disabled{opacity:.55;cursor:not-allowed}.panel-head{display:flex;gap:12px;align-items:center;justify-content:space-between}h2{margin:4px 0 18px;font-size:24px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em}.status{font-size:12px;color:#45e0db;max-width:170px}.speaker-card{border:1px solid #24536c;border-radius:28px;padding:42px 20px;text-align:center;background:radial-gradient(ellipse at center,#0d3948,#071c2a);min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column}.speaker-label{color:#9cb7ca;font-size:13px}.speaker-card strong{font-size:26px;color:#44e2ed;margin:18px 0}.speaker-card p{font-size:26px;line-height:1.35;margin:8px 0;overflow-wrap:anywhere}.participants-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:24px 0}.participant-card{text-align:center;min-width:0}.participant-card:before{content:'•';display:grid;place-items:center;width:48px;height:48px;margin:auto;border-radius:50%;background:#17394b;border:1px solid #42cdd7;color:#7ce3ed;font-size:28px}.participant-card:nth-child(2):before{background:#2a284b;border-color:#7568bd}.participant-card:nth-child(3):before{background:#244039;border-color:#568c7d}.participant-card:nth-child(4):before{background:#3e3c2d;border-color:#9b8b50}.participant-card h3{font-size:13px;overflow-wrap:anywhere;margin:10px 0 5px}.participant-card p{font-size:11px;color:#91a5b8;margin:0}.controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 24px}#location{grid-column:1/-1}#mic-toggle{border-color:#39d8df}label[for=transcript]{display:block;margin-bottom:10px}textarea{font-size:14px;line-height:1.6;resize:vertical}
@media(max-width:480px){.app-shell{padding:20px 12px 32px}.panel{padding:18px 14px}.form-grid{grid-template-columns:1fr;gap:7px}.form-grid label{margin-top:5px;font-size:13px}.speaker-card p{font-size:25px}.controls button{font-size:13px;padding:12px 8px}.brand h1{font-size:28px}.status{max-width:130px}}

[hidden] { display: none !important; }
#session-summary { margin: 8px 0; color: #b8d1dc; overflow-wrap: anywhere; }
#connection-title { overflow-wrap: anywhere; }

.brand-identity{display:flex;align-items:center;gap:10px}.brand-identity img{border-radius:12px}.pilot-badge{font-size:11px;letter-spacing:.08em;text-transform:uppercase;border:1px solid #345166;border-radius:20px;padding:6px 10px}.install-panel .hint{margin:8px 0 14px}.install-panel button{width:100%}.install-panel #install-status:empty{display:none}.connection-warning{padding:14px;border:1px solid #c69248;border-radius:14px;color:#f4d3a1}.offline-link{display:inline-block;padding:14px 20px;border-radius:24px;background:#31dfe5;color:#03212a;text-decoration:none;font-weight:700}@media(display-mode:standalone){.install-panel{display:none}.app-shell{padding-top:max(20px,env(safe-area-inset-top))}}

.join-error{grid-column:1/-1;border:1px solid #b57c4a;background:#332722;color:#ffe1c1;border-radius:12px;padding:12px;font-size:14px;line-height:1.5;margin:8px 0} [aria-invalid="true"]{border-color:#e6a361}

/* Client reference: 1 · Conversacion. Real state, no simulated activity. */
:root{--aqua:#36e0e6;--ink:#061622}
body{background:radial-gradient(ellipse at 55% 30%,#0b2636 0,transparent 60%),#061622}
.app-shell{max-width:540px;padding:22px 18px 28px}
.brand{margin-bottom:18px}.brand h1{font-weight:600;letter-spacing:-.04em;font-size:30px}
.settings-toggle{border:0;background:transparent;font-size:30px;padding:0;width:44px;height:44px;min-height:44px;line-height:1}
.in-meeting .brand-identity img{display:none}
.in-meeting .connection-panel{display:none}
.in-meeting .conversation-panel{padding:0;border:0;border-radius:0;background:transparent;margin:0}
.meeting-strip{display:flex;align-items:center;gap:12px;background:linear-gradient(110deg,#112532,#10202d);border:1px solid #213846;border-radius:17px;padding:16px 13px}
.meeting-icon{font-size:29px;color:#b4cad9}
.meeting-info{flex:1;min-width:0}
.meeting-info h2{font-size:16px;margin:0 0 5px;letter-spacing:-.02em}
.status{font-size:10px;line-height:1.4;color:#a8bac9;max-width:none;display:block}
.record-state{font-size:10px;line-height:1.3;color:#60dcd7;border:1px solid #1f4b56;border-radius:30px;padding:10px 9px;max-width:105px;text-align:center}
.language-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
.language-card{display:flex;align-items:center;gap:10px;border:1px solid #203846;background:#102331;border-radius:16px;min-width:0;padding:12px}
.language-icon{font-size:26px;color:#bdd1df}
.language-card div{min-width:0}.language-card div>span{display:block;color:#a7bdcd;font-size:11px;margin-bottom:4px}
.language-card strong{font-size:15px;line-height:1.2;display:block;overflow-wrap:anywhere}
.speaker-card{min-height:300px;height:clamp(290px,41dvh,390px);padding:20px 14px;border-color:#214454;border-radius:24px;background:radial-gradient(ellipse at 50% 32%,#0b3040 0,#061c2a 70%);justify-content:center}
.speaker-avatar{display:grid;place-items:center;width:70px;height:70px;min-height:70px;border:2px solid var(--aqua);border-radius:50%;background:radial-gradient(circle,#1c5774,#103349);box-shadow:0 0 24px #2bd7e224;color:#e6f5ff;font-size:29px}
.speaker-label{margin-top:10px;font-size:11px;color:#a3b9c9}
.speaker-card strong{font-size:14px;margin:4px 0;color:#38d5df}
.speaker-card p{font-size:clamp(22px,6vw,30px);line-height:1.28;margin:14px 0;max-width:100%;max-height:125px;overflow-y:auto;font-weight:600;letter-spacing:-.025em}
.audio-wave{display:flex;gap:3px;align-items:center;justify-content:center;width:100%;height:65px;margin-top:10px;opacity:.25}
.audio-wave i{display:block;flex:1;max-width:4px;height:var(--h);border-radius:5px;background:linear-gradient(#40e1d7,#1d8ad0)}
/* Static and subdued until local microphone is actually open; no fake remote speaker indication. */
.mic-active .audio-wave{opacity:.85}
.mic-active .speaker-avatar{box-shadow:0 0 28px #2bd7e245}
.listening-badge{display:block;color:#93b3c4;font-size:10px;border:1px solid #1b3b48;border-radius:24px;padding:8px 12px;margin-top:2px}
.listening-badge b{color:var(--aqua);font-weight:500}
.participants-grid{margin:17px 4px 9px;gap:8px}
.participant-card:before{display:none}
.participant-avatar{display:grid;place-items:center;width:48px;height:48px;margin:auto;border-radius:50%;background:#163744;border:1px solid #397889;color:#d2e3eb;font-size:16px}
.participant-card:nth-child(2) .participant-avatar{background:#28254a;border-color:#5a4c96}
.participant-card:nth-child(3) .participant-avatar{background:#223c36;border-color:#486f62}
.participant-card:nth-child(4) .participant-avatar{background:#3d3a2b;border-color:#7b714f}
.participant-card.is-current .participant-avatar{border:2px solid var(--aqua);box-shadow:0 0 16px #35e0e625}
.participant-card h3{font-size:12px;margin:7px 0 3px;font-weight:500}.participant-card p{font-size:9px;color:#8a9dad}
.audio-notice{font-size:10px;line-height:1.4;margin:10px 4px;color:#8ea8b9;text-align:center}
.call-controls{display:grid;grid-template-columns:1fr 1.3fr 1fr;align-items:center;gap:10px;border-top:1px solid #1a3342;border-radius:24px 24px 0 0;background:linear-gradient(#0a1e2b,#061622);margin:12px -8px 0;padding:17px 8px max(8px,env(safe-area-inset-bottom))}
.call-controls button{background:transparent;border:0;padding:0 2px;font-size:12px;min-height:98px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;line-height:1.3}
.call-controls button:before{content:'';display:block;width:56px;height:56px;flex-shrink:0;border:1px solid #365061;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:27px}
#mic-toggle{border:0;color:#e7f6fd;font-size:13px}
#mic-toggle:before{width:84px;height:84px;margin-top:-9px;background-color:var(--aqua);border:2px solid #0a4758;outline:1px solid var(--aqua);outline-offset:3px;background-size:38px;box-shadow:0 0 25px #24d4e21c;background-image:url("/traductor/icons/control-mic.svg")}
#subtitles-toggle:before{background-image:url("/traductor/icons/control-subtitles.svg")}
#leave-room:before{border-color:#b2556d;background-image:url("/traductor/icons/control-exit.svg")}
.call-controls button:focus-visible{outline-offset:5px}.call-controls button:disabled{opacity:.45}
.transcript-panel,.meeting-settings{margin-top:18px;padding:17px;border:1px solid #203c4d;border-radius:18px;background:#0d2230}
.meeting-settings h3{margin-top:0}.controls{margin-bottom:0}.meeting-settings .controls button{font-size:12px}
#session-notice:empty{display:none}
@media(max-width:360px){.app-shell{padding:16px 11px 20px}.record-state{max-width:85px;font-size:9px}.meeting-strip{gap:8px;padding:12px 10px}.meeting-info h2{font-size:14px}.language-card{padding:10px 8px;gap:7px}.language-card strong{font-size:13px}.speaker-card{height:300px}.call-controls{gap:5px}}
@media(min-width:600px){.app-shell{padding-top:32px}.in-meeting .app-shell{max-width:480px}.speaker-card{height:365px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

button.language-card{border-radius:16px;text-align:left;font-weight:400;min-height:70px;font:inherit;color:inherit}#listen-hint{font-size:9px;margin:4px 0 0;color:#6fb8bd}.language-card:disabled{opacity:1;cursor:default}

.speaker-card{height:clamp(280px,36dvh,350px)}.audio-wave i{height:14px}.audio-wave{gap:3px}.inline-icon{width:26px;height:26px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.audio-wave i:nth-child(1){height:4px}.audio-wave i:nth-child(2){height:8px}.audio-wave i:nth-child(3){height:14px}.audio-wave i:nth-child(4){height:22px}.audio-wave i:nth-child(5){height:12px}.audio-wave i:nth-child(6){height:30px}.audio-wave i:nth-child(7){height:18px}.audio-wave i:nth-child(8){height:42px}.audio-wave i:nth-child(9){height:22px}.audio-wave i:nth-child(10){height:14px}.audio-wave i:nth-child(11){height:28px}.audio-wave i:nth-child(12){height:48px}.audio-wave i:nth-child(13){height:62px}.audio-wave i:nth-child(14){height:42px}.audio-wave i:nth-child(15){height:28px}.audio-wave i:nth-child(16){height:18px}.audio-wave i:nth-child(17){height:12px}.audio-wave i:nth-child(18){height:24px}.audio-wave i:nth-child(19){height:38px}.audio-wave i:nth-child(20){height:22px}.audio-wave i:nth-child(21){height:46px}.audio-wave i:nth-child(22){height:30px}.audio-wave i:nth-child(23){height:18px}.audio-wave i:nth-child(24){height:12px}.audio-wave i:nth-child(25){height:22px}.audio-wave i:nth-child(26){height:36px}.audio-wave i:nth-child(27){height:54px}.audio-wave i:nth-child(28){height:38px}.audio-wave i:nth-child(29){height:24px}.audio-wave i:nth-child(30){height:16px}.audio-wave i:nth-child(31){height:12px}.audio-wave i:nth-child(32){height:8px}.audio-wave i:nth-child(33){height:18px}.audio-wave i:nth-child(34){height:28px}.audio-wave i:nth-child(35){height:16px}.audio-wave i:nth-child(36){height:10px}.audio-wave i:nth-child(37){height:6px}
.speaker-card{height:auto;min-height:355px;padding:20px 14px;gap:0}.speaker-card>*{flex-shrink:0}.speaker-avatar{width:60px;height:60px;min-height:60px;font-size:26px}.speaker-label{margin-top:8px}.audio-wave{height:48px;margin-top:6px}.audio-wave i{max-height:46px}.speaker-card p{font-size:26px;line-height:1.25;margin:12px 0;min-height:2.5em;max-height:5em;flex-shrink:0}.participant-card p{display:none}.audio-notice{font-size:10px}.meeting-strip{padding:13px}.status{font-size:10px}

html[lang=de] .language-card{gap:7px}html[lang=de] .language-card strong{font-size:12px;overflow-wrap:normal}html[lang=de] .language-icon .inline-icon{width:22px;height:22px}@media(max-width:360px){html[lang=de] .language-card .language-icon{display:none}}
