/* North Lendio — shared panel design system
   Light neutrals · professional fintech / SaaS
   Used by admin + customer panels, auth shells, and finance pages. */

:root{
  --bg:#f6f6f7;
  --cream:#f6f6f7; /* legacy alias */
  --surface:#ffffff;
  --surface-muted:#f8fafc;
  --ink:#0f172a;
  --ink-secondary:#1e293b;
  --muted:#64748b;
  --navy:#111111;
  --navy-deep:#0b1f3a;
  --blue:#2563eb;
  --blue-soft:#eff6ff;
  --blue-border:#bfdbfe;
  --jade:#0f766e;
  --jade-soft:#f0fdfa;
  --jade-border:#99f6e4;
  --line:#e2e8f0;
  --line-strong:#cbd5e1;
  --gold:#92400e;
  --gold-bg:#fffbeb;
  --gold-border:#fde68a;
  --red:#b91c1c;
  --red-soft:#fef2f2;
  --red-border:#fecaca;
  --radius-sm:8px;
  --radius:12px;
  --radius-lg:16px;
  --shadow-sm:none;
  --shadow:none;
  --shadow-lg:0 12px 40px rgba(15,23,42,.06);
  --font:"Plus Jakarta Sans","Segoe UI","Helvetica Neue",sans-serif;
  --font-amount:"IBM Plex Sans","Segoe UI","Helvetica Neue",sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --top-h:64px;
  --sidebar-w:232px;
  --focus:0 0 0 3px rgba(37,99,235,.22);
}


*{box-sizing:border-box}
html{color-scheme:light}
body{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.auth-body{
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%,#e8eef8 0%,transparent 55%),
    var(--bg);
}

a{color:var(--blue)}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible{
  outline:none;
  box-shadow:var(--focus);
}

/* ── Top bar ── */
.top{
  height:var(--top-h);
  padding:0 clamp(16px,4vw,40px);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.2) blur(10px);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:40;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-weight:700;
  font-size:15px;
  letter-spacing:-.02em;
  text-decoration:none;
}
.mark{
  width:32px;
  height:32px;
  border-radius:9px;
  background:#111111;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
  font-size:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.mark svg{width:18px;height:18px}
.right,
.top-right,
.actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.pill,
.env{
  display:inline-flex;
  align-items:center;
  font-size:10px;
  letter-spacing:.08em;
  font-weight:700;
  text-transform:uppercase;
  color:var(--gold);
  background:var(--gold-bg);
  border:1px solid var(--gold-border);
  border-radius:999px;
  padding:6px 10px;
  white-space:nowrap;
}
.toplink{
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
  font-weight:600;
}
.toplink:hover{color:var(--ink)}

/* ── Buttons ── */
.button,
.btn{
  appearance:none;
  border:1px solid transparent;
  border-radius:10px;
  padding:0 14px;
  min-height:40px;
  height:40px;
  background:var(--navy);
  color:#fff;
  font:inherit;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
}
.button:hover,
.btn:hover{
  background:#132a4d;
}
.button.secondary,
.btn.secondary,
.btn.white{
  background:var(--blue-soft);
  color:#1e40af;
  border-color:var(--blue-border);
}
.button.secondary:hover,
.btn.secondary:hover{
  background:#dbeafe;
}
.button:disabled,
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  background:#e2e8f0;
  color:#94a3b8;
  border-color:transparent;
}

/* ── Layout shells ── */
.layout{
  max-width:1280px;
  margin:0 auto;
  padding:24px clamp(14px,3vw,28px) 56px;
  display:grid;
  grid-template-columns:var(--sidebar-w) minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.console{
  display:grid;
  grid-template-columns:var(--sidebar-w) minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:28px clamp(14px,3vw,28px) 56px;
}
.layout .wrap,
.console .wrap{
  max-width:none;
  margin:0;
  padding:4px 4px 24px;
}
.main,
.main-content,
.dashboard,
.content{
  min-width:0;
}

/* ── Sidebar ── */
.sidebar{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:12px;
  height:max-content;
  position:sticky;
  top:calc(var(--top-h) + 12px);
  box-shadow:var(--shadow-sm);
}
.side-title{
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  color:#94a3b8;
  text-transform:uppercase;
  padding:10px 12px 8px;
}
.side-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#475569;
  font-size:13px;
  font-weight:600;
  padding:10px 12px;
  border-radius:10px;
  margin:2px 0;
  transition:background .12s ease, color .12s ease;
}
.side-link:hover{
  background:var(--surface-muted);
  color:var(--ink);
}
.side-link.active{
  background:var(--blue-soft);
  color:#1d4ed8;
}
.dot,
.side-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#cbd5e1;
  flex:none;
}
.side-link.active .dot,
.side-link.active .side-dot{
  background:var(--blue);
}
.side-group{margin:2px 0}
.side-group summary{
  list-style:none;
  cursor:pointer;
}
.side-group summary::-webkit-details-marker{display:none}
.side-group[open] summary .dot{background:var(--blue)}
.side-subnav{
  display:grid;
  gap:2px;
  padding:2px 0 4px 18px;
}
.side-subnav a{
  display:block;
  padding:8px 10px;
  border-radius:8px;
  text-decoration:none;
  color:#64748b;
  font-size:12px;
  font-weight:600;
}
.side-subnav a:hover,
.side-subnav a.active{
  background:var(--surface-muted);
  color:var(--navy);
}
.side-divider{
  height:1px;
  background:var(--line);
  margin:8px 6px;
}

/* ── Typography ── */
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  font-weight:800;
  color:var(--jade);
  margin:0;
}
h1{
  font-size:clamp(26px,3vw,32px);
  letter-spacing:-.04em;
  line-height:1.15;
  margin:8px 0;
  font-weight:800;
  color:var(--ink);
}
.intro,
.welcome,
.head p,
.headline p{
  color:var(--muted);
  font-size:13px;
  margin:0;
  line-height:1.6;
  max-width:62ch;
}
.head,
.headline{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.head h1,
.headline h1{margin:8px 0}

/* ── Banners / notices / alerts ── */
.banner,
.notice{
  border:1px solid var(--gold-border);
  background:var(--gold-bg);
  color:var(--gold);
  border-radius:var(--radius);
  padding:14px 16px;
  font-size:12.5px;
  line-height:1.6;
  margin:0 0 18px;
}
.banner strong,
.notice strong{color:#78350f}

/* Inline status / alerts (div.status, .status.warn inside content) */
div.status,
.status.warn,
.status.error,
.card .status,
.panel .status,
.form-actions + .status,
#emailResult,
#totpResult,
#totpState,
#verifiedBadge{
  padding:10px 12px;
  border:1px solid var(--jade-border);
  background:var(--jade-soft);
  color:#115e59;
  border-radius:var(--radius-sm);
  font-size:12px;
  line-height:1.55;
  margin-top:12px;
}
div.status.warn,
.status.warn{
  border-color:var(--gold-border);
  background:var(--gold-bg);
  color:var(--gold);
}
div.status.error,
.status.error,
.error{
  border-color:var(--red-border);
  background:var(--red-soft);
  color:var(--red);
}
.error{padding:0;background:transparent;border:0}

/* Full-page session / access gate */
section.status,
.statusPage{
  max-width:480px;
  margin:56px auto;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:28px 26px;
  text-align:center;
  box-shadow:var(--shadow);
}
section.status h1,
.statusPage h1{
  font-size:22px;
  margin:0 0 10px;
}
section.status p,
.statusPage p{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  margin:0 0 16px;
}
section.status strong{
  display:block;
  font-size:16px;
  color:var(--ink);
  margin-bottom:8px;
}
section.status[hidden],
.statusPage[hidden],
.console[hidden],
.account[hidden],
.content[hidden],
.finance[hidden],
.page[hidden],
.step[hidden],
.secretbox[hidden],
.recovery[hidden],
.section[hidden]{
  display:none !important;
}

/* System page status strip (before content shows) */
#status.status:not(section){
  /* handled above for section */
}

