/* Atlas Tracker — unified admin UI styles v0.10.36. */
/* Source order preserved exactly; future UI changes should be made in this file. */

/* === original: style.css === */
:root{--bg:#0b0e17;--side:#10131e;--panel:#151a29;--panel2:#1b2233;--line:#292f42;--text:#f3f5ff;--muted:#929ab0;--purple:#8473ff;--purple2:#5c4de0;--mint:#4addb0;--red:#ff778c;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:calc(14px + var(--atlas-font-step, 0px))}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}a{color:#ad9fff;text-decoration:none}.hidden{display:none!important}.layout{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;flex:0 0 242px;width:242px;height:100vh;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 14px}.brand,.brand-large{display:flex;align-items:center;gap:12px;padding:0 14px 28px}.brand strong,.brand-large b{letter-spacing:3px;font-size:calc(19px + var(--atlas-font-step, 0px))}.brand span,.brand-large span{display:block;color:var(--muted);letter-spacing:1px;font-size:calc(9px + var(--atlas-font-step, 0px));margin-top:3px}.mark{display:grid;place-items:center;width:38px;height:38px;background:linear-gradient(145deg,#9a8cff,#5745cf);border-radius:11px;font-weight:900;color:white;font-size:calc(23px + var(--atlas-font-step, 0px));box-shadow:0 0 30px #7461ff40}.nav-section{color:#636e89;letter-spacing:1.7px;font-size:calc(10px + var(--atlas-font-step, 0px));padding:7px 16px 14px;font-weight:800}nav{display:grid;gap:3px}nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;border-radius:11px;color:#a5afc5;padding:12px 14px;transition:.15s}nav button:hover{background:#20273a;color:white}nav button.active{background:#292544;color:#cfc7ff;font-weight:700}nav button .nav-icon{width:22px;font-size:calc(17px + var(--atlas-font-step, 0px));text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}.signal{display:flex;gap:10px;align-items:flex-start;padding:8px 10px 16px;font-size:calc(12px + var(--atlas-font-step, 0px))}.signal small{display:block;color:#707c99;font-size:calc(11px + var(--atlas-font-step, 0px));margin-top:3px}.dot{width:8px;height:8px;background:var(--mint);border-radius:100%;box-shadow:0 0 12px #45d5a5;margin-top:4px}.ghost{width:100%;text-align:left;padding:11px 14px;border-radius:8px;color:#9ca8bb;background:none}.ghost:hover{background:#22293a}.main{min-width:0;flex:1}.topbar{height:70px;padding:0 34px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.crumb{color:#9aa3b9;font-size:calc(12px + var(--atlas-font-step, 0px))}.topactions{display:flex;align-items:center;gap:15px}.time{font-size:calc(11px + var(--atlas-font-step, 0px));color:#69758b}.page{padding:34px;max-width:1550px;margin:0 auto}.eyebrow{font-size:calc(10px + var(--atlas-font-step, 0px));font-weight:800;color:#9b8dff;letter-spacing:2px}.page h1{font-weight:770;letter-spacing:-1px;font-size:calc(31px + var(--atlas-font-step, 0px));margin:8px 0 7px}.sub{color:var(--muted);line-height:1.6;margin:0 0 24px}.headrow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.primary{background:linear-gradient(130deg,#8c7aff,#6e5ae9);color:#fff;border-radius:10px;padding:12px 17px;font-weight:730;box-shadow:0 5px 20px #7465e222}.primary:hover{filter:brightness(1.12)}.light-btn{background:#242a3a;color:#d7def1;border:1px solid #353d52;border-radius:10px;padding:10px 15px}.light-btn:hover{background:#30384d}.full{width:100%}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0 24px}.kpi{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:23px;position:relative;overflow:hidden}.kpi:after{content:'';position:absolute;width:110px;height:110px;border-radius:50%;background:#816cff10;top:-80px;right:-10px}.kpi span{font-size:calc(11px + var(--atlas-font-step, 0px));color:#96a2b8;text-transform:uppercase;letter-spacing:1px}.kpi strong{display:block;font-size:calc(30px + var(--atlas-font-step, 0px));letter-spacing:-1px;margin:12px 0}.kpi small{color:#79869e}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:18px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.card h3,.card-head h3{margin:0;font-size:calc(15px + var(--atlas-font-step, 0px));letter-spacing:-.2px}.pill{border-radius:100px;background:#292840;color:#bcb2ff;padding:5px 9px;font-size:calc(11px + var(--atlas-font-step, 0px));white-space:nowrap}.pill.green{background:#164b3b;color:#92efc9}.pill.gray{color:#b3c0d0;background:#2a3241}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:1px;color:#7e8ba7;text-transform:uppercase;padding:15px 16px;background:#1a2030;font-weight:750;white-space:nowrap}td{padding:15px 16px;border-top:1px solid #272e3e;font-size:calc(13px + var(--atlas-font-step, 0px));max-width:390px;word-break:break-word}td b{font-weight:700}.muted{color:var(--muted)}.row-actions{display:flex;gap:8px;justify-content:flex-end}.tiny{padding:6px 10px;border:1px solid #41475a;background:#262b3c;color:#cfd7e7;border-radius:7px;font-size:calc(11px + var(--atlas-font-step, 0px))}.tiny:hover{background:#39405a}.tiny.danger{color:#ff9eae}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-bottom:20px}.field{display:grid;gap:7px}.field label,.modal label{font-size:calc(11px + var(--atlas-font-step, 0px));font-weight:650;color:#a5afc6}.field input,.field select,.modal input,.modal textarea,.modal select,.editor input,.editor textarea{background:#0d1120;color:#eff1ff;border:1px solid #353c51;padding:11px 12px;border-radius:9px;outline:none;min-width:0}.field input:focus,.modal input:focus,.modal textarea:focus,.modal select:focus,.editor textarea:focus{border-color:#8e82ff}.field select{min-width:155px}.modal-bg{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#050710b8;backdrop-filter:blur(5px);padding:20px}.modal{background:#171c2b;border:1px solid #41465b;border-radius:18px;width:min(650px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 25px 75px #0008}.modal-head,.modal-foot{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head{border-bottom:1px solid var(--line)}.modal-head h2{margin:6px 0 0;font-size:calc(22px + var(--atlas-font-step, 0px))}.modal-foot{border-top:1px solid var(--line)}#modalBody{overflow:auto;padding:22px 26px;display:grid;gap:16px}.modal .field input,.modal .field textarea,.modal .field select{width:100%}.modal textarea{min-height:95px;resize:vertical;font-family:ui-monospace,monospace;font-size:calc(12px + var(--atlas-font-step, 0px))}.icon-btn{background:none;color:#a5aec2;font-size:calc(19px + var(--atlas-font-step, 0px))}.auth{position:fixed;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 50% 0,#29234e 0,#10111e 47%,#0b0e17 100%);padding:20px}.auth-card{width:100%;max-width:414px;background:#161b2b;border:1px solid #343b51;border-radius:20px;padding:36px}.brand-large{padding:0 0 20px}.auth h1{margin:20px 0 8px;font-size:calc(26px + var(--atlas-font-step, 0px))}.auth p{color:#8d98ac;margin:0 0 25px}.auth label{display:grid;gap:8px;color:#aab5c8;font-weight:650;font-size:calc(12px + var(--atlas-font-step, 0px));margin:0 0 17px}.auth input{width:100%;padding:12px;background:#101424;border:1px solid #353d54;color:white;border-radius:9px}.error{color:var(--red);min-height:18px;margin-top:11px}.toast{position:fixed;bottom:25px;right:30px;padding:15px 19px;background:#292f46;border:1px solid #4a5573;border-radius:12px;z-index:30;box-shadow:0 10px 40px #0007}.two{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.code{background:#0d1120;border:1px solid #30374e;padding:15px 17px;border-radius:10px;color:#aeeaca;font:12px/1.7 ui-monospace,'SFMono-Regular',monospace;white-space:pre-wrap;overflow-wrap:anywhere}.section-tag{font-size:calc(10px + var(--atlas-font-step, 0px));color:#8f80ed;letter-spacing:1.8px;font-weight:850}.desc{color:#94a0b4;font-size:calc(12px + var(--atlas-font-step, 0px));line-height:1.6}.pipeline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.node{background:#262c42;border:1px solid #454463;padding:13px 15px;border-radius:10px;min-width:125px}.node b{display:block;font-size:calc(13px + var(--atlas-font-step, 0px))}.node small{color:#91a0b5}.arrow{color:#9285fe;font-size:calc(22px + var(--atlas-font-step, 0px))}.bar-line{display:flex;gap:12px;align-items:center;margin:11px 0}.bar-track{background:#272d3e;flex:1;height:13px;overflow:hidden;border-radius:100px}.bar-fill{background:linear-gradient(90deg,#6c5be5,#62d5b6);height:100%;border-radius:100px}.bar-title{width:130px;font-size:calc(12px + var(--atlas-font-step, 0px));flex-shrink:0}.bar-count{width:75px;text-align:right;font-weight:750}.editor{display:grid;grid-template-columns:200px minmax(0,1fr) 245px;gap:13px;min-height:580px}.editor-tool,.editor-stage,.editor-props{background:#151a29;border:1px solid var(--line);border-radius:13px;padding:14px;min-width:0}.editor-tool h4,.editor-props h4{margin:0 0 14px}.block-choice{display:block;width:100%;text-align:left;background:#272c40;padding:10px 12px;color:#d9dff0;border-radius:8px;margin:7px 0}.blocks-stage{background:#fff;color:#131827;min-height:530px;border-radius:10px;padding:24px;overflow:auto}.block-wrap{padding:11px;border:2px dashed transparent;border-radius:8px;cursor:pointer}.block-wrap:hover,.block-wrap.selected{border-color:#766bf1;background:#edeaff}.block-wrap h1{font-size:calc(26px + var(--atlas-font-step, 0px))}.block-wrap img,.block-wrap video{max-width:100%}.block-wrap a{padding:9px 14px;color:white;background:#665bea;border-radius:8px;display:inline-block}.editor-props .field{margin:0 0 13px}.editor-props input,.editor-props textarea{width:100%}.tabs{display:flex;gap:7px;margin:0 0 18px;flex-wrap:wrap}.tabs button{padding:10px 15px;background:#242a3d;color:#adbad0;border-radius:9px}.tabs button.active{background:#453e75;color:white}.editor-code{width:100%;height:460px;background:#0b1020;color:#e6edf9;border:1px solid #333d56;border-radius:11px;padding:20px;font:12px/1.65 ui-monospace,monospace;resize:vertical}.preview{width:100%;height:600px;border:1px solid #404b62;background:white;border-radius:12px}.split-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.small-note{font-size:calc(11px + var(--atlas-font-step, 0px));color:#7b879d;margin-top:8px}.empty{padding:45px;text-align:center;color:#8c99b1}.empty b{display:block;color:#f1f2fa;font-size:calc(15px + var(--atlas-font-step, 0px));margin-bottom:8px}.kbd{background:#34384c;padding:2px 6px;border-radius:4px;font-family:monospace}.rule-panel{display:grid;gap:10px;background:#20273a;border:1px solid #353d52;border-radius:12px;padding:14px}.rule-panel .split-row{grid-template-columns:1.2fr .8fr}.rule-panel select,.rule-panel input{width:100%}@media(max-width:1100px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.editor{grid-template-columns:165px minmax(0,1fr)}.editor-props{grid-column:1/-1}.two{grid-template-columns:1fr}}@media(max-width:750px){.layout{display:block}.sidebar{width:100%;height:auto;position:static;padding:12px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 7px 12px}.sidebar nav{display:flex;overflow:auto;gap:2px}.sidebar nav button{width:auto;flex:none;white-space:nowrap;padding:9px}.sidebar nav .nav-icon{display:none}.nav-section,.sidebar-bottom{display:none}.topbar{height:55px;padding:0 15px}.time{display:none}.page{padding:18px}.headrow{align-items:flex-start}.headrow h1{font-size:calc(26px + var(--atlas-font-step, 0px))}.kpis{grid-template-columns:1fr 1fr;gap:9px}.kpi{padding:15px}.kpi strong{font-size:calc(25px + var(--atlas-font-step, 0px))}.card{padding:14px}.editor{display:block}.editor-tool,.editor-stage,.editor-props{margin-bottom:12px}.modal-head,.modal-foot{padding:15px}}


/* === original: ux-v02.css === */
/* Atlas v0.2 — accessible settings forms, light/dark palette, Choices.js. */
:root{color-scheme:dark;--field:#0f1423;--field-border:#39425a;--select-bg:#1b2436;--soft:#1c2435;--hover:#283349;--label:#acb9ce}
html[data-theme=light]{color-scheme:light;--bg:#f4f6fb;--side:#fff;--panel:#fff;--panel2:#f9faff;--line:#e0e5f0;--text:#1d273b;--muted:#6a758b;--purple:#6355d6;--purple2:#6152d7;--mint:#127d60;--red:#bd354a;--field:#fff;--field-border:#cdd4e2;--select-bg:#fff;--soft:#f5f7fb;--hover:#edf0f7;--label:#56637a}
body{background:var(--bg);color:var(--text)}
.modal{width:min(780px,100%);background:var(--panel);border:1px solid var(--line)}
.modal:has(.source-param-list){width:min(1060px,100%)}
.modal-head,.modal-foot{background:var(--panel)}
.modal-foot{border-radius:0 0 16px 16px}
#modalBody{gap:20px}
.modal .field input,.modal .field textarea,.modal .field select,.field input,.field textarea,.field select,.editor input,.editor textarea,.auth input{background:var(--field);border:1px solid var(--field-border);color:var(--text);border-radius:10px;min-height:43px}
.field label,.modal label{color:var(--label);font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:600}
.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #8677ff40;outline-offset:0;border-color:var(--purple)}
.modal .field input:not([type=radio]),.modal .field select{width:100%}
.edit-intro{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px}
.edit-intro b{font-size:calc(14px + var(--atlas-font-step, 0px))}
.edit-intro p{margin:7px 0 0;color:var(--muted);line-height:1.6;font-size:calc(12px + var(--atlas-font-step, 0px))}
.source-modal-body{display:block!important}
.source-modal-body>.field{margin-bottom:15px}
.source-param-list{margin-top:10px}
.source-param-headers,.source-param-row{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(170px,1fr) minmax(190px,1.1fr);gap:12px;align-items:center}
.source-param-headers{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted);font-weight:700;letter-spacing:.03em;border-bottom:1px solid var(--line);padding:11px 10px}
.source-param-row{padding:11px 10px;border-bottom:1px solid var(--line)}
.source-param-row .field{gap:4px}
.source-param-row .field input{min-height:38px;width:100%;padding:8px 10px}
.source-param-title{display:grid;gap:3px;font-size:calc(12px + var(--atlas-font-step, 0px))}
.source-param-title small{color:var(--muted);font-family:ui-monospace,monospace;font-size:calc(10px + var(--atlas-font-step, 0px))}
.extra-params{padding:8px 0}
.extra-params summary{cursor:pointer;background:var(--soft);padding:15px;border-radius:10px;font-weight:700;color:var(--text);list-style:none}
.extra-params summary::before{content:'▸';display:inline-block;margin-right:10px;color:var(--purple)}
.extra-params[open] summary::before{content:'▾'}
.extra-params summary span{float:right;font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted)}
.seg-options{display:flex;flex-wrap:wrap;gap:7px}
.segment-option{position:relative!important;cursor:pointer;margin:0!important;min-width:88px}
.segment-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.segment-option span{display:block;text-align:center;padding:11px 14px;border-radius:9px;background:var(--soft);border:1px solid var(--field-border);color:var(--text);transition:.12s;font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:650}
.segment-option input:checked+span{background:#7060e62a;border-color:var(--purple);color:var(--text);box-shadow:inset 0 0 0 1px var(--purple)}
.segment-option input:focus-visible+span{outline:3px solid #7566eb80;outline-offset:2px}
.segment-option:hover span{border-color:var(--purple)}
.rule-visual{padding:4px 0}
.rule-group{border-left:3px solid var(--purple);border-radius:6px;background:var(--soft);padding:15px;margin:8px 0}
.rule-group .rule-group{margin:12px 0 12px 10px;background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--mint)}
.rule-header{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.rule-header b{margin-right:auto}
.rule-add{display:flex;gap:10px;margin-top:10px}
.rule-children{display:grid;gap:10px}
.rule-leaf{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;grid-template-columns:1.3fr 1fr 1.3fr auto;align-items:end;gap:9px}
.rule-leaf .field{min-width:0}
.rule-leaf .field input{width:100%;min-height:38px}
.rule-leaf .tiny{height:38px}
.rule-leaf .choices{min-width:0;margin:0}
.rule-leaf .choices__inner{min-height:38px}
.funnel-builder{border:1px solid var(--line);border-radius:12px;padding:15px;background:var(--soft)}
.funnel-builder>b{display:block;margin-bottom:7px}
.funnel-step{display:flex;align-items:center;gap:7px;margin:10px 0}
.funnel-step input{flex:1;min-width:0}
.step-handle{font-size:calc(18px + var(--atlas-font-step, 0px));color:var(--muted)}
.help-card{background:var(--panel2)}
.help-card .desc{margin-bottom:0}
/* Choices overrides across dark and light modes */
.choices{margin-bottom:0;min-width:150px;font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--text)}
.choices__inner,.is-open .choices__inner,.is-focused .choices__inner{background:var(--field);border:1px solid var(--field-border);border-radius:10px;color:var(--text);min-height:42px;padding:6px 10px}
.choices__list--dropdown,.choices__list[aria-expanded]{background:var(--select-bg);border:1px solid var(--field-border);color:var(--text);z-index:999;border-radius:9px;box-shadow:0 12px 28px #0002}
.choices__list--dropdown .choices__item,.choices__list[aria-expanded] .choices__item{color:var(--text)}
.choices__list--dropdown .choices__item--selectable.is-highlighted,.choices__list[aria-expanded] .choices__item--selectable.is-highlighted{background:var(--hover)}
.choices[data-type*=select-one]::after{border-color:var(--muted) transparent transparent}
.choices[data-type*=select-one].is-open::after{border-color:transparent transparent var(--muted)}
.choices__input{background:var(--field);color:var(--text);border-radius:6px}
/* Light mode re-skins old dark hardcoded components. */
html[data-theme=light] .sidebar{background:var(--side);border-color:var(--line)}
html[data-theme=light] .topbar{background:#ffffffcb;border-color:var(--line)}
html[data-theme=light] nav button{color:#52617b}
html[data-theme=light] nav button:hover{background:#f2f1fa;color:#3f318c}
html[data-theme=light] nav button.active{background:#eeeaff;color:#5d4db4}
html[data-theme=light] .sidebar .ghost,html[data-theme=light] .sidebar .signal,html[data-theme=light] .crumb{color:#63718b}
html[data-theme=light] .nav-section{color:#8390a6}
html[data-theme=light] th{background:#f6f8fc;color:#6c7890}
html[data-theme=light] td{border-color:var(--line)}
html[data-theme=light] .light-btn,html[data-theme=light] .tiny{background:#fff;color:#414e68;border:1px solid #d7ddeb}
html[data-theme=light] .light-btn:hover,html[data-theme=light] .tiny:hover{background:#f3f5fc}
html[data-theme=light] .pill{background:#ece9ff;color:#5d4ba9}
html[data-theme=light] .pill.green{background:#e3f8ef;color:#14734f}
html[data-theme=light] .pill.gray{background:#eff2f6;color:#687487}
html[data-theme=light] .kpi span,html[data-theme=light] .kpi small{color:#738199}
html[data-theme=light] .auth{background:radial-gradient(circle at 40% 0,#ebe6ff,#f6f7fb 52%,#edf1f7)}
html[data-theme=light] .auth-card{background:#fff;border:1px solid var(--line)}
html[data-theme=light] .auth label,html[data-theme=light] .auth p{color:#576781}
html[data-theme=light] .code,html[data-theme=light] pre.code{background:#f6f8fe;color:#394966;border:1px solid var(--line)}
html[data-theme=light] .toast{background:#fff;color:#263247;border:1px solid var(--line);box-shadow:0 8px 36px #38415f22}
html[data-theme=light] .node,html[data-theme=light] .pipeline .node{background:#f6f7fd;color:#263247;border-color:var(--line)}
html[data-theme=light] .node small{color:#66748b}
html[data-theme=light] .block-wrap,html[data-theme=light] .editor-tool,html[data-theme=light] .editor-props,html[data-theme=light] .editor-stage{background:#fff;color:var(--text);border-color:var(--line)}
@media(max-width:900px){.source-param-headers{display:none}.source-param-row{grid-template-columns:1fr 1fr}.source-param-title{grid-column:1/-1}.rule-leaf{grid-template-columns:1fr 1fr}.rule-leaf .field:nth-child(3){grid-column:1/-1}}
@media(max-width:560px){.source-param-row{grid-template-columns:1fr}.source-param-title{grid-column:auto}.rule-leaf{grid-template-columns:1fr}.rule-leaf .field:nth-child(3){grid-column:auto}.topactions .time{display:none}.page{padding:16px}.modal-head,.modal-foot{padding:17px}.modal-bg{padding:7px}#modalBody{padding:14px}.sidebar{width:65px;flex-basis:65px}}


/* === original: ui-v04.css === */
/* Atlas v0.4 — shared light/dark design tokens, workspace and mobile ergonomics */
:root{--control-bg:#20283b;--control-hover:#2d3750;--control-color:#ecf0f9;--code-bg:#111725;--tree-selected:#3d3567;--thumb-bg:#242a3b;--top:#10131e;--overlay:rgba(7,10,20,.72);--border-focus:#8373ff;--shadow:0 12px 40px rgba(0,0,0,.22)}
html[data-theme=light]{--control-bg:#fff;--control-hover:#eef1f8;--control-color:#28354e;--code-bg:#fff;--tree-selected:#e9e6ff;--thumb-bg:#eff1f8;--top:#fff;--overlay:rgba(19,29,48,.45);--shadow:0 9px 28px rgba(24,37,63,.10)}
body,.sidebar,.topbar,.card,.modal,.modal-head,.modal-foot{color:var(--text)}
.topbar{background:var(--top)}
.page{max-width:none;padding:24px 28px}
.sub{display:none}
.card,.asset-card,.tds-card{box-shadow:none}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}
button:disabled{opacity:.42;cursor:not-allowed}
.tiny,.light-btn,.block-choice,.tabs button,.editor-tool,.editor-stage,.editor-props,.rule-panel,.rule-leaf{background:var(--control-bg);color:var(--control-color);border-color:var(--line)}
.tiny:hover,.light-btn:hover,.block-choice:hover,.tabs button:hover{background:var(--control-hover);color:var(--text)}
.tabs{margin-bottom:13px}
.tabs button.active{background:var(--tree-selected);border:1px solid var(--purple);color:var(--text)}
.node,.rule-panel,.rule-group,.rule-leaf,.pipeline .node,.editor-tool,.editor-props,.editor-stage{background:var(--panel);color:var(--text);border-color:var(--line)}
.pipeline .node small,.muted,.small-note{color:var(--muted)}
.empty b{color:var(--text)}
.bar-track{background:var(--control-bg)}
.modal-bg{background:var(--overlay)}
.modal{width:min(860px,100%);max-height:min(92dvh,1000px);background:var(--panel);border-color:var(--line)}
#modalBody{min-height:0;overflow:auto;overscroll-behavior:contain}
#modalBody input[type=file]{max-width:100%}
.field input,.modal input,.modal textarea,.modal select,.editor input,.editor textarea{background:var(--field);border-color:var(--field-border);color:var(--text)}
.field label,.modal label{color:var(--label)}
.row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-start}
.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.asset-card{min-width:0;overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column}
.asset-photo{height:180px;background:var(--thumb-bg);position:relative;overflow:hidden}
.asset-photo img{height:100%;width:100%;object-fit:cover;object-position:top;display:block}
.asset-photo.no-thumb:before{content:'▣';position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:calc(48px + var(--atlas-font-step, 0px));opacity:.35}
.asset-type{position:absolute;left:10px;top:10px;background:var(--panel);color:var(--text);padding:5px 8px;border:1px solid var(--line);border-radius:7px;font-size:calc(11px + var(--atlas-font-step, 0px))}
.asset-info{padding:15px;min-width:0;display:flex;flex:1;flex-direction:column;gap:6px}
.asset-info strong{font-size:calc(15px + var(--atlas-font-step, 0px));overflow-wrap:anywhere}
.asset-info small{display:block;font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.asset-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto;padding-top:12px}
.asset-actions button{font-size:calc(12px + var(--atlas-font-step, 0px));padding:9px 11px}
.tds-list{display:grid;gap:15px}
.tds-card{padding:17px 19px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0}
.tds-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.tds-card-top strong{font-size:calc(16px + var(--atlas-font-step, 0px))}
.tds-card-top .muted{font-size:calc(12px + var(--atlas-font-step, 0px));margin-top:5px;overflow-wrap:anywhere}
.tds-flow{display:flex;gap:14px;align-items:center;background:var(--soft);border:1px solid var(--line);padding:13px;margin:16px 0;border-radius:10px;font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted)}
.tds-flow span:not(.tds-arrow){min-width:0;flex:1}
.tds-flow b{color:var(--text);font-size:calc(13px + var(--atlas-font-step, 0px))}
.tds-arrow{color:var(--purple);font-size:calc(18px + var(--atlas-font-step, 0px))}
.route-stack{display:grid;gap:4px;margin:10px 0}
.route-inline{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid var(--line);min-width:0}
.route-priority{font-variant-numeric:tabular-nums;background:var(--control-bg);border:1px solid var(--line);padding:8px;border-radius:6px;min-width:40px;text-align:center}
.route-name{flex:1;min-width:110px;font-weight:650;overflow-wrap:anywhere}
.route-name small{display:block;font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted);font-weight:400;margin-top:4px;overflow-wrap:anywhere}
.wizard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.wizard-grid .field:has(.seg-options){grid-column:1/-1}
/* Full-height editing workspace; no obsolete small modal editor. */
.editor-head{margin-bottom:12px;flex-wrap:wrap}
.editor-head h1{font-size:calc(24px + var(--atlas-font-step, 0px));margin:0 0 4px}
.workspace{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:0;height:calc(100dvh - 210px);min-height:550px;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.file-pane{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line)}
.file-pane-head{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:14px 12px;border-bottom:1px solid var(--line)}
.file-pane-head strong{font-size:calc(13px + var(--atlas-font-step, 0px))}
.file-pane-ops{display:flex;flex-wrap:wrap;gap:6px;padding:9px;border-bottom:1px solid var(--line)}
.file-pane-ops button,.file-pane-head button{font-size:calc(11px + var(--atlas-font-step, 0px));padding:8px}
.file-tree{flex:1;overflow:auto;padding:9px 5px;overscroll-behavior:contain}
.tree-item{padding-left:calc(var(--depth) * 15px)}
.tree-node{width:100%;max-width:100%;border-radius:6px;padding:8px 8px;display:flex;gap:8px;align-items:center;text-align:left;background:transparent;color:var(--text);font-size:calc(12px + var(--atlas-font-step, 0px));min-height:34px}
.tree-node:hover{background:var(--control-hover)}
.tree-node.selected{background:var(--tree-selected);font-weight:700}
.tree-node span:first-child{width:10px;flex:0 0 10px;color:var(--muted)}
.tree-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.code-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--code-bg)}
.pane-title{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:57px;padding:10px 16px;border-bottom:1px solid var(--line)}
.pane-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:12px ui-monospace,monospace}
.code-box{flex:1;min-height:0;display:flex;flex-direction:column}
.code-box #codeEditor{flex:1;width:100%;height:100%;background:var(--code-bg);color:var(--text);border:0;resize:none;padding:20px;font:13px/1.5 ui-monospace,monospace}
.CodeMirror{height:100%;width:100%;font-size:calc(13px + var(--atlas-font-step, 0px));line-height:1.6;background:var(--code-bg);color:var(--text)}
.CodeMirror-gutters{background:var(--soft);border-color:var(--line)}
.file-media{flex:1;min-height:0;overflow:auto;padding:22px;display:grid;place-items:center;background:var(--soft)}
.file-media img,.file-media video{max-width:100%;max-height:100%;object-fit:contain;border-radius:5px}
.file-media iframe{width:100%;height:100%;min-height:400px;border:0}
.live-editor{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.preview-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line);padding:10px 14px}
.preview-url{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted);overflow-wrap:anywhere}
.state-pill{display:inline-block;color:var(--text);background:var(--soft);border:1px solid var(--line);padding:9px;border-radius:8px;font-size:calc(12px + var(--atlas-font-step, 0px))}
.live-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:0;min-height:calc(100dvh - 275px)}
.live-stage{background:#e6e9f1;min-height:500px;display:flex;min-width:0;align-items:stretch;justify-content:center}
.live-stage iframe{display:block;width:100%;height:calc(100dvh - 275px);min-height:520px;border:0;background:white}
.inspect-panel{border-left:1px solid var(--line);padding:16px;background:var(--panel);display:flex;flex-direction:column;gap:12px}
.inspect-panel h3{margin:0 0 5px}
.inspect-selected{min-height:45px;border:1px solid var(--line);background:var(--soft);border-radius:7px;padding:10px;font:11px/1.5 ui-monospace,monospace;overflow-wrap:anywhere}
.inspect-panel .field{gap:4px}
.inspect-panel .field input{min-height:36px;padding:8px;font-size:calc(12px + var(--atlas-font-step, 0px))}
/* Date picker consistently themed. */
.daterangepicker{background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow)!important;font-family:inherit!important}
.daterangepicker .calendar-table,.daterangepicker .calendar-table td,.daterangepicker .calendar-table th,.daterangepicker .ranges li{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
.daterangepicker td.in-range{background:var(--tree-selected)!important}
.daterangepicker td.active,.daterangepicker td.active:hover{background:var(--purple)!important;color:white!important}
.daterangepicker .ranges li:hover{background:var(--control-hover)!important}
.daterangepicker .drp-buttons{border-color:var(--line)!important}
.daterangepicker:after,.daterangepicker:before{display:none}
@media(max-width:1080px){.live-layout{grid-template-columns:minmax(0,1fr) 210px}.workspace{grid-template-columns:230px minmax(0,1fr)}.route-inline{flex-wrap:wrap}.route-name{flex-basis:65%}}
@media(max-width:750px){
 html,body{max-width:100%;overflow-x:hidden}
 .sidebar{padding:9px 12px;width:100%;min-width:0;height:auto;flex-basis:auto}
 .brand{padding:0 6px 10px}.sidebar nav{display:flex;overflow-x:auto;max-width:100%;padding:0 0 6px;scrollbar-width:thin;white-space:nowrap}
 .sidebar nav button{flex:none;width:auto;padding:10px 12px}
 .page{padding:14px 12px}.headrow{margin-bottom:12px;flex-direction:column;align-items:stretch}.headrow h1{font-size:calc(23px + var(--atlas-font-step, 0px))}
 .topbar{height:auto;min-height:52px;padding:9px 12px;gap:8px}.topactions{gap:5px}.topactions button{padding:8px;font-size:calc(11px + var(--atlas-font-step, 0px))}
 .table-wrap{max-width:100%;overflow-x:auto}.modal-bg{padding:0}.modal{width:100%;height:100dvh;max-height:100dvh;border-radius:0}
 #modalBody{padding:15px;overflow-x:hidden}.modal-foot,.modal-head{padding:13px 16px}
 .wizard-grid{grid-template-columns:1fr;gap:12px}
 .asset-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
 .tds-flow{gap:5px;padding:9px;flex-wrap:wrap}.tds-flow b{font-size:calc(11px + var(--atlas-font-step, 0px))}.tds-card{padding:12px}.tds-card-top{flex-direction:column;align-items:stretch}
 .route-inline{gap:7px}.route-inline .pill{font-size:calc(10px + var(--atlas-font-step, 0px))}
 .workspace{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}
 .file-pane{border-right:0;border-bottom:1px solid var(--line);max-height:300px}.file-tree{min-height:150px;max-height:190px}.code-pane{min-height:65dvh;height:65dvh}
 .live-layout{display:flex;flex-direction:column}.live-stage{min-height:65dvh}.live-stage iframe{height:65dvh;min-height:65dvh}
 .inspect-panel{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .inspect-panel h3,.inspect-selected,.inspect-panel .full{grid-column:1/-1}
 .preview-toolbar{align-items:stretch}.preview-toolbar .row-actions{gap:4px}.preview-toolbar button{font-size:calc(11px + var(--atlas-font-step, 0px));padding:9px}
 .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filters .field{min-width:0}.filters .field select,.filters .field input{width:100%;min-width:0}
 .daterangepicker{max-width:100vw!important;left:0!important;right:0!important;margin:0!important;overflow:auto;max-height:85dvh}
}
@media(max-width:420px){.asset-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.inspect-panel{grid-template-columns:1fr}.kpis{grid-template-columns:1fr 1fr}.sidebar nav button{font-size:calc(11px + var(--atlas-font-step, 0px))}}
.danger-btn{background:#bd3d50!important;color:#fff!important}
html[data-theme=light] .sidebar nav button.active{background:#eae6fd!important;color:#5142a5!important;border:1px solid #ded7ff}
html[data-theme=light] .sidebar nav button:hover{background:#f2effb;color:#5142a5}
html[data-theme=light] .tabs button.active{background:#eeebff!important;color:#5244aa!important}
html[data-theme=light] .block-choice,html[data-theme=light] .editor-tool,html[data-theme=light] .editor-props,html[data-theme=light] .editor-stage{background:var(--panel);color:var(--text);border-color:var(--line)}
.modal .desc,.modal .edit-intro p{display:none}

/* v0.4.1: group navigation without duplicate Routes entry */
.sidebar #nav{overflow-y:auto;overflow-x:hidden;min-height:0;padding-bottom:12px;display:block}
.sidebar #nav button{margin:1px 0}
.sidebar #nav .nav-group-title{font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:1.25px;color:var(--muted);font-weight:750;padding:17px 13px 6px;opacity:.85}
.at-start-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.at-start-modes>div{border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}
.at-start-modes b{font-size:calc(13px + var(--atlas-font-step, 0px))}.at-start-modes p{color:var(--muted);font-size:calc(12px + var(--atlas-font-step, 0px));line-height:1.6;min-height:55px}
@media(max-width:700px){.at-start-modes{grid-template-columns:1fr}.at-start-modes p{min-height:0}}
/* v0.5 · campaign workspace: rules, A/B, preview without cross-page linking. */
.campaign-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.campaign-summary>div{border:1px solid var(--border,#dce0e8);border-radius:13px;padding:16px;background:var(--card,var(--surface,#fff));min-width:0;display:flex;flex-direction:column;gap:6px}
.campaign-summary span{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted,#8490a4)}
.campaign-summary strong{font-size:calc(14px + var(--atlas-font-step, 0px));overflow-wrap:anywhere}
.campaign-board{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,.95fr);align-items:start;gap:16px}
.campaign-board .card{margin:0;min-width:0}
.campaign-rules{display:grid;gap:18px;margin:18px 0}
.campaign-priority{border:1px solid var(--border,#dce0e8);border-radius:13px;padding:12px;min-width:0}
.campaign-group-head{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:10px}
.campaign-group-head small{color:var(--muted,#8490a4);font-size:calc(11px + var(--atlas-font-step, 0px))}
.priority-tag{border-radius:8px;background:var(--hover,rgba(125,125,150,.12));padding:5px 8px;font-size:calc(11px + var(--atlas-font-step, 0px));font-weight:650}
.campaign-route{display:flex;align-items:center;gap:10px;padding:12px 3px;border-top:1px solid var(--border,rgba(125,125,150,.22));min-width:0}
.campaign-route-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.campaign-route-info b{font-size:calc(14px + var(--atlas-font-step, 0px))}
.campaign-route-info small{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted,#8894a6);overflow-wrap:anywhere}
.campaign-share{text-align:center;display:flex;flex-direction:column;gap:2px;min-width:65px}
.campaign-share strong{font-size:calc(18px + var(--atlas-font-step, 0px))}
.campaign-share small{font-size:calc(10px + var(--atlas-font-step, 0px));color:var(--muted,#8894a6)}
.campaign-default{display:flex;flex-direction:column;gap:5px;padding:13px 16px;border:1px dashed var(--border,#b6bdca);border-radius:12px;font-size:calc(13px + var(--atlas-font-step, 0px));overflow-wrap:anywhere}
.campaign-default span{color:var(--muted,#8894a6)}
.campaign-paused{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.campaign-test p{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted,#8894a6);margin:6px 0 20px}
.campaign-test-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.campaign-test-fields .field{min-width:0}
.campaign-test-fields input,.campaign-test-fields select{max-width:100%;min-width:0}
.campaign-sim-result{margin-top:16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere}
@media(max-width:1120px){.campaign-board{grid-template-columns:1fr}}
@media(max-width:820px){.campaign-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.campaign-summary{grid-template-columns:1fr 1fr;gap:8px}.campaign-summary>div{padding:10px}.campaign-route{flex-wrap:wrap}.campaign-route-info{flex-basis:calc(100% - 85px)}.campaign-test-fields{grid-template-columns:1fr}.campaign-board{gap:10px}}
/* v0.5 dark/light variables and compact mobile nav (override old specificity). */
.campaign-summary>div{background:var(--panel);border-color:var(--line)}
.campaign-priority,.campaign-route,.campaign-default{border-color:var(--line)}
.campaign-group-head .priority-tag{background:var(--panel2);color:var(--text)}
@media(max-width:750px){
  .sidebar{max-width:100vw;overflow:hidden}
  .sidebar #nav{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;max-width:100%;min-height:unset;padding:0 0 8px;gap:6px;scrollbar-width:thin}
  .sidebar #nav .nav-group-title{display:none}
  .sidebar #nav button{display:inline-flex;width:auto;flex:none;white-space:nowrap;margin:0;padding:8px 11px;font-size:calc(12px + var(--atlas-font-step, 0px))}
  .sidebar .brand{padding-bottom:8px}
  .campaign-route .light-btn{white-space:normal}
  .headrow>.row-actions{justify-content:flex-start;flex-wrap:wrap}
}


/* === original: ui-v06.css === */
/* Atlas v0.6: campaign-first workspace. Styles isolated from live landing & redirect runtime. */
/* Active items must keep the exact same box metrics as inactive items. */
#nav button,#nav button.active{
 box-sizing:border-box!important;border:0!important;outline-offset:-2px;
 font-weight:500!important;transform:none!important;letter-spacing:normal!important;
}
#nav button.active{color:var(--text)!important;background:var(--tree-selected)!important;box-shadow:none!important}
#nav button:focus-visible{outline:2px solid var(--border-focus)!important}
.campaign-list-bar{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 16px}
.campaign-list-bar .field{width:min(320px,100%)}
.campaign-list-bar input{width:100%}
.campaign-list-bar .small-note{margin:0;padding-bottom:10px}
.campaign-table-wrap{background:var(--panel);border-color:var(--line)}
.campaign-table{min-width:1100px}
.campaign-table td{vertical-align:middle;max-width:260px;white-space:nowrap;font-variant-numeric:tabular-nums}
.campaign-table td:first-child{min-width:195px;max-width:320px;white-space:normal}
.campaign-table td:nth-child(2){max-width:175px;overflow-wrap:anywhere;white-space:normal}
.campaign-table td:last-child{min-width:220px}
.campaign-open{padding:0;background:transparent;border:0;color:var(--text);font-weight:650;text-align:left;font-size:calc(13px + var(--atlas-font-step, 0px));cursor:pointer}
.campaign-open:hover{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.campaign-alias{font-size:calc(11px + var(--atlas-font-step, 0px));display:block;margin-top:5px;color:var(--muted);font-family:ui-monospace,monospace}
.campaign-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.campaign-actions .tiny{font-size:calc(11px + var(--atlas-font-step, 0px));padding:7px 9px}
.campaign-shell{position:fixed;inset:0;z-index:12;display:grid;grid-template-columns:minmax(0,1fr)}
.campaign-scrim{position:absolute;inset:0;background:var(--overlay)}
.campaign-sheet{position:absolute;right:0;top:0;bottom:0;width:min(1120px,100%);overflow-y:auto;overscroll-behavior:contain;
 background:var(--bg);border-left:1px solid var(--line);padding:32px clamp(15px,3vw,38px);box-shadow:var(--shadow);color:var(--text)}
.campaign-sheet .headrow{padding-right:40px;flex-wrap:wrap}
.campaign-sheet .headrow h1{font-size:calc(27px + var(--atlas-font-step, 0px));overflow-wrap:anywhere}
.campaign-sheet .headrow .row-actions{justify-content:flex-end}
.campaign-sheet .card{margin-bottom:16px}
.campaign-sheet .campaign-summary{margin-bottom:16px}
.campaign-sheet .campaign-board{grid-template-columns:minmax(0,1fr)}
.campaign-sheet .campaign-test{max-width:none}
.campaign-sheet .campaign-test-fields{grid-template-columns:repeat(5,minmax(0,1fr))}
.campaign-sheet .campaign-route{gap:12px}
.campaign-sheet .campaign-route-info{min-width:160px}
.campaign-sheet-close{position:absolute;top:22px;right:20px;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;
 background:var(--control-bg);color:var(--text);border:1px solid var(--line);font-size:calc(25px + var(--atlas-font-step, 0px));z-index:1;cursor:pointer}
.campaign-sheet-close:hover{background:var(--control-hover)}
.route-modal{width:min(960px,100%)}
.route-tabs{display:flex;align-items:stretch;gap:16px;overflow:auto;border-bottom:1px solid var(--line);padding-bottom:0;white-space:nowrap}
.route-tabs button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;
 color:var(--muted);padding:12px 10px;margin:0;font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:500;box-sizing:border-box;white-space:nowrap}
.route-tabs button.active{color:var(--text);border-bottom-color:var(--purple)!important;font-weight:500!important}
.route-tab-panel{min-height:245px;display:grid;align-content:start;gap:21px}
.route-tab-panel>.field{gap:9px}
.route-tab-panel .seg-options{gap:8px}
.route-tab-panel .segment-option{min-width:116px}
.route-target-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:var(--soft);padding:16px;border:1px solid var(--line);border-radius:10px}
.route-target-options:has(#routeUrl){grid-template-columns:1fr}
.route-target-options .field,.route-distribution .field{min-width:0}
.route-distribution{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.route-distribution .field:last-child{grid-column:1/-1}
.route-action-note{font-size:calc(13px + var(--atlas-font-step, 0px));color:var(--text);margin:0}
.campaign-sheet-open{overflow:hidden}
html[data-theme=light] .campaign-sheet{background:#f8f9fc}
html[data-theme=light] .campaign-table-wrap{background:#fff}
html[data-theme=dark] .campaign-sheet{background:#10131e}
@media(max-width:1160px){.campaign-sheet .campaign-test-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
 .campaign-shell{padding:0}.campaign-sheet{width:100%;border-radius:0;padding:18px 12px 30px}
 .campaign-sheet .headrow{gap:12px;display:block;padding-right:38px;margin-bottom:20px}
 .campaign-sheet .headrow .row-actions{justify-content:flex-start;margin-top:12px}
 .campaign-sheet .headrow h1{font-size:calc(22px + var(--atlas-font-step, 0px))}
 .campaign-sheet .campaign-test-fields{grid-template-columns:1fr 1fr}
 .campaign-sheet .campaign-summary{grid-template-columns:1fr 1fr}
 .campaign-sheet .campaign-route{flex-wrap:wrap}
 .campaign-sheet .campaign-route-info{width:100%;flex-basis:100%}
 .campaign-sheet .campaign-share{min-width:55px}
 .campaign-list-bar .field{width:100%}
 .campaign-table{min-width:950px}
 .campaign-actions .tiny span{display:none}
 .route-target-options,.route-distribution{grid-template-columns:1fr}
 .route-tab-panel .segment-option{min-width:calc(50% - 8px)}
 .route-tabs{gap:6px}
}
@media(max-width:410px){.campaign-sheet .campaign-test-fields{grid-template-columns:1fr}.route-target-options{padding:12px}}
/* Keep the quick actions accessible even if a desktop table is wider than the viewport. */
.campaign-table th,.campaign-table td{padding:13px 9px}
.campaign-table td:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.campaign-table th:last-child,.campaign-table td:last-child{position:sticky;right:0;background:var(--panel);box-shadow:-1px 0 0 var(--line)}
@media(max-width:720px){
 .campaign-table-wrap{border:0;background:none;overflow:visible}
 .campaign-table{display:block;width:100%;min-width:0}
 .campaign-table thead{display:none}
 .campaign-table tbody{display:grid;gap:12px}
 .campaign-table tr{display:grid;grid-template-columns:1fr;width:100%;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:11px;overflow:hidden;padding:10px 12px}
 .campaign-table td{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0;max-width:100%!important;min-height:32px;padding:7px 4px!important;
  white-space:normal!important;word-break:normal;border:0;font-size:calc(12px + var(--atlas-font-step, 0px))}
 .campaign-table td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:calc(11px + var(--atlas-font-step, 0px));flex-shrink:0}
 .campaign-table td:first-child{display:block;padding-bottom:12px!important;border-bottom:1px solid var(--line);margin-bottom:6px}
 .campaign-table td:first-child::before{display:none}
 .campaign-table td:nth-child(2){white-space:normal!important}
 .campaign-table td:last-child{position:static;box-shadow:none;border-top:1px solid var(--line);padding-top:13px!important;margin-top:8px}
 .campaign-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
 .campaign-actions .tiny span{display:inline}
}


/* === original: ui-v07.css === */
/* Atlas 0.7 — cohesive frosted desktop UI. Admin-only CSS, never included in landings/TDS runtime. */
:root,html[data-theme="dark"]{
 color-scheme:dark;
 --bg:#10141c;--side:rgba(25,30,40,.82);--top:rgba(28,34,44,.73);
 --panel:rgba(35,41,52,.83);--panel2:rgba(48,55,69,.76);
 --soft:rgba(255,255,255,.045);--line:rgba(206,218,237,.115);--field:rgba(11,16,24,.57);
 --field-border:rgba(205,219,243,.18);--text:#eff2f8;--muted:#a2aebe;--label:#bbc5d3;
 --purple:#6fa8ff;--purple2:#327fe8;--mint:#46c9a7;--red:#f18692;
 --control-bg:rgba(255,255,255,.07);--control-hover:rgba(255,255,255,.115);
 --control-color:#ecf1f9;--tree-selected:rgba(100,154,243,.16);
 --select-bg:#252d3a;--thumb-bg:#242b37;--code-bg:#111720;
 --overlay:rgba(8,13,23,.67);--border-focus:#79b0ff;
 --glass-edge:rgba(255,255,255,.13);--shadow:0 20px 65px rgba(0,0,0,.32);
 --radius:17px;--radius-sm:11px;--ui-blur:blur(22px) saturate(145%);
}
html[data-theme="light"]{
 color-scheme:light;
 --bg:#edf0f5;--side:rgba(248,249,252,.77);--top:rgba(255,255,255,.70);
 --panel:rgba(255,255,255,.90);--panel2:rgba(246,248,251,.91);
 --soft:rgba(22,43,76,.035);--line:rgba(62,82,112,.14);--field:rgba(255,255,255,.85);
 --field-border:rgba(74,95,125,.21);--text:#1b2635;--muted:#617085;--label:#4b5b71;
 --purple:#146dcd;--purple2:#0d59bc;--mint:#087a5e;--red:#c13e52;
 --control-bg:rgba(255,255,255,.73);--control-hover:rgba(224,234,247,.84);
 --control-color:#283b51;--tree-selected:rgba(42,115,217,.105);--select-bg:#fff;
 --thumb-bg:#e8edf4;--code-bg:#fff;--overlay:rgba(26,39,59,.45);--border-focus:#2d7fe1;
 --glass-edge:rgba(255,255,255,.95);--shadow:0 17px 50px rgba(40,55,78,.17);
}
*{scrollbar-width:thin;scrollbar-color:rgba(124,143,166,.45) transparent}
html{scroll-behavior:auto;scrollbar-gutter:stable}
html,body{max-width:100%;min-height:100%}
body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Inter,ui-sans-serif,"Segoe UI",sans-serif;font-size:calc(13px + var(--atlas-font-step, 0px));line-height:1.46;-webkit-font-smoothing:antialiased;font-feature-settings:"tnum"}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 80% 50% at 18% -30%,rgba(101,157,242,.12),transparent),radial-gradient(ellipse 60% 50% at 90% 115%,rgba(85,119,164,.07),transparent)}
button,input,select,textarea{font-family:inherit}
button{transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--border-focus)!important;outline-offset:2px}
a{color:var(--purple)}
.atlas-icon{display:inline-block;flex:0 0 auto;width:17px;height:17px;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px}
.icon-btn .atlas-icon{width:19px;height:19px}
.layout{display:flex;align-items:stretch;min-height:100dvh}
.sidebar{position:sticky;top:0;align-self:flex-start;height:100dvh;flex:0 0 226px;width:226px;min-width:226px;padding:17px 10px 13px;background:var(--side);border-right:1px solid var(--line);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);z-index:7}
.brand{padding:6px 10px 22px;gap:10px}.mark{width:36px;height:36px;font-size:calc(18px + var(--atlas-font-step, 0px));letter-spacing:-1px;border-radius:12px;background:linear-gradient(145deg,#3e8be8,#2555a2);box-shadow:inset 0 1px 0 #fff5,0 4px 16px rgba(39,91,181,.20)}
.brand strong{letter-spacing:1.9px;font-size:calc(15px + var(--atlas-font-step, 0px));font-weight:760}.brand span{font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:.6px}
.sidebar #nav{display:block;min-height:0;overflow:auto;padding-bottom:20px}.sidebar #nav .nav-group-title{padding:17px 12px 6px;font-weight:650;font-size:calc(9px + var(--atlas-font-step, 0px));letter-spacing:1.05px;color:var(--muted);opacity:.8}
.sidebar #nav button,.sidebar #nav button.active{position:relative;display:flex;width:100%;height:36px;align-items:center;gap:11px;min-width:0;padding:0 11px;margin:2px 0;border:0!important;border-radius:10px!important;background:transparent;box-shadow:none!important;font-weight:500!important;font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted);letter-spacing:0!important;white-space:nowrap;text-align:left}
.sidebar #nav button:hover{background:var(--control-hover);color:var(--text)}
.sidebar #nav button.active{background:var(--tree-selected)!important;color:var(--text)!important}
.sidebar #nav button.active::before{content:"";position:absolute;left:1px;top:9px;bottom:9px;width:3px;border-radius:5px;background:var(--purple)}
.sidebar #nav .nav-icon{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;color:inherit}
.sidebar #nav .nav-icon .atlas-icon{width:17px;height:17px}
.sidebar-bottom{border-top:1px solid var(--line);padding:10px 5px 0}.signal{padding:8px 6px 10px;color:var(--text);font-size:calc(11px + var(--atlas-font-step, 0px))}.signal small{font-size:calc(10px + var(--atlas-font-step, 0px));color:var(--muted)}.signal .dot{width:7px;height:7px;box-shadow:none}.ghost{border-radius:10px;color:var(--muted)!important;font-size:calc(12px + var(--atlas-font-step, 0px))}.ghost:hover{background:var(--control-hover)}
.main{min-width:0;flex:1}.topbar{position:sticky;top:0;z-index:6;height:59px;padding:0 23px;border-bottom:1px solid var(--line);background:var(--top)!important;display:flex;align-items:center;justify-content:space-between;gap:14px;-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}
.crumb{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted)!important;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topactions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.time{font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:.2px;color:var(--muted)}
.topactions .light-btn{height:33px;padding:6px 10px}.topactions .top-icon-action{display:inline-flex;gap:7px;align-items:center}
.mobile-menu-btn{display:none!important}.nav-scrim{display:none}.search-trigger{min-width:166px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:calc(12px + var(--atlas-font-step, 0px))}
.keycap{font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:0;color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:5px;padding:1px 5px}
.page{max-width:none;padding:19px clamp(17px,2.2vw,35px) 44px}.headrow{margin:0 0 18px;gap:12px;min-height:47px}.headrow h1{font-size:calc(26px + var(--atlas-font-step, 0px));letter-spacing:-.75px;font-weight:715;margin:3px 0}.eyebrow{color:var(--muted);letter-spacing:1.1px;font-size:calc(9px + var(--atlas-font-step, 0px));font-weight:700}
.headrow .row-actions{justify-content:flex-end}
.primary,.light-btn,.tiny,.icon-btn,.tabs button,.block-choice{border-radius:10px;min-height:33px;padding:7px 12px;font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:565;line-height:1.36;white-space:nowrap;border:1px solid var(--line);box-shadow:none}
.primary{background:var(--purple2);border-color:transparent;color:#fff;font-weight:630;box-shadow:inset 0 1px 0 #ffffff30,0 2px 8px rgba(25,88,173,.13)}.primary:hover{background:var(--purple);filter:none}
.light-btn,.tiny,.icon-btn,.tabs button,.block-choice{background:var(--control-bg);color:var(--control-color);border-color:var(--line)}
.light-btn:hover,.tiny:hover,.icon-btn:hover,.tabs button:hover{color:var(--text);background:var(--control-hover)}
.tiny.danger{color:var(--red)}.tiny.danger:hover{background:rgba(218,54,79,.09)}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:6px}
.card,.kpi,.asset-card,.tds-card,.campaign-sheet .campaign-summary>div{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);box-shadow:0 1px 0 var(--glass-edge) inset;min-width:0}
.card{padding:16px 18px;margin-bottom:13px}.card-head{margin-bottom:12px}.card h3,.card-head h3{font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:670;letter-spacing:-.15px}.card p{margin-top:7px}
.kpis{gap:10px;margin:8px 0 15px}.kpi{padding:15px 17px}.kpi:after{display:none}.kpi span{font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:.35px;text-transform:none;color:var(--muted)}.kpi strong{font-size:calc(27px + var(--atlas-font-step, 0px));letter-spacing:-.8px;margin:7px 0 5px;font-weight:680}.kpi small{color:var(--muted)}
.two{gap:12px}.pill{border:1px solid transparent;border-radius:7px;background:var(--tree-selected);color:var(--purple);padding:3px 7px;font-size:calc(10px + var(--atlas-font-step, 0px));letter-spacing:0;font-weight:620}.pill.green{background:rgba(57,178,132,.10);color:var(--mint)}.pill.gray{background:var(--soft);color:var(--muted)}
/* Consistent data grids: sticky headings, one-line cells, horizontal scrolling (including campaign list). */
.table-wrap,.campaign-table-wrap{position:relative;overflow:auto!important;overscroll-behavior:contain;max-height:min(73dvh,950px);width:100%;max-width:100%;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:13px!important;-webkit-overflow-scrolling:touch}
.table-wrap table,.campaign-table{width:100%;border-collapse:separate;border-spacing:0;min-width:max-content;table-layout:auto;display:table!important}
.table-wrap thead,.campaign-table thead{display:table-header-group!important}
.table-wrap tbody,.campaign-table tbody{display:table-row-group!important}
.table-wrap tr,.campaign-table tr{display:table-row!important;background:transparent!important;border:0!important;padding:0!important}
.table-wrap th,.table-wrap td,.campaign-table th,.campaign-table td{display:table-cell!important;min-width:0!important;max-width:none!important;min-height:0!important;overflow:visible!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;text-overflow:clip!important;border:0;border-bottom:1px solid var(--line)!important;vertical-align:middle;line-height:1.3}
.table-wrap th,.campaign-table th{position:sticky!important;z-index:3;top:0;background:var(--panel2)!important;font-weight:630;font-size:calc(10px + var(--atlas-font-step, 0px));color:var(--muted)!important;padding:10px 12px!important;text-transform:none;letter-spacing:.18px;box-shadow:0 1px 0 var(--line)}
.table-wrap td,.campaign-table td{padding:10px 12px!important;font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--text);font-variant-numeric:tabular-nums}
.table-wrap tbody tr:hover td{background:var(--soft)!important}.table-wrap tbody tr:last-child td{border-bottom:0!important}
.table-wrap td[data-label]::before{display:none!important}.table-wrap th:last-child,.table-wrap td:last-child{min-width:0!important}
.campaign-table{min-width:1050px}.campaign-table td:first-child{min-width:180px!important;max-width:235px!important}.campaign-table td:nth-child(2){max-width:180px!important}
.campaign-table td:last-child,.campaign-table th:last-child{position:sticky!important;right:0;z-index:2;background:var(--panel)!important;box-shadow:-1px 0 0 var(--line)}.campaign-table th:last-child{z-index:4;background:var(--panel2)!important}
.campaign-table .campaign-open{font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:630}.campaign-alias{font-size:calc(10px + var(--atlas-font-step, 0px));margin-top:3px}
.row-actions,.campaign-actions{display:flex;gap:5px;align-items:center;justify-content:flex-end;flex-wrap:nowrap!important;white-space:nowrap}
.row-actions .tiny,.campaign-actions .tiny{font-size:calc(11px + var(--atlas-font-step, 0px));min-height:29px;padding:5px 8px}.row-actions .tiny{display:inline-flex;align-items:center;gap:5px}
.table-wrap .empty{min-width:100%;padding:28px}.table-wrap td code{font-size:calc(11px + var(--atlas-font-step, 0px))}
/* compact but legible filters + form controls */
.filters,.campaign-list-bar{gap:9px;margin-bottom:12px}.field{gap:5px}.field label,.modal label{font-size:calc(11px + var(--atlas-font-step, 0px));font-weight:580;color:var(--label)}
.field input,.field select,.field textarea,.modal .field input,.modal .field select,.modal .field textarea,.editor input,.editor textarea,.auth input{
  min-height:36px;padding:8px 10px;border:1px solid var(--field-border);border-radius:9px;color:var(--text);background:var(--field);font-size:calc(12px + var(--atlas-font-step, 0px));box-shadow:inset 0 1px 1px rgba(0,0,0,.015)
}
.field select,.choices{min-width:0}.field input::placeholder,.modal input::placeholder{color:var(--muted);opacity:.85}
.choices{font-size:calc(12px + var(--atlas-font-step, 0px))}.choices__inner,.is-open .choices__inner,.is-focused .choices__inner{background:var(--field);border:1px solid var(--field-border);border-radius:9px;min-height:36px!important;padding:4px 8px!important;font-size:calc(12px + var(--atlas-font-step, 0px))}
.choices__list--dropdown,.choices__list[aria-expanded]{background:var(--select-bg)!important;box-shadow:var(--shadow);border:1px solid var(--line)!important;border-radius:11px!important;z-index:120}.choices__list--dropdown .choices__item--selectable.is-highlighted{background:var(--control-hover)}
.choices[data-type*=select-one]::after{border-color:var(--muted) transparent transparent}
.segment-option span{padding:8px 11px;background:var(--control-bg);border-color:var(--field-border);font-size:calc(11px + var(--atlas-font-step, 0px));font-weight:570;border-radius:9px}.segment-option input:checked+span{background:var(--tree-selected);border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);color:var(--text)}
.rule-leaf,.rule-group,.rule-panel,.funnel-builder,.campaign-priority,.campaign-default{background:var(--soft);border-color:var(--line);border-radius:12px}.rule-leaf{background:var(--panel)}
/* Unified large sheet + dialog behavior */
.modal-bg{background:var(--overlay);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:18px}
.modal,.route-modal{width:min(930px,100%);height:auto;max-height:min(92dvh,1000px);border:1px solid var(--glass-edge);border-radius:19px;background:var(--panel);box-shadow:var(--shadow);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);overflow:hidden}
.modal:has(.source-param-list){width:min(1080px,100%)}
.modal-head,.modal-foot{padding:15px 19px;border-color:var(--line);background:transparent}.modal-head{min-height:69px}.modal-head h2{font-size:calc(19px + var(--atlas-font-step, 0px));letter-spacing:-.35px;margin-top:3px}.modal-foot{min-height:60px;justify-content:flex-end}
#modalBody{padding:16px 19px;gap:13px;overscroll-behavior:contain;min-width:0;min-height:0;overflow:auto}
#modalBody .source-param-row{padding:7px 9px}.route-tab-panel{gap:13px;min-height:170px}.route-tabs{gap:7px}.route-tabs button{font-size:calc(12px + var(--atlas-font-step, 0px));padding:9px 12px}.route-target-options{padding:12px;background:var(--soft)}
.campaign-scrim{background:var(--overlay);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.campaign-sheet{background:var(--bg)!important;border-left:1px solid var(--glass-edge);width:min(1160px,100%);padding:20px clamp(16px,2.6vw,31px) 36px;box-shadow:var(--shadow)}
.campaign-sheet-close{top:17px;right:17px;border-radius:10px;background:var(--control-bg);border-color:var(--line);color:var(--text)}
.campaign-summary{gap:9px;margin-bottom:11px}.campaign-sheet .campaign-summary>div{padding:12px 14px;border-color:var(--line);background:var(--panel)}
.campaign-summary span{font-size:calc(10px + var(--atlas-font-step, 0px))}.campaign-summary strong{font-size:calc(12px + var(--atlas-font-step, 0px))}.campaign-rules{gap:8px;margin:10px 0}.campaign-priority{padding:10px 12px}.campaign-route{padding:9px 2px}.campaign-board{gap:11px}.campaign-test-fields{gap:8px}.campaign-default{padding:10px 12px}
.asset-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:11px}.asset-card{border-radius:14px}.asset-photo{height:155px}.asset-info{padding:12px}.asset-info strong{font-size:calc(13px + var(--atlas-font-step, 0px))}.asset-actions{gap:6px;padding-top:7px}
.workspace,.live-editor{border-radius:15px;border-color:var(--line);background:var(--panel)}.workspace{height:calc(100dvh - 165px);min-height:530px}.file-pane,.pane-title,.file-pane-head,.file-pane-ops,.preview-toolbar,.inspect-panel{border-color:var(--line)}
.file-pane-head,.pane-title{min-height:46px;padding:9px 11px}.file-pane-ops{padding:7px}.tree-node{min-height:30px;padding:5px 8px}.tree-node.selected{font-weight:570;background:var(--tree-selected)}.preview-toolbar{padding:7px 11px}
.CodeMirror{font:12px/1.58 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.CodeMirror-gutters{background:var(--soft)}
.toast{position:fixed;z-index:1100;border-radius:12px!important;background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important;-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur);box-shadow:var(--shadow)!important;padding:11px 15px!important;max-width:min(90vw,440px)}
.auth{background:var(--bg)!important}.auth-card{border-radius:20px!important;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow);-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}
/* Command palette uses real keyboard navigation and shares surface treatment. */
.command-bg{position:fixed;inset:0;z-index:100;background:var(--overlay);display:grid;place-items:start center;padding:clamp(65px,15vh,160px) 12px 16px;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.command-dialog{width:min(590px,100%);background:var(--panel);border:1px solid var(--glass-edge);box-shadow:var(--shadow);border-radius:18px;overflow:hidden;-webkit-backdrop-filter:var(--ui-blur);backdrop-filter:var(--ui-blur)}
.command-search{display:flex;align-items:center;gap:11px;padding:16px;border-bottom:1px solid var(--line)}.command-search input{flex:1;background:transparent;border:0;outline:0!important;color:var(--text);font-size:calc(15px + var(--atlas-font-step, 0px));min-width:0}.command-list{padding:8px;max-height:45dvh;overflow:auto}.command-result{display:flex;gap:11px;align-items:center;width:100%;text-align:left;padding:11px 12px;background:transparent;border:0;border-radius:10px;color:var(--text);font-size:calc(12px + var(--atlas-font-step, 0px))}.command-result:hover,.command-result[aria-selected=true]{background:var(--tree-selected)}.command-result .atlas-icon{color:var(--muted)}.command-empty{padding:20px;color:var(--muted);text-align:center}
/* Date picker tokens correct in both schemes. */
.daterangepicker{border-radius:13px!important;background:var(--select-bg)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow)!important;font-family:inherit!important}
.daterangepicker .calendar-table,.daterangepicker .calendar-table td,.daterangepicker .calendar-table th{background:var(--select-bg)!important;color:var(--text)!important}
.daterangepicker td.in-range{background:var(--tree-selected)!important}.daterangepicker td.active{background:var(--purple2)!important;color:#fff!important}.daterangepicker .ranges li{background:transparent!important;color:var(--text)!important}.daterangepicker .ranges li:hover{background:var(--control-hover)!important}
@media(max-width:1050px){.sidebar{width:205px;min-width:205px;flex-basis:205px}.topactions .time{display:none}.search-trigger{min-width:130px}.page{padding:17px 16px 30px}}
@media(max-width:750px){
 html,body{overflow-x:hidden}.layout{display:block}.main{min-width:0}
 .sidebar{position:fixed!important;top:0;bottom:0;left:0;transform:translateX(-105%);transition:transform .19s ease;width:min(286px,86vw)!important;min-width:0!important;height:100dvh!important;padding:17px 11px;z-index:60;display:flex!important;flex-direction:column;border-right:1px solid var(--line);box-shadow:var(--shadow);overflow:visible!important}
 body.nav-open .sidebar{transform:translateX(0)}body.nav-open .nav-scrim{display:block;position:fixed;inset:0;z-index:59;background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
 .sidebar .brand{padding:6px 11px 19px}.sidebar #nav{display:block!important;max-width:none!important;flex:1!important;overflow-y:auto!important;overflow-x:hidden!important;white-space:normal!important}
 .sidebar #nav .nav-group-title{display:block!important}.sidebar #nav button{width:100%!important;display:flex!important;padding:0 11px!important;height:39px!important;margin:2px 0!important}
 .sidebar .sidebar-bottom{display:block!important}
 .mobile-menu-btn{display:inline-flex!important}.topbar{height:55px;min-height:55px;padding:0 11px;gap:6px}.topactions{gap:5px}.topactions .light-btn{min-width:34px;padding:6px 7px}.topactions .top-action-label,.topactions .keycap,.search-trigger span{display:none!important}.search-trigger{min-width:34px;width:34px;justify-content:center;padding:5px}
 .crumb{font-size:calc(11px + var(--atlas-font-step, 0px));max-width:calc(100vw - 178px);margin-right:auto}.page{padding:13px 11px 33px;overflow-x:hidden}
 .headrow{flex-direction:column;align-items:stretch;gap:9px;margin-bottom:12px}.headrow h1{font-size:calc(23px + var(--atlas-font-step, 0px))}.headrow>.row-actions{justify-content:flex-start}
 .card{padding:12px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.kpi{padding:13px}.kpi strong{font-size:calc(24px + var(--atlas-font-step, 0px))}
 .table-wrap,.campaign-table-wrap{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:auto!important;border:1px solid var(--line)!important;background:var(--panel)!important;max-height:67dvh;border-radius:12px!important}
 .table-wrap table,.campaign-table{display:table!important;width:max-content!important;min-width:100%!important}
 .campaign-table thead{display:table-header-group!important}.campaign-table tbody{display:table-row-group!important;gap:0!important}.campaign-table tr{display:table-row!important;border:0!important;overflow:visible!important;padding:0!important}.campaign-table td{display:table-cell!important;white-space:nowrap!important;max-width:none!important;margin:0!important}.campaign-table td:first-child{display:table-cell!important;border-bottom:1px solid var(--line)!important}.campaign-table td:last-child{position:sticky!important;right:0!important;background:var(--panel)!important;border-top:0!important;box-shadow:-1px 0 0 var(--line)!important}
 .campaign-table .campaign-actions{flex-wrap:nowrap!important}.campaign-actions .tiny span{display:inline!important}
 .modal-bg{padding:0;place-items:stretch}.modal,.route-modal,.modal:has(.source-param-list){width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}.modal-head,.modal-foot{padding:12px 13px}.modal-head{min-height:61px}.modal-head h2{font-size:calc(18px + var(--atlas-font-step, 0px))}.modal-foot{min-height:59px}.modal-foot button{flex:1}#modalBody{padding:12px 13px;overflow-x:hidden}
 .campaign-sheet{padding:17px 11px 32px}.campaign-sheet .headrow{padding-right:40px}.campaign-sheet .campaign-test-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.campaign-sheet .campaign-route{flex-wrap:wrap}
 .workspace{display:flex;flex-direction:column;height:auto;min-height:0}.file-pane{max-height:245px}.file-tree{min-height:130px;max-height:155px}.code-pane{height:64dvh;min-height:360px}
 .live-layout{display:flex;flex-direction:column}.live-stage iframe{height:65dvh}.preview-toolbar{flex-wrap:wrap}.inspect-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
 .asset-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:9px}.filters{display:flex;flex-wrap:wrap;gap:7px}.filters .field{flex:1 1 145px;min-width:0}.filters .field select,.filters .field input{width:100%}
 .source-param-headers{display:none}.source-param-row{grid-template-columns:1fr 1fr}.route-target-options,.route-distribution{grid-template-columns:1fr}
}
@media(max-width:420px){.kpi{padding:11px}.asset-grid{grid-template-columns:1fr}.inspect-panel{grid-template-columns:1fr}.source-param-row{grid-template-columns:1fr}.campaign-sheet .campaign-test-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.001ms!important;animation-duration:.001ms!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){.sidebar,.topbar,.card,.modal,.campaign-sheet,.command-dialog{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:var(--panel)!important}}
/* User switch: relaxed row density, preserving fixed widths, sticky headings and scrolling. */
html.table-comfortable .table-wrap th,html.table-comfortable .campaign-table th{padding-top:14px!important;padding-bottom:14px!important}
html.table-comfortable .table-wrap td,html.table-comfortable .campaign-table td{padding-top:15px!important;padding-bottom:15px!important}
/* Final narrow-screen table rule: never cover metrics with an action column. */
@media(max-width:750px){
 #densityToggle{display:none!important}
 .campaign-table th:last-child,.campaign-table td:last-child{position:static!important;right:auto!important;box-shadow:none!important;background:transparent!important}
 .campaign-table th:last-child{background:var(--panel2)!important}
 .campaign-table td:last-child{background:transparent!important}
 .table-wrap{scrollbar-width:thin;scrollbar-color:var(--muted) transparent}
}
/* Click-to-sort table headers don't change column metrics. */
.table-wrap th[data-sortable]{cursor:pointer;user-select:none;padding-right:19px!important}
.table-wrap th[data-sortable]:hover{color:var(--text)!important;background:var(--control-hover)!important}
.table-wrap th[data-sortable][aria-sort=ascending]::after{content:'↑';position:absolute;right:5px;color:var(--purple)}
.table-wrap th[data-sortable][aria-sort=descending]::after{content:'↓';position:absolute;right:5px;color:var(--purple)}
.dialog-open{overflow:hidden}
@media(max-width:750px){
 .filters .field:has(#fRange){flex:1 1 100%}
 .filters .field:has(#fRange) input{width:100%}
}


/* === original: ui-v08.css === */
/* Atlas v0.8 · Dense cohesive data surfaces. Only admin UI; not served to landings. */
/* Remove double frames: every entity table has precisely one outer boundary. */
.page > .card:has(> .table-wrap){border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;background:transparent!important}
.page > .table-wrap,.page > .campaign-table-wrap{border-radius:12px!important;margin-top:7px}
#reportOutput > .card:has(.table-wrap){padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.report-table-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0 9px}
.report-table-heading h3{font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:650}
.report-filters{padding:10px 0 15px;border-bottom:1px solid var(--line);margin-bottom:13px}
.report-filters .filters{gap:7px}
.stream-context{display:flex;align-items:center;gap:14px;margin:0 0 12px;color:var(--muted);font-size:calc(11px + var(--atlas-font-step, 0px))}
.stream-context strong{color:var(--text);font-size:calc(12px + var(--atlas-font-step, 0px))}
.page > .small-note{margin-top:11px;color:var(--muted)}
.table-wrap,.campaign-table-wrap{box-shadow:none!important;max-height:min(76dvh,1000px)}
.table-wrap th,.campaign-table th{padding:8px 11px!important}
.table-wrap td,.campaign-table td{padding:8px 11px!important}
.table-wrap .row-actions,.campaign-table .row-actions{flex-wrap:nowrap;gap:5px}
.flat-table-link{border:0;background:transparent;color:var(--purple);font-size:inherit;text-align:left;padding:0;font-weight:600;cursor:pointer}
.flat-table-link:hover{text-decoration:underline}
/* Unified campaign editor: distribution left, settings right. */
.campaign-config-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;align-items:start;gap:14px}
.campaign-flows-column{display:flex;flex-direction:column;gap:12px;min-width:0}
.flow-section,.campaign-config-column{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.flow-group-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;gap:8px;border-bottom:1px solid var(--line)}
.flow-group-heading h3,.campaign-settings-head h3{font-weight:680;margin:0;font-size:calc(13px + var(--atlas-font-step, 0px))}
.flow-group-heading small{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted)}
.flow-list-row{display:flex;align-items:center;gap:9px;padding:10px 13px;border-bottom:1px solid var(--line);min-width:0}
.flow-list-row:last-child{border-bottom:0}
.flow-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.flow-main b,.flow-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.flow-main small{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted)}
.flow-weight{font-size:calc(11px + var(--atlas-font-step, 0px));white-space:nowrap;color:var(--muted)}
.flow-empty{padding:15px;color:var(--muted);font-size:calc(12px + var(--atlas-font-step, 0px))}
.campaign-settings-head{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:13px;border-bottom:1px solid var(--line)}
.campaign-config-column dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px 6px;padding:12px 13px;margin:0}
.campaign-config-column dt{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted)}
.campaign-config-column dd{margin:0;font-size:calc(12px + var(--atlas-font-step, 0px));overflow-wrap:anywhere}
.campaign-config-column>.small-note{font-size:calc(11px + var(--atlas-font-step, 0px));line-height:1.5;color:var(--muted);padding:12px 13px;border-top:1px solid var(--line)}
.campaign-sheet .headrow{padding-right:32px}
/* Outbound traffic-source conversion configuration */
.s2s-settings{margin-top:18px;padding:16px 0 2px;border-top:1px solid var(--line);display:grid;gap:12px}
.s2s-settings h3{font-size:calc(14px + var(--atlas-font-step, 0px));margin:0}
.s2s-settings small{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted);line-height:1.5}
.s2s-settings .field input{width:100%}
/* Unified system metrics */
.health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.health-metric{display:flex;flex-direction:column;min-width:0;min-height:112px;gap:8px;padding:15px 16px;background:var(--panel);border:1px solid var(--line);border-radius:14px}
.health-metric small{color:var(--muted);font-size:calc(11px + var(--atlas-font-step, 0px))}
.health-metric strong{font-size:calc(18px + var(--atlas-font-step, 0px));font-weight:700;letter-spacing:-.4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.health-metric span{font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted)}
.health-footnote{margin:14px 0;font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted);line-height:1.6}
/* Full date picker reset: prevents global data-table styles from expanding calendar cells. */
.daterangepicker{box-sizing:border-box!important;max-width:min(calc(100vw - 20px),750px)!important;width:auto!important;padding:7px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--select-bg)!important;color:var(--text)!important;box-shadow:var(--shadow)!important;font-family:inherit!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;z-index:1300!important}
.daterangepicker:before,.daterangepicker:after{display:none!important}
.daterangepicker .ranges{float:left!important;width:136px!important;max-width:136px!important;margin:0!important;padding:4px 7px 4px 0!important}
.daterangepicker .ranges ul{width:100%!important;margin:0!important;padding:0!important}
.daterangepicker .ranges li{font-size:calc(12px + var(--atlas-font-step, 0px))!important;white-space:nowrap!important;padding:8px 10px!important;border-radius:8px!important;margin:0 0 2px!important;color:var(--text)!important}
.daterangepicker .ranges li.active{background:var(--tree-selected)!important;color:var(--purple)!important;font-weight:650}
.daterangepicker .drp-calendar{display:block!important;float:left!important;max-width:276px!important;width:276px!important;padding:6px!important;margin:0!important}
.daterangepicker .drp-calendar.left .calendar-table{padding-right:0!important}
.daterangepicker .drp-calendar.right{border-left:1px solid var(--line)!important}
.daterangepicker .calendar-table{background:transparent!important;border:0!important;min-width:0!important;width:100%!important}
.daterangepicker .calendar-table table{display:table!important;width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;white-space:normal!important;border:0!important;margin:0!important}
.daterangepicker .calendar-table thead{display:table-header-group!important}
.daterangepicker .calendar-table tr{display:table-row!important}
.daterangepicker .calendar-table th,.daterangepicker .calendar-table td{display:table-cell!important;height:32px!important;min-width:0!important;width:14.285%!important;max-width:34px!important;padding:0!important;text-align:center!important;line-height:32px!important;vertical-align:middle!important;white-space:nowrap!important;overflow:hidden!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;border:0!important;box-shadow:none!important;color:var(--text)!important;background:transparent!important}
.daterangepicker .calendar-table th.month{font-weight:700!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;white-space:nowrap!important;max-width:none!important}
.daterangepicker .calendar-table th.available:hover,.daterangepicker .calendar-table td.available:hover{background:var(--control-hover)!important}
.daterangepicker td.in-range{background:var(--tree-selected)!important;border-radius:0!important}
.daterangepicker td.active,.daterangepicker td.active:hover{background:var(--purple2)!important;color:white!important;border-radius:7px!important}
.daterangepicker td.off,.daterangepicker td.off.in-range{opacity:.35!important}
.daterangepicker .drp-buttons{clear:both!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;border-top:1px solid var(--line)!important;padding:8px!important}
.daterangepicker .drp-buttons .btn{border-radius:8px!important;padding:7px 11px!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important}
.daterangepicker .drp-selected{margin-right:auto!important;padding:0!important;font-size:calc(11px + var(--atlas-font-step, 0px))!important;color:var(--muted)!important}
/* Sidebar selection never changes dimensions or font metrics. */
.sidebar #nav button.active,.sidebar #nav button{font-weight:500!important;border:0!important}
.sidebar #nav button.active::before{display:none!important}
@media(max-width:1100px){.health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.campaign-config-layout{grid-template-columns:minmax(0,1fr) 235px}}
@media(max-width:750px){.campaign-config-layout{grid-template-columns:minmax(0,1fr)}.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-list-row{flex-wrap:wrap}.flow-main{min-width:60%}.campaign-config-column{order:1}.daterangepicker{left:10px!important;right:auto!important;top:80px!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 90px)!important;overflow:auto!important}.daterangepicker .ranges{float:none!important;width:auto!important;max-width:none!important;padding:3px!important}.daterangepicker .ranges ul{display:flex!important;gap:3px!important;flex-wrap:wrap!important}.daterangepicker .ranges li{padding:5px 8px!important}.daterangepicker .drp-calendar{float:none!important;width:100%!important;max-width:none!important}.daterangepicker .drp-calendar.right{border-left:0!important;border-top:1px solid var(--line)!important}.daterangepicker .calendar-table table{max-width:100%!important}}
.campaign-settings-form{display:grid;gap:9px;padding:12px 13px}
.campaign-settings-form .field{min-width:0;margin:0}
.campaign-settings-form .field label{font-size:calc(11px + var(--atlas-font-step, 0px));margin-bottom:4px;color:var(--muted)}
.campaign-settings-form .field input,.campaign-settings-form .field select{width:100%;min-width:0;height:35px;font-size:calc(12px + var(--atlas-font-step, 0px))}
.campaign-settings-form .choices{width:100%;margin-bottom:0;min-width:0}
.campaign-settings-form .choices__inner{min-height:35px;font-size:calc(12px + var(--atlas-font-step, 0px))}
.campaign-settings-form [data-campaign-save]{margin-top:6px}
@media(min-width:1101px){.campaign-config-layout{grid-template-columns:minmax(0,1fr) 305px}}


/* === original: ui-v09.css === */

.landing-switch{display:flex;gap:4px;margin:12px 0 18px;border-bottom:1px solid var(--line,#ddd)}
.landing-switch button{padding:12px 19px;background:transparent;border:0;border-bottom:2px solid transparent;color:inherit;cursor:pointer}
.landing-switch button.active{border-bottom-color:#277bd5;font-weight:650}
.asset-photo{position:relative}
.asset-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#64748b24,#94a3b81a);color:#758397;font-size:calc(13px + var(--atlas-font-step, 0px));letter-spacing:.025em}
.asset-photo img{position:relative;z-index:1}
.asset-type{z-index:2}
.flow-create-bar{display:flex;align-items:center;justify-content:flex-start;margin-bottom:14px}
.funnel-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.funnel-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:145px}


/* === original: ui-v091.css === */
/* Atlas 0.9.1 – common actions, tables, responsive views, dropdown layers */
:root{--atlas-menu-bg:var(--panel,#fff)}
/* Context popup is placed at pointer coordinates and uses its own stacking plane. */
.atlas-context{position:fixed;z-index:99999;min-width:192px;max-width:min(260px,90vw);padding:6px;display:flex;flex-direction:column;gap:2px;background:var(--atlas-menu-bg);color:var(--text);border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 45px #0003;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.atlas-context button{font:inherit;font-size:calc(13px + var(--atlas-font-step, 0px));color:inherit;text-align:left;padding:9px 12px;border:0;border-radius:8px;background:transparent;cursor:pointer}
.atlas-context button:hover,.atlas-context button:focus-visible{background:var(--control-hover);outline:none}
.atlas-context button.danger{color:#d14e60}
/* Choices.js must overlay surrounding cards/rows but not escape the modal. */
.choices{position:relative;min-width:0;overflow:visible!important;z-index:auto}
.choices.is-open{z-index:35!important}
.choices__list--dropdown,.choices__list[aria-expanded]{z-index:45!important;background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:0 14px 35px #0002!important;border-radius:12px!important;overflow-y:auto!important;max-height:min(300px,44vh)!important}
.choices__list--dropdown .choices__item,.choices__list[aria-expanded] .choices__item{white-space:normal;overflow-wrap:anywhere;font-size:calc(13px + var(--atlas-font-step, 0px))!important;color:var(--text)!important}
.choices__list--dropdown .choices__item--selectable.is-highlighted{background:var(--control-hover)!important}
.choices__inner{min-width:0!important;max-width:100%!important}
.field:has(.choices.is-open){position:relative;z-index:40!important}
.campaign-settings-form .field:has(.choices.is-open){z-index:60!important}
#modalBg .modal,#modalBg .modal-body,#modalBody,.campaign-sheet{overflow:visible}
#modalBg .modal{max-height:calc(100dvh - 40px);display:flex;flex-direction:column}
#modalBody{overflow-y:auto;overflow-x:visible;min-height:0;overscroll-behavior:contain}
#modalBody:has(.choices.is-open){overflow:visible}
/* Command results: searchable records plus page jump. */
.command-result{min-height:41px}
.command-result small{font-size:calc(11px + var(--atlas-font-step, 0px));margin-left:auto;color:var(--muted);white-space:nowrap}
@media(max-width:700px){.atlas-context{min-width:180px}}


/* === original: ui-v010.css === */
/* Atlas v0.10 — unified conversational workspace design. UI only.
   The live landing, TDS, analytics collector and postback runtime never load this stylesheet. */
html[data-theme=light]{
 color-scheme:light;
 --bg:#fff;--side:#f9f9f9;--top:#fff;
 --panel:#fff;--panel2:#f7f7f8;--soft:#f7f7f8;
 --line:#e5e5e5;--field:#fff;--field-border:#d9d9d9;
 --text:#171717;--muted:#747474;--label:#525252;
 --purple:#242424;--purple2:#212121;--mint:#15805f;--red:#bf4141;
 --control-bg:#fff;--control-hover:#f1f1f1;--control-color:#353535;
 --tree-selected:#ececec;--select-bg:#fff;--thumb-bg:#f2f2f2;
 --code-bg:#f6f6f6;--overlay:rgba(0,0,0,.35);--border-focus:#888;
 --glass-edge:#ececec;--shadow:0 16px 44px rgba(0,0,0,.13);
 --radius:14px;--radius-sm:10px;--ui-blur:blur(12px)
}
html[data-theme=dark]{
 color-scheme:dark;
 --bg:#212121;--side:#171717;--top:#212121;
 --panel:#262626;--panel2:#303030;--soft:#2b2b2b;
 --line:#3a3a3a;--field:#2a2a2a;--field-border:#525252;
 --text:#f3f3f3;--muted:#a2a2a2;--label:#c3c3c3;
 --purple:#f5f5f5;--purple2:#f3f3f3;--mint:#55cea3;--red:#f18a86;
 --control-bg:#303030;--control-hover:#373737;--control-color:#f1f1f1;
 --tree-selected:#333333;--select-bg:#303030;--thumb-bg:#2f2f2f;
 --code-bg:#1d1d1d;--overlay:rgba(0,0,0,.6);--border-focus:#aaa;
 --glass-edge:#414141;--shadow:0 16px 44px rgba(0,0,0,.4);
 --radius:14px;--radius-sm:10px;--ui-blur:blur(12px)
}
html{scrollbar-gutter:auto!important}
body{background:var(--bg)!important;color:var(--text)!important;font:14px/1.48 -apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Arial,sans-serif!important;letter-spacing:normal}
body:before{display:none!important}
a,.flat-table-link,.campaign-open{color:var(--text)!important}
.layout{display:flex!important;align-items:stretch;min-height:100dvh}
.sidebar{position:sticky!important;inset:auto;top:0!important;height:100dvh!important;align-self:flex-start!important;
 box-sizing:border-box;display:flex!important;flex-direction:column;width:258px!important;min-width:258px!important;flex:0 0 258px!important;
 padding:17px 12px 11px!important;background:var(--side)!important;border-right:1px solid var(--line)!important;
 box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:45!important;transition:width .18s ease,min-width .18s ease,flex-basis .18s ease}
.sidebar-head{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:0 3px 18px 3px;min-height:40px}
.sidebar .brand{min-width:0;margin:0!important;padding:0 5px!important;gap:9px;display:flex;align-items:center}
.sidebar .mark{width:32px!important;height:32px!important;min-width:32px;display:grid;place-items:center;
 border-radius:11px!important;background:#1c1c1c!important;color:#fff!important;box-shadow:none!important;letter-spacing:-.02em!important;font-size:calc(18px + var(--atlas-font-step, 0px))!important;font-weight:600}
html[data-theme=dark] .sidebar .mark{background:#f4f4f4!important;color:#171717!important}
.sidebar .brand-text{min-width:0;display:flex;flex-direction:column}
.sidebar .brand-text strong{font-size:calc(13px + var(--atlas-font-step, 0px))!important;color:var(--text);font-weight:650!important;letter-spacing:-.15px!important;white-space:nowrap}
.sidebar .brand-text span{font-size:calc(10px + var(--atlas-font-step, 0px))!important;color:var(--muted);letter-spacing:0!important;white-space:nowrap}
.side-icon,.side-utility,.side-logout,.sidebar-search{display:flex;align-items:center;justify-content:center;cursor:pointer;
 color:var(--text)!important;border:0!important;background:transparent!important;border-radius:10px!important;box-shadow:none!important}
.side-icon{width:34px;height:34px;min-width:34px;padding:7px}
.side-icon svg,.side-utility svg,.side-logout svg,.sidebar-search svg{width:18px;height:18px;flex:0 0 18px}
.side-icon:hover,.side-utility:hover,.side-logout:hover,.sidebar-search:hover{background:var(--control-hover)!important}
.sidebar-search{height:39px;min-height:39px;width:100%;justify-content:flex-start;gap:10px;text-align:left;
 padding:0 12px!important;margin:0 0 17px;font-size:calc(13px + var(--atlas-font-step, 0px))!important;font-weight:500!important}
.sidebar-search>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.sidebar-search .keycap{font-size:calc(10px + var(--atlas-font-step, 0px))!important;color:var(--muted);padding:1px 4px;background:transparent;border-color:var(--line)}
.sidebar #nav{flex:1;display:block!important;overflow:auto;padding:0 0 10px!important;scrollbar-width:thin}
.sidebar #nav .nav-group-title{padding:17px 11px 7px!important;color:var(--muted)!important;
 letter-spacing:.1px!important;font-size:calc(10px + var(--atlas-font-step, 0px))!important;font-weight:540!important;opacity:1!important}
.sidebar #nav button,.sidebar #nav button.active{height:38px!important;margin:1px 0!important;width:100%!important;
 display:flex!important;align-items:center!important;gap:12px!important;padding:0 12px!important;
 border:0!important;border-radius:10px!important;background:transparent!important;color:var(--text)!important;
 font-size:calc(13px + var(--atlas-font-step, 0px))!important;font-weight:480!important;transition:background .12s!important;letter-spacing:normal!important;text-decoration:none!important}
.sidebar #nav button:hover{background:var(--control-hover)!important}
.sidebar #nav button.active{background:var(--tree-selected)!important;font-weight:540!important}
.sidebar #nav button.active::before{display:none!important}
.sidebar #nav .nav-icon{display:grid;place-items:center;min-width:19px;width:19px;height:19px;color:var(--text)!important;flex:0 0 19px}
.sidebar #nav .nav-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-bottom{margin-top:auto!important;padding:10px 3px 2px!important;border-top:1px solid var(--line)!important;display:flex!important;flex-direction:column;gap:8px}
.sidebar-utilities{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.side-utility{height:38px;min-width:0;padding:7px}
.side-utility .top-action-label{display:none!important}
.side-logout{width:100%;justify-content:flex-start;gap:10px;padding:0 10px!important;height:37px!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important}
.sidebar-collapsed .sidebar{width:65px!important;min-width:65px!important;flex-basis:65px!important;padding-inline:8px!important}
.sidebar-collapsed .sidebar-head{flex-direction:column;gap:5px;padding-bottom:12px}
.sidebar-collapsed .sidebar .brand{padding:0!important}
.sidebar-collapsed .brand-text,.sidebar-collapsed .nav-title,.sidebar-collapsed .nav-group-title,.sidebar-collapsed .sidebar-search>span,.sidebar-collapsed .sidebar-search .keycap,.sidebar-collapsed .side-logout span{display:none!important}
.sidebar-collapsed .sidebar-search,.sidebar-collapsed .sidebar #nav button,.sidebar-collapsed .side-logout{justify-content:center!important;padding:0!important}
.sidebar-collapsed .sidebar-search{margin-bottom:12px}
.sidebar-collapsed .sidebar #nav button{width:44px!important;height:42px!important}
.sidebar-collapsed .sidebar-utilities{display:flex;flex-direction:column;gap:1px}
.sidebar-collapsed .sidebar .sidebar-bottom{align-items:center;width:100%}
.sidebar-collapsed .side-utility,.sidebar-collapsed .side-logout{width:44px;height:38px}
.main{min-width:0!important;flex:1!important;max-width:100%;background:var(--bg);position:relative}
.topbar{display:none!important}
.mobile-access{display:none}
.page{margin:0 auto!important;max-width:1610px!important;padding:28px clamp(18px,3.15vw,51px) 60px!important;min-width:0!important}
.headrow{min-height:48px!important;margin-bottom:21px!important}
.headrow h1,.page h1{font-size:calc(27px + var(--atlas-font-step, 0px))!important;letter-spacing:-.85px!important;font-weight:650!important;margin:2px 0!important;color:var(--text)!important}
.eyebrow{font-size:calc(10px + var(--atlas-font-step, 0px))!important;letter-spacing:.4px!important;font-weight:550!important;color:var(--muted)!important}
.headrow .row-actions{align-items:center}
.primary{background:var(--text)!important;color:var(--bg)!important;border:1px solid var(--text)!important;box-shadow:none!important;font-weight:600!important;filter:none!important}
.primary:hover{opacity:.88!important;filter:none!important}
html[data-theme=dark] .primary{background:#f4f4f4!important;color:#212121!important;border-color:#f4f4f4!important}
.light-btn,.tiny,.icon-btn,.tabs button,.block-choice{color:var(--text)!important;background:var(--control-bg)!important;border:1px solid var(--line)!important;box-shadow:none!important}
.light-btn:hover,.tiny:hover,.icon-btn:hover,.tabs button:hover{background:var(--control-hover)!important}
button{font-family:inherit!important;cursor:pointer}
.pill{background:var(--soft)!important;color:var(--muted)!important;border:1px solid var(--line)!important}
.pill.green{background:rgba(27,160,112,.10)!important;border-color:rgba(27,160,112,.14)!important;color:var(--mint)!important}
.card,.kpi,.tds-card,.asset-card,.record-card,.campaign-record{background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:14px!important;box-shadow:none!important}
.card{padding:17px!important}
.kpis{gap:10px}
.kpi{padding:16px 17px!important}
.kpi strong{font-size:calc(25px + var(--atlas-font-step, 0px))!important;font-weight:640!important}
.kpi:after{display:none!important}
/* Compact, consistent native data tables. No CSS reparenting for tables. */
.table-wrap,.campaign-table-wrap{background:var(--panel)!important;border:1px solid var(--line)!important;
 border-radius:13px!important;overflow:auto!important;max-width:100%!important;box-shadow:none!important}
.table-wrap table,.campaign-table{border-collapse:separate!important;border-spacing:0!important;min-width:max-content!important;width:100%!important}
.table-wrap th,.campaign-table th{position:sticky!important;top:0!important;background:var(--panel2)!important;
 color:var(--muted)!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;
 white-space:nowrap!important;padding:11px 13px!important;font-size:calc(11px + var(--atlas-font-step, 0px))!important;border-bottom:1px solid var(--line)!important}
.table-wrap td,.campaign-table td{padding:11px 13px!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;line-height:1.45!important;
 color:var(--text)!important;background:var(--panel);white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;
 border-bottom:1px solid var(--line)!important;max-width:none!important}
.table-wrap tbody tr:hover td,.campaign-table tbody tr:hover td{background:var(--soft)!important}
.table-wrap tbody tr:last-child td,.campaign-table tbody tr:last-child td{border-bottom:0!important}
.table-wrap .row-actions{gap:5px}
/* A single native table layout is used for all entity lists. */
.landing-table-title{display:inline-flex;align-items:center;gap:10px}
.landing-table-preview{width:28px;height:28px;border-radius:7px;background:var(--soft);display:inline-grid;place-items:center;color:var(--muted)}
.landing-table-preview svg{width:16px;height:16px}
/* Clean tab/filter/form system */
.tabs button.active,.landing-switch button.active,.route-tabs button.active{color:var(--text)!important;background:var(--tree-selected)!important;border-color:var(--line)!important}
.field input,.field select,.field textarea,.modal input,.modal select,.modal textarea,.editor input,.editor textarea{
 background:var(--field)!important;color:var(--text)!important;border:1px solid var(--field-border)!important;border-radius:9px!important;box-shadow:none!important}
.field input:focus,.field select:focus,.modal input:focus,.modal select:focus{border-color:var(--border-focus)!important}
.choices__inner,.is-open .choices__inner{background:var(--field)!important;color:var(--text)!important;border-color:var(--field-border)!important}
.choices__list--dropdown,.choices__list[aria-expanded]{background:var(--select-bg)!important;color:var(--text)!important;border-color:var(--line)!important}
.modal,.route-modal,.campaign-sheet,.command-dialog{background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow)!important}
.modal-head,.modal-foot{border-color:var(--line)!important}.modal-head h2{color:var(--text)!important}
.campaign-sheet{background:var(--bg)!important}
.command-bg{background:var(--overlay)!important}
.command-result{color:var(--text)!important}
.command-result[aria-selected=true]{background:var(--soft)!important}
#commandInput{background:transparent!important;color:var(--text)!important}
/* Components from older pages retain proper surfaces after theme switch. */
.rule-panel,.rule-group,.rule-leaf,.rule-header,.route-target-options,.funnel-builder,.campaign-priority,.campaign-default,
.editor-tool,.editor-stage,.editor-props,.file-pane,.code-pane,.inspect-panel,.campaign-config-column,.campaign-flow-column,
.stream-context,.flow-list-row,.health-metric{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important;box-shadow:none!important}
.health-metric strong{color:var(--text)!important}
.block-choice{background:var(--control-bg)!important;color:var(--text)!important}
/* Reduced motion and mobile navigation */
@media(max-width:850px){
 .layout{display:block!important}
 .sidebar{position:fixed!important;top:0!important;left:0!important;bottom:0!important;display:flex!important;
  width:min(270px,88vw)!important;min-width:0!important;height:100dvh!important;
  transform:translateX(-105%)!important;z-index:120!important;box-shadow:var(--shadow)!important;transition:transform .18s ease!important}
 .sidebar-collapsed .sidebar{width:min(270px,88vw)!important;min-width:0!important;flex-basis:auto!important}
 body.nav-open .sidebar{transform:translateX(0)!important}
 body.nav-open .nav-scrim{display:block!important;position:fixed;inset:0;z-index:115;background:var(--overlay)!important}
 .sidebar-collapsed .sidebar .brand-text,.sidebar-collapsed .sidebar .nav-title,.sidebar-collapsed .sidebar .nav-group-title,.sidebar-collapsed .sidebar-search>span,.sidebar-collapsed .sidebar-search .keycap,.sidebar-collapsed .sidebar .side-logout span{display:initial!important}
 .sidebar-collapsed .sidebar-head{flex-direction:row!important}
 .sidebar-collapsed .sidebar #nav button{width:100%!important;justify-content:flex-start!important;padding:0 12px!important}
 .sidebar-collapsed .sidebar-search{justify-content:flex-start!important;padding:0 12px!important}
 .sidebar-collapsed .sidebar-utilities{flex-direction:row!important;display:grid!important}
 .sidebar-collapsed .sidebar .sidebar-bottom{align-items:stretch!important}
 .sidebar-collapsed .sidebar .side-logout{width:100%!important;justify-content:flex-start!important;padding:0 10px!important}
 .sidebar #nav .nav-group-title{display:block!important}
 .mobile-access{display:grid!important;position:fixed;top:12px;left:12px;z-index:40;place-items:center;
  width:38px;height:38px;border-radius:11px!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;
  box-shadow:0 2px 10px rgba(0,0,0,.05)}
 .page{padding:63px 13px 40px!important}
 .headrow{flex-wrap:wrap}.headrow h1{font-size:calc(24px + var(--atlas-font-step, 0px))!important}
 .record-grid,.campaign-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))}
 .asset-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr))!important}
 .campaign-table td:last-child,.campaign-table th:last-child{position:static!important;box-shadow:none!important}
}
@media(max-width:420px){.record-grid,.campaign-card-grid,.asset-grid{grid-template-columns:1fr!important}.page{padding-inline:11px!important}}
@media(prefers-reduced-motion:reduce){.sidebar,button{transition:none!important}}


/* === original: ui-v011.css === */
/* Atlas 0.11 — one data-table system, one toolbar, one drawer system.
   Loaded only in the administrative application; never on landing/TDS endpoints. */
:root{--atlas-toolbar-h:55px}
.page{padding:0 0 56px!important;max-width:none!important;margin:0!important;width:100%!important;min-width:0}
.page>.eyebrow,.eyebrow,.headrow h1,.headrow>h1,.page>.headrow .eyebrow{display:none!important}
.headrow.atlas-list-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;
 min-height:var(--atlas-toolbar-h)!important;height:var(--atlas-toolbar-h)!important;gap:12px!important;margin:0!important;padding:7px 13px!important;
 border-bottom:1px solid var(--line)!important;background:var(--bg)!important;max-width:100%;box-sizing:border-box;white-space:nowrap}
.atlas-toolbar-left,.atlas-toolbar-right{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;min-width:0;min-height:37px}
.atlas-toolbar-left{flex:1 1 auto;overflow:visible}.atlas-toolbar-right{flex:0 0 auto;margin-left:auto}
.atlas-toolbar-left>.row-actions,.atlas-toolbar-left .landing-switch{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:6px}
.atlas-toolbar-left .primary,.atlas-toolbar-left .light-btn,.atlas-toolbar-left .tiny,.atlas-toolbar-right input,.atlas-bulk-dropdown summary{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;line-height:1!important;border-radius:8px!important;white-space:nowrap!important}
.landing-switch{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.landing-switch button{height:35px!important;padding:0 10px!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;border-radius:8px!important;white-space:nowrap!important}
.atlas-toolbar-context{color:var(--muted);font-size:calc(12px + var(--atlas-font-step, 0px))}
.atlas-date-control{display:flex!important;align-items:center;gap:0;min-width:205px;margin:0!important;padding:0!important}
.atlas-date-control label{display:none!important}
.atlas-date-control input:not([type=hidden]){margin:0!important;width:214px;max-width:214px;min-width:0!important;
 font-size:calc(12px + var(--atlas-font-step, 0px))!important;cursor:pointer;color:var(--text)!important;background:var(--field)!important;
 border:1px solid var(--line)!important;border-radius:8px!important;text-align:center;padding:0 10px!important}
/* The column scroll belongs to the table and NOT to the viewport. */
.page>.table-wrap,.page>.campaign-table-wrap,.page .table-wrap,.page .campaign-table-wrap,
#reportOutput>.table-wrap,#reportOutput .table-wrap,.local-landing-table{
 border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--bg)!important;
 margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow:auto!important;
 max-height:calc(100dvh - 115px)!important;overscroll-behavior-x:contain!important}
.page .table-wrap>table,.page .campaign-table,.page .table-wrap table{
 border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:max-content!important;
 background:var(--bg)!important;table-layout:auto!important}
.page .table-wrap th,.page .campaign-table th{
 position:sticky!important;top:0!important;z-index:7!important;background:var(--panel2)!important;
 text-transform:none!important;font-size:calc(11px + var(--atlas-font-step, 0px))!important;font-weight:600!important;
 padding:10px 13px!important;white-space:nowrap!important;border-bottom:1px solid var(--line)!important}
.page .table-wrap td,.page .campaign-table td{
 padding:9px 13px!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
 background:var(--bg)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}
.page .table-wrap tbody tr:hover td{background:var(--soft)!important}
.page .table-wrap th:last-child,.page .table-wrap td:last-child,
.page .campaign-table th:last-child,.page .campaign-table td:last-child{
 position:static!important;right:auto!important;box-shadow:none!important;min-width:150px}
.page .table-wrap th:first-child,.page .table-wrap td:first-child{padding-left:15px!important}
.page .campaign-alias{font-size:calc(10px + var(--atlas-font-step, 0px))!important;color:var(--muted)!important}
.page .row-actions,.page .campaign-actions{display:inline-flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;justify-content:flex-end!important}
.page .table-wrap .row-actions button,.page .table-wrap .campaign-actions button{white-space:nowrap;font-size:calc(11px + var(--atlas-font-step, 0px));padding:6px 9px}
.page .table-wrap code{white-space:nowrap}
/* Eliminate obsolete framing around tabular data. */
.page>.card:has(.table-wrap),#reportOutput>.card:has(.table-wrap),
.page .card:has(> .table-wrap){padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.page .stream-context{display:none!important}
.page .report-table-heading{display:none!important}
/* Compact multi-select column + accessible dropdown actions. */
.atlas-check-cell{width:40px!important;min-width:40px!important;max-width:40px!important;text-align:center!important;padding:8px!important}
.atlas-check-cell input{appearance:auto!important;display:inline-block!important;width:15px!important;height:15px!important;margin:0!important;vertical-align:middle;cursor:pointer;accent-color:var(--text)}
.atlas-bulk-actions{position:relative;flex:0 0 auto;z-index:16!important}
.atlas-bulk-dropdown{position:relative;min-width:0}
.atlas-bulk-dropdown>summary{list-style:none;cursor:pointer;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;user-select:none}
.atlas-bulk-dropdown>summary::-webkit-details-marker{display:none}
.atlas-bulk-dropdown.no-selection>summary{opacity:.58}
.atlas-bulk-counter{display:inline-grid;place-items:center;margin:0 3px 0 5px;border-radius:7px;background:var(--soft);padding:2px 5px;min-width:17px;font-size:calc(10px + var(--atlas-font-step, 0px))}
.atlas-bulk-popup{position:absolute;top:calc(100% + 6px);left:0;min-width:205px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:var(--shadow);padding:5px;z-index:170!important;display:grid;gap:2px}
.atlas-bulk-popup button{width:100%;border:0;border-radius:7px;background:transparent;color:var(--text);text-align:left;padding:9px 11px;font-size:calc(12px + var(--atlas-font-step, 0px));white-space:nowrap}
.atlas-bulk-popup button:hover{background:var(--soft)}.atlas-bulk-popup button.danger{color:var(--red)!important}
.atlas-bulk-dropdown[aria-busy=true]>summary{opacity:.6;pointer-events:none}
/* Unified modal: all ordinary editors open from the right, like campaign details. */
#modalBg.modal-bg{position:fixed!important;inset:0!important;z-index:550!important;display:flex!important;
 align-items:stretch!important;justify-content:flex-end!important;place-items:unset!important;padding:0!important;
 background:var(--overlay)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important}
#modalBg.hidden{display:none!important}
#modalBg>.modal,#modalBg>.modal:has(.source-param-list){flex:0 1 820px!important;width:min(820px,100vw)!important;max-width:100vw!important;
 max-height:100dvh!important;height:100dvh!important;border-radius:0!important;
 border:0!important;border-left:1px solid var(--line)!important;margin:0!important;
 display:flex!important;flex-direction:column!important;overflow:hidden!important;background:var(--panel)!important}
#modalBg .modal-head{flex:none!important;min-height:62px!important;padding:12px 20px!important;border-bottom:1px solid var(--line)}
#modalBg .modal-head h2{margin:0!important;font-size:calc(19px + var(--atlas-font-step, 0px))!important;letter-spacing:-.35px!important}
#modalBg #modalBody{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:19px 20px!important;overscroll-behavior:contain}
#modalBg .modal-foot{flex:none!important;padding:13px 20px!important;border-top:1px solid var(--line);gap:10px}
#modalBg .modal-foot button{width:auto!important;flex:0 0 auto!important;min-width:104px}
.campaign-shell{z-index:500!important}.campaign-shell .campaign-sheet{border-radius:0!important}
.sidebar{z-index:45!important}body.nav-open .sidebar{z-index:120!important}body.nav-open .nav-scrim{z-index:115!important}
/* Report date goes to the right; advanced filters are collapsible. */
.report-filters{margin:0!important;padding:10px 13px!important;border-bottom:1px solid var(--line)!important}
.report-filters.atlas-filters-collapsed{display:none!important}
.report-filters .filters{gap:8px!important;margin:0!important;align-items:end}
.report-filters .field{min-width:130px}
.report-filters #runReport{display:none!important}
/* Date Range Picker: strict 7-column calendars, consistent rows, no old float layout. */
.daterangepicker{z-index:750!important;display:block;box-sizing:border-box!important;
 width:min(752px,calc(100vw - 18px))!important;max-width:calc(100vw - 18px)!important;
 padding:9px!important;border:1px solid var(--line)!important;border-radius:12px!important;
 background:var(--panel)!important;color:var(--text)!important;box-shadow:var(--shadow)!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;line-height:1.4!important;font-family:inherit!important}
.daterangepicker:before,.daterangepicker:after{display:none!important}
.daterangepicker .ranges{float:left!important;width:145px!important;max-width:145px!important;padding:4px 8px 4px 0!important;margin:0!important}
.daterangepicker .ranges ul{width:100%!important;padding:0!important;margin:0!important}
.daterangepicker .ranges li{padding:7px 9px!important;margin:1px 0!important;white-space:nowrap!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;border-radius:7px!important}
.daterangepicker .ranges li:hover{background:var(--soft)!important}
.daterangepicker .drp-calendar,.daterangepicker .drp-calendar.left,.daterangepicker .drp-calendar.right{
 float:left!important;display:block!important;box-sizing:border-box!important;width:calc((100% - 145px)/2)!important;
 max-width:none!important;padding:5px!important;margin:0!important;border:0!important;background:transparent!important}
.daterangepicker .drp-calendar.right{border-left:1px solid var(--line)!important}
.daterangepicker .calendar-table{padding:0!important;margin:0!important;border:0!important;background:transparent!important;width:100%!important;min-width:0!important}
.daterangepicker .calendar-table table{width:100%!important;min-width:0!important;max-width:none!important;table-layout:fixed!important;
 border-collapse:separate!important;border-spacing:1px!important;margin:0!important;display:table!important}
.daterangepicker .calendar-table thead{display:table-header-group!important}.daterangepicker .calendar-table tr{display:table-row!important}
.daterangepicker .calendar-table th,.daterangepicker .calendar-table td{
 display:table-cell!important;vertical-align:middle!important;text-align:center!important;
 width:14.285714%!important;min-width:0!important;max-width:none!important;
 height:32px!important;line-height:32px!important;padding:0!important;margin:0!important;
 font-size:calc(12px + var(--atlas-font-step, 0px))!important;border:0!important;background:transparent!important;color:var(--text)!important;
 overflow:visible!important;white-space:nowrap!important;box-shadow:none!important}
.daterangepicker .calendar-table th.month{font-size:calc(12px + var(--atlas-font-step, 0px))!important;font-weight:650!important;white-space:nowrap!important}
.daterangepicker td.available:hover{background:var(--control-hover)!important;border-radius:7px!important}
.daterangepicker td.off{opacity:.32!important}.daterangepicker td.in-range{background:var(--tree-selected)!important;border-radius:0!important}
.daterangepicker td.active,.daterangepicker td.active:hover{background:var(--text)!important;color:var(--bg)!important;border-radius:7px!important;opacity:1!important}
.daterangepicker .drp-buttons{clear:both!important;display:flex!important;align-items:center;justify-content:flex-end;gap:8px;
 padding:9px 4px 0!important;border-top:1px solid var(--line)!important}
.daterangepicker .drp-selected{margin-right:auto;color:var(--muted);font-size:calc(11px + var(--atlas-font-step, 0px))!important}
.daterangepicker .drp-buttons .btn{font-size:calc(12px + var(--atlas-font-step, 0px))!important;border-radius:7px!important;padding:7px 12px!important}
@media(max-width:850px){
 .headrow.atlas-list-toolbar{padding:7px 9px!important;gap:8px!important;overflow:visible!important}
 .atlas-toolbar-left{overflow-x:auto!important;scrollbar-width:none;flex:1 1 auto!important}
 .atlas-toolbar-left::-webkit-scrollbar{display:none}
 .atlas-toolbar-right{margin-left:auto;flex:0 0 auto}
 .atlas-date-control{min-width:130px!important}
 .atlas-date-control input:not([type=hidden]){width:160px!important;max-width:160px!important;font-size:calc(11px + var(--atlas-font-step, 0px))!important}
 .page .table-wrap,.page .campaign-table-wrap{max-height:calc(100dvh - 110px)!important}
 #modalBg>.modal{width:100vw!important;flex:1 1 auto!important;border-left:0!important}
 #modalBg #modalBody{padding:13px!important}
 .daterangepicker{left:9px!important;right:auto!important;top:65px!important;width:min(360px,calc(100vw - 18px))!important;
  max-height:calc(100dvh - 82px)!important;overflow-y:auto!important}
 .daterangepicker .ranges{float:none!important;width:100%!important;max-width:none!important;padding:0 0 7px!important}
 .daterangepicker .ranges ul{display:flex!important;gap:3px!important;flex-wrap:wrap!important}
 .daterangepicker .ranges li{padding:6px 8px!important;font-size:calc(11px + var(--atlas-font-step, 0px))!important}
 .daterangepicker .drp-calendar,.daterangepicker .drp-calendar.left,.daterangepicker .drp-calendar.right{
  float:none!important;width:100%!important;max-width:none!important;padding:7px 2px!important;border:0!important}
 .daterangepicker .drp-calendar.right{border-top:1px solid var(--line)!important;border-left:0!important}
}
@media(prefers-reduced-motion:reduce){#modalBg>.modal{transition:none!important}}
/* Prevent a one-field editor from stretching its form control to viewport height. */
#modalBg #modalBody{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:14px!important}
#modalBg #modalBody>.field{flex:none!important;min-height:0!important}
#modalBg #modalBody .field input,#modalBg #modalBody .field select{min-height:37px!important;height:auto!important}
.atlas-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){
 /* Fixed-height toolbar scrolls horizontally when actions + dates don't fit. */
 .headrow.atlas-list-toolbar{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;justify-content:flex-start!important;overscroll-behavior-x:contain!important}
 .headrow.atlas-list-toolbar::-webkit-scrollbar{display:none!important}
 .atlas-toolbar-left{flex:0 0 auto!important;overflow:visible!important}
 .atlas-toolbar-right{margin-left:8px!important;flex:0 0 auto!important}
 .atlas-date-control{min-width:140px!important}
 .atlas-date-control input:not([type=hidden]){max-width:145px!important;width:145px!important}
}


/* === original: atlas-pagination.css === */
/* One shared pagination bar; no table borders or rounded containers. */
.table-wrap tr[data-atlas-paged-hidden="1"]{display:none!important}
.atlas-pager{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;border-top:1px solid var(--line,#e6e6e6);background:var(--bg,#fff);font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted,#777);max-width:100%;box-sizing:border-box}
.atlas-pager-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}
.atlas-pager-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0}
.atlas-pager-controls select{appearance:auto;border:1px solid var(--line,#ddd);border-radius:8px;background:var(--panel,#fff);color:var(--text,#333);font:inherit;font-size:calc(12px + var(--atlas-font-step, 0px));padding:5px 6px;min-width:55px;height:31px}
.atlas-pager-controls button{width:30px;height:30px;border:1px solid var(--line,#ddd);border-radius:7px;background:var(--panel,#fff);color:var(--text,#333);font:inherit;font-size:calc(17px + var(--atlas-font-step, 0px));display:grid;place-items:center;cursor:pointer;padding:0}
.atlas-pager-controls button:hover:not(:disabled){background:var(--soft,#eee)}.atlas-pager-controls button:disabled{opacity:.35;cursor:default}
.atlas-page-current{min-width:48px;text-align:center;color:var(--text,#333);font-variant-numeric:tabular-nums}
@media(max-width:630px){.atlas-pager{gap:7px;padding:8px 9px;font-size:calc(11px + var(--atlas-font-step, 0px))}.atlas-pager-controls{gap:3px}.atlas-pager-controls label{gap:3px;font-size:0}.atlas-pager-controls label select{font-size:calc(12px + var(--atlas-font-step, 0px))}.atlas-pager-controls button{width:26px;height:29px}.atlas-page-current{min-width:33px}}


/* === original: atlas-date-range.css === */
/* Atlas date picker v0.10.5: dependency-free, immediate selection, compact neutral theme. */
.atlas-date-overlay{position:fixed;inset:0;z-index:300000;pointer-events:none;color:var(--text,#202124);font:inherit}
.adr-shade{position:absolute;inset:0;pointer-events:auto;background:transparent}
.adr-popup{position:fixed;box-sizing:border-box;width:710px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);background:var(--panel,#fff);border:1px solid var(--line,#ddd);border-radius:12px;box-shadow:0 16px 44px #0002;pointer-events:auto;overflow:hidden;color:var(--text,#202124);font-size:calc(12px + var(--atlas-font-step, 0px));line-height:1.35}
.adr-content{display:grid;grid-template-columns:138px minmax(0,1fr);min-height:0;overflow:auto}
.adr-presets{display:flex;flex-direction:column;gap:2px;padding:12px 9px;border-right:1px solid var(--line,#ddd)}
.adr-preset{width:100%;padding:9px 10px!important;text-align:left!important;font:inherit!important;white-space:nowrap;color:var(--text,#202124)!important;border:0!important;border-radius:7px!important;background:transparent!important;cursor:pointer}
.adr-preset:hover,.adr-preset.is-selected{background:var(--soft,#eee)!important}
.adr-preset.is-selected{font-weight:650!important}
.adr-center{padding:9px 13px 14px;min-width:0}
.adr-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.adr-preview{font-weight:600;color:var(--text,#202124);font-size:calc(12px + var(--atlas-font-step, 0px));white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}
.adr-icon{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:7px!important;width:30px;height:30px;padding:0!important;font-size:calc(21px + var(--atlas-font-step, 0px))!important;font-weight:400!important;color:var(--text,#202124)!important;cursor:pointer}
.adr-icon:hover{background:var(--soft,#eee)!important}
.adr-calendars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.adr-month{min-width:0}
.adr-month-title{text-align:center;font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:650;padding:7px 2px 10px}
.adr-weekdays,.adr-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0!important;min-width:0}
.adr-weekdays>span{font-size:calc(11px + var(--atlas-font-step, 0px));text-align:center;color:var(--muted,#888);padding:7px 0}
.adr-day{display:grid;place-items:center;box-sizing:border-box;min-width:0;width:100%;height:32px;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--text,#202124)!important;font:inherit!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;cursor:pointer;font-variant-numeric:tabular-nums}
.adr-day.is-outside{color:var(--muted,#888)!important;opacity:.42}
.adr-day:not(.is-between):hover{background:var(--soft,#eee)!important;border-radius:6px!important}
.adr-day.is-between{background:color-mix(in srgb,var(--text,#202124) 14%, transparent)!important;border-radius:0!important;opacity:1}
.adr-day.is-boundary{background:var(--text,#202124)!important;color:var(--bg,#fff)!important;opacity:1!important;border-radius:0!important}
.adr-day.is-boundary:not(.is-between){border-radius:6px!important}
.adr-day.is-start:not(.is-end){border-radius:7px 0 0 7px!important}
.adr-day.is-end:not(.is-start){border-radius:0 7px 7px 0!important}
.adr-day.is-start.is-end{border-radius:7px!important}
#campaignRange,#fRange{cursor:pointer!important}
@media(max-width:700px){
 .adr-shade{background:rgba(0,0,0,.37)}
 .adr-popup{inset:auto 0 0 0!important;width:100%!important;max-width:100%!important;max-height:90dvh;border-radius:15px 15px 0 0;border-bottom:0;box-shadow:0 -8px 36px #0002}
 .adr-content{display:flex;flex-direction:column;overscroll-behavior:contain}
 .adr-presets{flex-direction:row;gap:5px;padding:11px 12px;border-right:0;border-bottom:1px solid var(--line,#ddd);overflow:auto hidden;scrollbar-width:none;flex:none}
 .adr-presets::-webkit-scrollbar{display:none}
 .adr-preset{flex:0 0 auto;width:auto!important;background:var(--soft,#f4f4f4)!important;padding:9px 12px!important}
 .adr-center{padding:8px 14px 14px}
 .adr-calendars{display:block}
 .adr-calendars .adr-month:nth-child(2){display:none}
 .adr-day{height:42px!important;font-size:calc(14px + var(--atlas-font-step, 0px))!important}
 .adr-weekdays>span{padding:7px 0}
 .adr-month-title{padding:4px 2px 10px}
}
@media(max-width:380px),(max-height:620px){.adr-day{height:34px!important}.adr-center{padding:6px 12px 9px}.adr-month-title{padding:3px 2px 6px}.adr-weekdays>span{padding:4px 0}}
@media(prefers-reduced-motion:reduce){.adr-popup{animation:none!important}}


/* === original: ui-v0105.css === */
/* Atlas v0.10.5 compact consistent admin – loaded after all historical CSS. */
/* Edge-to-edge dashboard + system: one contiguous, square-corner metric grid. */
.page>.kpis,.page #healthOutput>.health-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;width:100%!important;background:var(--bg)!important}
.page>.kpis>.kpi,.page #healthOutput .health-metric{margin:0!important;padding:16px 19px!important;border:0!important;border-right:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;min-width:0!important;background:var(--bg)!important}
.page>.kpis>.kpi:nth-child(4n),.page #healthOutput .health-metric:nth-child(4n){border-right:0!important}
.page>.two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;width:100%!important}
.page>.two>.card{margin:0!important;padding:17px 19px!important;border:0!important;border-right:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;background:var(--bg)!important;min-width:0!important}
.page>.two>.card:last-child{border-right:0!important}
.page>.two .table-wrap{max-height:none!important}
.page #healthOutput{margin:0!important;padding:0!important}
.page .health-footnote{margin:12px 18px!important;font-size:calc(11px + var(--atlas-font-step, 0px))!important}
/* Tables: single-pixel header rule even in last column, predictable selection/action widths. */
.page .table-wrap thead th,.page .campaign-table thead th{border-top:0!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important}
.page .table-wrap th:last-child,.page .campaign-table th:last-child{border-bottom:1px solid var(--line)!important;border-right:0!important}
.page .table-wrap:has(.row-actions) th:last-child,.page .campaign-table th:last-child{min-width:0!important;width:1px!important;white-space:nowrap!important}
.page .table-wrap:has(.row-actions) td:last-child,.page .campaign-table td:last-child{min-width:0!important;width:1px!important;white-space:nowrap!important}
.page .table-wrap th.atlas-check-cell,.page .table-wrap td.atlas-check-cell{box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;padding:8px 11px!important;white-space:nowrap!important;text-align:center!important}
.page .table-wrap th.atlas-check-cell input,.page .table-wrap td.atlas-check-cell input{width:15px!important;min-width:15px!important;max-width:15px!important}
.page .table-wrap td:last-child .row-actions,.page .campaign-table td:last-child .campaign-actions{min-width:0!important;display:flex!important;gap:5px!important;white-space:nowrap!important;justify-content:flex-end!important}
.page #reportOutput>.kpis{display:none!important}
/* Data Stream setup uses the exact same right drawer and neutral typography. */
#modalBg .atlas-integration{display:flex;flex-direction:column;gap:17px;font-family:inherit!important;color:var(--text)!important;min-width:0}
#modalBg .atlas-integration-intro{font-size:calc(12px + var(--atlas-font-step, 0px));line-height:1.6;color:var(--muted)}
#modalBg .atlas-integration-section{display:flex;flex-direction:column;min-width:0;gap:8px;margin:0;padding:0}
#modalBg .atlas-integration-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
#modalBg .atlas-integration-heading strong{font-size:calc(12px + var(--atlas-font-step, 0px))!important;font-weight:600;color:var(--text)!important}
#modalBg .atlas-integration-heading .tiny{font-size:calc(11px + var(--atlas-font-step, 0px))!important;border-radius:7px!important;background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--text)!important;padding:7px 10px!important;white-space:nowrap}
#modalBg .atlas-integration-warning{margin:0;color:var(--muted);font-size:calc(11px + var(--atlas-font-step, 0px))}
#modalBg .atlas-integration-code{box-sizing:border-box;display:block;max-width:100%;max-height:350px;margin:0!important;padding:13px 15px!important;overflow:auto;background:var(--soft)!important;border:1px solid var(--line)!important;border-radius:9px!important;color:var(--text)!important;white-space:pre;font-size:calc(12px + var(--atlas-font-step, 0px))!important;line-height:1.6!important;tab-size:2}
#modalBg .atlas-integration-code code{color:inherit!important;font:inherit!important;background:none!important;white-space:inherit}
@media(max-width:1100px){.page>.kpis,.page #healthOutput>.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page>.kpis>.kpi:nth-child(4n),.page #healthOutput .health-metric:nth-child(4n){border-right:1px solid var(--line)!important}.page>.kpis>.kpi:nth-child(2n),.page #healthOutput .health-metric:nth-child(2n){border-right:0!important}}
@media(max-width:760px){.page>.two{grid-template-columns:1fr!important}.page>.two>.card{border-right:0!important}.page>.kpis>.kpi,.page #healthOutput .health-metric{padding:13px 12px!important}.page .health-metric strong{font-size:calc(15px + var(--atlas-font-step, 0px))!important}.page>.two>.card{padding:13px!important}}

/* System tiles must always be vertical cells, regardless of legacy flex/grid rules. */
.page #healthOutput .health-metric{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:7px!important;min-height:96px!important}
.page #healthOutput .health-metric small,.page #healthOutput .health-metric strong,.page #healthOutput .health-metric span{display:block!important;line-height:1.3!important;width:100%!important}

/* v0.10.6: fixed table containment and content-sized columns.
   Auto width + intrinsic minimum are constrained to the scroll container,
   not to the document, and are never based on a 1% actions column. */
.layout,.main,.page,#content{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.main{overflow-x:clip!important}
.page .table-wrap,.page .campaign-table-wrap{
 display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;
 overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior-x:contain!important;
 box-sizing:border-box!important;-webkit-overflow-scrolling:touch;
}
.page .table-wrap>table,.page .table-wrap table,.page .campaign-table{
 display:table!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;
 width:max-content!important;min-width:100%!important;max-width:none!important;
}
.page .table-wrap th,.page .table-wrap td,.page .campaign-table th,.page .campaign-table td{
 white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
 padding-left:10px!important;padding-right:10px!important;
}
/* Keep names, URLs and IDs from expanding every table by thousands of pixels. */
.page .table-wrap td:not(:last-child):not(.atlas-check-cell),.page .campaign-table td:not(:last-child):not(.atlas-check-cell){
 max-width:260px!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.page .table-wrap td code,.page .table-wrap td a,.page .table-wrap td .flat-table-link,
.page .table-wrap td .campaign-open,.page .campaign-table .campaign-open,.page .campaign-table .campaign-alias{
 display:block;max-width:225px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.page .table-wrap td:last-child,.page .table-wrap th:last-child,
.page .campaign-table td:last-child,.page .campaign-table th:last-child{
 width:1px!important;min-width:0!important;max-width:none!important;white-space:nowrap!important;
}
.page .table-wrap .atlas-check-cell,.page .campaign-table .atlas-check-cell{
 width:42px!important;min-width:42px!important;max-width:42px!important;box-sizing:border-box!important;
 padding-left:10px!important;padding-right:10px!important;text-align:center!important;
}
.page .table-wrap .row-actions,.page .campaign-table .campaign-actions{
 display:inline-flex!important;width:max-content!important;max-width:none!important;white-space:nowrap!important;
 justify-content:flex-start!important;flex-wrap:nowrap!important;
}
/* Whole-page ZIP dropping; replaces the old dedicated dropzone. */
#content.atlas-landing-dragging:after{
 content:"Отпустите ZIP-архив для импорта";position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);
 pointer-events:none;z-index:250;color:var(--text);background:var(--panel);border:2px dashed var(--muted);
 border-radius:12px;padding:35px 40px;box-shadow:var(--shadow);font-size:calc(16px + var(--atlas-font-step, 0px));font-weight:600;
 text-align:center;max-width:calc(100vw - 32px);box-sizing:border-box;
}
.atlas-picked-zip{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:12px;
 padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--text)}
.atlas-picked-zip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-picked-zip small{flex:none;color:var(--muted)}
@media(max-width:630px){
 #content.atlas-landing-dragging:after{width:calc(100vw - 30px);font-size:calc(13px + var(--atlas-font-step, 0px));padding:24px 15px}
 .page .table-wrap th,.page .table-wrap td,.page .campaign-table th,.page .campaign-table td{
  padding-left:8px!important;padding-right:8px!important;
 }
}


/* === original: ui-v0107.css === */
/* Atlas v0.10.7: entity ID, row selection, compact page and scrollable drawers. */
.page{padding-bottom:0!important}
.page .table-wrap th.atlas-id-cell,.page .table-wrap td.atlas-id-cell,
.page .campaign-table th.atlas-id-cell,.page .campaign-table td.atlas-id-cell{
 box-sizing:border-box!important;width:64px!important;min-width:64px!important;max-width:88px!important;
 padding:8px 10px!important;white-space:nowrap!important;text-align:right!important;
 font-variant-numeric:tabular-nums;color:var(--muted)!important}
.page .table-wrap th.atlas-check-cell,.page .table-wrap td.atlas-check-cell,
.page .campaign-table th.atlas-check-cell,.page .campaign-table td.atlas-check-cell{
 width:42px!important;min-width:42px!important;max-width:42px!important;padding:8px!important;text-align:center!important}
.page .table-wrap tbody tr[data-context-id]{cursor:default}
.page .table-wrap tbody tr[data-context-id]:focus-visible{outline:2px solid var(--text);outline-offset:-2px}
.page .table-wrap tbody tr[data-context-id]:has(.atlas-row-check:checked)>td,
.page .campaign-table tbody tr[data-context-id]:has(.atlas-row-check:checked)>td{
 background:var(--soft)!important}
.page .table-wrap tbody tr[data-context-id]:has(.atlas-row-check:checked)>td:first-child{
 box-shadow:inset 3px 0 var(--text)}
.page .flat-table-link,.page .campaign-open:not(button){cursor:default!important;text-decoration:none!important}
/* On compact screens drawers scroll independently of the page. Header and actions remain visible. */
#modalBg.modal-bg{height:100dvh!important;min-height:0!important;overflow:hidden!important}
#modalBg>.modal,#modalBg>.modal.route-modal{
 height:100dvh!important;min-height:0!important;max-height:100dvh!important;
 overflow:hidden!important;display:flex!important;flex-direction:column!important}
#modalBg #modalBody,#modalBg #modalBody:has(.choices.is-open){
 flex:1 1 0!important;min-height:0!important;height:auto!important;
 overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;
 overscroll-behavior-y:contain!important;scrollbar-gutter:stable}
#modalBg .modal-head{flex:0 0 auto!important}
#modalBg .modal-foot{flex:0 0 auto!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
.campaign-shell .campaign-sheet{
 box-sizing:border-box!important;max-height:100dvh!important;height:100dvh!important;
 overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain!important}
@media(max-width:650px){
 .page{padding-bottom:0!important}
 #modalBg>.modal,#modalBg>.modal.route-modal{width:100vw!important;max-width:100vw!important;border:0!important}
 #modalBg .modal-head{padding:12px 14px!important;min-height:54px!important}
 #modalBg #modalBody,#modalBg #modalBody:has(.choices.is-open){padding:14px 14px 28px!important;overflow-y:auto!important;max-height:none!important}
 #modalBg .modal-foot{padding:10px 14px max(12px,env(safe-area-inset-bottom))!important;gap:8px!important}
 #modalBg .modal-foot button{min-width:0!important;flex:1 1 auto!important}
 .campaign-shell .campaign-sheet{width:100vw!important;max-width:100vw!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
 .campaign-sheet .campaign-config-layout{min-width:0!important}
}


/* === original: ui-v0108.css === */
/* Atlas v0.10.8 — mobile-first input sheets and bottom workspace chrome.
   Admin-only: no styles or scripts loaded by live landing or redirect endpoints. */
.atlas-mobile-title,.atlas-mobile-dock,.atlas-mobile-layer{display:none}
@media(max-width:700px){
 html,body{width:100%!important;min-width:0!important;overflow-x:hidden!important}
 .layout{min-width:0!important;min-height:100dvh!important}
 body .sidebar,body.sidebar-collapsed .sidebar,
 body.nav-open .sidebar,.nav-scrim,.mobile-access{display:none!important}
 body .main{min-width:0!important;width:100%!important;max-width:100vw!important;margin:0!important;padding:0!important}
 .atlas-mobile-title{display:flex!important;position:sticky!important;top:0!important;z-index:125!important;box-sizing:border-box;
  height:52px;min-height:52px;align-items:center;padding:0 16px;background:var(--panel)!important;
  border-bottom:1px solid var(--line)!important;color:var(--text)!important;font-size:calc(17px + var(--atlas-font-step, 0px))!important;font-weight:650!important;
  letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .atlas-mobile-title span{display:block;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
 body .page{padding:0 0 calc(76px + env(safe-area-inset-bottom))!important;margin:0!important;max-width:100vw!important;min-height:0!important}
 .page .table-wrap,.page .campaign-table-wrap{max-width:100vw!important;width:100%!important;box-sizing:border-box!important;
  overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch;max-height:calc(100dvh - 136px)!important}
 body.atlas-has-mobile-toolbar .page{padding-bottom:calc(139px + env(safe-area-inset-bottom))!important}
 body.atlas-has-mobile-toolbar .page .table-wrap,
 body.atlas-has-mobile-toolbar .page .campaign-table-wrap{max-height:calc(100dvh - 193px)!important}
 .atlas-mobile-dock{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;
  position:fixed;left:0;right:0;bottom:0;z-index:240!important;
  height:calc(65px + env(safe-area-inset-bottom));padding:5px 5px calc(5px + env(safe-area-inset-bottom));
  box-sizing:border-box;background:var(--panel)!important;border-top:1px solid var(--line)!important;
  box-shadow:0 -3px 20px rgba(0,0,0,.035)}
 .atlas-mobile-dock button{min-width:0!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:3px;
  padding:6px 2px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--muted)!important;
  font-size:calc(10px + var(--atlas-font-step, 0px))!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none!important}
 .atlas-mobile-dock button.is-current{color:var(--text)!important;background:var(--soft)!important}
 .atlas-mobile-dock svg{width:20px!important;height:20px!important;flex:0 0 20px}
 .atlas-mobile-dock button span{max-width:100%;text-overflow:ellipsis;overflow:hidden}
 /* Sticky action/date bar occupies a distinct row above bottom navigation. */
 .page .headrow.atlas-list-toolbar{display:flex!important;flex-wrap:nowrap!important;
  position:fixed!important;left:0!important;right:0!important;top:auto!important;
  bottom:calc(65px + env(safe-area-inset-bottom))!important;z-index:230!important;
  width:100vw!important;max-width:100vw!important;height:59px!important;min-height:59px!important;max-height:59px!important;
  box-sizing:border-box!important;margin:0!important;padding:6px 10px!important;
  border-top:1px solid var(--line)!important;border-bottom:0!important;border-radius:0!important;
  background:var(--panel)!important;box-shadow:0 -3px 14px rgba(0,0,0,.035)!important;
  gap:7px!important;align-items:center!important;justify-content:flex-start!important;
  overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;white-space:nowrap;
  -webkit-overflow-scrolling:touch;scrollbar-width:none}
 .page .headrow.atlas-list-toolbar::-webkit-scrollbar{display:none!important}
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-left,
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-right{flex:0 0 auto!important;overflow:visible!important;display:flex!important;gap:6px!important;align-items:center!important;margin:0!important}
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-right{margin-left:auto!important}
 .page .headrow.atlas-list-toolbar button{min-height:38px}
 .page .headrow.atlas-list-toolbar .atlas-date-control{min-width:0!important}
 .page .headrow.atlas-list-toolbar .atlas-date-control input:not([type=hidden]){width:158px!important;max-width:158px!important;min-height:38px!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important}
 /* iOS-like bottom sheets for selects, more navigation and actions */
 .atlas-mobile-layer:not(.hidden){display:block!important;position:fixed!important;inset:0!important;z-index:1300!important;}
 .atlas-mobile-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.42);backdrop-filter:blur(1px)}
 .atlas-mobile-sheet{position:absolute;left:0;right:0;bottom:0;max-height:min(84dvh,720px);display:flex;flex-direction:column;
  box-sizing:border-box;background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-bottom:0!important;
  border-radius:22px 22px 0 0!important;box-shadow:0 -12px 38px rgba(0,0,0,.14)!important;
  padding:8px 14px calc(18px + env(safe-area-inset-bottom));overflow:hidden}
 .atlas-mobile-grabber{width:38px;height:5px;flex:none;margin:0 auto 12px;border-radius:999px;background:var(--line)}
 .atlas-mobile-sheet h2{font-size:calc(16px + var(--atlas-font-step, 0px))!important;font-weight:650!important;letter-spacing:-.2px!important;margin:0 3px 12px!important;line-height:1.4!important}
 .atlas-mobile-sheet #atlasMobileMoreItems,.atlas-mobile-sheet #atlasMobileSelectOptions,.atlas-mobile-sheet #atlasMobileActionItems{
  overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;flex:1 1 auto}
 .atlas-mobile-option,.atlas-mobile-more-item{display:flex!important;align-items:center!important;gap:12px!important;justify-content:space-between!important;
  width:100%!important;min-height:48px!important;padding:10px 13px!important;color:var(--text)!important;
  background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;
  border-radius:0!important;box-shadow:none!important;text-align:left!important;font-size:calc(15px + var(--atlas-font-step, 0px))!important;font-weight:450!important}
 .atlas-mobile-more-item svg{height:20px;width:20px;flex:0 0 20px}
 .atlas-mobile-more-item span{margin-right:auto}
 .atlas-mobile-option.is-selected{font-weight:650!important}
 .atlas-mobile-check{font-weight:650!important;min-width:19px;text-align:center;color:var(--text)!important}
 .atlas-mobile-option:disabled{opacity:.4}
 .atlas-mobile-no-results{padding:16px;color:var(--muted)}
 .atlas-mobile-searchwrap:not(.hidden){margin-bottom:9px}
 #atlasMobileSelectSearch{box-sizing:border-box!important;width:100%!important;height:43px!important;background:var(--soft)!important;color:var(--text)!important;
  border:1px solid var(--line)!important;border-radius:10px!important;font-size:calc(16px + var(--atlas-font-step, 0px))!important;padding:0 12px!important}
 .atlas-mobile-more-item.danger{color:var(--red)!important}
 /* Do not open Choices' popover on a phone; mobile sheet owns the selection. */
 .choices__list--dropdown,.choices__list[aria-expanded]{max-height:50dvh}
 .choices.is-open .choices__list--dropdown{display:none!important}
 /* Full-screen search uses the same sheet geometry, never beneath the side navigation. */
 #commandPalette.command-bg:not(.hidden){position:fixed!important;inset:0!important;display:flex!important;
  align-items:flex-end!important;justify-content:stretch!important;z-index:1400!important;background:var(--overlay)!important;padding:0!important}
 #commandPalette .command-dialog{box-sizing:border-box!important;margin:0!important;width:100vw!important;max-width:100vw!important;
  max-height:82dvh!important;border:0!important;border-radius:22px 22px 0 0!important;
  padding:13px 10px calc(18px + env(safe-area-inset-bottom))!important;background:var(--panel)!important;overflow:hidden!important}
 #commandPalette .command-list{max-height:calc(82dvh - 97px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
 /* Date range: keep the existing mobile one-month sheet, make stacking explicit. */
 .atlas-date-overlay{z-index:1600!important}
 .adr-popup{padding-bottom:env(safe-area-inset-bottom)!important}
 /* Existing right editor drawers must cover the bottom bar and title. */
 #modalBg.modal-bg,.campaign-shell:not(.hidden){z-index:1100!important}
 #modalBg .modal-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}
 #atlasContext{z-index:1350!important}
 .toast{z-index:1800!important}
}
@media(max-width:375px){.atlas-mobile-dock button{font-size:calc(9px + var(--atlas-font-step, 0px))!important}.atlas-mobile-title{font-size:calc(16px + var(--atlas-font-step, 0px))!important}}
@media(prefers-reduced-motion:reduce){.atlas-mobile-sheet,.atlas-mobile-dock{transition:none!important}}
@media(max-width:700px){
 /* Keep the date picker visible at the right edge; scroll action buttons independently. */
 .page .headrow.atlas-list-toolbar{overflow-x:hidden!important}
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-left{
  flex:1 1 0!important;min-width:0!important;width:auto!important;overflow-x:auto!important;
  overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:none!important}
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-left::-webkit-scrollbar{display:none!important}
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-right{
  position:relative!important;flex:0 0 auto!important;max-width:44vw!important;min-width:0!important;
  margin-left:4px!important;background:var(--panel)!important;z-index:1!important}
 .page .headrow.atlas-list-toolbar>.atlas-toolbar-right .atlas-date-control input:not([type=hidden]){
  width:min(145px,40vw)!important;max-width:min(145px,40vw)!important}
}
@media(max-width:700px){.page .headrow.atlas-list-toolbar{flex-direction:row!important;align-items:center!important}}
@media(max-width:700px){.atlas-mobile-more-separator{height:8px;border-bottom:1px solid var(--line);margin-bottom:6px}}


/* === original: ui-v0109.css === */
/* Atlas v0.10.9. UI-only select + mobile gesture patch. */
@media (min-width:701px){
  /* Choices UI unification. Work with the vendor CSS or standalone when a CDN is blocked. */
  .choices{position:relative!important;display:block!important;min-width:0!important;width:100%;margin:0!important;box-sizing:border-box!important;font:inherit!important;color:var(--text)!important;isolation:auto}
  .choices__inner,.choices.is-open .choices__inner,.choices.is-focused .choices__inner{
    box-sizing:border-box!important;display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;
    min-height:38px!important;padding:6px 34px 6px 10px!important;margin:0!important;
    font:inherit!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important;line-height:1.45!important;color:var(--text)!important;
    background:var(--field)!important;border:1px solid var(--field-border)!important;border-radius:9px!important;
    box-shadow:none!important;transition:background .12s ease,border-color .12s ease}
  .choices.is-focused .choices__inner,.choices.is-open .choices__inner{border-color:var(--border-focus)!important;outline:0!important}
  .choices__list--single{display:block!important;width:100%!important;padding:0!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .choices__list--single .choices__item{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--text)!important}
  .choices[data-type*=select-one]:after{position:absolute!important;right:13px!important;top:50%!important;margin-top:-2px!important;z-index:3!important;border-width:5px 4px 0!important;border-style:solid!important;border-color:var(--muted) transparent transparent!important}
  .choices[data-type*=select-one].is-open:after{border-width:0 4px 5px!important;border-color:transparent transparent var(--muted)!important}
  .choices__list--dropdown,.choices__list[aria-expanded]{
    position:absolute!important;z-index:250!important;top:calc(100% + 3px)!important;left:0!important;right:0!important;
    width:100%!important;min-width:0!important;max-height:min(290px,45dvh)!important;
    box-sizing:border-box!important;padding:4px!important;margin:0!important;overflow:auto!important;
    color:var(--text)!important;background:var(--panel)!important;
    border:1px solid var(--line)!important;border-radius:10px!important;
    box-shadow:0 12px 32px rgba(0,0,0,.13)!important}
  .choices.is-flipped .choices__list--dropdown,.choices.is-flipped .choices__list[aria-expanded]{top:auto!important;bottom:calc(100% + 3px)!important}
  .choices__list--dropdown .choices__item,.choices__list[aria-expanded] .choices__item{
    display:block!important;margin:0!important;padding:9px 10px!important;
    border:0!important;border-radius:7px!important;background:transparent!important;
    color:var(--text)!important;font:inherit!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:break-word!important}
  .choices__list--dropdown .choices__item--selectable.is-highlighted,.choices__list[aria-expanded] .choices__item--selectable.is-highlighted{
    color:var(--text)!important;background:var(--control-hover)!important}
  .choices__input,.choices__input--cloned{box-sizing:border-box!important;background:var(--field)!important;
    color:var(--text)!important;border:1px solid var(--field-border)!important;border-radius:7px!important;
    font:inherit!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important;min-width:0!important;max-width:100%!important}
  .choices.is-open{z-index:230!important}
  .field:has(.choices.is-open),.campaign-settings-form .field:has(.choices.is-open){z-index:235!important}
  /* Native selects remain usable when Choices.js is not loaded. */
  .field select,.campaign-settings-form select,.modal select{min-height:38px!important;max-width:100%!important;
    color:var(--text)!important;background-color:var(--field)!important;
    border:1px solid var(--field-border)!important;border-radius:9px!important;font:inherit!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important}
}
@media (max-width:700px){
  html,body{overscroll-behavior-y:none!important;-webkit-overflow-scrolling:touch}
  body .main,body .page{overscroll-behavior-y:contain!important}
  .atlas-mobile-grabber{cursor:grab!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important}
  .atlas-mobile-grabber:active{cursor:grabbing!important}
  .atlas-mobile-sheet{will-change:transform}
  /* Prevent inner panes from propagating the downward overscroll to page refresh. */
  #atlasMobileSelectOptions,#atlasMobileMoreItems,#atlasMobileActionItems,
  #modalBg #modalBody,.campaign-shell .campaign-sheet{overscroll-behavior-y:contain!important}
}


/* === original: ui-v0110.css === */
/* Atlas v0.10.10 — iOS focus and touch-dismiss hotfix. */
@media (max-width: 700px) {
  /* iOS WebKit zooms the viewport when the focused input has font-size < 16px. */
  #commandInput,
  #commandPalette .command-search input,
  #atlasMobileSelectSearch,
  .sidebar-search input,
  #atlasMobileSelectLayer input[type="search"] {
    font-size: calc(16px + var(--atlas-font-step, 0px)) !important;
    line-height: 1.35 !important;
    -webkit-text-size-adjust: 100% !important;
  }
  /* Reachable 44px touch target without changing the 5px visual handle. */
  .atlas-mobile-sheet .atlas-mobile-grabber {
    position: relative !important;
    cursor: pointer !important;
    flex: 0 0 5px !important;
    touch-action: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  .atlas-mobile-sheet .atlas-mobile-grabber::before {
    content: "";
    position: absolute;
    left: -22px; right: -22px;
    top: -18px; bottom: -20px;
  }
  .atlas-mobile-sheet > h2 {
    touch-action: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  .atlas-mobile-sheet #atlasMobileSelectOptions,
  .atlas-mobile-sheet #atlasMobileMoreItems,
  .atlas-mobile-sheet #atlasMobileActionItems {
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* === original: ui-v0111.css === */
/* Atlas v0.10.11 — campaign editor, route interactions. No public tracking styles. */
#campaignShell .campaign-sheet{width:min(1400px,100%)!important;max-width:100%!important;box-sizing:border-box}
#campaignShell .atlas-campaign-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 18px;padding-right:42px}
#campaignShell .atlas-campaign-heading h1{font-size:calc(20px + var(--atlas-font-step, 0px))!important;font-weight:650!important;line-height:1.35;overflow-wrap:anywhere;margin:0}
#campaignShell .atlas-campaign-editor{display:grid!important;grid-template-columns:minmax(245px,310px) minmax(0,1fr)!important;gap:16px!important;align-items:start}
#campaignShell .campaign-settings-form{padding:13px!important;gap:12px}
#campaignShell .campaign-flows-column{order:2!important;min-width:0!important}
#campaignShell .campaign-config-column{order:1!important;min-width:0!important}
#campaignShell .flow-section{border:1px solid var(--line)!important;border-radius:10px!important;overflow:hidden!important;background:var(--panel)!important}
#campaignShell .flow-group-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:48px;padding:9px 12px!important}
#campaignShell .flow-group-heading h3{font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:650;white-space:nowrap}
#campaignShell .flow-rotation{display:flex;align-items:center;gap:9px;font-size:calc(11px + var(--atlas-font-step, 0px));color:var(--muted);white-space:nowrap;margin:0}
#campaignShell .flow-rotation select{height:32px;max-width:265px;font-size:calc(12px + var(--atlas-font-step, 0px));border-radius:8px}
#campaignShell .flow-rotation .choices{min-width:185px;margin:0}
#campaignShell .flow-rotation .choices__inner{min-height:32px!important;padding-top:3px!important;padding-bottom:2px!important}
#campaignShell .flow-list-row{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;padding:9px 10px!important;min-height:59px;min-width:0!important;border-bottom:1px solid var(--line)!important}
#campaignShell .flow-list-row:last-child{border-bottom:0!important}
#campaignShell .flow-list-row:hover{background:var(--soft)!important}
#campaignShell .flow-list-row .tiny{flex:0 0 auto;padding:6px!important;min-width:30px;min-height:30px;display:inline-flex;align-items:center;justify-content:center}
#campaignShell .flow-list-row .tiny svg{width:15px;height:15px}
#campaignShell .flow-drag-handle{touch-action:none;flex:0 0 auto;width:22px;height:35px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-size:calc(21px + var(--atlas-font-step, 0px));cursor:grab;user-select:none}
#campaignShell .flow-list-row.atlas-flow-dragging{opacity:.52;background:var(--soft)!important;outline:1px dashed var(--line)}
#campaignShell .flow-drag-handle:active{cursor:grabbing}
#campaignShell .flow-main{flex:1 1 auto!important;min-width:0}
#campaignShell .flow-main b{font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:600;line-height:1.3}
#campaignShell .flow-main small{font-size:calc(11px + var(--atlas-font-step, 0px))}
#campaignShell .flow-weight-edit{flex:0 0 auto;border:0!important;background:transparent!important;color:var(--text)!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;font-family:inherit!important;font-weight:600!important;padding:7px 8px;min-width:50px;cursor:pointer;border-radius:8px}
#campaignShell .flow-weight-edit:hover{background:var(--control-hover)!important}
#campaignShell .flow-weight-input{width:70px!important;max-width:70px!important;height:32px!important;text-align:center;padding:4px 6px!important}
#campaignShell .atlas-flow-toggle{appearance:none;position:relative;flex:0 0 37px;width:37px;height:23px;border:1px solid var(--line)!important;border-radius:100px!important;background:var(--control-hover)!important;padding:0!important;box-shadow:none!important;transition:background .15s}
#campaignShell .atlas-flow-toggle span{position:absolute;top:2px;left:2px;width:17px;height:17px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}
#campaignShell .atlas-flow-toggle[aria-checked="true"]{background:#268268!important;border-color:#268268!important}
#campaignShell .atlas-flow-toggle[aria-checked="true"] span{transform:translateX(14px)}
#campaignShell .atlas-flow-toggle:focus-visible,#campaignShell .flow-weight-edit:focus-visible{outline:2px solid var(--text)!important;outline-offset:2px}
#campaignShell .flow-create-bar{display:flex;justify-content:flex-end;margin:0 0 10px}
#campaignShell .flow-create-bar .primary{min-height:34px}
/* No duplicate selector: exactly one coherent way to open an external landing */
#modalBg #externalOpenMethod{width:100%}
#modalBg [data-rule-query-name]{margin-top:6px!important}
@media(max-width:940px){
 #campaignShell .atlas-campaign-editor{grid-template-columns:minmax(205px,250px) minmax(0,1fr)!important;gap:10px!important}
 #campaignShell .flow-list-row{gap:6px!important}
 #campaignShell .flow-group-heading{flex-wrap:wrap}
}
@media(max-width:730px){
 #campaignShell .atlas-campaign-editor{grid-template-columns:minmax(0,1fr)!important}
 #campaignShell .campaign-flows-column{order:2!important}
 #campaignShell .campaign-config-column{order:1!important}
 #campaignShell .atlas-campaign-heading h1{font-size:calc(17px + var(--atlas-font-step, 0px))!important}
 #campaignShell .flow-list-row{gap:4px!important}
 #campaignShell .flow-main{min-width:0!important}
 #campaignShell .flow-list-row .tiny{min-width:27px!important;padding:4px!important}
 #campaignShell .flow-weight-edit{min-width:38px!important;padding:5px!important}
 #campaignShell .flow-group-heading{align-items:flex-start!important}
 #campaignShell .flow-rotation{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){#campaignShell .atlas-flow-toggle,#campaignShell .atlas-flow-toggle span{transition:none}}

#campaignShell .atlas-campaign-heading h1{display:block!important;visibility:visible!important;opacity:1!important}


/* === original: ui-v0112.css === */
/* Atlas v0.10.12: unified campaign drawer, Choices select, predictable layers. */
#campaignShell .campaign-sheet{
 display:flex!important;flex-direction:column!important;
 overflow:hidden!important;padding:0!important;
 height:100dvh!important;max-height:100dvh!important;
 background:var(--panel)!important;
}
#campaignShell .campaign-sheet-close{position:absolute!important;top:11px!important;right:13px!important;z-index:12!important}
#campaignShell .atlas-campaign-scroll{
 flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto!important;overflow-x:hidden!important;
 padding:17px clamp(15px,2vw,28px) 28px!important;overscroll-behavior:contain;
}
#campaignShell .atlas-campaign-footer{
 flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;
 background:var(--panel);padding:12px clamp(15px,2vw,28px);
 border-top:1px solid var(--line);z-index:4;
 padding-bottom:max(12px,env(safe-area-inset-bottom));
}
#campaignShell .atlas-campaign-footer button{min-width:118px;min-height:38px}
#campaignShell .atlas-campaign-heading{margin-top:0!important;padding-right:50px!important}
#campaignShell .campaign-config-column,#campaignShell .campaign-settings-form,
#campaignShell .campaign-settings-head,#campaignShell .campaign-config-layout{
 overflow:visible!important;min-height:0!important;
}
#campaignShell .campaign-config-column{position:relative!important;z-index:5!important}
#campaignShell .campaign-settings-form{padding:13px!important}
#campaignShell .campaign-config-column:has(.choices.is-open){z-index:15!important}
#campaignShell .campaign-settings-form .field:has(.choices.is-open){position:relative!important;z-index:30!important}
#campaignShell .campaign-config-column .choices.is-open{z-index:40!important}
@media(min-width:701px){
 /* One actual scrollbar: the inner choices list, not both dropdown wrappers. */
 .choices .choices__list--dropdown,.choices .choices__list[aria-expanded]{
  overflow:visible!important;max-height:none!important;height:auto!important;scrollbar-width:none!important;
  background:var(--panel)!important;color:var(--text)!important;
 }
 .choices .choices__list--dropdown>.choices__list,.choices .choices__list[aria-expanded]>.choices__list{
  overflow-y:auto!important;overflow-x:hidden!important;
  max-height:min(275px,43dvh)!important;overscroll-behavior:contain!important;
  scrollbar-width:thin!important;scrollbar-color:var(--line) transparent!important;
 }
 .choices .choices__list--dropdown .choices__input,.choices .choices__list[aria-expanded] .choices__input{
  display:block!important;width:100%!important;min-height:35px!important;
  background:var(--field)!important;color:var(--text)!important;
 }
 .choices .choices__list--dropdown .choices__item,.choices .choices__list[aria-expanded] .choices__item{color:var(--text)!important}
 .choices .choices__inner,.choices.is-open .choices__inner{background:var(--field)!important;color:var(--text)!important}
}
@media(max-width:700px){
 #campaignShell .atlas-campaign-scroll{padding:14px 10px 24px!important}
 #campaignShell .atlas-campaign-footer{padding:10px 12px max(12px,env(safe-area-inset-bottom))!important}
 #campaignShell .atlas-campaign-footer button{flex:1!important;min-width:0}
}


/* === original: ui-v0113.css === */
/* Atlas Tracker v0.10.13 — one neutral switch control and polished flow weight input.
   Admin-only stylesheet. The click/redirect runtime does not load it. */
.atlas-status-toggle{
 appearance:none;-webkit-appearance:none;position:relative;display:inline-flex!important;
 align-items:center!important;justify-content:flex-start!important;vertical-align:middle!important;
 flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:23px!important;
 min-height:23px!important;margin:0!important;padding:2px!important;
 border-radius:999px!important;border:1px solid var(--field-border)!important;
 background:var(--control-hover)!important;box-shadow:none!important;
 cursor:pointer!important;transition:background-color .15s,border-color .15s;
}
.atlas-status-toggle>span,.atlas-setting-switch-track>span{
 display:block!important;width:17px!important;height:17px!important;min-width:17px!important;
 border-radius:50%!important;background:#fff!important;
 box-shadow:0 1px 3px rgba(0,0,0,.19)!important;
 transform:translateX(0);transition:transform .15s;
}
.atlas-status-toggle[aria-checked="true"]{
 background:#248c68!important;border-color:#248c68!important;
}
.atlas-status-toggle[aria-checked="true"]>span{transform:translateX(15px)}
.atlas-status-toggle:hover:not(:disabled){filter:brightness(.96)}
.atlas-status-toggle:disabled{cursor:wait!important;opacity:.62!important}
.atlas-status-toggle:focus-visible,.atlas-setting-switch input:focus-visible+.atlas-setting-switch-track{
 outline:2px solid var(--text)!important;outline-offset:3px!important;
}
/* Keep badges only for read-only states such as issued certificates and delivery status. */
.atlas-setting-switch{
 display:inline-flex!important;align-items:center!important;gap:11px!important;
 width:max-content!important;min-height:35px!important;margin:0!important;
 font:inherit!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important;color:var(--text)!important;
 cursor:pointer!important;user-select:none;-webkit-user-select:none;
}
.atlas-setting-switch>input{
 position:absolute!important;width:1px!important;height:1px!important;
 opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;
}
.atlas-setting-switch-track{
 position:relative;box-sizing:border-box;display:inline-flex!important;align-items:center!important;
 flex:0 0 38px!important;width:38px!important;height:23px!important;
 border:1px solid var(--field-border)!important;border-radius:999px!important;
 background:var(--control-hover)!important;padding:2px!important;
 transition:background-color .15s,border-color .15s;
}
.atlas-setting-switch>input:checked+.atlas-setting-switch-track{
 background:#248c68!important;border-color:#248c68!important;
}
.atlas-setting-switch>input:checked+.atlas-setting-switch-track>span{transform:translateX(15px)}
.atlas-setting-switch-label{font:inherit!important;color:var(--text)!important;font-weight:500!important;white-space:nowrap}
/* Keep weight aligned to the number it replaces. Do not inherit outdated number-input styles. */
#campaignShell input.flow-weight-input[type="number"]{
 -webkit-appearance:textfield!important;appearance:textfield!important;
 box-sizing:border-box!important;display:inline-block!important;flex:0 0 68px!important;
 width:68px!important;max-width:68px!important;min-width:68px!important;
 height:33px!important;min-height:33px!important;padding:0 6px!important;
 border:1px solid var(--field-border)!important;border-radius:9px!important;
 background:var(--field)!important;color:var(--text)!important;
 font-family:inherit!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;font-weight:600!important;
 text-align:center!important;line-height:32px!important;box-shadow:none!important;outline:none!important;
}
#campaignShell input.flow-weight-input[type="number"]::-webkit-inner-spin-button,
#campaignShell input.flow-weight-input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#campaignShell input.flow-weight-input[type="number"]:focus{
 border-color:var(--border-focus)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--text) 10%,transparent)!important;
}
#campaignShell .flow-weight-edit{min-width:50px!important;min-height:33px!important}
/* Shared footer: copy is on the left; cancel/save remain on the right. */
#campaignShell .atlas-campaign-footer{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important}
#campaignShell .atlas-campaign-footer-spacer{flex:1 1 auto;min-width:0}
#campaignShell .atlas-campaign-footer .atlas-campaign-copy{
 display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
 white-space:nowrap;min-width:0!important;
}
#campaignShell .atlas-campaign-footer .atlas-campaign-copy svg{width:15px;height:15px}
@media(max-width:700px){
 #campaignShell .atlas-campaign-footer{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
 #campaignShell .atlas-campaign-footer-spacer{display:none!important}
 #campaignShell .atlas-campaign-footer .atlas-campaign-copy{grid-column:1/-1;min-height:35px!important}
 #campaignShell .atlas-campaign-footer button{width:100%!important;min-width:0!important;min-height:38px!important}
}
@media(prefers-reduced-motion:reduce){
 .atlas-status-toggle,.atlas-status-toggle>span,.atlas-setting-switch-track,.atlas-setting-switch-track>span{transition:none!important}
}


/* === original: atlas-table-layouts.css === */
/* Atlas v0.10.16: fixed checkbox column and tables filling the viewport. */
.table-wrap table.atlas-column-table{border-spacing:0!important;}
.table-wrap table.atlas-column-table thead th,
.page .table-wrap table.atlas-column-table thead th,
.page .campaign-table-wrap table.atlas-column-table thead th{
 position:sticky!important;top:0!important;z-index:15!important;
 background:var(--panel2)!important;background-clip:padding-box!important;
 border-bottom:1px solid var(--line)!important;box-shadow:none!important;
 vertical-align:middle!important;
}
.table-wrap table.atlas-column-table thead th:last-child,
.page .table-wrap table.atlas-column-table thead th:last-child{
 position:sticky!important;top:0!important;z-index:16!important;
 border-bottom:1px solid var(--line)!important;
}
.table-wrap table.atlas-column-table thead th{padding-right:21px!important;position:sticky!important;}
.atlas-col-grip{display:inline-flex;align-items:center;justify-content:center;width:15px;height:20px;
 margin-right:5px;cursor:grab;color:var(--muted);opacity:.55;vertical-align:middle;
 font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:500;touch-action:pan-y;user-select:none;-webkit-user-select:none;}
.atlas-col-grip:hover,.atlas-col-grip:focus-visible,.atlas-col-grip.is-dragging{opacity:1;color:var(--text);}
.atlas-col-resize{position:absolute;right:0;top:0;bottom:0;width:9px;display:block;z-index:18;
 cursor:col-resize;touch-action:none;user-select:none;-webkit-user-select:none;}
.atlas-col-resize::after{content:'';position:absolute;right:3px;top:17%;height:66%;width:1px;background:var(--line);}
.atlas-col-resize:hover::after,.atlas-resizing .atlas-col-resize::after{background:var(--text);width:2px;}
.atlas-resizing,.atlas-resizing *{cursor:col-resize!important;user-select:none!important;-webkit-user-select:none!important;}
.table-wrap table.atlas-column-table[data-atlas-sized="1"] th,
.table-wrap table.atlas-column-table[data-atlas-sized="1"] td{
 box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.atlas-settings-page{width:100%;max-width:none;margin:0;padding:0;}
.atlas-settings-row{display:flex;align-items:center;justify-content:space-between;gap:22px;
 padding:20px 25px;border-bottom:1px solid var(--line);background:var(--panel);}
.atlas-settings-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
.atlas-settings-copy strong{font-size:calc(14px + var(--atlas-font-step, 0px));font-weight:600;color:var(--text);}
.atlas-settings-copy small{font-size:calc(12px + var(--atlas-font-step, 0px));line-height:1.45;color:var(--muted);}
.atlas-settings-row .atlas-setting-switch{flex:none!important;}
@media(max-width:700px){.atlas-settings-row{padding:16px 12px;gap:12px}.atlas-settings-copy small{font-size:calc(11px + var(--atlas-font-step, 0px))}.atlas-col-grip{opacity:.8;}}

/* The selection column is structural: never draggable, never resizable. */
.table-wrap table.atlas-column-table{min-width:100%!important;}
.table-wrap table.atlas-column-table th.atlas-check-cell,
.table-wrap table.atlas-column-table td.atlas-check-cell{
 width:42px!important;min-width:42px!important;max-width:42px!important;
 box-sizing:border-box!important;padding-left:0!important;padding-right:0!important;
 text-align:center!important;
}
.table-wrap table.atlas-column-table th.atlas-check-cell .atlas-col-grip,
.table-wrap table.atlas-column-table th.atlas-check-cell .atlas-col-resize{display:none!important;}


/* === original: ui-v0118.css === */
/* Atlas 0.10.18 — two-level desktop sidebar and on-hover rail tooltips.
   The mobile bottom navigation is intentionally unaffected. */
@media (min-width:701px){
 body.atlas-section-mode .sidebar{
  display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:auto auto minmax(0,1fr) auto!important;
  column-gap:12px!important;row-gap:0!important;
  width:322px!important;min-width:322px!important;flex-basis:322px!important;
  padding:14px 8px 10px!important;
  overflow:visible!important;
 }
 body.atlas-section-mode .sidebar-head{grid-column:1;grid-row:1;flex-direction:column!important;gap:5px!important;padding:0 0 10px!important;min-width:0}
 body.atlas-section-mode .sidebar .brand{padding:0!important;justify-content:center}
 body.atlas-section-mode .sidebar-search{grid-column:1;grid-row:2;justify-content:center!important;padding:0!important;
  height:42px!important;min-height:42px!important;margin:0 0 10px!important}
 body.atlas-section-mode .sidebar #nav{grid-column:1;grid-row:3;min-height:0;width:48px!important;overflow-x:hidden!important}
 body.atlas-section-mode .sidebar #nav button{width:44px!important;height:42px!important;margin:2px auto!important;
  justify-content:center!important;padding:0!important}
 body.atlas-section-mode .sidebar #nav button .nav-icon{width:20px;min-width:20px;flex-basis:20px}
 body.atlas-section-mode .sidebar-bottom{grid-column:1;grid-row:4;min-width:0;align-items:center!important;
  margin-top:0!important;padding:9px 0 0!important;width:100%!important}
 body.atlas-section-mode .sidebar-utilities{display:flex!important;flex-direction:column!important;gap:2px!important;width:100%}
 body.atlas-section-mode .sidebar .side-utility,
 body.atlas-section-mode .sidebar .side-logout{width:44px!important;min-width:44px!important;height:39px!important;
  padding:0!important;justify-content:center!important}
 body.atlas-section-mode .sidebar .brand-text,
 body.atlas-section-mode .sidebar #nav .nav-title,
 body.atlas-section-mode .sidebar #nav .nav-group-title,
 body.atlas-section-mode .sidebar-search>span,
 body.atlas-section-mode .sidebar-search .keycap,
 body.atlas-section-mode .sidebar .side-logout span{display:none!important}
 body.atlas-section-mode .sidebar .atlas-section-pane{
  display:flex!important;grid-column:2;grid-row:1 / 5;flex-direction:column;min-width:0;min-height:0;
  margin:-14px -8px -10px 0;padding:22px 12px 12px 14px;
  border-left:1px solid var(--line);background:var(--side);box-sizing:border-box;
  overflow-y:auto;scrollbar-width:thin
 }
 body.atlas-section-mode .sidebar-collapsed .sidebar{width:322px!important}
 .atlas-section-header{padding:0 6px 19px;min-height:32px;display:flex;align-items:center}
 .atlas-section-heading{font-size:calc(17px + var(--atlas-font-step, 0px));font-weight:670;letter-spacing:-.4px;color:var(--text)}
 .atlas-section-search,.atlas-section-back,.atlas-section-link{
  display:flex!important;align-items:center!important;gap:11px!important;
  background:transparent!important;box-shadow:none!important;color:var(--text)!important;
  border:0!important;border-radius:10px!important;width:100%!important;text-align:left!important;
  padding:0 10px!important;height:40px!important;min-height:40px!important;
  font-size:calc(13px + var(--atlas-font-step, 0px))!important;font-weight:475!important;
 }
 .atlas-section-search:hover,.atlas-section-back:hover,.atlas-section-link:hover{background:var(--control-hover)!important}
 .atlas-section-search svg,.atlas-section-back svg,.atlas-section-link svg{width:18px;height:18px;flex:0 0 18px}
 .atlas-section-search kbd{margin-left:auto;flex:none;font-size:calc(10px + var(--atlas-font-step, 0px))!important;color:var(--muted)}
 .atlas-section-back{margin-top:5px!important;margin-bottom:15px!important}
 .atlas-section-caption{margin:0 10px 5px;color:var(--muted);font-size:calc(10px + var(--atlas-font-step, 0px));font-weight:600;letter-spacing:.4px}
 .atlas-section-links{display:flex!important;flex-direction:column;gap:3px;min-width:0}
 .atlas-section-link.active{background:var(--tree-selected)!important;font-weight:600!important}
 .atlas-section-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
/* Portal tooltip: deliberately outside the scrolling nav so it can't be clipped. */
.atlas-nav-tooltip{display:block;position:fixed;top:0;left:0;z-index:2000;max-width:min(220px,70vw);
 padding:8px 12px;border-radius:999px;background:#171717;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.18);
 font-size:calc(13px + var(--atlas-font-step, 0px));line-height:1.3;font-weight:570;letter-spacing:0;
 pointer-events:none;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .1s ease,visibility .1s ease}
.atlas-nav-tooltip.visible{opacity:1;visibility:visible}
@media(max-width:700px){
 body.atlas-section-mode .sidebar{display:none!important}
 .atlas-nav-tooltip{display:none!important}
 .atlas-section-pane{display:none!important}
}
@media(min-width:701px){
 .atlas-section-pane{display:none}
}
@media(prefers-reduced-motion:reduce){.atlas-nav-tooltip{transition:none}}
/* The active subsection uses the same neutral selected tone as the main rail. */
@media(min-width:701px){
 body.atlas-section-mode .sidebar .atlas-section-link.active{
  background:color-mix(in srgb,var(--text) 8%,transparent)!important;
  color:var(--text)!important;
 }
}


/* === original: ui-v0119.css === */
/* Atlas v0.10.19 — neutral confirmation dialogs, centered toasts and cleaner nested navigation.
   UI-only: no tracker hot-path styles or scripts. */
@media (min-width:701px){
 body.atlas-section-mode .sidebar .atlas-section-back{margin-top:0!important;margin-bottom:16px!important}
}
/* Prompts intentionally escape drawer/Choices/mobile-sheet stacking contexts. */
.atlas-confirm-layer{
 position:fixed;inset:0;z-index:10000;
 display:flex;align-items:center;justify-content:center;
 padding:24px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));
 background:rgba(0,0,0,.37);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
}
.atlas-confirm-layer.hidden{display:none!important}
.atlas-confirm-dialog{
 width:min(440px,100%);max-height:min(88dvh,640px);box-sizing:border-box;
 display:flex;flex-direction:column;overflow:hidden;
 background:var(--surface,var(--panel,#fff));color:var(--text,#181818);
 border:1px solid var(--line,rgba(0,0,0,.12));border-radius:18px;
 box-shadow:0 24px 80px rgba(0,0,0,.22),0 2px 8px rgba(0,0,0,.09);
}
.atlas-confirm-content{overflow-y:auto;overscroll-behavior:contain;padding:27px 27px 16px}
.atlas-confirm-content h2{font:600 19px/1.35 inherit;font-family:inherit;font-size:calc(19px + var(--atlas-font-step, 0px));font-weight:650;line-height:1.35;letter-spacing:-.3px;margin:0 0 12px;color:var(--text,#171717)}
.atlas-confirm-content p{margin:0;line-height:1.55;overflow-wrap:anywhere;font-size:calc(14px + var(--atlas-font-step, 0px));color:var(--muted,#696969)}
.atlas-confirm-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;padding:14px 27px 23px}
.atlas-confirm-actions button{
 display:inline-flex;justify-content:center;align-items:center;
 font:600 13px/1.2 inherit;font-family:inherit;font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:600;
 min-height:39px;padding:10px 16px;border-radius:999px;
 cursor:pointer;white-space:nowrap;transition:background-color .12s;
}
.atlas-confirm-cancel{background:var(--field,#f4f4f4)!important;color:var(--text,#171717)!important;border:1px solid var(--line,#e5e5e5)!important}
.atlas-confirm-cancel:hover{background:var(--control-hover,#ececec)!important}
.atlas-confirm-accept{background:#181818!important;color:#fff!important;border:1px solid #181818!important}
.atlas-confirm-accept:hover{background:#343434!important}
.atlas-confirm-accept.is-danger{background:#c53b3b!important;border-color:#c53b3b!important;color:#fff!important}
.atlas-confirm-accept.is-danger:hover{background:#a92d2d!important}
.atlas-confirm-actions button:focus-visible{outline:2px solid var(--text,#222)!important;outline-offset:3px}
:root[data-theme="dark"] .atlas-confirm-dialog{background:#282828;border-color:#474747;color:#f4f4f4}
:root[data-theme="dark"] .atlas-confirm-cancel{background:#373737!important;border-color:#515151!important;color:#f5f5f5!important}
:root[data-theme="dark"] .atlas-confirm-accept:not(.is-danger){background:#f4f4f4!important;color:#141414!important;border-color:#f4f4f4!important}
:root[data-theme="dark"] .atlas-confirm-accept:not(.is-danger):hover{background:#e1e1e1!important}
/* Chat-style single, center-bottom transient notification. */
#toast.toast{
 position:fixed!important;left:50%!important;right:auto!important;top:auto!important;
 bottom:25px!important;transform:translateX(-50%)!important;z-index:10010!important;
 display:flex!important;align-items:center!important;gap:10px!important;
 width:max-content!important;max-width:min(620px,calc(100vw - 32px))!important;
 margin:0!important;padding:11px 15px!important;
 background:#252525!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;
 border-radius:12px!important;box-shadow:0 6px 25px rgba(0,0,0,.19)!important;
 font:500 13px/1.45 inherit;font-family:inherit!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important;font-weight:500!important;
 overflow-wrap:anywhere;pointer-events:none;
}
#toast.toast.hidden{display:none!important}
#toast .atlas-toast-icon{
 display:inline-flex;align-items:center;justify-content:center;
 width:19px;height:19px;min-width:19px;min-height:19px;
 font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:750;line-height:19px;border-radius:50%;background:#347c61;color:#fff;
}
#toast.atlas-toast-error .atlas-toast-icon{background:#bb4949}
@media(max-width:700px){
 .atlas-confirm-layer{padding:16px;align-items:center}
 .atlas-confirm-dialog{width:100%;max-height:calc(100dvh - 35px);border-radius:17px}
 .atlas-confirm-content{padding:22px 19px 13px}
 .atlas-confirm-content h2{font-size:calc(18px + var(--atlas-font-step, 0px))}
 .atlas-confirm-content p{font-size:calc(14px + var(--atlas-font-step, 0px))}
 .atlas-confirm-actions{padding:14px 19px 19px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .atlas-confirm-actions button{min-height:43px;padding:10px 8px;white-space:normal}
 #toast.toast{bottom:calc(91px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box!important}
}
@media(prefers-reduced-motion:reduce){.atlas-confirm-actions button{transition:none}}


/* === original: ui-v0121.css === */
/* Atlas v0.10.21 — restrained scroll behavior, docked totals, responsive pagination. */
.page .table-wrap,.page .campaign-table-wrap{
 scrollbar-width:thin;scrollbar-color:var(--line) transparent;
 overscroll-behavior:contain!important;
 scroll-behavior:auto!important;
 -webkit-overflow-scrolling:touch;
}
.page .table-wrap::-webkit-scrollbar,.page .campaign-table-wrap::-webkit-scrollbar{width:8px;height:8px}
.page .table-wrap::-webkit-scrollbar-thumb,.page .campaign-table-wrap::-webkit-scrollbar-thumb{background:var(--line);border-radius:999px;border:2px solid var(--panel)}
.page .table-wrap::-webkit-scrollbar-track,.page .campaign-table-wrap::-webkit-scrollbar-track{background:var(--panel)}
/* The header never lets a narrow cell's sort indicator overlap its text. */
.page .table-wrap table th[data-sortable]{padding-right:28px!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;position:sticky!important}
.page .table-wrap table th[data-sortable]::after{right:11px!important;left:auto!important;top:50%!important;transform:translateY(-50%)}
.page .table-wrap table th[data-sortable] .atlas-col-grip{flex:none}
.page .table-wrap table th[data-sortable] .atlas-col-resize{z-index:25}
.page .table-wrap table th[data-sortable][aria-sort=ascending],.page .table-wrap table th[data-sortable][aria-sort=descending]{font-weight:650}
/* Desktop tables stretch vertically, without changing other page types. */
@media(min-width:701px){
 .main:has(#content > .table-wrap),.main:has(#content > .campaign-table-wrap),.main:has(#reportOutput > .table-wrap){height:100dvh!important;min-height:550px!important;overflow:hidden!important}
 #content.page:has(> .table-wrap),#content.page:has(> .campaign-table-wrap),#content.page:has(#reportOutput > .table-wrap){display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;padding-bottom:0!important}
 #content.page > .table-wrap,#content.page > .campaign-table-wrap{flex:1 1 auto!important;min-height:80px!important;max-height:none!important;overflow:auto!important}
 #content.page:has(#reportOutput > .table-wrap) #reportOutput{display:flex;flex:1 1 auto;flex-direction:column;min-height:0!important}
 #content.page #reportOutput > .table-wrap{flex:1 1 auto!important;min-height:80px!important;max-height:none!important;overflow:auto!important}
 #content.page > .atlas-pager,#content.page #reportOutput > .atlas-pager{flex:none;position:relative;bottom:0;margin-top:auto}
}
.atlas-pager{flex:0 0 auto!important;min-height:58px!important;display:flex;align-items:center;justify-content:space-between;gap:14px!important;background:var(--panel)!important;border-top:1px solid var(--line)!important;color:var(--muted)!important;z-index:20}
.atlas-pager-totals{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.atlas-pager-summary{color:var(--text);font-size:calc(12px + var(--atlas-font-step, 0px));font-weight:600}
.atlas-pager-metrics{font-size:calc(11px + var(--atlas-font-step, 0px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
/* Loading stays inside the affected table, not on the entire page. */
.page .table-wrap.atlas-table-loading,.page #reportOutput.atlas-report-loading .table-wrap{position:relative;pointer-events:none;opacity:.72}
.page .table-wrap.atlas-table-loading::before,.page #reportOutput.atlas-report-loading .table-wrap::before{content:'';position:sticky;top:0;left:0;display:block;height:2px;background:var(--text);animation:atlas-load-progress 1.1s linear infinite;z-index:35;transform-origin:left}
@keyframes atlas-load-progress{0%{transform:scaleX(.05);opacity:.2}50%{transform:scaleX(.6);opacity:.8}100%{transform:scaleX(1);opacity:0}}
@media(prefers-reduced-motion:reduce){.page .table-wrap.atlas-table-loading::before{animation:none;opacity:.5}}
@media(max-width:700px){
 #content.page > .atlas-pager,#content.page #reportOutput > .atlas-pager{position:fixed!important;bottom:calc(124px + env(safe-area-inset-bottom))!important;left:0;right:0;z-index:225!important;max-width:100vw!important;min-height:55px!important;padding:7px 9px!important;gap:6px!important}
 body:not(.atlas-has-mobile-toolbar) #content.page > .atlas-pager,body:not(.atlas-has-mobile-toolbar) #content.page #reportOutput > .atlas-pager{bottom:calc(65px + env(safe-area-inset-bottom))!important}
 .atlas-pager-metrics{font-size:calc(10px + var(--atlas-font-step, 0px));max-width:45vw}
 .atlas-pager-summary{font-size:calc(11px + var(--atlas-font-step, 0px))}
 body.atlas-has-mobile-toolbar .page .table-wrap,body.atlas-has-mobile-toolbar .page .campaign-table-wrap{max-height:calc(100dvh - 251px)!important}
 .page .table-wrap,.page .campaign-table-wrap{touch-action:pan-x pan-y!important}
 body.atlas-has-mobile-toolbar #content.page{padding-bottom:calc(200px + env(safe-area-inset-bottom))!important}
}
/* Inline placeholders for empty/loading report and health blocks. */
#reportOutput.atlas-report-loading:empty::after,#dashReport.muted:empty::after{
 content:'Получаем данные…';display:block;padding:18px;color:var(--muted);font-size:calc(12px + var(--atlas-font-step, 0px));
}
#reportOutput.atlas-report-loading:not(:has(.table-wrap))::after{
 content:'Получаем данные…';display:block;height:3px;margin:0 16px 8px;
 background:linear-gradient(90deg,transparent,var(--muted),transparent);opacity:.25;animation:atlas-load-progress 1.1s ease-in-out infinite;
}
/* Preserve the fixed desktop footer while keeping mobile action/date chrome below it. */
@media(max-width:700px){
 .page .table-wrap th.atlas-check-cell,.page .table-wrap td.atlas-check-cell{width:42px!important;min-width:42px!important;max-width:42px!important}
 #content.page #reportOutput:not(:has(.table-wrap)) {min-height:120px}
}


/* === original: ui-v0122.css === */
/* Atlas v0.10.22 — shared tables, restrained ChatGPT-style controls. */
.page .table-wrap,.page .campaign-table-wrap{
 overscroll-behavior-x:contain!important;overscroll-behavior-y:contain!important;
 touch-action:pan-x pan-y!important;scroll-behavior:auto!important;
}
/* Loading stripe is entirely out of normal flow: no jumping by 2px. */
.page .table-wrap.atlas-table-loading::before,.page #reportOutput.atlas-report-loading .table-wrap::before{display:none!important}
.page .table-wrap.atlas-table-loading::after,.page #reportOutput.atlas-report-loading .table-wrap::after{
 content:'';position:absolute!important;top:0;left:0;right:0;height:2px;pointer-events:none;
 background:var(--text);opacity:.55;transform-origin:left;z-index:40;animation:atlas-load-progress 1.1s ease-in-out infinite;
}
.page .table-wrap{position:relative}
/* Reserve an arrow slot. The indicator is always visible, ↑/↓ for active direction. */
.page .table-wrap table th[data-sortable]{position:sticky!important;overflow:hidden!important;white-space:nowrap!important;padding-right:38px!important;cursor:pointer}
.page .table-wrap table th[data-sortable]::after{
 content:'↕'!important;display:grid!important;place-items:center;
 position:absolute!important;top:50%!important;right:13px!important;left:auto!important;
 height:19px!important;width:14px!important;transform:translateY(-50%)!important;
 font-size:calc(13px + var(--atlas-font-step, 0px))!important;font-weight:600!important;line-height:19px!important;
 opacity:.58!important;color:var(--muted)!important;pointer-events:none!important;
}
.page .table-wrap table th[data-sortable][aria-sort='ascending']::after{content:'↑'!important;opacity:1!important;color:var(--text)!important}
.page .table-wrap table th[data-sortable][aria-sort='descending']::after{content:'↓'!important;opacity:1!important;color:var(--text)!important}
/* Aligned totals live BELOW the scrollable grid, ABOVE pagination. */
.atlas-column-totals{flex:0 0 auto;position:relative;box-sizing:border-box;width:100%;max-width:100%;height:38px;overflow:hidden;
 border-top:1px solid var(--line);border-bottom:1px solid var(--line);
 background:var(--panel);color:var(--text);z-index:23;font-size:calc(12px + var(--atlas-font-step, 0px))}
.atlas-total-inner{height:100%;display:flex;align-items:stretch;will-change:transform}
.atlas-total-cell{display:flex;align-items:center;box-sizing:border-box;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 border-right:1px solid var(--line);padding:0 10px;font-weight:570}
.atlas-total-cell.atlas-total-number{justify-content:flex-end;font-variant-numeric:tabular-nums;font-weight:650}
.atlas-total-cell.atlas-total-check{padding:0}
.page #reportOutput table tr[aria-selected='true'] td,.page #reportOutput table tbody tr:has(.atlas-row-check:checked) td{background:var(--soft)!important}
.page #reportOutput table tbody tr{cursor:pointer}
.page #reportOutput table tbody tr:hover td{background:var(--soft)!important}
.page #reportOutput table .atlas-cell-column-hover{background:var(--control-hover,var(--soft))!important;box-shadow:inset 0 0 0 999px rgba(125,125,125,.045)}
.page #reportOutput table thead .atlas-cell-column-hover{font-weight:400!important;color:var(--text)!important}
.atlas-total-cell.atlas-cell-column-hover{background:var(--soft)!important;box-shadow:inset 0 -2px var(--text)}
.atlas-pager-metrics{display:none!important}
.atlas-pager{gap:10px!important}
.atlas-export-trigger{height:31px!important;min-width:88px!important;display:inline-flex!important;align-items:center;gap:8px;justify-content:center;white-space:nowrap;
 padding:0 11px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--panel)!important;color:var(--text)!important;font-size:calc(12px + var(--atlas-font-step, 0px))!important;font-weight:600;cursor:pointer}
.atlas-export-trigger:hover{background:var(--soft)!important}
/* Export drawer: shared white/black neutral tones, compact rather than full campaign width. */
.atlas-export-layer{position:fixed;inset:0;z-index:9950;display:flex;justify-content:flex-end}
.atlas-export-layer.hidden{display:none!important}
.atlas-export-scrim{position:absolute;inset:0;background:rgba(0,0,0,.28);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.atlas-export-drawer{position:relative;display:flex;flex-direction:column;box-sizing:border-box;height:100dvh;width:min(390px,100%);background:var(--panel);color:var(--text);border-left:1px solid var(--line);box-shadow:-8px 0 48px rgba(0,0,0,.12)}
.atlas-export-head{min-height:68px;display:flex;align-items:center;justify-content:space-between;padding:13px 22px;border-bottom:1px solid var(--line)}
.atlas-export-head h2{font-size:calc(18px + var(--atlas-font-step, 0px));font-weight:650;margin:0}
.atlas-export-x{width:35px;height:35px;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:11px;font-size:calc(23px + var(--atlas-font-step, 0px));cursor:pointer}
.atlas-export-body{padding:22px;overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain}
.atlas-export-field{margin-bottom:25px}.atlas-export-field>label{display:block;font-weight:600;font-size:calc(13px + var(--atlas-font-step, 0px));margin-bottom:11px}
.atlas-export-options{display:flex;gap:8px;flex-wrap:wrap}.atlas-export-options button{flex:1;min-width:0;min-height:42px;border-radius:12px;border:1px solid var(--line);background:var(--panel);color:var(--text);font-weight:600;cursor:pointer;font-size:calc(13px + var(--atlas-font-step, 0px))}
.atlas-export-options button[aria-pressed=true]{background:var(--soft);box-shadow:inset 0 0 0 1.5px var(--text);border-color:var(--text)}
.atlas-export-hint{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted);line-height:1.5;margin:9px 0 0}
#atlasExportFilename{height:43px;width:100%;box-sizing:border-box;border-radius:11px;background:var(--panel);color:var(--text);border:1px solid var(--line);padding:10px 12px;font-size:calc(16px + var(--atlas-font-step, 0px))}
.atlas-export-error{font-size:calc(12px + var(--atlas-font-step, 0px));color:#b33;line-height:1.4;margin:10px 0}.atlas-export-error.hidden{display:none}
.atlas-export-foot{flex:none;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding:15px 20px;padding-bottom:max(15px,env(safe-area-inset-bottom))}
.atlas-export-foot button{min-height:42px;border-radius:11px;padding:0 15px;font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:600;cursor:pointer}
.atlas-export-foot button:first-child{background:var(--panel);border:1px solid var(--line);color:var(--text)}
#atlasExportDownload{background:var(--text);color:var(--panel);border:1px solid var(--text)}
#atlasExportDownload:disabled{opacity:.45;cursor:wait}
/* 3-position iOS-inspired density control. */
.atlas-density-picker{width:min(295px,55%);display:grid;grid-template-columns:20px 1fr 24px;column-gap:10px;align-items:center}
.atlas-density-label{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted)}.atlas-density-large{font-size:calc(22px + var(--atlas-font-step, 0px));color:var(--text)}
#atlasDensitySlider{width:100%;height:28px;appearance:none;-webkit-appearance:none;border:0;background:transparent;cursor:pointer;margin:0}
#atlasDensitySlider::-webkit-slider-runnable-track{height:4px;border-radius:99px;background:linear-gradient(to right,var(--line),var(--muted))}
#atlasDensitySlider::-moz-range-track{height:4px;border-radius:99px;background:var(--line)}
#atlasDensitySlider::-webkit-slider-thumb{-webkit-appearance:none;background:var(--panel);height:24px;width:24px;border-radius:50%;box-shadow:0 2px 7px rgba(0,0,0,.24);border:1px solid var(--line);margin-top:-10px}
#atlasDensitySlider::-moz-range-thumb{background:var(--panel);height:24px;width:24px;border-radius:50%;box-shadow:0 2px 7px rgba(0,0,0,.24);border:1px solid var(--line)}
.atlas-density-steps{grid-column:2;display:flex;justify-content:space-between;font-size:calc(10px + var(--atlas-font-step, 0px));color:var(--muted)}
html[data-atlas-density='compact'] .table-wrap :is(td,th){padding-top:6px!important;padding-bottom:6px!important}
html[data-atlas-density='normal'] .table-wrap :is(td,th){padding-top:10px!important;padding-bottom:10px!important}
html[data-atlas-density='spacious'] .table-wrap :is(td,th){padding-top:16px!important;padding-bottom:16px!important}
@media(max-width:700px){
 .atlas-column-totals{position:fixed!important;bottom:calc(179px + env(safe-area-inset-bottom))!important;left:0;right:0;max-width:100vw;height:35px;z-index:226}
 body:not(.atlas-has-mobile-toolbar) .atlas-column-totals{bottom:calc(120px + env(safe-area-inset-bottom))!important}
 .atlas-pager{padding-right:7px!important}.atlas-export-trigger{min-width:37px!important;width:37px;padding:0!important;font-size:0!important}.atlas-export-trigger span{font-size:calc(18px + var(--atlas-font-step, 0px))}
 .atlas-export-head{min-height:60px}.atlas-export-drawer{width:min(380px,100%)}
 .atlas-density-picker{width:100%;max-width:280px}.atlas-settings-density{align-items:flex-start;flex-direction:column}
 body.atlas-has-mobile-toolbar #content.page{padding-bottom:calc(237px + env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){.page .table-wrap.atlas-table-loading::after{animation:none!important}}
/* Loading on an initially empty report is an overlay, not an inserted row. */
#reportOutput.atlas-report-loading:not(:has(.table-wrap)){position:relative;min-height:24px}
#reportOutput.atlas-report-loading:not(:has(.table-wrap))::after{position:absolute!important;top:0;left:12px;right:12px;width:auto!important;height:2px!important;margin:0!important}


/* === original: ui-v0123.css === */
/* Atlas Tracker v0.10.23 — Settings, density, analytical highlighting, nav polish. */

/* Settings should read as a focused preference sheet on wide displays. */
.page .atlas-settings-page{
 width:100%!important;
 max-width:860px!important;
 margin:0 auto!important;
 box-sizing:border-box!important;
}

/* Quiet three-stop slider: one neutral track, three points, no gradients or As. */
.page .atlas-density-picker{
 width:min(280px,100%)!important;
 max-width:100%!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 gap:4px!important;
}
.page .atlas-density-track-wrap{position:relative;width:100%;height:30px;display:flex;align-items:center;}
.page .atlas-density-dots{
 position:absolute;left:11px;right:11px;top:50%;transform:translateY(-50%);
 display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:1;
}
.page .atlas-density-dots i{display:block;width:5px;height:5px;border-radius:50%;background:var(--muted);opacity:.62;}
.page #atlasDensitySlider{
 position:relative;z-index:2;display:block;width:100%;height:30px;min-height:30px;
 margin:0!important;padding:0!important;appearance:none;-webkit-appearance:none;
 background:transparent!important;border:0;cursor:pointer;
}
.page #atlasDensitySlider::-webkit-slider-runnable-track{
 height:5px!important;border:0!important;border-radius:999px!important;background:var(--line)!important;
}
.page #atlasDensitySlider::-moz-range-track{
 height:5px!important;border:0!important;border-radius:999px!important;background:var(--line)!important;
}
.page #atlasDensitySlider::-webkit-slider-thumb{
 -webkit-appearance:none!important;width:22px!important;height:22px!important;
 border:1px solid var(--line)!important;background:var(--panel)!important;border-radius:50%!important;
 box-shadow:0 1px 4px rgba(0,0,0,.16)!important;margin-top:-8.5px!important;
}
.page #atlasDensitySlider::-moz-range-thumb{
 width:22px!important;height:22px!important;border:1px solid var(--line)!important;
 background:var(--panel)!important;border-radius:50%!important;box-shadow:0 1px 4px rgba(0,0,0,.16)!important;
}
.page #atlasDensitySlider:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:9px;}
.page .atlas-density-steps{
 display:grid!important;grid-template-columns:1fr 1fr 1fr!important;
 justify-items:stretch!important;gap:0!important;width:100%;font-size:calc(11px + var(--atlas-font-step, 0px))!important;
}
.page .atlas-density-steps span:nth-child(1){text-align:left}
.page .atlas-density-steps span:nth-child(2){text-align:center}
.page .atlas-density-steps span:nth-child(3){text-align:right}

/* Report crosshair uses the same gentle neutral highlight as its hovered row. */
.page #reportOutput table .atlas-cell-column-hover{
 background:color-mix(in srgb,var(--soft) 83%,var(--panel))!important;
 box-shadow:none!important;
}
.page #reportOutput table thead th{font-weight:400!important;}
.page #reportOutput table thead .atlas-cell-column-hover{
 font-weight:400!important;color:inherit!important;
}
.page #reportOutput .atlas-total-cell.atlas-cell-column-hover{
 background:color-mix(in srgb,var(--soft) 83%,var(--panel))!important;
 box-shadow:none!important;
}

/* Selected sections are identified by background, not bold text. */
.sidebar #nav button.active,
.sidebar #nav button.active .nav-title{font-weight:480!important;}
.sidebar .atlas-section-link.active,
.sidebar .atlas-section-link.active span{font-weight:475!important;}

@media(max-width:700px){
 .page .atlas-settings-page{max-width:100%!important;margin:0!important;}
 .page .atlas-density-picker{width:min(280px,100%)!important;}
}


/* === original: ui-v0124.css === */
/* Atlas v0.10.24 | Navigation, mobile search, settings and table polish. */
.page .atlas-settings-page{
 margin:0!important;max-width:860px!important;width:100%!important;
 padding-right:18px!important;box-sizing:border-box!important;
 border-right:1px solid var(--line)!important;
 min-height:calc(100dvh - 64px)!important;
}
/* One footer row with three icon-only shortcuts (not a vertical stack). */
.sidebar .sidebar-bottom{padding:9px 2px 4px!important;gap:0!important}
.sidebar .sidebar-utilities{
 display:grid!important;grid-template-columns:repeat(3,40px)!important;
 justify-content:start!important;gap:4px!important;max-width:100%!important;
}
.sidebar .sidebar-utilities .side-utility{
 display:inline-flex!important;width:40px!important;min-width:0!important;
 height:39px!important;padding:0!important;justify-content:center!important;
 border-radius:9px!important;
}
.sidebar .sidebar-utilities .side-utility svg{width:19px!important;height:19px!important}
.sidebar-collapsed .sidebar .sidebar-bottom,
body.atlas-section-mode .sidebar .sidebar-bottom{width:100%!important;align-items:center!important}
.sidebar-collapsed .sidebar .sidebar-utilities,
body.atlas-section-mode .sidebar .sidebar-utilities{
 grid-template-columns:repeat(3,16px)!important;display:grid!important;
 gap:0!important;justify-content:center!important;
}
.sidebar-collapsed .sidebar .sidebar-utilities .side-utility,
body.atlas-section-mode .sidebar .sidebar-utilities .side-utility{
 width:16px!important;min-width:16px!important;height:32px!important;
 padding:0!important;border-radius:5px!important;
}
.sidebar-collapsed .sidebar .sidebar-utilities .side-utility svg,
body.atlas-section-mode .sidebar .sidebar-utilities .side-utility svg{
 width:15px!important;height:15px!important;
}
/* The open and closed sidebar use opposite chevrons, never a pictograph. */
.sidebar #sidebarToggle svg{width:19px!important;height:19px!important}
/* Replace Unicode sort arrows with matching vector icons. Preserve header padding. */
.page .table-wrap table th[data-sortable]{padding-right:36px!important}
.page .table-wrap table th[data-sortable]::after{
 content:''!important;display:block!important;width:15px!important;height:18px!important;
 background-color:var(--muted)!important;opacity:.65!important;
 -webkit-mask-size:contain!important;mask-size:contain!important;
 -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
 -webkit-mask-position:center!important;mask-position:center!important;
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='m4 7 4-4 4 4M4 13l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='m4 7 4-4 4 4M4 13l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.page .table-wrap table th[data-sortable][aria-sort='ascending']::after{
 content:''!important;background-color:var(--text)!important;opacity:1!important;
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='m4 11 4-4 4 4M8 7v8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='m4 11 4-4 4 4M8 7v8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.page .table-wrap table th[data-sortable][aria-sort='descending']::after{
 content:''!important;background-color:var(--text)!important;opacity:1!important;
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='m4 9 4 4 4-4M8 13V5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='m4 9 4 4 4-4M8 13V5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
/* Analytics: show ONE line in the report area, not a second stripe in its table header. */
.page #reportOutput{position:relative}
.page #reportOutput.atlas-report-loading .table-wrap::after,
.page #reportOutput.atlas-report-loading .table-wrap::before{display:none!important;content:none!important}
.page #reportOutput.atlas-report-loading::after{content:none!important;display:none!important}
.page #reportOutput.atlas-report-loading::before{
 content:''!important;display:block!important;position:absolute!important;
 top:0!important;left:0!important;width:100%!important;height:2px!important;
 background:var(--text)!important;z-index:45!important;opacity:.55!important;
 transform-origin:left;animation:atlas-load-progress 1.1s ease-in-out infinite!important;
 pointer-events:none!important;
}
@media(max-width:700px){
 .page .atlas-settings-page{
  max-width:100%!important;margin:0!important;border-right:0!important;
  padding:0!important;min-height:0!important;
 }
 /* Search ends ABOVE the persistent five-button navigation dock. */
 #commandPalette.command-bg:not(.hidden){
  top:0!important;left:0!important;right:0!important;
  bottom:calc(65px + env(safe-area-inset-bottom))!important;
  z-index:230!important;
 }
 #commandPalette .command-dialog{padding-bottom:16px!important;max-height:calc(100dvh - 78px - env(safe-area-inset-bottom))!important}
 #commandPalette .command-list{max-height:min(65dvh,calc(100dvh - 176px))!important}
 .atlas-mobile-more-item.atlas-mobile-back{justify-content:flex-start!important;gap:14px!important;font-weight:600!important}
 .atlas-mobile-more-item .atlas-icon:last-child:not(:first-child){margin-left:auto;flex:0 0 17px}
}
@media(prefers-reduced-motion:reduce){.page #reportOutput.atlas-report-loading::before{animation:none!important;opacity:.4!important}}


/* === original: ui-v0125.css === */
/* Atlas v0.10.25 — focused settings, adaptive sidebar tools, system loader */
/* Left-aligned preference sheet, border at its right edge, no unused inner padding. */
.page .atlas-settings-page{
 padding-right:0!important;
}
/* Wide navigation: three equal shortcut cells span the available sidebar width. */
@media(min-width:701px){
 body:not(.sidebar-collapsed):not(.atlas-section-mode) .sidebar .sidebar-bottom{
  width:100%!important;align-items:stretch!important;
 }
 body:not(.sidebar-collapsed):not(.atlas-section-mode) .sidebar .sidebar-utilities{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  justify-content:stretch!important;width:100%!important;gap:5px!important;
 }
 body:not(.sidebar-collapsed):not(.atlas-section-mode) .sidebar .sidebar-utilities .side-utility{
  display:flex!important;width:100%!important;min-width:0!important;height:39px!important;
  border-radius:10px!important;justify-content:center!important;
 }
 /* Small navigation and the compact primary rail of nested navigation:
    restore a vertical stack with full-size tap/hover targets. */
 body.sidebar-collapsed .sidebar .sidebar-bottom,
 body.atlas-section-mode .sidebar .sidebar-bottom{
  width:100%!important;align-items:center!important;
 }
 body.sidebar-collapsed .sidebar .sidebar-utilities,
 body.atlas-section-mode .sidebar .sidebar-utilities{
  display:flex!important;flex-direction:column!important;
  width:100%!important;gap:2px!important;align-items:center!important;
 }
 body.sidebar-collapsed .sidebar .sidebar-utilities .side-utility,
 body.atlas-section-mode .sidebar .sidebar-utilities .side-utility{
  display:flex!important;width:44px!important;min-width:44px!important;
  height:39px!important;border-radius:10px!important;padding:0!important;
  justify-content:center!important;
 }
 body.sidebar-collapsed .sidebar .sidebar-utilities .side-utility svg,
 body.atlas-section-mode .sidebar .sidebar-utilities .side-utility svg{
  width:19px!important;height:19px!important;
 }
}
/* High-contrast thumb in dark mode; retain the neutral, ungraded track. */
html[data-theme='dark'] .page #atlasDensitySlider::-webkit-slider-thumb{
 background:#f0f0f0!important;border-color:#bebebe!important;
 box-shadow:0 1px 5px rgba(0,0,0,.48)!important;
}
html[data-theme='dark'] .page #atlasDensitySlider::-moz-range-thumb{
 background:#f0f0f0!important;border-color:#bebebe!important;
 box-shadow:0 1px 5px rgba(0,0,0,.48)!important;
}
/* System refresh: identical in-place, two-pixel progress indicator as list/report loads. */
.page #healthOutput{position:relative!important;min-height:2px;}
.page #healthOutput.atlas-health-loading::before{
 content:'';display:block;position:absolute;top:0;left:0;
 height:2px;width:100%;background:var(--text);opacity:.55;
 transform-origin:left;animation:atlas-load-progress 1.1s ease-in-out infinite;
 pointer-events:none;z-index:3;
}
.page #healthOutput.atlas-health-loading:empty{min-height:28px;}
@media(prefers-reduced-motion:reduce){
 .page #healthOutput.atlas-health-loading::before{animation:none;opacity:.4;}
}
@media(max-width:700px){
 .page .atlas-settings-page{padding-right:0!important;}
}


/* === original: ui-v0126.css === */
/* Atlas Tracker v0.10.26 — navigation, mobile density and bottom-sheet motion. */
@media(min-width:701px){
 /* With a nested rail open, its back control replaces sidebar expand/collapse. */
 body.atlas-section-mode .sidebar-head #sidebarToggle{display:none!important}
 /* Indicate which first-level section owns the visible second-level list. */
 body.atlas-section-mode .sidebar #nav button.atlas-section-parent,
 body.atlas-section-mode .sidebar .sidebar-utilities .side-utility.atlas-section-parent{
  background:var(--tree-selected)!important;color:var(--text)!important;
 }
}
@media(max-width:700px){
 /* Density control should fill the settings row rather than cap out at 280px. */
 .page .atlas-settings-density{width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .page .atlas-settings-density .atlas-density-picker{
  width:100%!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important;
 }
 /* The preceding Settings row already has a bottom border: no second divider. */
 .atlas-mobile-more-separator{height:12px!important;margin:0!important;border:0!important;box-shadow:none!important}
 /* Match the left-aligned heading in the other drawers and forms. */
 #campaignShell .atlas-campaign-heading{
  justify-content:flex-start!important;align-items:flex-start!important;text-align:left!important;
 }
 #campaignShell .atlas-campaign-heading h1{text-align:left!important;margin-left:0!important;margin-right:0!important;}
 /* Fade the backdrop while the sheet travels the rest of the way down. */
 .atlas-mobile-layer.atlas-sheet-dismissing .atlas-mobile-backdrop{
  opacity:0!important;transition:opacity 260ms ease!important;pointer-events:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .atlas-mobile-layer.atlas-sheet-dismissing .atlas-mobile-backdrop{transition:none!important}
}


/* === original: ui-v0127.css === */
/* Atlas v0.10.27 — consistent desktop drawers; mobile styles stay untouched. */
@media (min-width:701px){
 /* Right-hand drawer geometry shared by all non-landing entity editors. */
 #modalBg[data-atlas-drawer-size]{
  display:grid!important;place-items:stretch end!important;padding:0!important;
 }
 #modalBg .modal.atlas-drawer-wide,
 #modalBg .modal.atlas-drawer-medium,
 #modalBg .modal.atlas-drawer-narrow{
  display:flex!important;flex-direction:column!important;align-self:stretch!important;justify-self:end!important;
  height:100dvh!important;max-height:100dvh!important;min-height:0!important;
  border-radius:0!important;border:0!important;border-left:1px solid var(--line)!important;
  margin:0!important;max-width:100vw!important;
  overflow:hidden!important;background:var(--panel)!important;
  box-shadow:-12px 0 42px rgba(0,0,0,.11)!important;backdrop-filter:none!important;
 }
 /* 1160px campaign / wide, 760px flow and source, 480px compact entity. */
 #modalBg .modal.atlas-drawer-wide{width:min(1160px,100vw)!important}
 #modalBg .modal.atlas-drawer-medium{width:min(760px,100vw)!important}
 #modalBg .modal.atlas-drawer-narrow{width:min(480px,100vw)!important}
 #modalBg .modal.atlas-drawer-wide #modalBody,
 #modalBg .modal.atlas-drawer-medium #modalBody,
 #modalBg .modal.atlas-drawer-narrow #modalBody{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain;
 }
 #campaignShell .campaign-sheet{width:min(1160px,100vw)!important;max-width:100vw!important;}
}
/* Remove legacy separator geometry from the mobile more list if a stale node remains. */
@media (max-width:700px){
 #atlasMobileMoreItems .atlas-mobile-more-separator{display:none!important;height:0!important;margin:0!important;padding:0!important;border:0!important}
}


/* === original: ui-v0128.css === */
/* Atlas v0.10.28 — appearance settings and optional centered desktop dialogs. */
.atlas-appearance-page .atlas-appearance-group{padding:0;margin:0;min-width:0}
.atlas-appearance-page .atlas-appearance-group + .atlas-appearance-group{margin-top:26px}
.atlas-appearance-page .atlas-appearance-group>h2{font-size:calc(14px + var(--atlas-font-step, 0px));font-weight:650;letter-spacing:.01em;color:var(--muted);margin:0 0 6px;padding:0 0 8px;border-bottom:1px solid var(--line)}
.atlas-appearance-page .atlas-appearance-options{min-width:220px;max-width:360px;width:100%;flex-shrink:0}
.atlas-appearance-page .atlas-appearance-options .segment-option{min-width:0;flex:1 1 0}
.atlas-appearance-page .atlas-appearance-options .segment-option span{white-space:nowrap;text-align:center;display:block}
@media (max-width:700px){
 .atlas-appearance-page .atlas-appearance-group + .atlas-appearance-group{margin-top:22px}
 .atlas-appearance-page .atlas-appearance-options{min-width:0;max-width:none;width:100%}
}
@media (min-width:701px){
 /* Centered choice changes placement only; existing three width tiers are retained. */
 html[data-atlas-window-position="center"] #modalBg:not(.hidden){
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:24px!important;overflow:hidden!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal{
  position:relative!important;align-self:center!important;justify-self:center!important;
  margin:auto!important;width:min(760px,calc(100vw - 48px))!important;
  max-width:calc(100vw - 48px)!important;height:auto!important;
  min-height:0!important;max-height:calc(100dvh - 48px)!important;
  border:1px solid var(--line)!important;border-radius:16px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.22)!important;
  overflow:hidden!important;display:flex!important;flex-direction:column!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow{width:min(480px,calc(100vw - 48px))!important}
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-medium{width:min(760px,calc(100vw - 48px))!important}
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-wide{width:min(1160px,calc(100vw - 48px))!important;height:min(900px,calc(100dvh - 48px))!important}
 html[data-atlas-window-position="center"] #modalBg .modal #modalBody{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;
 }
 /* Campaigns have their own editor root rather than #modalBg. */
 html[data-atlas-window-position="center"] #campaignShell:not(.hidden){
  display:grid!important;place-items:center!important;padding:24px!important;overflow:hidden!important;
 }
 html[data-atlas-window-position="center"] #campaignShell .campaign-sheet{
  position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
  justify-self:center!important;align-self:center!important;
  width:min(1160px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;
  height:min(900px,calc(100dvh - 48px))!important;max-height:calc(100dvh - 48px)!important;
  min-height:0!important;margin:auto!important;
  border:1px solid var(--line)!important;border-radius:16px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.22)!important;
  overflow-y:auto!important;overscroll-behavior:contain;
 }
}


/* === original: ui-v0129.css === */
/* Atlas Tracker v0.10.29 — appearance responsiveness and wide-sidebar tools. */
/* A simple section rhythm with no browser-default heading margin bleed. */
.page .atlas-appearance-page{
 width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
.page .atlas-appearance-page .atlas-appearance-group{
 min-width:0!important;margin:0!important;padding:0!important;
}
.page .atlas-appearance-page .atlas-appearance-group + .atlas-appearance-group{
 margin-top:16px!important;
}
.page .atlas-appearance-page .atlas-appearance-group > h2{
 display:block!important;margin:0!important;
 padding:10px 0 12px!important;
 font-size:calc(14px + var(--atlas-font-step, 0px))!important;line-height:1.35!important;font-weight:650!important;
 color:var(--muted)!important;letter-spacing:0!important;
 border-bottom:1px solid var(--line)!important;
}
.page .atlas-appearance-page .atlas-settings-row{
 min-width:0!important;margin:0!important;
}
.page .atlas-appearance-page .atlas-settings-copy{
 min-width:0!important;max-width:100%!important;
}
.page .atlas-appearance-page .atlas-settings-copy small{
 overflow-wrap:break-word!important;word-break:normal!important;
}
/* Only the full desktop sidebar spreads TWO utility buttons evenly.
   Compact and nested navigation retain their established layout. */
@media (min-width:701px){
 body:not(.sidebar-collapsed):not(.atlas-section-mode) .sidebar .sidebar-bottom{
  width:100%!important;min-width:0!important;align-items:stretch!important;
 }
 body:not(.sidebar-collapsed):not(.atlas-section-mode) .sidebar .sidebar-utilities{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  justify-content:stretch!important;align-items:stretch!important;
  width:100%!important;max-width:none!important;gap:6px!important;
 }
 body:not(.sidebar-collapsed):not(.atlas-section-mode) .sidebar .sidebar-utilities > .side-utility{
  width:100%!important;min-width:0!important;max-width:none!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
 }
}
/* Mobile settings have one column: copy FIRST, then controls.
   This prevents a 100%-width segmented control from squeezing text to a few pixels. */
@media (max-width:700px){
 .page .atlas-appearance-page,
 .page .atlas-appearance-page .atlas-appearance-group{width:100%!important;max-width:100%!important;min-width:0!important;}
 .page .atlas-appearance-page .atlas-appearance-group + .atlas-appearance-group{
  margin-top:12px!important;
 }
 .page .atlas-appearance-page .atlas-appearance-group > h2{
  margin:0!important;padding:12px 0!important;
 }
 .page .atlas-appearance-page .atlas-settings-row{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:14px!important;
  width:100%!important;min-width:0!important;
  padding:17px 12px!important;
  box-sizing:border-box!important;
 }
 .page .atlas-appearance-page .atlas-settings-copy{
  display:flex!important;flex-direction:column!important;gap:6px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  flex:0 1 auto!important;
 }
 .page .atlas-appearance-page .atlas-settings-copy strong,
 .page .atlas-appearance-page .atlas-settings-copy small{
  display:block!important;width:100%!important;
  white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;
 }
 .page .atlas-appearance-page .atlas-settings-copy strong{font-size:calc(14px + var(--atlas-font-step, 0px))!important;line-height:1.4!important;}
 .page .atlas-appearance-page .atlas-settings-copy small{font-size:calc(12px + var(--atlas-font-step, 0px))!important;line-height:1.5!important;}
 .page .atlas-appearance-page .atlas-appearance-options{
  display:flex!important;flex:0 0 auto!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;box-sizing:border-box!important;
 }
 .page .atlas-appearance-page .atlas-appearance-options .segment-option{
  flex:1 1 0!important;min-width:0!important;
 }
 .page .atlas-appearance-page .atlas-settings-row > :is(button,.atlas-setting-switch){
  align-self:flex-start!important;
 }
 .page .atlas-appearance-page .atlas-settings-density .atlas-density-picker{
  align-self:stretch!important;width:100%!important;max-width:100%!important;
 }
}


/* === original: ui-v0130.css === */
/* Atlas Tracker v0.10.30 — settings grouping and configurable desktop window behavior. */
/* Let the group heading flow directly into its first settings row. */
.page .atlas-appearance-page .atlas-appearance-group > h2{
 padding:10px 12px 0!important;
 margin:0!important;
 border-bottom:0!important;
 box-sizing:border-box!important;
}
.page .atlas-appearance-page .atlas-appearance-group > h2 + .atlas-settings-row{
 border-top:0!important;
 box-shadow:none!important;
}
@media (max-width:700px){
 .page .atlas-appearance-page .atlas-appearance-group > h2{
  padding:12px 12px 0!important;
 }
}
@media (min-width:701px){
 /* Compact window only: medium and wide windows retain their current dimensions. */
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow{
  width:min(420px,calc(100vw - 48px))!important;
 }
 /* Motion is visual-only: hidden state, routing and save/close behavior stay intact. */
 @keyframes atlas-window-slide-in{
  from{opacity:.76;transform:translate3d(20px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
 }
 @keyframes atlas-window-fade-in{
  from{opacity:.6;transform:translate3d(0,7px,0) scale(.985)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
 }
 html[data-atlas-window-animation="on"][data-atlas-window-position="right"] #modalBg:not(.hidden) .modal,
 html[data-atlas-window-animation="on"][data-atlas-window-position="right"] #campaignShell:not(.hidden) .campaign-sheet{
  animation:atlas-window-slide-in 190ms cubic-bezier(.2,.7,.2,1) both;
 }
 html[data-atlas-window-animation="on"][data-atlas-window-position="center"] #modalBg:not(.hidden) .modal,
 html[data-atlas-window-animation="on"][data-atlas-window-position="center"] #campaignShell:not(.hidden) .campaign-sheet{
  animation:atlas-window-fade-in 160ms ease-out both;
 }
}
/* Respect the device's reduced-motion preference, regardless of the saved toggle. */
@media (prefers-reduced-motion:reduce){
 html[data-atlas-window-animation="on"] #modalBg .modal,
 html[data-atlas-window-animation="on"] #campaignShell .campaign-sheet{animation:none!important}
}


/* === original: ui-v0131.css === */
/* Atlas Tracker v0.10.31 — compact centered dialogs, balanced appearance headings,
   subtle exit animation, opt-in accent color. Does not touch desktop right drawers or mobile geometry. */
@media (min-width:701px){
 /* Desktop rows use 25px horizontal padding; headings should align with row text. */
 .page .atlas-appearance-page .atlas-appearance-group > h2{
  padding-left:25px!important;padding-right:25px!important;
 }
 /* Reduce only the narrow centered tier 40% from the prior 420px. */
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow{
  width:min(252px,calc(100vw - 48px))!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow .modal-head,
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow .modal-foot{
  padding-left:14px!important;padding-right:14px!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow #modalBody{
  padding-left:14px!important;padding-right:14px!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow .modal-foot{
  flex-wrap:wrap!important;gap:8px!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow .modal-foot button{
  min-width:0!important;flex:1 1 auto!important;
 }
 html[data-atlas-window-position="center"] #modalBg .modal.atlas-drawer-narrow .modal-head h2{
  overflow-wrap:anywhere;
 }
 @keyframes atlas-window-slide-out{
  from{opacity:1;transform:translate3d(0,0,0)}
  to{opacity:.65;transform:translate3d(24px,0,0)}
 }
 @keyframes atlas-window-fade-out{
  from{opacity:1;transform:translate3d(0,0,0) scale(1)}
  to{opacity:0;transform:translate3d(0,7px,0) scale(.985)}
 }
 @keyframes atlas-window-backdrop-out{from{opacity:1}to{opacity:0}}
 html[data-atlas-window-animation="on"] #modalBg.atlas-window-closing,
 html[data-atlas-window-animation="on"] #campaignShell.atlas-window-closing{
  pointer-events:none!important;animation:atlas-window-backdrop-out 190ms ease-in both!important;
 }
 html[data-atlas-window-animation="on"][data-atlas-window-position="right"] #modalBg.atlas-window-closing .modal,
 html[data-atlas-window-animation="on"][data-atlas-window-position="right"] #campaignShell.atlas-window-closing .campaign-sheet{
  animation:atlas-window-slide-out 190ms cubic-bezier(.4,0,.6,1) both!important;
 }
 html[data-atlas-window-animation="on"][data-atlas-window-position="center"] #modalBg.atlas-window-closing .modal,
 html[data-atlas-window-animation="on"][data-atlas-window-position="center"] #campaignShell.atlas-window-closing .campaign-sheet{
  animation:atlas-window-fade-out 160ms ease-in both!important;
 }
}
@media (max-width:700px){
 .page .atlas-appearance-page .atlas-appearance-group > h2{
  padding-left:12px!important;padding-right:12px!important;
 }
}
/* Swatch + hex entry: native accessible browser color picker; responsive row layout retained. */
.atlas-accent-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.atlas-accent-picker input[type="color"]{
 width:45px;height:40px;padding:3px;border:1px solid var(--line);border-radius:10px;
 background:var(--panel);cursor:pointer;flex:none;
}
.atlas-accent-picker input[type="text"]{
 width:106px;max-width:100%;height:40px;padding:8px 10px;border:1px solid var(--line);
 background:var(--field);border-radius:9px;color:var(--text);font:13px ui-monospace,monospace;
}
.atlas-accent-preview{
 display:flex;align-items:center;justify-content:center;flex:none;
 width:42px;height:38px;border-radius:9px;font-weight:700;font-size:calc(13px + var(--atlas-font-step, 0px));
}
.atlas-accent-custom-row[hidden]{display:none!important}
@media (max-width:700px){.atlas-accent-picker{width:100%;}}
/* Accent color affects only branded/primary controls, never global --text, --bg,
   secondary buttons, dangerous actions, text links, or data-table text. */
html[data-atlas-accent-mode="custom"] .primary,
html[data-atlas-accent-mode="custom"][data-theme="dark"] .primary,
html[data-atlas-accent-mode="custom"] .sidebar .mark,
html[data-atlas-accent-mode="custom"][data-theme="dark"] .sidebar .mark,
html[data-atlas-accent-mode="custom"] .auth .mark,
html[data-atlas-accent-mode="custom"] #atlasExportDownload,
html[data-atlas-accent-mode="custom"] .atlas-confirm-accept:not(.is-danger),
html[data-atlas-accent-mode="custom"][data-theme="dark"] .atlas-confirm-accept:not(.is-danger){
 background:var(--atlas-accent-color)!important;
 color:var(--atlas-accent-foreground)!important;
 border-color:var(--atlas-accent-color)!important;
 box-shadow:none!important;
}
html[data-atlas-accent-mode="custom"] .primary:hover,
html[data-atlas-accent-mode="custom"] .atlas-confirm-accept:not(.is-danger):hover{filter:brightness(.95)!important;opacity:1!important}
html[data-atlas-accent-mode="custom"] .atlas-confirm-accept:not(.is-danger):hover,
html[data-atlas-accent-mode="custom"][data-theme="dark"] .atlas-confirm-accept:not(.is-danger):hover{
 background:var(--atlas-accent-color)!important;
 color:var(--atlas-accent-foreground)!important;
 border-color:var(--atlas-accent-color)!important;
}
@media (prefers-reduced-motion:reduce){
 #modalBg.atlas-window-closing,#campaignShell.atlas-window-closing,
 #modalBg.atlas-window-closing .modal,#campaignShell.atlas-window-closing .campaign-sheet{animation:none!important}
}


/* === original: ui-v0132.css === */
/* Atlas v0.10.32 — precise desktop compact tier, unclipped select portal,
   export window preference, appearance spacing. */
@media (min-width:701px){
 /* The parent tracks tier, even when another CSS rule drops the child class.
    460px is approx. 40% narrower than the former ~760px center dialog. */
 html[data-atlas-window-position="center"] #modalBg[data-atlas-drawer-size="narrow"] > .modal,
 html[data-atlas-window-position="center"] #modalBg > .modal.atlas-drawer-narrow{
  box-sizing:border-box!important;width:460px!important;min-width:0!important;
  max-width:min(460px,calc(100vw - 48px))!important;
 }
 html[data-atlas-window-position="center"] #modalBg[data-atlas-drawer-size="narrow"] > .modal :is(.modal-head,.modal-foot,#modalBody){min-width:0!important}
 html[data-atlas-window-position="center"] #modalBg[data-atlas-drawer-size="narrow"] > .modal .modal-foot{
  flex-wrap:nowrap!important;
 }
 html[data-atlas-window-position="center"] #modalBg[data-atlas-drawer-size="narrow"] > .modal .modal-foot > button{min-width:0!important;flex:1 1 0!important}
 /* Export belongs to the same desktop placement choice (narrow tier). */
 html[data-atlas-window-position="center"] #atlasExportLayer:not(.hidden){
  align-items:center!important;justify-content:center!important;padding:24px!important;
 }
 html[data-atlas-window-position="center"] #atlasExportLayer .atlas-export-drawer{
  height:auto!important;max-height:calc(100dvh - 48px)!important;min-height:0!important;
  border:1px solid var(--line)!important;border-radius:16px!important;
  width:min(390px,calc(100vw - 48px))!important;
  box-shadow:0 22px 70px rgba(0,0,0,.22)!important;overflow:hidden!important;
 }
 @keyframes atlas-export-slide-in{from{opacity:.76;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
 @keyframes atlas-export-slide-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(20px)}}
 @keyframes atlas-export-fade-in{from{opacity:.6;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
 @keyframes atlas-export-fade-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(7px) scale(.985)}}
 html[data-atlas-window-animation="on"][data-atlas-window-position="right"] #atlasExportLayer:not(.hidden):not(.atlas-export-closing) .atlas-export-drawer{animation:atlas-export-slide-in 190ms ease-out both}
 html[data-atlas-window-animation="on"][data-atlas-window-position="right"] #atlasExportLayer.atlas-export-closing .atlas-export-drawer{animation:atlas-export-slide-out 190ms ease-in both}
 html[data-atlas-window-animation="on"][data-atlas-window-position="center"] #atlasExportLayer:not(.hidden):not(.atlas-export-closing) .atlas-export-drawer{animation:atlas-export-fade-in 160ms ease-out both}
 html[data-atlas-window-animation="on"][data-atlas-window-position="center"] #atlasExportLayer.atlas-export-closing .atlas-export-drawer{animation:atlas-export-fade-out 160ms ease-in both}
 /* Align with actual setting-copy content (row padding 20px). */
 .page .atlas-settings-page.atlas-appearance-page .atlas-appearance-group > h2{
  padding-left:20px!important;padding-right:20px!important;
 }
 .page .atlas-settings-page.atlas-appearance-page{padding-top:20px!important}
}
@media (max-width:700px){
 .page .atlas-settings-page.atlas-appearance-page{padding-top:12px!important}
}
.atlas-domain-bot-help{font-size:calc(12px + var(--atlas-font-step, 0px));line-height:1.5;color:var(--muted);margin:0 0 14px}
#modalBg input[data-field="hostname"][readonly]{opacity:.7;cursor:not-allowed;background:var(--soft)!important}
/* Selects are rendered in a fixed layer outside modal overflow regions. */
.atlas-select-portal{position:fixed;z-index:12050;display:flex;flex-direction:column;min-height:0;
 box-sizing:border-box;background:var(--panel);color:var(--text);
 border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 42px rgba(0,0,0,.22);overflow:hidden}
.atlas-select-portal.hidden{display:none!important}
.atlas-select-search{flex:none;width:100%;height:42px;min-width:0;padding:9px 12px;border:0;border-bottom:1px solid var(--line);outline:none;background:var(--panel);color:var(--text)}
.atlas-select-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:100%;padding:5px}
.atlas-select-item{display:block;text-align:left;width:100%;border:0;border-radius:8px;background:transparent;color:var(--text);padding:10px 11px;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.atlas-select-item:hover,.atlas-select-item:focus-visible{background:var(--soft)}
.atlas-select-item[aria-selected="true"]{background:var(--soft);font-weight:650}
.atlas-select-item:disabled{opacity:.45;cursor:default}
.atlas-select-empty{padding:12px;color:var(--muted);font-size:calc(12px + var(--atlas-font-step, 0px))}
@media (max-width:700px){.atlas-select-portal{display:none!important}}
@media (prefers-reduced-motion:reduce){#atlasExportLayer .atlas-export-drawer{animation:none!important}}


/* === original: ui-v0134.css === */
/* Atlas v0.10.34 — rollback to original table headers / full-width table geometry. */
/* Table behavior is restored from the original atlas-table-layouts.js.
   v0.10.33 CSS is deliberately not loaded (no stacked header or tooltip). */

/* Collapsed navigation tooltip: neutral graphite, never blue-tinted. */
html[data-theme="dark"] .atlas-nav-tooltip{
  background:#444444!important;
  color:#f7f7f7!important;
  border:1px solid #626262!important;
  box-shadow:0 10px 24px rgba(0,0,0,.30)!important;
}
html[data-theme="light"] .atlas-nav-tooltip{
  background:#353535!important;
  color:#ffffff!important;
  border:1px solid #454545!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}

/* Export drawer defines the shared button system for every modal footer.
   Keep existing primary accent/danger backgrounds and dark/light themes. */
:is(#modalBg .modal-foot, #campaignShell .atlas-campaign-footer,
    #atlasConfirmLayer .atlas-confirm-actions, #atlasExportLayer .atlas-export-foot) > button{
  box-sizing:border-box!important;
  min-height:42px!important;
  border-radius:11px!important;
  padding:0 15px!important;
  font-family:inherit!important;
  font-size:calc(13px + var(--atlas-font-step, 0px))!important;
  font-weight:600!important;
  line-height:1.25!important;
  text-align:center!important;
  white-space:nowrap;
  cursor:pointer;
}
:is(#modalBg .modal-foot, #campaignShell .atlas-campaign-footer,
    #atlasConfirmLayer .atlas-confirm-actions, #atlasExportLayer .atlas-export-foot)
  > :is(.light-btn,.atlas-confirm-cancel){
  border:1px solid var(--line)!important;
  background:var(--panel)!important;
  color:var(--text)!important;
}
:is(#modalBg .modal-foot, #campaignShell .atlas-campaign-footer,
    #atlasConfirmLayer .atlas-confirm-actions, #atlasExportLayer .atlas-export-foot)
  > :is(.light-btn,.atlas-confirm-cancel):hover{background:var(--soft)!important}
/* Match neutral export cancel for any button that lacks an explicit class. */
#modalBg .modal-foot > #modalCancel,
#campaignShell .atlas-campaign-footer > [data-campaignback],
#atlasConfirmLayer .atlas-confirm-actions > #atlasConfirmCancel{
  border:1px solid var(--line)!important;
  background:var(--panel)!important;
  color:var(--text)!important;
}
@media (min-width:701px){
  html[data-atlas-window-position="center"] #modalBg[data-atlas-drawer-size="narrow"] > .modal .modal-foot,
  html[data-atlas-window-position="center"] #modalBg > .modal.atlas-drawer-narrow .modal-foot,
  #modalBg .modal .modal-foot,
  #campaignShell .atlas-campaign-footer,
  #atlasConfirmLayer .atlas-confirm-actions{
    gap:9px!important;
    align-items:center!important;
    justify-content:flex-end!important;
    padding:15px 20px!important;
  }
  #modalBg .modal .modal-foot,
  #atlasConfirmLayer .atlas-confirm-actions{display:flex!important;flex-wrap:nowrap!important}
  /* Override legacy stretched rules from both ui-v0131 and ui-v0132. */
  html body #modalBg .modal .modal-foot > button,
  html[data-atlas-window-position="center"] #modalBg[data-atlas-drawer-size="narrow"] > .modal .modal-foot > button,
  html[data-atlas-window-position="center"] #modalBg > .modal.atlas-drawer-narrow .modal-foot > button,
  #campaignShell .atlas-campaign-footer > button,
  #atlasConfirmLayer .atlas-confirm-actions > button{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }
  #campaignShell .atlas-campaign-footer > .atlas-campaign-footer-spacer{flex:1 1 auto!important}
}
/* Preserve full-width mobile tap targets and existing bottom sheets. */
@media (max-width:700px){
  #modalBg .modal-foot > button,
  #campaignShell .atlas-campaign-footer > button,
  #atlasConfirmLayer .atlas-confirm-actions > button{
    white-space:normal;
  }
}


/* === original: ui-v0135.css === */
/* v0.10.35: table surface never contracts below its scroll container. */
.table-wrap table.atlas-column-table { min-width:100%; }


/* Atlas v0.10.37 — authentication view isolation.
   Specificity is intentional: historical desktop/mobile .layout rules use
   display:... !important and otherwise defeat the global .hidden class. */
#app.hidden, #login.hidden {display:none!important}
html[data-atlas-auth="loading"] #app,
html[data-atlas-auth="login"] #app,
html[data-atlas-auth="loading"] #login,
html[data-atlas-auth="app"] #login {display:none!important}
html[data-atlas-auth="login"] #login {display:grid!important;z-index:10001}
html[data-atlas-auth="loading"] #atlasMobileDock,
html[data-atlas-auth="login"] #atlasMobileDock,
html[data-atlas-auth="loading"] #atlasMobileTitle,
html[data-atlas-auth="login"] #atlasMobileTitle,
html[data-atlas-auth="loading"] .atlas-mobile-layer,
html[data-atlas-auth="login"] .atlas-mobile-layer,
html[data-atlas-auth="login"] #commandPalette,
html[data-atlas-auth="login"] #atlasConfirmLayer,
html[data-atlas-auth="login"] #atlasNavTooltip,
html[data-atlas-auth="login"] #campaignShell,
html[data-atlas-auth="login"] #modalBg,
html[data-atlas-auth="login"] .atlas-export-layer,
html[data-atlas-auth="loading"] .atlas-export-layer {display:none!important}


/* Atlas v0.10.38 — minimal login design only.
   Do not change authentication state visibility, navigation or other screens. */
#login.auth {
  background: var(--bg) !important;
  color: var(--text);
  padding: 32px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#login .auth-card {
  width: 100%;
  max-width: 392px;
  margin: auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
#login .brand-large {
  padding: 0 !important;
  margin: 0 0 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
}
#login .brand-large .mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: none !important;
  font-size: calc(23px + var(--atlas-font-step, 0px));
  font-weight: 650;
  letter-spacing: -1px;
}
html:not([data-atlas-accent-mode="custom"]):not([data-theme="dark"]) #login .brand-large .mark {
  background: #171717;
  color: #fff;
}
html[data-theme="dark"]:not([data-atlas-accent-mode="custom"]) #login .brand-large .mark {
  background: #f3f3f3;
  color: #171717;
}
#login .brand-large b {
  display: block;
  font-size: calc(14px + var(--atlas-font-step, 0px));
  letter-spacing: -.15px;
  font-weight: 650;
  color: var(--text);
}
#login .brand-large span { display: none; }
#login .auth-card h1 {
  font-size: clamp(25px, 5vw, 30px);
  line-height: 1.2;
  letter-spacing: -.9px;
  font-weight: 650;
  margin: 0 0 10px;
  text-align: center;
  color: var(--text);
}
#login .auth-card p {
  font-size: calc(14px + var(--atlas-font-step, 0px));
  line-height: 1.45;
  color: var(--muted) !important;
  text-align: center;
  margin: 0 0 32px;
}
#login .auth-card label {
  color: var(--text) !important;
  display: grid;
  gap: 9px;
  font-size: calc(13px + var(--atlas-font-step, 0px));
  font-weight: 560;
  line-height: 1.3;
  margin: 0 0 19px;
}
#login .auth-card input {
  display: block;
  width: 100%;
  height: 51px;
  min-height: 51px;
  padding: 12px 15px;
  border: 1px solid var(--field-border) !important;
  border-radius: 12px;
  background: var(--panel) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  font-size: calc(15px + var(--atlas-font-step, 0px));
  font-weight: 450;
  line-height: 1.4;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}
#login .auth-card input::placeholder { color: var(--muted); opacity: .8; }
#login .auth-card input:focus-visible {
  border-color: var(--text) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 12%, transparent) !important;
}
#login .auth-card button[type="submit"] {
  width: 100%;
  min-height: 51px;
  border-radius: 999px !important;
  font-size: calc(14px + var(--atlas-font-step, 0px));
  font-weight: 650 !important;
  margin-top: 7px;
  transition: opacity .16s ease;
}
#login #loginError {
  text-align: center;
  font-size: calc(13px + var(--atlas-font-step, 0px));
  margin-top: 17px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  #login.auth { padding: 24px 24px max(32px, env(safe-area-inset-bottom, 0px)); }
  #login .auth-card { max-width: 390px; }
  #login .brand-large { margin-bottom: 33px; }
  #login .auth-card p { margin-bottom: 28px; }
  #login .auth-card input { font-size: calc(16px + var(--atlas-font-step, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  #login .auth-card input, #login .auth-card button[type="submit"] { transition: none; }
}

/* v0.10.39: Appearance color picker is visible only in custom mode,
   regardless of higher-specificity settings-row layout declarations. */
html[data-atlas-accent-mode="default"] .atlas-appearance-page #atlasAccentCustomRow,
html[data-atlas-accent-mode="default"] #atlasAccentCustomRow { display:none!important; }

/* Atlas v0.10.40 — profile settings, no changes to global windows or tables. */
.atlas-settings-profile .atlas-profile-email{font-weight:600;overflow-wrap:anywhere}
.atlas-settings-profile .atlas-profile-timezone,.atlas-settings-profile .atlas-profile-password-fields{width:min(100%,360px);min-width:0;display:flex;flex-direction:column;gap:10px}
.atlas-settings-profile .atlas-profile-timezone select{width:100%;max-width:100%;min-width:0}
.atlas-settings-profile .atlas-profile-timezone small{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted,#777)}
.atlas-settings-profile .atlas-profile-password-fields label{display:flex;flex-direction:column;gap:6px;font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:600;width:100%}
.atlas-settings-profile .atlas-profile-password-fields input{width:100%;box-sizing:border-box;min-width:0}
.atlas-settings-profile .atlas-profile-password-fields button{align-self:flex-start}
@media(max-width:700px){.atlas-settings-profile .atlas-profile-timezone,.atlas-settings-profile .atlas-profile-password-fields{width:100%;max-width:100%}}

/* Atlas v0.10.41 — shared settings grammar, profile controls and device sessions. */
.page .atlas-settings-page:is(.atlas-appearance-page,.atlas-settings-profile) .atlas-appearance-group{width:100%;max-width:100%;margin:0 0 24px!important;min-width:0}
.page .atlas-settings-page:is(.atlas-appearance-page,.atlas-settings-profile) .atlas-appearance-group>h2{
 font-size:calc(14px + var(--atlas-font-step, 0px))!important;font-weight:650!important;color:var(--muted)!important;line-height:1.45!important;
 letter-spacing:0!important;margin:0!important;padding:12px 24px 0!important;
 border:0!important;box-shadow:none!important;min-height:0!important;
}
.page .atlas-settings-page:is(.atlas-appearance-page,.atlas-settings-profile) .atlas-appearance-group>h2+.atlas-settings-row{
 border-top:0!important;box-shadow:none!important;
}
.page .atlas-settings-profile .atlas-profile-password-fields input.atlas-profile-input{
 display:block!important;appearance:none;-webkit-appearance:none;box-sizing:border-box!important;
 min-height:42px!important;width:100%!important;border:1px solid var(--line)!important;
 background:var(--field)!important;color:var(--text)!important;border-radius:10px!important;
 padding:10px 12px!important;font:inherit!important;font-size:calc(14px + var(--atlas-font-step, 0px))!important;
 outline:0!important;transition:border-color .15s ease,box-shadow .15s ease;
}
.page .atlas-settings-profile .atlas-profile-password-fields input.atlas-profile-input:focus{
 border-color:var(--text)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--text) 8%,transparent)!important;
}
.page .atlas-settings-profile .atlas-profile-password-fields{gap:12px!important}
.page .atlas-settings-profile .atlas-profile-password-fields label{gap:7px!important}
.page .atlas-settings-profile .atlas-profile-password-fields button{min-height:40px;}
.page .atlas-settings-profile .atlas-device-list{width:min(100%,440px);min-width:0;}
.atlas-device-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);min-width:0}
.atlas-device-row:last-child{border-bottom:0}
.atlas-device-detail{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.atlas-device-detail strong{font-size:calc(13px + var(--atlas-font-step, 0px));font-weight:650}
.atlas-device-detail small{font-size:calc(12px + var(--atlas-font-step, 0px));color:var(--muted);line-height:1.4}
.atlas-current-device{font-size:calc(11px + var(--atlas-font-step, 0px));font-weight:550;margin-left:6px;color:var(--muted)}
.atlas-device-row button{flex:none;min-height:36px}
@media(max-width:700px){
 .page .atlas-settings-page:is(.atlas-appearance-page,.atlas-settings-profile) .atlas-appearance-group>h2{padding:12px 12px 0!important}
 .page .atlas-settings-profile .atlas-device-list{width:100%;max-width:100%}
}
/* Profile controls follow the same stacked settings layout as Appearance on phones. */
@media(max-width:700px){
 .page .atlas-settings-profile .atlas-settings-row{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:12px!important;padding:16px 12px!important;
 }
 .page .atlas-settings-profile .atlas-settings-copy{width:100%!important;min-width:0!important;max-width:100%!important;}
 .page .atlas-settings-profile .atlas-profile-timezone,
 .page .atlas-settings-profile .atlas-profile-password-fields,
 .page .atlas-settings-profile .atlas-device-list{width:100%!important;max-width:100%!important;}
 .page .atlas-settings-profile .atlas-settings-row>.atlas-profile-email{align-self:flex-start;}
 .page .atlas-settings-profile .atlas-profile-password-fields button{align-self:flex-start;}
 .page .atlas-settings-profile .atlas-settings-row>button.light-btn{align-self:flex-start;}
}


/* === Atlas v0.10.42: consistent typography + live table columns === */
/* Vela Sans and four other admin-only typefaces are served locally from /atlas-fonts/ after scripts/install_admin_fonts.py. No font files are included in update ZIP. */
/* The account setting controls the entire application typography. The font-size
   step remains separate from family selection, and the editor source is monospace. */
:root{--atlas-ui-font:'Atlas Vela Sans','Vela Sans',Arial,sans-serif;}
html[data-atlas-font-family='inter']{--atlas-ui-font:'Inter',ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;}
html[data-atlas-font-family='manrope']{--atlas-ui-font:'Manrope',ui-sans-serif,Arial,sans-serif;}
html[data-atlas-font-family='plex']{--atlas-ui-font:'IBM Plex Sans',ui-sans-serif,Arial,sans-serif;}
html[data-atlas-font-family='source']{--atlas-ui-font:'Source Sans 3',ui-sans-serif,Arial,sans-serif;}

html body,html body *:not(svg):not(path):not(rect):not(circle):not(line):not(polyline):not(polygon),
html body input,html body select,html body textarea,html body button,html body .CodeMirror,html body .choices,
html body .daterangepicker{font-family:var(--atlas-ui-font, 'Atlas Vela Sans','Vela Sans',Arial,sans-serif)!important;}
/* Preserve the old compact, single-line layout but remove the unused grip width. */
.page .table-wrap table.atlas-column-table thead th:not(.atlas-check-cell){padding-left:10px!important;cursor:grab;user-select:none;-webkit-user-select:none;}
.page .table-wrap table.atlas-column-table thead th:not(.atlas-check-cell):active{cursor:grabbing;}
.page .table-wrap table.atlas-column-table thead th[data-sortable]:not([aria-sort]){padding-right:18px!important;}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]{padding-right:27px!important;}
.page .table-wrap table.atlas-column-table thead th[data-sortable]:not([aria-sort])::after{display:none!important;content:none!important;}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after,
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after{
 display:block!important;position:absolute!important;right:10px!important;top:50%!important;
 transform:translateY(-50%)!important;width:auto!important;height:auto!important;
 background:none!important;-webkit-mask-image:none!important;mask-image:none!important;
 color:var(--text)!important;font-size:calc(13px + var(--atlas-font-step, 0px))!important;font-weight:700!important;
}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after{content:'↑'!important;}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after{content:'↓'!important;}
.atlas-column-drag-active{user-select:none!important;-webkit-user-select:none!important;}
.atlas-column-drag-active thead th[data-atlas-dragging]{background:var(--hover,var(--panel2))!important;box-shadow:inset 0 -2px 0 var(--text)!important;opacity:.85!important;}
#funnelSteps [data-funnel-step]{cursor:grab;}
#funnelSteps [data-funnel-step] input,#funnelSteps [data-funnel-step] button{cursor:auto;}
#funnelSteps [data-funnel-step].atlas-flow-dragging{opacity:.55;box-shadow:0 0 0 1px var(--line);cursor:grabbing;}
#funnelSteps .step-handle{cursor:grab;user-select:none;-webkit-user-select:none;}
@media(max-width:700px){.page .table-wrap table.atlas-column-table thead th:not(.atlas-check-cell){touch-action:pan-x pan-y;}}

/* Atlas v0.10.43 — shared font-size preference, table header polish. */
:root{--atlas-font-step:0px}
/* Font sizes expressed in rem respond too; baseline 16px remains unchanged. */
html{font-size:calc(16px + var(--atlas-font-step, 0px))}

/* Match the three-stop density slider (including its accessible focus state). */
.page #atlasFontSizeSlider{
 position:relative;z-index:2;display:block;width:100%;height:30px;min-height:30px;
 margin:0!important;padding:0!important;appearance:none;-webkit-appearance:none;
 background:transparent!important;border:0;cursor:pointer;
}
.page #atlasFontSizeSlider::-webkit-slider-runnable-track{
 height:5px!important;border:0!important;border-radius:999px!important;background:var(--line)!important;
}
.page #atlasFontSizeSlider::-moz-range-track{
 height:5px!important;border:0!important;border-radius:999px!important;background:var(--line)!important;
}
.page #atlasFontSizeSlider::-webkit-slider-thumb{
 -webkit-appearance:none!important;width:22px!important;height:22px!important;
 border:1px solid var(--line)!important;background:var(--panel)!important;border-radius:50%!important;
 box-shadow:0 1px 4px rgba(0,0,0,.16)!important;margin-top:-8.5px!important;
}
.page #atlasFontSizeSlider::-moz-range-thumb{
 width:22px!important;height:22px!important;border:1px solid var(--line)!important;
 background:var(--panel)!important;border-radius:50%!important;box-shadow:0 1px 4px rgba(0,0,0,.16)!important;
}
.page #atlasFontSizeSlider:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:9px;}
html[data-theme='dark'] .page #atlasFontSizeSlider::-webkit-slider-thumb{
 background:#f0f0f0!important;border-color:#bebebe!important;box-shadow:0 1px 5px rgba(0,0,0,.48)!important;
}
html[data-theme='dark'] .page #atlasFontSizeSlider::-moz-range-thumb{
 background:#f0f0f0!important;border-color:#bebebe!important;box-shadow:0 1px 5px rgba(0,0,0,.48)!important;
}

/* A table heading behaves like a clickable sort label; dragging still works. */
.page .table-wrap table.atlas-column-table thead th:not(.atlas-check-cell),
.page .table-wrap table.atlas-column-table thead th:not(.atlas-check-cell):active{
 cursor:pointer!important;font-weight:400!important;
}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]{font-weight:400!important}
.page .table-wrap table.atlas-column-table thead th .atlas-col-resize,
.page .table-wrap table.atlas-column-table thead th .atlas-col-resize:active{cursor:col-resize!important}
/* The active indicator is a genuine vector arrow, not a font glyph / emoji. */
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after,
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after{
 content:''!important;display:block!important;
 width:14px!important;height:14px!important;background-color:var(--text)!important;
 color:transparent!important;border:0!important;opacity:1!important;
 -webkit-mask-position:center!important;mask-position:center!important;
 -webkit-mask-size:contain!important;mask-size:contain!important;
 -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
 pointer-events:none!important;
}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19V5m-7 7 7-7 7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19V5m-7 7 7-7 7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14m-7-7 7 7 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14m-7-7 7 7 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
@media(max-width:700px){
 .page .atlas-appearance-page .atlas-settings-font-size .atlas-density-picker{
  align-self:stretch!important;width:100%!important;max-width:100%!important;
 }
}

/* Atlas v0.10.44 | Seamless search in desktop select menus.
   Scope to dropdown search inputs only; preserve the select trigger's border
   and the distinct mobile bottom-sheet search styling. */
@media (min-width:701px) {
  .choices .choices__list--dropdown input.choices__input,
  .choices .choices__list[aria-expanded] input.choices__input,
  #atlasSelectPortal input.atlas-select-search {
    -webkit-appearance:none!important;
    appearance:none!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    height:42px!important;
    margin:0!important;
    padding:0 12px 0 38px!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    background-color:transparent!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2218%22 height=%2218%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2392979f%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22m20 20-4-4%22/%3E%3C/svg%3E")!important;
    background-position:12px center!important;
    background-repeat:no-repeat!important;
    background-size:17px 17px!important;
    color:var(--text)!important;
    caret-color:var(--text)!important;
    font:inherit!important;
    font-size:calc(13px + var(--atlas-font-step, 0px))!important;
  }
  .choices .choices__list--dropdown input.choices__input:focus,
  .choices .choices__list[aria-expanded] input.choices__input:focus,
  #atlasSelectPortal input.atlas-select-search:focus,
  .choices .choices__list--dropdown input.choices__input:focus-visible,
  .choices .choices__list[aria-expanded] input.choices__input:focus-visible,
  #atlasSelectPortal input.atlas-select-search:focus-visible {
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
  .choices .choices__list--dropdown input.choices__input::placeholder,
  .choices .choices__list[aria-expanded] input.choices__input::placeholder,
  #atlasSelectPortal input.atlas-select-search::placeholder {
    color:var(--muted)!important;
    opacity:.85!important;
  }
}

/* v0.10.45: asynchronous entity select loading, same restrained progress as tables. */
.atlas-select-list,.atlas-mobile-layer #atlasMobileSelectOptions{position:relative}
.atlas-select-progress{flex:none;position:relative;display:flex;align-items:center;justify-content:center;
 min-height:49px;padding:16px 12px;color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));
 overflow:hidden;pointer-events:none}
.atlas-select-loading-bar{position:absolute;inset:0 0 auto;height:2px;background:var(--text);
 opacity:.6;transform-origin:left;animation:atlas-load-progress 1.1s ease-in-out infinite}
.atlas-select-retry{width:100%;padding:13px 12px;background:transparent;border:0;color:var(--text);
 font:inherit;text-align:center;cursor:pointer}
.atlas-select-retry:hover{background:var(--soft)}
@media(prefers-reduced-motion:reduce){.atlas-select-loading-bar{animation:none;opacity:.35}}

/* Atlas v0.10.46 — one landing workflow and shared ChatGPT-inspired tab system. */
#modalBg .atlas-landing-form{display:flex;flex-direction:column;gap:17px;min-width:0}
.atlas-landing-type-picker{display:flex;flex-direction:column;gap:10px}
.atlas-landing-type-picker>label{font-size:calc(12px + var(--atlas-font-step,0px));font-weight:560;color:var(--muted)}
.atlas-landing-type-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.atlas-landing-type-option{min-width:0;cursor:pointer;position:relative}
.atlas-landing-type-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.atlas-landing-type-option span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:43px;padding:8px 5px;border:1px solid var(--line);border-radius:11px;background:var(--control-bg);color:var(--text);font-size:calc(12px + var(--atlas-font-step,0px));font-weight:550;transition:background .13s,border-color .13s}
.atlas-landing-type-option input:checked+span{background:var(--tree-selected);border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}
.atlas-landing-type-option input:focus-visible+span{outline:2px solid var(--text);outline-offset:2px}
.atlas-landing-type-option input:disabled+span{opacity:.85;cursor:default}
#atlasLandingTypeFields{display:flex;flex-direction:column;gap:16px;min-width:0}
#atlasLandingTypeFields>.field{min-width:0;gap:9px}
.atlas-zip-drop{min-height:138px;border:1px dashed var(--line);background:var(--control-bg);border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:20px 15px;cursor:pointer;transition:background .15s,border-color .15s}
.atlas-zip-drop:hover,.atlas-zip-drop.atlas-drop-over{border-color:var(--text);background:var(--control-hover)}
.atlas-zip-drop:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.atlas-drop-icon{display:grid;place-items:center;width:36px;height:36px;background:var(--soft);border-radius:10px}
.atlas-drop-icon .atlas-icon{width:20px;height:20px}
.atlas-zip-drop>strong{font-size:calc(13px + var(--atlas-font-step,0px));font-weight:560}
.atlas-zip-drop>small,.atlas-current-zip small{display:block;color:var(--muted);font-size:calc(11px + var(--atlas-font-step,0px));line-height:1.5}
.atlas-zip-picked{color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));overflow-wrap:anywhere}
.atlas-current-zip{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--control-bg)}
.atlas-current-zip>div{min-width:0;overflow-wrap:anywhere}.atlas-current-zip strong{display:block;margin-bottom:3px;font-weight:560}
.atlas-macro-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.atlas-landing-assets{display:flex;flex-direction:column;gap:10px}
.atlas-landing-thumb{display:block;width:100%;max-height:195px;object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.atlas-landing-thumb.atlas-thumb-missing{display:none}
.atlas-landing-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.atlas-landing-actions button{min-width:0;min-height:38px;white-space:normal!important;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center}
.atlas-landing-actions .atlas-icon{flex:none}
#atlasLandingActionFields .CodeMirror{font-size:calc(12px + var(--atlas-font-step,0px));border:1px solid var(--line);border-radius:10px;overflow:hidden}
#atlasLandingActionFields textarea{min-height:145px}
/* Shared tabs: underlined active state, lightweight hover; no decorative filled pills. */
.tabs,.route-tabs{display:flex;gap:16px;align-items:stretch;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);padding:0!important;margin-bottom:16px}
.tabs button,.route-tabs button{flex:none;min-height:39px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;border-bottom:2px solid transparent!important;padding:10px 5px!important;color:var(--muted)!important;font-weight:490!important}
.tabs button:hover,.route-tabs button:hover{color:var(--text)!important;background:transparent!important}
.tabs button.active,.route-tabs button.active,html[data-theme=light] .tabs button.active{background:transparent!important;color:var(--text)!important;border:0!important;border-bottom:2px solid var(--text)!important;font-weight:590!important}
@media(max-width:700px){.atlas-landing-type-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-landing-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Atlas v0.10.47 — unified landing management and full-screen editing. */
.atlas-select-item-with-note{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:4px!important;padding-top:11px!important;padding-bottom:11px!important;min-height:56px}
.atlas-select-item-note{display:block!important;color:var(--muted)!important;font-size:calc(11px + var(--atlas-font-step,0px))!important;line-height:1.4!important;font-weight:400!important;white-space:normal!important;text-align:left!important;opacity:.86}
.atlas-select-item-with-note>span{color:var(--text);font-weight:500}
.atlas-mobile-option .atlas-select-item-note{margin-top:4px;line-height:1.35}
.atlas-landing-shot{position:relative;min-height:145px;max-height:230px;width:100%;background:var(--soft);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.atlas-landing-shot .atlas-landing-thumb{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;object-position:top;border:0!important;border-radius:0!important;opacity:0;transition:opacity .18s ease}
.atlas-landing-shot.has-shot .atlas-landing-thumb:not(.atlas-thumb-missing){opacity:1}
.atlas-shot-placeholder{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px;color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));text-align:center}
.atlas-shot-placeholder .atlas-icon{width:25px;height:25px;opacity:.6}
.atlas-landing-shot.has-shot .atlas-shot-placeholder{opacity:0}
.atlas-shot-refresh{position:absolute;right:10px;top:10px;z-index:2;display:grid;place-items:center;width:33px;height:33px;border-radius:9px;border:1px solid var(--line);background:var(--panel);color:var(--text);box-shadow:0 3px 12px #0002}
.atlas-shot-refresh:hover{background:var(--control-hover)}
.atlas-shot-refresh .atlas-icon{width:17px;height:17px}
.atlas-shot-refresh:disabled .atlas-icon{animation:atlasShotSpin .85s linear infinite}
@keyframes atlasShotSpin{to{transform:rotate(360deg)}}
/* An editor is a separate full-size page, not an inset card. */
#content.page:has(>.atlas-editor-page){padding:0!important;margin:0!important;max-width:none!important;overflow:hidden!important;height:100dvh!important;min-height:0!important}
.atlas-editor-page{height:100%;width:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--bg)}
.atlas-editor-topbar{flex:none;min-height:58px;display:flex;align-items:center;gap:12px;padding:9px 18px;border-bottom:1px solid var(--line);background:var(--panel)}
.atlas-editor-topbar .atlas-icon{height:16px;width:16px;flex:none}
.atlas-editor-page-title{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600;color:var(--text);font-size:calc(13px + var(--atlas-font-step,0px))}
.atlas-editor-top-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.atlas-editor-top-actions button,.atlas-editor-topbar>button{display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:37px;padding:7px 12px;white-space:nowrap}
.atlas-editor-page .workspace,.atlas-editor-page .live-editor{flex:1;min-height:0!important;height:auto!important;border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important;background:var(--panel)}
.atlas-editor-page .workspace{display:grid!important;grid-template-columns:minmax(205px,245px) minmax(0,1fr)!important;overflow:hidden}
.atlas-editor-page .workspace .file-pane,.atlas-editor-page .workspace .code-pane{min-height:0!important;max-height:none!important;height:100%!important;border-radius:0!important}
.atlas-editor-page .workspace .file-pane{display:flex;flex-direction:column;overflow:hidden}
.atlas-editor-page .workspace .file-tree{flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important}
.atlas-editor-page .workspace .code-pane{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.atlas-editor-page .workspace #codeContainer,.atlas-editor-page .workspace .CodeMirror,.atlas-editor-page .workspace .file-media{flex:1;min-height:0!important;height:100%!important;max-height:none!important;border:0!important;border-radius:0!important;overflow:hidden}
.atlas-editor-page .workspace .CodeMirror-scroll{overflow:auto!important}
.atlas-editor-page .live-editor{display:flex;flex-direction:column;overflow:hidden!important}
.atlas-editor-page .live-editor .live-layout{flex:1;min-height:0!important;height:auto!important;overflow:hidden;display:grid!important;grid-template-columns:minmax(0,1fr) 275px!important}
.atlas-editor-page .live-editor .live-stage{min-height:0!important;overflow:hidden}
.atlas-editor-page .live-editor #liveFrame{height:100%!important;min-height:0!important;width:100%!important;border:0}
.atlas-editor-page .live-editor .inspect-panel{overflow:auto;min-height:0}
.atlas-editor-page .preview-toolbar{border-radius:0!important;min-height:50px;padding:8px 15px}
@media(max-width:700px){
 #content.page:has(>.atlas-editor-page){height:calc(100dvh - 112px)!important;padding:0!important}
 .atlas-editor-topbar{padding:8px 12px;gap:7px;flex-wrap:wrap;min-height:54px}
 .atlas-editor-top-actions{gap:5px}
 .atlas-editor-topbar .light-btn,.atlas-editor-topbar .primary{font-size:calc(11px + var(--atlas-font-step,0px));padding:7px 9px}
 .atlas-editor-page .workspace{display:flex!important;flex-direction:column!important}
 .atlas-editor-page .workspace .file-pane{height:35%!important;max-height:35%!important;flex:none;border-right:0;border-bottom:1px solid var(--line)}
 .atlas-editor-page .workspace .code-pane{height:65%!important;max-height:65%!important;flex:1}
 .atlas-editor-page .live-editor .live-layout{display:flex!important;flex-direction:column!important;min-height:0!important}
 .atlas-editor-page .live-editor .live-stage{min-height:250px!important;flex:1}
 .atlas-editor-page .live-editor .inspect-panel{max-height:32%;min-height:90px;border-left:0;border-top:1px solid var(--line)}
}
@media(prefers-reduced-motion:reduce){.atlas-shot-refresh .atlas-icon{animation:none!important}}

/* v0.10.50 — Landing editor viewport and mobile file drawer.
   Only editor pages; TDS and ordinary admin layout are unaffected. */
.atlas-mobile-file-toggle{display:none!important}
.atlas-editor-page .workspace #codeContainer{position:relative;min-width:0;min-height:0!important;overflow:hidden!important}
.atlas-editor-page .workspace .CodeMirror{min-width:0;min-height:0!important}
.atlas-editor-page .workspace .CodeMirror-scroll{height:100%;overscroll-behavior:contain}
@media(max-width:700px){
 #content.page:has(>.atlas-editor-page){
   height:calc(100dvh - var(--atlas-mobile-editor-offset, 112px))!important;
   min-height:0!important;
 }
 .atlas-editor-page .atlas-editor-topbar{
   display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:8px 10px;min-height:0;
 }
 .atlas-editor-page .atlas-editor-page-title{flex:1;min-width:95px}
 .atlas-editor-page .atlas-editor-top-actions{justify-content:flex-start;flex:1 1 100%;min-width:0;gap:6px}
 .atlas-editor-page .atlas-editor-top-actions button{flex:0 0 auto;white-space:nowrap}
 .atlas-editor-page .atlas-mobile-file-toggle{display:inline-flex!important}
 .atlas-editor-page .workspace{position:relative;flex:1!important;min-height:0!important;height:auto!important;overflow:hidden!important}
 .atlas-editor-page .workspace .file-pane{display:none!important;min-width:0}
 .atlas-editor-page .workspace.mobile-files-open .file-pane{
   display:flex!important;flex:0 0 auto!important;height:min(42dvh,310px)!important;
   max-height:min(42dvh,310px)!important;min-height:0!important;overflow:hidden!important;
 }
 .atlas-editor-page .workspace .code-pane{
   display:flex!important;flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:0!important;
 }
 .atlas-editor-page .workspace #codeContainer,.atlas-editor-page .workspace .CodeMirror{
   display:block;flex:1 1 auto!important;height:100%!important;max-height:none!important;min-height:0!important;
 }
 .atlas-editor-page .workspace .code-box.hidden{display:none!important}
 .atlas-editor-page .live-editor{flex:1!important;min-height:0!important}
 .atlas-editor-page .live-editor .preview-toolbar{flex:0 0 auto;padding:7px 10px;min-height:0}
 .atlas-editor-page .live-editor .preview-toolbar .row-actions{flex-wrap:wrap;gap:5px}
 .atlas-editor-page .live-editor .preview-toolbar button{min-height:34px;padding:6px 8px}
 .atlas-editor-page .live-editor .live-layout{flex:1!important;min-height:0!important;height:100%!important}
 .atlas-editor-page .live-editor .live-stage{flex:1 1 auto!important;min-height:0!important;height:auto!important}
 .atlas-editor-page .live-editor #liveFrame{display:block;min-height:0!important;height:100%!important}
 .atlas-editor-page .live-editor .inspect-panel{
   flex:0 0 auto!important;min-height:0!important;height:min(22dvh,170px)!important;
   max-height:min(22dvh,170px)!important;overflow-y:auto!important;
 }
}

/* v0.10.53 — landing ZIP upload progress and persistent compressed archive size. */
.atlas-zip-upload-state[hidden]{display:none!important}
.atlas-zip-upload-state{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--muted);font-size:calc(11px + var(--atlas-font-step,0px));line-height:1.45}
.atlas-zip-upload-track{width:100%;height:2px;background:var(--line);border-radius:2px;overflow:hidden}
.atlas-zip-upload-track>span{display:block;height:100%;width:0;background:var(--text);border-radius:2px;transition:width .12s ease}
.atlas-zip-upload-state.is-processing .atlas-zip-upload-track>span{width:100%;animation:atlas-load-progress 1.1s linear infinite;transform-origin:left}
.atlas-zip-drop.atlas-upload-busy{pointer-events:none;opacity:.65;cursor:progress}
@media(prefers-reduced-motion:reduce){.atlas-zip-upload-state.is-processing .atlas-zip-upload-track>span{animation:none;opacity:.55}}

/* Atlas v0.10.57 — file manager uses the shared context menu and confirmation UI. */
.atlas-editor-page .file-pane-head .row-actions{flex-wrap:nowrap;gap:5px}
.atlas-editor-page .file-pane-head .row-actions .tiny{display:inline-grid;place-items:center;width:31px;min-width:31px;height:31px;min-height:31px;padding:5px;border:1px solid transparent;border-radius:9px;background:transparent}
.atlas-editor-page .file-pane-head .row-actions .tiny:hover,.atlas-editor-page .file-pane-head .row-actions .tiny:focus-visible{background:var(--control-hover);border-color:var(--line)}
.atlas-editor-page .file-pane-head .row-actions .tiny .atlas-icon{width:17px;height:17px}
.atlas-editor-page .file-tree{position:relative;padding:7px 6px;transition:background-color .12s ease}
.atlas-editor-page .file-tree.atlas-tree-drop-root{background:var(--control-hover);outline:1px dashed var(--muted);outline-offset:-4px}
.atlas-editor-page .tree-item{min-width:0;user-select:none;-webkit-user-select:none}
.atlas-editor-page .tree-row{display:flex;align-items:center;min-width:0;min-height:34px;border-radius:8px;border:1px solid transparent;transition:background .1s,border-color .1s}
.atlas-editor-page .tree-row>.tree-node{flex:1;min-width:0;border:0;max-width:none;padding:6px 4px 6px 8px;min-height:32px}
.atlas-editor-page .tree-row>.tree-node:focus-visible{outline:2px solid var(--text);outline-offset:-2px}
.atlas-editor-page .tree-row:hover,.atlas-editor-page .tree-row:focus-within{background:var(--control-hover)}
.atlas-editor-page .tree-row>.tree-node:hover{background:transparent}
.atlas-editor-page .tree-item.atlas-tree-drop-target>.tree-row{background:var(--tree-selected);border:1px dashed var(--muted)}
.atlas-editor-page .tree-item.atlas-tree-dragging{opacity:.52}
.atlas-editor-page .atlas-tree-more{display:inline-grid;place-items:center;flex:0 0 27px;width:27px;height:29px;padding:4px;margin-right:3px;border:0;border-radius:7px;background:transparent;color:var(--muted);opacity:0;cursor:pointer}
.atlas-editor-page .tree-row:hover .atlas-tree-more,.atlas-editor-page .tree-row:focus-within .atlas-tree-more{opacity:1}
.atlas-editor-page .atlas-tree-more:hover,.atlas-editor-page .atlas-tree-more:focus-visible{background:var(--control-bg);color:var(--text);opacity:1}
.atlas-editor-page .atlas-tree-upload-state{padding:9px 12px 10px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:calc(11px + var(--atlas-font-step,0px))}
.atlas-editor-page .atlas-tree-upload-state[hidden]{display:none!important}
.atlas-editor-page .atlas-tree-upload-state .atlas-zip-upload-track{height:3px}
.atlas-tree-confirm{z-index:10002}
.atlas-tree-confirm .atlas-confirm-actions{flex-wrap:wrap}
@media(max-width:700px){
 .atlas-editor-page .atlas-tree-more{opacity:1}
 .atlas-tree-confirm .atlas-confirm-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atlas-tree-confirm [data-tree-choice="cancel"]{grid-column:1/-1}
}

/* Atlas v0.10.58 — resizable file manager pane (desktop code editor only). */
@media(min-width:701px){
 .atlas-editor-page .atlas-landing-editor-workspace.workspace{
   grid-template-columns:minmax(0,var(--atlas-file-pane-width,245px)) 9px minmax(0,1fr)!important;
 }
 .atlas-editor-page .atlas-landing-editor-workspace.workspace .file-pane{border-right:0!important}
 .atlas-editor-page .atlas-file-splitter{
   display:flex;align-items:center;justify-content:center;
   min-width:9px;width:9px;height:100%;min-height:0;
   background:var(--panel);border-left:1px solid var(--line);border-right:1px solid var(--line);
   cursor:col-resize;touch-action:none;user-select:none;-webkit-user-select:none;
   position:relative;z-index:2;
 }
 .atlas-editor-page .atlas-file-splitter>span{
   width:2px;height:34px;border-radius:3px;background:var(--muted);opacity:.33;
   transition:opacity .15s,background .15s;
 }
 .atlas-editor-page .atlas-file-splitter:hover,.atlas-editor-page .atlas-file-splitter:focus-visible,
 .atlas-editor-page .atlas-landing-editor-workspace.atlas-file-split-resizing .atlas-file-splitter{
   background:var(--control-hover);outline:none;
 }
 .atlas-editor-page .atlas-file-splitter:hover>span,.atlas-editor-page .atlas-file-splitter:focus-visible>span,
 .atlas-editor-page .atlas-landing-editor-workspace.atlas-file-split-resizing .atlas-file-splitter>span{opacity:.85;background:var(--text)}
 html.atlas-file-split-active,html.atlas-file-split-active *{cursor:col-resize!important;user-select:none!important;-webkit-user-select:none!important}
}
@media(max-width:700px){.atlas-editor-page .atlas-file-splitter{display:none!important}}

/* File manager: compact, semantic SVG icons for file extensions. */
.atlas-editor-page .tree-node>.atlas-file-caret{display:inline-flex;align-items:center;justify-content:center;flex:0 0 12px;width:12px;height:20px;color:var(--muted);}
.atlas-editor-page .tree-node>.atlas-file-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;color:var(--muted);}
.atlas-editor-page .atlas-filetype-svg{display:block;flex:none;}
.atlas-editor-page .atlas-filetype-folder{color:var(--text);}
.atlas-editor-page .atlas-filetype-php,.atlas-editor-page .atlas-filetype-html{color:var(--text);}
.atlas-editor-page .atlas-filetype-css,.atlas-editor-page .atlas-filetype-js,.atlas-editor-page .atlas-filetype-json{color:var(--muted);}
.atlas-editor-page .tree-row>.tree-node{gap:6px;}

/* v0.10.61 — use the standard Atlas context-menu visual separator. */
#atlasContext .atlas-context-divider{height:1px;margin:5px 8px;background:var(--line,var(--border,#ddd));pointer-events:none}


/* Atlas v0.10.62 — typography convergence (desktop + mobile). */
/* Keep existing heading hierarchy, but use one family and one font-size step. */
html body,html body button,html body input,html body select,html body textarea,
html body .choices,html body .choices__input,html body .daterangepicker,
html body .atlas-mobile-sheet,html body .atlas-confirm-dialog,
html body .atlas-editor-page,html body .atlas-visual-editor{
  font-family:var(--atlas-ui-font,'Atlas Vela Sans',Arial,sans-serif)!important;
}
/* Source editors always need a true monospace face. */
html body .CodeMirror,html body .CodeMirror *,html body pre,html body code,
html body .cm-s-default,html body .cm-s-material-darker,
html body textarea[data-code-editor],html body .atlas-editor-code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,'Liberation Mono',monospace!important;
}
/* Table column names and record names share regular weight everywhere. */
.page .table-wrap table thead th,.page .campaign-table thead th,
.page #reportOutput table thead th,.atlas-export-table thead th,
.page .table-wrap .campaign-open,.page .table-wrap .flat-table-link,
.page .table-wrap.local-landing-table tbody td b,
.page .table-wrap.local-landing-table tbody td strong{
  font-weight:400!important;
}
/* A common type scale is used by responsive screens rather than allowing
   standalone HTML defaults in individual settings and export dialogs. */
.page .atlas-settings-row .atlas-settings-copy strong,
.page .atlas-settings-row .atlas-settings-copy small,
.page .atlas-settings-row .atlas-font-name{
  font-size:calc(13px + var(--atlas-font-step,0px));
}
.page .atlas-settings-row .atlas-settings-copy small{
  font-size:calc(12px + var(--atlas-font-step,0px));
}
/* Font selector: compact neutral options; selected font is previewed in place. */
.page .atlas-font-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(100%,350px);min-width:0;}
.page .atlas-font-option{position:relative;display:block;min-width:0;cursor:pointer;}
.page .atlas-font-option>input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:2;}
.page .atlas-font-option-body{display:flex;flex-direction:column;justify-content:center;min-height:52px;gap:3px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:var(--control-bg);color:var(--text);line-height:1.25;transition:background .12s,border-color .12s;}
.page .atlas-font-option:hover .atlas-font-option-body{background:var(--soft);}
.page .atlas-font-option>input:focus-visible+.atlas-font-option-body{outline:2px solid var(--text);outline-offset:2px;}
.page .atlas-font-option>input:checked+.atlas-font-option-body{border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text);background:var(--soft);}
.page .atlas-font-option>input:disabled+.atlas-font-option-body{opacity:.6;}
.page .atlas-font-option .atlas-font-name{font-size:calc(13px + var(--atlas-font-step,0px));font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.page .atlas-font-option small{font-size:calc(10px + var(--atlas-font-step,0px));color:var(--muted);}
.page .atlas-font-option[data-sample-font='vela'] .atlas-font-name{font-family:'Atlas Vela Sans',Arial,sans-serif!important;}
.page .atlas-font-option[data-sample-font='inter'] .atlas-font-name{font-family:'Inter',Arial,sans-serif!important;}
.page .atlas-font-option[data-sample-font='manrope'] .atlas-font-name{font-family:'Manrope',Arial,sans-serif!important;}
.page .atlas-font-option[data-sample-font='plex'] .atlas-font-name{font-family:'IBM Plex Sans',Arial,sans-serif!important;}
.page .atlas-font-option[data-sample-font='source'] .atlas-font-name{font-family:'Source Sans 3',Arial,sans-serif!important;}
@media(max-width:700px){
 .page .atlas-settings-row.atlas-settings-font-family{display:flex!important;flex-direction:column!important;align-items:stretch!important;}
 .page .atlas-settings-row.atlas-settings-font-family .atlas-font-options{width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Non-emphasized names in every table, irrespective of the data type. */
.page .table-wrap tbody td b,.page .table-wrap tbody td strong,
.page .table-wrap tbody td .campaign-open,.page .table-wrap tbody td .flat-table-link{font-weight:400!important;}

/* v0.10.64 — unified readable URL editors (the slug, domain and GET-key fields stay one-line). */
#modalBg textarea.atlas-url-textarea,
#campaignShell textarea.atlas-url-textarea,
textarea.atlas-url-textarea{
 display:block;width:100%;min-width:0;min-height:75px!important;max-height:220px;
 padding:11px 13px!important;line-height:1.5!important;resize:vertical;
 white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
 font:inherit;color:var(--text);background:var(--field);border:1px solid var(--field-border);
 border-radius:11px;box-sizing:border-box;
}
textarea.atlas-url-textarea:focus{border-color:var(--border-focus)!important;outline:2px solid var(--border-focus, #85858533);outline-offset:0}
#modalBg .atlas-landing-form{gap:20px}
#modalBg .atlas-landing-form-header{display:flex;flex-direction:column;gap:17px;padding-bottom:17px;border-bottom:1px solid var(--line);min-width:0}
#modalBg .atlas-landing-form-header>.field{margin:0;min-width:0}
#modalBg .atlas-landing-type-picker{gap:9px}
#modalBg .atlas-landing-type-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#modalBg .atlas-landing-type-option span{min-height:42px;padding:9px 8px;font-weight:520}
#modalBg .atlas-landing-local-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0}
#modalBg .atlas-landing-local-layout.is-existing{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#modalBg .atlas-landing-file-side,#modalBg .atlas-landing-preview-side{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px}
#modalBg .atlas-landing-part-heading{display:flex;flex-direction:column;gap:3px;min-height:38px}
#modalBg .atlas-landing-part-heading strong{font-size:calc(13px + var(--atlas-font-step,0px));font-weight:600;color:var(--text)}
#modalBg .atlas-landing-part-heading span{font-size:calc(11px + var(--atlas-font-step,0px));color:var(--muted)}
#modalBg .atlas-landing-file-side .field{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:9px;margin:0}
#modalBg .atlas-landing-file-side .atlas-current-zip{margin:0;min-height:69px}
#modalBg .atlas-landing-file-side .atlas-zip-drop{flex:1 1 auto;min-height:144px}
#modalBg .atlas-landing-file-side .atlas-zip-picked:empty{display:none}
#modalBg .atlas-landing-assets{flex:1 1 auto;min-height:0;gap:10px}
#modalBg .atlas-landing-shot{flex:1 1 auto;height:auto;min-height:210px;max-height:none}
#modalBg .atlas-landing-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:none}
#modalBg .atlas-landing-actions button.atlas-landing-action-btn{width:100%;min-width:0;height:42px;min-height:42px;padding:0!important;display:flex;align-items:center;justify-content:center;white-space:nowrap!important}
#modalBg .atlas-landing-actions button.atlas-landing-action-btn .atlas-icon{width:19px;height:19px;flex:none}
#modalBg .atlas-macro-row{margin-top:10px}
@media(max-width:700px){
 #modalBg .atlas-landing-form-header{gap:14px;padding-bottom:14px}
 #modalBg .atlas-landing-type-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
 #modalBg .atlas-landing-local-layout.is-existing{grid-template-columns:minmax(0,1fr);gap:20px}
 #modalBg .atlas-landing-shot{flex:none;height:205px;min-height:205px}
 #modalBg .atlas-landing-file-side .atlas-zip-drop{flex:none;min-height:144px}
}
@media(min-width:701px){
 /* Landing card uses the existing MEDIUM tier regardless of old generic modal width overrides. */
 #modalBg[data-atlas-drawer-size="medium"]>.modal.atlas-drawer-medium:has(#atlasLandingForm){
  width:min(760px,100vw)!important;max-width:760px!important;
 }
}

/* v0.10.66: independent read-only health monitor display; never styles public landing pages. */
#atlasSystemSummary,#healthOutput{width:100%;min-width:0}
.atlas-monitor-overview{padding:17px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:0}
.atlas-monitor-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.atlas-monitor-title>span:last-child,.atlas-monitor-section header small,.atlas-monitor-footnote,.atlas-monitor-platform{font-size:calc(11px + var(--atlas-font-step,0px));color:var(--muted)}
.atlas-monitor-allgood{color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));margin:10px 0 0}
.atlas-monitor-state{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:3px 7px;font-size:calc(11px + var(--atlas-font-step,0px));white-space:nowrap;font-weight:500;vertical-align:middle;color:var(--muted);background:var(--panel2)}
.atlas-monitor-state>i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.atlas-monitor-state.is-ok{color:#19815e;background:rgba(38,169,111,.09)}
.atlas-monitor-state.is-warning{color:#b9811c;background:rgba(220,155,30,.11)}
.atlas-monitor-state.is-critical{color:#c7464d;background:rgba(221,77,88,.10)}
.atlas-monitor-state.is-unknown{color:var(--muted)}
html[data-theme='dark'] .atlas-monitor-state.is-ok{color:#6ed5a7}
html[data-theme='dark'] .atlas-monitor-state.is-warning{color:#f1c56b}
html[data-theme='dark'] .atlas-monitor-state.is-critical{color:#fa9398}
.atlas-monitor-alerts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.atlas-monitor-alerts p{margin:0}
.atlas-monitor-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}
.atlas-monitor-kpi{padding:18px;min-width:0;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.atlas-monitor-kpi:last-child{border-right:0}.atlas-monitor-kpi-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px))}
.atlas-monitor-kpi>strong{font-size:calc(24px + var(--atlas-font-step,0px));font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.6px;line-height:1.1}
.atlas-monitor-kpi>small{color:var(--muted);font-size:calc(11px + var(--atlas-font-step,0px));overflow-wrap:anywhere}
.atlas-monitor-meter{height:5px;background:var(--line);border-radius:30px;overflow:hidden;margin-top:auto}
.atlas-monitor-meter>div{height:100%;background:#3daa78;transition:width 240ms ease;border-radius:30px}.atlas-monitor-meter>.is-warning{background:#d9a33c}.atlas-monitor-meter>.is-critical{background:#d34a58}.atlas-monitor-meter>.is-unknown{background:var(--muted)}
.atlas-monitor-section{padding:20px 0;border-bottom:1px solid var(--line);min-width:0}
.atlas-monitor-section>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 16px 18px}
.atlas-monitor-section h3{font-size:calc(14px + var(--atlas-font-step,0px));font-weight:600;margin:0;letter-spacing:0}
.atlas-monitor-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.atlas-monitor-chart{min-width:0;padding:12px 16px;border-top:1px solid var(--line);border-right:1px solid var(--line)}.atlas-monitor-chart:nth-child(2n){border-right:0}
.atlas-monitor-chart-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:calc(12px + var(--atlas-font-step,0px))}.atlas-monitor-chart-head strong{font-weight:500}.atlas-monitor-chart-head span{font-variant-numeric:tabular-nums;color:var(--muted)}
.atlas-monitor-chart-svg{display:block;width:100%;height:100px;margin-top:12px;overflow:visible}
.atlas-monitor-chart-svg .atlas-monitor-chart-grid{fill:none;stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.atlas-monitor-chart-svg polyline{fill:none;stroke:var(--text);stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.atlas-monitor-nohistory{display:grid;place-items:center;min-height:100px;color:var(--muted);font-size:calc(11px + var(--atlas-font-step,0px))}
.atlas-monitor-chart>small{display:block;color:var(--muted);font-size:calc(10px + var(--atlas-font-step,0px))}
.atlas-monitor-table-scroll{max-width:100%;overflow-x:auto}
#atlasSystemSummary .atlas-monitor-services{width:100%;min-width:750px;table-layout:auto;border-collapse:collapse}
#atlasSystemSummary .atlas-monitor-services th,#atlasSystemSummary .atlas-monitor-services td{font-size:calc(12px + var(--atlas-font-step,0px))!important;text-transform:none;letter-spacing:0;font-weight:400;white-space:nowrap;padding:11px 15px;border-bottom:1px solid var(--line);background:transparent}
#atlasSystemSummary .atlas-monitor-services th{font-size:calc(11px + var(--atlas-font-step,0px))!important;color:var(--muted)}
#atlasSystemSummary .atlas-monitor-services .atlas-monitor-name{font-weight:550}#atlasSystemSummary .atlas-monitor-services small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:3px;max-width:250px;overflow:hidden;text-overflow:ellipsis}
#healthOutput .atlas-monitor-version{display:block;max-width:255px;overflow:hidden;text-overflow:ellipsis}
.atlas-monitor-platform,.atlas-monitor-footnote{padding:12px 16px;line-height:1.5}
.atlas-monitor-diagnostics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.atlas-monitor-diagnostics>div{padding:13px 16px;border-top:1px solid var(--line);border-right:1px solid var(--line);display:flex;flex-direction:column;gap:8px;min-width:0}
.atlas-monitor-diagnostics>div:nth-child(4n){border-right:0}.atlas-monitor-diagnostics>div>div{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:calc(11px + var(--atlas-font-step,0px));color:var(--muted)}
.atlas-monitor-diagnostics strong{font-size:calc(16px + var(--atlas-font-step,0px));font-weight:550}.atlas-monitor-diagnostics small{font-size:calc(10px + var(--atlas-font-step,0px));color:var(--muted)}
.atlas-monitor-unavailable{margin:12px 0;padding:17px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:start;font-size:calc(12px + var(--atlas-font-step,0px))}
.atlas-monitor-unavailable p{margin:5px 0 0;color:var(--muted);line-height:1.55}
/* v0.10.68: status is a restrained tint of the whole shortcut, not dots.
   SVG positioning matches the settings shortcut in all sidebar modes. */
.sidebar .sidebar-utilities #systemShortcut>svg{transform:none!important}
.sidebar .sidebar-utilities #systemShortcut .atlas-health-dots{display:none!important}
.sidebar .sidebar-utilities #systemShortcut[data-monitor-status='ok']{
 background:rgba(34,155,98,.09)!important;
}
.sidebar .sidebar-utilities #systemShortcut[data-monitor-status='warning']{
 background:rgba(209,152,34,.11)!important;
}
.sidebar .sidebar-utilities #systemShortcut[data-monitor-status='critical']{
 background:rgba(210,76,82,.11)!important;
}
html[data-theme='dark'] .sidebar .sidebar-utilities #systemShortcut[data-monitor-status='ok']{background:rgba(63,181,113,.14)!important}
html[data-theme='dark'] .sidebar .sidebar-utilities #systemShortcut[data-monitor-status='warning']{background:rgba(225,165,61,.15)!important}
html[data-theme='dark'] .sidebar .sidebar-utilities #systemShortcut[data-monitor-status='critical']{background:rgba(232,83,96,.16)!important}
.sidebar .sidebar-utilities #systemShortcut[data-monitor-status='ok']:hover{background:rgba(34,155,98,.15)!important}
.sidebar .sidebar-utilities #systemShortcut[data-monitor-status='warning']:hover{background:rgba(209,152,34,.18)!important}
.sidebar .sidebar-utilities #systemShortcut[data-monitor-status='critical']:hover{background:rgba(210,76,82,.17)!important}
html[data-theme='dark'] .sidebar .sidebar-utilities #systemShortcut[data-monitor-status='ok']:hover{background:rgba(63,181,113,.21)!important}
html[data-theme='dark'] .sidebar .sidebar-utilities #systemShortcut[data-monitor-status='warning']:hover{background:rgba(225,165,61,.23)!important}
html[data-theme='dark'] .sidebar .sidebar-utilities #systemShortcut[data-monitor-status='critical']:hover{background:rgba(232,83,96,.23)!important}
@media(max-width:900px){.atlas-monitor-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-monitor-kpi:nth-child(2n){border-right:0}.atlas-monitor-kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.atlas-monitor-diagnostics{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-monitor-diagnostics>div:nth-child(2n){border-right:0}}
@media(max-width:600px){.atlas-monitor-kpi{padding:12px;gap:7px}.atlas-monitor-kpi>strong{font-size:calc(19px + var(--atlas-font-step,0px))}.atlas-monitor-title{align-items:start}.atlas-monitor-charts{grid-template-columns:1fr}.atlas-monitor-chart{border-right:0}.atlas-monitor-section{padding:14px 0}.atlas-monitor-section>header{margin:0 12px 12px}.atlas-monitor-diagnostics>div{padding:12px}.atlas-monitor-chart-svg{height:85px}}

/* v0.10.68: remove redundant outer rules at the top and bottom of System content only. */
#content.page:has(> #atlasSystemSummary){border-top:0!important;border-bottom:0!important}
#atlasSystemSummary .atlas-monitor-overview{border-top:0!important}
#atlasSystemSummary>.atlas-monitor-section:last-of-type,
#healthOutput>.atlas-monitor-section:last-child{border-bottom:0!important}
/* Release is visually separate from live container/runtime versions. */
#atlasSystemSummary .atlas-monitor-release{
 display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;
 margin:0;padding:0 16px 14px;color:var(--text);
 font-size:calc(12px + var(--atlas-font-step,0px));
}
#atlasSystemSummary .atlas-monitor-release>span:first-child{font-weight:500}
#atlasSystemSummary .atlas-monitor-release>strong{font-size:calc(12px + var(--atlas-font-step,0px));font-weight:600;letter-spacing:0;white-space:nowrap}
#atlasSystemSummary .atlas-monitor-release-date{color:var(--muted);margin-left:auto;font-size:calc(11px + var(--atlas-font-step,0px))}
@media(max-width:700px){
 #atlasSystemSummary .atlas-monitor-release{padding:0 12px 12px}
 #atlasSystemSummary .atlas-monitor-release-date{width:100%;margin-left:0}
}

/* v0.10.69 - domain robots.txt advisory policy (no UA filtering). */
.atlas-domain-robots-helper{display:grid;gap:12px;margin-top:14px}
.atlas-domain-robots-helper .small-note{margin:0;color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));line-height:1.5}
.atlas-domain-robots-preview{border:1px solid var(--line);border-radius:11px;min-width:0;overflow:hidden}
.atlas-domain-robots-preview-head{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-bottom:1px solid var(--line)}
.atlas-domain-robots-preview-head small{color:var(--muted)}
#atlasDomainRobotsPreview{font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:210px;overflow-y:auto;margin:0;padding:12px 13px;background:var(--soft);color:var(--text)}
.atlas-robots-link{color:var(--text);font-weight:500;text-underline-offset:3px}
#modalBody .field[hidden]{display:none!important}
#modalBody textarea[data-field="robots_custom"]{width:100%;min-height:145px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.6}

/* Atlas Tracker v0.10.70 — consistent save actions, borderless centered windows and dashboard. */
#content.page:has(> .kpis){border-top:0!important;border-bottom:0!important}
@media (min-width:701px){
 html[data-atlas-window-position="center"] #modalBg .modal,
 html[data-atlas-window-position="center"] #campaignShell .campaign-sheet,
 html[data-atlas-window-position="center"] #atlasExportLayer .atlas-export-drawer,
 html[data-atlas-window-position="center"] .atlas-confirm-dialog{
  border:0!important;
 }
 #modalBg .modal-foot > .atlas-modal-footer-spacer{flex:1 1 auto!important;min-width:0}
 #modalBg .modal-foot{justify-content:flex-end!important}
 #campaignShell .atlas-campaign-footer > [data-campaignback]{margin-right:0!important}
}
@media (max-width:700px){
 /* Three compact actions; two save buttons stay beside each other. */
 #modalBg .modal-foot{
  display:grid!important;
  grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.45fr)!important;
  align-items:stretch!important;gap:7px!important;
 }
 #modalBg .modal-foot > .atlas-modal-footer-spacer{display:none!important}
 #modalBg .modal-foot > button:not(.hidden){
  width:100%!important;min-width:0!important;min-height:42px!important;
  padding:7px 6px!important;white-space:normal!important;
  line-height:1.2!important;font-size:calc(11px + var(--atlas-font-step,0px))!important;
 }
 #campaignShell .atlas-campaign-footer{
  display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.45fr)!important;
  gap:7px!important;align-items:stretch!important;
 }
 #campaignShell .atlas-campaign-footer > .atlas-campaign-copy{grid-column:1/-1!important}
 #campaignShell .atlas-campaign-footer > .atlas-campaign-footer-spacer{display:none!important}
 #campaignShell .atlas-campaign-footer > button:not(.atlas-campaign-copy){
  width:100%!important;min-width:0!important;min-height:42px!important;
  font-size:calc(11px + var(--atlas-font-step,0px))!important;
  line-height:1.2!important;padding:7px 5px!important;white-space:normal!important;
 }
}

/* Atlas v0.10.72 — table record titles (not header cells or numeric columns). */
.page .table-wrap tbody td b,
.page .table-wrap tbody td strong,
.page .table-wrap tbody td .campaign-open,
.page .table-wrap tbody td .flat-table-link,
.page .campaign-table tbody td .campaign-open,
.page #reportOutput table tbody td .flat-table-link,
.page #reportOutput table tbody td b,
.page #reportOutput table tbody td strong,
.atlas-export-table tbody td b,
.atlas-export-table tbody td strong{font-weight:565!important;}

/* A screenshot is only "updating" after an explicit user refresh. Never show
   a false updating status during the normal image fetch/open. */
.atlas-landing-shot .atlas-shot-placeholder{opacity:0;pointer-events:none;}
.atlas-landing-shot.no-shot .atlas-shot-placeholder{opacity:1;}
.atlas-landing-shot.has-shot .atlas-shot-placeholder{opacity:0;}

/* Visual editor viewport zoom matches the neighboring width controls. */
.atlas-av-zoom-control{display:inline-flex;flex:none;align-items:center;gap:6px;min-height:32px;margin-left:6px;color:var(--muted);font-size:12px;white-space:nowrap;}
.atlas-av-zoom-control select{min-width:78px;width:auto!important;height:32px;min-height:32px;padding:5px 22px 5px 9px;border:1px solid var(--line);border-radius:8px;background:var(--control-bg);color:var(--text);font:inherit;cursor:pointer;}
.atlas-av-zoom-control select:focus-visible{outline:2px solid var(--purple);outline-offset:1px;}

/* v0.10.73 — title weight by semantic record column across campaigns, landing pages,
   domains, traffic sources, data streams, routes, and event definitions. Higher
   specificity overrides the historic 400 rule for landing names. */
.page .table-wrap[data-list] table tbody td.atlas-record-name,
.page .table-wrap[data-list] table tbody td.atlas-record-name b,
.page .table-wrap[data-list] table tbody td.atlas-record-name strong,
.page .table-wrap[data-list] table tbody td.atlas-record-name .flat-table-link,
.page .table-wrap[data-list] table tbody td.atlas-record-name .campaign-open,
.page .table-wrap.local-landing-table table tbody td.atlas-record-name,
.page .table-wrap.local-landing-table table tbody td.atlas-record-name b,
.page .table-wrap.local-landing-table table tbody td.atlas-record-name strong,
.page .campaign-table tbody td .campaign-open{font-weight:565!important;}
/* Analytics headings always retain the same 400 weight, including a crosshair
   hover, direct mouse hover, and active sort. Only the background is highlighted. */
.page #reportOutput table thead th,
.page #reportOutput table thead th.atlas-cell-column-hover,
.page #reportOutput table thead th.atlas-cell-column-hover:hover,
.page #reportOutput table thead th.atlas-cell-column-hover[aria-sort]{
 font-weight:400!important;
}
.page #reportOutput table thead th.atlas-cell-column-hover{color:inherit!important;}
/* Existing image stays visible; visible status is an overlay only while the
   screenshot worker is actually refreshing. */
.atlas-landing-shot.is-updating .atlas-shot-placeholder{
 opacity:1!important;
 pointer-events:none;
 position:absolute;
 z-index:1;
 inset:0;
 display:flex;
 background:color-mix(in srgb,var(--panel) 86%,transparent);
 color:var(--text);
}
.atlas-landing-shot.is-updating .atlas-landing-thumb:not(.atlas-thumb-missing){opacity:1;}
.atlas-landing-shot.is-updating .atlas-shot-placeholder .atlas-icon{animation:atlasShotSpin 1.2s linear infinite;}

/* v0.10.73 — visual editor height, zoom and non-destructive hover inspection. */
.atlas-av-device-tools{display:inline-flex;flex:none;align-items:center;gap:8px;min-width:0;margin-left:8px;vertical-align:middle}
.atlas-av-device-tools .atlas-av-height-control{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;margin:0;font-size:12px;color:var(--muted)}
.atlas-av-device-tools [data-av-height]{box-sizing:border-box;width:73px!important;min-width:73px!important;height:32px!important;min-height:32px!important;padding:5px 7px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--control-bg)!important;color:var(--text)!important;font-size:12px!important;appearance:textfield}
.atlas-av-device-tools [data-av-height]::-webkit-outer-spin-button,.atlas-av-device-tools [data-av-height]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.atlas-av-device-tools .atlas-av-zoom-control{margin-left:0}
.atlas-av-inspect-button{display:grid;place-items:center;flex:none;width:33px;height:33px;border:1px solid var(--line);border-radius:8px;background:var(--control-bg,var(--panel));color:var(--text);cursor:pointer}
.atlas-av-inspect-button:hover{background:var(--soft)}
.atlas-av-inspect-button.active{border-color:var(--purple);color:var(--purple);background:color-mix(in srgb,var(--purple) 12%,var(--panel))}
.atlas-av-inspect-overlay{box-sizing:border-box;position:absolute;pointer-events:none;border:2px solid #4a93ff;background:rgba(74,147,255,.13);z-index:9999;min-width:2px;min-height:2px}
.atlas-av-inspect-overlay::before{content:attr(data-element);position:absolute;bottom:100%;left:-2px;padding:2px 6px;border-radius:4px 4px 0 0;background:#2979e7;color:white;font:11px/1.4 ui-monospace,monospace;white-space:nowrap}
.atlas-av-inspect-overlay[hidden]{display:none!important}
.atlas-av-height-grip{display:flex;align-items:center;justify-content:center;position:absolute;z-index:8500;width:65px;height:17px;transform:translate(-50%,-50%);border:1px solid var(--line);background:var(--panel);border-radius:5px;box-shadow:0 2px 8px #0002;cursor:ns-resize;touch-action:none;user-select:none}
.atlas-av-height-grip>span{width:22px;height:3px;border-radius:4px;background:var(--muted)}
.atlas-av-height-grip:hover,.atlas-av-height-grip.dragging{border-color:var(--purple)}
.atlas-av-height-grip[hidden]{display:none!important}
@media(max-width:650px){.atlas-av-device-tools{flex-wrap:wrap;gap:5px}.atlas-av-device-tools .atlas-av-height-control span,.atlas-av-device-tools .atlas-av-zoom-control span{display:none}}

/* Atlas v0.10.75 — row-drag selection and inline release date. */
#atlasSystemSummary .atlas-monitor-release{gap:7px;flex-wrap:wrap}
#atlasSystemSummary .atlas-monitor-release>strong{display:inline-flex;align-items:baseline;gap:6px;flex-wrap:wrap}
#atlasSystemSummary .atlas-monitor-release-date{display:inline;color:var(--muted);margin-left:0!important;width:auto!important;font-size:inherit;font-weight:400;white-space:nowrap}
@media(max-width:700px){#atlasSystemSummary .atlas-monitor-release-date{width:auto!important;margin-left:0!important}}
/* Row selection takes precedence over native text selection on desktop. */
@media (pointer:fine){
 #content .table-wrap table tbody tr,
 #atlasSystemSummary .atlas-monitor-services tbody tr{user-select:none;-webkit-user-select:none}
}
html.atlas-row-drag-active, html.atlas-row-drag-active *{user-select:none!important;-webkit-user-select:none!important}
#content .table-wrap tbody tr.atlas-row-drag-selected >td,
#atlasSystemSummary .atlas-monitor-services tbody tr.atlas-row-drag-selected >td{background:var(--soft)!important}
#content .table-wrap tbody tr.atlas-row-drag-selected >td:first-child,
#atlasSystemSummary .atlas-monitor-services tbody tr.atlas-row-drag-selected >td:first-child{box-shadow:inset 3px 0 var(--text)}

/* Atlas v0.10.76 — table selection options, same control design as Appearance. */
.page .atlas-appearance-page .atlas-row-drag-mode-control{
 border:0;min-width:0;width:100%;max-width:360px;margin:0;padding:0;flex:0 0 auto;
}
.page .atlas-appearance-page .atlas-row-drag-mode-control .atlas-appearance-options{
 width:100%;max-width:none;min-width:0;
}
.page .atlas-appearance-page .atlas-row-drag-mode-control:disabled,
.page .atlas-appearance-page .atlas-row-drag-mode-row.is-disabled .atlas-row-drag-mode-control{
 opacity:.45;
}
@media(max-width:700px){
 .page .atlas-appearance-page .atlas-row-drag-mode-control{max-width:none;width:100%;align-self:stretch;}
}

/* Atlas v0.10.77 — unified record action surface. Context menus remain borderless. */
html body .atlas-context{border:none!important}
/* Keep the actions column blank: accessible label only, no visible text. */
.atlas-row-action-th .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html body #content .table-wrap table td.atlas-row-action-cell,
html body #content .campaign-table td.atlas-row-action-cell{
 position:relative!important;box-sizing:border-box!important;
 padding:0!important;overflow:visible!important;
 width:calc(var(--atlas-action-count,1)*46px)!important;
 min-width:calc(var(--atlas-action-count,1)*46px)!important;
 max-width:calc(var(--atlas-action-count,1)*46px)!important;
 vertical-align:middle!important;
}
html body #content .table-wrap table th.atlas-row-action-th,
html body #content .campaign-table th.atlas-row-action-th{padding:0!important;text-align:center!important}
html body #content .table-wrap table .atlas-row-action-strip,
html body #content .campaign-table .atlas-row-action-strip{
 position:absolute!important;inset:0!important;
 display:flex!important;align-items:stretch!important;justify-content:stretch!important;
 width:100%!important;height:100%!important;max-width:none!important;
 gap:0!important;padding:0!important;margin:0!important;
}
html body #content .table-wrap table .atlas-row-action,
html body #content .campaign-table .atlas-row-action{
 display:inline-flex!important;flex:1 1 0!important;align-items:center!important;justify-content:center!important;
 min-width:0!important;min-height:40px!important;width:auto!important;height:auto!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;color:var(--text)!important;box-shadow:none!important;
 cursor:pointer;transition:background-color .12s;
}
html body #content .table-wrap table .atlas-row-action+.atlas-row-action,
html body #content .campaign-table .atlas-row-action+.atlas-row-action{border-left:1px solid var(--line)!important}
html body #content .table-wrap table .atlas-row-action:hover,
html body #content .table-wrap table .atlas-row-action:focus-visible,
html body #content .campaign-table .atlas-row-action:hover,
html body #content .campaign-table .atlas-row-action:focus-visible{
 background:var(--control-hover)!important;outline-offset:-2px;
}
html body #content .table-wrap table .atlas-row-action svg,
html body #content .campaign-table .atlas-row-action svg{width:19px!important;height:19px!important;flex:none}
/* Menu label and right-hand star use a single row; no extra borders or pill buttons. */
html body #atlasContext.atlas-record-menu{min-width:225px;max-width:min(310px,calc(100vw - 16px));padding:5px;gap:0;border:none!important}
#atlasContext .atlas-record-menu-row{display:flex;align-items:stretch;min-height:36px;gap:0;border-radius:8px;overflow:hidden}
#atlasContext .atlas-record-menu-row:hover{background:var(--control-hover)}
#atlasContext .atlas-record-menu-row>[data-context-action]{flex:1 1 auto;min-width:0;text-align:left;background:transparent!important;border:0!important;border-radius:0;padding:9px 11px}
#atlasContext .atlas-record-menu-row>[data-context-action]:hover,
#atlasContext .atlas-record-menu-row>[data-context-action]:focus-visible{background:transparent!important}
#atlasContext .atlas-record-menu-row>[data-context-action][disabled]{opacity:.43;cursor:not-allowed}
#atlasContext .atlas-record-menu-row>.atlas-context-pin{
 display:grid;place-items:center;flex:0 0 36px;width:36px;height:auto;
 border:0!important;border-radius:0!important;background:transparent!important;
 padding:0!important;color:var(--muted);cursor:pointer;
}
#atlasContext .atlas-record-menu-row>.atlas-context-pin:hover,
#atlasContext .atlas-record-menu-row>.atlas-context-pin:focus-visible{color:var(--text);background:var(--control-bg)!important}
#atlasContext .atlas-record-menu-row>.atlas-context-pin.is-pinned{color:var(--text)}
/* Flows in a campaign sheet use the same menu instead of per-action icons. */
.atlas-flow-more{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:var(--text);cursor:pointer}
.atlas-flow-more:hover,.atlas-flow-more:focus-visible{background:var(--control-hover)}
/* File drop decision dialog: exactly the same surface and footer rhythm as confirmations. */
html body .atlas-tree-confirm .atlas-confirm-dialog{border-radius:18px}
html body .atlas-tree-confirm .atlas-confirm-actions{
 display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;
 align-items:center!important;gap:9px!important;padding:15px 20px!important;
}
html body .atlas-tree-confirm .atlas-confirm-actions>button{
 width:auto!important;flex:0 0 auto!important;min-width:0!important;
 min-height:42px!important;border-radius:11px!important;
 font-family:inherit!important;font-size:13px!important;font-weight:600!important;
 padding:10px 15px!important;white-space:nowrap!important;
}
@media(max-width:700px){
 html body .atlas-tree-confirm .atlas-confirm-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
 html body .atlas-tree-confirm .atlas-confirm-actions>button{flex:1 1 auto!important;max-width:none!important}
 html body .atlas-tree-confirm [data-tree-choice="cancel"]{grid-column:auto!important}
}

#atlasContext .atlas-record-menu-row>.atlas-context-pin:disabled{opacity:.3;cursor:not-allowed;pointer-events:none}


/* Atlas v0.10.78 — consistent compact action cells across all entity tables. */
:root{--atlas-action-button-min:48px}
html body #content .table-wrap table th.atlas-row-action-th,
html body #content .table-wrap table td.atlas-row-action-cell,
html body #content .campaign-table th.atlas-row-action-th,
html body #content .campaign-table td.atlas-row-action-cell{
 box-sizing:border-box!important;
 width:calc(var(--atlas-action-count,1)*var(--atlas-action-button-min))!important;
 min-width:calc(var(--atlas-action-count,1)*var(--atlas-action-button-min))!important;
 max-width:calc(var(--atlas-action-count,1)*var(--atlas-action-button-min))!important;
 padding:0!important;
 border-left:0!important;
 border-right:0!important;
 vertical-align:middle!important;
 text-align:center!important;
}
/* Remove the old absolute fill — it escaped the cell on some table/density modes.
   height:1px makes 100%-height flex descendants track the row's used height. */
html body #content .table-wrap table td.atlas-row-action-cell,
html body #content .campaign-table td.atlas-row-action-cell{
 height:1px!important;
 overflow:hidden!important;
}
html body #content .table-wrap table .atlas-row-action-strip,
html body #content .campaign-table .atlas-row-action-strip{
 position:static!important;
 inset:auto!important;
 display:flex!important;
 width:100%!important;
 height:100%!important;
 min-height:40px!important;
 align-items:stretch!important;
 justify-content:stretch!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
}
html body #content .table-wrap table .atlas-row-action,
html body #content .campaign-table .atlas-row-action{
 display:flex!important;
 flex:1 1 0!important;
 min-width:var(--atlas-action-button-min)!important;
 width:0!important;
 height:100%!important;
 min-height:40px!important;
 justify-content:center!important;
 align-items:center!important;
 vertical-align:middle!important;
 line-height:1!important;
 overflow:hidden!important;
}
html body #content .table-wrap table .atlas-row-action svg,
html body #content .campaign-table .atlas-row-action svg{display:block!important;margin:auto!important}
/* 'Actions' is structural, and occupies the slot directly after checkboxes. */
html body #content .table-wrap table.atlas-column-table th.atlas-row-action-th,
html body #content .table-wrap table.atlas-column-table td.atlas-row-action-cell{
 padding:0!important;
}
/* Stars are shown for the currently hovered/focused action and all pinned actions. */
#atlasContext .atlas-record-menu-row>.atlas-context-pin{
 opacity:0!important;
 visibility:hidden!important;
 pointer-events:none!important;
 background:transparent!important;
 transition:opacity .12s ease,color .12s ease!important;
}
#atlasContext .atlas-record-menu-row:hover>.atlas-context-pin:not(:disabled),
#atlasContext .atlas-record-menu-row:focus-within>.atlas-context-pin:not(:disabled),
#atlasContext .atlas-record-menu-row>.atlas-context-pin.is-pinned{
 opacity:1!important;
 visibility:visible!important;
 pointer-events:auto!important;
}
#atlasContext .atlas-record-menu-row>.atlas-context-pin svg{fill:none;transition:fill .12s ease}
#atlasContext .atlas-record-menu-row>.atlas-context-pin.is-pinned svg,
#atlasContext .atlas-record-menu-row>.atlas-context-pin:hover svg,
#atlasContext .atlas-record-menu-row>.atlas-context-pin:focus-visible svg{fill:currentColor}
#atlasContext .atlas-record-menu-row>.atlas-context-pin:hover,
#atlasContext .atlas-record-menu-row>.atlas-context-pin:focus-visible{
 background:transparent!important;
 color:var(--text)!important;
}
/* Give spare width to a data column, never to the compact actions column.
   When table contents already exceed the viewport this does not add extra width. */
html body #content .table-wrap table:has(th.atlas-row-action-th) thead th:last-child:not(.atlas-row-action-th){width:100%!important}
html body #content .table-wrap table th.atlas-row-action-th .atlas-col-grip,
html body #content .table-wrap table th.atlas-row-action-th .atlas-col-resize{display:none!important}

/* Atlas v0.10.79 — consistent header, fixed columns and row action UX. */
/* Header has only a bottom separator. Vertical splitters appear when the header
   itself is hovered and can be grabbed, rather than being always visible. */
html body .page .table-wrap table thead th,
html body .page .campaign-table thead th,
html body #reportOutput table thead th,
html body #atlasSystemSummary table thead th{
 border-left:0!important;border-right:0!important;
 box-shadow:none!important;
}
html body .page .table-wrap table thead th .atlas-col-resize::after,
html body .page .campaign-table thead th .atlas-col-resize::after,
html body #reportOutput table thead th .atlas-col-resize::after{
 opacity:0!important;transition:opacity .14s ease!important;
}
html body .page .table-wrap table thead th:hover .atlas-col-resize::after,
html body .page .table-wrap table thead th .atlas-col-resize:hover::after,
html body .page .table-wrap table thead th .atlas-col-resize:focus-visible::after,
html body .page .campaign-table thead th:hover .atlas-col-resize::after,
html body #reportOutput table thead th:hover .atlas-col-resize::after,
html body .atlas-resizing .atlas-col-resize::after{
 opacity:1!important;
}
/* Check and ID have NO grips; actions can still be resized from their right edge. */
html body .table-wrap table th.atlas-id-cell,
html body .table-wrap table td.atlas-id-cell,
html body .campaign-table th.atlas-id-cell,
html body .campaign-table td.atlas-id-cell{
 box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;
 padding-left:5px!important;padding-right:5px!important;
 border-left:0!important;border-right:0!important;
 text-align:center!important;
}
html body .table-wrap table th.atlas-id-cell .atlas-col-grip,
html body .table-wrap table th.atlas-id-cell .atlas-col-resize,
html body .table-wrap table th.atlas-check-cell .atlas-col-grip,
html body .table-wrap table th.atlas-check-cell .atlas-col-resize,
html body .table-wrap table th.atlas-row-action-th .atlas-col-grip,
html body .table-wrap table th.atlas-row-action-th .atlas-col-resize{display:none!important}
html body .page .table-wrap table th:is(.atlas-check-cell,.atlas-row-action-th,.atlas-id-cell),
html body .page .table-wrap table th:is(.atlas-check-cell,.atlas-row-action-th,.atlas-id-cell):active{
 cursor:default!important;user-select:none!important;
}
/* Structural columns remain visible while scrolling horizontally. */
html body .table-wrap table.atlas-fixed-columns th.atlas-check-cell,
html body .table-wrap table.atlas-fixed-columns td.atlas-check-cell{
 position:sticky!important;left:0!important;z-index:8!important;
}
html body .table-wrap table.atlas-fixed-columns th.atlas-row-action-th,
html body .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell{
 position:sticky!important;left:var(--atlas-check-width,42px)!important;z-index:7!important;
}
html body .table-wrap table.atlas-fixed-columns th.atlas-id-cell,
html body .table-wrap table.atlas-fixed-columns td.atlas-id-cell{
 position:sticky!important;left:calc(var(--atlas-check-width,42px) + var(--atlas-action-width,48px))!important;z-index:6!important;
}
html body .table-wrap table.atlas-fixed-columns thead th:is(.atlas-check-cell,.atlas-row-action-th,.atlas-id-cell){z-index:17!important;background:var(--panel)!important;}
html body .table-wrap table.atlas-fixed-columns tbody td:is(.atlas-check-cell,.atlas-row-action-cell,.atlas-id-cell){background:var(--panel)!important;}
/* A resized actions column must not be overridden by the old formula. */
html body #content .table-wrap table.atlas-fixed-columns th.atlas-row-action-th,
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell,
html body #content .campaign-table.atlas-fixed-columns th.atlas-row-action-th,
html body #content .campaign-table.atlas-fixed-columns td.atlas-row-action-cell{
 width:var(--atlas-action-width,48px)!important;
 min-width:var(--atlas-action-width,48px)!important;
 max-width:var(--atlas-action-width,48px)!important;
 padding:0!important;text-align:center!important;
}
/* No boundaries between quick actions, and icons really centered. */
html body #content .table-wrap table .atlas-row-action+.atlas-row-action,
html body #content .campaign-table .atlas-row-action+.atlas-row-action{
 border-left:none!important;
}
html body #content .table-wrap table .atlas-row-action,
html body #content .campaign-table .atlas-row-action{
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-width:48px!important;text-align:center!important;
 padding:0!important;margin:0!important;
}
html body #content .table-wrap table .atlas-row-action svg,
html body #content .campaign-table .atlas-row-action svg{
 display:block!important;position:static!important;transform:none!important;
 margin:0 auto!important;flex:none!important;
}
/* Resize edge only visible on hover; draggable action icons never overlap it. */
html body .table-wrap table .atlas-row-action-th{position:sticky!important}
.atlas-actions-resize{
 position:absolute;right:0;top:0;bottom:0;width:9px;z-index:30;
 cursor:col-resize;touch-action:none;display:block;
}
.atlas-actions-resize::after{
 content:'';position:absolute;right:3px;top:18%;bottom:18%;width:2px;
 background:var(--text);opacity:0;transition:opacity .14s ease;
}
.atlas-row-action-th:hover .atlas-actions-resize::after,
.atlas-actions-resize:hover::after,.atlas-action-resizing .atlas-actions-resize::after{opacity:1}
.atlas-action-resizing,.atlas-action-resizing *{cursor:col-resize!important;user-select:none!important}
/* No default hover-like highlight on the selected star (unless hovered). */
#atlasContext .atlas-record-menu-row>.atlas-context-pin:not(:hover):not(.is-pinned){color:var(--muted)!important}
#atlasContext .atlas-record-menu-row>.atlas-context-pin:not(.is-pinned) svg{fill:none!important}
#atlasContext .atlas-record-menu-row>.atlas-context-pin:hover svg{fill:currentColor!important}
/* Lower-contrast hover; selection retains the former full-strength background. */
html body .page .table-wrap tbody tr:not(:has(.atlas-row-check:checked)):not(.atlas-row-drag-selected):hover >td,
html body .page .campaign-table tbody tr:not(:has(.atlas-row-check:checked)):hover >td,
html body #reportOutput .table-wrap tbody tr:not(:has(.atlas-row-check:checked)):not(.atlas-row-drag-selected):hover >td{
 background:color-mix(in srgb, var(--soft) 48%, var(--panel))!important;
}
html body .page .table-wrap tbody tr:has(.atlas-row-check:checked)>td,
html body .page .table-wrap tbody tr[aria-selected='true']>td,
html body .page .table-wrap tbody tr.atlas-row-drag-selected>td,
html body #reportOutput .table-wrap tbody tr:has(.atlas-row-check:checked)>td,
html body #reportOutput .table-wrap tbody tr.atlas-row-drag-selected>td{
 background:var(--soft)!important;
}
/* Preserve selected/hover backgrounds on the three sticky columns. */
html body .page .table-wrap table.atlas-fixed-columns tbody tr:not(:has(.atlas-row-check:checked)):not(.atlas-row-drag-selected):hover td:is(.atlas-check-cell,.atlas-row-action-cell,.atlas-id-cell){background:color-mix(in srgb, var(--soft) 48%, var(--panel))!important}
html body .page .table-wrap table.atlas-fixed-columns tbody tr:is([aria-selected='true'],.atlas-row-drag-selected) td:is(.atlas-check-cell,.atlas-row-action-cell,.atlas-id-cell),
html body .page .table-wrap table.atlas-fixed-columns tbody tr:has(.atlas-row-check:checked) td:is(.atlas-check-cell,.atlas-row-action-cell,.atlas-id-cell){background:var(--soft)!important}
/* Moving data columns get a dashed outline and move cursor, rather than
   changing row heights / forcing an immediate width recomputation. */
html body .page table.atlas-column-move-preview,
html body .page table.atlas-column-move-preview *{cursor:grabbing!important;user-select:none!important}
html body .page .table-wrap table :is(th,td).atlas-column-moving{
 background:color-mix(in srgb,var(--soft) 70%,var(--panel))!important;
 outline:1px dashed var(--muted)!important;outline-offset:-1px!important;
}
html body .page .table-wrap table th.atlas-column-drop-hint{box-shadow:inset 2px 0 var(--text)!important}
html body .page table.atlas-column-table thead th[data-atlas-fixed='1'] .atlas-col-grip{display:none!important}
@media(prefers-reduced-motion:reduce){.atlas-actions-resize::after,.atlas-col-resize::after{transition:none!important}}


/* Atlas v0.10.80 — one geometry for each table's structural columns.
   Overrides the old per-TD count formula and prior sticky/header rules. */
html body #content .table-wrap table.atlas-fixed-columns th.atlas-check-cell,
html body #content .table-wrap table.atlas-fixed-columns td.atlas-check-cell,
html body #content .campaign-table.atlas-fixed-columns th.atlas-check-cell,
html body #content .campaign-table.atlas-fixed-columns td.atlas-check-cell{
 box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;
 padding-left:0!important;padding-right:0!important;
}
html body #content .table-wrap table.atlas-fixed-columns th.atlas-id-cell,
html body #content .table-wrap table.atlas-fixed-columns td.atlas-id-cell,
html body #content .campaign-table.atlas-fixed-columns th.atlas-id-cell,
html body #content .campaign-table.atlas-fixed-columns td.atlas-id-cell{
 box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;
 padding:0 4px!important;text-align:center!important;
}
html body #content .table-wrap table.atlas-fixed-columns th.atlas-row-action-th,
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell,
html body #content .campaign-table.atlas-fixed-columns th.atlas-row-action-th,
html body #content .campaign-table.atlas-fixed-columns td.atlas-row-action-cell{
 box-sizing:border-box!important;
 width:var(--atlas-action-width,48px)!important;
 min-width:var(--atlas-action-width,48px)!important;
 max-width:var(--atlas-action-width,48px)!important;
 height:auto!important;padding:0!important;
 vertical-align:middle!important;overflow:hidden!important;
}
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell .atlas-row-action-strip,
html body #content .campaign-table.atlas-fixed-columns td.atlas-row-action-cell .atlas-row-action-strip{
 position:relative!important;inset:auto!important;
 display:flex!important;align-items:stretch!important;
 height:100%!important;min-height:40px!important;width:100%!important;
 overflow:hidden!important;gap:0!important;
}
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell .atlas-row-action,
html body #content .campaign-table.atlas-fixed-columns td.atlas-row-action-cell .atlas-row-action{
 flex:1 1 0!important;width:0!important;min-width:48px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 height:auto!important;min-height:40px!important;padding:0!important;
 border:0!important;background:transparent!important;
}
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell .atlas-row-action svg,
html body #content .campaign-table.atlas-fixed-columns td.atlas-row-action-cell .atlas-row-action svg{
 width:19px!important;height:19px!important;margin:auto!important;
}
/* Sticky offsets use the same declared action width as the TH and TD. */
html body #content .table-wrap table.atlas-fixed-columns th.atlas-row-action-th,
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell{
 left:42px!important;
}
html body #content .table-wrap table.atlas-fixed-columns th.atlas-id-cell,
html body #content .table-wrap table.atlas-fixed-columns td.atlas-id-cell{
 left:calc(42px + var(--atlas-action-width,48px))!important;
}
/* Uniform header canvas including locked columns (no white panels). */
html body #content .table-wrap table.atlas-fixed-columns thead th.atlas-check-cell,
html body #content .table-wrap table.atlas-fixed-columns thead th.atlas-row-action-th,
html body #content .table-wrap table.atlas-fixed-columns thead th.atlas-id-cell{
 background:var(--panel2)!important;background-clip:padding-box!important;
}
html body #content .table-wrap table.atlas-fixed-columns thead th:last-child:not(.atlas-check-cell):not(.atlas-row-action-th):not(.atlas-id-cell){
 width:auto!important;min-width:120px!important;
}
/* Normal data headers keep the same surface during horizontal scroll. */
html body #content .table-wrap table.atlas-fixed-columns thead th{
 background:var(--panel2)!important;box-shadow:none!important;
}
/* The selected state must paint a continuous band across sticky cells. */
html body #content .table-wrap table.atlas-fixed-columns tbody tr:has(.atlas-row-check:checked)>td.atlas-check-cell,
html body #content .table-wrap table.atlas-fixed-columns tbody tr:has(.atlas-row-check:checked)>td.atlas-row-action-cell,
html body #content .table-wrap table.atlas-fixed-columns tbody tr:has(.atlas-row-check:checked)>td.atlas-id-cell{
 background:var(--soft)!important;
}
/* Only the two outside dashed lines for a dragged column. Nothing on per-cell boxes. */
html body .page .table-wrap table :is(th,td).atlas-column-moving{outline:none!important;box-shadow:none!important}
.atlas-column-drag-guide{
 position:fixed;box-sizing:border-box;pointer-events:none;z-index:8000;
 border-left:2px dashed var(--muted);border-right:2px dashed var(--muted);
 background:color-mix(in srgb,var(--soft) 16%, transparent);
}
html body .page .table-wrap table.atlas-column-move-preview,
html body .page .table-wrap table.atlas-column-move-preview *{cursor:grabbing!important;user-select:none!important}
/* Reduce visual jumps: don't animate only the TH while the rest of the column has moved. */
html body .page .table-wrap table.atlas-column-table thead th{transition:background-color .12s ease!important;}
/* Root cause of the white gap: v0.10.77's ID-specific position:relative
   beat the v0.10.79 sticky rule. With left:42px that shifted each TD right. */
html body #content .table-wrap table.atlas-fixed-columns td.atlas-row-action-cell,
html body #content .campaign-table.atlas-fixed-columns td.atlas-row-action-cell{
 position:sticky!important;
 left:42px!important;
}

/* Atlas v0.10.81 — structural, NOT sticky columns.
   Check | actions | ID: immutable order/width. Width of actions = 44px per
   visible button, updated for the entire table by atlas-table-ui-v1081.js. */
:root{--atlas-action-button-min:44px;--atlas-action-button-size:44px;--atlas-id-width:76px}
html body #content .table-wrap table.atlas-structural-columns,
html body #content .campaign-table.atlas-structural-columns{
 --atlas-action-width:44px;
}
/* Even if a former version left .atlas-fixed-columns on an existing table,
   the structural columns must scroll away normally with the table. */
html body #content .table-wrap table:is(.atlas-structural-columns,.atlas-fixed-columns) :is(th,td):is(.atlas-check-cell,.atlas-row-action-th,.atlas-row-action-cell,.atlas-id-cell),
html body #content .campaign-table:is(.atlas-structural-columns,.atlas-fixed-columns) :is(th,td):is(.atlas-check-cell,.atlas-row-action-th,.atlas-row-action-cell,.atlas-id-cell){
 left:auto!important;right:auto!important;z-index:auto!important;
}
html body #content .table-wrap table:is(.atlas-structural-columns,.atlas-fixed-columns) tbody td:is(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-cell),
html body #content .campaign-table:is(.atlas-structural-columns,.atlas-fixed-columns) tbody td:is(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-cell){
 position:relative!important;
}
/* Header can still be sticky vertically as are other table headers, but not to the left. */
html body #content .table-wrap table:is(.atlas-structural-columns,.atlas-fixed-columns) thead th:is(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-th),
html body #content .campaign-table:is(.atlas-structural-columns,.atlas-fixed-columns) thead th:is(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-th){
 left:auto!important;right:auto!important;
 background:var(--panel2)!important;
}
html body #content .table-wrap table.atlas-structural-columns :is(th,td).atlas-check-cell,
html body #content .campaign-table.atlas-structural-columns :is(th,td).atlas-check-cell{
 box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;
 padding-left:0!important;padding-right:0!important;border-left:0!important;border-right:0!important;
}
html body #content .table-wrap table.atlas-structural-columns :is(th,td).atlas-id-cell,
html body #content .campaign-table.atlas-structural-columns :is(th,td).atlas-id-cell{
 box-sizing:border-box!important;width:var(--atlas-id-width)!important;
 min-width:var(--atlas-id-width)!important;max-width:var(--atlas-id-width)!important;
 border-left:0!important;border-right:0!important;
}
html body #content .table-wrap table.atlas-structural-columns th.atlas-id-cell,
html body #content .campaign-table.atlas-structural-columns th.atlas-id-cell{
 padding:0 25px 0 9px!important;text-align:left!important;overflow:hidden!important;
 text-overflow:clip!important;white-space:nowrap!important;
}
html body #content .table-wrap table.atlas-structural-columns th.atlas-id-cell[aria-sort]::after,
html body #content .campaign-table.atlas-structural-columns th.atlas-id-cell[aria-sort]::after{
 right:8px!important;left:auto!important;
}
html body #content .table-wrap table.atlas-structural-columns td.atlas-id-cell,
html body #content .campaign-table.atlas-structural-columns td.atlas-id-cell{
 padding:0 6px!important;text-align:center!important;
}
/* Neutralise previous hand-resizable/sticky width rules. */
html body #content .table-wrap table.atlas-structural-columns :is(th.atlas-row-action-th,td.atlas-row-action-cell),
html body #content .campaign-table.atlas-structural-columns :is(th.atlas-row-action-th,td.atlas-row-action-cell){
 box-sizing:border-box!important;width:var(--atlas-action-width,44px)!important;
 min-width:var(--atlas-action-width,44px)!important;
 max-width:var(--atlas-action-width,44px)!important;
 padding:0!important;border-left:0!important;border-right:0!important;
 vertical-align:middle!important;text-align:center!important;
 overflow:hidden!important;left:auto!important;
}
html body #content .table-wrap table.atlas-structural-columns td.atlas-row-action-cell,
html body #content .campaign-table.atlas-structural-columns td.atlas-row-action-cell{
 height:1px!important;position:relative!important;
}
html body #content .table-wrap table.atlas-structural-columns .atlas-row-action-strip,
html body #content .campaign-table.atlas-structural-columns .atlas-row-action-strip{
 position:relative!important;inset:auto!important;
 display:flex!important;align-items:stretch!important;justify-content:flex-start!important;
 width:100%!important;height:100%!important;min-height:40px!important;
 gap:0!important;padding:0!important;margin:0!important;overflow:hidden!important;
}
html body #content .table-wrap table.atlas-structural-columns .atlas-row-action,
html body #content .campaign-table.atlas-structural-columns .atlas-row-action{
 box-sizing:border-box!important;flex:0 0 var(--atlas-action-button-size)!important;
 width:var(--atlas-action-button-size)!important;
 min-width:var(--atlas-action-button-size)!important;
 max-width:var(--atlas-action-button-size)!important;
 min-height:40px!important;height:100%!important;padding:0!important;margin:0!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 border:0!important;border-radius:0!important;background:transparent!important;
}
html body #content .table-wrap table.atlas-structural-columns .atlas-row-action svg,
html body #content .campaign-table.atlas-structural-columns .atlas-row-action svg{
 width:18px!important;height:18px!important;display:block!important;
 margin:auto!important;transform:none!important;
}
html body #content .table-wrap table.atlas-structural-columns .atlas-row-action:hover,
html body #content .table-wrap table.atlas-structural-columns .atlas-row-action:focus-visible,
html body #content .campaign-table.atlas-structural-columns .atlas-row-action:hover,
html body #content .campaign-table.atlas-structural-columns .atlas-row-action:focus-visible{
 background:transparent!important;
}
/* Every structural column is locked. ID remains sortable, its resize grip is not. */
html body #content .table-wrap table.atlas-structural-columns th:is(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-th) :is(.atlas-col-grip,.atlas-col-resize,.atlas-actions-resize),
html body #content .campaign-table.atlas-structural-columns th:is(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-th) :is(.atlas-col-grip,.atlas-col-resize,.atlas-actions-resize){display:none!important}
html body #content .table-wrap table.atlas-structural-columns th:is(.atlas-check-cell,.atlas-row-action-th),
html body #content .campaign-table.atlas-structural-columns th:is(.atlas-check-cell,.atlas-row-action-th){cursor:default!important}
html body #content .table-wrap table.atlas-structural-columns th.atlas-id-cell[data-sortable],
html body #content .campaign-table.atlas-structural-columns th.atlas-id-cell[data-sortable]{cursor:pointer!important}
/* Updating only the favorites button count animates the whole column together. */
html body #content .table-wrap table.atlas-structural-columns.atlas-action-animated :is(th.atlas-row-action-th,td.atlas-row-action-cell),
html body #content .campaign-table.atlas-structural-columns.atlas-action-animated :is(th.atlas-row-action-th,td.atlas-row-action-cell){
 transition:width .22s ease,min-width .22s ease,max-width .22s ease!important;
}
@media(prefers-reduced-motion:reduce){
 html body #content .table-wrap table.atlas-structural-columns.atlas-action-animated :is(th.atlas-row-action-th,td.atlas-row-action-cell),
 html body #content .campaign-table.atlas-structural-columns.atlas-action-animated :is(th.atlas-row-action-th,td.atlas-row-action-cell){transition:none!important}
}
/* Context menus: one distinct vector icon for every operation, no emoji. */
html body #atlasContext.atlas-record-menu [data-context-action],
html body #atlasContext:not(.atlas-record-menu)>[data-context-action]{
 display:flex!important;align-items:center!important;gap:10px!important;
 text-align:left!important;white-space:nowrap;
}
#atlasContext .atlas-context-action-icon{
 width:18px;height:18px;flex:0 0 18px;
 display:inline-flex;align-items:center;justify-content:center;color:inherit;
}
#atlasContext .atlas-context-action-icon svg{width:18px;height:18px;display:block;flex:none}
#atlasContext .atlas-context-action-label{min-width:0;overflow:hidden;text-overflow:ellipsis}

/* Atlas v0.10.82 — quiet action icons. Only the icon becomes brighter on hover;
   a hovered row or a selected row must NOT brighten individual actions. */
html body #content .table-wrap table .atlas-row-action,
html body #content .campaign-table .atlas-row-action,
html body #content .flow-list-row .atlas-flow-more {
  color:var(--muted)!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:color .14s ease!important;
}
html body #content .table-wrap table .atlas-row-action:hover,
html body #content .table-wrap table .atlas-row-action:focus-visible,
html body #content .campaign-table .atlas-row-action:hover,
html body #content .campaign-table .atlas-row-action:focus-visible,
html body #content .flow-list-row .atlas-flow-more:hover,
html body #content .flow-list-row .atlas-flow-more:focus-visible {
  color:var(--text)!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media(prefers-reduced-motion:reduce){
  html body #content .table-wrap table .atlas-row-action,
  html body #content .campaign-table .atlas-row-action,
  html body #content .flow-list-row .atlas-flow-more {transition:none!important}
}

/* v0.10.83: after a legacy resize, fixed-layout COL widths are reconciled
   by atlas-table-ui-v1083.js; no standalone per-row action width here. */
html body #content table.atlas-structural-columns col.atlas-structure-actions {
  min-width:var(--atlas-action-width,44px);
}


/* === Atlas Tracker v0.10.84: structural header, compact table switches === */
/* A single sticky THEAD keeps all headers on the same horizontal scroll plane.
   Legacy per-TH sticky positioning was painting Check/Actions/ID above other THs. */
html body #content .table-wrap table.atlas-structural-columns thead,
html body #content .campaign-table.atlas-structural-columns thead,
html body #reportOutput .table-wrap table.atlas-structural-columns thead{
  position:sticky!important;top:0!important;z-index:8!important;
}
html body #content .table-wrap table.atlas-structural-columns thead th,
html body #content .campaign-table.atlas-structural-columns thead th,
html body #reportOutput .table-wrap table.atlas-structural-columns thead th{
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;
  z-index:auto!important;transform:none!important;
  background:var(--panel2)!important;
}
/* Even transient old classes must never make the three service columns horizontally sticky. */
html body #content .table-wrap table:is(.atlas-fixed-columns,.atlas-structural-columns) :is(th,td):is(.atlas-check-cell,.atlas-row-action-th,.atlas-row-action-cell,.atlas-id-cell){left:auto!important;right:auto!important}
/* The switch must not set a hard lower bound on the compact density. */
html[data-atlas-density='compact'] #content .table-wrap tbody td:has(.atlas-status-toggle),
html[data-atlas-density='compact'] #content .campaign-table tbody td:has(.atlas-status-toggle){padding-top:3px!important;padding-bottom:3px!important}
html[data-atlas-density='compact'] #content .table-wrap .atlas-status-toggle,
html[data-atlas-density='compact'] #content .campaign-table .atlas-status-toggle{
 width:31px!important;min-width:31px!important;flex-basis:31px!important;
 height:18px!important;min-height:18px!important;padding:1px!important;
}
html[data-atlas-density='compact'] #content .table-wrap .atlas-status-toggle>span,
html[data-atlas-density='compact'] #content .campaign-table .atlas-status-toggle>span{
 width:14px!important;min-width:14px!important;height:14px!important;min-height:14px!important;
}
html[data-atlas-density='compact'] #content .table-wrap .atlas-status-toggle[aria-checked="true"]>span,
html[data-atlas-density='compact'] #content .campaign-table .atlas-status-toggle[aria-checked="true"]>span{transform:translateX(12px)!important}
html[data-atlas-density='compact'] #content .table-wrap table.atlas-structural-columns .atlas-row-action-strip,
html[data-atlas-density='compact'] #content .campaign-table.atlas-structural-columns .atlas-row-action-strip,
html[data-atlas-density='compact'] #content .table-wrap table.atlas-structural-columns .atlas-row-action,
html[data-atlas-density='compact'] #content .campaign-table.atlas-structural-columns .atlas-row-action{min-height:26px!important}
@media(max-width:700px){
 /* Keep finger targets usable on mobile, even when density is compact. */
 html[data-atlas-density='compact'] #content .table-wrap table.atlas-structural-columns .atlas-row-action,
 html[data-atlas-density='compact'] #content .table-wrap table.atlas-structural-columns .atlas-row-action-strip{min-height:32px!important}
}
/* Column totals are a report-only feature. Do not leave empty space in other lists. */
#content .atlas-column-totals{display:none!important}
#content #reportOutput .atlas-column-totals{display:block!important}

/* === v0.10.84: overlapping animated notifications === */
#toast.toast{display:none!important} /* old single-message host; keep the node for compatibility */
#atlasToastStack{position:fixed;left:0;right:0;bottom:25px;z-index:10010;pointer-events:none;height:0;isolation:isolate}
#atlasToastStack .atlas-stacked-toast{
 position:absolute;bottom:0;left:50%;box-sizing:border-box;
 display:flex;gap:10px;align-items:center;width:max-content;
 max-width:min(620px,calc(100vw - 32px));padding:11px 15px;
 color:#fff;background:#252525;border:1px solid rgba(255,255,255,.12);
 box-shadow:0 7px 26px rgba(0,0,0,.22);border-radius:12px;
 font-family:inherit;line-height:1.45;font-weight:500;font-size:calc(13px + var(--atlas-font-step,0px));
 opacity:0;
 transform:translate(-50%,calc(16px - var(--atlas-toast-depth,0)*7px)) scale(calc(1 - var(--atlas-toast-depth,0)*.018));
 transition:transform .23s cubic-bezier(.2,.75,.2,1),opacity .2s ease;
 overflow-wrap:anywhere;
}
#atlasToastStack .atlas-stacked-toast.is-visible{
 opacity:1;transform:translate(-50%,calc(-1 * var(--atlas-toast-depth,0)*7px)) scale(calc(1 - var(--atlas-toast-depth,0)*.018));
}
#atlasToastStack .atlas-stacked-toast.is-leaving{
 opacity:0;transform:translate(-50%,calc(12px - var(--atlas-toast-depth,0)*7px)) scale(.96);
}
#atlasToastStack .atlas-toast-icon{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;
 width:19px;height:19px;border-radius:50%;background:#347c61;color:#fff;
 font-size:12px;font-weight:750;line-height:1;
}
#atlasToastStack .atlas-toast-error .atlas-toast-icon{background:#bb4949}
@media(max-width:700px){#atlasToastStack{bottom:calc(91px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){#atlasToastStack .atlas-stacked-toast{transition:none!important}}

/* === v0.10.84: pagination select uses the same Choices skin === */
.atlas-pager-controls .choices{margin:0!important;min-width:74px;max-width:105px;font-size:calc(12px + var(--atlas-font-step,0px))!important}
.atlas-pager-controls .choices__inner{
 box-sizing:border-box!important;min-height:33px!important;height:33px!important;
 border:1px solid var(--line)!important;border-radius:9px!important;
 background:var(--panel)!important;color:var(--text)!important;padding:4px 25px 4px 9px!important;
 display:flex!important;align-items:center!important;box-shadow:none!important;
}
.atlas-pager-controls .choices__list--single{padding:0!important}
.atlas-pager-controls .choices[data-type*=select-one]::after{right:10px!important}
.atlas-pager-controls .choices__list--dropdown,.atlas-pager-controls .choices__list[aria-expanded]{z-index:1100!important;min-width:100%!important}
@media(max-width:700px){.atlas-pager-controls .choices{min-width:66px;max-width:82px}.atlas-pager-controls .choices__inner{height:32px!important;min-height:32px!important}}

/* === v0.10.84: mobile export uses the window-position preference === */
@media(max-width:700px){
 html body #atlasExportLayer:not(.hidden){
  display:flex!important;justify-content:stretch!important;align-items:stretch!important;
  inset:0!important;padding:0!important;z-index:1450!important;
 }
 html body #atlasExportLayer .atlas-export-drawer{
  box-sizing:border-box!important;flex:1 1 auto!important;width:100%!important;max-width:100vw!important;
  height:var(--atlas-app-height,100dvh)!important;max-height:var(--atlas-app-height,100dvh)!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;
 }
 html[data-atlas-window-position='center'] body #atlasExportLayer:not(.hidden){
  justify-content:center!important;align-items:center!important;padding:12px!important;
 }
 html[data-atlas-window-position='center'] body #atlasExportLayer .atlas-export-drawer{
  flex:0 1 460px!important;width:min(460px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  height:auto!important;max-height:min(88dvh,calc(var(--atlas-app-height,100dvh) - 24px))!important;
  border:0!important;border-radius:15px!important;
 }
}

/* === v0.10.84: reliable standalone / iOS WebKit viewport geometry === */
:root.atlas-standalone .layout{min-height:var(--atlas-app-height,100dvh)!important}
:root.atlas-standalone .sidebar{height:var(--atlas-app-height,100dvh)!important;max-height:var(--atlas-app-height,100dvh)!important}
:root.atlas-standalone #modalBg,:root.atlas-standalone #atlasExportLayer,:root.atlas-standalone .campaign-shell{height:var(--atlas-app-height,100dvh)!important}
:root.atlas-standalone #modalBg>.modal,:root.atlas-standalone #atlasExportLayer .atlas-export-drawer{
 max-height:var(--atlas-app-height,100dvh)!important;
}
@media(max-width:700px){
 :root.atlas-standalone #content .table-wrap,:root.atlas-standalone #content .campaign-table-wrap{
  max-height:calc(var(--atlas-app-height,100dvh) - 136px)!important;
 }
 :root.atlas-standalone body.atlas-has-mobile-toolbar #content .table-wrap,
 :root.atlas-standalone body.atlas-has-mobile-toolbar #content .campaign-table-wrap{
  max-height:calc(var(--atlas-app-height,100dvh) - 193px)!important;
 }
 :root.atlas-standalone .atlas-mobile-layer:not(.hidden),:root.atlas-standalone #modalBg{
  max-height:var(--atlas-app-height,100dvh)!important;
 }
}

/* Compact applies to cell padding as well as the embedded switch. */
html[data-atlas-density='compact'] body #content .table-wrap tbody td,
html[data-atlas-density='compact'] body #content .campaign-table tbody td{
 padding-top:3px!important;padding-bottom:3px!important;
}


/* === Atlas Tracker v0.10.85: restrained toast stack and pager behavior === */
/* Older toasts are only slightly visible behind the latest, maximum three. */
#atlasToastStack .atlas-stacked-toast{transform-origin:50% 100%;}
#atlasToastStack .atlas-stacked-toast.is-visible{
 transform:translate(-50%,calc(-1 * var(--atlas-toast-depth,0)*7px)) scale(calc(1 - var(--atlas-toast-depth,0)*.018));
}
#atlasToastStack .atlas-stacked-toast.is-leaving{
 transform:translate(-50%,calc(10px - var(--atlas-toast-depth,0)*7px)) scale(.96);
}
/* No divider over Settings/System shortcuts in expanded/collapsed/mobile modes. */
html body .sidebar .sidebar-bottom{border-top:0!important;box-shadow:none!important;}
html body .sidebar .sidebar-bottom::before{content:none!important;display:none!important;}
/* The pager remains outside the scrollable table; its menu opens above the control. */
html body #content .atlas-pager,html body #reportOutput .atlas-pager,
html body #content .atlas-pager-controls{overflow:visible!important;}
.atlas-pager-controls .choices.is-flipped .choices__list--dropdown,
.atlas-pager-controls .choices.is-flipped .choices__list[aria-expanded]{
 bottom:calc(100% + 3px)!important;top:auto!important;transform:none!important;
}
.atlas-pager-controls .choices__list--dropdown,
.atlas-pager-controls .choices__list[aria-expanded]{
 z-index:1200!important;max-height:min(260px,45dvh)!important;
}
/* Compact rows: two pixels more breathing room on each side, without
   changing the normal / spacious density modes. */
html[data-atlas-density='compact'] body #content .table-wrap tbody td,
html[data-atlas-density='compact'] body #content .campaign-table tbody td,
html[data-atlas-density='compact'] body #content .table-wrap tbody td:has(.atlas-status-toggle),
html[data-atlas-density='compact'] body #content .campaign-table tbody td:has(.atlas-status-toggle){
 padding-top:5px!important;padding-bottom:5px!important;
}
/* Single 1px guide on either outer edge of a moving column. */
html body .atlas-column-drag-guide{border-left-width:1px!important;border-right-width:1px!important;}


/* Atlas v0.10.86 — full-width table reset and structural column stability.
   The table fills the viewport by default while respecting widths saved for
   manually resizable data columns. Horizontal overflow remains on the wrapper. */
html body #content .table-wrap,
html body #content .campaign-table-wrap,
html body #reportOutput .table-wrap {
 width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
}
html body #content .table-wrap > table,
html body #content .campaign-table-wrap > table,
html body #reportOutput .table-wrap > table {
 min-width:100%!important;
 max-width:none!important;
 box-sizing:border-box!important;
}
/* Never allow account reset / saved widths to collapse an entity table.
   Explicit column widths are still respected when their sum exceeds 100%. */
html body #content .table-wrap > table.atlas-column-table,
html body #content .campaign-table-wrap > table.atlas-column-table,
html body #reportOutput .table-wrap > table.atlas-column-table{
 width:100%!important;
 min-width:100%!important;
}
/* The pagination control lives in the bottom dock, but its choices now render
   in a viewport-anchored layer rather than underneath a scroll clipping parent. */
.atlas-pager .atlas-pager-portal-menu{
 position:fixed!important;z-index:2147480000!important;
}
.atlas-pager-controls .choices.atlas-pager-portal-open .choices__list--dropdown,
.atlas-pager-controls .choices.atlas-pager-portal-open .choices__list[aria-expanded]{display:none!important}
.atlas-pager-popover{
 position:fixed!important;z-index:2147480000!important;
 box-sizing:border-box;min-width:76px;max-height:min(275px,60dvh);
 overflow-y:auto;overscroll-behavior:contain;
 padding:4px;border-radius:11px;border:1px solid var(--line);
 background:var(--panel);color:var(--text);
 box-shadow:0 8px 25px rgba(0,0,0,.16);
}
.atlas-pager-popover button{
 display:block;width:100%;height:32px;min-height:32px;padding:4px 9px;
 border:0;border-radius:7px;background:transparent;color:inherit;
 font:inherit;font-size:13px;text-align:left;cursor:pointer;
}
.atlas-pager-popover button:hover,.atlas-pager-popover button:focus-visible{
 background:var(--soft);outline:none;
}
.atlas-pager-popover button[aria-selected="true"]{font-weight:600;background:var(--soft)}
/* Regardless of any stale inline size from a rejected drag, ID/checkbox
   remain the same dimensions as in v0.10.81. */
html body #content .table-wrap table.atlas-structural-columns :is(th,td).atlas-id-cell,
html body #content .campaign-table.atlas-structural-columns :is(th,td).atlas-id-cell{
 width:76px!important;min-width:76px!important;max-width:76px!important;
}
html body #content .table-wrap table.atlas-structural-columns :is(th,td).atlas-check-cell,
html body #content .campaign-table.atlas-structural-columns :is(th,td).atlas-check-cell{
 width:42px!important;min-width:42px!important;max-width:42px!important;
}


/* Atlas v0.10.87 — horizontal navigation surface from TH to Totals.
   The mobile height is calculated from the actual bottom dock coordinates;
   keep the scrollport itself (not just the table) finger-scrollable. */
html body #content.page > .table-wrap,
html body #content.page > .campaign-table-wrap,
html body #content.page #reportOutput > .table-wrap {
  overscroll-behavior-x:none!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;
}
@media(max-width:700px){
 html body #content.page > .table-wrap.atlas-full-scroll-surface,
 html body #content.page > .campaign-table-wrap.atlas-full-scroll-surface,
 html body #content.page #reportOutput > .table-wrap.atlas-full-scroll-surface {
   display:block!important;
   height:var(--atlas-scroll-surface-height)!important;
   min-height:0!important;
   max-height:none!important;
   overflow-x:auto!important;
   overflow-y:auto!important;
   overscroll-behavior-x:none!important;
   touch-action:pan-x pan-y!important;
   box-sizing:border-box!important;
 }
}

/* Atlas v0.10.88 — one mobile font scale for native data tables.
   Prevent WebKit text inflation inside wide horizontal scrollers.  Do not
   change settings dialogs, the code editor, icon sizes or desktop density. */
@media (max-width:700px) {
  html body #content .table-wrap table,
  html body #content .campaign-table-wrap table {
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }
  html body #content .table-wrap table thead th,
  html body #content .campaign-table-wrap table thead th {
    font-size:calc(11px + var(--atlas-font-step,0px))!important;
  }
  html body #content .table-wrap table tbody td,
  html body #content .table-wrap table tfoot td,
  html body #content .campaign-table-wrap table tbody td,
  html body #content .campaign-table-wrap table tfoot td {
    font-size:calc(12px + var(--atlas-font-step,0px))!important;
    line-height:1.45!important;
  }
  /* Names were inconsistently enlarged because old rules targeted inline b/
     strong, while another list used spans.  Keep each name at its cell size. */
  html body #content .table-wrap table tbody td.atlas-record-name :is(b,strong,span,a),
  html body #content .table-wrap table tbody td .landing-table-title,
  html body #content .table-wrap table tbody td .flat-table-link,
  html body #content .campaign-table-wrap table tbody td .campaign-open {
    font-size:inherit!important;
    line-height:inherit!important;
  }
}

/* Atlas 0.10.91 — campaign and flow editor. Isolated from main data table UX. */
#campaignShell .atlas-campaign-heading{border-bottom:1px solid var(--line);padding:10px 58px 17px 0;margin-bottom:18px}
#campaignShell .atlas-campaign-heading h1{font-weight:600;font-size:calc(20px + var(--atlas-font-step,0px));line-height:1.35;margin:0}
#campaignShell .campaign-config-layout.atlas-campaign-editor{display:grid;grid-template-columns:minmax(285px,.78fr) minmax(390px,1.22fr);align-items:start;gap:18px}
#campaignShell .campaign-config-column,#campaignShell .flow-section{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-width:0;overflow:hidden}
#campaignShell .campaign-flows-column{min-width:0;display:flex;flex-direction:column;gap:12px}
#campaignShell .flow-create-bar{display:flex;justify-content:flex-end;padding:1px 0 4px}
#campaignShell .flow-group-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:10px 13px;border-bottom:1px solid var(--line)}
#campaignShell .flow-group-heading h3{margin:0;font-size:13px;font-weight:600}
#campaignShell .atlas-flow-card{display:block!important;padding:0!important;min-width:0;border-bottom:1px solid var(--line);background:transparent}
#campaignShell .atlas-flow-card:last-child{border-bottom:0}
#campaignShell .atlas-flow-card-header{display:flex;gap:9px;align-items:center;min-width:0;padding:12px 12px 5px}
#campaignShell .atlas-flow-card-title{display:block;flex:1 1 auto;min-width:85px;text-align:left;color:var(--text);font-size:13px;font-weight:600;white-space:normal;overflow-wrap:anywhere;border:0;background:none;padding:0;cursor:pointer}
#campaignShell .atlas-flow-card-title:hover{color:var(--accent, var(--text))}
#campaignShell .atlas-flow-card-stats{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--muted);font-size:11px}
#campaignShell .atlas-flow-card-stats span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
#campaignShell .atlas-flow-card-stats b{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
#campaignShell .atlas-flow-card-details{display:flex;flex-direction:column;gap:9px;padding:5px 14px 14px 41px;font-size:12px;line-height:1.45}
#campaignShell .atlas-flow-card-target,#campaignShell .atlas-flow-card-filters{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:start;overflow-wrap:anywhere}
#campaignShell .atlas-flow-detail-label{font-size:11px;color:var(--muted);padding-top:1px}
#campaignShell .atlas-flow-card-target button{border:0;padding:0;background:none;color:var(--text);font-size:inherit;line-height:inherit;text-align:left;cursor:pointer;font-weight:500;overflow-wrap:anywhere}
#campaignShell .atlas-flow-card-target button:hover{text-decoration:underline}
#campaignShell .atlas-flow-card-filters>span:last-child{color:var(--muted);white-space:normal}
#campaignShell .atlas-flow-rule-join{opacity:.5}
#campaignShell .flow-sort-list{min-width:0}
#modalBg .atlas-flow-tabs{display:flex;gap:3px;overflow-x:auto;border-bottom:1px solid var(--line);padding-bottom:0;margin:0 0 22px}
#modalBg .atlas-flow-tabs button{flex:1 0 auto;white-space:nowrap;min-height:42px;font-size:12px;border-radius:0;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted)}
#modalBg .atlas-flow-tabs button.active{color:var(--text);border-bottom-color:var(--text);font-weight:600}
#modalBg .atlas-flow-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#modalBg .atlas-flow-schemes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:2px 0 20px}
#modalBg .atlas-flow-scheme{min-width:0;min-height:47px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font-size:12px;padding:8px 3px;cursor:pointer}
#modalBg .atlas-flow-scheme.active{background:var(--control-hover);border-color:var(--muted);font-weight:600}
#modalBg .atlas-flow-scheme:hover{background:var(--control-hover)}
#modalBg .atlas-flow-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
#modalBg .atlas-flow-section-head strong{font-size:13px}
#modalBg .atlas-flow-section-head p{margin:5px 0 0}
#modalBg .atlas-flow-section-head button{white-space:nowrap;font-size:12px}
#modalBg .atlas-flow-pool-head,#modalBg .atlas-flow-pool-row{display:grid;grid-template-columns:minmax(0,1fr) 92px 36px;gap:10px;align-items:center}
#modalBg .atlas-flow-pool-head{color:var(--muted);font-size:11px;padding:9px 9px;border-bottom:1px solid var(--line)}
#modalBg .atlas-flow-pool-row{padding:9px;border-bottom:1px solid var(--line)}
#modalBg .atlas-flow-pool-name{min-width:0;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
#modalBg .atlas-flow-pool-name strong{font-size:12px;font-weight:565}
#modalBg .atlas-flow-pool-name small{font-size:11px;color:var(--muted)}
#modalBg .atlas-flow-percent{display:flex;align-items:center;gap:4px;min-width:0;color:var(--muted);font-size:12px}
#modalBg .atlas-flow-percent input{width:60px;min-width:0;height:34px;text-align:center;padding:5px 3px;box-sizing:border-box}
#modalBg .atlas-flow-pool-remove{border:0;background:none;color:var(--muted);font-size:19px;cursor:pointer;height:36px;width:36px;border-radius:8px}
#modalBg .atlas-flow-pool-remove:hover{color:var(--text);background:var(--control-hover)}
#modalBg .atlas-flow-pool-total{text-align:right;padding:12px 48px 0 8px;font-size:12px;color:var(--muted)}
#modalBg .atlas-flow-pool-total strong{color:var(--text)}
#modalBg .atlas-flow-empty-pool{border:1px dashed var(--line);border-radius:10px;color:var(--muted);padding:26px 12px;text-align:center;font-size:12px}
.atlas-landing-picker-layer{position:fixed;inset:0;z-index:100500;display:flex;align-items:center;justify-content:center;padding:12px;color:var(--text)}
.atlas-landing-picker-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.49)}
.atlas-landing-picker{z-index:1;width:min(650px,100%);height:min(720px,92dvh);min-height:320px;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 65px rgba(0,0,0,.2);overflow:hidden}
.atlas-landing-picker>header{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none}
.atlas-landing-picker h2{font-size:16px;font-weight:600;margin:0}
.atlas-landing-picker>header button{border:0;background:none;color:var(--muted);font-size:23px;cursor:pointer}
.atlas-landing-picker-search{padding:12px 16px;border-bottom:1px solid var(--line);flex:none}
.atlas-landing-picker-search input{width:100%;height:40px;font-size:13px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:var(--bg);color:var(--text)}
.atlas-landing-picker>footer{border-top:1px solid var(--line);padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}
.atlas-landing-picker>footer>div{display:flex;align-items:center;gap:9px}
@media(max-width:850px){
 #campaignShell .campaign-config-layout.atlas-campaign-editor{grid-template-columns:minmax(0,1fr)}
 #campaignShell .campaign-flows-column{order:2}
 #campaignShell .atlas-flow-card-stats{gap:7px;font-size:10px}
 #campaignShell .atlas-flow-card-header{gap:6px;padding:10px 9px 5px}
 #campaignShell .atlas-flow-card-details{padding-left:24px}
}
@media(max-width:460px){
 #modalBg .atlas-flow-schemes{grid-template-columns:repeat(2,minmax(0,1fr))}
 #modalBg .atlas-flow-section-head{align-items:flex-start;flex-wrap:wrap}
 #modalBg .atlas-flow-field-grid{grid-template-columns:minmax(0,1fr)}
 .atlas-landing-picker-layer{padding:0}
 .atlas-landing-picker{height:100dvh;max-height:100dvh;border-radius:0;border:0}
}

/* v0.10.92 — Campaign dialog follows the shared modal structure. */
#campaignShell .atlas-campaign-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:11px 60px 11px 24px;border-bottom:1px solid var(--line);flex-shrink:0;background:var(--panel)}
#campaignShell .atlas-campaign-dialog-head h2{min-width:0;margin:0;font-size:calc(17px + var(--atlas-font-step, 0px));font-weight:650;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#campaignShell .campaign-sheet-close{position:absolute!important;top:10px!important;right:15px!important;width:38px;min-height:38px;display:flex;align-items:center;justify-content:center}
#campaignShell .atlas-campaign-scroll{padding-top:19px!important}
#campaignShell .flow-create-bar{display:flex!important;justify-content:flex-end!important;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 13px!important}
#campaignShell .atlas-flow-date-control{min-width:185px;max-width:250px;margin:0}
#campaignShell .atlas-flow-date-control input#atlasFlowRange{width:100%;min-height:36px;cursor:pointer}
#campaignShell .atlas-flow-card-target>[data-flow-landing-open]{display:block;text-align:left;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#campaignShell .atlas-flow-landing-list{display:flex;flex-direction:column;gap:7px;padding:2px 0}
#campaignShell .atlas-flow-landing-line{display:flex;align-items:flex-start;gap:9px;line-height:1.4}
#campaignShell .atlas-flow-landing-weight{flex:0 0 40px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
#campaignShell .atlas-flow-landing-name{min-width:0;text-align:left;font-weight:500;color:var(--text)}
#campaignShell .atlas-flow-landing-id{font-weight:400;color:var(--muted)}
#campaignShell .atlas-flow-rule{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:baseline;padding:2px 7px;border-radius:6px;line-height:1.6}
#campaignShell .atlas-flow-rule.is-inclusion{color:var(--success,#237a59);background:color-mix(in srgb,currentColor 7%,transparent)}
#campaignShell .atlas-flow-rule.is-exclusion{color:var(--danger,#b24942);background:color-mix(in srgb,currentColor 7%,transparent)}
#campaignShell .atlas-flow-rule strong{font-weight:600}
#campaignShell .atlas-flow-rule-join{display:inline-block;padding:0 5px;color:var(--muted);font-size:11px}
#campaignShell .atlas-flow-rule-group{display:inline}
.atlas-domain-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:7px;font-size:12px;font-weight:550;white-space:nowrap}
.atlas-domain-badge.is-ok{color:#237a59;background:rgba(35,122,89,.09)}
.atlas-domain-badge.is-down{color:#b24942;background:rgba(178,73,66,.1)}
.atlas-domain-badge.is-muted{color:var(--muted);background:var(--soft)}
.atlas-domain-summary{display:flex;align-items:center;gap:9px;color:#b24942;padding:12px 14px;font-size:13px;border-bottom:1px solid var(--line)}
.atlas-domain-summary svg{width:18px;height:18px;flex-shrink:0}
.atlas-domain-monitor-info{padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:13px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.atlas-domain-monitor-info strong{width:100%;font-weight:600}
.atlas-domain-monitor-info p{width:100%;margin:0}
.atlas-domain-recheck{min-height:34px!important}
@media(max-width:700px){#campaignShell .atlas-campaign-dialog-head{min-height:55px;padding:10px 52px 10px 14px}#campaignShell .flow-create-bar{justify-content:stretch!important}#campaignShell .atlas-flow-date-control{flex:1;min-width:142px}#campaignShell .flow-create-bar .primary{flex:0 0 auto}}

/* Domain monitoring warning appears only on confirmed failures. */
#nav .atlas-nav-domain-alert{display:inline-block;flex:0 0 7px;width:7px;height:7px;background:#c04b4b;border-radius:50%;margin-left:auto}


/* v0.10.93 — flows, landing selection and diagnostics (scoped only). */
.atlas-shot-refresh:disabled .atlas-icon,.atlas-landing-shot.is-updating .atlas-shot-placeholder .atlas-icon{animation:none!important;transform:none!important}
#campaignShell .atlas-flow-card.is-disabled .atlas-flow-card-header>:not(.atlas-flow-toggle),
#campaignShell .atlas-flow-card.is-disabled .atlas-flow-card-details{opacity:.47}
#campaignShell .atlas-flow-card.is-disabled .atlas-flow-toggle{opacity:1!important}
#campaignShell .atlas-flow-card-target button:hover{text-decoration:none!important;color:var(--text)}
#campaignShell .atlas-flow-target-text{display:block;overflow-wrap:anywhere;font-weight:500;color:var(--text)}
#modalBg .atlas-flow-pool-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#modalBg .atlas-flow-pool-row{grid-template-columns:minmax(0,1fr) 82px 36px}
#modalBg .atlas-flow-pool-remove{display:grid;place-items:center}
.atlas-landing-picker-layer{z-index:100600}
.atlas-landing-picker{width:min(780px,100%);height:min(740px,92dvh);border-radius:14px;background:var(--panel);box-shadow:0 20px 55px #0003}
.atlas-landing-picker .atlas-picker-heading{padding:15px 20px;min-height:59px;box-sizing:border-box}
.atlas-landing-picker .atlas-picker-close{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;padding:8px;background:transparent;border:0;color:var(--muted)}
.atlas-landing-picker .atlas-picker-close:hover{background:var(--control-hover);color:var(--text)}
.atlas-landing-picker-search{display:flex;align-items:center;gap:12px}
.atlas-picker-helper{color:var(--muted);font-size:11px;white-space:nowrap}
.atlas-picker-scroll{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
.atlas-picker-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;color:var(--text)}
.atlas-picker-table th,.atlas-picker-table td{padding:11px 12px!important;text-align:left;border:0!important;border-bottom:1px solid var(--line)!important;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.atlas-picker-table thead th{background:var(--panel)!important;color:var(--muted);font-size:11px;font-weight:500;position:sticky;top:0;z-index:2}
.atlas-picker-table th:nth-child(1),.atlas-picker-table td:nth-child(1){width:45px}
.atlas-picker-table th:nth-child(2),.atlas-picker-table td:nth-child(2){width:74px}
.atlas-picker-table th:nth-child(4),.atlas-picker-table td:nth-child(4){width:155px}
.atlas-picker-table input[type=checkbox]{width:17px;height:17px;vertical-align:middle;cursor:pointer}
.atlas-picker-table tr[data-atlas-picker-row]{cursor:pointer}
.atlas-picker-table tr[data-atlas-picker-row]:hover{background:color-mix(in srgb,var(--text) 3%,transparent)}
.atlas-picker-table tr.is-selected{background:color-mix(in srgb,var(--accent,#999) 9%,transparent)}
.atlas-picker-table .atlas-picker-id,.atlas-picker-table .atlas-picker-kind{color:var(--muted);font-size:12px}
.atlas-picker-table .atlas-picker-name{font-weight:565}
.atlas-picker-pagination{display:flex;justify-content:center;padding:10px;min-height:48px}
.atlas-picker-pagination [hidden]{display:none!important}
.atlas-picker-empty{text-align:center!important;padding:30px!important;color:var(--muted)}
.atlas-landing-picker>footer{min-height:66px;box-sizing:border-box;padding:12px 18px}
.atlas-landing-picker>footer button{height:42px;min-height:42px;border-radius:11px;font-size:13px;padding:0 16px}
#nav button.atlas-nav-has-alert:not(.active){color:#c44848!important}
#nav button.atlas-nav-has-alert:not(.active) .nav-icon{color:#c44848!important}
.atlas-domain-summary{align-items:flex-start}
.atlas-domain-summary strong{font-weight:600}
.atlas-domain-summary small{font-weight:400;color:var(--muted)}
@media(max-width:700px){
 .atlas-landing-picker{height:100dvh;max-height:100dvh;border-radius:0}
 .atlas-picker-helper{display:none}
 .atlas-picker-table th:nth-child(4),.atlas-picker-table td:nth-child(4){width:110px}
 .atlas-picker-table th,.atlas-picker-table td{padding:10px 7px!important}
 .atlas-landing-picker-search input{font-size:16px}
}


/* Atlas v0.10.94 — shared status label visual language, modal/table parity. */
/* Status labels share the same padding/radius/type in every section. */
html body :is(.atlas-status-label,.atlas-domain-badge,.pill){
 display:inline-flex;align-items:center;justify-content:center;gap:5px;
 width:max-content;max-width:100%;box-sizing:border-box;
 padding:4px 8px;border:0;border-radius:7px;
 font-size:calc(12px + var(--atlas-font-step,0px));font-weight:550;
 line-height:1.45;letter-spacing:normal;text-transform:none;white-space:nowrap;
 box-shadow:none;
}
html body :is(.atlas-status-label,.atlas-domain-badge,.pill):is(.is-ok,.green){background:rgba(35,122,89,.09);color:#237a59}
html body :is(.atlas-status-label,.atlas-domain-badge,.pill):is(.is-down,.red){background:rgba(178,73,66,.1);color:#b24942}
html body :is(.atlas-status-label,.atlas-domain-badge,.pill):is(.is-muted,.gray){background:var(--soft);color:var(--muted)}
/* When collapsed, the icon itself signals danger; never show a detached dot. */
@media(min-width:701px){
 body.sidebar-collapsed #nav .atlas-nav-domain-alert{display:none!important}
 body.sidebar-collapsed #nav button.atlas-nav-has-alert .nav-icon{color:#c44848!important}
}
/* Picker is an Atlas dialog, not a one-off table/card. */
.atlas-landing-picker-layer{padding:12px;box-sizing:border-box}
.atlas-landing-picker.atlas-shared-modal{width:min(760px,100%);max-height:min(780px,94dvh);height:min(700px,92dvh);border-radius:14px;background:var(--panel);border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}
.atlas-landing-picker .atlas-picker-heading{flex:0 0 auto;min-height:62px;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--panel)}
.atlas-landing-picker .atlas-picker-heading h2{margin:0;font-size:calc(19px + var(--atlas-font-step,0px));font-weight:600;letter-spacing:-.35px;color:var(--text)}
.atlas-landing-picker .atlas-picker-close{width:34px;height:34px;padding:7px;color:var(--muted);border-radius:9px}
.atlas-landing-picker .atlas-picker-close:hover{color:var(--text);background:var(--control-hover)}
.atlas-landing-picker .atlas-landing-picker-search{padding:12px 20px;min-height:62px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}
.atlas-landing-picker .atlas-landing-picker-search input{margin:0;max-width:100%;width:100%;height:39px;min-height:39px;background:var(--control-bg);border:1px solid var(--line);color:var(--text);border-radius:10px;font-size:calc(13px + var(--atlas-font-step,0px));outline-offset:0}
.atlas-landing-picker .atlas-picker-scroll.table-wrap{border:0!important;border-radius:0!important;min-height:0;flex:1 1 0;overflow:auto!important;display:block;scrollbar-gutter:stable;overscroll-behavior:contain}
.atlas-landing-picker .atlas-picker-table{min-width:100%;width:100%;table-layout:fixed;border-collapse:collapse;color:var(--text)}
.atlas-landing-picker .atlas-picker-table :is(th,td){border:0!important;border-bottom:1px solid var(--line)!important;box-sizing:border-box;line-height:1.45;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.atlas-landing-picker .atlas-picker-table th{position:sticky;top:0;background:var(--panel)!important;color:var(--muted);z-index:2;font-size:calc(12px + var(--atlas-font-step,0px));font-weight:400;letter-spacing:normal;text-transform:none}
.atlas-landing-picker .atlas-picker-table td{font-size:calc(13px + var(--atlas-font-step,0px));color:var(--text)}
.atlas-landing-picker .atlas-picker-table .atlas-picker-name{font-weight:565}
.atlas-landing-picker .atlas-picker-table .atlas-picker-id,.atlas-landing-picker .atlas-picker-table .atlas-picker-kind{color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px))}
.atlas-landing-picker .atlas-picker-table :is(th,td).atlas-check-cell{width:42px;min-width:42px;max-width:42px;padding-left:11px!important;padding-right:11px!important;text-align:center!important}
.atlas-landing-picker .atlas-picker-table .atlas-check-cell input[type=checkbox]{appearance:auto!important;accent-color:var(--text);width:15px!important;height:15px!important;min-width:15px;min-height:15px;display:inline-block;margin:0;vertical-align:middle;cursor:pointer}
.atlas-landing-picker .atlas-picker-table th:nth-child(2),.atlas-landing-picker .atlas-picker-table td:nth-child(2){width:76px}
.atlas-landing-picker .atlas-picker-table th:nth-child(4),.atlas-landing-picker .atlas-picker-table td:nth-child(4){width:155px}
html[data-atlas-density='compact'] .atlas-landing-picker .atlas-picker-table :is(th,td){padding:5px 10px!important}
html[data-atlas-density='normal'] .atlas-landing-picker .atlas-picker-table :is(th,td){padding:10px 10px!important}
html[data-atlas-density='spacious'] .atlas-landing-picker .atlas-picker-table :is(th,td){padding:16px 10px!important}
.atlas-landing-picker .atlas-picker-table tr[data-atlas-picker-row]:hover{background:color-mix(in srgb,var(--text) 3%,transparent)}
.atlas-landing-picker .atlas-picker-table tr.is-selected{background:var(--soft)}
.atlas-landing-picker .atlas-picker-footer{padding:12px 20px;min-height:66px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);background:var(--panel)}
.atlas-landing-picker .atlas-picker-footer>div{display:flex;gap:9px;align-items:center}
.atlas-landing-picker .atlas-picker-footer button{height:42px;min-height:42px;min-width:0;font-size:13px;border-radius:11px;padding:0 16px;font-weight:550}
/* Scheme editor reuses the landing editor's segmented choices, notes and fields. */
#modalBg .atlas-flow-type-picker{margin:0 0 20px;gap:9px}
#modalBg .atlas-flow-type-picker .atlas-landing-type-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#modalBg .atlas-flow-type-picker .atlas-landing-type-option span{min-height:42px;padding:9px 8px;font-weight:520}
#modalBg .atlas-flow-external-fields{min-width:0;display:flex;flex-direction:column;gap:14px}
#modalBg .atlas-flow-external-fields .field{min-width:0}
#modalBg .atlas-flow-external-fields .atlas-macro-row{margin-top:1px}
#modalBg .atlas-flow-external-fields textarea.atlas-url-textarea{min-height:70px;resize:vertical}
@media(max-width:700px){
 .atlas-landing-picker-layer{padding:0!important}
 .atlas-landing-picker.atlas-shared-modal{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .atlas-landing-picker .atlas-picker-heading,.atlas-landing-picker .atlas-landing-picker-search{padding-left:14px;padding-right:14px}
 .atlas-landing-picker .atlas-picker-footer{padding:10px 14px max(12px,env(safe-area-inset-bottom));gap:8px}
 .atlas-landing-picker .atlas-picker-table th:nth-child(4),.atlas-landing-picker .atlas-picker-table td:nth-child(4){width:106px}
 .atlas-landing-picker .atlas-landing-picker-search input{font-size:16px}
 #modalBg .atlas-flow-type-picker .atlas-landing-type-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* The nested landing picker follows the same global window-position choice. */
@media(min-width:701px){
 html[data-atlas-window-position='right'] .atlas-landing-picker-layer{
  justify-content:flex-end;padding:0;
 }
 html[data-atlas-window-position='right'] .atlas-landing-picker.atlas-shared-modal{
  width:min(760px,100vw);height:100dvh;max-height:100dvh;
  border-radius:0;border-top:0;border-bottom:0;border-right:0;
 }
 html[data-atlas-window-position='center'] .atlas-landing-picker-layer{
  justify-content:center;padding:12px;
 }
}
@media(prefers-reduced-motion:reduce){
 .atlas-landing-picker.atlas-shared-modal{transition:none!important;animation:none!important}
}
/* Keep nested dialogs opaque: translucent --panel can reveal the editor behind them. */
.atlas-landing-picker.atlas-shared-modal,
.atlas-landing-picker.atlas-shared-modal .atlas-picker-heading,
.atlas-landing-picker.atlas-shared-modal .atlas-picker-footer,
.atlas-landing-picker.atlas-shared-modal .atlas-picker-table thead th{
 background:#232934!important;
}
html[data-theme='light'] .atlas-landing-picker.atlas-shared-modal,
html[data-theme='light'] .atlas-landing-picker.atlas-shared-modal .atlas-picker-heading,
html[data-theme='light'] .atlas-landing-picker.atlas-shared-modal .atlas-picker-footer,
html[data-theme='light'] .atlas-landing-picker.atlas-shared-modal .atlas-picker-table thead th{
 background:#fff!important;
}
/* Legacy pills had !important colors/borders; normalize those as well. */
html body .pill{border:0!important;background:var(--soft)!important;color:var(--muted)!important}
html body .pill.green{border:0!important;background:rgba(35,122,89,.09)!important;color:#237a59!important}
html body .pill.gray{border:0!important;background:var(--soft)!important;color:var(--muted)!important}

/* v0.10.95 — shared row selection / landing-pool cards, using Atlas table controls. */
/* Responsive availability labels never escape a manually narrowed column. */
#content .table-wrap td:has(> .atlas-status-label){min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#content .table-wrap td > .atlas-status-label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:middle;box-sizing:border-box}
/* A stable sized editor: content tabs scroll inside rather than resizing the drawer. */
@media(min-width:701px){
 #modalBg .modal.route-modal{height:min(760px,calc(100dvh - 44px))!important;max-height:calc(100dvh - 44px)!important}
 #modalBg .modal.route-modal #modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;align-content:start}
}
/* The pool is displayed like flow cards; no extra table implementation. */
#modalBg .atlas-pool-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
#modalBg .atlas-pool-card{min-width:0;border-bottom:1px solid var(--line);padding:0 12px}
#modalBg .atlas-pool-card-main{display:flex;align-items:center;gap:12px;min-height:66px;padding:9px 0}
#modalBg .atlas-pool-card .atlas-flow-pool-name{flex:1 1 auto;min-width:0;line-height:1.4}
#modalBg .atlas-pool-card .atlas-flow-pool-name strong{font-size:calc(13px + var(--atlas-font-step,0px));font-weight:565;color:var(--text)}
#modalBg .atlas-pool-card .atlas-flow-pool-name small{font-size:calc(11px + var(--atlas-font-step,0px));font-weight:400;color:var(--muted)}
#modalBg .atlas-pool-card.is-disabled .atlas-flow-pool-name,#modalBg .atlas-pool-card.is-disabled .atlas-pool-card-weight{opacity:.42}
#modalBg .atlas-pool-card-weight{flex:0 0 75px}
#modalBg .atlas-pool-card-weight .atlas-flow-percent{display:flex;align-items:center;gap:4px}
#modalBg .atlas-pool-card-weight input{width:52px;height:34px;min-height:34px;text-align:center;padding:4px 3px;font-variant-numeric:tabular-nums}
#modalBg .atlas-pool-card .atlas-flow-pool-remove{flex:0 0 28px;width:28px;height:32px;padding:6px;color:var(--muted);display:grid;place-items:center}
#modalBg .atlas-pool-card .atlas-flow-pool-remove svg{width:15px;height:15px}
#modalBg .atlas-pool-toggle{position:relative;flex:0 0 37px;width:37px;height:23px;min-height:23px;border-radius:30px;border:1px solid var(--line);background:var(--control-hover);padding:0;cursor:pointer}
#modalBg .atlas-pool-toggle[aria-checked='true']{background:#268268;border-color:#268268}
#modalBg .atlas-pool-toggle>span{position:absolute;left:2px;top:2px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s ease}
#modalBg .atlas-pool-toggle[aria-checked='true']>span{transform:translateX(14px)}
#modalBg .atlas-pool-toggle:disabled{opacity:.65;cursor:not-allowed}
#modalBg .atlas-pool-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0}
#modalBg .atlas-pool-toolbar .atlas-flow-pool-actions{display:flex;align-items:center;gap:8px;min-width:0}
#modalBg .atlas-pool-toolbar button{height:38px;min-height:38px;padding:0 13px;border-radius:10px;white-space:nowrap;font-size:calc(12px + var(--atlas-font-step,0px))}
#modalBg .atlas-pool-sum{white-space:nowrap;font-size:calc(12px + var(--atlas-font-step,0px));color:var(--muted);margin-left:auto}
#modalBg .atlas-pool-sum strong{color:var(--text);font-variant-numeric:tabular-nums}
#modalBg .atlas-pool-sum.is-invalid strong{color:var(--red,#c44848)}
#campaignShell .atlas-flow-landing-line.is-disabled{opacity:.42}

/* v0.10.97 · selected landing cards: gentle surface, no dividers. */
#modalBg .atlas-pool-list{border:0!important;gap:7px;padding:3px 0;}
#modalBg .atlas-pool-card{border:0!important;background:color-mix(in srgb,var(--text) 3%,var(--panel));border-radius:11px;padding:0 12px;overflow:hidden;}
#modalBg .atlas-pool-card:hover{background:color-mix(in srgb,var(--text) 5%,var(--panel));}
#modalBg .atlas-pool-card.is-disabled{background:color-mix(in srgb,var(--text) 1.8%,var(--panel));}
@media(max-width:700px){#modalBg .atlas-pool-card{padding:0 9px;}}
/* Reuse Atlas' existing async select progress bar for server-side landing search. */
.atlas-landing-picker .atlas-landing-picker-search{position:relative;}
.atlas-landing-picker .atlas-landing-picker-search>.atlas-select-progress{position:absolute;inset:auto 0 0;min-height:2px;height:2px;padding:0;z-index:4;overflow:hidden;}
.atlas-landing-picker .atlas-landing-picker-search>.atlas-select-progress[hidden]{display:none!important;}
.atlas-landing-picker .atlas-landing-picker-search>.atlas-select-progress>.atlas-select-loading-bar{height:2px;}
.atlas-landing-picker .atlas-landing-picker-search>.atlas-select-progress>span:not(.atlas-select-loading-bar){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}

/* v0.10.98 — stable route controls, shared pager, and one animated tabs system. */
.route-tab-panel{gap:0!important;}
/* A single tab underline moves between tabs; selected text stays active. */
:is(.tabs,.route-tabs,.landing-switch,[role="tablist"]).atlas-animated-tabs{position:relative;}
:is(.tabs,.route-tabs,.landing-switch,[role="tablist"]).atlas-animated-tabs>button.active,
:is(.tabs,.route-tabs,.landing-switch,[role="tablist"]).atlas-animated-tabs>[role="tab"][aria-selected="true"]{border-bottom-color:transparent!important;}
:is(.tabs,.route-tabs,.landing-switch,[role="tablist"]).atlas-animated-tabs>.atlas-tab-indicator{
 display:block;position:absolute;bottom:0;left:0;height:2px;width:0;
 pointer-events:none;background:var(--text);border-radius:2px;z-index:4;
 transition:width 220ms cubic-bezier(.2,.7,.2,1),transform 220ms cubic-bezier(.2,.7,.2,1);
}
:is(.tabs,.route-tabs,.landing-switch,[role="tablist"]).atlas-animated-tabs>.atlas-tab-indicator[hidden]{display:none!important;}
@media(prefers-reduced-motion:reduce){.atlas-animated-tabs>.atlas-tab-indicator{transition:none!important;}}
/* Pool toggles preserve their DOM node when changing state, so CSS animations run. */
#modalBg .atlas-pool-toggle{transition:background-color 200ms ease,border-color 200ms ease;}
#modalBg .atlas-pool-toggle>span{transition:transform 200ms cubic-bezier(.2,.7,.2,1)!important;}
#modalBg .atlas-pool-card{transition:background-color 170ms ease;}
#modalBg .atlas-pool-card :is(.atlas-flow-pool-name,.atlas-pool-card-weight){transition:opacity 170ms ease;}
#modalBg .atlas-pool-toolbar{flex-wrap:nowrap;}
#modalBg .atlas-pool-clear{flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:7px;border:0!important;background:transparent!important;border-radius:9px;color:var(--muted);display:grid;place-items:center;}
#modalBg .atlas-pool-clear:hover:not(:disabled){color:var(--text);background:transparent!important;}
#modalBg .atlas-pool-clear:disabled{opacity:.3;cursor:default;}
#modalBg .atlas-pool-clear svg{width:16px;height:16px;}
/* Picker: table selection is handled by Atlas; browser text selection is not. */
.atlas-landing-picker .atlas-picker-table :is(th,td,tr){user-select:none;-webkit-user-select:none;}
.atlas-landing-picker .atlas-picker-table input{user-select:auto;-webkit-user-select:auto;}
.atlas-landing-picker .atlas-picker-scroll{flex:1 1 auto;min-height:0;}
.atlas-landing-picker .atlas-picker-pagination.atlas-pager{flex:0 0 auto;min-height:54px;justify-content:space-between;padding:8px 14px;border-top:1px solid var(--line);background:var(--panel);gap:8px;}
.atlas-landing-picker .atlas-picker-page-summary{white-space:nowrap;color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));}
.atlas-landing-picker .atlas-picker-pagination .atlas-pager-controls{margin-left:auto;}
.atlas-landing-picker .atlas-picker-pagination .atlas-pager-controls select{width:auto!important;min-width:56px;height:32px;}
.atlas-landing-picker .atlas-picker-pagination .atlas-pager-controls button{min-height:30px;height:30px;width:30px;padding:0;border-radius:7px;}
@media(max-width:560px){
 #modalBg .atlas-pool-toolbar{flex-wrap:wrap;}
 #modalBg .atlas-pool-sum{margin-left:auto;}
 .atlas-landing-picker .atlas-picker-pagination.atlas-pager{padding:7px 8px;gap:4px;}
 .atlas-landing-picker .atlas-picker-page-summary{font-size:11px;}
 .atlas-landing-picker .atlas-picker-pagination .atlas-pager-controls{gap:3px;}
 .atlas-landing-picker .atlas-picker-pagination .atlas-pager-controls label{font-size:0;}
 .atlas-landing-picker .atlas-picker-pagination .atlas-pager-controls select{font-size:12px;}
}

/* v0.10.99: shared table behavior also applies in the landing picker. No custom row engine. */
.atlas-landing-picker .atlas-picker-table tbody tr{user-select:none;-webkit-user-select:none;}
.atlas-landing-picker .atlas-picker-table td,.atlas-landing-picker .atlas-picker-table th{box-sizing:border-box;}
.atlas-landing-picker .atlas-picker-table .atlas-check-cell{width:42px;min-width:42px;max-width:42px;}
.atlas-documentation{max-width:1100px;margin:0 auto;padding:10px 0 50px;line-height:1.6;}
.atlas-documentation h2{font-size:22px;font-weight:630;margin:12px 0;}
.atlas-documentation h3{font-size:16px;font-weight:600;margin:24px 0 10px;}
.atlas-documentation .table-wrap{max-height:520px;}
.atlas-documentation code{font:12px ui-monospace,SFMono-Regular,monospace;}
.atlas-documentation td{font-size:13px;}
/* v0.11.00 — one shared macro picker and CodeMirror addons, scoped to the editor. */
.atlas-macro-row{margin-top:8px}
.atlas-macro-trigger{display:inline-flex;align-items:center;gap:7px;min-height:34px;font-size:calc(12px + var(--atlas-font-step,0px));background:transparent;color:var(--muted)}
.atlas-macro-trigger:hover{color:var(--text)}
.atlas-macro-trigger .atlas-macro-trigger-count{font-size:11px;color:var(--muted)}
.atlas-editor-page .CodeMirror-activeline-background{background:var(--control-hover, #7771)!important}
.atlas-editor-page .CodeMirror-foldgutter{width:15px}
.atlas-editor-page .CodeMirror-foldgutter-open,.atlas-editor-page .CodeMirror-foldgutter-folded{color:var(--muted)}
.CodeMirror-hints{z-index:13000!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--panel)!important;color:var(--text)!important;box-shadow:0 10px 28px #0002!important;font-size:12px!important}
.CodeMirror-hint{padding:4px 8px!important;border-radius:6px!important}
li.CodeMirror-hint-active{background:var(--control-hover)!important;color:var(--text)!important}
.CodeMirror-dialog{background:var(--panel)!important;color:var(--text)!important;border-bottom:1px solid var(--line)!important;padding:8px 12px!important}
.CodeMirror-dialog input{color:var(--text)!important;background:var(--bg)!important;border-radius:6px!important;padding:6px 8px!important}

/* v0.11.07 screenshot refresh requested behavior */
.atlas-landing-shot.is-updating .atlas-landing-thumb,
.atlas-landing-shot.is-updating.has-shot .atlas-landing-thumb:not(.atlas-thumb-missing){opacity:0!important;visibility:hidden!important}
.atlas-landing-shot.is-updating .atlas-shot-placeholder{
 opacity:1!important;inset:0!important;background:var(--soft)!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex-direction:column!important;z-index:1!important;
}
.atlas-landing-shot.is-updating .atlas-shot-placeholder .atlas-icon{animation:none!important;transform:none!important}
.atlas-landing-shot.is-updating .atlas-shot-refresh:disabled .atlas-icon,
.atlas-landing-shot .atlas-shot-refresh:disabled .atlas-icon{animation:atlasShotSpin .85s linear infinite!important}
@media(prefers-reduced-motion:reduce){.atlas-landing-shot.is-updating .atlas-shot-refresh:disabled .atlas-icon{animation:none!important}}

/* Atlas v0.11.09 unified table presentation. All primary Atlas tables share one density scale. */
html body{--atlas-row-line:1.4;--atlas-analytics-cross:color-mix(in srgb,var(--soft) 83%,var(--panel));}
html[data-atlas-density='compact']{--atlas-row-vpad:5px;--atlas-row-height:36px}
html[data-atlas-density='normal']{--atlas-row-vpad:10px;--atlas-row-height:46px}
html[data-atlas-density='spacious']{--atlas-row-vpad:16px;--atlas-row-height:58px}
:is(#content,#reportOutput) :is(.table-wrap,.campaign-table-wrap) table:not(.atlas-documentation table) tbody tr{
 height:var(--atlas-row-height)!important;
}
:is(#content,#reportOutput) :is(.table-wrap,.campaign-table-wrap) table:not(.atlas-documentation table) tbody td{
 padding-top:var(--atlas-row-vpad)!important;padding-bottom:var(--atlas-row-vpad)!important;
 line-height:var(--atlas-row-line)!important;vertical-align:middle!important;
 box-sizing:border-box!important;
}
/* Inner actions/switches cannot force compact rows taller than other rows. */
html[data-atlas-density='compact'] :is(#content,#reportOutput) .table-wrap tbody td:has(.atlas-status-toggle){padding-top:5px!important;padding-bottom:5px!important}
html[data-atlas-density='compact'] :is(#content,#reportOutput) .table-wrap .atlas-row-action-strip{min-height:26px!important}
/* Crosshair: matching row/column fill and line-color column boundaries. */
.page #reportOutput .table-wrap table tbody tr:hover>td,
.page #reportOutput .table-wrap table .atlas-cell-column-hover{
 background:var(--atlas-analytics-cross)!important;box-shadow:none!important;
}
.page #reportOutput .table-wrap table .atlas-cell-column-hover{
 border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important;
}
.page #reportOutput .table-wrap table thead th.atlas-cell-column-hover{font-weight:400!important;}
.page #reportOutput .atlas-total-cell.atlas-cell-column-hover{background:var(--atlas-analytics-cross)!important;box-shadow:none!important;border-left:1px solid var(--line);border-right:1px solid var(--line)}
/* ChatGPT-like fading overflow instead of literal ellipsis. The mask affects text only;
   structural/actions/checkbox cells are never faded. */
:is(#content,#reportOutput) .table-wrap table :is(td,th):not(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-cell,.atlas-row-action-th):not(:has(button,input,select,textarea)){
 text-overflow:clip!important;
}
:is(#content,#reportOutput) .table-wrap table td:not(.atlas-check-cell,.atlas-id-cell,.atlas-row-action-cell):not(:has(button,input,select,textarea)) > :is(a,b,strong,span,.flat-table-link,.landing-table-title){
 overflow:hidden;text-overflow:clip!important;white-space:nowrap;max-width:100%;min-width:0;

}
/* Fade appears only on cells where content really exceeds the available width. */
:is(#content,#reportOutput) .table-wrap :is(td,th).atlas-overflow-fade{position:relative;overflow:hidden;text-overflow:clip!important}
:is(#content,#reportOutput) .table-wrap :is(td,th).atlas-overflow-fade::after{
 content:'';position:absolute;top:1px;bottom:1px;right:0;width:22px;pointer-events:none;
 background:linear-gradient(to right,transparent,var(--atlas-overflow-bg,var(--panel)));z-index:2
}
:is(#content,#reportOutput) .table-wrap tbody tr:hover td.atlas-overflow-fade{--atlas-overflow-bg:var(--soft)}
:is(#content,#reportOutput) .table-wrap tbody tr:has(.atlas-row-check:checked) td.atlas-overflow-fade{--atlas-overflow-bg:var(--soft)}
/* Apply the same density contract to modal tables and campaign tables. */
html[data-atlas-density] :is(#modalBg,#campaignShell) .table-wrap table tbody tr,
html[data-atlas-density] #modalBg .atlas-picker-table tbody tr,
html[data-atlas-density] #content table.campaign-table tbody tr{height:var(--atlas-row-height)!important}
html[data-atlas-density] :is(#modalBg,#campaignShell) .table-wrap table tbody td,
html[data-atlas-density] #modalBg .atlas-picker-table tbody td,
html[data-atlas-density] #content table.campaign-table tbody td{
 padding-top:var(--atlas-row-vpad)!important;padding-bottom:var(--atlas-row-vpad)!important;
 line-height:var(--atlas-row-line)!important;vertical-align:middle!important;box-sizing:border-box!important;
}
/* Existing reusable modal and selected-landing card style. */
#modalBg .atlas-columns-list{display:flex;flex-direction:column;gap:7px;margin-top:13px}
#modalBg .atlas-columns-card{display:flex;align-items:center;min-height:46px;gap:10px}
#modalBg .atlas-columns-card .atlas-columns-label{display:flex;align-items:center;gap:9px;min-width:0;flex:1;cursor:pointer;font-size:calc(13px + var(--atlas-font-step,0px))}
#modalBg .atlas-columns-card .atlas-columns-label span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#modalBg .atlas-columns-card .atlas-columns-grip{color:var(--muted);cursor:grab;display:flex}
#modalBg .atlas-columns-card .atlas-columns-grip .atlas-icon{transform:rotate(90deg)}
#modalBg .atlas-columns-card .atlas-column-order-up .atlas-icon{transform:rotate(180deg)}
#modalBg .atlas-columns-card .atlas-row-check{width:16px;height:16px;accent-color:var(--text)}
#modalBg .atlas-columns-card .tiny{border:0!important;background:transparent!important;color:var(--muted);width:28px;height:32px;min-width:28px;padding:4px;display:grid;place-items:center}
#modalBg .atlas-columns-card .tiny:hover{color:var(--text)}
#content .atlas-pager .atlas-columns-trigger{margin-left:auto}
/* Visibility uses existing table layout engine; no extra table implementation. */
#content .table-wrap table [data-atlas-column-hidden='1'],#reportOutput .table-wrap table [data-atlas-column-hidden='1']{display:none!important}

/* Atlas v0.11.10 — the fade belongs to text, not the cell surface. This naturally
   matches light/dark × normal/hover (and selected rows) without color seams. */
:is(#content,#reportOutput) .table-wrap :is(td,th).atlas-overflow-fade::after{content:none!important;display:none!important}
:is(#content,#reportOutput) .table-wrap :is(td,th).atlas-overflow-fade > .atlas-fade-content{
 display:block;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:clip!important;
 -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 26px),transparent 100%);
 mask-image:linear-gradient(to right,#000 calc(100% - 26px),transparent 100%);
}
/* Reserve both boundaries before hover; change colors only, never border widths. */
html body .page #reportOutput .table-wrap table :is(thead th,tbody td){
 border-left:1px solid transparent!important;border-right:1px solid transparent!important;
}
html body .page #reportOutput .table-wrap table :is(thead th,tbody td).atlas-cell-column-hover{
 border-left-color:var(--line)!important;border-right-color:var(--line)!important;
}
html body .page #reportOutput .atlas-total-cell{
 border-left:1px solid transparent!important;border-right:1px solid transparent!important;box-sizing:border-box!important;
}
html body .page #reportOutput .atlas-total-cell.atlas-cell-column-hover{
 border-left-color:var(--line)!important;border-right-color:var(--line)!important;
}
/* One motion system for all existing list reorders; interaction remains unchanged. */
#modalBg .atlas-columns-card.atlas-reorder-active{opacity:.75;cursor:grabbing}
#modalBg .atlas-columns-grip{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:none}
#modalBg .atlas-columns-grip:active{cursor:grabbing}
@media(prefers-reduced-motion:reduce){#modalBg .atlas-columns-card{transition:none!important}}

/* Atlas v0.11.18: unified smooth progress, all existing ZIP/file bars and audit. */
.atlas-zip-upload-track>span,
.atlas-tree-upload-state .atlas-zip-upload-track>span,
.atlas-vitals-progress-track>span{
 transition:width .55s cubic-bezier(.22,1,.36,1)!important;
 will-change:width;
}
@media(prefers-reduced-motion:reduce){
 .atlas-zip-upload-track>span,.atlas-tree-upload-state .atlas-zip-upload-track>span,
 .atlas-vitals-progress-track>span{transition:none!important}
}
/* Sort indicators retain their own reserved area as a column becomes narrow.
   The fade follows current theme/hover background and sits below the arrow. */
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending'],
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']{position:relative;isolation:isolate}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::before,
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::before{
 content:''!important;position:absolute;top:0;bottom:0;right:0;width:48px;z-index:1;
 background:linear-gradient(90deg,transparent,var(--atlas-th-current-bg,var(--panel)) 67%)!important;
 pointer-events:none!important;
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after,
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after{z-index:2!important}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable]:hover{--atlas-th-current-bg:var(--soft)}
/* All total/footer cells align left, including numeric values. */
html body #content .table-wrap table tfoot :is(th,td),
html body #content .campaign-table-wrap table tfoot :is(th,td),
html body #content .atlas-total-cell,
html body #content #reportOutput .atlas-total-cell.atlas-total-number{
 text-align:left!important;justify-content:flex-start!important;
}
/* Existing settings rows and select controls, including bottom-sheet mobile behaviour. */
.atlas-settings-logs .atlas-settings-select{min-width:100px;max-width:180px;min-height:40px;border-radius:10px;background:var(--panel);color:var(--text);border:1px solid var(--line);padding:7px 10px;font:inherit}
@media(max-width:700px){.atlas-settings-logs .atlas-settings-select{max-width:100%}}

/* ATLAS_SORT_SHADOW_V1120 */
/* Atlas v0.11.20. Header gradient uses actual TH canvas, leaves the resize
   hit-area and right-hand border uncovered. Works with light/dark/hover. */
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort],
html body .page #reportOutput table thead th[data-sortable][aria-sort]{
  --atlas-sort-th-bg:var(--panel2);isolation:isolate;
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]:hover,
html body .page .table-wrap table.atlas-column-table thead th.atlas-cell-column-hover[data-sortable][aria-sort],
html body .page #reportOutput table thead th.atlas-cell-column-hover[data-sortable][aria-sort]{
  --atlas-sort-th-bg:var(--soft);background:var(--soft)!important;
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::before,
html body .page #reportOutput table thead th[data-sortable][aria-sort]::before{
 content:''!important;position:absolute!important;left:auto!important;
 right:10px!important;top:0!important;bottom:1px!important;width:min(46px,calc(100% - 10px))!important;
 background:linear-gradient(to right,transparent 0%,var(--atlas-sort-th-bg) 68%)!important;
 z-index:2!important;pointer-events:none!important;
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::after,
html body .page #reportOutput table thead th[data-sortable][aria-sort]::after{
 z-index:4!important;right:15px!important;
}
html body .page .table-wrap table.atlas-column-table thead th .atlas-col-resize{
 z-index:20!important;
}
/* Use one restrained shadow instead of dotted borders when moving columns. */
html body .page .table-wrap table :is(th,td).atlas-column-moving{
 outline:0!important;border-left-color:transparent;border-right-color:transparent;
 box-shadow:none!important;
}
html body .atlas-column-drag-guide{
 border:0!important;outline:0!important;
 background:color-mix(in srgb,var(--soft) 24%,transparent)!important;
 box-shadow:inset 5px 0 7px -6px var(--text),inset -5px 0 7px -6px var(--text),0 0 12px color-mix(in srgb,var(--text) 14%,transparent)!important;
 border-radius:2px!important;
}
html body .page .table-wrap table th.atlas-column-drop-hint{
 box-shadow:inset 3px 0 7px -5px var(--text)!important;
}
/* Shared Choices / bottom-sheet settings, not a native ad-hoc selector. */
.atlas-settings-logs .atlas-settings-row>.choices,
.atlas-date-appearance .atlas-settings-row>.choices{width:min(190px,100%);min-width:130px;flex:0 0 auto}
.atlas-date-appearance .atlas-settings-row>select,.atlas-settings-logs .atlas-settings-row>select{min-width:135px}
@media(max-width:700px){.atlas-date-appearance .atlas-settings-row>.choices,.atlas-settings-logs .atlas-settings-row>.choices{width:100%;max-width:100%}}

.atlas-date-custom-row[hidden]{display:none!important}

/* ATLAS_SAFE_R3_1121 — additive; use the canonical Atlas tokens, light and dark */
/* Leave the resize hit zone and right border free of the sorting fade. */
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort],
html body .page #reportOutput table thead th[data-sortable][aria-sort]{
  padding-right:32px!important;
  --atlas-sort-th-bg:var(--panel2);
  overflow:hidden!important;
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]:hover,
html body .page .table-wrap table.atlas-column-table thead th.atlas-cell-column-hover[data-sortable][aria-sort],
html body .page #reportOutput table thead th[data-sortable][aria-sort]:hover,
html body .page #reportOutput table thead th.atlas-cell-column-hover[data-sortable][aria-sort]{
  --atlas-sort-th-bg:var(--soft);
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::before,
html body .page #reportOutput table thead th[data-sortable][aria-sort]::before{
  content:''!important;
  position:absolute!important;
  left:auto!important;right:12px!important;top:0!important;bottom:1px!important;
  width:min(44px,calc(100% - 12px))!important;
  pointer-events:none!important;
  background:linear-gradient(to right,transparent,var(--atlas-sort-th-bg) 65%)!important;
  z-index:2!important;
}
html body .page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::after,
html body .page #reportOutput table thead th[data-sortable][aria-sort]::after{
  right:14px!important;
  min-width:10px!important;
  padding-left:6px!important;
  background:linear-gradient(to right,transparent,var(--atlas-sort-th-bg) 38%)!important;
  z-index:3!important;
  pointer-events:none!important;
}
html body .page .table-wrap table.atlas-column-table thead th .atlas-col-resize,
html body .page #reportOutput table thead th .atlas-col-resize{
  z-index:30!important;
  background:transparent!important;
}
/* No extra scheme for Logs: the page uses the actual Profile template. */
/* Show the server-sorted campaign rows once, without temporary reorder flicker. */
html body #content.atlas-campaign-hydrating .table-wrap tbody,
html body #content.atlas-campaign-hydrating .campaign-table-wrap tbody{
  visibility:hidden!important;
}
/* The existing loading strip remains visible; loading failure releases the rows. */

/* ATLAS_HEADER_GEOMETRY_1124_R4
   Geometry from right edge of sortable TH:
   [0..8]   resize grip hit area
   [9..11]  visual separator / safe gap
   [12..26] sort arrow zone
   [27..44] fade zone for truncated label
   Everything left of 45px remains label content.
   This override intentionally uses text arrows, not mask-based icons,
   to avoid browser differences with pseudo-element masking. */
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable],
html body .page #reportOutput .table-wrap table thead th[data-sortable]{
  position:sticky!important;
  overflow:hidden!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort],
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort]{
  --atlas-sort-surface:var(--panel2);
  padding-right:45px!important;
  background:var(--atlas-sort-surface)!important;
  background-clip:padding-box!important;
  isolation:isolate!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]:hover,
html body .page #content .table-wrap table.atlas-column-table thead th.atlas-cell-column-hover[data-sortable][aria-sort],
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort]:hover,
html body .page #reportOutput .table-wrap table thead th.atlas-cell-column-hover[data-sortable][aria-sort]{
  --atlas-sort-surface:var(--control-hover,var(--soft));
  background:var(--atlas-sort-surface)!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::before,
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort]::before{
  content:''!important;
  position:absolute!important;
  top:0!important;
  bottom:1px!important;
  right:26px!important;
  width:18px!important;
  background:linear-gradient(to right,
    rgba(255,255,255,0) 0%,
    var(--atlas-sort-surface) 70%,
    var(--atlas-sort-surface) 100%)!important;
  z-index:3!important;
  pointer-events:none!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after,
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after,
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort='ascending']::after,
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort='descending']::after{
  position:absolute!important;
  top:50%!important;
  right:13px!important;
  width:14px!important;
  min-width:14px!important;
  height:14px!important;
  transform:translateY(-52%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:16px!important;
  line-height:14px!important;
  font-weight:700!important;
  font-family:inherit!important;
  color:var(--text)!important;
  background:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  letter-spacing:0!important;
  opacity:1!important;
  z-index:6!important;
  pointer-events:none!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='ascending']::after,
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort='ascending']::after{content:'↑'!important;}
html body .page #content .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort='descending']::after,
html body .page #reportOutput .table-wrap table thead th[data-sortable][aria-sort='descending']::after{content:'↓'!important;}
html body .page #content .table-wrap table.atlas-column-table thead th .atlas-col-resize,
html body .page #reportOutput .table-wrap table thead th .atlas-col-resize{
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  width:8px!important;
  z-index:9!important;
  background:transparent!important;
  cursor:col-resize!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th .atlas-col-resize::after,
html body .page #reportOutput .table-wrap table thead th .atlas-col-resize::after{
  content:''!important;
  position:absolute!important;
  top:17%!important;
  bottom:17%!important;
  right:1px!important;
  width:1px!important;
  background:var(--line)!important;
}
html body .page #content .table-wrap table.atlas-column-table thead th .atlas-col-resize:hover::after,
html body .page #reportOutput .table-wrap table thead th .atlas-col-resize:hover::after,
html body .atlas-resizing .page #content .table-wrap table.atlas-column-table thead th .atlas-col-resize::after,
html body .atlas-resizing .page #reportOutput .table-wrap table thead th .atlas-col-resize::after{
  background:var(--text)!important;
  width:2px!important;
  right:0!important;
}
html body .atlas-column-drag-guide{
  border:0!important;
  outline:0!important;
  background:color-mix(in srgb,var(--soft) 11%, transparent)!important;
  box-shadow:0 1px 5px color-mix(in srgb,var(--text) 4%, transparent), inset 1px 0 1px color-mix(in srgb,var(--text) 7%, transparent), inset -1px 0 1px color-mix(in srgb,var(--text) 7%, transparent)!important;
}
html body .page .table-wrap table.atlas-column-table.atlas-column-drag-active thead th,
html body .page .table-wrap table.atlas-column-table.atlas-column-move-preview thead th{
  transition:none!important;
}
html body .page .table-wrap table th.atlas-column-drop-hint{
  box-shadow:inset 1px 0 1px color-mix(in srgb,var(--text) 7%,transparent)!important;
}

/* ATLAS_SORT_HEADER_1125_REAL_DOM
   Canonical admin container: <div id="content" class="page">.
   Inner geometry from the physical RIGHT edge of TH:
    0-9px:    resize hit area
    9-13px:   spacer
   13-27px:   sorting arrow
   27-54px:   fade across overflowing label text.
   Applies only to sorted TH and never changes table widths/reorder behavior.
*/
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort],
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable][aria-sort],
html body #content.page #reportOutput table thead th[data-sortable][aria-sort]{
  --atlas-sort-head-bg:var(--panel2);
  position:sticky!important;
  overflow:hidden!important;
  isolation:isolate!important;
  padding-right:42px!important;
  text-overflow:clip!important;
  background:var(--atlas-sort-head-bg)!important;
}
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]:hover,
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable].atlas-cell-column-hover[aria-sort],
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]:hover,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable].atlas-cell-column-hover[aria-sort],
html body #content.page #reportOutput table thead th[data-sortable][aria-sort]:hover,
html body #content.page #reportOutput table thead th[data-sortable].atlas-cell-column-hover[aria-sort]{
  --atlas-sort-head-bg:var(--soft);
  background:var(--atlas-sort-head-bg)!important;
}
/* Hide only the last few characters, and fill behind the arrow in the same
   solid surface color. Never cover the outer resize strip. */
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::before,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::before,
html body #content.page #reportOutput table thead th[data-sortable][aria-sort]::before{
  content:''!important;
  display:block!important;
  position:absolute!important;
  top:0!important;
  bottom:1px!important;
  left:auto!important;
  right:9px!important;
  width:min(55px,calc(100% - 9px))!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:linear-gradient(to right,transparent 0%,var(--atlas-sort-head-bg) 65%,var(--atlas-sort-head-bg) 100%)!important;
  opacity:1!important;
  z-index:3!important;
  pointer-events:none!important;
}
/* Plain text arrows, not masks: prevents the mask / background conflict that
   hid arrows in 0.11.21-0.11.24. */
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::after,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable][aria-sort]::after,
html body #content.page #reportOutput table thead th[data-sortable][aria-sort]::after{
  content:''!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  top:50%!important;
  right:13px!important;
  left:auto!important;
  width:14px!important;
  min-width:14px!important;
  max-width:14px!important;
  height:18px!important;
  line-height:18px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  font-family:inherit!important;
  font-size:15px!important;
  font-style:normal!important;
  font-weight:650!important;
  letter-spacing:0!important;
  color:var(--text)!important;
  -webkit-text-fill-color:var(--text)!important;
  background:none!important;
  background-image:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(-50%)!important;
  z-index:5!important;
  pointer-events:none!important;
}
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort="ascending"]::after,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable][aria-sort="ascending"]::after,
html body #content.page #reportOutput table thead th[data-sortable][aria-sort="ascending"]::after{content:'↑'!important;}
html body #content.page .table-wrap table.atlas-column-table thead th[data-sortable][aria-sort="descending"]::after,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th[data-sortable][aria-sort="descending"]::after,
html body #content.page #reportOutput table thead th[data-sortable][aria-sort="descending"]::after{content:'↓'!important;}
/* The actual draggable resize hitbox is at the RIGHT edge of the TH.
   Hide its separator until hover, per Atlas's common table UX standard. */
html body #content.page .table-wrap table.atlas-column-table thead th .atlas-col-resize,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th .atlas-col-resize,
html body #content.page #reportOutput table thead th .atlas-col-resize{
  position:absolute!important;
  right:0!important;
  left:auto!important;
  top:0!important;
  bottom:0!important;
  width:9px!important;
  height:100%!important;
  background:none!important;
  border:0!important;
  z-index:12!important;
  cursor:col-resize!important;
  touch-action:none!important;
}
html body #content.page .table-wrap table.atlas-column-table thead th .atlas-col-resize::after,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th .atlas-col-resize::after,
html body #content.page #reportOutput table thead th .atlas-col-resize::after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  right:0!important;
  top:16%!important;
  bottom:16%!important;
  left:auto!important;
  width:1px!important;
  height:auto!important;
  background:var(--line)!important;
  opacity:0!important;
  pointer-events:none!important;
  transform:none!important;
}
html body #content.page .table-wrap table.atlas-column-table thead th:hover .atlas-col-resize::after,
html body #content.page .table-wrap table.atlas-column-table thead th .atlas-col-resize:hover::after,
html body #content.page .campaign-table-wrap table.atlas-column-table thead th:hover .atlas-col-resize::after,
html body #content.page #reportOutput table thead th:hover .atlas-col-resize::after,
html body .atlas-resizing #content.page .table-wrap table.atlas-column-table thead th .atlas-col-resize::after{
  opacity:1!important;
}
/* Less prominent drop indicator; live-reorder JS remains unchanged. */
html body .atlas-column-drag-guide{
  border:0!important;
  outline:0!important;
  background:color-mix(in srgb,var(--soft) 7%,transparent)!important;
  box-shadow:0 1px 3px color-mix(in srgb,var(--text) 3%,transparent),inset 1px 0 1px color-mix(in srgb,var(--text) 5%,transparent),inset -1px 0 1px color-mix(in srgb,var(--text) 5%,transparent)!important;
}

/* Atlas v0.11.30: preserve correct table contents until remote sort has hydrated. */
#content.atlas-entity-hydrating .table-wrap tbody,
#content.atlas-entity-hydrating .table-wrap tfoot{visibility:hidden!important}
/* Section mode is a visually collapsed sidebar too, including domain alert. */
body.atlas-section-mode #nav .atlas-nav-domain-alert{display:none!important}
body.atlas-section-mode #nav button.atlas-nav-has-alert .nav-icon{color:#c44848!important}
/* Non-intrusive, pointer-independent drop marker. */
.atlas-stable-drop-indicator{position:fixed;z-index:11000;pointer-events:none;border-radius:2px;background:var(--text);opacity:.36;box-shadow:0 1px 6px color-mix(in srgb,var(--text) 9%,transparent)}
body.atlas-stable-dnd-active{user-select:none!important;-webkit-user-select:none!important}
body.atlas-stable-dnd-active *{cursor:grabbing!important}


/* Atlas 0.11.31 — unobtrusive drag preview. Geometry only; cells commit on release. */
.atlas-stable-drag-ghost{position:fixed;left:0;top:0;z-index:12010;pointer-events:none;
 max-width:min(250px,48vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 padding:8px 13px;border:1px solid var(--line);border-radius:11px;
 background:var(--panel);color:var(--text);font-size:calc(12px + var(--atlas-font-step,0px));font-weight:550;
 box-shadow:0 6px 18px color-mix(in srgb,var(--text) 9%,transparent);opacity:.94;will-change:transform;}
.atlas-stable-dnd-active .atlas-stable-drag-source{opacity:.55!important;}
.atlas-stable-dnd-active .atlas-stable-drop-target{background:color-mix(in srgb,var(--text) 5%,var(--panel2))!important;}
.atlas-stable-drop-indicator{z-index:12009!important;background:color-mix(in srgb,var(--text) 65%,var(--panel))!important;
 border-radius:6px!important;opacity:.48!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--panel) 74%,transparent)!important;}
@media (prefers-reduced-motion:reduce){.atlas-stable-drag-ghost{transition:none!important;}}
