:root {
  --bg:         #F7F5F0;
  --surface:    #FFFFFF;
  --surface2:   #F0EDE6;
  --border:     #E2DDD5;
  --ink:        #1A1814;
  --ink-soft:   #6B6560;
  --ink-faint:  #9E9890;
  --accent:     #1C4A3E;
  --accent-mid: #2D7A64;
  --accent-lit: #E8F0EE;
  --gold:       #C9A84C;
  --gold-lit:   #FDF6E3;
  --ok:         #059669;
  --red:        #C0392B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ========================
   PAGE SHELL
======================== */
.shell {
  display: grid;
  grid-template-columns: minmax(500px, 1fr) clamp(460px, 36vw, 560px);
  width: 100%;
  min-height: 100vh;
}

/* ========================
   LEFT — decorative panel
======================== */
.panel-left {
  background: var(--accent);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 46px clamp(40px, 5vw, 84px);
}
.panel-left::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(201,168,76,.09);
}
.panel-left::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.pl-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  height: 100%;
}

/* Logo */
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: #fff; letter-spacing: -.5px;
  text-decoration: none; display: inline-block;
}
.logo span { color: var(--gold); }
.logo small {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  vertical-align: middle; margin-left: 7px;
}

/* Panel content (swaps per mode) */
.pl-content {
  display: none;
  flex-direction: column;
  flex: 1;
  padding-top: 52px;
  animation: fadeUp .35s ease;
}
.pl-content.vis { display: flex; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pl-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,.18); color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 18px; width: fit-content;
}
.pl-h {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 3.3vw, 58px);
  color: #fff; line-height: 1.1;
  margin-bottom: 14px;
}
.pl-h em { font-style: italic; color: var(--gold); }
.pl-p {
  font-size: 20px; color: rgba(255,255,255,.82);
  line-height: 1.68; margin-bottom: 28px;
  max-width: 560px;
}

/* Stats row */
.pl-stats {
  display: flex;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; overflow: hidden;
  margin-bottom: 28px;
}
.pl-stat {
  flex: 1; padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
}
.pl-stat:last-child { border-right: none; }
.ps-v {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: #fff;
  line-height: 1; margin-bottom: 3px;
}
.ps-v small { font-size: 13px; color: var(--gold); }
.ps-l { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 500; }

