/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Scoped layout styles — the layout structure lives in wwwroot/css/app.css.
   Do NOT size/position .sidebar here: a stale template rule (height:100vh +
   position:sticky) once clipped the bottom of the menu below the fixed header. */

.sidebar[b-znd1xuuyuj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}
/* /Components/Pages/AudiencePreviewDialog.razor.rz.scp.css */
/* Audience preview dialog (plan 2026-09-23-audience-preview-plan.md section 6.6.2).
   Opens above the enqueue sheet (.enqueue-backdrop/.enqueue-sheet are z-index 320/321;
   the base .modal-backdrop/.modal-dialog are 300/301) — this dialog's own z-index sits
   above both so it renders on top of the sheet it was opened from. */

.apd-backdrop[b-amq41h31as] {
    z-index: 400;
}

.apd-dialog[b-amq41h31as] {
    z-index: 401;
    width: min(1100px, 98vw);
    max-width: 100%;
    --modal-max-height: 92vh;
}

.apd-checked-at[b-amq41h31as] {
    font-size: .72rem;
    font-weight: 400;
    color: #6B7280;
    margin-top: .15rem;
}

.apd-body[b-amq41h31as] {
    box-sizing: border-box;
    max-width: 100%;
}

.apd-section[b-amq41h31as] {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: .75rem .9rem;
    box-sizing: border-box;
    max-width: 100%;
}

.apd-section-title[b-amq41h31as] {
    margin: 0 0 .5rem;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #374151;
}

.apd-findings[b-amq41h31as] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

/* Any table this dialog owns scrolls horizontally on its own rather than the page —
   the mobile-width requirement (no page-level horizontal scroll). */
