:root { --auth-navy: #111b3d; --auth-gold: #e6b75f; --auth-cream: #fbf9f4; --auth-muted: #687184; }
* { box-sizing: border-box; }
body.gg-auth { margin: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; background: var(--auth-cream); color: var(--auth-navy); font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.6; }
.gg-auth a { color: var(--auth-navy); text-underline-offset: 4px; }
.gg-auth a:hover { color: #72521d; }
.gg-auth a:focus-visible, .gg-auth button:focus-visible, .gg-auth input:focus-visible { outline: 3px solid #987127; outline-offset: 4px; }
.gg-auth [hidden] { display: none !important; }
.gg-auth-skip { position: absolute; z-index: 10; top: 8px; left: 12px; padding: 12px 18px; background: white; transform: translateY(-160%); }
.gg-auth-skip:focus { transform: none; }
.gg-auth-story { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 560px; display: flex; flex-direction: column; align-self: start; isolation: isolate; overflow: hidden; padding: clamp(36px, 4.5vw, 76px); color: white; background: #183453; }
.gg-auth-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.gg-auth-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #0c193dba, #14243a63), linear-gradient(0deg, #101b3ede, transparent 85%); }
.gg-auth-brand { display: inline-block; align-self: flex-start; }
.gg-auth-brand img { display: block; width: 160px; height: auto; }
.gg-auth-quote { margin: auto 0; padding-block: 48px; }
.gg-auth-quote blockquote { margin: 0 0 27px; }
.gg-auth-quote h2 { max-width: 640px; margin: 0; color: #fffaf1; font-family: 'Playfair Display', serif; font-size: clamp(34px, 3.7vw, 61px); font-weight: 400; line-height: 1.25; letter-spacing: -.8px; }
.gg-auth-story-long .gg-auth-quote h2 { font-size: clamp(30px, 3.1vw, 49px); line-height: 1.3; }
.gg-auth-quote figcaption { color: #f0cb84; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.gg-auth-story-footer { display: flex; align-items: center; gap: 14px; margin: 0; color: #e6e9ee; font-size: 10px; font-weight: 600; letter-spacing: 1.1px; }
.gg-auth-story-footer span { width: 30px; height: 1px; flex: 0 0 auto; background: var(--auth-gold); }
.gg-auth-panel { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; min-height: 100dvh; padding: 36px clamp(32px, 4.5vw, 76px) 28px; }
.gg-auth-top, .gg-auth-content, .gg-auth-footer { width: 100%; max-width: 440px; margin-inline: auto; }
.gg-auth-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; text-decoration: none; }
.gg-auth-content { margin-block: auto; padding-block: 45px; }
.gg-auth-eyebrow { margin: 0 0 13px; color: #81612a; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.gg-auth h1 { margin: 0 0 13px; font-family: 'Playfair Display', serif; font-size: clamp(32px, 3vw, 43px); font-weight: 400; line-height: 1.25; letter-spacing: -.7px; }
.gg-auth-intro { margin: 0 0 32px; max-width: 390px; color: var(--auth-muted); font-size: 14px; line-height: 1.85; }
.gg-auth-form { display: grid; gap: 20px; }
.gg-auth-field { min-width: 0; }
.gg-auth-field label { display: inline-block; margin: 0 0 8px; color: #313b52; font-size: 13px; font-weight: 700; }
.gg-auth-input { display: block; width: 100%; height: 52px; padding: 12px 14px; border: 1px solid #d5d7df; border-radius: 4px; background: #fff; color: var(--auth-navy); font: inherit; font-size: 16px; line-height: 1.5; }
.gg-auth-input:hover { border-color: #a1a7b4; }
.gg-auth-input:focus { border-color: #9a7734; }
.gg-auth-input.is-invalid { border-color: #b53b35; }
.gg-auth-password { position: relative; }
.gg-auth-password .gg-auth-input { padding-right: 76px; }
.gg-auth-reveal { position: absolute; top: 4px; right: 4px; min-width: 60px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 2px; background: transparent; color: #505b71; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.gg-auth-reveal:hover { color: var(--auth-navy); background: #f3f1eb; }
.gg-auth-hint { margin: 7px 0 0; color: var(--auth-muted); font-size: 11px; line-height: 1.5; }
.gg-auth-errors { margin-top: 7px; color: #a72d28; font-size: 12px; }
.gg-auth-errors p { margin: 0; }
.gg-auth-forgot { justify-self: end; display: inline-flex; align-items: center; min-height: 32px; margin-top: -11px; font-size: 12px; font-weight: 650; }
.gg-auth-submit { display: block; width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid var(--auth-gold); border-radius: 4px; color: var(--auth-navy); background: var(--auth-gold); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .18s; }
.gg-auth-submit:hover { background: #f0c77b; border-color: #f0c77b; }
.gg-auth-alternative { margin: 27px 0 0; color: var(--auth-muted); font-size: 13px; line-height: 1.8; text-align: center; }
.gg-auth-alternative a { display: inline-block; padding-block: 5px; font-weight: 700; }
.gg-auth-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; padding-top: 17px; border-top: 1px solid #deded7; color: var(--auth-muted); font-size: 11px; }
.gg-auth-footer p { margin: 0; }
.gg-auth-footer a { display: inline-block; padding-block: 8px; }
.gg-auth-footer > a { color: var(--auth-muted); }
.gg-auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gg-auth-register { padding-block: 16px; }
.gg-auth-register .gg-auth-intro { margin-bottom: 20px; }
.gg-auth-register .gg-auth-form { gap: 15px; }
.gg-auth-register .gg-auth-field label { margin-bottom: 6px; }
.gg-auth-register .gg-auth-alternative { margin-top: 14px; }
.gg-auth-terms { display: flex; align-items: flex-start; gap: 10px; }
.gg-auth-terms input { width: 18px; height: 18px; flex: 0 0 auto; margin: 11px 0 0; accent-color: var(--auth-navy); cursor: pointer; }
.gg-auth-terms label { padding-block: 9px; color: #535e72; font-size: 12px; line-height: 1.8; cursor: pointer; }
.gg-auth-notice { margin-bottom: 23px; padding: 13px 15px; border: 1px solid #b8c8da; border-radius: 4px; background: #edf2f7; color: #263e59; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.gg-auth-notice-danger, .gg-auth-notice-warning { border-color: #e2c4b7; background: #fff2e9; color: #753c28; }
.gg-auth-notice-success { border-color: #bccfbd; background: #eef5ed; color: #315737; }
@media (min-width: 901px) and (max-height: 700px) {
    .gg-auth-story { padding-block: 28px; }
    .gg-auth-brand img { width: 120px; }
    .gg-auth-quote { padding-block: 28px; }
    .gg-auth-quote h2 { font-size: clamp(30px, 3.3vw, 47px); }
    .gg-auth-story-long .gg-auth-quote h2 { font-size: clamp(28px, 2.8vw, 39px); }
    .gg-auth-panel { padding-top: 22px; }
    .gg-auth-content { padding-block: 28px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
    .gg-auth-story, .gg-auth-panel { padding-inline: 32px; }
    .gg-auth-quote h2 { font-size: 39px; }
    .gg-auth-story-long .gg-auth-quote h2 { font-size: 32px; }
    .gg-auth h1 { font-size: 33px; }
    .gg-auth-row { gap: 12px; }
}
@media (max-width: 900px) {
    body.gg-auth { grid-template-columns: 1fr; }
    .gg-auth-story { position: relative; height: auto; min-height: 320px; padding: 26px 32px 30px; }
    .gg-auth-brand img { width: 115px; }
    .gg-auth-quote { margin: 32px 0 0; padding: 0; }
    .gg-auth-quote blockquote { margin-bottom: 18px; }
    .gg-auth-quote h2 { max-width: 610px; font-size: clamp(27px, 4.5vw, 37px); line-height: 1.28; letter-spacing: -.4px; }
    .gg-auth-story-long .gg-auth-quote h2 { font-size: clamp(25px, 4.2vw, 34px); }
    .gg-auth-quote figcaption { font-size: 10px; }
    .gg-auth-story-footer { display: none; }
    .gg-auth-panel { min-height: 0; padding: 19px 32px 24px; }
    .gg-auth-content { padding-block: 26px 38px; }
    .gg-auth-register { padding-top: 23px; }
    .gg-auth-footer { padding-top: 15px; }
}
@media (max-width: 480px) {
    .gg-auth-story { padding: 23px 24px 28px; min-height: 305px; }
    .gg-auth-brand img { width: 104px; }
    .gg-auth-quote { margin-top: 28px; }
    .gg-auth-quote h2 { font-size: 28px; }
    .gg-auth-story-long .gg-auth-quote h2 { font-size: 26px; }
    .gg-auth-panel { padding-inline: 24px; }
    .gg-auth h1 { font-size: 34px; }
    .gg-auth-intro { font-size: 13px; margin-bottom: 26px; }
    .gg-auth-row { grid-template-columns: 1fr; gap: 17px; }
    .gg-auth-register .gg-auth-intro { margin-bottom: 23px; }
    .gg-auth-footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gg-auth-submit { transition: none; } }
