:root{--floral-white:#faf7ee;--black-olive:#31372b;--soft-sage:#a8b09a;--muted-sage:#68715d;--warm-surface:#f3f0e7;--white-surface:#fff;--subtle-border:#e8e4d9;--secondary-text:#77796f;--bisque:var(--floral-white);--atlas-red:var(--black-olive);--warm-white:var(--floral-white);--soft-bisque:var(--warm-surface);--warm-border:var(--subtle-border);--burgundy:var(--black-olive);--muted-warm:var(--secondary-text);--bg:var(--floral-white);--bg-alt:var(--warm-surface);--fg:var(--black-olive);--fg-soft:#4e5546;--heading:var(--black-olive);--muted:var(--secondary-text);--accent:var(--black-olive);--accent-hover:#1f241a;--accent-light:#31372b0f;--accent-subtle:#31372b08;--surface:var(--white-surface);--surface-warm:var(--warm-surface);--surface-border:var(--subtle-border);--card-bg:var(--white-surface);--input-bg:var(--white-surface);--background:var(--bg);--foreground:var(--fg);--surface-muted:var(--warm-surface);--border:var(--subtle-border);--border-hover:#c8c2b3;--primary:#1a6b54;--primary-foreground:#fff;--muted-foreground:var(--secondary-text);--destructive:#b83a3a;--destructive-foreground:#fff;--ring:#1a6b54;--sidebar-width:240px;--sidebar-bg:var(--floral-white);--sidebar-hover:#31372b0d;--sidebar-active-bg:#31372b14;--green:#2e6b45;--green-light:#2e6b4514;--green-border:#2e6b4538;--amber:#9c6a18;--amber-light:#9c6a1814;--amber-border:#9c6a1838;--red:#b83a3a;--red-light:#b83a3a14;--red-border:#b83a3a38;--neu-raised:0 1px 3px #31372b0a;--neu-raised-hover:0 4px 12px #31372b14;--neu-flat:0 1px 2px #31372b0a;--neu-inset:inset 0 1px 2px #31372b0a;--header-h:60px;--container-max:1360px;--container-narrow:760px;--page-gutter:clamp(16px, 2.5vw, 36px);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:clamp(14px, 1.8vw, 20px);--space-6:clamp(20px, 2.5vw, 30px);--space-7:clamp(28px, 3.5vw, 42px);--text-xs:.72rem;--text-sm:.8125rem;--text-base:.875rem;--text-lg:.9375rem;--heading-sm:.875rem;--heading-md:1rem;--heading-lg:1.25rem;--heading-xl:1.5rem;--radius:12px;--radius-sm:8px;--radius-xs:6px;--transition:all .15s cubic-bezier(.16, 1, .3, 1);--transition-slow:all .25s cubic-bezier(.16, 1, .3, 1)}.dark{--floral-white:#181a15;--black-olive:#faf7ee;--soft-sage:#a8b09a;--muted-sage:#8f9983;--warm-surface:#21241d;--white-surface:#262a22;--subtle-border:#e4e0d61f;--secondary-text:#9ca294;--bisque:#181a15;--soft-bisque:#21241d;--warm-white:#21241d;--warm-border:#e4e0d61f;--burgundy:#faf7ee;--muted-warm:#9ca294;--bg:#181a15;--bg-alt:#21241d;--fg:#faf7ee;--fg-soft:#d8d3c4;--heading:#faf7ee;--muted:#9ca294;--accent:#faf7ee;--accent-hover:#f0ece0;--accent-light:#a8b09a29;--accent-subtle:#a8b09a14;--surface:#262a22;--surface-warm:#21241d;--surface-border:#e4e0d61f;--card-bg:#262a22;--input-bg:#21241d;--background:var(--bg);--foreground:var(--fg);--surface-muted:var(--warm-surface);--border:var(--subtle-border);--border-hover:#e4e0d647;--primary:#208266;--primary-foreground:#fff;--muted-foreground:var(--secondary-text);--destructive:#d95d60;--destructive-foreground:#fff;--ring:#38c79d;--sidebar-bg:#1c1e19;--sidebar-hover:#faf7ee0d;--sidebar-active-bg:#a8b09a24;--green:#5ea172;--green-light:#5ea17224;--amber:#d4a247;--amber-light:#d4a24724;--red:#d95d60;--red-light:#d95d6024;--neu-raised:0 1px 3px #00000059;--neu-raised-hover:0 4px 12px #00000073;--neu-flat:0 1px 2px #0000004d;--neu-inset:inset 0 1px 2px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}::view-transition-old(root){mix-blend-mode:normal;animation:none}::view-transition-new(root){mix-blend-mode:normal;animation:none}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:9999}.dark::view-transition-old(root){z-index:9999}.dark::view-transition-new(root){z-index:1}.theme-transitioning,.theme-transitioning body,.theme-transitioning .dash-shell,.theme-transitioning .dash-main-area,.theme-transitioning .dash-header,.theme-transitioning .sidebar,.theme-transitioning .sidebar-brand,.theme-transitioning .sidebar-nav,.theme-transitioning .sidebar-item,.theme-transitioning .sidebar-footer,.theme-transitioning .sidebar-user-pill,.theme-transitioning .sidebar-user-popover,.theme-transitioning .stat-card,.theme-transitioning .neu-card,.theme-transitioning .video-card,.theme-transitioning .page-header,.theme-transitioning .dialog-box,.theme-transitioning .landing-layout,.theme-transitioning header,.theme-transitioning nav,.theme-transitioning aside,.theme-transitioning main,.theme-transitioning footer{transition:background-color .28s cubic-bezier(.16,1,.3,1),border-color .28s cubic-bezier(.16,1,.3,1),color .28s cubic-bezier(.16,1,.3,1),box-shadow .28s cubic-bezier(.16,1,.3,1)!important}@media (prefers-reduced-motion:reduce){.theme-transitioning,.theme-transitioning *{transition:none!important}::view-transition-old(root){animation:none!important}::view-transition-new(root){animation:none!important}}.dark .sidebar-user-pill:hover,.dark .sidebar-user-pill.active,.dark .btn-secondary:hover:not(:disabled),.dark .btn-ghost:hover,.dark .stat-card:hover,.dark .neu-card:hover,.dark .video-card:hover,.dark .filter-tab:hover,.dark .search-input:focus,.dark .search-input:focus-visible,.dark .search-input-wrap:hover,.dark .detail-tab:hover,.dark .settings-card:hover,.dark .auth-card:hover,.dark .auth-input-wrap:hover{border-color:#e4e0d647}.dark .filter-tab.active{color:#faf7ee;background:#2d3426;border-color:#e4e0d640}.dark .settings-avatar-fallback{color:#faf7ee;background:#2d3426}.dark .vid-card-progress-fill{background:var(--green)}.dark .dialog-overlay{background:#0c0e0aa6}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;max-width:100%;font-size:16px;overflow-x:clip;scrollbar-width:none!important;-ms-overflow-style:none!important}body{color:var(--fg);background:var(--bg);font-family:var(--font-inter), system-ui, -apple-system, sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;font-size:var(--text-base);width:100%;max-width:100%;min-height:100dvh;overflow-x:clip;scrollbar-width:none!important;-ms-overflow-style:none!important}html::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}body::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit;font-size:inherit}img,video{max-width:100%;height:auto;display:block}.title{font-size:var(--heading-xl);letter-spacing:-.03em;color:var(--heading);font-weight:700;line-height:1.1}.title-ai{color:var(--accent)}.subtitle{font-size:var(--text-base);color:var(--muted);font-weight:400;line-height:1.5}.dash-shell{background:var(--bg);width:100%;max-width:100%;min-height:100dvh;display:flex;overflow-x:clip}.dash-main-area{width:100%;min-width:0;max-width:100%;margin-left:var(--sidebar-width);flex-direction:column;flex:1;transition:margin-left .25s cubic-bezier(.16,1,.3,1);display:flex}.dash-main-area.sidebar-collapsed{margin-left:76px}.dash-content{width:100%;max-width:100%;padding:var(--space-5) clamp(20px, 3vw, 40px) var(--space-4);box-sizing:border-box;flex-direction:column;flex:1;min-width:0;margin:0;display:flex}.overview-container{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.content-narrow{width:min(100%, var(--container-narrow));min-width:0;margin-inline:0}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);border-right:1px dashed var(--surface-border);z-index:50;scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;transition:width .25s cubic-bezier(.16,1,.3,1),transform .25s cubic-bezier(.16,1,.3,1);display:flex;position:fixed;top:0;bottom:0;left:0;overflow:visible}.sidebar-brand{border-bottom:1px dashed var(--surface-border);padding:20px 16px 16px}.sidebar-brand-top{justify-content:space-between;align-items:center;display:flex}.sidebar-brand-name{font-family:var(--font-montserrat), "Montserrat", sans-serif;letter-spacing:-.025em;color:var(--heading);align-items:center;gap:12px;font-size:1.35rem;font-weight:600;text-decoration:none;display:flex}.sidebar-brand-icon-img{object-fit:contain;flex-shrink:0;width:28px;height:28px}.sidebar-brand-title{font-family:var(--font-montserrat), "Montserrat", sans-serif;color:var(--heading);letter-spacing:-.025em;font-size:1.35rem;font-weight:600}.sidebar-brand-ai{font-family:inherit;font-weight:inherit;color:#b2bd7e!important}.sidebar-brand-tagline{display:none}.sidebar-close-btn{color:var(--muted);cursor:pointer;padding:var(--space-2);border-radius:var(--radius-xs);min-width:44px;min-height:44px;transition:var(--transition);background:0 0;border:none;justify-content:center;align-items:center;display:none}.sidebar-close-btn:hover{color:var(--fg);background:var(--accent-light)}.sidebar-nav{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;gap:4px;min-height:0;padding:16px 12px;display:flex;overflow-y:auto}.sidebar::-webkit-scrollbar{width:0;height:0;display:none}.sidebar-nav::-webkit-scrollbar{width:0;height:0;display:none}.sidebar-section-label{display:none}.sidebar-nav-group{flex-direction:column;width:100%;display:flex}.sidebar-item{color:var(--fg-soft);font-size:var(--text-sm);cursor:pointer;transition:var(--transition);text-align:left;box-sizing:border-box;background:0 0;border:none;border-radius:9999px;align-items:center;gap:14px;width:100%;min-height:42px;padding:10px 16px;font-weight:500;text-decoration:none;display:flex}.sidebar-item:hover{background:var(--sidebar-hover);color:var(--heading)}.sidebar-item.active{background:var(--sidebar-active-bg);color:var(--heading);box-shadow:var(--neu-flat);font-weight:600}.sidebar-item-icon{opacity:.85;flex-shrink:0;width:19px;height:19px}.sidebar-item:hover .sidebar-item-icon{opacity:1}.sidebar-item.active .sidebar-item-icon{opacity:1;color:var(--heading);stroke:var(--heading)}.sidebar-item-label{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.sidebar-badge-beta{color:var(--amber);letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:4px;margin-left:auto;font-size:.65rem;font-weight:700;display:inline-flex}.sidebar-item.active .sidebar-badge-beta{color:var(--amber)}.sidebar-badge-dot{color:inherit;font-size:1.1rem;line-height:0}.sidebar-sub-items{flex-direction:column;gap:2px;padding:4px 0 6px;display:flex}.sidebar-sub-item{color:var(--muted);font-size:var(--text-xs);cursor:pointer;transition:var(--transition);text-align:left;background:0 0;border:none;border-radius:9999px;align-items:center;width:100%;min-height:34px;padding:8px 14px 8px 46px;font-weight:500;text-decoration:none;display:flex}.sidebar-sub-item:hover{color:var(--heading);background:var(--sidebar-hover)}.sidebar-sub-item.active{color:var(--heading);font-weight:600}.sidebar-footer{border-top:1px dashed var(--surface-border);flex-shrink:0;padding:14px 12px;position:relative}.sidebar-user-menu-wrap{width:100%;position:relative}.sidebar-footer-row{box-sizing:border-box;align-items:center;width:100%;padding-right:18px;display:flex}.sidebar-user-pill{background:var(--surface);border:1.5px dashed var(--surface-border);cursor:pointer;width:100%;transition:var(--transition);text-align:left;color:var(--fg);border-radius:9999px;align-items:center;gap:10px;padding:6px 12px 6px 6px;font-family:inherit;display:flex}.sidebar-user-pill:hover,.sidebar-user-pill.active{background:var(--sidebar-hover);border-color:#c8c2b3}.sidebar-user-pill-name{color:var(--fg);white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.8125rem;font-weight:500;overflow:hidden}.sidebar-avatar{object-fit:cover;background:var(--accent-light);width:28px;height:28px;font-weight:700;font-size:var(--text-xs);color:var(--accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex;overflow:hidden}.sidebar-avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.sidebar-collapse-circle{border:1.5px solid var(--surface-border);background:var(--sidebar-bg);width:28px;height:28px;color:var(--muted);cursor:pointer;z-index:50;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s,color .15s;display:flex;position:absolute;top:50%;right:-14px;transform:translateY(-50%);box-shadow:0 1px 4px #00000040}.sidebar-collapse-circle:hover{background:var(--surface);color:var(--heading);border-color:var(--border-hover);box-shadow:0 2px 8px #00000059}.sidebar.collapsed .sidebar-brand-title,.sidebar.collapsed .sidebar-item-label,.sidebar.collapsed .sidebar-badge-beta,.sidebar.collapsed .sidebar-sub-items,.sidebar.collapsed .sidebar-user-pill-name{display:none}.sidebar.collapsed .sidebar-brand{justify-content:center;padding:20px 10px 16px;display:flex}.sidebar.collapsed .sidebar-nav{align-items:center;padding:14px 10px}.sidebar.collapsed .sidebar-item{justify-content:center;width:44px;height:44px;padding:0}.sidebar.collapsed .sidebar-footer{padding:12px 8px}.sidebar.collapsed .sidebar-footer-row{justify-content:center;align-items:center;padding-right:0;display:flex}.sidebar.collapsed .sidebar-user-pill{flex:none;justify-content:center;width:38px;height:38px;padding:0}.sidebar-user-popover{background:var(--card-bg);border:1px solid var(--surface-border);border-radius:var(--radius);z-index:60;flex-direction:column;gap:3px;padding:12px 10px;animation:.15s cubic-bezier(.16,1,.3,1) slideUp;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 10px 30px #31372b29}.dark .sidebar-user-popover{background:#1c1e19;border-color:#e4e0d624;box-shadow:0 12px 36px #0000008c}.sidebar-popover-header{padding:4px 8px 6px}.sidebar-popover-signed-in{color:var(--muted);font-size:.72rem;line-height:1.2}.sidebar-popover-email{color:var(--fg);word-break:break-all;margin-top:3px;font-size:.8125rem;font-weight:600;line-height:1.35}.sidebar-popover-divider{background:var(--surface-border);height:1px;margin:4px 0 6px}.sidebar-popover-item{border-radius:var(--radius-xs);width:100%;color:var(--fg);cursor:pointer;text-align:left;transition:var(--transition);box-sizing:border-box;background:0 0;border:none;justify-content:space-between;align-items:center;padding:8px 10px;font-family:inherit;font-size:.8125rem;font-weight:500;text-decoration:none;display:flex}.sidebar-popover-item:hover{background:var(--sidebar-hover);color:var(--heading)}.sidebar-popover-theme-toggle{justify-content:space-between;align-items:center;display:flex}.theme-toggle-icon{color:var(--fg);flex-shrink:0}.sidebar-popover-logout{color:var(--fg);justify-content:flex-start}.sidebar-popover-logout:hover:not(:disabled){color:var(--red);background:var(--red-light)}.sidebar-overlay{z-index:45;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;pointer-events:none;background:#31372b73;transition:opacity .25s;display:none;position:fixed;inset:0}@media (min-width:769px){.sidebar-overlay,.sidebar-overlay.visible{pointer-events:none!important;opacity:0!important;visibility:hidden!important;display:none!important}}.dash-header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:0 var(--space-4);height:var(--header-h);background:var(--bg);z-index:50;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:none;display:none;position:sticky;top:0}.dash-header-left{align-items:center;gap:var(--space-3);min-width:0;display:flex}.dash-menu-btn{border-radius:var(--radius-xs);width:36px;height:36px;color:var(--fg);cursor:pointer;transition:var(--transition);background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.dash-menu-btn:hover{background:var(--accent-light)}.dash-header-mobile-brand{align-items:center;gap:8px;text-decoration:none;display:flex}.dash-header-mobile-logo{object-fit:contain;width:22px;height:22px}.dash-header-mobile-title{font-family:var(--font-montserrat), "Montserrat", sans-serif;color:var(--heading);letter-spacing:-.01em;font-size:.9375rem;font-weight:700}.dash-header-user,.dash-header-right{align-items:center;gap:var(--space-2);flex-shrink:0;display:flex}.dash-header .theme-toggle-btn{box-shadow:none!important;background:0 0!important;border:none!important}.dash-header-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:30px;height:30px}.dash-header-avatar-fallback{background:var(--accent-light);color:var(--accent);font-weight:700;font-size:var(--text-xs);justify-content:center;align-items:center;display:flex}.signout-btn{border-radius:var(--radius-sm);border:1px solid var(--surface-border);background:var(--surface);height:36px;color:var(--muted);font-size:var(--text-xs);cursor:pointer;transition:var(--transition);white-space:nowrap;justify-content:center;align-items:center;padding:0 14px;font-family:inherit;font-weight:500;display:inline-flex}.signout-btn:hover:not(:disabled){border-color:var(--red);color:var(--red);background:var(--red-light)}.signout-btn:disabled{opacity:.5;cursor:not-allowed}.page-header{margin-bottom:var(--space-5)}.page-header-row{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.page-title{font-size:var(--heading-lg);color:var(--heading);letter-spacing:-.015em;font-weight:650;line-height:1.25}.page-subtitle{color:var(--muted);margin-top:3px;font-size:.8125rem;line-height:1.4}.page-header-btn{border-radius:var(--radius-sm);height:36px;box-shadow:var(--neu-flat);flex-shrink:0;align-items:center;gap:7px;padding:0 14px;font-size:.8125rem;font-weight:600;display:inline-flex}.overview-error-banner{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--red-light);border:1px solid var(--red-border);border-radius:var(--radius-sm);color:var(--red);margin-bottom:var(--space-5);font-size:var(--text-sm);display:flex}.overview-error-text{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;flex:1;display:flex}.overview-error-retry{border:1px solid var(--red);color:var(--red);border-radius:var(--radius-xs);font-size:var(--text-xs);cursor:pointer;transition:var(--transition);background:0 0;padding:4px 10px;font-weight:600}.overview-error-retry:hover{background:var(--red);color:#fff}.btn{border-radius:var(--radius-sm);font-size:var(--text-sm);cursor:pointer;transition:var(--transition);white-space:nowrap;border:none;justify-content:center;align-items:center;gap:8px;font-family:inherit;font-weight:600;text-decoration:none;display:inline-flex}.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff;height:36px;padding:0 16px;font-size:.8125rem;font-weight:600}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:active:not(:disabled){transform:scale(.98)}.dark .btn-primary{background:#2d3426;border:1px solid #e4e0d638;color:#fff!important}.dark .btn-primary:hover:not(:disabled){background:#394230;border-color:#e4e0d659;color:#fff!important}.dark .btn-card-watch,.dark .btn-card-retry,.dark .auth-submit-btn{background:#2d3426;border:1px solid #e4e0d638;color:#fff!important}.dark .btn-card-watch:hover:not(:disabled),.dark .btn-card-retry:hover:not(:disabled),.dark .auth-submit-btn:hover:not(:disabled){background:#394230;color:#fff!important}.btn-secondary{height:40px;padding:0 var(--space-4);background:var(--card-bg);color:var(--fg-soft);border:1px solid var(--surface-border);box-shadow:var(--neu-flat)}.btn-secondary:hover:not(:disabled){box-shadow:var(--neu-raised);color:var(--fg);border-color:#d6d0c2}.btn-ghost{height:36px;padding:0 var(--space-3);color:var(--muted);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--accent-subtle);color:var(--accent)}.btn-danger{height:40px;padding:0 var(--space-4);background:var(--red);color:#fff}.btn-danger:hover:not(:disabled){background:#991b1b}.btn-sm{height:32px;font-size:var(--text-xs);padding:0 12px}.form-input{width:100%;height:42px;padding:0 var(--space-4);font-size:var(--text-sm);border:1px solid var(--surface-border);border-radius:var(--radius-sm);background:var(--input-bg);color:var(--fg);transition:var(--transition);outline:none;font-family:inherit}.form-input:focus,.form-input:focus-visible{box-shadow:none;border-color:#c8c2b3;outline:none}.form-input.form-input-error{border-color:var(--red);background:var(--red-light)}.stats-grid{margin-bottom:var(--space-5);grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.2vw,16px);display:grid}.stat-card{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);transition:var(--transition);flex-direction:column;justify-content:space-between;min-width:0;min-height:124px;padding:14px 18px;display:flex;position:relative}.stat-card:hover{box-shadow:var(--neu-raised);border-color:#d6d0c2;transform:translateY(-1px)}.dark .stat-card:hover{border-color:#faf7ee47}.stat-card-header{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;display:flex}.stat-card-title{color:var(--fg);letter-spacing:-.01em;margin:0;font-size:.95rem;font-weight:500;line-height:1.3}.stat-card-icon-wrap{flex-shrink:0;justify-content:center;align-items:center;width:22px;min-width:22px;height:22px;display:flex}.stat-card-platform-img{object-fit:contain;border-radius:4px;width:20px;height:20px}.stat-card-fallback-svg{color:var(--muted);justify-content:center;align-items:center;display:flex}.stat-card-value{color:var(--fg);letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:8px 0 10px;font-size:1.85rem;font-weight:700;line-height:1.1}.stat-card-substats{flex-direction:column;gap:3px;width:100%;display:flex}.stat-card-sub-row{color:var(--muted);align-items:center;gap:6px;font-size:.75rem;font-weight:450;line-height:1.35;display:flex}.stat-card-sub-text{color:var(--muted);font-variant-numeric:tabular-nums}.stat-dot-green{background-color:#22c55e;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block;box-shadow:0 0 5px #22c55e73}.stat-dot-red{background-color:#ef4444;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block;box-shadow:0 0 5px #ef444473}.stat-check-green{color:#22c55e;flex-shrink:0;justify-content:center;align-items:center;font-size:.82rem;font-weight:700;line-height:1;display:inline-flex}.stat-card-info{flex-direction:column;gap:2px;min-width:0;display:flex}.stat-card-label{color:var(--muted);overflow-wrap:anywhere;font-size:.75rem;font-weight:500;line-height:1.3}.stat-card-icon{border-radius:var(--radius-sm);flex-shrink:0;justify-content:center;align-items:center;width:34px;min-width:34px;height:34px;display:flex}.stat-card-icon-total{background:var(--accent-light);color:var(--accent)}.stat-card-icon-done{background:var(--green-light);color:var(--green)}.stat-card-icon-active{background:var(--amber-light);color:var(--amber)}.stat-card-icon-failed{background:var(--red-light);color:var(--red)}.metric-pills-bar{margin-bottom:var(--space-5);scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:center;gap:10px;width:100%;max-width:100%;padding:2px 2px 10px;display:flex;overflow-x:auto}.metric-pills-bar::-webkit-scrollbar{display:none}.metric-pill{white-space:nowrap;letter-spacing:-.005em;transition:var(--transition);border-radius:9999px;flex-shrink:0;align-items:center;gap:6px;padding:6px 14px;font-size:.78rem;font-weight:500;line-height:1.25;display:inline-flex;box-shadow:0 1px 3px #00000040}.metric-pill:hover{transform:translateY(-1px)}.metric-pill-val{font-variant-numeric:tabular-nums;font-weight:700}.metric-pill-label{opacity:.92;font-weight:500}.metric-pill--green{color:#86efac;background:#0d2818;border:1px solid #22c55e47}.metric-pill--green .metric-pill-val{color:#4ade80}.metric-pill--blue{color:#7dd3fc;background:#0e2238;border:1px solid #38bdf847}.metric-pill--blue .metric-pill-val{color:#38bdf8}.metric-pill--red{color:#fda4af;background:#331218;border:1px solid #f43f5e47}.metric-pill--red .metric-pill-val{color:#fb7185}.metric-pill--purple{color:#d8b4fe;background:#251638;border:1px solid #c084fc47}.metric-pill--purple .metric-pill-val{color:#c084fc}.metric-pill--amber{color:#fde68a;background:#33230a;border:1px solid #f59e0b47}.metric-pill--amber .metric-pill-val{color:#fbbf24}.metric-pill--teal{color:#99f6e4;background:#102428;border:1px solid #2dd4bf47}.metric-pill--teal .metric-pill-val{color:#2dd4bf}.metric-pill--indigo{color:#c7d2fe;background:#151838;border:1px solid #818cf847}.metric-pill--indigo .metric-pill-val{color:#818cf8}.neu-card{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);transition:var(--transition);padding:clamp(16px,3vw,24px)}.neu-card:hover{box-shadow:var(--neu-raised);border-color:#d6d0c2}.neu-card-title{font-size:var(--heading-sm);color:var(--heading);margin-bottom:2px;font-weight:650}.neu-card-desc{color:var(--muted);margin-bottom:var(--space-4);font-size:.8125rem;line-height:1.45}.video-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,24px);display:grid}.vid-card{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);transition:var(--transition);flex-direction:column;min-width:0;display:flex;position:relative;overflow:hidden}.vid-card:hover{box-shadow:var(--neu-raised-hover);border-color:#d6d0c2;transform:translateY(-2px)}.vid-card-thumb{aspect-ratio:16/9;background:var(--surface-warm);width:100%;position:relative;overflow:hidden}.vid-card-thumb-img{object-fit:cover;width:100%;height:100%;transition:transform .3s;display:block}.vid-card:hover .vid-card-thumb-img{transform:scale(1.03)}.vid-card-thumb-placeholder{width:100%;height:100%;color:var(--muted);opacity:.45;justify-content:center;align-items:center;display:flex}.vid-card-badge-wrap{z-index:2;position:absolute;top:10px;left:10px}.vid-card-duration{color:#fff;letter-spacing:.02em;z-index:2;background:#000000d1;border-radius:4px;padding:2px 6px;font-size:.72rem;font-weight:600;position:absolute;bottom:8px;right:8px}.vid-card-play-overlay{opacity:0;z-index:3;background:#00000040;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;inset:0}.vid-card:hover .vid-card-play-overlay{opacity:1}.vid-card-play-btn{width:44px;height:44px;color:var(--black-olive);background:#fffffff2;border-radius:50%;justify-content:center;align-items:center;transition:transform .2s;display:flex;transform:scale(.9);box-shadow:0 4px 12px #00000040}.vid-card:hover .vid-card-play-btn{transform:scale(1)}.vid-card-body{padding:var(--space-4);flex-direction:column;flex:1;min-width:0;display:flex}.vid-card-title{font-size:var(--text-base);margin-bottom:var(--space-2);min-width:0;font-weight:600;line-height:1.35}.vid-card-title a{color:var(--heading);-webkit-line-clamp:2;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;text-decoration:none;display:-webkit-box;overflow:hidden}.vid-card-title a:hover{color:var(--accent-hover)}.vid-card-meta{align-items:center;gap:var(--space-2);font-size:var(--text-xs);color:var(--muted);min-width:0;margin-bottom:var(--space-3);display:flex}.vid-card-channel{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:140px;overflow:hidden}.vid-card-meta-dot{opacity:.5}.vid-card-time{white-space:nowrap;flex-shrink:0}.vid-card-error{background:var(--red-light);border:1px solid var(--red-border);border-radius:var(--radius-xs);color:var(--red);font-size:var(--text-xs);margin-bottom:var(--space-3);align-items:center;gap:6px;padding:6px 10px;display:flex}.vid-card-error-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.vid-card-actions{align-items:center;gap:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--surface-border);flex-wrap:wrap;margin-top:auto;display:flex}.btn-card-action{height:34px;padding:0 var(--space-3);font-size:var(--text-xs);border-radius:var(--radius-xs);cursor:pointer;transition:var(--transition);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;font-family:inherit;font-weight:600;text-decoration:none;display:inline-flex}.btn-card-watch{background:var(--accent);color:#fff}.btn-card-watch:hover{background:var(--accent-hover)}.btn-card-download{border-color:var(--surface-border);color:var(--fg);background:0 0}.btn-card-download:hover{background:var(--accent-light);border-color:#d6d0c2}.btn-card-retry{background:var(--accent);color:#fff}.btn-card-retry:hover:not(:disabled){background:var(--accent-hover)}.btn-card-status{background:var(--accent-light);color:var(--fg);border-color:var(--surface-border)}.btn-card-delete{border-radius:var(--radius-xs);width:34px;min-width:34px;height:34px;color:var(--muted);cursor:pointer;transition:var(--transition);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;margin-left:auto;display:inline-flex}.btn-card-delete:hover:not(:disabled){color:var(--red);background:var(--red-light)}.vid-card-delete-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;padding:var(--space-4);text-align:center;z-index:10;border-radius:var(--radius);background:#181a15f2;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.vid-card-delete-overlay h4{font-size:var(--text-base);margin-bottom:var(--space-1);color:#fff}.vid-card-delete-overlay p{font-size:var(--text-xs);color:#d8d3c4;margin-bottom:var(--space-3);max-width:240px}.vid-card-delete-actions{gap:var(--space-2);flex-wrap:wrap;justify-content:center;width:100%;display:flex}.vid-card-progress{margin-bottom:var(--space-3);flex-direction:column;gap:4px;display:flex}.vid-card-progress-bar{background:var(--surface-border);border-radius:2px;width:100%;height:4px;overflow:hidden}.vid-card-progress-fill{background:var(--accent);height:100%;transition:width .3s}.vid-card-progress-text{color:var(--muted);justify-content:space-between;font-size:.72rem;display:flex}.status-badge{letter-spacing:.02em;white-space:nowrap;border-radius:20px;align-items:center;gap:5px;padding:4px 10px;font-size:.72rem;font-weight:600;display:inline-flex;box-shadow:0 2px 5px #00000073}.status-badge-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.status-completed{color:#fff;background:#14532d;border:1px solid #22c55e}.status-processing,.status-queued{color:#fff;background:#78350f;border:1px solid #f59e0b}.status-processing .status-badge-dot,.status-queued .status-badge-dot{animation:1.5s infinite pulse-dot}.status-failed,.status-cancelled{color:#fff;background:#7f1d1d;border:1px solid #ef4444}.filters-bar{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-5);flex-wrap:wrap;display:flex}.filter-tabs{background:var(--warm-surface);border:1px solid var(--surface-border);border-radius:var(--radius-sm);scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:4px;max-width:100%;padding:3px;display:flex;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.filter-tab{border-radius:var(--radius-xs);font-size:var(--text-xs);color:var(--muted);cursor:pointer;transition:var(--transition);white-space:nowrap;background:0 0;border:none;min-height:36px;padding:8px 14px;font-family:inherit;font-weight:500}.filter-tab:hover{color:var(--fg)}.filter-tab.active{background:var(--accent);color:#fff;box-shadow:var(--neu-flat);font-weight:600}.filters-right{align-items:center;gap:var(--space-2);flex-grow:1;justify-content:flex-end;display:flex}.search-input-wrap{width:min(100%,280px);max-width:320px;position:relative}.search-input-wrap svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search-input{border-radius:var(--radius-sm);border:1px solid var(--surface-border);background:var(--input-bg);width:100%;height:40px;color:var(--fg);font-size:var(--text-sm);transition:var(--transition);outline:none;padding:0 12px 0 36px;font-family:inherit}.search-input:focus,.search-input:focus-visible{box-shadow:none;border-color:#c8c2b3;outline:none}.search-input::placeholder{color:var(--muted);opacity:.6}.empty-state{text-align:center;padding:clamp(36px, 6vw, 64px) var(--space-4);background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-state-icon{margin-bottom:var(--space-3);color:var(--muted);justify-content:center;align-items:center;width:100%;display:flex}.empty-state-icon-circle{background:var(--accent-light);width:56px;height:56px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;margin:0 auto;display:flex}.empty-state-title{font-size:var(--text-lg);color:var(--heading);margin-bottom:var(--space-1);font-weight:600}.empty-state-desc{font-size:var(--text-sm);color:var(--muted);max-width:400px;margin-bottom:var(--space-4);line-height:1.5}.empty-state-action{margin-top:var(--space-1)}.skeleton{background:linear-gradient(90deg, var(--warm-surface) 25%, var(--floral-white) 50%, var(--warm-surface) 75%);border-radius:var(--radius-xs);background-size:200% 100%;animation:1.6s infinite shimmer}.dark .skeleton{background:linear-gradient(90deg,#21241d 25%,#2a2e25 50%,#21241d 75%) 0 0/200% 100%}.skeleton-stat{border-radius:var(--radius);height:124px}.skeleton-card{border-radius:var(--radius)}.vid-card-thumb-skeleton{aspect-ratio:16/9;border-radius:0;width:100%}.skeleton-text{border-radius:4px;height:14px;margin-bottom:8px}.skeleton-text-sm{width:60%}.skeleton-text-md{width:80%}.skeleton-text-lg{width:100%}.dialog-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;padding:var(--space-4);background:#31372b73;justify-content:center;align-items:center;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.dialog-box{background:var(--card-bg);border-radius:var(--radius);border:1px solid var(--surface-border);width:min(100%,480px);max-height:calc(100dvh - 32px);padding:clamp(20px,4vw,32px);animation:.2s cubic-bezier(.16,1,.3,1) slideUp;overflow-y:auto;box-shadow:0 16px 36px #31372b2e}.dialog-title{font-size:var(--heading-sm);color:var(--heading);margin-bottom:var(--space-2);font-weight:700}.dialog-desc{font-size:var(--text-sm);color:var(--muted);margin-bottom:var(--space-5);line-height:1.5}.dialog-actions{gap:var(--space-2);flex-wrap:wrap;justify-content:flex-end;display:flex}.quick-convert{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);margin-bottom:var(--space-5);padding:14px 18px}.quick-convert-header{align-items:center;gap:10px;margin-bottom:10px;display:flex}.quick-convert-icon{border-radius:var(--radius-xs);background:var(--accent-light);width:28px;min-width:28px;height:28px;color:var(--accent);flex-shrink:0;justify-content:center;align-items:center;display:flex}.quick-convert-text{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.quick-convert-title{color:var(--heading);font-size:.875rem;font-weight:650}.quick-convert-desc{color:var(--muted);font-size:.75rem}.quick-convert-row{align-items:flex-start;gap:10px;display:flex}.quick-convert-input-wrap{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.quick-convert-input{border:1px solid var(--surface-border);border-radius:var(--radius-sm);background:var(--input-bg);height:38px;color:var(--fg);transition:var(--transition);outline:none;width:100%;min-width:0;padding:0 12px;font-family:inherit;font-size:.8125rem}.quick-convert-input:focus,.quick-convert-input:focus-visible{box-shadow:none;border-color:#c8c2b3;outline:none}.quick-convert-input.form-input-error{border-color:var(--red);background:var(--red-light)}.quick-convert-error-hint{font-size:var(--text-xs);color:var(--red);padding-left:2px;font-weight:500}.quick-convert-btn{border-radius:var(--radius-sm);flex-shrink:0;height:38px;padding:0 16px;font-size:.8125rem;font-weight:600}.player-layout{width:100%;min-width:0}.player-back{color:var(--muted);font-size:var(--text-sm);margin-bottom:var(--space-4);transition:var(--transition);cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;min-height:36px;font-family:inherit;font-weight:500;text-decoration:none;display:inline-flex}.player-back:hover{color:var(--accent)}.player-wrapper{border-radius:var(--radius);box-shadow:var(--neu-raised);margin-bottom:var(--space-5);aspect-ratio:16/9;background:#000;width:100%;max-width:100%;position:relative;overflow:hidden}.player-wrapper video{object-fit:contain;width:100%;height:100%;display:block}.yt-player-container{-webkit-user-select:none;user-select:none;background:#000;width:100%;height:100%;position:relative;overflow:hidden}.yt-video-element{object-fit:contain;width:100%;height:100%;display:block}.yt-interactive-overlay{pointer-events:none;z-index:10;display:flex;position:absolute;inset:0 0 56px}.yt-touch-zone{pointer-events:auto;cursor:pointer;height:100%;position:relative}.yt-touch-zone-left{width:38%}.yt-touch-zone-center{justify-content:center;align-items:center;width:24%;display:flex}.yt-touch-zone-right{width:38%}.yt-center-play-btn{-webkit-backdrop-filter:blur(8px);color:#fff;cursor:pointer;z-index:15;background:0 0;border:2px solid #fffc;border-radius:50%;justify-content:center;align-items:center;width:68px;height:68px;transition:transform .22s cubic-bezier(.34,1.56,.64,1),background .2s,opacity .25s,border-color .2s,box-shadow .2s;display:flex;box-shadow:0 4px 20px #00000059}.yt-center-play-btn svg{filter:drop-shadow(0 2px 6px #00000080)}.yt-center-play-btn:hover{background:#ffffff26;border-color:#fff;transform:scale(1.12);box-shadow:0 8px 30px #00000080,0 0 20px #fff3}.yt-center-play-btn:active{transform:scale(.96)}.yt-center-play-btn.yt-btn-visible{opacity:1;pointer-events:auto}.yt-center-play-btn.yt-btn-hidden{opacity:0;pointer-events:none}.yt-player-container:hover .yt-center-play-btn.yt-btn-hidden{opacity:.85;pointer-events:auto}.yt-seek-ripple{pointer-events:none;justify-content:center;align-items:center;width:100%;animation:.65s cubic-bezier(.16,1,.3,1) forwards yt-ripple-expand;display:flex;position:absolute;top:0;bottom:0;overflow:hidden}.yt-seek-ripple-left{background:radial-gradient(at 15%,#ffffff3d 0%,#ffffff14 50%,#0000 80%);border-radius:0 100px 100px 0;left:0}.yt-seek-ripple-right{background:radial-gradient(at 85%,#ffffff3d 0%,#ffffff14 50%,#0000 80%);border-radius:100px 0 0 100px;right:0}.yt-seek-ripple-content{color:#fff;text-shadow:0 2px 8px #000000b3;flex-direction:column;justify-content:center;align-items:center;gap:6px;animation:.65s cubic-bezier(.16,1,.3,1) forwards yt-content-pulse;display:flex}.yt-seek-arrows{justify-content:center;align-items:center;display:flex}.yt-seek-arrows svg{filter:drop-shadow(0 2px 6px #0009)}.yt-seek-label{letter-spacing:.4px;text-transform:lowercase;color:#fff;font-size:13px;font-weight:700}@keyframes yt-ripple-expand{0%{opacity:0;transform:scale(.85)}30%{opacity:1;transform:scale(1)}75%{opacity:.9}to{opacity:0;transform:scale(1.05)}}@keyframes yt-content-pulse{0%{opacity:0;transform:scale(.8)}30%{opacity:1;transform:scale(1.1)}60%{transform:scale(1)}to{opacity:0;transform:scale(.95)}}.player-processing-container{background:var(--surface);width:100%;height:100%;position:relative;overflow:hidden}.player-processing-bg{object-fit:cover;opacity:.25;width:100%;height:100%}.player-processing-overlay{padding:var(--space-5);text-align:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.player-processing-dot{background:var(--accent);width:12px;height:12px;margin-bottom:var(--space-4);animation:1.5s infinite pulse-dot}.player-processing-title{color:var(--heading);margin-bottom:var(--space-2);font-size:var(--heading-sm)}.player-processing-bar-wrap{width:100%;max-width:400px}.player-failed-icon{margin-bottom:var(--space-3);color:var(--destructive);justify-content:center;align-items:center;display:flex}.player-failed-title{color:var(--red);margin-bottom:var(--space-2);font-size:var(--heading-sm)}.player-failed-desc{color:var(--muted);font-size:var(--text-sm);max-width:480px}.player-skeleton-video{aspect-ratio:16/9;border-radius:var(--radius);width:100%;margin-bottom:var(--space-5)}.player-skeleton-card{border-radius:var(--radius);height:180px}.player-info{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);padding:clamp(20px,3vw,28px)}.player-title-row{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.player-title{min-width:0;font-size:var(--heading-md);color:var(--heading);overflow-wrap:anywhere;word-break:break-word;flex:240px;font-weight:700;line-height:1.3}.player-meta{align-items:center;gap:var(--space-4);margin-bottom:var(--space-5);flex-wrap:wrap;display:flex}.player-meta-item{font-size:var(--text-xs);color:var(--muted);align-items:center;gap:5px;display:flex}.player-meta-link{color:var(--accent);text-decoration:underline}.player-downloads{gap:var(--space-2);padding-top:var(--space-4);border-top:1px solid var(--surface-border);flex-wrap:wrap;display:flex}.settings-section{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);margin-bottom:var(--space-5);padding:clamp(20px,3vw,28px)}.settings-section-title{font-size:var(--text-base);color:var(--heading);margin-bottom:var(--space-4);padding-bottom:var(--space-3);border-bottom:1px dashed var(--surface-border);font-weight:600}.settings-row{padding:var(--space-3) 0;justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.settings-row:not(:last-child){border-bottom:1px dashed var(--surface-border)}.settings-label{font-size:var(--text-sm);color:var(--fg);flex-shrink:0;font-weight:500}.settings-value{font-size:var(--text-sm);color:var(--muted);min-width:0}.settings-value--email{word-break:break-all;overflow-wrap:anywhere}.settings-avatar-img{object-fit:cover;border-radius:50%;width:48px;height:48px}.settings-avatar-fallback{background:var(--accent);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.25rem;font-weight:600;display:flex}.settings-action-info{min-width:0}.settings-desc{font-size:var(--text-xs);color:var(--muted);margin-top:4px}.settings-row--actions{justify-content:space-between;align-items:center;display:flex}.help-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));display:grid}.help-card{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius);box-shadow:var(--neu-flat);transition:var(--transition);padding:clamp(18px,3vw,24px)}.help-card:hover{box-shadow:var(--neu-raised);border-color:#d6d0c2}.help-card-icon{border-radius:var(--radius-sm);background:var(--surface-hover);width:40px;height:40px;color:var(--accent);border:1px solid var(--surface-border);margin-bottom:var(--space-3);justify-content:center;align-items:center;display:flex}.help-card-title{font-size:var(--text-base);color:var(--heading);margin-bottom:var(--space-2);font-weight:600}.help-card-desc{font-size:var(--text-xs);color:var(--muted);line-height:1.6}.help-card-link{margin-top:var(--space-3);font-size:var(--text-xs);padding:0;font-weight:600;display:inline-block}.help-faq{margin-bottom:var(--space-6)}.help-faq-item{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius-sm);margin-bottom:var(--space-2);box-shadow:var(--neu-flat);overflow:hidden}.help-faq-q{justify-content:space-between;align-items:center;gap:var(--space-3);font-size:var(--text-sm);color:var(--fg);cursor:pointer;text-align:left;width:100%;transition:var(--transition);background:0 0;border:none;min-height:48px;padding:14px 18px;font-family:inherit;font-weight:600;display:flex}.help-faq-q:hover{background:var(--accent-subtle)}.help-faq-a{font-size:var(--text-sm);color:var(--muted);padding:0 18px 14px;line-height:1.6}.convert-container{width:100%;min-width:0}.convert-page-header{text-align:left;margin-bottom:var(--space-5);width:100%}.convert-card{width:100%;margin-bottom:var(--space-5)}.convert-input-row{gap:var(--space-3);margin-bottom:var(--space-2);align-items:flex-start;display:flex}.convert-input{flex:1;min-width:0;height:38px;font-size:.8125rem}.convert-preview-btn{white-space:nowrap;flex-shrink:0;height:38px;padding:0 16px;font-size:.8125rem;font-weight:600}.convert-error-msg{color:var(--red);font-size:var(--text-xs);margin-top:6px;font-weight:500}.convert-success-msg{color:var(--green);font-size:var(--text-xs);margin-top:6px;font-weight:600}.preview-card{margin-top:var(--space-4);background:var(--warm-surface);border-radius:var(--radius-sm);border:1.5px dashed var(--surface-border);gap:var(--space-4);flex-direction:column;padding:clamp(16px,3vw,24px);display:flex}.preview-media{gap:var(--space-4);flex-wrap:wrap;align-items:flex-start;display:flex}.preview-thumb{aspect-ratio:16/9;border-radius:var(--radius-xs);background:var(--input-bg);flex-shrink:0;width:min(100%,300px);position:relative;overflow:hidden}.preview-thumb img{object-fit:cover;width:100%;height:100%}.preview-thumb-duration{color:#fff;background:#000000d1;border-radius:4px;padding:2px 6px;font-size:.72rem;font-weight:600;position:absolute;bottom:6px;right:6px}.preview-info{flex:1;min-width:220px}.preview-info h4{font-size:var(--text-base);color:var(--fg);margin-bottom:6px;font-weight:600;line-height:1.4}.preview-channel{font-size:var(--text-xs);color:var(--muted);align-items:center;gap:6px;margin-bottom:4px;display:flex}.preview-meta-line{font-size:var(--text-xs);color:var(--muted);margin:0 0 12px}.preview-desc-box{font-size:var(--text-xs);color:var(--fg-soft);background:var(--card-bg);padding:var(--space-3);border-radius:var(--radius-xs);border:1px solid var(--surface-border)}.preview-desc-box h5{font-size:var(--text-xs);color:var(--muted);margin-bottom:6px;font-weight:600}.preview-desc-text{white-space:pre-wrap;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;line-height:1.5;display:-webkit-box;overflow:hidden}.preview-desc-text.expanded{-webkit-line-clamp:unset;display:block}.convert-desc-toggle{color:var(--accent);cursor:pointer;font-size:var(--text-xs);background:0 0;border:none;margin-top:6px;padding:0;font-family:inherit;font-weight:600}.preview-divider{border:none;border-top:1px solid var(--surface-border);margin:0}.preview-rights{cursor:pointer;font-size:var(--text-xs);color:var(--fg-soft);align-items:flex-start;gap:10px;line-height:1.4;display:flex}.preview-rights input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;flex-shrink:0;margin-top:1px}.convert-submit-btn{width:100%;height:38px;font-size:.8125rem;font-weight:600}.convert-tabs{margin-bottom:var(--space-4);border-bottom:1px solid var(--surface-border);gap:8px;padding-bottom:8px;display:flex}.convert-tab-btn{border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:8px 16px;font-family:inherit;font-size:.875rem;font-weight:500;transition:all .2s;display:inline-flex}.convert-tab-btn:hover{color:var(--fg);background:var(--accent-light)}.convert-tab-btn.active{color:var(--accent);background:var(--warm-surface);border-color:var(--surface-border);font-weight:600;box-shadow:0 1px 3px #0000000d}.upload-hidden-input{display:none}.upload-dropzone{border:2px dashed var(--surface-border);border-radius:var(--radius-sm);text-align:center;background:var(--warm-surface);cursor:pointer;margin-bottom:var(--space-3);-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:44px 24px;transition:all .2s;display:flex}.upload-dropzone:hover,.upload-dropzone.dragging{border-color:var(--accent);background:var(--accent-light)}.upload-dropzone.dragging{transform:scale(1.005)}.upload-dropzone-icon{background:var(--card-bg);border:1px solid var(--surface-border);width:58px;height:58px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;margin-bottom:6px;transition:transform .2s;display:flex;box-shadow:0 2px 8px #0000000a}.upload-dropzone:hover .upload-dropzone-icon{transform:translateY(-2px)}.upload-dropzone-primary-text{color:var(--fg);margin:0;font-size:.9375rem;font-weight:500}.upload-browse-link{color:var(--accent);text-underline-offset:3px;font-weight:600;text-decoration:underline}.upload-dropzone-secondary-text{color:var(--muted);margin:0;font-size:.8125rem}.upload-selected-card{margin-top:var(--space-4);background:var(--warm-surface);border-radius:var(--radius-sm);border:1.5px dashed var(--surface-border);gap:var(--space-4);flex-direction:column;padding:clamp(16px,3vw,24px);display:flex}.upload-preview-media{gap:var(--space-4);flex-wrap:wrap;align-items:flex-start;display:flex}.upload-player-wrap{aspect-ratio:16/9;border-radius:var(--radius-xs);background:#000;flex-shrink:0;width:min(100%,320px);position:relative;overflow:hidden;box-shadow:0 2px 8px #0000001f}.upload-preview-video{object-fit:contain;background:#000;width:100%;height:100%}.upload-file-details{flex-direction:column;flex:1;gap:14px;min-width:240px;display:flex}.upload-file-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.upload-filename{color:var(--fg);word-break:break-word;margin:0 0 4px;font-size:.9375rem;font-weight:600}.upload-filesize{color:var(--muted);margin:0;font-size:.8125rem}.upload-remove-btn{white-space:nowrap;height:auto;padding:4px 12px;font-size:.75rem}.upload-title-field{flex-direction:column;gap:6px;display:flex}.upload-input-label{color:var(--fg);font-size:.8125rem;font-weight:600}.upload-title-input{width:100%;height:38px;font-size:.8125rem}.upload-progress-box{background:var(--card-bg);border-radius:var(--radius-xs);border:1px solid var(--surface-border);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.upload-progress-header{color:var(--fg);justify-content:space-between;align-items:center;font-size:.8125rem;font-weight:500;display:flex}.upload-progress-pct{color:var(--accent);font-weight:700}.upload-progress-track{background:var(--warm-surface);border-radius:999px;width:100%;height:8px;overflow:hidden}.upload-progress-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .2s}.section-header{justify-content:space-between;align-items:flex-end;gap:var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.section-header-text{min-width:0}.section-heading{font-size:var(--heading-sm);color:var(--heading);letter-spacing:-.01em;font-weight:700}.section-subheading{font-size:var(--text-xs);color:var(--muted);margin-top:2px}.section-title{font-size:var(--heading-sm);color:var(--heading);margin-bottom:var(--space-4);font-weight:700}.section-view-all{font-size:var(--text-xs);color:var(--accent);transition:var(--transition);align-items:center;gap:5px;font-weight:600;display:inline-flex}.section-view-all:hover{color:var(--accent-hover);transform:translate(2px)}.auth-layout{min-height:100dvh;padding:var(--space-4);background:var(--bg);justify-content:center;align-items:center;display:flex}.auth-container{align-items:center;gap:var(--space-4);flex-direction:column;width:100%;max-width:420px;display:flex}.auth-brand{text-align:center;margin-bottom:var(--space-2)}.auth-brand-link{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:10px;text-decoration:none;transition:opacity .15s,transform .15s;display:inline-flex}.auth-brand-link:hover{opacity:.88;transform:translateY(-1px)}.auth-brand-mark{justify-content:center;align-items:center;display:flex}.auth-brand-logo{width:auto;height:38px;display:block}.auth-brand-text{font-family:"Bricolage Grotesque", var(--font-bricolage), system-ui, -apple-system, sans-serif;letter-spacing:-.03em;color:var(--heading);font-size:1.625rem;font-weight:700;line-height:1}.auth-card{background:var(--card-bg);border:1px solid var(--surface-border);border-radius:var(--radius);width:100%;box-shadow:var(--neu-flat);padding:clamp(20px,5vw,36px)}.auth-heading{font-size:var(--heading-sm);letter-spacing:-.02em;text-align:center;color:var(--heading);font-weight:700}.auth-subheading{font-size:var(--text-xs);color:var(--muted);text-align:center;margin-top:4px;margin-bottom:var(--space-5)}.auth-social-btn{border-radius:var(--radius-sm);border:1px solid var(--surface-border);background:var(--card-bg);width:100%;height:44px;color:var(--fg);font-size:var(--text-sm);cursor:pointer;transition:var(--transition);box-shadow:var(--neu-flat);justify-content:center;align-items:center;gap:10px;font-family:inherit;font-weight:500;display:flex}.auth-social-btn:hover{box-shadow:var(--neu-raised);border-color:#d6d0c2}.auth-social-icon{flex-shrink:0}.auth-divider{margin:var(--space-4) 0;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:12px;font-size:.72rem;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--surface-border);flex:1;height:1px}.auth-form{gap:var(--space-4);flex-direction:column;display:flex}.auth-field{flex-direction:column;gap:6px;display:flex}.auth-label{font-size:var(--text-xs);color:var(--fg-soft);font-weight:600}.auth-input{border-radius:var(--radius-sm);border:1px solid var(--surface-border);background:var(--input-bg);height:44px;color:var(--fg);font-size:var(--text-sm);transition:var(--transition);outline:none;padding:0 14px;font-family:inherit}.auth-input:focus,.auth-input:focus-visible{box-shadow:none;border-color:#c8c2b3;outline:none}.auth-input::placeholder{color:var(--muted);opacity:.55}.auth-error{border-radius:var(--radius-xs);background:var(--red-light);border:1px solid var(--red-border);color:var(--red);font-size:var(--text-xs);padding:10px 14px;line-height:1.4}.auth-submit-btn{border-radius:var(--radius-sm);background:var(--accent);color:#fff;width:100%;height:44px;font-size:var(--text-sm);cursor:pointer;transition:var(--transition);border:none;margin-top:4px;font-family:inherit;font-weight:600}.auth-submit-btn:hover:not(:disabled){background:var(--accent-hover)}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed}.auth-footer{font-size:var(--text-xs);color:var(--muted);text-align:center}.auth-link{color:var(--accent);font-weight:600;text-decoration:underline}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@media (max-width:1024px){.stats-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}.video-grid{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}}.sidebar.collapsed{width:68px}.sidebar.collapsed .sidebar-brand{padding:var(--space-5) var(--space-2) var(--space-4)}.sidebar.collapsed .sidebar-brand-top{justify-content:center}.sidebar.collapsed .sidebar-brand-name{justify-content:center;gap:0}.sidebar.collapsed .sidebar-brand-title,.sidebar.collapsed .sidebar-brand-tagline,.sidebar.collapsed .sidebar-section-label,.sidebar.collapsed .sidebar-item-label,.sidebar.collapsed .sidebar-sub-items,.sidebar.collapsed .sidebar-user-pill-name,.sidebar.collapsed .sidebar-popover-email,.sidebar.collapsed .sidebar-popover-theme-toggle span:first-child{display:none!important}.sidebar.collapsed .sidebar-item{justify-content:center;gap:0;padding:10px}.sidebar.collapsed .sidebar-item-icon{margin:0}.sidebar.collapsed .sidebar-user-pill{justify-content:center;padding:6px}.sidebar-collapse-toggle{border-radius:var(--radius-xs);border:1px solid var(--surface-border);background:var(--surface);width:28px;height:28px;color:var(--muted);cursor:pointer;transition:var(--transition);justify-content:center;align-items:center;display:none}.sidebar-collapse-toggle:hover{background:var(--accent-light);color:var(--fg)}@media (min-width:769px){.sidebar-collapse-toggle{display:inline-flex}.dash-main-area.sidebar-collapsed{margin-left:68px}}@media (min-width:769px) and (max-width:1024px){:root{--sidebar-width:210px}.dash-content{width:100%;max-width:var(--container-max);padding:var(--space-5) var(--space-4) var(--space-5);box-sizing:border-box;margin:0 auto}}@media (max-width:768px){.sidebar{width:min(85vw,300px);max-height:100dvh;padding-bottom:env(safe-area-inset-bottom,0px);z-index:60;transform:translate(-100%);box-shadow:0 0 36px #00000059}.sidebar.open{transform:translate(0)}.sidebar-overlay{pointer-events:none;opacity:0;z-index:55;transition:opacity .25s;display:block}.sidebar-overlay.visible{pointer-events:auto;opacity:1}.sidebar-close-btn{display:flex}.dash-main-area{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important}.dash-menu-btn{display:inline-flex;background:0 0!important;border:none!important}.dash-header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:50!important;width:100%!important;max-width:100%!important;padding:0 var(--space-4)!important;box-sizing:border-box!important;background:var(--bg)!important;border-bottom:none!important;display:flex!important;position:sticky!important;top:0!important}.dash-content{width:100%!important;max-width:100%!important;padding:var(--space-4) var(--space-4) var(--space-6)!important;box-sizing:border-box!important;margin:0!important}.video-grid{gap:var(--space-4);grid-template-columns:minmax(0,1fr)}.filters-bar{align-items:stretch;gap:var(--space-3);flex-direction:column}.filter-tabs,.filters-right{width:100%}.search-input-wrap{width:100%;max-width:100%}.preview-media{flex-direction:column}.preview-thumb{width:100%}.player-downloads{flex-direction:column}.player-downloads .btn{justify-content:center;width:100%}}@media (max-width:640px){.page-header-row{align-items:stretch;gap:var(--space-3);flex-direction:column}.page-header-btn{justify-content:center;width:100%}.quick-convert-row{flex-direction:column;align-items:stretch}.quick-convert-btn{justify-content:center;width:100%}.convert-input-row{flex-direction:column;align-items:stretch}.convert-preview-btn{justify-content:center;width:100%}.dialog-actions{flex-direction:column}.dialog-actions .btn{justify-content:center;width:100%}}@media (max-width:540px){.settings-row{flex-direction:column;align-items:flex-start;gap:4px}.settings-value{text-align:left}.settings-row--actions{align-items:stretch;gap:var(--space-3);flex-direction:column}.settings-row--actions .signout-btn{justify-content:center;width:100%}}@media (max-width:480px){.stats-grid{gap:var(--space-2);grid-template-columns:minmax(0,1fr)}.stat-card{padding:var(--space-3) var(--space-4)}.dash-header-name{display:none}.auth-card{padding:var(--space-4)}.vid-card-actions{gap:6px}.btn-card-action{flex:auto;min-width:0}.dialog-box{padding:var(--space-4)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:focus-visible:not(input):not(textarea):not(select){outline:2px solid var(--accent);outline-offset:2px}input:focus,input:focus-visible,textarea:focus,textarea:focus-visible,select:focus,select:focus-visible{box-shadow:none!important;outline:none!important}.dark input:focus,.dark input:focus-visible,.dark textarea:focus,.dark textarea:focus-visible,.dark select:focus,.dark select:focus-visible{box-shadow:none!important;border-color:#e4e0d638!important;outline:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.logo-dark{display:none!important}.logo-light,.dark .logo-dark{display:block!important}.dark .logo-light{display:none!important}.history-container{gap:var(--space-3);max-width:var(--container-max);flex-direction:column;flex:1;width:100%;height:calc(100dvh - 120px);min-height:calc(100dvh - 120px);margin:0 auto;display:flex}.history-header-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.history-count-badge{background:var(--warm-surface);border:1px dashed var(--surface-border);font-size:var(--text-xs);color:var(--fg-soft);border-radius:9999px;align-items:center;gap:6px;padding:5px 12px;font-weight:600;display:inline-flex}.history-refresh-btn{background:var(--card-bg);border:1px dashed var(--surface-border);border-radius:var(--radius-sm);height:38px;color:var(--fg);font-size:var(--text-xs);cursor:pointer;transition:var(--transition);justify-content:center;align-items:center;gap:6px;padding:0 14px;font-weight:600;display:inline-flex}.history-refresh-btn:hover:not(:disabled){background:var(--warm-surface);border-color:var(--border-hover)}.history-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.history-refresh-btn.spinning svg{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.history-filters-card{background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius-sm);padding:var(--space-4);gap:var(--space-3);flex-direction:column;flex-shrink:0;display:flex}.history-filters-card .filter-tabs{border:1px dashed var(--surface-border)}.dark .history-filters-card .filter-tabs{border:1px dashed #e4e0d629}.history-filters-row{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.history-filters-left{align-items:center;gap:var(--space-3);flex-wrap:wrap;flex:1;display:flex}.history-filters-right{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.history-search-wrap{flex:1;min-width:240px;max-width:360px;position:relative}.history-search-wrap svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.history-search-input{border-radius:var(--radius-xs);border:1px dashed var(--surface-border);background:var(--input-bg);width:100%;height:38px;color:var(--fg);font-size:var(--text-sm);transition:var(--transition);padding:0 32px 0 36px;font-family:inherit}.history-search-input:focus{border-color:var(--accent)}.history-search-clear{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.history-search-clear:hover{color:var(--fg)}.history-select-group{align-items:center;gap:8px;display:flex}.history-select-label{font-size:var(--text-xs);color:var(--muted);white-space:nowrap;font-weight:500}.history-select,.filter-select{border-radius:var(--radius-sm);border:1px solid var(--surface-border);background:var(--input-bg);height:40px;color:var(--fg);font-size:var(--text-xs);cursor:pointer;appearance:none;transition:var(--transition);background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377796F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-position:right 10px center;background-repeat:no-repeat;background-size:16px;padding:0 34px 0 12px;font-family:inherit;font-weight:500}.history-select:focus,.filter-select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 2px #5ea17233}.history-select option,.filter-select option{background-color:var(--card-bg,#21241d);color:var(--fg,#faf7ee)}.history-items-list{gap:var(--space-3);scrollbar-width:thin;scrollbar-color:#e4e0d640 transparent;flex-direction:column;flex:1;min-height:0;padding-right:6px;display:flex;overflow-y:auto}.history-items-list::-webkit-scrollbar{width:6px}.history-items-list::-webkit-scrollbar-track{background:0 0}.history-items-list::-webkit-scrollbar-thumb{background:#31372b33;border-radius:9999px}.dark .history-items-list::-webkit-scrollbar-thumb{background:#e4e0d633;border-radius:9999px}.dark .history-items-list::-webkit-scrollbar-thumb:hover{background:#e4e0d659}.history-item-row{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4);background:var(--card-bg);border:1.5px dashed var(--surface-border);border-radius:var(--radius-sm);transition:var(--transition);flex-shrink:0;display:flex}.history-item-row:hover{border-color:var(--border-hover);box-shadow:var(--neu-raised)}.history-item-main{align-items:center;gap:var(--space-4);flex:1;min-width:280px;display:flex}.history-thumb-wrap{aspect-ratio:16/9;border-radius:var(--radius-xs);background:var(--warm-surface);border:1px dashed var(--surface-border);flex-shrink:0;width:140px;position:relative;overflow:hidden}.history-thumb-img{object-fit:cover;width:100%;height:100%}.history-thumb-fallback{width:100%;height:100%;color:var(--muted);background:var(--warm-surface);justify-content:center;align-items:center;display:flex}.history-thumb-duration{color:#fff;background:#000000bf;border-radius:3px;padding:1px 4px;font-size:10px;font-weight:600;position:absolute;bottom:4px;right:4px}.history-thumb-source-badge{color:#fff;text-transform:uppercase;letter-spacing:.05em;background:#31372bd9;border-radius:3px;padding:1px 5px;font-size:9px;font-weight:700;position:absolute;top:4px;left:4px}.history-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.history-title{font-size:var(--text-sm);color:var(--fg);-webkit-line-clamp:2;transition:var(--transition);-webkit-box-orient:vertical;font-weight:600;line-height:1.35;text-decoration:none;display:-webkit-box;overflow:hidden}.history-title:hover{color:var(--primary)}.history-meta-row{font-size:var(--text-xs);color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.history-channel{color:var(--fg-soft);font-weight:500}.history-item-status-col{flex-direction:column;gap:6px;min-width:170px;display:flex}.history-item-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.history-action-btn{border-radius:var(--radius-xs);height:32px;font-size:var(--text-xs);cursor:pointer;transition:var(--transition);border:1px dashed var(--surface-border);background:var(--warm-surface);color:var(--fg);white-space:nowrap;justify-content:center;align-items:center;gap:5px;padding:0 10px;font-family:inherit;font-weight:600;text-decoration:none;display:inline-flex}.history-action-btn:hover:not(:disabled){border-color:var(--border-hover);background:var(--card-bg)}.history-action-btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.history-action-btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}.history-action-btn-danger{color:var(--red);background:var(--red-light);border-color:var(--red-border)}.history-action-btn-danger:hover:not(:disabled){background:#b83a3a29}.history-pagination-bar{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4) 0 var(--space-2);border-top:1.5px dashed var(--surface-border);flex-wrap:wrap;flex-shrink:0;margin-top:auto;display:flex}.history-pagination-info{font-size:var(--text-xs);color:var(--muted)}.history-pagination-controls{align-items:center;gap:6px;display:flex}.history-page-btn{min-width:32px;height:32px;font-size:var(--text-xs);border-radius:var(--radius-xs);border:1px dashed var(--surface-border);background:var(--card-bg);color:var(--fg);cursor:pointer;transition:var(--transition);justify-content:center;align-items:center;padding:0 8px;font-weight:600;display:inline-flex}.history-page-btn:hover:not(:disabled){background:var(--warm-surface);border-color:var(--border-hover)}.history-page-btn:disabled{opacity:.4;cursor:not-allowed}.history-page-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}.history-error-chip{color:var(--red);cursor:pointer;background:var(--red-light);border:1px solid var(--red-border);border-radius:4px;align-items:center;gap:4px;padding:2px 6px;font-size:11px;font-weight:500;display:inline-flex}@media (max-width:840px){.history-item-row,.history-item-main{flex-direction:column;align-items:stretch}.history-thumb-wrap{width:100%}.history-item-actions{justify-content:flex-start}}.dark .history-filters-card,.dark .history-item-row{background:#1c1e19;border:1.5px dashed #e4e0d629!important}.dark .history-item-row:hover{border:1.5px dashed #e4e0d652!important}.dark .history-thumb-wrap{border:1px dashed #e4e0d629!important}.dark .history-pagination-bar{border-top:1.5px dashed #e4e0d629!important}.dark .history-action-btn-primary{color:#faf7ee!important;background:#2d3426!important;border:1px solid #e4e0d647!important}.dark .history-action-btn-primary:hover:not(:disabled){color:#fff!important;background:#394230!important;border-color:#e4e0d673!important}.dark .history-page-btn.active{color:#faf7ee!important;background:#2d3426!important;border:1px solid #e4e0d659!important}.dark .history-page-btn.active:hover:not(:disabled){color:#fff!important;background:#394230!important}.dark .history-page-btn{color:#faf7ee;background:#21241d;border:1px dashed #e4e0d629}.dark .history-page-btn:hover:not(:disabled){color:#fff;background:#2d3426;border-color:#e4e0d652}.dark .history-action-btn{color:#faf7ee;background:#21241d;border:1px dashed #e4e0d629}.dark .history-action-btn:hover:not(:disabled){color:#fff;background:#2d3426;border-color:#e4e0d652}.dark .history-select,.dark .filter-select{color:#faf7ee;background-color:#21241d;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAF7EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");border:1px solid #e4e0d629}.dark .history-select option,.dark .filter-select option{color:#faf7ee;background-color:#21241d}.dark .history-refresh-btn{color:#faf7ee;background:#21241d;border:1px dashed #e4e0d629}.dark .history-refresh-btn:hover:not(:disabled){color:#fff;background:#2d3426;border-color:#e4e0d652}.dark .history-search-input{color:#faf7ee;background:#21241d;border:1px dashed #e4e0d629}.dark .history-search-input:focus{border-color:#e4e0d666}.dark .history-count-badge{color:var(--fg);background:#ffffff0d;border:1px dashed #ffffff29}.fav-btn{cursor:pointer;border:none;outline:none;justify-content:center;align-items:center;gap:6px;font-family:inherit;font-weight:500;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex}.fav-btn:focus-visible{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px #ef4444}.fav-btn-floating{-webkit-backdrop-filter:blur(8px);color:#fff;background:#121611b8;border:1px solid #ffffff2e;border-radius:50%;width:32px;height:32px;box-shadow:0 2px 8px #00000047}.fav-btn-floating:hover:not(:disabled){color:#fff;background:#121611eb;transform:scale(1.08)}.fav-btn-floating.fav-btn-active{color:#ef4444;background:#fef2f2f5;border-color:#ef444466;box-shadow:0 2px 10px #ef444440}.dark .fav-btn-floating.fav-btn-active{color:#ef4444;background:#2d0f0feb;border-color:#ef444480}.fav-btn-ghost{color:var(--muted);border-radius:var(--radius-xs,6px);background:0 0;padding:6px}.fav-btn-ghost:hover:not(:disabled){background:var(--accent-light);color:var(--fg)}.fav-btn-ghost.fav-btn-active{color:#ef4444}.fav-btn-pill{background:var(--surface-warm);color:var(--fg);border:1px solid var(--surface-border);border-radius:9999px;padding:6px 14px;font-size:.85rem}.fav-btn-pill:hover:not(:disabled){background:var(--surface);border-color:var(--border-hover)}.fav-btn-pill.fav-btn-active{color:#ef4444;background:#ef444414;border-color:#ef44444d}.fav-btn-sm{width:28px;height:28px;font-size:.75rem}.fav-btn-sm.fav-btn-pill{width:auto;padding:4px 10px}.fav-btn-md{width:34px;height:34px;font-size:.85rem}.fav-btn-md.fav-btn-pill{width:auto;padding:6px 14px}.fav-btn-lg{width:40px;height:40px;font-size:.95rem}.fav-btn-lg.fav-btn-pill{width:auto;padding:8px 18px}.fav-btn-active .fav-btn-heart-filled{animation:.3s cubic-bezier(.175,.885,.32,1.275) heartPop}@keyframes heartPop{0%{transform:scale(.8)}50%{transform:scale(1.25)}to{transform:scale(1)}}.fav-btn-spinner{animation:.75s linear infinite favSpin}@keyframes favSpin{to{transform:rotate(360deg)}}.fav-btn-loading{opacity:.7;cursor:wait}.vid-card-fav-btn{z-index:4;position:absolute;top:8px;right:8px}.fav-card-saved-badge{color:#e11d48;align-items:center;gap:4px;font-size:.75rem;font-weight:500;display:inline-flex}.fav-count-pill{background:var(--accent-light);color:var(--fg);border-radius:9999px;align-items:center;margin-left:8px;padding:3px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.download-count-pill{background:var(--accent-light,#5ea17224);color:var(--heading,#faf7ee);border:1px solid var(--accent,#5ea172);border-radius:9999px;align-items:center;padding:4px 12px;font-size:.82rem;font-weight:600;display:inline-flex}.download-success-banner{border-radius:var(--radius-sm,8px);color:#38c79d;background:#5ea1721f;border:1px solid #5ea1724d;align-items:center;gap:12px;padding:12px 16px;font-size:.88rem;font-weight:500;display:flex}.download-card{border:1px solid var(--surface-border,#e4e0d61f);background:var(--card-bg,#262a22);border-radius:var(--radius-md,12px);padding:0;transition:border-color .2s,box-shadow .2s;overflow:hidden}.download-card:hover{border-color:var(--border-hover,#e4e0d647);box-shadow:var(--neu-raised-hover,0 4px 12px #00000073)}.download-card-header{border-bottom:1px solid var(--surface-border,#e4e0d614);background:#00000014;align-items:flex-start;gap:18px;padding:20px 24px;display:flex}.download-card-thumb-wrap{background:var(--surface-muted,#1c1e19);border-radius:6px;flex-shrink:0;width:140px;height:80px;position:relative;overflow:hidden}.download-card-thumb{object-fit:cover;width:100%;height:100%;display:block}.download-card-thumb-placeholder{width:100%;height:100%;color:var(--muted);justify-content:center;align-items:center;display:flex}.download-card-duration-badge{color:#fff;letter-spacing:.02em;background:#000000bf;border-radius:4px;padding:2px 5px;font-size:.7rem;font-weight:600;position:absolute;bottom:5px;right:5px}.download-card-info{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.download-card-title-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.download-card-title{color:var(--heading,#faf7ee);margin:0;font-size:1.05rem;font-weight:600;line-height:1.35}.download-card-title-link{color:inherit;text-decoration:none;transition:color .15s}.download-card-title-link:hover{color:var(--accent,#5ea172)}.download-card-status-wrap{flex-shrink:0;align-items:center;gap:8px;display:flex}.download-asset-count-pill{color:var(--accent,#5ea172);background:#5ea17226;border:1px solid #5ea17240;border-radius:6px;align-items:center;padding:2px 8px;font-size:.74rem;font-weight:600;display:inline-flex}.download-card-meta{color:var(--muted,#faf7eea6);flex-wrap:wrap;align-items:center;gap:14px;font-size:.8rem;display:flex}.download-card-meta-item{align-items:center;gap:5px;display:inline-flex}.download-card-meta-link{color:var(--accent,#5ea172);font-weight:500;text-decoration:none;transition:opacity .15s}.download-card-meta-link:hover{text-decoration:underline}.download-card-body{padding:0}.download-assets-list{flex-direction:column;display:flex}.download-asset-row{border-bottom:1px solid var(--surface-border,#e4e0d612);justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;transition:background-color .15s;display:flex}.download-asset-row:last-child{border-bottom:none}.download-asset-row:hover{background-color:#faf7ee05}.download-asset-left{align-items:center;gap:14px;min-width:0;display:flex}.download-asset-icon-box{background:var(--surface-muted,#faf7ee0f);width:36px;height:36px;color:var(--heading,#faf7ee);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.download-asset-text{flex-direction:column;gap:2px;display:flex}.download-asset-label-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.download-asset-label{color:var(--heading,#faf7ee);font-size:.92rem;font-weight:600}.download-format-pill{letter-spacing:.03em;text-transform:uppercase;border-radius:4px;align-items:center;padding:1px 7px;font-size:.72rem;font-weight:700;display:inline-flex}.format-mp4{color:#38c79d;background:#38c79d26;border:1px solid #38c79d4d}.format-srt{color:#e5b25d;background:#d4a24726;border:1px solid #d4a2474d}.format-vtt{color:#a5b4fc;background:#6366f126;border:1px solid #6366f14d}.format-wav{color:#f472b6;background:#ec489926;border:1px solid #ec48994d}.download-asset-specs{color:var(--muted,#faf7ee99);align-items:center;gap:6px;font-size:.76rem;display:flex}.download-asset-bullet{opacity:.5}.download-action-btn{white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:6px 14px;font-size:.82rem;font-weight:600;display:inline-flex}.download-btn-spinner{animation:.8s linear infinite downloadSpin}@keyframes downloadSpin{to{transform:rotate(360deg)}}.download-state-message{color:var(--muted);align-items:center;gap:12px;padding:20px 24px;font-size:.88rem;display:flex}.download-state-message p{margin:3px 0 0;font-size:.8rem}.download-state-missing{color:var(--destructive);background:#d95d600d}.download-state-processing{background:#0000000a}.download-state-failed{color:var(--destructive);background:#d95d600f}@media (max-width:640px){.download-card-header{flex-direction:column;padding:16px}.download-card-thumb-wrap{width:100%;height:140px}.download-asset-row{flex-direction:column;align-items:flex-start;padding:12px 16px}.download-asset-action{width:100%;margin-top:6px}.download-action-btn{justify-content:center;width:100%}}.settings-container{width:100%;max-width:100%;margin:0}.settings-nav-tabs{border-bottom:1px solid var(--surface-border,#31372b1f);-webkit-overflow-scrolling:touch;align-items:center;gap:6px;margin-bottom:24px;padding-bottom:2px;display:flex;overflow-x:auto}.settings-nav-tab{color:var(--muted,#31372ba6);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;border-radius:6px 6px 0 0;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:.92rem;font-weight:500;transition:all .18s;display:inline-flex}.settings-nav-tab:hover{color:var(--fg,#31372b);background:var(--surface-muted,#31372b0a)}.settings-nav-tab.active{color:var(--heading,#31372b);border-bottom-color:var(--heading,#31372b);background:0 0;font-weight:600}.settings-nav-tab svg{flex-shrink:0;transition:transform .15s}.settings-nav-tab.active svg{transform:translateY(-.5px)}.settings-card{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b1f);border-radius:12px;margin-bottom:24px;overflow:hidden;box-shadow:0 1px 3px #00000008}.settings-card-header{border-bottom:1px solid var(--surface-border,#31372b14);padding:24px}.settings-card-title{color:var(--heading,#31372b);margin:0 0 4px;font-size:1.15rem;font-weight:700}.settings-card-desc{color:var(--muted,#31372bb3);margin:0;font-size:.88rem}.settings-card-body{padding:24px}.settings-card-footer{background:var(--surface-muted,#31372b05);border-top:1px solid var(--surface-border,#31372b14);justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.settings-divider{background:var(--surface-border,#31372b14);height:1px;margin:20px 0}.settings-form-row{grid-template-columns:minmax(240px,320px) 1fr;align-items:flex-start;gap:32px;display:grid}.settings-label-col{padding-top:4px}.settings-field-label{color:var(--heading,#31372b);margin-bottom:4px;font-size:.92rem;font-weight:600;display:block}.settings-field-hint{color:var(--muted,#31372ba6);margin:0;font-size:.8rem;line-height:1.4}.settings-input-col{width:100%;max-width:680px}.settings-input,.settings-select{width:100%;color:var(--fg,#31372b);background:var(--input-bg,#fff);border:1px solid var(--surface-border,#31372b33);box-sizing:border-box;border-radius:8px;padding:10px 14px;font-family:inherit;font-size:.92rem;transition:all .15s}.settings-input:focus,.settings-select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #1a6b5426}.settings-avatar-wrapper{align-items:center;gap:16px;display:flex}.settings-avatar-img,.settings-avatar-initials{object-fit:cover;border-radius:50%;flex-shrink:0;width:60px;height:60px}.settings-avatar-initials{background:var(--primary,#1a6b54);color:#fff;justify-content:center;align-items:center;font-size:1.4rem;font-weight:700;display:flex}.settings-avatar-meta{flex-direction:column;gap:4px;display:flex}.settings-avatar-name{color:var(--heading,#31372b);font-size:1rem;font-weight:600}.settings-role-badge{background:var(--surface-muted,#31372b14);color:var(--muted,#31372bcc);text-transform:uppercase;border-radius:4px;align-items:center;width:fit-content;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-flex}.settings-readonly-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.settings-readonly-text{color:var(--heading,#31372b);font-size:.95rem;font-weight:500}.settings-badge-verified{color:#1a6b54;background:#38c79d26;border:1px solid #38c79d4d;border-radius:4px;align-items:center;gap:4px;padding:2px 8px;font-size:.74rem;font-weight:600;display:inline-flex}.settings-badge-unverified{color:var(--destructive,#d95d60);background:#d95d601f;border-radius:4px;align-items:center;padding:2px 8px;font-size:.74rem;font-weight:600;display:inline-flex}.settings-note-text{color:var(--muted,#31372b99);margin:6px 0 0;font-size:.78rem}.settings-badge-primary-lang{background:var(--surface-muted,#31372b0d);border:1px solid var(--surface-border,#31372b1f);border-radius:8px;align-items:center;gap:12px;padding:12px 16px;display:flex}.settings-badge-lang-code{background:var(--primary,#1a6b54);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;font-size:.9rem;font-weight:700;display:flex}.settings-badge-lang-title{color:var(--heading,#31372b);font-size:.94rem;font-weight:600}.settings-badge-lang-sub{color:var(--muted,#31372ba6);font-size:.78rem}.settings-options-grid{grid-template-columns:1fr;gap:10px;display:grid}.settings-option-card{border:1.5px solid var(--surface-border,#31372b1f);background:var(--card-bg,#fff);cursor:pointer;border-radius:8px;align-items:flex-start;gap:12px;padding:12px 16px;transition:all .15s;display:flex}.settings-option-card:hover{border-color:var(--primary)}.settings-option-card.active{border-color:var(--primary);background:#1a6b540a}.settings-option-radio{accent-color:var(--primary);margin-top:3px}.settings-option-title{color:var(--heading,#31372b);font-size:.92rem;font-weight:600}.settings-option-desc{color:var(--muted,#31372ba6);margin-top:2px;font-size:.78rem}.settings-switch-label{cursor:pointer;align-items:center;gap:12px;display:inline-flex}.settings-switch-input{display:none}.settings-switch-slider{background:var(--surface-border,#ccc);border-radius:24px;width:44px;height:24px;transition:background-color .2s;position:relative}.settings-switch-slider:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px}.settings-switch-input:checked+.settings-switch-slider{background:var(--primary,#1a6b54)}.settings-switch-input:checked+.settings-switch-slider:before{transform:translate(20px)}.settings-switch-text{color:var(--heading,#31372b);font-size:.88rem;font-weight:500}.settings-checkbox-row{color:var(--heading,#31372b);cursor:pointer;align-items:center;gap:10px;font-size:.88rem;display:flex}.settings-checkbox{width:17px;height:17px;accent-color:var(--primary);cursor:pointer}.settings-sub-label{color:var(--heading,#31372b);margin-bottom:6px;font-size:.82rem;font-weight:600}.settings-segmented-group{background:var(--surface-muted,#31372b0f);border:1px solid var(--surface-border,#31372b1a);border-radius:8px;padding:3px;display:inline-flex}.settings-segmented-btn{color:var(--muted,#31372bb3);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:6px 14px;font-family:inherit;font-size:.82rem;font-weight:500;transition:all .15s}.settings-segmented-btn.active{background:var(--card-bg,#fff);color:var(--heading,#31372b);font-weight:600;box-shadow:0 1px 2px #0000000f}.settings-pills-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.settings-pill-btn{border:1px solid var(--surface-border,#31372b26);background:var(--card-bg,#fff);color:var(--heading,#31372b);cursor:pointer;border-radius:20px;padding:6px 14px;font-family:inherit;font-size:.82rem;font-weight:500;transition:all .15s}.settings-pill-btn:hover{border-color:var(--primary)}.settings-pill-btn.active{background:var(--primary,#1a6b54);color:#fff;border-color:var(--primary);font-weight:600}.settings-channel-badge-banner{color:var(--primary);background:#1a6b5414;border:1px solid #1a6b5433;border-radius:8px;align-items:center;gap:14px;margin:0 24px 20px;padding:14px 18px;display:flex}.settings-channel-title{color:var(--heading,#31372b);font-size:.92rem;font-weight:600}.settings-channel-sub{color:var(--muted,#31372bb3);margin-top:2px;font-size:.8rem}.settings-toggle-row{justify-content:space-between;align-items:center;gap:24px;padding:4px 0;display:flex}.settings-toggle-info{flex:1}.settings-toggle-title{color:var(--heading,#31372b);align-items:center;gap:8px;font-size:.94rem;font-weight:600;display:flex}.settings-toggle-desc{color:var(--muted,#31372ba6);margin-top:2px;font-size:.8rem;line-height:1.4}.settings-badge-required{background:var(--surface-muted,#31372b1a);color:var(--muted,#31372bb3);text-transform:uppercase;border-radius:4px;padding:1px 6px;font-size:.68rem;font-weight:700}.settings-session-row{align-items:center;gap:16px;display:flex}.settings-session-icon{background:var(--surface-muted,#31372b0f);width:44px;height:44px;color:var(--heading,#31372b);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.settings-session-title{color:var(--heading,#31372b);align-items:center;gap:8px;font-size:.94rem;font-weight:600;display:flex}.settings-session-desc{color:var(--muted,#31372ba6);margin-top:2px;font-size:.8rem}.settings-badge-current-session{color:#1a6b54;background:#38c79d26;border-radius:4px;padding:2px 7px;font-size:.7rem;font-weight:600;display:inline-flex}.settings-copyable-box{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.settings-user-id-code{background:var(--surface-muted,#31372b0f);color:var(--heading,#31372b);border:1px solid var(--surface-border,#31372b1a);border-radius:6px;padding:6px 12px;font-family:monospace;font-size:.85rem}.settings-role-pill{letter-spacing:.04em;background:var(--primary,#1a6b54);color:#fff;border-radius:4px;padding:3px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.settings-links-list{flex-direction:column;gap:8px;display:flex}.settings-text-link{color:var(--primary);font-size:.88rem;font-weight:500;text-decoration:none;transition:opacity .15s}.settings-text-link:hover{text-decoration:underline}.settings-signout-row{justify-content:space-between;align-items:center;width:100%;display:flex}.settings-signout-text{color:var(--muted,#31372bcc);font-size:.88rem}.settings-card-danger{border-color:#d95d604d}.settings-card-danger .settings-card-header{background:#d95d6008}.settings-danger-row{justify-content:space-between;align-items:center;gap:24px;display:flex}.settings-danger-title{color:var(--heading,#31372b);font-size:.94rem;font-weight:600}.settings-danger-desc{color:var(--muted,#31372ba6);margin-top:2px;font-size:.8rem}.settings-notice{border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:.88rem;animation:.18s fadeIn;display:flex}.settings-notice-success{color:#1a6b54;background:#38c79d1f;border:1px solid #38c79d4d}.settings-notice-error{color:var(--destructive,#d95d60);background:#d95d601a;border:1px solid #d95d6040}.settings-notice-close{color:inherit;cursor:pointer;opacity:.7;background:0 0;border:none;font-size:1.2rem;line-height:1}.settings-notice-close:hover{opacity:1}.settings-dirty-hint{color:#d97706;margin-right:auto;font-size:.82rem;font-weight:500}.settings-actions-group{align-items:center;gap:10px;display:flex}.settings-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0000008c;justify-content:center;align-items:center;padding:20px;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.settings-modal-card{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b26);border-radius:12px;width:100%;max-width:480px;overflow:hidden;box-shadow:0 10px 30px #00000026}.settings-modal-header{border-bottom:1px solid var(--surface-border,#31372b14);align-items:center;gap:14px;padding:20px 24px;display:flex}.settings-modal-warning-icon{width:40px;height:40px;color:var(--destructive,#d95d60);background:#d95d601f;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.settings-modal-title{color:var(--heading,#31372b);margin:0;font-size:1.1rem;font-weight:700}.settings-modal-subtitle{color:var(--muted,#31372ba6);margin:2px 0 0;font-size:.8rem}.settings-modal-body{padding:20px 24px}.settings-modal-text{color:var(--fg,#31372b);margin:0 0 10px;font-size:.88rem}.settings-modal-list{color:var(--muted,#31372bbf);margin:0 0 18px;padding-left:20px;font-size:.82rem;line-height:1.5}.settings-modal-field{margin-top:14px}.settings-modal-footer{background:var(--surface-muted,#31372b05);border-top:1px solid var(--surface-border,#31372b14);justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.dark .settings-card{background:#faf7ee08;border-color:#faf7ee14}.dark .settings-card-header,.dark .settings-card-footer,.dark .settings-divider{border-color:#faf7ee14}.dark .settings-card-footer{background:#00000026}.dark .settings-input,.dark .settings-select{color:#faf7ee;background:#00000040;border-color:#faf7ee26}.dark .settings-nav-tab{color:#9ca294}.dark .settings-nav-tab:hover{color:#faf7ee;background:#faf7ee0d}.dark .settings-nav-tab.active{color:#faf7ee!important;border-bottom-color:#faf7ee!important}.dark .settings-nav-tab.active svg{color:#faf7ee!important}.dark .settings-option-card{background:#faf7ee05;border-color:#faf7ee14}.dark .settings-option-card.active{background:#38c79d14;border-color:#38c79d}.dark .settings-pill-btn{color:#faf7ee;background:#faf7ee0a;border-color:#faf7ee1f}.dark .settings-pill-btn.active{color:#1a241b;background:#38c79d;border-color:#38c79d}.dark .settings-segmented-group{background:#0000004d;border-color:#faf7ee14}.dark .settings-segmented-btn.active{color:#faf7ee;background:#faf7ee1a}.dark .settings-modal-card{background:#1d231a;border-color:#faf7ee1a}@media (max-width:768px){.settings-form-row{grid-template-columns:1fr;gap:8px}.settings-input-col{max-width:100%}.settings-card-header,.settings-card-body,.settings-card-footer{padding:16px}.settings-channel-badge-banner{margin:0 16px 16px;padding:12px}.settings-card-footer{flex-direction:column-reverse;align-items:stretch}.settings-actions-group{justify-content:stretch;width:100%}.settings-actions-group .btn{flex:1}.settings-danger-row{flex-direction:column;align-items:flex-start}.settings-danger-row .btn{width:100%;margin-top:8px}}.help-container{width:100%;max-width:100%;padding-bottom:var(--space-6)}.help-search-section{background:var(--surface-muted,#31372b0a);border:1px solid var(--surface-border,#31372b1a);border-radius:var(--radius-sm,8px);padding:var(--space-4) var(--space-5);margin-bottom:var(--space-5)}.help-search-box{width:100%;position:relative}.help-search-input-wrap{align-items:center;width:100%;display:flex;position:relative}.help-search-icon{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.help-search-input{width:100%;height:40px;font-size:var(--text-sm,.8125rem);color:var(--fg,#31372b);background:var(--input-bg,#fff);border:1px solid var(--surface-border,#31372b2e);border-radius:var(--radius-sm,6px);box-shadow:var(--neu-flat);transition:var(--transition);box-sizing:border-box;padding:0 36px 0 38px;font-family:inherit}.help-search-input:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #1a6b541f}.help-search-clear-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:color .15s;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.help-search-clear-btn:hover{color:var(--fg,#31372b)}.help-search-chips{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.help-search-chip-label{font-size:var(--text-xs,.72rem);color:var(--muted);margin-right:2px;font-weight:500}.help-search-chip{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b1f);font-size:var(--text-xs,.72rem);color:var(--heading,#31372b);cursor:pointer;transition:var(--transition);border-radius:14px;padding:2px 10px;font-weight:500}.help-search-chip:hover{color:var(--primary);background:#1a6b5414;border-color:#1a6b5440}.help-main-tabs{border-bottom:1px solid var(--surface-border,#31372b1a);margin-bottom:var(--space-5);align-items:center;gap:6px;display:flex}.help-main-tab-btn{font-size:var(--text-sm,.8125rem);color:var(--muted);cursor:pointer;transition:var(--transition);background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:10px 14px;font-weight:600;display:inline-flex;position:relative}.help-main-tab-btn:hover{color:var(--heading,#31372b)}.help-main-tab-btn.active{color:#2d3426;box-shadow:none;background:0 0;border-bottom-color:#2d3426}.help-tab-badge{background:var(--surface-muted,#31372b14);color:var(--muted);font-size:var(--text-xs,.72rem);border-radius:8px;padding:1px 6px;font-weight:700}.help-main-tab-btn.active .help-tab-badge{color:#2d3426;background:#2d34261f}.help-search-results-header{margin-bottom:var(--space-3);justify-content:space-between;align-items:center;display:flex}.help-search-results-title{font-size:var(--heading-sm,.875rem);color:var(--heading,#31372b);margin:0;font-weight:700}.help-search-results-count{font-size:var(--text-xs,.72rem);color:var(--muted)}.help-article-list{flex-direction:column;gap:10px;display:flex}.help-article-card{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b1a);border-radius:var(--radius-sm,8px);padding:var(--space-4);cursor:pointer;transition:var(--transition)}.help-article-card:hover{border-color:var(--primary);box-shadow:var(--neu-raised);transform:translateY(-1px)}.help-article-card-header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:6px;display:flex}.help-article-title{font-size:var(--heading-sm,.875rem);color:var(--heading,#31372b);letter-spacing:-.01em;margin:0;font-weight:650}.help-article-badge{font-size:var(--text-xs,.72rem);text-transform:uppercase;letter-spacing:.04em;background:var(--surface-muted,#31372b0f);color:var(--muted);white-space:nowrap;border-radius:4px;padding:2px 7px;font-weight:600}.help-article-summary{font-size:var(--text-sm,.8125rem);color:var(--muted);margin:0 0 10px;line-height:1.45}.help-article-tags{flex-wrap:wrap;gap:5px;display:flex}.help-article-tag{font-size:var(--text-xs,.72rem);color:var(--muted);background:var(--surface-muted,#31372b0a);border-radius:4px;padding:1px 6px}.help-section-title{font-size:var(--heading-sm,.875rem);color:var(--heading,#31372b);letter-spacing:-.01em;margin:0 0 3px;font-weight:700}.help-section-desc{font-size:var(--text-xs,.72rem);color:var(--muted);margin:0 0 var(--space-4) 0}.help-gs-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));display:grid}.help-gs-card{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b1a);border-radius:var(--radius-sm,8px);padding:var(--space-4);transition:var(--transition);flex-direction:column;display:flex;position:relative}.help-gs-card:hover{box-shadow:var(--neu-raised);border-color:#2d342659}.help-gs-icon-wrap{color:#373a31;width:40px;height:40px;transition:var(--transition);background:#373a3114;border:1px solid #373a3129;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;margin-bottom:12px;display:flex}.help-gs-card:hover .help-gs-icon-wrap{color:#faf7ee;background:#373a31;border-color:#373a31}.help-gs-card-title{font-size:var(--heading-sm,.875rem);color:var(--heading,#31372b);margin:0 0 6px;font-weight:650}.help-gs-card-desc{font-size:var(--text-sm,.8125rem);color:var(--muted);flex:1;margin:0 0 14px;line-height:1.45}.help-gs-card-btn{font-size:var(--text-xs,.72rem);color:var(--heading,#31372b);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-weight:600;transition:gap .15s,color .15s;display:inline-flex}.help-gs-card-btn:hover{color:#2d3426;gap:6px;text-decoration:underline}.help-faq-group{margin-bottom:var(--space-5)}.help-faq-category-header{border-bottom:1px solid var(--surface-border,#31372b14);color:var(--heading,#31372b);align-items:center;gap:8px;margin-bottom:10px;padding-bottom:6px;display:flex}.help-faq-category-icon{color:var(--heading,#31372b);flex-shrink:0;align-items:center;display:inline-flex}.dark .help-faq-category-icon{color:#faf7ee}.help-faq-category-title{font-size:var(--heading-sm,.875rem);color:var(--heading,#31372b);margin:0;font-weight:700}.help-faq-item{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b1a);border-radius:var(--radius-sm,6px);margin-bottom:8px;transition:border-color .15s;overflow:hidden}.help-faq-item.open{border-color:#1a6b5459}.help-faq-trigger{text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 16px;font-family:inherit;display:flex}.help-faq-q-text{font-size:var(--text-sm,.8125rem);color:var(--heading,#31372b);margin:0;font-weight:600}.help-faq-icon{color:var(--muted);flex-shrink:0;transition:transform .2s cubic-bezier(.16,1,.3,1)}.help-faq-item.open .help-faq-icon{color:var(--primary);transform:rotate(180deg)}.help-faq-answer{font-size:var(--text-sm,.8125rem);color:var(--muted);border-top:1px solid var(--surface-border,#31372b0f);padding:10px 16px 14px;line-height:1.5}.help-faq-answer p{margin:0 0 8px}.help-faq-answer p:last-child{margin-bottom:0}.help-faq-steps-list{margin:6px 0;padding-left:18px}.help-faq-steps-list li{margin-bottom:4px}.help-tb-block{flex-direction:column;gap:10px;display:flex}.help-tb-subhead{font-size:var(--text-xs,.72rem);color:var(--heading,#31372b);text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px;font-weight:700}.help-tb-box{background:var(--surface-muted,#31372b08);border:1px solid var(--surface-border,#31372b14);border-radius:var(--radius-sm,6px);padding:10px 14px}.help-tb-bullet-list{font-size:var(--text-sm,.8125rem);margin:3px 0 0;padding-left:16px;line-height:1.45}.help-tb-bullet-list li{margin-bottom:3px}.help-tb-callout{border-radius:var(--radius-sm,6px);font-size:var(--text-sm,.8125rem);color:#1a6b54;background:#1a6b540f;border:1px solid #1a6b542e;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.support-badge{font-size:var(--text-xs,.72rem);text-transform:uppercase;letter-spacing:.04em;border-radius:6px;align-items:center;gap:5px;width:fit-content;padding:3px 9px;font-weight:600;display:inline-flex}.support-badge-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.help-form-card{background:var(--card-bg,#fff);border:1px solid var(--surface-border,#31372b1f);border-radius:var(--radius-sm,8px);box-shadow:var(--neu-raised);margin-bottom:var(--space-5);overflow:hidden}.help-form-card-header{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--surface-border,#31372b14)}.help-form-card-body{padding:var(--space-5)}.help-form-row{gap:var(--space-5);grid-template-columns:minmax(220px,300px) 1fr;align-items:flex-start;display:grid}.help-form-label-col{padding-top:4px}.help-field-label{font-size:var(--text-sm,.8125rem);color:var(--heading,#31372b);margin-bottom:3px;font-weight:600;display:block}.help-field-hint{font-size:var(--text-xs,.72rem);color:var(--muted);margin:0;line-height:1.4}.help-input-col{width:100%}.help-input,.help-select{width:100%;font-family:inherit;font-size:var(--text-sm,.8125rem);color:var(--fg,#31372b);background:var(--input-bg,#fff);border:1px solid var(--surface-border,#31372b2e);border-radius:var(--radius-xs,6px);transition:var(--transition);box-sizing:border-box;padding:8px 12px}.help-input:focus,.help-select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #1a6b541f}.help-modal-card{background:var(--card-bg,#fff);border-radius:var(--radius,12px);border:1px solid var(--surface-border,#31372b26);width:100%;overflow:hidden;box-shadow:0 10px 30px #0000001f}.help-modal-header{border-bottom:1px solid var(--surface-border,#31372b14);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.help-modal-title{font-size:var(--heading-sm,.875rem);color:var(--heading,#31372b);letter-spacing:-.01em;margin:0;font-weight:700}.help-modal-subtitle{font-size:var(--text-xs,.72rem);color:var(--muted);margin-top:2px}.help-modal-body{font-size:var(--text-sm,.8125rem);color:var(--fg);padding:18px 20px;line-height:1.5}.help-modal-footer{background:var(--surface-muted,#31372b05);border-top:1px solid var(--surface-border,#31372b14);justify-content:flex-end;align-items:center;gap:10px;padding:12px 20px;display:flex}.dark .help-search-input{color:#faf7ee;background:#00000059;border-color:#faf7ee26}.dark .help-search-input:focus{border-color:#e4e0d659;box-shadow:0 0 0 3px #2d342699}.dark .help-search-chip{color:#faf7ee;background:#faf7ee0d;border-color:#faf7ee1a}.dark .help-search-chip:hover{color:#faf7ee;background:#2d3426;border-color:#e4e0d647}.dark .help-main-tab-btn{color:#9ca294;background:0 0;border:none;border-bottom:2px solid #0000}.dark .help-main-tab-btn:hover{color:#faf7ee;background:0 0}.dark .help-main-tab-btn.active{color:#faf7ee!important;box-shadow:none!important;background:0 0!important;border:none!important;border-bottom:2px solid #faf7ee!important}.dark .help-main-tab-btn.active .help-tab-badge{color:#faf7ee;background:#faf7ee2e}.dark .help-article-card,.dark .help-gs-card,.dark .help-faq-item,.dark .help-form-card,.dark .help-modal-card{background:#faf7ee08;border-color:#faf7ee14}.dark .help-input,.dark .help-select{color:#faf7ee;background:#00000059;border-color:#faf7ee26}.dark .help-article-card:hover,.dark .help-gs-card:hover,.dark .help-faq-item.open{border-color:#e4e0d647}.dark .help-gs-icon-wrap{color:#faf7ee;background:#373a31;border:1px solid #e4e0d62e}.dark .help-gs-card:hover .help-gs-icon-wrap{background:#2d3426;border-color:#e4e0d659}.dark .help-gs-card-btn{color:#faf7ee}.dark .help-gs-card-btn:hover{color:#a8b09a}.dark .help-tb-box{background:#00000040;border-color:#faf7ee14}.dark .help-tb-callout{color:#faf7ee;background:#2d342666;border-color:#e4e0d633}@media (max-width:768px){.help-form-row{gap:var(--space-2);grid-template-columns:1fr}.help-search-input{font-size:var(--text-sm,.8125rem);padding:10px 36px 10px 38px}.help-main-tabs{white-space:nowrap;padding-bottom:2px;overflow-x:auto}.help-gs-grid{grid-template-columns:1fr}}
