:root {
  --blue: #0f5bd4;
  --blue-d: #0a47ab;
  --blue-l: #e8f1ff;
  --sky: #dbeaff;
  --orange: #f36f21;
  --orange-d: #d95a10;
  --green: #12935b;
  --red: #d63b3b;
  --amber: #c98a05;
  --ink: #12263f;
  --muted: #66778f;
  --line: #e3ebf6;
  --card: #ffffff;
  --bg: #eef4fc;
  --shadow: 0 6px 20px rgba(20, 60, 130, .08);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; touch-action: pan-x pan-y; overflow-x: hidden; }
input, select, textarea { font-size: 16px; }
body { font-family: var(--font); color: var(--ink); background: linear-gradient(180deg, #e3efff 0%, #f6f9ff 340px, #f6f9ff 100%) fixed; min-height: 100vh; font-size: 15px; line-height: 1.4; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.hidden { display: none !important; }
.noscript { padding: 24px; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- brand ---------- */
.brand { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-d); letter-spacing: -.3px; }
.brand .mark { width: 34px; height: 34px; }
.brand .bname { font-size: 18px; line-height: 1; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--orange); letter-spacing: .4px; text-transform: uppercase; margin-top: 2px; }
.sandbox-banner { background: #fff4d6; color: #7a5200; text-align: center; font-size: 13px; padding: 6px 12px; border-bottom: 1px solid #f0dca0; }

/* ---------- login ---------- */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 40px; background: radial-gradient(1200px 400px at 50% 100%, #cfe3ff 0%, transparent 70%); }
.auth-wrap .brand { margin: 12px 0 22px; }
.auth-wrap .brand .mark { width: 48px; height: 48px; }
.auth-wrap .brand .bname { font-size: 28px; }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border-radius: 18px; box-shadow: 0 14px 40px rgba(20, 60, 130, .14); overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 18px 0; background: #f2f6fc; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.tabs button { border: 0; background: transparent; padding: 10px 6px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 3px 8px rgba(15, 91, 212, .35); }
.auth-body { padding: 18px 18px 8px; }
.auth-title { font-size: 22px; font-weight: 800; color: var(--blue-d); margin: 4px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field .help { font-size: 12px; color: var(--muted); margin-top: 5px; }
.input, .select, textarea.input { width: 100%; height: 46px; border: 1px solid #cfdbec; border-radius: 10px; padding: 0 14px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: 110px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 91, 212, .15); }
.input[aria-invalid="true"] { border-color: var(--red); }
.phone { display: flex; align-items: center; border: 1px solid #cfdbec; border-radius: 10px; background: #fff; height: 46px; }
.phone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 91, 212, .15); }
.phone .cc { display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 700; border-right: 1px solid var(--line); height: 100%; }
.phone input { border: 0; outline: 0; flex: 1; height: 100%; padding: 0 12px; background: transparent; min-width: 0; }
.flag { width: 22px; height: 15px; border-radius: 2px; overflow: hidden; display: inline-flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag i { flex: 1; display: block; }
.flag i:nth-child(1) { background: #ff9933; }
.flag i:nth-child(2) { background: #fff; }
.flag i:nth-child(3) { background: #138808; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 10px; font-weight: 700; color: #fff; background: var(--blue); box-shadow: 0 4px 10px rgba(15, 91, 212, .3); transition: transform .06s, filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; filter: none; }
.btn.block { width: 100%; }
.btn.orange { background: var(--orange); box-shadow: 0 4px 10px rgba(243, 111, 33, .35); }
.btn.ghost { background: #fff; color: var(--blue); border: 1px solid #cfdbec; box-shadow: none; }
.btn.danger { background: var(--red); box-shadow: none; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; box-shadow: none; }
.auth-actions { display: grid; gap: 10px; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; padding: 14px 0 6px; flex-wrap: wrap; }
.auth-links a { font-weight: 600; text-decoration: underline; }
.auth-foot { background: #f6f9fe; border-top: 1px solid var(--line); text-align: center; padding: 14px; font-size: 14px; color: var(--muted); }
.auth-foot b { color: var(--blue-d); }
.dev-otp { margin: 0 0 14px; background: #fff4d6; border: 1px dashed #e0b84a; color: #6b4a00; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.dev-otp b { font-size: 16px; letter-spacing: 2px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 12px; position: sticky; top: 0; height: 100vh; }
.side .brand { padding: 4px 8px 18px; }
.nav { display: grid; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.nav a svg { width: 18px; height: 18px; flex: none; opacity: .75; }
.nav a:hover { background: var(--blue-l); }
.nav a[aria-current="page"] { background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 3px 8px rgba(15, 91, 212, .3); }
.nav a[aria-current="page"] svg { opacity: 1; }
.side .spacer { flex: 1; }
.logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 1px solid var(--line); background: #fff; color: var(--red); border-radius: 8px; font-weight: 600; box-shadow: var(--shadow); }
.logout svg { width: 18px; height: 18px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px 0; }
.top .brand-m { display: none; }
.searchpill { display: flex; align-items: center; gap: 8px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-width: 200px; color: var(--muted); font-size: 13px; }
.searchpill svg { width: 16px; height: 16px; }
.searchpill input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13px; }
.profile { display: flex; align-items: center; gap: 8px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #1b6bea, #0a47ab); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; border: 2px solid #fff; box-shadow: var(--shadow); position: relative; }
.avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; background: #22c55e; border-radius: 50%; border: 2px solid #fff; }
.pname { display: none; font-weight: 600; font-size: 14px; }
.content { padding: 8px 28px 28px; flex: 1; }
.welcome { font-size: 22px; margin: 18px 0 16px; font-weight: 400; }
.welcome b { font-weight: 800; color: var(--blue-d); }
.pagehead { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; }
.pagehead h1 { font-size: 22px; font-weight: 800; color: var(--blue-d); }
.pagehead .back { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.pagehead .back svg { width: 18px; height: 18px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 18px 12px 24px; border-top: 1px solid var(--line); margin: 0 28px; }
.foot .row { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 8px; color: var(--ink); font-size: 13px; }
.foot .fb { font-weight: 800; color: var(--blue-d); }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(227, 235, 246, .7); }
.pad { padding: 18px; }
.grid2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.wallet { border-radius: var(--radius); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 108px; }
.wallet.primary { background: linear-gradient(120deg, #2d7df0 0%, #0f5bd4 55%, #0a47ab 100%); color: #fff; box-shadow: 0 10px 24px rgba(15, 91, 212, .35); }
.wallet .lbl { font-size: 13px; opacity: .92; display: flex; align-items: center; gap: 6px; }
.wallet .amt { font-size: 32px; font-weight: 800; letter-spacing: -.5px; margin-top: 6px; }
.wallet.aeps { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wallet.aeps .lbl { color: var(--muted); }
.wallet.aeps .amt { color: var(--ink); font-size: 28px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.tile { background: #fff; border: 1px solid rgba(227, 235, 246, .8); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 500; text-align: center; transition: transform .12s, box-shadow .12s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 60, 130, .14); }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.ico svg { width: 24px; height: 24px; }
.c-blue { background: linear-gradient(135deg, #3b8bff, #0f5bd4); }
.c-teal { background: linear-gradient(135deg, #22b5a8, #0e8478); }
.c-green { background: linear-gradient(135deg, #3cc47c, #12935b); }
.c-orange { background: linear-gradient(135deg, #ff9a52, #f36f21); }
.c-purple { background: linear-gradient(135deg, #9a7bff, #6a4be0); }
.c-red { background: linear-gradient(135deg, #ff7a7a, #d63b3b); }
.c-navy { background: linear-gradient(135deg, #3b5f9e, #1c356b); }
.feat { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.feat .card { padding: 16px; min-height: 120px; }
.feat h3 { font-size: 14px; font-weight: 700; color: var(--ink); }
.feat .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.feat .fi { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.feat .big { font-size: 24px; font-weight: 800; margin: 6px 0 12px; }
.statusdot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 12px; padding: 6px 10px; border-radius: 8px; background: #f2f6fc; color: var(--muted); }
.statusdot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.dash2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; }
.sec-title { font-size: 17px; font-weight: 700; color: var(--blue-d); margin-bottom: 12px; }
.panel-title { font-size: 16px; font-weight: 700; color: var(--blue-d); margin-bottom: 8px; }
.qa-total { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.walletrows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.walletrows .wr { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; gap: 10px; }
.walletrows .wr + .wr { border-top: 1px solid var(--line); }
.walletrows .wl { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.walletrows .ico { width: 34px; height: 34px; border-radius: 9px; }
.walletrows .ico svg { width: 18px; height: 18px; }
.walletrows .wv { font-weight: 800; }
.smart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.smart a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); text-align: center; }
.smart .ico { width: 36px; height: 36px; border-radius: 50%; }
.smart .ico svg { width: 18px; height: 18px; }
.stack { display: grid; gap: 16px; }
.dash2 > *, .grid2 > *, .feat > * { min-width: 0; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
table.t th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 11px 12px; border-bottom: 1px solid #f0f4fa; white-space: nowrap; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #f6f9ff; }
table.t td.num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cr { color: var(--green); }
.dr { color: var(--red); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.b-success { background: #def6ea; color: #0c7a49; }
.b-pending { background: #fff0cc; color: #8a5b00; }
.b-failed { background: #fde0e0; color: #a82727; }
.b-active { background: #def6ea; color: #0c7a49; }
.b-blocked { background: #fde0e0; color: #a82727; }
.tfoot { text-align: center; padding: 14px; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; font-size: 14px; }

/* ---------- forms/pages ---------- */
.formcard { max-width: 560px; }
.formcard .actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.formcard .actions .btn { flex: 1; min-width: 140px; }
.notice { background: var(--blue-l); border: 1px solid #c8dcfb; color: #123d82; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.notice.warn { background: #fff4d6; border-color: #f0dca0; color: #6b4a00; }
.notice.err { background: #fde8e8; border-color: #f4c2c2; color: #8a1f1f; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.filters { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.filters .select, .filters .input { width: auto; min-width: 150px; height: 40px; }
.receipt { max-width: 460px; text-align: center; padding: 26px 20px 20px; }
.receipt .big-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; color: #fff; }
.receipt .big-ico svg { width: 34px; height: 34px; }
.receipt .ok { background: var(--green); }
.receipt .wait { background: var(--amber); }
.receipt .bad { background: var(--red); }
.receipt h2 { font-size: 20px; }
.receipt .ramt { font-size: 32px; font-weight: 800; margin: 6px 0 4px; }
.receipt .rmsg { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.kv { text-align: left; border-top: 1px solid var(--line); margin-top: 12px; }
.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 2px; border-bottom: 1px solid #f0f4fa; font-size: 14px; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; text-align: right; word-break: break-word; }
.qrbox { text-align: center; padding: 8px 0 4px; }
.qrbox svg { width: 240px; height: 240px; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; }
.qrbox .vpa { font-weight: 700; margin-top: 10px; word-break: break-all; }
.qrbox .st { margin-top: 8px; font-size: 14px; color: var(--muted); }
.qrbox .st.paid { color: var(--green); font-weight: 700; }
.fp { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fp .fpstat { font-size: 13px; color: var(--muted); }
.fp .fpstat.ok { color: var(--green); font-weight: 700; }
.list a.item, .list .item { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.list .item .ico { width: 38px; height: 38px; border-radius: 10px; }
.list .item .ico svg { width: 20px; height: 20px; }
.list .item .ttl { font-weight: 600; }
.list .item .sub { font-size: 12px; color: var(--muted); }
.ticket { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticket .th { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.ticket p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ticket .reply { background: var(--blue-l); border-radius: 8px; padding: 8px 10px; margin-top: 8px; color: var(--ink); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat { padding: 16px; }
.stat .sv { font-size: 24px; font-weight: 800; color: var(--blue-d); }
.stat .sl { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- modal & toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 25, 50, .5); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { font-size: 18px; margin-bottom: 12px; color: var(--blue-d); }
.modal .actions { display: flex; gap: 10px; margin-top: 14px; }
.modal .actions .btn { flex: 1; }
.toasts { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 60; width: min(92vw, 420px); pointer-events: none; }
.toast { background: #12263f; color: #fff; padding: 11px 14px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.err { background: #a82727; }
.toast.ok { background: #0c7a49; }

/* ---------- bottom nav (mobile) ---------- */
.bottom { display: none; }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .feat { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { background: linear-gradient(180deg, #e3efff 0%, #f6f9ff 260px) fixed; }
  .shell { display: block; padding-bottom: 76px; }
  .side { display: none; }
  .top { padding: 14px 16px 0; }
  .top .brand-m { display: inline-flex; }
  .searchpill { display: none; }
  .top .right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .pname { display: block; max-width: 90px; line-height: 1.1; font-size: 13px; }
  .content { padding: 4px 14px 20px; }
  .welcome { font-size: 20px; margin: 14px 0 12px; }
  .grid2, .dash2 { grid-template-columns: minmax(0, 1fr); }
  .wallet.aeps { display: none; }
  .wallet { padding: 16px; min-height: 96px; }
  .wallet .amt { font-size: 27px; }
  .wallet .btn { padding: 0 14px; height: 42px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tile { padding: 14px 4px 10px; font-size: 12px; }
  .feat { grid-template-columns: 1fr; }
  .feat.hide-m { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .foot { margin: 0 14px; }
  .bottom { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow-x: auto; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 -6px 20px rgba(20, 60, 130, .08); }
  .bottom a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; white-space: nowrap; min-width: 0; color: var(--muted); padding: 4px; }
  .bottom a svg { width: 22px; height: 22px; }
  .bottom a[aria-current="page"] { color: var(--blue); font-weight: 700; }
  .toasts { bottom: 90px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .desk-only { display: none; }
}
@media (max-width: 420px) { .bottom a { font-size: 10px; padding: 4px 1px; } .bottom a svg { width: 20px; height: 20px; } .pname { max-width: 70px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* admin: integrations editor */
textarea.input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; height: 320px; line-height: 1.45; white-space: pre; }
.check { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; font-weight: 600; }
.modal textarea.input.mono { max-width: 100%; }

.scancard .scanframe { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 1 / 1; max-width: 420px; margin: 0 auto 10px; }
.scanvideo { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanguide { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 14px; box-shadow: 0 0 0 999px rgba(0,0,0,.28); pointer-events: none; }
.scanstatus { text-align: center; margin: 6px 0 12px; }
.scancard .actions { display: flex; justify-content: center; margin-bottom: 14px; }
.row-inline { display: flex; gap: 8px; } .row-inline .input { flex: 1; min-width: 0; }
.hidden { display: none !important; }

.brand img.mark { width: auto; max-width: 150px; height: 34px; object-fit: contain; border-radius: 6px; }
.auth-wrap .brand img.mark { height: 48px; max-width: 200px; }
.imgrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.imgprev { width: 72px; height: 72px; border: 1px dashed #cfdbec; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.imgprev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.formcard + .formcard { margin-top: 14px; }
.formcard h3 { margin-bottom: 4px; font-size: 15px; }