/* Quote */
.pl-quote {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 16px 18px;
}
.pq-text {
  font-size: 12px; color: rgba(255,255,255,.65);
  line-height: 1.7; font-style: italic;
  margin-bottom: 12px;
}
.pq-text::before {
  content: '"';
  font-family: 'DM Serif Display', serif;
  font-size: 28px; color: var(--gold);
  line-height: 0; vertical-align: -8px;
  margin-right: 2px;
}
.pq-author { display: flex; align-items: center; gap: 10px; }
.pq-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.pq-name { font-size: 12px; font-weight: 600; color: #fff; }
.pq-co { font-size: 10px; color: rgba(255,255,255,.35); }

/* Feature list */
.pl-feats { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.pl-feat {
  display: flex; align-items: flex-start; gap: 11px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 12px 14px;
}
.pf-ic {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 13px;
}
.pf-t { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pf-d { font-size: 11px; color: rgba(255,255,255,.42); line-height: 1.5; }

/* Trust chips */
.pl-trust {
  display: flex; gap: 7px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: auto;
}
.pl-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 4px 11px;
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.6);
}

/* Forgot note */
.pl-forgot-note {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 14px 16px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.pl-forgot-note strong { color: #fff; }

/* ========================
   RIGHT — form panel
======================== */
.panel-right {
  background: var(--surface);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
  box-shadow: inset 12px 0 28px rgba(26,24,20,.03);
}
.pr-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(30px, 3.2vw, 52px);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.pr-back {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-faint);
  padding: 6px 12px; border-radius: 20px;
  border: 1.5px solid var(--border); background: transparent;
  cursor: pointer; transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.pr-back:hover { border-color: var(--accent); color: var(--accent); }
.pr-topnote { font-size: 12px; color: var(--ink-soft); }
.pr-topnote a { color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: none; }
.pr-topnote a:hover { text-decoration: underline; }

.pr-scroll {
  flex: 1; overflow-y: auto;
  padding: 38px clamp(30px, 3.2vw, 52px) 46px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.pr-footer {
  padding: 14px clamp(30px, 3.2vw, 52px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 8px; flex-shrink: 0;
}
.prf-copy { font-size: 11px; color: var(--ink-faint); }
.prf-links { display: flex; gap: 14px; }
.prf-links a { font-size: 11px; color: var(--ink-faint); cursor: pointer; text-decoration: none; }
.prf-links a:hover { color: var(--accent); }

/* Tabs */
.auth-tabs {
  display: flex; background: var(--surface2);
  border-radius: 12px; padding: 4px;
  margin-bottom: 30px;
  border: 1px solid rgba(226,221,213,.65);
}
.auth-tab {
  flex: 1; padding: 10px; border-radius: 8px;
  border: none; background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--ink-faint); cursor: pointer;
  transition: all .2s;
}
.auth-tab.on {
  background: var(--surface); color: var(--ink);
  box-shadow: 0 2px 8px rgba(26,24,20,.08);
}

/* Mode views */
.mode { display: none; animation: fadeUp .25s ease; }
.mode.on { display: block; }

/* ========================
   FORM ELEMENTS
======================== */
.fh {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.14;
  letter-spacing: -.2px;
}
.fsub {
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 24px; line-height: 1.62;
}
.gr   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 13px; }
.gr.f { grid-template-columns: 1fr; }
.gr.c3{ grid-template-columns: 1fr 1fr 1fr; }
.fg   { display: flex; flex-direction: column; gap: 5px; }
.fl {
  font-size: 10px; font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .9px;
}
.req { color: var(--red); }
.fi, .fsel {
  padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fbfaf7;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--ink);
  outline: none; transition: all .18s; width: 100%;
  min-height: 44px;
}
.fi:focus, .fsel:focus {
  border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(45,122,100,.14);
}
.fi.err, .fsel.err {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.fi.ok  { border-color: var(--ok); background: #fff; }
.fi[readonly] {
  background: var(--surface2); color: var(--ink-soft); cursor: default;
}
.fi[readonly]:focus {
  border-color: var(--border); box-shadow: none; background: var(--surface2);
}
.fhint { font-size: 11px; color: var(--ink-faint); margin-top: 3px; line-height: 1.5; }
.ferr  {
  font-size: 11px; color: var(--red);
  margin-top: 3px; display: none;
  align-items: center; gap: 4px;
}
.ferr.on { display: flex; }
.fsec {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--ink-soft); margin: 16px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.fsec::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Input + action button */
.ibr {
  display: flex; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--border); transition: border-color .2s;
  background: #fbfaf7;
}
.ibr:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,122,100,.14);
}
.ibr.err { border-color: var(--red); }
.ibr .fi { border: none; border-radius: 0; flex: 1; }
.ibr .fi:focus { box-shadow: none; border: none; }
.ibb {
  padding: 0 15px; border: none;
  border-left: 1.5px solid var(--border);
  background: var(--surface2); color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 800;
  cursor: pointer; transition: all .2s;
  white-space: nowrap; flex-shrink: 0;
}
.ibb:hover { background: var(--accent); color: #fff; border-left-color: var(--accent); }
.ibb:disabled { opacity: .4; cursor: not-allowed; }

/* Password field */
.pw { position: relative; }
.pw .fi { padding-right: 42px; }
.pw-eye {
  position: absolute; right: 11px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--ink-faint); display: flex;
  padding: 2px; transition: color .2s;
}
.pw-eye:hover { color: var(--ink); }
.pwd-bars { display: flex; gap: 3px; margin-top: 6px; }
.pwd-bar {
  height: 3px; flex: 1; border-radius: 99px;
  background: var(--border); transition: background .3s;
}
.pwd-lbl {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  margin-top: 3px;
}

/* Phone prefix */
.phr {
  display: flex; border: 1.5px solid var(--border);
  border-radius: 9px; overflow: hidden; transition: all .2s;
}
.phr:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lit);
}
.phr.err { border-color: var(--red); }
.ph-pfx {
  padding: 11px 12px; background: var(--surface2);
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  border-right: 1.5px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.phr .fi { border: none; border-radius: 0; flex: 1; }
.phr .fi:focus { box-shadow: none; border: none; }

/* CNPJ result card */
.cnpj-card {
  background: var(--accent-lit);
  border: 1.5px solid rgba(28,74,62,.18);
  border-radius: 12px; padding: 12px 14px;
  margin-top: 9px; display: none;
  animation: fadeUp .2s ease;
}
.cnpj-card.on { display: block; }
.cnpj-status {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--ok); margin-bottom: 5px;
}
.cnpj-status::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ok);
}
.cnpj-name { font-size: 13px; font-weight: 700; color: var(--accent); }
.cnpj-meta {
  font-size: 11px; color: var(--ink-soft);
  margin-top: 3px; display: flex; flex-wrap: wrap;
  gap: 3px 12px;
}

