/* Isolated pixel management surface; shared ADS controls retain their behavior. */
.pixel-management-fixed-page { display: flex; flex-direction: column; gap: 8px !important; height: 100%; min-height: 0; overflow: hidden !important; padding: 0 !important; }
.pixel-management-fixed-page .pm-summary { flex: 0 0 auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; }
.pm-summary-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line,#e5e9f2); border-radius: 14px; background: var(--paper,#fff); }
.pm-summary span { display: block; margin-bottom: 2px; color: var(--muted,#65708a); font-size: 11px; }
.pm-summary strong { font-size: 18px; line-height: 1.2; font-weight: 700; }
.pixel-management-fixed-page .pm-main { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; box-shadow: none !important; }
.pm-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-bottom: 1px solid var(--line,#e5e9f2); }
.pm-filters,.pm-toolbar-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pm-filters { flex: 1 1 auto; }
.pm-filters > [data-pm-search-button] { flex: 0 0 auto; min-width: 64px; }
.pm-search-label { flex: 1 1 270px; min-width: 170px; max-width: 420px; }
.pm-search-label input { width: 100%; }
.pm-filters > select,.pm-filters > .custom-select-wrap { width: 145px; flex: 0 0 145px; }
.pm-filters input,.pm-filters select,.pm-filters .custom-select-trigger { min-height: 36px !important; height: 36px !important; font-size: 12px !important; }
.pm-toolbar-actions { flex: 0 0 auto; }
.pm-feedback { flex: 0 0 auto; padding: 8px 12px; border-bottom: 1px solid #f0dec4; color: #925708; background: #fff8ed; font-size: 12px; }
.pm-feedback[hidden] { display: none; }
.pixel-management-fixed-page .pm-table-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-gutter: stable; }
.pm-table { width: 100%; min-width: 1090px; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.pm-table th { position: sticky; top: 0; z-index: 2; height: 38px; background: #f6f6f8; border-bottom: 1px solid var(--line,#e5e9f2); font-weight: 700; white-space: nowrap; }
.pm-table th,.pm-table td { padding: 8px 10px; text-align: left; vertical-align: middle; border-right: 1px solid #f0f0f3; }
.pm-table td { height: 61px; border-bottom: 1px solid #eeeef1; overflow: hidden; }
.pm-table td:last-child,.pm-table th:last-child { text-align: center; border-right: 0; }
.pm-table tbody tr:hover { background: #f7f7f9; }
.pm-table td > strong { font-size: 12px; font-weight: 700; }
.pm-store-name,.pm-domain,.pm-row-error { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-domain { margin-top: 4px; font-size: 10px; }
.pm-row-error { max-width: 190px; margin-top: 4px; color: #bd3445; font-size: 10px; }
.pm-col-store { width: 22%; }.pm-col-platform { width: 8%; }.pm-col-pixel { width: 15%; }.pm-col-events { width: 16%; }.pm-col-mode { width: 10%; }.pm-col-status { width: 10%; }.pm-col-time { width: 9%; }.pm-col-actions { width: 10%; }
.pm-store-table .pm-col-store { width: auto; }.pm-store-table .pm-col-count { width: 11%; }.pm-store-table .pm-col-status { width: 12%; }.pm-store-table .pm-col-time { width: 12%; }.pm-store-table .pm-col-actions { width: 96px; }
.pm-store-table th:not(:first-child),.pm-store-table td:not(:first-child) { text-align: center; }
.pm-platform { display: inline-flex; align-items: center; width: fit-content; padding: 2px 7px; border-radius: 999px; font-size: 11px; border: 1px solid; white-space: nowrap; }
.pm-platform-facebook { color: #0670e6; border-color: #bbd8ff; background: #f0f7ff; }
.pm-platform-applovin { color: #07876c; border-color: #b3e6d7; background: #eefaf7; }
.pm-status { min-height: 22px; font-size: 11px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.pm-status.connected { background: #edf8f1; color: #087d43; border-color: #cce8d7; }
.pm-status.pending { background: #eff6ff; color: #1761bb; border-color: #d7e6fa; }
.pm-status.warning { background: #fff7e9; color: #996216; border-color: #f1dfbb; }
.pm-status.error { background: #fff1f2; color: #c63248; border-color: #f5d1d7; }
.pm-status.neutral { background: #f2f3f5; color: #687082; border-color: #e0e2e7; }
.pm-event-chips { display: flex; flex-wrap: wrap; gap: 3px 6px; font-size: 10px; color: #65708a; line-height: 1.5; }
.pm-event-chips > span { white-space: nowrap; }
.pm-row-actions { display: flex; align-items: center; justify-content: center; gap: 5px; }
.pm-row-actions .button { min-height: 28px !important; height: 28px !important; padding: 0 9px !important; font-size: 11px !important; }
.pm-empty { display: flex; min-height: 170px; align-items: center; justify-content: center; color: var(--muted,#65708a); font-size: 12px; }
.pm-pagination { flex: 0 0 auto; margin: 0; min-height: 45px; padding: 7px 12px; border-top: 1px solid var(--line,#e5e9f2); background: #f7f7f9; }
.pm-pagination .pm-page-size { width: 120px !important; min-width: 120px !important; max-width: 120px !important; flex: 0 0 120px !important; }
.pm-pagination .pm-page-size select,.pm-pagination .pm-page-size > .custom-select-wrap { width: 120px !important; min-width: 120px !important; max-width: 120px !important; }
.pm-pagination .pm-page-size .custom-select-trigger { box-sizing: border-box; width: 120px !important; min-width: 120px !important; max-width: 120px !important; gap: 6px !important; padding-inline: 9px !important; }
.pm-pagination .pm-page-size .custom-select-value { flex: 1 1 auto; min-width: 0; }
.pm-page-size select { min-height: 30px !important; height: 30px !important; padding-top: 0; padding-bottom: 0; font-size: 11px; }
.pm-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.modal.pixel-management-drawer { width: min(470px,100vw); height: 100dvh !important; max-height: 100dvh !important; top: 0; padding: 0 !important; border-radius: 14px 0 0 14px; display: flex; flex-direction: column; overflow: hidden !important; font-size: 12px; }
.pixel-management-drawer > .modal-title { flex: 0 0 auto; margin: 0; padding: 17px 18px; border-bottom: 1px solid var(--line,#e5e9f2); }
.pixel-management-drawer > .modal-title h3 { margin: 0; font-size: 17px; }
.pixel-management-drawer .pm-binding-form { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.pm-drawer-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 17px 18px; display: flex; flex-direction: column; gap: 15px; }
.pm-drawer-scroll > label,.pm-store-setup > label,.pm-setup-expiry > label { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #4c5360; font-size: 12px; }
.pm-field-help { color: var(--muted,#65708a); font-size: 11px; line-height: 1.5; }
.pm-drawer-scroll input:not([type="checkbox"]),.pm-drawer-scroll select { width: 100%; min-height: 36px !important; height: 36px !important; font-size: 12px; }
.pm-drawer-footer { flex: 0 0 auto; border-top: 1px solid var(--line,#e5e9f2); padding: 13px 18px; margin: 0 !important; background: #fff; }
.pm-secret-row { display: flex; align-items: center; gap: 6px; position: relative; }
.pm-secret-row input { width: 100%; padding-right: 51px !important; }
.pm-secret-row > button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); height: 26px; min-height: 26px; padding: 0 5px; color: #6f7888; font-size: 11px; }
.pm-secret-row > input { --ar-control-padding: 0 42px 0 12px; padding-right: 42px !important; }
.pm-secret-row > .pm-secret-toggle { --ar-control: 28px; --ar-control-padding: 0; box-sizing: border-box; display: grid; place-items: center; width: 28px; min-width: 28px; height: 28px; min-height: 28px; max-height: 28px; padding: 0 !important; right: 5px; top: 0; bottom: 0; margin-block: auto; transform: none; border: 0; border-radius: 6px; background: transparent; }
.pm-secret-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-secret-toggle .secret-eye-open { display: none; }.pm-secret-toggle .secret-eye-off { display: block; }
.pm-secret-toggle[aria-pressed="true"] .secret-eye-open { display: block; }.pm-secret-toggle[aria-pressed="true"] .secret-eye-off { display: none; }
.pm-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pm-fieldset legend { margin-bottom: 10px; color: #4c5360; font-size: 12px; }
.pm-event-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-channel-options { display: flex; gap: 18px; }
.pm-event-options .checkbox-line,.pm-channel-options .checkbox-line,.pm-enabled { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; }
.pm-binding-form input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; padding: 0; accent-color: #0671e3; }
.pm-capability-note { padding: 9px 10px; border-radius: 8px; border: 1px solid #e3e6ec; background: #f6f7f9; color: #606a7b; font-size: 11px; line-height: 1.6; }
.pm-capability-note[hidden] { display: none; }
.pm-log-summary { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line,#e5e9f2); color: #65708a; }
.pm-log-list { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 0 18px; }
.pm-log-entry { padding: 14px 0; border-bottom: 1px solid var(--line,#e5e9f2); }
.pm-log-entry > div,.pm-log-entry footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-log-entry strong { font-size: 12px; }.pm-log-entry p { margin: 8px 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.pm-log-entry footer { color: #7a8290; font-size: 10px; }
.pm-log-footer,.pm-log-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.pm-log-footer > span { color: #65708a; font-size: 11px; }
.pm-store-context { flex: 0 0 auto; padding: 13px 16px; border-bottom: 1px solid var(--line,#e5e9f2); }
.pm-store-context > strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.pm-store-platform-list { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 15px 16px; }
.pm-store-platform + .pm-store-platform { margin-top: 22px; }
.pm-platform-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pm-platform-heading h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; color: #65708a; font-weight: 500; }
.pm-platform-heading > .button { min-height: 29px !important; height: 29px !important; padding: 0 9px !important; font-size: 11px !important; }
.pm-store-binding { padding: 11px; border: 1px solid var(--line,#e5e9f2); border-radius: 10px; background: #fff; }
.pm-store-binding + .pm-store-binding { margin-top: 8px; }
.pm-store-binding-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-store-binding-heading > div { min-width: 0; }.pm-store-binding-heading strong { display: block; overflow-wrap: anywhere; font-size: 12px; }
.pm-store-binding > .pm-event-chips { margin: 10px 0; }
.pm-binding-bottom { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 10px; font-size: 10px; }
.pm-store-binding-empty { padding: 20px 10px; border: 1px dashed #dce1e9; border-radius: 10px; color: #7a8290; text-align: center; font-size: 11px; }
.pm-show-more { display: block; width: 100%; margin-top: 7px; font-size: 11px; }
.pm-store-error { flex: 0 0 auto; margin: 0; padding: 0 16px 12px; font-size: 11px; }.pm-store-error:empty { display: none; }
.pm-store-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.pm-store-footer > span { font-size: 11px; color: #65708a; }
.pm-store-return { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line,#e5e9f2); }
.pm-store-return > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: #65708a; }
.pm-store-return > .button { flex: 0 0 auto; font-size: 11px !important; }
.pm-editor-store { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; padding: 9px 14px; border-bottom: 1px solid var(--line,#e5e9f2); }
.pm-editor-store > strong { font-size: 12px; overflow-wrap: anywhere; }.pm-editor-store > span { color: #7a8290; font-size: 10px; overflow-wrap: anywhere; }
.pm-delivery-status { color: #7a8290; font-size: 11px; line-height: 1.5; }.pm-delivery-status:empty { display: none; }
.pm-token-controls { display: flex; align-items: center; gap: 6px; }.pm-token-controls > .pm-secret-row { flex: 1 1 auto; min-width: 0; }.pm-token-controls > .button { flex: 0 0 auto; }
.pm-token-expiry { margin-top: -4px; color: #7a8290; font-size: 10px; line-height: 1.5; }
.pm-setup-steps { display: flex; flex-direction: column; gap: 6px; }
.pm-setup-step { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 8px; min-height: 33px; }
.pm-setup-step > span:first-child { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; }
.pm-setup-step b { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #f0f1f4; color: #6d7584; font-size: 10px; font-weight: 600; }
.pixel-management-drawer > .modal-title { display: flex; align-items: center; gap: 9px; padding: 10px 14px; }
.pixel-management-drawer > .modal-title h3 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 15px; }
.pm-header-back svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pixel-management-drawer .pm-drawer-scroll { gap: 13px; padding: 13px 14px; }
.pixel-management-drawer .pm-drawer-footer { padding: 10px 14px; }
.pm-store-setup { gap: 8px; }
/* Compact controls are isolated to pixel surfaces; existing ADS pages keep their sizing. */
.pixel-management-fixed-page button.button:not([data-pm-search-button]),.pixel-management-fixed-page button.quiet-button,
.pixel-management-drawer button.button,.pixel-management-drawer button.quiet-button,
.pm-store-setup button.button,.pm-store-setup button.quiet-button,
#view .pixel-management-fixed-page button.button:not([data-pm-search-button]),#view .pixel-management-fixed-page button.quiet-button,
#view .pm-store-setup button.button,#view .pm-store-setup button.quiet-button,
#modal-root .modal.pixel-management-drawer button.button,#modal-root .modal.pixel-management-drawer button.quiet-button,
#modal-root .modal .pm-store-setup button.button,#modal-root .modal .pm-store-setup button.quiet-button { --ar-control: 28px; --ar-action: 28px; --ar-control-padding: 0 9px; --ar-data: 12px; --ads-control-height: 28px; --ads-control-small-height: 28px; --ads-control-font-size: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 28px !important; min-height: 28px !important; max-height: 28px !important; padding: 0 9px !important; font-size: 12px !important; line-height: 1 !important; }
.pm-owned-drawer { position: fixed; inset: 0 0 0 auto; z-index: 1400; background: #fff; box-shadow: -10px 0 32px #1b27351c; }
.pm-store-setup { padding: 13px 0 0; margin-top: 3px; border-top: 1px solid var(--line,#e5e9f2); display: flex; flex-direction: column; gap: 11px; font-size: 12px; }
.pm-setup-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-setup-heading strong { font-size: 12px; color: var(--ink,#172034); }
.pm-store-setup input { min-height: 36px !important; height: 36px !important; font-size: 12px; }
.pm-setup-expiry { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pm-setup-expiry > label { flex: 1 1 auto; max-width: 180px; }.pm-setup-buttons { display: flex; gap: 6px; flex: 0 0 auto; }
.pm-setup-buttons .button { height: 32px !important; min-height: 32px !important; padding: 0 10px !important; font-size: 11px !important; }
.pm-setup-progress { color: #687386; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.pm-setup-progress:empty { display: none; }
.pm-store-setup .form-error:empty { display: none; }.pm-store-setup .form-error { margin: 0; font-size: 11px; }
.pm-standalone-setup { padding: 5px 18px 18px; overflow: auto; }.pm-standalone-setup .pm-store-setup { border-top: 0; }
@media(max-width:1250px) { .pm-toolbar { align-items: stretch; }.pm-filters { flex-wrap: wrap; }.pm-search-label { max-width: none; }.pm-filters > select,.pm-filters > .custom-select-wrap { width: 135px; flex-basis: 135px; }.pm-toolbar-actions { align-items: flex-start; } }
@media(max-width:760px) { .pixel-management-fixed-page { height: calc(100dvh - 56px) !important; min-height: 0 !important; }.pm-summary-card { padding: 9px; }.pm-summary strong { font-size: 18px; }.pm-summary span { font-size: 10px; }.pm-toolbar { flex-wrap: wrap; }.pm-filters { width: 100%; }.pm-search-label { min-width: 150px; }.pm-toolbar-actions { width: 100%; justify-content: flex-end; }.pm-filters > select,.pm-filters > .custom-select-wrap { flex: 1 1 100px; width: 100px; }.pm-pagination { gap: 10px; }.pm-setup-expiry { flex-wrap: wrap; }.pixel-management-drawer { width: 100vw !important; } }

/* A single compact identity header; no repeated standalone store block. */
.pixel-management-drawer > .modal-title { align-items: center; min-height: 58px; padding: 9px 14px; }
.pm-header-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pixel-management-drawer > .modal-title .pm-header-copy h3 { --ar-title: 13px; --ar-section: 13px; display: block; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.45; font-weight: 700; }
.pm-header-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted,#65708a); font-size: 11px; line-height: 1.4; }
.pixel-management-drawer .pm-store-platform-list { padding: 12px 14px; }
.pixel-management-drawer .pm-store-platform + .pm-store-platform { margin-top: 17px; }
.pixel-management-drawer .pm-store-binding { padding: 10px; }
.pixel-management-drawer .pm-store-binding > .pm-event-chips { margin: 8px 0 6px; }
.pixel-management-drawer .pm-binding-bottom { margin-top: 6px; }
.pm-activity-toolbar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line,#e5e9f2); }
.pm-log-tabs,.pm-window-tabs { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line,#e5e9f2); border-radius: 9px; background: #f1f2f5; }
.pixel-management-drawer .pm-log-tabs button,.pixel-management-drawer .pm-window-tabs button { color: var(--muted,#65708a); border: 0; border-radius: 6px; background: transparent; }
.pixel-management-drawer .pm-log-tabs button[aria-selected="true"],.pixel-management-drawer .pm-window-tabs button[aria-pressed="true"] { color: #0670e6; background: #fff; box-shadow: 0 0 0 1px #dde1e9,0 1px 2px #1720340a; }
.pm-activity-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px; }
.pm-activity-scroll[hidden],.pm-log-list[hidden],.pm-log-footer[hidden] { display: none !important; }
.pm-activity-state { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--ink,#172034); font-size: 12px; font-weight: 600; }
.pm-activity-state > span { display: inline-flex; align-items: center; gap: 7px; }
.pm-activity-metrics { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); margin: 13px 0 11px; padding: 12px 0; border: 1px solid var(--line,#e5e9f2); border-radius: 10px; }
.pm-activity-metrics > div { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; border-right: 1px solid var(--line,#e5e9f2); }
.pm-activity-metrics > div:last-child { border-right: 0; }
.pm-activity-metrics span { font-size: 11px; line-height: 1.4; color: var(--muted,#65708a); white-space: nowrap; }
.pm-activity-metrics strong { font-size: 18px; line-height: 1.25; font-weight: 700; }
.pm-activity-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted,#65708a); font-size: 11px; }
.pm-activity-note { margin: 9px 0 0; color: var(--muted,#65708a); font-size: 11px; line-height: 1.65; }
.pm-delivery-heading { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line,#e5e9f2); }
.pm-activity-counts { width: 100%; border-collapse: collapse; font-size: 12px; }
.pm-activity-counts th,.pm-activity-counts td { height: 34px; padding: 5px 8px; border-bottom: 1px solid var(--line,#e5e9f2); text-align: right; font-weight: 400; }
.pm-activity-counts thead th { color: var(--muted,#65708a); font-size: 11px; background: #f7f7f9; }
.pm-activity-counts th:first-child { text-align: left; }
.pm-activity-counts td { font-variant-numeric: tabular-nums; }
@media(max-width:420px) { .pm-activity-scroll { padding: 11px; }.pm-activity-metrics span { font-size: 10px; }.pm-activity-state { gap: 5px; }.pixel-management-drawer .pm-window-tabs button { --ar-control-padding: 0 6px; padding: 0 6px !important; } }

/* Keep this compact identity header inside the shared important typography layer. */
@layer apple-proportions {
 .pixel-management-drawer > .modal-title .pm-header-copy h3 { line-height: 20px !important; }
 .pixel-management-drawer > .modal-title { margin-bottom: 0 !important; padding-bottom: 10px !important; }
}

/* Delivery results stay inside the existing compact, scrollable log surface. */
.pm-activity-subheading { margin: 17px 0 7px; color: var(--ink,#172034); font-size: 12px; font-weight: 600; line-height: 1.5; }
.pm-delivery-counts th:first-child,.pm-event-counts th:first-child { width: 30%; }
.pm-delivery-counts th,.pm-delivery-counts td,.pm-event-counts th,.pm-event-counts td { padding-inline: 6px; }
.pm-activity-error { margin: 9px 0 0; padding: 8px 9px; border: 1px solid #f5d1d7; border-radius: 7px; background: #fff7f8; color: #b62d42; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.pm-recent-deliveries .pm-delivery-entry { padding: 10px 0; }
.pm-delivery-entry > div { align-items: center; }
.pm-delivery-entry p { margin: 6px 0; font-size: 11px; }

/* Summary drill-down and validation use the existing ADS card and error styles. */
button.pm-summary-issues {
 font-family: var(--ads-font-sans);
 text-align: left; color: var(--ink,#172034); cursor: pointer; box-shadow: none; }
button.pm-summary-issues:hover { border-color: #a7bedc; }
button.pm-summary-issues:focus-visible { outline: 2px solid #1677ff; outline-offset: 2px; }
.pm-summary-issues.has-issues strong { color: #c63248; }
.pm-issue-store,.pm-issue-domain { display: block; overflow-wrap: anywhere; }
.pm-issue-store { margin-top: 9px; font-size: 12px; }
.pm-issue-domain { margin-top: 3px; color: var(--muted,#65708a); font-size: 10px; }
.pm-issue-entry .pm-issue-error { color: #b62d42; }
.pm-binding-form [aria-invalid="true"] { border-color: #d53c50; }
.pm-binding-form .form-error:empty,.pm-token-expiry:empty { display: none; }

/* Confirm a shared binding removal in its own compact card. */
.pm-delete-confirm { margin-top: 9px; padding: 9px; border-top: 1px solid var(--line,#e5e9f2); background: #fff7f8; border-radius: 6px; }
.pm-delete-confirm p { margin: 0 0 8px; color: #953342; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.pm-delete-confirm .pm-row-actions { justify-content: flex-end; }

.pixel-management-drawer .pm-activity-counts { display: table !important; table-layout: fixed; width: 100% !important; min-width: 0 !important; max-width: 100%; }
.pixel-management-drawer .pm-delivery-counts th:first-child,.pixel-management-drawer .pm-event-counts th:first-child { width: 34%; }
.pixel-management-drawer .pm-event-counts-simple th:first-child { width: 70%; }
.pixel-management-drawer .pm-activity-counts th,.pixel-management-drawer .pm-activity-counts td { box-sizing: border-box; overflow-wrap: anywhere; }
.pixel-management-drawer .pm-window-tabs { box-sizing: border-box; align-self: center; height: 28px; padding: 2px; gap: 2px; }
#modal-root .modal.pixel-management-drawer .pm-window-tabs button.quiet-button,.pixel-management-drawer .pm-window-tabs button { --ar-control: 22px; --ar-action: 22px; --ads-control-height: 22px; --ads-control-small-height: 22px; box-sizing: border-box; height: 22px !important; min-height: 22px !important; max-height: 22px !important; padding: 0 6px !important; font-size: 11px !important; line-height: 1 !important; }
.pm-intercart-actions { padding-top: 6px; border-top: 1px solid var(--line,#e5e9f2); }
.pm-intercart-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.pm-intercart-heading strong { color: var(--ink,#172034); font-size: 12px; }
.pm-intercart-heading [data-pm-code-copy] { min-width: 68px; }
.pm-code-content { padding-top: 5px; }
.pm-code-content textarea { box-sizing: border-box; width: 100%; min-height: 110px; height: 160px; max-height: 240px; margin: 0; padding: 9px; border: 1px solid var(--line,#e5e9f2); border-radius: 8px; background: #f7f7f9; color: var(--ink,#172034); resize: vertical; font: 11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }
.pm-code-content p { margin: 0; color: var(--muted,#65708a); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.pm-intercart-actions[hidden],.pm-intercart-actions [hidden] { display: none !important; }

@layer apple-proportions {
 #modal-root .pm-store-setup .pm-intercart-actions[hidden],#modal-root .pm-store-setup .pm-intercart-actions [hidden] { display: none !important; }
}

/* Theme embed activation stays independent of collector control. */
.pm-browser-actions { display: inline-flex; align-items: center; gap: 5px; }
.pm-store-setup [data-pm-browser-step][hidden] { display: none !important; }

.pm-store-setup .pm-browser-actions [hidden] { display: none !important; }
@layer apple-proportions {
 #modal-root .pm-store-setup .pm-browser-actions [hidden] { display: none !important; }
}
