:root {
    --auth-paper: #fcfbf8;
    --auth-cream: #f2f0e9;
    --auth-ink: #142d36;
    --auth-muted: #536168;
    --auth-line: #d5d9d5;
    --auth-sand: #e5d7c5;
    --auth-error: #a1312d;
    --auth-display: Georgia, 'Palatino Linotype', Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
.monument-auth {
    margin: 0;
    color: var(--auth-ink);
    background: var(--auth-paper);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.monument-auth h1, .monument-auth h2, .monument-auth p { margin: 0; }
.monument-auth a { color: inherit; text-underline-offset: 4px; }
.monument-auth a:hover { text-decoration-thickness: 2px; }
.monument-auth button, .monument-auth input, .monument-auth select { font: inherit; }
.monument-auth button { cursor: pointer; }
.monument-auth :focus-visible { outline: 3px solid #a86835; outline-offset: 4px; }
.monument-auth ::selection { color: var(--auth-ink); background: var(--auth-sand); }
.home-icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.auth-skip-link {
    position: absolute;
    top: 12px;
    left: 20px;
    z-index: 10;
    padding: 12px 20px;
    transform: translateY(-180%);
    color: #fff !important;
    background: var(--auth-ink);
}
.auth-skip-link:focus { transform: translateY(0); }
.auth-header, .auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1504px;
    margin-inline: auto;
    padding-inline: 48px;
}
.auth-header { min-height: 106px; }
.auth-brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.auth-brand img { display: block; width: 190px; max-width: 100%; height: 52px; object-fit: contain; object-position: left center; }
.auth-brand span { font-family: var(--auth-display); font-size: 32px; }
.auth-header-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.auth-header-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.auth-header-links a:hover { text-decoration: underline; }
.auth-home-link { color: var(--auth-muted) !important; }
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    width: calc(100% - 64px);
    max-width: 1440px;
    min-height: 700px;
    min-height: max(700px, calc(100svh - 202px));
    margin: 0 auto 24px;
    background: #fff;
    border: 1px solid var(--auth-line);
    border-radius: 4px;
    overflow: hidden;
}
.auth-story { position: relative; isolation: isolate; min-height: 100%; overflow: hidden; background: var(--auth-ink); }
.auth-story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.auth-register .auth-story-image { object-position: 44% 30%; }
.auth-story::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 28, 31, .04) 22%, rgba(12, 28, 31, .34) 53%, rgba(12, 28, 31, .92) 100%);
    z-index: 1;
}
.auth-story-copy { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 48px; color: #fff; }
.auth-eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.auth-story-copy .auth-eyebrow { margin-bottom: 20px; color: #f1e8dd; }
.auth-story-copy h2 { font-family: var(--auth-display); font-weight: 400; font-size: clamp(40px, 4vw, 64px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.auth-story-copy h2 em { font-weight: 400; color: #ecddc9; }
.auth-story-copy > p:last-child { margin-top: 22px; max-width: 340px; color: #f3f1eb; font-size: 15px; line-height: 1.7; }
.auth-content { display: flex; align-items: center; justify-content: center; padding: 54px 56px; min-width: 0; }
.auth-content:focus { outline: none; }
.auth-form-wrap { width: 100%; max-width: 420px; }
.auth-register .auth-form-wrap { max-width: 480px; }
.auth-register .auth-content { align-items: flex-start; padding-top: 42px; padding-bottom: 40px; }
.auth-heading { margin-bottom: 32px; }
.auth-heading .auth-eyebrow { color: var(--auth-muted); margin-bottom: 12px; }
.auth-heading h1 { font-family: var(--auth-display); font-size: clamp(36px, 3.6vw, 49px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.auth-heading > p:last-child { margin-top: 14px; color: var(--auth-muted); font-size: 15px; }
.auth-register .auth-heading { margin-bottom: 25px; }
.auth-field { margin-bottom: 22px; min-width: 0; }
.auth-field label, .auth-label-row { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.auth-label-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.auth-label-row label { margin: 0; }
.auth-label-row a { font-size: 12px; font-weight: 500; }
.auth-optional { font-weight: 400; color: var(--auth-muted); }
.auth-field input, .auth-field select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #bdc7c6;
    border-radius: 4px;
    color: var(--auth-ink);
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.auth-field input::placeholder { color: #778082; opacity: 1; }
.auth-field input:focus, .auth-field select:focus { border-color: var(--auth-ink); outline: 2px solid var(--auth-ink); outline-offset: 1px; }
.auth-field input[aria-invalid='true'], .auth-field select[aria-invalid='true'] { border-color: var(--auth-error); }
.auth-field select { padding-right: 32px; cursor: pointer; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 76px; }
.auth-password-toggle { position: absolute; top: 4px; right: 4px; min-width: 60px; min-height: 44px; border: 0; border-radius: 3px; background: transparent; color: var(--auth-ink); font-size: 12px !important; font-weight: 600 !important; }
.auth-password-toggle:hover { background: var(--auth-cream); }
.auth-check { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 25px; font-size: 13px; color: var(--auth-muted); cursor: pointer; }
.auth-check input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--auth-ink); cursor: pointer; }
.auth-check span { flex: 1; }
.auth-terms { margin-top: 26px; margin-bottom: 12px; }
.auth-check a { color: var(--auth-ink); }
.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 53px;
    padding: 14px 23px;
    border: 1px solid var(--auth-ink);
    border-radius: 4px;
    color: #fff;
    background: var(--auth-ink);
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    transition: background-color .16s ease, border-color .16s ease;
}
.auth-button:hover { background: #264651; border-color: #264651; }
.auth-button:disabled { opacity: .7; cursor: wait; }
.auth-button-full { width: 100%; justify-content: space-between; }
.auth-account-link { margin-top: 26px !important; font-size: 13px; color: var(--auth-muted); text-align: center; }
.auth-account-link a { color: var(--auth-ink); font-weight: 600; white-space: nowrap; }
.auth-fine-print { margin-top: 27px !important; padding-top: 25px; border-top: 1px solid var(--auth-line); font-size: 11px; color: var(--auth-muted); line-height: 1.8; }
.auth-footer { min-height: 72px; padding-top: 6px; padding-bottom: 20px; color: var(--auth-muted); font-size: 11px; }
.auth-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.auth-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
.auth-message { margin-bottom: 24px; padding: 16px 18px; border: 1px solid #bfd0c8; border-radius: 4px; background: #eef5f0; color: #234d3a; font-size: 13px; overflow-wrap: anywhere; }
.auth-message-error { background: #fff3f1; border-color: #e8bdb9; color: #882b28; }
.auth-message ul { padding-left: 18px; margin: 6px 0 0; }
.auth-message li + li { margin-top: 5px; }
.auth-field-error { margin-top: 6px !important; color: var(--auth-error); font-size: 12px; }
.auth-field-help { margin-top: 7px !important; color: var(--auth-muted); font-size: 12px; line-height: 1.6; }
.auth-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; padding: 0 0 21px; list-style: none; border-bottom: 1px solid var(--auth-line); }
.auth-progress li { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: var(--auth-muted); }
.auth-progress-number { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--auth-line); border-radius: 50%; font-size: 11px; line-height: 1; }
.auth-progress [aria-current='step'] { color: var(--auth-ink); font-weight: 650; }
.auth-progress [aria-current='step'] .auth-progress-number { background: var(--auth-ink); border-color: var(--auth-ink); color: #fff; }
.auth-progress .is-complete .auth-progress-number { background: var(--auth-cream); border-color: #c1c9bf; color: var(--auth-ink); }
.auth-step-status { margin-bottom: 10px !important; color: var(--auth-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.auth-step { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.auth-step-title { display: block; width: 100%; padding: 0; font-family: var(--auth-display); font-size: 25px; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
.auth-step-description { margin-top: 8px !important; margin-bottom: 24px !important; color: var(--auth-muted); font-size: 13px; line-height: 1.7; }
.auth-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.auth-field-wide { grid-column: 1 / -1; }
.auth-form.is-enhanced .auth-step { margin-bottom: 0; }
.auth-form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 16px; padding-top: 22px; border-top: 1px solid var(--auth-line); }
.auth-back-button { margin-right: auto; padding: 12px 8px; min-width: 62px; min-height: 48px; background: transparent; color: var(--auth-ink); border: 0; font-size: 13px !important; text-decoration: underline; text-underline-offset: 4px; }
.auth-back-button:hover { background: var(--auth-cream); }
.auth-password-feedback { margin-top: 8px !important; font-size: 12px; color: var(--auth-muted); }
.auth-password-feedback[data-valid='true'] { color: #245a43; }
.auth-password-feedback[data-valid='false'] { color: var(--auth-error); }
.auth-captcha { margin: 22px 0; }

@media (min-width: 1600px) {
    .auth-shell { min-height: 760px; }
}
@media (max-width: 1100px) {
    .auth-content { padding: 44px 34px; }
    .auth-story-copy { padding: 36px; }
    .auth-story-copy h2 { font-size: 44px; }
}
@media (max-width: 960px) {
    .auth-header { min-height: 92px; padding-inline: 32px; }
    .auth-shell { display: block; max-width: 680px; min-height: 0; width: calc(100% - 64px); margin-top: 20px; margin-bottom: 26px; }
    .auth-story { display: none; }
    .auth-content, .auth-register .auth-content { padding: 46px 52px; }
    .auth-register .auth-form-wrap { max-width: 480px; }
    .auth-footer { max-width: 744px; padding-inline: 32px; }
}
@media (max-width: 600px) {
    .auth-header { min-height: 80px; gap: 16px; padding-inline: 22px; border-bottom: 1px solid var(--auth-line); }
    .auth-brand img { width: 155px; height: 44px; }
    .auth-brand span { font-size: 26px; }
    .auth-home-link { display: none !important; }
    .auth-header-links { font-size: 12px; }
    .auth-header-links a { gap: 3px; white-space: nowrap; }
    .auth-header-links .home-icon { width: 17px; height: 17px; }
    .auth-shell { width: 100%; margin: 0; border: 0; border-radius: 0; background: var(--auth-paper); }
    .auth-content, .auth-register .auth-content { padding: 38px 24px 36px; }
    .auth-heading h1 { font-size: 40px; }
    .auth-heading { margin-bottom: 28px; }
    .auth-heading > p:last-child { font-size: 14px; }
    .auth-field-grid { column-gap: 14px; }
    .auth-field { margin-bottom: 20px; }
    .auth-progress { gap: 5px; }
    .auth-step-title { font-size: 24px; }
    .auth-footer { flex-direction: column; align-items: flex-start; gap: 2px; margin-inline: 24px; padding: 20px 0; border-top: 1px solid var(--auth-line); }
    .auth-footer nav { gap: 24px; }
    .auth-fine-print { font-size: 12px; }
}
@media (max-width: 360px) {
    .auth-field-grid { grid-template-columns: 1fr; }
    .auth-button { padding-inline: 15px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
