/* Allow the data to use the screen even with large selections and wide columns. */
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page > .workbench[data-xl-mobile-table] > .table-wrap{
  height:var(--xl-mobile-available445,var(--xl-mobile-table-height,60dvh))!important;
  max-height:var(--xl-mobile-available445,var(--xl-mobile-table-height,60dvh))!important;
  min-height:104px!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scroll-padding-block:40px 8px;
  scroll-behavior:auto!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page > .workbench[data-xl-mobile-table]{
  padding-inline:5px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table]>.pager{
  flex-wrap:nowrap!important;min-width:0;gap:2px 4px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table]>.pager :is(.xl-page-controls375,span){
  white-space:nowrap;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table]>.pager>span{
  flex:0 0 auto;font-size:11px;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table]>.pager [data-testid="page-size"]{width:68px!important}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table]>.pager .el-pagination{
  min-width:0;overflow-x:auto!important;scrollbar-width:none;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table]>.pager .el-pagination :is(button,.el-pager li){
  flex:none;min-width:25px!important;width:25px!important;padding:0!important;
}
html:root.xl-table-focus353[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page.xl-workspace-focus-r269>.workbench[data-xl-mobile-table]>.table-wrap{
  flex:0 1 var(--xl-mobile-available445,70dvh)!important;
  height:var(--xl-mobile-available445,70dvh)!important;
  max-height:var(--xl-mobile-available445,70dvh)!important;
  min-height:104px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap[data-xl-scan443] :is(th,td)[data-column="status"]{
  --xl-scan-width:42px;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap[data-xl-scan443] :is(th,td)[data-column="spend"]{
  --xl-scan-width:64px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap[data-xl-scan443] :is(th,td)[data-column="orders"]{
  --xl-scan-width:50px;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap[data-xl-scan443] td[data-column="name"]>span.xl396-series-title{
  min-width:0!important;overflow:hidden;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap[data-xl-scan443] td[data-column="name"] :is(b,strong){
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  white-space:normal!important;
  overflow-wrap:anywhere;
  line-height:1.25;
}
/* Keep identification in view while panning wide tables. Status and selection
   remain on the left before panning, and don't use the entire pinned area. */
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table:not([data-xl-mobile-pinching]) :is(th,td)[data-column="name"]{
  position:sticky!important;
  left:0!important;
  border-inline-end:1px solid var(--xl-ref-border,#d4ddd7)!important;
  background-color:var(--xl-color-surface,#fff);
  z-index:3!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-fit="manual"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table :is(th,td)[data-column="name"]{
  width:clamp(105px,34vw,170px)!important;
  min-width:clamp(105px,34vw,170px)!important;
  max-width:clamp(105px,34vw,170px)!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table :is(th,td):is([data-column="status"],.select-column){
  position:static!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap table thead{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  background:var(--xl-color-header,#eef3ef)!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap table thead th{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table thead th[data-column="name"]{
  position:sticky!important;left:0!important;z-index:7!important;
  background:var(--xl-color-header,#eef3ef)!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table thead th[data-column="status"],
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table thead th.select-column{position:relative!important;left:auto!important}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) td[data-column="name"] button.xl396-ad-post{
  min-width:26px!important;padding-inline:5px!important;font-size:0!important;gap:0!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-fit="manual"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table :is(th,td):is([data-column="orders"],[data-column="roi"]){
  width:68px!important;min-width:68px!important;max-width:none!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-fit="manual"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table :is(th,td):is([data-column="cpa"],[data-column="aov"],[data-column="sales"],[data-column="spend"]){
  width:85px!important;min-width:85px!important;max-width:none!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-fit="manual"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table :is(th,td):is([data-column="bidValue"],[data-column="bidStrategy"]){
  width:92px!important;min-width:92px!important;max-width:none!important;white-space:nowrap!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-fit="manual"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) td[data-column="bidValue"] button{
  min-width:0!important;max-width:100%!important;white-space:nowrap!important;line-height:1.2!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap:not([data-xl-scan443]) table td .metric-stack>:is(div,span){
  display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:2px!important;text-align:left;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap table td[data-column="name"] :is(b,strong){
  cursor:pointer;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench .table-wrap[data-xl-scan443]{
  touch-action:pan-y!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"] body .xl-name-sheet445{
  inset:auto 8px max(8px,env(safe-area-inset-bottom,0px));margin:auto;padding:14px;
  width:auto;max-width:460px;max-height:75dvh;overflow:auto;box-sizing:border-box;
  color:var(--xl-ref-text,#20352c);background:var(--xl-color-surface,#fff);border:1px solid var(--xl-ref-border,#d4ddd7);border-radius:12px;
}
.xl-name-sheet445::backdrop{background:#16231f80}
.xl-name-sheet445 p{margin:12px 0;font-size:16px;line-height:1.55;overflow-wrap:anywhere;user-select:text}
.xl-name-sheet445 button{width:100%;min-height:44px;background:var(--xl-color-header,#eef3ef);color:inherit;border:1px solid var(--xl-ref-border,#d4ddd7);border-radius:8px}

/* In cards the desktop frozen cells must participate in the card grid.
   In particular the checkbox may not float over the name and details link. */
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap{
  height:auto!important;max-height:none!important;overflow:visible!important;contain:none!important;touch-action:pan-y!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap table tbody>tr[data-xl-row-key]{
  display:grid!important;position:relative!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-auto-rows:auto!important;grid-template-rows:none!important;align-items:start!important;align-content:start!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;contain:none!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap table tbody>tr>td[data-column]{
  position:static!important;inset:auto!important;z-index:auto!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;transform:none!important;background:transparent!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap table td[data-column="name"]{
  display:block!important;grid-column:1/-1!important;grid-row:1!important;padding:3px 3px 3px 30px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap table td[data-column="status"]{display:block!important;grid-column:1/-1!important;grid-row:2!important}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap table tbody td.select-column{
  position:absolute!important;left:4px!important;right:auto!important;top:8px!important;bottom:auto!important;
  min-width:25px!important;width:25px!important;min-height:30px!important;max-height:38px!important;z-index:2!important;background:transparent!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench:not([data-xl-mobile-table])>.table-wrap table td[data-column="name"]>[data-xl-mobile-expand]{
  display:block!important;min-height:36px!important;width:auto!important;margin-top:2px;border:1px solid var(--xl-ref-border,#d4ddd7)!important;border-radius:6px;padding-inline:7px!important;
}

/* Native action rows are preserved and shown only on request. */
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-theme][data-xl-density] body #app main.cross-page .workbench>.selection-bar:has([data-xl-bulk-tools445]){
  display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center!important;gap:4px 6px!important;padding:3px 4px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"] body #app main.cross-page .workbench>.selection-bar [data-xl-bulk-tools445]{
  display:flex;justify-content:end;gap:5px;grid-column:2;grid-row:1;
}
[data-xl-bulk-tools445]>button{
  min-height:35px;padding:0 7px;border:1px solid var(--xl-ref-border,#d4ddd7);border-radius:6px;background:var(--xl-color-surface,#fff);color:var(--xl-ref-text,#20352c);font-size:12px;white-space:nowrap;
}
/* Account picker stays available in filters; don't repeat the same accounts
   as a second horizontal strip right above those controls. */
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-focus][data-xl-theme][data-xl-density] body #app main.cross-page:has(.workbench[data-xl-mobile-table]) .xl-summary-scope403 :is(.xl-summary-accounts370,.xl403-toggle){
  display:none!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-tools]>.toolbar{
  padding-block:3px!important;row-gap:4px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-tools]>.intelligence-bar{
  max-height:min(97px,21dvh)!important;overflow:auto!important;overscroll-behavior:contain;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-tools]>[data-xl-tools-done]{
  min-height:32px!important;height:32px!important;margin:1px 0 3px!important;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"] body #app .selection-bar:has([data-xl-bulk-tools445])>.xl-selection-info334{
  grid-column:1;grid-row:1;display:block;align-self:center;min-width:0;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"] body #app .selection-bar:has([data-xl-bulk-tools445])>.xl-selection-info334>small{display:none}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"] body #app .selection-bar[data-xl-bulk-open445]>.xl-selection-info334>small{display:block;line-height:1.2}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-theme][data-xl-density] body #app main.cross-page .workbench>.selection-bar:has([data-xl-bulk-tools445])>:is(.xl-selection-layout334,.xl-selection-actions334){
  grid-column:1/-1;min-width:0;
}
html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-theme][data-xl-density] body #app main.cross-page .workbench>.selection-bar:not([data-xl-bulk-open445]):has([data-xl-bulk-tools445])>:is(.xl-selection-layout334,.xl-selection-actions334){
  display:none!important;
}

/* No horizontal swipe required to reach a metric category. One independent
   vertical list per parameters tab, with a stable footer. */
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] .xl-columns-catalog-r262 > :is(.xl-column-categories-r269,.xl-columns-actions-r262){display:none!important}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] > .xl-columns-panels-r262{overflow:hidden!important}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] .xl-columns-catalog-r262{gap:5px}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] [data-xl-metric-tools445]{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;flex:0 0 auto;align-items:center;position:relative;z-index:2;
}
[data-xl-metric-tools445] :is(select,summary){
  min-height:40px;box-sizing:border-box;color:var(--xl-ref-text,#20352c);background:var(--xl-color-surface,#fff);border:1px solid var(--xl-ref-border,#d4ddd7);border-radius:7px;padding:0 10px;font-size:14px;
}
[data-xl-metric-tools445] summary{display:flex;align-items:center;cursor:pointer;list-style:none}
[data-xl-metric-tools445] summary::-webkit-details-marker{display:none}
[data-xl-metric-tools445] summary::after{content:"▾";padding-inline-start:5px}
[data-xl-metric-tools445] details>div{
  position:absolute;right:0;top:calc(100% + 4px);z-index:4;display:grid;gap:5px;padding:6px;border:1px solid var(--xl-ref-border,#d4ddd7);background:var(--xl-color-surface,#fff);border-radius:8px;box-shadow:0 8px 18px #1112;
}
[data-xl-metric-tools445] details button{min-height:40px}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] .xl-columns-available-r262 label{
  min-height:40px;font-size:13px!important;border-block-end:1px solid var(--xl-ref-border,#d4ddd7);
}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] .xl-columns-note-r262{display:none}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] > footer{flex-wrap:nowrap!important;justify-content:space-between!important}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] > footer button{min-height:42px;font-size:13px!important;white-space:nowrap}
html:root[data-xl-mobile-board] body .xl-columns-dialog-r262[data-xl-metrics445] > footer .primary{flex:1;max-width:65%}

@media(max-width:360px){
  html:root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app main.cross-page .workbench[data-xl-mobile-table] .table-wrap[data-xl-scan443] :is(th,td)[data-column="spend"]{--xl-scan-width:59px;font-size:11px!important}
}
@media(orientation:landscape) and (max-height:490px){
  html:where(:not([data-xl-phone-orientation])):root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-focus][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app .topbar{
    display:none!important;
  }
  html:where(:not([data-xl-phone-orientation])):root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-focus][data-xl-theme][data-xl-density] body > .xl-mobile-bottom-nav{
    padding-block:2px!important;
  }
}

  html:where([data-xl-phone-orientation="landscape"][data-xl-phone-h490]):root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-focus][data-xl-mobile-font][data-xl-mobile-density][data-xl-theme][data-xl-density] body #app .topbar{
    display:none!important;
  }
  html:where([data-xl-phone-orientation="landscape"][data-xl-phone-h490]):root[data-xl-mobile-board][data-xl-mobile-tab="details"][data-xl-mobile-focus][data-xl-theme][data-xl-density] body > .xl-mobile-bottom-nav{
    padding-block:2px!important;
  }