/* Toggle */
.tog-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.tog-row:last-child { border-bottom: none; }
.tr-t { font-size: 13px; font-weight: 600; }
.tr-d { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.tog { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.tog input { opacity: 0; width: 0; height: 0; position: absolute; }
.tog-sl {
  position: absolute; inset: 0; border-radius: 99px;
  background: var(--border); cursor: pointer; transition: background .2s;
}
.tog input:checked + .tog-sl { background: var(--accent); }
.tog-sl::after {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.tog input:checked + .tog-sl::after { transform: translateX(18px); }

/* Alert */
.al {
  display: none; align-items: flex-start; gap: 9px;
  padding: 11px 13px; border-radius: 10px;
  margin-bottom: 16px;
  font-size: 12px; line-height: 1.55;
}
.al.on { display: flex; }
.al.e   { background: #FEF2F2; border: 1.5px solid #FECACA; color: #991B1B; }
.al.w   { background: var(--gold-lit); border: 1.5px solid rgba(201,168,76,.3); color: #78350F; }
.al.s   { background: #F0FDF4; border: 1.5px solid #BBF7D0; color: #14532D; }

/* OAuth */
.oa-row { display: flex; gap: 9px; margin-bottom: 20px; }
.oa-btn {
  flex: 1; display: flex; align-items: center;
  justify-content: center; gap: 7px;
  padding: 11px; border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fbfaf7;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.oa-btn:hover {
  border-color: var(--ink-soft);
  background: var(--surface); color: var(--ink);
}
.divd { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.divd-l { flex: 1; height: 1px; background: var(--border); }
.divd-t {
  font-size: 11px; color: var(--ink-faint);
  font-weight: 600; white-space: nowrap;
}

/* Remember / Forgot */
.remrow {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; margin-top: -1px;
}
.rem-l {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-soft); cursor: pointer;
}
.rem-l input { accent-color: var(--accent); }
.fgt-btn {
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.fgt-btn:hover { opacity: .7; }

/* Primary button */
.btn-p {
  width: 100%; padding: 14px; border-radius: 12px;
  border: none; background: var(--accent); color: #fff;
  font-family: 'DM Serif Display', serif; font-size: 17px;
  cursor: pointer; transition: all .22s;
  display: flex; align-items: center;
  justify-content: center; gap: 9px;
  margin-bottom: 13px; position: relative; overflow: hidden;
}
.btn-p::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent);
}
.btn-p:hover { background: var(--accent-mid); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(28,74,62,.25); }
.btn-p:active { transform: none; }
.btn-p:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Ghost button */
.btn-g {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: 10px;
  background: transparent; border: 1.5px solid var(--border);
  color: var(--ink-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-g:hover { border-color: var(--accent); color: var(--accent); }

/* Inline primary (for step nav) */
.btn-pi {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 20px; border-radius: 10px;
  background: var(--accent); color: #fff; border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  position: relative; overflow: hidden;
}
.btn-pi::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,255,255,.07),transparent); }
.btn-pi:hover { background: var(--accent-mid); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(28,74,62,.22); }
.btn-pi:active { transform: none; }

/* Spinner */
.spn {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Terms note */
.tnote {
  font-size: 11px; color: var(--ink-faint);
  text-align: center; line-height: 1.65;
}
.tnote a { color: var(--accent); font-weight: 600; }

/* Note boxes */
.nb {
  padding: 12px 14px; border-radius: 9px;
  font-size: 12px; line-height: 1.65;
  margin-bottom: 13px;
}
.nb-g { background: var(--gold-lit); border: 1.5px solid rgba(201,168,76,.25); color: var(--ink-soft); }
.nb-a { background: var(--accent-lit); border: 1.5px solid rgba(28,74,62,.18); color: var(--ink-soft); }

/* ========================
   REGISTER STEPPER
======================== */
.reg-stepper {
  display: flex; background: var(--surface2);
  border-radius: 12px; padding: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(226,221,213,.65);
}
.rst {
  flex: 1; display: flex; align-items: center;
  justify-content: center; gap: 6px;
  padding: 9px 4px; border-radius: 7px;
  border: none; background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--ink-faint); cursor: default;
  transition: all .2s;
}
.rst.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 5px rgba(26,24,20,.09); }
.rst.dn { color: var(--ok); }
.rs-num {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; flex-shrink: 0;
  background: var(--border); color: var(--ink-faint);
  transition: all .22s;
}
.rst.on .rs-num { background: var(--accent); color: #fff; }
.rst.dn .rs-num { background: var(--ok); color: #fff; }

.prog-track {
  height: 3px; background: var(--surface2);
  border-radius: 99px; overflow: hidden;
  margin-bottom: 24px;
}
.prog-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid));
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.rstep { display: none; animation: fadeUp .25s ease; }
.rstep.on { display: block; }

.step-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--border);
  gap: 10px;
}
.step-ctr { font-size: 12px; color: var(--ink-faint); }

/* Summary cards */
.sumb {
  background: var(--surface2); border-radius: 10px;
  padding: 14px; margin-bottom: 12px;
}
.sumb-t {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-faint); margin-bottom: 10px;
}
.sumb-row {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 10px;
  font-size: 12px; padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.sumb-row:last-child { border-bottom: none; padding-bottom: 0; }
.sumb-k { color: var(--ink-soft); flex-shrink: 0; }
.sumb-v { font-weight: 600; color: var(--ink); text-align: right; }
.sumb-e {
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; flex-shrink: 0;
}
.sumb-e:hover { text-decoration: underline; }

/* ========================
   SUCCESS STATE
======================== */
.suc { display: none; text-align: center; padding: 16px 0; animation: fadeUp .4s ease; }
.suc.on { display: block; }
.suc-ic {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent-lit);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.suc-steps {
  background: var(--surface2); border-radius: 10px;
  padding: 14px; margin: 0 0 22px;
  text-align: left; display: flex; flex-direction: column; gap: 10px;
}
.suc-step { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-soft); }
.suc-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0;
}

/* ========================
   FORGOT
======================== */
.back-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-faint);
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 22px; padding: 0;
  transition: color .2s;
}
.back-link:hover { color: var(--accent); }

/* ========================
   TERMS CHECKBOX
======================== */
.terms-row {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--surface2); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px;
}
.terms-row input {
  accent-color: var(--accent);
  width: 15px; height: 15px;
  margin-top: 2px; flex-shrink: 0; cursor: pointer;
}
.terms-row label {
  font-size: 12px; color: var(--ink-soft);
  line-height: 1.65; cursor: pointer;
}
.terms-row label a { color: var(--accent); font-weight: 600; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .panel-left { display: none; }
  .panel-right { border-left: none; min-height: 100vh; }
}
@media (max-width: 560px) {
  .pr-scroll { padding: 24px 20px 40px; }
  .pr-topbar, .pr-footer { padding-left: 20px; padding-right: 20px; }
  .gr, .gr.c3 { grid-template-columns: 1fr; }
  .oa-row { flex-direction: column; }
  .fh { font-size: 25px; }
  .fsub { font-size: 13px; }
}
