/*
 * RyskSoft design system
 * ----------------------
 * Every colour, size and radius is a token on :root. Rebranding for a
 * white-label deployment means changing this block and nothing else.
 */

:root {
  /* Brand */
  --brand-900: #06363B;
  --brand-700: #0B5058;
  --brand-600: #0D5C63;
  --brand-500: #17787F;
  --brand-100: #DCEDEE;
  --brand-50:  #F1F8F8;

  /* Neutrals, cooled very slightly toward the brand */
  --ink-900: #101A1C;
  --ink-700: #2C3B3E;
  --ink-500: #5A6B6E;
  --ink-400: #7C8D90;
  --ink-300: #A9B7B9;
  --rule:     #DDE5E5;
  --rule-soft:#EAF0F0;
  --surface:  #FFFFFF;
  --page:     #F5F8F8;
  --sunken:   #EDF3F3;

  /* Semantic, kept separate from the brand colour */
  --good-600: #146B45;  --good-50: #E4F2EB;
  --warn-600: #8A5A08;  --warn-50: #FAEEDB;
  --risk-600: #A32A21;  --risk-50: #F8E5E3;
  --info-600: #2E5A80;  --info-50: #E3ECF4;

  --radius:    6px;
  --radius-sm: 4px;
  --shadow-card: 0 1px 2px rgba(16,26,28,.06);
  --shadow-pop:  0 8px 24px rgba(16,26,28,.12);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --nav-w: 232px;
  --topbar-h: 56px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--page);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- shell */

.shell { display: grid; grid-template-columns: var(--nav-w) 1fr; min-height: 100vh; }

.sidebar {
  background: var(--brand-900);
  color: #CFE3E4;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 5px;
  background: linear-gradient(150deg, var(--brand-500), #2FA3A8);
  display: grid; place-items: center;
  color: #04292D; font-size: 12px; font-weight: 800;
}

.nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 1px; flex: 1; overflow-y: auto; }

.nav-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em;
  color: #6E9296; padding: 14px 10px 6px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  color: #CFE3E4; font-size: 13.5px;
}
.nav-item:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.nav-item.is-active { background: var(--brand-600); color: #fff; font-weight: 550; }
.nav-item svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.nav-count {
  margin-left: auto; background: #E8B54A; color: #3A2A05;
  font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 9px;
}

.nav-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #7FA3A7; }

.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 20;
}

.org {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 10px 5px 8px; border: 1px solid var(--rule);
  border-radius: var(--radius); background: var(--surface);
}
.org-avatar {
  width: 24px; height: 24px; border-radius: var(--radius-sm);
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.org-name { font-weight: 600; font-size: 13px; }
.org-role { color: var(--ink-400); font-size: 12px; }

.topbar-spacer { flex: 1; }

.who { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.who-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sunken); color: var(--ink-700);
  display: grid; place-items: center; font-size: 11.5px; font-weight: 650;
}

.content { padding: 24px; max-width: 1280px; width: 100%; }

/* --------------------------------------------------------------- header */

.page-head {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.page-head h1 {
  margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -0.015em;
}
.page-head p { margin: 3px 0 0; color: var(--ink-500); font-size: 13.5px; }
.page-head .spacer { flex: 1; }

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card-head {
  padding: 14px 16px; border-bottom: 1px solid var(--rule-soft);
  display: flex; align-items: center; gap: 12px;
}
.card-head h2 { margin: 0; font-size: 14px; font-weight: 650; }
.card-head .spacer { flex: 1; }
.card-body { padding: 16px; }
.card-foot {
  padding: 10px 16px; border-top: 1px solid var(--rule-soft);
  background: var(--brand-50); font-size: 12.5px; color: var(--ink-500);
  border-radius: 0 0 var(--radius) var(--radius);
}

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------------------------------------------------------------- stats */

.stat { padding: 14px 16px; }
.stat-k {
  font-size: 11px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-400); font-weight: 600;
}
.stat-v {
  font-size: 26px; font-weight: 640; letter-spacing: -0.02em;
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.stat-v small { font-size: 14px; color: var(--ink-400); font-weight: 500; margin-left: 2px; }
.stat-n { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }

/* --------------------------------------------------------------- badges */

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: var(--sunken); color: var(--ink-700);
}
.pill-good { background: var(--good-50); color: var(--good-600); }
.pill-warn { background: var(--warn-50); color: var(--warn-600); }
.pill-risk { background: var(--risk-50); color: var(--risk-600); }
.pill-info { background: var(--info-50); color: var(--info-600); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 570; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-default { background: var(--surface); color: var(--ink-700); border-color: var(--rule); }
.btn-default:hover { background: var(--sunken); }
.btn-danger { background: var(--surface); color: var(--risk-600); border-color: #E9C8C4; }
.btn-danger:hover { background: var(--risk-50); }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn-ghost { background: transparent; color: var(--ink-500); }
.btn-ghost:hover { background: var(--sunken); color: var(--ink-900); }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* --------------------------------------------------------------- tables */

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-400); font-weight: 650;
  padding: 9px 16px; border-bottom: 1px solid var(--rule);
  background: var(--brand-50);
}
.table td { padding: 11px 16px; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--brand-50); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.muted { color: var(--ink-400); }
.strong { font-weight: 600; }
.mono { font-family: var(--mono); font-size: .92em; }