/* ── Cards / panels / grids ── */
.cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.account .cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.card,
.panel{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  min-width:0;
}
.card{
  padding:20px;
  scroll-margin-top:88px;
}
.card.full{grid-column:1/-1}
.card h2{
  font-size:15px;
  font-weight:700;
  letter-spacing:-.02em;
  margin:0 0 6px;
}
.desc{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.6;
  margin:0 0 14px;
}
.label{
  display:block;
  font-size:12px;
  font-weight:600;
  color:#334155;
  letter-spacing:.005em;
  line-height:1.3;
  margin:0;
}
.amount{
  font-family:var(--font-amount);
  font-size:28px;
  letter-spacing:-.02em;
  font-weight:400;
  font-variant-numeric:tabular-nums;
  margin:10px 0 6px;
  color:var(--ink);
}
td.money,
.money{
  font-family:var(--font-amount);
  font-weight:400;
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}
.caption{
  color:#94a3b8;
  font-size:11px;
  line-height:1.55;
}
.value{
  font-size:13px;
  font-weight:700;
  color:var(--ink-secondary);
  word-break:break-word;
}
.panel{overflow:hidden}
.panel-head,
.panel-top{
  padding:16px 18px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:var(--surface-muted);
}
.panel-top{
  border-bottom:0;
  background:transparent;
  align-items:flex-start;
  padding:0 0 12px;
}
.panel-head h2,
.panel h3{
  font-size:14px;
  font-weight:700;
  margin:0;
  letter-spacing:-.02em;
}
.panel p{
  font-size:12.5px;
  line-height:1.6;
  color:var(--muted);
  margin:0;
}
.count{
  font-size:11px;
  color:var(--muted);
  font-weight:600;
}

/* Account overview panel spacing */
.account .panel{margin-top:16px}

