:root{--blue:#0057ff;--blue-weak:#eaf3ff;--text:#111827;--muted:#667085;--line:#d8dee8;--panel:#fff;--page:#f7f8fb;--danger:#ef4444;--green:#15b86a;color:var(--text);background:var(--page);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--page);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.auth-shell{background:radial-gradient(circle at 20% 20%,#0057ff1f,#0000 28%),linear-gradient(135deg,#f8fbff 0%,#eef4ff 48%,#fff 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #dce4f0;border-radius:14px;width:min(480px,100%);padding:30px;box-shadow:0 28px 80px #16223329}.auth-card.compact{text-align:center}.auth-logo{color:#0f172a;align-items:center;gap:6px;font-size:28px;display:inline-flex}.auth-copy{margin:26px 0 20px}.auth-copy span{color:var(--blue);font-size:13px;font-weight:700}.auth-copy h1{letter-spacing:0;margin:8px 0;font-size:30px;line-height:1.1}.auth-copy p{color:#667085;margin:0;line-height:1.55}.auth-tabs{background:#eef3fb;border-radius:10px;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:18px;padding:5px;display:grid}.auth-tabs button{color:#465468;background:0 0;border:0;border-radius:8px;height:38px;font-weight:700}.auth-tabs button.active{color:var(--blue);background:#fff;box-shadow:0 1px 4px #1018281a}.auth-form{gap:14px;display:grid}.auth-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.auth-form label{color:#344054;gap:7px;font-size:13px;font-weight:700;display:grid}.auth-form input{color:#101828;background:#fff;border:1px solid #d0d7e2;border-radius:9px;height:44px;padding:0 12px}.auth-error{color:#b42318;background:#fff1f2;border:1px solid #fecaca;border-radius:9px;padding:10px 12px;font-size:13px}.primary-button{background:var(--blue);color:#fff;border:0;border-radius:9px;min-height:44px;padding:0 18px;font-weight:800}.primary-button:disabled{opacity:.65;cursor:wait}.shell.theme-dark{--text:#f8fafc;--muted:#b8c4d6;--line:#273244;--panel:#111827;--page:#0b1020;--blue-weak:#17294a;background:var(--page);color:var(--text)}.theme-dark .top-header,.theme-dark .side,.theme-dark .side-nav,.theme-dark .large-card,.theme-dark .analytics-card,.theme-dark .library,.theme-dark .table-card,.theme-dark .preview-card,.theme-dark .editor-side,.theme-dark .analytics-side,.theme-dark .user-menu,.theme-dark .action-menu,.theme-dark .import-modal,.theme-dark .transcript-panel,.theme-dark .settings-grid>div,.theme-dark .lesson,.theme-dark .academy-track,.theme-dark .live-card{border-color:var(--line);background:#111827}.theme-dark .logo-button{color:#fff}.theme-dark .logo-mark{color:#ff2d3b}.theme-dark input,.theme-dark select,.theme-dark textarea,.theme-dark .search,.theme-dark .code-area{color:var(--text);border-color:var(--line);background:#0b1020}.theme-dark .light-button,.theme-dark .outline,.theme-dark .view-toggle,.theme-dark .icon-button.ghost,.theme-dark .code-label button,.theme-dark .upload-minibar{color:#e5edf8;border-color:var(--line);background:#0f172a}.theme-dark .light-button:hover,.theme-dark .outline:hover,.theme-dark .icon-button:hover,.theme-dark .view-toggle:hover{color:#fff;background:#17294a}.theme-dark .view-toggle.active{color:#fff;background:#0b5cff;border-color:#4f8cff}.theme-dark .import-dropzone{color:#7eb0ff;background:#101b31;border-color:#3478ff}.theme-dark .import-source,.theme-dark .import-subbar,.theme-dark .import-queue footer,.theme-dark .drive-center h3,.theme-dark .upload-card strong{color:#e5edf8}.theme-dark .drive-connect,.theme-dark .import-queue{border-color:var(--line);background:#0f172a}.theme-dark .upload-progress-track,.theme-dark .award div{background:#273244}.theme-dark .user-menu button,.theme-dark .menu-fold>button,.theme-dark .fold-body button,.theme-dark .side-nav button,.theme-dark .editor-side button,.theme-dark .analytics-side button{color:#d6e0ee}.theme-dark .side-nav button.active,.theme-dark .side-nav button:hover,.theme-dark .editor-side button.active,.theme-dark .editor-side button:hover,.theme-dark .analytics-side button.active,.theme-dark .analytics-side button:hover,.theme-dark .user-menu button:hover,.theme-dark .user-menu button.selected,.theme-dark .fold-body button:hover{color:#fff;background:#17294a}.theme-dark .user-row,.theme-dark .menu-fold .fold-body,.theme-dark .control-stack,.theme-dark .folder-strip,.theme-dark .library-row,.theme-dark .transcript-head{border-color:var(--line)}.theme-dark .help-fold>div{border-color:var(--line);background:#111827}.theme-dark .trial-banner{color:#fff0c2;background:#2b230b;border-color:#8a6714}.theme-dark .trial-banner.neutral{border-color:var(--line);color:#d6e0ee;background:#0f172a}.theme-dark .trial-banner.danger{color:#fecaca;background:#341316;border-color:#7f1d1d}.theme-dark .tabs button,.theme-dark .settings-tabs button,.theme-dark .analytics-tabs button{color:#d6e0ee}.theme-dark .tabs button.active,.theme-dark .settings-tabs button.active,.theme-dark .analytics-tabs button.active{color:#73a5ff;border-bottom-color:#73a5ff}.theme-dark .library-head{color:#b8c4d6}.theme-dark .library-row{border-top-color:var(--line)}.theme-dark .library-row.selected,.theme-dark .library-row.dragging{background:#0f1b2e}.theme-dark .name-cell{color:#f8fafc}.theme-dark .folder-strip button{color:#d6e0ee;border-color:var(--line);background:#0f172a}.theme-dark .folder-strip button.active,.theme-dark .folder-strip button.drop-target{color:#fff;background:#17294a;border-color:#73a5ff}.theme-dark .actions button{color:#d6e0ee}.theme-dark .actions button:hover{color:#fff;background:#17294a}.top-header{border-bottom:1px solid var(--line);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:76px;padding:0 18px;display:flex;position:sticky;top:0}.logo-button{color:#252b37;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:24px;display:inline-flex}.logo-mark{color:#ff1c2f;place-items:center;display:grid}.top-actions{align-items:center;gap:14px;display:flex;position:relative}.award{gap:4px;min-width:230px;font-size:12px;display:grid}.award span,.award strong{justify-content:space-between;display:flex}.award div{background:#eef2f6;border-radius:999px;height:6px;overflow:hidden}.award i{background:var(--blue);width:1%;height:100%;display:block}.icon-button,.view-toggle{color:#465468;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;width:36px;height:36px;display:inline-grid;position:relative}.icon-button.ghost{background:#f4f7fb;border-color:#e1e7ef}.badge{color:#fff;background:#fb3d38;border-radius:999px;place-items:center;min-width:18px;height:18px;font-size:11px;display:grid;position:absolute;top:-6px;right:-4px}.avatar{color:#fff;background:#f2673d;border:0;border-radius:999px;width:42px;height:42px;font-weight:800}.avatar.small{flex:none;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.user-menu{border:1px solid var(--line);z-index:40;background:#fff;border-radius:8px;width:250px;padding:8px;position:absolute;top:52px;right:0;box-shadow:0 14px 40px #15223826}.user-menu button,.menu-fold>button,.fold-body button{color:#4b5a70;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;width:100%;min-height:34px;padding:0 10px;font-size:13px;display:flex}.user-menu button:hover,.user-menu button.selected,.fold-body button:hover{background:var(--blue-weak);color:var(--blue)}.user-row{border-bottom:1px solid #edf1f7;align-items:center;gap:10px;margin-bottom:6px;padding:8px;display:flex}.user-row strong,.user-row small{display:block}.user-row small{color:var(--muted);font-size:11px}.menu-fold .fold-body{border:1px solid #edf1f7;border-radius:8px;margin:2px 0 4px;padding:4px}.body{grid-template-columns:240px 1fr;display:grid}.body.no-sidebar{grid-template-columns:1fr}.side{border-right:1px solid var(--line);background:#fff;flex-direction:column;align-self:start;min-height:calc(100vh - 76px);padding:14px 12px;display:flex;position:sticky;top:76px}.side-nav{border:1px solid var(--line);border-radius:8px;gap:12px;min-height:calc(100vh - 104px);padding:12px;display:grid}.side-nav button,.editor-side button,.analytics-side button{color:#48566b;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;min-height:38px;padding:0 12px;font-size:14px;display:flex}.side-nav button.active,.side-nav button:hover,.editor-side button.active,.analytics-side button.active{background:var(--blue-weak);color:var(--blue)}.help-fold{margin-top:auto;position:relative}.help-fold>div{border:1px solid var(--line);background:#fff;border-radius:8px;width:180px;padding:8px;display:none;position:absolute;bottom:0;left:100%;box-shadow:0 14px 34px #1522381f}.help-fold:hover>div{display:grid}.version{color:#b7c0cd;text-align:center;margin-top:-22px;display:block}.content{min-width:0;padding:28px 46px 60px}.trial-banner{background:#fff9df;border:1px solid #fac748;border-radius:8px;align-items:center;gap:10px;min-height:40px;margin-bottom:22px;padding:0 14px;font-size:14px;display:flex}.trial-banner svg{color:#f59f00}.trial-banner.neutral{color:#475467;background:#f8fafc;border-color:#d7deea}.trial-banner.danger{color:#b42318;background:#fff1f2;border-color:#fecaca}.trial-banner.danger svg{color:#ef4444}.page-head{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.page-head.simple{justify-content:flex-start}.title-line{align-items:center;gap:10px;display:flex}h1,h2,h3,p{margin-top:0}.title-line h1,.editor-top h1,.analytics-top h1{margin:0;font-size:18px;font-weight:750;line-height:1.2}.title-line svg{color:var(--blue)}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar.compact{flex-wrap:nowrap}.search{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;width:205px;height:36px;padding:0 10px;display:flex}.search input{border:0;outline:0;width:100%;font-size:13px}.blue-button,.light-button,.outline{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 14px;font-size:13px;font-weight:650;display:inline-flex}.blue-button{background:var(--blue);color:#fff}.blue-button:disabled{opacity:.65}.blue-button.full{width:100%}.light-button,.outline{color:#344054;border-color:var(--line);background:#fff}.tabs,.settings-tabs,.analytics-tabs{border-bottom:1px solid var(--line);align-items:center;gap:22px;margin-bottom:18px;display:flex}.tabs button,.settings-tabs button,.analytics-tabs button{color:#111827;background:0 0;border:0;border-bottom:2px solid #0000;height:38px;font-size:14px}.tabs button.active,.settings-tabs button.active,.analytics-tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}.table-card,.large-card,.analytics-card,.live-card,.preview-card{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 1px 2px #1018280a}.library-head,.library-row{grid-template-columns:minmax(320px,1fr) 120px 80px 220px;align-items:center;gap:16px;padding:0 16px;display:grid}.library-head{color:#687588;height:48px;font-size:12px}.library-head span:first-child{align-items:center;gap:12px;display:flex}.library-row{border-top:1px solid #eef2f6;min-height:58px;font-size:13px}.library-row[draggable=true]{cursor:grab}.library-row.dragging{opacity:.52;outline:1px dashed var(--blue);outline-offset:-4px;background:#f4f8ff}.library-row.selected{box-shadow:inset 2px 0 0 var(--blue);background:#f7fbff}.name-cell{text-align:left;color:#111827;background:0 0;border:0;align-items:center;gap:12px;min-width:0;display:flex}.name-cell span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thumb{color:#fff;background:linear-gradient(135deg,#111827,#475467);border-radius:4px;flex:0 0 36px;place-items:center;width:36px;height:28px;display:grid;overflow:hidden}.thumb video{object-fit:cover;width:100%;height:100%}.actions{justify-content:flex-start;align-items:center;gap:4px;display:flex;position:relative}.actions button{color:#667085;background:0 0;border:0;border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.actions button:hover{background:#f0f4fb}.status-chip{color:#475467;background:#eef2f6;border-radius:8px;place-items:center;min-width:64px;height:25px;font-size:12px;font-weight:800;display:inline-grid}.status-chip.ready{color:#0a8f55;background:#e8f8f0}.status-chip.failed{color:#c3192d;background:#ffecef}.status-chip.processing,.status-chip.queued,.status-chip.uploading{color:#9a6700;background:#fff5d8}.folder-strip{border-bottom:1px solid #eef2f6;flex-wrap:wrap;gap:8px;padding:12px 14px;display:flex}.folder-strip button{border:1px solid var(--line);color:#48566b;background:#fff;border-radius:999px;align-items:center;gap:6px;min-height:30px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.folder-strip button.active{border-color:var(--blue);color:var(--blue);background:#eef5ff}.folder-strip button.drop-target{border-color:var(--blue);background:#e8f1ff;transform:translateY(-1px);box-shadow:0 0 0 3px #0b5cff1f}.folder-hint{color:var(--muted);align-self:center;margin-left:4px;font-size:12px}.action-menu{border:1px solid var(--line);z-index:5;background:#fff;border-radius:8px;width:215px;padding:6px;position:absolute;top:36px;right:8px;box-shadow:0 12px 34px #15223824}.action-menu button{justify-content:flex-start;align-items:center;gap:10px;width:100%;height:34px;padding:0 10px;font-size:13px;display:flex}.action-menu .danger{color:var(--danger)}.editor-page,.analytics-page{grid-template-columns:260px minmax(0,1fr);gap:34px;display:grid}.editor-side,.analytics-side{border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;align-self:start;gap:8px;min-height:calc(100vh - 126px);padding:12px 10px;display:flex;position:sticky;top:96px}.back-link{color:var(--blue)!important;padding:0 4px!important;font-size:12px!important}.side-section-title{padding:8px 10px;font-size:13px;font-weight:700}.editor-side.controls{max-height:calc(100vh - 126px);padding-bottom:12px;overflow-y:auto}.editor-side button small{margin-left:auto;font-size:11px}.editor-side .on{color:var(--green)}.editor-side .off{color:var(--danger)}.control-stack{border-top:1px solid #edf1f7;gap:12px;margin-top:8px;padding:14px 10px 0;font-size:12px;display:grid}.control-stack h3{margin:8px 0 0;font-size:13px}.control-stack label{gap:7px;display:grid}.control-stack .field,.control-stack input,.control-stack select,.control-stack textarea{border:1px solid var(--line);background:#fff;border-radius:6px;width:100%;min-height:34px;padding:7px 9px}.control-stack textarea{resize:vertical;min-height:66px}.color-row,.check-row,.switch-row,.radio-row{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;grid-template-columns:none!important;display:flex!important}.color-row input{width:26px;height:26px;padding:0}.check-row input,.switch-row input,.radio-row input{flex:0 0 16px;width:16px;height:16px;min-height:16px;padding:0}.control-stack input[type=range]{padding:0}.device-grid,.segmented{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.device-grid button,.segmented button{border:1px solid var(--line);background:#fff;border-radius:6px;justify-content:center;min-height:30px;padding:0 6px}.segmented button.active{border-color:var(--blue);color:var(--blue)}.device-grid button.active{border-color:var(--blue);color:var(--blue);background:#eef5ff}.autoplay-card{border:1px solid var(--blue);color:var(--blue);border-radius:6px;padding:12px;font-weight:700}.control-footer{background:linear-gradient(#ffffffdb,#fff 22%);border-top:1px solid #edf1f7;margin-top:12px;padding:12px 10px 2px;position:sticky;bottom:0}.unsaved-state{text-align:center;color:#b45309;margin-top:8px;font-size:11px;display:block}.editor-main,.analytics-main{min-width:0}.editor-top,.analytics-top{justify-content:space-between;align-items:center;min-height:38px;margin-bottom:14px;display:flex}.view-toggle{border-color:var(--line);background:#fff}.view-toggle.active{color:var(--blue);border-color:var(--blue)}.preview-card{place-items:center;min-height:520px;padding:16px;display:grid}.details-with-transcript{grid-template-columns:minmax(280px,1fr) minmax(300px,360px);align-items:stretch;gap:22px;width:100%;display:grid}.details-with-transcript .phone-player{place-self:center}.transcript-panel{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;min-height:474px;max-height:560px;display:flex;overflow:hidden}.transcript-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.transcript-head span{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:700;display:block}.transcript-head h2{margin:0;font-size:18px}.transcript-status{color:#3151b7;background:#eef2ff;border-radius:999px;margin-top:8px;padding:4px 8px;font-size:11px;font-weight:800;display:inline-flex}.transcript-status.ready{color:#087443;background:#dff8e9}.transcript-status.processing,.transcript-status.pending{color:#9a6700;background:#fff5d8}.transcript-status.failed,.transcript-status.waiting_key{color:#b42318;background:#ffe9eb}.transcript-head .light-button{flex:none}.transcript-body{color:#344054;padding:16px;font-size:14px;line-height:1.7;overflow:auto}.transcript-body p{margin:0 0 14px}.theme-dark .transcript-body{color:var(--muted)}.preview-card.mobile-preview .phone-player{width:min(320px,88vw)}.phone-player{background:#9aa09b;place-items:center;width:min(100%,268px);height:474px;display:grid;position:relative;overflow:hidden}.phone-player.expanded-preview{width:min(100%,360px)}.phone-player video,.fake-frame{object-fit:cover;background:radial-gradient(circle at 50% 18%,#e4d1bd 0 14%,#0000 15%),linear-gradient(#a9b2ad 0 42%,#f2f2f2 42% 64%,#d4d0cb 64%);width:100%;height:100%}.phone-player video{cursor:pointer}.play-bubble{color:#fff;z-index:5;background:#ff1616;border:0;border-radius:50%;place-items:center;width:52px;height:52px;display:grid;position:absolute}.smart-bar{background:#ff1717;width:0%;height:7px;transition:width .25s linear;position:absolute;bottom:0;left:0}.preview-controls{color:#fff;z-index:4;background:linear-gradient(#0000,#000000b8);align-items:end;gap:7px;min-height:48px;padding:14px 8px 8px;font-size:11px;display:flex;position:absolute;bottom:0;left:0;right:0}.preview-controls span{text-align:center;min-width:18px;font-weight:800}.preview-controls b{white-space:nowrap;font-size:10px}.preview-controls i{background:#ffffff94;border-radius:999px;flex:1;height:2px;margin-bottom:5px;overflow:hidden}.preview-controls em{width:42%;height:100%;display:block}.autoplay-overlay{color:#fff;text-align:center;background:#c00c10bf;border:1px solid #fff9;place-items:center;width:122px;min-height:68px;padding:8px;font-size:10px;display:grid;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.autoplay-overlay.compact{width:96px;min-height:52px;font-size:9px}.filter-badge{color:#fff;background:#111827c7;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700;position:absolute;top:12px;right:12px}.preview-action-button{border-radius:8px;padding:11px 16px;font-size:13px;font-weight:800;text-decoration:none;position:absolute;bottom:34px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #10182838}.subtitle-preview{color:#fff;text-align:center;background:#111827b8;border-radius:6px;padding:8px 10px;font-size:13px;font-weight:700;line-height:1.35;position:absolute;bottom:28px;left:14px;right:14px}.resume{background:#0d6389}.resume .fake-frame{display:none}.resume-box{color:#fff;width:80%}.resume-box h2{font-size:15px}.resume-box button{color:#fff;background:0 0;border:0;align-items:center;gap:10px;min-height:32px;font-weight:700;display:flex}.analytics-side h2{margin:8px 4px;font-size:14px}.analytics-side .learn{color:var(--blue);border-bottom:1px solid var(--line);border-radius:0;margin-bottom:6px;font-size:12px}.analytics-side .reset{border:1px solid var(--line);justify-content:center;margin-top:auto}.analytics-card{min-height:440px;padding:16px;position:relative}.updated{color:var(--muted);font-size:12px;position:absolute;top:58px;right:18px}.retention-chart{cursor:pointer;background:#050607;height:315px;margin-top:12px;position:relative;overflow:hidden}.video-watermark{color:#ffffff40;z-index:0;pointer-events:none;background:radial-gradient(circle at 52% 42%,#fff3 0 10%,#0000 11%),linear-gradient(90deg,#0000 0 39%,#ffffff38 39% 59%,#0000 59%),linear-gradient(#000,#000);place-items:center;display:grid;position:absolute;inset:0}.video-watermark:after{content:"";opacity:.75;background:radial-gradient(circle at 50% 24%,#efd2ba57 0 24%,#0000 25%),linear-gradient(#cdddd533,#cdddd514);border-radius:80px 80px 18px 18px;width:150px;height:250px}.video-watermark video{object-fit:cover;opacity:.42;filter:saturate(.86)contrast(.95);mix-blend-mode:screen;width:min(280px,34%);height:100%;max-height:315px;display:block}.video-watermark.has-video:after{display:none}.chart-play-hint{z-index:2;color:#ffffffad;pointer-events:none;background:#ffffff21;border:0;border-radius:999px;place-items:center;width:104px;height:104px;margin:auto;display:grid;position:absolute;inset:0;box-shadow:0 0 0 32px #ffffff0f}.chart-sync-line{z-index:2;filter:drop-shadow(0 0 2px #fff6);pointer-events:none;border-left:1px dashed #ffffffdb;width:0;position:absolute;top:5px;bottom:50px}.chart-sync-line span{background:#4ade50;border-radius:999px;width:8px;height:8px;position:absolute;top:50%;left:-4px;box-shadow:0 0 0 2px #ffffffb8}.retention-chart .recharts-responsive-container{z-index:1;position:relative}.retention-chart .recharts-cartesian-grid-horizontal line{stroke:#ffffff2e}.retention-chart .recharts-tooltip-cursor{filter:drop-shadow(0 0 2px #ffffff59)}.retention-tooltip{color:#fff;background:#0a0c0fdb;border:1px solid #fffc;border-radius:6px;gap:7px;min-width:160px;padding:9px 10px;font-size:12px;display:grid;box-shadow:0 8px 22px #00000047}.retention-tooltip strong{font-size:12px}.retention-tooltip span{white-space:nowrap;align-items:center;gap:7px;display:flex}.retention-tooltip i{background:#24d63c;border-radius:50%;flex:0 0 9px;width:9px;height:9px}.metric-grid{grid-template-columns:repeat(6,1fr);gap:8px;margin-top:18px;display:grid}.metric-grid button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:8px;gap:4px;min-height:58px;padding:9px;display:grid}.metric-grid strong{color:#667085;font-size:16px}.metric-grid span{color:#667085;font-size:11px}.metric-grid .metric-action strong{color:var(--blue);font-size:12px;text-decoration:underline}.segment-table{margin-top:18px;overflow-x:auto}.table-tools{justify-content:flex-end;gap:8px;margin-bottom:10px;display:flex}.segment-head,.segment-row{color:#566176;border-bottom:1px solid #edf1f7;grid-template-columns:minmax(170px,1.5fr) repeat(10,minmax(92px,1fr));align-items:center;min-width:1280px;min-height:42px;font-size:12px;display:grid}.segment-row:nth-child(2n){background:#f4f9ff}.summary-tools{align-items:center;gap:14px;margin-bottom:8px;display:flex}.dropdown-host{position:relative}.metric-dropdown{z-index:10;border:1px solid var(--line);background:#fff;border-radius:8px;width:190px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 30px #10182824}.metric-dropdown button{text-align:left;color:#344054;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;min-height:32px;display:flex}.metric-dropdown button:hover{color:var(--blue);background:#eef6ff}.summary-tools small{color:var(--muted);margin-left:auto}.live-card{padding:18px}.live-card h2{align-items:center;gap:8px;font-size:18px;font-weight:500;display:flex}.live-card h2 span{background:#ff334b;border-radius:50%;width:8px;height:8px}.live-body{border-top:1px solid var(--line);grid-template-columns:1fr 270px;min-height:360px;display:grid}.map-orb{color:#4db7b1;background:radial-gradient(circle,#bedde6 0 42%,#0000 43%);place-items:center;display:grid}.live-body aside{border-left:1px solid var(--line);padding:28px 16px}.device-meter{gap:8px;margin-top:18px;display:grid}.device-meter b{margin-left:auto}.device-meter i{background:var(--blue);border-radius:999px;height:5px;display:block}.large-card{padding:22px}.large-card p{color:#667085;line-height:1.5}.domain-button{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:min(520px,100%);min-height:42px;margin:12px 0 28px;display:inline-flex}.domain-entry{grid-template-columns:minmax(220px,1fr) auto;gap:10px;max-width:720px;margin-top:18px;display:grid}.domain-entry input{border:1px solid var(--line);border-radius:6px;min-height:42px;padding:0 12px}.domain-entry .domain-button{width:auto;margin:0}.domain-list{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.domain-list span{color:#075cff;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:8px;padding:7px 10px;font-size:13px;display:inline-flex}.domain-list button{color:inherit;cursor:pointer;background:0 0;border:0}.large-card hr{border:0;border-top:1px solid var(--line);margin:16px 0 22px}.settings-tabs{margin-bottom:18px}.billing-top{justify-content:space-between;gap:20px;display:flex}.billing-top h2{margin:6px 0}.usage{gap:8px;max-width:420px;margin:24px 0;display:grid}.usage strong{margin-left:auto}.usage i{background:linear-gradient(90deg,#00a744 0 14%,#eef2f6 14%);border-radius:999px;height:7px}.settings-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.settings-grid>div{border:1px solid var(--line);border-radius:8px;min-height:160px;padding:20px}.profile-photo{color:#fff;background:#202020;border-radius:50%;place-items:center;width:96px;height:96px;margin:12px 0;font-size:12px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:18px;margin:26px 0;display:grid}.form-grid label{gap:8px;font-size:13px;display:grid}.form-grid input{border:1px solid var(--line);border-radius:8px;min-height:38px;padding:0 10px}.form-grid select{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--text);border-radius:8px;padding:0 10px}.admin-layout{grid-template-columns:320px minmax(0,1fr);gap:20px;display:grid}.admin-list{background:var(--panel);border:1px solid var(--line);border-radius:8px;height:fit-content;padding:12px}.admin-list-head{justify-content:space-between;align-items:center;padding:6px 4px 12px;display:flex}.admin-list>button{text-align:left;width:100%;color:var(--text);background:0 0;border:1px solid #0000;border-radius:8px;gap:4px;padding:12px;display:grid}.admin-list>button small{color:var(--muted)}.admin-list>button.active,.admin-list>button:hover{background:var(--blue-weak);border-color:#b9d4ff}.stats-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0;display:grid}.stats-grid div{border:1px solid var(--line);border-radius:8px;gap:6px;padding:14px;display:grid}.stats-grid strong{font-size:20px}.stats-grid span,.admin-users p strong{color:var(--muted);font-size:12px}.admin-users{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.admin-users p{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;margin:0;padding:10px 0;display:flex}.compact-form{margin-top:18px;margin-bottom:18px}.settings-grid input{border:1px solid var(--line);border-radius:8px;width:100%;min-height:38px;margin:10px 0;padding:0 10px}.empty-state{text-align:center;color:#475467;place-items:center;min-height:330px;display:grid;position:relative}.empty-state .right{position:absolute;top:18px;right:18px}.member-row,.api-key-row{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:min(100%,760px);padding:10px 12px;display:flex}.member-row button,.api-key-row button{border:1px solid var(--line);color:#475467;background:#fff;border-radius:6px;min-height:30px;padding:0 10px}.api-key-row code{text-overflow:ellipsis;white-space:nowrap;text-align:left;color:#111827;flex:1;min-width:0;overflow:hidden}.academy-track{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(6,1fr);align-items:center;min-height:88px;margin-bottom:14px;padding:12px;display:grid;position:relative}.academy-track:before{content:"";background:var(--blue);height:3px;position:absolute;top:34px;left:28px;right:28px}.academy-track div{z-index:1;place-items:center;gap:8px;font-size:11px;display:grid;position:relative}.academy-track span{color:#31ba52;background:#efffed;border:1px solid #31ba52;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.lesson-list{border:1px solid var(--line);background:#fff;border-radius:8px}.lesson{border-bottom:1px solid #edf1f7;grid-template-columns:96px 1fr auto;align-items:center;gap:16px;min-height:76px;padding:12px 18px;display:grid}.lesson-thumb{color:#ff3543;background:#18191f;border-radius:5px;place-items:center;height:50px;display:grid}.lesson h3{margin:0 0 5px;font-size:15px}.lesson p{color:#667085;margin:0;font-size:13px}.modal-backdrop{z-index:80;background:#10182885;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.embed-modal,.import-modal{background:#fff;border-radius:8px;flex-direction:column;width:min(640px,100%);max-height:min(760px,92vh);display:flex;overflow:hidden;box-shadow:0 24px 80px #10182847}.embed-modal header,.import-modal header,.embed-modal footer{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:52px;padding:0 22px;display:flex}.import-modal header>div{align-items:center;gap:6px;display:inline-flex}.embed-modal footer{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end}.embed-modal h2,.import-modal h2{margin:0;font-size:15px}.embed-modal header button,.icon-only{color:#667085;background:0 0;border:0;border-radius:6px;width:32px;height:32px;font-size:24px;line-height:1}.icon-only{font-size:18px}.import-dropzone{border:1px solid var(--blue);min-height:344px;color:var(--blue);text-align:center;background:#edf7ff;border-radius:8px;align-content:center;justify-items:center;gap:22px;margin:22px;padding:32px;transition:background .16s,box-shadow .16s;display:grid}.import-dropzone.drag-active{background:#e0f0ff;box-shadow:inset 0 0 0 2px #0057ff3d}.import-dropzone h3{margin:0;font-size:24px;font-weight:700;line-height:1.2}.import-dropzone h3 button{color:inherit;font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.import-source-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:28px;display:flex}.import-source{color:#172033;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;min-width:154px;min-height:58px;padding:10px 14px;display:inline-flex}.import-source:hover{background:#ffffff8a;border-color:#75a7ff}.import-source small,.upload-card small{color:#667085;font-size:12px;font-weight:500;display:block}.device-source{color:#fff;background:#0068b7;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.drive-logo{width:42px;height:38px;display:inline-block;position:relative}.drive-logo i,.drive-logo b,.drive-logo em{transform-origin:50%;display:block;position:absolute}.drive-logo i{background:#188038;width:18px;height:32px;top:2px;left:13px;transform:skew(-28deg)}.drive-logo b{background:#fbbc04;width:18px;height:32px;top:2px;left:3px;transform:skew(28deg)}.drive-logo em{background:#4285f4;width:32px;height:14px;bottom:4px;left:5px;transform:skew(-28deg)}.drive-logo.big{margin-bottom:18px;transform:scale(1.35)}.import-subbar{border:1px solid var(--line);color:#172033;border-left:0;border-right:0;grid-template-columns:1fr auto 1fr;align-items:center;min-height:46px;padding:0 16px;font-size:13px;display:grid}.import-subbar button{color:#397bff;background:0 0;border:0;width:max-content;font-size:12px}.import-subbar button:last-child{justify-self:end}.drive-connect{border:1px solid var(--line);border-radius:8px;margin:22px;overflow:hidden}.drive-center{text-align:center;align-content:center;place-items:center;gap:18px;min-height:380px;padding:40px;display:grid}.drive-center h3{max-width:340px;margin:0;font-size:18px;font-weight:600;line-height:1.45}.drive-connect>p{color:#667085;text-align:center;margin:0;padding:10px 28px 18px;font-size:10px;line-height:1.45}.import-queue{border:1px solid var(--line);border-radius:8px;margin:22px;overflow:hidden}.upload-items{flex-wrap:wrap;align-items:flex-start;gap:18px;min-height:340px;padding:22px 24px;display:flex}.upload-card{gap:6px;width:160px;display:grid}.upload-card strong{text-overflow:ellipsis;white-space:nowrap;color:#1f2937;font-size:13px;overflow:hidden}.upload-error{color:var(--danger)!important}.upload-preview{background:#0f172a;border-radius:7px;width:160px;height:96px;position:relative;overflow:hidden}.upload-preview video{object-fit:cover;opacity:.72;width:100%;height:100%}.upload-preview span{color:#0062ff;background:#ffffff1f;border:3px solid #0062ff;border-radius:50%;place-items:center;width:44px;height:44px;margin:auto;font-weight:900;display:grid;position:absolute;inset:0}.upload-preview button{color:#fff;background:#667085;border:0;border-radius:50%;place-items:center;width:20px;height:20px;line-height:1;display:grid;position:absolute;top:-3px;right:-3px}.import-queue footer{border-top:1px solid var(--line);color:#172033;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-height:44px;padding:0 14px;font-size:13px;display:grid}.upload-progress-track{background:#eef2f6;border-radius:999px;height:4px;overflow:hidden}.upload-progress-track i{background:var(--blue);width:0%;height:100%;transition:width .18s;display:block}.queue-actions{gap:8px;display:inline-flex}.queue-actions button{color:#fff;background:#667085;border:0;border-radius:50%;place-items:center;width:24px;height:24px;line-height:1;display:grid}.upload-minibar{border:1px solid var(--line);color:#344054;z-index:75;background:#fff;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;min-width:172px;min-height:38px;padding:0 12px;display:flex;position:fixed;bottom:16px;right:86px;box-shadow:0 12px 34px #10182829}.embed-modal-body{padding:20px 22px;overflow-y:auto}.embed-modal-body>p{color:#475467;margin-bottom:18px;font-size:14px}.embed-row{justify-content:space-between;align-items:center;gap:18px;margin:16px 0;display:flex}.embed-row strong,.embed-row span{display:block}.embed-row strong{margin-bottom:4px;font-size:14px}.embed-row span{color:#667085;font-size:13px}.toggle{flex:none;width:42px;height:24px;display:inline-block;position:relative}.toggle input{opacity:0;width:0;height:0}.toggle i{background:#d0d5dd;border-radius:999px;position:absolute;inset:0}.toggle i:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #10182833}.toggle input:checked+i{background:var(--blue)}.toggle input:checked+i:before{transform:translate(18px)}.embed-tabs{border:1px solid var(--line);border-radius:6px;grid-template-columns:1fr 1fr;width:245px;margin-left:auto;display:grid;overflow:hidden}.embed-tabs button{color:#475467;background:#fff;border:0;min-height:34px;font-size:13px}.embed-tabs button.active{color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue);background:#eef5ff}.code-label{justify-content:space-between;align-items:center;gap:12px;margin:12px 0 8px;display:flex}.code-label strong{font-size:13px}.code-label button{border:1px solid var(--line);color:#667085;background:#fff;border-radius:6px;place-items:center;width:32px;height:32px;display:grid}.code-area{border:1px solid var(--line);resize:vertical;color:#1f2937;background:#fff;border-radius:8px;width:100%;min-height:96px;padding:12px;font-family:Cascadia Code,Consolas,monospace;font-size:12px;line-height:1.45}.code-area.small{min-height:124px}.info-box{color:#184f89;background:#eef7ff;border:1px solid #9ed0ff;border-radius:8px;align-items:flex-start;gap:10px;padding:12px;font-size:13px;line-height:1.45;display:flex}.info-box code{color:var(--blue)}.toast{z-index:60;color:#fff;background:#101828;border-radius:8px;padding:12px 16px;font-size:14px;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 32px #10182833}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.shell.theme-dark .logo-button{color:#fff}.shell.theme-dark .top-header,.shell.theme-dark .side,.shell.theme-dark .side-nav,.shell.theme-dark .table-card,.shell.theme-dark .large-card,.shell.theme-dark .analytics-card,.shell.theme-dark .live-card,.shell.theme-dark .preview-card,.shell.theme-dark .editor-side,.shell.theme-dark .analytics-side,.shell.theme-dark .user-menu,.shell.theme-dark .action-menu,.shell.theme-dark .transcript-panel,.shell.theme-dark .settings-grid>div,.shell.theme-dark .lesson,.shell.theme-dark .academy-track{color:#f8fafc;background:#111827;border-color:#273244}.shell.theme-dark .side-nav button,.shell.theme-dark .editor-side button,.shell.theme-dark .analytics-side button,.shell.theme-dark .user-menu button,.shell.theme-dark .menu-fold>button,.shell.theme-dark .fold-body button,.shell.theme-dark .tabs button,.shell.theme-dark .settings-tabs button,.shell.theme-dark .analytics-tabs button,.shell.theme-dark .name-cell,.shell.theme-dark .actions button{color:#d6e0ee}.shell.theme-dark .side-nav button.active,.shell.theme-dark .side-nav button:hover,.shell.theme-dark .editor-side button.active,.shell.theme-dark .editor-side button:hover,.shell.theme-dark .analytics-side button.active,.shell.theme-dark .analytics-side button:hover,.shell.theme-dark .user-menu button:hover,.shell.theme-dark .user-menu button.selected,.shell.theme-dark .fold-body button:hover,.shell.theme-dark .actions button:hover{color:#fff;background:#17294a}.shell.theme-dark .tabs button.active,.shell.theme-dark .settings-tabs button.active,.shell.theme-dark .analytics-tabs button.active{color:#73a5ff;border-bottom-color:#73a5ff}.shell.theme-dark .library-head{color:#b8c4d6}.shell.theme-dark .library-row,.shell.theme-dark .folder-strip,.shell.theme-dark .control-stack,.shell.theme-dark .user-row,.shell.theme-dark .transcript-head{border-color:#273244}.shell.theme-dark .library-row.selected,.shell.theme-dark .library-row.dragging{background:#0f1b2e}.shell.theme-dark .light-button,.shell.theme-dark .outline,.shell.theme-dark .view-toggle,.shell.theme-dark .icon-button.ghost,.shell.theme-dark .code-label button,.shell.theme-dark .folder-strip button{color:#e5edf8;background:#0f172a;border-color:#273244}.shell.theme-dark .folder-strip button.active,.shell.theme-dark .folder-strip button.drop-target,.shell.theme-dark .view-toggle.active{color:#fff;background:#17294a;border-color:#73a5ff}.shell.theme-dark input,.shell.theme-dark select,.shell.theme-dark textarea,.shell.theme-dark .search,.shell.theme-dark .code-area{color:#f8fafc;background:#0b1020;border-color:#273244}.shell.theme-dark .trial-banner{color:#fff0c2;background:#2b230b;border-color:#8a6714}.shell.theme-dark .trial-banner.neutral{color:#d6e0ee;background:#0f172a;border-color:#273244}.shell.theme-dark .transcript-body{color:#d6e0ee}@media (width<=1100px){.body,.editor-page,.analytics-page{grid-template-columns:1fr}.side,.editor-side,.analytics-side{min-height:0;position:static}.side-nav{min-height:0}.content{padding:22px}.library-head,.library-row{min-width:760px}.details-with-transcript{grid-template-columns:1fr}.transcript-panel{min-height:320px}}@media (width<=760px){.top-header{flex-wrap:wrap;gap:12px;height:auto;min-height:72px;padding:12px}.award{display:none}.page-head,.editor-top,.analytics-top,.billing-top{flex-direction:column;align-items:flex-start}.toolbar.compact,.toolbar,.search{width:100%}.metric-grid,.settings-grid,.form-grid,.live-body,.academy-track,.lesson{grid-template-columns:1fr}}