/* ---------------------------------------------------------- empty state */

.empty { padding: 36px 20px; text-align: center; color: var(--ink-400); }
.empty-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sunken); display: grid; place-items: center;
  margin: 0 auto 10px; color: var(--ink-300);
}
.empty h3 { margin: 0 0 4px; font-size: 14px; color: var(--ink-700); font-weight: 600; }
.empty p { margin: 0; font-size: 13px; }

/* --------------------------------------------------------------- alerts */

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--radius);
  border: 1px solid var(--rule); background: var(--surface);
  font-size: 13.5px;
}
.alert-action { border-color: #E8D6A8; background: #FDF8EC; }
.alert strong { display: block; margin-bottom: 1px; }
.alert .spacer { flex: 1; }

/* ------------------------------------------------------- renewal ribbon */

.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.month {
  border: 1px solid var(--rule-soft); border-radius: var(--radius-sm);
  padding: 8px 6px; text-align: center; background: var(--surface);
}
.month-name { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-400); }
.month-count { font-size: 17px; font-weight: 640; margin-top: 2px; font-variant-numeric: tabular-nums; }
.month.has { background: var(--brand-50); border-color: var(--brand-100); }
.month.has .month-count { color: var(--brand-700); }
.month.soon { background: #FDF8EC; border-color: #EEDCB2; }
.month.soon .month-count { color: var(--warn-600); }

/* ------------------------------------------------------- change details */

.change { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.change + .change { margin-top: 12px; }
.change-head {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--rule-soft);
}
.change-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm); flex: none;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.change-title { font-size: 14.5px; font-weight: 620; margin: 0; }
.change-meta { font-size: 12.5px; color: var(--ink-500); margin: 2px 0 0; }
.change-body { padding: 4px 16px 14px; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2px 20px; }
.field { padding: 7px 0; border-bottom: 1px solid var(--rule-soft); }
.field-k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); font-weight: 600; }
.field-v { font-size: 13.5px; margin-top: 1px; font-variant-numeric: tabular-nums; }
.field-v.was { color: var(--ink-400); text-decoration: line-through; font-size: 12.5px; }

.change-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-top: 1px solid var(--rule-soft); background: var(--brand-50);
  border-radius: 0 0 var(--radius) var(--radius); flex-wrap: wrap;
}
.change-foot .spacer { flex: 1; }
.change-foot .note { font-size: 12.5px; color: var(--ink-500); }

/* --------------------------------------------------------------- forms */

.input, .select, .textarea {
  width: 100%; padding: 7px 10px; font-family: inherit; font-size: 13.5px;
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink-900);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100);
}
.label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.field-group { margin-bottom: 14px; }
.hint { font-size: 12px; color: var(--ink-400); margin-top: 3px; }

/* --------------------------------------------------------------- login */