.apd-table-wrap[b-amq41h31as] {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.apd-table[b-amq41h31as] {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
    white-space: nowrap;
}

.apd-table th[b-amq41h31as], .apd-table td[b-amq41h31as] {
    padding: .35rem .5rem;
    border-bottom: 1px solid #F1F5F9;
    text-align: left;
}

.apd-table thead th[b-amq41h31as] {
    color: #6B7280;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 2px solid #E5E7EB;
    position: sticky;
    top: 0;
    background: var(--color-white);
}

.apd-leads-table .apd-reasons[b-amq41h31as] {
    white-space: normal;
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.apd-row-fail[b-amq41h31as]    { background: #FFF1F2; }
.apd-row-warning[b-amq41h31as] { background: #FFFBEB; }

.apd-expand-btn[b-amq41h31as] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: .8rem;
    color: #6B7280;
    padding: 0 .25rem;
}

.apd-expand-row td[b-amq41h31as] {
    background: #F9FAFB;
    white-space: normal;
}

.apd-detail-grid[b-amq41h31as] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
    margin-bottom: .5rem;
}

.apd-detail-group h4[b-amq41h31as] {
    margin: 0 0 .3rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6B7280;
}

/* One grid cell per label + value (.apd-fact), so a pair never splits across rows. */
.apd-facts[b-amq41h31as] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: .5rem .75rem;
    margin: .6rem 0 0;
    font-size: .8rem;
}

.apd-fact[b-amq41h31as] { min-width: 0; }
.apd-facts dt[b-amq41h31as] { color: #6B7280; font-size: .7rem; text-transform: uppercase; letter-spacing: .03em; }
.apd-facts dd[b-amq41h31as] { margin: .1rem 0 0; color: #1F2937; font-weight: 600; }

.apd-chips[b-amq41h31as] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .5rem;
}

.apd-chip[b-amq41h31as] {
    border: 1px solid #D1D5DB;
    background: var(--color-white);
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .75rem;
    cursor: pointer;
    color: #374151;
}

.apd-chip-active[b-amq41h31as] {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.apd-search[b-amq41h31as] {
    width: 100%;
    max-width: 20rem;
    box-sizing: border-box;
    padding: .35rem .6rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: .8rem;
    margin-bottom: .6rem;
}

.apd-empty[b-amq41h31as] {
    text-align: center;
    color: #9CA3AF;
    padding: 1rem !important;
}

.apd-not-evaluated[b-amq41h31as] {
    font-size: .78rem;
    color: #6B7280;
}

/* Phones and small screens: sections stack full-width; only .apd-table-wrap scrolls. */
@media (max-width: 640px) {
    .apd-dialog[b-amq41h31as] { width: 100vw; border-radius: 0; }
    .apd-detail-grid[b-amq41h31as] { grid-template-columns: 1fr; }
}

/* 150k preview (plan 2026-09-24): the sample banner, the undetailed-search hint and the stage timings. */
.apd-sample-banner[b-amq41h31as] {
    margin: 0 0 .5rem;
    padding: .45rem .6rem;
    border-left: 3px solid var(--color-primary, #4a90b8);
    background: rgba(74, 144, 184, 0.08);
    font-size: .85rem;
}

.apd-more-matches[b-amq41h31as] {
    margin: .25rem 0 .5rem;
    font-size: .8rem;
    opacity: .8;
}

.apd-timings[b-amq41h31as] {
    margin-top: .5rem;
    font-size: .8rem;
}
/* /Components/Pages/AutoRefresh.razor.rz.scp.css */
.ar-bar[b-ibym1xsl3i] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.ar-stamp[b-ibym1xsl3i] {
    color: #9CA3AF;
    font-size: .75rem;
    white-space: nowrap;
}

.ar-live[b-ibym1xsl3i] {
    position: relative;   /* contains the visually-hidden checkbox below — without this
                             it escapes to the page's containing block and can swallow
                             clicks meant for other controls */
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    padding: .2rem .6rem .2rem .5rem;
    font-size: .75rem;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

/* The checkbox drives state but the pill is the affordance */
.ar-live input[b-ibym1xsl3i] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ar-dot[b-ibym1xsl3i] {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #D1D5DB;
}

.ar-live-on[b-ibym1xsl3i] {
    border-color: #A7F3D0;
    background: #ECFDF5;
    color: #065F46;
}

.ar-live-on .ar-dot[b-ibym1xsl3i] {
    background: #10B981;
    animation: ar-pulse-b-ibym1xsl3i 2s ease-in-out infinite;
}

@keyframes ar-pulse-b-ibym1xsl3i {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .ar-live-on .ar-dot[b-ibym1xsl3i] { animation: none; }
}
/* /Components/Pages/Campaign.razor.rz.scp.css */
/* ── CAMPAIGNS GRID ALIGNMENT ────────────────────────────────
   app.css declares .data-table td { vertical-align: middle } at ~503 and then
   .data-table tbody td { vertical-align: top } at ~1690; the later, more
   specific rule wins, so every cell was top-aligned while the Test cell carried
   an inline middle override. On a row whose Campaign List wraps to five lines
   that left the ✅ stranded near the bottom. One value for the whole row fixes
   it — middle, because every other cell here is a single-line chip or badge. */
.data-table tbody td[b-qlnebfy6se] {
    vertical-align: middle;
}

/* Ten columns at .85rem side padding spent ~270px on padding alone, which is what
   pushed the grid into a horizontal scrollbar. */
.data-table thead th[b-qlnebfy6se],
.data-table tbody td[b-qlnebfy6se] {
    padding-left: .5rem;
    padding-right: .5rem;
}

/* Test column is words now ("Pending · Sam 09/17 10:02 ET"); one line, no wrap. */
.cg-test-cell[b-qlnebfy6se] {
    text-align: left;
    white-space: nowrap;
    width: 1%;      /* shrink-to-fit */
}

.cg-test-icon[b-qlnebfy6se] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.05rem;
    line-height: 1;
    cursor: default;
}

/* Empty state reads as "nothing yet", matching the — used elsewhere in the grid,
   instead of ⬜ which renders as a heavy lavender block on Windows. */
.cg-test-none[b-qlnebfy6se] {
    color: #D1D5DB;
    font-size: 1rem;
}

/* Text row buttons (Next step + Edit / Reject / Add to queue / Watch / Open / Cancel / Clone)
   wrap onto two lines rather than forcing the grid wider. */
.cg-actions[b-qlnebfy6se] {
    min-width: 260px;
}

/* List names run long ("Spark Clickers (State/Carrier Suppression) - 2 Month
   Lookback - No Record Limit") and were wrapping to seven lines, which set the
   height of the whole row. One line with an ellipsis; the full text stays
   available as a tooltip. */
/* The name was being squeezed to ~93px and wrapping to six lines, which set the
   row height for the whole grid. Truncating the Campaign List frees that width.
   The floor keeps it to one or two lines; below roughly 1250px of table width the
   wrapper's overflow-x takes over, which is the intended fallback for ten columns
   on a narrow screen. */
.cg-name-cell[b-qlnebfy6se] {
    min-width: 150px;
}

/* No width on the cell — the inner div's max-width caps it while still letting
   the column shrink on a narrow screen instead of forcing a scrollbar. */
.cg-follow-cell[b-qlnebfy6se] {
    white-space: nowrap;
}

/* Draft rows: the subsystem is assigned but there is no run panel to open yet */
.follow-plain[b-qlnebfy6se] {
    color: #6B7280;
    white-space: nowrap;
}

/* A cap, not a floor — on a narrow screen the cell shrinks and the ellipsis just
   engages earlier, so this never forces a horizontal scrollbar. */
.cg-truncate[b-qlnebfy6se] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cg-date-cell[b-qlnebfy6se] {
    white-space: nowrap;
}
/* /Components/Pages/CampaignCalendarView.razor.rz.scp.css */
/* ── CAMPAIGN CALENDAR ───────────────────────────────────────
   Scoped to CampaignCalendarView. The app has NO Bootstrap (App.razor links
   css/app.css + scoped CSS only), so everything here is hand-built on the app's
   own classes/tokens. app.css references --color-border / --color-muted but never
   defines them, so the component declares its own fallbacks once and uses those. */

.cal-root[b-mtb396ym4n] {
    /* The shell's sidebar is a fixed 260 px, so at phone widths the card is only ~240 px
       wide. Nothing in here may push the page itself sideways — the grid wrapper is the
       only horizontal scroller. */
    min-width: 0;
    --cal-border: var(--color-border, #E5E7EB);
    --cal-muted: var(--color-muted, #6B7280);
    --cal-line: #EEF0F3;
    --cal-grid-h: 40rem;
    --cal-cols: 7;
}

/* ── HEADER / TOOLBAR ─────────────────────────────────────── */
.cal-sticky-head[b-mtb396ym4n] {
    position: sticky;
    top: 0;
    z-index: 6;
    background: var(--color-white, #fff);
    flex-wrap: wrap;
    gap: .75rem;
}

.cal-title-h[b-mtb396ym4n] {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.cal-head-right[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.cal-et-pill[b-mtb396ym4n] {
    border: 1px solid var(--cal-border);
    border-radius: 999px;
    padding: .15rem .6rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--cal-muted);
    white-space: nowrap;
}

.cal-filters[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem .75rem;
    padding: .5rem 0 .75rem;
    border-bottom: 1px solid var(--cal-border);
}

.cal-chipgroup[b-mtb396ym4n] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.cal-chip[b-mtb396ym4n] {
    border: 1px solid var(--cal-border);
    border-radius: 999px;
    padding: .18rem .6rem;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    background: transparent;
    color: var(--cal-muted);
}

/* Hollow, not faded. A filter chip that is switched off still has to be read and
   clicked, so the "off" signal is the empty fill plus the struck label — dropping the
   whole control to 55 % opacity took its text under the 4.5:1 contrast floor. The
   bucket colour arrives on border-color from BucketChipStyle. */
.cal-chip-off[b-mtb396ym4n] {
    background: transparent;
    color: #4B5563;
}

    .cal-chip-off .cal-chiplabel[b-mtb396ym4n] { text-decoration: line-through; }

.cal-chip:focus-visible[b-mtb396ym4n],
.cal-evchip:focus-visible[b-mtb396ym4n],
.cal-block:focus-visible[b-mtb396ym4n],
.cal-more:focus-visible[b-mtb396ym4n],
.cal-list-row:focus-visible[b-mtb396ym4n] {
    outline: 2px solid var(--color-primary, #4A90B8);
    outline-offset: 1px;
}

.cal-subchip[b-mtb396ym4n] {
    background: #fff;
    color: #374151;
}

    /* Specificity: .cal-subchip is declared after .cal-chip-off and would otherwise
       re-fill a switched-off subsystem chip. */
    .cal-subchip.cal-chip-off[b-mtb396ym4n] {
        background: transparent;
        color: #4B5563;
    }

.cal-glyph[b-mtb396ym4n] {
    margin-right: .25rem;
}

.cal-clear[b-mtb396ym4n] {
    font-size: .78rem;
    background: none;
    border: none;
    cursor: pointer;
}

.cal-toolbar[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
    padding: .7rem 0;
    position: sticky;
    top: 3.1rem;
    background: var(--color-white, #fff);
    z-index: 5;
}

.cal-nav[b-mtb396ym4n] {
    display: flex;
    gap: .3rem;
}

.cal-title[b-mtb396ym4n] {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
}

.cal-viewswitch[b-mtb396ym4n] {
    display: flex;
    gap: .2rem;
}

/* 2 px indeterminate bar: the previous events stay visible during a refetch. */
.cal-loadbar[b-mtb396ym4n] {
    height: 2px;
    background: transparent;
    overflow: hidden;
}

.cal-loadbar-on[b-mtb396ym4n] {
    background: #E5E7EB;
}

    .cal-loadbar-on span[b-mtb396ym4n] {
        display: block;
        height: 100%;
        width: 35%;
        background: var(--color-primary, #4A90B8);
        animation: cal-slide-b-mtb396ym4n 1.1s ease-in-out infinite;
    }

@keyframes cal-slide-b-mtb396ym4n {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(320%); }
}

.cal-banner[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    margin: .6rem 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cal-notice[b-mtb396ym4n] {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    border-radius: 8px;
    padding: .4rem .7rem;
    font-size: .78rem;
    margin: .5rem 0;
}

/* Only the grid scrolls; the header, filters and toolbar above it stay put at every
   width. --cal-chrome is the measured height of everything above the grid inside the
   viewport: 60 header + 24 main pad + 24 card pad + the header/filter/toolbar rows,
   plus the legend and padding below the grid. Measured at 1600x1000: 386 without the
   error banner, 442 with it — 400 keeps the card on screen in the normal case and lets
   the page scroll the last ~40 px only while a banner is up. */
.cal-gridwrap[b-mtb396ym4n] {
    position: relative;
    min-height: 480px;
    max-height: calc(100vh - var(--cal-chrome, 400px));
    overflow: auto;
    overscroll-behavior: contain;
}

/* A small centered card, not a full-width band: a band across the middle of the month
   grid would sit on top of two rows of day numbers. */
.cal-empty[b-mtb396ym4n] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    text-align: center;
    color: var(--cal-muted);
    font-size: .85rem;
    background: rgba(255,255,255,.85);
    border-radius: 8px;
    padding: .6rem 1rem;
    max-width: 90%;
    pointer-events: none;
}

    .cal-empty button[b-mtb396ym4n] { pointer-events: auto; }

/* ── MONTH ────────────────────────────────────────────────── */
.cal-month[b-mtb396ym4n] {
    margin-top: .6rem;
}

.cal-dow[b-mtb396ym4n] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    font-size: .72rem;
    font-weight: 700;
    color: var(--cal-muted);
    text-transform: uppercase;
}

    .cal-dow > div[b-mtb396ym4n] {
        padding: .25rem .35rem;
        text-align: center;
    }

.cal-month-grid[b-mtb396ym4n] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: minmax(6.5rem, auto);
    border: 1px solid var(--cal-border);
    border-radius: 8px;
    overflow: hidden;
}

.cal-cell[b-mtb396ym4n] {
    border-right: 1px solid var(--cal-line);
    border-bottom: 1px solid var(--cal-line);
    padding: .2rem .25rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .cal-cell:nth-child(7n)[b-mtb396ym4n] { border-right: none; }
    .cal-cell:nth-child(n+36)[b-mtb396ym4n] { border-bottom: none; }

.cal-cell-date[b-mtb396ym4n] {
    font-size: .72rem;
    font-weight: 700;
    color: #374151;
    text-align: right;
    padding: 0 .15rem;
}

.cal-other[b-mtb396ym4n] { background: #FAFAFB; }
.cal-other .cal-cell-date[b-mtb396ym4n] { color: #C0C4CC; }
.cal-weekend[b-mtb396ym4n] { background: #FBFBFD; }
.cal-today[b-mtb396ym4n] { background: #EFF6FF; }
.cal-today .cal-cell-date[b-mtb396ym4n] { color: var(--color-primary, #4A90B8); }

.cal-skeleton[b-mtb396ym4n] { opacity: .55; }

/* ── EVENT CHIPS ──────────────────────────────────────────── */
.cal-evchip[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    gap: .25rem;
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: .1rem .3rem;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

.cal-evchip-sm[b-mtb396ym4n] { font-size: 11px; }

.cal-evtime[b-mtb396ym4n] { font-variant-numeric: tabular-nums; font-weight: 700; }
.cal-evid[b-mtb396ym4n] { font-weight: 600; }

.cal-evname[b-mtb396ym4n] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* White on the raw hue is 3.7:1 (teal) and 3.2:1 (amber) at 10 px — both fail AA. The
   hue stays the identity (3 px chip border, legend swatch, this badge's own border) but
   the fill is a 15 % tint of it so the text can be near-black, which passes for all
   four hues and for the grey "Other" fallback. --hue comes in on the element's style. */
.cal-badge[b-mtb396ym4n] {
    --hue: #6B7280;
    color: #111827;
    background: color-mix(in srgb, var(--hue) 15%, white);
    border: 1px solid var(--hue);
    border-radius: 3px;
    padding: 0 .25rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.cal-badge-lg[b-mtb396ym4n] { font-size: .72rem; padding: .12rem .45rem; border-radius: 999px; }

.cal-legend-swatch[b-mtb396ym4n] {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
    flex: 0 0 auto;
}

/* .5 took an inactive campaign's own text under the contrast floor; the struck ID is
   what marks it inactive, the dimming only has to be noticeable. */
.cal-dim[b-mtb396ym4n] { opacity: .7; }
.cal-strike[b-mtb396ym4n] { text-decoration: line-through; }

.cal-more[b-mtb396ym4n] {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: var(--color-primary, #4A90B8);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 .25rem;
}

/* ── WEEK / DAY TIME GRID ─────────────────────────────────── */
.cal-time[b-mtb396ym4n] {
    margin-top: .6rem;
    border: 1px solid var(--cal-border);
    border-radius: 8px;
    overflow: hidden;
    /* Below this the columns stop being readable; the wrapper scrolls instead of the page. */
    min-width: 34rem;
}

.cal-time-head[b-mtb396ym4n],
.cal-strip[b-mtb396ym4n],
.cal-time-body[b-mtb396ym4n] {
    display: grid;
    grid-template-columns: 3.5rem repeat(var(--cal-cols), minmax(0, 1fr));
}

.cal-time-head[b-mtb396ym4n] {
    border-bottom: 1px solid var(--cal-border);
    background: #FCFCFD;
}

.cal-dayhead[b-mtb396ym4n] {
    text-align: center;
    padding: .3rem;
    font-size: .74rem;
    color: var(--cal-muted);
    border-left: 1px solid var(--cal-line);
}

    .cal-dayhead strong[b-mtb396ym4n] { color: #1F2937; margin-left: .2rem; }

.cal-strip[b-mtb396ym4n] {
    border-bottom: 1px solid var(--cal-border);
    background: #FBFBFD;
}

.cal-strip-label[b-mtb396ym4n] {
    font-size: .66rem;
    color: var(--cal-muted);
    padding: .25rem;
    text-align: right;
}

.cal-strip-cell[b-mtb396ym4n] {
    border-left: 1px solid var(--cal-line);
    padding: .15rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cal-gutter[b-mtb396ym4n] {
    position: relative;
}

.cal-hour[b-mtb396ym4n] {
    height: calc(var(--cal-grid-h) / 16);
    font-size: .66rem;
    color: var(--cal-muted);
    text-align: right;
    padding-right: .3rem;
    transform: translateY(-.4em);
}

.cal-daycol[b-mtb396ym4n] {
    position: relative;
    height: var(--cal-grid-h);
    border-left: 1px solid var(--cal-line);
    min-width: 0;
    /* 30-minute rows: a light line every half hour, a firmer one on the hour. */
    background-image:
        repeating-linear-gradient(to bottom, var(--cal-line) 0 1px, transparent 1px calc(var(--cal-grid-h) / 32)),
        repeating-linear-gradient(to bottom, #E3E6EA 0 1px, transparent 1px calc(var(--cal-grid-h) / 16));
}

.cal-biz[b-mtb396ym4n] {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(74, 144, 184, .06);
    pointer-events: none;
}

.cal-now[b-mtb396ym4n] {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    border-top: 2px solid #DC2626;
    z-index: 3;
    pointer-events: none;
}

    .cal-now[b-mtb396ym4n]::before {
        content: '';
        position: absolute;
        left: -3px;
        top: -4px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #DC2626;
    }

.cal-block[b-mtb396ym4n] {
    position: absolute;
    border: none;
    border-radius: 4px;
    padding: .1rem .25rem;
    font-size: 12px;
    line-height: 1.25;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .2rem;
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(255,255,255,.85);
}

.cal-clipped[b-mtb396ym4n] {
    border-bottom: 2px dashed rgba(0,0,0,.35);
}

.cal-more-abs[b-mtb396ym4n] {
    position: absolute;
    right: .15rem;
    z-index: 4;
    background: #fff;
    border: 1px solid var(--cal-border);
    border-radius: 999px;
    padding: 0 .35rem;
}

/* ── LIST ─────────────────────────────────────────────────── */
.cal-list[b-mtb396ym4n] {
    margin-top: .6rem;
    border: 1px solid var(--cal-border);
    border-radius: 8px;
    overflow: hidden;
}

.cal-list-day[b-mtb396ym4n] {
    background: #F7F8FA;
    padding: .35rem .7rem;
    font-size: .76rem;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid var(--cal-line);
}

.cal-list-row[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    background: #fff;
    border: none;
    border-bottom: 1px solid var(--cal-line);
    padding: .35rem .7rem;
    font-size: .8rem;
    text-align: left;
    cursor: pointer;
    min-width: 0;
}

    .cal-list-row:hover[b-mtb396ym4n] { background: #F9FAFB; }

.cal-list-time[b-mtb396ym4n] { font-variant-numeric: tabular-nums; font-weight: 700; width: 3rem; }

.cal-list-name[b-mtb396ym4n] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-list-meta[b-mtb396ym4n] {
    color: var(--cal-muted);
    font-size: .74rem;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-statuschip[b-mtb396ym4n] {
    padding: .1rem .45rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ── LEGEND ───────────────────────────────────────────────── */
.cal-legend[b-mtb396ym4n] {
    margin-top: 1rem;
    border-top: 1px solid var(--cal-border);
    padding-top: .6rem;
}

    .cal-legend summary[b-mtb396ym4n] {
        cursor: pointer;
        font-size: .8rem;
        font-weight: 600;
        color: var(--cal-muted);
    }

.cal-legend-body[b-mtb396ym4n] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: .5rem;
}

.cal-legend-group[b-mtb396ym4n] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
}

.cal-legend-sub[b-mtb396ym4n] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .74rem;
    color: #374151;
}

/* ── DETAIL PANEL ─────────────────────────────────────────── */
.cal-scrim[b-mtb396ym4n] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .28);
    z-index: 200;
}

.cal-panel[b-mtb396ym4n] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 100%;
    background: #fff;
    box-shadow: -4px 0 18px rgba(0,0,0,.18);
    z-index: 201;
    display: flex;
    flex-direction: column;
    animation: cal-slide-in-b-mtb396ym4n .16s ease-out;
}

@keyframes cal-slide-in-b-mtb396ym4n {
    from { transform: translateX(16px); opacity: .6; }
    to   { transform: translateX(0);    opacity: 1; }
}

.cal-sentinel[b-mtb396ym4n] {
    width: 0;
    height: 0;
    overflow: hidden;
    outline: none;
}

.cal-panel-head[b-mtb396ym4n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--cal-border);
}

.cal-panel-body[b-mtb396ym4n] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: .8rem .9rem;
}

.cal-panel-title[b-mtb396ym4n] {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: .5rem;
    overflow-wrap: anywhere;
}

.cal-panel-chips[b-mtb396ym4n] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .75rem;
}

.cal-dl[b-mtb396ym4n] {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: .3rem .6rem;
    font-size: .8rem;
}

    .cal-dl dt[b-mtb396ym4n] { color: var(--cal-muted); font-weight: 600; }
    .cal-dl dd[b-mtb396ym4n] { color: #1F2937; overflow-wrap: anywhere; }

.cal-panel-list[b-mtb396ym4n] {
    display: flex;
    flex-direction: column;
}

    .cal-panel-list .cal-list-row[b-mtb396ym4n] { padding: .4rem .2rem; }

.cal-panel-foot[b-mtb396ym4n] {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    padding: .7rem .9rem;
    border-top: 1px solid var(--cal-border);
}

/* Below 992 px the right panel becomes a bottom sheet (spec §3). */
@media (max-width: 991px) {
    .cal-panel[b-mtb396ym4n] {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        max-height: 78vh;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        box-shadow: 0 -4px 18px rgba(0,0,0,.18);
    }
}

@media (max-width: 639px) {
    /* The rows keep their sticky behaviour here too — the grid has its own scroll
       region, so nothing above it needs to scroll away to make room. */
    .cal-gridwrap[b-mtb396ym4n] { max-height: calc(100vh - var(--cal-chrome-narrow, 470px)); }
    .cal-dl[b-mtb396ym4n] { grid-template-columns: 1fr; gap: .1rem; }
    .cal-dl dd[b-mtb396ym4n] { margin-bottom: .35rem; }
}
/* /Components/Pages/CampaignEditor.razor.rz.scp.css */
/* ── Campaign editor (Phase 4b: the modal's body as an in-page component) ─────────────── */
.ce[b-cwcb5bf4hv] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ce-head[b-cwcb5bf4hv] {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
}
.ce-head-title[b-cwcb5bf4hv] { font-size: 1rem; font-weight: 700; color: #1F2937; }
.ce-head-sub[b-cwcb5bf4hv]   { font-size: .8rem; color: #6B7280; }

/* The bar is sticky in the page flow (app.css .hub-bar); the region sits first in the editor
   so its buttons come first in tab order. */
.ce-bar[b-cwcb5bf4hv] { margin-bottom: 0; }

.ce-unlock-note[b-cwcb5bf4hv] {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: .5rem .9rem;
    font-size: .78rem;
    color: #4B5563;
}

.ce-section-title[b-cwcb5bf4hv] {
    font-size: .7rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: .25rem;
    margin: 0;
}

.ce-panel[b-cwcb5bf4hv] {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: .75rem 1rem;
}

.ce-info[b-cwcb5bf4hv] {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 8px;
    padding: .6rem .9rem;
    color: #92400E;
    font-size: .78rem;
    line-height: 1.5;
}

.ce-clone-note[b-cwcb5bf4hv] {
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: 8px;
    padding: .6rem .9rem;
    color: #3730A3;
    font-size: .78rem;
    line-height: 1.5;
}

.ce-progress-grid[b-cwcb5bf4hv] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    text-align: center;
    font-size: .8rem;
}
.ce-progress-n[b-cwcb5bf4hv] { font-weight: 700; font-size: 1.05rem; }
.ce-progress-l[b-cwcb5bf4hv] { color: #9CA3AF; }

.ce-grid-2[b-cwcb5bf4hv] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ce-grid-3[b-cwcb5bf4hv] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 760px) {
    .ce-grid-2[b-cwcb5bf4hv], .ce-grid-3[b-cwcb5bf4hv] { grid-template-columns: minmax(0, 1fr); }
}

.ce-check[b-cwcb5bf4hv] {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    padding-top: 1.5rem;
}
.ce-check input[b-cwcb5bf4hv] { width: 16px; height: 16px; }

.ce-disclosure[b-cwcb5bf4hv] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    color: #6B7280;
    padding: 0;
    margin-top: .5rem;
}
.ce-disclosure-title[b-cwcb5bf4hv] {
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    margin: 0;
}

/* ── Message editor: textarea + keyword backdrop on the left, token chips on the right ── */
.msg-editor-row[b-cwcb5bf4hv] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: .75rem;
    align-items: start;
}
@media (max-width: 900px) {
    .msg-editor-row[b-cwcb5bf4hv] { grid-template-columns: minmax(0, 1fr); }
}
.msg-editor-left[b-cwcb5bf4hv] { min-width: 0; }

.msg-tab-bar[b-cwcb5bf4hv] { display: flex; gap: .25rem; margin-bottom: .35rem; }
.msg-tab[b-cwcb5bf4hv] {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: .3rem .7rem;
    font-size: .78rem;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
}
.msg-tab-active[b-cwcb5bf4hv] { background: #fff; color: #1F2937; border-color: #C7D2FE; }

/* Overlay container: the backdrop sits behind a transparent textarea and mirrors its text. */
.msg-overlay[b-cwcb5bf4hv] { position: relative; width: 100%; box-sizing: border-box; }
.msg-backdrop[b-cwcb5bf4hv] {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: .5rem .65rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .875rem;
    line-height: 1.6;
    letter-spacing: normal;
    white-space: pre-wrap;
    word-break: break-word;
    overflow: hidden;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: 6px;
    box-sizing: border-box;
    color: transparent;
    z-index: 0;
}
.msg-textarea[b-cwcb5bf4hv] {
    position: relative;
    z-index: 1;
    background: transparent;
    caret-color: #111827;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .875rem;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.ce-keyword-row[b-cwcb5bf4hv] { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .35rem; }
.ce-kw[b-cwcb5bf4hv] {
    font-size: .72rem;
    font-weight: 600;
    padding: .15rem .5rem;
    border-radius: 999px;
}
.ce-kw-critical[b-cwcb5bf4hv] { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.ce-kw-warning[b-cwcb5bf4hv]  { background: #FEF9C3; color: #854D0E; border: 1px solid #FDE68A; }

.char-counter[b-cwcb5bf4hv], .char-counter-warn[b-cwcb5bf4hv] { font-size: .75rem; color: #374151; margin-top: .3rem; }
.char-counter-warn[b-cwcb5bf4hv] { color: #B45309; font-weight: 600; }

.token-panel[b-cwcb5bf4hv] {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: .5rem .6rem;
    min-width: 0;
}
.token-panel-header[b-cwcb5bf4hv] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    font-size: .8rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: .35rem;
    width: 100%;
    text-align: left;
}
.token-panel-count[b-cwcb5bf4hv] { font-weight: 400; color: #9CA3AF; font-size: .75rem; }
.token-list[b-cwcb5bf4hv] { margin-top: .35rem; }

.token-picker-chips[b-cwcb5bf4hv] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .25rem 0;
}
.token-chip[b-cwcb5bf4hv] {
    background: #fff;
    border: 1px solid #a0b4d8;
    border-radius: 4px;
    padding: .2rem .6rem;
    font-size: .78rem;
    font-family: monospace;
    color: #2a4a8a;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.token-chip:hover:not(:disabled)[b-cwcb5bf4hv] { background: #2a4a8a; color: #fff; border-color: #2a4a8a; }
.token-chip:disabled[b-cwcb5bf4hv] { opacity: .45; cursor: not-allowed; }
.token-chip-active[b-cwcb5bf4hv] { background: rgba(249, 115, 22, .12); border-color: #F97316; color: #9A3412; font-weight: 700; }
.token-chip-active:hover:not(:disabled)[b-cwcb5bf4hv] { background: rgba(249, 115, 22, .22); border-color: #EA580C; color: #7C2D12; }

/* ── Schedule pickers ── */
.schedule-grid[b-cwcb5bf4hv],
.schedule-pair[b-cwcb5bf4hv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.schedule-field[b-cwcb5bf4hv] { border: 0; padding: 0; margin: 0; min-width: 0; }
.schedule-pair > div[b-cwcb5bf4hv] { min-width: 0; }
.schedule-pair .form-input[b-cwcb5bf4hv] { box-sizing: border-box; min-width: 0; }
.schedule-actions[b-cwcb5bf4hv] { display: flex; flex-wrap: wrap; gap: .35rem; }
.schedule-help[b-cwcb5bf4hv],
.schedule-summary[b-cwcb5bf4hv] { font-size: .82rem; color: #374151; }
.schedule-error[b-cwcb5bf4hv] { font-size: .82rem; color: #EF4444; }
.schedule-actions button:focus-visible[b-cwcb5bf4hv] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
@media (max-width: 600px) {
    .schedule-grid[b-cwcb5bf4hv] { grid-template-columns: minmax(0, 1fr); }
}
.schedule-field > legend[b-cwcb5bf4hv] { padding: 0; margin-bottom: .25rem; }
.schedule-sublabel[b-cwcb5bf4hv] {
    display: block;
    font-size: .75rem;
    font-weight: 500;
    color: #6B7280;
    line-height: 1.4;
    margin-bottom: .25rem;
}

/* app.css only defines .alert-warning under .manage-shell; the editor is outside it. */
.alert-warning[b-cwcb5bf4hv] {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    padding: .5rem .75rem;
    border-radius: 6px;
    font-size: .82rem;
}

.domain-hint[b-cwcb5bf4hv] { font-size: .75rem; color: #6B7280; }
.domain-alert ul[b-cwcb5bf4hv] { margin: .35rem 0 0; padding-left: 1.1rem; }

/* ── Footer ── */
.ce-footer[b-cwcb5bf4hv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    padding-top: .9rem;
    border-top: 1px solid #E5E7EB;
}
.ce-roster[b-cwcb5bf4hv] { max-width: 520px; font-size: .78rem; }
.ce-footer-buttons[b-cwcb5bf4hv] { display: flex; gap: .5rem; margin-left: auto; }
/* /Components/Pages/EnqueueConfirmSheet.razor.rz.scp.css */
/* The "Audience check" block (plan 2026-09-23-audience-preview-plan.md section 6.6.1) —
   first thing in the enqueue sheet's body. Reuses the app's badge/alert/button classes for
   color; this file only owns the block's own layout. */

.audience-check[b-wptc9i2f6a] {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: .6rem .75rem;
    margin-bottom: .9rem;
    background: #F9FAFB;
}

.audience-check-idle[b-wptc9i2f6a]    { border-left: 4px solid #9CA3AF; }
.audience-check-running[b-wptc9i2f6a] { border-left: 4px solid var(--color-primary); }
.audience-check-pass[b-wptc9i2f6a]    { border-left: 4px solid #10B981; }
.audience-check-fail[b-wptc9i2f6a]    { border-left: 4px solid #DC2626; }
.audience-check-error[b-wptc9i2f6a]   { border-left: 4px solid #DC2626; }

.audience-check-header[b-wptc9i2f6a] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    margin-bottom: .4rem;
}

.audience-check-body[b-wptc9i2f6a] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .85rem;
}

.audience-check p.alert-error[b-wptc9i2f6a],
.audience-check p.enqueue-note[b-wptc9i2f6a] {
    margin: .5rem 0 0;
}
/* /Components/Pages/Offers.razor.rz.scp.css */
.token-picker-panel[b-evrfxa14nf] {
    background    : #f0f4ff;
    border        : 1px solid #c8d5ee;
    border-radius : 6px;
    padding       : .6rem .75rem;
    margin-bottom : .75rem;
}

.token-picker-label[b-evrfxa14nf] {
    font-size   : .75rem;
    font-weight : 600;
    color       : #555;
    margin-bottom: .45rem;
}

.token-picker-chips[b-evrfxa14nf] {
    display   : flex;
    flex-wrap : wrap;
    gap       : .35rem;
}

.token-chip[b-evrfxa14nf] {
    background    : #fff;
    border        : 1px solid #a0b4d8;
    border-radius : 4px;
    padding       : .2rem .6rem;
    font-size     : .78rem;
    font-family   : monospace;
    color         : #2a4a8a;
    cursor        : pointer;
    transition    : background .15s, color .15s, border-color .15s;
}

.token-chip:hover[b-evrfxa14nf] {
    background   : #2a4a8a;
    color        : #fff;
    border-color : #2a4a8a;
}

/* ── ACTIVE CHIP (token already present in URL) ─────────────── */
.token-chip-active[b-evrfxa14nf] {
    background   : rgba(249, 115, 22, .12);
    border-color : #F97316;
    color        : #9A3412;
    font-weight  : 700;
}

.token-chip-active:hover[b-evrfxa14nf] {
    background   : rgba(249, 115, 22, .22);
    border-color : #EA580C;
    color        : #7C2D12;
}

/* ── OFFER URL HIGHLIGHT BACKDROP ───────────────────────────── */

/* Wrapper gives the absolute-positioned backdrop something to fill */
.url-highlight-wrapper[b-evrfxa14nf] {
    position : relative;
    width    : 100%;
}

/*
 * The backdrop is an invisible clone of the textarea content.
 * Only the <mark> backgrounds are visible; all text is transparent.
 * Padding/font/line-height MUST match .form-textarea exactly.
 */
.url-highlight-backdrop[b-evrfxa14nf] {
    position      : absolute;
    top           : 0;
    left          : 0;
    right         : 0;
    bottom        : 0;
    padding       : .5rem .75rem;           /* == .form-textarea */
    font-family   : 'Consolas', monospace;  /* == .form-textarea */
    font-size     : .825rem;                /* == .form-textarea */
    line-height   : 1.6;                    /* == .form-textarea */
    white-space   : pre-wrap;
    word-wrap     : break-word;
    overflow      : hidden;
    pointer-events: none;
    color         : transparent;
    border        : 1px solid transparent;  /* keeps box model identical */
    border-radius : 6px;
    box-sizing    : border-box;
    z-index       : 0;
}

/* The textarea sits on top; its background is transparent so the
   backdrop highlights bleed through underneath the typed text. */
.url-highlight-textarea[b-evrfxa14nf] {
    background  : transparent !important;
    position    : relative;
    z-index     : 1;
    color       : #374151;
    caret-color : #374151;
}

/* Orange tint shown behind {{token}} text in the textarea */
.url-token-mark[b-evrfxa14nf] {
    background    : rgba(249, 115, 22, .22);
    border-radius : 3px;
    color         : transparent; /* text hidden; only background shows */
}

/* ── TABLE URL TOKEN HIGHLIGHT ───────────────────────────────­ */
.token-highlight[b-evrfxa14nf] {
    background    : rgba(249, 115, 22, .15);
    color         : #9A3412;
    border-radius : 3px;
    padding       : 0 2px;
    font-family   : 'Consolas', monospace;
    font-size     : .8em;
    font-weight   : 600;
}
/* /Components/Pages/OutboundMessagesView.razor.rz.scp.css */
/* Scoped to OutboundMessagesView only. The shared classes this view leans on
   (lr-table / lr-row / lr-card-grid / lead-detail-* / lp-mono / badge-*) live in
   wwwroot/css/app.css and are deliberately not touched here. */

.om-filter-bar[b-lzsm7to8xc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin: .25rem 0 1rem;
}

.om-filter-input[b-lzsm7to8xc] {
    width: 150px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.om-filter-error[b-lzsm7to8xc] {
    font-size: .8rem;
    color: var(--color-danger, #b91c1c);
}

.om-inline-warning[b-lzsm7to8xc] {
    margin-top: .4rem;
    font-size: .78rem;
    color: var(--color-danger, #b91c1c);
    overflow-wrap: anywhere;
}

/* ── Grid message cell ──────────────────────────────────────────────────── */

.om-preview-cell[b-lzsm7to8xc] {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.om-code-chip[b-lzsm7to8xc] {
    display: inline-block;
    padding: 0 .3rem;
    margin: 0 .15rem;
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .74rem;
    line-height: 1.35;
    background: rgba(74, 144, 184, .12);
    white-space: nowrap;
}

/* ── Dialog sections ───────────────────────────────────────────────────── */

.om-title-badges[b-lzsm7to8xc] {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
}

.om-detail[b-lzsm7to8xc] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.om-section[b-lzsm7to8xc] {
    border-top: 1px solid var(--color-border, #d1d5db);
    padding-top: .75rem;
}

.om-section-head[b-lzsm7to8xc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .4rem;
}

.om-copy[b-lzsm7to8xc] {
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 4px;
    background: none;
    color: inherit;
    font: inherit;
    font-size: .74rem;
    padding: .1rem .45rem;
    cursor: pointer;
    white-space: nowrap;
}

.om-copy:hover[b-lzsm7to8xc] { background: rgba(74, 144, 184, .12); }

.om-copy-row[b-lzsm7to8xc] {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    min-width: 0;
}

/* Long URLs, provider ids and raw payloads must wrap rather than widen the dialog. */
.om-break[b-lzsm7to8xc] {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.om-body[b-lzsm7to8xc] {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 6px;
    padding: .6rem .7rem;
    font-size: .9rem;
    max-height: 22rem;
    overflow-y: auto;
}

.om-body-sm[b-lzsm7to8xc] { font-size: .78rem; }

.om-metrics[b-lzsm7to8xc] {
    margin-top: .35rem;
    font-size: .78rem;
    opacity: .75;
}

/* ── Links ─────────────────────────────────────────────────────────────── */

.om-link-card[b-lzsm7to8xc] {
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 6px;
    padding: .6rem .7rem;
    margin-bottom: .6rem;
}

.om-link-note[b-lzsm7to8xc] { font-size: .82rem; opacity: .8; }

.om-shortcode[b-lzsm7to8xc] { margin-top: .5rem; }

.om-run-link[b-lzsm7to8xc] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}

.om-click-table[b-lzsm7to8xc] {
    width: 100%;
    margin-top: .5rem;
    font-size: .76rem;
    border-collapse: collapse;
}

.om-click-table th[b-lzsm7to8xc],
.om-click-table td[b-lzsm7to8xc] {
    text-align: left;
    padding: .25rem .4rem;
    border-bottom: 1px solid var(--color-border, #d1d5db);
}

/* ── Delivery timeline ─────────────────────────────────────────────────── */

.om-timeline[b-lzsm7to8xc] { display: flex; flex-direction: column; }

.om-timeline-row[b-lzsm7to8xc] {
    display: grid;
    grid-template-columns: 11rem 7rem 1fr 4rem;
    gap: .5rem;
    align-items: baseline;
    padding: .35rem 0;
    border-bottom: 1px solid var(--color-border, #d1d5db);
    font-size: .82rem;
}

.om-timeline-cost[b-lzsm7to8xc] { text-align: right; }

/* ── Replies ───────────────────────────────────────────────────────────── */

.om-reply[b-lzsm7to8xc] { margin-bottom: .6rem; }

.om-reply-head[b-lzsm7to8xc] {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    margin-bottom: .25rem;
}

/* ── Raw ───────────────────────────────────────────────────────────────── */

.om-raw summary[b-lzsm7to8xc] { cursor: pointer; font-weight: 600; }

.om-raw-block[b-lzsm7to8xc] { margin-top: .6rem; }

@media (max-width: 720px) {
    .om-timeline-row[b-lzsm7to8xc] { grid-template-columns: 1fr; }
    .om-timeline-cost[b-lzsm7to8xc] { text-align: left; }
}
/* /Components/Pages/ReplyKeywords.razor.rz.scp.css */
/* Scoped to ReplyKeywords only. Shared classes (table-wrapper / badge-* / btn-* / modal-* / form-* /
   toolbar-* / lp-mono / lr-nowrap) live in wwwroot/css/app.css and are not touched here. */

.rk-header[b-1dqqqpaaxy] { flex-wrap: wrap; gap: .75rem; }
.rk-header-actions[b-1dqqqpaaxy] { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }

.rk-intro[b-1dqqqpaaxy] { margin: 0 0 .75rem; font-size: .85rem; color: #4B5563; line-height: 1.5; max-width: 900px; }

.rk-fcc[b-1dqqqpaaxy] {
    margin: 0 0 1rem;
    padding: .55rem .85rem;
    border: 1px solid #BFDBFE;
    border-left: 4px solid #1D4ED8;
    border-radius: 8px;
    background: #EFF6FF;
    color: #1E3A8A;
    font-size: .84rem;
    font-weight: 600;
}

.rk-notice[b-1dqqqpaaxy] {
    margin: 0 0 1rem;
    padding: .5rem .85rem;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    background: #FFFBEB;
    color: #92400E;
    font-size: .85rem;
}

.rk-gap[b-1dqqqpaaxy] { margin-bottom: 1rem; }
.rk-small[b-1dqqqpaaxy] { font-size: .8rem; color: #6B7280; }

/* ── Push results ───────────────────────────────────────────────────────── */
.rk-sync[b-1dqqqpaaxy] { margin-bottom: 1rem; }
.rk-sync-title[b-1dqqqpaaxy], .rk-test-title[b-1dqqqpaaxy] { font-size: .85rem; font-weight: 700; color: #374151; margin-bottom: .45rem; }
.rk-detail[b-1dqqqpaaxy] { font-size: .8rem; color: #4B5563; max-width: 560px; }

/* ── Test a reply ───────────────────────────────────────────────────────── */
.rk-test[b-1dqqqpaaxy] {
    margin-bottom: 1.25rem;
    padding: .85rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #F9FAFB;
}
.rk-test-row[b-1dqqqpaaxy] { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.rk-test-sub[b-1dqqqpaaxy] { width: auto; min-width: 150px; }
.rk-test-input[b-1dqqqpaaxy] { flex: 1 1 280px; width: auto; }

.rk-test-result[b-1dqqqpaaxy] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .35rem 1rem;
    margin-top: .75rem;
    font-size: .84rem;
}
.rk-test-result dt[b-1dqqqpaaxy] { color: #6B7280; font-weight: 600; }
.rk-test-result dd[b-1dqqqpaaxy] { margin: 0; color: #111827; overflow-wrap: anywhere; }

/* ── Filters and list ───────────────────────────────────────────────────── */
.rk-toolbar[b-1dqqqpaaxy] { gap: .6rem; margin-bottom: .85rem; }
.rk-select[b-1dqqqpaaxy] { width: auto; min-width: 150px; }
.rk-search[b-1dqqqpaaxy] { width: 240px; max-width: 100%; }

.rk-table td[b-1dqqqpaaxy] { vertical-align: middle; }
.table-wrapper tbody tr.rk-inactive td[b-1dqqqpaaxy] { color: #9CA3AF; background: #FAFAFA; }
.rk-keyword[b-1dqqqpaaxy] { font-size: .82rem; font-weight: 600; }
.rk-fcc-badge[b-1dqqqpaaxy] { margin-left: .35rem; }
.rk-note[b-1dqqqpaaxy] { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
.rk-actions[b-1dqqqpaaxy] { display: flex; flex-wrap: wrap; gap: .35rem; }
.rk-actions .btn[b-1dqqqpaaxy] { white-space: nowrap; }
.rk-actions .btn:disabled[b-1dqqqpaaxy] { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Edit dialog ────────────────────────────────────────────────────────── */
.rk-help[b-1dqqqpaaxy] { font-size: .78rem; color: #6B7280; line-height: 1.4; }

.rk-modes[b-1dqqqpaaxy] { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: .45rem; }
.rk-modes > legend[b-1dqqqpaaxy] { padding: 0; margin-bottom: .35rem; }
.rk-modes:disabled .rk-radio[b-1dqqqpaaxy] { color: #9CA3AF; cursor: not-allowed; }

.rk-radio[b-1dqqqpaaxy] { display: flex; align-items: flex-start; gap: .5rem; font-size: .84rem; color: #374151; cursor: pointer; line-height: 1.4; }
.rk-radio input[b-1dqqqpaaxy] { margin-top: .2rem; }

.rk-warning[b-1dqqqpaaxy] {
    margin: 0;
    padding: .5rem .75rem;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    background: #EFF6FF;
    color: #1E3A8A;
    font-size: .82rem;
}

@media (max-width: 560px) {
    .rk-test-sub[b-1dqqqpaaxy], .rk-select[b-1dqqqpaaxy] { flex: 1 1 100%; }
    .rk-search[b-1dqqqpaaxy] { width: 100%; }
}
/* /Components/Pages/ReportingView.razor.rz.scp.css */
.cx-date-range[b-cfrc1utnpz] { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:end; gap:.75rem; border:0; padding:0; margin:-8px 0 0; }
.cx-date-range label[b-cfrc1utnpz] { display:flex; flex-direction:column; gap:.3rem; font-size:.8rem; color:var(--cx-text-2); }
.cx-date-range input[b-cfrc1utnpz] { padding:.4rem .5rem; border:1px solid var(--color-border,#d1d5db); border-radius:6px; background:var(--color-surface,#fff); color:inherit; font:inherit; font-size:.85rem; }
.report-definitions[b-cfrc1utnpz] { font-size:.9rem; }
.report-definitions summary[b-cfrc1utnpz] { cursor:pointer; font-weight:600; }
.report-definitions dt[b-cfrc1utnpz] { font-weight:600; margin-top:.6rem; }
.report-definitions dd[b-cfrc1utnpz] { margin-left:0; }
.visually-hidden[b-cfrc1utnpz] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* /Components/Pages/UserResponsesView.razor.rz.scp.css */
/* Scoped to UserResponsesView only (opt-out v4 reply review panel). The shared classes this view leans
   on (table-wrapper / badge-* / btn-* / modal-* / raw-filter-* / lr-nowrap / lp-mono) live in
   wwwroot/css/app.css and are deliberately not touched here. */

/* ── Header ─────────────────────────────────────────────────────────────── */
.ur-header[b-zhy85zrn2c] { flex-wrap: wrap; gap: .75rem; }

.ur-header-actions[b-zhy85zrn2c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.ur-review-count[b-zhy85zrn2c] { text-decoration: none; white-space: nowrap; }
.ur-review-count:hover[b-zhy85zrn2c] { filter: brightness(.95); }

.ur-panel-notice[b-zhy85zrn2c] {
    margin: 0 0 .75rem;
    padding: .5rem .85rem;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    background: #FFFBEB;
    color: #92400E;
    font-size: .85rem;
}

/* ── List selector (segmented) ──────────────────────────────────────────── */
.ur-views[b-zhy85zrn2c] {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 0 .75rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    overflow: hidden;
}

.ur-view[b-zhy85zrn2c] {
    padding: .4rem .85rem;
    font-size: .82rem;
    color: #374151;
    background: var(--color-white);
    border: 0;
    border-left: 1px solid #D1D5DB;
    cursor: pointer;
    white-space: nowrap;
}
.ur-view:first-child[b-zhy85zrn2c] { border-left: 0; }
.ur-view:hover:not(:disabled)[b-zhy85zrn2c] { background: #F3F4F6; }
.ur-view:focus-visible[b-zhy85zrn2c] { outline: 2px solid rgba(74,144,184,0.6); outline-offset: -2px; }
.ur-view.is-active[b-zhy85zrn2c] { background: var(--color-primary); color: var(--color-white); font-weight: 600; }
.ur-view:disabled[b-zhy85zrn2c] { cursor: progress; }
@media (max-width: 560px) {
    .ur-views[b-zhy85zrn2c] { display: flex; flex-direction: column; }
    .ur-view[b-zhy85zrn2c] { border-left: 0; border-top: 1px solid #D1D5DB; text-align: left; }
    .ur-view:first-child[b-zhy85zrn2c] { border-top: 0; }
}

/* ── Decision notice ────────────────────────────────────────────────────── */
.ur-notice[b-zhy85zrn2c] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}
.ur-notice-body[b-zhy85zrn2c] { min-width: 0; overflow-wrap: anywhere; }
.ur-notice-detail[b-zhy85zrn2c] { margin-top: .25rem; font-weight: 400; font-size: .8rem; opacity: .85; }

.ur-alert-warn[b-zhy85zrn2c],
.ur-alert-info[b-zhy85zrn2c] {
    border-radius: 8px;
    padding: .65rem 1rem;
    font-size: .85rem;
    font-weight: 600;
}
.ur-alert-warn[b-zhy85zrn2c] { background: #FFFBEB; border: 1px solid #FCD34D; color: #92400E; }
.ur-alert-info[b-zhy85zrn2c] { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1D4ED8; }

/* ── Grid ───────────────────────────────────────────────────────────────── */
.ur-table td[b-zhy85zrn2c] { vertical-align: top; }

/* For Review rows: the legacy List.aspx highlight (#fec), kept on hover. */
.table-wrapper tbody tr.ur-row-review td[b-zhy85zrn2c] { background: #FFEECC; }
.table-wrapper tbody tr.ur-row-review:hover td[b-zhy85zrn2c] { background: #FDE3B0; }

.ur-flag[b-zhy85zrn2c] { margin-left: .25rem; color: #B45309; }
.ur-small[b-zhy85zrn2c] { font-size: .82rem; }

.ur-keyword[b-zhy85zrn2c] {
    margin-top: .2rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .74rem;
    color: #6B7280;
}

.ur-lead-link[b-zhy85zrn2c] { color: var(--color-primary); font-size: .82rem; }

.ur-message[b-zhy85zrn2c] { max-width: 280px; }
.ur-message span[b-zhy85zrn2c] { overflow-wrap: anywhere; }
.ur-message-full[b-zhy85zrn2c] { white-space: pre-wrap; overflow-wrap: anywhere; }

.ur-more[b-zhy85zrn2c] {
    margin-left: .3rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-primary);
    font-size: .75rem;
    cursor: pointer;
    text-decoration: underline;
}

.ur-decision[b-zhy85zrn2c] { font-size: .82rem; font-weight: 600; color: #374151; white-space: nowrap; }
.ur-sub[b-zhy85zrn2c] { margin-top: .15rem; font-size: .74rem; color: #6B7280; }

.ur-actions[b-zhy85zrn2c] { display: flex; flex-wrap: wrap; gap: .35rem; }
.ur-actions .btn[b-zhy85zrn2c] { white-space: nowrap; }
.ur-actions .btn:disabled[b-zhy85zrn2c] { opacity: .45; cursor: not-allowed; transform: none; }

.ur-why[b-zhy85zrn2c] { margin-top: .2rem; font-size: .72rem; color: #6B7280; }

/* ── Turn-on dialog ─────────────────────────────────────────────────────── */
.ur-dialog-text[b-zhy85zrn2c] { font-size: .85rem; color: #374151; line-height: 1.5; }
.ur-dialog-muted[b-zhy85zrn2c] { color: #6B7280; font-size: .8rem; }

.ur-reasons[b-zhy85zrn2c] {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.ur-reasons > legend[b-zhy85zrn2c] { padding: 0; margin-bottom: .35rem; }

.ur-radio[b-zhy85zrn2c] {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .85rem;
    color: #374151;
    cursor: pointer;
}
.ur-radio input[b-zhy85zrn2c] { margin-top: .2rem; }
.ur-radio.is-disabled[b-zhy85zrn2c] { color: #9CA3AF; cursor: not-allowed; }
.ur-cause[b-zhy85zrn2c] { margin: -.2rem 0 .1rem 1.55rem; }
.ur-fcc-note[b-zhy85zrn2c] {
    margin: 0;
    padding: .45rem .7rem;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    background: #EFF6FF;
    color: #1E3A8A;
    font-size: .82rem;
    line-height: 1.45;
}
.ur-cause .ur-more[b-zhy85zrn2c] { margin-left: 0; }

.ur-candidates[b-zhy85zrn2c] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    max-height: 220px;
    overflow-y: auto;
    padding: .5rem .6rem;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #F9FAFB;
}
