/* ACE V20 FINAL: local 3D assets; no remote font, script or image dependency. */
/* V20 4.0.17: sync states and import workspace use the same dark palette. */
:root{color-scheme:dark;--bg:#080f1d;--surface:#101c30;--ink:#edf4ff;--muted:#a5b6cf;--line:#263952;--primary:#51c6ff;--primary-dark:#2498ed;--soft:#15243c;--green:#5ce6ab;--amber:#ffd076;--red:#ff8c9c;--nav:#0b1425;--radius:20px;--ace-ui-ink:#edf4ff;--ace-ui-muted:#a5b6cf;--ace-ui-line:#263952;--ace-ui-soft:#15243c;--ace-ui-navy:#111f36;--ace-ui-gold:#6ed2ff;--shadow:0 16px 42px #0003,inset 0 1px #ffffff09}
body.ace-v20-3d{background:radial-gradient(ellipse at 90% 0,#13304a66,transparent 48%),#080f1d!important;color:#edf4ff!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
body.ace-v20-3d,body.ace-v20-3d *{box-sizing:border-box}
body.ace-v20-3d [hidden]{display:none!important}
body.ace-v20-3d :is(h1,h2,h3,h4,strong,b){color:inherit}
body.ace-v20-3d :is(p,small,.helper,.token-help,.muted,.auth-copy,.queue-summary){color:#a5b6cf}
body.ace-v20-3d a{color:#79d5ff}
body.ace-v20-3d :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0b1629!important;color:#ecf3ff!important;border:1px solid #31445f!important;border-radius:12px;box-shadow:inset 0 2px 5px #0003;min-height:44px}
body.ace-v20-3d :is(input,textarea)::placeholder{color:#8195b3!important}
body.ace-v20-3d :is(input[type=checkbox],input[type=radio]){accent-color:#44c5fb}
body.ace-v20-3d :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #65d6ff!important;outline-offset:3px}
body.ace-v20-3d :is(.panel-card,.card,.stat-card,.report-card,.appearance-asset,.auth-card,.drawer,.operation-history-dialog,.workspace-brand,.activity-metric){background:linear-gradient(145deg,#142239,#0e1a2c)!important;color:#edf4ff!important;border:1px solid #293d58!important;border-radius:19px;box-shadow:0 14px 30px #0003,inset 0 1px #ffffff09!important}
body.ace-panel.ace-v20-3d .main-area{padding-right:30px;padding-left:30px;min-width:0}
body.ace-v20-3d .sidebar{background:linear-gradient(180deg,#0e1b30,#0a1220)!important;border-right:1px solid #24354e!important;box-shadow:12px 0 30px #0002}
body.ace-v20-3d .brand-copy strong{color:#f2f7ff;letter-spacing:1px}
body.ace-v20-3d :is(.brand-copy>span,.brand-version,.brand-edition,.nav-group-label,.sidebarRole){color:#91a8c8!important}
body.ace-v20-3d .sidebar .nav-item{color:#b6c6dc;border-radius:12px;min-height:46px;margin-bottom:4px}
body.ace-v20-3d .sidebar .nav-item.active{background:linear-gradient(100deg,#143d5d,#152a43)!important;color:#7ddcff!important;box-shadow:inset 3px 0 #50c9ff,0 7px 15px #0002!important}
body.ace-v20-3d .nav-icon{background:#ffffff05!important;color:inherit!important}
body.ace-v20-3d .sidebar-user{border-color:#283b55;background:#101b2c}
body.ace-v20-3d :is(.topbar,.wib-clock){background:transparent!important;border-color:#263a54!important;color:#dfeaff}
body.ace-v20-3d .topbar{min-height:84px;margin-bottom:18px}
body.ace-v20-3d .page-heading h1{font-size:26px;letter-spacing:-.7px}
body.ace-v20-3d :is(.page-heading p,.section-head p,.stat-text span,.stat-text small,.appearance-help,.appearance-eyebrow,.delete-help,.report-focus-copy small){color:#a5b6cf!important}
body.ace-v20-3d :is(.btn,.quick-actions button,.secondary,.text-btn){background:#172840!important;border:1px solid #354c6a!important;color:#d7e7fc!important;box-shadow:0 3px 0 #050d1e,0 7px 15px #0002;transition:transform .18s,box-shadow .18s,border-color .18s;border-radius:11px;min-height:42px}
body.ace-v20-3d :is(.btn-primary,.primary,.resume){background:linear-gradient(135deg,#61d6ff,#278ded)!important;border:1px solid #71dcff!important;color:#061a32!important;font-weight:750;box-shadow:0 4px 0 #125695,0 10px 22px #1d9de72b!important}
body.ace-v20-3d :is(.btn-danger,.pause){background:#3b2031!important;color:#ffc4cd!important;border-color:#784050!important}
body.ace-v20-3d :is(.btn,.quick-actions button,.secondary,.primary):hover:not(:disabled){transform:translateY(-2px);border-color:#68ceff!important}
body.ace-v20-3d :is(.btn,button):active:not(:disabled){transform:translateY(1px)}
body.ace-v20-3d :is(button,.btn):disabled{background:#162239!important;border-color:#2c3a51!important;color:#7e91ac!important;box-shadow:none!important;opacity:1}
body.ace-v20-3d :is(.toolbar,.report-focus-bar,.list-head,.bot-status-tabs,.v11-tabs,.workflow-tabs,.bot-channel-tabs,.spam-run-hint,.outdated-panel-notice,.bot-global-note,.current-url,.binding-code,.code-box,.operation-issue){background:#0e1a2e!important;color:#c2d3e9!important;border-color:#2a405d!important}
body.ace-v20-3d :is(.workflow-tabs,.bot-channel-tabs){padding:5px;gap:5px;border:1px solid #2a405d;border-radius:14px;max-width:none}
body.ace-v20-3d :is(.workflow-tabs button,.bot-channel-tabs button){background:transparent!important;color:#a9bbd4!important;border:1px solid transparent!important;border-radius:10px;min-height:44px}
body.ace-v20-3d :is(.workflow-tabs button,.bot-channel-tabs button)[aria-selected=true]{background:#193953!important;color:#8cddff!important;border-color:#386486!important;box-shadow:0 4px 10px #0003}
body.ace-v20-3d :is(.workspace-brand.active,.store-chip.active){background:#183651!important;border-color:#55b7e7!important;color:#8cdeff!important}
body.ace-v20-3d :is(.stat-icon,.quick-icon,.metric-icon,.heading-icon){background:#16344e!important;color:#7ad8ff!important;border-color:#315b7b!important}
body.ace-v20-3d :is(.stat-text strong,.bot-metric strong,.r9-queue-metrics strong){color:#edf4ff}
body.ace-v20-3d :is(.quick-actions-final button,.report-channel,.bot-current-job,.bot-run-result,.outdated-table-wrap,.spam-store-row,.v11-target-card){background:#112038!important;border-color:#2a405d!important;color:#dfeaff!important}
body.ace-v20-3d :is(.quick-actions-final button small,.bot-metric>span,.bot-metric small,.stat-text small){color:#a5b6cf!important}
body.ace-v20-3d :is(table,thead,th,td){border-color:#273c57!important;color:#d8e6f9}
body.ace-v20-3d :is(thead,th){background:#0c172a!important;color:#91a7c6!important}
body.ace-v20-3d :is(td,.outdated-table-wrap tbody tr,.spam-store-settings){background:transparent!important}
body.ace-v20-3d tr:hover td{background:#152b43!important}
body.ace-v20-3d :is(.ace-help,.disclosure,.workflow-history,details.bot-channel-totals){background:#101d32!important;border-color:#2c405d!important;color:#bed0e8!important}
body.ace-v20-3d :is(.ace-help-body,.disclosure-body){border-color:#2a3c56!important;background:transparent!important}
body.ace-v20-3d .ace-emoji{background:transparent!important;box-shadow:none;width:36px;height:36px;flex:0 0 36px;border:0;padding:0;vertical-align:middle;display:inline-flex}
body.ace-v20-3d .ace-emoji img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 5px #0005)}
.v20-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 34px;margin-bottom:22px;overflow:hidden;border:1px solid #305477;border-radius:24px;background:radial-gradient(ellipse at 85% 45%,#15739650,transparent 54%),linear-gradient(120deg,#10233d,#0c1b30);box-shadow:0 17px 36px #0003,inset 0 1px #7bc7ff12}
.v20-hero::before{content:"";position:absolute;inset:auto -80px -220px auto;width:440px;height:440px;border:1px solid #4dc6ff1f;border-radius:50%;z-index:-1;box-shadow:0 0 0 35px #47c7ff05,0 0 0 75px #47c7ff04}
.v20-hero-copy{max-width:620px;min-width:0}.v20-kicker,.v20-hero .eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#78d8ff!important;font-weight:750;margin-bottom:10px}.v20-hero h2{font-size:32px;line-height:1.25;letter-spacing:-1px;margin:0 0 10px;color:#f0f7ff}.v20-hero p{font-size:13px;line-height:1.8;max-width:520px;margin-bottom:17px;color:#afc7e2}.v20-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.v20-hero-art{flex:0 0 168px;width:168px;height:174px;object-fit:contain;filter:drop-shadow(0 16px 14px #0006);transform:rotate(-5deg)}
.v20-hero-note{font-size:10px;color:#8ca5c4;margin-top:15px;display:flex;gap:10px;flex-wrap:wrap}.v20-hero-note span::before{content:"";display:inline-block;width:5px;height:5px;background:#63ddb1;border-radius:50%;margin-right:7px;vertical-align:middle}
body.ace-v20-3d #view-bot .bot-simple-card{background:radial-gradient(ellipse at 90% 30%,#12658d44,transparent 60%),linear-gradient(120deg,#132c47,#101d32)!important;border-color:#355777!important;padding:26px 28px}
body.ace-v20-3d .bot-simple-hero{display:grid;grid-template-columns:102px minmax(0,1fr) auto;align-items:center;gap:20px}.v20-bot-art{width:102px;height:116px;object-fit:contain;filter:drop-shadow(0 12px 10px #0004)}
body.ace-v20-3d .bot-simple-title h2{font-size:28px!important;color:#f0f6ff}.v20-bot-status{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:11px;font-weight:600;color:#91a7c1}.v20-bot-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#71839f;box-shadow:0 0 0 4px #71839f12}.v20-bot-status[data-online=true]{color:#8de9c3}.v20-bot-status[data-online=true]::before{background:#59dcaa;box-shadow:0 0 0 4px #59dcaa15}
body.ace-v20-3d .bot-master-switch{background:#0d1c30!important;border-color:#416284!important;min-width:148px;box-shadow:0 5px 0 #060e1b,inset 0 1px #ffffff09}.ace-v20-3d .bot-master-switch[aria-pressed=true]{border-color:#39c8a2!important}.ace-v20-3d .bot-master-copy strong{color:#cfe8ff!important}.ace-v20-3d .bot-master-copy small{color:#88a3c3!important}.ace-v20-3d .bot-master-track{background:#2c405b!important}.ace-v20-3d .bot-master-switch[aria-pressed=true] .bot-master-track{background:#1b967e!important}
.v20-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.v20-stage-card{position:relative;display:block;text-align:left;width:100%;min-width:0;border:1px solid #2d415e;border-radius:19px;background:linear-gradient(145deg,#16263e,#101c2f);padding:18px;color:#e6f1ff;box-shadow:0 7px 0 #050e1b55,0 15px 24px #0003,inset 0 1px #ffffff09;transition:border-color .2s,transform .2s}
.v20-stage-card:hover{transform:translateY(-3px);border-color:#5cbce9}.v20-stage-card[data-state=active]{border-color:#51caff;background:radial-gradient(ellipse at 90% 60%,#167cb83d,transparent 80%),#12253d;box-shadow:0 7px 0 #061322,0 0 25px #32b6fb13,inset 0 1px #a5e6ff13}.v20-stage-card[data-state=done]{border-color:#3c9b80}.v20-stage-card[data-state=attention]{border-color:#bd9448}.v20-stage-card[data-state=error]{border-color:#ae5265}
.v20-stage-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.v20-stage-top>small{font-size:9px;color:#9bb0cc;letter-spacing:1.5px;font-weight:700}.v20-state{font-size:10px!important;white-space:nowrap;display:inline-flex;padding:5px 9px;border-radius:7px;background:#1c2c43;color:#acbdd4!important;border:1px solid #344760;line-height:1.4}.v20-state[data-tone=active]{background:#13415c;color:#8bdbff!important;border-color:#2e7a9e}.v20-state[data-tone=done]{background:#163f37;color:#8be3bd!important;border-color:#326b58}.v20-state[data-tone=attention]{background:#45351e;color:#ffda8f!important;border-color:#77613e}.v20-state[data-tone=error]{background:#452536;color:#ffb4c4!important;border-color:#7c4457}
.v20-stage-main{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 12px}.v20-stage-main h3{font-size:20px;letter-spacing:-.4px;margin:0 0 5px;color:#edf6ff}.v20-stage-main p{font-size:11px;margin:0;line-height:1.6;color:#9db4d1;max-width:175px}.v20-stage-main img{width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 8px 6px #0005);flex-shrink:0}
.v20-stage-card progress{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:9px;overflow:hidden;background:#22344e}.v20-stage-card progress::-webkit-progress-bar{background:#22344e;border-radius:9px}.v20-stage-card progress::-webkit-progress-value{background:linear-gradient(90deg,#4bc7ff,#3787eb);border-radius:9px}.v20-stage-card[data-state=done] progress::-webkit-progress-value{background:#53d6a2}.v20-stage-card progress::-moz-progress-bar{background:#4bc7ff}.v20-stage-foot{display:flex;justify-content:space-between;align-items:center;margin-top:9px;font-size:10px;color:#9bb1ce}.v20-stage-foot strong{color:#d5e9ff;font-variant-numeric:tabular-nums}
body.ace-v20-3d .bot-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0}.ace-v20-3d .bot-metric{background:linear-gradient(145deg,#16263d,#101d30)!important;border-color:#2d415d!important;border-radius:16px;box-shadow:0 5px 0 #060e1b33,inset 0 1px #ffffff05!important;padding:17px!important;min-width:0}.ace-v20-3d .bot-metric strong{font-size:32px!important}.ace-v20-3d .bot-metric[data-metric=completed] strong{color:#75e2b4}.ace-v20-3d .bot-metric[data-metric=review] strong{color:#ffcf7a}.ace-v20-3d .bot-metric[data-metric=active] strong{color:#78d5ff}.ace-v20-3d .bot-metric small{font-size:10px;margin-top:5px;display:block}
body.ace-v20-3d .workflow-current{background:#102039!important;border-color:#2e567a!important;box-shadow:inset 3px 0 #46bbf4!important}.ace-v20-3d .workflow-current h3{color:#e4f3ff}.ace-v20-3d .workflow-current-url{color:#aac7e9!important}.ace-v20-3d .workflow-current[data-tone=attention]{border-color:#826743!important;box-shadow:inset 3px 0 #efc266!important}.ace-v20-3d .v16-issue{background:#392e1e!important;border-color:#8f6d3c!important;color:#ffe1a2!important}.ace-v20-3d .v16-issue p{color:#e5c99c!important}
.v20-history{margin-top:22px;padding:24px!important}.v20-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.v20-history-heading h2{font-size:19px;letter-spacing:-.4px;margin:0 0 5px}.v20-history-heading p{font-size:12px;margin:0}.v20-history-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.v20-history-filters label{font-size:11px;color:#afc2db;font-weight:600;display:grid;gap:7px}.v20-history-filters .v20-search{flex:1;min-width:190px}.v20-history-filters select{min-width:160px}.v20-history-filters .v20-scope{display:flex;align-items:center;gap:8px;min-height:44px;padding-bottom:0;white-space:nowrap}.v20-scope input{width:17px!important;height:17px!important;min-height:0!important;margin:0}
.v20-table-wrap{overflow:auto;border:1px solid #2a3e59;border-radius:13px}.v20-history-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.v20-history-table th{text-align:left;font-size:10px;letter-spacing:.5px;padding:14px 12px;white-space:nowrap}.v20-history-table td{padding:15px 12px;vertical-align:middle;border-top:1px solid #263b56}.v20-history-table th:first-child{width:32%}.v20-history-table th:last-child{width:18%}.v20-row-url strong{display:block;color:#e1efff;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.v20-row-url small{display:block;margin-top:7px;font-size:10px;color:#90a9c9}.v20-history-table td>small{display:block;font-size:10px;margin-top:6px;color:#8ca4c3}.v20-row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.v20-proof-toggle{background:transparent;border:0;box-shadow:none;color:#7ed9ff;padding:0;font-size:11px;min-height:30px}.v20-proof-toggle:hover{text-decoration:underline}.v20-proof-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:6px}.v20-proof-content>section{padding:13px;background:#0c1729;border:1px solid #2c405d;border-radius:11px;min-width:0}.v20-proof-content strong{font-size:12px;color:#c5e8ff;display:block;margin-bottom:8px}.v20-proof-content p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8;margin:0}.v20-history-foot{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:17px;font-size:11px;color:#9aafca}.v20-history-foot>div{display:flex;gap:8px}.v20-history-note{font-size:11px;color:#90a7c7!important;margin:16px 0 0;line-height:1.8}.v20-history-error{border:1px solid #86633a;background:#392d1d;color:#ffdd9c;padding:12px;border-radius:10px;margin-bottom:14px;font-size:12px}.v20-empty{padding:35px!important;text-align:center;color:#a6bad4!important}
body.ace-v20-3d :is(.toast,.notice,.bot-setup-alert,.app-request-issue){background:#14283f!important;color:#c9e6ff!important;border-color:#375c7e!important;box-shadow:0 8px 20px #0004}.ace-v20-3d .error{background:#3a2231!important;color:#ffbac8!important;border-color:#784052!important}.ace-v20-3d .auth-card{padding:30px;max-width:460px}.ace-v20-3d .auth-screen{background:radial-gradient(ellipse at 50% 30%,#163c5b66,transparent 55%)}.ace-v20-3d .auth-logo{border-color:#2c425f}.ace-v20-3d .auth-logo strong{color:#f0f7ff}.ace-v20-3d .auth-logo span{color:#90accb}.ace-v20-3d .auth-form{gap:17px}.ace-v20-3d .auth-form label{color:#b9cce4}.ace-v20-3d .loader{border-color:#233f59;border-top-color:#5acfff}
body.ace-extension.ace-v20-3d{min-width:360px;width:auto}.ace-extension.ace-v20-3d main{width:580px;max-width:100%;margin:auto;padding:22px}.ace-extension.ace-v20-3d .app-header{border-color:#29415e;color:#ecf7ff}.ace-extension.ace-v20-3d .version{font-size:10px;color:#8eb4d8;background:#112a43;border:1px solid #315571;padding:6px 9px;border-radius:8px}.ace-extension.ace-v20-3d .brand-mark{background:#142d47!important;box-shadow:0 5px 12px #0004;border-color:#31516f}.ace-extension.ace-v20-3d .brand-mark img{width:46px;height:46px;object-fit:contain}.ace-extension.ace-v20-3d .v16-master{background:radial-gradient(at 90% 50%,#14658b33,transparent),#12243d!important;border-color:#345778!important}.ace-extension.ace-v20-3d .v16-master h2{color:#e7f5ff}.ace-extension.ace-v20-3d .v16-master-toggle{background:#102038!important;color:#97b3d4;border-color:#355573}.ace-extension.ace-v20-3d .v16-master-toggle.on{background:#174536!important;color:#90edc3;border-color:#35946e}.ace-extension.ace-v20-3d .overview{background:linear-gradient(135deg,#123554,#112139)!important;border-color:#2e5a7b!important;box-shadow:0 12px 25px #0003}.ace-extension.ace-v20-3d .status-copy h2{color:#e8f6ff}.ace-extension.ace-v20-3d .stat strong{color:#7dd9ff}.ace-extension.ace-v20-3d .r9-queue-metrics>div{background:#13233a!important;border-color:#304863!important;box-shadow:0 4px 0 #060e1b66}.ace-extension.ace-v20-3d .r9-queue-metrics span{color:#a0b8d5}.ace-extension.ace-v20-3d .r9-queue-metrics strong{color:#b2e8ff}.ace-extension.ace-v20-3d .v20-stage-grid{gap:8px;margin:16px 0}.ace-extension.ace-v20-3d .v20-stage-card{padding:12px;border-radius:14px;min-width:0}.ace-extension.ace-v20-3d .v20-stage-main{display:flex;flex-direction:column-reverse;align-items:flex-start;margin-top:7px;gap:7px}.ace-extension.ace-v20-3d .v20-stage-main img{width:54px;height:54px;align-self:center}.ace-extension.ace-v20-3d .v20-stage-main h3{font-size:14px}.ace-extension.ace-v20-3d .v20-stage-main p{display:none}.ace-extension.ace-v20-3d .v20-stage-top{gap:5px;flex-wrap:wrap}.ace-extension.ace-v20-3d .v20-stage-top small{font-size:8px}.ace-extension.ace-v20-3d .v20-stage-top .v20-state{font-size:8px!important;padding:3px 5px}.ace-extension.ace-v20-3d .v20-stage-foot{font-size:9px;gap:3px;flex-wrap:wrap}
@media(min-width:1500px){body.ace-panel.ace-v20-3d .main-area{padding-left:38px;padding-right:38px}}
@media(max-width:1100px){.v20-stage-main img{width:62px;height:68px}.v20-stage-card{padding:15px}.v20-stage-main h3{font-size:18px}.v20-hero h2{font-size:28px}.v20-history-table th:first-child{width:28%}body.ace-panel.ace-v20-3d .main-area{padding-left:20px;padding-right:20px}.v20-history{padding:18px!important}}
@media(max-width:760px){body.ace-panel.ace-v20-3d .main-area{padding:0 15px 28px}.ace-v20-3d .topbar{padding:14px 0;gap:10px}.ace-v20-3d .page-heading h1{font-size:22px}.v20-hero{padding:23px 22px;gap:12px;border-radius:19px}.v20-hero-art{width:115px;height:136px;flex-basis:115px}.v20-hero h2{font-size:25px}.v20-hero p{font-size:12px}.v20-hero-note{font-size:9px;gap:7px}.v20-stage-grid{gap:10px}.v20-stage-main{flex-direction:column-reverse;align-items:flex-start;gap:10px}.v20-stage-main img{width:64px;height:64px;align-self:center}.v20-stage-main h3{font-size:17px}.v20-stage-main p{font-size:10px}.v20-stage-top{flex-wrap:wrap;gap:5px}.v20-stage-top .v20-state{font-size:9px!important}.v20-stage-foot{font-size:9px;gap:4px;flex-wrap:wrap}.ace-v20-3d .bot-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.ace-v20-3d .bot-metric strong{font-size:29px!important}.v20-history-table,.v20-history-table tbody{display:block}.v20-history-table thead{display:none}.v20-history-table tbody{padding:10px;display:grid;gap:12px}.v20-history-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #2a405b;border-radius:12px;overflow:hidden;background:#0e1c30}.v20-history-table td{display:block;min-width:0;padding:12px;border-top:0}.v20-history-table td::before{content:attr(data-label);display:block;font-size:9px;letter-spacing:.4px;color:#8fa8ca;margin-bottom:8px}.v20-history-table td:first-child{grid-column:1/-1;border-bottom:1px solid #263b55}.v20-history-table td:first-child::before{display:none}.v20-row-url strong{white-space:normal;overflow-wrap:anywhere;font-size:12px}.v20-history-table td:last-child{grid-column:1/-1;border-top:1px solid #263b55}.v20-history-table td:last-child::before{display:none}.v20-row-actions{flex-direction:row;justify-content:space-between;align-items:center}.v20-history-table tr.v20-proof-row{display:block}.v20-proof-content{grid-template-columns:1fr}.v20-history-heading{gap:10px}.v20-history-heading h2{font-size:17px}.v20-history-filters{gap:10px}.v20-history-filters label{flex:1}.v20-history-filters .v20-search{flex-basis:100%}.v20-history-filters .v20-scope{flex:none;font-size:10px}.v20-history-filters select{min-width:130px}.v20-history-foot{flex-wrap:wrap}.ace-v20-3d .bot-simple-hero{grid-template-columns:70px minmax(0,1fr);gap:12px}.v20-bot-art{width:70px;height:90px}.ace-v20-3d .bot-master-switch{grid-column:1/-1;justify-self:stretch;min-height:65px;display:flex;align-items:center;justify-content:space-between;width:100%}.ace-v20-3d .bot-master-copy{align-items:flex-start}.ace-v20-3d .bot-simple-title h2{font-size:23px!important}.ace-v20-3d #view-bot .bot-simple-card{padding:21px!important}.ace-v20-3d .history-trigger span{display:none}.ace-v20-3d .v20-history .btn{font-size:11px;padding:8px 10px}}
@media(max-width:480px){.v20-hero-art{width:88px;height:112px;flex-basis:88px}.v20-hero{padding:21px 17px}.v20-hero h2{font-size:22px}.v20-hero .btn{font-size:11px;padding:10px}.v20-stage-grid{grid-template-columns:1fr}.v20-stage-card{padding:16px 18px}.v20-stage-main{flex-direction:row;align-items:center;margin:4px 0 10px}.v20-stage-main img{width:68px;height:70px}.v20-stage-main h3{font-size:20px}.v20-stage-main p{font-size:11px}.v20-stage-top{flex-wrap:nowrap}.v20-stage-foot{font-size:10px}.ace-extension.ace-v20-3d .v20-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ace-extension.ace-v20-3d main{padding:15px 12px}.ace-extension.ace-v20-3d .r9-queue-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ace-extension.ace-v20-3d .app-header{gap:8px}.ace-extension.ace-v20-3d .version{font-size:9px}.v20-history{padding:16px!important}}
@media(prefers-reduced-motion:reduce){body.ace-v20-3d *,body.ace-v20-3d *::before,body.ace-v20-3d *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.ace-v20-3d .v20-history-table .v20-state{white-space:normal;max-width:100%;font-size:9px!important;line-height:1.5}.ace-v20-3d .workspace-brand.is-active{background:linear-gradient(135deg,#173d56,#122a43)!important;border-color:#54b8e8!important;color:#a2e6ff!important}.ace-v20-3d .workspace-brand i{background:#55d5b0!important}.ace-v20-3d .v20-proof-row td::before{display:none}.ace-v20-3d .bot-simple-title h2 .ace-emoji{display:none}

body.ace-v20-3d :is(.report-drawer,.drawer-header,.drawer-body,.drawer-footer,.modal,.modal-card,.modal-header,.modal-body,.settings-card,.form-card,.selection-bar,.report-selection-bar,.import-preview,.import-summary,.import-result,.v11-item,.v11-operation,.v11-op-details,.v11-operation-history,.outdated-check,.spam-preview-row,.discovery-card,.discovery-result,.bot-bulk-actions,.bot-queue-toolbar,.daily-table,.team-card){background:#122139!important;border-color:#2d435e!important;color:#dfebfc!important}body.ace-v20-3d :is(.bot-status-tabs button,.v11-tabs button,.filter-tabs button,.tab-button){background:#172940!important;border-color:#344b68!important;color:#bed4ef!important}body.ace-v20-3d :is(.bot-status-tabs button,.v11-tabs button)[aria-pressed=true]{background:#1b4562!important;color:#8cddff!important;border-color:#4588ac!important}.ace-v20-3d .workspace-brand strong{color:#e3efff!important}.ace-v20-3d .workspace-brand small{color:#97b1d1!important}.ace-v20-3d :is(.outdated-panel-notice,.spam-run-hint){line-height:1.8!important}.ace-v20-3d .v20-stage-top small{color:#a1b6d2!important}

/* Explicit state colours override the light badge from the legacy theme. */
/* Small indicators and switch thumbs are foreground marks, not surfaces. */
body.ace-v20-3d :is(.sync-dot,.status-dot) {background:#94a7bd}
body.ace-v20-3d :is(.clock-dot,.serper-status-dot,.status-dot.active,.sync-dot.connected) {background:#5ce6ab}
body.ace-v20-3d :is(.serper-status-dot.off,.sync-dot.attention) {background:#ffd076}
body.ace-v20-3d .bot-master-track i {background:#edf4ff; box-shadow:0 1px 4px #0004}
body.ace-v20-3d .v16-master-toggle i::after {background:#edf4ff; box-shadow:0 1px 4px #0004}
body.ace-v20-3d .v16-master-toggle.on i {background:#1b967e}
body.ace-v20-3d :is(.rank-live-bar i,.hour-fill) {background:#55caff}
body.ace-v20-3d .bot-nav-state {background:#23344e; color:#cadbf0; border-color:#4d6383}
body.ace-v20-3d .bot-nav-state.on {background:#174435; color:#a5f0cc; border-color:#41896b}
body.ace-v20-3d .bot-nav-state::before {background:#94a7bd}
body.ace-v20-3d .bot-nav-state.on::before {background:#5ce6ab}
body.ace-v20-3d :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {border-color:#526f94!important}
body.ace-panel.ace-v20-3d[data-background="on"] .main-area {background:#080f1de0!important}
body.ace-v20-3d[data-background="on"] .auth-screen {background:#080f1de6!important}
body.ace-panel.ace-v20-3d .sync-chip {
  --sync-bg:#102d43; --sync-text:#c3ecff; --sync-time:#aac9e2;
  --sync-border:#315d7a; --sync-dot:#62cfff;
  display:inline-flex; align-items:center; flex-wrap:nowrap; gap:8px;
  min-height:40px; max-width:100%; padding:8px 12px; border-radius:999px;
  background:var(--sync-bg); color:var(--sync-text);
  border:1px solid var(--sync-border);
  box-shadow:0 4px 12px #0002,inset 0 1px #ffffff08;
  font-size:11px; line-height:1.5;
}
body.ace-panel.ace-v20-3d .sync-chip.online {
  --sync-bg:#103329; --sync-text:#b4f3d7; --sync-time:#9ccdbb;
  --sync-border:#2d7059; --sync-dot:#5ce6ab;
}
body.ace-panel.ace-v20-3d .sync-chip.offline {
  --sync-bg:#3b2330; --sync-text:#ffd1da; --sync-time:#e1b3c2;
  --sync-border:#875065; --sync-dot:#ff9bac;
}
body.ace-panel.ace-v20-3d .sync-chip > b {color:var(--sync-text); white-space:nowrap; font-weight:700}
body.ace-panel.ace-v20-3d .sync-chip > span {color:var(--sync-time); white-space:nowrap; font-variant-numeric:tabular-nums}
body.ace-panel.ace-v20-3d .sync-chip > i {width:7px; height:7px; background:var(--sync-dot); box-shadow:0 0 0 3px #ffffff08}

/* Import is a workspace of separate cards, with a padded, readable header. */
body.ace-panel.ace-v20-3d .import-workspace {background:transparent!important; color:#dfebfc}
body.ace-panel.ace-v20-3d .import-hero {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  margin:0 0 22px; padding:26px 28px;
  border:1px solid #305477; border-radius:20px;
  background:linear-gradient(115deg,#132b46,#0f1e33);
  box-shadow:0 12px 28px #0002,inset 0 1px #ffffff09;
}
body.ace-panel.ace-v20-3d .import-hero-copy {flex:1; min-width:0}
body.ace-panel.ace-v20-3d .import-eyebrow {color:#7bd8ff; font-size:10px; letter-spacing:1.4px; font-weight:750}
body.ace-panel.ace-v20-3d .import-hero h2 {font-size:28px!important; color:#eef7ff; margin:9px 0 9px; letter-spacing:-.7px; line-height:1.3}
body.ace-panel.ace-v20-3d .import-hero p {max-width:580px; margin:0; color:#b1c8e2; font-size:13px; line-height:1.75}
body.ace-panel.ace-v20-3d .import-capacity {
  flex-shrink:0; display:flex; flex-direction:column; align-items:center; gap:7px;
  min-width:122px; padding:17px 21px; border:1px solid #355f7e; border-radius:15px;
  background:#112d46; color:#a9cbe5; box-shadow:inset 0 1px #ffffff09;
}
body.ace-panel.ace-v20-3d .import-capacity strong {color:#8cddff; font-size:32px; line-height:1; letter-spacing:-.7px}
body.ace-panel.ace-v20-3d .import-capacity > span {font-size:11px; color:#a9cbe5; line-height:1.4}
body.ace-panel.ace-v20-3d :is(.import-form-top label,.import-text-label,.import-history label) {color:#bfd0e6}
body.ace-panel.ace-v20-3d .import-note > span {color:#a1b6cf}
body.ace-panel.ace-v20-3d .import-count {color:#a8d9fb}
body.ace-panel.ace-v20-3d .import-count.over-limit {color:#ffb3c3}
body.ace-panel.ace-v20-3d .import-workspace .step-number {background:#143a58; color:#91dfff; border:1px solid #326283; width:30px; height:32px}
body.ace-panel.ace-v20-3d .import-guide li {color:#91b7dc}
body.ace-panel.ace-v20-3d .import-guide li strong {color:#d3e5f8}
body.ace-panel.ace-v20-3d .import-guide li span {color:#a5bcd7}
body.ace-panel.ace-v20-3d :is(.import-bot-note,.import-submit-bar) {border-color:#2b405b}
body.ace-panel.ace-v20-3d :is(.import-progress,.import-metric) {background:#112038; border-color:#2d435e; color:#dfebfc}
body.ace-panel.ace-v20-3d :is(.import-progress > div > span,.import-progress p,.import-metric span,.import-pagination,.import-results-heading p,.row-number,.row-result small,.url-adjusted) {color:#a5bcd7}
body.ace-panel.ace-v20-3d .import-progress progress {accent-color:#55caff}
body.ace-panel.ace-v20-3d .import-metric.success strong {color:#76e1b2}
body.ace-panel.ace-v20-3d .import-metric.danger strong {color:#ffa4b2}
body.ace-panel.ace-v20-3d .import-metric.duplicate strong {color:#ffd282}
body.ace-panel.ace-v20-3d .import-metric.pending strong {color:#8ed6ff}
body.ace-panel.ace-v20-3d .row-url .url-text {color:#c8e5ff}
body.ace-panel.ace-v20-3d .import-state {background:#193750; color:#a7dcff; border:1px solid #355c79}
body.ace-panel.ace-v20-3d .import-state.ADDED {background:#173e33; color:#a3ebc9; border-color:#326e56}
body.ace-panel.ace-v20-3d .import-state:is(.DUPLICATE,.DUPLICATE_INPUT) {background:#42331e; color:#ffdc94; border-color:#78623a}
body.ace-panel.ace-v20-3d .import-state:is(.INVALID,.FAILED) {background:#402632; color:#ffc2ce; border-color:#7d4b5e}
body.ace-panel.ace-v20-3d .import-message {background:#142e48; border-color:#365c7e; color:#c3e7ff}
body.ace-panel.ace-v20-3d .import-message.success {background:#163a31; border-color:#326e56; color:#b0efd2}
body.ace-panel.ace-v20-3d .import-message.warning {background:#3b301f; border-color:#78623a; color:#ffdc94}
body.ace-panel.ace-v20-3d .import-message.error {background:#402632!important; border-color:#7d4b5e!important; color:#ffc2ce!important}
body.ace-panel.ace-v20-3d .import-ignored {color:#f3d79d}
body.ace-panel.ace-v20-3d .import-ignored pre {background:#2f2b20; color:#f3d79d; border-radius:10px}
@media(max-width:700px) {
  body.ace-panel.ace-v20-3d .import-hero {flex-direction:column; align-items:flex-start; gap:18px; padding:22px 20px; border-radius:17px; margin-bottom:17px}
  body.ace-panel.ace-v20-3d .import-hero h2 {font-size:23px!important}
  body.ace-panel.ace-v20-3d .import-capacity {flex-direction:row; min-width:0; gap:10px; padding:11px 14px; border-radius:11px}
  body.ace-panel.ace-v20-3d .import-capacity strong {font-size:26px}
  body.ace-panel.ace-v20-3d .sync-chip {min-height:36px; padding:7px 10px; font-size:10px; gap:7px}
}
@media(max-width:760px) {
  body.ace-panel.ace-v20-3d .topbar {display:grid; grid-template-columns:40px minmax(0,1fr) 40px; gap:12px 10px; min-height:0; padding:18px 0}
  body.ace-panel.ace-v20-3d .topbar .menu-btn {grid-column:1; grid-row:1}
  body.ace-panel.ace-v20-3d .topbar .page-heading {grid-column:2; grid-row:1; min-width:0}
  body.ace-panel.ace-v20-3d .topbar .page-heading p {max-width:none; margin-top:5px; line-height:1.5}
  body.ace-panel.ace-v20-3d .topbar .history-trigger {grid-column:3; grid-row:1; width:40px; min-width:40px; min-height:40px; padding:0}
  body.ace-panel.ace-v20-3d .topbar .top-status {display:flex; grid-column:2/4; grid-row:2; justify-self:start; margin-left:0}
}
