.ads-bulk { position:fixed; inset:0; margin:auto; width:min(1500px,calc(100vw - 36px)); max-width:none; height:min(860px,calc(100dvh - 36px)); max-height:none; padding:0; border:1px solid #475569; border-radius:18px; background:#0f172a; color:#e2e8f0; overflow:hidden; font-family:var(--pv-font-ui,Arial,sans-serif); }
.ads-bulk[open] { display:flex; flex-direction:column; }
.ads-bulk[hidden],.ads-bulk [hidden] { display:none!important; }
.ads-bulk::backdrop { background:rgba(2,6,23,.8); backdrop-filter:blur(3px); }
.ads-bulk__header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:15px 20px 12px; border-bottom:1px solid #293449; flex-shrink:0; }
.ads-bulk__header h2 { margin:0; font-size:21px; line-height:1.3; font-weight:700; }
.ads-bulk__header p { margin:5px 0 0; font-size:13px; line-height:1.5; color:#94a3b8; }
.ads-bulk__header .ads-bulk__eyebrow { margin:0 0 4px; text-transform:uppercase; color:#a78bfa; letter-spacing:.1em; font-size:10px; font-weight:700; }
.ads-bulk__button { border:1px solid #3d4860; border-radius:8px; padding:9px 13px; background:#1e293b; color:#e2e8f0; font-size:12px; cursor:pointer; white-space:nowrap; }
.ads-bulk__button:hover { background:#293650; }
.ads-bulk button:disabled { opacity:.5; cursor:default; }
.ads-bulk button:focus-visible,.ads-bulk input:focus-visible,.ads-bulk select:focus-visible,.ads-bulk__table-wrap:focus-visible { outline:2px solid #a78bfa; outline-offset:3px; }
.ads-bulk__filters { display:flex; align-items:end; gap:12px; padding:12px 20px 8px; flex-wrap:wrap; flex-shrink:0; }
.ads-bulk label { display:flex; flex-direction:column; gap:5px; font-size:11px; color:#94a3b8; }
.ads-bulk input:not([type=checkbox]),.ads-bulk select { min-height:36px; padding:7px 10px; border:1px solid #354057; border-radius:7px; background:#111b2e; color:#e2e8f0; font:inherit; font-size:12px; }
.ads-bulk input[type=checkbox] { width:16px; height:16px; accent-color:#8b5cf6; cursor:pointer; }
.ads-bulk__period { flex:1; margin:0 0 9px; min-width:180px; font-size:12px; color:#94a3b8; }
.ads-bulk__notice { padding:0 20px 8px; font-size:11px; line-height:1.4; color:#94a3b8; flex-shrink:0; }
.ads-bulk__notice p { margin:0; }
.ads-bulk__notice #ads-bulk-retry { margin-top:8px; }
#ads-bulk-warnings { padding:9px 12px; margin-top:8px; border-left:3px solid #d97706; background:rgba(245,158,11,.07); color:#e6c895; }
.ads-bulk__workspace { flex:1; min-height:0; display:flex; flex-direction:column; overflow:auto; overscroll-behavior:contain; }
.ads-bulk__body { flex:1 0 340px; min-height:340px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:14px; padding:0 20px 12px; }
.ads-bulk__candidates,.ads-bulk__review { min-height:0; min-width:0; display:flex; flex-direction:column; border:1px solid #2b354a; border-radius:12px; background:#111b2b; overflow:hidden; }
.ads-bulk__section-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px 8px; flex-shrink:0; }
.ads-bulk__section-heading h3 { margin:0; font-size:14px; font-weight:650; }
.ads-bulk__section-heading>span { font-size:11px; color:#94a3b8; white-space:nowrap; }
.ads-bulk__selection-tools { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.ads-bulk__selection-tools>span { font-size:11px; color:#94a3b8; white-space:nowrap; }
.ads-bulk__selection-tools .ads-bulk__button { padding:7px 10px; border-color:#6d5a9b; color:#ddd6fe; background:rgba(139,92,246,.12); }
.ads-bulk__smart-note { margin:0 14px 12px; padding:9px 11px; background:rgba(139,92,246,.09); border-left:2px solid #a78bfa; border-radius:3px; color:#c4b5fd; font-size:11px; line-height:1.5; }
.ads-bulk__search { display:flex; gap:8px; padding:0 12px 8px; flex-shrink:0; }
.ads-bulk__search label:first-child { flex:1; min-width:0; }
.ads-bulk__search input { width:100%; }
.ads-bulk__table-wrap { flex:1; min-height:0; overflow:auto; }
.ads-bulk .ads-bulk__table { border-collapse:collapse; table-layout:fixed; width:100%; margin:0; font-size:12px; color:#e2e8f0; }
.ads-bulk__column-check { width:30px; }
.ads-bulk__column-acos { width:72px; }
.ads-bulk__column-impressions { width:96px; }
.ads-bulk__column-clicks { width:64px; }
.ads-bulk .ads-bulk__table th { position:sticky; top:0; z-index:1; background:#1d2638; color:#94a3b8; font-weight:600; font-size:10px; line-height:1.25; padding:9px 8px; text-align:right; white-space:nowrap; }
.ads-bulk__table th:nth-child(2) { text-align:left; }
.ads-bulk .ads-bulk__table td { padding:8px; border-top:1px solid #293246; vertical-align:top; text-align:right; font-size:12px; line-height:1.3; font-variant-numeric:tabular-nums; }
.ads-bulk .ads-bulk__table td:nth-child(2) { text-align:left; }
.ads-bulk__table td:first-child { width:32px; }
.ads-bulk__table tr.is-selected { background:rgba(139,92,246,.12); }
.ads-bulk .ads-bulk__campaign-name,.ads-bulk .ads-bulk__product-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; font-size:13px; line-height:1.3; font-weight:600; letter-spacing:normal; text-transform:none; }
.ads-bulk .ads-bulk__table small { display:block; margin-top:3px; color:#94a3b8; font-size:10px; line-height:1.3; }
.ads-bulk__table .ads-bulk__product-hint { color:#c4b5fd; }
.ads-bulk__campaign-meta { display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
.ads-bulk .ads-bulk__table .ads-bulk__product-hint { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; color:#c4b5fd; }
.ads-bulk__state { display:inline-block; color:#94a3b8; font-size:10px; line-height:1.25; padding:1px 5px; margin-top:3px; border-radius:4px; background:#263247; }
.ads-bulk__state--active { color:#86efac; background:rgba(34,197,94,.1); }
.ads-bulk__state--paused { color:#fcd34d; background:rgba(245,158,11,.1); }
.ads-bulk__scope-note { padding:0 12px 8px; margin:0; color:#94a3b8; font-size:10px; line-height:1.4; flex-shrink:0; }
.ads-bulk__selected { flex:1; min-height:0; overflow:auto; padding:0 12px 10px; }
.ads-bulk__empty { text-align:center; color:#94a3b8; padding:40px 18px; font-size:12px; line-height:1.6; }
.ads-bulk__text-button { background:none; border:0; color:#c4b5fd; cursor:pointer; font-size:11px; padding:3px; }
.ads-bulk__selected-card { border:1px solid #3b3e60; border-radius:8px; margin-bottom:8px; background:#151e32; overflow:hidden; }
.ads-bulk__selected-heading { display:flex; justify-content:space-between; gap:8px; padding:9px 10px; }
.ads-bulk__selected-heading>div { min-width:0; }
.ads-bulk__selected-heading h4 { margin:0; font-size:12px; font-weight:600; overflow-wrap:anywhere; }
.ads-bulk__selected-heading p { margin:3px 0 0; font-size:10px; line-height:1.3; color:#94a3b8; }
.ads-bulk__selected-heading button { align-self:start; }
.ads-bulk__product-list { margin:0; padding:0 10px 10px; list-style:none; }
.ads-bulk__product { display:grid; grid-template-columns:minmax(0,1fr) minmax(215px,1fr); align-items:start; gap:5px 10px; padding-top:7px; margin-top:6px; border-top:1px solid #2c3650; }
.ads-bulk__product-name { min-width:0; font-size:13px; line-height:1.3; }
.ads-bulk .ads-bulk__product-title { font-weight:500; }
.ads-bulk__product-name small { color:#94a3b8; display:block; font-size:10px; }
.ads-bulk__product-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:0; }
.ads-bulk__product-metrics dt { color:#94a3b8; font-size:9px; }
.ads-bulk__product-metrics dd { margin:2px 0 0; font-size:12px; line-height:1.3; font-variant-numeric:tabular-nums; }
.ads-bulk__association-note { grid-column:1/-1; font-size:10px; color:#d6b888; margin:4px 0 0; line-height:1.4; }
.ads-bulk__selected-details>summary { cursor:pointer; margin:9px 0; color:#94a3b8; font-size:11px; line-height:1.4; }
.ads-bulk__selected-details>summary:focus-visible { outline:2px solid #a78bfa; outline-offset:3px; }
.ads-bulk__history { margin-top:12px; font-size:11px; color:#c4b5fd; }
.ads-bulk__history summary { cursor:pointer; padding:5px 0; }
.ads-bulk__history summary:focus-visible { outline:2px solid #a78bfa; outline-offset:3px; }
.ads-bulk__history-products { margin:0; padding:0; list-style:none; color:#e2e8f0; }
.ads-bulk__footer { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 20px; border-top:1px solid #293449; background:#141e30; font-size:11px; flex-shrink:0; }
.ads-bulk__footer p { margin:0; color:#c4b5fd; }
.ads-bulk__footer span { color:#94a3b8; font-size:11px; }
.ads-bulk__sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:1100px) { .ads-bulk__product { grid-template-columns:1fr; } }
@media(max-width:1000px) { .ads-bulk__body { grid-template-columns:1fr 1fr; padding-inline:16px; gap:12px; } .ads-bulk__header,.ads-bulk__filters { padding-inline:16px; } .ads-bulk__notice { padding-inline:16px; } .ads-bulk__table { min-width:510px; } }
@media(max-width:720px) { .ads-bulk { width:calc(100vw - 16px); height:calc(100dvh - 16px); border-radius:12px; overflow:auto; } .ads-bulk__header { padding:12px 16px; } .ads-bulk__header h2 { font-size:19px; } .ads-bulk__workspace { flex:none; overflow:visible; } .ads-bulk__body { display:flex; flex-direction:column; flex:none; min-height:0; } .ads-bulk__candidates { min-height:300px; height:410px; max-height:460px; } .ads-bulk__review { min-height:230px; max-height:500px; } .ads-bulk__filters { padding-top:10px; gap:10px; } .ads-bulk__filters>label:first-child { flex:1; } .ads-bulk__period { flex-basis:100%; order:3; margin:0; } .ads-bulk__filters>#ads-bulk-refresh { margin-left:auto; } .ads-bulk__search { flex-wrap:wrap; } .ads-bulk__search label:first-child { min-width:160px; } .ads-bulk__footer { padding:10px 16px; flex-wrap:wrap; } }
