/* Public surfaces only: keep the established GooseNews palette and typography. */
.auth-shell { width: min(1240px, calc(100% - 48px)); min-height: 0; margin: 24px auto; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px; align-items: stretch; }
.auth-story { min-height: 0; padding: clamp(28px, 4vw, 56px); border-radius:2px; justify-content: flex-start; }
.auth-story > * { position: relative; z-index: 1; }
.auth-brand-mark { width: 72px; height: 72px; margin-bottom: 32px; }
.auth-story h1 { font-size: clamp(2.1rem, 3.9vw, 3.8rem); line-height: 1.1; letter-spacing: -.035em; }
.auth-copy { font-size: .98rem; line-height: 1.7; margin: 22px 0 0; }
.trust-row { flex-wrap: wrap; gap: 9px 20px; margin-top: 28px; font-size: .71rem; line-height: 1.6; letter-spacing: 0; }
.preview-link { width: fit-content; display: inline-flex; gap: 18px; margin-top: 22px; color: #fff; font-size: .83rem; text-underline-offset: 5px; }
.auth-panel { min-width: 0; padding: clamp(24px, 3.7vw, 48px); border: 1px solid var(--line); border-radius:2px; justify-content: center; }
.auth-tabs { gap: 24px; margin-bottom: 24px; }
.auth-tabs button { margin: 0; font-size: .84rem; }
.form-field { display: grid; gap: .45rem; min-width: 0; }
.password-field { display: flex; min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.password-field:focus-within { border-color: var(--green2); box-shadow: 0 0 0 3px rgba(45,106,85,.12); }
.stack .password-field input { min-width: 0; border: 0; box-shadow:none; background: transparent; }
.password-field button { flex-shrink: 0; min-width: 56px; border: 0; background: transparent; color: var(--green); font-size: .75rem; font-weight:500; padding: 0 12px; }
.forgot-link { justify-self: end; width: auto; min-height: 32px; margin-top: -6px; font-size: .78rem; border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; }
.auth-public-links { display: flex; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.auth-public-links a, .dialog-policy-link { color: var(--green); font-size: .75rem; text-underline-offset: 3px; }
#auth-message:empty, #reset-message:empty { display: none; }
#reset-help { margin: 0; line-height: 1.6; }
.auth-shell.registering { grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr); align-items: start; }
.registering .auth-story { padding: 32px; }
.registering .auth-story h1 { font-size: clamp(1.85rem, 2.6vw, 2.5rem); }
.registering .auth-brand-mark { margin-bottom: 24px; }
.registering .auth-copy { font-size: .88rem; }
.registering .auth-panel { padding: 28px 32px; }
.registering .auth-tabs { margin-bottom: 20px; }
.registration-policy h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.policy-intro { margin: 10px 0 16px; font-size: .82rem; }
.policy-practice-list { gap: 0; }
.policy-practice-list article { display: block; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.policy-practice-list strong { font-size: .81rem; }
.policy-practice-list p { font-size: .78rem; line-height: 1.5; margin: 4px 0 0; }
.consent-check { gap: 10px; margin-top: 16px; padding: 12px; }
.consent-check input { flex-shrink: 0; width: 17px; height: 17px; }
#continue-registration { margin-top: 12px; }
.policy-version { font-size: .66rem; }
#register-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#register-form > .form-step-head, #register-form > .full-field, #register-form > .consent-receipt, #register-form > button { grid-column: 1 / -1; }
#register-form label, #register-form select { min-width: 0; }
.public-preview, .public-footer { grid-column: 1 / -1; }
.public-preview { padding: 28px 0 0; scroll-margin-top: 24px; }
.public-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.public-section-heading h2 { margin: 0; font-family:var(--font-editorial); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 400; }
.public-section-heading > p { max-width: 350px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.example-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.example-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius:2px; background: var(--panel); }
.example-card.example-edition { background: #eaf0e6; border-color: #c2d2c1; }
.example-step { color: var(--green); font-size: .66rem; letter-spacing: .1em; font-weight:500; margin: 0 0 28px; }
.example-source { font-size: .68rem; color: var(--muted); line-height: 1.5; }
.example-card h3 { font-family:var(--font-editorial); font-size: 1.7rem; line-height: 1.2; font-weight: 400; margin: 12px 0; }
.example-card > p:not(.example-step) { line-height: 1.75; font-size: .89rem; }
.example-card .example-note, .example-note { font-size: .75rem !important; color: var(--muted); line-height: 1.65; }
.example-vocabulary { margin: 0; }
.example-vocabulary dt { font-family:var(--font-editorial); font-size: 1.3rem; color: var(--green); }
.example-vocabulary dt span { font-family:var(--font-editorial); font-size: .65rem; font-style: italic; color: var(--muted); margin-left: 6px; }
.example-vocabulary dd { margin: 6px 0 18px; font-size: .86rem; line-height: 1.55; }
.example-answer { border-top: 1px solid var(--line); padding-top: 14px; font-size: .83rem; line-height: 1.6; }
.example-answer summary { cursor: pointer; color: var(--green); font-weight:500; }
.beta-details { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.beta-details h3, .public-processing h3 { font-family:var(--font-editorial); font-weight: 400; font-size: 1.35rem; margin: 0 0 10px; }
.beta-details p, .public-processing p { font-size: .88rem; line-height: 1.7; margin: 8px 0; }
.public-inline-link, .public-processing a { color: var(--green); text-underline-offset: 3px; font-size: .82rem; }
.public-processing { padding: 26px 0 4px; }
.public-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.public-footer nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.public-footer a { color: var(--green); text-underline-offset: 3px; }
.legal-page > .public-footer { margin-top: 32px; }
.operator-details { display: grid; gap: 16px; }
.operator-details > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.operator-details dt { font-weight:500; font-size: .84rem; }
.operator-details dd { margin: 0; font-size: .86rem; white-space: pre-line; overflow-wrap: anywhere; }
.operator-notice { padding: 14px 18px; border-left: 3px solid #b88635; background: #fff8e9; }
.legal-section, #contact { scroll-margin-top: 76px; }
#complaint-form button:disabled { cursor: wait; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green2); outline-offset: 4px; }
.auth-story a:focus-visible { outline-color: #fff; }
@media (max-width: 820px) {
  .auth-shell, .auth-shell.registering { width: min(640px, calc(100% - 32px)); margin: 16px auto; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .auth-story, .registering .auth-story { padding: 28px; }
  .auth-story h1 { font-size: 2.35rem; }
  .auth-brand-mark { width: 56px; height: 56px; margin-bottom: 20px; }
  .auth-panel, .registering .auth-panel { padding: 24px; }
  .registering .auth-story h1 { font-size: 1.55rem; }
  .registering .auth-story .auth-copy, .registering .auth-story .trust-row, .registering .auth-story .preview-link { display: none; }
  .registering .auth-brand-mark { width: 40px; height: 40px; margin-bottom: 12px; }
  .public-section-heading { display: block; }
  .public-section-heading > p { margin-top: 14px; }
  .example-flow, .beta-details { grid-template-columns: minmax(0, 1fr); }
  .example-card { padding: 24px; }
  .example-step { margin-bottom: 20px; }
  .beta-details { gap: 18px; }
  .public-footer { align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
  .auth-shell, .auth-shell.registering { width: calc(100% - 24px); margin: 12px auto; }
  .auth-story, .auth-panel, .registering .auth-story, .registering .auth-panel { padding: 22px; }
  .auth-story h1 { font-size: 2.05rem; }
  #register-form { grid-template-columns: minmax(0, 1fr); }
  .form-step-head { align-items: start; flex-direction: column; }
  .operator-details > div { grid-template-columns: 1fr; gap: 5px; }
}
