/* The doors of the Studio: sign in and sign out.
   Same tokens as the cabinet, so the first screen a person sees already looks
   like the product rather than like the framework it happens to run on. */
.gate {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.gate__card {
    width: min(400px, 100%);
    display: grid;
    gap: 14px;
    padding: 32px;
    background: var(--studio-panel);
    border: 1px solid var(--studio-border);
    border-radius: var(--studio-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.gate__eyebrow {
    font: 700 11px/1 var(--hxn-font-mono, Consolas, monospace);
    letter-spacing: 0.18em;
    color: var(--studio-accent);
}
.gate__card h1 { margin: 0; font-size: 26px; letter-spacing: 0.02em; }
.gate__hint { margin: -6px 0 6px; color: var(--studio-muted); font-size: 13px; }
.gate__card label {
    display: grid;
    gap: 7px;
    color: var(--studio-muted);
    font-size: 12px;
}
.gate__card input[type="text"],
.gate__card input[type="password"] {
    height: 42px;
    padding: 0 12px;
    color: var(--studio-text);
    background: #06101a;
    border: 1px solid var(--studio-border);
    border-radius: 10px;
    font-size: 14px;
}
.gate__card input:focus-visible {
    outline: none;
    border-color: var(--studio-accent);
    box-shadow: 0 0 0 3px rgba(75, 200, 232, 0.18);
}
.gate__button {
    height: 42px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: var(--studio-accent);
    color: #04121b;
    font: 700 13px/1 Inter, "Segoe UI", sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.15s var(--studio-ease), filter 0.15s var(--studio-ease);
}
.gate__button:hover { filter: brightness(1.08); }
.gate__button:active { transform: translateY(1px); }
.gate__link {
    justify-self: center;
    color: var(--studio-muted);
    font-size: 12px;
    text-decoration: none;
}
.gate__link:hover { color: var(--studio-accent-soft); }
/* Errors read as part of the card, not as a browser artefact pasted on top. */
.gate__error,
.gate__note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}
.gate__error { background: rgba(255, 97, 115, 0.12); color: #ffb2bb; }
.gate__note { background: rgba(99, 217, 161, 0.12); color: var(--studio-success); }
