/* KSIJ Census — design system. Colours and type follow KSIJ Dar Brand Guidelines v4.0. */
:root {
  --green: #1D602E;
  --green-dark: #174d25;
  --leaf: #73A641;
  --gold: #E8B043;
  --gold-antique: #CBAA4B;
  --ink: #131814;
  --text: #2b322d;
  --muted: #6b746d;
  --faint: #9aa29b;
  --line: #e5e8e1;
  --line-strong: #d3d8ce;
  --bg: #f6f7f4;
  --surface: #fff;
  --tint: #eff4ea;
  --danger: #a3271f;
  --r: 12px;
  --shadow: 0 1px 2px rgba(19,24,20,.04), 0 4px 16px rgba(19,24,20,.04);
  --top-h: 72px;
  --tabs-h: 60px;
  --side-w: 248px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.55 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body.has-tabs { padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom)); }
h1, h2, h3 { font-family: Cairo, Poppins, sans-serif; color: var(--ink); margin: 0; }
h1 { font-size: 1.7rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
h2 { font-size: 1.08rem; line-height: 1.25; font-weight: 700; }
h3 { font-size: .98rem; font-weight: 700; }
p { margin: 0 0 12px; }
a { color: var(--green); text-underline-offset: 2px; }
strong { font-weight: 500; color: var(--ink); }
.muted { color: var(--muted); font-size: .87rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 500; color: var(--leaf); margin: 0 0 8px; }
.lead { color: var(--muted); margin-bottom: 20px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sprite { display: none; }

/* ---------- header: white, full-colour logo */
.top {
  background: var(--surface); border-bottom: 1px solid var(--line); min-height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 105px; height: auto; display: block; }  /* 105px = brand minimum digital size */
.brand-name { font: 800 1.2rem Cairo, sans-serif; color: var(--green); }
.brand-sub { font: 600 .74rem Poppins, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 12px; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.top-actions form { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: var(--text); white-space: nowrap;
  font: 500 .84rem Poppins, sans-serif; text-decoration: none; cursor: pointer;
}
.chip:hover { background: var(--tint); }
.chip.outline { border-color: var(--line-strong); }
.chip .ic { width: 18px; height: 18px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; flex: none;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font: 700 .82rem Cairo, sans-serif; letter-spacing: .04em;
}
.avatar.lg { width: 56px; height: 56px; font-size: 1.15rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }

/* ---------- console tabs */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav-inner { display: flex; gap: 2px; padding: 0 8px; max-width: 1120px; margin: 0 auto; }
.subnav a { padding: 14px 10px 12px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .84rem; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--green); border-bottom-color: var(--green); }

.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 32px; }
.wrap.wide { max-width: 1120px; }
.wrap.narrow { max-width: 440px; }

/* ---------- primary navigation: bottom bar on phones, sidebar on desktop */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabs-inner { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 560px; margin: 0 auto; }
.tabs a {
  height: var(--tabs-h); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-decoration: none; color: var(--faint); font-size: .66rem; font-weight: 500; position: relative;
}
.tabs a .ic { width: 22px; height: 22px; }
.tabs a.on { color: var(--green); }
.tabs a.on::before { content: ""; position: absolute; top: -1px; width: 28px; height: 2px; border-radius: 2px; background: var(--green); }
.tabs .side-label { display: none; }

/* ---------- surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 16px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card > h2 { margin-bottom: 12px; }
.wrap > h2 { margin: 28px 0 10px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.card.green { background: var(--green); border-color: var(--green); color: rgba(255,255,255,.88); }
.card.green h1, .card.green h2, .card.green strong { color: #fff; }
.card.green .muted { color: rgba(255,255,255,.72); }
.card.green .eyebrow { color: var(--gold); }
.note { background: var(--tint); border-radius: 8px; padding: 10px 14px; font-size: .86rem; color: var(--text); }
.alert { padding: 11px 14px; border-radius: 8px; margin: 0 0 14px; font-size: .88rem; background: var(--tint); border: 1px solid #d7e4c8; color: var(--green-dark); }
.alert.error { background: #fbeeed; border-color: #f0cfcc; color: var(--danger); }
.alert.gold, .alert.info { background: #fdf6e5; border-color: #f1dfb0; color: #6b5210; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: 500 .9rem Poppins, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--faint); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.btn.light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn.danger { color: var(--danger); }
.btn.small { height: 34px; padding: 0 12px; font-size: .82rem; border-radius: 7px; }
.btn.block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row form { margin: 0; }
.card-head .btn.small { border-color: transparent; color: var(--green); padding: 0 8px; margin-right: -8px; }
.card-head .btn.small:hover { background: var(--tint); }
.page-head .btn.small, .card-head .btn.small.primary { border-color: var(--green); color: #fff; padding: 0 14px; margin: 0; }
.back { display: inline-flex; align-items: center; gap: 4px; margin: -4px 0 12px; text-decoration: none; font-weight: 500; font-size: .84rem; color: var(--muted); }
.back:hover { color: var(--green); }

/* ---------- forms (16px inputs stop iOS zooming) */
.fields { display: grid; gap: 0 18px; }
.field { margin: 0 0 16px; min-width: 0; }
.field label { display: block; font-weight: 500; font-size: .82rem; color: var(--ink); margin-bottom: 6px; }
.field label em { font-style: normal; font-weight: 400; color: var(--faint); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url],
input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--surface); color: var(--ink); font: 400 16px/1.4 Poppins, system-ui, sans-serif; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b746d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center; background-size: 18px; background-repeat: no-repeat; padding-right: 40px;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,96,46,.14); }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--text) !important; line-height: 1.45; }
.check input { width: 20px; height: 20px; flex: none; accent-color: var(--green); margin: 1px 0 0; }
.help { color: var(--muted); font-size: .78rem; margin: 6px 0 0; }
.help ul { margin: 4px 0 0; padding-left: 18px; }
.error, .errorlist { color: var(--danger); font-size: .8rem; margin: 6px 0 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.f-website { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-foot { border-top: 1px solid var(--line); margin: 4px -18px -18px; padding: 14px 18px; background: #fbfcfa; border-radius: 0 0 var(--r) var(--r); display: flex; justify-content: flex-end; }
.search { display: flex; gap: 8px; margin: 0 0 14px; }
.search input { flex: 1; min-width: 0; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }

/* ---------- data */
.dl { margin: 0; }
.dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.dl div:first-child { border-top: 0; padding-top: 0; }
.dl div:last-child { padding-bottom: 0; }
.dl dt { color: var(--muted); flex: none; max-width: 46%; }
.dl dd { margin: 0; text-align: right; color: var(--ink); overflow-wrap: anywhere; }
.dl dd.empty { color: var(--faint); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 13px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.list > li:first-child { border-top: 0; padding-top: 0; }
.list > li:last-child { padding-bottom: 0; }
.list > li.muted { font-size: .86rem; }
.list p { margin: 6px 0 0; }
.item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.item-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.item-actions form { margin: 0; }
.item-actions .btn.small { height: 32px; background: var(--bg); border-color: transparent; color: var(--text); }
.item-actions .btn.small:hover { background: var(--tint); }
.item-actions .btn.small.primary { background: var(--green); color: #fff; }
.item-actions .btn.small.danger { background: transparent; color: var(--danger); }
a.rowlink { display: block; text-decoration: none; color: inherit; margin: -6px -8px; padding: 6px 8px; border-radius: 8px; }
a.rowlink:hover { background: var(--bg); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 500; white-space: nowrap; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.badge.ok, .badge.wait, .badge.no { background: transparent; }
.badge.ok::before, .badge.wait::before, .badge.no::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--green); border-color: #cfe0c2; }
.badge.wait { color: #8a6710; border-color: #ecdcae; }
.badge.no { color: var(--danger); border-color: #edccc9; }
.badge.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.match { font: 700 1.05rem/1.1 Cairo, sans-serif; color: var(--green); white-space: nowrap; text-align: right; }
.match .muted { font: 400 .7rem Poppins, sans-serif; }

/* ---------- member home */
.welcome { background: var(--green); color: rgba(255,255,255,.85); border-radius: var(--r); padding: 20px; margin-bottom: 16px; position: relative; overflow: hidden; }
.welcome-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; }
.welcome h1 { color: #fff; font-size: 1.35rem; margin: 0 0 2px; }
.welcome .mid { font-size: .82rem; letter-spacing: .06em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.welcome .bar-label { font-size: .78rem; position: relative; }
.welcome .dome { position: absolute; right: -40px; bottom: -70px; width: 220px; height: 220px; fill: none; stroke: #fff; stroke-width: 1.2; opacity: .12; }
.navgrid { display: grid; gap: 10px; margin-bottom: 16px; }
.navcard { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.navcard:hover { border-color: var(--leaf); }
.navcard .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.navcard .txt { flex: 1; min-width: 0; }
.navcard b { display: block; font: 700 .98rem/1.2 Cairo, sans-serif; color: var(--ink); }
.navcard small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.navcard > .ic { color: var(--faint); width: 18px; height: 18px; }

/* ---------- console statistics */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column-reverse; gap: 6px; box-shadow: var(--shadow); text-decoration: none; }
.stat b { font: 700 1.8rem/1 Cairo, sans-serif; color: var(--ink); }
.stat span { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); line-height: 1.3; }
.stat.gold { border-left: 3px solid var(--gold); }
.stat.gold b { color: var(--green); }
.bars { display: grid; gap: 12px; }
.bar-label { display: flex; justify-content: space-between; font-size: .84rem; margin-bottom: 6px; }
progress { width: 100%; height: 6px; appearance: none; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); display: block; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--green); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--green); }
.welcome progress, .welcome progress::-webkit-progress-bar { background: rgba(255,255,255,.2); }
.welcome progress::-webkit-progress-value { background: var(--gold); }
.welcome progress::-moz-progress-bar { background: var(--gold); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }

/* ---------- landing */
.hero { background: var(--green); color: rgba(255,255,255,.86); border-radius: 16px; padding: 32px 24px; position: relative; overflow: hidden; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: 2.2rem; font-weight: 800; line-height: 1.05; margin-bottom: 14px; }
.hero p { max-width: 34em; font-weight: 300; position: relative; }
.hero .eyebrow { color: var(--gold); position: relative; }
.hero h1, .hero .btn-row { position: relative; }
.hero .btn-row { margin-top: 24px; }
.hero .dome { position: absolute; right: -90px; bottom: -150px; width: 420px; height: 420px; fill: none; stroke: #fff; stroke-width: .8; opacity: .1; }
.assure { display: grid; gap: 10px; margin-bottom: 16px; }
.assure div { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.assure .ic { color: var(--green); margin-top: 2px; }
.assure b { display: block; font: 700 .95rem/1.2 Cairo, sans-serif; color: var(--ink); }
.assure span { font-size: .8rem; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--green); color: var(--green); font: 700 .85rem/26px Cairo, sans-serif; text-align: center; }
.foot { text-align: center; color: var(--faint); font-size: .76rem; padding: 12px 0 0; }
.foot a { color: var(--muted); }

/* ---------- member card */
.idcard { background: var(--green); color: rgba(255,255,255,.86); border-radius: 16px; padding: 22px; margin-bottom: 16px; position: relative; overflow: hidden; box-shadow: 0 12px 32px rgba(29,96,46,.22); }
.idcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(203,170,75,.5); }
.idcard-top img { width: 105px; height: auto; display: block; }
.idcard .eyebrow { color: var(--gold); margin: 0; text-align: right; }
.idcard-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.idcard h2 { color: #fff; font-size: 1.3rem; font-weight: 700; }
.idcard .mid { font: 700 1.05rem Cairo, sans-serif; letter-spacing: .1em; color: var(--gold); margin: 4px 0 10px; }
.idcard .qr { background: #fff; border-radius: 10px; padding: 6px; width: 112px; height: 112px; display: block; flex: none; }
.idcard .qr img { width: 100%; height: 100%; display: block; }
.poster { text-align: center; padding: 32px 18px; }
.poster img { width: min(300px, 76vw); height: auto; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.poster .url { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }

@media (min-width: 720px) {
  body { font-size: 15.5px; }
  h1 { font-size: 1.9rem; }
  .wrap { padding: 36px 24px 48px; }
  .top { padding-left: 24px; padding-right: 24px; }
  .card { padding: 22px; }
  .form-foot { margin: 6px -22px -22px; padding: 16px 22px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .field.wide { grid-column: 1 / -1; }
  .wrap.narrow .fields { grid-template-columns: 1fr; }
  .navgrid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: repeat(4, 1fr); }
  .assure { grid-template-columns: repeat(3, 1fr); }
  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
  .hero { padding: 56px 48px; }
  .hero h1 { font-size: 3rem; }
  .welcome { padding: 26px; }
  .form-foot .btn.block { width: auto; min-width: 160px; }
}
@media (min-width: 1040px) {
  body { padding-top: var(--top-h); }
  body.has-tabs { padding-bottom: 0; padding-left: var(--side-w); }
  .top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--top-h); padding: 0 28px; }
  .brand img { width: 105px; }
  .tabs { top: var(--top-h); right: auto; width: var(--side-w); background: var(--surface); border-top: 0; border-right: 1px solid var(--line); padding: 20px 14px; backdrop-filter: none; }
  .tabs-inner { display: flex; flex-direction: column; gap: 2px; max-width: none; }
  .tabs .side-label { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 0 12px 10px; }
  .tabs a { flex-direction: row; justify-content: flex-start; height: 42px; gap: 12px; padding: 0 12px; border-radius: 8px; font-size: .88rem; color: var(--text); }
  .tabs a .ic { width: 20px; height: 20px; color: var(--muted); }
  .tabs a:hover { background: var(--bg); }
  .tabs a.on { background: var(--tint); color: var(--green); }
  .tabs a.on .ic { color: var(--green); }
  .tabs a.on::before { display: none; }
  .navgrid { grid-template-columns: repeat(3, 1fr); }
  .navcard { flex-direction: column; align-items: flex-start; padding: 18px; }
  .navcard > .ic { display: none; }
  .stats { grid-template-columns: repeat(6, 1fr); }
}
@media print {
  .top, .subnav, .tabs, .no-print { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .card { border: 0; box-shadow: none; }
}

/* compact header on small phones: icon-only actions */
@media (max-width: 479px) { .top-actions .lbl { display: none; } .top-actions .chip { width: 40px; padding: 0; justify-content: center; } .top-actions a.chip:not([aria-label]) { width: auto; padding: 0 12px; } }
.welcome .chip { color: #fff; height: 28px; border-color: rgba(255,255,255,.4); font-size: .76rem; }
.welcome .chip:hover { background: rgba(255,255,255,.12); }
.welcome .bar-label { align-items: center; margin-bottom: 10px; }
.tabs a.on::before { left: 50%; top: 0; transform: translateX(-50%); }

/* secondary logo (icon + full Jamaat name) needs more width to stay legible */
.brand img { width: 150px; }
:root { --top-h: 88px; }
@media (min-width: 1040px) { .brand img { width: 170px; } :root { --top-h: 98px; } }

/* ---------- photos */
img.avatar { object-fit: cover; padding: 0; }
.avatar.md { width: 44px; height: 44px; }
.avatar.xl { width: 84px; height: 84px; font-size: 1.6rem; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.profile-head h1 { margin: 0 0 2px; }
.profile-head .photo-link { position: relative; display: block; flex: none; text-decoration: none; }
.profile-head .photo-link span.edit { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--green); display: flex; align-items: center; justify-content: center; }
.profile-head .photo-link .ic { width: 16px; height: 16px; }
.cropper { text-align: center; margin-bottom: 18px; }
.cropper[hidden], #photo-current[hidden] { display: none; }
.cropper canvas { width: min(280px, 72vw); height: auto; aspect-ratio: 1; border-radius: 50%; touch-action: none; cursor: grab; box-shadow: 0 0 0 4px var(--tint), 0 0 0 5px var(--line-strong); display: block; margin: 6px auto 16px; }
.cropper .zoom { display: flex; align-items: center; gap: 12px; max-width: 280px; margin: 0 auto; font-size: .8rem; color: var(--muted); }
input[type=range] { flex: 1; accent-color: var(--green); height: 28px; }
#photo-current { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; display: block; margin: 6px auto 18px; box-shadow: 0 0 0 4px var(--tint); }
input[type=file] { width: 100%; font: 400 .88rem Poppins, sans-serif; color: var(--muted); }
input[type=file]::file-selector-button { height: 40px; padding: 0 14px; margin-right: 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 .86rem Poppins, sans-serif; cursor: pointer; }
.check small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.idcard .who .avatar { width: 64px; height: 64px; border: 2px solid rgba(255,255,255,.5); }
.wallet-row { display: grid; gap: 10px; margin-bottom: 14px; }
.btn.wallet { background: var(--ink); border-color: var(--ink); color: #fff; height: 48px; }
@media (min-width: 720px) { .wallet-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.idcard .who { margin-bottom: 12px; }
