:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#eef2ff;background:#070b12;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:radial-gradient(circle at 75% 8%,rgba(45,212,191,.13),transparent 28%),linear-gradient(135deg,#05070c,#0c1420 48%,#111827)}.sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;border-right:1px solid rgba(148,163,184,.13);background:#030712bd;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:850;margin-bottom:24px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);box-shadow:0 18px 36px #7c3aed3d}.nav-list{display:grid;gap:8px}.nav-list button{width:100%;min-height:46px;display:flex;align-items:center;gap:12px;padding:0 12px;border:0;border-radius:10px;color:#cbd5e1;background:transparent;text-align:left}.nav-list button:hover,.nav-list button.active{color:#fff;background:#7c3aed2e}.workspace{min-width:0;padding:28px}.page-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:18px}.hero-panel,.panel-card,.flow-card,.room-main,.room-side{border:1px solid rgba(148,163,184,.13);box-shadow:0 24px 64px #00000047}.hero-panel{min-height:430px;display:flex;align-items:flex-end;padding:34px;border-radius:18px;background:linear-gradient(180deg,#0206172e,#020617e0),url(https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80);background-size:cover;background-position:center;grid-row:span 2}.hero-panel h1{max-width:740px;margin:10px 0 12px;font-size:clamp(34px,5vw,62px);line-height:1.02;letter-spacing:0}.hero-panel p{max-width:640px;margin:0;color:#cbd5e1;font-size:17px;line-height:1.6}.eyebrow{color:#a7f3d0;font-weight:800;text-transform:uppercase;font-size:12px}.hero-actions,.room-actions,.inline-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-actions{margin-top:24px}.primary-button,.secondary-button,.danger-button,.ghost-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:0 16px;font-weight:850}.primary-button{border:0;color:#fff;background:linear-gradient(135deg,#7c3aed,#4f46e5);box-shadow:0 18px 36px #4f46e538}.secondary-button,.ghost-button{color:#e2e8f0;border:1px solid rgba(148,163,184,.18);background:#1e293bb8}.danger-button{color:#fecaca;border:1px solid rgba(248,113,113,.26);background:#7f1d1d4d}.ghost-button{min-height:34px;padding:0 12px;font-size:12px}.panel-card{min-height:204px;border-radius:16px;padding:22px;background:#0f172ac7}.panel-card h2,.room-side h2{margin:0 0 10px;font-size:18px}.muted{color:#94a3b8}.summary-list{display:grid;gap:8px;padding:14px;border-radius:12px;background:#0f172a9e;color:#cbd5e1}.summary-list strong{color:#fff;overflow-wrap:anywhere}.flow-card{max-width:1040px;margin:0 auto;padding:26px;border-radius:18px;color:#0f172a;background:#fffffff5}.flow-card.narrow{max-width:620px}.auth-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 16px;border:1px solid #dbe4f0;border-radius:14px;background:#f8fafc}.auth-strip div{min-width:0;display:grid;gap:3px}.auth-strip span,.auth-strip small{color:#64748b;font-size:12px;font-weight:800}.auth-strip strong{color:#0f172a;font-size:16px;overflow-wrap:anywhere}.page-header{margin-bottom:24px}.page-header h1{margin:0 0 8px;font-size:30px;letter-spacing:0}.page-header p{margin:0;color:#64748b}.form-section{padding:18px;margin-bottom:16px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.form-section h3{margin:0 0 14px;font-size:16px}label{display:grid;gap:7px;margin-bottom:14px;font-size:12px;font-weight:850}input,select,textarea{width:100%;min-height:42px;border:1px solid #dbe4f0;border-radius:9px;padding:0 12px;color:#0f172a;background:#fff;outline:0}textarea{min-height:88px;padding:12px;resize:vertical}.two-col,.three-col{display:grid;gap:14px}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.check-row{display:flex;align-items:center;gap:10px}.check-row input{width:18px;min-height:18px}.submit-button{width:100%;margin-top:4px}.room-preview{display:grid;gap:4px;padding:14px;margin-bottom:16px;border-radius:12px;background:#eef2ff}.room-preview span{color:#4f46e5}.room-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px}.room-main,.room-side{border-radius:18px;background:#0f172ac7}.room-main{padding:22px}.room-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.room-topbar h1{margin:0 0 8px;font-size:24px}.room-topbar span{display:inline-flex;align-items:center;gap:8px;color:#cbd5e1}.live-stage{position:relative;overflow:hidden;height:var(--stage-height, 430px);min-height:300px;max-height:76vh;--stage-zoom: 1;border-radius:16px;background:linear-gradient(180deg,#0f172a9e,#020617db),url(https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80);background-size:cover;background-position:center;border:1px solid rgba(148,163,184,.13)}.stage-resize-handle{position:absolute;right:12px;bottom:12px;z-index:5;width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(226,232,240,.22);border-radius:10px;color:#e2e8f0;background:#020617ad;cursor:nwse-resize;opacity:.72;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:opacity .16s ease,background .16s ease,border-color .16s ease;touch-action:none}.stage-resize-handle:hover,.stage-resize-handle:focus-visible{opacity:1;border-color:#7c3aedb8;background:#312e81c7;outline:none}.local-video{position:absolute;z-index:3;width:min(220px,34%);aspect-ratio:16 / 10;display:none;object-fit:cover;background:#020617;border:1px solid rgba(226,232,240,.22);border-radius:12px;box-shadow:0 18px 36px #00000047}.local-video.pos-top-right{right:18px;top:18px}.local-video.pos-top-left{left:18px;top:18px}.local-video.pos-bottom-right{right:18px;bottom:18px}.local-video.pos-bottom-left{left:18px;bottom:18px}.local-video.size-small{width:min(170px,28%)}.local-video.size-medium{width:min(230px,36%)}.local-video.size-large{width:min(340px,48%)}.local-video.active{display:block}.remote-media{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:none;gap:8px;padding:10px;background:#020617}.remote-media.active{display:grid}.remote-tile{position:relative;overflow:hidden;min-width:0;min-height:0;border:2px solid transparent;border-radius:10px;background:#000;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.remote-tile video{width:100%;height:100%;object-fit:contain;transform-origin:center;display:block;min-width:0;min-height:0;background:#000}.live-stage.fit-cover .remote-tile video{object-fit:cover}.live-stage.fit-contain .remote-tile video{object-fit:contain}.remote-media audio{display:none}.remote-tile.speaking{border-color:#a3e635;box-shadow:0 0 0 2px #a3e63538}.remote-tile.screen-share-tile video,.remote-tile video.screen-share{object-fit:contain}.remote-tile video:fullscreen{width:100vw;height:100vh;object-fit:contain;border:0;border-radius:0;background:#000}.remote-tile video:-webkit-full-screen{width:100vw;height:100vh;object-fit:contain;border:0;border-radius:0;background:#000}.remote-media.layout-speaker.active{display:flex;flex-wrap:wrap;align-content:flex-start}.remote-media.layout-speaker .remote-tile{order:1;flex:1 1 150px;max-width:210px;height:86px}.remote-media.layout-speaker .remote-tile:not(.screen-share-tile) video{object-fit:cover}.remote-media.layout-speaker .remote-tile.focused{order:2;flex:1 0 100%;max-width:none;height:calc(100% - 96px);min-height:290px;transform:scale(var(--stage-zoom))}.remote-media.layout-speaker .remote-tile.focused video{object-fit:contain}.live-stage.fit-cover .remote-media.layout-speaker .remote-tile.focused:not(.screen-share-tile) video{object-fit:cover}.remote-media.layout-speaker .remote-tile:only-of-type{flex-basis:100%;max-width:none;height:100%}.remote-media.layout-gallery.active{align-items:stretch;grid-auto-rows:minmax(0,1fr)}.remote-media.layout-gallery .remote-tile video{object-fit:cover}.remote-media.layout-speaker .remote-tile.screen-share-tile video,.remote-media.layout-gallery .remote-tile.screen-share-tile video{object-fit:contain}.remote-media.layout-gallery.count-1{grid-template-columns:1fr}.remote-media.layout-gallery.count-2,.remote-media.layout-gallery.count-3,.remote-media.layout-gallery.count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.remote-media.layout-gallery.count-5,.remote-media.layout-gallery.count-6,.remote-media.layout-gallery.count-7,.remote-media.layout-gallery.count-8,.remote-media.layout-gallery.count-9{grid-template-columns:repeat(3,minmax(0,1fr))}.remote-tile-meta{position:absolute;left:10px;right:10px;bottom:10px;z-index:2;display:flex;align-items:center;gap:6px;min-width:0;padding:6px 8px;border-radius:9px;color:#f8fafc;background:linear-gradient(90deg,#020617c7,#0206175c);pointer-events:none}.remote-tile-meta strong{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850}.media-pill{flex:0 0 auto;padding:3px 6px;border-radius:999px;font-size:10px;font-weight:850;line-height:1}.media-pill.on{color:#bbf7d0;background:#166534bd}.media-pill.off{color:#fecaca;background:#7f1d1dd1}.stage-toolbar{margin-top:10px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid rgba(226,232,240,.16);border-radius:12px;background:#02061770;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 36px #0000003d}.stage-toolbar button,.stage-toolbar select,.stage-toolbar input{min-height:34px;border:1px solid rgba(148,163,184,.18);border-radius:9px;color:#e2e8f0;background:#0f172ad1}.stage-toolbar button{width:36px;display:grid;place-items:center;padding:0}.stage-toolbar button.active{color:#fff;border-color:#7c3aed8c;background:#7c3aed70}.stage-toolbar button:disabled{cursor:not-allowed;color:#64748b;background:#0f172a6b}.stage-toolbar select{max-width:118px;padding:0 8px}.stage-zoom-slider{width:118px;accent-color:#7c3aed;padding:0 8px}.stage-toolbar>svg{color:#94a3b8;flex:0 0 auto}.stage-empty{position:relative;z-index:1;min-height:330px;display:grid;place-items:center;align-content:center;gap:12px;text-align:center;padding:32px}.stage-empty strong{font-size:22px}.stage-empty span{max-width:560px;color:#cbd5e1;line-height:1.5}.caption-strip.real{margin-top:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.caption-strip.real div{padding:14px;border-radius:12px;background:#020617b8;border:1px solid rgba(148,163,184,.14)}.caption-strip.real span{color:#94a3b8;font-size:12px}.caption-strip.real p{margin:6px 0 0;font-weight:850}.translation-board{margin-top:14px;display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px}.translation-status,.translation-text{min-height:92px;padding:14px;border-radius:12px;border:1px solid rgba(148,163,184,.13);background:#0f172a9e}.translation-status{min-height:92px;display:grid;place-items:center;padding:0}.translation-text span{color:#94a3b8;font-size:12px;font-weight:800}.translation-status i{width:18px;height:18px;border-radius:999px;box-shadow:0 0 0 6px #94a3b814}.translation-status.online i{background:#22c55e;box-shadow:0 0 0 6px #22c55e24,0 0 24px #22c55e7a}.translation-status.connecting i{background:#f59e0b;box-shadow:0 0 0 6px #f59e0b24,0 0 24px #f59e0b6b}.translation-status.offline i{background:#ef4444;box-shadow:0 0 0 6px #ef444424,0 0 24px #ef444461}.translation-text p{margin:8px 0 0;color:#e2e8f0;line-height:1.45}.transcript-panel{background:#14532d3d}.transcript-lines{max-height:190px;margin-top:10px;overflow-y:auto;scroll-behavior:smooth;overscroll-behavior:contain;padding-right:6px}.transcript-line{padding:9px 0;border-top:1px solid rgba(148,163,184,.12)}.transcript-line:first-child{border-top:0;padding-top:0}.transcript-line small{display:block;color:#94a3b8;font-size:12px;line-height:1.35}.transcript-line p,.transcript-lines>p{margin:5px 0 0;color:#f8fafc;font-size:17px;line-height:1.45}.control-bar.real{width:fit-content;max-width:100%;margin:16px auto 0;display:flex;align-items:stretch;justify-content:center;gap:4px;padding:9px 10px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:linear-gradient(180deg,#463f38c7,#201c1bc7);box-shadow:0 22px 54px #00000057;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.control{position:relative;width:94px;min-height:72px;display:grid;grid-template-rows:30px auto;place-items:center;gap:4px;align-items:center;border:0;border-radius:11px;padding:7px 8px;color:#e2e8f0;background:transparent}.control:hover{background:#ffffff1a}.control>svg:not(.control-caret){grid-row:1;width:25px;height:25px}.control-caret{position:absolute;top:13px;right:20px;color:#e2e8f0ad}.control.on{background:transparent}.control.on svg{color:#34d399}.control.off{background:transparent}.control.off svg{color:#fb7185}.control.pending{background:#facc151a}.control.pending svg,.control.pending small{color:#fde68a}.control span{min-width:0;max-width:100%;display:block;text-align:center;font-size:13px;font-weight:760;line-height:1.15}.control small{display:block;color:#94a3b8;margin-top:2px;font-size:10px;font-weight:700;text-align:center}.control.on small{color:#a7f3d0}.control.off small,.end-control{color:#fecaca}.end-control:hover{background:#7f1d1d3d}.end-icon{grid-row:1;width:27px;height:27px;display:grid;place-items:center;border:3px solid #fb7185;border-radius:8px;color:#fecaca;font-size:22px;font-weight:900;line-height:1}.control-settings-popover{width:min(620px,100%);margin:10px auto 0;display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:#0f172aeb;box-shadow:0 18px 42px #0000004d;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.control-settings-popover label{min-width:0;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;padding:12px;border:1px solid rgba(148,163,184,.13);border-radius:12px;color:#cbd5e1;background:#0f172a7a}.control-settings-popover span{font-size:12px;font-weight:800;white-space:nowrap}.control-settings-popover select{min-width:0;width:100%}.room-side{min-height:0;display:flex;flex-direction:column;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid rgba(148,163,184,.12)}.participant-list.real{display:grid;gap:8px;padding:14px;max-height:34vh;overflow-y:auto}.participant-row{display:flex;align-items:center;gap:10px;min-height:68px;padding:10px;border-radius:12px;background:#0f172a6b}.participant-row.requested{border:1px solid rgba(250,204,21,.34);background:#713f1238}.avatar{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#fff;background:linear-gradient(135deg,#0f766e,#7c3aed);font-weight:900}.participant-row div:nth-child(2){min-width:0;flex:1}.participant-row strong,.participant-row span{display:block}.participant-row span{margin-top:3px;color:#94a3b8;font-size:12px}.participant-row .request-note{color:#fde68a;font-weight:850}.participant-media-icons{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;border-radius:999px;background:#0206176b}.participant-row button{min-height:34px;border:0;border-radius:8px;padding:0 10px;color:#ede9fe;background:#7c3aed52;font-size:12px;font-weight:850}.participant-actions{display:grid;gap:6px}.participant-actions button{min-width:76px}.access-box{margin:14px;padding:14px;display:flex;justify-content:space-between;gap:12px;border-radius:12px;background:#7c3aed26}.access-box span{color:#cbd5e1}.chat-panel{min-height:260px;flex:1;display:flex;flex-direction:column;border-top:1px solid rgba(148,163,184,.12)}.chat-header{padding:16px 20px 8px}.chat-header h2{margin:0;font-size:16px}.chat-messages{min-height:150px;flex:1;display:flex;flex-direction:column;gap:10px;padding:8px 14px;overflow-y:auto}.chat-message{width:fit-content;max-width:92%;padding:10px 12px;border:1px solid rgba(148,163,184,.14);border-radius:12px;background:#0206177a}.chat-message.own{align-self:flex-end;border-color:#818cf847;background:#4f46e538}.chat-message span{display:block;margin-bottom:5px;color:#94a3b8;font-size:11px;font-weight:850}.chat-message p{margin:0;color:#e5e7eb;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.chat-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;padding:12px 14px 14px}.chat-form input{min-width:0;height:42px;border:1px solid rgba(148,163,184,.18);border-radius:10px;padding:0 12px;color:#f8fafc;background:#0206178f;outline:none}.chat-form input:focus{border-color:#818cf894;box-shadow:0 0 0 3px #6366f124}.chat-form button{height:42px;display:grid;place-items:center;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,#7c3aed,#4f46e5)}.ok{color:#34d399}.danger{color:#fb7185}.spin{animation:spin 1s linear infinite}.toast{position:fixed;right:24px;bottom:24px;z-index:20;max-width:min(380px,calc(100vw - 48px));padding:14px 16px;border-radius:12px;color:#fff;font-weight:850;box-shadow:0 18px 44px #00000047}.toast.success{background:#059669}.toast.error{background:#dc2626}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:16px}.brand{margin-bottom:12px}.nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}.page-grid,.room-grid{grid-template-columns:1fr}}@media(max-width:760px){.workspace{padding:16px}.nav-list{grid-template-columns:1fr 1fr}.hero-panel{min-height:460px;padding:24px}.two-col,.three-col,.translation-board,.caption-strip.real,.control-bar.real,.control-settings-popover{grid-template-columns:1fr}.control-bar.real{width:100%;flex-wrap:wrap}.control{flex:1 1 86px;width:auto}.control-settings-popover label{grid-template-columns:auto minmax(0,1fr)}.control-settings-popover select{grid-column:1 / -1}.room-topbar{flex-direction:column}.room-actions,.room-actions button{width:100%}}
