/* ============================================================
   SOCIAL MODULE styles — extends search.css table system
   ============================================================ */

/* creative thumbnail placeholder on ad rows */
.ad-thumb {
    width: 40px; height: 40px; border-radius: 2px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; letter-spacing: -1px;
    background-color: var(--bg-soft);
    background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(0,0,0,0.04) 5px, rgba(0,0,0,0.04) 6px);
    border: 1px solid var(--line);
    color: var(--ink-3);
}
.ad-thumb.video { color: var(--blue); }

/* active scope filter chip */
.scope-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue-soft); color: var(--blue);
    border: 1px solid rgba(97,97,97,0.25); border-radius: 2px;
    padding: 5px 12px; font-size: 12.5px; font-weight: 550;
    cursor: pointer; transition: all 0.15s ease;
    max-width: 360px;
}
.scope-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scope-chip b { font-weight: 600; font-size: 11px; }
.scope-chip:hover { background: #e8e8e8; }

/* bulk bar enable/pause buttons */
.bulkbar .bb-status {
    background: rgba(255,255,255,0.1); color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
}
.bulkbar .bb-status:hover { background: rgba(255,255,255,0.2); }

/* ---- Bulk Changes tab ---- */
.bulk-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: start; }
.blk-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.blk-head .seg { flex: 1; min-width: 240px; }
.blk-status { width: auto; padding: 8px 36px 8px 12px; font-size: 13.5px; }
.blk-search { flex: 1; min-width: 160px; max-width: 260px; padding: 8px 12px; font-size: 13.5px; }
.blk-row { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.blk-row:hover { background: var(--surface-hover); }
.blk-row:last-child { border-bottom: 0; }
.blk-row .blk-name { flex: 1; font-size: 14px; min-width: 0; }
.blk-row .blk-name .sub { font-size: 12px; color: var(--ink-3); }
.blk-row .blk-budget { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.blk-all { background: var(--bg-soft-2); }
.blk-scroll { max-height: 480px; overflow-y: auto; }
.blk-summary { margin: 18px 0 14px; font-size: 14px; font-weight: 550; }
.blk-summary .sub { font-size: 12.5px; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
@container (max-width: 860px) { .bulk-grid { grid-template-columns: 1fr; } }

/* create-new form */
.create-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.abo-note { display: flex; align-items: center; min-height: 45px; padding: 0 14px; border: 1px dashed var(--line); border-radius: var(--r-md); font-size: 13.5px; color: var(--ink-3); background: var(--bg-soft-2); }

/* dealer selection picker (campaign create) */
.dealer-picker { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.dp-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft-2); flex-wrap: wrap; }
.dp-search { flex: 1; min-width: 180px; padding: 8px 12px; }
.dp-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-2); }
.dp-link { border: 0; background: none; color: var(--blue); font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 0; }
.dp-list { max-height: 200px; overflow-y: auto; }
.dp-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.dp-row:last-child { border-bottom: 0; }
.dp-row:hover { background: var(--surface-hover); }
.dp-name { font-size: 13.5px; }

