/* /Components/Layout/MainLayout.razor.rz.scp.css */
.tb-app-shell[b-739djkm78g] {
    min-height: 100vh;
    background: var(--tb-color-canvas-warm);
}

.tb-brand-mark[b-739djkm78g] {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    color: #0f1413;
    background: linear-gradient(135deg, #8ed2c5, var(--tb-color-primary-dark));
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tb-brand-copy[b-739djkm78g] {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
    transition: opacity 0.18s ease, width 0.18s ease;
}

.tb-brand-name[b-739djkm78g] {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
}

.tb-brand-context[b-739djkm78g] {
    margin-top: 0.1rem;
    color: rgba(230, 239, 237, 0.55);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
}

.tb-logout-form[b-739djkm78g] {
    display: inline-flex;
    margin: 0;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.tb-nav-user-text[b-rg61plsfb0] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 500;
    transition: opacity 0.18s ease, width 0.18s ease;
}
/* /Components/Layout/OperatorNavRail.razor.rz.scp.css */
/*
    Operator nav rail — scoped styles.

    Visual intent (per the Workshop Calm proposal):
    - Active page: thin teal left edge bar against the dark drawer.
    - Per-item attention dot: positioned over the icon's top-right so it
      survives the mini-rail collapsed state where labels are hidden.
    - Dot uses the brand teal by default, amber for soft alerts.

    The mini-rail expand-on-hover behaviour is owned by the parent
    MudDrawer in MainLayout.razor — nothing here drives width changes.
*/

.tb-nav-rail[b-nd5evln0wa] {
    /* Match the calm hierarchy: items breathe, no rule lines between them. */
    --tb-nav-rail-item-height: 48px;
    --tb-nav-rail-edge: 3px;
    --tb-nav-rail-indicator-size: 9px;
    --tb-nav-rail-indicator-ring: 2px;

    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Wrapping each link in a div lets us place the indicator dot without
   fighting MudNavLink's internal layout. */
.tb-nav-rail-item[b-nd5evln0wa] {
    position: relative;
}

/*
    Active state — a slim teal edge bar on the left side of the row.
    Uses ::deep to reach into MudNavLink because the active class is
    applied to MudBlazor's own rendered <a>. Scoped under .tb-nav-rail
    so it cannot affect the SuperAdmin/Manager NavMenu sharing the page.
*/
.tb-nav-rail[b-nd5evln0wa]  .mud-nav-link.active {
    position: relative;
}

.tb-nav-rail[b-nd5evln0wa]  .mud-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: var(--tb-nav-rail-edge);
    border-radius: 0 var(--tb-nav-rail-edge) var(--tb-nav-rail-edge) 0;
    background: var(--tb-color-primary);
    box-shadow: 0 0 12px rgba(85, 195, 182, 0.45);
}

/*
    Attention dot.
    Default colour = brand teal. The amber variant is used for
    "soft alert" categories like overdue training where the operator
    should notice but isn't blocked.

    Position: anchored to the wrapper, sits over the icon's upper-right.
    With the drawer in mini mode the icon stays put, so the dot stays
    visually correct. With the drawer expanded, the icon is still at the
    same x-coordinate within the row, so the dot follows.
*/
.tb-nav-rail-item-attention[b-nd5evln0wa]::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 30px;
    width: var(--tb-nav-rail-indicator-size);
    height: var(--tb-nav-rail-indicator-size);
    border-radius: 50%;
    background: var(--tb-color-primary);
    box-shadow: 0 0 0 var(--tb-nav-rail-indicator-ring) var(--tb-color-shell);
    pointer-events: none;
}

.tb-nav-rail-item-amber[b-nd5evln0wa]::after {
    background: var(--tb-color-warning);
}

/*
    User identity chip at the bottom of the rail.
    Mirrors the existing NavMenu treatment so role transitions don't
    feel like a different app. In mini mode, only the icon shows
    (MudBlazor auto-collapses the span's parent).
*/
.tb-nav-rail-divider[b-nd5evln0wa] {
    margin: 0.75rem 0.5rem 0.5rem 0.5rem;
    opacity: 0.4;
}

.tb-nav-rail-user[b-nd5evln0wa] {
    padding: 0.5rem 1rem 0.75rem 1rem;
    color: var(--tb-color-shell-muted);
    font-size: 0.85rem;
}

.tb-nav-rail-user-icon[b-nd5evln0wa] {
    color: var(--tb-color-shell-muted);
    font-size: 1.4rem;
}

.tb-nav-rail-user-text[b-nd5evln0wa] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dashboard-shell[b-nonf37yjqp] {
    position: relative;
    min-height: calc(100vh - 7rem);
    margin: 0;
    padding: 0;
    overflow: visible;
    isolation: isolate;
    background:
        radial-gradient(ellipse 38% 30% at 92% 0%, rgba(91, 191, 179, 0.08), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(250, 250, 250, 0.35) 100%);
}

.dashboard-grain[b-nonf37yjqp],
.dashboard-card-grain[b-nonf37yjqp] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.dashboard-fingerprint[b-nonf37yjqp] {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: min(38vw, 30rem);
    opacity: 0.025;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

[b-nonf37yjqp] .dashboard-container {
    position: relative;
    z-index: 1;
    padding: 0;
    max-width: 1580px;
    margin: 0 auto;
}

[b-nonf37yjqp] .dashboard-hero,
[b-nonf37yjqp] .dashboard-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(203, 213, 225, 0.48);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    box-shadow:
        0 14px 34px -18px rgba(17, 21, 20, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[b-nonf37yjqp] .dashboard-hero::before,
[b-nonf37yjqp] .dashboard-card::before,
[b-nonf37yjqp] .dashboard-hero::after,
[b-nonf37yjqp] .dashboard-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

[b-nonf37yjqp] .dashboard-hero::before,
[b-nonf37yjqp] .dashboard-card::before {
    border: 0.5px solid rgba(203, 213, 225, 0.4);
}

[b-nonf37yjqp] .dashboard-hero::after,
[b-nonf37yjqp] .dashboard-card::after {
    inset: 0.5px;
    border: 0.5px solid rgba(255, 255, 255, 0.82);
}

[b-nonf37yjqp] .dashboard-hero {
    padding: clamp(1.4rem, 2.4vw, 2rem);
}

[b-nonf37yjqp] .dashboard-hero-content {
    position: relative;
    z-index: 1;
    gap: 1.5rem;
}

[b-nonf37yjqp] .dashboard-eyebrow,
[b-nonf37yjqp] .dashboard-section-title .mud-typography-overline {
    color: var(--tb-color-primary-deep);
}

[b-nonf37yjqp] .dashboard-title {
    color: var(--tb-color-ink);
    font-size: clamp(2.2rem, 3.4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: 0;
}

[b-nonf37yjqp] .dashboard-subtitle,
[b-nonf37yjqp] .dashboard-date {
    color: var(--tb-color-muted);
}

[b-nonf37yjqp] .dashboard-date {
    flex: 0 0 auto;
    padding: 0.65rem 0.95rem;
    border: 1px solid rgba(91, 191, 179, 0.18);
    border-radius: 999px;
    background: rgba(212, 245, 238, 0.32);
}

[b-nonf37yjqp] .dashboard-state-card {
    padding: 2rem 1.25rem;
}

[b-nonf37yjqp] .dashboard-alert.mud-alert {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

[b-nonf37yjqp] .dashboard-stat {
    min-height: 9.5rem;
}

[b-nonf37yjqp] .dashboard-stat .mud-card-content {
    height: 100%;
    padding: 1.25rem;
}

[b-nonf37yjqp] .dashboard-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 16px;
    color: var(--tb-color-primary);
    background: color-mix(in srgb, var(--tb-color-primary-soft) 55%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-icon .mud-icon-root {
    width: 1.65rem;
    height: 1.65rem;
}

[b-nonf37yjqp] .dashboard-stat-warning {
    border-color: color-mix(in srgb, var(--tb-color-warning) 28%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-warning .dashboard-stat-icon {
    color: var(--tb-color-warning);
    background: color-mix(in srgb, var(--tb-color-warning) 10%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-success {
    border-color: color-mix(in srgb, var(--tb-color-success) 24%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-success .dashboard-stat-icon {
    color: var(--tb-color-success);
    background: color-mix(in srgb, var(--tb-color-success) 10%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-info {
    border-color: color-mix(in srgb, var(--tb-color-info) 24%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-info .dashboard-stat-icon {
    color: var(--tb-color-info);
    background: color-mix(in srgb, var(--tb-color-info) 10%, transparent);
}

[b-nonf37yjqp] .dashboard-stat-muted {
    border-color: color-mix(in srgb, var(--tb-color-disabled) 32%, transparent);
}

[b-nonf37yjqp] .dashboard-section-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 14px;
    color: var(--tb-color-primary-deep);
    background: color-mix(in srgb, var(--tb-color-primary-soft) 55%, transparent);
}

[b-nonf37yjqp] .dashboard-card .mud-card-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.15rem, 1.8vw, 1.55rem);
}

[b-nonf37yjqp] .dashboard-action.mud-button-root {
    min-height: 3rem;
    border-radius: 14px;
    font-weight: 600;
    justify-content: flex-start;
    padding-inline: 1.15rem;
}

[b-nonf37yjqp] .dashboard-action-primary.mud-button-root {
    box-shadow: 0 8px 26px rgba(85, 195, 182, 0.2);
}

[b-nonf37yjqp] .dashboard-action-primary.mud-button-root:hover {
    box-shadow: 0 12px 45px rgba(85, 195, 182, 0.32);
}

[b-nonf37yjqp] .dashboard-inline-action.mud-button-root {
    align-self: flex-start;
    border-radius: 999px;
}

.dashboard-activity-row[b-nonf37yjqp] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(232, 232, 232, 0.8);
}

.dashboard-activity-row:last-child[b-nonf37yjqp] {
    border-bottom: 0;
}

.dashboard-activity-icon[b-nonf37yjqp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
}

.dashboard-activity-icon-primary[b-nonf37yjqp] {
    color: var(--tb-color-primary-deep);
    background: color-mix(in srgb, var(--tb-color-primary-soft) 55%, transparent);
}

.dashboard-activity-icon-success[b-nonf37yjqp] {
    color: var(--tb-color-success);
    background: color-mix(in srgb, var(--tb-color-success) 10%, transparent);
}

[b-nonf37yjqp] .dashboard-activity-main {
    min-width: 0;
}

[b-nonf37yjqp] .dashboard-activity-main .mud-typography {
    overflow-wrap: anywhere;
}

[b-nonf37yjqp] .dashboard-activity-meta,
[b-nonf37yjqp] .dashboard-activity-time {
    color: #737373;
}

[b-nonf37yjqp] .dashboard-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.2rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--tb-color-primary-soft) 22%, transparent);
    color: var(--tb-color-muted);
}

@media (max-width: 700px) {
    .dashboard-shell[b-nonf37yjqp] {
        margin: -1.5rem -1rem;
        padding: 0.85rem;
    }

    [b-nonf37yjqp] .dashboard-hero-content,
    [b-nonf37yjqp] .dashboard-date {
        flex-wrap: wrap;
    }

    [b-nonf37yjqp] .dashboard-hero-content {
        gap: 0.75rem;
    }

    [b-nonf37yjqp] .dashboard-hero {
        padding: 0.9rem;
    }

    [b-nonf37yjqp] .dashboard-eyebrow {
        display: block;
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.55;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    [b-nonf37yjqp] .dashboard-title {
        font-size: 1.45rem;
        line-height: 1.05;
        overflow-wrap: normal;
    }

    [b-nonf37yjqp] .dashboard-subtitle {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    [b-nonf37yjqp] .dashboard-date {
        width: 100%;
        justify-content: center;
        border-radius: 18px;
        padding: 0.75rem;
        text-align: center;
    }

    [b-nonf37yjqp] .dashboard-hero,
    [b-nonf37yjqp] .dashboard-card {
        border-radius: 28px;
    }

    [b-nonf37yjqp] .dashboard-stat {
        min-height: 9.5rem;
    }

    [b-nonf37yjqp] .dashboard-stat .mud-card-content {
        padding: 1.1rem;
    }

    [b-nonf37yjqp] .dashboard-stat-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 17px;
    }

    [b-nonf37yjqp] .dashboard-action.mud-button-root {
        justify-content: center;
        min-height: 3rem;
        white-space: normal;
        text-align: center;
    }

    .dashboard-activity-row[b-nonf37yjqp] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    [b-nonf37yjqp] .dashboard-activity-time {
        grid-column: 2;
    }
}

/*
    ──────────────────────────────────────────────────────────────────
    Step 2 — Operator hero, queue, and stats
    Brand voice: Workshop Calm.
    Single dominant feature card. Quiet stats. Strip eyebrows.
    ──────────────────────────────────────────────────────────────────
*/

.dashboard-strip-label[b-nonf37yjqp] {
    color: var(--tb-color-muted);
    letter-spacing: 0.18em;
    margin-bottom: 0.25rem;
}

/* ───── Operator hero feature card ───── */

.dashboard-feature[b-nonf37yjqp] {
    position: relative;
    overflow: hidden;
    border-radius: var(--tb-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, var(--tb-color-canvas-warm) 100%);
}

/* The teal ring + glow that marks the active state.
   Other states get progressively lighter rings or no ring at all. */
.dashboard-feature-activesession[b-nonf37yjqp] {
    border: 1px solid var(--tb-color-primary);
    box-shadow: var(--tb-shadow-teal);
}

.dashboard-feature-betweenblends[b-nonf37yjqp] {
    border: 1px solid var(--tb-color-primary-soft);
    box-shadow: var(--tb-shadow-surface);
}

.dashboard-feature-notsignedin[b-nonf37yjqp] {
    border: 1px solid var(--tb-color-line);
    box-shadow: var(--tb-shadow-surface);
}

/* Manager floor-status: the amber "attention" ring. Reuses the operator
   feature-card structure; amber is reserved for a real operational state
   (orders flagged urgent), per STYLING.md. */
.dashboard-feature-attention[b-nonf37yjqp] {
    border: 1px solid color-mix(in srgb, var(--tb-color-warning) 55%, transparent);
    box-shadow: 0 12px 42px color-mix(in srgb, var(--tb-color-warning) 18%, transparent);
}

/* Inner grain overlay — uses the existing --tb-grain noise SVG.
   Drift animation moves background-position over 60s; reduced-motion disables. */
.dashboard-feature-grain[b-nonf37yjqp] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: var(--tb-grain);
    background-size: 320px 320px;
    animation: tb-grain-drift-b-nonf37yjqp 60s linear infinite;
}

@keyframes tb-grain-drift-b-nonf37yjqp {
    from { background-position: 0 0; }
    to   { background-position: 80px 60px; }
}

/* Breathing status indicator. Only the active state pulses; the others
   render as a static dot. State-specific colours below. */
.dashboard-feature-indicator[b-nonf37yjqp] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tb-color-muted);
    flex-shrink: 0;
}

.dashboard-feature-activesession .dashboard-feature-indicator[b-nonf37yjqp] {
    background: var(--tb-color-primary);
    box-shadow: 0 0 0 4px rgba(85, 195, 182, 0.18);
    animation: tb-indicator-pulse-b-nonf37yjqp 2.4s ease-in-out infinite;
}

.dashboard-feature-betweenblends .dashboard-feature-indicator[b-nonf37yjqp] {
    background: var(--tb-color-primary);
    opacity: 0.6;
}

.dashboard-feature-attention .dashboard-feature-indicator[b-nonf37yjqp] {
    background: var(--tb-color-warning);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--tb-color-warning) 18%, transparent);
    animation: tb-indicator-pulse-b-nonf37yjqp 2.4s ease-in-out infinite;
}

@keyframes tb-indicator-pulse-b-nonf37yjqp {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

.dashboard-feature-status[b-nonf37yjqp] {
    color: var(--tb-color-ink-soft);
    letter-spacing: 0.16em;
}

.dashboard-feature-workstation[b-nonf37yjqp] {
    color: var(--tb-color-muted);
    font-weight: 500;
}

.dashboard-feature-lede[b-nonf37yjqp] {
    color: var(--tb-color-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* Normal-case supporting sentence under a feature title (Manager floor lede).
   Distinct from .dashboard-feature-lede, which is the uppercase eyebrow. */
.dashboard-feature-sentence[b-nonf37yjqp] {
    color: var(--tb-color-muted);
}

.dashboard-feature-title[b-nonf37yjqp] {
    color: var(--tb-color-ink);
    font-weight: 600;
    line-height: 1.2;
}

.dashboard-feature-meta[b-nonf37yjqp] {
    color: var(--tb-color-ink-soft);
}

    .dashboard-feature-meta[b-nonf37yjqp]  .mud-typography-caption {
        color: var(--tb-color-muted);
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 0.7rem;
    }

    .dashboard-feature-meta[b-nonf37yjqp]  .mud-typography-body1 {
        font-weight: 600;
        font-size: 1.15rem;
    }

.dashboard-feature-progress[b-nonf37yjqp] {
    margin-top: 0.25rem;
}

    .dashboard-feature-progress[b-nonf37yjqp]  .mud-progress-linear-bar {
        background: linear-gradient(90deg, var(--tb-color-primary), var(--tb-color-primary-dark));
    }

/* ───── Next-up queue cards ───── */

.dashboard-queue-card[b-nonf37yjqp] {
    border-radius: var(--tb-radius-md);
    border: 1px solid var(--tb-color-line);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

    .dashboard-queue-card:hover[b-nonf37yjqp] {
        transform: translateY(-2px);
        box-shadow: var(--tb-shadow-surface);
        border-color: var(--tb-color-primary-soft);
    }

.dashboard-queue-title[b-nonf37yjqp] {
    color: var(--tb-color-ink);
    font-weight: 600;
}

.dashboard-queue-meta[b-nonf37yjqp] {
    color: var(--tb-color-muted);
}

    .dashboard-queue-meta[b-nonf37yjqp]  .mud-icon-root {
        color: var(--tb-color-muted);
    }

/* ───── Quiet stat variant (lower-priority metrics) ───── */

.dashboard-stat-quiet[b-nonf37yjqp] {
    background: var(--tb-color-surface);
    border: 1px solid var(--tb-color-line);
}

    .dashboard-stat-quiet[b-nonf37yjqp]  .mud-typography-h2 {
        color: var(--tb-color-ink-soft);
        font-weight: 600;
    }

    .dashboard-stat-quiet[b-nonf37yjqp]  .mud-typography-overline {
        color: var(--tb-color-muted);
    }

/* ───── Page-load stagger ─────
   Each animated element either reads --stagger (set inline by the Razor) or
   falls back to its declared delay. Using animation-fill-mode: backwards
   keeps elements invisible until their delay has elapsed, avoiding the
   "everything pops in at frame 1, then animates" flash. */

.dashboard-feature[b-nonf37yjqp] {
    animation: tb-fade-up-b-nonf37yjqp 320ms ease-out backwards;
    animation-delay: 0ms;
}

.dashboard-queue-card[b-nonf37yjqp],
.dashboard-stat[b-nonf37yjqp] {
    animation: tb-fade-up-b-nonf37yjqp 280ms ease-out backwards;
    animation-delay: var(--stagger, 120ms);
}

@keyframes tb-fade-up-b-nonf37yjqp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ───── Motion + accessibility ───── */

@media (prefers-reduced-motion: reduce) {
    .dashboard-feature-grain[b-nonf37yjqp] {
        animation: none;
    }
    .dashboard-feature-activesession .dashboard-feature-indicator[b-nonf37yjqp],
    .dashboard-feature-attention .dashboard-feature-indicator[b-nonf37yjqp] {
        animation: none;
    }
    .dashboard-queue-card[b-nonf37yjqp] {
        transition: none;
    }
    .dashboard-queue-card:hover[b-nonf37yjqp] {
        transform: none;
    }
    .dashboard-feature[b-nonf37yjqp],
    .dashboard-queue-card[b-nonf37yjqp],
    .dashboard-stat[b-nonf37yjqp] {
        animation: none;
    }
}

/* /Components/Pages/Ingredients/EditIngredient.razor.rz.scp.css */
[b-dxa477zcot] .ingredient-nutrition-card {
    margin-top: 1.5rem;
    padding: clamp(1.15rem, 2vw, 1.5rem);
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
}

.ingredient-nutrition-header[b-dxa477zcot] {
    gap: 1rem;
}

.ingredient-nutrition-subtitle[b-dxa477zcot] {
    max-width: 42rem;
    margin-top: 0.1rem;
}

.ingredient-nutrition-actions[b-dxa477zcot] {
    margin-top: 0.35rem;
}

.ingredient-nutrient-panel[b-dxa477zcot] {
    padding-top: 0.25rem;
}

.ingredient-nutrition-add-row[b-dxa477zcot] {
    padding: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.58);
    border-radius: var(--tb-radius-md);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 249, 0.86)),
        var(--tb-color-canvas-warm);
}

.ingredient-nutrition-add-button.mud-button-root[b-dxa477zcot] {
    width: 100%;
    min-height: 2.5rem;
    margin-top: 1.05rem;
}

.ingredient-delete-mark[b-dxa477zcot] {
    color: var(--tb-color-error);
    background: rgba(220, 78, 78, 0.1);
}

.ingredient-delete-summary[b-dxa477zcot] {
    padding: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.58);
    border-radius: var(--tb-radius-md);
    background: rgba(247, 250, 249, 0.82);
}

.ingredient-dietary-checks[b-dxa477zcot] {
    margin-bottom: 1rem;
}

[b-dxa477zcot] .ingredient-dietary-check.mud-checkbox {
    width: 100%;
    padding: 0.25rem 0.45rem;
    border-radius: var(--tb-radius-sm);
}

[b-dxa477zcot] .ingredient-dietary-check.mud-checkbox:hover {
    background: rgba(212, 245, 238, 0.22);
}

[b-dxa477zcot] .ingredient-dietary-check .mud-typography {
    color: var(--tb-color-ink-soft);
    font-size: 0.9rem;
}

[b-dxa477zcot] .ingredient-readonly-field .mud-input {
    background: rgba(247, 250, 249, 0.84);
}

[b-dxa477zcot] .ingredient-readonly-field .mud-input input {
    color: var(--tb-color-ink-soft);
    font-variant-numeric: tabular-nums;
}

[b-dxa477zcot] .ingredient-pricing-history-grid .mud-table-container {
    overflow-x: auto;
}

[b-dxa477zcot] .ingredient-pricing-history-grid table {
    min-width: 68rem;
}

.ingredient-pricing-history-number[b-dxa477zcot] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

[b-dxa477zcot] .ingredient-nutrition-tabs.mud-tabs {
    border: 0 !important;
    border-radius: var(--tb-radius-lg);
    background: rgba(255, 255, 255, 0.74);
    overflow: hidden;
    box-shadow: none !important;
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tabs-toolbar {
    min-height: auto;
    padding: 0.45rem;
    border: 0 !important;
    background: rgba(247, 250, 249, 0.82);
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tabs-panels,
[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tabs-panels.mud-paper,
[b-dxa477zcot] .ingredient-nutrition-tabs .mud-paper {
    border: 0 !important;
    box-shadow: none !important;
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tabs-toolbar-wrapper {
    min-height: auto;
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab {
    min-height: 2.55rem;
    margin-right: 0.35rem;
    padding: 0.55rem 0.9rem;
    color: var(--tb-color-muted);
    border-radius: var(--tb-radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab:hover {
    color: var(--tb-color-primary-deep);
    background: rgba(212, 245, 238, 0.34);
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab.mud-tab-active {
    color: var(--tb-color-primary-deep);
    background: rgba(212, 245, 238, 0.62);
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab-slider {
    height: 2px;
    border-radius: var(--tb-radius-pill);
}

[b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab-panel {
    padding: 1rem;
    border: 0 !important;
}

[b-dxa477zcot] .ingredient-allergen-grid {
    padding: 0.35rem 0.1rem 0;
}

[b-dxa477zcot] .ingredient-allergen-grid .mud-checkbox {
    width: 100%;
    padding: 0.35rem 0.45rem;
    border-radius: var(--tb-radius-sm);
}

[b-dxa477zcot] .ingredient-allergen-grid .mud-checkbox:hover {
    background: rgba(212, 245, 238, 0.22);
}

[b-dxa477zcot] .ingredient-allergen-grid .mud-typography {
    color: var(--tb-color-ink-soft);
    font-size: 0.88rem;
}

[b-dxa477zcot] .ingredient-nutrition-table {
    border: 0 !important;
    border-radius: var(--tb-radius-md);
    overflow: hidden;
    background: var(--tb-color-surface);
    box-shadow: none !important;
}

[b-dxa477zcot] .ingredient-nutrition-table .mud-table-container {
    overflow-x: auto;
}

[b-dxa477zcot] .ingredient-nutrition-table table {
    min-width: 36rem;
}

[b-dxa477zcot] .ingredient-nutrition-table .mud-table-cell {
    padding: 0.75rem 0.9rem;
    border: 0 !important;
    vertical-align: middle;
}

[b-dxa477zcot] .ingredient-nutrition-table .mud-table-head .mud-table-cell {
    background: rgba(247, 250, 249, 0.82);
    color: var(--tb-color-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[b-dxa477zcot] .ingredient-nutrition-table .mud-table-row:hover .mud-table-cell {
    background: rgba(212, 245, 238, 0.15);
}

[b-dxa477zcot] .ingredient-nutrition-table .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

[b-dxa477zcot] .ingredient-nutrition-table .mud-icon-button {
    border-radius: var(--tb-radius-pill);
}

@media (max-width: 700px) {
    [b-dxa477zcot] .ingredient-nutrition-card {
        padding: 1rem;
        border-radius: var(--tb-radius-lg);
    }

    .ingredient-nutrition-header[b-dxa477zcot] {
        align-items: flex-start;
    }

    .ingredient-nutrition-add-button.mud-button-root[b-dxa477zcot] {
        margin-top: 0;
    }

    [b-dxa477zcot] .ingredient-nutrition-tabs .mud-tabs-toolbar {
        overflow-x: auto;
    }

    [b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab {
        flex: 0 0 auto;
        min-width: max-content;
    }

    [b-dxa477zcot] .ingredient-nutrition-tabs .mud-tab-panel {
        padding: 0.85rem;
    }
}
/* /Components/Pages/Pricing/IngredientPricingWorkbenchPanel.razor.rz.scp.css */
/* Ingredient pricing panel: workbook grid, live-price approvals, and history.
   All rules anchor on the .pricing-workbench literal wrapper div - Blazor CSS
   isolation only stamps the scope attribute on literal HTML elements, and the
   rest of this component renders MudBlazor components. Tooltip CONTENT styles
   live in wwwroot/css/tailorblend-components.css because MudTooltip teleports
   TooltipContent to the MudPopoverProvider at the layout root, outside any
   scoped subtree. */

.pricing-workbench[b-cb2ehnknbv] {
    /* Keep the two section papers as direct flex children of the parent
       pricing-workbook MudStack so its gap still applies. */
    display: contents;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid,
.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid {
    font-feature-settings: "tnum" 1, "kern" 1;
    font-variant-numeric: tabular-nums;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-container {
    overflow-x: auto;
    /* The header row is position: sticky, but sticky only works against a
       scrolling ancestor. Cap the container height so the grid scrolls inside
       it and the header stays visible. */
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 14px;
    border: 1px solid var(--tb-color-line);
    background: var(--tb-color-surface);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid table {
    width: 100%;
    min-width: 84rem;
    table-layout: auto;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #f8fbfa;
    border-bottom: 1px solid var(--tb-color-line-strong);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell {
    padding: 0.7rem 0.65rem;
    color: var(--tb-color-ink-soft);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: normal;
    vertical-align: bottom;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid var(--tb-color-line);
    vertical-align: middle;
    font-size: 0.78rem;
    line-height: 1.25;
    overflow: hidden;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row {
    transition: background 0.12s ease;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row:hover {
    background: rgba(212, 245, 238, 0.14);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row:hover .pricing-readonly-cell {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.012), transparent),
        rgba(212, 245, 238, 0.18);
}

/* Row state washes. Order is load-bearing: unsaved amber, then warning red
   (wins row-wide when both classes are present), then the cell-level amber
   highlight (wins inside any row). */

.pricing-workbench[b-cb2ehnknbv]  .pricing-row-unsaved .mud-table-cell {
    background: rgba(255, 251, 244, 0.42);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-row-warning .mud-table-cell {
    background: rgba(220, 78, 78, 0.07);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-row-unsaved .pricing-cell-unsaved {
    background: rgba(255, 251, 244, 0.78);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row.pricing-row-warning .mud-table-cell:first-child {
    box-shadow: inset 3px 0 0 var(--tb-color-error);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-cell .mud-chip {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(1),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(1) {
    width: 3.25rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(2),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(2) {
    width: 24%;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(3),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(3) {
    width: 11rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(4),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(4) {
    width: 13rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(5),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(5) {
    width: 13rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(6),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(6) {
    width: 9rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(7),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(7) {
    width: 7rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-head .mud-table-cell:nth-child(8),
.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .mud-table-cell:nth-child(8) {
    width: 14.5rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-name-cell .mud-typography-body2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-name-cell .mud-typography-caption {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-expand-cell {
    padding-left: 0.35rem;
    padding-right: 0.25rem;
    text-align: center;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-badges {
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-row .pricing-action-cell {
    padding-right: 0.85rem;
    vertical-align: top;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .pricing-action-cell .mud-stack {
    flex-wrap: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .pricing-action-cell .mud-button-root:not(.mud-icon-button) {
    min-width: 5.8rem;
    white-space: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .pricing-action-cell .mud-icon-button {
    flex: 0 0 2rem;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-up-to-date {
    white-space: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-review-grid .pricing-editable-cell {
    background: transparent;
    box-shadow: none;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-review-grid .pricing-editable-cell:focus-within {
    background: transparent;
    box-shadow: none;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-review-grid .pricing-cell-unsaved {
    background: rgba(255, 251, 244, 0.38);
    box-shadow: none;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-review-grid .pricing-cell-unsaved:focus-within {
    background: rgba(255, 251, 244, 0.48);
    box-shadow: none;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-proposed-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-proposed-stack .mud-input-control {
    border-left: 2px solid var(--tb-color-primary);
    border-radius: 8px;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-proposed-stack:focus-within .mud-input-control {
    border-left-color: var(--tb-color-primary-dark);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-tooltip-trigger {
    min-width: 0;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-tooltip-trigger-text {
    min-width: 0;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-tooltip-icon {
    color: var(--tb-color-muted);
    flex: 0 0 auto;
    opacity: 0.72;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-unsaved-chip {
    margin-top: 0.25rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-date-caption {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.66rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-proposed-caption {
    display: block;
    margin-top: 0.25rem;
    overflow: hidden;
    font-size: 0.66rem;
    line-height: 1.2;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-pagination {
    border-top: 1px solid var(--tb-color-line);
    background: var(--tb-color-surface);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-ingredient-grid .mud-table-pagination .mud-typography {
    color: var(--tb-color-muted);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-detail-row .mud-table-cell {
    padding: 0;
    background: #f8fbfa;
    border-bottom: 1px solid var(--tb-color-line-strong);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-story {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 1rem 1rem 3.9rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-step {
    flex: 1 1 11rem;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.62);
    border-radius: 8px;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-step span,
.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-step small {
    display: block;
    color: var(--tb-color-muted);
    font-size: 0.68rem;
    line-height: 1.35;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-step > span {
    margin-bottom: 0.2rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-step strong {
    display: block;
    color: var(--tb-color-ink);
    font-size: 0.86rem;
    line-height: 1.35;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-calc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    color: var(--tb-color-muted);
    font-size: 0.68rem;
    line-height: 1.35;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid .mud-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--tb-color-line);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid table {
    min-width: 78rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid .mud-table-head {
    background: linear-gradient(180deg, rgba(248, 251, 250, 0.95), rgba(244, 247, 246, 0.7));
    border-bottom: 1px solid var(--tb-color-line-strong);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid .mud-table-head .mud-table-cell {
    padding: 0.8rem 0.7rem;
    color: var(--tb-color-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid .mud-table-row .mud-table-cell {
    padding: 0.7rem 0.85rem;
    font-size: 0.84rem;
    border-bottom: 1px solid var(--tb-color-line);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-history-grid .mud-table-row:hover {
    background: rgba(212, 245, 238, 0.14);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-approval-review-grid .mud-table-container {
    max-height: 18rem;
    overflow: auto;
    border: 1px solid var(--tb-color-line);
    border-radius: 12px;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-approval-review-grid table {
    min-width: 58rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-approval-review-grid .mud-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(248, 251, 250, 0.98);
    border-bottom: 1px solid var(--tb-color-line-strong);
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-approval-review-grid .mud-table-head .mud-table-cell {
    padding: 0.7rem 0.65rem;
    color: var(--tb-color-muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-approval-review-grid .mud-table-row .mud-table-cell {
    padding: 0.65rem;
    border-bottom: 1px solid var(--tb-color-line);
    font-size: 0.78rem;
    vertical-align: middle;
}

/* Review-price dialog: large current -> new hero with the change beside it. */
.pricing-workbench[b-cb2ehnknbv]  .pricing-confirm-hero {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--tb-color-line);
    border-radius: 14px;
    background: var(--tb-color-surface);
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-confirm-hero-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-confirm-hero-price span {
    color: var(--tb-color-ink-soft);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-confirm-hero-price strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-confirm-hero-change {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    font-weight: 700;
}

.pricing-workbench[b-cb2ehnknbv]  .pricing-confirm-details-toggle {
    align-self: flex-start;
}
/* /Components/Pages/Pricing/Pricing.razor.rz.scp.css */
/* Pricing page: dense ERP surfaces, clear maintenance flow, and careful live-price warnings.
   Every rule anchors on the .pricing-page literal wrapper div in Pricing.razor -
   Blazor CSS isolation only stamps the scope attribute on literal HTML elements,
   and the rest of the page (including the four child panels these rules style)
   renders MudBlazor components. */

.pricing-page[b-5wiqq6h9vz] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.pricing-page[b-5wiqq6h9vz]  .tb-page,
.pricing-page[b-5wiqq6h9vz]  .pricing-workbook,
.pricing-page[b-5wiqq6h9vz]  .pricing-workbook-section,
.pricing-page[b-5wiqq6h9vz]  .pricing-ingredient-grid {
    min-width: 0;
    max-width: 100%;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tabbar {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-bottom: 0.25rem;
    padding: 0.35rem;
    border-radius: var(--tb-radius-pill);
    background: var(--tb-color-surface);
    border: 1px solid var(--tb-color-line);
    box-shadow: var(--tb-shadow-surface);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tabs {
    flex-wrap: nowrap;
    gap: 0.25rem;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-root {
    min-height: 2.5rem;
    padding-inline: 1.15rem;
    border-radius: var(--tb-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: background-color .18s ease,
                color .18s ease,
                box-shadow .18s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button .mud-button-icon-start {
    margin-inline-end: 0.45rem;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-badge {
    margin-inline-start: 0.55rem;
    height: 1.35rem;
    font-size: 0.68rem;
    letter-spacing: 0;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-text {
    color: var(--tb-color-ink-soft);
    background: transparent;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-text .mud-icon-root {
    color: var(--tb-color-muted);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-text:hover {
    color: var(--tb-color-primary-deep);
    background: var(--tb-color-primary-faint);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-text:hover .mud-icon-root {
    color: var(--tb-color-primary-deep);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-filled {
    color: #ffffff;
    background: var(--tb-color-primary-deep);
    box-shadow: var(--tb-shadow-teal);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-filled .mud-icon-root {
    color: #ffffff;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-filled:hover,
.pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-filled:focus-visible {
    background: var(--tb-color-primary-dark);
    color: #ffffff;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-workbook {
    gap: 1rem;
}

/* ── Section surface ────────────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-workbook-section {
    position: relative;
    isolation: isolate;
    padding: clamp(1.1rem, 0.8vw + 0.8rem, 1.5rem);
    background: var(--tb-color-surface);
    border: 1px solid rgba(203, 213, 225, 0.55);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-surface);
}

/* ── Section heading ────────────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-section-heading {
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--tb-color-line);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-section-heading .tb-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tb-color-ink);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-section-heading .tb-muted {
    margin-top: 0.15rem;
    font-size: 0.82rem;
    line-height: 1.45;
}

/* ── Tabular numerics everywhere ────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix {
    font-feature-settings: "tnum" 1, "kern" 1;
    font-variant-numeric: tabular-nums;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-numeric {
    text-align: right;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* ── Settings grid ──────────────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--tb-color-line);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid tr + tr {
    border-top: 1px solid var(--tb-color-line);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid tr {
    transition: background 0.15s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid tbody tr:hover {
    background: rgba(212, 245, 238, 0.16);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid th {
    width: 16rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(248, 251, 250, 0.85), rgba(244, 247, 246, 0.65));
    color: var(--tb-color-ink);
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    border-bottom: none;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid td {
    padding: 0.7rem 1.25rem;
    border-bottom: none;
    vertical-align: middle;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value {
    width: 14rem;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-settings-note {
    color: var(--tb-color-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    letter-spacing: 0.005em;
}

/* ── Filter row ─────────────────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-filter-row {
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 1rem 1.15rem;
    margin-bottom: 0.5rem;
    background: rgba(248, 251, 250, 0.65);
    border: 1px solid var(--tb-color-line);
    border-radius: 14px;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-filter-row > * {
    flex: 0 1 18rem;
    min-width: 0;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-filter-row .mud-input-control {
    min-width: 14rem;
    max-width: 22rem;
    margin-top: 0;
}

/* ── Summary chips ─────────────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-summary-row {
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.1rem;
    padding: 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(192, 132, 42, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(6px);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-summary-row-compact {
    margin-bottom: 0;
    border-color: var(--tb-color-line);
    background: rgba(248, 251, 250, 0.62);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-summary-row .mud-chip {
    height: auto;
    padding: 0.45rem 0.85rem;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.015em;
}

/* ── Matrix tables (packaging + scoops) ────────────────────────────────── */

/* Workbook matrices have few columns. Letting them stretch to 100% balloons each
   cell to ~320px and the inputs follow. Auto width with fixed cost-cell sizing
   keeps the grid feeling like a spreadsheet, not a fill-the-page form. */

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix {
    overflow-x: auto;
    border: 1px solid var(--tb-color-line);
    border-radius: 14px;
    background: var(--tb-color-surface);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix table {
    width: auto;
    min-width: min(100%, 48rem);
    border-collapse: collapse;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix .mud-table-head,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix thead {
    background: linear-gradient(180deg, rgba(248, 251, 250, 0.95), rgba(244, 247, 246, 0.65));
    border-bottom: 1px solid var(--tb-color-line-strong);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix th,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix .mud-table-head .mud-table-cell {
    padding: 0.95rem 1rem;
    color: var(--tb-color-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--tb-color-line-strong);
    white-space: nowrap;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix th:first-child,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix td:first-child {
    min-width: 12rem;
    padding-left: 1.25rem;
    text-align: left;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix td,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix .mud-table-row .mud-table-cell {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--tb-color-line);
    vertical-align: middle;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix tr:last-child td,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix .mud-table-row:last-child .mud-table-cell {
    border-bottom: none;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix .mud-table-row {
    transition: background 0.15s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix .mud-table-row:hover {
    background: rgba(212, 245, 238, 0.14);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell-head {
    text-align: center;
    white-space: nowrap;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell {
    width: 9.5rem;
    min-width: 9.5rem;
    max-width: 9.5rem;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell .mud-input-control,
.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value .mud-input-control {
    margin-top: 0;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-actions {
    width: 3.5rem;
    text-align: center;
    padding-right: 1rem;
}

/* ── Maintenance expansion panels (catalogues) ─────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-maintenance-panel {
    margin-top: 1.1rem;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-maintenance-panel .mud-expand-panel {
    background: rgba(248, 251, 250, 0.65);
    border: 1px solid var(--tb-color-line);
    border-radius: 14px;
    box-shadow: none;
    overflow: hidden;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-maintenance-panel .mud-expand-panel-header {
    padding: 0.95rem 1.1rem;
    color: var(--tb-color-ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-maintenance-panel .mud-expand-panel-text {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--tb-color-muted);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-maintenance-panel .mud-expand-panel-content {
    padding: 1rem 1.1rem 1.25rem;
    background: var(--tb-color-surface);
    border-top: 1px solid var(--tb-color-line);
}

/* ── Editable / readonly cell language ─────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell {
    position: relative;
    background: rgba(212, 245, 238, 0.16);
    box-shadow: inset 2px 0 0 var(--tb-color-primary);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell:focus-within {
    background: rgba(212, 245, 238, 0.32);
    box-shadow: inset 3px 0 0 var(--tb-color-primary-dark);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-cell-unsaved {
    background: rgba(255, 251, 244, 0.78);
    box-shadow: inset 0 0 0 1px rgba(192, 132, 42, 0.32);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-cell-unsaved:focus-within {
    background: rgba(255, 251, 244, 0.92);
    box-shadow:
        inset 0 0 0 1px rgba(192, 132, 42, 0.48),
        0 0 0 3px rgba(192, 132, 42, 0.12);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-cell-zero {
    background: rgba(244, 244, 244, 0.74);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-readonly-cell {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.018), transparent),
        rgba(244, 244, 244, 0.5);
    color: var(--tb-color-ink-soft);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell .mud-input-input,
.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value .mud-input-input,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell .mud-input-input {
    text-align: right;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell .mud-input-control,
.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value .mud-input-control,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell .mud-input-control {
    margin-top: 0;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell .mud-input-outlined-border,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell .mud-input-outlined-border,
.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value .mud-input-outlined-border {
    background: transparent;
    border-color: rgba(85, 195, 182, 0.28);
    border-radius: 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell .mud-input-control:hover .mud-input-outlined-border,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell .mud-input-control:hover .mud-input-outlined-border,
.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value .mud-input-control:hover .mud-input-outlined-border {
    border-color: rgba(85, 195, 182, 0.55);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-editable-cell .mud-input-control.mud-input-control-focused .mud-input-outlined-border,
.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-cell .mud-input-control.mud-input-control-focused .mud-input-outlined-border,
.pricing-page[b-5wiqq6h9vz]  .pricing-settings-value .mud-input-control.mud-input-control-focused .mud-input-outlined-border {
    border-color: var(--tb-color-primary-dark);
    border-width: 1.5px;
    box-shadow: 0 0 0 3px rgba(85, 195, 182, 0.16);
}

/* ── Difference column ─────────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-up,
.pricing-page[b-5wiqq6h9vz]  .pricing-difference-down,
.pricing-page[b-5wiqq6h9vz]  .pricing-difference-flat {
    font-weight: 700;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-up {
    color: var(--tb-color-success);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-up::before {
    content: "▲";
    margin-right: 0.3em;
    font-size: 0.62em;
    transform: translateY(-1px);
    opacity: 0.85;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-down {
    color: var(--tb-color-error);
}

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-down::before {
    content: "▼";
    margin-right: 0.3em;
    font-size: 0.62em;
    transform: translateY(1px);
    opacity: 0.85;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-flat {
    color: var(--tb-color-muted);
    font-weight: 500;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-difference-flat::before {
    content: "·";
    color: var(--tb-color-disabled);
    font-size: 1.1em;
    line-height: 1;
}

/* ── Matrix action icons ───────────────────────────────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-actions .mud-icon-button {
    border-color: transparent;
    background: transparent;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-matrix-actions .mud-icon-button:hover {
    background: rgba(85, 195, 182, 0.12);
    border-color: rgba(85, 195, 182, 0.35);
    transform: translateY(-1px);
}

/* ── Section-heading buttons (pill action group) ──────────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-section-heading .tb-pill-action.mud-button-root {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.pricing-page[b-5wiqq6h9vz]  .pricing-section-heading .tb-pill-action.mud-button-root:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -12px rgba(17, 21, 20, 0.32);
}

/* ── Bulk approval modal, history modal: typed-confirmation field stand-out ─ */

.pricing-page[b-5wiqq6h9vz]  .tb-modal-card-wide .mud-input-input {
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

/* ── Empty / info alerts inside the workbook breathe ───────────────────── */

.pricing-page[b-5wiqq6h9vz]  .pricing-workbook-section .mud-alert {
    border-radius: 12px;
}

/* ── Print / very narrow fallback ──────────────────────────────────────── */

@media (max-width: 1100px) {
    .pricing-page[b-5wiqq6h9vz]  .pricing-section-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

@media (max-width: 700px) {
    .pricing-page[b-5wiqq6h9vz]  .pricing-tabbar {
        display: flex;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: var(--tb-radius-md);
        padding: 0.35rem;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-page[b-5wiqq6h9vz]  .pricing-tabs {
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
    }

    .pricing-page[b-5wiqq6h9vz]  .pricing-tab-button.mud-button-root {
        flex: 0 0 auto;
        justify-content: center;
        white-space: nowrap;
    }

    .pricing-page[b-5wiqq6h9vz]  .pricing-workbook-section {
        padding: 1.1rem 1rem;
    }

    .pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid th,
    .pricing-page[b-5wiqq6h9vz]  .pricing-settings-grid td {
        display: block;
        width: 100%;
    }

    .pricing-page[b-5wiqq6h9vz]  .pricing-filter-row .mud-input-control {
        width: 100%;
    }
}
/* /Components/Pages/RawMaterials/RawMaterialList.razor.rz.scp.css */
.raw-materials-page[b-16yxvsglsy] {
    max-width: 100%;
}

.raw-materials-hero[b-16yxvsglsy] {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

.raw-materials-primary-action.mud-button-root[b-16yxvsglsy] {
    min-width: 12rem;
}

.raw-materials-filter .mud-card-content[b-16yxvsglsy] {
    padding: 1rem 1.15rem;
}

.raw-materials-filter-row[b-16yxvsglsy] {
    flex-wrap: nowrap;
}

.raw-materials-search[b-16yxvsglsy] {
    flex: 1 1 30rem;
    min-width: 24rem;
}

.raw-materials-filter-select[b-16yxvsglsy] {
    flex: 0 0 22rem;
}

.raw-materials-page-size[b-16yxvsglsy] {
    flex: 0 0 11rem;
}

.raw-materials-refresh[b-16yxvsglsy] {
    flex: 0 0 auto;
}

.raw-materials-card .mud-card-content[b-16yxvsglsy] {
    padding: 0;
}

[b-16yxvsglsy] .raw-materials-table .mud-table-container {
    overflow-x: auto;
}

[b-16yxvsglsy] .raw-materials-table table {
    min-width: 72rem;
}

[b-16yxvsglsy] .raw-materials-table .mud-table-cell {
    padding: 1rem 1.25rem;
    border-bottom-color: rgba(203, 213, 225, 0.48);
    vertical-align: middle;
}

[b-16yxvsglsy] .raw-materials-table .mud-table-head .mud-table-cell {
    padding-top: 1.15rem;
    padding-bottom: 0.8rem;
    background: rgba(247, 250, 249, 0.82);
    color: var(--tb-color-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

[b-16yxvsglsy] .raw-materials-table .mud-table-row:hover .mud-table-cell {
    background: rgba(212, 245, 238, 0.15);
}

.raw-materials-material-name[b-16yxvsglsy] {
    max-width: 24rem;
    color: var(--tb-color-ink);
    font-weight: 800;
    line-height: 1.3;
}

.raw-materials-mono[b-16yxvsglsy],
.raw-materials-barcode[b-16yxvsglsy] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.raw-materials-barcode.mud-chip[b-16yxvsglsy] {
    max-width: 10rem;
    color: var(--tb-color-primary-deep);
    background: rgba(212, 245, 238, 0.64);
}

.raw-materials-number[b-16yxvsglsy] {
    text-align: right;
}

.raw-materials-quantity[b-16yxvsglsy] {
    font-weight: 700;
}

.raw-materials-status-chip.mud-chip[b-16yxvsglsy] {
    min-width: 5.5rem;
    justify-content: center;
    border-radius: var(--tb-radius-pill);
    font-weight: 800;
}

.raw-materials-actions-head[b-16yxvsglsy] {
    text-align: right;
}

.raw-materials-actions[b-16yxvsglsy] {
    min-width: 5.75rem;
}

.raw-materials-divider[b-16yxvsglsy] {
    margin: 0;
}

.raw-materials-pager[b-16yxvsglsy] {
    padding: 1rem 1.25rem;
    background: rgba(247, 250, 249, 0.72);
}

.raw-materials-page-chip.mud-chip[b-16yxvsglsy] {
    min-width: 7.5rem;
    justify-content: center;
}

.raw-materials-state-card .mud-card-content[b-16yxvsglsy] {
    padding: 3rem;
}

.raw-materials-empty-icon[b-16yxvsglsy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    color: var(--tb-color-primary-deep);
    background: rgba(212, 245, 238, 0.64);
    border-radius: 20px;
}

.raw-materials-delete-summary[b-16yxvsglsy] {
    padding: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.58);
    border-radius: var(--tb-radius-md);
    background: rgba(247, 250, 249, 0.82);
}

.raw-materials-expired-text[b-16yxvsglsy] {
    color: var(--tb-color-error);
}

.raw-materials-warning-text[b-16yxvsglsy] {
    color: var(--tb-color-warning);
}

.raw-materials-ok-text[b-16yxvsglsy] {
    color: var(--tb-color-primary-deep);
}
/* /Components/Pages/Reference/MessageTemplateList.razor.rz.scp.css */
/* Live preview of the template's HTML. Sandboxed (no scripts) so the email document
   renders faithfully without its CSS leaking into the app or running any code. */
.tb-template-preview[b-bk6t0reqts] {
    width: 100%;
    height: 360px;
    border: 1px solid var(--tb-border-subtle, #d9d9d9);
    border-radius: 8px;
    background: #ffffff;
}

/* Monospaced, no-wrap source editing for the raw HTML field. ::deep reaches the
   <textarea> rendered inside MudTextField (a child component), scoped under the
   local wrapper so it never escapes this page. */
.tb-html-editor[b-bk6t0reqts]  textarea {
    font-family: "Cascadia Code", Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.45;
    white-space: pre;
    overflow-wrap: normal;
}
/* /Components/Pages/Reports/CostReport.razor.rz.scp.css */
.cost-report-filters[b-xie6l1wsje] {
    flex-wrap: wrap;
}

[b-xie6l1wsje] .cost-report-table .mud-table-container {
    overflow-x: auto;
}

[b-xie6l1wsje] .cost-report-table table {
    min-width: 112rem;
}

.cost-report-number[b-xie6l1wsje] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
/* /Pages/ProductionManager/Dashboard.razor.rz.scp.css */
.production-manager-page[b-dazq3y57fo] {
    max-width: 100%;
}

.pm-tabbar[b-dazq3y57fo] {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.25rem;
    padding: 0.35rem;
    border-radius: var(--tb-radius-pill);
    background: var(--tb-color-surface);
    border: 1px solid var(--tb-color-line);
    box-shadow: var(--tb-shadow-surface);
}

.pm-tabs[b-dazq3y57fo] {
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
}

[b-dazq3y57fo] .pm-tab-button.mud-button-root {
    flex: 1 1 0;
    min-height: 2.5rem;
    padding-inline: 1.15rem;
    border-radius: var(--tb-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: background-color .18s ease,
                color .18s ease,
                box-shadow .18s ease;
}

[b-dazq3y57fo] .pm-tab-button .mud-button-icon-start {
    margin-inline-end: 0.45rem;
}

[b-dazq3y57fo] .pm-tab-button.mud-button-text {
    color: var(--tb-color-ink-soft);
    background: transparent;
}

[b-dazq3y57fo] .pm-tab-button.mud-button-text .mud-icon-root {
    color: var(--tb-color-muted);
}

[b-dazq3y57fo] .pm-tab-button.mud-button-text:hover {
    color: var(--tb-color-primary-deep);
    background: var(--tb-color-primary-faint);
}

[b-dazq3y57fo] .pm-tab-button.mud-button-text:hover .mud-icon-root {
    color: var(--tb-color-primary-deep);
}

[b-dazq3y57fo] .pm-tab-button.mud-button-filled {
    color: #ffffff;
    background: var(--tb-color-primary-deep);
    box-shadow: var(--tb-shadow-teal);
}

[b-dazq3y57fo] .pm-tab-button.mud-button-filled .mud-icon-root {
    color: #ffffff;
}

[b-dazq3y57fo] .pm-tab-button.mud-button-filled:hover,
[b-dazq3y57fo] .pm-tab-button.mud-button-filled:focus-visible {
    background: var(--tb-color-primary-dark);
    color: #ffffff;
}

@media (max-width: 700px) {
    .pm-tabbar[b-dazq3y57fo] {
        display: flex;
        width: 100%;
        border-radius: var(--tb-radius-md);
        padding: 0.35rem;
    }

    .pm-tabs[b-dazq3y57fo] {
        flex-wrap: wrap;
        width: 100%;
    }

    [b-dazq3y57fo] .pm-tab-button.mud-button-root {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
    }
}
