@import '_content/KitchenSink.Components/KitchenSink.Components.q2qnhzt58f.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-udiq578t18] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-udiq578t18] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* The app bar's own surface and its title live in app.css, not here: MudAppBar
   and MudText render their own markup, and nothing above it carries this
   file's CSS-isolation scope attribute, so neither a plain selector nor
   ::deep can reach them. The spacer below is a literal <div> in
   MainLayout.razor, so it is scoped normally. */
.ark-appbar__spacer[b-udiq578t18] {
    flex-grow: 1;
}

/* The brand lockup moved to the app bar so it sits at the top-left of the
   window, above the rail, the way the platform's Topbar carries it. */
.ark-appbar__mark[b-udiq578t18] {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: var(--spacing-sm);
    border-radius: var(--radius-sm);
    /* Fixed brand stops and a fixed light letter: --primary-color and
       --tertiary-color both lighten in dark mode, which put the "A" at 2.7:1,
       and inheriting the bar's own text colour put it at 2.4:1 in light. */
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-tertiary));
    color: var(--overlay-foreground);
    font-family: var(--font-family-heading);
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
}

/* ── Navigation rail ────────────────────────────────────────────────────────
   Matches CatalogNav.tsx: a header holding the collapse control, a scrolling
   menu, and a footer tally. The measurements (44px header, 36px rows, 8px
   radius, the --primary-soft active fill and its 2px brand bar) are the same on
   both sides — only the markup underneath differs, because MudBlazor renders
   the rows here and React renders them there.
   ------------------------------------------------------------------------- */

.ark-nav-rail[b-udiq578t18] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.ark-nav-rail__head[b-udiq578t18] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    height: 44px;
    padding: 0 var(--spacing-sm);
    border-bottom: 1px solid var(--border);
}

.ark-nav-rail__menu[b-udiq578t18] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: clip;
    overflow-y: auto;
    padding: 14px 10px;
}

.ark-nav-rail__foot[b-udiq578t18] {
    flex: 0 0 auto;
    padding: var(--spacing-sm) 20px;
    border-top: 1px solid var(--border);
}

.ark-nav-rail__tally[b-udiq578t18] {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-family-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* A collapsed rail has no room for the tally, and MudBlazor's mini variant
   clips rather than reflows, so it would render as a sliver of a word. */
.ark-drawer.mud-drawer--closed .ark-nav-rail__foot[b-udiq578t18] {
    display: none;
}

/* MudBlazor owns every element below: MudNavMenu renders the list, the links
   and the group headers itself, so these need ::deep and they belong in this
   file rather than the shared sheet (ScopedCssBoundaryTests enforces that
   split — the React catalog has no .mud-* markup to share them with). */

[b-udiq578t18] .mud-navmenu .mud-nav-link,
[b-udiq578t18] .mud-navmenu .mud-nav-link-group > .mud-nav-link {
    position: relative;
    /* min-height, and vertical padding rather than a fixed height: a row has to
       grow when its label wraps onto a second line. */
    min-height: 36px;
    height: auto;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: background-color var(--duration-fast) var(--ease-out-cubic),
                color var(--duration-fast) var(--ease-out-cubic);
}

/* MudBlazor keeps a nav label on one line and lets it overflow. A component
   name is one CamelCase word with no spaces, so `normal` wrapping finds no
   break opportunity in it either — `anywhere` is what actually lets
   "ArkFloatingActionButton" wrap instead of being clipped by the rail's edge.
   Mirrors `break-words` on the React rail's labels. */
[b-udiq578t18] .mud-navmenu .mud-nav-link-text {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

[b-udiq578t18] .mud-navmenu .mud-nav-link:hover {
    background-color: var(--accent);
    color: var(--text-header);
}

/* The active row: --primary-soft is a theme-flipping wash of the brand teal, so
   it stays a tint rather than becoming a solid block in either theme. */
/* Selector shaped to outrank MudBlazor's own
   `.mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled)`,
   which sets an action-hover grey. Equal weight loses to it on nothing but
   source order, and this sheet is linked after MudBlazor.min.css. */
[b-udiq578t18] .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) {
    background-color: var(--primary-soft);
    /* The platform paints this label in --primary over --primary-soft; measured
       on the rail that pair is 4.26:1, under AA for a 14px label. The brand
       stays in the fill and the bar below, which together with the weight and
       aria-current make the row unmistakably active without leaning on the
       label's colour. Mirrors RAIL_ITEM_ACTIVE in CatalogNav.tsx. */
    color: var(--text-header);
    font-weight: var(--font-weight-bold);
}

/* The 2px brand bar pinned to the active row's leading edge. */
[b-udiq578t18] .mud-navmenu.mud-navmenu-default .mud-nav-link.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 0 999px 999px 0;
    background: var(--primary-color);
}

[b-udiq578t18] .mud-navmenu .mud-nav-link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: -2px;
}

/* An open group is a panel, matching the rail's open section on the React side:
   hairline border, --muted fill, its rows inset by the same 6px. */
[b-udiq578t18] .mud-navmenu .mud-nav-group {
    margin-bottom: 6px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: background-color var(--duration-default) var(--ease-out-cubic),
                border-color var(--duration-default) var(--ease-out-cubic);
}

[b-udiq578t18] .mud-navmenu .mud-nav-group:has(> .mud-nav-link.mud-expanded) {
    padding: 6px;
    border-color: var(--border);
    background-color: var(--muted);
}

[b-udiq578t18] .mud-navmenu .mud-nav-group > .mud-nav-link .mud-nav-link-text {
    font-weight: var(--font-weight-bold);
}

[b-udiq578t18] .mud-navmenu .mud-nav-group .mud-nav-link-icon {
    min-width: 0;
    margin-right: 12px;
}

