@import '_content/Kagaku.UI/Kagaku.UI.t0y62makjz.bundle.scp.css';
@import '_content/Orihon.BlazorAdapter/Orihon.BlazorAdapter.5xk27tpp5o.bundle.scp.css';

/* /Components/Layout/AppHeader.razor.rz.scp.css */
/* A fixed-height flex child of the non-scrolling shell — structurally pinned, so it needs no sticky
   positioning. flex-shrink 0 is load-bearing: as a child of the column shell, the default shrink of
   1 lets a flex deficit pull the header below its declared height the moment the content overflows. */
.app-header[b-snuv5083ey] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: var(--app-header-height);
    padding-inline: var(--space-5);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.app-header__brand[b-snuv5083ey] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.app-header__brand:hover[b-snuv5083ey] {
    text-decoration: none;
    color: var(--accent);
}

/* The sign-out form is only a POST envelope; the menu item inside it is the real row, so the
   form must not generate a box that would break the menu's layout. */
.app-header form[b-snuv5083ey] {
    display: contents;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The application-shell scrolling model: exactly one viewport tall and never scrolling itself.
   A fixed-height header stacks above a single content region, which is the sole scroll container
   so its scrollbar can never shift centered content. */
.app-shell[b-9trzlv6eqi] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
}

.app-shell__main[b-9trzlv6eqi] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;

    /* The gutter is reserved so opening a modal (which hides overflow) never replays a sideways jump. */
    scrollbar-gutter: stable;

    /* Anchor jumps land content this far below the region's top edge. */
    scroll-padding-top: var(--space-4);
}

/* The framework's unhandled-error banner, unhidden by blazor.web.js. Styled from tokens like
   everything else; the id and class names are the framework's contract. */
#blazor-error-ui[b-9trzlv6eqi] {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-toast);
    padding: var(--space-3) var(--space-5);
    background: var(--warning-subtle);
    color: var(--text);
    border-top: 1px solid var(--warning);
    box-shadow: var(--shadow-2);
}

#blazor-error-ui .reload[b-9trzlv6eqi] {
    color: var(--accent);
    margin-inline-start: var(--space-2);
}

#blazor-error-ui .dismiss[b-9trzlv6eqi] {
    position: absolute;
    top: var(--space-2);
    right: var(--space-3);
    cursor: pointer;
}
/* /Components/Pages/Gate.razor.rz.scp.css */
.gate[b-2fwir0o9sn] {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: var(--space-5);
    background: var(--bg);
}

/* The card, input, and their children are rendered by child components (EditForm, InputText,
   Icon), so they don't carry this page's scope attribute. ::deep reaches descendants across the
   component boundary — without it these rules would silently not match. */

.gate[b-2fwir0o9sn]  .gate__card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
    max-width: 22rem;
    padding: var(--space-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
}

.gate[b-2fwir0o9sn]  .gate__brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text);
}

/* currentColor cascades into the child <Icon> regardless of scoping. */
.gate[b-2fwir0o9sn]  .gate__mark {
    display: inline-flex;
    color: var(--accent);
}

.gate[b-2fwir0o9sn]  .gate__hint {
    margin-top: calc(-1 * var(--space-2));
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.gate[b-2fwir0o9sn]  .gate__input {
    height: var(--control-height);
    padding-inline: var(--space-3);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.gate[b-2fwir0o9sn]  .gate__input::placeholder {
    color: var(--text-subtle);
}

.gate[b-2fwir0o9sn]  .gate__input:focus-visible {
    border-color: var(--accent);
    box-shadow: var(--focus-ring);
    outline: none;
}

.gate[b-2fwir0o9sn]  .gate__error {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--danger);
    font-size: var(--text-sm);
}