/* --- Basis editor --- */
.basis-editor { display: flex; flex-direction: column; }
.be-two-col { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.be-three-col { display: grid; grid-template-columns: 340px 1fr 280px; gap: 24px; align-items: start; }
@container (max-width: 900px) { .be-two-col, .be-three-col { grid-template-columns: 1fr; } }
.be-aside { border-left: 1px solid var(--line-soft); padding-left: 22px; }
.be-aside-h { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.be-aside-sub { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 12px 0 6px; }
.be-aside p { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0 0 10px; }
.be-aside-mono { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.be-aside-mono div { padding: 2px 0; }
.be-subtabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.be-subtab { border: 0; background: none; cursor: pointer; padding: 8px 12px; font-size: 13px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.be-subtab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.be-content-list { border: 1px solid var(--line); border-radius: 2px; max-height: 420px; overflow-y: auto; }
.be-content-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; color: var(--ink); cursor: pointer; }
.be-content-row:last-child { border-bottom: 0; }
.be-content-actions { display: flex; gap: 8px; margin-top: 12px; }
.be-content-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.be-empty { border: 1px dashed var(--line); border-radius: 2px; padding: 60px 20px; text-align: center; }
.be-empty-t { font-size: 16px; color: var(--ink-2); }
.be-empty-s { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.be-target-block { border: 1px solid var(--line-soft); border-radius: 2px; padding: 18px; }
.be-target-label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.be-target-item { position: relative; padding: 12px 0; }
.be-x { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 16px; position: absolute; right: 0; top: 8px; }
.be-target-path { font-size: 12.5px; color: var(--ink-3); }
.be-target-name { font-size: 15px; font-weight: 600; color: var(--ink); margin: 3px 0 8px; }
.be-target-meta { display: flex; gap: 40px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.be-target-meta b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.be-or { font-size: 13px; color: var(--ink-3); padding: 4px 0 4px 40px; }
.be-adgroup { border: 1px solid var(--line-soft); border-radius: 2px; padding: 16px; margin-bottom: 14px; }
.be-adgroup-h { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.be-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; }
.be-badge.green { background: #828282; }
.be-badge.blue { background: #787878; }
.be-head { border-bottom: 1px solid var(--line); margin-bottom: 22px; }

/* Basis account (Brands landing) */
.basis-account { display: grid; grid-template-columns: 210px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
@container (max-width: 780px) { .basis-account { grid-template-columns: 1fr; } }
.ba-nav { background: #3a3a3c; color: #fff; padding: 14px 10px; display: flex; flex-direction: column; gap: 1px; }
.ba-user { font-size: 14px; font-weight: 600; padding: 8px 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 8px; }
.ba-nav-label { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; padding: 12px 12px 6px; }
.ba-nav-item { text-align: left; background: none; border: 0; color: #fff; font-size: 13.5px; padding: 8px 12px; border-radius: 2px; cursor: pointer; }
.ba-nav-item:hover { background: rgba(255,255,255,0.08); }
.ba-nav-item.active { background: rgba(255,255,255,0.14); font-weight: 600; }
.ba-main { padding: 16px 18px; min-width: 0; overflow-x: auto; }
.ba-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.be-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 16px; }
.be-metrics { display: flex; gap: 26px; flex-wrap: wrap; }
.be-metric { text-align: right; }
.bem-k { font-size: 10.5px; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 600; }
.bem-v { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px; }
.be-steps { display: flex; gap: 2px; flex-wrap: wrap; }
.be-step { border: 0; background: transparent; cursor: pointer; padding: 10px 18px; font-size: 13.5px; color: var(--ink-3); border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.be-step:hover { color: var(--ink); }
.be-step.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.be-body { max-width: 960px; }
.be-section { margin-bottom: 30px; }
.be-section-h { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.be-subhead { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 14px 0 8px; }
.be-row { display: flex; gap: 20px; padding: 9px 0; }
.be-label { flex: 0 0 170px; font-size: 13.5px; color: var(--ink-2); padding-top: 8px; text-align: right; }
.be-field { flex: 1; min-width: 0; }
.be-input { border: 1px solid var(--line); border-radius: 2px; padding: 8px 10px; font-size: 13.5px; color: var(--ink); outline: none; background: #fff; font-variant-numeric: tabular-nums; }
.be-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); }
.be-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }
.be-dollar { color: var(--ink-3); font-weight: 600; }
.be-unit { color: var(--ink-3); }
.be-hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.be-radios { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.be-radios.col { flex-direction: column; gap: 10px; }
.be-radio { display: inline-flex; align-items: flex-start; gap: 8px; background: none; border: 0; cursor: pointer; padding: 4px 0; text-align: left; }
.be-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); flex: 0 0 auto; margin-top: 1px; transition: all 0.12s ease; }
.be-radio.on .be-dot { border: 5px solid var(--blue); }
.be-radio-label { font-size: 13.5px; color: var(--ink); display: block; }
.be-radio-sub { font-size: 12px; color: var(--ink-3); display: block; margin-top: 2px; }
.be-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; color: var(--ink); }
.be-cbox { width: 18px; height: 18px; border-radius: 2px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; cursor: pointer; }
.be-cbox.on { background: #828282; border-color: #828282; }
.be-note { display: flex; gap: 9px; align-items: flex-start; background: #f2f2f2; border-radius: 2px; padding: 11px 14px; font-size: 13px; color: var(--ink-2); max-width: 720px; }
.be-note-i { width: 17px; height: 17px; border-radius: 50%; background: #787878; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-style: italic; }
.be-warn { display: inline-flex; align-items: center; gap: 6px; background: #f7f7f7; border: 1px solid #d5d5d5; border-radius: 2px; padding: 8px 12px; font-size: 13px; color: var(--ink); margin-top: 10px; }
.be-mini-table { border-collapse: collapse; border: 1px solid var(--line); max-width: 460px; width: 100%; }
.be-mini-table th { background: var(--bg-soft-2); text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 9px 14px; border: 1px solid var(--line); }
.be-mini-table td { padding: 9px 14px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
.be-foot { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; }
.btn-basis { background: #c3c3c3; color: #000; }
.btn-basis:hover { background: #b9b9b9; }
.pmp-grid { display: grid; grid-template-columns: 220px 1fr; gap: 0; min-width: 0; }
.pmp-side { border-right: 1px solid var(--line); padding: 16px 14px; }
.pmp-side-h { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 14px 4px 8px; }
.pmp-facet { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 2px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.pmp-facet:hover { background: var(--bg-soft); }
.pmp-facet.on { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.pmp-count { color: var(--ink-3); }

/* topbar-injected platform/account selectors (portal) */
.topbar-slot { display: flex; align-items: center; }
.topbar-selectors { display: flex; align-items: center; gap: 10px; }
.topbar-selectors .ctx-select { padding: 5px 10px 5px 12px; }
/* breadcrumb-style topbar selectors (MCC / Account) */
.topbar-crumbs { display: flex; align-items: center; gap: 8px; }
.topbar-crumbs .tc-sep { color: var(--ink); font-size: 15px; }
.topbar-crumbs .tc-crumb select { appearance: none; border: 0; background: transparent; outline: none; cursor: pointer;
    font-size: 14px; color: var(--ink-2); padding: 2px 16px 2px 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868b' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right center; }
.topbar-crumbs .tc-crumb select:hover { color: var(--ink); }
.topbar-crumbs .tc-multi { font-size: 14px; color: var(--ink-2); }
.ctx-multi { position: relative; }
.macct { position: relative; }
.macct-btn { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 400; color: var(--ink-2); padding: 0; max-width: 240px; }
.macct-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.macct-caret { width: 10px; height: 7px; flex: 0 0 auto; background-repeat: no-repeat; background-position: center; font-size: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868b' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); }
.macct-pop { position: absolute; top: calc(100% + 10px); left: -12px; z-index: 60; width: max-content; min-width: 300px; max-width: 460px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--sh-3); overflow: hidden; }
.macct-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-2); background: var(--bg-soft-2); }
.macct-list { max-height: 300px; overflow-y: auto; }
.macct-apply { padding: 4px 14px; font-size: 12.5px; width: auto !important; }
.macct-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.macct-row:last-child { border-bottom: 0; }
.macct-row:hover { background: var(--surface-hover); }
.macct-name { font-size: 13.5px; white-space: nowrap; }

/* Create/Edit mode bar (below context bar) */
.mode-bar { display: flex; align-items: center; gap: 18px; padding: 12px 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.72); flex-wrap: nowrap; }
#om-modebar-slot { flex: 0 0 auto; }
#om-modebar-slot:empty { display: none; }
.mode-bar .mode-right { flex: 0 0 auto; }
/* uniform width for the + New action button across all screens (sized to "+ New Asset Group") */
.mode-bar .btn-primary.btn-sm { width: 160px; justify-content: center; text-align: center; }
/* right cluster sized to mirror the topbar's search-box + env-pill so edges align */
.mode-right { display: flex; align-items: center; width: 363px; margin-left: auto; }
.mode-right .mr-spacer { flex: 1; }
.mode-bar .scope-toggle { flex: 0 0 auto; }
.mode-bar .scope-toggle button.on { color: var(--brand-orange); }
/* keep the right-hand buttons inside the frame: grow to fit, wrap to a second line when space runs out */
.mode-bar .mode-right { flex: 0 1 auto; width: auto; min-width: min(363px, 100%); max-width: 100%; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
.mode-bar .mode-right > * { flex-shrink: 0; }
/* search/date row: tabs stay on one line; search, month and date shrink together to fit */
.pbody-tools-row .scope-toggle button { white-space: nowrap; }
.pbody-tools-row .rep-daterange { flex: 0 1 260px; min-width: 0; overflow: hidden; }
.pbody-tools-row .rep-date-sel { min-width: 0; text-overflow: ellipsis; }
@container (max-width: 640px) { .create-grid { grid-template-columns: 1fr; } }

/* bulk: grouped controls, preview diff, job log */
.bulk-ctl { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bulk-ctl .sub { line-height: 1.45; }
.bulk-rail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; align-self: start; }
.bulk-alert { display: flex; gap: 10px; align-items: baseline; border-radius: 2px; padding: 10px 13px; font-size: 13px; margin-bottom: 8px; line-height: 1.45; }
.bulk-alert.block { background: #f0f0f0; color: #000; }
.bulk-alert.warn { background: #f6f6f6; color: #000; }
.diff-before { color: var(--ink-3); text-decoration: line-through; }
.diff-after { color: var(--ink); font-weight: 550; }
.bulk-sched { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.bulk-sched label { color: var(--ink-3); }
.bulk-sched .select { width: auto; }
.job-list { display: flex; flex-direction: column; }
.job-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft, #eee); font-size: 13px; color: var(--ink-2); }
.job-row:first-child { border-top: 0; }
.job-row .bb-clear { margin-left: auto; color: var(--blue); }
.blk-row.blk-more { cursor: default; background: var(--surface, #f7f7f8); }
.blk-row.blk-more:hover { background: var(--surface, #f7f7f8); }
.blk-row.blk-more .sub { line-height: 1.5; }

/* Keep the bulk list and action rail usable at the workspace's actual width.
   The fixed review dialog stays outside this query container. */
.social-bulk-layout { container: social-bulk / inline-size; min-width: 0; }
.social-bulk-editor .bulk-grid { grid-template-columns: minmax(0, 1fr); }
.social-bulk-editor .bulk-grid > *, .social-bulk-editor .bulk-rail > * { min-width: 0; }
.social-bulk-editor .bulk-rail { position: static; }
.social-bulk-editor .blk-head .seg { min-width: 0; max-width: 320px; }
.social-bulk-editor .blk-name { overflow-wrap: anywhere; }
.social-bulk-editor .blk-row > .ck, .social-bulk-editor .blk-row > .pill, .social-bulk-editor .blk-budget { flex-shrink: 0; }
.social-bulk-editor .bulk-ctl > *, .social-bulk-editor .bulk-rail .select { min-width: 0; max-width: 100%; box-sizing: border-box; }
.social-bulk-review .cd-m-body { overflow-y: auto; min-height: 0; }
.social-bulk-review .dtable { min-width: 640px; }
.social-bulk-review .bulk-sched, .social-bulk-review .cd-m-foot { flex-wrap: wrap; }

@container social-bulk (min-width: 861px) {
    .social-bulk-editor .bulk-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
    .social-bulk-editor .bulk-rail { position: sticky; }
}
@container social-bulk (max-width: 520px) {
    .social-bulk-editor .blk-head { gap: 10px; padding: 14px; }
    .social-bulk-editor .blk-head .seg { flex-basis: 100%; max-width: none; }
    .social-bulk-editor .blk-status, .social-bulk-editor .blk-search { width: 100%; min-width: 0; max-width: none; flex-basis: 100%; }
    .social-bulk-editor .blk-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 14px; }
    .social-bulk-editor .blk-row > .ck { grid-column: 1; grid-row: 1; }
    .social-bulk-editor .blk-name { grid-column: 2 / -1; }
    .social-bulk-editor .blk-row > .pill { grid-column: 2; justify-self: start; }
    .social-bulk-editor .blk-budget { grid-column: 3; justify-self: end; }
    .social-bulk-editor .blk-scroll { max-height: min(480px, 55vh); }
}
@media (max-width: 600px) {
    .social-bulk-preview { padding: 12px; }
    .social-bulk-review .cd-m-head, .social-bulk-review .cd-m-body, .social-bulk-review .cd-m-foot { padding-left: 16px; padding-right: 16px; }
    .social-bulk-review .bulk-alert { flex-direction: column; gap: 4px; }
}

/* ---- monthly enrollment columns (API.md §14.6) ---- */
.enr-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.enr-month { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.enr-month > span { color: var(--ink-3); }
.enr-sel { font-family: inherit; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 5px 8px; max-width: 190px; }
.enr-sel:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-ring); }
.enr-sel.unset { color: var(--ink-3); }
/* toolbar month picker matches the search box and date range: 260 x 37 */
.enr-month { margin-right: 10px; }
.enr-month .enr-sel { box-sizing: border-box; height: 37px; width: 260px; max-width: none; padding: 8px 12px; font-size: 14px; color: var(--ink-2); }
/* in the search/date row: the three boxes share one size and shrink together on narrow screens */
#om-month-slot, .pbody-tools-row .enr-month { display: contents; }
.pbody-tools-row .enr-month > span { flex: 0 0 auto; white-space: nowrap; margin: 0 8px 0 auto; padding-left: 16px; }
.pbody-tools-row .enr-month .enr-sel { flex: 0 1 260px; min-width: 0; margin-right: 10px; }
.pbody-tools-row .be-input { flex: 0 1 260px; min-width: 0; box-sizing: border-box; height: 37px; }
.pbody-tools-row .rep-daterange { height: 37px; }
.enr-budget { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.enr-input { width: 92px; text-align: right; font-family: inherit; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 1px; padding: 4px 7px; font-variant-numeric: tabular-nums; }
.enr-input::placeholder { color: var(--ink-3); }
.enr-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-ring); }
.enr-input.bad { border-color: var(--red); }
.enr-err { font-size: 11px; color: var(--ink); white-space: nowrap; }
.enr-blocked { color: var(--ink-3); }

/* Studio feed sheet tabs: white buttons, the current one in blue text */
.scope-toggle.dco-tabs { background: #fff; }
.scope-toggle.dco-tabs button, .scope-toggle.dco-tabs button.on { background: #fff; box-shadow: none; }
.scope-toggle.dco-tabs button.on { color: var(--blue); }
