/* Campaign workspace: HYDR organization, Traffic Hawk visual language. */
#campaigns.hawk-campaign-workspace{--campaign-surface:#19171f;--campaign-line:#ffffff0c;--campaign-muted:#a49bb4;display:flex;flex-direction:column;gap:16px;min-width:0}
#campaigns[hidden]{display:none!important}
#campaigns .campaign-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:9px 0 5px;order:0}
#campaigns .campaign-eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:#b69be8}
#campaigns .campaign-workspace-header h1{font-size:25px;letter-spacing:-.7px;font-weight:600;line-height:1.3;margin:7px 0 6px}
#campaigns .campaign-workspace-header p{font-size:12px;color:var(--campaign-muted);margin:0;line-height:1.6}
#campaigns .campaign-header-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}
#campaigns :is(.pause-btn,.ads-primary,.campaign-filter-popover>summary){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;font-size:11px;font-weight:500;border-radius:8px;white-space:nowrap;padding:0 12px;line-height:1.2;box-shadow:none}
#campaigns .pause-btn{background:#ffffff03;border:1px solid #ffffff12;color:#c9c1d6}
#campaigns .pause-btn:hover:not(:disabled){background:#ffffff08;border-color:#a58ac347;color:#fff}
#campaigns .ads-primary{background:#8359d4;border:1px solid #b38be64a;color:#fff}
#campaigns .ads-primary:hover:not(:disabled){background:#9267e2}
#campaigns button:focus-visible,#campaigns summary:focus-visible{outline:2px solid #b99aec;outline-offset:3px}
#campaigns button:disabled{cursor:not-allowed;opacity:.38}
#campaigns .ads-connect-banner{order:1;border:1px solid #a584ce2e;padding:22px;background:linear-gradient(110deg,#8860bc12,#ffffff02);gap:15px;border-radius:12px}
#campaigns .ads-connect-banner h2{font-size:14px;margin-bottom:5px}
#campaigns .ads-connect-banner p{color:var(--campaign-muted);font-size:12px;line-height:1.6}
#campaigns .ads-account-panel{order:1;display:grid;grid-template-columns:minmax(190px,1fr) minmax(190px,1.1fr) minmax(220px,1.35fr) auto;align-items:center;gap:20px;padding:18px 20px;border:1px solid #ffffff10;border-radius:12px;background:linear-gradient(105deg,#24202d,#1b1922);margin:0;min-width:0;box-shadow:none}
#campaigns .ads-account-title{min-width:0;gap:11px}
#campaigns .ads-platform-icon{width:34px;height:34px;min-width:34px;border-radius:9px;background:#a08cc51a;border:1px solid #b59ad527;color:#c4a7fa;font-size:22px;box-shadow:none}
#campaigns .ads-account-title h2{font-size:12px;font-weight:600;margin:0 0 5px}
#campaigns #adsConnectionState{font-size:10px;color:var(--campaign-muted);line-height:1.5;margin:0}
#campaigns .ads-account-select{min-width:0;margin:0;width:auto}
#campaigns .ads-account-select>label{font-size:10px;font-weight:500;color:var(--campaign-muted);margin:0 0 7px;display:block}
#campaigns .select-wrap,#campaigns .dropdown{width:100%;min-width:0}
#campaigns .dropdown-trigger{min-height:36px;width:100%;padding:8px 11px;border-radius:7px;background:#15131b;border:1px solid #ffffff14;font-size:11px;gap:12px;max-width:none}
#campaigns .dropdown-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#campaigns .dropdown-menu{min-width:min(290px,80vw);z-index:60;max-height:290px}
#campaigns .campaign-refresh{align-self:end}
#campaigns .ads-sync-strip{order:2;display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-top:-4px;padding:0 2px}
#campaigns .hawk-tab-status{font-size:10px;line-height:1.6;color:#b7a8cc;margin:0;padding:0;min-height:0;display:flex;align-items:center;gap:7px;flex-shrink:0}
#campaigns .hawk-tab-status:before{content:'';width:5px;height:5px;border-radius:50%;background:#ac8bdf;flex-shrink:0}
#campaigns .ads-account-meta{font-size:10px;color:#8d849c;line-height:1.5;margin:0;padding:0;text-align:right}
#campaigns #adsSummary{order:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid #ffffff10;border-radius:12px;background:#211e28;gap:0;margin:0;overflow:hidden}
#campaigns .ads-stat{min-width:0;min-height:108px;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;padding:19px 20px;display:flex;flex-direction:column;gap:10px;margin:0;position:relative}
#campaigns .ads-stat+.ads-stat:before{content:'';position:absolute;left:0;top:21px;bottom:21px;width:1px;background:#ffffff0c}
#campaigns .ads-stat{grid-column:auto!important;grid-row:auto!important}
#campaigns .ads-stat>span{font-size:10px;color:#b2a7c3;font-weight:500;line-height:1.4}
#campaigns .ads-stat>strong{font-size:23px;letter-spacing:-.7px;font-weight:600;line-height:1.2;white-space:nowrap}
#campaigns .ads-stat>small{font-size:9px;color:#80758f;margin-top:0;line-height:1.4}
#campaigns .ads-manager{order:4;border-radius:12px;overflow:visible;background:var(--campaign-surface);border:1px solid #ffffff10;box-shadow:none;margin:0;padding:0;min-width:0}
#campaigns .ads-manager-heading{min-height:58px;padding:0 18px;border-bottom:1px solid var(--campaign-line);display:flex;justify-content:space-between;align-items:center;gap:15px}
#campaigns .ads-level-tabs{background:transparent;border:0;border-radius:0;padding:0;gap:20px;display:flex;align-self:stretch;overflow:visible}
#campaigns .ads-level-tabs>button{position:relative;display:flex;align-items:center;gap:7px;padding:0 2px;min-height:58px;border:0;border-radius:0;background:none;color:#a298b1;font-size:11px;box-shadow:none;font-weight:500}
#campaigns .ads-level-tabs>button.active{background:none;color:#d0b6fc;border:0;box-shadow:none}
#campaigns .ads-level-tabs>button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#ab86ea;border-radius:2px 2px 0 0}
#campaigns .ads-level-tabs>button:disabled{opacity:.35}
#campaigns #adsLevelCount{font-size:10px;color:#8d849c;white-space:nowrap}
#campaigns .ads-toolbar{display:flex;align-items:center;gap:9px;padding:14px 18px;margin:0;min-width:0;flex-wrap:wrap;border-bottom:1px solid var(--campaign-line)}
#campaigns .campaign-search{display:flex;align-items:center;gap:9px;flex:0 1 290px;min-width:180px;min-height:36px;border:1px solid #ffffff12;background:#111016;border-radius:8px;padding:0 11px;color:#80768f}
#campaigns .campaign-search:focus-within{border-color:#ab86ea80;box-shadow:0 0 0 2px #ab86ea0a}
#campaigns .campaign-search>svg{flex-shrink:0}
#campaigns .campaign-search>.search{min-width:0;width:100%;max-width:none;border:0;border-radius:0;background:transparent;padding:0;min-height:34px;height:auto;font-size:11px;box-shadow:none!important;outline:none!important;color:#e7e0ef}
#campaigns .campaign-search>.search::placeholder{color:#83798f}
#campaigns .ads-toolbar-end{margin-left:auto;display:flex;gap:8px;align-items:center}
#campaigns .campaign-filter-popover{position:relative}
#campaigns .campaign-filter-popover>summary{list-style:none;cursor:pointer;border:1px solid #ffffff12;color:#bfb5cd;background:#ffffff03}
#campaigns .campaign-filter-popover>summary::-webkit-details-marker{display:none}
#campaigns .campaign-filter-popover[open]>summary{border-color:#ac8bdf60;background:#ab86ea0b;color:#d4b6ff}
#campaigns #adsFilterCount{font-size:9px;background:#b18be626;color:#d4b6ff;min-width:16px;height:16px;display:grid;place-items:center;border-radius:4px}
#campaigns #adsFilterCount[hidden]{display:none}
#campaigns .campaign-columns-wrap{position:relative}
#campaigns .campaign-popover-panel{position:absolute;top:calc(100% + 9px);left:0;z-index:55;width:255px;border:1px solid #544260;background:#211c2b;border-radius:11px;box-shadow:0 20px 55px #0008;padding:15px;color:#e1d6ed}
#campaigns .campaign-popover-panel[hidden]{display:none}
#campaigns #adsColumnPanel{left:auto;right:0;width:235px;max-height:400px;overflow:auto}
#campaigns .campaign-popover-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}
#campaigns .campaign-popover-heading strong{font-size:12px;font-weight:600}
#campaigns .campaign-popover-close{display:grid;place-items:center;font-size:20px;width:24px;height:24px;line-height:1;background:none;border:0;color:#b1a0c4;cursor:pointer}
#campaigns .campaign-popover-panel>label{font-size:10px;color:#b1a0c4;display:block;margin-bottom:8px}
#campaigns .campaign-popover-panel .campaign-column-option{display:flex;align-items:center;gap:9px;padding:8px 2px;margin:0;color:#cec3dc;font-size:11px;cursor:pointer}
#campaigns input[type=checkbox]{accent-color:#a781e1;cursor:pointer;width:13px;height:13px;flex-shrink:0}
#campaigns .campaign-clear{border:0;background:none;color:#bd9fe7;font-size:10px;cursor:pointer;padding:13px 0 0;text-align:left}
#campaigns .campaign-filter-reset{background:none;border:0;color:#b8a1d0;font-size:10px;display:flex;gap:7px;align-items:center;cursor:pointer;padding:7px 2px}
#campaigns .campaign-filter-reset[hidden]{display:none}
#campaigns .ads-bulk{border:0;border-bottom:1px solid #a580d42e;min-height:42px;display:flex;align-items:center;gap:16px;background:#a580d40a;padding:9px 20px}
#campaigns .ads-bulk[hidden]{display:none!important}
#campaigns .ads-bulk [data-ads-bulk],#campaigns .ads-local-note{display:none}
#campaigns #adsSelectionCount{font-size:11px;color:#d3b8f4}
#campaigns .ads-text-btn{font-size:10px;color:#b9a6d1}
#campaigns .ads-table-scroll{max-height:620px;min-height:260px;width:100%;border-radius:0;margin:0;scrollbar-width:thin;scrollbar-color:#4c3e5e #19171f}
#campaigns .ads-table{width:100%;min-width:980px;table-layout:auto;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
#campaigns .ads-table :is(th,td){padding:13px 17px;border-bottom:1px solid #ffffff07;text-align:right;white-space:nowrap;font-size:11px;line-height:1.5;height:auto}
#campaigns .ads-table th{position:sticky;top:0;z-index:5;background:#201c29;color:#9e91af;font-size:10px;font-weight:500;letter-spacing:0;min-width:95px;height:43px;padding-top:10px;padding-bottom:10px}
#campaigns .ads-table th>button{display:inline-flex;align-items:center;gap:5px;justify-content:flex-end;font:inherit;color:inherit;min-width:0}
#campaigns .ads-table :is(th,td):first-child{width:42px;min-width:42px;padding-left:16px;padding-right:10px;text-align:center;position:sticky;left:0;z-index:3;background:#19171f}
#campaigns .ads-table :is(th,td):nth-child(2){text-align:left;min-width:240px;max-width:310px;position:sticky;left:42px;z-index:3;background:#19171f;border-right:1px solid #ffffff0a}
#campaigns .ads-table th:nth-child(-n+2){z-index:7;background:#201c29}
#campaigns .ads-table :is(th,td):nth-child(3){text-align:left}
#campaigns .ads-table tbody tr:hover>td{background:#211c2b}
#campaigns .ads-table tbody tr.is-selected>td{background:#30223d}
#campaigns .ads-name{font-weight:500;font-size:11px;text-align:left;color:#eee7f7;line-height:1.5;white-space:normal;overflow-wrap:anywhere;padding:0}
#campaigns .ads-name-cell>small{display:block;font-size:9px;color:#81758f;margin-top:4px;max-width:265px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#campaigns .ads-status{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;font-size:9px;font-weight:500;background:#ffffff04;color:#a79bb7;border:1px solid #ffffff09}
#campaigns .ads-status:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}
#campaigns .ads-status.on{background:#18352a50;border-color:#477d572c;color:#91cba9}
#campaigns .hawk-table-empty{height:260px;white-space:normal!important;text-align:center!important;position:static!important;background:transparent!important;border-right:0!important;padding:30px!important}
#campaigns .hawk-table-empty strong{font-size:13px;font-weight:500;margin-bottom:8px}
#campaigns .hawk-table-empty span{font-size:11px;line-height:1.7;color:var(--campaign-muted)}
#campaigns .hawk-table-empty button{display:inline-flex;margin-top:15px}
#campaigns .ads-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--campaign-line);padding:11px 18px;font-size:10px;min-height:56px}
#campaigns .ads-pagination>div{display:flex;align-items:center;gap:14px}
#campaigns #adsPageInfo{color:#a296b1}
#campaigns .campaign-page-size{color:#6e647d;border-left:1px solid #ffffff10;padding-left:14px}
#campaigns .ads-pagination .pause-btn{width:30px;min-height:30px;padding:0}
#campaigns .campaign-attribution-note{font-size:9px;color:#776c87;border-top:1px solid #ffffff07;padding:11px 18px;line-height:1.6}
@media(max-width:1100px){#campaigns #adsSummary{grid-template-columns:repeat(3,minmax(0,1fr))}#campaigns .ads-stat:nth-child(n+4){border-top:1px solid #ffffff09!important}#campaigns .ads-stat:nth-child(4):before{display:none}}
@media(max-width:760px){#campaigns #adsSummary{grid-template-columns:repeat(2,minmax(0,1fr))}#campaigns .ads-stat:nth-child(n+3){border-top:1px solid #ffffff09!important}#campaigns .ads-stat:nth-child(2n+1):before{display:none}#campaigns .ads-stat:nth-child(4):before{display:block}#campaigns .ads-manager-heading{flex-wrap:nowrap}#campaigns .ads-level-tabs{gap:12px}#campaigns .ads-level-tabs>button{white-space:nowrap}#campaigns .ads-stat>small{margin-top:0}}
@media(min-width:1700px){#campaigns .ads-stat>strong{font-size:26px}#campaigns .ads-table :is(th,td){padding-left:21px;padding-right:21px}}
@media(max-width:1100px){#campaigns .ads-account-panel{grid-template-columns:1fr 1.1fr 1.3fr;gap:15px}#campaigns .campaign-refresh{grid-column:3;justify-self:end;margin-top:-4px}#campaigns .ads-stat{padding:16px 13px}#campaigns .ads-stat>strong{font-size:20px}#campaigns .ads-sync-strip{align-items:flex-start;flex-direction:column;gap:4px}#campaigns .ads-account-meta{text-align:left}}
@media(max-width:760px){#campaigns.hawk-campaign-workspace{gap:12px}#campaigns .campaign-workspace-header{align-items:flex-start;flex-direction:column;gap:14px}#campaigns .campaign-workspace-header h1{font-size:22px}#campaigns .campaign-header-actions{width:100%}#campaigns .ads-account-panel{grid-template-columns:1fr 1fr;padding:15px;gap:15px 10px}#campaigns .ads-account-title{grid-column:1/-1}#campaigns .campaign-refresh{grid-column:1/-1;justify-self:stretch;margin:0}#campaigns .ads-account-select>label{font-size:9px}#campaigns .ads-summary{grid-template-columns:repeat(3,minmax(0,1fr))}#campaigns .ads-stat{min-height:94px;padding:14px 12px;gap:8px}#campaigns .ads-stat:nth-child(n+4){border-top:1px solid #ffffff09!important}#campaigns .ads-stat:nth-child(4):before{display:none}#campaigns .ads-stat>strong{font-size:19px}#campaigns .ads-stat>span{font-size:9px}#campaigns .ads-stat>small{font-size:8px}#campaigns .ads-manager-heading{padding:0 13px}#campaigns .ads-level-tabs{gap:15px}#campaigns .ads-level-tabs>button{font-size:10px;min-height:52px}#campaigns .ads-level-tabs .ico{display:none}#campaigns #adsLevelCount{font-size:9px}#campaigns .ads-toolbar{padding:12px;gap:8px}#campaigns .campaign-search{order:-1;flex:1 1 100%;min-width:0}#campaigns .ads-toolbar-end{gap:6px}#campaigns .ads-toolbar-end .pause-btn{padding:0 9px;font-size:10px}#campaigns .campaign-filter-reset{flex:1 0 100%;order:5}#campaigns .campaign-popover-panel{left:-48px;width:230px}#campaigns #adsColumnPanel{left:auto;right:0;width:215px}#campaigns .ads-table :is(th,td):nth-child(2){min-width:190px;max-width:220px}#campaigns .ads-name-cell>small{max-width:180px}#campaigns .campaign-page-size{display:none}#campaigns .ads-pagination{padding:10px 13px}#campaigns .campaign-attribution-note{padding:10px 13px}#campaigns .ads-connect-banner{align-items:flex-start;flex-wrap:wrap;padding:17px}#campaigns .ads-connect-banner>div{flex:1;min-width:170px}#campaigns .ads-connect-banner .ads-primary{margin-left:49px}#campaigns .hawk-tab-status{white-space:normal;flex-shrink:1}}
@media(prefers-reduced-motion:reduce){#campaigns *,#campaigns *:before,#campaigns *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* One compact header: identity, scope and actions, without a second account card. */
#campaigns .campaign-workspace-header{display:grid;grid-template-columns:minmax(150px,1fr) minmax(360px,1.5fr) auto;gap:24px;padding:16px 0;align-items:center}
#campaigns .campaign-heading{min-width:0}
#campaigns .campaign-workspace-header h1{font-size:21px;margin:0 0 5px;letter-spacing:-.5px}
#campaigns .campaign-workspace-header .ads-account-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;order:initial}
#campaigns .campaign-workspace-header .ads-account-panel[hidden]{display:none}
#campaigns .campaign-header-actions .campaign-refresh{align-self:center;width:36px;padding:0}
#campaigns .campaign-refresh>span{display:none}
#campaigns .campaign-connect-icon{width:36px;padding:0;font-size:20px}
#campaigns .campaign-header-actions{align-self:end}
#campaigns .campaign-workspace-header #adsConnectionState{font-size:11px}
#campaigns .ads-sync-strip{margin-top:-6px}
@media(max-width:1100px){
 #campaigns .campaign-workspace-header{grid-template-columns:1fr auto;gap:16px}
 #campaigns .campaign-workspace-header .ads-account-panel{grid-column:1/-1;grid-row:2}
 #campaigns .campaign-header-actions{grid-column:2;grid-row:1;align-self:center}
}
@media(max-width:650px){
 #campaigns .campaign-workspace-header{gap:14px 8px;padding:10px 0}
 #campaigns .campaign-workspace-header h1{font-size:19px}
 #campaigns .campaign-workspace-header .ads-account-panel{padding:0;gap:10px}
 #campaigns .campaign-header-actions{gap:6px}
 #campaigns .campaign-header-actions #adsManageConnections{padding:0 9px}
 #campaigns .campaign-header-actions #adsManageConnections .ico{display:none}
 #campaigns .campaign-workspace-header .ads-account-select{width:100%;min-width:0}
}

/* Campaigns has its own BC scope; do not show the overview-only control twice. */


/* A single cascading BC/account picker. */
#campaigns .campaign-workspace-header{display:flex;justify-content:space-between;gap:16px;padding:4px 0 8px}
#campaigns .campaign-workspace-header .campaign-scope-picker{display:block;position:relative;flex:0 1 370px;min-width:0}
#campaigns .campaign-header-actions{align-self:center}
#campaigns #adsScopeTrigger{width:100%;justify-content:flex-start;min-height:40px;padding:0 12px;font-size:12px;background:#1c1923}
#campaigns #adsScopeTrigger>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left}
#campaigns #adsScopeTrigger .ico{flex-shrink:0;width:15px;height:15px}
#campaigns .campaign-scope-panel{position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:min(400px,calc(100vw - 32px));padding:10px;background:#211c2b;border:1px solid #544260;border-radius:12px;box-shadow:0 16px 48px #0008}
#campaigns .campaign-scope-panel[hidden],#campaigns .campaign-scope-source{display:none!important}
#campaigns .campaign-scope-heading{display:flex;align-items:center;gap:8px;margin-bottom:10px;min-height:28px}
#campaigns .campaign-scope-heading strong{font-size:12px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#campaigns .campaign-scope-heading button{background:none;border:0;color:#c8b9d8;font-size:20px;width:28px;height:28px;border-radius:6px;cursor:pointer}
#campaigns #adsScopeSearch{width:100%;box-sizing:border-box;border:1px solid #ffffff19;background:#15121c;color:#eee7f7;font:inherit;font-size:12px;padding:10px;border-radius:7px;margin-bottom:8px}
#campaigns .campaign-scope-list{max-height:290px;overflow:auto;overscroll-behavior:contain}
#campaigns .campaign-scope-list>button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;padding:11px 10px;background:transparent;border:0;border-radius:7px;color:#ddd2e9;font:inherit;font-size:12px;cursor:pointer;line-height:1.5}
#campaigns .campaign-scope-list>button>span:first-child{min-width:0;overflow-wrap:anywhere}
#campaigns .campaign-scope-list>button:hover,#campaigns .campaign-scope-list>button[aria-current]{background:#a78bfa1c;color:#e6d4ff}
#campaigns .campaign-scope-empty{padding:12px;font-size:12px;color:var(--campaign-muted)}
@media(max-width:650px){#campaigns .campaign-workspace-header{flex-wrap:wrap;gap:10px}#campaigns .campaign-workspace-header .campaign-scope-picker{flex:1 1 100%}#campaigns .campaign-header-actions{margin-left:auto}#campaigns .campaign-scope-panel{width:100%;box-sizing:border-box}}

/* Campaign scope lives in the global header, visible only in Campaigns. */
/* A single cascading BC/account picker. */
.campaign-header-scope .campaign-workspace-header{display:flex;justify-content:space-between;gap:16px;padding:4px 0 8px}
.campaign-header-scope .campaign-workspace-header .campaign-scope-picker{display:block;position:relative;flex:0 1 370px;min-width:0}
.campaign-header-scope .campaign-header-actions{align-self:center}
.campaign-header-scope #adsScopeTrigger{width:100%;justify-content:flex-start;min-height:40px;padding:0 12px;font-size:12px;background:#1c1923}
.campaign-header-scope #adsScopeTrigger>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left}
.campaign-header-scope #adsScopeTrigger .ico{flex-shrink:0;width:15px;height:15px}
.campaign-header-scope .campaign-scope-panel{position:absolute;z-index:80;top:calc(100% + 8px);left:0;width:min(400px,calc(100vw - 32px));padding:10px;background:#211c2b;border:1px solid #544260;border-radius:12px;box-shadow:0 16px 48px #0008}
.campaign-header-scope .campaign-scope-panel[hidden],.campaign-header-scope .campaign-scope-source{display:none!important}
.campaign-header-scope .campaign-scope-heading{display:flex;align-items:center;gap:8px;margin-bottom:10px;min-height:28px}
.campaign-header-scope .campaign-scope-heading strong{font-size:12px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.campaign-header-scope .campaign-scope-heading button{background:none;border:0;color:#c8b9d8;font-size:20px;width:28px;height:28px;border-radius:6px;cursor:pointer}
.campaign-header-scope #adsScopeSearch{width:100%;box-sizing:border-box;border:1px solid #ffffff19;background:#15121c;color:#eee7f7;font:inherit;font-size:12px;padding:10px;border-radius:7px;margin-bottom:8px}
.campaign-header-scope .campaign-scope-list{max-height:290px;overflow:auto;overscroll-behavior:contain}
.campaign-header-scope .campaign-scope-list>button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;padding:11px 10px;background:transparent;border:0;border-radius:7px;color:#ddd2e9;font:inherit;font-size:12px;cursor:pointer;line-height:1.5}
.campaign-header-scope .campaign-scope-list>button>span:first-child{min-width:0;overflow-wrap:anywhere}
.campaign-header-scope .campaign-scope-list>button:hover,.campaign-header-scope .campaign-scope-list>button[aria-current]{background:#a78bfa1c;color:#e6d4ff}
.campaign-header-scope .campaign-scope-empty{padding:12px;font-size:12px;color:var(--campaign-muted)}
@media(max-width:650px){.campaign-header-scope .campaign-workspace-header{flex-wrap:wrap;gap:10px}.campaign-header-scope .campaign-workspace-header .campaign-scope-picker{flex:1 1 100%}.campaign-header-scope .campaign-header-actions{margin-left:auto}.campaign-header-scope .campaign-scope-panel{width:100%;box-sizing:border-box}}

.topbar .nav .campaign-header-scope{position:relative;flex:0 1 210px;max-width:210px;min-width:0;display:block;padding:0;border:0;background:none;box-shadow:none}
.topbar .nav .campaign-header-scope[hidden]{display:none!important}
.campaign-header-scope #adsScopeTrigger{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:40px;min-width:0;border:1px solid #ffffff14;border-radius:8px;color:#c9c1d6;cursor:pointer;font-family:inherit;white-space:nowrap}
.campaign-header-scope #adsScopeTrigger:focus-visible,.campaign-header-scope button:focus-visible,.campaign-header-scope input:focus-visible{outline:2px solid #b99aec;outline-offset:2px}
.campaign-header-scope .campaign-scope-panel{z-index:100;max-width:calc(100vw - 32px)}
.campaign-header-scope .campaign-scope-list{scrollbar-width:thin}
#campaigns .campaign-workspace-header{justify-content:flex-end;padding:0;min-height:36px}
@media(max-width:650px){.topbar .nav .campaign-header-scope{flex:1 0 100%;max-width:none;margin-bottom:4px}.campaign-header-scope .campaign-scope-panel{width:100%;box-sizing:border-box}}

/* One persistent overview header control shared by all views. */
#overviewBCFilter{position:relative}
#overviewBCFilter .campaign-header-scope{display:contents!important}
#overviewBCFilter .campaign-scope-panel{top:calc(100% + 8px);left:0}
