/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Page-scoped style for the small remember-me row — keeps the checkbox + label
   aligned without pulling in shared CSS. */
.remember-me[b-92takjeaag] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-three);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.remember-me input[type="checkbox"][b-92takjeaag] {
    cursor: pointer;
}
/* /Components/Account/Pages/LoginWith2fa.razor.rz.scp.css */
.remember-machine[b-eo9lttigh4] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-three);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}
/* /Components/Account/Pages/LoginWithEmailCode.razor.rz.scp.css */
.remember-machine[b-c5dw2olqa9] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-three);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.resend-form[b-c5dw2olqa9] {
    margin: 0;
    display: flex;
    justify-content: center;
}
/* /Components/Account/Pages/Manage/EnableEmailMfa.razor.rz.scp.css */
.resend-form[b-0wo8h85hah] {
    margin: 0;
}
/* /Components/Account/Pages/Manage/ExternalLogins.razor.rz.scp.css */
.inline-form[b-ok0zsmla6x] {
    display: inline-block;
    margin: 0;
}
/* /Components/Account/Pages/Manage/Passkeys.razor.rz.scp.css */
/* PasskeySubmit is a custom element that needs a button-like surface to
   trigger the WebAuthn flow. Style it to match a MudButton.Filled.Primary
   so the "Add passkey" CTA fits with the rest of the page. */