.auth-page { min-height: 100vh; display: grid; place-items: center; background: var(--brand-900); padding: 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; font-size: 17px; margin-bottom: 18px; justify-content: center; }
.auth-tag { text-align: center; color: #86AEB2; font-size: 12.5px; margin: -12px 0 20px; letter-spacing: .02em; }

/* ------------------------------------------------------------ utilities */

.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-sm { font-size: 12.5px; }
.nowrap { white-space: nowrap; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .nav { flex-direction: row; overflow-x: auto; }
  .nav-label, .nav-foot { display: none; }
  .months { grid-template-columns: repeat(6, 1fr); }
  .content { padding: 16px; }
}

/* --------------------------------------------------------- claim tracker */

.tracker { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding: 4px 0 2px; }
.tstep { flex: 1 1 0; min-width: 96px; position: relative; text-align: center; padding: 0 4px; }
.tstep::before {
  content: ""; position: absolute; top: 11px; left: -50%; width: 100%;
  height: 2px; background: var(--rule);
}
.tstep:first-child::before { display: none; }
.tstep.done::before, .tstep.now::before { background: var(--brand-500); }
.tdot {
  width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 7px;
  background: var(--surface); border: 2px solid var(--rule);
  display: grid; place-items: center; position: relative; z-index: 1;
  color: var(--ink-300); font-size: 11px; font-weight: 700;
}
.tstep.done .tdot { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.tstep.now .tdot {
  border-color: var(--brand-600); color: var(--brand-700);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.tstep-label { font-size: 11.5px; color: var(--ink-400); line-height: 1.35; }
.tstep.done .tstep-label { color: var(--ink-700); }
.tstep.now .tstep-label { color: var(--brand-700); font-weight: 640; }
.tstep-date { font-size: 10.5px; color: var(--ink-300); margin-top: 2px; }

.tracker-off {
  margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--risk-50); border: 1px solid #EED9D6; font-size: 13px;
}

/* -------------------------------------------------------------- timeline */

.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: var(--rule-soft);
}
.tl-item { position: relative; padding: 0 0 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -21px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand-500);
}
.tl-when { font-size: 11.5px; color: var(--ink-400); }
.tl-what { font-size: 13.5px; font-weight: 570; }
.tl-note { font-size: 13px; color: var(--ink-500); margin-top: 1px; }

/* ------------------------------------------------------------- key/value */

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 20px; }
.kv-row { padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.kv-k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); font-weight: 600; }
.kv-v { font-size: 14px; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- statement */

.balance {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px; border-bottom: 1px solid var(--rule-soft);
}
.balance-v { font-size: 30px; font-weight: 640; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.balance-c { font-size: 15px; color: var(--ink-400); }

/* --------------------------------------------------------------- tabs */

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.tab {
  padding: 8px 14px; font-size: 13.5px; color: var(--ink-500);
  border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 550;
}
.tab:hover { color: var(--ink-900); text-decoration: none; }
.tab.is-active { color: var(--brand-700); border-bottom-color: var(--brand-600); }

/* --------------------------------------------------------- inline forms */

.form-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.form-inline .field-group { margin-bottom: 0; flex: 1 1 180px; }

.role-note { font-size: 12px; color: var(--ink-400); }

/* ------------------------------------------------------------ registration */

.reg-page { min-height: 100vh; background: var(--brand-900); padding: 32px 20px 56px; }
.reg-wrap { max-width: 560px; margin: 0 auto; }
.reg-wrap.wide { max-width: 860px; }
.reg-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 650; font-size: 17px; margin-bottom: 6px; }
.reg-tag { text-align: center; color: #86AEB2; font-size: 12.5px; letter-spacing: .02em; margin: 0 0 24px; }

.choice { display: grid; gap: 14px; }
.choice-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 20px 22px; display: block;
}
.choice-card:hover { text-decoration: none; border-color: var(--brand-500); box-shadow: var(--shadow-pop); }
.choice-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; color: var(--ink-900); }
.choice-card p { margin: 0; font-size: 13.5px; color: var(--ink-500); }
.choice-card .pill { margin-top: 10px; }

