/* ============================================================
   PRM (Prospect & Meet-and-Greet) — visual pass to match the
   "Next Generation" prototype (see docs/superpowers/specs/
   2026-07-27-prospecting-ui-prototype-alignment-design.md):
   brand green + violet accent + teal Meet & Greet accent.
   Scoped under .orbit-prm — intentionally distinct from the rest
   of the app's shared purple/cyan design system (confirmed decision,
   see design doc §3.1).
   ============================================================ */

.orbit-prm {
    --primary-rgb: 23, 119, 64;      /* brand green #177740 */
    --secondary-rgb: 124, 58, 237;   /* violet accent #7c3aed — Prospecting-specific */
    --tertiary-rgb: 14, 116, 144;    /* teal accent #0e7490 — Meet & Greet-specific */
    --success-rgb: 23, 119, 64;      /* same green family as brand */
    --info-rgb: 26, 106, 179;        /* blue */
    --warning-rgb: 196, 127, 0;      /* amber */
    --danger-rgb: 208, 48, 47;       /* red */

    --primary: rgb(var(--primary-rgb));
    --secondary: rgb(var(--secondary-rgb));
    --tertiary: rgb(var(--tertiary-rgb));
    --success: rgb(var(--success-rgb));
    --info: rgb(var(--info-rgb));
    --warning: rgb(var(--warning-rgb));
    --danger: rgb(var(--danger-rgb));

    --primary-01: rgba(var(--primary-rgb), 0.1);
    --primary-03: rgba(var(--primary-rgb), 0.3);
    --secondary-01: rgba(var(--secondary-rgb), 0.1);
    --secondary-03: rgba(var(--secondary-rgb), 0.3);
    --tertiary-01: rgba(var(--tertiary-rgb), 0.1);
    --tertiary-03: rgba(var(--tertiary-rgb), 0.3);
    --success-01: rgba(var(--success-rgb), 0.1);
    --success-03: rgba(var(--success-rgb), 0.3);
    --info-01: rgba(var(--info-rgb), 0.1);
    --info-03: rgba(var(--info-rgb), 0.3);
    --warning-01: rgba(var(--warning-rgb), 0.12);
    --warning-03: rgba(var(--warning-rgb), 0.35);
    --danger-01: rgba(var(--danger-rgb), 0.1);
    --danger-03: rgba(var(--danger-rgb), 0.3);

    --fg-1: #333335;
    --fg-2: #536485;
    --fg-3: #8c9097;
    --bg-surface: #ffffff;
    --bg-surface-3: #f3f6f8;
    --border: #e8ecf0;

    --radius-lg: 0.5rem;
    --radius-pill: 50rem;
    --shadow-card: 0 0.125rem 0 rgba(10, 10, 10, 0.04);

    /* Re-theme MudBlazor's own palette variables so every Mud component within
       .orbit-prm (buttons, outlined chips, progress bars, focus rings) follows
       the prototype's palette automatically, with no per-component overrides. */
    --mud-palette-primary: var(--primary);
    --mud-palette-primary-text: #fff;
    --mud-palette-primary-darken: #146536;
    --mud-palette-primary-lighten: #519970;
    --mud-palette-secondary: var(--secondary);
    --mud-palette-secondary-text: #fff;
    --mud-palette-secondary-darken: #6931c9;
    --mud-palette-secondary-lighten: #9d6bf2;
    --mud-palette-tertiary: var(--tertiary);
    --mud-palette-tertiary-text: #fff;
    --mud-palette-tertiary-darken: #0c637a;
    --mud-palette-tertiary-lighten: #4a97ac;

    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--fg-1);
}

/* ---------- Page header ---------- */
.orbit-prm .prm-page-head {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.orbit-prm .prm-page-head h1,
.orbit-prm .prm-page-head .mud-typography-h4 {
    font-size: 1.375rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    color: var(--fg-1);
}

.orbit-prm .prm-page-sub {
    font-size: 0.8125rem;
    color: var(--fg-3);
}

/* ---------- Filter bar as a card, not a grey block ---------- */
.orbit-prm .prm-filterbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.orbit-prm .prm-filter-spacer {
    flex: 1 1 auto;
}

.orbit-prm .prm-filter-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fg-3);
    white-space: nowrap;
}

