@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8d697b304b401681-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba015fad6dcf6784-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/4cf2300e9c8272f7-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Fallback;src:local("Arial");ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.00%;size-adjust:104.76%}.__className_188709{font-family:Geist,Geist Fallback;font-style:normal}.__variable_188709{--font-geist:"Geist","Geist Fallback"}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_f367f3{font-family:Inter,Inter Fallback;font-style:normal}.__variable_f367f3{--font-inter:"Inter","Inter Fallback"}:root{color-scheme:light;--font-sans:var(--font-inter),var(--font-geist),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-display:var(--font-inter),var(--font-geist),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--tracking-tight:-0.02em;--weight-heading:600;--color-bg:#f8fafc;--color-bg-muted:#eef2ff;--color-bg-strong:#e2e8f0;--color-surface:#ffffff;--color-surface-elevated:#ffffff;--color-surface-accent:#f5f3ff;--color-text:#0f172a;--color-text-secondary:#64748b;--color-text-muted:#94a3b8;--color-border:rgba(148,163,184,0.22);--color-border-strong:rgba(79,70,229,0.14);--color-primary:#4f46e5;--color-primary-strong:#4338ca;--color-primary-contrast:#ffffff;--color-primary-soft:rgba(79,70,229,0.12);--color-success:#0f766e;--color-warning:#b45309;--color-overlay:rgba(15,23,42,0.42);--color-nav-glass:rgba(255,255,255,0.82);--radius-sm:12px;--radius-md:18px;--radius-lg:24px;--radius-pill:999px;--shadow-soft:0 4px 6px -1px rgb(0 0 0/0.1),0 2px 4px -2px rgb(0 0 0/0.1);--shadow-card:0 18px 40px -24px rgba(15,23,42,0.28);--shadow-floating:0 28px 60px -30px rgba(15,23,42,0.28);--shadow-primary:0 12px 30px -18px rgba(79,70,229,0.45);--motion-fast:200ms;--motion-base:260ms;--ease-standard:ease-in-out;--page-gradient:radial-gradient(circle at top left,rgba(79,70,229,0.12),transparent 36%),radial-gradient(circle at 85% 10%,rgba(129,140,248,0.18),transparent 26%),linear-gradient(180deg,#f8fafc,#eef2ff)}:root[data-theme=dark]{color-scheme:dark;--color-bg:#0f172a;--color-bg-muted:#111c34;--color-bg-strong:#1e293b;--color-surface:#1e293b;--color-surface-elevated:#334155;--color-surface-accent:rgba(99,102,241,0.14);--color-text:#f8fafc;--color-text-secondary:#94a3b8;--color-text-muted:#64748b;--color-border:rgba(255,255,255,0.05);--color-border-strong:rgba(129,140,248,0.22);--color-primary:#6366f1;--color-primary-strong:#818cf8;--color-primary-soft:rgba(99,102,241,0.18);--color-success:#5eead4;--color-warning:#fdba74;--color-overlay:rgba(2,6,23,0.7);--color-nav-glass:rgba(30,41,59,0.7);--shadow-soft:0 20px 25px -5px rgba(0,0,0,0.3),0 10px 10px -5px rgba(0,0,0,0.2);--shadow-card:0 24px 40px -30px rgba(2,6,23,0.8);--shadow-floating:0 36px 70px -34px rgba(2,6,23,0.82);--shadow-primary:0 0 15px rgba(99,102,241,0.2);--page-gradient:radial-gradient(circle at top left,rgba(99,102,241,0.22),transparent 34%),radial-gradient(circle at 86% 12%,rgba(51,65,85,0.9),transparent 26%),linear-gradient(180deg,#0f172a,#111827)}*{margin:0;padding:0;box-sizing:border-box}html{background:var(--color-bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,html{color:var(--color-text)}body{font-family:var(--font-sans);background:var(--page-gradient);overflow-x:hidden;transition:background var(--motion-base) var(--ease-standard),color var(--motion-fast) var(--ease-standard)}#root,body{min-height:100vh}#root{display:flex;flex-direction:column}a{color:inherit;text-decoration:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:fadeIn .5s ease forwards}.surface{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft)}.surface-elevated{background:var(--color-surface-elevated);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-floating)}.glass{background:var(--color-nav-glass);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--color-border);border-radius:var(--radius-pill)}.app-shell{width:min(1280px,calc(100% - 32px));margin:0 auto;padding:24px 0 32px}.app-shell-header{display:grid;grid-template-columns:1fr auto;grid-gap:1.25rem;gap:1.25rem;align-items:center;padding:1rem 1.2rem 1rem 1.5rem;margin-bottom:1.5rem;position:-webkit-sticky;position:sticky;top:18px;z-index:40;border-radius:var(--radius-md)}.app-brand{display:flex;flex-direction:column;gap:.15rem}.app-brand-title{gap:.35rem}.admin-view-badge,.app-brand-title{display:inline-flex;align-items:center}.admin-view-badge{padding:.18rem .45rem;border-radius:999px;background:color-mix(in srgb,var(--color-primary) 14%,transparent);border:1px solid color-mix(in srgb,var(--color-primary) 28%,var(--color-border));color:var(--color-primary-strong);font-size:.68rem;font-weight:700;letter-spacing:.12em}.app-brand h1,.category-header,.hero-panel h2,.panel h3,.workspace-header h2{letter-spacing:var(--tracking-tight);font-weight:var(--weight-heading)}.app-brand h1{font-size:1.1rem;margin:0}.app-brand p{color:var(--color-text-secondary);font-size:.92rem}.brand-logo{width:2rem;height:2rem;object-fit:contain;flex-shrink:0}.app-brand-logo{width:2.15rem;height:2.15rem}.actions,.header-actions,.hero-actions,.modal-actions,.status-actions,.user-info{display:flex;align-items:center;gap:.75rem}.account-summary{display:flex;flex-direction:column;align-items:flex-end;gap:.15rem;min-width:0}.account-summary span,.account-summary strong{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-label{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}.account-channel,.account-label{color:var(--color-text-secondary)}.account-channel{font-size:.78rem}.category-toggle-btn,.icon-btn,.primary-btn,.reselect-btn,.secondary-btn,.theme-toggle{border:1px solid transparent;border-radius:var(--radius-sm);cursor:pointer;font:inherit;transition:all var(--motion-fast) var(--ease-standard)}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;padding:0;background:transparent;color:var(--color-text-secondary);border:none;border-radius:0;box-shadow:none}.category-toggle-btn:hover,.icon-btn:hover,.reselect-btn:hover,.secondary-btn:hover,.theme-toggle:hover{background:var(--color-surface-accent);color:var(--color-text);transform:translateY(-2px)}.theme-toggle:hover{background:transparent;transform:none}.theme-toggle-icon{width:1.5rem;height:1.5rem;border-radius:50%;background:transparent;color:var(--color-text-secondary);display:inline-flex;align-items:center;justify-content:center}.channel-category-select select,.date-picker input,.dropdown-item,.glass-input,.primary-btn,.secondary-btn,.small-btn{min-height:44px}.primary-btn,.secondary-btn{padding:.82rem 1.15rem;font-weight:600}.primary-btn{background:var(--color-primary);color:var(--color-primary-contrast);box-shadow:var(--shadow-primary)}.primary-btn:hover:not(:disabled){background:var(--color-primary-strong);transform:translateY(-2px)}.primary-btn:disabled{opacity:.55;cursor:not-allowed}.category-toggle-btn,.dropdown-item,.icon-btn,.secondary-btn{background:var(--color-surface);color:var(--color-text-secondary);border-color:var(--color-border)}.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}.channel-card,.hero-panel,.history-item,.modal-content,.panel,.status-badge,.workspace-header,.workspace-intro{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft)}.hero-panel,.panel,.status-badge,.workspace-header,.workspace-intro{padding:1.5rem}.global-status{margin-bottom:1.5rem}.status-pill-overlay{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom, 0px));transform:translate(-50%,18px);z-index:50;display:inline-flex;align-items:center;gap:.75rem;width:auto;max-width:min(90vw,680px);min-height:52px;padding:.8rem 1rem;border-radius:999px;border:1px solid rgba(148,163,184,.18);background:rgba(15,23,42,.9);color:#f8fafc;box-shadow:0 18px 48px rgba(15,23,42,.32);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease}.status-pill-visible{opacity:1;transform:translate(-50%);pointer-events:auto}.status-pill-hidden{opacity:0;transform:translate(-50%,18px);pointer-events:none}.status-pill-success{background:rgba(17,24,39,.92)}.status-pill-error{background:rgba(220,38,38,.94);border-color:rgba(254,226,226,.32)}.status-pill-icon{flex:0 0 auto;width:1.15rem;height:1.15rem;display:inline-flex;align-items:center;justify-content:center}.status-pill-icon svg{width:100%;height:100%}.status-pill-copy{min-width:0;font-size:.94rem;font-weight:500;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-pill-close{flex:0 0 auto;width:1.9rem;height:1.9rem;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:999px;background:rgba(255,255,255,.14);color:inherit;cursor:pointer;transition:background var(--motion-fast) var(--ease-standard),transform var(--motion-fast) var(--ease-standard)}.status-pill-close:hover{background:rgba(255,255,255,.22);transform:scale(1.04)}.status-pill-spinner{animation:status-pill-spin .85s linear infinite}.status-pill-spinner-track{fill:none;stroke:rgba(255,255,255,.22);stroke-width:2.5}.status-pill-spinner-head{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}.status-pill-shake{animation:status-pill-shake .42s ease}@keyframes status-pill-spin{to{transform:rotate(1turn)}}@keyframes status-pill-shake{0%,to{transform:translate(-50%)}20%{transform:translate(calc(-50% - 6px))}40%{transform:translate(calc(-50% + 5px))}60%{transform:translate(calc(-50% - 4px))}80%{transform:translate(calc(-50% + 3px))}}.auth-transition-main{min-height:2rem}.setup-guidance{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem}.inline-link-btn{padding:0;border:0;background:transparent;color:var(--color-primary);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}.inline-link-btn:hover{color:var(--color-primary-strong)}.setup-steps{margin:0;padding-left:1.2rem;color:var(--color-text-secondary)}.setup-steps li+li{margin-top:.35rem}.workspace-header h2,.workspace-intro h2{font-size:clamp(1.5rem,3vw,2rem);margin:.55rem 0;letter-spacing:var(--tracking-tight)}.workspace-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.app-footer,.category-summary,.channel-empty p,.channel-meta,.empty-state-copy,.form-help,.hero-panel p,.history-meta,.modal-content p,.panel-subtitle,.status-copy,.workspace-header p{color:var(--color-text-secondary)}.hero-badge,.panel-badge,.status-pill,.workspace-badge{display:inline-flex;align-items:center;gap:.4rem;width:-moz-fit-content;width:fit-content;padding:.4rem .75rem;background:var(--color-surface-accent);color:var(--color-primary);border-radius:var(--radius-pill);font-size:.84rem;font-weight:600}.internal-shell{width:min(1400px,calc(100% - 32px));margin:0 auto;padding:24px 0 40px}.internal-detail-header,.internal-hero,.internal-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft);padding:1.5rem}.internal-detail-header,.internal-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.internal-back-link,.internal-kicker{color:var(--color-primary);font-size:.84rem;font-weight:600}.internal-detail-header h1,.internal-hero h1{margin:.4rem 0 .55rem;letter-spacing:var(--tracking-tight)}.internal-detail-header p,.internal-hero p{color:var(--color-text-secondary);max-width:60ch}.internal-admin-bar{position:-webkit-sticky;position:sticky;top:16px;z-index:20;display:grid;grid-gap:1rem;gap:1rem;margin-bottom:1.5rem;padding:1rem 1.25rem;background:color-mix(in srgb,var(--color-surface) 90%,transparent);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.internal-admin-bar-top{display:flex;justify-content:space-between;align-items:center;gap:1rem}.internal-admin-bar-copy{display:grid;grid-gap:.3rem;gap:.3rem}.internal-admin-bar-copy strong{line-height:1.2}.internal-section-nav{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.25rem}.internal-section-link{display:inline-flex;align-items:center;min-height:40px;padding:.6rem .9rem;border:1px solid var(--color-border);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-surface-accent) 88%,transparent);color:var(--color-text-secondary);font-size:.9rem;font-weight:600;text-decoration:none;transition:all var(--motion-fast) var(--ease-standard)}.internal-section-link:hover{color:var(--color-text);border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 12%,var(--color-surface-accent))}.internal-hero-meta{display:grid;grid-gap:.9rem;gap:.9rem;min-width:220px}.internal-form label span,.internal-hero-meta span{display:block;color:var(--color-text-secondary);font-size:.82rem;margin-bottom:.3rem}.internal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1.5rem;gap:1.5rem}.internal-panel-wide{grid-column:1/-1}.internal-section-panel{scroll-margin-top:7rem}.internal-panel-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem}.internal-panel-header h2{margin:.45rem 0 0}.internal-panel-copy{margin:0;color:var(--color-text-secondary)}.internal-panel-copy p{margin:0}.internal-panel-copy-inline{line-height:1.7}.internal-panel-copy a{color:inherit}.internal-doc-link{color:var(--color-primary-strong)!important;font-weight:600;text-decoration:underline;text-underline-offset:.14em}.internal-doc-link:hover{color:var(--color-primary)}.internal-inline-details{display:inline}.internal-inline-details summary{display:inline;cursor:pointer;list-style:none}.internal-inline-details summary::-webkit-details-marker{display:none}.internal-inline-details-panel{display:grid;grid-gap:.85rem;gap:.85rem;margin-top:.85rem;padding-top:.85rem;border-top:1px solid var(--color-border)}.internal-command-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.internal-command-code{color:var(--color-text);font-size:.92rem}.internal-command-code,.internal-copy-button{display:inline-flex;align-items:center;min-height:42px;padding:.7rem .9rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-accent)}.internal-copy-button{gap:.45rem;color:var(--color-primary-strong);font:inherit;font-weight:600;cursor:pointer;transition:all var(--motion-fast) var(--ease-standard)}.internal-copy-button:hover{border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border));color:var(--color-primary)}.internal-copy-button svg{width:1rem;height:1rem;flex:0 0 auto}.internal-table{width:100%;border-collapse:collapse;font-size:.93rem}.internal-table td,.internal-table th{padding:.75rem .6rem;border-top:1px solid var(--color-border);text-align:left;vertical-align:top}.internal-table th{color:var(--color-text-secondary);font-weight:600}.internal-back-link,.internal-table a{text-decoration:none}.internal-back-link:hover,.internal-table a:hover{text-decoration:underline}.internal-timeline{list-style:none;padding:0;margin:0;display:grid;grid-gap:.9rem;gap:.9rem}.internal-timeline li{padding-top:.9rem;border-top:1px solid var(--color-border)}.internal-timeline li:first-child{padding-top:0;border-top:0}.internal-summary-grid strong,.internal-timeline strong{display:block;margin-bottom:.15rem}.internal-timeline span{color:var(--color-text-secondary);font-size:.9rem}.internal-form,.internal-stack{display:grid;grid-gap:1rem;gap:1rem}.internal-form input[type=text],.internal-form select,.internal-form textarea{width:100%;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-accent);color:var(--color-text);padding:.8rem .9rem;font:inherit}.internal-checkbox{display:flex;gap:.7rem;align-items:center}.internal-checkbox span{margin-bottom:0}.internal-stats,.internal-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:.9rem;gap:.9rem}.internal-tab-list{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1.25rem}.internal-tab{display:inline-flex;align-items:center;min-height:44px;padding:.7rem 1rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface-accent);color:var(--color-text-secondary);font-weight:600;text-decoration:none;transition:all var(--motion-fast) var(--ease-standard)}.internal-tab:hover{color:var(--color-text);border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border))}.internal-tab.is-active{color:var(--color-primary-strong);border-color:color-mix(in srgb,var(--color-primary) 45%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 12%,var(--color-surface-accent))}.internal-tab-panel{display:grid;grid-gap:1rem;gap:1rem}.internal-pagination{justify-content:space-between}.internal-pagination,.internal-pagination-links{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.internal-pagination-placeholder{color:var(--color-text-secondary)}@media (max-width:960px){.internal-grid{grid-template-columns:1fr}.internal-detail-header,.internal-hero{flex-direction:column}.internal-admin-bar{top:12px}.internal-admin-bar-top{flex-direction:column;align-items:flex-start}.internal-section-panel{scroll-margin-top:10rem}.internal-panel-wide{grid-column:auto}}.channels-action-slot{display:flex}.channels-workspace-header{display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-start}.channels-workspace-controls{display:flex;flex-direction:column;gap:.75rem;align-items:flex-end;margin-left:auto;width:-moz-fit-content;width:fit-content;max-width:100%;flex:0 0 auto}.channels-workspace-top-row{display:flex;justify-content:flex-end;gap:1rem;align-items:stretch;flex-wrap:wrap}.workspace-intro-actions{display:flex;gap:.75rem;flex-wrap:wrap}.channels-primary-actions{justify-content:flex-end;align-items:stretch;width:auto}.channels-controls-row{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:space-between;align-items:center;width:100%}.channel-search{position:relative;width:min(100%,420px)}.channels-page-search{flex:1 1 520px;max-width:720px}.channels-controls-actions{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:flex-end;margin-left:auto;width:-moz-fit-content;width:fit-content;max-width:100%;flex:0 0 auto}.glass-input.channel-search-input{-moz-appearance:none;appearance:none;-webkit-appearance:none;min-height:52px;padding-left:3.6rem;padding-right:2.9rem}.channel-search-clear,.channel-search-icon{position:absolute;top:50%;transform:translateY(-50%);color:var(--color-text-secondary)}.channel-search-icon{left:1rem;pointer-events:none}.channel-search-clear{right:.7rem;width:32px;height:32px;border:0;border-radius:999px;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--motion-fast) var(--ease-standard)}.channel-search-clear:hover{background:var(--color-surface-accent);color:var(--color-text)}.channel-search-clear:focus-visible{outline:none;box-shadow:0 0 0 4px var(--color-primary-soft)}.stat-chip{padding:.8rem 1rem;border-radius:var(--radius-sm);background:var(--color-surface-accent);min-width:120px;min-height:102px;display:flex;flex-direction:column;justify-content:center}.stat-chip strong{display:block;font-size:1.1rem;color:var(--color-text)}.stat-chip span{color:var(--color-text-secondary);font-size:.85rem}.channels-tall-action{min-width:96px;min-height:102px;padding:.9rem .85rem;display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;text-align:center;line-height:1.15}.panel{display:flex;flex-direction:column;gap:1rem}.panel h3{font-size:1.15rem}.controls-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.controls-help-btn{width:40px;height:40px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid color-mix(in srgb,var(--color-primary) 35%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 14%,var(--color-surface-accent));color:var(--color-text);transition:all var(--motion-fast) var(--ease-standard)}.controls-help-btn:hover{border-color:color-mix(in srgb,var(--color-primary) 50%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 20%,var(--color-surface-accent))}.controls-help-btn:focus-visible{outline:none;box-shadow:0 0 0 4px var(--color-primary-soft)}.controls-instructions{margin:0;padding:.95rem 1rem;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--color-primary) 35%,var(--color-border));background:linear-gradient(135deg,color-mix(in srgb,var(--color-primary) 20%,var(--color-surface-accent)),color-mix(in srgb,var(--color-primary) 7%,var(--color-surface)));color:var(--color-text);font-weight:600;line-height:1.55}.controls-instructions-list{margin:0;padding-left:1.35rem}.controls-instructions-list li+li{margin-top:.35rem}.date-picker{display:flex;flex-direction:column;gap:.55rem}.date-picker label{font-size:.92rem;color:var(--color-text-secondary)}.channel-category-select select,.date-picker input,.glass-input{width:100%;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);padding:.8rem .95rem;font:inherit;outline:none;transition:all var(--motion-fast) var(--ease-standard)}.channel-category-select select:focus,.date-picker input:focus,.glass-input:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.actions{justify-content:flex-end;flex-wrap:wrap}.controls-summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.controls-summary>*{flex:1 1}.controls-stat-chip{min-height:44px;display:flex;align-items:center}.controls-stat-chip-tooltip{position:relative;cursor:help}.controls-stat-chip strong{font-size:1rem}.controls-tooltip{position:absolute;left:50%;bottom:calc(100% + .7rem);transform:translateX(-50%) translateY(.2rem);width:min(260px,calc(100vw - 3rem));padding:.7rem .85rem;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-surface-elevated) 92%,black 8%);border:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border) 70%);box-shadow:var(--shadow-soft);color:var(--color-text);font-size:.88rem;line-height:1.45;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--motion-fast) var(--ease-standard),transform var(--motion-fast) var(--ease-standard),visibility var(--motion-fast) var(--ease-standard);z-index:2}.controls-tooltip:after{content:"";position:absolute;left:50%;top:100%;width:.8rem;height:.8rem;transform:translateX(-50%) rotate(45deg);background:inherit;border-right:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border) 70%);border-bottom:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border) 70%)}.controls-stat-chip-tooltip:focus-visible .controls-tooltip,.controls-stat-chip-tooltip:focus-within .controls-tooltip,.controls-stat-chip-tooltip:hover .controls-tooltip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}.channels-section,.history-list{display:flex;flex-direction:column;gap:1rem}.history-item{padding:1rem 1.1rem}.history-copy{display:grid;grid-gap:.55rem;gap:.55rem;min-width:0}.history-header-row{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-start;justify-content:space-between}.history-meta-row{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center;justify-content:flex-end;margin-left:auto}.history-meta-row .history-meta{margin:0;text-align:right}.history-channel-toggle{border:1px solid color-mix(in srgb,var(--color-primary) 18%,var(--color-border));cursor:pointer;transition:transform var(--motion-fast) var(--ease-standard),border-color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard)}.history-channel-toggle:hover:not(:disabled){transform:translateY(-1px);border-color:color-mix(in srgb,var(--color-primary) 30%,var(--color-border))}.history-channel-toggle:focus-visible{outline:2px solid color-mix(in srgb,var(--color-primary) 45%,transparent);outline-offset:2px}.history-channel-toggle:disabled{opacity:.6;cursor:not-allowed}.history-channel-toggle-active{background:color-mix(in srgb,var(--color-primary) 14%,var(--color-surface-accent))}.history-footer,.history-status-row{display:flex;align-items:center;gap:.65rem}.history-footer{justify-content:space-between;flex-wrap:wrap}.history-footer-actions,.history-footer-primary{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.history-footer-actions{margin-left:auto;justify-content:flex-end}.history-name{display:block;font-weight:600;font-size:1.15rem;line-height:1.35}.reselect-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:40px;padding:.55rem .85rem;white-space:nowrap}.history-status-pill{text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.small-btn{width:100%}.scheduled-playlist-list{display:flex;flex-direction:column;gap:1rem}.scheduled-playlist-card{padding:1rem 1.1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-surface) 88%,var(--color-surface-accent));display:flex;flex-direction:column;gap:.85rem}.scheduled-playlist-card-running{border-color:color-mix(in srgb,var(--color-primary) 45%,var(--color-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 10%,transparent)}.scheduled-playlist-actions,.scheduled-playlist-card-top,.scheduled-playlist-meta{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;justify-content:space-between}.scheduled-playlist-card-top p,.scheduled-playlist-last-run span,.scheduled-playlist-preview p{margin:.35rem 0 0}.scheduled-playlist-meta{color:var(--color-text-muted);font-size:.92rem}.scheduled-playlist-channel-view{display:grid;grid-gap:.75rem;gap:.75rem;padding:.8rem .9rem;border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border)}.scheduled-playlist-channel-view-header{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;justify-content:space-between}.scheduled-playlist-channel-view-header span{color:var(--color-text-muted);font-size:.92rem}.scheduled-playlist-channel-groups{display:grid;grid-gap:.9rem;gap:.9rem;flex:1 1 20rem}.scheduled-playlist-channel-group{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.65rem}.scheduled-playlist-channel-group-header{display:inline-flex;gap:.35rem;align-items:baseline;flex:0 0 auto}.scheduled-playlist-channel-group-header span{color:var(--color-text-muted);font-size:.88rem}.scheduled-playlist-channel-pills{display:flex;flex-wrap:wrap;flex:1 1 20rem;gap:.55rem}.scheduled-playlist-channel-view-body{display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-end;justify-content:space-between}.scheduled-playlist-channel-pill{display:inline-flex;align-items:center;max-width:100%;padding:.38rem .68rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--color-primary) 18%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 8%,var(--color-surface));color:var(--color-text);font-size:.9rem;line-height:1.2}.scheduled-playlist-last-run{padding:.8rem .9rem;border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border)}.scheduled-playlist-actions{justify-content:flex-start}.scheduled-playlist-footer{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:space-between}.scheduled-status-toggle{border:1px solid transparent;cursor:pointer}.scheduled-status-toggle:hover:not(:disabled){transform:translateY(-2px);border-color:color-mix(in srgb,var(--color-primary) 24%,var(--color-border))}.scheduled-status-toggle:focus-visible{outline:2px solid color-mix(in srgb,var(--color-primary) 45%,transparent);outline-offset:2px}.scheduled-status-toggle:disabled{opacity:.6;cursor:not-allowed}.scheduled-status-active{background:color-mix(in srgb,#16a34a 16%,var(--color-surface))}.scheduled-status-paused{background:color-mix(in srgb,#f59e0b 18%,var(--color-surface))}.scheduled-status-attention_required{background:color-mix(in srgb,#ef4444 18%,var(--color-surface))}.scheduled-playlist-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem;margin:1.3rem 0}.scheduled-playlist-modal{width:min(100%,660px)}.scheduled-playlist-field{display:flex;flex-direction:column;gap:.45rem}.scheduled-playlist-label{display:inline-flex;align-items:center;gap:.45rem}.scheduled-playlist-label-help{position:relative;display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;color:var(--color-text-muted);cursor:help;outline:none}.scheduled-playlist-label-help svg{width:.95rem;height:.95rem}.scheduled-playlist-label-help:focus-visible{color:var(--color-text)}.scheduled-playlist-tooltip{position:absolute;left:0;top:calc(100% + .7rem);transform:translateY(.2rem);width:min(300px,calc(100vw - 5rem));padding:.7rem .85rem;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-surface-elevated) 92%,black 8%);border:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border) 70%);box-shadow:var(--shadow-soft);color:var(--color-text);font-size:.88rem;font-weight:400;line-height:1.45;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--motion-fast) var(--ease-standard),transform var(--motion-fast) var(--ease-standard),visibility var(--motion-fast) var(--ease-standard);z-index:2}.scheduled-playlist-tooltip:after{content:"";position:absolute;left:.8rem;bottom:100%;width:.8rem;height:.8rem;transform:rotate(45deg);background:inherit;border-top:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border) 70%);border-left:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border) 70%)}.scheduled-playlist-label-help:focus-visible .scheduled-playlist-tooltip,.scheduled-playlist-label-help:focus-within .scheduled-playlist-tooltip,.scheduled-playlist-label-help:hover .scheduled-playlist-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.scheduled-playlist-field-wide{grid-column:1/-1}.scheduled-weekday-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:.55rem;gap:.55rem}.scheduled-weekday-btn{justify-content:center;min-width:0}.scheduled-weekday-btn.selected{border-color:var(--color-primary);background:color-mix(in srgb,var(--color-primary) 15%,var(--color-surface))}.scheduled-playlist-checkbox{display:flex;align-items:center;gap:.65rem;margin:0}.scheduled-playlist-checkbox-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.scheduled-playlist-filters-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1rem}.scheduled-playlist-preview{padding:.95rem 1rem;border-radius:var(--radius-sm);background:var(--color-surface);border:1px solid var(--color-border)}.status-badge{margin-bottom:1.5rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}.status-badge-inline{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;min-height:0;padding:.85rem 1.25rem}.status-badge-inline .status-copy{margin:0;text-align:center;line-height:1.4}.env-notice .status-copy{display:grid;grid-gap:.45rem;gap:.45rem}.env-notice .status-copy p{margin:0}.status-badge strong{display:block;margin-bottom:.2rem}.hero-panel{max-width:720px;margin:3rem auto 0;background:radial-gradient(circle at top right,rgba(79,70,229,.14),transparent 30%),var(--color-surface)}.hero-panel h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:1rem}.hero-panel p{font-size:1.05rem;max-width:56ch}.channel-grid,.hero-feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:1rem;gap:1rem}.hero-feature{padding:1rem;border-radius:var(--radius-sm);background:var(--color-surface-accent);border:1px solid var(--color-border)}.channel-name,.hero-feature strong{display:block;margin-bottom:.35rem}.workspace-intro{display:flex;justify-content:space-between;gap:1rem;align-items:center}.playlist-editor{display:flex;flex-direction:column;gap:1rem}.playlist-editor-header,.playlist-item-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft)}.playlist-editor-header{padding:1.35rem 1.5rem;display:block}.playlist-editor-header-main{display:flex;flex-direction:column;gap:1rem;min-width:0;flex:1 1}.playlist-editor-heading{display:flex;align-items:center;gap:.75rem;margin:0}.playlist-editor-heading h2{margin:0}.playlist-editor-back-link{margin-left:auto}.playlist-editor-footer-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.playlist-editor-name-row{display:flex;align-items:flex-end;gap:.9rem;flex-wrap:wrap}.playlist-editor-meta-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.playlist-editor-meta-row strong{color:var(--color-text-primary)}.playlist-editor-meta-row span{color:var(--color-text-secondary)}.playlist-editor-grid{display:block}.playlist-name-field{display:flex;flex-direction:column;gap:.5rem;min-width:0;flex:1 1 320px}.playlist-name-field span{color:var(--color-text-secondary);font-size:.85rem}.playlist-name-label-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.playlist-editor-exported-badge{align-self:center}.playlist-editor-name-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.playlist-editor-save-status{font-size:.9rem;min-height:1.2rem}.playlist-editor-save-status,.playlist-editor-save-status-saved,.playlist-editor-save-status-saving{color:var(--color-text-secondary)}.playlist-editor-save-status-error{color:var(--color-danger,#c53b53)}.controls-limit-copy{margin:0}.playlist-editor-inline-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft);padding:1.35rem 1.5rem}.youtube-preview-panel{display:grid;grid-gap:1rem;gap:1rem;margin-top:1rem}.youtube-preview-panel h3,.youtube-preview-panel p{margin:0}.youtube-preview-parts{display:grid;grid-gap:.75rem;gap:.75rem;margin-top:.25rem}.youtube-preview-part-link{width:100%;justify-content:center;text-decoration:none}.playlist-item-list{display:flex;flex-direction:column;gap:.9rem}.playlist-editor-channel-list{margin:0;color:var(--color-text-secondary)}.playlist-item-card{display:grid;grid-template-columns:auto 220px minmax(0,1fr) auto;grid-gap:1rem;gap:1rem;padding:1rem;align-items:start;position:relative}.playlist-item-card:before{content:"";position:absolute;left:.75rem;right:.75rem;height:3px;border-radius:999px;background:transparent;pointer-events:none}.playlist-item-card.drop-before:before{top:-2px;background:color-mix(in srgb,var(--color-primary) 65%,white 10%)}.playlist-item-card.drop-after:before{bottom:-2px;background:color-mix(in srgb,var(--color-primary) 65%,white 10%)}.playlist-item-grab-column{display:flex;align-items:center;align-self:stretch}.playlist-drag-handle{width:42px;min-height:64px;display:inline-flex;align-items:center;justify-content:center;color:var(--color-text-secondary);border-radius:var(--radius-sm);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:background-color .18s ease,color .18s ease,transform .18s ease}.playlist-drag-handle:hover{background:var(--color-surface-accent);color:var(--color-text-primary)}.playlist-drag-handle.is-dragging,.playlist-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing;color:var(--color-primary-strong);background:color-mix(in srgb,var(--color-primary) 10%,transparent)}.playlist-item-media img{object-fit:cover}.playlist-item-media img,.playlist-item-thumbnail-fallback{width:100%;aspect-ratio:16/9;border-radius:var(--radius-sm);border:1px solid var(--color-border)}.playlist-item-thumbnail-fallback{display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--color-surface-elevated) 78%,var(--color-bg));color:var(--color-text-secondary);font-size:.82rem;letter-spacing:.04em;text-transform:uppercase}.playlist-item-copy{min-width:0;display:grid;grid-gap:.2rem;gap:.2rem}.playlist-item-copy strong{display:block}.playlist-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}.playlist-item-meta{margin:0;font-size:.95rem;line-height:1.25}.playlist-item-tags-row{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:.55rem}.playlist-item-inline-actions,.playlist-item-tags-row{margin-top:.25rem;align-items:center;gap:.55rem;min-width:0}.playlist-item-inline-actions{display:flex}.playlist-item-inline-actions .video-share-menu-container{flex:0 0 auto}.playlist-item-inline-actions .playlist-item-tags-row{margin-top:0;flex:1 1 auto}.playlist-item-inline-icon-btn{min-width:34px;min-height:34px;width:34px;height:34px;padding:.45rem;align-self:center}.playlist-item-tag-strip-wrap{min-width:0;position:relative;padding-right:1.7rem}.playlist-item-tag-strip{min-width:0;overflow:hidden}.playlist-item-tag-strip .tag-chip-list{flex-wrap:nowrap;overflow:hidden;gap:.4rem}.playlist-item-tag-strip .tag-chip{flex:0 0 auto;max-width:100%;white-space:nowrap}.playlist-item-tag-overflow{position:absolute;top:50%;right:0;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;background:color-mix(in srgb,var(--color-surface-accent) 75%,transparent);line-height:1;cursor:default}.playlist-item-tag-empty,.playlist-item-tag-overflow{color:var(--color-text-secondary);font-size:.85rem}.playlist-item-actions,.playlist-summary-block{display:flex;flex-direction:column;gap:.55rem;align-items:stretch;position:relative}.playlist-item-actions{gap:.5rem}.playlist-item-open-btn{display:inline-flex;align-items:center;justify-content:center;min-width:60px;min-height:60px;padding:.85rem;color:var(--color-text-secondary);background:transparent;border:1px solid var(--color-border);border-radius:var(--radius-sm);text-decoration:none;transition:transform .18s ease,border-color .18s ease,color .18s ease,background-color .18s ease}.playlist-item-action-icon-btn{min-width:48px;min-height:48px;width:48px;height:48px;padding:.7rem}.playlist-item-open-btn:focus-visible,.playlist-item-open-btn:hover{color:var(--color-text-primary);border-color:color-mix(in srgb,var(--color-primary) 45%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 10%,transparent);transform:translateY(-1px)}.playlist-tag-trigger.is-open{color:var(--color-text-primary);border-color:color-mix(in srgb,var(--color-primary) 55%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 12%,transparent)}.video-share-menu-container{position:relative}.video-share-menu-container.is-open .playlist-item-open-btn{color:var(--color-text-primary);border-color:color-mix(in srgb,var(--color-primary) 55%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 12%,transparent)}.video-share-menu{position:absolute;top:calc(100% + .5rem);right:0;min-width:10rem;padding:.4rem;display:flex;flex-direction:column;gap:.25rem;z-index:30}.video-share-menu-item{width:100%;border-radius:var(--radius-sm)}.video-tag-popover{position:relative}.tag-popover-panel{position:absolute;top:0;right:calc(100% + .75rem);width:min(320px,calc(100vw - 3rem));display:grid;grid-gap:.9rem;gap:.9rem;z-index:10;padding:1rem}.tag-popover-panel-library{top:calc(100% + .6rem);right:auto;left:0}.tag-popover-section{display:grid;grid-gap:.55rem;gap:.55rem}.tag-popover-label,.tag-popover-meta{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-secondary)}.tag-popover-suggestion-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.tag-popover-empty,.tag-popover-error{margin:0;font-size:.92rem;color:var(--color-text-secondary)}.tag-popover-error{color:var(--color-danger,#c53b53)}.tag-input-field{min-height:42px}.tag-chip-list{display:flex;flex-wrap:wrap;gap:.45rem}.tag-chip-list-sm{margin-top:0}.tag-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.32rem .7rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--color-primary) 20%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 10%,var(--color-surface));color:var(--color-text-primary);font-size:.84rem;min-width:0}.tag-chip span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-chip-remove{border:0;background:transparent;color:var(--color-text-secondary);width:18px;height:18px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .18s ease,color .18s ease}.tag-chip-remove:focus-visible,.tag-chip-remove:hover{color:var(--color-text-primary);background:color-mix(in srgb,var(--color-primary) 16%,transparent)}.tag-suggestion-list{display:grid;grid-gap:.35rem;gap:.35rem}.tag-suggestion-item{width:100%;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:inherit;padding:.72rem .8rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}.tag-suggestion-item.is-highlighted,.tag-suggestion-item:focus-visible,.tag-suggestion-item:hover{border-color:color-mix(in srgb,var(--color-primary) 38%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 10%,transparent);transform:translateY(-1px)}.tag-suggestion-title{font-size:.95rem}.tag-suggestion-meta{font-size:.78rem;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.04em}@media (max-width:960px){.playlist-editor-name-row{align-items:stretch}.playlist-editor-name-actions{width:100%}.playlist-item-card{grid-template-columns:auto 1fr}.playlist-item-grab-column{align-self:start}.playlist-item-actions,.playlist-item-copy,.playlist-item-media{grid-column:2}.playlist-item-actions{width:100%}.tag-popover-panel{top:calc(100% + .5rem);right:0}.playlist-editor-footer-actions button{width:100%}}.category-group{display:flex;flex-direction:column;gap:1rem}.category-header-row{display:flex;justify-content:space-between;gap:1rem;align-items:center}.category-header-actions{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.category-header-stack{display:flex;flex-direction:column;gap:.3rem}.category-header-container{display:flex;align-items:center;gap:.7rem}.category-header{font-size:1.25rem}.rename-btn{border:none;background:transparent;color:var(--color-text-muted);width:36px;height:36px;border-radius:var(--radius-pill);cursor:pointer;transition:all var(--motion-fast) var(--ease-standard)}.rename-btn:hover{color:var(--color-primary);background:var(--color-primary-soft)}.rename-btn-locked{display:inline-flex;align-items:center;justify-content:center;cursor:help}.rename-btn-locked:hover{color:var(--color-text-muted);background:transparent}.channel-card{position:relative;padding:1rem;display:flex;flex-direction:column;gap:.9rem;transition:all var(--motion-fast) var(--ease-standard)}.channel-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}.channel-card.selected{border-color:var(--color-border-strong);background:linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 8%,var(--color-surface)) 0,color-mix(in srgb,var(--color-primary) 14%,var(--color-surface)) 100%);box-shadow:var(--shadow-card),inset 0 0 0 1px color-mix(in srgb,var(--color-primary) 12%,transparent)}.channel-card.inactive{border-style:dashed;border-color:color-mix(in srgb,var(--color-text-muted) 35%,var(--color-border));background:linear-gradient(180deg,color-mix(in srgb,var(--color-text-muted) 4%,var(--color-surface)) 0,color-mix(in srgb,var(--color-text-muted) 8%,var(--color-surface)) 100%)}.channel-card.inactive .channel-meta,.channel-card.inactive .channel-name{color:var(--color-text-secondary)}.channel-card.inactive img{filter:grayscale(1);opacity:.72}.channel-overhead-actions{display:flex;gap:.75rem;margin-left:auto;align-items:center}.external-link-icon,.info-icon{width:34px;height:34px;border-radius:var(--radius-pill);display:inline-flex;align-items:center;justify-content:center;background:var(--color-surface-accent);color:var(--color-text-secondary);border:1px solid var(--color-border);transition:all var(--motion-fast) var(--ease-standard)}.external-link-icon:hover,.info-icon:hover{color:var(--color-primary);background:var(--color-primary-soft)}.channel-card-top-row{display:flex;align-items:center;gap:.85rem}.channel-selection-toggle{padding:0;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.channel-content-row{display:flex;gap:.85rem;align-items:center;cursor:pointer}.channel-selection-indicator{width:24px;height:24px;border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid color-mix(in srgb,var(--color-text-secondary) 35%,var(--color-border));background:color-mix(in srgb,var(--color-surface) 88%,var(--color-bg));color:transparent;transition:all var(--motion-fast) var(--ease-standard)}.channel-selection-indicator.selected{border-color:color-mix(in srgb,var(--color-primary) 52%,var(--color-border-strong));background:var(--color-primary);color:var(--color-primary-contrast);box-shadow:0 0 0 4px var(--color-primary-soft)}.channel-avatar-fallback,.channel-card img{width:56px;height:56px;border-radius:var(--radius-pill);box-shadow:var(--shadow-soft)}.channel-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:color-mix(in srgb,var(--color-primary-soft) 55%,var(--color-surface));color:var(--color-text-primary);font-weight:700}.channel-card.selected .channel-avatar-fallback,.channel-card.selected img{outline:3px solid var(--color-primary-soft)}.channel-copy{min-width:0;flex:1 1}.channel-name{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;margin-bottom:0}.channel-meta{font-size:.87rem;margin-top:.35rem}.channel-category-select{margin-top:auto}.channel-category-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.settings-menu-container{position:relative}.settings-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:210px;padding:.45rem;display:flex;flex-direction:column;gap:.3rem;z-index:200}.dropdown-item{padding:.75rem .9rem;text-align:left}.dropdown-link{display:block;text-decoration:none}.dropdown-toggle-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.dropdown-toggle-state{display:inline-flex;align-items:center;justify-content:center;min-width:2.8rem;padding:.15rem .45rem;border-radius:999px;background:var(--color-surface-accent);color:var(--color-text-secondary);font-size:.75rem;font-weight:600}.dropdown-toggle-state.is-on{background:color-mix(in srgb,var(--color-primary) 14%,transparent);color:var(--color-primary-strong)}.dropdown-item.logout{color:#dc2626}:root[data-theme=dark] .dropdown-item.logout{color:#fca5a5}.dropdown-item:hover{background:var(--color-surface-accent);color:var(--color-text)}.menu-divider{height:1px;background:var(--color-border);margin:.2rem .35rem}.menu-backdrop,.modal-overlay{position:fixed;inset:0}.menu-backdrop{z-index:180}.modal-overlay{z-index:220;background:var(--color-overlay);display:grid;place-items:center;padding:1.5rem}.modal-content{width:min(100%,560px);padding:1.8rem}.create-playlist-modal{width:min(100%,520px);display:flex;flex-direction:column;gap:1rem}.create-playlist-modal-toggle-row{display:flex;justify-content:flex-end}.create-playlist-modal-filters{display:flex;flex-direction:column;gap:1rem}.create-playlist-modal-video-length-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem}.create-playlist-modal-summary>*{flex:1 1 100%}.create-playlist-modal-actions,.scheduled-playlist-modal-actions{justify-content:flex-end;margin-top:.5rem}.modal-content h3{margin-bottom:.45rem;font-size:1.35rem}.info-modal{max-height:min(80vh,760px);overflow-y:auto}.info-modal-header{display:flex;justify-content:flex-end;margin-bottom:.85rem}.info-modal-close-top{min-height:40px;width:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-secondary);cursor:pointer;transition:all var(--motion-fast) var(--ease-standard)}.info-modal-close-top:hover{background:var(--color-surface-accent);color:var(--color-text);transform:translateY(-2px)}.info-modal-lead{margin-bottom:1.15rem}.info-modal-section-gap{margin-top:1.15rem}.info-modal-subheading{margin-top:1.2rem}.info-modal-copy p{margin-bottom:.8rem}.info-modal-footer{justify-content:flex-end;margin-top:1.5rem}.video-notes-modal{width:min(100%,960px);display:flex;flex-direction:column;gap:1.25rem}.video-notes-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.video-notes-modal-eyebrow{margin:0 0 .2rem;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--color-primary)}.video-note-card,.video-notes-panel,.video-notes-upgrade{border:1px solid var(--color-border);border-radius:calc(var(--radius-md) - 4px);background:color-mix(in srgb,var(--color-surface-elevated) 92%,var(--color-surface) 8%)}.video-notes-upgrade{padding:1.1rem 1.2rem}.video-notes-upgrade h4{margin:.15rem 0 .4rem}.video-notes-upgrade-badge{margin:0;font-size:.82rem;font-weight:700;color:var(--color-primary)}.video-notes-composer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem}.video-notes-panel{padding:1rem}.video-notes-panel-header{display:flex;flex-direction:column;gap:.22rem;margin-bottom:.75rem}.video-notes-panel-header h4{margin:0}.video-notes-panel-header p{margin:0;color:var(--color-text-secondary);font-size:.95rem}.video-notes-textarea{width:100%;resize:vertical;min-height:110px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);padding:.9rem 1rem;font:inherit}.video-notes-textarea:focus{outline:none;border-color:color-mix(in srgb,var(--color-primary) 54%,var(--color-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 18%,transparent)}.video-note-actions,.video-notes-panel-actions{display:flex;flex-wrap:wrap;gap:.55rem}.video-notes-panel-actions{justify-content:flex-end;margin-top:.75rem}.video-notes-list-section{display:flex;flex-direction:column;gap:.75rem}.video-notes-list{display:flex;flex-direction:column;gap:.8rem}.video-note-card{padding:.95rem 1rem}.video-note-card.is-pending{opacity:.75}.video-note-card-header,.video-note-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.video-note-card-header{align-items:flex-start;margin-bottom:.6rem}.video-note-meta{justify-content:flex-start;flex-wrap:wrap;color:var(--color-text-secondary);font-size:.9rem}.video-note-type-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:.2rem .65rem;border-radius:999px;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.video-note-type-badge.is-manual{background:color-mix(in srgb,var(--color-primary) 12%,transparent);color:var(--color-primary)}.video-note-type-badge.is-ai{background:color-mix(in srgb,#f59e0b 16%,transparent);color:#b45309}.video-note-type-badge.is-transcript{background:color-mix(in srgb,#38bdf8 16%,transparent);color:#0f5f7a}.video-note-content{margin:0;white-space:pre-wrap;line-height:1.55;color:var(--color-text)}.video-note-content-markdown{white-space:normal}.video-note-content-markdown>:first-child{margin-top:0}.video-note-content-markdown>:last-child{margin-bottom:0}.video-note-content-markdown blockquote,.video-note-content-markdown h1,.video-note-content-markdown h2,.video-note-content-markdown h3,.video-note-content-markdown h4,.video-note-content-markdown ol,.video-note-content-markdown p,.video-note-content-markdown pre,.video-note-content-markdown table,.video-note-content-markdown ul{margin:0 0 .8rem}.video-note-content-markdown ol,.video-note-content-markdown ul{padding-left:1.25rem}.video-note-content-markdown li+li{margin-top:.3rem}.video-note-content-markdown a{color:var(--color-primary);text-decoration:underline;text-underline-offset:.12em}.video-note-content-markdown code{font-size:.94em;padding:.08rem .3rem;border-radius:.35rem;background:color-mix(in srgb,var(--color-surface-strong,#1f2937) 86%,black 14%)}.video-note-content-markdown pre{overflow:auto;padding:.8rem .9rem;border-radius:.75rem;background:color-mix(in srgb,var(--color-surface-strong,#1f2937) 90%,black 10%)}.video-note-content-markdown pre code{padding:0;background:transparent}.video-note-content-markdown blockquote{padding-left:.9rem;border-left:3px solid color-mix(in srgb,var(--color-primary) 45%,transparent);color:var(--color-text-secondary)}.video-note-content.is-transcript{max-height:15rem;overflow:auto;padding-right:.35rem}.video-note-inline-btn{min-height:36px;padding:.45rem .8rem}.video-notes-empty{margin:0;color:var(--color-text-secondary)}:root[data-theme=dark] .video-notes-modal{background:radial-gradient(circle at top right,rgba(99,102,241,.12),transparent 28%),linear-gradient(180deg,rgba(15,23,42,.96),rgba(17,24,39,.98));border-color:rgba(148,163,184,.14);box-shadow:0 36px 80px -36px rgba(2,6,23,.95)}:root[data-theme=dark] .video-note-card,:root[data-theme=dark] .video-notes-panel,:root[data-theme=dark] .video-notes-upgrade{background:linear-gradient(180deg,rgba(30,41,59,.96),rgba(15,23,42,.94));border-color:rgba(148,163,184,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}:root[data-theme=dark] .video-note-meta,:root[data-theme=dark] .video-notes-empty,:root[data-theme=dark] .video-notes-panel-header p{color:#b7c4d8}:root[data-theme=dark] .video-notes-textarea{background:rgba(15,23,42,.92);border-color:rgba(148,163,184,.14);color:#f8fafc}:root[data-theme=dark] .video-notes-textarea::placeholder{color:#7f8da3}:root[data-theme=dark] .video-note-content-markdown a{color:#a5b4fc}:root[data-theme=dark] .video-note-content-markdown code{background:rgba(15,23,42,.86)}:root[data-theme=dark] .video-note-content-markdown pre{background:rgba(2,6,23,.72);border:1px solid rgba(148,163,184,.1)}:root[data-theme=dark] .video-note-type-badge.is-ai{background:rgba(245,158,11,.16);color:#fbbf24}:root[data-theme=dark] .video-note-type-badge.is-transcript{background:rgba(56,189,248,.16);color:#7dd3fc}.confirmation-modal{width:min(100%,480px);display:flex;flex-direction:column;gap:1rem}.confirmation-modal-actions{justify-content:flex-end;margin-top:.35rem}.danger-btn{background:color-mix(in srgb,var(--color-danger,#c53b53) 86%,black 14%);box-shadow:0 16px 36px -24px color-mix(in srgb,var(--color-danger,#c53b53) 75%,transparent)}.danger-btn:hover:not(:disabled){background:color-mix(in srgb,var(--color-danger,#c53b53) 92%,black 8%)}.modal-input-group{margin:1.4rem 0}.category-divider,.channel-divider{border:0;height:1px;background:var(--color-border);margin:.5rem 0}.channel-empty{padding:2rem 1.5rem;text-align:center;border-radius:var(--radius-md);background:var(--color-surface);border:1px dashed var(--color-border)}.empty-state-icon{width:64px;height:64px;margin:0 auto 1rem;color:var(--color-primary)}.empty-state-icon .secondary-path{color:#475569}.channel-search-input::-webkit-search-cancel-button,.channel-search-input::-webkit-search-decoration,.channel-search-input::-webkit-search-results-button,.channel-search-input::-webkit-search-results-decoration{-webkit-appearance:none}:root[data-theme=dark] .empty-state-icon .secondary-path{color:#475569}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-footer{margin-top:1.5rem;padding:1rem 0 0;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.92rem}.app-footer-copy{display:flex;flex-direction:column;gap:.2rem}.app-footer-links{display:flex;gap:1rem;flex-wrap:wrap}.app-footer a:hover{color:var(--color-primary)}.workspace-tabs{display:flex;gap:.5rem;width:-moz-fit-content;width:fit-content;padding:.45rem;margin:0 auto 1.5rem;background:color-mix(in srgb,var(--color-surface) 88%,transparent);border:1px solid var(--color-border);border-radius:calc(var(--radius-md) + 2px);box-shadow:var(--shadow-soft)}.workspace-tab{border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-secondary);cursor:pointer;font:inherit;font-weight:700;padding:.82rem 1.15rem;transition:all var(--motion-fast) var(--ease-standard)}.workspace-tab-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.workspace-tab:focus-visible,.workspace-tab:hover{background:var(--color-surface-accent);color:var(--color-text)}.workspace-tab.is-active{background:color-mix(in srgb,var(--color-primary) 18%,var(--color-surface-elevated));color:var(--color-text);border-color:color-mix(in srgb,var(--color-primary) 28%,var(--color-border));box-shadow:var(--shadow-soft)}.channels-page-layout,.playlists-page-layout,.schedule-page-layout,.video-library-section{display:flex;flex-direction:column;gap:1.5rem}.playlist-page-empty,.playlist-page-header,.playlist-page-panel,.schedule-page-empty,.schedule-page-header,.schedule-page-panel{width:100%}.playlist-page-header,.schedule-page-header{padding:1.5rem;margin-bottom:.5rem}.playlist-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.playlist-page-header h3,.schedule-page-header h3{margin:0;letter-spacing:var(--tracking-tight);font-weight:var(--weight-heading)}.playlist-page-header .panel-subtitle,.schedule-page-header .panel-subtitle{margin-top:.7rem}.playlist-page-empty,.schedule-page-empty{margin:0}.playlist-page-list,.schedule-page-list{gap:1.25rem}.schedule-page-card{width:100%;box-shadow:var(--shadow-soft);transition:all var(--motion-fast) var(--ease-standard)}.schedule-page-card .scheduled-playlist-card-top{align-items:flex-start}.schedule-page-card .scheduled-playlist-channel-edit-btn{margin-left:auto;white-space:nowrap}.schedule-page-card .scheduled-playlist-footer .scheduled-playlist-meta{flex:1 1 16rem}.schedule-page-card .scheduled-playlist-footer .scheduled-playlist-actions{justify-content:flex-end}.playlist-page-item{width:100%;box-shadow:var(--shadow-soft);transition:all var(--motion-fast) var(--ease-standard)}.playlist-page-item:hover,.schedule-page-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}.playlist-favorite-btn{color:var(--color-text-secondary);transition:transform var(--motion-fast) var(--ease-standard),border-color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard),color var(--motion-fast) var(--ease-standard)}.playlist-favorite-btn:focus-visible,.playlist-favorite-btn:hover{color:var(--color-text-primary)}.playlist-favorite-btn.is-favorite{color:#facc15;background:color-mix(in srgb,#facc15 18%,transparent);border-color:color-mix(in srgb,#facc15 62%,var(--color-border))}.playlist-header-pill-toggle{display:inline-flex;align-items:center;gap:.7rem;padding:.55rem .9rem;border-radius:var(--radius-pill);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;font-weight:600;transition:border-color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard),transform var(--motion-fast) var(--ease-standard)}.playlist-header-pill-toggle:focus-visible,.playlist-header-pill-toggle:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--color-primary) 45%,var(--color-border))}.playlist-header-pill-toggle.is-active{background:color-mix(in srgb,var(--color-primary) 10%,var(--color-surface));border-color:color-mix(in srgb,var(--color-primary) 40%,var(--color-border))}.playlist-header-pill-toggle-track{position:relative;width:2.35rem;height:1.35rem;border-radius:999px;background:color-mix(in srgb,var(--color-text-secondary) 28%,var(--color-surface));transition:background var(--motion-fast) var(--ease-standard)}.playlist-header-pill-toggle.is-active .playlist-header-pill-toggle-track{background:color-mix(in srgb,#facc15 65%,var(--color-primary))}.playlist-header-pill-toggle-thumb{position:absolute;top:.16rem;left:.16rem;width:1.03rem;height:1.03rem;border-radius:50%;background:#fffdf5;box-shadow:0 2px 6px rgba(15,23,42,.18);transition:transform var(--motion-fast) var(--ease-standard)}.playlist-header-pill-toggle.is-active .playlist-header-pill-toggle-thumb{transform:translateX(1rem)}.channels-workspace-main{display:flex;flex-direction:column;gap:1.25rem;width:100%;min-width:0}.channels-workspace-copy h2{font-size:clamp(1.5rem,3vw,2rem);margin:0;letter-spacing:var(--tracking-tight)}.channels-workspace-copy p{margin:.75rem 0 0;color:var(--color-text-secondary)}.channels-workspace-description{margin-top:.75rem;display:flex;flex-direction:column;gap:.45rem}.channels-edit-pill{gap:.6rem;flex-wrap:wrap;padding:.5rem .85rem;background:color-mix(in srgb,#16a34a 14%,var(--color-surface));border:1px solid color-mix(in srgb,#16a34a 24%,var(--color-border));color:var(--color-text)}.channels-edit-title{font-size:1rem;font-weight:700;color:var(--color-text);letter-spacing:var(--tracking-tight)}.channels-edit-pill-link{color:var(--color-primary);font-size:.82rem}.channels-edit-pill-link:hover{color:var(--color-primary-strong)}.channels-page-header-actions{display:flex;gap:.75rem;flex-wrap:wrap}.video-library-card,.video-library-empty,.video-library-filters{position:relative;border:1px solid color-mix(in srgb,var(--color-primary) 16%,var(--color-border));border-radius:var(--radius-md);box-shadow:var(--shadow-soft);overflow:hidden;isolation:isolate}.video-library-card:before,.video-library-empty:before,.video-library-filters:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,color-mix(in srgb,var(--color-primary) 46%,transparent) 0,color-mix(in srgb,var(--color-primary) 22%,transparent) 38%,transparent 100%);pointer-events:none}.video-library-empty,.video-library-filters{padding:1.5rem;background:radial-gradient(circle at top right,color-mix(in srgb,var(--color-primary) 16%,transparent),transparent 32%),linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 5%,var(--color-surface)) 0,color-mix(in srgb,var(--color-surface) 92%,var(--color-surface-accent)) 100%)}.video-library-topbar{display:flex;justify-content:space-between;gap:1rem;align-items:center}.video-library-topbar-copy{min-width:0}.video-library-topbar-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:.85rem}.video-library-card-copy h3,.video-library-topbar h2{margin:0;letter-spacing:var(--tracking-tight);font-weight:var(--weight-heading)}.video-library-create-btn{white-space:nowrap;align-self:flex-end}.video-library-helper-copy,.video-library-loading{color:var(--color-text-secondary)}.video-library-stats{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.video-library-stat-pill{display:inline-flex;align-items:center;min-height:38px;padding:.55rem .9rem;border-radius:999px;background:linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 16%,var(--color-surface-elevated)) 0,color-mix(in srgb,var(--color-primary) 8%,var(--color-surface)) 100%);border:1px solid color-mix(in srgb,var(--color-primary) 30%,var(--color-border));color:var(--color-text);font-weight:700;line-height:1;white-space:nowrap;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-primary) 8%,transparent)}.video-library-filters{display:flex;flex-direction:column;gap:1rem}.video-library-filter-row{display:grid;grid-template-columns:minmax(0,1fr) 240px 240px;grid-gap:1rem;gap:1rem;align-items:end}.video-library-search{width:100%}.video-library-category-select,.video-library-search .glass-input{background:color-mix(in srgb,var(--color-surface) 84%,var(--color-surface-accent));border-color:color-mix(in srgb,var(--color-primary) 14%,var(--color-border))}.video-library-category-select:focus,.video-library-search .glass-input:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.video-library-category-field{position:relative;display:flex;flex-direction:column;gap:.45rem;font-size:.92rem;color:var(--color-text-secondary)}.video-library-category-select{min-height:44px;width:100%;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--color-primary) 14%,var(--color-border));background:color-mix(in srgb,var(--color-surface) 84%,var(--color-surface-accent));color:var(--color-text);padding:.78rem .95rem;font:inherit;transition:all var(--motion-fast) var(--ease-standard)}.video-library-tag-filter{display:flex;flex-direction:column;gap:.75rem;padding-top:.2rem;min-width:0}.video-library-filter-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem}.video-library-filter-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:1rem;flex:0 0 auto;flex-wrap:wrap}.video-library-tag-pills{display:flex;flex-wrap:wrap;gap:.65rem;flex:1 1 auto}.video-library-tag-pill{display:inline-flex;align-items:center;gap:.55rem;padding:.58rem .8rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--color-primary) 14%,var(--color-border));background:color-mix(in srgb,var(--color-surface) 82%,var(--color-surface-accent));color:var(--color-text-secondary);cursor:pointer;font:inherit;transition:all var(--motion-fast) var(--ease-standard)}.video-library-tag-pill:focus-visible,.video-library-tag-pill:hover{border-color:color-mix(in srgb,var(--color-primary) 36%,var(--color-border));background:color-mix(in srgb,var(--color-primary) 10%,var(--color-surface-accent));color:var(--color-text);transform:translateY(-1px)}.video-library-tag-pill.selected{background:linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 18%,var(--color-surface-elevated)) 0,color-mix(in srgb,var(--color-primary) 10%,var(--color-surface)) 100%);border-color:color-mix(in srgb,var(--color-primary) 36%,var(--color-border));color:var(--color-text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-primary) 10%,transparent)}.video-library-tag-pill small{color:var(--color-text-secondary);font-size:.8rem}.video-library-list{display:grid;grid-gap:1.1rem;gap:1.1rem}.video-library-card{display:grid;grid-template-columns:240px minmax(0,1fr);grid-gap:1rem;gap:1rem;overflow:visible;background:linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 4%,var(--color-surface)) 0,color-mix(in srgb,var(--color-primary) 10%,var(--color-surface)) 100%);transition:transform var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard),border-color var(--motion-fast) var(--ease-standard)}.video-library-card:has(.video-tag-popover.is-open){z-index:20}.video-library-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card);border-color:color-mix(in srgb,var(--color-primary) 30%,var(--color-border))}.video-library-thumb,.video-library-thumb-link{display:block;width:100%;height:100%}.video-library-thumb-link{position:relative;background:color-mix(in srgb,var(--color-primary) 12%,var(--color-surface-accent));border-right:1px solid color-mix(in srgb,var(--color-primary) 14%,var(--color-border))}.video-library-thumb-link:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,color-mix(in srgb,var(--color-bg) 42%,transparent) 100%);pointer-events:none}.video-library-thumb{object-fit:cover;aspect-ratio:16/9;background:color-mix(in srgb,var(--color-primary) 8%,var(--color-surface-elevated))}.video-library-thumb-fallback{display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);font-weight:700}.video-library-card-copy{display:flex;flex-direction:column;gap:.9rem;padding:1.05rem 1.1rem 1.05rem 0;min-width:0}.video-library-card-top{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.video-library-card-main{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:.9rem}.video-library-card-actions{display:flex;align-items:center;justify-content:flex-start;gap:.5rem;flex-shrink:0}.video-notes-trigger{position:relative;overflow:hidden}.video-notes-trigger:after{content:"";position:absolute;left:7px;bottom:7px;width:8px;height:8px;border-radius:999px;background:transparent;transition:background-color .18s ease}.video-notes-trigger-icon,.video-notes-trigger-spark{transition:color .18s ease,transform .18s ease}.video-notes-trigger-spark{position:absolute;right:7px;top:7px;color:var(--color-text-secondary)}.video-notes-trigger.has-manual-notes{border-color:color-mix(in srgb,var(--color-primary) 36%,var(--color-border));color:var(--color-primary)}.video-notes-trigger.has-manual-notes:after{background:var(--color-primary)}.video-notes-trigger.has-ai-notes .video-notes-trigger-spark{color:#f59e0b;transform:scale(1.05)}.video-library-card-actions .playlist-item-tags-row{flex:1 1 auto;min-width:0}.video-library-card-copy h3{font-size:1.1rem;line-height:1.35}.video-library-meta{margin:0 0 .45rem;display:flex;flex-wrap:wrap;gap:.45rem .75rem;color:var(--color-text-secondary);font-size:.9rem}.video-library-meta span{display:inline-flex;align-items:center;padding:.22rem .55rem;border-radius:999px;background:color-mix(in srgb,var(--color-surface-accent) 82%,transparent);border:1px solid color-mix(in srgb,var(--color-primary) 10%,var(--color-border))}.video-library-empty{display:flex;flex-direction:column;gap:.9rem;align-items:flex-start}.video-library-empty h3{margin:0}.video-library-loading{margin:0;text-align:right}@media (max-width:980px){.app-shell-header,.status-badge,.workspace-header,.workspace-intro{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.status-badge-inline{flex-direction:column;align-items:stretch}.status-pill-overlay{bottom:calc(20px + env(safe-area-inset-bottom, 0px));max-width:90vw;padding:.78rem .95rem}.status-pill-copy{white-space:normal}.video-library-card,.video-library-filter-row,.video-library-topbar{grid-template-columns:1fr;flex-direction:column}.video-library-card-copy{padding:0 1rem 1rem}.channels-workspace-header,.channels-workspace-top-row{justify-content:flex-start;width:100%}.channels-workspace-controls,.channels-workspace-header{align-items:stretch}}@media (max-width:720px){.app-shell{width:min(100% - 24px,1280px);padding-top:16px}.app-shell-header,.hero-panel,.modal-content,.panel,.status-badge,.workspace-header,.workspace-intro{padding:1.2rem}.actions,.category-header-actions,.category-header-row,.header-actions,.hero-actions,.modal-actions,.status-actions,.user-info,.workspace-intro-actions{flex-direction:column;align-items:stretch}.account-summary{align-items:stretch}.app-brand-title{flex-wrap:wrap}.primary-btn,.secondary-btn,.theme-toggle{justify-content:center}.workspace-tabs{display:grid;grid-template-columns:1fr;width:min(100%,24rem);margin-inline:auto}.channel-search{min-width:0;width:100%}.channel-content-row,.history-item{align-items:flex-start}.create-playlist-modal-video-length-grid,.scheduled-playlist-filters-grid,.scheduled-playlist-form-grid{grid-template-columns:minmax(0,1fr)}.scheduled-playlist-modal{width:100%}.schedule-page-card .scheduled-playlist-footer{align-items:stretch}.schedule-page-card .scheduled-playlist-footer .scheduled-playlist-actions{justify-content:flex-start}.schedule-page-card .scheduled-playlist-footer .scheduled-playlist-actions .secondary-btn{flex:1 1 10rem}.schedule-page-card .scheduled-playlist-channel-edit-btn{margin-left:0;width:100%}.scheduled-weekday-grid{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.history-footer{align-items:stretch}.history-header-row,.history-meta-row{justify-content:flex-start}.history-meta-row{margin-left:0}.history-meta-row .history-meta{text-align:left}.history-footer-actions,.history-footer-primary{width:100%}.channel-grid,.hero-feature-grid{grid-template-columns:1fr}.video-library-empty,.video-library-filters{padding:1.2rem}.video-library-card-top,.video-library-filter-actions,.video-library-filter-footer,.video-library-stats,.video-library-topbar,.video-library-topbar-actions{flex-direction:column;align-items:stretch}.video-library-card-actions{justify-content:flex-start}.video-notes-composer-grid{grid-template-columns:1fr}.video-note-card-header{flex-direction:column;align-items:stretch}}