/* Shared login presentation, based on docs/auth-screens.html. */
:root {
    color-scheme: light;
    --ink: #1f2440;
    --muted: #777b92;
    --paper: #f7f5f1;
    --violet: #5144a4;
    --violet-dark: #302966;
    --gold: #f7c86a;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding: 40px 24px;
    display: grid;
    place-items: center;
    background: #e9e7e4;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
}
.auth-screen {
    width: 100%;
    max-width: 920px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 70px #30296612;
}
.auth-hero {
    min-height: 560px;
    position: relative;
    overflow: hidden;
    padding: 34px;
    color: white;
    background: var(--violet-dark);
    border-radius: 0 0 38px 0;
}
.auth-hero::before, .auth-hero::after {
    content: '';
    position: absolute;
    border: 1px solid #ffffff1f;
    border-radius: 50%;
    pointer-events: none;
}
.auth-hero::before {
    width: 300px;
    height: 300px;
    top: 150px;
    right: -116px;
    box-shadow: 0 0 0 22px #ffffff09, 0 0 0 44px #ffffff09;
}
.auth-hero::after {
    width: 130px;
    height: 130px;
    top: 70px;
    left: -62px;
    border-color: #f7c86a3b;
}
.auth-brand { position: relative; z-index: 1; padding-right: 44px; font-size: 15px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; overflow-wrap: anywhere; }
.auth-mark { position: absolute; right: 30px; top: 28px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #ffffff66; border-radius: 50%; color: var(--gold); font: 17px Arial, sans-serif; }
.auth-hero-copy { position: relative; z-index: 1; margin-top: 170px; }
.auth-eyebrow { margin: 0 0 13px; color: #c7c1ed; font: 10px/1.5 Arial, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { margin: 0; font-size: 42px; line-height: 1.08; font-weight: normal; }
.auth-description { max-width: 280px; margin: 18px 0 0; color: #c7c1ed; font-size: 16px; line-height: 1.5; }
.auth-content { padding: 58px 38px 32px; align-self: center; min-width: 0; }
h2 { margin: 0; font-size: 28px; font-weight: normal; }
.auth-intro { color: var(--muted); font: 13px/1.5 Arial, sans-serif; margin: 10px 0 28px; }
label { display: block; margin: 22px 0 8px; color: #666a80; font: 10px/1.5 Arial, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; }
input { width: 100%; min-width: 0; height: 54px; padding: 0 16px; border: 1px solid #dcd9d4; border-radius: 12px; background: white; color: var(--ink); font: 16px Arial, sans-serif; }
input::placeholder { color: #858591; opacity: 1; }
button { width: 100%; min-height: 54px; margin-top: 24px; padding: 16px; border: 0; border-radius: 12px; color: white; background: var(--violet); font: bold 11px/1.5 Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; touch-action: manipulation; }
button span { margin-left: 8px; font-size: 16px; }
button:hover { background: #42378c; }
button:active { background: var(--violet-dark); }
input:focus-visible, button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.auth-error { margin: 20px 0; padding: 13px 15px; border: 1px solid #efc2bb; border-radius: 12px; background: #fff0ed; color: #92382c; font: 13px/1.5 Arial, sans-serif; }
.auth-footer { margin: 24px 0 0; text-align: center; color: #666a80; font: 11px/1.6 Arial, sans-serif; }
@media (max-width: 640px) {
    body { display: block; padding: 0; background: var(--paper); }
    .auth-screen { display: block; max-width: 440px; min-height: 100svh; margin: 0 auto; border-radius: 0; box-shadow: none; }
    .auth-hero { min-height: 340px; padding: 30px 25px; border-radius: 0 0 38px 38px; }
    .auth-hero::before { top: 102px; }
    .auth-mark { right: 25px; }
    .auth-hero-copy { margin-top: 106px; }
    h1 { font-size: 36px; }
    .auth-description { font-size: 15px; margin-top: 16px; }
    .auth-content { padding: 28px 25px 32px; }
    h2 { font-size: 24px; }
    .auth-intro { margin-bottom: 22px; }
}