.passkey-submit-btn[b-ajc2frl79l] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-three);
    padding: var(--space-three) var(--space-six);
    background-color: var(--mud-palette-primary, #3F463D);
    color: var(--mud-palette-primary-text, #fff);
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 150ms;
}

.passkey-submit-btn:hover[b-ajc2frl79l] {
    background-color: var(--mud-palette-primary-darken, #263124);
}

.inline-form[b-ajc2frl79l] {
    display: inline-block;
    margin: 0;
}
/* /Components/Account/Pages/Manage/TwoFactorAuthentication.razor.rz.scp.css */
/* Inline form wrapping the "Forget this browser" submit so it sits flush with
   the other action buttons in the row. */
.inline-form[b-y1pl2eb9sy] {
    display: inline-block;
    margin: 0;
}
/* /Components/Account/Shared/ShowRecoveryCodes.razor.rz.scp.css */
.recovery-codes-grid[b-g2itr5b5zs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-three);
}

.recovery-code[b-g2itr5b5zs] {
    display: inline-block;
    padding: var(--space-three) var(--space-four);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.875rem;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 4px;
    color: var(--mud-palette-text-primary);
    text-align: center;
    letter-spacing: 0.05em;
    user-select: all;
}
/* /Components/Brand/Logo.razor.rz.scp.css */
/* Lockup variants render as HTML so wordmark + tagline use page-loaded Manrope.
   --brand-logo-h drives overall scale; mark + text sizes derive from it. */
.brand-logo[b-z4p3r9fzsh] {
    --brand-logo-h: 56px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-family: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.brand-logo--mark[b-z4p3r9fzsh] {
    display: inline-block;
}

/* Colour themes. Light is for the page background, so it follows the page into dark mode;
   Dark is for surfaces that are always dark (sign-in hero, footer) and never changes. */
.brand-logo--light[b-z4p3r9fzsh] {
    --brand-n: #3F463D;
    --brand-c: #A99D8E;
    --brand-word: #222721;
    --brand-tag-text: #5C5348;
    --brand-tag-accent: #A99D8E;
    --brand-divider: rgba(34, 39, 33, 0.18);
}

.brand-logo--dark[b-z4p3r9fzsh],
:root[data-theme="dark"] .brand-logo--light[b-z4p3r9fzsh] {
    --brand-n: #BFCBAA;
    --brand-c: #A99D8E;
    --brand-word: #F3EFE8;
    --brand-tag-text: #D8CBB9;
    --brand-tag-accent: #A99D8E;
    --brand-divider: rgba(243, 239, 232, 0.25);
}

.brand-logo--dark[b-z4p3r9fzsh] {
    color: #F3EFE8;
}

.brand-logo--mono[b-z4p3r9fzsh] {
    --brand-n: currentColor;
    --brand-c: currentColor;
    --brand-word: currentColor;
    --brand-tag-text: currentColor;
    --brand-tag-accent: currentColor;
    --brand-divider: currentColor;
    color: var(--mud-palette-text-primary);
}

.brand-logo__mark[b-z4p3r9fzsh] {
    height: calc(var(--brand-logo-h) * 0.85);
    width: auto;
    flex-shrink: 0;
}

.brand-logo__divider[b-z4p3r9fzsh] {
    width: 1px;
    height: calc(var(--brand-logo-h) * 0.78);
    background: var(--brand-divider);
    margin: 0 calc(var(--brand-logo-h) * 0.22);
    flex-shrink: 0;
}

.brand-logo__col[b-z4p3r9fzsh] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: calc(var(--brand-logo-h) * 0.18);
    gap: calc(var(--brand-logo-h) * 0.12);
    min-width: 0;
}

.brand-logo--horizontal .brand-logo__col[b-z4p3r9fzsh] {
    margin-left: 0;
}

.brand-logo__word[b-z4p3r9fzsh] {
    font-weight: 500;
    font-size: calc(var(--brand-logo-h) * 0.44);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    color: var(--brand-word);
}

.brand-logo__tag[b-z4p3r9fzsh] {
    display: flex;
    align-items: center;
    gap: calc(var(--brand-logo-h) * 0.06);
    color: var(--brand-tag-text);
}

.brand-logo__tag-text[b-z4p3r9fzsh] {
    font-weight: 500;
    font-size: calc(var(--brand-logo-h) * 0.13);
    letter-spacing: 0.236em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-logo__tag-dot[b-z4p3r9fzsh] {
    width: calc(var(--brand-logo-h) * 0.075);
    height: calc(var(--brand-logo-h) * 0.075);
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--brand-tag-accent);
}

.brand-logo__tag-line[b-z4p3r9fzsh] {
    width: calc(var(--brand-logo-h) * 0.32);
    height: 1.2px;
    flex-shrink: 0;
    background: var(--brand-tag-accent);
}

/* Stacked: mark above wordmark + centered tagline. */
.brand-logo--stacked[b-z4p3r9fzsh] {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--brand-logo-h) * 0.18);
}
.brand-logo--stacked .brand-logo__mark[b-z4p3r9fzsh] {
    height: calc(var(--brand-logo-h) * 1.4);
}
.brand-logo--stacked .brand-logo__col[b-z4p3r9fzsh] {
    margin-left: 0;
    align-items: center;
    gap: calc(var(--brand-logo-h) * 0.16);
}
.brand-logo--stacked .brand-logo__word[b-z4p3r9fzsh] {
    font-size: calc(var(--brand-logo-h) * 0.5);
}

/* Compact (tight nav): hide tagline, only word beside mark. */
.brand-logo--compact .brand-logo__tag[b-z4p3r9fzsh] {
    display: none;
}
.brand-logo--compact .brand-logo__word[b-z4p3r9fzsh] {
    font-size: calc(var(--brand-logo-h) * 0.46);
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-layout[b-2lycdr3wht] {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left hero panel */
.auth-hero[b-2lycdr3wht] {
    display: none;
    width: 50%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.auth-hero-overlay[b-2lycdr3wht] {
    position: absolute;
    inset: 0;
    /* A fixed brand panel carrying white type, so it uses the olive brand stops (app.css)
       rather than the palette, which flips to light sage in dark mode. It used to pass
       through the beige drawer colour, which left a pale streak across the panel. */
    background:
        radial-gradient(120% 80% at 85% 10%, rgba(255, 255, 255, 0.06), transparent 60%),
        linear-gradient(160deg, var(--color-brand-olive-deep) 0%, var(--color-brand-olive) 55%, var(--color-brand-olive-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-eight);
}

.auth-hero-content[b-2lycdr3wht] {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 420px;
}

.auth-hero-icon[b-2lycdr3wht] {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-six);
    backdrop-filter: blur(10px);
}

[b-2lycdr3wht] .auth-hero-icon .mud-icon-root {
    color: var(--mud-palette-white);
    font-size: 2.5rem;
}

[b-2lycdr3wht] .auth-hero-title {
    color: var(--mud-palette-white);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-four);
}

[b-2lycdr3wht] .auth-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--space-eight);
}

