:root{--bg: #f7f8fa;--surface: #ffffff;--surface-2: #f3f4f6;--border: #e5e7eb;--border-strong: #d1d5db;--text: #0f172a;--text-muted: #64748b;--text-dim: #94a3b8;--primary: #1e40af;--primary-hover: #1e3a8a;--primary-soft: #eff6ff;--accent: #3b82f6;--accent-soft: #eff6ff;--brand-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);--danger: #ef4444;--danger-soft: #fef2f2;--success: #22c55e;--warning: #f59e0b;--sidebar-bg: #111827;--sidebar-fg: #94a3b8;--sidebar-fg-active: #ffffff;--sidebar-hover: rgba(255,255,255,.06);--sidebar-active: rgba(59,130,246,.18);--radius: 12px;--radius-sm: 8px;--radius-xs: 6px;--shadow-xs: 0 1px 2px rgba(15,23,42,.04);--shadow-sm: 0 2px 4px rgba(15,23,42,.05);--shadow: 0 4px 16px rgba(15,23,42,.06);--shadow-lg: 0 16px 48px rgba(15,23,42,.12)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body:has(.ep-grid){overflow:hidden;height:100vh}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,system-ui,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;font-feature-settings:"cv02","cv03","cv04","cv11"}h1,h2,h3,h4{margin:0 0 12px;font-weight:600;letter-spacing:-.015em;color:var(--text)}h1{font-size:26px}h2{font-size:20px}h3{font-size:16px}h4{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}p{margin:0 0 12px}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}input[type=text],input[type=email],input[type=password],input:not([type]),select,textarea{width:100%;padding:10px 14px;font-size:14px;font-family:inherit;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f626}input::placeholder{color:var(--text-dim)}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:500;font-family:inherit;background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:var(--radius-sm);cursor:pointer;transition:all .15s;white-space:nowrap}button:hover{background:var(--primary-hover);border-color:var(--primary-hover);box-shadow:0 4px 14px #1e40af47}button:active{transform:translateY(1px);box-shadow:none}button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.btn-secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.btn-secondary:hover{background:var(--surface-2);border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.btn-ghost{background:transparent;color:var(--text-muted);border-color:transparent}.btn-ghost:hover{background:var(--surface-2);color:var(--text);border-color:transparent;box-shadow:none}.btn-sm{padding:7px 13px;font-size:13px}.btn-lg{padding:13px 22px;font-size:15px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.auth-aside{background:var(--brand-gradient);position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:48px;color:#fff;overflow:hidden}.auth-aside:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.15),transparent 50%);pointer-events:none}.auth-aside .brand{display:flex;align-items:center;gap:18px;position:relative}.auth-aside .brand>div{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1.1;background:linear-gradient(135deg,#fff,#dbeafe 45%,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 4px 28px rgba(45,212,191,.45);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.auth-aside .brand-mark{width:36px;height:36px;border-radius:10px;background:#fff3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;border:1px solid rgba(255,255,255,.3)}.brand-logo-auth{height:64px;width:auto;object-fit:contain;filter:drop-shadow(0 4px 14px rgba(0,0,0,.3))}.auth-aside .pitch{position:relative;max-width:420px}.auth-aside .pitch h1{color:#fff;font-size:36px;line-height:1.15;margin-bottom:16px;font-weight:700;letter-spacing:-.02em}.auth-aside .pitch p{color:#fffc;font-size:15px;line-height:1.6}.auth-aside .features{position:relative;display:flex;flex-direction:column;gap:14px}.auth-aside .feature{display:flex;align-items:center;gap:12px;font-size:14px;color:#ffffffeb}.auth-aside .feature-dot{width:24px;height:24px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:13px}.auth-main{display:flex;align-items:center;justify-content:center;padding:48px 24px}.auth-card{width:100%;max-width:380px}.auth-card h2{font-size:26px;margin-bottom:6px}.auth-card .sub{color:var(--text-muted);margin-bottom:28px;font-size:14px}.field{margin-bottom:18px}.field label{display:block;margin-bottom:6px;font-size:13px;font-weight:500;color:var(--text)}.auth-card button[type=submit]{width:100%;padding:12px;font-size:14px;margin-top:4px}.auth-foot{text-align:center;margin-top:24px;font-size:14px;color:var(--text-muted)}@media (max-width: 900px){.auth-shell{grid-template-columns:1fr}.auth-aside{display:none}}.alert{padding:11px 14px;border-radius:var(--radius-sm);font-size:13px;margin-bottom:16px;border:1px solid;display:flex;align-items:flex-start;gap:8px}.alert-error{background:var(--danger-soft);color:#b91c1c;border-color:#fecaca}.alert-success{background:#f0fdf4;color:#065f46;border-color:#a7f3d0}.app{display:flex;min-height:100vh}.sidebar{width:240px;flex-shrink:0;background:var(--sidebar-bg);color:var(--sidebar-fg);padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:6px 4px 18px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:18px}.sidebar .brand-logo{height:auto;width:100%;max-width:200px;object-fit:contain;filter:drop-shadow(0 0 14px rgba(59,130,246,.5))}.sidebar .brand-text{color:#fff;font-weight:800;font-size:15px;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.5);white-space:normal;word-break:keep-all}.sidebar .brand-text span{display:block;margin-top:2px}.sidebar .brand-text span{background:var(--brand-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700;font-size:13px;display:inline-block}.sidebar .brand-text{color:#fff;font-weight:700;font-size:15px;line-height:1.15}.sidebar .brand-text span{background:var(--brand-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700;font-size:13px}.sidebar nav{display:flex;flex-direction:column;gap:2px;flex:1}.sidebar nav a,.sidebar nav .nav-section{display:flex;align-items:center;gap:12px;padding:9px 12px;font-size:14px;color:var(--sidebar-fg);border-radius:var(--radius-xs);transition:background .12s,color .12s;text-decoration:none}.sidebar nav a:hover{background:var(--sidebar-hover);color:var(--sidebar-fg-active);text-decoration:none}.sidebar nav a.active{background:var(--sidebar-active);color:var(--sidebar-fg-active);font-weight:500}.sidebar nav a .ico{width:18px;height:18px;flex-shrink:0;opacity:.85}.sidebar .section-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);padding:14px 12px 6px;font-weight:600}.sidebar .user-card{margin-top:auto;padding:12px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06);border-radius:var(--radius-sm);display:flex;align-items:center;gap:10px}.sidebar .avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#1e40af,#3b82f6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;flex-shrink:0}.sidebar .user-info{flex:1;min-width:0}.sidebar .user-info .name{color:#fff;font-weight:500;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar .user-info .role-chip{font-size:10px;text-transform:uppercase;color:var(--text-dim);letter-spacing:.06em}.sidebar .signout-btn{background:transparent;border:none;color:var(--text-dim);padding:6px;cursor:pointer;font-size:16px;border-radius:4px}.sidebar .signout-btn:hover{color:#fff;background:#ffffff14;box-shadow:none}.main{flex:1;min-width:0;display:flex;flex-direction:column}.main-header{background:var(--surface);border-bottom:1px solid var(--border);padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}.main-header:before{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--brand-gradient);opacity:.85}.main-header .title{display:flex;flex-direction:column;gap:2px}.main-header h1{margin:0;font-size:22px;background:var(--brand-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.main-header .subtitle{font-size:13px;color:var(--text-muted)}.main-content{padding:28px 32px;flex:1;max-width:1280px;width:100%}.toolbar-row{display:flex;gap:10px;margin-bottom:24px;align-items:center}.toolbar-row .grow{flex:1}.search-input{position:relative}.search-input input{padding-left:38px}.search-input:before{content:"🔍";position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:13px;opacity:.5}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-xs);transition:all .18s;display:flex;flex-direction:column;text-decoration:none;color:inherit}.project-card:hover{border-color:var(--primary);box-shadow:var(--shadow);transform:translateY(-2px);text-decoration:none}.project-thumb{height:110px;background:linear-gradient(135deg,#1e40af,#3b82f6,#60a5fa);position:relative;display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;font-weight:700}.project-thumb:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.18),transparent 60%)}.project-card:nth-child(4n+1) .project-thumb{background:linear-gradient(135deg,#1e40af,#3b82f6)}.project-card:nth-child(4n+2) .project-thumb{background:linear-gradient(135deg,#1e3a8a,#2563eb)}.project-card:nth-child(4n+3) .project-thumb{background:linear-gradient(135deg,#1a2332,#1e40af)}.project-card:nth-child(4n+4) .project-thumb{background:linear-gradient(135deg,#2563eb,#60a5fa)}.project-body{padding:16px}.project-body h3{margin:0 0 6px;font-size:15px;font-weight:600}.project-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted)}.lang-pair{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:var(--primary-soft);color:var(--primary);border-radius:4px;font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.tag{display:inline-block;padding:3px 8px;background:var(--primary-soft);color:var(--primary);border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.tag-success{background:#d1fae5;color:#065f46}.tag-warning{background:#fef3c7;color:#92400e}.empty{text-align:center;padding:80px 20px;color:var(--text-muted);background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius)}.empty .empty-icon{font-size:36px;margin-bottom:12px;opacity:.4}.empty h3{color:var(--text);margin-bottom:4px}.muted{color:var(--text-muted);font-size:13px}.editor-layout{display:grid;grid-template-columns:1fr;gap:20px}.upload-bar{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;align-items:end}.upload-cell{display:flex;flex-direction:column;gap:6px}.upload-cell label{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.upload-row{display:flex;gap:8px}.upload-row input[type=file]{flex:1;padding:9px 12px;font-size:13px;background:var(--bg);border:1px dashed var(--border-strong);border-radius:var(--radius-sm);cursor:pointer}.action-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px}.action-bar .status{color:var(--text-muted);font-size:13px;margin-left:auto;display:flex;align-items:center;gap:8px}.action-bar .status:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--primary);animation:pulse 1.4s infinite}.action-bar .status:empty{display:none}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.9)}}.seg-table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-xs)}.seg-table{width:100%;border-collapse:collapse;font-size:13px}.seg-table th{text-align:left;background:var(--surface-2);padding:11px 14px;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);border-bottom:1px solid var(--border)}.seg-table td{padding:12px 14px;border-bottom:1px solid var(--border);vertical-align:top}.seg-table tr:last-child td{border-bottom:0}.seg-table tr:hover td{background:#fafbfc}.seg-table textarea{min-height:44px;resize:vertical;font-size:13px;padding:8px 10px;line-height:1.5}.seg-table .col-num{width:48px;color:var(--text-muted);font-variant-numeric:tabular-nums}.seg-table .col-time{width:92px;font-variant-numeric:tabular-nums;color:var(--text-muted);font-size:12px;font-family:SF Mono,Monaco,Consolas,monospace}.seg-table .col-cps{width:56px;font-variant-numeric:tabular-nums;font-size:12px;font-weight:500}.cps-fast{color:var(--danger);font-weight:600}.needs-review td{background:#fffbeb}.active-row td{background:#eef2ff!important;box-shadow:inset 3px 0 0 var(--primary)}.btn-warning{background:var(--warning)!important;border-color:var(--warning)!important}.btn-warning:hover{background:#d97706!important;border-color:#d97706!important;box-shadow:0 4px 12px #f59e0b59!important}.progress-track{display:inline-block;width:140px;height:6px;background:var(--surface-2);border-radius:999px;overflow:hidden;margin-left:4px;vertical-align:middle}.progress-fill{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--accent));transition:width .25s ease}.action-bar .status:before{display:none}.needs-review textarea{border-color:var(--warning)!important;background:#fef3c7!important}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:22px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow-xs)}.stat-label{font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:500;margin-bottom:6px}.stat-value{font-size:26px;font-weight:700;color:var(--text);letter-spacing:-.02em}.ep-toolbar{display:flex;align-items:center;column-gap:16px;row-gap:6px;padding:10px 22px;background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;position:relative}.ep-toolbar>*{flex-shrink:0}.ep-toolbar .ep-busy{position:absolute;top:10px;right:18px;z-index:5;pointer-events:none}.ep-toolbar .ep-err{position:absolute;top:44px;right:18px;z-index:5}.ep-tb-break{flex-basis:100%;height:0;margin:0;padding:0;border:none}.ep-tb-group:first-of-type{border-right:none;padding-right:0;margin-right:0}.ep-toolbar .btn-link,.ep-toolbar .btn-file,.ep-toolbar select,.ep-toolbar button{background:var(--surface-2);color:var(--text);border:1px solid var(--border);padding:8px 14px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .12s,border-color .12s,color .12s;height:36px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.ep-toolbar .btn-link:hover,.ep-toolbar .btn-file:hover,.ep-toolbar select:hover,.ep-toolbar button:hover{border-color:var(--primary);background:var(--surface)}.ep-toolbar button:disabled{opacity:.4;cursor:not-allowed}.ep-toolbar select{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:28px}.ep-toolbar .ep-search{background:var(--surface-2);color:var(--text);border:1px solid var(--border);padding:8px 14px;border-radius:8px;font-size:14px;min-width:180px;flex:0 1 220px}.ep-tb-group{display:flex;align-items:center;gap:12px;padding-right:18px;border-right:1px solid var(--border);margin-right:10px;flex-shrink:0}.ep-tb-group:last-of-type{border-right:none;margin-right:0;padding-right:0}.ep-tb-label{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-weight:600;margin-right:2px}.ep-toolbar button.primary{background:var(--primary);border-color:var(--primary);color:#fff}.ep-toolbar button.primary:hover{filter:brightness(1.1)}.ep-toolbar button.danger{background:#dc2626;border-color:#b91c1c;color:#fff;font-weight:700}.ep-toolbar button.danger:hover{background:#ef4444;border-color:#ef4444;color:#fff}.ep-toolbar button.danger:disabled{background:#991b1b;border-color:#b91c1c;color:#fff;opacity:.75;cursor:not-allowed}.ep-spacer{flex:1 1 auto;min-width:0}.ep-busy{color:var(--accent);font-size:13px;font-weight:600;white-space:nowrap;padding:4px 10px;background:#3b82f61a;border:1px solid rgba(59,130,246,.35);border-radius:6px}.ep-err{color:var(--danger);font-size:13px;font-weight:600;white-space:nowrap;padding:4px 10px;background:#ef44441a;border:1px solid rgba(239,68,68,.35);border-radius:6px;max-width:320px;overflow:hidden;text-overflow:ellipsis}.ep-grid{display:grid;grid-template-columns:minmax(280px,26vw) 1fr;grid-template-rows:1fr minmax(140px,auto) minmax(110px,auto);grid-template-areas:"video table" "edit  edit" "wave  wave";gap:6px;padding:6px;flex:1 1 0;min-height:0;overflow:hidden;background:var(--bg)}.main:has(.ep-grid) .main-header{display:none}.main:has(.ep-grid) .main-content{padding:0;max-width:none;display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden}.main:has(.ep-toolbar) .ep-toolbar{border-radius:0}.ep-pane{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}.ep-video-pane{grid-area:video}.ep-table-pane{grid-area:table;min-height:0;overflow:hidden}.ep-edit-pane{grid-area:edit;min-height:180px}.ep-wave-pane{grid-area:wave;min-height:130px}.ep-grid.no-video{grid-template-columns:1fr;grid-template-rows:1fr minmax(140px,auto);grid-template-areas:"table" "edit";overflow:hidden}.ep-grid.no-video .ep-video-pane,.ep-grid.no-video .ep-wave-pane{display:none}.ep-video{width:100%;height:100%;object-fit:contain;background:#000;flex:1}.ep-video-wrap{position:relative;flex:1;min-height:0;display:flex;container-type:size}.ep-video-wrap>.ep-video{width:100%;height:100%}.ep-mask-preview{position:absolute;left:0;width:100%;pointer-events:none;z-index:4}.ep-burn-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;flex-direction:column;pointer-events:none;padding:4% 6%;z-index:5}.ep-burn-overlay .ep-burn-text{display:inline-block;font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif;font-weight:600;line-height:1.25;text-align:center;white-space:pre-line;border-radius:2px;max-width:90%}.ep-video-info{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:6px 10px;background:var(--surface-2);font-size:13px;color:var(--text-muted)}.ep-video-info button{background:var(--primary);color:#fff;border:none;padding:4px 12px;border-radius:6px;cursor:pointer}.ep-video-info button.danger{background:#ef444459;border:1px solid #ef4444;color:#fff;font-weight:700}.ep-video-info button.danger:hover:not(:disabled){background:#ef4444}.ep-video-info button.danger:disabled{opacity:.45;cursor:not-allowed}.ep-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-size:14px;padding:20px;text-align:center}.ep-c-del{width:28px;display:flex;align-items:center;justify-content:center}.ep-c-del button{background:#ef444459;border:1px solid #ef4444;color:#fff;width:24px;height:24px;border-radius:5px;cursor:pointer;font-size:16px;font-weight:700;line-height:1;padding:0;transition:background .12s,color .12s,border-color .12s}.ep-c-del button:hover{background:var(--danger);border-color:var(--danger);color:#fff}.ep-table-search{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid var(--border);background:var(--surface)}.ep-table-search .ep-search{flex:1;background:var(--surface-2);color:var(--text);border:1px solid var(--border);padding:8px 12px;border-radius:8px;font-size:13px}.ep-table-search .ep-search:focus{outline:none;border-color:var(--primary)}.ep-table-search .ep-search-count{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.ep-table-search .ep-search,.ep-table-search .ep-replace-input{flex:2}.ep-table-search .ep-replace-field{flex:0 0 auto;width:auto;background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 6px;font-size:12px}.ep-table-search .ep-replace-case{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text-muted);white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer}.ep-table-search .ep-replace-case input{margin:0}.ep-table-search button.primary{background:var(--primary);color:#fff;border:none;padding:8px 14px;border-radius:8px;cursor:pointer;font-size:13px;white-space:nowrap}.ep-table-search button.primary:disabled{opacity:.5;cursor:not-allowed}.ep-table-head,.ep-row{display:grid;grid-template-columns:50px 100px 100px 60px 50px 72px 1fr 1fr 28px;gap:4px;padding:6px 10px;font-size:12px;align-items:center}.ep-table-head{background:var(--surface-2);color:var(--text-muted);font-weight:600;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1;padding-right:calc(10px + var(--sb-w, 15px))}.ep-table-body{overflow-y:scroll;flex:1;font-family:inherit}.ep-row{border-bottom:1px solid var(--border);cursor:pointer}.ep-row:hover{background:var(--surface-2)}.ep-row.sel{background:#6366f12e}.ep-row.rev{background:#f59e0b1a}.ep-row.sel.rev{background:#f59e0b33}.ep-row.issue{background:#ef444414;border-left:3px solid #ef4444}.ep-row.issue.sel{background:#ef444426}.ep-c-num{color:var(--text-muted);font-variant-numeric:tabular-nums}.ep-c-tc{font-family:ui-monospace,monospace;font-size:11px;color:var(--text-muted)}.ep-c-dur{color:var(--text-muted);font-size:11px}.ep-c-cps{font-size:11px;color:var(--text-muted);text-align:center}.ep-c-cps.warn{color:var(--danger);font-weight:600}.ep-c-spk{font-size:11px;color:var(--accent);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-c-spk:empty:after{content:"—";color:var(--text-dim)}.ep-c-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-edit-pane{padding:10px;gap:10px}.ep-edit-times{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ep-edit-times label,.ep-edit-texts label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.ep-time-row{display:flex;gap:4px}.ep-time-row input{flex:1;min-width:80px;padding:6px;background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:6px;font-family:ui-monospace,monospace;font-size:13px}.ep-time-row button{padding:6px 10px;background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:6px;cursor:pointer}.ep-time-row button:hover{border-color:var(--primary)}.ep-time-readonly{padding:6px;background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:6px;font-family:ui-monospace,monospace;font-size:13px}.ep-edit-texts{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:1;min-height:0;align-items:stretch}.ep-edit-col{display:flex;flex-direction:column;min-height:0}.ep-edit-col-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--text-muted);font-weight:600;margin-bottom:4px;min-height:24px}.ep-edit-col textarea{background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:8px;font-size:14px;resize:none;font-family:inherit;flex:1;min-height:0}.ep-edit-col textarea[readonly]{opacity:.7}.ep-mini-translate{background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:5px;padding:2px 10px;font-size:11px;font-weight:600;cursor:pointer;line-height:1.4}.ep-mini-translate:hover{filter:brightness(1.12)}.ep-wave-pane{background:linear-gradient(160deg,#1e1b3a,#1a2440,#2a1a3a);border:1px solid rgba(168,85,247,.35);position:relative;overflow:hidden}.ep-wave-pane:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0px,rgba(255,255,255,.05) 1px,transparent 1px,transparent 60px);pointer-events:none}.ep-wave{width:100%;flex:1;min-height:0;position:relative;z-index:1;filter:drop-shadow(0 0 6px rgba(168,85,247,.5));overflow:hidden}.ep-wave ::-webkit-scrollbar{display:none}.ep-wave>div{scrollbar-width:none;overflow:hidden!important}.ep-wave-legend{position:relative;z-index:2;display:flex;gap:18px;flex-wrap:wrap;padding:6px 12px 8px;font-size:11px;color:#ffffffbf;border-top:1px solid rgba(255,255,255,.08)}.ep-wave-legend span{display:inline-flex;align-items:center;gap:6px}.ep-wave-legend .dot{width:12px;height:12px;border-radius:3px;display:inline-block}.ep-wave-legend .dot-gray{background:#94a3b88c;border:1px solid rgba(148,163,184,.9)}.ep-wave-legend .dot-green{background:#3b82f68c;border:1px solid rgba(59,130,246,.9)}.ep-wave-legend .dot-orange{background:#f59e0b8c;border:1px solid rgba(245,158,11,.9)}.ep-wave-legend .dot-purple{background:#a855f7b3;border:1px solid rgba(168,85,247,1)}.ep-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:1000}.ep-modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px 24px;min-width:460px;max-width:90vw;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000080}.ep-modal h3{margin:0 0 16px;font-size:16px}.ep-modal-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}.ep-modal-row>label:first-child{width:130px;font-size:13px;color:var(--text-muted);flex-shrink:0}.ep-modal-row button{background:var(--surface-2);border:1px solid var(--border);color:var(--text);padding:6px 12px;border-radius:6px;cursor:pointer;font-size:13px}.ep-modal-row button.active{background:var(--primary);border-color:var(--primary);color:#fff}.ep-modal-row input[type=color]{width:40px;height:30px;padding:0;border:1px solid var(--border);border-radius:4px;cursor:pointer;background:transparent}.ep-modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);position:sticky;bottom:-20px;background:var(--surface);margin:18px -24px -20px;padding:14px 24px 20px;z-index:2}.ep-modal-actions button{padding:8px 16px;border-radius:6px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;font-size:13px}.ep-modal-actions button.primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.ep-modal-actions button.primary:hover{filter:brightness(1.1)}:root{--glow-blue: 0 0 32px rgba(59,130,246,.45);--glow-green: 0 0 32px rgba(59,130,246,.45);--glow-violet: 0 0 32px rgba(30,64,175,.5);--mesh-1: radial-gradient(at 12% 18%, #134e4a 0px, transparent 50%), radial-gradient(at 88% 12%, #1e40af 0px, transparent 45%), radial-gradient(at 72% 78%, #3b82f6 0px, transparent 50%), radial-gradient(at 18% 88%, #1e3a8a 0px, transparent 50%)}@keyframes float-orb{0%,to{transform:translate(0) scale(1)}50%{transform:translate(40px,-30px) scale(1.08)}}@keyframes drift{0%,to{background-position:0% 0%,100% 0%,100% 100%,0% 100%}50%{background-position:20% 10%,80% 20%,80% 90%,20% 80%}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes pulse-glow{0%,to{box-shadow:0 0 #3b82f673}50%{box-shadow:0 0 0 12px #3b82f600}}@keyframes gradient-x{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}body{background:#f7f8fa;background-image:radial-gradient(at 8% 0%,rgba(59,130,246,.08) 0px,transparent 45%),radial-gradient(at 92% 8%,rgba(30,64,175,.06) 0px,transparent 40%),radial-gradient(at 50% 100%,rgba(59,130,246,.05) 0px,transparent 50%);background-attachment:fixed}.auth-aside{background:#1a2332;background-image:var(--mesh-1);background-size:200% 200%;animation:drift 18s ease-in-out infinite}.auth-aside:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;top:-120px;right:-120px;background:radial-gradient(circle,rgba(59,130,246,.35),transparent 60%);filter:blur(20px);animation:float-orb 12s ease-in-out infinite;pointer-events:none}.auth-aside:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;bottom:-100px;left:-80px;background:radial-gradient(circle,rgba(30,64,175,.4),transparent 60%);filter:blur(24px);animation:float-orb 14s ease-in-out infinite reverse;pointer-events:none}.auth-aside .pitch h1{font-size:42px;background:linear-gradient(135deg,#fff,#dbeafe,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}.brand-logo-auth{height:64px;filter:drop-shadow(0 6px 22px rgba(59,130,246,.45)) drop-shadow(0 0 10px rgba(30,64,175,.35))}.auth-card{position:relative;padding:36px 32px;background:#ffffffd9;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border:1px solid rgba(255,255,255,.6);border-radius:20px;box-shadow:0 20px 60px -20px #1e40af40,0 1px #ffffffe6 inset}.auth-card:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:21px;padding:1px;background:linear-gradient(135deg,rgba(59,130,246,.6),rgba(59,130,246,.6),transparent);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.auth-card h2{background:var(--brand-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:28px}button:not(.btn-secondary):not(.btn-ghost):not(.signout-btn):not(.btn-link):not(.btn-file){background:linear-gradient(135deg,#1e40af,#3b82f6,#3b82f6);background-size:200% 200%;border:none;position:relative;overflow:hidden;box-shadow:0 6px 20px -6px #1e40af8c;animation:gradient-x 8s ease infinite}button:not(.btn-secondary):not(.btn-ghost):not(.signout-btn):not(.btn-link):not(.btn-file):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);background-size:200% 100%;animation:shimmer 3.5s linear infinite;pointer-events:none}button:not(.btn-secondary):not(.btn-ghost):not(.signout-btn):not(.btn-link):not(.btn-file):hover{transform:translateY(-1px);box-shadow:0 12px 28px -8px #1e40af99,0 0 0 4px #3b82f62e}.sidebar{background:radial-gradient(circle at 50% 0%,rgba(59,130,246,.1),transparent 60%),linear-gradient(180deg,#0f172a,#0b1120);border-right:1px solid rgba(255,255,255,.06);box-shadow:4px 0 32px -12px #0006}.sidebar .brand-logo{filter:drop-shadow(0 6px 20px rgba(59,130,246,.4)) drop-shadow(0 0 10px rgba(59,130,246,.4))}.sidebar nav a{position:relative}.sidebar nav a.active{background:linear-gradient(90deg,#3b82f62e,#3b82f61f);box-shadow:inset 3px 0 #3b82f6}.sidebar nav a:hover{transform:translate(2px)}.sidebar .avatar{background:linear-gradient(135deg,#3b82f6,#3b82f6);box-shadow:0 0 0 2px #ffffff14,0 8px 20px -6px #3b82f680}.main-header{background:#ffffffb3;backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border-bottom:1px solid rgba(255,255,255,.6)}.main-header h1{font-size:24px;background:linear-gradient(135deg,#1e40af,#3b82f6 40%,#3b82f6);background-size:200% 200%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:gradient-x 6s ease infinite}.project-card{background:#ffffffd9;backdrop-filter:blur(14px) saturate(160%);-webkit-backdrop-filter:blur(14px) saturate(160%);border:1px solid rgba(255,255,255,.7);border-radius:16px;box-shadow:0 4px 24px -8px #0f172a1f;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .25s}.project-card:hover{transform:translateY(-6px) scale(1.01);border-color:#3b82f680;box-shadow:0 24px 48px -16px #1e40af59,0 0 0 1px #3b82f640}.project-thumb{height:130px;position:relative;overflow:hidden}.project-thumb:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(circle at 20% 30%,rgba(255,255,255,.4),transparent 40%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.2),transparent 50%);mix-blend-mode:overlay}.project-thumb:after{background:repeating-linear-gradient(45deg,rgba(255,255,255,.06) 0 12px,transparent 12px 24px)}.lang-pair{background:linear-gradient(135deg,#3b82f626,#3b82f626);color:#1e40af;border:1px solid rgba(59,130,246,.25)}input:focus,select:focus,textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f626,0 0 24px -4px #3b82f659}.tag-success,.badge-live{position:relative;animation:pulse-glow 2.4s ease-in-out infinite}.settings-page{max-width:1280px;display:grid;grid-template-columns:repeat(auto-fit,minmax(440px,1fr));gap:20px;padding:8px 4px;align-items:start}.settings-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:22px 26px;display:flex;flex-direction:column;height:100%}.settings-card .settings-actions{margin-top:auto}.settings-card h3{margin:0 0 6px;font-size:16px}.settings-card .muted{font-size:13px;color:var(--text-muted);margin:0 0 18px;line-height:1.5}.settings-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}.settings-row>span{width:160px;font-size:13px;color:var(--text-muted);flex-shrink:0}.settings-row select,.settings-row input{flex:1;background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:9px 12px;font-size:14px}.settings-row select:focus,.settings-row input:focus{outline:none;border-color:var(--primary)}.settings-key-block{border-top:1px solid var(--border);padding-top:14px;margin-top:14px}.settings-key-block:first-of-type{border-top:none;padding-top:0;margin-top:0}.settings-key-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.settings-key-head a{font-size:12px;color:var(--primary);text-decoration:none}.settings-key-head a:hover{text-decoration:underline}.settings-key-input{flex:1;display:flex;gap:6px}.settings-key-input input{flex:1;font-family:ui-monospace,monospace}.settings-key-input button{background:var(--surface-2);border:1px solid var(--border);color:var(--text);padding:0 12px;border-radius:8px;cursor:pointer;font-size:14px}.settings-key-input button.danger{color:#fecaca;background:#ef444433;border-color:#ef44448c}.settings-key-input button.danger:hover{background:var(--danger);color:#fff}.settings-actions{display:flex;align-items:center;gap:14px;padding:4px 4px 24px}.settings-actions button.primary{background:var(--primary);color:#fff;border:1px solid var(--primary);padding:10px 22px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.settings-actions button.primary:hover{filter:brightness(1.1)}.settings-actions button.primary:disabled{opacity:.6;cursor:not-allowed}.ep-burn-overlay-warn{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#000000c7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}.ep-burn-warn-card{background:#0f1320;color:#f5f5f5;border:2px solid #f59e0b;border-radius:16px;padding:36px 44px;max-width:680px;width:calc(100% - 32px);box-shadow:0 20px 60px #000000b3;text-align:center}.ep-burn-warn-body p{color:#e5e7eb}.ep-burn-warn-title{font-size:30px;font-weight:800;margin-bottom:18px;color:#fbbf24}.ep-burn-warn-body p{margin:12px 0;font-size:19px;line-height:1.6}.ep-burn-warn-body strong{color:#fde68a;font-size:21px}.ep-burn-warn-spinner{width:40px;height:40px}.ep-burn-warn-spinner{width:36px;height:36px;margin:18px auto 4px;border:4px solid rgba(255,255,255,.18);border-top-color:#f59e0b;border-radius:50%;animation:ep-spin .9s linear infinite}@keyframes ep-spin{to{transform:rotate(360deg)}}@media (max-width: 768px){body{font-size:13px}h1{font-size:20px}h2{font-size:18px}body:has(.ep-grid){overflow:auto;height:auto}.app{flex-direction:column;min-height:100vh}.sidebar{width:100%;height:auto;position:sticky;top:0;flex-direction:row;align-items:center;padding:8px 10px;gap:8px;z-index:200;border-right:none;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 4px 16px -8px #00000080}.sidebar .brand{padding:0;margin:0;border-bottom:none;flex-direction:row;flex-shrink:0}.sidebar .brand-logo{max-width:34px;width:auto;height:34px}.sidebar nav{flex-direction:row;flex:1;gap:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0;min-width:0}.sidebar nav::-webkit-scrollbar{display:none}.sidebar nav a{padding:6px 10px;font-size:12px;white-space:nowrap;flex-shrink:0;gap:6px}.sidebar nav a:hover{transform:none}.sidebar nav a.active{box-shadow:inset 0 -2px #3b82f6}.sidebar nav a .ico{width:14px;height:14px;font-size:14px}.sidebar .section-label{display:none}.sidebar .user-card{margin:0;padding:4px 6px;background:transparent;border:none;flex-shrink:0;gap:4px}.sidebar .user-info{display:none}.sidebar .avatar{width:28px;height:28px;font-size:12px}.sidebar .signout-btn{font-size:14px;padding:4px}.main{min-height:0}.main-header{padding:12px 16px;flex-wrap:wrap;gap:8px}.main-header h1{font-size:18px}.main-header .subtitle{font-size:12px}.main-content{padding:16px;max-width:none}.toolbar-row{flex-wrap:wrap;gap:8px}.toolbar-row .grow{flex-basis:100%}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.project-thumb{height:90px;font-size:24px}.project-body{padding:12px}.project-body h3{font-size:14px}.stats-row{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.stat-card{padding:12px 14px}.stat-value{font-size:20px}.settings-page{grid-template-columns:1fr;gap:14px;padding:0}.settings-card{padding:16px 18px}.settings-row{flex-direction:column;align-items:stretch;gap:6px;margin-bottom:12px}.settings-row>span{width:auto}.upload-bar{grid-template-columns:1fr;gap:10px;padding:12px}.action-bar{padding:10px 12px;flex-wrap:wrap}.action-bar .status{margin-left:0}.seg-table-wrap{overflow-x:auto}.main:has(.ep-grid) .main-content{height:auto;max-height:none;overflow:visible}.ep-grid{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;grid-template-areas:"video" "table" "edit" "wave";gap:6px;padding:6px;overflow:visible;min-height:0;flex:0 0 auto}.ep-video-pane,.ep-video-wrap{min-height:200px}.ep-table-pane{min-height:280px;max-height:60vh}.ep-edit-pane{min-height:260px}.ep-wave-pane{min-height:120px}.ep-grid.no-video{grid-template-columns:1fr;grid-template-rows:1fr auto;grid-template-areas:"table" "edit"}.ep-toolbar{padding:10px 12px;column-gap:6px;row-gap:6px}.ep-toolbar .btn-link,.ep-toolbar .btn-file,.ep-toolbar select,.ep-toolbar button{padding:6px 10px;font-size:12px;height:32px}.ep-tb-group{padding-right:8px;margin-right:4px;gap:6px;border-right:none}.ep-tb-group:last-of-type{margin-left:0}.ep-tb-label{display:none}.ep-toolbar .ep-search{min-width:0;flex:1 1 100%}.ep-toolbar .ep-busy,.ep-toolbar .ep-err{position:static;max-width:none}.ep-table-head,.ep-row{grid-template-columns:32px 1fr 1fr 28px;gap:6px;padding:6px 8px;font-size:12px}.ep-table-head{padding-right:calc(8px + var(--sb-w, 15px))}.ep-c-tc,.ep-c-dur,.ep-c-cps,.ep-c-spk{display:none}.ep-c-text{white-space:normal;overflow:hidden;text-overflow:ellipsis;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ep-table-search{flex-wrap:wrap;padding:6px 8px;gap:6px}.ep-table-search .ep-search,.ep-table-search .ep-replace-input{flex:1 1 100%;min-width:0}.ep-edit-times{grid-template-columns:1fr 1fr;gap:8px}.ep-edit-texts{grid-template-columns:1fr;gap:10px}.ep-edit-col{min-height:110px}.ep-edit-col textarea{font-size:13px;min-height:100px}.ep-modal{min-width:0;width:calc(100vw - 24px);max-height:calc(100vh - 40px);padding:16px 18px}.ep-modal-row{flex-wrap:wrap;gap:6px}.ep-modal-row>label:first-child{width:100%}.ep-modal-actions{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.auth-card{padding:28px 22px}.auth-card h2{font-size:24px}.auth-main{padding:32px 20px}.pricing-page{padding:32px 16px!important}.pricing-page h1{font-size:30px!important}.pricing-page h2{font-size:26px!important}.pricing-page section{margin-bottom:44px!important}.pricing-page section>div[style*=grid-template-columns]{grid-template-columns:1fr!important;gap:16px!important}.pricing-page section>div[style*=flex][style*=space-between]{flex-direction:column!important;align-items:stretch!important;text-align:center}.pricing-page section>div>div[style*=scale]{transform:none!important}.pricing-page table{font-size:12px}.pricing-page th,.pricing-page td{padding:10px 12px!important}}@media (max-width: 400px){.main-header{padding:10px 12px}.main-header h1{font-size:16px}.main-content{padding:12px}.grid{grid-template-columns:1fr 1fr;gap:10px}.stats-row{grid-template-columns:1fr}.sidebar .brand-logo{max-width:28px;height:28px}.sidebar nav a{padding:5px 8px;font-size:11px}.ep-edit-times{grid-template-columns:1fr}.pricing-page h1{font-size:26px!important}}@media (max-width: 768px){.ep-grid:before{content:"📱 Mobile view — full editing works best on desktop";display:block;grid-column:1 / -1;background:linear-gradient(90deg,#f59e0b26,#3b82f61f);border:1px solid rgba(245,158,11,.35);border-radius:var(--radius-sm);padding:8px 12px;font-size:12px;color:#92400e;text-align:center;font-weight:500}.ep-video-pane,.ep-video-wrap{min-height:220px}.ep-wave-pane{display:none}.ep-row{min-height:52px;padding:8px;align-items:center}.ep-table-head{min-height:36px;padding-top:8px;padding-bottom:8px}.ep-row .ep-c-text{font-size:13px}.ep-c-del button{width:32px;height:32px;font-size:18px}.ep-edit-pane{min-height:280px}.ep-edit-col{min-height:130px}.ep-edit-col textarea{font-size:14px;min-height:120px;padding:10px}.ep-edit-col-head{font-size:13px}.ep-edit-times label{font-size:10px}.ep-time-row input{padding:10px 8px;font-size:14px;min-height:40px}.ep-time-row button{padding:10px 12px;min-height:40px;min-width:40px}.ep-toolbar button,.ep-toolbar select,.ep-toolbar .btn-link,.ep-toolbar .btn-file{min-height:40px;height:40px;padding:8px 12px;font-size:13px}.ep-table-search .ep-search,.ep-table-search .ep-replace-input{min-height:40px;padding:10px 12px;font-size:13px}.ep-table-search button.primary{min-height:40px;padding:10px 14px}.project-card{min-height:180px}button{min-height:40px}.btn-sm{min-height:32px}}@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px){.sidebar{padding:4px 8px;gap:6px}.sidebar .brand-logo{max-width:26px;height:26px}.sidebar nav a{padding:4px 8px;font-size:11px}.sidebar .avatar{width:24px;height:24px;font-size:11px}.main-header{padding:6px 12px;gap:6px}.main-header h1{font-size:15px}.main-header .subtitle{display:none}.main-content{padding:10px 12px}.ep-grid{grid-template-columns:minmax(240px,40vw) 1fr;grid-template-rows:1fr minmax(100px,38vh);grid-template-areas:"video table" "edit  edit";gap:4px;padding:4px;height:calc(100vh - 80px);overflow:hidden}.ep-grid:before{display:none}.ep-video-pane,.ep-video-wrap{min-height:0}.ep-table-pane{min-height:0;max-height:none}.ep-edit-pane{min-height:100px;padding:6px}.ep-edit-col{min-height:60px}.ep-edit-col textarea{min-height:60px;font-size:13px}.ep-wave-pane{display:none}body:has(.ep-grid){overflow:hidden;height:100vh}.main:has(.ep-grid) .main-content{height:calc(100vh - 50px);max-height:calc(100vh - 50px);overflow:hidden}.main:has(.ep-grid) .main-header{display:none}.ep-toolbar{padding:4px 8px;column-gap:4px;row-gap:4px}.ep-toolbar button,.ep-toolbar select,.ep-toolbar .btn-link,.ep-toolbar .btn-file{min-height:30px;height:30px;padding:4px 8px;font-size:11px}.ep-edit-times{grid-template-columns:repeat(4,1fr);gap:6px}.ep-time-row input{min-height:30px;padding:4px 6px;font-size:12px}.ep-time-row button{min-height:30px;padding:4px 6px;min-width:30px}.ep-table-head,.ep-row{grid-template-columns:28px 72px 1fr 1fr 24px;gap:4px;padding:4px 6px;font-size:11px;min-height:0}.ep-c-tc:first-of-type{display:block}.ep-c-tc:not(:first-of-type),.ep-c-dur,.ep-c-cps{display:none}.ep-row{min-height:32px}.grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.project-thumb{height:70px;font-size:20px}.project-card{min-height:0}}