/* ---------- Scope toggle (My Assigned / All SQLs) ---------- */
.orbit-prm .scope-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.1875rem;
    background: var(--bg-surface-2, var(--bg-surface));
    flex-shrink: 0;
}

.orbit-prm .scope-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--fg-2);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.4375rem 0.75rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.orbit-prm .scope-btn:hover {
    color: var(--fg-1);
}

.orbit-prm .scope-btn.ac {
    background: var(--mud-palette-primary, #845adf);
    color: #fff;
    font-weight: 700;
}

/* ---------- Native filter selects (matches the prototype's .fsel control) ---------- */
.orbit-prm .prm-fsel {
    appearance: none;
    -webkit-appearance: none;
    height: 29px;
    min-width: 150px;
    padding: 0 1.75rem 0 0.625rem;
    font-size: 0.71875rem;
    font-weight: 500;
    color: var(--fg-1);
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 7px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888C97' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
}

.orbit-prm .prm-fsel:focus {
    outline: none;
    border-color: var(--mud-palette-primary, #845adf);
}

/* ---------- Queue table, built on MudDataGrid — matches the ServiceActions
   convention (Components/Pages/ServiceActions/ServiceActionsTable.razor +
   wwwroot/service-actions/service-actions.css) instead of a hand-rolled CSS grid. ---------- */
.orbit-prm .prm-queue-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.orbit-prm .prm-filter-toggle {
    flex-shrink: 0;
}

/* MudButtonGroup's "override-styles" CSS forces child button backgrounds to
   `inherit` and their borders to reference --mud-palette-primary-rgb (which
   this page does not re-theme), so per-button Color/Variant alone cannot
   produce a visibly distinct active/inactive state here. Force it explicitly
   — solid fill for the active (Filled) button, plain outline for the inactive
   (Outlined) one — matching the reference prototype's segmented toggle. */
.orbit-prm .prm-filter-toggle .mud-button-root.mud-button-filled {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    font-weight: 700;
}

.orbit-prm .prm-filter-toggle .mud-button-root.mud-button-outlined {
    background-color: transparent !important;
    color: var(--fg-2) !important;
    border-color: var(--border) !important;
    font-weight: 500;
}

/* Outlined MudSelect, unlabeled (the "All Locations"/"All Outcomes" option
   text stands in for a label, matching the reference prototype's native
   .fsel selects) — sized and bordered to match .prm-filter-toggle so the
   whole filter row sits on one visual baseline instead of the select's
   default label row pushing it taller than the toggle buttons. */
.orbit-prm .prm-filter-select {
    max-width: 200px;
    flex-shrink: 0;
}

.orbit-prm .prm-filter-select .mud-input-control {
    margin-top: 0;
}

.orbit-prm .prm-filter-select .mud-input-outlined {
    min-height: 2.25rem;
    border-radius: 7px;
}

.orbit-prm .prm-filter-select .mud-input-outlined-border {
    border-color: var(--border);
}

.orbit-prm .prm-filter-select:hover .mud-input-outlined-border {
    border-color: var(--fg-3);
}

.orbit-prm .prm-filter-select .mud-input-slot {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fg-1);
}

.orbit-prm .prm-filter-count {
    margin-left: auto;
    white-space: nowrap;
}

.orbit-prm .prm-queue-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    background: var(--bg-surface);
    overflow: hidden;
}

.orbit-prm .prm-q-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fg-1);
    line-height: 1.3;
}

.orbit-prm .prm-q-line {
    font-size: 0.75rem;
    color: var(--fg-1);
    line-height: 1.3;
}

.orbit-prm .prm-q-sub {
    font-size: 0.6875rem;
    color: var(--fg-3);
    line-height: 1.3;
}

.orbit-prm .prm-q-lost {
    color: var(--danger, #d64545);
}

.orbit-prm .prm-empty {
    padding: 2rem 0.875rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--fg-3);
}

/* MudDataGrid overrides — strip MudBlazor's own card chrome (the .prm-queue-card
   wrapper already provides border/shadow/radius) and restyle head/body cells to
   match the dense queue-table look. */