.auth-hero-features[b-2lycdr3wht] {
    display: flex;
    flex-direction: column;
    gap: var(--space-five);
    align-items: flex-start;
    margin: 0 auto;
    max-width: 280px;
}

.auth-hero-feature[b-2lycdr3wht] {
    display: flex;
    align-items: center;
    gap: var(--space-four);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

[b-2lycdr3wht] .auth-hero-feature .mud-icon-root {
    color: var(--mud-palette-drawer-icon);
    font-size: 1.25rem;
}

/* Decorative leaves */
.auth-hero-leaf[b-2lycdr3wht] {
    position: absolute;
    pointer-events: none;
}

.leaf-1[b-2lycdr3wht] {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
}

.leaf-2[b-2lycdr3wht] {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: -40px;
}

.leaf-3[b-2lycdr3wht] {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: -30px;
}

/* Right form panel */
.auth-form-panel[b-2lycdr3wht] {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--mud-palette-surface);
    padding: var(--space-seven) var(--space-six);
    overflow-y: auto;
}

.auth-form-container[b-2lycdr3wht] {
    width: 100%;
    max-width: 440px;
    margin: auto 0;
    padding: var(--space-five) 0;
}

/* Desktop: show hero panel */
@media (min-width: 960px) {
    .auth-hero[b-2lycdr3wht] {
        display: block;
    }

    .auth-form-panel[b-2lycdr3wht] {
        width: 50%;
        padding: var(--space-eight);
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0xqrzlno8m],
.components-reconnect-repeated-attempt-visible[b-0xqrzlno8m],
.components-reconnect-failed-visible[b-0xqrzlno8m],
.components-pause-visible[b-0xqrzlno8m],
.components-resume-failed-visible[b-0xqrzlno8m],
.components-rejoining-animation[b-0xqrzlno8m] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-retrying[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-failed[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0xqrzlno8m] {
    display: block;
}


#components-reconnect-modal[b-0xqrzlno8m] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: var(--space-seven);
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0xqrzlno8m 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0xqrzlno8m 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0xqrzlno8m 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0xqrzlno8m]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0xqrzlno8m 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0xqrzlno8m {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0xqrzlno8m {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0xqrzlno8m {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0xqrzlno8m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-five);
}

#components-reconnect-modal p[b-0xqrzlno8m] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0xqrzlno8m] {
    border: 0;
    background-color: var(--mud-palette-info);
    color: white;
    padding: var(--space-two) var(--space-six);
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0xqrzlno8m] {
        background-color: var(--mud-palette-info-darken);
    }

    #components-reconnect-modal button:active[b-0xqrzlno8m] {
        background-color: var(--mud-palette-info);
    }

