﻿:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#182230;background:#f5f7fb;font-size:14px}
*{box-sizing:border-box}body{margin:0}
aside{position:fixed;inset:0 auto 0 0;width:270px;background:#fff;color:#111827;padding:20px 16px;display:flex;flex-direction:column;z-index:5;border-right:1px solid #e5e7eb;box-shadow:2px 0 12px #0f172a08;overflow-y:auto}
.brand{display:flex;gap:11px;align-items:center;padding:0 8px}.brand>span{display:grid;place-items:center;width:43px;height:43px;background:#2563eb;color:#fff;border-radius:11px;font-weight:850}.brand div{display:grid;line-height:1.25}.brand b{font-size:15px}.brand small,.who{color:#64748b}.brand small{font-size:12px}.who{padding:18px 10px 8px;border-bottom:1px solid #eef2f7;margin-bottom:6px}
nav{flex:1}.nav-group{display:block;color:#94a3b8;font-size:11px;font-weight:800;letter-spacing:.12em;padding:16px 11px 5px}nav a{display:flex;align-items:center;gap:11px;color:#374151;text-decoration:none;padding:10px 11px;border-radius:9px;margin:1px 0;font-weight:700}nav a svg{width:20px;height:20px;fill:none;stroke:#6b7280;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}nav a:hover,nav a.active{color:#1d4ed8;background:#eff6ff}nav a:hover svg,nav a.active svg{stroke:#2563eb}
main{margin-left:270px;padding:28px;max-width:1900px}.center{margin:0;min-height:100vh;display:grid;place-items:center}
.banner,.notice,.error{padding:11px 14px;border-radius:9px;margin-bottom:16px}.banner{background:#fffbeb;border:1px solid #fde68a;color:#854d0e}.notice{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8}.error{background:#fef2f2;color:#b91c1c}
.card,.metric{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #0f172a0a;padding:20px;margin-bottom:18px}.login{width:min(430px,calc(100vw - 30px))}
.login-brand{display:flex;gap:11px;align-items:center;margin-bottom:22px}.login-brand>span{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#2563eb;color:#fff;font-size:19px;font-weight:850}.login-brand>div{display:grid}.login-brand b{font-size:17px}.login-brand small{font-size:12px}.remember-login{display:flex;align-items:center;gap:8px;font-weight:650}.remember-login input{width:auto}
h1{font-size:26px;margin:0 0 18px}h2{font-size:19px;margin:12px 0 16px}h3{margin:6px 0 16px}.muted,.hint,small{color:#64748b}.hint{font-size:13px}
.dashboard-section-title{display:block;width:100%;margin:12px 0 16px;text-align:left}.dashboard-upload-card>.dashboard-section-title{margin-top:0}.dashboard-upload-table td[rowspan]{vertical-align:middle;border-right:1px solid #e2e8f0}.dashboard-upload-table .dashboard-total-posts{text-align:center}.dashboard-upload-table .page-identity .channel-link{margin-top:3px}
.grid{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:18px}.two,.auto-columns,.settings-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auto-columns>.card,.settings-columns>.card{min-width:0}
.metric-grid{display:grid;gap:14px;margin-bottom:20px}.metric-grid.six{grid-template-columns:repeat(3,1fr)}.metric-grid.four{grid-template-columns:repeat(4,1fr)}.metric{display:grid;gap:8px;margin:0}.metric span{color:#64748b;font-weight:700}.metric b{font-size:30px}.metric.live{border-left:4px solid #16a34a}.metric.die{border-left:4px solid #dc2626}.metric.success{border-left:4px solid #2563eb}.detail-link{justify-self:start;color:#b91c1c;font-weight:750;text-decoration:none;border-bottom:1px solid currentColor}
.disk{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}.disk>div:first-child{display:grid;gap:5px}.progress{height:10px;background:#e2e8f0;border-radius:99px;overflow:hidden}.progress i{height:100%;display:block;background:#2563eb}
.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filters label{min-width:150px}.filters label:has(input[name=q]){flex:1}
form{display:grid;gap:12px}label{display:grid;gap:6px;font-weight:650}.check{display:flex;align-items:center}.check input{width:auto}
input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px 11px;background:#fff;font:inherit}textarea{resize:vertical}
button,.button-link{border:0;border-radius:8px;background:#2563eb;color:#fff;padding:9px 13px;cursor:pointer;font-weight:650;text-decoration:none;text-align:center}button:hover,.button-link:hover{filter:brightness(.94)}button:disabled{cursor:not-allowed;filter:none;opacity:.55}.ghost{background:#f1f5f9;color:#334155;width:100%}.danger{background:#dc2626}.secondary,.button-link.secondary{background:#475569}.success-btn{background:#16a34a}.top-gap{margin-top:10px}
hr{border:0;border-top:1px solid #e2e8f0;margin:22px 0}.tabs{display:flex;gap:6px;margin-bottom:18px}.tabs a{text-decoration:none;color:#475569;padding:10px 16px;border:1px solid #cbd5e1;background:#fff;border-radius:8px}.tabs a.active{background:#2563eb;color:#fff;border-color:#2563eb}
.wide{overflow:auto}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.search{display:flex;grid-template-columns:minmax(240px,1fr) auto}.history-head{align-items:end}.history-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,auto) minmax(180px,auto) auto auto;gap:8px;align-items:end;flex:1;max-width:1000px}
table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:11px;border-bottom:1px solid #e2e8f0;vertical-align:middle}th{white-space:nowrap;color:#475569;background:#f8fafc}tbody tr:nth-child(odd) td{background:#fff}tbody tr:nth-child(even) td{background:#f6f7f9}tbody tr:hover td{background:#eef4ff}
.detail{min-width:1700px}.history-table{min-width:1820px}.empty{text-align:center;color:#94a3b8;padding:30px}.page-destination{display:block;min-width:180px;font-weight:650;color:#334155}
.status{display:inline-block;border-radius:99px;padding:4px 8px;background:#e2e8f0;font-size:11px;font-weight:800;white-space:nowrap}.status.live,.status.success,.status.used{background:#dcfce7;color:#166534}.status.die,.status.error{background:#fee2e2;color:#991b1b}.status.unchecked,.status.warning{background:#fef3c7;color:#92400e}
.status.ready{background:#dbeafe;color:#1d4ed8}
.job-states{display:grid;gap:5px;justify-items:start}.job-state{display:inline-block;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:750;white-space:nowrap}.job-state.ok{background:#dcfce7;color:#166534}.job-state.failed{background:#fee2e2;color:#991b1b}.job-state.waiting{background:#fef3c7;color:#92400e}.error-detail{display:block;margin-top:7px;max-width:360px}.credential-state{justify-self:start;border-radius:99px;padding:3px 8px;font-size:11px;font-weight:800}.credential-state.configured{background:#dcfce7;color:#166534}.credential-state.missing{background:#fef3c7;color:#92400e}
.source-id{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.copy-btn{margin-top:5px;padding:4px 7px;background:#e2e8f0;color:#334155;font-size:11px}.retry-history{position:static;margin-top:8px;min-width:240px}.retry-history summary{display:inline-block;padding:5px 8px;font-size:11px}.retry-history>div{padding:7px 2px;border-bottom:1px dashed #dbe3ee}.retry-history small{display:block;margin-top:4px;max-width:320px}
.copy-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center}.copy-stack .copy-btn{margin:0 auto}
.push-state{display:block;margin-top:5px}.callback-box{display:grid;gap:6px;margin:10px 0;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.callback-box code{display:block;overflow-wrap:anywhere;color:#1d4ed8}
.disabled-cell{display:block;background:#e2e8f0;color:#94a3b8;border-radius:6px;padding:8px;text-align:center}.actions{display:flex;gap:6px;align-items:center}.actions form{display:flex;grid-auto-flow:column;gap:5px}.actions input{min-width:130px}.inline{display:inline}.inline select{min-width:90px}.menu{position:absolute;right:0;min-width:180px;background:#fff;border:1px solid #cbd5e1;padding:8px;border-radius:8px;box-shadow:0 8px 24px #0f172a26;z-index:8}.menu form,.menu button{margin:2px;width:100%}.menu-portal{position:fixed!important;z-index:1000!important}details{position:relative}summary{cursor:pointer;font-weight:800;list-style:none;padding:7px 10px;border-radius:7px;background:#f1f5f9}summary::-webkit-details-marker{display:none}.red{color:#b91c1c}
.global-menu{margin-left:auto}.scan-results{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:16px}.hidden{display:none!important}.spinner{display:inline-block;width:14px;height:14px;border:2px solid #ffffff80;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px;margin-right:6px}@keyframes spin{to{transform:rotate(360deg)}}
.setting-row{padding:16px 0;border-bottom:1px solid #e5e7eb}.setting-row:last-child{border-bottom:0}.setting-title{display:flex;justify-content:space-between;gap:16px;align-items:center;font-weight:800}.setting-description{font-size:12px;color:#64748b;font-style:italic;margin:7px 58px 0 0}.setting-row.disabled{opacity:.55}.switch{position:relative;width:46px;height:25px;display:inline-block;flex:none}.switch input{opacity:0;width:0;height:0}.switch i{position:absolute;inset:0;background:#cbd5e1;border-radius:99px;transition:.2s}.switch i:before{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:.2s}.switch input:checked+i{background:#2563eb}.switch input:checked+i:before{transform:translateX(21px)}.switch input:disabled+i{background:#d1d5db}.sub-setting{margin:13px 0 0;padding:12px;background:#f8fafc;border-radius:9px}.sub-setting .two{align-items:end}.compact-check{display:flex;gap:8px;align-items:center}.compact-check input{width:auto}.tooltip-note{cursor:help;position:relative}.tooltip-note:hover:after{content:attr(data-tooltip);position:absolute;z-index:10;max-width:330px;right:0;top:28px;background:#111827;color:#fff;padding:9px 11px;border-radius:7px;font-size:12px;font-style:italic;font-weight:500}
.operation-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.operation-settings-column{display:grid;grid-template-rows:repeat(3,minmax(88px,auto));gap:12px}.operation-settings-column label{align-content:start}.setting-inline-hint{min-height:17px;font-weight:400;font-style:italic;color:#94a3b8}.backup-section-head h2{margin:0}.backup-section-head form{display:block}.backup-retention-form{grid-template-columns:minmax(220px,1fr) auto;align-items:end;margin-bottom:22px}.backup-version-list{display:grid;gap:8px}.backup-version-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}.backup-version-item>div{display:grid;gap:4px;min-width:0}.backup-version-item>form{display:block}.backup-version-item small{font-style:italic}.backup-version-item span{font-variant-numeric:tabular-nums;color:#475569}@media(max-width:980px){.operation-settings-grid,.backup-retention-form,.backup-version-item{grid-template-columns:1fr}.operation-settings-column{grid-template-rows:none}.backup-version-item>form button{width:100%}}
.time-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.txt-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.elapsed{font-variant-numeric:tabular-nums}.warning-note{padding:10px 12px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:8px;margin:10px 0}.nowrap{white-space:nowrap}
.immediate-note{margin:2px 0 -2px}.date-mask,.time-mask{font-variant-numeric:tabular-nums;letter-spacing:.02em}.scheduled-time{display:inline-block;white-space:nowrap;color:#475569;font-weight:650}.upload-schedules,.pipe-schedules{display:grid;gap:10px}.schedule-entry-row{display:grid;grid-template-columns:minmax(300px,1.45fr) minmax(190px,.75fr) minmax(290px,1fr);gap:16px;padding:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:9px}.page-management-card{overflow:visible}.account-table-scroll,.table-scroll-x{overflow-x:auto}.account-table-scroll.scroll-enabled{max-height:610px;overflow-y:auto}.account-table-scroll.scroll-enabled thead th{position:sticky;top:0;z-index:2}.account-table-scroll table{min-width:850px}
.job-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.job-actions form{display:block}.job-actions button{white-space:nowrap}.job-edit-dialog{width:min(720px,calc(100vw - 32px));border:0;border-radius:14px;padding:22px;box-shadow:0 24px 70px #0f172a55}.job-edit-dialog::backdrop{background:#0f172a80}.job-edit-dialog form{margin:0}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-head h3{margin:0}.dialog-close{background:#e2e8f0;color:#334155;font-size:22px;line-height:1;padding:5px 10px}.dialog-actions{justify-content:flex-end;margin-top:6px}
.management-actions{flex-wrap:wrap;justify-content:flex-end}.management-actions form{display:block}.row-actions{flex-wrap:nowrap;white-space:nowrap}.row-actions button{padding:7px 8px;font-size:11px}.row-check{width:18px;height:18px;accent-color:#2563eb}.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:11px 13px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:9px}.selection-actions{display:flex;gap:8px;flex-wrap:wrap}.account-edit-dialog{width:min(620px,calc(100vw - 32px));border:0;border-radius:14px;padding:22px;box-shadow:0 24px 70px #0f172a55}.account-edit-dialog::backdrop{background:#0f172a80}.channel-link{display:block;width:max-content;margin-top:5px;padding:3px 7px;border-radius:5px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-size:11px;font-weight:750}.source-page{display:block;white-space:nowrap;margin:2px 0}.table-action-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.table-action-head summary{padding:4px 8px}.source-list-card table{min-width:1250px}
.page-management-card button,.page-management-card .button-link{min-height:36px;display:inline-flex;align-items:center;justify-content:center}.page-management-card .menu button{width:100%}.compact-switch{min-height:25px!important;margin:auto}.compact-switch i{display:block}.source-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(190px,auto) auto auto;gap:8px;margin-bottom:14px;align-items:end}
#accounts,#destination-pages,#auto-history{scroll-margin-top:18px}
.readonly-switch{position:relative;display:inline-block;width:46px;height:25px;border-radius:99px;background:#cbd5e1;font-size:0;vertical-align:middle;box-shadow:inset 0 0 0 1px #94a3b8}.readonly-switch:after{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:.2s}.readonly-switch.on{background:#22c55e;box-shadow:none}.readonly-switch.on:after{transform:translateX(21px)}.readonly-switch.off{background:#cbd5e1}.readonly-switch.unknown{background:#facc15;box-shadow:none}.readonly-switch.unknown:after{transform:translateX(10px)}.optimistic-table-row td{background:#fffbeb!important;text-align:center}.optimistic-table-row small{display:inline;color:#64748b}
@media(max-width:980px){aside{position:static;width:auto;min-height:auto}nav{display:flex;overflow:auto;align-items:center}.nav-group{display:none}nav a{white-space:nowrap}main{margin:0;padding:16px}.grid,.two,.auto-columns,.settings-columns,.metric-grid.six,.metric-grid.four{grid-template-columns:1fr}.disk{grid-template-columns:1fr}.section-head{align-items:stretch;flex-direction:column}.history-filters{grid-template-columns:1fr;max-width:none}.schedule-entry-row{grid-template-columns:1fr;gap:10px;padding:10px}}
.nowrap{white-space:nowrap}
.page-management-card table{width:100%;table-layout:auto}.page-management-card th:last-child,.page-management-card td:last-child{text-align:right}.page-management-card td:last-child .actions{justify-content:flex-end}.scan-results th:last-child{display:flex;align-items:center;justify-content:flex-end;gap:8px}.one-line-title{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}.txt-result-meta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;white-space:nowrap}.txt-result-meta form{margin:0}
.scan-results th:last-child{flex-direction:column;align-items:flex-end}
.table-scroll-x{width:100%;overflow-x:auto}.auto-assignment-table{table-layout:fixed;width:100%;min-width:1280px}.auto-assignment-table th,.auto-assignment-table td{overflow:hidden}.auto-assignment-table th:nth-child(1),.auto-assignment-table td:nth-child(1){width:38px;padding-left:6px;padding-right:4px}.auto-assignment-table th:nth-child(2),.auto-assignment-table td:nth-child(2){width:100px}.auto-assignment-table th:nth-child(3),.auto-assignment-table td:nth-child(3){width:112px}.auto-assignment-table th:nth-child(4),.auto-assignment-table td:nth-child(4){width:74px}.auto-assignment-table th:nth-child(5),.auto-assignment-table td:nth-child(5){width:68px}.auto-assignment-table th:nth-child(6),.auto-assignment-table td:nth-child(6){width:88px}.auto-assignment-table th:nth-child(7),.auto-assignment-table td:nth-child(7){width:112px}.auto-assignment-table th:nth-child(8),.auto-assignment-table td:nth-child(8){width:122px}.auto-assignment-table th:nth-child(9),.auto-assignment-table td:nth-child(9),.auto-assignment-table th:nth-child(10),.auto-assignment-table td:nth-child(10){width:90px}.auto-assignment-table th:nth-child(11),.auto-assignment-table td:nth-child(11){width:118px}.auto-assignment-table th:nth-child(12),.auto-assignment-table td:nth-child(12){width:76px}.auto-assignment-table th:nth-child(13),.auto-assignment-table td:nth-child(13){width:78px}.auto-assignment-table th:nth-child(14),.auto-assignment-table td:nth-child(14){width:145px}.auto-assignment-table td:nth-child(14) .actions{display:flex;flex-wrap:nowrap;justify-content:flex-end;white-space:nowrap}.truncate-cell{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}
.assignment-scroll{position:relative;overflow-x:auto;overflow-y:visible}.auto-assignment-table th:last-child,.auto-assignment-table td:last-child{width:176px!important;min-width:176px;overflow:visible;position:sticky;right:0;z-index:3;background:#fff;box-shadow:-8px 0 12px -12px #0f172a80}.auto-assignment-table thead th:last-child{z-index:5;background:#f8fafc}.auto-assignment-table tbody tr:nth-child(even) td:last-child{background:#f8fafc}.auto-assignment-table td:last-child .actions{display:flex;flex-wrap:nowrap;justify-content:flex-end;white-space:nowrap;min-width:160px}.auto-assignment-table td:last-child .actions form{flex:0 0 auto}.auto-assignment-table td:last-child button{white-space:nowrap;padding-left:10px;padding-right:10px}
.cookie-table{table-layout:fixed;width:100%;min-width:1080px}.cookie-table th:nth-child(1),.cookie-table td:nth-child(1){width:42px}.cookie-table th:nth-child(2),.cookie-table td:nth-child(2){width:90px}.cookie-table th:nth-child(3),.cookie-table td:nth-child(3){width:180px}.cookie-table th:nth-child(5),.cookie-table td:nth-child(5){width:180px}.cookie-preview{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}
.upload-schedule-row{grid-template-columns:minmax(260px,2fr) minmax(170px,1fr) minmax(220px,1.25fr) auto}.remove-upload-file{align-self:end;white-space:nowrap}.mini-progress{display:block;position:relative;width:58px;height:3px;margin-top:4px;overflow:hidden;border-radius:4px;background:rgba(80,100,135,.18)}.mini-progress:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--progress,0%);border-radius:4px;background:#22a447;transition:width .35s ease}
.auto-form-card{display:flex;flex-direction:column}.auto-connect-form{height:100%;display:flex;flex-direction:column}.auto-submit{margin-top:auto}.picker-toggle{display:flex;grid-template-columns:auto 1fr;align-items:center;font-size:12px}.picker-toggle input{width:auto}.smart-picker{position:relative}.picker-trigger{width:100%;min-height:42px;background:#fff;color:#334155;border:1px solid #cbd5e1;text-align:left;display:grid}.smart-picker.disabled{opacity:.6}.picker-panel{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #cbd5e1;border-radius:9px;box-shadow:0 15px 35px #0f172a2b;padding:8px}.picker-options{max-height:300px;overflow:auto;margin-top:7px}.picker-option{display:grid;width:100%;gap:2px;padding:9px 10px;border-radius:7px;background:#fff;color:#334155;text-align:left}.picker-option:hover{background:#eff6ff}.picker-option b{font-size:13px}.picker-option small{font-size:11px;font-style:italic;font-weight:400}.picker-option small.connected{color:#15803d}.picker-option small.unconnected{color:#94a3b8}.connection-filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(200px,1fr) minmax(240px,auto) auto auto;gap:8px;margin-bottom:14px;align-items:end}.auto-assignment-table th:last-child{text-align:center}.auto-assignment-table td:last-child .actions{justify-content:center}
.auto-add-head{margin-bottom:14px}.auto-add-head h2{margin:0}.auto-section-title{margin:24px 0 14px}.auto-section-toggle{width:auto;white-space:nowrap}.auto-add-section{animation:reveal .18s ease}.label-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.light-action{background:#dbeafe;color:#1d4ed8;padding:7px 10px;font-size:12px;white-space:nowrap}.picker-trigger small,.picker-option small{justify-self:start;text-align:left}.picker-option[hidden]{display:none!important}.history-head{justify-content:flex-end}.auto-assignment-table td:last-child .actions{justify-content:flex-end}.connection-filters>button,.connection-filters>.button-link,.history-filters>button,.history-filters>.button-link{min-height:40px;display:flex;align-items:center;justify-content:center}@keyframes reveal{from{opacity:.35;transform:translateY(-4px)}to{opacity:1;transform:none}}
.ajax-toast{position:fixed;z-index:3000;right:22px;top:22px;max-width:430px;box-shadow:0 12px 35px #0f172a30;margin:0}
.update-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;margin-bottom:16px;border:1px solid #93c5fd;background:#eff6ff;border-radius:10px;color:#1e3a8a}.update-banner>div,.update-banner form{display:flex;gap:8px;margin:0}.update-confirm-dialog{width:min(620px,calc(100vw - 32px));border:0;border-radius:14px;padding:24px;box-shadow:0 24px 70px #0f172a55}.update-confirm-dialog::backdrop{background:#0f172a99}.update-lock{position:fixed;z-index:5000;inset:0;background:#0f172acc;display:grid;place-items:center;padding:20px}.update-lock-card{width:min(620px,100%);padding:30px;background:#fff;border-radius:16px;text-align:center;box-shadow:0 25px 80px #0008}.update-lock-card h2{margin-top:0}
.auto-assignment-table .merged-page-cell{vertical-align:middle;border-bottom:1px solid #cbd5e1;background:#fff}.auto-assignment-table tbody tr:nth-child(even) .merged-page-cell{background:#f8fafc}
.page-identity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;max-width:100%;text-align:center}.page-identity b,.page-identity span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-identity span{font-size:12px;color:#64748b}.latest-connect-option{margin:0 0 12px;padding:10px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;font-size:12px;line-height:1.45}.latest-connect-option input{width:auto}
.channel-link,.copy-btn{margin-left:auto;margin-right:auto}.copy-btn{display:block}.websub-retry-count{display:block;margin-top:6px;color:#64748b;font-style:italic;white-space:nowrap}.source-filters{grid-template-columns:minmax(200px,1fr) minmax(190px,1fr) minmax(190px,auto) minmax(190px,auto) auto auto}
.update-progress{margin:22px 0 6px;text-align:left}.update-progress-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#334155}.update-progress-label strong{color:#2563eb;font-size:18px}.update-progress-track{height:12px;overflow:hidden;border-radius:999px;background:#e2e8f0;box-shadow:inset 0 1px 2px #0f172a22}.update-progress-track i{display:block;width:var(--update-progress,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#2563eb);transition:width .35s ease}.update-progress p{text-align:center;margin:10px 0 0;color:#64748b}.update-lock-card [data-update-complete]{min-width:130px}
.vps-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.enrollment-list{display:grid;gap:10px;margin-top:15px;max-height:580px;overflow:auto}.enrollment-box{display:grid;gap:8px;padding:13px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:9px}.enrollment-box .section-head{margin:0}.enrollment-box .section-head form{margin:0}.enrollment-box code{display:block;padding:9px;background:#fff;border-radius:6px;overflow-wrap:anywhere;user-select:all}.enrollment-box.expired{border-color:#fecaca;background:#fef2f2}.enrollment-countdown{display:inline-block;min-width:70px;color:#1d4ed8;font-variant-numeric:tabular-nums}.enrollment-box.expired .enrollment-countdown{color:#b91c1c}.release-history{display:grid;gap:7px;margin-top:14px;max-height:360px;overflow:auto}.release-history p{margin:0;overflow-wrap:anywhere}.release-history code{font-size:11px}.vps-table{min-width:1820px}.vps-person-name{font-weight:750;white-space:nowrap}.vps-agent-id{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vps-row-actions{justify-content:flex-end;white-space:nowrap}.vps-edit-dialog{width:min(520px,calc(100vw - 32px));border:0;border-radius:14px;padding:22px;box-shadow:0 24px 70px #0f172a55}.vps-edit-dialog::backdrop{background:#0f172a80}.vps-edit-dialog form{margin:0}@media(max-width:980px){.vps-top-grid{grid-template-columns:1fr}.update-banner{align-items:flex-start;flex-direction:column}}
.manual-page-picker{z-index:4}.manual-page-picker .picker-trigger{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.manual-page-picker .picker-trigger small{font-weight:500;color:#64748b}.manual-switch-title{justify-content:flex-start}.manual-auto-setting{padding:4px 0 12px}.manual-auto-setting .sub-setting{margin-top:10px}.manual-time-slots{margin-top:12px}.pipe-schedule-row{grid-template-columns:minmax(300px,1.45fr) minmax(190px,.75fr) minmax(290px,1fr) auto}.remove-pipe-link{align-self:end;white-space:nowrap}.history-page-identity{min-width:165px}.history-page-identity .channel-link{margin:2px auto;padding:3px 8px}@media(max-width:980px){.pipe-schedule-row{grid-template-columns:1fr}.manual-auto-setting .two{grid-template-columns:1fr}}
.split-pipe-schedule-row{grid-template-columns:minmax(280px,1.45fr) minmax(105px,.45fr) minmax(175px,.75fr) minmax(230px,1fr)}@media(max-width:980px){.split-pipe-schedule-row{grid-template-columns:1fr}}
.optimistic-job-row td{background:#eff6ff!important}.optimistic-job-row small{display:block;margin-top:3px;color:#2563eb;font-style:italic}
.vps-lock-screen{position:fixed;z-index:6000;inset:0;display:grid;place-items:center;padding:20px;background:#fff}.vps-lock-card{width:min(430px,calc(100vw - 32px));margin:0}.vps-top-card{height:520px;min-height:520px;max-height:520px;overflow:hidden;display:flex;flex-direction:column}.vps-top-card>form{flex:none}.vps-top-card .enrollment-list,.vps-top-card .release-history{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:5px}.vps-list-card{overflow:visible}.vps-list-card>.table-scroll-x{overflow-x:visible}.vps-table{width:100%;min-width:0!important;table-layout:fixed;font-size:10px}.vps-table th,.vps-table td{padding:7px 5px;white-space:normal;overflow-wrap:anywhere}.vps-table th:nth-child(1){width:9%}.vps-table th:nth-child(2){width:8%}.vps-table th:nth-child(3){width:6%}.vps-table th:nth-child(4){width:9%}.vps-table th:nth-child(5){width:6%}.vps-table th:nth-child(6){width:7%}.vps-table th:nth-child(7){width:9%}.vps-table th:nth-child(8){width:10%}.vps-table th:nth-child(9){width:9%}.vps-table th:nth-child(10){width:9%}.vps-table th:nth-child(11){width:18%}.vps-table .nowrap{white-space:normal}.vps-table .vps-agent-id{max-width:100%;white-space:normal;word-break:break-all}.vps-row-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px}.vps-row-actions button,.vps-row-actions .button-link{padding:6px 7px;font-size:10px;white-space:nowrap}@media(max-width:1200px){.vps-table{font-size:9px}.vps-table th,.vps-table td{padding:6px 3px}.vps-row-actions button,.vps-row-actions .button-link{padding:5px 4px;font-size:9px}}
.vps-lock-screen{min-height:calc(100vh - 56px);display:grid;place-items:center}.vps-lock-card{width:min(420px,100%);margin:0}.vps-top-card{height:590px;display:flex;flex-direction:column;overflow:hidden}.vps-top-card .enrollment-list,.vps-top-card .release-history{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding-right:5px}.vps-list-card{overflow:visible}.vps-list-card .table-scroll-x{overflow:visible}.vps-table{width:100%;min-width:0;table-layout:fixed;font-size:10px}.vps-table th,.vps-table td{padding:7px 4px;overflow-wrap:anywhere}.vps-table th:nth-child(1){width:9%}.vps-table th:nth-child(2){width:8%}.vps-table th:nth-child(3){width:5%}.vps-table th:nth-child(4){width:9%}.vps-table th:nth-child(5){width:6%}.vps-table th:nth-child(6){width:7%}.vps-table th:nth-child(7){width:9%}.vps-table th:nth-child(8){width:10%}.vps-table th:nth-child(9){width:9%}.vps-table th:nth-child(10){width:9%}.vps-table th:nth-child(11){width:19%}.vps-table .vps-agent-id{max-width:100%;font-size:9px}.vps-table .vps-row-actions{gap:3px;white-space:normal;flex-wrap:wrap;justify-content:flex-start}.vps-table .vps-row-actions button,.vps-table .vps-row-actions .button-link{padding:6px 7px;font-size:10px;min-height:30px}.vps-table .error-detail{max-width:100%}@media(max-width:980px){.vps-top-card{height:520px}.vps-table{font-size:8px}.vps-table th,.vps-table td{padding:5px 2px}}
.setting-inline-hint{display:inline;font-size:11px;font-weight:400;font-style:italic;color:#94a3b8}.cookie-table-wrap{width:100%;overflow:visible}.cookie-table{width:100%;min-width:0!important;table-layout:fixed;font-size:11px}.cookie-table th,.cookie-table td{padding:8px 5px;overflow:hidden}.cookie-table th:nth-child(1),.cookie-table td:nth-child(1){width:5%}.cookie-table th:nth-child(2),.cookie-table td:nth-child(2){width:10%}.cookie-table th:nth-child(3),.cookie-table td:nth-child(3){width:18%}.cookie-table th:nth-child(4),.cookie-table td:nth-child(4){width:15%}.cookie-table th:nth-child(5),.cookie-table td:nth-child(5){width:18%}.cookie-table th:nth-child(6),.cookie-table td:nth-child(6){width:15%}.cookie-table th:nth-child(7),.cookie-table td:nth-child(7){width:19%;overflow:visible}.cookie-table .cookie-preview{max-width:100%}.cookie-table td:last-child .actions,.reserve-proxy-table td:last-child .actions{justify-content:flex-end;flex-wrap:nowrap}.cookie-table td:last-child button,.reserve-proxy-table td:last-child button{padding:7px 8px;font-size:10px}.cookie-table .table-action-head,.reserve-proxy-table .table-action-head{justify-content:flex-end}.cookie-table .action-menu summary,.reserve-proxy-table .action-menu summary{padding:4px 8px}.reserve-proxy-table{width:100%;table-layout:fixed;font-size:11px}.reserve-proxy-table th:nth-child(1){width:7%}.reserve-proxy-table th:nth-child(2){width:30%}.reserve-proxy-table th:nth-child(3){width:18%}.reserve-proxy-table th:nth-child(4){width:20%}.reserve-proxy-table th:nth-child(5){width:25%}.reserve-proxy-table td{overflow:hidden}.reserve-proxy-table td:last-child{overflow:visible}.manual-history-filters{margin-bottom:14px;grid-template-columns:minmax(240px,1fr) minmax(190px,auto) auto auto}
.edit-video-options{display:grid!important;grid-template-columns:1fr!important;gap:10px}.edit-video-options>label,.edit-video-options>p{width:100%;margin:0}
.table-time{display:inline-block;white-space:nowrap;line-height:1.35;font-variant-numeric:tabular-nums}
.history-detail{display:-webkit-box;max-width:760px;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-height:1.4}
.history-row-limit{display:flex;align-items:center;gap:7px;white-space:nowrap;margin:0}.history-row-limit select{width:78px;min-width:78px}.history-table-viewport{width:100%;overflow:auto;overscroll-behavior:contain}.history-table-viewport .history-table{margin:0}.history-table-viewport thead{position:sticky;top:0;z-index:6}.history-table-viewport thead th{background:#f8fafc}.manual-history-filters{grid-template-columns:minmax(240px,1fr) minmax(190px,auto) auto auto auto}
.reserve-proxy-scroll{max-height:480px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.reserve-proxy-scroll .reserve-proxy-table{margin:0}.reserve-proxy-scroll thead{position:sticky;top:0;z-index:5}.reserve-proxy-scroll thead th{background:#f8fafc}.video-edit-page{width:100%;max-width:none}.video-edit-page .setting-row{margin-bottom:18px}.edit-preset-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.edit-preset-column{display:flex;flex-direction:column;gap:14px;min-width:0}.edit-preset-column .color-picker{grid-column:auto}.edit-preset-form>button{width:100%}.edit-name-dialog .actions{justify-content:flex-end;margin-top:14px}@media(max-width:1050px){.edit-preset-columns{grid-template-columns:1fr}}
.edit-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px 18px;align-items:end}.edit-preset-grid fieldset{margin:0;min-width:0}.color-picker{grid-column:span 2;display:flex;flex-wrap:wrap;gap:8px 12px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px}.color-picker legend{font-weight:700}.color-picker label{display:flex;align-items:center;gap:5px;font-size:11px}.color-picker label input{width:auto}.color-picker label i{width:18px;height:18px;border-radius:4px;background:var(--color);border:1px solid #94a3b8}.color-picker>input[type=color]{width:44px;height:30px;padding:2px}.edit-preset-form>button{margin-top:16px}.edit-preset-list{display:grid;gap:10px}.edit-preset-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 15px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.edit-preset-list h3{margin:0 0 5px}.edit-preset-list small{display:block;line-height:1.5}.edit-preset-list .preset-folder{margin-top:4px;overflow-wrap:anywhere}.edit-preset-list form{display:block}@media(max-width:1050px){.edit-preset-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media(max-width:700px){.edit-preset-grid{grid-template-columns:1fr}.color-picker{grid-column:auto}.edit-preset-list article{grid-template-columns:1fr}.edit-preset-list button{width:100%}}


.browser-login-card{display:grid;gap:14px}.browser-login-note{display:grid;gap:4px}.browser-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.browser-screen{background:#111;border:2px solid #cbd5e1;border-radius:12px;overflow:auto;max-height:72vh;outline:none}.browser-screen:focus{border-color:#4263eb;box-shadow:0 0 0 3px #4263eb33}.browser-screen img{display:block;width:100%;height:auto;cursor:default;user-select:none}.button-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:10px 14px;border-radius:8px;font-weight:700}.green{color:#15803d}
.browser-proxy-card{max-width:760px}.browser-desktop-card{display:grid;gap:12px}.vnc-screen{width:100%;height:min(72vh,900px);min-height:620px;background:#111;border:2px solid #cbd5e1;border-radius:12px;overflow:hidden}.vnc-screen canvas{width:100%!important;height:100%!important;object-fit:contain}.browser-desktop-card .browser-toolbar{justify-content:space-between;align-items:center}
.operation-settings-column{grid-template-rows:repeat(3,minmax(78px,auto))}.operation-field{display:grid;grid-template-rows:minmax(34px,auto) 42px;align-content:start}.operation-label-head{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;line-height:1.25}.operation-label-head b{font-weight:650}.operation-field .setting-inline-hint{min-height:0;display:inline}
.auto-assignment-table th:nth-child(13),.auto-assignment-table td:nth-child(13){width:82px}.auto-assignment-table th:nth-child(14),.auto-assignment-table td:nth-child(14){width:72px}.auto-assignment-table th:nth-child(15),.auto-assignment-table td:nth-child(15){width:145px}.assignment-upload-toggle{text-align:center}.assignment-upload-toggle form{display:inline-block}.zip-help{display:block;margin-top:10px;padding:10px 12px;border-radius:8px;background:#f8fafc;color:#64748b;font-size:11px;font-style:italic;line-height:1.55}
