:root{--bg:#f4f6fa;--panel:#fff;--sidebar:#101827;--sidebar2:#172135;--text:#172033;--muted:#6f7b91;--line:#e2e7f0;--primary:#5b5ce2;--primary2:#7475f4;--green:#18a878;--red:#dc4c64;--orange:#dd8b25;--radius:14px;--shadow:0 10px 32px rgba(24,35,58,.07);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}.shell{min-height:100vh;display:flex}.sidebar{width:250px;background:var(--sidebar);color:#c7d0e2;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20}.brand{height:88px;padding:20px 22px;display:flex;align-items:center;gap:13px;color:#fff;border-bottom:1px solid rgba(255,255,255,.07)}.brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,var(--primary2),#4648cc);color:#fff;font-weight:800;box-shadow:0 8px 18px rgba(70,72,204,.32)}.brand-mark.large{width:52px;height:52px;border-radius:15px;font-size:20px}.brand strong{display:block;font-size:16px}.brand small,.sidebar-foot small,.connection small,.media small,.job-row small{display:block;color:#8491aa;margin-top:3px;font-size:11px}.sidebar nav{overflow:auto;padding:16px 12px 20px;flex:1}.nav-group{margin:0 0 18px}.nav-group>p{color:#6f7e9b;font-size:10px;font-weight:800;letter-spacing:.16em;padding:0 11px;margin:0 0 7px;text-transform:uppercase}.nav-item{height:39px;padding:0 11px;display:flex;align-items:center;gap:11px;border-radius:10px;color:#b7c3d9;margin:2px 0;font-weight:550}.nav-item:hover{background:rgba(255,255,255,.05);color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(98,99,232,.26),rgba(98,99,232,.12));color:#fff;box-shadow:inset 3px 0 #7b7cff}.nav-icon{width:18px;height:18px;border:1.5px solid currentColor;border-radius:5px;opacity:.82}.task-badge{margin-left:auto;background:#26334a;padding:2px 7px;border-radius:10px;font-size:10px}.sidebar-foot{height:66px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;padding:0 22px;gap:10px}.status-dot,.pulse{width:8px;height:8px;background:#27c58c;border-radius:50%;box-shadow:0 0 0 5px rgba(39,197,140,.12)}.workspace{margin-left:250px;width:calc(100% - 250px);min-width:0}.topbar{height:88px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:10}.topbar h2{font-size:17px;margin:3px 0 0}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#8793a9;margin:0;text-transform:uppercase}.top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.task-pill{height:36px;padding:0 13px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;color:var(--text);font-size:12px;background:#fff}.icon-btn{border:1px solid var(--line);background:var(--panel);border-radius:10px;height:36px;min-width:36px;cursor:pointer}.avatar{width:38px;height:38px;border-radius:11px;background:#202b43;color:#fff;display:grid;place-items:center;font-weight:750}.menu-button{display:none}.content{padding:28px;max-width:1580px;margin:auto}.hero{background:linear-gradient(130deg,#171f34,#272d58);color:#fff;border-radius:18px;padding:30px 32px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;box-shadow:var(--shadow)}.hero.compact{padding:23px 27px}.hero h1{font-size:28px;margin:7px 0}.hero p:not(.eyebrow){margin:0;color:#b9c3d8}.hero .eyebrow{color:#989af8}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.panel.narrow,.narrow{max-width:900px;margin-left:auto;margin-right:auto}.panel-head,.page-actions,.action-panel{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-head{margin-bottom:18px}.panel-head h3,.panel h3{margin:3px 0;font-size:17px}.page-actions{margin-bottom:18px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.span-all{grid-column:1/-1}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stat{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.stat span{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:28px;margin:8px 0}.stat a{font-size:12px}.stat.accent{background:linear-gradient(145deg,#6263e7,#4d4ecc);color:#fff}.stat.accent span,.stat.accent a{color:#d9d9ff}.btn{min-height:38px;border:1px solid var(--line);background:#fff;color:var(--text);border-radius:9px;padding:9px 15px;font-weight:650;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:hover{transform:translateY(-1px)}.btn.primary{background:linear-gradient(135deg,var(--primary2),var(--primary));border-color:transparent;color:#fff}.btn.secondary{color:var(--primary);border-color:#cfd0fa}.btn.block{width:100%}.btn.small{min-height:31px;padding:5px 9px;font-size:11px}.search,.inline-form,.row-actions{display:flex;gap:8px;align-items:center}.search input{min-width:280px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid.one{grid-template-columns:1fr}.form-grid h3{margin:12px 0 0}.span-2{grid-column:1/-1}label{display:flex;flex-direction:column;gap:7px;color:#3b4659;font-weight:600;font-size:12px}input,select,textarea{border:1px solid #d8deea;background:#fff;color:var(--text);border-radius:9px;padding:10px 11px;outline:none;width:100%}input:focus,select:focus,textarea:focus{border-color:#8b8cf0;box-shadow:0 0 0 3px rgba(91,92,226,.1)}select[multiple]{min-height:90px}.code,code{font-family:"SFMono-Regular",Consolas,monospace}code{background:#eef0f6;padding:2px 5px;border-radius:5px;font-size:12px}.form-actions{margin-top:20px;display:flex;align-items:center;gap:15px}.hint{color:var(--muted);font-size:11px;font-weight:400}.table-panel{padding:0;overflow:auto}table{border-collapse:collapse;width:100%;min-width:720px}th{text-align:left;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#7f8ba0;background:#fafbfc;padding:13px 15px;border-bottom:1px solid var(--line)}td{padding:14px 15px;border-bottom:1px solid #edf0f5;vertical-align:middle}tbody tr:hover{background:#fafbfe}.tag,.status-label{font-size:10px;font-weight:750;border-radius:20px;padding:5px 9px;background:#eff1f6;color:#627086;text-transform:capitalize}.status-label.success,.status-label.completed{background:#e6f8f1;color:#16855f}.status-label.failed,.status-label.cancelled{background:#fdecef;color:#c23e55}.status-label.running{background:#e9edff;color:#5254cc}.status-label.pending{background:#fff4df;color:#a66a16}.link{border:0;background:none;color:var(--primary);padding:0;cursor:pointer}.danger-text{color:var(--red)!important}.alert{padding:13px 16px;border-radius:10px;background:#eef1ff;border:1px solid #d9ddff;margin-bottom:18px}.alert.success{background:#e8f8f2;border-color:#c4eedf;color:#157553}.alert.danger{background:#fdecf0;border-color:#f6cbd4;color:#a92e45}.empty{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;padding:34px;color:var(--muted)}.empty b{color:var(--text)}.empty-icon{font-size:32px;color:var(--green)}.media{display:flex;align-items:center;gap:11px}.poster{width:38px;height:50px;background:#e7eaf1 center/cover;border-radius:6px}.choice-list{display:flex;flex-direction:column;gap:8px}.choice-list.scroll{max-height:440px;overflow:auto}.choice{flex-direction:row;align-items:center;padding:11px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.choice input{width:auto}.choice span{display:block}.choice small{display:block;color:var(--muted);font-weight:400;margin-top:2px}.action-panel p{margin:5px 0;color:var(--muted)}.card-list{display:flex;flex-direction:column;gap:10px}.connection{border:1px solid var(--line);border-radius:11px;padding:13px;display:flex;gap:12px;align-items:center}.connection>div:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.connection-icon{width:37px;height:37px;border-radius:9px;background:#eef0ff;color:var(--primary);display:grid;place-items:center;font-weight:800}.callout{background:#f1f3f9;border:1px solid var(--line);border-radius:11px;padding:14px 16px;color:#536077;margin-top:18px}.job-row{display:grid;grid-template-columns:auto 1fr 100px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.status{width:9px;height:9px;border-radius:50%;background:#a2aabd}.status.running{background:var(--primary)}.status.completed{background:var(--green)}.status.failed{background:var(--red)}progress{width:100%}.steps{padding-left:25px}.steps li{padding:9px}.steps span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.live-indicator{display:flex;align-items:center;gap:8px;background:#e7f8f1;color:#177b5b;padding:7px 11px;border-radius:18px;font-size:11px;font-weight:700}.live-indicator i{width:7px;height:7px;background:var(--green);border-radius:50%}.progress{width:130px;height:6px;background:#e8ebf2;border-radius:5px;overflow:hidden}.progress i{display:block;height:100%;background:var(--primary);border-radius:5px}.health-list>div{display:grid;grid-template-columns:36px 1fr auto;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.health-list>div>span:last-child{color:var(--muted)}.health-icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center}.health-icon.ok{background:#e5f8f0;color:var(--green)}.health-icon.bad{background:#fdecef;color:var(--red)}.check-list{line-height:2}.url-cell,.agent-cell,.error-cell{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-page,.install{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 15% 10%,#e7e8ff,transparent 35%),#f5f7fb;padding:24px}.auth-card{width:min(960px,100%);min-height:560px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 70px rgba(25,34,58,.13);display:grid;grid-template-columns:1.05fr 1fr;overflow:hidden}.auth-intro{background:linear-gradient(145deg,#151d31,#262c5b);color:#fff;padding:55px;display:flex;flex-direction:column;justify-content:center}.auth-intro h1{font-size:37px;line-height:1.14;margin:20px 0}.auth-intro>p:last-child{color:#b9c3d9;line-height:1.7}.auth-form{padding:55px;display:flex;flex-direction:column;justify-content:center}.auth-form h2{font-size:28px;margin:0 0 7px}.auth-form>p{color:var(--muted);margin:0 0 24px}.auth-form form{display:flex;flex-direction:column;gap:17px}.auth-form small{color:var(--muted);margin-top:22px}.install-card{width:min(780px,100%);background:#fff;border-radius:20px;padding:38px;box-shadow:var(--shadow)}.install-card h1{margin:7px 0 25px}
@media(max-width:1100px){.stat-grid{grid-template-columns:1fr 1fr}.grid-2{grid-template-columns:1fr}.span-all{grid-column:auto}.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.workspace{margin-left:0;width:100%}.menu-button{display:block;margin-right:12px}}@media(max-width:700px){.content{padding:16px}.topbar{padding:0 16px}.topbar .task-pill{display:none}.stat-grid{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column;gap:18px}.hero h1{font-size:23px}.page-actions{align-items:stretch;flex-direction:column}.search{flex-direction:column;align-items:stretch}.search input{min-width:0}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.auth-card{grid-template-columns:1fr}.auth-intro{display:none}.auth-form{padding:32px}.action-panel{align-items:stretch;flex-direction:column}}

/* EvaBulk 3.0.8: navigation, account menu and publisher */
.sidebar-search{margin:12px 12px 0;height:40px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.055);color:#8390a8}.sidebar-search:focus-within{border-color:#7779ee;background:rgba(255,255,255,.08)}.sidebar-search input{min-width:0;padding:0;border:0;background:transparent;color:#eef2ff;box-shadow:none}.sidebar-search input::placeholder{color:#78869f}.sidebar-search button{border:0;background:transparent;color:#8e9bb1;cursor:pointer;font-size:18px}.nav-group[hidden],.nav-item[hidden]{display:none!important}
.user-menu{position:relative}.avatar{border:0;cursor:pointer}.user-popover{position:absolute;right:0;top:48px;width:230px;padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.18);z-index:30}.user-popover[hidden]{display:none}.user-popover>div{padding:10px 11px;border-bottom:1px solid var(--line);margin-bottom:5px}.user-popover small{display:block;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis}.user-popover a,.user-popover button{display:block;width:100%;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.user-popover a:hover,.user-popover button:hover{background:rgba(91,92,226,.09)}.user-popover form{margin:0}.user-popover form button{color:var(--red)}
.publish-workflow{display:grid;gap:20px}.step-label{font-size:9px;letter-spacing:.16em;font-weight:800;color:var(--primary);margin:0 0 5px}.site-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.source-switch{display:flex;padding:3px;background:#eef1f7;border-radius:10px}.source-switch button{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:8px 12px;cursor:pointer;font-weight:650;font-size:12px}.source-switch button.active{background:var(--panel);color:var(--primary);box-shadow:0 2px 8px rgba(20,30,50,.09)}.bulk-editor{min-height:240px;line-height:1.65;resize:vertical}.bulk-help{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding:11px 13px;border-radius:9px;background:#f3f5fa;color:var(--muted);font-size:12px}.bulk-help b{color:var(--text)}.episode-picker{max-height:300px}.publish-options{display:grid;grid-template-columns:1.3fr .7fr .9fr 1fr;gap:14px}.publish-submit{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.publish-submit p{margin:0;color:var(--muted)}
html[data-theme="dark"]{--bg:#0b1220;--panel:#121c2d;--text:#e8edf7;--muted:#98a6bd;--line:#26344b;--shadow:0 10px 34px rgba(0,0,0,.24);color-scheme:dark}html[data-theme="dark"] body{background:var(--bg)}html[data-theme="dark"] .topbar{background:rgba(13,21,35,.92)}html[data-theme="dark"] .task-pill,html[data-theme="dark"] .btn,html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#111b2c;color:var(--text);border-color:var(--line)}html[data-theme="dark"] th{background:#10192a;color:#96a4ba}html[data-theme="dark"] td{border-color:#243047}html[data-theme="dark"] tbody tr:hover{background:#162136}html[data-theme="dark"] code,html[data-theme="dark"] .tag{background:#202b40;color:#bdc7d8}html[data-theme="dark"] label{color:#cbd5e5}html[data-theme="dark"] .callout,html[data-theme="dark"] .bulk-help{background:#182338;color:#aab7ca}html[data-theme="dark"] .source-switch{background:#0c1423}html[data-theme="dark"] .choice{background:#111b2c}html[data-theme="dark"] .alert.success{background:#102d28;border-color:#1a5949;color:#7ce2bd}html[data-theme="dark"] .alert.danger{background:#351a24;border-color:#633044;color:#ff9caf}
@media(max-width:900px){.publish-options{grid-template-columns:1fr 1fr}}@media(max-width:700px){.source-switch{width:100%;overflow:auto}.panel-head{align-items:flex-start;flex-direction:column}.publish-options{grid-template-columns:1fr}.publish-submit{align-items:stretch;flex-direction:column}.publish-submit .btn{width:100%}.sidebar-search{margin-top:8px}}

/* EvaBulk 3.0.8: legacy importer + admin worker */
.legacy-import-grid{align-items:start}.file-drop{min-height:220px;border:1.5px dashed #b9c3d6;border-radius:14px;display:flex;align-items:center;justify-content:center;text-align:center;padding:28px;cursor:pointer;background:#fafbfe;transition:.2s}.file-drop:hover{border-color:var(--primary);background:#f5f5ff}.file-drop input{position:absolute;width:1px;height:1px;opacity:0}.file-drop-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#e9eaff;color:var(--primary);font-size:25px;margin-bottom:6px}.file-drop small{color:var(--muted);font-weight:400}.confirm-import{flex-direction:row;align-items:center;margin:18px 0}.confirm-import input{width:auto}.import-note{text-align:center;margin:12px 0 0}.migration-list{display:flex;flex-direction:column;gap:5px}.migration-list>div{display:flex;gap:12px;padding:13px 5px;border-bottom:1px solid var(--line)}.migration-list i{font-style:normal;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e5f8f0;color:var(--green);font-weight:800}.migration-list span{display:flex;flex-direction:column;gap:4px}.migration-list small{color:var(--muted)}.migration-list .muted i{background:#eff1f5;color:var(--muted)}
.worker-switch{display:flex;align-items:center;gap:9px;color:#fff;cursor:pointer}.worker-switch input{position:absolute;opacity:0;width:1px}.worker-switch span{width:42px;height:24px;border-radius:20px;background:#536078;position:relative;transition:.2s}.worker-switch span:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.worker-switch input:checked+span{background:var(--green)}.worker-switch input:checked+span:after{transform:translateX(18px)}.worker-switch b{font-size:12px}.worker-notice{margin:-4px 0 18px}
html[data-theme="dark"] .file-drop{background:#0e1828;border-color:#34445e}html[data-theme="dark"] .file-drop:hover{background:#151f38;border-color:var(--primary)}html[data-theme="dark"] .file-drop-icon{background:#252856}html[data-theme="dark"] .migration-list .muted i{background:#202b40}

/* EvaBulk 3.0.8: full Series Studio */
.series-studio{max-width:1450px;margin:auto}.group-selector{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px}.group-selector>div:first-child{display:flex;flex-direction:column;gap:3px}.group-selector small{color:var(--muted)}.group-selector>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.group-selector label{display:block}.group-selector input{position:absolute;opacity:0;width:1px}.group-selector span{display:block;padding:8px 11px;border:1px solid var(--line);border-radius:8px;color:var(--muted);cursor:pointer}.group-selector input:checked+span{border-color:var(--primary);background:rgba(91,92,226,.1);color:var(--primary)}.studio-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.studio-title h1{font-size:27px;margin:5px 0}.studio-title p:not(.eyebrow){margin:0;color:var(--muted)}.studio-title>div:last-child{display:flex;gap:9px}.series-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.series-form-main{display:flex;flex-direction:column;gap:16px}.studio-section{padding:20px}.section-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:17px}.section-heading>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-size:11px;font-weight:800;flex:0 0 auto}.section-heading h3{margin:1px 0 4px}.section-heading p{margin:0;color:var(--muted);font-size:11px}.generate-row{display:grid;grid-template-columns:minmax(200px,1fr) 210px;gap:10px;align-items:end}.quick-generate .hint{display:block;margin-top:9px}.editor-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:7px;border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;background:#f7f8fb}.editor-toolbar button{border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);min-width:31px;height:29px;cursor:pointer;font-size:11px}.synopsis-editor{border-radius:0 0 9px 9px;min-height:230px;line-height:1.6}.metadata-grid{grid-template-columns:repeat(4,1fr)}.metadata-grid .span-2{grid-column:1/-1}.check-line{flex-direction:row;align-items:center}.check-line input{width:auto}.field-title{display:block;color:#3b4659;font-weight:600;font-size:12px;margin-bottom:9px}.weekday-list{display:flex;flex-wrap:wrap;gap:8px}.weekday-list label{flex-direction:row;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.weekday-list input{width:auto}.series-preview-column{position:sticky;top:108px;display:flex;flex-direction:column;gap:16px}.preview-card{padding:14px}.series-poster-preview{aspect-ratio:9/16;border:1.5px dashed #c8d0df;border-radius:11px;background:#edf1f6 center/cover no-repeat;display:grid;place-items:center;text-align:center;color:#718097;font-weight:700}.series-poster-preview small{font-weight:400}.series-poster-preview.has-image>span{display:none}.quick-stats h3,.preview-details h3,.studio-checklist h3{margin:0 0 13px}.quick-stats>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.quick-stats span{padding:10px 7px;border:1px solid var(--line);border-radius:9px;text-align:center;color:var(--muted);font-size:9px}.quick-stats b{display:block;color:var(--text);font-size:12px;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-details dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.preview-details dt{color:var(--muted);font-size:11px}.preview-details dd{margin:0;text-align:right;font-weight:700;font-size:11px}.studio-checklist p{margin:9px 0;color:var(--muted);font-size:12px}.studio-checklist p.done{color:var(--green);font-weight:700}
html[data-theme="dark"] .editor-toolbar{background:#0e1828}html[data-theme="dark"] .series-poster-preview{background-color:#0e1828;border-color:#34445e}html[data-theme="dark"] .field-title{color:#cbd5e5}
/* EvaBulk 3.0.8: Series operations library */
.series-library-head{margin-bottom:16px}.library-subtitle{color:var(--muted);margin:6px 0 0}.library-primary-actions{display:flex;gap:8px}.series-filter-grid{display:grid;grid-template-columns:minmax(280px,2fr) repeat(4,minmax(130px,1fr)) auto;gap:10px;align-items:end;padding-top:17px;border-top:1px solid var(--line)}.series-filter-grid label span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.filter-actions{display:flex;gap:7px}.library-summary{margin-top:15px;color:var(--muted);font-size:12px}.library-summary b{color:var(--text)}.library-summary span{padding:0 5px}.series-table-panel{box-shadow:var(--shadow)}.series-ops-table{min-width:1230px}.series-ops-table th{white-space:nowrap}.series-ops-table td{padding:11px 12px}.mono-cell{font-family:ui-monospace,monospace;color:var(--muted);font-size:12px}.series-media{min-width:260px}.series-media .poster{width:42px;height:58px;flex:0 0 auto}.series-media>div:last-child{min-width:0}.series-media b,.series-media small{display:block;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-badge{display:inline-flex;padding:5px 8px;border-radius:20px;background:#edf1f6;color:#5d687b;font-size:10px;font-weight:800;white-space:nowrap}.library-badge.status-ongoing{background:#e6edff;color:#335fd1}.library-badge.status-completed{background:#e4f7ef;color:#16835e}.library-badge.status-upcoming{background:#fff3dc;color:#a56b18}.library-badge.status-draft,.library-badge.status-hiatus{background:#f0f1f4;color:#667085}.library-badge.origin{text-transform:capitalize;background:#e9edf2}.library-badge.schedule{background:#fff1c9;color:#91600e}.schedule-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:155px}.schedule-badges i{font-style:normal;font-size:9px;font-weight:800;padding:4px 6px;border-radius:12px;background:#24b8cf;color:#fff}.schedule-badges small,.date-cell small,.sent-cell small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.date-cell,.sent-cell{white-space:nowrap}.series-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:150px}.series-actions form{margin:0}.series-actions .btn{width:100%;padding:5px 7px}.series-actions .send{border-color:#8ad5b8;color:#16835e}.series-actions .delete{border-color:#f0a6b3;color:var(--red)}.pagination{display:flex;justify-content:center;gap:5px;margin:20px}.pagination a{min-width:36px;height:36px;padding:0 11px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-size:12px}.pagination a.active{background:var(--primary);border-color:var(--primary);color:#fff}html[data-theme="dark"] .library-badge.origin,html[data-theme="dark"] .library-badge.status-draft,html[data-theme="dark"] .library-badge.status-hiatus{background:#263247;color:#bec9da}html[data-theme="dark"] .library-badge.status-ongoing{background:#1e315d;color:#9bb8ff}html[data-theme="dark"] .library-badge.status-completed{background:#153c35;color:#82dfbe}html[data-theme="dark"] .library-badge.schedule{background:#493817;color:#ffd77a}@media(max-width:1300px){.series-filter-grid{grid-template-columns:2fr repeat(2,1fr)}.filter-actions{align-self:end}}@media(max-width:700px){.series-library-head .panel-head,.library-primary-actions{align-items:stretch;flex-direction:column}.series-filter-grid{grid-template-columns:1fr}.filter-actions .btn{flex:1}}
@media(max-width:1200px){.series-studio-grid{grid-template-columns:minmax(0,1fr) 280px}.metadata-grid{grid-template-columns:1fr 1fr}}@media(max-width:900px){.series-studio-grid{grid-template-columns:1fr}.series-preview-column{position:static;display:grid;grid-template-columns:1fr 1fr}.preview-card{grid-row:span 3}.studio-title{align-items:flex-start}.generate-row{grid-template-columns:1fr}}@media(max-width:650px){.studio-title{flex-direction:column}.studio-title>div:last-child{width:100%}.studio-title .btn{flex:1}.series-preview-column{display:flex}.metadata-grid{grid-template-columns:1fr}.weekday-list label{flex:1 0 42%}}