.components-rejoining-animation[b-0xqrzlno8m] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0xqrzlno8m] {
        position: absolute;
        border: 3px solid var(--mud-palette-info);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0xqrzlno8m 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0xqrzlno8m] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0xqrzlno8m {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/DietPlans/DietBuilder.razor.rz.scp.css */
/* ===== Page layout: content + right panel ===== */
.diet-builder-layout[b-12b7j9weu6] {
    display: flex;
    gap: 0;
    position: relative;
}

.diet-builder-content[b-12b7j9weu6] {
    flex: 1;
    min-width: 0;
    transition: margin-right 0.3s ease;
}

.diet-builder-content--panel-open[b-12b7j9weu6] {
    margin-right: 330px;
}

/* ===== Meal Library Panel (right side) ===== */
.meal-panel[b-12b7j9weu6] {
    position: fixed;
    top: var(--mud-appbar-height);
    right: 0;
    bottom: 0;
    width: 320px;
    background: var(--mud-palette-surface);
    border-left: 1px solid var(--mud-palette-lines-default);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.meal-panel--open[b-12b7j9weu6] {
    transform: translateX(0);
}

.meal-panel__header[b-12b7j9weu6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-four) var(--space-five);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

.meal-panel__search[b-12b7j9weu6] {
    padding: var(--space-three) var(--space-four);
    flex-shrink: 0;
}

.meal-panel__list[b-12b7j9weu6] {
    flex: 1;
    overflow-y: auto;
    padding: 0 var(--space-four) var(--space-four);
}

/* ===== Schedule Grid ===== */
.schedule-grid[b-12b7j9weu6] {
    display: grid;
    grid-template-columns: 56px repeat(7, 1fr);
    min-width: 900px;
}

/* Corner cell (top-left) */
.schedule-corner[b-12b7j9weu6] {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 2px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    position: sticky;
    top: 0;
    z-index: 3;
}

/* Day header cells (top row) */
.schedule-day-header[b-12b7j9weu6] {
    background: var(--mud-palette-surface);
    border-bottom: 2px solid var(--mud-palette-lines-default);
    border-left: 1px solid var(--mud-palette-lines-default);
    padding: var(--space-three) var(--space-two);
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Time label cells (left column) */
.schedule-time-label[b-12b7j9weu6] {
    grid-column: 1;
    padding: 0 var(--space-three) 0 var(--space-two);
    text-align: right;
    border-right: 1px solid var(--mud-palette-lines-default);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.schedule-time-label--hour[b-12b7j9weu6] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.schedule-time-label--half[b-12b7j9weu6] {
    border-bottom: 1px dashed var(--mud-palette-divider);
}

/* Time-slot drop zone cells */
.schedule-cell[b-12b7j9weu6] {
    border-left: 1px solid var(--mud-palette-lines-default);
    min-height: 28px;
    position: relative;
    transition: background-color 0.1s;
}

.schedule-cell--hour[b-12b7j9weu6] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.schedule-cell--half[b-12b7j9weu6] {
    border-bottom: 1px dashed var(--mud-palette-divider);
}

/* When dragging — all eligible cells get a faint tint */
.schedule-cell--droppable[b-12b7j9weu6] {
    background: rgba(75, 102, 52, 0.03);
}

/* The specific cell being hovered during drag */
.schedule-cell--drag-hover[b-12b7j9weu6] {
    background: rgba(75, 102, 52, 0.12) !important;
    outline: 2px dashed var(--mud-palette-primary);
    outline-offset: -2px;
}

/* Meal cards placed in the grid */
.schedule-meal[b-12b7j9weu6] {
    position: relative;
    z-index: 1;
    padding: var(--space-one);
    cursor: grab;
}

.schedule-meal:active[b-12b7j9weu6] {
    cursor: grabbing;
}

/* The specific meal being dragged — faded out in its original position */
.schedule-meal--dragging[b-12b7j9weu6] {
    opacity: 0.3;
    pointer-events: none;
}

/* ===== Nutrition Tools Panel ===== */
.nutrition-panel__tabs[b-12b7j9weu6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.nutrition-panel__tabs[b-12b7j9weu6]  .mud-tabs-panels {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nutrition-panel__tabs[b-12b7j9weu6]  .mud-tab-panel {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.nutrition-tabs[b-12b7j9weu6]  .mud-tab {
    min-width: 0 !important;
    font-size: 0.75rem;
    padding: var(--space-three) var(--space-four);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .meal-panel[b-12b7j9weu6] {
        width: 280px;
    }
    .diet-builder-content--panel-open[b-12b7j9weu6] {
        margin-right: 290px;
    }
}

@media (max-width: 600px) {
    .meal-panel[b-12b7j9weu6] {
        width: 100%;
    }
    .diet-builder-content--panel-open[b-12b7j9weu6] {
        margin-right: 0;
    }
}
/* /Components/Shared/SectionNav.razor.rz.scp.css */
.section-nav-layout[b-o51v64pg29] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-five);
}

.section-nav[b-o51v64pg29] {
    flex: 0 0 auto;
    width: 220px;
    padding: var(--space-three);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
    box-shadow: var(--mud-elevation-2);
    transition: width 150ms ease;
}

.section-nav--collapsed[b-o51v64pg29] {
    width: 56px;
}

.section-nav__toggle[b-o51v64pg29] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-two);
}

.section-nav--collapsed .section-nav__toggle[b-o51v64pg29] {
    justify-content: center;
}

/* Each section is wrapped in a MudTooltip, whose root is an inline-block of width:auto. Left
   alone, a section's width:100% would resolve against that shrink-wrapped box and every section
   would come out as wide as its own label, leaving the rail ragged. */
.section-nav[b-o51v64pg29]  .mud-tooltip-root {
    width: 100%;
}

.section-nav__item[b-o51v64pg29] {
    display: flex;
    align-items: center;
    gap: var(--space-four);
    width: 100%;
    /* A badge is shorter than a label, so without a floor the sections carrying a count would
       sit slightly tighter than the ones that do not. */
    min-height: 2.25rem;
    /* Was 8px/10px. The horizontal step is now 12px — the scale has no 10, and widening reads
       better against the rail's own padding than tightening would. */
    padding: var(--space-three) var(--space-four);
    border: 0;
    border-radius: var(--mud-default-borderradius);
    background: transparent;
    color: var(--mud-palette-text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.section-nav--collapsed .section-nav__item[b-o51v64pg29] {
    justify-content: center;
}

.section-nav__item:hover[b-o51v64pg29] {
    background: var(--mud-palette-action-default-hover);
}

/* The selected section wears the same container fill as the selected link in the app's drawer,
   so the two rails read alike and the text keeps its contrast in both themes. An edge bar used
   to mark it too, but it bent around the rounded corner and looked like a rendering fault. */
.section-nav__item--selected[b-o51v64pg29],
.section-nav__item--selected:hover[b-o51v64pg29] {
    background: var(--color-secondary-container);
    color: var(--color-on-primary-container);
    font-weight: 700;
}

.section-nav__label[b-o51v64pg29] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-nav__badge[b-o51v64pg29] {
    flex: 0 0 auto;
    /* Counts are the usual content, so the pill holds a two-digit width and single digits centre
       in it rather than each count sizing its own pill. */
    min-width: 1.5rem;
    padding: 0 var(--space-three);
    text-align: center;
    border-radius: 999px;
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.section-nav__content[b-o51v64pg29] {
    flex: 1 1 auto;
    min-width: 0;
}

/* On a phone the rail would leave nothing for the content, so it lies flat above it. */
@media (max-width: 700px) {
    .section-nav-layout[b-o51v64pg29] {
        flex-direction: column;
    }

    .section-nav[b-o51v64pg29],
    .section-nav--collapsed[b-o51v64pg29] {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Laid out in a row the sections size to their labels again, so the wrapper goes back to
       shrink-wrapping rather than claiming a row each. */
    .section-nav[b-o51v64pg29]  .mud-tooltip-root,
    .section-nav__item[b-o51v64pg29] {
        width: auto;
    }

    .section-nav__toggle[b-o51v64pg29] {
        display: none;
    }
}
/* /Components/Shared/SectionNavItem.razor.rz.scp.css */
/* The selected section's content, sitting beside the rail rather than under a tab strip. */
.section-nav__panel[b-a80jhe91p6] {
    padding: var(--space-five);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
    box-shadow: var(--mud-elevation-2);
}
