@import '_content/Kagaku.UI/Kagaku.UI.6wgsx7gw42.bundle.scp.css';
@import '_content/Zukan.BlazorAdapter/Zukan.BlazorAdapter.hysx52ypi2.bundle.scp.css';

/* /Components/Layout/AppHeader.razor.rz.scp.css */
/* The bar itself is the library's AppBar in the scaffold's header slot (ADR 0009, 0010): its height, surface, border,
   the brand and the brand | actions row are the library's. Zukan tunes only the root, through a class of its own on it:
   the side padding of the page's own edge, the device's safe area kept as the library keeps it. */
.app-header[b-ehvb5w2o53]  .app-header__bar {
    padding-left: max(var(--space-5), env(safe-area-inset-left));
    padding-right: max(var(--space-5), env(safe-area-inset-right));
}

/* The sign-out form is only a POST envelope around its button; it must not add a box of its own. */
.app-header__sign-out[b-ehvb5w2o53] {
    display: contents;
}

/* The MinVer build version (ADR 0001): quiet chrome, not a claim — muted, small, monospace so a
   commit id reads evenly. No copy affordances; the tooltip already says what it is. */
.app-header__version[b-ehvb5w2o53] {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    white-space: nowrap;
}

/* Narrow screens (ADR 0010): the bar keeps the toggle, the brand and sign-out on one line; the build version, a detail
   for the desk, gives way, and the page edge narrows. */
@media (max-width: 48rem) {
    .app-header[b-ehvb5w2o53]  .app-header__bar {
        padding-left: max(var(--space-3), env(safe-area-inset-left));
        padding-right: max(var(--space-3), env(safe-area-inset-right));
    }

    .app-header__version[b-ehvb5w2o53] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The shell's geometry and scrolling are the library's scaffold (ADR 0010); only the framework's banner is Zukan's. */

/* 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-h5x7h2172u] {
    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-h5x7h2172u] {
    color: var(--accent-text);
    margin-inline-start: var(--space-2);
}

#blazor-error-ui .dismiss[b-h5x7h2172u] {
    position: absolute;
    top: var(--space-2);
    right: var(--space-3);
    cursor: pointer;
}
/* /Components/Pages/Gate.razor.rz.scp.css */
.gate[b-1p0fke6c3b] {
    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-1p0fke6c3b]  .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-1p0fke6c3b]  .gate__brand {
    margin: 0;
    line-height: var(--leading-tight);
    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-1p0fke6c3b]  .gate__mark {
    display: inline-flex;
    color: var(--accent);
}

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

.gate[b-1p0fke6c3b]  .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-1p0fke6c3b]  .gate__input::placeholder {
    color: var(--text-subtle);
}

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

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