.stat-page-heading.page-heading{align-items:center;gap:14px;margin-bottom:17px}
.stat-page-heading h1{display:flex;align-items:center;gap:8px;font-size:clamp(19px,1.6vw,25px);font-weight:600;letter-spacing:-.35px;margin:0;line-height:1.2}
.stat-page-heading h1 .stat-page-title-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:#233449;color:#acc9ea;flex:0 0 auto}
.stat-page-title-icon>.stat-icon{width:19px;height:19px}
.stat-page-title-text{min-width:0;overflow-wrap:anywhere}
.stat-page-heading h1 .stat-visible-count{font-size:11px;font-weight:500;letter-spacing:0;background:#29313a;color:#dce4ee;padding:4px 8px;border-radius:20px;white-space:nowrap;flex:none}
.stat-page-heading p{display:none}
.stat-page-heading .heading-actions{gap:9px;align-items:center;flex-shrink:0}
.stat-timezone-label{display:flex;align-items:center;gap:4px;font-size:11px;color:#abb5c3;white-space:nowrap}
.stat-page-heading .stat-refresh-button{display:grid;place-items:center;width:33px;height:33px;min-height:33px;padding:0;font-size:11px;font-weight:500;border:1px solid #303944;border-radius:7px;background:#232a32;color:#eef4fa}
.stat-refresh-button>.stat-icon{width:17px;height:17px}
.stat-refresh-button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.stat-page-heading .stat-refresh-button:hover{background:#303a46;border-color:#445261}
.stat-icon{display:inline-block;width:14px;height:14px;flex-shrink:0;vertical-align:middle}
.advertising-stat-filter.panel{padding:0 0 5px;margin:0 0 5px;background:transparent;border:0;border-radius:0;overflow:visible}
.advertising-stat-filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));align-items:end;gap:8px}
.advertising-stat-filter-row.stat-primary-filter-row{
  grid-template-columns:minmax(0,.95fr) minmax(0,1fr) minmax(0,1.12fr) minmax(0,.73fr) minmax(0,.96fr) minmax(0,1fr) minmax(0,.98fr) minmax(0,1.34fr);
}
.advertising-stat-filter-row.stat-primary-filter-row:has(.stat-filter-field-owner){
  grid-template-columns:minmax(0,1.12fr) minmax(0,.95fr) minmax(0,.97fr) minmax(0,1.12fr) minmax(0,.73fr) minmax(0,.96fr) minmax(0,1fr) minmax(0,.98fr) minmax(0,1.34fr);
}
.advertising-stat-filter-row .field{gap:4px;min-width:0;font-size:11px;color:var(--muted)}
.advertising-stat-filter-row .field[hidden]{display:none}
.stat-filter-label{font-size:11px;line-height:1.2;font-weight:400;color:#b3bdc8;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.stat-filter-control{display:flex;position:relative;width:100%;min-width:0;align-items:center}
.stat-filter-control>.stat-icon{position:absolute;left:7px;width:13px;height:13px;color:#a4afbd;pointer-events:none;z-index:1}
.advertising-stat-filter-row input,.advertising-stat-filter-row select{
  width:100%;min-width:0;height:34px;min-height:34px;padding:6px 8px 6px 24px;font-size:11px;text-overflow:ellipsis;
  background:#151a20;border:1px solid #30363d;border-radius:7px;color:#e9edf2
}
.advertising-stat-filter-row select{appearance:none;padding-right:15px}
.stat-filter-control:has(>select)::after{content:"";position:absolute;right:8px;top:50%;width:5px;height:5px;border-right:1.5px solid #a8b2bd;border-bottom:1.5px solid #a8b2bd;transform:translateY(-65%) rotate(45deg);pointer-events:none}
.stat-filter-control input[type=search]{background:#202730;border-color:#202730}
.advertising-stat-filter-row input:focus,.advertising-stat-filter-row select:focus{border-color:#4c657f;box-shadow:0 0 0 2px #5d9bd119}
.stat-filter-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:7px}
.stat-extra-filters{flex:0 0 auto;min-width:0}
.stat-extra-filters[open]{flex:1 0 100%;order:2}
.stat-extra-summary{list-style:none;display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#aab6c5;cursor:pointer;padding:4px 6px 4px 1px;border:0;border-radius:5px;background:transparent;min-height:25px}
.stat-extra-summary::-webkit-details-marker{display:none}
.stat-extra-summary::after{content:"";width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:3px}
.stat-extra-filters[open] .stat-extra-summary::after{transform:translateY(2px) rotate(225deg)}
.stat-extra-filter-count{font-size:10px;background:#27374a;color:#b5d1f2;border-radius:10px;padding:1px 6px}
.stat-extra-filter-count[hidden]{display:none}
.stat-extra-filter-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:7px 0 3px}
.stat-reset-filters.btn{min-height:25px;padding:4px 7px;gap:4px;font-size:11px;color:#aeb9c6;background:transparent;border:1px solid transparent}
.stat-reset-filters.btn:hover,.stat-extra-summary:hover{color:#fff;background:#262e37;border-color:#353e47}
.advertising-stat-message{color:var(--muted);font-size:12px;margin:0 0 9px;line-height:1.5}
.advertising-stat-message:empty{display:none}
.advertising-stat-results{
  --stat-row:#181c22;
  --stat-head:#1e242b;
  --stat-rule:#292f36;
  --stat-total:#182534;
  --stat-total-currency:#19222d;
  min-width:0;max-width:100%;overflow:visible;background:var(--stat-row);border:1px solid #252b33;border-radius:9px
}
.advertising-stat-results .data-table-wrap{width:100%;min-width:0;max-width:100%;overflow:visible}
/* Percentages on the colgroup are computed from the actual available width.
   Fixed layout keeps the empty table and all populated tables the same width. */
.advertising-stat-table{border-collapse:separate;border-spacing:0;min-width:0;max-width:100%;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums;white-space:nowrap}
.advertising-stat-table col,.advertising-stat-table th,.advertising-stat-table td{min-width:0}
.advertising-stat-table th,.advertising-stat-table td{padding:4px 2px;border-bottom:1px solid var(--line-soft);line-height:1.2;vertical-align:middle}
.advertising-stat-table thead th{background:var(--stat-head);font-size:var(--stat-header-font,10px);font-weight:500;letter-spacing:0;text-transform:none;color:#dce3eb;border-bottom:0}
/* Independently rounded header bands are painted inside the fixed grid so
   the 20 metric columns keep their exact alignment with every body row. */
.advertising-stat-table th.stat-group-header{
  position:relative;isolation:isolate;background:var(--stat-head);border:0;text-align:left;padding:4px 5px;height:29px;
  font-size:var(--stat-group-font,11px);font-weight:600;color:#eef2f7
}
.stat-group-header::before{content:"";position:absolute;inset:2px 2px 1px;background:var(--stat-band-head);border-radius:6px;z-index:-1;pointer-events:none}
.stat-group-header .stat-group-label{
  display:inline-flex;align-items:center;gap:4px;max-width:none;line-height:1.2;padding:3px 6px;
  background:var(--stat-band-label,#303741);color:#f0f3f7;border-radius:12px;white-space:nowrap;transform-origin:left center
}
.stat-group-label>.stat-icon{width:1.17em;height:1.17em;color:var(--stat-band-ink,#d7dfe9)}
.advertising-stat-table th.stat-metric-heading{
  position:relative;isolation:isolate;--band-left:0px;--band-right:0px;--band-start-radius:0px;--band-end-radius:0px;
  font-size:var(--stat-header-font,10px);font-weight:500;height:24px;background:var(--stat-head);
  color:#dce4ed;text-align:center;padding:3px 2px;border:0
}
.stat-metric-heading::before{
  content:"";position:absolute;top:1px;bottom:2px;left:var(--band-left);right:var(--band-right);
  background:var(--stat-band-head);border-radius:var(--band-start-radius) var(--band-end-radius) var(--band-end-radius) var(--band-start-radius);
  z-index:-1;pointer-events:none
}
.stat-metric-heading:is(.stat-band-start,.stat-band-first){--band-left:2px;--band-start-radius:5px}
.stat-metric-heading:is(.stat-band-end,.stat-band-last){--band-right:2px;--band-end-radius:5px}
.stat-metric-heading .stat-sort-column{display:inline-flex;align-items:center;justify-content:center;gap:1px;font-size:inherit;color:inherit;background:none;border:0;padding:0;white-space:nowrap;cursor:pointer;transform-origin:center;max-width:none}
.stat-sort-column:hover{color:#fff}
th[aria-sort="ascending"] .stat-sort-column::after,th[aria-sort="descending"] .stat-sort-column::after{font-size:9px;color:var(--stat-band-ink,#c9dfff)}
th[aria-sort="ascending"] .stat-sort-column::after{content:"▴"}
th[aria-sort="descending"] .stat-sort-column::after{content:"▾"}
.stat-band-budget{--stat-band-head:#29282a;--stat-band-label:#3b3426;--stat-band-ink:#e8bc63}
.stat-band-traffic{--stat-band-head:#1c2b3a;--stat-band-label:#18344d;--stat-band-ink:#45b9fa}
.stat-band-leads{--stat-band-head:#282438;--stat-band-label:#382942;--stat-band-ink:#d18de9}
.stat-band-dialogs{--stat-band-head:#1a2a39;--stat-band-label:#17354a;--stat-band-ink:#45c6f2}
.stat-band-fd{--stat-band-head:#1d2e2c;--stat-band-label:#20452d;--stat-band-ink:#79e67f}
.stat-band-rd{--stat-band-head:#2e2929;--stat-band-label:#4d3322;--stat-band-ink:#ff9c52}
.stat-band-finance{--stat-band-head:#24342a;--stat-band-label:#24442e;--stat-band-ink:#80df79}
.advertising-stat-table tbody tr{height:51px;background:var(--stat-row)}
.advertising-stat-table tbody td{font-size:var(--stat-metric-font,11px);color:var(--text)}
.advertising-stat-table tbody td.stat-metric-cell{background:transparent}
.advertising-stat-table tbody tr:not(.empty-row):hover td{background-image:linear-gradient(rgba(255,255,255,.026),rgba(255,255,255,.026))}
.advertising-stat-table tbody tr:has(.stat-select input:checked) td{background-image:linear-gradient(rgba(34,139,250,.09),rgba(34,139,250,.09))}
.advertising-stat-table .stat-metric-cell,.advertising-stat-table .stat-metric-heading{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;min-width:0}
.advertising-stat-table .stat-metric-cell,.advertising-stat-table .stat-metric-heading,.advertising-stat-table .stat-group-header{overflow:hidden}
.advertising-stat-table .stat-metric-cell{letter-spacing:-.1px}
/* Width-fitting retains every digit; do not clip, elide or wrap desktop metrics. */
.stat-metric-fit-box,.stat-header-fit-box{display:flex;width:100%;min-width:0;justify-content:center;align-items:center}
.stat-group-fit-box{justify-content:flex-start}
.stat-metric-value{display:inline-block;flex:none;white-space:nowrap;max-width:none;transform-origin:center;vertical-align:middle}
.stat-header-fit-box .stat-sort-column,.stat-group-fit-box .stat-group-label{flex:none;max-width:none}
.stat-value-detail{cursor:pointer;text-decoration:underline dotted;text-underline-offset:2px}
.stat-value-detail:focus-visible{outline:1px solid var(--blue);outline-offset:1px}
.stat-value-dialog{width:min(430px,calc(100vw - 24px));max-width:100%;padding:19px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text)}
.stat-value-dialog::backdrop{background:rgba(10,13,17,.72)}
.stat-value-dialog h2,.stat-value-dialog h3{font-size:16px;font-weight:500;margin:0 0 12px}
.stat-value-dialog-amount{white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:21px;font-variant-numeric:tabular-nums;color:#e5ecf7;padding:9px 0 17px}
.stat-budget-type,.stat-budget-value{display:inline;white-space:nowrap}
.stat-budget-type{font-size:.76em;line-height:1.2;color:#959fac;margin-right:2px}
.stat-budget-value{font-size:inherit;line-height:1.2}
.stat-metric-value.stat-budget-stack{display:inline-flex;width:100%;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.stat-bid-value{color:#aebdce;font-size:.9em;line-height:1.2;white-space:nowrap}
.stat-financial-edit{display:inline-block;font:inherit;font-variant-numeric:inherit;letter-spacing:inherit;line-height:1.2;color:#97c5ff;background:transparent;border:0;padding:0;white-space:nowrap;cursor:pointer;text-decoration:underline dotted;text-underline-offset:2px}
.stat-financial-edit.stat-bid-value{font-size:.9em}
.stat-financial-edit:hover:not(:disabled){color:#d3e6ff}
.stat-financial-edit:disabled{opacity:.5;cursor:default}
.stat-financial-edit:focus-visible{outline:1px solid var(--blue);outline-offset:1px}
.advertising-stat-table tbody .stat-metric-cell:is(.stat-band-start,.stat-band-first){border-left:1px solid var(--stat-rule)}
.advertising-stat-table .stat-good{color:#6fda93}
.advertising-stat-table .stat-bad{color:#f18c90}
.advertising-stat-table .stat-zero{color:#9da7b2}
.advertising-stat-table .stat-select,.advertising-stat-table .stat-select-heading{
  padding:3px 1px;text-align:center;background:var(--stat-row)
}
.advertising-stat-table .stat-select-heading{background:var(--stat-head);border-top-left-radius:var(--radius)}
.stat-tree-child .stat-row-checkbox{position:relative;z-index:1}
.stat-select input,.stat-select-heading input{width:14px;height:14px;max-width:100%;margin:0;vertical-align:middle;accent-color:var(--blue);cursor:pointer}
.advertising-stat-table .stat-object,.advertising-stat-table .stat-object-heading{
  padding:5px 3px;background:var(--stat-row);
  box-shadow:1px 0 0 var(--stat-rule);text-align:left;overflow:hidden
}
.advertising-stat-table .stat-object-heading{background:var(--stat-head);font-size:var(--stat-object-font,11px)}
.stat-object-content{display:flex;align-items:center;gap:4px;min-width:0;width:100%}
.stat-preview{width:var(--stat-thumb-size,30px);height:var(--stat-thumb-size,30px);flex:0 0 var(--stat-thumb-size,30px);display:grid;place-items:center;overflow:hidden;border-radius:5px;background:#171a1d;border:1px solid var(--line);padding:0}
.stat-preview-trigger{cursor:zoom-in}
.stat-preview-trigger:hover{border-color:#82b8ee}
.stat-preview-trigger:focus-visible{outline:2px solid #82b8ee;outline-offset:2px}
.stat-preview-image{display:block;width:100%;height:100%;object-fit:cover}
.stat-preview-placeholder{font-size:12px;color:var(--subtle)}
.stat-object-copy{flex:1 1 0;min-width:0;overflow:hidden}
.stat-object-title,.stat-object-meta{display:flex;align-items:center;min-width:0;overflow:hidden;white-space:nowrap;gap:5px}
.stat-object-title{font-size:var(--stat-object-font,11px);line-height:15px;gap:3px}
.stat-geo{flex:none;max-width:45px;overflow:hidden;text-overflow:ellipsis;padding-right:3px;border-right:1px solid #46515c;font-size:.93em;color:#cbd4de}
.stat-object-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;min-width:0;white-space:nowrap}
.stat-tree-toggle{display:block;max-width:100%;background:none;border:0;padding:0;text-align:left;color:inherit;font:inherit;font-weight:500;line-height:inherit;cursor:pointer}
.stat-tree-toggle::before{content:'›';color:#96bce8;font-size:1.2em;font-weight:600;display:inline-block;margin-right:3px;line-height:.9}
.stat-tree-toggle[aria-expanded=true]::before{transform:rotate(90deg)}
.stat-tree-toggle:hover{color:#9ccaf9}
.stat-tree-toggle:focus-visible{outline:1px solid #82b8ee;outline-offset:-1px;border-radius:3px}
.stat-tree-level-label{font-size:8px;color:#8aa7ca;line-height:1.3;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Branches mirror FBSTACK: the root draws a down-stem; each nested row
   continues the stem and joins it at the middle; the last row stops there. */
.advertising-stat-table tbody tr.stat-tree-child{background:#172535}
.advertising-stat-table tbody tr.stat-tree-child>td:is(.stat-select,.stat-object,.stat-row-actions){background-color:#172535}
.advertising-stat-table tbody tr.stat-tree-child>td{border-bottom-color:#2b3b4f}
.advertising-stat-table tbody tr.stat-tree-child.stat-tree-last>td{border-bottom-color:#3a5471}
.advertising-stat-table tbody tr:is(.stat-tree-open,.stat-tree-child)>.stat-select,
.advertising-stat-table tbody tr:is(.stat-tree-open,.stat-tree-child)>.stat-object,
.advertising-stat-table tbody .stat-tree-placeholder-cell{position:relative}
.advertising-stat-table tr.stat-tree-open:not(.stat-tree-child)>.stat-select::after,
.advertising-stat-table tr.stat-tree-depth-1>.stat-select::before,
.advertising-stat-table tr.stat-tree-depth-2.stat-tree-outer-continues>.stat-select::before,
.advertising-stat-table tr.stat-tree-depth-1.stat-tree-open>.stat-object::before,
.advertising-stat-table tr.stat-tree-depth-2>:is(.stat-object,.stat-tree-placeholder-cell)::before{content:'';position:absolute;width:1px;background:#557ca5;pointer-events:none}
.advertising-stat-table tr.stat-tree-open:not(.stat-tree-child)>.stat-select::after{left:50%;top:calc(50% + 8px);bottom:-1px}
.advertising-stat-table tr.stat-tree-depth-1>.stat-select::before,
.advertising-stat-table tr.stat-tree-depth-2.stat-tree-outer-continues>.stat-select::before{left:50%;top:0;bottom:-1px}
.advertising-stat-table tr.stat-tree-depth-1.stat-tree-last>.stat-select::before{bottom:50%}
.advertising-stat-table tr.stat-tree-depth-1>.stat-select::after{content:'';position:absolute;left:50%;right:0;top:50%;height:1px;background:#557ca5;pointer-events:none}
.advertising-stat-table tr.stat-tree-depth-1>.stat-object .stat-object-content,
.advertising-stat-table tr.stat-tree-placeholder.stat-tree-depth-1>.stat-tree-placeholder-cell{padding-left:12px}
.advertising-stat-table tr.stat-tree-depth-1.stat-tree-open>.stat-object::before{left:8px;top:50%;bottom:-1px}
.advertising-stat-table tr.stat-tree-depth-2>.stat-object .stat-object-content,
.advertising-stat-table tr.stat-tree-placeholder.stat-tree-depth-2>.stat-tree-placeholder-cell{padding-left:21px}
.advertising-stat-table tr.stat-tree-depth-2>:is(.stat-object,.stat-tree-placeholder-cell)::before{left:8px;top:0;bottom:-1px}
.advertising-stat-table tr.stat-tree-depth-2.stat-tree-last>:is(.stat-object,.stat-tree-placeholder-cell)::before{bottom:50%}
.advertising-stat-table tr.stat-tree-depth-2>:is(.stat-object,.stat-tree-placeholder-cell)::after{content:'';position:absolute;left:8px;top:50%;width:10px;height:1px;background:#557ca5;pointer-events:none}
.advertising-stat-table .stat-tree-placeholder-cell{color:#a9bdd7;font-size:11px;white-space:normal}
.stat-tree-retry{font:inherit;color:#a4caf7;background:none;border:0;padding:2px 4px;cursor:pointer;text-decoration:underline}
.stat-creative-dialog{width:min(660px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:0;background:#20242a;color:var(--text);border:1px solid #414a56;border-radius:12px}
.stat-creative-dialog::backdrop{background:rgba(8,11,15,.78)}
.stat-creative-dialog .stat-creative-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px}
.stat-creative-dialog-header h2{font-size:16px;font-weight:600;margin:0;min-width:0;overflow-wrap:anywhere}
.stat-creative-close{flex:none}
.stat-creative-dialog-body{display:flex;justify-content:center;align-items:center;padding:12px;background:#11161c}
.stat-creative-dialog-media{display:block;max-width:100%;max-height:calc(100dvh - 110px);object-fit:contain;width:auto;height:auto}
.stat-creative-dialog-error{margin:16px;color:#f19aa1;white-space:normal}
.stat-object-meta{flex-wrap:wrap;margin-top:3px;line-height:14px;font-size:var(--stat-meta-font,9px);gap:2px}
.stat-pause-until{display:flex;gap:3px;align-items:center;margin-top:2px;font-size:var(--stat-meta-font,9px);line-height:13px;color:#dcb975;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat-pause-until>.stat-icon{width:10px;height:10px;flex:none}
.stat-pause-until>span{overflow:hidden;text-overflow:ellipsis}
.stat-pause-until.stat-pause-warning{color:#ff9395}
.stat-object-meta .stat-status-badge{display:block;flex:0 1 auto;min-width:0;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 1px 0 0;line-height:14px;font-size:inherit;font-weight:500}
.stat-object-meta .stat-status-badge::before{display:inline-block;content:"";width:5px;height:5px;border-radius:50%;background:currentColor;vertical-align:1px;margin-right:3px}
.stat-object-meta button.stat-status-badge{background:transparent;border:0;text-align:left;cursor:pointer;font-family:inherit}
.stat-object-meta button.stat-status-badge:hover:not(:disabled){text-decoration:underline;text-underline-offset:2px}
.stat-object-meta button.stat-status-badge:focus-visible{outline:1px solid currentColor;outline-offset:1px}
.stat-object-meta button.stat-status-badge[aria-busy=true]{opacity:.65;cursor:progress}
.stat-status-feedback{margin-top:3px;color:#e7ba74;font-size:var(--stat-meta-font,9px);line-height:1.35;overflow-wrap:anywhere}
.stat-status-stale::before{opacity:.55;outline:1px dashed currentColor;outline-offset:2px}
.stat-object-chip{display:inline-flex;align-items:center;gap:3px;flex:1 1 auto;min-width:0;max-width:56px;overflow:hidden;white-space:nowrap;background:#252c35;color:#d2dae5;border:1px solid #303944;border-radius:4px;font-size:inherit;line-height:11px;padding:2px 3px}
.stat-object-chip>.stat-icon{width:10px;height:10px;color:#b5c0cb}
.stat-chip-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stat-object-chip.stat-bundle-chip,.stat-object-chip.stat-launch-chip,.stat-object-chip.stat-watch-chip,.stat-object-chip.stat-account-chip{box-sizing:border-box;flex:0 0 18px;width:18px;height:16px;justify-content:center;padding:1px 2px}
.stat-watch-chip>.stat-icon{color:rgba(239,244,250,.57)}
.stat-watch-monitoring>.stat-icon{color:#78e2a2}
.stat-watch-mixed>.stat-icon{color:#f4aa59}
tr[data-level=adsets] .stat-watch-manual>.stat-icon{color:#ef898e}
button.stat-watch-chip{cursor:pointer}
button.stat-watch-chip:hover:not(:disabled){background:#364355}
button.stat-watch-chip:focus-visible{outline:1px solid var(--blue);outline-offset:1px}
.stat-launch-chip>.stat-icon{color:#b5c5d9}
.stat-bundle-chip.stat-platform-facebook>.stat-icon{color:#76abef}
.stat-bundle-chip.stat-platform-tiktok>.stat-icon{color:#74d8dd}
.stat-account-chip{flex:0 0 auto;max-width:none;cursor:pointer;font-family:inherit}
.stat-account-chip:hover{background:#364355;color:#f6f9ff}
.stat-account-chip:focus-visible{outline:1px solid var(--blue);outline-offset:1px}
.stat-object-copy>small{display:none}
.advertising-stat-table .stat-status-active{color:#77dba0}
.advertising-stat-table .stat-status-info{color:#72c9f8}
.advertising-stat-table .stat-status-waiting{color:#dcb975}
.advertising-stat-table .stat-status-error{color:#ff9395}
.advertising-stat-table .stat-status-neutral{color:#a2aab6}
.advertising-stat-table .stat-row-actions,.advertising-stat-table .stat-actions-heading,.advertising-stat-table .stat-total-action{
  position:relative;min-width:0;background:var(--stat-row);padding:2px 1px;text-align:center
}
.advertising-stat-table .stat-actions-heading{background:var(--stat-head);border-top-right-radius:var(--radius)}
.advertising-stat-table .stat-row-actions:has(.stat-row-menu[open]){z-index:200}
.stat-row-menu{margin:0;display:inline-block;width:100%}
.stat-row-menu summary,.stat-columns-trigger{list-style:none;display:grid;place-items:center;min-height:23px;height:23px;width:100%;max-width:26px;min-width:0;margin:auto;padding:0;border:1px solid transparent;border-radius:5px;color:#cbd5e2;background:none;cursor:pointer;font-size:14px;line-height:1}
.stat-row-menu summary::-webkit-details-marker,.stat-column-picker summary::-webkit-details-marker{display:none}
.stat-row-menu[open] summary,.stat-row-menu summary:hover,.stat-columns-trigger:hover{background:#353b44;border-color:#454e5a}
.stat-row-menu-items,.stat-column-menu-items{position:fixed;width:max-content;max-width:calc(100vw - 16px);max-height:min(70vh,500px);overflow:auto;z-index:180;background:#272b30;border:1px solid #424951;border-radius:8px;box-shadow:0 18px 48px #0007;padding:6px;text-align:left;white-space:normal}
.stat-row-menu-items{width:190px}
.stat-row-menu-items .btn,.stat-row-menu-items button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:31px;padding:7px 9px;margin:0;font-size:12px;background:transparent;border-color:transparent;white-space:normal;text-align:left}
.stat-row-menu-items .btn:hover:not(:disabled),.stat-row-menu-items button:hover:not(:disabled){background:#333941}
.stat-row-menu-items .stat-delete-action{color:#ffafb0}
.stat-row-menu-items .stat-delete-action:hover:not(:disabled){background:#452e35}
.stat-action-dialog{width:min(420px,calc(100vw - 24px))}
.stat-action-dialog .dialog-header,.stat-action-dialog .dialog-body,.stat-action-dialog .dialog-footer{padding:16px 18px}
.stat-action-dialog .dialog-body{gap:12px}
.stat-action-dialog .stat-action-note{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.stat-action-dialog .stat-action-target{overflow-wrap:anywhere}
.stat-action-error{color:#ffafb0;font-size:12px;line-height:1.4}
.stat-action-error:empty{display:none}
.stat-bulk-action{max-width:100%;height:27px;padding:3px 8px;font-size:11px;color:#e9edf2;background:#232a32;border:1px solid #303944;border-radius:6px}
.stat-bulk-action:disabled{opacity:.43}
.stat-column-menu-items{width:270px;padding:11px;line-height:1.4}
.stat-column-menu-items fieldset{border:1px solid #3d454f;border-radius:6px;padding:6px 9px;margin:8px 0}
.stat-column-menu-items legend{padding:0 5px;font-size:11px;font-weight:500;color:var(--muted)}
.stat-column-menu-items label{display:flex;align-items:center;gap:8px;min-height:26px;font-size:12px;cursor:pointer}
.stat-column-menu-items input{width:15px;height:15px;accent-color:var(--blue)}
.stat-controlbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;font-size:11px;color:var(--muted)}
.stat-controlbar:not(:empty){margin-bottom:7px}
.stat-filter-tools .stat-controlbar{min-height:26px;min-width:0;margin:0 0 0 auto;gap:6px}
.stat-controlbar .btn{font-size:11px;min-height:27px;padding:5px 10px}
.stat-controlbar [hidden]{display:none!important}
.stat-selection-count{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:11px;color:#aab8c6}
.stat-selected-actions{display:flex;flex-wrap:wrap;gap:6px}
.stat-select-mobile{display:none}
.stat-column-picker>summary,.stat-column-mobile{display:inline-flex;align-items:center;gap:5px;list-style:none;font-size:11px;padding:4px 7px;min-height:25px;border:1px solid #303943;border-radius:6px;cursor:pointer;background:#222a33;color:#dde6ef}
.advertising-stat-table tfoot .advertising-stat-total,.advertising-stat-table tfoot .advertising-stat-total:hover{background:var(--stat-total)}
.advertising-stat-table tfoot .advertising-stat-currency-total{background:var(--stat-total-currency)}
.advertising-stat-table tfoot td{border-bottom:1px solid #2b3949;padding:8px 2px;font-size:var(--stat-metric-font,11px);height:52px;font-weight:500;color:#e4effc}
.advertising-stat-table .stat-total-title{padding-left:7px;background:var(--stat-total);white-space:normal;overflow-wrap:anywhere;font-size:var(--stat-object-font,11px)}
.advertising-stat-table tfoot tr:last-child td:first-child{border-bottom-left-radius:7px}
.advertising-stat-table tfoot tr:last-child td:last-child{border-bottom-right-radius:7px}
.advertising-stat-table .advertising-stat-currency-total .stat-total-title{background:var(--stat-total-currency)}
.advertising-stat-table .stat-total-title small{font-size:10px;font-weight:400;display:inline-block;margin-left:6px;color:#b5c6d9}
.advertising-stat-table .advertising-stat-total .stat-good{color:#78e39b}
.advertising-stat-table .advertising-stat-total .stat-bad{color:#fc949c}
.advertising-stat-table .advertising-stat-total .stat-zero{color:#a5b2bf}
.advertising-stat-table .advertising-stat-total .stat-total-action{background:var(--stat-total)}
.advertising-stat-table .advertising-stat-currency-total .stat-total-action{background:var(--stat-total-currency)}
.advertising-stat-table .advertising-stat-archived td{color:#9098a2}
.advertising-stat-table .advertising-stat-archived .stat-object-copy,.advertising-stat-table .advertising-stat-archived .stat-preview{opacity:.58}
.advertising-stat-table .empty-state{height:74px;text-align:center;white-space:normal;color:#c9d1da;font-size:12px;padding:12px 18px}
.advertising-stat-results .table-footer{font-size:11px;padding:9px 12px}
.advertising-stat-totals{color:var(--muted);font-weight:400}
@media(max-width:1120px){
  .advertising-stat-filter-row.stat-primary-filter-row,
  .advertising-stat-filter-row.stat-primary-filter-row:has(.stat-filter-field-owner){grid-template-columns:repeat(4,minmax(0,1fr))}
  .advertising-stat-filter-row.stat-extra-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .stat-page-heading.page-heading{flex-wrap:wrap;gap:9px;margin-bottom:13px}
  .stat-page-heading h1{font-size:19px;gap:6px;flex-wrap:wrap}
  .stat-page-heading h1 .stat-page-title-icon{width:27px;height:27px}
  .stat-page-heading .heading-actions{margin-left:auto;gap:6px}
  .stat-timezone-label{font-size:10px}
  .advertising-stat-filter.panel{padding:0 0 3px}
  .advertising-stat-filter-row.stat-primary-filter-row,
  .advertising-stat-filter-row.stat-primary-filter-row:has(.stat-filter-field-owner),
  .advertising-stat-filter-row.stat-extra-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .advertising-stat-results .data-table-wrap{overflow:visible}
  .advertising-stat-table,.advertising-stat-table tbody,.advertising-stat-table tfoot{display:block;width:100%;min-width:0;white-space:normal}
  .advertising-stat-table colgroup,.advertising-stat-table thead{display:none}
  .advertising-stat-table tbody,.advertising-stat-table tfoot{display:grid;gap:11px;padding:10px}
  .advertising-stat-table tfoot{padding-top:0}
  .advertising-stat-table tbody tr,.advertising-stat-table tfoot tr{display:grid;width:100%;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;min-width:0;height:auto;padding:9px 7px;border:1px solid var(--stat-rule);border-radius:8px;background:var(--stat-row)}
  .advertising-stat-table tbody td,.advertising-stat-table tfoot td{position:static;width:auto;max-width:none;min-width:0;padding:7px 6px;border:0;box-shadow:none;height:auto;white-space:normal;color:var(--text)}
  .advertising-stat-table tbody td.stat-select,.advertising-stat-table tbody td.stat-object,.advertising-stat-table tbody td.stat-row-actions{position:static;width:auto;max-width:none;min-width:0;background:transparent;box-shadow:none}
  .advertising-stat-table tbody .stat-select{grid-row:1;grid-column:1;padding:7px 4px;text-align:left;align-self:start}
  .advertising-stat-table tbody .stat-object{grid-row:1;grid-column:2/6;padding:3px 0 10px}
  .advertising-stat-table tbody .stat-row-actions{grid-row:1;grid-column:6;align-self:start;justify-self:end;padding:1px}
  .advertising-stat-table tbody td.stat-select::before,.advertising-stat-table tbody td.stat-object::before,.advertising-stat-table tbody td.stat-row-actions::before,.advertising-stat-table tfoot td.stat-total-title::before{display:none}
  .stat-object-content{gap:7px}
  .stat-preview{width:42px;height:42px;flex-basis:42px}
  .stat-object-title{font-size:12px}
  .stat-object-meta{flex-wrap:wrap;white-space:normal}
  .stat-object-meta .stat-status-badge{max-width:100%;flex:none}
  .stat-object-chip{flex:0 1 auto;max-width:90px}
  .advertising-stat-table tbody td.stat-metric-cell,.advertising-stat-table tfoot td.stat-metric-cell{grid-column:span 2;display:block;text-align:center;min-width:0;min-height:48px;max-width:none;font-size:12px;font-variant-numeric:tabular-nums;border-top:1px solid var(--line-soft);border-left:0;border-right:1px solid var(--line-soft);overflow-wrap:anywhere;white-space:normal}
  .stat-metric-value,.stat-metric-value.stat-fit-wrap{
    display:block;flex:auto;min-width:0;width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;
    word-break:break-word;transform:none!important;font-size:inherit!important
  }
  .stat-metric-fit-box{display:block;width:100%}
  .advertising-stat-table tbody td.stat-metric-cell:nth-child(3n+5),.advertising-stat-table tfoot td.stat-metric-cell:nth-child(3n+4){border-right:0}
  .advertising-stat-table td.stat-metric-cell::before{display:block;content:attr(data-label);color:var(--stat-band-ink,var(--muted));font-size:10px;font-weight:400;margin-bottom:5px;line-height:1.25}
  .advertising-stat-table tfoot .stat-total-title{grid-column:1/-1;position:static;padding:7px 6px;background:transparent;white-space:normal}
  .advertising-stat-table tfoot td.stat-row-actions,.advertising-stat-table tfoot td:last-child:not(.stat-metric-cell):not(.stat-total-title){display:none}
  .advertising-stat-table tbody tr:has(.empty-state){display:block;padding:0;border:0;background:transparent}
  .advertising-stat-table tbody tr.stat-tree-child{margin-left:10px;width:calc(100% - 10px);border-left:2px solid #557ca5}
  .advertising-stat-table tbody tr.stat-tree-depth-2{margin-left:20px;width:calc(100% - 20px)}
  .advertising-stat-table tbody tr.stat-tree-child>td:is(.stat-select,.stat-object,.stat-row-actions){background:transparent}
  .advertising-stat-table tbody tr.stat-tree-child .stat-object-content{padding-left:0}
  .advertising-stat-table tbody tr.stat-tree-child>.stat-select::before,
  .advertising-stat-table tbody tr.stat-tree-child>.stat-select::after,
  .advertising-stat-table tbody tr.stat-tree-open>.stat-select::after,
  .advertising-stat-table tbody tr.stat-tree-child>.stat-object::before,
  .advertising-stat-table tbody tr.stat-tree-child>.stat-object::after,
  .advertising-stat-table tbody tr.stat-tree-child>.stat-tree-placeholder-cell::before,
  .advertising-stat-table tbody tr.stat-tree-child>.stat-tree-placeholder-cell::after{display:none}
  .advertising-stat-table tbody tr.stat-tree-placeholder>.stat-select{display:none}
  .advertising-stat-table tbody tr.stat-tree-placeholder{display:block;padding:8px}
  .advertising-stat-table tbody tr.stat-tree-placeholder>.stat-tree-placeholder-cell{display:block;padding:6px}
  .advertising-stat-table .empty-state{width:100%;height:auto;padding:20px}
  .advertising-stat-results .table-footer{flex-wrap:wrap;gap:7px}
  .stat-filter-tools{gap:5px 8px;align-items:center}
  .stat-filter-tools .stat-controlbar{justify-content:space-between;gap:6px}
  .stat-select-mobile{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
  .stat-select-mobile input{width:15px;height:15px;accent-color:var(--blue);margin:0}
  .stat-selection-count{margin-right:0}
  .stat-selected-actions{flex:1 0 100%;order:2}
  .stat-budget-type,.stat-budget-value{display:inline;white-space:normal;overflow-wrap:anywhere}
  .stat-column-picker>summary,.stat-column-mobile{display:inline-flex;align-items:center;gap:5px;list-style:none;font-size:11px;padding:4px 7px;min-height:26px;border:1px solid #303943;border-radius:6px;cursor:pointer;background:#222a33;color:#dde6ef}
}
@media(max-width:380px){
  .advertising-stat-table tbody,.advertising-stat-table tfoot{padding:8px;gap:9px}
  .stat-preview{width:34px;height:34px;flex-basis:34px}
  .stat-object-meta{gap:3px}
  .advertising-stat-table .stat-object-chip{max-width:60px}
}