.orbit-prm .prm-data-grid { border-radius: 0; box-shadow: none; background: transparent; }
.orbit-prm .prm-data-grid .mud-table-container { overflow-x: auto; }
.orbit-prm .prm-data-grid .mud-data-grid-toolbar { display: none; }

.orbit-prm .prm-data-grid .mud-table-head .mud-table-cell {
    padding: 0.625rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-3);
    background: var(--bg-surface-3);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.orbit-prm .prm-data-grid .mud-table-sort-label,
.orbit-prm .prm-data-grid .column-header-sort-icon { display: none; }

.orbit-prm .prm-data-grid .mud-table-body .mud-table-row .mud-table-cell {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    color: var(--fg-1);
    border-bottom: 1px solid var(--border);
    border-top: none;
    cursor: pointer;
    transition: background 0.1s ease;
}

.orbit-prm .prm-data-grid .mud-table-body .mud-table-row:last-child .mud-table-cell {
    border-bottom: none;
}

.orbit-prm .prm-data-grid .mud-table-body .mud-table-row:hover .mud-table-cell {
    background: var(--bg-surface-3);
}

.orbit-prm .prm-data-grid .prm-col-prospect { width: 240px; min-width: 200px; max-width: 280px; }
.orbit-prm .prm-data-grid .prm-col-kids { width: 60px; min-width: 60px; max-width: 60px; text-align: center; }
.orbit-prm .prm-data-grid .prm-col-type { width: 120px; min-width: 120px; max-width: 120px; }
.orbit-prm .prm-data-grid .prm-col-stage { width: 120px; min-width: 120px; max-width: 120px; }
.orbit-prm .prm-data-grid .prm-col-location { width: 130px; min-width: 130px; max-width: 130px; }
.orbit-prm .prm-data-grid .prm-col-activity { width: 110px; min-width: 110px; max-width: 110px; }
.orbit-prm .prm-data-grid .prm-col-lastactivity { width: 110px; min-width: 110px; max-width: 110px; }
.orbit-prm .prm-data-grid .prm-col-appt { width: 90px; min-width: 90px; max-width: 90px; }
.orbit-prm .prm-data-grid .prm-col-apptsched { width: 90px; min-width: 90px; max-width: 90px; text-align: center; }
.orbit-prm .prm-data-grid .prm-col-outcome { width: 100px; min-width: 100px; max-width: 100px; }

.orbit-prm .prm-data-grid .mud-table-pagination { border-top: 1px solid var(--border); }

/* This codebase uses Color="Color.Secondary" on MudText to mean "muted caption
   text", but the theme's Secondary is the cyan accent (#23B7E5) — right for
   accents, wrong for muted helper text. Re-tone it to the design system's
   --fg-3 muted gray within the PRM area only. */
.orbit-prm .mud-secondary-text {
    color: var(--fg-3) !important;
}

/* ---------- Soft, tinted badge pills instead of solid filled chips ---------- */
.orbit-prm .mud-chip {
    height: auto;
    min-height: 1.375rem;
    padding: 0.0625rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
}

.orbit-prm .mud-chip .mud-chip-content {
    padding: 0;
}

