:root{--bg:#f4f5f2;--card:#fff;--ink:#17231f;--muted:#718078;--line:#e3e8e4;--green:#0b9f6a;--green-soft:#e7f7f0;--amber:#b87816;--amber-soft:#fff5df;--red:#c94d4d;--red-soft:#fff0ef;--navy:#162824}
.cabinet-kpis{grid-template-columns:repeat(5,minmax(150px,1fr));max-width:1200px}.campaign-open{border:1px solid #99d5ba;background:#f2fbf7;color:#08754f;border-radius:8px;padding:7px 10px;font:inherit;font-weight:700;cursor:pointer}.campaign-open:hover{background:#e3f6ed}
.campaign-bidder-panel{padding:16px 18px}.campaign-selection-count{border-radius:999px;background:#e8f8f1;color:#08754f;padding:7px 10px;font-size:12px;font-weight:800}.campaign-bidder-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:14px}.campaign-bidder-actions button{border:1px solid #99d5ba;background:#f2fbf7;color:#08754f;border-radius:999px;padding:8px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.campaign-bidder-actions button:hover{background:#e3f6ed}.campaign-bidder-actions span{color:var(--muted);font-size:12px}.bidder-switch{display:inline-flex;align-items:center;cursor:pointer}.bidder-switch input{position:absolute;opacity:0;pointer-events:none}.bidder-switch span{width:42px;height:24px;border-radius:999px;background:#c8ccd3;position:relative;display:inline-block;transition:.18s}.bidder-switch span:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:.18s}.bidder-switch input:checked+span{background:#16bf78}.bidder-switch input:checked+span:after{left:21px}
.header-actions{display:flex;align-items:center;gap:12px}.back-button{border:1px solid #d7d7d7;background:#fff;color:#24272b;border-radius:999px;padding:10px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.back-button:hover{border-color:#12c878;color:#0b8e5f;background:#f4fff9}
.launch-checklist-card{padding:16px 18px}.launch-checklist-card #launch-progress{border-radius:999px;background:#f0f1f3;color:#555;padding:7px 10px;font-size:12px;font-weight:800}.launch-steps{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px;margin-top:14px}.launch-step{border:1px solid #e2e2e2;border-radius:12px;padding:12px 14px;background:#fff;display:grid;gap:5px}.launch-step strong{font-size:13px}.launch-step span{color:#68727a;font-size:12px;line-height:1.35}.launch-step.done{border-color:#9eddbf;background:#f2fbf7}.launch-step.done strong{color:#08754f}.launch-step.active{border-color:#d1b05a;background:#fff9e8}.launch-step.active strong{color:#8a620c}.launch-step.pending{background:#f7f8fb;color:#6c7480}
.campaign-tabs{display:flex;gap:6px;margin:-8px 0 24px;padding:5px;background:#e9eeeb;border-radius:11px;width:max-content;max-width:100%;overflow:auto}.campaign-tabs.hidden{display:none}.campaign-tab{border:0;background:transparent;color:#65756d;padding:9px 13px;border-radius:8px;font:inherit;font-weight:650;white-space:nowrap;cursor:pointer}.campaign-tab.active{background:#fff;color:#08754f;box-shadow:0 1px 3px #23352e18}.campaign-link{border:0;background:none;padding:0;color:#087b55;font:inherit;font-weight:750;cursor:pointer;text-align:left}.campaign-link:hover{text-decoration:underline}.campaign-row{cursor:pointer}.campaign-row:hover td{background:#f3faf6}
.ad-manager-nav{display:flex;align-items:center;gap:26px;background:#fff;margin:-24px -36px 24px;padding:0 72px;border-bottom:1px solid #e5e5e5}.ad-manager-nav button{border:0;background:transparent;color:#5c5f66;font:inherit;font-size:17px;font-weight:650;padding:18px 0 16px;border-bottom:3px solid transparent;cursor:pointer}.ad-manager-nav button.active,.ad-manager-nav button:hover{color:#10aa6b;border-bottom-color:#10c878}.sellego-list-tools{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #ececec;border-radius:14px;padding:14px;margin-bottom:16px}.segmented{display:flex;border:1px solid #e0e0e0;border-radius:9px;overflow:hidden}.segmented button{border:0;background:#fff;color:#555;padding:9px 18px;font:inherit;font-weight:700;cursor:pointer}.segmented button.active{box-shadow:inset 0 0 0 2px #12c878;color:#202020}.sellego-list-tools input,.sellego-list-tools select{border:1px solid #e1e1e1;border-radius:8px;background:#fff;padding:10px 12px;font:inherit}.sellego-list-tools input{min-width:310px}.black-button{margin-left:auto;border:0;background:#242424;color:#fff;border-radius:18px;padding:10px 18px;font:inherit;font-weight:800;cursor:pointer}.sellego-placeholder{display:flex;justify-content:space-between;gap:12px;background:#dcedff;border-radius:12px;padding:13px 16px;margin-bottom:14px;color:#343840}.sellego-placeholder span{color:#59616b;font-size:12px}
.settings-sections{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:14px}.settings-section{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.settings-section h3{margin-bottom:14px}.detail-list{display:grid;gap:10px}.detail-row{display:flex;justify-content:space-between;gap:16px;padding-bottom:9px;border-bottom:1px solid #edf0ee}.detail-row span{color:var(--muted)}.detail-row strong{text-align:right}.heatmap-grid{display:grid;grid-template-columns:repeat(24,minmax(28px,1fr));gap:5px}.heat-cell{min-height:60px;border-radius:7px;background:#edf2ef;padding:7px 3px;text-align:center;font-size:10px;color:#68776f}.heat-cell.active{background:#d8f3e7;color:#08754f}.heat-cell strong{display:block;font-size:12px;margin-top:6px}.strategy-card{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.strategy-metric{background:#f6f8f6;border-radius:10px;padding:14px}.strategy-metric span{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.strategy-metric strong{font-size:18px}
.cluster-status-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:10px;margin-bottom:14px}.cluster-status-grid div{background:#edf6f1;border:1px solid #cae7d9;border-radius:10px;padding:12px}.cluster-status-grid span{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.cluster-status-grid strong{font-size:13px}.cluster-control-card{padding:16px}.cluster-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.cluster-actions button{border:1px solid #b9dcca;background:#f5fbf8;color:#08754f;border-radius:8px;padding:8px 10px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.cluster-actions button:hover{background:#e3f6ed}.list-tag{display:inline-block;border-radius:5px;padding:3px 5px;margin:2px;font-size:9px;font-weight:700}.list-tag.protected{background:#e4f5ff;color:#25709a}.list-tag.blacklist{background:#fff0ef;color:#a33e3e}.list-tag.organic{background:#fff5df;color:#885c16}.auto-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin:15px 0}.auto-mode{border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;gap:6px;color:#66766e}.auto-mode.selected{border-color:#82cfad;background:#ecf9f3;color:#08754f}.auto-mode span{font-size:10px}.wide-table .table-wrap{overflow-x:scroll;overflow-y:auto;max-height:660px;scrollbar-color:#56ad88 #e5ece8;scrollbar-width:auto}.wide-table table{min-width:4300px}.wide-table th:first-child,.wide-table td:first-child{position:sticky;left:0;z-index:3;background:#fff;width:42px;max-width:42px}.wide-table th:nth-child(2),.wide-table td:nth-child(2){position:sticky;left:42px;z-index:2;background:#fff;min-width:260px;max-width:300px;white-space:normal}.wide-table th:first-child,.wide-table th:nth-child(2){background:#f7f8f7;z-index:4}
.column-scroller{display:flex;align-items:center;gap:16px;background:#e9f5ef;border:1px solid #c5e4d5;border-radius:10px;padding:9px 13px;margin-bottom:10px;color:#176a4e;font-size:11px;font-weight:700}.column-scroller input{flex:1;accent-color:var(--green);cursor:ew-resize}.campaign-daily-wide table{min-width:2300px}.campaign-daily-wide th:first-child,.campaign-daily-wide td:first-child{left:0;min-width:100px;max-width:100px}.campaign-daily-wide th:nth-child(2),.campaign-daily-wide td:nth-child(2){position:static;min-width:auto;max-width:none;white-space:nowrap}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--navy);color:#fff;padding:26px 18px;display:flex;flex-direction:column}.brand{font-size:22px;font-weight:750;letter-spacing:-.5px}.brand span{display:inline-grid;place-items:center;background:var(--green);border-radius:9px;padding:5px 7px;margin-right:5px}.brand-note{color:#9eb0a9;margin:7px 0 28px}.sidebar nav{display:grid;gap:6px}.nav-item{border:0;background:transparent;color:#b9c7c2;text-align:left;padding:12px 13px;border-radius:9px;font:inherit;cursor:pointer}.nav-item:hover,.nav-item.active{background:#263d36;color:#fff}.side-safe{margin-top:auto;background:#20372f;border:1px solid #355149;border-radius:12px;padding:14px;display:grid;gap:5px}.side-safe span{font-size:12px;color:#a7bab3;line-height:1.45}main{margin-left:230px;padding:30px 34px 60px;max-width:1700px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;margin-bottom:0}h2{font-size:24px;margin-bottom:0}h3{font-size:16px;margin-bottom:0}.eyebrow{text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-size:10px;font-weight:750;margin-bottom:7px}.read-only{border:1px solid #8bd1b4;color:#08754f;background:#f2fbf7;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:700}.page{display:none}.page.active{display:block}.section-heading,.card-title,.toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px}.section-heading{margin-bottom:18px}.coverage{color:var(--muted);font-size:12px}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px;margin-bottom:16px}.kpi,.card{background:var(--card);border:1px solid var(--line);border-radius:14px}.kpi{padding:17px}.kpi .label{color:var(--muted);font-size:11px;margin-bottom:8px}.kpi .value{font-size:22px;font-weight:750}.kpi .note{color:var(--muted);font-size:11px;margin-top:5px}.card{padding:19px;margin-bottom:16px;overflow:hidden}.two-columns{display:grid;grid-template-columns:2fr 1fr;gap:16px}.chart{height:240px;margin-top:15px}.chart.large{height:330px}.chart svg{width:100%;height:100%;overflow:visible}.gridline{stroke:#edf0ee;stroke-width:1}.spend-line{fill:none;stroke:var(--green);stroke-width:2}.order-dot{fill:#e1a421}.chart-label{fill:#8b9791;font-size:9px}.summary-list{display:grid;gap:9px;margin-top:15px}.summary-item{display:flex;justify-content:space-between;padding:12px 13px;border-radius:10px;background:#f6f8f6}.summary-item strong{font-size:17px}.summary-item.down{background:var(--red-soft);color:#963e3e}.summary-item.up{background:var(--green-soft);color:#08754f}.summary-item.collect{background:var(--amber-soft);color:#885c16}.link-button{border:0;background:none;color:var(--green);cursor:pointer;font-weight:700}.toolbar{justify-content:flex-start;margin-bottom:14px}.toolbar input,.toolbar select,.form-grid input{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 12px;font:inherit}.toolbar input{width:320px}.toolbar span{color:var(--muted);margin-left:auto}.table-card{padding:0}.table-wrap{overflow:auto;max-height:660px}table{border-collapse:collapse;width:100%;font-size:12px}th{position:sticky;top:0;background:#f7f8f7;color:#64736c;text-align:left;font-weight:700;z-index:1}th,td{padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap}td:first-child{max-width:330px;white-space:normal}.pill{display:inline-block;border-radius:999px;padding:5px 8px;font-weight:700;font-size:10px}.pill.down{color:#a33e3e;background:var(--red-soft)}.pill.up{color:#08754f;background:var(--green-soft)}.pill.hold{color:#52645c;background:#eef2ef}.pill.collect{color:#885c16;background:var(--amber-soft)}.confidence{color:var(--muted)}.notice{background:#f2fbf7;border:1px solid #b7e0ce;color:#176a4e;padding:12px 14px;border-radius:10px;margin-bottom:14px}.settings-card{max-width:850px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-grid label{display:grid;gap:7px;color:#516159;font-size:12px;font-weight:700}.primary{margin-top:20px;border:0;background:var(--green);color:#fff;border-radius:9px;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer}.muted{color:var(--muted);font-size:12px;margin:12px 0 0}.error{background:var(--red-soft);color:#963e3e;padding:14px;border-radius:10px;margin-bottom:18px}.hidden{display:none}
@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.two-columns{grid-template-columns:1fr}.cluster-status-grid{grid-template-columns:repeat(2,1fr)}.auto-mode-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{position:static;width:auto}.sidebar nav{display:flex;overflow:auto}.side-safe{display:none}main{margin-left:0;padding:20px}.kpi-grid{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start;gap:12px}.read-only{max-width:220px}.form-grid{grid-template-columns:1fr}.cluster-status-grid,.auto-mode-grid{grid-template-columns:1fr}}

.control-map{display:grid;gap:16px}.control-page{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.control-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.control-page-head span{color:var(--muted);font-size:12px}.control-grid{display:flex;flex-wrap:wrap;gap:8px}.control-chip{border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 11px;display:grid;gap:3px;min-width:128px;text-align:left;font:inherit;cursor:pointer}.control-chip strong{font-size:12px}.control-chip span{font-size:10px;color:var(--muted)}.control-chip.local{border-color:#99d5ba;background:#f3fbf7;color:#08754f}.control-chip.confirm{border-color:#f1c8c2;background:#fff5f4;color:#9b3838}.control-chip.external{border-color:#d9dce3;background:#f7f8fb;color:#4c5668}.control-chip:hover{transform:translateY(-1px);box-shadow:0 5px 14px #10182012}.control-action{display:grid;gap:6px}.control-action strong{font-size:16px}.control-action span{color:var(--muted)}.control-action.local strong{color:#08754f}.control-action.confirm strong{color:#9b3838}.control-action.external strong{color:#4c5668}

/* Sellego-like shell */
:root{--sellego-black:#202020;--sellego-blue:#dcedff;--sellego-purple:#c02cbe}
body{background:#f7f7f7;color:#24272b}
.sidebar{position:fixed;inset:0 0 auto 0;width:100%;height:58px;background:var(--sellego-black);padding:0 36px;display:flex;align-items:center;gap:34px;z-index:20}
.brand{font-size:24px;color:#fff;min-width:210px}.brand span{background:#0bbf78}.brand-note{margin:0;color:#9f9fa8;font-weight:700}.sidebar nav{display:flex;gap:22px}.nav-item{color:#a8a8b1;border-radius:0;padding:19px 4px;border-bottom:3px solid transparent}.nav-item.active,.nav-item:hover{background:transparent;color:#fff;border-bottom-color:#10c878}.side-safe{margin-left:auto;margin-top:0;background:#2b2b2b;border:1px solid #3b3b3b;border-radius:10px;padding:8px 12px}.side-safe span{display:none}
main{margin-left:0;max-width:none;padding:94px 36px 60px}
header{background:#fff;margin:-36px -36px 24px;padding:32px 72px 24px 72px;border-bottom:1px solid #e8e8e8;align-items:flex-start}
h1{font-size:28px;line-height:1.15}.eyebrow{color:#8b8b96}
.campaign-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;color:#8b8b96;font-size:15px}.campaign-meta strong{color:#2b2b2f}.status-dot{width:10px;height:10px;background:#15ba72;border-radius:50%;display:inline-block}.meta-toggle{width:42px;height:24px;border-radius:999px;background:#c8ccd3;position:relative;display:inline-block}.meta-toggle:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%}.meta-toggle.on{background:#16bf78}.meta-toggle.on:after{left:21px}.bid-chip{border-radius:18px;background:#a4a4af;color:#fff;padding:5px 10px;font-weight:700}.bid-chip.active{background:#13b978}.campaign-id{margin-left:12px;color:#444;font-weight:700}.read-only{background:#f4fff9;border-color:#7dd8b2;color:#0b8e5f;margin-top:8px}
.campaign-tabs{background:#fff;margin:-8px -36px 26px;padding:0 72px;border-bottom:1px solid #e5e5e5;border-radius:0;width:auto;gap:30px}.campaign-tab{border-radius:0;padding:18px 0 17px;color:#4d4f55;font-size:18px;border-bottom:3px solid transparent}.campaign-tab.active{box-shadow:none;background:transparent;color:#10aa6b;border-bottom-color:#10c878}
.sellego-info-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.sellego-info,.notice{background:var(--sellego-blue);border:0;color:#343840;border-radius:14px;padding:20px 26px;font-size:16px}.sellego-info:empty{display:none}
.sellego-info{display:flex;align-items:center;justify-content:space-between;gap:14px}.info-actions{display:flex;gap:10px;align-items:center}.magenta-button{border:0;background:linear-gradient(90deg,#d52bbd,#8b1898);color:#fff;border-radius:18px;padding:9px 16px;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.magenta-button:hover{filter:brightness(.95)}.black-button.small{margin-left:0;padding:8px 16px;font-size:13px}.cluster-minus-mode{display:flex;align-items:center;justify-content:space-between;gap:16px}
.kpi,.card{border-color:#e8e8e8;border-radius:16px;box-shadow:0 1px 0 #00000006}.cluster-status-grid div{background:#fff;border-color:#e6e6e6}.cluster-control-card{background:#fff}.cluster-actions button{background:#242424;color:#fff;border:0;border-radius:18px}.cluster-actions button:hover{background:#000}
.toolbar input,.toolbar select,.form-grid input{border-color:#e2e2e2;border-radius:8px;background:#fff}.table-wrap{background:#fff}th{background:#fbfbfb;color:#2c2f34;font-size:13px}td{font-size:13px}.wide-table th:first-child,.wide-table td:first-child,.wide-table th:nth-child(2),.wide-table td:nth-child(2){background:#fff}.wide-table th:first-child,.wide-table th:nth-child(2){background:#fbfbfb}.column-scroller{background:#f1fbf6;border-color:#bde8d4;color:#0b8e5f}
.auto-mode.selected{background:#eafff4;border-color:#12c878}.list-tag.protected{background:#e6f2ff;color:#1670b8}.list-tag.blacklist{background:#ffeaea;color:#b02e2e}.pill.up{background:#e4faef;color:#06945d}.pill.down{background:#ffeaea;color:#b02e2e}.pill.hold{background:#f0f1f3;color:#555}
@media(max-width:900px){.sidebar{padding:0 14px;gap:14px}.brand-note{display:none}main{padding:86px 14px 40px}header{margin:-28px -14px 18px;padding:24px 18px}.campaign-tabs{margin-left:-14px;margin-right:-14px;padding:0 18px}.sellego-info-row{grid-template-columns:1fr}}

/* Closer to the captured Sellego working area */
.sidebar{display:none}
main{padding:36px 0 60px;background:#f7f7f7}
header{margin:-36px 0 0;padding:20px 38px 18px;border-bottom:1px solid #ececec}
#campaigns,.page:not(#campaigns){padding:0 0 0}
.ad-manager-nav{margin:0;padding:0 38px;gap:34px}
.section-heading{padding:28px 38px 0;margin-bottom:16px}
.sellego-list-tools{margin:0 38px 14px;border-radius:0;border-left:0;border-right:0;padding:16px 0}
.campaign-bidder-panel{margin:0 38px 12px;border-radius:12px;padding:12px 16px}
.campaign-bidder-panel .card-title h3{font-size:15px}
.campaign-bidder-actions{margin-top:10px}
.campaign-bidder-actions button{background:#242424;border-color:#242424;color:#fff;border-radius:18px}
.campaign-bidder-actions button:hover{background:#000}
.campaign-list-card{margin:0 0 18px;border-radius:0;border-left:0;border-right:0}
.campaign-list-card .table-wrap{max-height:620px}
.campaign-list-card th{font-size:14px;color:#23262b;background:#fff;padding:14px 18px}
.campaign-list-card td{font-size:14px;padding:15px 18px;background:#fff}
.campaign-list-card tr:hover td{background:#f7fbf9}
.campaign-open{border-radius:18px;background:#fff;border-color:#dedede;color:#222}
.campaign-open:hover{border-color:#12c878;background:#f3fff9}
.quiet-kpis{margin:0 38px 14px;grid-template-columns:repeat(5,minmax(140px,1fr));opacity:.82}
.quiet-kpis .kpi{padding:13px 15px;border-radius:12px}
.quiet-kpis .kpi .value{font-size:18px}
.compact-notice{margin:0 38px 14px;padding:12px 16px;font-size:13px;border-radius:10px}
.launch-checklist-card{margin:0 38px 16px;padding:0;border-radius:12px}
.launch-checklist-card summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;cursor:pointer}
.launch-checklist-card summary::-webkit-details-marker{display:none}
.launch-checklist-card summary strong{display:block;font-size:15px}
.launch-checklist-card .card-title{display:none}
.launch-checklist-card[open]{padding-bottom:16px}
.launch-checklist-card[open] #launch-checklist{padding:0 16px}
.launch-steps{grid-template-columns:repeat(3,minmax(220px,1fr))}
.campaign-tabs{margin:0;padding:0 38px;gap:32px}
.campaign-tab{font-size:20px;padding:19px 0 17px}
.stats-subtabs{display:flex;align-items:center;gap:12px;padding:0 38px 26px;overflow:auto}
.stats-subtabs.hidden{display:none}
.stats-subtabs button{border:1px solid #e7e7e7;background:#fff;color:#343840;border-radius:24px;padding:14px 20px;font:inherit;font-size:16px;font-weight:650;white-space:nowrap;cursor:pointer}
.stats-subtabs button.active,.stats-subtabs button:hover{border-color:#10c878;color:#0b9f6a;box-shadow:inset 0 0 0 1px #10c878}
.toast{position:fixed;right:28px;bottom:28px;z-index:50;background:#242424;color:#fff;border-radius:18px;padding:13px 18px;font-size:14px;font-weight:700;box-shadow:0 12px 28px #00000024;max-width:420px}
.page:not(#campaigns)>.section-heading{padding-top:28px}
.page:not(#campaigns)>.kpi-grid,.page:not(#campaigns)>.two-columns,.page:not(#campaigns)>article,.page:not(#campaigns)>.notice,.page:not(#campaigns)>.toolbar,.page:not(#campaigns)>.sellego-info-row,.page:not(#campaigns)>.column-scroller,.page:not(#campaigns)>#cluster-update-status{margin-left:38px;margin-right:38px}
@media(max-width:900px){main{padding-top:24px}header{padding:18px}.ad-manager-nav,.campaign-tabs,.section-heading,.stats-subtabs{padding-left:18px;padding-right:18px}.sellego-list-tools,.campaign-bidder-panel,.quiet-kpis,.compact-notice,.launch-checklist-card,.page:not(#campaigns)>.kpi-grid,.page:not(#campaigns)>.two-columns,.page:not(#campaigns)>article,.page:not(#campaigns)>.notice,.page:not(#campaigns)>.toolbar,.page:not(#campaigns)>.sellego-info-row,.page:not(#campaigns)>.column-scroller,.page:not(#campaigns)>#cluster-update-status{margin-left:18px;margin-right:18px}.sellego-list-tools{flex-wrap:wrap}.launch-steps,.quiet-kpis{grid-template-columns:1fr}.campaign-tabs{gap:18px}.campaign-tab{font-size:17px}}

/* Recording 2026-07-14: Sellego has a persistent white left rail, not a hidden/black top bar. */
.sidebar{
  display:flex;
  position:fixed;
  inset:0 auto 0 0;
  width:74px;
  height:100vh;
  padding:10px 7px;
  background:#fff;
  color:#4b525a;
  border-right:1px solid #ececec;
  box-shadow:1px 0 0 #00000004;
  flex-direction:column;
  align-items:center;
  gap:8px;
  z-index:30;
}
.brand{
  min-width:0;
  width:48px;
  height:42px;
  display:grid;
  place-items:center;
  color:#15181d;
  font-size:0;
  margin-bottom:4px;
}
.brand span{
  margin:0;
  width:30px;
  height:30px;
  border-radius:8px;
  padding:0;
  font-size:18px;
  color:#fff;
}
.brand-note{display:none}
.sidebar nav{display:flex;flex-direction:column;gap:8px;width:100%}
.nav-item{
  width:60px;
  min-height:58px;
  padding:7px 3px 5px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#737a83;
  background:transparent;
  border:0;
  border-radius:12px;
  font-size:10px;
  line-height:1.1;
  text-align:center;
  white-space:normal;
}
.nav-item::before{
  content:attr(data-icon);
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:7px;
  color:#5c636c;
  font-size:13px;
  font-weight:800;
}
.nav-item:hover,
.nav-item.active{
  background:#f1fbf6;
  color:#10aa6b;
  border-bottom:0;
}
.nav-item:hover::before,
.nav-item.active::before{color:#10aa6b}
.side-safe{
  margin-top:auto;
  width:58px;
  padding:8px 5px;
  border:0;
  background:#f7f8f8;
  color:#6d747c;
  border-radius:12px;
  text-align:center;
}
.side-safe strong{font-size:10px;line-height:1.15}
.side-safe span{display:none}
main{margin-left:74px;padding:36px 0 60px;background:#f7f7f7}
header{margin:-36px 0 0;padding:18px 38px 16px;border-bottom:1px solid #ececec}
.header-actions{align-items:flex-start}
.campaign-header-side{
  min-width:245px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  font-size:13px;
  color:#7e8490;
}
.campaign-header-side:empty{display:none}
.video-help{
  border:0;
  background:#f1f1f1;
  color:#24272b;
  border-radius:18px;
  padding:8px 14px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.campaign-side-id{color:#222;font-weight:800;font-size:15px}
.product-link,.note-link{
  border:0;
  background:transparent;
  color:#9aa0aa;
  padding:0;
  font:inherit;
  cursor:pointer;
  text-align:right;
}
.product-link span{display:block;text-decoration:underline}
.product-link strong{display:block;color:#31343a;font-size:11px}
.note-link{text-decoration:underline}
.read-only{font-size:11px;padding:8px 11px}
.campaign-meta{gap:13px;margin-top:10px;font-size:15px}
.meta-toggle{flex:0 0 auto}
.ad-manager-nav,.campaign-tabs,.stats-subtabs,.section-heading{padding-left:38px;padding-right:38px}
button:focus-visible,
input:focus-visible,
select:focus-visible{
  outline:2px solid #10c878;
  outline-offset:2px;
}
.campaign-tab:focus,
.nav-item:focus{outline:none}
.campaign-tab:focus-visible,
.nav-item:focus-visible{
  outline:2px solid #10c878;
  outline-offset:-2px;
}
.cluster-name-cell{display:flex;align-items:flex-start;gap:8px;white-space:normal}
.cluster-name-cell strong{display:block;color:#0b8e5f;line-height:1.3}
.cluster-name-cell span{display:block;color:#8b9791;font-size:10px;margin-top:3px}
.cluster-expand{width:24px;height:24px;border:1px solid #b8dfcc;background:#f3fbf7;color:#08754f;border-radius:7px;font-weight:900;cursor:pointer;line-height:1}
.muted-expand{border-color:transparent;background:transparent;cursor:default}
.cluster-id-cell{font-family:Consolas,Menlo,monospace;color:#5f6b64;background:#f2f5f3;border-radius:7px;padding:5px 7px}
.cluster-child-row td{background:#fbfdfc;border-bottom-color:#e1eee7}
.cluster-child-name{display:block;padding-left:34px;color:#0b8e5f;font-weight:800}
.expanded-detail-row td{background:#fbfdfc!important;padding:0 14px 14px}
.cluster-expanded-row{border:1px solid #d8eee3;border-radius:12px;background:#fff;margin:8px 0;padding:12px}
.cluster-expanded-title{font-weight:800;color:#08754f;margin-bottom:10px}
.cluster-expanded-row .table-wrap{max-height:260px;border:1px solid #edf2ef;border-radius:10px}
.cluster-expanded-row table{font-size:11px}
.cluster-phrase-list{margin-top:8px;display:grid;gap:4px;max-height:180px;overflow:auto;padding:8px 10px;background:#f6faf8;border:1px solid #d8eee3;border-radius:8px;color:#36443d;font-size:11px}
.cluster-phrase-list div{white-space:normal}
.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:24px;
  background:#00000055;
}
.modal-backdrop.hidden{display:none}
.modal-card{
  width:min(560px,100%);
  padding:20px;
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:18px;
  box-shadow:0 24px 70px #00000035;
}
.modal-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.modal-header h3{margin:4px 0 0;font-size:22px}
.modal-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:#f3f3f3;
  color:#333;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.modal-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:14px;
}
.modal-grid label{
  display:grid;
  gap:6px;
  color:#516159;
  font-size:12px;
  font-weight:800;
}
.modal-grid input{
  padding:10px 12px;
  border:1px solid #e2e2e2;
  border-radius:9px;
  font:inherit;
}
.modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:18px;
}
.modal-selected{
  color:#08754f;
  font-weight:800;
}
.settings-subtitle{
  margin:22px 0 12px;
  padding-top:18px;
  border-top:1px solid #edf0ee;
}
.settings-subtitle h3{margin:0}
.compact-notice{margin-bottom:12px}
.compact-primary{margin-top:0}
@media(max-width:900px){
  .sidebar{position:fixed;width:62px}
  .nav-item{width:50px;font-size:9px}
  main{margin-left:62px}
  .header-actions{flex-wrap:wrap;justify-content:flex-end}
  .campaign-header-side{min-width:180px}
}

/* Вход по почте и паролю */
.auth-page{display:grid;place-items:center;min-height:100vh;padding:16px;background:var(--bg)}
.auth-card{width:min(380px,100%);padding:26px;background:#fff;border:1px solid var(--line);border-radius:14px;display:grid;gap:12px}
.auth-card h1{margin-bottom:4px}
.auth-card label{display:grid;gap:6px;color:#516159;font-size:12px;font-weight:700}
.auth-card input{border:1px solid var(--line);border-radius:9px;padding:10px 12px;font:inherit}
.auth-card button{width:100%;margin-top:6px}
.auth-intro,.auth-hint{color:var(--muted);font-size:13px;line-height:1.5;margin:0}
.auth-error{color:#a43c3c;font-size:13px;margin:0}

/* Просьбы об изменениях программы */
.propose-button{border:0;background:#7554d8;color:#fff;border-radius:999px;padding:10px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.propose-button:hover{background:#5f41c0}
.requests-card{width:min(720px,100%);max-height:88vh;overflow:auto}
.requests-card textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px 12px;font:inherit;resize:vertical}
.requests-hint{margin:0 0 12px}
.deploy-box{margin:12px 0;padding:12px 14px;border:1px solid #b7e0ce;background:#f2fbf7;border-radius:10px}
.deploy-box p{margin:0}
.requests-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.requests-list li{border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.requests-list li p{margin:6px 0 0;white-space:pre-wrap}
.request-head{color:var(--muted);font-size:12px}
.request-status{font-weight:700}
.request-done{color:#08754f}
.request-approved,.request-new{color:#885c16}
.request-answer{background:#f6f8f6;border-radius:8px;padding:8px 10px}
.campaign-source-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.wb-refresh{display:flex;align-items:center;gap:12px}.wb-refresh button:disabled{opacity:.5;cursor:default}
