@import '_content/Kagaku.UI/Kagaku.UI.povk9gq3wd.bundle.scp.css';
@import '_content/Shikigami.BlazorAdapter/Shikigami.BlazorAdapter.5k287u6oc4.bundle.scp.css';
@import '_content/Shikigami.Capabilities.Calendar.UI/Shikigami.Capabilities.Calendar.UI.6w4jbpvi5q.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* 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-uvuc2j0qxg] {
    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-uvuc2j0qxg] {
    color: var(--accent-text);
    margin-inline-start: var(--space-2);
}

#blazor-error-ui .dismiss[b-uvuc2j0qxg] {
    position: absolute;
    top: var(--space-2);
    right: var(--space-3);
    cursor: pointer;
}
/* /Components/Pages/Gate.razor.rz.scp.css */
.gate[b-7fez8sq85t] {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    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-7fez8sq85t]  .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-7fez8sq85t]  .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-7fez8sq85t]  .gate__mark {
    display: inline-flex;
    color: var(--accent);
}

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

/* InputText keeps the static form's field/antiforgery contract while kg-input supplies
   the shared native-control skin and keyboard focus. */
.gate[b-7fez8sq85t]  .gate__input {
    min-height: var(--control-height);
}

/* Framework validation is a field border, independent of the shared focus outline.
   These scoped state selectors also retain validation during shared-input hover. */
.gate[b-7fez8sq85t]  .gate__input.valid.modified:not([type=checkbox]) {
    border-color: var(--success);
}

.gate[b-7fez8sq85t]  .gate__input.invalid {
    border-color: var(--danger);
}

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