:root{color-scheme:light;--bg: #f7f8fb;--surface: #ffffff;--surface-strong: #eef2f7;--text: #172033;--muted: #667085;--line: #d9e0ea;--primary: #2563eb;--primary-strong: #1d4ed8;--danger: #dc2626;--shadow: 0 24px 70px rgba(32, 44, 70, .12);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0;color:var(--text);background:var(--bg)}button,input{font:inherit}button{border:0;cursor:pointer}.app-shell{min-height:100vh;padding:24px}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1120px;margin:0 auto}.brand,.session-pill{display:inline-flex;align-items:center;gap:10px}.brand{color:var(--text);background:transparent;font-weight:750}.session-pill{min-height:44px;padding:6px 8px 6px 14px;border:1px solid var(--line);border-radius:999px;background:#fffc;box-shadow:0 8px 28px #1c2b4914}.status-dot{width:9px;height:9px;border-radius:50%;background:#16a34a}.icon-button{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:50%;color:var(--muted);background:transparent}.icon-button:hover{background:var(--surface-strong);color:var(--text)}.home-view,.room-view{width:min(1120px,100%);margin:72px auto 0}.home-view{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.7fr);gap:48px;align-items:center}.eyebrow{margin:0 0 10px;color:var(--primary);font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin-top:0}h1{max-width:760px;margin-bottom:16px;font-size:clamp(2.3rem,6vw,5rem);line-height:1;letter-spacing:0}h2{margin-bottom:0;font-size:1.25rem;letter-spacing:0}.lead{max-width:620px;color:var(--muted);font-size:1.15rem;line-height:1.7}.action-panel{display:grid;gap:24px;padding:28px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.join-form{display:grid;gap:10px}.join-form label{color:var(--muted);font-size:.9rem;font-weight:650}.input-row{display:grid;grid-template-columns:1fr auto;gap:10px}input{min-width:0;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:#fbfcfe;outline:none}input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #2563eb24}.primary-button,.secondary-button,.danger-button,.ghost-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:8px;font-weight:750;white-space:nowrap}.primary-button{color:#fff;background:var(--primary)}.primary-button:hover{background:var(--primary-strong)}.secondary-button{border:1px solid var(--line);color:var(--text);background:var(--surface)}.secondary-button:hover,.ghost-button:hover{background:var(--surface-strong)}.danger-button{color:#fff;background:var(--danger)}.ghost-button{color:var(--muted);background:transparent}.room-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:28px}.room-heading h1{margin:0;overflow-wrap:anywhere;font-size:clamp(1.3rem,4vw,2.5rem);line-height:1.15}.room-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.call-surface{display:grid;min-height:560px;align-content:space-between;gap:24px;padding:28px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.participant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.participant-card{display:flex;min-height:128px;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe}.participant-card strong,.participant-card span{display:block}.participant-card strong{margin-bottom:4px}.participant-card span{color:var(--muted)}.participant-card small{display:block}.participant-info{flex:1;min-width:0}.inline-meter{width:min(180px,100%);height:8px;margin-top:10px;overflow:hidden;border-radius:999px;background:var(--surface-strong)}.peer-state{margin-top:4px;color:var(--muted);font-size:.74rem}.inline-meter-fill{height:100%;border-radius:inherit;background:var(--primary);transition:width 80ms linear}.inline-meter-fill.muted{background:var(--muted)}.local-card{border-color:#2563eb59;background:#eff6ff}.waiting-card{border-style:dashed}.avatar{display:grid;flex:0 0 auto;width:54px;height:54px;place-items:center;border-radius:50%;color:#fff;background:var(--primary);font-size:1.35rem;font-weight:800;text-transform:uppercase}.muted-avatar{color:var(--muted);background:var(--surface-strong)}.call-controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px}.round-button{display:grid;width:58px;height:58px;place-items:center;border-radius:50%;color:var(--muted);background:var(--surface-strong)}.round-button.active{color:#fff;background:var(--primary)}.round-button.disabled{cursor:default;opacity:.65}.toast{position:fixed;right:24px;bottom:24px;max-width:min(360px,calc(100vw - 48px));padding:14px 16px;border-radius:8px;color:#fff;background:#111827;box-shadow:var(--shadow)}.toast.error{background:var(--danger)}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#1118276b}.settings-modal{width:min(520px,100%);padding:24px;border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.settings-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.device-preview{display:grid;width:100%;aspect-ratio:16 / 10;place-items:center;overflow:hidden;border-radius:8px;background:#0f172a}.preview-placeholder{display:grid;width:68px;height:68px;place-items:center;border-radius:50%;color:#dbeafe;background:#ffffff1f}.settings-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.mic-meter{display:grid;gap:8px;margin-top:18px}.mic-meter-track{position:relative;width:100%;height:12px;overflow:hidden;border-radius:999px;background:var(--surface-strong)}.mic-meter-fill{height:100%;border-radius:inherit;background:var(--primary);transition:width 80ms linear}.mic-meter span{color:var(--muted);font-size:.9rem}@media(max-width:760px){.app-shell{padding:16px}.top-bar,.room-heading,.home-view{align-items:stretch;flex-direction:column}.top-bar,.room-heading{display:flex}.session-pill{justify-content:space-between}.home-view,.room-view{margin-top:42px}.home-view,.input-row{grid-template-columns:1fr}.room-actions{justify-content:stretch}.room-actions>*,.settings-actions>*{flex:1}.call-surface,.action-panel{padding:18px}}