.steps { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.step-dot {
  font-size: 11.5px; color: #7FA3A7; display: flex; align-items: center; gap: 6px;
}
.step-dot b {
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #CFE3E4; font-size: 10.5px; font-weight: 700;
}
.step-dot.is-now { color: #fff; }
.step-dot.is-now b { background: var(--brand-500); color: #04292D; }
.step-sep { color: #4D7A7E; }

/* The terms themselves: a real scroll box, because the accept control only
   unlocks when the reader reaches the end of it. */
.terms-box {
  height: 420px; overflow-y: auto; padding: 22px 26px;
  background: var(--surface); border-bottom: 1px solid var(--rule);
  font-size: 13.5px; line-height: 1.7; color: var(--ink-700);
}
.terms-box > :first-child { margin-top: 0; }
.terms-box h1 {
  font-size: 17px; font-weight: 650; color: var(--ink-900);
  margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-soft);
}
.terms-box h2 {
  font-size: 14px; font-weight: 650; color: var(--ink-900); margin: 22px 0 6px;
}
.terms-box p { margin: 0 0 11px; max-width: 68ch; }
.terms-box ul { margin: 0 0 12px; padding-left: 20px; max-width: 68ch; }
.terms-box li { margin-bottom: 5px; }
.terms-box strong { color: var(--ink-900); font-weight: 600; }
.terms-end { padding: 14px 0 4px; color: var(--brand-600); font-weight: 600; font-size: 13px; }

.accept-row { display: flex; align-items: flex-start; gap: 10px; padding: 16px 22px; }
.accept-row input[type=checkbox] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand-600); }
.accept-row label { font-size: 13.5px; color: var(--ink-700); }
.accept-locked { color: var(--ink-400); }

.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ------------------------------------------------------------- documents */

.doc-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.doc-row:last-child { border-bottom: 0; }
.doc-icon {
  width: 28px; height: 28px; border-radius: var(--radius-sm); flex: none;
  background: var(--sunken); color: var(--ink-500); display: grid; place-items: center;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.doc-name { font-size: 13.5px; font-weight: 550; }
.doc-meta { font-size: 12px; color: var(--ink-400); }

/* ------------------------------------------------------------------
   Public pages - sign in, registration, invitations, password reset.
   These sit beside the home page (welcome.blade.php), so they share its
   look: light ground, the RyskSoft logo, Figtree, uppercase headings
   and ink buttons. The portals behind sign-in keep their own palette.
   ------------------------------------------------------------------ */
.auth-page, .reg-page {
    background: #E9EEF5;
    color: #111827;
    font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.auth-brand, .reg-brand { display: flex; justify-content: center; margin-bottom: 10px; }
.auth-brand img, .reg-brand img { height: 64px; width: auto; display: block; }
.auth-tag, .reg-tag {
    color: #94A3B8; font-size: 10px; font-weight: 900; letter-spacing: .15em;
    text-transform: uppercase; margin: 0 0 24px; text-align: center;
}
.auth-page .card, .reg-page .card {
    border: 0; border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -14px rgba(15,23,42,.14);
    overflow: hidden;
}
.auth-page .card-head h2, .reg-page .card-head h2,
.reg-page .choice-card h3 {
    text-transform: uppercase; letter-spacing: .02em; font-weight: 800; color: #0F172A;
}
.auth-page .btn, .reg-page .btn {
    font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
    padding: 14px 24px; border-radius: 12px;
}
.auth-page .btn-primary, .reg-page .btn-primary { background: #0F172A; color: #fff; }
.auth-page .btn-primary:hover, .reg-page .btn-primary:hover { background: #1E293B; }
.auth-page .input, .reg-page .input, .reg-page .select { border-radius: 10px; }
.auth-page a:not(.btn), .reg-page a:not(.btn) { color: #4F46E5; }
.auth-page .auth-brand, .reg-page .reg-brand { color: inherit; }
.reg-page .choice-card { border-radius: 24px; border-color: transparent; }
.reg-page .choice-card:hover { border-color: #6366F1; }
.reg-page .step-dot { color: #94A3B8; }
.reg-page .step-dot b { background: #E2E8F0; color: #475569; }
.reg-page .step-dot.is-now { color: #0F172A; }
.reg-page .step-dot.is-now b { background: #6366F1; color: #fff; }
.reg-page .step-sep { color: #CBD5E1; }

/* The portals keep their palette but show the real mark. */
.brand-icon { width: 26px; height: 26px; object-fit: contain; flex: none; }
.auth-page .card-foot, .reg-page .card-foot { background: #F1F5F9; }
