.aw-scope{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#64748b;font-size:12px;margin:0 0 14px}.aw-scope>span:first-child{padding:6px 10px;border-radius:6px;color:#244a78;background:#eaf2ff}.aw-nav{display:flex;gap:8px;margin-bottom:16px}.aw-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.aw-filters label{display:flex;flex-direction:column;gap:7px;min-width:150px;font-size:12px;color:#475569}.aw-filters label:first-child{min-width:270px;max-width:440px}.aw-filters input,.aw-filters select,.aw-pagination input,.aw-toolbar input,.aw-toolbar select{font:inherit;border:1px solid #dce3ed;padding:9px;border-radius:7px;min-width:0}.aw-filters .multi-picker{width:100%}.aw-filters .multi-picker-button{width:100%;min-height:38px}.aw-filters .multi-picker-panel label{flex-direction:row;min-width:0;align-items:center}.aw-filters .multi-picker-panel input{width:auto}.aw-note{font-size:12px;line-height:1.9;color:#64748b;background:#f0f6ff;border-left:3px solid #8eb2ef;padding:10px 13px;border-radius:5px}.aw-kpis{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:16px 0}.aw-kpi{background:#fff;border:1px solid #e2e8f0;border-radius:11px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:10px;cursor:help}.aw-kpi span{font-size:12px;color:#64748b}.aw-kpi strong{font-size:clamp(17px,1.4vw,23px);overflow-wrap:anywhere;color:#1e293b;font-weight:650}.aw-kpi:last-child strong{font-size:15px;line-height:1.8}.aw-compare{font-size:12px;color:#64748b;line-height:1.8}.aw-charts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.aw-charts>div{min-width:0}.aw-charts h4{margin:0 0 12px;color:#334155;font-size:14px}.aw-charts [id$=Chart]{height:300px}.aw-charts[hidden],.aw-modes[hidden],#awBudgetForm[hidden],#awGroupLabel[hidden],#awSkuLabel[hidden]{display:none!important}.aw-modes{display:flex;gap:8px;margin:20px 0}.aw-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.aw-toolbar h4{margin-right:auto;color:#334155}.aw-toolbar label{display:flex;gap:8px;align-items:center;font-size:12px}#awStatus{font-size:12px;color:#64748b;line-height:1.8}.aw-table-wrap{max-height:620px;overflow:auto;isolation:isolate}#awTable{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}#awTable th{position:sticky;top:0;background:#f3f6fb;z-index:3;white-space:nowrap}#awTable th[data-sort]{cursor:pointer}#awTable th,#awTable td{padding:12px;white-space:nowrap;border-bottom:1px solid #edf1f6;max-width:320px}#awTable td:nth-child(1),#awTable th:nth-child(1){position:sticky;left:0;z-index:2;background:#fff;box-shadow:2px 0 3px #0f172a08}#awTable th:nth-child(1){z-index:5;background:#f3f6fb}#awTable tr:hover td{background:#f8fbff}.aw-badge{display:inline-block;font-size:11px;background:#edf4ff;color:#365b85;padding:4px 7px;border-radius:5px;white-space:normal;max-width:250px;line-height:1.7}.aw-badge.warn{background:#fff5e7;color:#9a6212}.aw-muted{color:#94a3b8}.aw-pagination{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:15px 0 5px;font-size:12px}.aw-pagination select{border:1px solid #dce3ed;padding:8px;border-radius:7px}.aw-pagination label{display:flex;gap:7px;align-items:center}.aw-pagination input{width:65px}.aw-explanations{font-size:12px;color:#64748b;line-height:1.9;margin-top:16px}.aw-explanations summary{cursor:pointer;font-weight:600;color:#334155}.aw-explanations .table-wrap{max-height:250px;overflow:auto}.aw-explanations table{width:100%;font-size:12px}.aw-explanations th,.aw-explanations td{padding:10px;text-align:left}.aw-kpi:focus-visible,#awTable th:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.aw-filters button:disabled{cursor:not-allowed;opacity:.55}@media(max-width:1150px){.aw-kpis{grid-template-columns:repeat(3,minmax(140px,1fr))}.aw-charts{grid-template-columns:1fr}}@media(max-width:760px){.aw-kpis{grid-template-columns:repeat(2,minmax(100px,1fr))}.aw-filters label{min-width:120px;flex:1}.aw-filters label:first-child{min-width:200px}.aw-nav{flex-wrap:wrap}.aw-charts [id$=Chart]{height:260px}}
.aw-header-actions{display:flex;gap:8px;flex-wrap:wrap}#awSyncStatus{font-size:12px;color:#64748b;line-height:1.8}
#advertising>.section-heading{margin-bottom:6px;align-items:center}#advertising>.section-heading h3{margin:0}#awSyncStatus:empty{display:none}.aw-scope{margin-bottom:8px}.aw-scope>#awFreshness{padding:0;background:none;color:#64748b}.aw-nav{margin-bottom:10px}.aw-kpis{margin:10px 0;gap:10px}.aw-kpi{padding:12px;gap:6px}.aw-modes{margin:10px 0}.aw-toolbar{gap:8px}.aw-toolbar h4{margin-top:8px;margin-bottom:8px}#awStatus{margin:6px 0}.aw-charts{margin-top:10px;gap:12px}
#awTable .aw-product-name{display:block;width:200px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}
@media(max-width:760px){#awTable .aw-product-name{width:160px;max-width:160px}}

#awStoreDetails{padding:14px;overflow:auto}#awStoreDetails details{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:10px}#awStoreDetails summary{cursor:pointer;font-weight:600}#awStoreDetails p{font-size:13px;line-height:1.7;color:#64748b}#awStoreDetails table{width:100%;min-width:620px;margin:12px 0}#awStoreDetails button{margin:8px 4px}
.page-advertising main,.aw-section,.aw-section>.panel{min-width:0;max-width:100%}#awStoreDetails{max-width:100%;min-width:0}.page-advertising header{flex-wrap:wrap}@media(max-width:760px){.aw-section>.section-heading{flex-wrap:wrap;gap:10px}.aw-toolbar label{max-width:100%;flex-wrap:wrap}.aw-toolbar select{max-width:100%}.aw-filters label,.aw-filters label:first-child{min-width:0;max-width:100%;flex:1 1 100%}}

/* Only the report filters share a compact row. The budget form keeps its layout. */
.aw-query-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: end;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.aw-query-filters > label,
.aw-query-filters > .multi-picker > label {
  min-width: 0;
  max-width: none;
}
.aw-query-filters > label > select,
.aw-query-filters .multi-picker-button,
.aw-query-filters > button {
  height: 38px;
}
.aw-query-filters > label > select {
  width: 100%;
  text-overflow: ellipsis;
}
@media (max-width: 760px) {
  .aw-query-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aw-query-filters > button {
    justify-self: end;
  }
}