/* 16px, matching the React rail's glyphs. MudIcon sizes itself off font-size,
   and its Medium default is 1.5rem — the rule this replaces named
   `.mud-nav-link-icon .mud-icon-root`, which is a step deeper than the icons
   actually sit, so they stayed 24px. Scoped through .ark-nav-rail, a literal
   element in MainLayout.razor, so ::deep has an anchor that carries the
   isolation attribute. */
.ark-nav-rail[b-udiq578t18]  .mud-icon-root {
    font-size: 1rem;
}

/* MudBlazor animates the chevron itself; this only re-times it onto the shared
   easing so both catalogs' groups open at the same rate. */
[b-udiq578t18] .mud-navmenu .mud-nav-link-expand-icon {
    transition: transform var(--duration-default) var(--ease-out-cubic);
}

@media (prefers-reduced-motion: reduce) {
    [b-udiq578t18] .mud-navmenu .mud-nav-link,
    [b-udiq578t18] .mud-navmenu .mud-nav-group,
    [b-udiq578t18] .mud-navmenu .mud-nav-link-expand-icon {
        transition: none;
    }
}

.ark-main[b-udiq578t18] {
    position: relative;
    display: grid;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 84rem;
    padding: clamp(24px, 4vw, 52px);
}

@media (max-width: 768px) {
    .ark-main[b-udiq578t18] {
        padding: var(--container-padding-mobile);
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ix2wzxk9es],
.components-reconnect-repeated-attempt-visible[b-ix2wzxk9es],
.components-reconnect-failed-visible[b-ix2wzxk9es],
.components-pause-visible[b-ix2wzxk9es],
.components-resume-failed-visible[b-ix2wzxk9es] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ix2wzxk9es],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ix2wzxk9es],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ix2wzxk9es],
#components-reconnect-modal.components-reconnect-retrying[b-ix2wzxk9es],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ix2wzxk9es],
#components-reconnect-modal.components-reconnect-failed[b-ix2wzxk9es],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ix2wzxk9es] {
    display: block;
}


#components-reconnect-modal[b-ix2wzxk9es] {
    background: var(--surface-glass-strong);
    color: var(--text);
    width: 20rem;
    margin: 20vh auto;
    padding: var(--spacing-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-brand);
    backdrop-filter: blur(18px);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fade-out-b-ix2wzxk9es 0.2s both;
}

#components-reconnect-modal[open][b-ix2wzxk9es] {
    animation: components-reconnect-modal-fade-in-b-ix2wzxk9es 0.2s ease-out both;
}

#components-reconnect-modal[b-ix2wzxk9es]::backdrop {
    background-color: var(--overlay);
    animation: components-reconnect-modal-fade-in-b-ix2wzxk9es 0.2s ease-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-fade-in-b-ix2wzxk9es {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fade-out-b-ix2wzxk9es {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ix2wzxk9es] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

#components-reconnect-modal p[b-ix2wzxk9es] {
    margin: 0;
    text-align: left;
    color: var(--text-secondary);
    font-family: var(--font-family-mono);
    font-size: 0.875rem;
    line-height: 1.5;
}

#components-reconnect-modal button[b-ix2wzxk9es] {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--primary-foreground);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
}

    #components-reconnect-modal button:hover[b-ix2wzxk9es] {
        border-color: var(--primary-hover-color);
        background-color: var(--primary-hover-color);
    }

    #components-reconnect-modal button:active[b-ix2wzxk9es] {
        border-color: var(--primary-active-color);
        background-color: var(--primary-active-color);
    }


#components-reconnect-modal button:focus-visible[b-ix2wzxk9es] {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
/* /Components/Pages/Landing.razor.rz.scp.css */
.ark-landing[b-6dragm54td] {
    display: grid;
    align-content: center;
    gap: var(--spacing-lg);
    box-sizing: border-box;
    min-height: 100dvh;
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(var(--spacing-lg), 6vw, 3rem) var(--container-padding-desktop);
    color: var(--text);
}

.ark-landing__bar[b-6dragm54td] {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.ark-landing__mark[b-6dragm54td] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: var(--primary-foreground);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}

.ark-landing__brand[b-6dragm54td] {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
    color: var(--text-header);
}

.ark-landing__intro h1[b-6dragm54td] {
    margin: 0 0 var(--spacing-sm);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ark-landing__intro p[b-6dragm54td] {
    max-width: 42rem;
    margin: 0;
    color: var(--text-secondary);
}

.ark-landing__choices[b-6dragm54td] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.ark-landing__card[b-6dragm54td] {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-glass);
    backdrop-filter: blur(18px);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.ark-landing__card:hover[b-6dragm54td],
.ark-landing__card:focus-visible[b-6dragm54td] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-brand);
    transform: translateY(-2px);
}

.ark-landing__card h2[b-6dragm54td] {
    margin: 0 0 var(--spacing-xs);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.ark-landing__card p[b-6dragm54td] {
    margin: 0;
    color: var(--text-secondary);
}

.ark-landing__stack[b-6dragm54td] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    padding: 0;
    margin: var(--spacing-md) 0 var(--spacing-lg);
    list-style: none;
}

.ark-landing__stack li[b-6dragm54td] {
    padding: 2px var(--spacing-sm);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-subtle);
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Pushed to the card floor so both cards line their meta row up even when the
   stack chips wrap onto different numbers of rows. */
.ark-landing__card [data-ark-framework-count][b-6dragm54td] {
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8125rem;
}

@media (prefers-reduced-motion: reduce) {
    .ark-landing__card:hover[b-6dragm54td],
    .ark-landing__card:focus-visible[b-6dragm54td] {
        transform: none;
    }
}
