/* Dense portfolio performance report, with pinned identity and action columns. */
.portfolio-report .pf-tools>.pf-icon-tool{width:31px;height:31px;padding:0;justify-content:center;flex-shrink:0;border-radius:3px}.portfolio-report .pf-tools>.pf-icon-tool:hover:not(:disabled){background:#edf3ff}
.portfolio-report .pf-tools>.pf-refresh{width:31px;min-width:31px;padding:0}.pf-refresh.is-loading svg{animation:pf-refresh-spin 1s linear infinite}@keyframes pf-refresh-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.pf-refresh.is-loading svg{animation:none}}
.advertising-page:has(.portfolio-report){padding:14px 12px;min-width:0}
.portfolio-report{color:#182638;min-width:0;font-size:12px;--pf-line:#e5ebf6;--pf-blue:#1558ed}
.pf-filter-card,.pf-workspace{background:#fff;border-radius:5px}
.pf-filter-card{padding:13px 14px 10px;margin-bottom:12px}
.portfolio-report .pf-shared-filters{align-items:flex-end;gap:8px;padding:0;margin:0;display:flex;flex-wrap:wrap}
.portfolio-report .pf-shared-filters>.product-country-field{flex:0 1 155px;min-width:120px}
.portfolio-report .pf-shared-filters>.listing-date-field{flex:0 1 240px;min-width:230px}
.portfolio-report .pf-shared-filters>.pf-state-field{flex:0 1 135px}
.portfolio-report .pf-shared-filters .country-picker-trigger,.portfolio-report .pf-shared-filters .listing-date-range{height:31px;font-size:11px}
.portfolio-report .pf-shared-filters .product-country-label{font-size:11px;white-space:nowrap}
.portfolio-report .pf-shared-filters .pf-state-field select{flex:none;width:100%;border:1px solid #d6e1f2;border-radius:5px;height:31px;padding-left:9px}
.pf-filter-actions{display:flex;gap:8px;flex-shrink:0}
.portfolio-report .pf-shared-filters .pf-search{min-width:175px;flex:1;max-width:260px}
.portfolio-report .pf-table .pf-summary td{top:var(--pf-summary-top,41px)}
@media(max-width:700px){.portfolio-report .pf-shared-filters>.product-country-field{flex:1 1 100%;min-width:0}.portfolio-report .pf-shared-filters>.listing-date-field{min-width:0}.portfolio-report .pf-shared-filters .pf-state-field select{flex:none;width:100%;min-width:0}.portfolio-report .pf-shared-filters .pf-search{flex:1 1 100%;order:0;max-width:none}.portfolio-report .pf-shared-filters>.pf-button{order:0}.portfolio-report .pf-table .pf-summary .pf-shop,.portfolio-report .pf-table .pf-summary .pf-name,.portfolio-report .pf-table .pf-summary .pf-check{top:var(--pf-summary-top,41px)}}
.pf-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.pf-filters select,.pf-filters input,.pf-pagination select{font:inherit;font-size:12px;color:#405474;min-width:0;background:#fff}
.pf-filters select,.pf-pagination select{height:31px;border:1px solid #cbd7eb;border-radius:3px;padding:0 23px 0 9px;max-width:240px}
.pf-shop-filter{width:205px}.pf-date-range{display:flex;align-items:center;gap:5px;border:1px solid #cbd7eb;border-radius:3px;height:31px;padding:0 7px;color:#7b8eab}
.pf-date-range input{border:0;padding:0;width:117px}.pf-search{display:flex;align-items:center;gap:5px;border:1px solid #cbd7eb;border-radius:3px;height:31px;padding:0 8px;min-width:165px;flex:1;max-width:260px}
.pf-search input{border:0;outline:none;width:100%;padding:0;background:none}.pf-search input::placeholder{color:#9aa8bc}
.portfolio-report svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.pf-search svg{color:#96a8c6}.pf-search:focus-within,.pf-date-range:focus-within{outline:2px solid #aac8ff;outline-offset:1px}
.pf-button{display:inline-flex;justify-content:center;align-items:center;gap:5px;border:1px solid #ccd9ef;border-radius:3px;height:31px;padding:0 11px;background:white;color:#365681;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.pf-button.primary{border-color:var(--pf-blue);background:var(--pf-blue);color:#fff}.pf-button:hover:not(:disabled){border-color:#8eb2ff;color:#1558ed;background:#f4f8ff}.pf-button.primary:hover:not(:disabled){color:#fff;background:#124bcc}
.portfolio-report button:disabled{cursor:default;opacity:.45}.portfolio-report button:focus-visible,.portfolio-report select:focus-visible,.pf-table-scroll:focus-visible,.portfolio-report input:focus-visible{outline:2px solid #92b7ff;outline-offset:2px}
.pf-filter-context{display:flex;align-items:center;gap:12px;margin-top:9px;color:#91a0b5;font-size:11px;flex-wrap:wrap}.pf-scope{border:1px solid #a5c3ff;color:#245cc0;border-radius:2px;padding:3px 7px;background:#f6f9ff}.pf-filter-active{color:#2d6bd8}.pf-loading{margin-left:auto}
.pf-workspace{padding:0 14px}.pf-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:55px}.pf-toolbar-title{display:flex;align-items:center;gap:15px}.pf-toolbar h1{font-size:14px;font-weight:600;margin:0;color:#254469}.pf-toolbar-title>span{font-size:11px;color:#4a7ad2}.pf-tools{display:flex;align-items:center;gap:15px}.pf-tool{display:flex;align-items:center;gap:5px;border:0;background:none;color:#526b8d;font:inherit;font-size:12px;padding:5px 0;cursor:pointer;white-space:nowrap}.pf-tool>span:first-child{font-size:10px}.pf-tool.active,.pf-tool:hover{color:#1558ed}.pf-tools>.pf-button{margin-left:5px}
.pf-table-scroll{overflow:auto;max-height:calc(100dvh - 320px);min-height:300px;scrollbar-color:#cfd7e3 #f8fafc;scrollbar-width:thin;border-top:1px solid #dfe7f5;border-bottom:1px solid #e4eaf5}
.pf-table{width:max-content;min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px;line-height:1.55;font-variant-numeric:tabular-nums;color:#152333}
.pf-table th,.pf-table td{border-bottom:1px solid var(--pf-line);height:50px;padding:7px 14px;min-width:100px;text-align:right;white-space:nowrap;background:#fff}
.pf-table th{position:sticky;top:0;z-index:4;height:41px;background:#f5f6fa;font-size:11px;font-weight:500;color:#172438;padding:0 12px}
.pf-table th button{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;padding:0;background:none;border:0;font:inherit;color:inherit;cursor:pointer;white-space:nowrap;width:100%;height:40px}
.pf-table thead th.pf-name{padding-top:0;padding-bottom:0}
.pf-help{color:#9baac3;font-size:11px;font-weight:400}.pf-sort{display:inline-flex;flex-direction:column;gap:2px;margin-left:2px}.pf-sort::before,.pf-sort::after{content:'';width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent}.pf-sort::before{border-bottom:4px solid #b0bdd3}.pf-sort::after{border-top:4px solid #b0bdd3}.pf-sort.ascending::before{border-bottom-color:#1558ed}.pf-sort.descending::after{border-top-color:#1558ed}
.pf-table .pf-check{position:sticky;left:0;width:34px;min-width:34px;max-width:34px;padding:0 9px;text-align:center;z-index:3}.pf-table input[type=checkbox]{appearance:none;width:13px;height:13px;border:1px solid #cbd9ef;border-radius:1px;margin:0;vertical-align:middle;background:#fff;cursor:pointer}.pf-table input:checked{background:#1a5beb;border-color:#1a5beb;box-shadow:inset 0 0 0 2px white}.pf-table input:indeterminate{background:linear-gradient(#fff 42%,#1a5beb 42%,#1a5beb 58%,#fff 58%)}
.pf-table .pf-shop{position:sticky;left:34px;min-width:135px;width:135px;max-width:135px;text-align:left;padding-left:11px;z-index:3}.pf-shop>span{display:block;max-width:111px;overflow:hidden;text-overflow:ellipsis}.pf-shop small{display:block;font-size:10px;color:#7c90ae}
.pf-table .pf-name{position:sticky;left:169px;width:235px;min-width:235px;max-width:235px;text-align:left;padding:7px 12px;z-index:3;border-right:1px solid #e7edf7;box-shadow:4px 0 7px -5px #8c9cba66}.pf-name>button.portfolio-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;width:210px;max-height:38px;white-space:normal;overflow-wrap:anywhere;text-align:left;font:inherit;line-height:1.5;color:#1454ff;padding:0;border:0;background:none;cursor:pointer}.pf-name>button.portfolio-name:hover{text-decoration:underline}.pf-table th.pf-name button,.pf-table th.pf-service button{justify-content:flex-start}
.pf-table .pf-service{min-width:144px;text-align:left}.pf-service-label{font-size:12px;color:#8997aa;white-space:nowrap}.pf-service-label.enabled{color:#00a984}.pf-service-label.overbudget{color:#ff3737}.pf-service-label.paused{color:#cf982c}.pf-service-label.archived{color:#98a0ad}
.pf-table .pf-actions{position:sticky;right:0;width:76px;min-width:76px;max-width:76px;text-align:center;padding:0 7px;z-index:3;border-left:1px solid #e8edf5;box-shadow:-4px 0 7px -5px #8c9cba66}.pf-actions button{padding:5px 3px;border:0;color:#52708c;background:none;cursor:pointer;line-height:0}.pf-actions button:hover{color:#1558ed}.pf-actions svg{width:15px;height:15px}
.pf-table thead .pf-check,.pf-table thead .pf-shop,.pf-table thead .pf-name,.pf-table thead .pf-actions{z-index:7;background:#f5f6fa}.pf-table .pf-summary td{position:sticky;top:41px;z-index:2;background:#fff;font-weight:500}.pf-table .pf-summary .pf-check,.pf-table .pf-summary .pf-shop,.pf-table .pf-summary .pf-name,.pf-table .pf-summary .pf-actions{z-index:5}.pf-table tbody tr:not(.pf-summary):hover td{background:#f7f8fc}.pf-table tbody tr.selected td{background:#f3f6fd;color:#1558ed}
.pf-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:11px;color:#8c9ab0}.pf-pagination>div{display:flex;align-items:center;gap:10px}.pf-pagination .pf-button{border:0;height:27px;min-width:25px;padding:0 7px;color:#7496ca}.pf-page-number{display:grid;place-items:center;width:28px;height:28px;border-radius:3px;background:#eaf0ff;color:#1558ed}.pf-pagination select{height:28px;font-size:11px;min-width:95px}
.pf-data-note{font-size:10px;color:#8d9bb1;line-height:1.8;margin:9px 2px 0}.pf-empty{text-align:center;max-width:calc(100vw - 150px);min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;white-space:normal;color:#91a0b4}.pf-empty h3{font-size:14px;font-weight:500;color:#667f9e;margin:0}.pf-empty p{font-size:12px;margin:12px 0 20px}
.portfolio-eyebrow{font-size:10px;letter-spacing:1.5px;color:#8a9bb3}.pf-detail-tabs{display:flex;gap:24px;border-bottom:1px solid #e1e8f4;margin-top:25px}.pf-detail-tabs button{border:0;border-bottom:2px solid transparent;background:none;font:inherit;padding:12px 0;color:#7c8fa9;cursor:pointer}.pf-detail-tabs button.active{color:#1558ed;border-bottom-color:#1558ed}.pf-detail-metrics p{font-size:11px;color:#90a0b6}.pf-detail-metrics dl{display:grid;grid-template-columns:1fr 1fr;font-size:12px;margin:20px 0}.pf-detail-metrics dt,.pf-detail-metrics dd{border-bottom:1px solid #edf1f6;margin:0;padding:12px 0}.pf-detail-metrics dt{color:#778ca8}.pf-detail-metrics dd{text-align:right;font-variant-numeric:tabular-nums}
@media(min-width:1700px){.pf-table th,.pf-table td{padding-left:12px;padding-right:12px;min-width:91px}.pf-filters{gap:8px}}
@media(max-width:700px){.advertising-page:has(.portfolio-report){padding:10px 8px}.pf-filter-card{padding:10px}.pf-filters{gap:6px}.pf-filters select{max-width:none;flex:1 0 calc(50% - 3px);width:40%;font-size:11px}.pf-shop-filter{min-width:140px!important}.pf-date-range{order:1;flex-basis:100%;justify-content:space-between}.pf-date-range input{width:43%;font-size:11px}.pf-search{order:2;flex-basis:100%;max-width:none}.pf-filters>.pf-button{order:3;flex:1}.pf-filter-context{gap:7px;font-size:10px}.pf-loading{margin-left:0}.pf-workspace{padding:0 9px}.pf-toolbar{align-items:flex-start;flex-direction:column;padding:12px 0;gap:10px}.pf-tools{gap:10px;flex-wrap:wrap;width:100%}.pf-tool{font-size:10px}.pf-tools>.pf-button{font-size:10px;margin-left:auto;padding:0 6px}.pf-toolbar h1{font-size:13px}.pf-table-scroll{max-height:560px;min-height:280px}.pf-table .pf-shop,.pf-table .pf-name{position:static}.pf-table .pf-check{position:static}.pf-table thead .pf-shop,.pf-table thead .pf-name,.pf-table thead .pf-check{position:sticky;top:0}.pf-table .pf-summary .pf-shop,.pf-table .pf-summary .pf-name,.pf-table .pf-summary .pf-check{position:sticky;top:41px;left:auto}.pf-table .pf-actions{width:54px;min-width:54px;padding:0 1px}.pf-table .pf-shop{width:115px;min-width:115px;max-width:115px}.pf-shop>span{max-width:92px}.pf-table .pf-name{width:190px;min-width:190px;max-width:190px}.pf-name>button.portfolio-name{width:165px}.pf-pagination{flex-wrap:wrap;gap:7px}.pf-pagination>div{margin-left:auto;gap:6px}.pf-pagination select{min-width:80px}.pf-empty{max-width:calc(100vw - 120px)}.portfolio-drawer>header,.portfolio-drawer-body{padding:20px}}

.ads-portfolio-context{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:0 0 12px;padding:5px 9px;border:1px solid #bdd0ff;border-radius:4px;color:#275ec9;background:#f3f7ff;font-size:12px}.ads-portfolio-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ads-portfolio-context button{font-size:17px;line-height:1;padding:0 2px}
