/* Compact public entry, matching the approved feature-carousel concept. */
.current-auth {
  --auth-page: #f4f5ee; --auth-paper: #fffefb; --auth-ink: #193e2b;
  --auth-text: #405545; --auth-muted: #687b6b; --auth-line: #dfe5d9;
  --auth-field: #fafbf6; --auth-green: #285c40; --auth-button: #285c40;
  --auth-button-ink: #fff; --auth-gold: #a07e42; --auth-slide: #f0f3e9;
  --auth-slide-line: #e2e8d7; --auth-art-ink: #385f38;
  --auth-art-tint: #dce6cf; --auth-art-paper: #fffef7;
  min-height: 100vh; min-height: 100dvh; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 34px 20px 24px; background: var(--auth-page); color: var(--auth-ink);
  font-family: "Segoe UI", Arial, sans-serif;
}
.theme-dark .current-auth {
  --auth-page: #0f1a14; --auth-paper: #17271d; --auth-ink: #f0f1e8;
  --auth-text: #d3ddce; --auth-muted: #a2b29e; --auth-line: #344735;
  --auth-field: #132218; --auth-green: #bdd2a8; --auth-button: #bfd4a9;
  --auth-button-ink: #163321; --auth-gold: #cfb279; --auth-slide: #233629;
  --auth-slide-line: #394c36; --auth-art-ink: #aac693;
  --auth-art-tint: #42583c; --auth-art-paper: #233727;
}
.current-auth [hidden] { display: none !important; }
.current-auth button, .current-auth input { font-family: inherit; }
.current-auth :is(button, a, input):focus-visible { outline: 2px solid var(--auth-gold); outline-offset: 4px; }
.current-auth-content { position: relative; width: 100%; max-width: 440px; padding: 24px 32px 22px; border: 1px solid var(--auth-line); border-radius: 21px; background: var(--auth-paper); color: var(--auth-ink); text-align: left; box-shadow: 0 12px 60px #29463409; animation: none; }
.current-auth-logo { position: relative; display: flex; justify-content: center; align-items: center; min-height: 56px; margin: 0; }
.current-auth-logo img { display: block; width: 138px; max-width: calc(100% - 76px); height: auto; object-fit: contain; filter: none; }
.current-auth .auth-theme-toggle { position: absolute; right: 0; top: 9px; display: grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 1px solid var(--auth-line); border-radius: 50%; color: var(--auth-muted); background: transparent; }
.auth-theme-toggle svg { width: 15px; height: 15px; }
.current-auth-stack { display: block; width: 100%; }
.current-auth-heading h1, .auth-feature-copy h2, .current-auth .auth-submit-button { text-transform: none; }
.auth-feature-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.auth-art-paper { fill: var(--auth-art-paper); }
.auth-art-tint { fill: var(--auth-art-tint); }
.auth-art-gold { stroke: var(--auth-gold); }
.auth-art-gold-fill { fill: var(--auth-gold); }
.current-auth-heading h1 { margin: 15px 0 11px; color: var(--auth-ink); font: 400 27px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.025em; text-align: center; }
.current-auth-heading > p { margin: 0 0 13px; color: var(--auth-muted); font-size: 12px; line-height: 1.7; text-align: center; }
.current-auth .auth-rollout-note { display: grid; justify-items: center; gap: 5px; margin: 0 0 18px; padding: 0; border: 0; background: none; color: var(--auth-muted); text-align: center; }
.auth-rollout-note > span { display: inline-flex; align-items: center; gap: 6px; color: var(--auth-gold); font-size: 9px; font-weight: 600; line-height: 1.4; letter-spacing: .025em; text-transform: none; }
.auth-rollout-note > span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.auth-rollout-note > small { color: var(--auth-muted); font-size: 10px; line-height: 1.5; }
.auth-feature-carousel { min-width: 0; margin-bottom: 17px; }
.auth-feature-card { display: flex; align-items: center; gap: 16px; height: 128px; padding: 16px 18px; border: 1px solid var(--auth-slide-line); border-radius: 12px; background: var(--auth-slide); touch-action: pan-y pinch-zoom; user-select: none; }
.auth-feature-copy { min-width: 0; flex: 1; }
.auth-feature-copy h2 { margin: 0; color: var(--auth-ink); font: 400 19px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.auth-feature-copy p { margin: 7px 0 0; color: var(--auth-muted); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.auth-feature-art { flex: 0 0 75px; width: 75px; height: 80px; color: var(--auth-art-ink); }
.auth-feature-controls { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 29px; margin-top: 7px; }
.current-auth .auth-feature-arrow { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--auth-muted); }
.auth-feature-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.current-auth .auth-feature-arrow:hover { background: var(--auth-slide); color: var(--auth-ink); }
.current-auth .auth-feature-autoplay { border: 1px solid var(--auth-line); }
.current-auth .auth-feature-autoplay:disabled { opacity: .45; cursor: default; }
.auth-feature-dots { display: flex; align-items: center; gap: 1px; }
.current-auth .auth-feature-dot { display: grid; place-items: center; width: 21px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; }
.auth-feature-dot > span { display: block; width: 5px; height: 5px; border-radius: 9px; background: var(--auth-muted); opacity: .4; }
.current-auth .auth-feature-dot[aria-pressed="true"] { width: 28px; }
.auth-feature-dot[aria-pressed="true"] > span { width: 18px; background: var(--auth-green); opacity: 1; }
.current-auth-methods { display: flex; flex-direction: column; gap: 10px; }
.current-auth :is(.auth-google-button, .auth-biometric-button) { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 45px; padding: 10px; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-paper); color: var(--auth-ink); font-size: 13px; font-weight: 600; line-height: 20px; font-family: inherit; box-shadow: none; text-shadow: none; transform: none; }
.current-auth :is(.auth-google-button, .auth-biometric-button):hover { background: var(--auth-field); filter: none; box-shadow: none; transform: none; }
.current-auth :is(.auth-google-button, .auth-biometric-button) svg { width: 18px; height: 18px; }
.current-auth .auth-biometric-button > [data-biometric-idle] { gap: 11px; }
.current-auth .auth-divider { display: flex; align-items: center; gap: 11px; margin: 6px 0 15px; padding: 0; }
.current-auth .auth-divider__line { background: var(--auth-line); }
.current-auth .auth-divider__label { color: var(--auth-muted); font-size: 10px; font-weight: 400; line-height: 15px; letter-spacing: 0; text-transform: none; }
.current-auth .auth-form-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.current-auth .auth-form-card__content { padding: 0; background: none; }
.current-auth .auth-form { display: flex; flex-direction: column; gap: 14px; }
.current-auth .auth-form > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
.current-auth .auth-form > * { margin: 0; }
.current-auth .auth-field > :not([hidden]) ~ :not([hidden]) { margin-top: 7px; }
.current-auth .auth-field__label { display: block; color: var(--auth-text); font-size: 11px; font-weight: 600; line-height: 16px; }
.current-auth .auth-password-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 16px; }
.current-auth .auth-password-heading label { margin: 0; }
.current-auth .auth-form-card .auth-form .auth-field .auth-field__input { width: 100%; min-width: 0; min-height: 45px; height: 45px; padding: 0 12px; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-field); color: var(--auth-ink); font-size: 14px; line-height: 20px; box-shadow: none; }
.current-auth .auth-field__input::placeholder { color: var(--auth-muted); opacity: .75; }
.current-auth .auth-form-card .auth-form .auth-field .auth-field__input:focus { border-color: var(--auth-green); outline: 2px solid var(--auth-gold); outline-offset: 2px; box-shadow: none; }
.current-auth .auth-password-field input { padding-right: 43px; }
.current-auth .auth-password-toggle { top: 2px; right: 2px; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; background: none; color: var(--auth-muted); transform: none; }
.current-auth .auth-password-toggle svg { width: 17px; height: 17px; }
.current-auth .auth-forgot-button { display: inline; margin: 0; padding: 0; border: 0; background: none; color: var(--auth-green); font-size: 10px; line-height: 16px; text-align: right; }
.current-auth .auth-form__required-note, .current-auth .auth-field__hint { color: var(--auth-muted); font-size: 11px; line-height: 1.6; }
.current-auth .auth-biometric-retry { padding: 0; border: 0; background: none; color: var(--auth-green); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.current-auth .auth-biometric-retry:disabled { opacity: .7; cursor: wait; }
.current-auth .auth-form__required-note { margin: 0 0 14px; }
.current-auth .auth-remember { display: flex; align-items: center; gap: 8px; }
.current-auth .auth-remember__checkbox { width: 14px; height: 14px; margin: 0; accent-color: var(--auth-green); }
.current-auth .auth-remember__label { color: var(--auth-muted); font-size: 11px; line-height: 16px; }
.current-auth .auth-submit-button { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 46px; padding: 10px 17px; border: 1px solid var(--auth-button); border-radius: 8px; background: var(--auth-button); color: var(--auth-button-ink); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 24px; letter-spacing: 0; box-shadow: none; text-shadow: none; transform: none; }
.current-auth .auth-submit-button:hover { filter: brightness(1.07); box-shadow: none; text-shadow: none; transform: none; }
.auth-submit-button > svg { order: 1; width: 16px; height: 16px; }
.auth-submit-button[aria-busy="true"] > svg { display: none; }
.current-auth .auth-submit-button .auth-spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-top-color: transparent; }
.current-auth .auth-form__mode-switch { margin: 20px 0 0; padding: 19px 0 0; border-top: 1px solid var(--auth-line); text-align: center; }
.current-auth .auth-mode-button { margin: 0; padding: 0; border: 0; background: none; color: var(--auth-muted); font-size: 11px; line-height: 1.6; }
.current-auth .auth-mode-button__action { color: var(--auth-green); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.current-auth .auth-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 17px 0 0; padding: 0; color: var(--auth-muted); font-size: 10px; line-height: 1.6; }
.current-auth .auth-footer a { color: inherit; text-decoration: none; }
.current-auth .auth-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.current-auth .auth-install-button { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--auth-line); border-radius: 0; background: none; color: var(--auth-muted); font-size: 10px; line-height: 16px; }
.current-auth .auth-install-button:hover { background: none; color: var(--auth-green); }
.current-auth .auth-install-button svg { width: 12px; height: 12px; }
.current-auth .forgot-password-modal { background: #0b2019a6; backdrop-filter: blur(3px); }
.current-auth .forgot-password-card { max-width: 420px; max-height: 90dvh; overflow-y: auto; border: 1px solid var(--auth-line); border-radius: 16px; background: var(--auth-paper); color: var(--auth-ink); box-shadow: 0 24px 80px #0003; }
.current-auth :is(.forgot-password-card__title, .forgot-password-success p) { color: var(--auth-ink); }
.current-auth .forgot-password-card__icon { width: 52px; height: 52px; background: var(--auth-slide); color: var(--auth-green); }
.current-auth .forgot-password-card__icon svg { width: 24px; height: 24px; }
.current-auth :is(.forgot-password-copy, .forgot-password-success__hint) { color: var(--auth-muted) !important; }
.current-auth .forgot-password-field label { color: var(--auth-text); }
.current-auth .forgot-password-card .forgot-password-form .forgot-password-field .forgot-password-input { width: 100%; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-field); color: var(--auth-ink); font-size: 16px; box-shadow: none; }
.current-auth .forgot-password-primary { color: var(--auth-button-ink); background: var(--auth-button); border-color: var(--auth-button); }
.current-auth .forgot-password-secondary { color: var(--auth-ink); background: var(--auth-paper); border-color: var(--auth-line); }
.current-auth .auth-phone-card { max-height: 90dvh; overflow-y: auto; background: var(--auth-paper); color: var(--auth-ink); border: 1px solid var(--auth-line); }
.current-auth .auth-phone-card > header h2 { color: var(--auth-ink); font-family: inherit; }
.current-auth :is(.auth-phone-card > header p, .auth-phone-step > p, .auth-phone-step > label) { color: var(--auth-muted); }
.current-auth .auth-phone-step :is(select, input:not([type="checkbox"])), .current-auth .auth-phone-number-row > span { background: var(--auth-field); color: var(--auth-ink); border-color: var(--auth-line); }
.current-auth .auth-phone-consent { color: var(--auth-muted) !important; }
.current-auth .auth-phone-primary { background: var(--auth-button); color: var(--auth-button-ink); }
.current-auth :is(.auth-phone-add, .auth-phone-status) { min-height: 44px; width: 100%; padding: 10px 12px; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-field); color: var(--auth-text); font-size: 12px; }
.current-auth .auth-phone-add:hover { background: var(--auth-slide); }
.current-auth .auth-phone-add svg, .current-auth .auth-phone-status svg { width: 17px; height: 17px; }
.questionnaire-login-entry { justify-content: center; padding-block: 40px; }
.questionnaire-login-entry__card { display: flex; flex-direction: column; align-items: center; gap: 20px; width: min(100%, 440px); padding: 32px 24px; border: 1px solid var(--auth-line); border-radius: 24px; background: var(--auth-paper); color: var(--auth-ink); text-align: center; }
.questionnaire-login-entry__card img { max-width: 100%; height: auto; object-fit: contain; }
.questionnaire-login-entry__card h1 { margin: 0; font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
.questionnaire-login-entry__card p { margin: 0; color: var(--auth-muted); line-height: 1.6; }
.questionnaire-login-entry__card a { padding: 12px; min-height: 44px; color: var(--auth-ink); text-underline-offset: 4px; }
@media (min-width: 1000px) { .current-auth { padding-top: 42px; } }
@media (max-width: 500px) {
  .current-auth { padding: 19px 20px 22px; background: var(--auth-paper); }
  .current-auth-content { max-width: 390px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .current-auth-logo { min-height: 52px; }
  .current-auth-logo img { width: 128px; }
  .current-auth .auth-theme-toggle { top: 7px; }
  .current-auth-heading h1 { margin: 13px 0 10px; font-size: 27px; }
  .auth-feature-card { gap: 13px; height: 128px; padding: 15px 16px; }
  .auth-feature-art { flex-basis: 70px; width: 70px; height: 76px; }
  .auth-feature-carousel { margin-bottom: 16px; }
  .current-auth .auth-form-card .auth-form .auth-field .auth-field__input { font-size: 16px; }
  .current-auth .auth-form__mode-switch { margin-top: 19px; padding-top: 17px; }
}
@media (max-width: 360px) {
  .current-auth { padding: 16px 18px 20px; }
  .current-auth-logo img { width: 122px; }
  .current-auth-heading h1 { font-size: 24px; }
  .auth-feature-card { gap: 10px; height: 136px; padding: 13px; }
  .auth-feature-copy h2 { font-size: 18px; }
  .auth-feature-copy p { font-size: 11px; }
  .auth-feature-art { flex-basis: 60px; width: 60px; height: 69px; }
  .auth-feature-controls { gap: 4px; }
  .current-auth .auth-feature-dot { width: 20px; }
  .current-auth .auth-feature-dot[aria-pressed="true"] { width: 26px; }
}
.current-auth .auth-oauth-origin-hint{padding:12px;border:1px solid var(--auth-line);border-radius:8px;background:var(--auth-field);color:var(--auth-ink);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.current-auth .auth-oauth-origin-hint[hidden]{display:none}
.current-auth .auth-oauth-origin-hint p{margin:0 0 8px}
.current-auth .auth-oauth-origin-hint a{color:inherit;text-decoration:underline;font-weight:600}
@media (prefers-reduced-motion: reduce) { .current-auth .auth-spinner { animation: none; } }