.orbit-prm .mud-chip-filled.mud-chip-color-primary {
    background: var(--primary-01) !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-secondary {
    background: var(--secondary-01) !important;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-success {
    background: var(--success-01) !important;
    color: var(--success) !important;
    border: 1px solid var(--success-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-warning {
    background: var(--warning-01) !important;
    color: #92400e !important;
    border: 1px solid var(--warning-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-error {
    background: var(--danger-01) !important;
    color: var(--danger) !important;
    border: 1px solid var(--danger-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-info {
    background: var(--info-01) !important;
    color: var(--info) !important;
    border: 1px solid var(--info-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-tertiary {
    background: var(--tertiary-01) !important;
    color: var(--tertiary) !important;
    border: 1px solid var(--tertiary-03);
}

.orbit-prm .mud-chip-filled.mud-chip-color-default {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db;
}

/* ---------- Prospect detail tabs (manual tab bar — see ProspectDetail.razor
   for why this isn't MudTabs) ---------- */
.orbit-prm .prm-tabs {
    margin-top: 1rem;
}

.orbit-prm .prm-tab-bar {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.orbit-prm .prm-tab {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    padding: 0.625rem 0.125rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fg-3);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.orbit-prm .prm-tab:hover {
    color: var(--fg-1);
}

.orbit-prm .prm-tab-active,
.orbit-prm .prm-tab-active:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.orbit-prm .prm-tab-count {
    background: var(--bg-surface-3);
    color: var(--fg-3);
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.0625rem 0.4375rem;
    line-height: 1.4;
}

.orbit-prm .prm-tab-active .prm-tab-count {
    background: var(--primary-01);
    color: var(--primary);
}

/* ---------- Compact, cleaner dropdowns (MudSelect) ---------- */
.orbit-prm .mud-input {
    border-radius: var(--radius-lg);
}

.orbit-prm .mud-select .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--border);
}

.orbit-prm .mud-input-outlined:not(.mud-input-error):hover .mud-input-outlined-border {
    border-color: var(--fg-3);
}

.orbit-prm .mud-input-outlined.mud-shrink .mud-input-outlined-border {
    border-width: 1px;
}

.orbit-prm .mud-input-label {
    font-size: 0.75rem;
    color: var(--fg-3);
}

.orbit-prm .mud-input-root {
    font-size: 0.8125rem;
}

/* MudBlazor's own built-in rules for select/adorned inputs are more specific than a plain
   .mud-input-slot selector and otherwise win, leaving inconsistent (and cramped-looking)
   horizontal padding across the outlined selects and the plain Reason textarea. */
.orbit-prm .mud-input-slot {
    padding: 0.5rem 0.75rem !important;
}

.orbit-prm .mud-select .mud-select-input {
    min-height: unset;
}

.orbit-prm .mud-list-item {
    font-size: 0.8125rem;
    min-height: 2.25rem;
}

/* ---------- Acquisition summary strip (matches the prototype's .acq-card) ---------- */
.orbit-prm .prm-acq-card {
    background: #faf5ff;
    border: 1px solid var(--secondary-03);
    border-radius: 9px;
    padding: 0.5625rem 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.orbit-prm .prm-acq-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.orbit-prm .prm-acq-lbl {
    font-size: 0.59375rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.orbit-prm .prm-acq-val {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fg-1);
}

.orbit-prm .prm-acq-sep {
    width: 1px;
    height: 1.75rem;
    background: var(--secondary-03);
}

/* ---------- SFMC Handoff Record card ---------- */
.orbit-prm .prm-handoff-card {
    border-left: 3px solid #0ea5e9;
    background: #f0f9ff;
}

.orbit-prm .prm-ir-value {
    font-weight: 700;
    color: var(--fg-1);
}

/* ---------- Priority dot (checklist tasks) ---------- */
.orbit-prm .prm-pri-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.orbit-prm .prm-pri-dot.h { background: var(--danger); }
.orbit-prm .prm-pri-dot.m { background: var(--warning); }
.orbit-prm .prm-pri-dot.l { background: var(--fg-3); }

/* ---------- Dual-stream activity timeline ---------- */
.orbit-prm .prm-tl-stream-label {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--fg-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0 0.25rem;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 0.25rem;
}

.orbit-prm .prm-tl-entry.system {
    opacity: 0.72;
}

.orbit-prm .prm-tl-badge {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.0625rem 0.3125rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    margin-left: 0.375rem;
}

.orbit-prm .prm-tl-badge.sys {
    background: var(--bg-surface-3);
    color: var(--fg-2);
    border: 1px solid var(--border);
}

.orbit-prm .prm-tl-badge.handoff {
    background: var(--secondary-01);
    color: var(--secondary);
    border: 1px solid var(--secondary-03);
}

/* ---------- Reschedule dialog: stepper, date strip, slot grid, compare panel ---------- */
.orbit-prm .prm-stepper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.orbit-prm .prm-step {
    display: flex;
    align-items: center;
    gap: 0.4375rem;
    color: var(--fg-3);
    font-size: 0.8125rem;
}

.orbit-prm .prm-step b {
    width: 1.5625rem;
    height: 1.5625rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-surface-3);
    color: var(--fg-2);
}

.orbit-prm .prm-step-active {
    color: var(--tertiary);
    font-weight: 700;
}

.orbit-prm .prm-step-active b {
    background: var(--tertiary);
    color: #fff;
}

.orbit-prm .prm-date-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3.25rem, 1fr));
    gap: 0.5rem;
    margin: 0.625rem 0 1rem;
}

.orbit-prm .prm-date {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--fg-2);
}

.orbit-prm .prm-date-active {
    background: var(--tertiary-01);
    color: var(--tertiary);
    border-color: var(--tertiary);
    font-weight: 700;
}

.orbit-prm .prm-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.375rem, 1fr));
    gap: 0.5625rem;
}

.orbit-prm .prm-slot {
    border: 1px solid var(--tertiary-03);
    background: var(--tertiary-01);
    border-radius: var(--radius-lg);
    text-align: left;
    color: var(--fg-1);
}

.orbit-prm .prm-slot-selected {
    background: var(--tertiary-01);
    border: 2px solid var(--tertiary);
}

.orbit-prm .prm-compare {
    display: grid;
    grid-template-columns: 1fr 2.25rem 1fr;
    gap: 0.625rem;
    align-items: center;
    margin: 0.875rem 0;
}

.orbit-prm .prm-compare-col {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    background: var(--bg-surface-3);
}

.orbit-prm .prm-compare-new {
    background: var(--tertiary-01);
    border-color: var(--tertiary-03);
}

.orbit-prm .prm-compare-label {
    color: var(--fg-3);
    font-size: 0.75rem;
}

.orbit-prm .prm-compare-arrow {
    text-align: center;
    color: var(--fg-3);
    font-size: 1.5rem;
}

/* ---------- Meet & Greet card and dialog action buttons: match the
   reschedule/cancel prototype's sentence-case, rounded button treatment
   instead of MudBlazor's default all-caps styling. ---------- */
.orbit-prm .prm-card-actions {
    justify-content: flex-end;
}

.orbit-prm .prm-btn {
    text-transform: none;
    border-radius: var(--radius-lg);
    font-weight: 650;
    letter-spacing: normal;
}

/* ---------- Reschedule slot-picker: embedded month calendar (left) +
   time-slot list (right), replacing the old horizontal date-strip. ---------- */
.mng-picker {
    display: grid;
    grid-template-columns: minmax(15rem, 1fr) minmax(12rem, 1fr);
    gap: 1.5rem;
    margin: 0.625rem 0 1rem;
}

@media (max-width: 40rem) {
    .mng-picker {
        grid-template-columns: 1fr;
    }
}

.mng-cal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.mng-cal-month {
    font-weight: 700;
    min-width: 9rem;
    text-align: center;
}

.mng-cal-weekdays,
.mng-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    text-align: center;
}

.mng-cal-weekdays span {
    color: var(--fg-3);
    font-size: 0.75rem;
    font-weight: 700;
}

.mng-cal-cell {
    border: none;
    background: transparent;
    border-radius: 50%;
    aspect-ratio: 1;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto;
    font-size: 0.875rem;
}

.mng-cal-cell-empty {
    visibility: hidden;
}

.mng-cal-cell-muted {
    color: var(--fg-3);
    opacity: 0.5;
}

.mng-cal-cell-active {
    color: var(--fg-1);
    cursor: pointer;
}

.mng-cal-cell-active:hover {
    background: var(--tertiary-01);
}

.mng-cal-cell-selected {
    background: var(--tertiary);
    color: #fff;
    font-weight: 700;
}

.mng-cal-caption {
    margin: 0.5rem 0 0;
    color: var(--fg-3);
    font-size: 0.75rem;
    text-align: center;
}

.mng-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
    gap: 0.5625rem;
}

.mng-slot {
    border: 1px solid var(--tertiary-03);
    background: var(--tertiary-01);
    border-radius: var(--radius-lg);
    color: var(--fg-1);
    text-transform: none;
}

.mng-slot-selected {
    background: var(--tertiary-01);
    border: 2px solid var(--tertiary);
}

.mng-slots-staff {
    margin-top: 0.75rem;
    color: var(--fg-2);
    font-size: 0.875rem;
}

