:root {
  --ink: #183038;
  --ink-soft: #345159;
  --navy: #102f36;
  --navy-2: #173f46;
  --paper: #f2f5f2;
  --surface: #ffffff;
  --surface-soft: #f8faf8;
  --line: #d9e2de;
  --line-strong: #c5d1cc;
  --muted: #6a7d80;
  --jade: #087b72;
  --jade-deep: #05655e;
  --jade-soft: #dcefeb;
  --red: #bd4b3a;
  --red-soft: #f7e6e2;
  --gold: #c49a35;
  --gold-soft: #f6edd4;
  --shadow-sm: 0 1px 2px rgba(16, 47, 54, .06), 0 8px 22px rgba(16, 47, 54, .04);
  --shadow-md: 0 18px 50px rgba(16, 47, 54, .10);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --font-body: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-display: "Songti SC", "STSong", "SimSun", serif;
  --font-data: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
::selection { background: var(--gold-soft); color: var(--navy); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 1rem; }

.shell {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  padding: 28px 18px 20px;
  color: #eaf2f0;
  background: var(--navy);
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.sidebar::before {
  content: "";
  position: fixed;
  z-index: 21;
  top: 0;
  left: 0;
  width: 4px;
  height: 100vh;
  background: var(--gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 10px;
  margin-bottom: 38px;
  color: #fff;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 12px 12px 12px 3px;
  color: var(--navy);
  background: #f5f2e9;
  box-shadow: 4px 4px 0 var(--gold);
}
.brand-mark b {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font: 700 17px/1 var(--font-display);
}
.brand-mark b + b { color: #f8f5eb; background: var(--jade); }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 20px; letter-spacing: .08em; }
.brand-copy small { margin-top: 4px; color: #9eb7b7; font-size: 10px; letter-spacing: .12em; }

.nav-label {
  margin: 0 14px 10px;
  color: #759396;
  font: 10px/1 var(--font-data);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #b9cccb;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.sidebar nav a span {
  color: #64878a;
  font: 10px/1 var(--font-data);
}
.sidebar nav a b { font-size: 13px; font-weight: 500; }
.sidebar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .055);
  transform: translateX(2px);
}
.sidebar nav a.active {
  color: #fff;
  background: var(--navy-2);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: inset 3px 0 0 var(--gold);
}
.sidebar nav a.active span { color: #e5bf60; }

.sidebar-note {
  margin-top: auto;
  padding: 18px 13px 4px;
  border-top: 1px solid rgba(255, 255, 255, .11);
}
.sidebar-note > span {
  color: #78999a;
  font-size: 10px;
  letter-spacing: .14em;
}
.sidebar-note p {
  margin: 12px 0 0;
  color: #b9cdcb;
  font-size: 11px;
  line-height: 2;
}
.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
}
.legend-dot.positive { background: #6dc7b9; }
.legend-dot.negative { background: #e38370; }

.page { min-width: 0; }
.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(24px, 4vw, 62px);
  border-bottom: 1px solid rgba(197, 209, 204, .8);
  background: rgba(242, 245, 242, .94);
  backdrop-filter: blur(16px);
}
.eyebrow {
  display: block;
  margin: 0;
  color: #799092;
  font: 10px/1.35 var(--font-data);
  letter-spacing: .2em;
}
.page-context strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 650;
}
.mobile-wordmark { display: none; color: var(--navy); font: 700 16px var(--font-display); text-decoration: none; letter-spacing: .08em; }
.user-chip { display: flex; align-items: center; gap: 11px; }
.user-chip > span {
  padding: 5px 9px;
  border: 1px solid #c9d8d3;
  border-radius: 99px;
  color: var(--jade-deep);
  background: var(--jade-soft);
  font-size: 10px;
}
.user-chip > strong { font-size: 12px; font-weight: 600; }
.user-chip form { margin-left: 4px; }
.user-chip button {
  padding: 5px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.user-chip button:hover { color: var(--red); }

main {
  width: 100%;
  max-width: 1640px;
  min-height: calc(100vh - 132px);
  padding: 40px clamp(24px, 4vw, 62px) 72px;
  margin: 0 auto;
  animation: page-in .38s cubic-bezier(.22, 1, .36, 1) both;
}
.page > footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(24px, 4vw, 62px) 28px;
  color: #829294;
  font-size: 10px;
}
.page > footer span:first-child { color: var(--ink-soft); font-weight: 700; letter-spacing: .12em; }

@keyframes page-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.hero-row h1 {
  max-width: 900px;
  margin: 7px 0 8px;
  font: 700 clamp(27px, 3.5vw, 42px)/1.12 var(--font-display);
  letter-spacing: -.025em;
}
.hero-row .muted { max-width: 760px; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.75; }
.back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}
.back:hover { color: var(--jade); }

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.panel-head h2 {
  margin: 5px 0 0;
  font: 700 19px/1.2 var(--font-display);
}
.panel-head a, .panel-head > span {
  color: var(--jade);
  font-size: 11px;
  text-decoration: none;
}
.panel-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 1px rgba(16, 47, 54, .03);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16, 47, 54, .09); }
.button.primary { border-color: var(--jade); color: #fff; background: var(--jade); }
.button.primary:hover { background: var(--jade-deep); }
.button.full { width: 100%; }
.button.compact { min-height: 34px; padding: 7px 10px; }
.danger-button { border-color: var(--red); color: #fff; background: var(--red); }

.messages { display: grid; gap: 8px; margin-bottom: 20px; }
.messages p {
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #c7ddd6;
  border-left: 4px solid var(--jade);
  border-radius: var(--radius-sm);
  color: var(--jade-deep);
  background: var(--jade-soft);
  font-size: 12px;
}
.messages p.error {
  border-color: #eacbc5;
  border-left-color: var(--red);
  color: #8f3528;
  background: var(--red-soft);
}

.search { display: flex; }
.search input {
  width: min(340px, 46vw);
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px 0 0 10px;
  background: var(--surface);
  font-size: 12px;
}
.search button {
  padding: 0 18px;
  border: 0;
  border-radius: 0 10px 10px 0;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
}

.table-panel { overflow: hidden; margin-bottom: 22px; }
.table-scroll { overflow: auto; }
table { width: 100%; min-width: 800px; border-collapse: separate; border-spacing: 0; }
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid #e6ece8;
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
}
th {
  position: sticky;
  z-index: 1;
  top: 0;
  color: #6e8182;
  background: #f3f6f3;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .14s ease; }
tbody tr:hover td { background: #fbfcfb; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: var(--muted); }
.number { text-align: right; font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.mono { color: #617779; font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.balance-cell { color: var(--ink); background: #f8faf8; font-weight: 700; }
.row-link { color: var(--jade); font-size: 11px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.empty { padding: 38px 24px !important; color: var(--muted) !important; text-align: center !important; }

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 99px;
  color: #566b6e;
  background: #e9efec;
  font-size: 10px;
  white-space: nowrap;
}
.status.active, .status.settled, .status.success {
  color: var(--jade-deep);
  background: var(--jade-soft);
}
.status.failed {
  color: #963929;
  background: var(--red-soft);
}
.amount-negative, .danger { color: var(--red) !important; }
.amount-positive { color: var(--jade) !important; }

.detail-balance {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) 1.6fr;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.detail-balance > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  border-right: 1px solid var(--line);
  box-shadow: inset 4px 0 0 var(--gold);
}
.detail-balance > div span, .detail-balance > div small { display: block; color: var(--muted); font-size: 10px; }
.detail-balance > div strong {
  display: block;
  margin: 10px 0;
  font: 700 38px/1 var(--font-data);
  letter-spacing: -.05em;
}
.detail-balance dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 20px;
  align-items: center;
  padding: 28px;
  margin: 0;
}
.detail-balance dt { color: var(--muted); font-size: 10px; }
.detail-balance dd { margin: 8px 0 0; font: 650 15px var(--font-data); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.stat-grid article { padding: 20px 24px; border-right: 1px solid var(--line); }
.stat-grid article:last-child { border-right: 0; }
.stat-grid span, .stat-grid small { display: block; color: var(--muted); font-size: 10px; }
.stat-grid strong { display: block; margin: 6px 0; font: 700 28px var(--font-data); }

.split-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.ledger-list a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 55px;
  padding: 14px 24px;
  border-bottom: 1px solid #e8eeea;
  text-decoration: none;
}
.ledger-list a:last-child { border-bottom: 0; }
.ledger-list a:hover { background: var(--surface-soft); }
.ledger-list .code { color: #6f8586; font: 10px var(--font-data); }
.ledger-list .name { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ledger-list strong { font: 650 13px var(--font-data); }

.timeline { padding: 4px 24px 8px; }
.timeline > div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid #e8eeea;
}
.timeline > div:last-child { border-bottom: 0; }
.timeline > div > span {
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 1px var(--jade);
}
.timeline p { min-width: 0; margin: 0; }
.timeline strong, .timeline small { display: block; }
.timeline strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.timeline small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.timeline em { color: var(--jade); font-size: 10px; font-style: normal; }

.form-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.form-panel aside {
  padding-left: 32px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.form-panel aside strong { color: var(--ink); }
.form-panel aside ol { padding-left: 18px; line-height: 1.9; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 650; }
.field input, .field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.form-error {
  margin: 16px 0;
  padding: 11px 13px;
  border: 1px solid #e8c6bf;
  border-radius: var(--radius-sm);
  color: #923929;
  background: var(--red-soft);
  font-size: 11px;
}
.form-error p { margin: 0; }

/* Dashboard — the horizontal balance rail is the visual signature of 大千记账. */
.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 168px;
  margin-bottom: 26px;
  padding: 8px 4px 0;
}
.dashboard-hero h1 {
  margin: 10px 0 12px;
  font: 700 clamp(38px, 5vw, 64px)/.98 var(--font-display);
  letter-spacing: -.055em;
}
.dashboard-hero h1 em { color: var(--jade); font-style: normal; }
.dashboard-hero > div:first-child > p:last-child { max-width: 600px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.hero-date {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--gold);
}
.hero-date > strong { font: 700 50px/.85 var(--font-data); letter-spacing: -.08em; }
.hero-date > span { color: var(--ink-soft); font-size: 12px; }
.hero-date small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.position-card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: #eef7f4;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.position-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 4px;
  background: var(--gold);
}
.position-card.receivable::before { background: #61c1b2; }
.position-card.attention { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.position-card.attention::before { background: var(--red); }
.position-card header, .position-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.position-card header span { font-size: 12px; font-weight: 650; }
.position-card header small { color: #8eacab; font: 9px var(--font-data); letter-spacing: .13em; text-transform: uppercase; }
.position-card.attention header small { color: var(--muted); }
.position-card > strong {
  display: block;
  margin: 25px 0 24px;
  font: 700 clamp(29px, 3vw, 42px)/1 var(--font-data);
  letter-spacing: -.055em;
}
.position-card footer { color: #a9bfbd; font-size: 10px; }
.position-card.attention footer { color: var(--muted); }
.position-card footer a { color: var(--red); font-weight: 650; text-decoration: none; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.dashboard-column { display: grid; gap: 20px; align-content: start; min-width: 0; }

.account-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.account-card-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.account-mini-card,
.account-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.account-mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.account-mini-card span { color: var(--muted); font-size: 10px; }
.account-mini-card strong { font: 700 18px/1 var(--font-data); }
.account-mini-card small { color: var(--muted); font-size: 9px; }
.account-mini-card:hover { border-color: rgba(25, 132, 119, .45); transform: translateY(-2px); }
.account-card { padding: 22px; }
.account-card header,
.account-card footer { display: flex; justify-content: space-between; gap: 12px; }
.account-card header { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.account-card h2 { margin: 14px 0 8px; font: 700 20px var(--font-display); }
.account-card > strong { display: block; margin: 18px 0; font: 700 30px/1 var(--font-data); }
.account-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.account-card dl div { padding: 9px; border-radius: 8px; background: var(--surface-soft); }
.account-card dt { color: var(--muted); font-size: 9px; }
.account-card dd { margin: 4px 0 0; font: 650 12px var(--font-data); }
.account-card > p { min-height: 36px; font-size: 9px; }
.account-card footer { padding-top: 15px; border-top: 1px solid var(--line); }
.metric-date { font-size: clamp(20px, 2vw, 28px) !important; letter-spacing: -.02em !important; }
.prose-panel { padding-bottom: 24px; }
.prose-panel > p { padding: 0 24px; line-height: 1.8; }
.detail-list { display: grid; gap: 10px; margin: 20px 24px 0; }
.detail-list div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: 10px; }
.detail-list dd { margin: 0; }
.warning-box {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(190, 75, 59, .28);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  background: #fff8f5;
}
.warning-box strong { display: block; margin-bottom: 5px; }
.warning-box p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

/* Login */
.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background: var(--navy);
}
.login-card {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  width: min(980px, 100%);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 36px 100px rgba(0, 0, 0, .28);
}
.login-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 52px;
  color: #edf5f3;
  background: var(--navy-2);
}
.login-intro::after {
  content: "账";
  position: absolute;
  right: -18px;
  bottom: -52px;
  color: rgba(255, 255, 255, .035);
  font: 700 260px/1 var(--font-display);
}
.login-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 68px; }
.login-brand > strong { font-size: 21px; letter-spacing: .12em; }
.login-intro h1 {
  position: relative;
  z-index: 1;
  margin: 13px 0 22px;
  font: 700 clamp(36px, 4vw, 52px)/1.16 var(--font-display);
  letter-spacing: -.04em;
}
.login-intro h1 em { color: #79d2c3; font-style: normal; }
.login-intro > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 450px;
  color: #a9c1bf;
  font-size: 12px;
  line-height: 1.9;
}
.login-proof {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.login-proof span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 99px;
  color: #aac2c0;
  font-size: 9px;
}
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 70px);
}
.login-form h2 { margin: 9px 0 5px; font: 700 28px var(--font-display); }
.login-form form { margin-top: 28px; }
.login-form label { display: block; margin: 17px 0 7px; font-size: 11px; font-weight: 650; }
.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-soft);
}
.login-form input:focus { border-color: var(--jade); background: #fff; }
.login-form .button { margin-top: 25px; }
.login-help { margin-top: 19px; color: var(--muted); font-size: 9px; text-align: center; }

:focus-visible { outline: 3px solid rgba(196, 154, 53, .65); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.page > footer a,
.compliance-links a {
  color: inherit;
  text-decoration: none;
}
.page > footer a:hover,
.compliance-links a:hover { color: var(--jade); text-decoration: underline; }
.compliance-links {
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}