/* ── Forms (compact modern) ── */
.finance-form,
#withdrawForm,
#depositForm,
#loanForm,
#exchangeForm,
#repayForm,
#requestEmail,
#verifyCurrent,
#verifyNew,
#confirmTotp,
#disableTotp{
  max-width:520px;
}
.field-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0 0 12px;
  min-width:0;
}
.field-group:last-child{margin-bottom:0}
.field-group[hidden],
.form-grid[hidden],
.field-stack[hidden],
.field-row[hidden]{
  display:none !important;
}
.field-hint{
  margin:-2px 0 12px;
  font-size:12px;
  font-weight:600;
  color:#1d4ed8;
  line-height:1.45;
}
.field-hint.muted,
.label.field-hint{
  color:var(--muted);
  font-weight:600;
}
.form-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  margin:0 0 12px;
}
.form-grid .field-group{margin:0}
.form-grid .wide{grid-column:1/-1}
.field-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0 0 12px;
}
.field-stack .field-group{margin:0}
.field-stack[hidden]{display:none !important}
.field-with-action{
  position:relative;
  width:100%;
}
.field-with-action > .field{
  width:100%;
  margin:0;
  padding-right:96px;
}
/* Compact amount fields — text + inputmode (no broken number spinners) */
input.amount-field,
body.user-shell input.amount-field{
  font-variant-numeric:tabular-nums;
  font-family:var(--font-amount, "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif);
  letter-spacing:0;
  -moz-appearance:textfield;
  appearance:textfield;
}
input.amount-field::-webkit-outer-spin-button,
input.amount-field::-webkit-inner-spin-button,
body.user-shell input.amount-field::-webkit-outer-spin-button,
body.user-shell input.amount-field::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.field-hint.amount-balance-hint{
  margin-top:6px;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
}
.field-hint.amount-balance-hint.ok-hint{
  color:#0f766e;
}
.field-hint.amount-balance-hint.warn-hint,
.field-hint.amount-balance-hint.error-hint{
  color:#b42318;
}
#depositAddressPanel.finance-form{
  max-width:520px;
  margin:0 0 12px;
}
#depositAddressPanel .wallet-address{
  display:block;
  margin-top:6px;
  word-break:break-all;
}
.field-with-action > .field-action,
.field-with-action > .button,
body.user-shell .field-with-action > .field-action,
body.user-shell .field-with-action > .button{
  position:absolute;
  right:5px;
  top:50%;
  transform:translateY(-50%);
  height:30px;
  min-height:30px;
  max-height:30px;
  padding:0 12px;
  margin:0;
  font-size:12px;
  font-weight:700;
  line-height:1;
  border-radius:8px;
  white-space:nowrap;
  box-shadow:none;
}
.field{
  width:100%;
  height:40px;
  border:1px solid #d8dee8;
  border-radius:10px;
  padding:0 12px;
  background:var(--surface);
  color:var(--ink);
  font:inherit;
  font-size:13px;
  margin:0 0 12px;
  transition:border-color .12s ease, box-shadow .12s ease, background .12s ease;
  appearance:none;
}
.field-group > .field,
.form-grid .field,
.field-row .field{
  margin:0;
}
.label + .field{margin-top:6px}
.field-group > .label + .field,
.form-grid .label + .field,
.field-row .label + .field{margin-top:0}
.field:hover{border-color:#b6c0cf;background:#fcfcfd}
.field:focus{
  border-color:#111111;
  box-shadow:0 0 0 3px rgba(17,17,17,.12);
  outline:none;
  background:#fff;
}
select.field{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:34px;
}
textarea.field{
  height:auto;
  min-height:88px;
  padding:10px 12px;
  resize:vertical;
}
.row,
.field-row,
.form-actions{
  display:flex;
  align-items:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.field-row{
  max-width:520px;
  margin:0 0 12px;
}
.field-row > .field-group{flex:1;min-width:0;margin:0}
.field-row .field{flex:1;min-width:0}
.field-row .button,
.field-row .btn{
  height:40px;
  min-height:40px;
  padding:0 14px;
  margin:0;
  flex:0 0 auto;
  align-self:flex-end;
}
.form-actions{
  margin-top:4px;
  align-items:center;
  gap:8px;
}
.form-actions .button,
.form-actions .btn{
  display:inline-flex;
  height:40px;
  min-height:40px;
  padding:0 16px;
}
.formgrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:0 0 12px;
}
.formgrid label{
  display:grid;
  gap:6px;
  color:#475569;
  font-size:11px;
  font-weight:700;
}
.formgrid input,
.formgrid select{
  width:100%;
  height:40px;
  border:1px solid #d8dee8;
  border-radius:10px;
  padding:0 12px;
  background:var(--surface);
  color:var(--ink);
  font:inherit;
  font-size:13px;
}
.formgrid input:focus,
.formgrid select:focus{
  border-color:#111111;
  box-shadow:0 0 0 3px rgba(17,17,17,.12);
  outline:none;
}
.formgrid .wide{grid-column:1/-1}
.formgrid textarea{
  width:100%;
  min-height:110px;
  border:1px solid #d8dee8;
  border-radius:10px;
  padding:10px 12px;
  background:var(--surface);
  color:var(--ink);
  font:inherit;
  font-size:13px;
  resize:vertical;
}
.formgrid textarea:focus{
  border-color:#111111;
  box-shadow:0 0 0 3px rgba(17,17,17,.12);
  outline:none;
}
.action-select-wrap{
  padding:0;
  max-width:560px;
  margin:0 0 12px;
}
.action-select-wrap.label,
.action-select-wrap .label{margin:0}
.panel-body .action-select-wrap{max-width:320px}
.action-select-wrap select,
.action-select-wrap .field{
  width:100%;
  height:40px;
  margin:0;
}
/* Profile / 2FA extras */
.secretbox{
  border:1px dashed var(--line-strong);
  background:var(--surface-muted);
  padding:12px;
  border-radius:var(--radius-sm);
  margin:12px 0;
}
.secret{
  display:block;
  margin:8px 0;
  font-family:var(--mono);
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  word-break:break-all;
  color:var(--navy);
}
.uri{
  font-size:10px;
  color:var(--muted);
  word-break:break-all;
}
.recovery{
  border:1px solid var(--jade-border);
  background:var(--jade-soft);
  border-radius:var(--radius);
  padding:14px;
  margin-top:12px;
}
.codes{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:6px;
  margin:10px 0;
}
.codes code{
  background:var(--surface);
  border:1px solid var(--line);
  padding:8px;
  border-radius:6px;
  font-size:12px;
  font-family:var(--mono);
}

/* ── Tables ── */
.table-wrap{
  overflow:auto;
  max-height:560px;
}
table{
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:12.5px;
}
th{
  position:sticky;
  top:0;
  background:var(--surface-muted);
  color:#64748b;
  font-weight:700;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  z-index:1;
}
th,td{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
td{color:#334155}
td small{
  display:block;
  color:#94a3b8;
  margin-top:3px;
}
.id{
  font-family:var(--mono);
  color:var(--navy);
  white-space:nowrap;
  font-size:12px;
}
.event{font-weight:700;color:var(--navy)}
.detail{
  max-width:240px;
  word-break:break-word;
  color:#64748b;
}
.empty{
  text-align:center;
  padding:28px 20px;
  color:var(--muted);
  font-size:13px;
}

/* ── Badges / state chips ── */
.state,
.tag,
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--line);
  background:var(--surface-muted);
  color:#475569;
  border-radius:999px;
  padding:6px 10px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}
.tag{
  color:var(--gold);
  background:var(--gold-bg);
  border-color:var(--gold-border);
}
.tag .dot{background:#d97706;width:6px;height:6px}
.locked{
  font-size:10px;
  color:#64748b;
  background:var(--surface-muted);
  border:1px solid var(--line);
  border-radius:8px;
  padding:6px 9px;
  font-weight:700;
  white-space:nowrap;
}

/* ── Finance-specific ── */
.wallet-address{
  display:block;
  border:1px dashed var(--line-strong);
  background:var(--surface-muted);
  border-radius:var(--radius-sm);
  padding:12px;
  font-family:var(--mono);
  color:#64748b;
  font-size:12px;
  overflow-wrap:anywhere;
  margin:8px 0 12px;
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.service-link{
  display:block;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:20px;
  text-decoration:none;
  color:var(--ink);
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.service-link:hover{
  transform:translateY(-2px);
  border-color:var(--blue-border);
  box-shadow:var(--shadow);
}
.service-link h2{font-size:16px;margin:0 0 6px}
.service-link p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.6}
.service-link .arrow{
  display:block;
  color:var(--blue);
  font-weight:700;
  font-size:12px;
  margin-top:14px;
}
.back{
  display:inline-flex;
  margin:0 0 14px;
  color:var(--blue);
  text-decoration:none;
  font-size:12.5px;
  font-weight:700;
}
.back:hover{text-decoration:underline}
/* Form width is constrained via .finance-form / form ids — keep fields fluid inside */

/* ── System management ── */
.hero{
  background:linear-gradient(145deg,#0b1f3a 0%,#163a66 100%);
  color:#fff;
  border-radius:var(--radius-lg);
  padding:28px 30px;
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero:after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  right:-60px;
  top:-160px;
  box-shadow:0 0 0 32px rgba(255,255,255,.04),0 0 0 68px rgba(255,255,255,.03);
  pointer-events:none;
}
.hero .eyebrow{color:#99f6e4}
.hero h1{
  color:#fff;
  font-size:clamp(26px,3vw,32px);
  margin:10px 0 8px;
}
.hero p{
  color:#cbd5e1;
  font-size:13px;
  line-height:1.65;
  max-width:590px;
  margin:0;
}
.hero .pill{
  position:absolute;
  right:24px;
  bottom:24px;
  z-index:1;
  color:#fde68a;
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.18);
}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:16px 0;
}
.stat{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:16px 18px;
}
.stat-label{
  font-size:10px;
  color:var(--muted);
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.stat-value{
  font-size:15px;
  font-weight:750;
  margin:8px 0 4px;
  letter-spacing:-.02em;
}
.stat-note{
  font-size:11px;
  line-height:1.5;
  color:#94a3b8;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:28px 0 12px;
}
.section-head h2{
  font-size:17px;
  letter-spacing:-.03em;
  margin:0;
}
.section-head p{
  margin:5px 0 0;
  font-size:12px;
  color:var(--muted);
}
.system-panel,
.content .panel{
  padding:18px;
}
.brand-preview{
  margin-top:16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  background:var(--surface-muted);
}
.preview-mark{
  width:28px;
  height:28px;
  border-radius:8px;
  background:#111111;
  color:#fff;
  display:inline-grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  vertical-align:middle;
  margin-right:7px;
}
.preview-name{font-size:12px;font-weight:800}
.preview-title{
  font-size:17px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.04em;
  margin:14px 0 6px;
  max-width:350px;
}
.preview-copy{font-size:11px !important;color:#64748b}
.provider{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:14px 0;
  border-top:1px solid var(--line);
}
.provider:first-of-type{margin-top:12px}
.provider-icon{
  width:36px;
  height:36px;
  border-radius:10px;
  background:var(--blue-soft);
  color:var(--blue);
  font-weight:800;
  display:grid;
  place-items:center;
}
.provider-name{font-size:12.5px;font-weight:750}
.provider-detail{font-size:10px;color:#94a3b8;margin-top:3px}
.security{
  margin-top:14px;
  border:1px solid var(--jade-border);
  background:var(--jade-soft);
  border-radius:var(--radius);
  padding:16px 18px;
  color:#115e59;
  font-size:12.5px;
  line-height:1.65;
}
.security strong{color:#134e4a}
.security ul{padding-left:18px;margin:8px 0 0}
.signout{display:none}

/* ── Auth / login / copy-id ── */
.preview{
  background:var(--gold-bg);
  border-top:1px solid var(--gold-border);
  border-bottom:1px solid var(--gold-border);
  color:var(--gold);
  text-align:center;
  padding:9px 12px;
  font-size:11px;
  font-weight:650;
}
.stage{
  min-height:calc(100vh - 140px);
  display:grid;
  place-items:center;
  padding:36px 20px;
}
.auth-body .card,
.stage .card{
  width:min(100%,460px);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:36px 36px 28px;
  box-shadow:var(--shadow-lg);
}
.orb{
  width:48px;
  height:48px;
  border-radius:14px;
  background:var(--blue-soft);
  color:var(--blue);
  display:grid;
  place-items:center;
  margin:0 auto 20px;
  font-weight:800;
}
.orb svg{width:22px}
.auth-body .eyebrow,
.stage .eyebrow{text-align:center}
.auth-body .card h1,
.stage .card h1{
  text-align:center;
  font-size:28px;
  margin:10px 0 8px;
}
.sub{
  text-align:center;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.65;
  margin:0 auto 24px;
  max-width:360px;
}
.auth-body label,
.stage label{
  display:block;
  font-size:12px;
  font-weight:700;
  margin:0 0 8px;
  color:#334155;
}
.auth-body .field,
.stage .field{
  height:50px;
  border-radius:10px;
  margin-bottom:14px;
  font-size:14px;
}
.remember{
  margin:-2px 0 14px;
  color:#64748b;
  font-size:12px;
}
.remember label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-weight:500;
  cursor:pointer;
}
.remember input{
  width:15px;
  height:15px;
  accent-color:var(--blue);
}
.auth-body .button,
.stage .button{
  height:48px;
  width:100%;
  border-radius:10px;
  font-size:13px;
}
.auth-body .button:hover,
.stage .button:hover{
  transform:translateY(-1px);
}
.notice.show{display:block}
.auth-body .notice,
.stage .notice{display:none;margin-top:12px}
.auth-body .notice.show,
.stage .notice.show{display:block}
.switch{
  text-align:center;
  margin:18px 0 0;
  font-size:12px;
  color:var(--muted);
}
.switch button{
  border:0;
  padding:0;
  background:none;
  color:var(--blue);
  font:inherit;
  font-weight:750;
  cursor:pointer;
}
.fine{
  border-top:1px solid var(--line);
  margin-top:22px;
  padding-top:16px;
  text-align:center;
  color:#94a3b8;
  font-size:10px;
  line-height:1.65;
}
.signed{display:none;text-align:center}
.signed.show{display:block}
.signed h2{font-size:24px;margin:8px 0}
.signed p{font-size:13px;color:var(--muted);line-height:1.65}
.auth-body .back,
.stage + .top .back,
.top .back{
  font-size:13px;
  color:#64748b;
  text-decoration:none;
  font-weight:600;
}
.top .back:hover{color:var(--blue)}

/* ── Footer ── */
.foot{
  text-align:center;
  color:#94a3b8;
  font-size:10px;
  margin:20px 0 0;
  line-height:1.6;
}
.auth-body .foot,
.stage ~ .foot{
  padding:0 20px 22px;
}

/* ── Loading polish ── */
@keyframes nl-pulse{
  0%,100%{opacity:.55}
  50%{opacity:1}
}
section.status:not([hidden]) h1,
.statusPage:not([hidden]) h1{
  animation:nl-pulse 1.4s ease-in-out infinite;
}

/* ── Responsive ── */
@media(max-width:900px){
  .cards,
  .service-grid,
  .grid{grid-template-columns:1fr}
  .account .cards{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .hero .pill{position:static;display:inline-flex;margin-top:16px}
  .hero:after{right:-170px}
}
@media(max-width:800px){
  .layout,
  .console{
    grid-template-columns:1fr;
    gap:12px;
    padding:16px 14px 40px;
  }
  .sidebar{
    position:static;
    display:flex;
    align-items:center;
    gap:3px;
    overflow:auto;
    padding:8px;
    scrollbar-width:thin;
  }
  .side-title,
  .side-divider{display:none}
  .side-link{
    white-space:nowrap;
    flex:none;
    padding:10px 11px;
    margin:0;
  }
  .side-group[open]{
    display:flex;
    align-items:center;
    gap:2px;
  }
  .side-subnav{
    display:flex;
    gap:2px;
    padding:0;
  }
  .side-subnav a{
    white-space:nowrap;
    flex:none;
    padding:10px 11px;
  }
  .layout .wrap,
  .console .wrap{padding:8px 2px 20px}
  .head,
  .headline{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:580px){
  .top{padding:0 14px;height:58px}
  .pill,.env{font-size:8px;padding:5px 8px}
  .amount{font-size:24px}
  .stats,.grid,.formgrid,.codes{grid-template-columns:1fr}
  .formgrid .wide{grid-column:auto}
  .action-select-wrap{max-width:none;padding:14px 14px 0}
  .form-grid{grid-template-columns:1fr}
  .finance-form,
  #withdrawForm,
  #depositForm,
  #loanForm,
  #exchangeForm,
  #repayForm{max-width:none}
  .field-row{flex-direction:column;align-items:stretch;max-width:none}
  .field-row .button{align-self:stretch;width:100%}
  .auth-body .card,
  .stage .card{padding:28px 20px 22px;border-radius:16px}
  .auth-body .card h1,
  .stage .card h1{font-size:24px}
  .provider{grid-template-columns:34px minmax(0,1fr)}
  .provider .locked{grid-column:2;justify-self:start}
  .section-head{flex-direction:column;align-items:flex-start}
  .panel .button{margin-left:14px;margin-right:14px}
}


/* ── Apx-inspired user shell refinements (Northlendio branding) ── */
body.user-shell{
  background:#f6f6f7;
  color:#111;
}
body.user-shell .top{
  background:#fff;
  border-bottom:1px solid #ebebeb;
  backdrop-filter:none;
  height:60px;
}
body.user-shell .brand{font-weight:700;font-size:15px;color:#111}
body.user-shell .mark{
  background:#111;
  border-radius:10px;
  width:30px;height:30px;
  box-shadow:none;
}
body.user-shell .layout{max-width:1120px;gap:0;padding:28px clamp(16px,4vw,40px) 80px;grid-template-columns:1fr}
body.user-shell .sidebar{display:none !important}
body.user-shell .side-link{
  border-radius:12px;
  color:#555;
  font-weight:600;
}
body.user-shell .side-link:hover{background:#f3f3f3;color:#111}
body.user-shell .side-link.active{
  background:#f3f3f3;
  color:#111;
}
body.user-shell .side-link.active .dot{background:#111}
body.user-shell .card,
body.user-shell .panel,
body.user-shell .service-link{
  border:1px solid #ebebeb;
  border-radius:18px;
  box-shadow:none;
  background:#fff;
}
body.user-shell .button,
body.user-shell .btn{
  background:#111;
  color:#fff;
  border-radius:10px;
  border:1px solid #111;
  font-weight:700;
  min-height:40px;
  height:40px;
  padding:0 14px;
}
body.user-shell .button:hover,
body.user-shell .btn:hover{background:#000;border-color:#000}
body.user-shell .button.secondary,
body.user-shell .btn.secondary{
  background:#fff;
  color:#111;
  border:1px solid #ddd;
}
body.user-shell .button.secondary:hover{background:#f6f6f6}
body.user-shell .field{
  border-color:#e2e5eb;
  border-radius:10px;
  height:40px;
}
body.user-shell .field:hover{border-color:#c9ced8;background:#fcfcfd}
body.user-shell .field:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(17,17,17,.1);
}
body.user-shell .label{color:#3f3f46;font-weight:600;font-family:var(--font)}
body.user-shell .field-hint{color:#2563eb}
body.user-shell .card.full > form,
body.user-shell .finance-form{
  max-width:520px;
}
body.user-shell .state{
  border-radius:999px;
  padding:5px 9px;
  font-size:10px;
  letter-spacing:.05em;
}
body.user-shell .pill{
  background:#fff;
  border:1px solid #ebebeb;
  color:#666;
  border-radius:999px;
  letter-spacing:.04em;
  text-transform:none;
  font-weight:600;
}
body.user-shell .banner,
body.user-shell .notice{
  background:#fafafa;
  border:1px solid #ebebeb;
  color:#555;
  border-radius:16px;
}
body.user-shell .banner strong,
body.user-shell .notice strong{color:#111}
body.user-shell h1{color:#111;font-weight:800}
body.user-shell .eyebrow{color:#0f766e}
body.user-shell .amount{
  color:#111;
  font-family:var(--font-amount);
  font-weight:400;
  font-variant-numeric:tabular-nums;
}
body.user-shell td.money,
body.user-shell .money{
  font-family:var(--font-amount);
  font-weight:400;
  font-variant-numeric:tabular-nums;
}
body.user-shell .panel-head{background:#fafafa;border-bottom:1px solid #ebebeb}
body.user-shell th{background:#fafafa;color:#777}
body.user-shell td{border-bottom:1px solid #f0f0f0}

.user-top-actions{display:flex;align-items:center;gap:10px}
.account-menu{position:relative}
.account-trigger{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:40px;
  padding:0 10px 0 12px;
  border:1px solid #ebebeb;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  font:inherit;
  color:#111;
}
.account-trigger:hover{background:#fafafa}
.hamburger{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  width:14px;
}
.hamburger span{
  display:block;
  height:1.5px;
  background:#222;
  border-radius:2px;
}
.avatar{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
}
.account-dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  width:min(280px,86vw);
  background:#fff;
  border:1px solid #ebebeb;
  border-radius:16px;
  padding:10px;
  z-index:50;
  box-shadow:0 16px 40px rgba(0,0,0,.08);
}
.account-dropdown-head{
  padding:10px 12px 12px;
  border-bottom:1px solid #f0f0f0;
  margin-bottom:6px;
}
.account-dropdown-label{
  font-size:11px;
  color:#888;
  margin-bottom:4px;
}
.account-dropdown-email{
  font-size:13px;
  font-weight:700;
  color:#111;
  word-break:break-word;
}
.account-dropdown a,
.account-logout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  text-align:left;
  padding:11px 12px;
  border:0;
  background:transparent;
  border-radius:10px;
  color:#222;
  font:inherit;
  font-size:13.5px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
}
.account-dropdown a:hover{background:#f6f6f6}
.account-logout{
  color:#d64545;
  margin-top:4px;
  border-top:1px solid #f0f0f0;
  border-radius:0 0 10px 10px;
  padding-top:14px;
}
.account-logout:hover{background:#fff5f5}
.badge-new{
  display:inline-flex;
  align-items:center;
  background:#d9f5e7;
  color:#0b7a4b;
  border-radius:999px;
  padding:2px 7px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
}

.soft-panel{
  background:#f3f3f3;
  border:1px solid #ebebeb;
  border-radius:20px;
  padding:18px;
  margin:0 0 22px;
}
.soft-panel .get-started-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}
.soft-panel .get-started-head h2{
  margin:0;
  font-size:15px;
  font-weight:800;
  color:#111;
}
.service-link.accent{background:#eef5ff;border-color:#d7e6ff}
.service-link .title-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.service-link h2{margin:0}
.service-link .arrow{color:#2563eb}

.seg{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  background:#efefef;
  border-radius:999px;
  margin:0 0 14px;
}
.seg-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  border-radius:999px;
  text-decoration:none;
  color:#555;
  font-size:12.5px;
  font-weight:700;
}
.seg-item.active{
  background:#fff;
  color:#111;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}

.toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin:8px 0 14px;
}
.toolbar h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.03em;
  font-weight:800;
  color:#111;
}
.toolbar .sub{margin:6px 0 0;color:#777;font-size:13px}
.toolbar-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
body.user-shell a.button.is-disabled,
body.user-shell a.btn.is-disabled{
  /* Keep disabled CTAs readable — never gray-on-gray / faded invisible */
  opacity:1;
  pointer-events:none;
  cursor:not-allowed;
  background:#fff;
  color:#3f3f46;
  border:1px solid #b8b8c0;
  box-shadow:none;
}
body.user-shell a.button.secondary.is-disabled,
body.user-shell a.btn.secondary.is-disabled{
  background:#fff;
  color:#3f3f46;
  border:1px solid #b8b8c0;
}
/* Account overview payment CTA — always present; primary when due */
body.user-shell #accountPaymentBtn{
  min-width:148px;
  font-weight:700;
  color:#111;
  background:#fff;
  border:1px solid #111;
}
body.user-shell #accountPaymentBtn:not(.is-disabled){
  background:#111;
  color:#fff;
  border-color:#111;
}
body.user-shell #accountPaymentBtn:not(.is-disabled):hover{
  background:#000;
  border-color:#000;
  color:#fff;
}
body.user-shell #accountPaymentBtn.is-disabled{
  background:#fff;
  color:#3f3f46;
  border:1px solid #b8b8c0;
  opacity:1;
}

.empty-state{
  text-align:center;
  padding:48px 24px;
  background:#f3f3f3;
  border:1px solid #ebebeb;
  border-radius:20px;
  color:#555;
}
.empty-state strong{
  display:block;
  color:#111;
  font-size:16px;
  font-weight:800;
  margin-bottom:8px;
}
.empty-state p{
  margin:0 auto 18px;
  max-width:36ch;
  font-size:13px;
  line-height:1.55;
  color:#666;
}
.empty-state .button{min-width:180px}
#walletCrypto > .empty-state,
#walletCrypto > .wallet-empty{
  grid-column:1 / -1;
}


body.user-shell .statusPage,
body.user-shell section.status{
  border:1px solid #ebebeb;
  box-shadow:none;
  border-radius:20px;
}

/* Non-blocking session: keep chrome visible; soft-pending sensitive regions */
.session-pending .cards .amount,
.session-pending .amount,
.session-pending #walletCrypto,
.session-pending #requestRows,
.session-pending #history{
  /* Keep first paint fully visible — defaults already in HTML; avoid blank/dim flicker */
  opacity:1;
}
.field-hint.warn-hint{color:#8a4b1a}
.field-hint.error-hint,
body.user-shell .field-hint.error-hint,
body.admin-shell .field-hint.error-hint{
  color:#b42318;
  font-weight:700;
}
.field.field-invalid,
input.field[aria-invalid="true"],
body.user-shell input.field[aria-invalid="true"]{
  border-color:#b42318;
  box-shadow:0 0 0 1px rgba(180,35,24,.18);
}
.session-pending .form-actions .button,
.session-pending button[type="submit"]{
  pointer-events:none;
  opacity:.55;
}

body.auth-body .button{background:#111;border-color:#111}
body.auth-body .button:hover{background:#000}
body.auth-body .card{box-shadow:none;border:1px solid #ebebeb}

/* Admin stays light-neutral but keeps workspace IA */
body.admin-shell{
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%,#eef2f7 0%,transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 0%,#f3f4f6 0%,transparent 50%),
    var(--bg);
}
body.admin-shell .top{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid #ebebeb;
}
body.admin-shell .button{background:#111;border-color:#111}
body.admin-shell .button:hover{background:#000}
body.admin-shell .button.secondary,
body.admin-shell .btn.secondary{
  background:#fff;
  color:#111;
  border-color:#d8dee8;
}
body.admin-shell .button.secondary:hover{
  background:#f6f6f7;
  border-color:#c5ccd6;
}
body.admin-shell .button.danger{
  background:#fff;
  color:var(--red);
  border-color:var(--red-border);
}
body.admin-shell .button.danger:hover{background:var(--red-soft)}
body.admin-shell .side-link.active{background:#f3f3f3;color:#111}
body.admin-shell .side-link.active .dot,
body.admin-shell .side-link.active .side-dot{background:#111}
body.admin-shell .card,
body.admin-shell .panel{box-shadow:none;border-color:#ebebeb}
body.admin-shell .sidebar{
  border-color:#ebebeb;
  box-shadow:none;
  background:#fff;
}
body.admin-shell .side-title{color:#94a3b8}
body.admin-shell .wrap{max-width:1180px}
body.admin-shell .console{gap:20px}
body.admin-shell .headline{margin-bottom:18px;align-items:flex-start}
body.admin-shell .headline h1{font-size:clamp(24px,2.6vw,30px)}
body.admin-shell .eyebrow{color:#64748b}
body.admin-shell .banner{
  border-color:#ebebeb;
  background:#fafafa;
  color:#475569;
  border-radius:12px;
}
body.admin-shell .panel-head{
  background:#fafafa;
  border-bottom:1px solid #ebebeb;
}
body.admin-shell .panel-body,
body.admin-shell .soft-pad{padding:18px 20px}
body.admin-shell .panel-form{margin-bottom:16px}
body.admin-shell .admin-form{max-width:640px}
body.admin-shell .admin-grid{gap:16px;margin-top:0}
body.admin-shell .admin-stats{margin:0 0 8px}
body.admin-shell .stat{box-shadow:none;border-color:#ebebeb}
body.admin-shell .pill.admin-pill,
body.admin-shell .pill.muted-pill{
  color:#475569;
  background:#f3f4f6;
  border-color:#e5e7eb;
  border-radius:8px;
  letter-spacing:.06em;
}
body.admin-shell .formgrid textarea,
body.admin-shell textarea.field{
  width:100%;
  min-height:110px;
  height:auto;
  border:1px solid #d8dee8;
  border-radius:10px;
  padding:10px 12px;
  font:inherit;
  font-size:13px;
  resize:vertical;
  margin:0;
}
body.admin-shell .formgrid textarea:focus,
body.admin-shell textarea.field:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(17,17,17,.12);
  outline:none;
}
body.admin-shell .form-status{
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
}
body.admin-shell .form-status.error{color:var(--red)}
body.admin-shell .field-hint.muted{color:var(--muted);font-weight:500}
body.admin-shell .field-compact{
  width:auto;
  min-width:140px;
  height:36px;
  margin:0;
  display:inline-block;
}
body.admin-shell .toolbar-inline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
body.admin-shell .inline-label{
  font-size:11px;
  font-weight:700;
  color:var(--muted);
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.admin-shell .chip,
body.admin-shell .chip-row .chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 9px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  color:#475569;
}
body.admin-shell .chip-row{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
body.admin-shell .chip-ok{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
body.admin-shell .chip-warn{background:#fffbeb;border-color:#fde68a;color:#92400e}
body.admin-shell .chip-muted{background:#f3f4f6;border-color:#e5e7eb;color:#64748b}
body.admin-shell .empty-state{
  text-align:center;
  padding:36px 20px;
  color:var(--muted);
}
body.admin-shell .empty-state strong{
  display:block;
  color:var(--ink);
  font-size:13px;
  margin-bottom:4px;
}
body.admin-shell .empty-state span{font-size:12.5px}
body.admin-shell .review-actions{
  display:grid;
  gap:8px;
  min-width:220px;
  max-width:280px;
}
body.admin-shell .review-actions .field{margin:0;height:36px}
body.admin-shell .detail-cell{max-width:360px;word-break:break-word;line-height:1.55}
body.admin-shell .mono{font-family:var(--mono);font-size:12.5px}
body.admin-shell .admin-profile-grid{
  grid-template-columns:1fr 1fr;
  gap:16px;
}
body.admin-shell .admin-profile-grid .full-span{grid-column:1/-1}
body.admin-shell .admin-profile-grid h2{
  font-size:15px;
  margin:0 0 6px;
  letter-spacing:-.02em;
}
body.admin-shell .section-head{margin:22px 0 12px}
body.admin-shell .section-tag{
  border-radius:8px;
  background:#f3f4f6;
  border-color:#e5e7eb;
  color:#64748b;
}
body.admin-shell .hero{
  background:linear-gradient(145deg,#f8fafc 0%,#eef2f7 100%);
  color:var(--ink);
  border:1px solid #ebebeb;
  box-shadow:none;
}
body.admin-shell .hero:after{display:none}
body.admin-shell .hero .eyebrow{color:#64748b}
body.admin-shell .hero h1{color:var(--ink)}
body.admin-shell .hero p{color:var(--muted)}
body.admin-shell .provider{
  border-color:#ebebeb;
}
body.admin-shell .foot{color:#94a3b8;margin-top:28px}
@media(max-width:900px){
  body.admin-shell .admin-profile-grid{grid-template-columns:1fr}
  body.admin-shell .admin-stats{grid-template-columns:1fr}
}

@media(max-width:800px){
  .toolbar{align-items:stretch}
  .soft-panel{padding:14px}
}

/* ── User shell: on-page primary nav + slim account menu ── */
body.user-shell .layout{
  max-width:1120px;
  grid-template-columns:1fr !important;
  gap:0;
  padding:28px clamp(16px,4vw,40px) 80px;
}
body.user-shell .sidebar{
  display:none !important;
}
body.user-shell .dashboard,
body.user-shell .main,
body.user-shell .layout .wrap{
  width:100%;
  max-width:none;
  padding:0;
}
body.user-shell .account-dropdown{
  width:min(280px,90vw);
}
body.user-shell .account-dropdown a{
  font-size:13.5px;
}

/* Full-width content chrome so Activity / tables aren't menu-squeezed */
body.user-shell section.account,
body.user-shell section.page,
body.user-shell .dashboard .wrap{
  width:100%;
}
body.user-shell .page-nav.seg,
nav.page-nav.seg{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:4px;
  margin:0 0 20px;
  background:#efefef;
  border-radius:16px;
}
body.user-shell .page-nav .seg-item{
  flex:0 1 auto;
  white-space:nowrap;
  padding:8px 12px;
  border-radius:12px;
  font-size:12.5px;
}
body.user-shell .toolbar{
  width:100%;
  margin-top:0;
}
body.user-shell .cards{
  width:100%;
}
body.user-shell .panel{
  width:100%;
}
body.user-shell .panel .table-wrap,
body.user-shell .table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
body.user-shell table{
  width:100%;
  min-width:640px;
}
body.user-shell .account .head,
body.user-shell .account .banner,
body.user-shell .account .soft-panel{
  width:100%;
}
@media(max-width:720px){
  body.user-shell .page-nav.seg,
  nav.page-nav.seg{
    border-radius:14px;
  }
  body.user-shell .page-nav .seg-item{
    padding:8px 10px;
    font-size:12px;
  }
}

/* Soft in-page navigation — keep chrome stable; no opacity/skeleton blink */
/* View Transitions: only the soft view cross-fades; top bar + page-nav stay pinned */
@supports (view-transition-name: none) {
  body.user-shell header.top {
    view-transition-name: nl-top;
  }
  body.user-shell main.layout > .main > nav.page-nav.seg,
  body.user-shell nav.page-nav.seg {
    view-transition-name: nl-page-nav;
  }
  body.user-shell #softNavView,
  body.user-shell .soft-nav-view {
    view-transition-name: nl-soft-view;
  }
}
::view-transition-old(nl-soft-view),
::view-transition-new(nl-soft-view) {
  animation-duration: 120ms;
  animation-timing-function: ease-out;
}
::view-transition-group(nl-top),
::view-transition-group(nl-page-nav) {
  animation-duration: 0.01ms;
}

body.soft-nav-busy {
  cursor: progress;
}
/* Keep shell interactive during hops — busy is visual only. Never block clicks. */
body.soft-nav-busy header.top,
body.soft-nav-busy .soft-nav-view {
  pointer-events: auto;
}
main.layout {
  min-height: 60vh;
}
body.user-shell header.top {
  /* Keep top bar from flashing on full reload paint */
  background: #f6f6f7;
}
nav.page-nav.seg {
  contain: layout style;
}


/* Soft-nav: stable shell; swap only #softNavView (no sidebar underlay) */
body.user-shell nav.sidebar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}
body.user-shell .soft-nav-view {
  width: 100%;
  min-height: 42vh;
  position: relative;
  isolation: isolate;
  /* Never fade/hide during hop — double-buffer keeps prior paint until atomic replace */
  opacity: 1 !important;
  visibility: visible;
}
body.user-shell .soft-nav-view > #status[hidden],
body.user-shell .soft-nav-view > .statusPage[hidden],
body.user-shell .soft-nav-view > section.status[hidden] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  inset: auto !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
/* Legacy classes no-op: do not blank or fade content */
.soft-nav-view.soft-nav-incoming,
.soft-nav-view.soft-nav-outgoing,
.soft-nav-view.soft-nav-from-miss,
.soft-nav-view.soft-nav-loading {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.soft-nav-view > .soft-nav-skeleton {
  display: none !important;
}
body.user-shell main.layout > .main > nav.page-nav.seg {
  position: relative;
  z-index: 2;
}
body.user-shell .soft-nav-view > section.page,
body.user-shell .soft-nav-view > section.account {
  position: relative;
  z-index: 1;
}


/* Frozen account modal — finance pages */
body.frozen-modal-open{overflow:hidden}
.frozen-modal[hidden]{display:none!important}
.frozen-modal{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:24px;
}
.frozen-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(23,34,56,.46);
  backdrop-filter:blur(2px);
}
.frozen-modal-panel{
  position:relative;
  z-index:1;
  width:min(420px,100%);
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px;
  box-shadow:0 24px 60px rgba(23,34,56,.18);
  padding:28px 26px 22px;
  text-align:left;
}
.frozen-modal-panel h2{
  margin:0 0 10px;
  font-size:20px;
  letter-spacing:-.03em;
  color:#172238;
}
.frozen-modal-panel p{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#4a5568;
}
.frozen-modal-support{
  margin-top:12px!important;
  font-weight:700;
  color:#102448!important;
}
.frozen-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:22px;
}
.frozen-modal-actions .button{min-width:96px}
nav.page-nav a.seg-item.is-frozen{opacity:.72}
.frozen-modal-actions .button.secondary{min-width:96px}
.unpaid-loan-modal .frozen-modal-panel h2{letter-spacing:-.02em}
section.page.finance-frozen form[data-frozen-blocked="1"],
section.page.finance-frozen .button.is-disabled{pointer-events:none}
section.page.finance-frozen .button.is-disabled{opacity:.55}




/* Admin IA collapsible groups (JS sidebar) */
body.admin-shell .side-group{margin:2px 0 6px}
body.admin-shell .side-group-toggle{
  width:100%;display:flex;align-items:center;gap:10px;
  border:0;background:transparent;color:#475569;font:inherit;font-weight:650;
  font-size:12.5px;letter-spacing:.01em;padding:9px 10px;border-radius:10px;cursor:pointer;text-align:left;
}
body.admin-shell .side-group-toggle:hover{background:#f3f3f3;color:#111}
body.admin-shell .side-group.has-active > .side-group-toggle{color:#111}
body.admin-shell .side-group-label{flex:1}
body.admin-shell .side-chevron{
  width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(-45deg);transition:transform .18s ease;opacity:.7;margin-right:4px;flex:none;
}
body.admin-shell .side-group.open .side-chevron{transform:rotate(45deg)}
body.admin-shell .side-group-items{display:none;padding:2px 0 4px 8px}
body.admin-shell .side-group.open .side-group-items{display:block}
body.admin-shell .side-sublink{font-size:12.5px;padding-left:12px}
body.admin-shell .side-mobile-toggle{
  display:none !important;margin:0 0 12px;border:1px solid #e5e7eb;background:#fff;border-radius:10px;
  padding:10px 12px;font:inherit;font-weight:650;color:#111;cursor:pointer;
}
@media (max-width:900px){
  body.admin-shell .side-mobile-toggle{display:inline-flex !important;align-items:center;gap:8px}
  body.admin-shell .sidebar{display:none}
  body.admin-shell.nav-open .sidebar{display:block;margin-bottom:14px}
  body.admin-shell .console{grid-template-columns:1fr}
}
@media (min-width:901px){
  body.admin-shell button.side-mobile-toggle,
  body.admin-shell .side-mobile-toggle{display:none !important}
}


/* Loan request vs payment sub-tabs */
body.user-shell .loan-subnav.seg,
nav.loan-subnav.seg{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 18px;
  padding:4px;
  background:var(--surface-muted, #eef0f3);
  border:1px solid var(--line, #e5e7eb);
  border-radius:12px;
  width:fit-content;
  max-width:100%;
}
body.user-shell .loan-subnav .seg-item,
nav.loan-subnav .seg-item{
  padding:8px 14px;
  border-radius:9px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  color:#4b5563;
  background:transparent;
  border:0;
}
body.user-shell .loan-subnav .seg-item:hover,
nav.loan-subnav .seg-item:hover{
  color:var(--navy, #0f172a);
  background:rgba(255,255,255,.65);
}
body.user-shell .loan-subnav .seg-item.active,
nav.loan-subnav .seg-item.active{
  background:#fff;
  color:var(--navy, #0f172a);
  box-shadow:0 1px 2px rgba(15,23,42,.06);
}
@media (max-width:640px){
  body.user-shell .loan-subnav.seg,
  nav.loan-subnav.seg{
    width:100%;
  }
  body.user-shell .loan-subnav .seg-item,
  nav.loan-subnav .seg-item{
    flex:1 1 auto;
    text-align:center;
  }
}

/* Loan repay insufficient-funds message */
#repayFundsMsg a{
  color:inherit;
  font-weight:700;
  text-decoration:underline;
}


/* user-panel-polish */
body.user-shell .env{display:none!important}
body.user-shell .page > h1,
body.user-shell .account > .head h1{
  letter-spacing:-.03em;
  margin:0 0 6px;
}
body.user-shell .page > .intro,
body.user-shell .toolbar .intro{
  color:#5b5b63;
  font-size:14px;
  line-height:1.55;
  max-width:52rem;
  margin:0 0 16px;
}
body.user-shell .page > .notice,
body.user-shell .account > .banner{
  margin:0 0 18px;
}
body.user-shell .card.full{
  padding:22px 22px 20px;
}
body.user-shell .card.full > form,
body.user-shell .finance-form{
  max-width:540px;
}
body.user-shell .field-group{margin-bottom:14px}
body.user-shell .field-hint{margin-top:6px;line-height:1.45}
body.user-shell .form-actions{margin-top:6px}
body.user-shell .soft-panel.get-started{
  background:linear-gradient(180deg,#f7f7f8 0%,#f1f1f3 100%);
}
body.user-shell .service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width:720px){
  body.user-shell .service-grid{grid-template-columns:1fr}
}
body.user-shell .account .cards{
  gap:12px;
}
body.user-shell .account .card .caption{
  color:#6b6b73;
  line-height:1.45;
}
body.user-shell .empty-state{
  border:1px dashed #e4e4e7;
  background:#fafafa;
  border-radius:16px;
  padding:28px 22px;
  text-align:center;
}
body.user-shell .empty-state strong{
  display:block;
  font-size:15px;
  color:#111;
  margin-bottom:6px;
}
body.user-shell .empty-state p{
  margin:0 auto 14px;
  max-width:28rem;
  color:#6b6b73;
  font-size:13px;
  line-height:1.5;
}
body.user-shell .loan-subnav{margin:0 0 18px}
body.user-shell .page-nav.seg{margin:0 0 20px}
body.user-shell .withdraw .field-stack,
body.user-shell #withdrawBankWrap{display:grid;gap:0}
body.user-shell .wallet-address{
  display:block;
  word-break:break-all;
  font-family:var(--font-amount),ui-monospace,monospace;
  font-size:13px;
  line-height:1.5;
  padding:12px 14px;
  background:#fafafa;
  border:1px solid #ebebeb;
  border-radius:12px;
}

/* intro-notice-polish */
body.user-shell .page > h1,
body.user-shell .toolbar h1,
body.user-shell .toolbar > div > h1 {
  letter-spacing: -.03em;
  margin: 0 0 10px;
  line-height: 1.2;
}
body.user-shell .toolbar {
  margin: 0 0 4px;
  align-items: flex-start;
}
body.user-shell .page > .intro,
body.user-shell .toolbar .intro {
  color: #52525b;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.005em;
  max-width: 40rem;
  margin: 0 0 18px;
}
body.user-shell .page > .notice,
body.user-shell .account > .banner {
  margin: 0 0 22px;
  padding: 15px 17px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.005em;
  color: #52525b;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 14px;
}
body.user-shell .page > .notice strong,
body.user-shell .account > .banner strong {
  display: inline;
  font-weight: 700;
  color: #18181b;
  letter-spacing: -.01em;
  margin-right: .2em;
}
body.user-shell .soft-panel.get-started .service-link > p,
body.user-shell .service-grid .service-link > p {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: #52525b;
  margin: 0 0 12px;
  max-width: 36rem;
}
body.user-shell .soft-panel.get-started .get-started-head h2 {
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

/* exchange-simple-gap */
/* Modest title/intro/notice → form card rhythm (simpler, less empty gap). */
body.user-shell .page > h1,
body.user-shell .toolbar h1,
body.user-shell .toolbar > div > h1 {
  margin: 0 0 6px;
}
body.user-shell .page > .intro,
body.user-shell .toolbar .intro {
  margin: 0 0 12px;
}
body.user-shell .page > .notice,
body.user-shell .account > .banner {
  margin: 0 0 14px;
}
body.user-shell .page > h1 + .notice,
body.user-shell .page > .intro + .notice {
  margin-top: 0;
}
body.user-shell .page > h1 + .cards,
body.user-shell .page > .intro + .cards,
body.user-shell .page > .notice + .cards {
  margin-top: 0;
}

/* loan-callout-container */
/* Polished light-neutrals fintech callout under Loan H1 — Apx-like, not loud. */
body.user-shell .loan-callout {
  margin: 0 0 14px;
  padding: 15px 17px;
  max-width: 40rem;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  box-sizing: border-box;
}
body.user-shell .loan-callout > p {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.005em;
  color: #52525b;
}
body.user-shell .loan-callout > p strong {
  display: inline;
  font-weight: 700;
  color: #18181b;
  letter-spacing: -.01em;
  margin-right: .2em;
}
body.user-shell .toolbar + .loan-callout {
  margin-top: 0;
}
body.user-shell .loan-callout + .loan-subnav {
  margin-top: 0;
}
/* After intro removal: keep H1 → notice rhythm tight on withdraw/deposit */
body.user-shell .page > h1 + .notice {
  margin-top: 0;
}

/* loan-callout-oneline */
/* Keep Loan callout copy on one straight line on desktop/tablet; wrap on narrow mobile. */
body.user-shell .loan-callout {
  max-width: fit-content;
  width: max-content;
  max-width: min(100%, 52rem);
  padding: 13px 16px;
}
body.user-shell .loan-callout > p {
  white-space: nowrap;
  font-size: 13.5px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  body.user-shell .loan-callout {
    width: auto;
    max-width: 100%;
    padding: 13px 14px;
  }
  body.user-shell .loan-callout > p {
    white-space: normal;
    font-size: 13.5px;
    line-height: 1.55;
  }
}

/* admin-polish-20261007 */
/* Align admin chrome with member panel polish */
body.admin-shell .mark{
  background:#111;
  border-radius:10px;
  width:30px;height:30px;
  box-shadow:none;
}
body.admin-shell .mark svg{width:16px;height:16px}
body.admin-shell .brand{font-weight:700;font-size:15px;color:#111}
body.admin-shell .top{height:60px}
body.admin-shell .headline{margin-bottom:14px}
body.admin-shell .headline h1{
  font-family:var(--font);
  font-size:clamp(24px,2.6vw,30px);
  letter-spacing:-.035em;
  margin:6px 0 4px;
}
body.admin-shell .headline p{
  margin:0;
  color:#64748b;
  font-size:13.5px;
  line-height:1.55;
  max-width:46rem;
}
body.admin-shell .eyebrow{
  color:#0f766e;
  letter-spacing:.12em;
}
body.admin-shell .banner{
  margin:0 0 16px;
  padding:13px 15px;
  font-size:13.5px;
  line-height:1.55;
}
body.admin-shell .panel{
  border-radius:16px;
  overflow:hidden;
}
body.admin-shell .panel-head h2,
body.admin-shell .panel-form h2,
body.admin-shell .soft-pad h2{
  font-size:15px;
  letter-spacing:-.02em;
}
body.admin-shell .empty-state{
  border:1px dashed #e5e7eb;
  border-radius:14px;
  background:#fafafa;
  margin:8px 0;
  padding:40px 20px;
}
body.admin-shell .empty-state strong{
  font-size:14px;
  margin-bottom:6px;
}
body.admin-shell .empty-state span{
  display:block;
  max-width:28rem;
  margin:0 auto;
  line-height:1.5;
}
body.admin-shell .formgrid input,
body.admin-shell .formgrid select,
body.admin-shell .admin-form .field,
body.admin-shell input.field,
body.admin-shell select.field{
  border-radius:10px;
  border-color:#d8dee8;
}
body.admin-shell .formgrid input:focus,
body.admin-shell .formgrid select:focus,
body.admin-shell .admin-form .field:focus,
body.admin-shell input.field:focus,
body.admin-shell select.field:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(17,17,17,.12);
  outline:none;
}
body.admin-shell .amount-field,
body.admin-shell #creditAmount,
body.admin-shell input[inputmode="decimal"]{
  font-family:var(--font-amount, "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.01em;
}
body.admin-shell .sidebar{
  border-radius:16px;
  padding:10px;
}
body.admin-shell .side-link{
  border-radius:11px;
  font-size:13px;
}
body.admin-shell .side-title{
  padding-top:8px;
}
body.admin-shell .side-group-toggle{
  border-radius:11px;
  font-weight:700;
}
body.admin-shell .pill.admin-pill{
  border-radius:8px;
  letter-spacing:.07em;
}
body.admin-shell .status{
  max-width:520px;
  margin:48px auto;
  text-align:center;
  padding:28px 20px;
}
body.admin-shell .admin-quick-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
body.admin-shell .admin-quick-links .button{
  text-decoration:none;
}
body.admin-shell .admin-inline-links{
  margin-top:14px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
body.admin-shell .admin-inline-links a{
  color:#1d4ed8;
  font-weight:650;
  text-decoration:none;
  font-size:13px;
}
body.admin-shell .admin-inline-links a:hover{text-decoration:underline}
body.admin-shell .admin-meta{
  white-space:pre-wrap;
  font-size:12px;
  color:#475569;
  margin:0;
  font-family:var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  background:#fafafa;
  border:1px solid #ebebeb;
  border-radius:12px;
  padding:12px 14px;
}
body.admin-shell .table-wrap table td small{
  display:block;
  color:#94a3b8;
  font-weight:500;
  margin-top:2px;
}
body.admin-shell .preview-mark{
  background:#111;
  border-radius:10px;
}


/* —— Admin tools: account actions + audit trail (20261007-admin-tools) —— */
body.admin-shell .panel-note{
  margin:0;
  padding:12px 20px 0;
  font-size:12.5px;
  color:#64748b;
  line-height:1.45;
}
body.admin-shell .panel-note a{
  color:#1d4ed8;
  font-weight:650;
  text-decoration:none;
}
body.admin-shell .panel-note a:hover{text-decoration:underline}
body.admin-shell .row-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
body.admin-shell td.actions-cell{
  white-space:nowrap;
  vertical-align:middle;
}
body.admin-shell td.mono,
body.admin-shell .mono{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;
  word-break:break-all;
}
body.admin-shell .audit-panel .audit-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
body.admin-shell .audit-panel .audit-panel-head > div:first-child{
  display:flex;
  flex-direction:column;
  gap:4px;
}
body.admin-shell .audit-toolbar{
  margin-left:auto;
}
body.admin-shell .audit-hide-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-transform:none;
  letter-spacing:0;
  font-size:12px;
  font-weight:600;
  color:#475569;
  cursor:pointer;
}
body.admin-shell .audit-hide-label input{
  width:14px;
  height:14px;
  margin:0;
}
body.admin-shell .audit-table-wrap{
  max-height:420px;
  overflow:auto;
}
body.admin-shell .audit-table th{
  position:sticky;
  top:0;
  background:#fafafa;
  z-index:1;
}
body.admin-shell .audit-table td.audit-when{
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  font-family:"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif;
  font-weight:400;
  font-size:12.5px;
  color:#334155;
}
body.admin-shell .audit-table td.audit-action{
  font-weight:650;
  color:#0f172a;
  letter-spacing:-0.01em;
}
body.admin-shell .audit-table td.audit-action small{
  display:block;
  margin-top:3px;
  font-weight:500;
  color:#94a3b8;
  font-size:11px;
}
body.admin-shell .admin-grid .panel{
  min-width:0;
}
@media (max-width:960px){
  body.admin-shell .admin-grid{
    grid-template-columns:1fr;
  }
}

body.admin-shell .admin-overview-split{
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
body.admin-shell .admin-overview-split .table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.admin-shell .admin-overview-split .row-actions .button{
  min-width: 64px;
}
@media (max-width: 1180px){
  body.admin-shell .admin-overview-split{
    grid-template-columns: 1fr;
  }
}

