
/* account-origin card — the HOD login door, verbatim. Marker: acct-hod-door-20260911 */
@font-face { font-family: "Trajan Pro"; src: url("/account-origin/trajan-pro.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Novecento wide"; src: url("/account-origin/novecento-wide-book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Novecento wide"; src: url("/account-origin/novecento-wide-demibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/account-origin/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --light-bg: #fdf7ec;
  --island: #ffffff;
  --hairline: rgba(68, 62, 51, 0.12);
  --ink: #443e33;
  --ink-body: #554e40;
  --ink-muted: #6f6557;
  --gold: #b79e65;
  --gold-ink: #8a6a34;
  --gold-hover: #a9834a;
  --line: #dddddd;
  --err: #b91c1c;
  --err-chip: #fdecec;
  --ok: #2e6b3e;
  --ok-chip: #e9f3ec;
  --elev-3: 0 2px 6px rgba(85, 78, 64, 0.08), 0 18px 44px rgba(85, 78, 64, 0.12);
  --radius-pill: 999px;
  --app-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --novecento-wide: "Novecento wide", var(--app-sans);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--light-bg); color: var(--ink-body); font-family: var(--app-sans); -webkit-font-smoothing: antialiased; }

/* Cream canvas, centred card. */
.acct_layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: var(--light-bg);
}
.acct_petal { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.acct_petal img { width: 100%; height: auto; display: block; }
.acct_petal--top { top: 28px; right: 36px; width: 144px; }
.acct_petal--bottom { bottom: 40px; left: 48px; width: 148px; }
.acct_rose { position: absolute; right: -28px; bottom: -72px; width: min(480px, 62vw); pointer-events: none; user-select: none; z-index: 0; }
.acct_rose img { width: 100%; height: auto; display: block; }

/* The card. Liquid glass over the rose canvas; solid island fallback. */
.acct_card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--island);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  box-shadow: var(--elev-3);
  padding: 40px 36px 36px;
  overflow: hidden;
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .acct_card {
    background: rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(24px) saturate(170%) brightness(1.06);
    backdrop-filter: blur(24px) saturate(170%) brightness(1.06);
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow: var(--elev-3), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }
  .acct_card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse 80% 42% at 28% 0%, rgba(255, 255, 255, 0.42) 0%, transparent 70%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .acct_card { background: var(--island); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--hairline); box-shadow: var(--elev-3); }
  .acct_card::before { content: none; }
}

/* Brand: rose mark + wordmark. */
.acct_brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 20px; }
.acct_brand_rose { color: var(--gold-ink); }
.acct_brand_name { font-family: var(--novecento-wide); font-weight: 400; font-size: 12px; line-height: 1; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-muted); }

/* Title + subtitle (Trajan Pro is an all-caps face). */
.acct_title { font-family: "Trajan Pro", serif; font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: var(--gold-ink); margin: 0 0 8px; }
.acct_subtitle { font-size: 14px; font-weight: 400; line-height: 22px; color: var(--ink-muted); text-align: center; margin: 0 0 4px; }
.acct_subtitle strong { color: var(--ink-body); font-weight: 600; }

/* Fields. */
.acct_group { margin-top: 24px; position: relative; }
.acct_group:first-of-type { margin-top: 16px; }
.acct_two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.acct_two .acct_group { margin-top: 16px; }
.acct_phone { display: grid; grid-template-columns: 96px 1fr; gap: 0 12px; }
.acct_phone .acct_group { margin-top: 16px; }
.acct_group label { display: block; font-family: var(--app-sans); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.acct_control {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 11px 16px;
  font-family: var(--app-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--ink-muted);
  background: var(--island);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  appearance: none;
  -webkit-appearance: none;
}
.acct_control::placeholder { color: var(--ink-muted); font-weight: 600; opacity: 1; }
.acct_control:focus { outline: none; box-shadow: none; border-color: var(--gold); }
.acct_control:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.acct_input_wrap { position: relative; margin-top: 8px; }
.acct_input_wrap .acct_control { margin-top: 0; padding-right: 48px; }
.acct_eye_btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 0; width: 44px; height: 44px;
  display: none; align-items: center; justify-content: center; cursor: pointer;
  color: var(--ink-body); border-radius: 50%;
}
html.acct_js .acct_eye_btn { display: inline-flex; }
.acct_eye_btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.acct_eye_icon--hide { display: none; }
.acct_eye_btn[aria-pressed="true"] .acct_eye_icon--show { display: none; }
.acct_eye_btn[aria-pressed="true"] .acct_eye_icon--hide { display: inline; }

/* Keep-me-signed-in + Forgot Password on one row. */
.acct_row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; margin-bottom: 8px; }
.acct_keep { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; color: var(--ink-muted); cursor: pointer; }
.acct_keep input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); flex: 0 0 auto; }
.acct_terms { margin-top: 18px; align-items: flex-start; line-height: 20px; }
.acct_terms input { margin-top: 2px; }
.acct_link { font-size: 14px; font-weight: 500; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.acct_link:hover { color: var(--gold-hover); }
.acct_link--strong { font-weight: 600; }
.acct_linkbtn { background: none; border: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.acct_linkbtn:hover { color: var(--gold-hover); }
.acct_inline_form { margin: 0; }

/* The one gold-lacquer CTA per card. */
.acct_submit {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 14px 18px;
  font-family: var(--novecento-wide);
  font-weight: 600;
  font-synthesis: none;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--island);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hover) 100%);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: none;
  cursor: pointer;
}
.acct_submit:hover { background: linear-gradient(90deg, var(--gold-hover) 0%, var(--gold-ink) 100%); }
.acct_submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.acct_submit[disabled], .acct_linkbtn[disabled] { opacity: 0.7; cursor: progress; }
a.acct_submit { text-align: center; text-decoration: none; box-sizing: border-box; } /* acct-form-resume-20260917 */

/* Status voice (one slot), bottom text, hint. */
.acct_alert { border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 18px; margin: 16px 0 0; }
.acct_alert--error { background: var(--err-chip); color: var(--err); }
.acct_alert--notice { background: var(--ok-chip); color: var(--ok); }
.acct_bottom { margin: 24px 0 0; font-size: 14px; font-weight: 400; color: var(--ink-muted); text-align: center; }
.acct_bottom--tight { margin-top: 10px; }
.acct_hint { color: var(--ink-muted); font-size: 13px; line-height: 20px; margin: 16px 0 0; }

@media (max-width: 991px) {
  .acct_card { padding: 36px 32px 32px; }
  .acct_petal--top { width: 110px; top: 16px; right: 12px; }
  .acct_petal--bottom { width: 112px; bottom: 20px; left: 12px; }
}
@media (max-width: 767px) {
  .acct_layout { padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  .acct_card { max-width: 100%; padding: 52px 20px 28px; border-radius: 22px; }
  .acct_brand_rose { width: 36px; height: 34px; }
  .acct_submit, .acct_control { min-height: 44px; }
  .acct_petal--top { width: 72px; top: 8px; right: 4px; }
  .acct_petal--bottom { width: 76px; bottom: 12px; left: 4px; }
}
@media (max-width: 575px) {
  .acct_card { padding: 48px 16px 24px; border-radius: 20px; }
  .acct_title { font-size: 18px; line-height: 1.25; }
  .acct_petal--top, .acct_petal--bottom { width: 56px; }
  .acct_two { grid-template-columns: 1fr; }
  .acct_two .acct_group { margin-top: 24px; }
  .acct_two .acct_group:first-of-type { margin-top: 16px; }
  .acct_row { flex-wrap: wrap; }
}
