:root {
  --ink: #1e293b;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-2: #0369a1;
  --deep: #1d4ed8;
  --green: #15803d;
  --line: #e2e8f0;
  --card: #fff;
  --bg: #f8fafc;
  --font: Manrope, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: #e8eef8;
  letter-spacing: -0.02em;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { width: 1.15em; height: 1.15em; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.stage { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.app {
  width: min(390px, 100%);
  min-height: min(844px, calc(100dvh - 48px));
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(120% 38% at 50% 0%, #dbeafe 0%, #f8fafc 70%);
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(37, 99, 235, .18);
}
.main { flex: 1; padding: 24px 20px 108px; overflow: auto; }
.tabbar {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  height: 64px;
  padding: 6px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 14px 34px -8px rgba(37, 99, 235, .35), 0 2px 6px rgba(15, 23, 42, .06);
  display: flex;
  gap: 2px;
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  border-radius: 22px;
  color: #64748b;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}
.tabbar .ico { width: 20px; height: 20px; }
.tabbar a.on { color: #fff; font-weight: 700; background: linear-gradient(135deg, #2563eb, #0369a1); }

.hello, .top, .bal-top, .bal-bot, .section-h, .who, .walletno, .tx, .person { display: flex; align-items: center; }
.hello { gap: 12px; }
.hello strong, .screen-title h1, .top h1 { font-weight: 800; letter-spacing: -0.04em; }
.hello strong { font-size: 18px; }
.muted, small, .hint, .lead, .pagehead p { color: var(--muted); }
.muted { font-size: 13px; }
.round, .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .45);
  text-decoration: none; padding: 0; cursor: pointer;
}
.avatar, .avatar.lg {
  background: linear-gradient(135deg, #2563eb, #0369a1);
  color: #fff; font-weight: 700; box-shadow: none;
}
.round.lg { width: 60px; height: 60px; border-radius: 24px; }
.avatar.lg { width: 60px; height: 60px; font-size: 20px; }
.hello .round { margin-left: auto; }
.hello > div { flex: 1; }

.balcard {
  position: relative; overflow: hidden;
  margin-top: 20px; border-radius: 32px; padding: 22px; color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(125, 211, 252, .55), transparent 42%),
    radial-gradient(circle at 8% 112%, rgba(56, 189, 248, .35), transparent 48%),
    linear-gradient(135deg, #1d4ed8, #0c4a6e);
  box-shadow: 0 20px 40px -14px rgba(29, 78, 216, .55);
}
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.ring.a { right: -50px; top: -50px; width: 170px; height: 170px; }
.ring.b { right: -18px; top: -18px; width: 106px; height: 106px; }
.bal-top, .bal-sum, .bal-bot { position: relative; }
.bal-top { justify-content: space-between; font-weight: 500; font-size: 13px; opacity: .92; }
.bal-sum { margin-top: 8px; font-size: 36px; font-weight: 800; letter-spacing: -1px; }
.bal-bot { margin-top: 18px; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 500; }
.load {
  height: 46px; padding: 0 16px; border-radius: 999px; background: #15803d; color: #fff;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 800; font-size: 14px; box-shadow: 0 8px 18px -6px rgba(0,0,0,.35); white-space: nowrap;
}
.qas { display: flex; justify-content: space-between; margin-top: 22px; padding: 0 6px; }
.home-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.home-duo a {
  display: grid; gap: 4px; text-decoration: none; background: #fff; border-radius: 20px; padding: 14px;
  box-shadow: 0 14px 28px -18px rgba(37, 99, 235, .45);
}
.home-duo strong { font-size: 15px; }
.home-duo small { color: var(--muted); font-weight: 600; }
.promo { margin-top: 16px; }
.promo[hidden] { display: none !important; }
.promo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 800; }
.promo-head button {
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #334155;
  display: grid; place-items: center; box-shadow: 0 8px 18px -12px rgba(15, 23, 42, .45); cursor: pointer;
}
.promo-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.promo-track::-webkit-scrollbar { display: none; }
.promo-slide {
  position: relative; flex: 0 0 86%; scroll-snap-align: start; display: block; height: 176px;
  border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none;
  box-shadow: 0 18px 36px -20px rgba(29, 78, 216, .6);
}
.promo.solo .promo-slide { flex-basis: 100%; }
.promo-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  background: linear-gradient(to top, rgba(15, 23, 42, .82), rgba(15, 23, 42, 0));
}
.promo-copy strong { display: block; font-size: 18px; letter-spacing: -.03em; }
.promo-copy small { display: block; margin-top: 2px; font-weight: 600; opacity: .92; }
.promo-dots { display: flex; justify-content: center; gap: 6px; min-height: 16px; margin-top: 10px; }
.promo.solo .promo-dots { display: none; }
.promo-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #cbd5e1; cursor: pointer;
}
.promo-dots button.on { width: 18px; background: #2563eb; }
.promo-admin img { width: 96px; height: 64px; object-fit: cover; border-radius: 14px; flex: none; }
.promo-admin > div { flex: 1; min-width: 0; }
.promo-admin form { margin: 0; }
.promo-admin .btn { width: auto; height: 40px; margin: 0; padding: 0 14px; }
.promo-current { margin-bottom: 12px; }
.promo-current img { width: 100%; max-height: 240px; object-fit: cover; border-radius: 22px; display: block; }
.checkline { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; }
body.admin .checkline input { width: 18px; height: 18px; min-height: 0; padding: 0; }
.friend { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid #f1f5f9; }
.friend:first-child { border-top: 0; }
.friend > div { min-width: 0; }
.friend strong, .friend small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.friend small { color: var(--muted); font-weight: 600; }
.friend form { margin: 0; }
.friend .btn, .friend .text { width: auto; height: 40px; margin: 0; padding: 0 12px; font-size: 13px; }
.friend.wait form { grid-column: 3 / -1; justify-self: end; }
.invite-code { position: relative; margin: 6px 0 8px; font-size: 32px; font-weight: 800; letter-spacing: .14em; }
.balcard p, .balcard .btn { position: relative; }
.balcard .btn.white { background: #fff; color: #1d4ed8; box-shadow: none; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 12px; }
.section-h { margin-top: 24px; justify-content: space-between; }
.section-h h2, .screen-title h1, .top h1, .pagehead h1 { margin: 0; font-size: 28px; font-weight: 800; }
.section-h h2 { font-size: 16px; }
.section-h a, .textlink, .switch a, .pager a, .person a { color: var(--blue); font-weight: 700; text-decoration: none; }
.sheet, .menu, .idcard, .softcard, .fee, .result, .wait, .bank, .note {
  background: #fff; border-radius: 28px;
  box-shadow: 0 14px 32px -16px rgba(37, 99, 235, .3), 0 1px 2px rgba(15, 23, 42, .04);
}
.sheet { margin-top: 8px; padding: 6px 18px; }
.tx { gap: 12px; padding: 10px 0; text-decoration: none; }
.tx strong, .tx b { display: block; font-size: 14px; }
.tx small { display: block; margin-top: 2px; font-size: 12px; }
.tx > div { flex: 1; }
.tx b.in { color: var(--green); }
.ti { width: 42px; height: 42px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.ti.in { background: #dcfce7; color: #15803d; }
.ti.out { background: #eff6ff; color: #1d4ed8; }
.ti.wait { background: #fef3c7; color: #b45309; }
.pending { display: flex; gap: 10px; align-items: center; text-decoration: none; background: #fff; border-radius: 18px; padding: 12px 14px; margin-top: 12px; }
.pending small { display: block; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 6px rgba(245, 158, 11, .15); }
.empty { padding: 16px 0; }
.empty strong { display: block; }

.top { gap: 12px; margin-bottom: 8px; }
.top h1, .screen-title h1 { font-size: 26px; }
.screen-title { margin-bottom: 14px; }
.softcard { padding: 18px 22px; background: linear-gradient(135deg, #bfdbfe, #fff 75%); margin: 8px 0 4px; }
.softcard strong { display: block; margin-top: 2px; font-size: 26px; color: var(--deep); }
.field { display: grid; gap: 6px; margin: 12px 0; }
.field > span:first-child, .field em { font-size: 13px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.pill, .money, select, textarea {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff;
  box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .3);
}
.money { height: 64px; border-radius: 24px; border: 2px solid var(--blue); box-shadow: 0 12px 28px -14px rgba(37, 99, 235, .5); }
.money em { font-style: normal; font-size: 26px; font-weight: 700; color: var(--muted); }
.pill input, .money input, select, textarea {
  flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
  box-shadow: none; padding: 0; min-height: 0; border-radius: 0; font-size: 14px;
}
.money input { font-size: 28px; font-weight: 700; }
.money input::placeholder { color: #94a3b8; }
select, textarea { display: block; width: 100%; border-radius: 18px; padding: 14px 16px; }
textarea { min-height: 96px; resize: vertical; }
.presets, .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.presets button, .presets a, .filters a {
  flex: 1; height: 44px; border-radius: 999px; border: 1px solid #bfdbfe; background: #eff6ff;
  color: #1d4ed8; font-weight: 600; font-size: 13px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.presets .on, .filters a.on, .presets button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .3); margin: 8px 0 12px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; height: 40px; border-radius: 999px; font-weight: 700; font-size: 13px; color: #475569; text-align: center; padding: 0 6px; }
.seg input:checked + span { background: linear-gradient(135deg, #2563eb, #0369a1); color: #fff; }
.fee { margin-top: 12px; padding: 12px 18px; background: #f0f9ff; border: 1px dashed #7dd3fc; box-shadow: none; }
.fee div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.fee b { color: var(--ink); }
.detail { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #f1f5f9; }
.detail:first-child { border-top: 0; }
.detail span { color: var(--muted); font-weight: 600; flex: 0 0 auto; }
.detail b { text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.btn, .btn.blue, .btn.ghost, .btn.danger, .btn.text {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 56px; margin-top: 12px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 800; font-size: 16px;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px rgba(22, 163, 74, .3);
}
.btn.blue { background: var(--blue); box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
.btn.ghost { background: #eff6ff; color: #1d4ed8; box-shadow: none; }
.btn.danger, .btn.text { background: #fff; color: #b91c1c; border: 1px solid #fecaca; box-shadow: none; }
.btn:disabled { opacity: .6; }
.alert { border-radius: 16px; padding: 12px 14px; margin: 10px 0; font-size: 14px; }
.alert.bad { background: #fee2e2; color: #991b1b; }
.alert.ok { background: #dcfce7; color: #166534; }
.person { gap: 12px; background: #fff; border-radius: 22px; padding: 12px 14px; margin-top: 8px; }
.person small { display: block; }
.person a { margin-left: auto; }
.recipient { font-size: 13px; color: var(--green); font-weight: 600; }
.recipient.bad { color: #b91c1c; }
.kicker { margin: 16px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cats a {
  background: #fff; border-radius: 28px; padding: 16px; min-height: 92px;
  box-shadow: 0 14px 28px -16px rgba(37, 99, 235, .35);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  text-decoration: none; font-weight: 600;
}
.idcard { padding: 20px; background: linear-gradient(180deg, #dbeafe, #fff 110px); }
.who { gap: 14px; }
.who small { display: block; margin-top: 2px; }
.walletno { margin-top: 16px; justify-content: space-between; padding: 12px 14px; border-radius: 20px; background: #f0f9ff; }
.walletno span { display: block; font-size: 11px; color: var(--muted); }
.walletno b { display: block; margin-top: 2px; }
.acct-hero {
  padding: 20px; border-radius: 28px; background: linear-gradient(180deg, #dbeafe, #fff 120px);
  box-shadow: 0 14px 28px -16px rgba(37, 99, 235, .35);
}
.acct-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #fff; color: #475569;
}
.badge .ico { width: 14px; height: 14px; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.wait { background: #fef3c7; color: #92400e; }
.acct-list { display: grid; gap: 10px; margin-top: 14px; }
.acct-item {
  background: #fff; border-radius: 22px; min-width: 0;
  box-shadow: 0 14px 28px -18px rgba(37, 99, 235, .4);
}
.acct-item summary {
  list-style: none; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; cursor: pointer;
}
.acct-item summary::-webkit-details-marker { display: none; }
.acct-item summary span:nth-child(2) { flex: 1; min-width: 0; }
.acct-item summary b { display: block; font-size: 15px; }
.acct-item summary small { display: block; margin-top: 2px; font-weight: 600; }
.acct-item summary > .ico { color: #94a3b8; transition: transform .2s; }
.acct-item[open] summary > .ico { transform: rotate(90deg); }
.acct-body { padding: 0 14px 14px; min-width: 0; overflow: hidden; }
.acct-body .hint { margin: 0 0 8px; }
.menu a {
  display: flex; align-items: center; gap: 12px; height: 56px;
  text-decoration: none; border-bottom: 1px solid #f1f5f9;
}
.menu { padding: 0 18px; }
.menu a span:nth-child(2) { flex: 1; font-weight: 600; }
.menu .ico:last-child { color: var(--muted); }
.auth { min-height: 70dvh; display: flex; flex-direction: column; justify-content: center; gap: 8px; position: relative; }
.auth h1 { margin: 8px 0 0; font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.auth-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.auth-logo img { width: 68px; height: 68px; border-radius: 20px; display: block; box-shadow: 0 16px 30px -10px rgba(37, 99, 235, .55); }
.auth-logo .wordmark { font-size: 22px; }
.wordmark { display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.wordmark span:first-child { background: linear-gradient(90deg, #2563eb, #0284c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark span:last-child { font-weight: 700; color: #1e293b; }
.switch { text-align: center; }
.bank { padding: 8px 16px; margin-top: 10px; }
.bank div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 0; border-top: 1px solid #f1f5f9; }
.bank div:first-child { border-top: 0; }
.bank span { font-size: 12px; color: var(--muted); }
.bank strong { word-break: break-all; }
.bank button { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fff; color: var(--blue); box-shadow: 0 8px 18px -8px rgba(37,99,235,.45); }
.result, .wait { padding: 18px; margin-top: 12px; text-align: center; }
.result h2 { margin: 8px 0 4px; }
.wait { text-align: left; }
.wait-status { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.sumline { font-size: 40px; font-weight: 800; color: var(--deep); margin: 8px 0; }
.pagehead { margin-bottom: 8px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); text-decoration: none; font-weight: 700; margin-bottom: 8px; }
.chat { display: grid; gap: 8px; }
.bubble-msg { max-width: 86%; border-radius: 18px; padding: 10px 12px; background: #fff; box-shadow: 0 8px 18px -12px rgba(37,99,235,.4); }
.bubble-msg p { margin: 0; white-space: pre-wrap; }
.bubble-msg small { display: block; margin-top: 4px; }
.bubble-msg.user { margin-left: auto; background: #dbeafe; }
.pager { display: flex; justify-content: space-between; margin-top: 12px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(8px);
  background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; opacity: 0; pointer-events: none; transition: .2s; z-index: 40;
  max-width: min(360px, calc(100% - 32px)); text-align: center;
}
.toast.long { border-radius: 18px; line-height: 1.4; font-weight: 600; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.install-card {
  width: 100%; margin: 14px 0 4px; border: 0; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 14px 28px -16px rgba(37, 99, 235, .45);
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; cursor: pointer;
}
.install-card[hidden] { display: none !important; }
.install-guide { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
.install-guide[hidden] { display: none !important; }
.install-backdrop { position: absolute; inset: 0; border: 0; background: rgba(15, 23, 42, .46); }
.install-panel {
  position: relative; width: min(420px, 100%); max-height: min(86dvh, 760px); overflow: auto;
  background: #f8fafc; border-radius: 28px 28px 0 0; padding: 18px 18px 28px;
  box-shadow: 0 -20px 50px rgba(15, 23, 42, .2);
}
.install-head { display: flex; align-items: flex-start; gap: 12px; }
.install-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.04em; }
.install-x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 12px; background: #fff; font-size: 22px; line-height: 1; }
.install-panel h3 { margin: 16px 0 8px; font-size: 16px; }
.install-panel ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.install-panel li { font-size: 14px; line-height: 1.45; }
.install-panel section { background: #fff; border-radius: 20px; padding: 12px 14px 14px; margin-top: 10px; }
.install-panel section.yours { box-shadow: 0 0 0 2px #2563eb; }
.install-panel .btn { margin-top: 8px; }
.install-ico {
  width: 44px; height: 44px; border-radius: 16px; flex: 0 0 44px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2563eb, #0369a1);
}
.install-copy { display: flex; flex-direction: column; gap: 2px; }
.install-copy strong { font-size: 14px; }
.install-copy small { color: var(--muted); font-size: 12px; }
.steps { margin-top: 12px; }
.step { display: flex; gap: 12px; align-items: center; min-height: 48px; }
.step i { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; }

body.admin:not(.shop) {
  background: radial-gradient(80% 420px at 15% 0%, #dbeafe 0%, #f8fafc 58%);
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
}
.shell { min-height: 100dvh; display: grid; grid-template-columns: 260px 1fr; }
body.admin:not(.shop) .side {
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 0;
  height: 100dvh;
  border-right: 1px solid #e2e8f0;
}
body.admin:not(.shop) .side nav { display: grid; gap: 2px; align-content: start; overflow: auto; }
.nav-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; padding: 12px 12px 4px; }
body.admin:not(.shop) .side nav a {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #475569; padding: 9px 12px; border-radius: 14px;
  font-weight: 700; font-size: 14px;
}
body.admin:not(.shop) .side nav a .ico { width: 18px; height: 18px; }
body.admin:not(.shop) .side nav a.on { background: linear-gradient(135deg, #2563eb, #0369a1); color: #fff; }
body.admin:not(.shop) .side nav a em {
  margin-left: auto; min-width: 20px; padding: 2px 6px; border-radius: 99px;
  background: #dbeafe; color: #1d4ed8; font-style: normal; font-size: 11px; text-align: center;
}
body.admin:not(.shop) .side nav a.on em { background: #fff; }
body.admin:not(.shop) .brand-text { display: flex; flex-direction: column; gap: 2px; }
body.admin:not(.shop) .brand-text .wordmark { font-size: 16px; }
body.admin:not(.shop) .brand-text small { color: #64748b; font-size: 12px; font-weight: 700; }
.side-foot { margin-top: auto; display: grid; gap: 10px; }
.who-mini { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.who-mini b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #dbeafe; color: #1d4ed8; font-size: 11px; }
body.admin:not(.shop) .side-back { color: #1d4ed8; text-decoration: none; font-size: 13px; font-weight: 800; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: inherit; }
.brand em { font-style: normal; color: #c8f542; }
.mark { width: 36px; height: 36px; display: block; border-radius: 29%; }
.work { padding: 28px 32px 56px; max-width: 1180px; }
body.admin:not(.shop) .pagehead { display: block; margin: 0 0 16px; }
body.admin:not(.shop) .pagehead.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
body.admin:not(.shop) .pagehead h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
body.admin:not(.shop) .pagehead p { margin: 4px 0 0; }
body.admin:not(.shop) .btn { width: auto; height: 42px; margin: 0; padding: 0 16px; border-radius: 999px; background: #2563eb; color: #fff; box-shadow: 0 8px 16px -8px rgba(37, 99, 235, .6); font-size: 13px; }
body.admin:not(.shop) .btn.ok { background: #15803d; box-shadow: 0 8px 16px -8px rgba(21, 128, 61, .6); }
body.admin:not(.shop) .btn.ghost { background: #eff6ff; color: #1d4ed8; box-shadow: none; }
body.admin:not(.shop) .btn.danger { background: #fff; color: #b91c1c; border: 1px solid #fecaca; box-shadow: none; }
body.admin:not(.shop) input, body.admin:not(.shop) select, body.admin:not(.shop) textarea { background: #fff; border: 1px solid #dbeafe; border-radius: 14px; min-height: 46px; padding: 10px 12px; box-shadow: none; }
body.admin:not(.shop) .pill, body.admin:not(.shop) .money { all: unset; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 16px; }
body.admin:not(.shop) .stats a, body.admin:not(.shop) .stats > div {
  background: #fff; border-radius: 24px; padding: 16px; text-decoration: none; color: inherit;
  box-shadow: 0 16px 34px -22px rgba(37, 99, 235, .55); display: grid; gap: 4px;
}
.stat-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #eff6ff; color: #1d4ed8; }
.stats span { color: #64748b; font-size: 12px; font-weight: 700; }
.stats strong { font-size: 22px; letter-spacing: -0.04em; }
.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
body.admin:not(.shop) .panel, body.admin:not(.shop) .note, body.admin:not(.shop) .usercard, body.admin:not(.shop) .split, body.admin:not(.shop) .bank {
  background: #fff; border-radius: 28px; padding: 16px 18px;
  box-shadow: 0 18px 40px -26px rgba(37, 99, 235, .5);
}
body.admin:not(.shop) .panel { margin-bottom: 14px; }
body.admin:not(.shop) .panel h2 { margin: 0; font-size: 18px; }
body.admin:not(.shop) .panel-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
body.admin:not(.shop) .panel-h a, body.admin:not(.shop) .back { color: #1d4ed8; font-weight: 800; text-decoration: none; }
.queue { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f1f5f9; text-decoration: none; color: inherit; }
.queue small, .empty span { display: block; color: var(--muted); font-weight: 500; }
.queue b { white-space: nowrap; font-size: 14px; }
.tablewrap { overflow: auto; background: #fff; border-radius: 24px; margin-top: 14px; box-shadow: 0 18px 40px -26px rgba(37, 99, 235, .45); }
body.admin:not(.shop) .panel .tablewrap { box-shadow: none; margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
td small { display: block; margin-top: 3px; color: #64748b; }
td .btn, td form { width: auto; margin: 4px 4px 0 0; }
body.admin:not(.shop) td .btn { height: 36px; }
.badge { display: inline-flex; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 11px; padding: 4px 8px; font-weight: 800; }
.badge.approved, .badge.active, .badge.open { background: #dcfce7; color: #166534; }
.badge.pending { background: #fef3c7; color: #92400e; }
.badge.rejected, .badge.suspended, .badge.expired { background: #ffe4e8; color: #9f1239; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline, .rowbtns, .search { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
body.admin:not(.shop) .search { margin-bottom: 14px; }
body.admin:not(.shop) .search input { flex: 1; min-width: 220px; }
.inline input { width: 140px; }
.split { max-width: 760px; margin-bottom: 16px; }
.cards { display: grid; gap: 12px; }
body.admin:not(.shop) .usercard { display: grid; gap: 4px; }
body.admin:not(.shop) .usercard header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
body.admin:not(.shop) .usercard header b { font-size: 18px; white-space: nowrap; }
body.admin:not(.shop) .usercard small { display: block; color: #64748b; font-weight: 600; }
body.admin:not(.shop) .usercard.row { display: flex; align-items: center; justify-content: space-between; color: inherit; }
body.admin:not(.shop) .filters a { flex: 0 0 auto; padding: 0 16px; }
.meta { display: flex; gap: 6px; margin: 8px 0; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.check input { width: auto; min-height: 0; }
body.admin:not(.shop) .alert.bad { color: #9f1239; background: #ffe4e8; }
body.admin:not(.shop) .alert.ok { color: #166534; background: #dcfce7; }
body.admin:not(.shop) .alert a { color: inherit; font-weight: 800; }
body.admin:not(.shop) .iban { word-break: break-all; }
body.admin:not(.shop) .empty { padding: 8px 0 4px; }
.shoptop { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: #0e1016; color: #fff; }
.shopwork { max-width: 880px; margin: 0 auto; }
body.shop { background: #eef0f4; color: #17191f; }
body.shop .btn { width: auto; height: auto; padding: 12px 16px; border-radius: 14px; background: #c8f542; color: #111; box-shadow: none; font-size: 14px; }
body.shop .btn.ghost { background: #fff; color: #17191f; border: 1px solid #d7dbe3; }
body.shop input, body.shop select, body.shop textarea { background: #fff; border: 1px solid #e1e4eb; border-radius: 12px; min-height: 46px; padding: 10px 12px; box-shadow: none; }
.code { overflow: auto; background: #0c0e14; color: #d7f7a1; border-radius: 16px; padding: 14px; font-size: 12px; line-height: 1.5; }

@media (max-width: 760px) {
  body:not(.landing):not(.admin) { height: 100dvh; overflow: hidden; background: #f8fafc; }
  body.admin, body.shop { background: #f8fafc; }
  .stage { height: 100dvh; min-height: 100dvh; padding: 0; }
  .app { width: 100%; height: 100dvh; min-height: 0; max-height: 100dvh; border-radius: 0; box-shadow: none; }
  .main { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
  }
  .shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; }
  .side nav { grid-template-columns: 1fr 1fr; }
  .work { padding: 18px 14px 32px; }
  .stats, .pair { grid-template-columns: 1fr 1fr; }
}

body.landing {
  background: radial-gradient(90% 600px at 50% 0%, #dbeafe 0%, #f8fafc 75%);
  color: var(--ink);
}
.land-wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.land-bar { position: sticky; top: 0; z-index: 5; padding: 14px 0; backdrop-filter: blur(16px); background: rgba(248, 250, 252, .94); }
.land-bar-in, .land-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: block;
  box-shadow: 0 8px 16px -6px rgba(37, 99, 235, .5);
}
.land-nav { display: flex; align-items: center; gap: 28px; }
.land-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: #475569; }
.land-bar-actions { display: flex; align-items: center; gap: 8px; }
.land-dl {
  height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .5);
}
.land-burger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #2563eb;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .45); place-items: center; cursor: pointer;
}
.hero { padding: 28px 0 56px; }
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-copy { flex: 1 1 460px; max-width: 640px; }
.pill-note { display: inline-block; padding: 8px 16px; border-radius: 99px; background: #dbeafe; color: #1d4ed8; font-weight: 700; font-size: 13px; }
.hero h1, .block h2, .close-cta h2 { letter-spacing: -0.04em; line-height: 1.08; font-weight: 800; }
.hero h1 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 64px); }
.hero h1 span { background: linear-gradient(90deg, #2563eb, #0284c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p, .close-cta p, .secure-copy > p { color: #475569; font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
body.landing .btn { width: auto; margin: 0; height: 58px; padding: 0 28px; }
body.landing .btn.white { background: #fff; color: #1d4ed8; box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .5); }
body.landing .btn .ico { width: 18px; height: 18px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 500; }
.mock-wrap { position: relative; flex: 0 0 auto; margin: 24px 120px 12px 70px; }
.phone {
  width: 270px; height: 540px; box-sizing: border-box; border-radius: 46px; border: 8px solid #fff;
  background: radial-gradient(120% 38% at 50% 0%, #dbeafe 0%, #f8fafc 70%);
  box-shadow: 0 50px 90px -30px rgba(37, 99, 235, .55), 0 0 0 1px #e2e8f0;
  padding: 22px 16px; overflow: hidden;
}
.ph-user { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.ph-user span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; background: linear-gradient(135deg, #2563eb, #0369a1); }
.ph-bal { margin-top: 14px; border-radius: 24px; padding: 16px; color: #fff; background: radial-gradient(circle at 88% 8%, rgba(125, 211, 252, .55), transparent 42%), linear-gradient(135deg, #1d4ed8, #0c4a6e); }
.ph-bal div { font-size: 11px; opacity: .9; }
.ph-bal strong { display: block; margin-top: 4px; font-size: 26px; letter-spacing: -1px; }
.ph-bal em { display: inline-block; margin-top: 12px; padding: 9px 14px; border-radius: 99px; background: #15803d; font-style: normal; font-weight: 800; font-size: 12px; }
.ph-q { display: flex; justify-content: space-between; margin-top: 16px; padding: 0 4px; }
.ph-q div { text-align: center; font-size: 10px; font-weight: 600; }
.ph-q i, .ph-list i, .float i {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #2563eb;
  display: grid; place-items: center; margin: 0 auto 6px; box-shadow: 0 8px 16px -8px rgba(37, 99, 235, .5);
}
.ph-q .ico { width: 18px; height: 18px; }
.ph-list { margin-top: 14px; border-radius: 22px; background: #fff; padding: 6px 12px; box-shadow: 0 10px 22px -14px rgba(37, 99, 235, .4); }
.ph-list div { display: flex; align-items: center; gap: 10px; height: 50px; font-size: 12px; font-weight: 600; }
.ph-list i { width: 32px; height: 32px; border-radius: 12px; margin: 0; background: #eff6ff; }
.ph-list i.in { background: #dcfce7; color: #15803d; }
.ph-list span { flex: 1; }
.ph-list b.in, .float.left span { color: #15803d; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 20px; background: #fff;
  box-shadow: 0 24px 40px -16px rgba(37, 99, 235, .45);
}
.float i { width: 36px; height: 36px; border-radius: 12px; margin: 0; }
.float i.in { background: #dcfce7; color: #15803d; }
.float i.ok { border-radius: 50%; background: #15803d; color: #fff; }
.float strong, .float span { display: block; font-size: 12px; }
.float span { font-weight: 500; color: #475569; }
.float.left { left: -118px; bottom: 28px; }
.float.right { right: -108px; top: 72px; }
.mock-cap { text-align: center; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.trust { padding: 8px 0 10px; }
.trust-grid, .feat-grid, .step-grid { display: grid; gap: 14px; }
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.trust-grid div, .feat-grid article {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 24px; background: #fff;
  box-shadow: 0 14px 30px -18px rgba(37, 99, 235, .4); font-weight: 700;
}
.trust-grid .ico { width: 22px; height: 22px; color: #1d4ed8; }
.block { padding: 72px 0; }
.center { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.kicker-l { font-weight: 800; font-size: 13px; letter-spacing: 1.5px; color: #2563eb; }
.kicker-l.light { color: #bae6fd; }
.block h2, .close-cta h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 44px); }
.feat-grid { grid-template-columns: repeat(4, 1fr); }
.feat-grid article { display: block; padding: 26px; border-radius: 32px; }
.feat-grid article > span {
  width: 56px; height: 56px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2563eb, #0369a1);
  box-shadow: 0 12px 22px -8px rgba(37, 99, 235, .55);
}
.feat-grid .ico { width: 26px; height: 26px; }
.feat-grid h3, .step-grid h3 { margin: 16px 0 6px; font-size: 20px; }
.feat-grid p, .step-grid p { margin: 0; color: #475569; line-height: 1.6; }
.step-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-grid b { display: block; font-size: 64px; line-height: 1; color: #bfdbfe; letter-spacing: -3px; }
.secure {
  position: relative; overflow: hidden; border-radius: 48px; padding: 64px; color: #fff;
  background: radial-gradient(circle at 90% 0%, rgba(125, 211, 252, .5), transparent 45%), linear-gradient(135deg, #1d4ed8, #0c4a6e);
  box-shadow: 0 40px 70px -30px rgba(29, 78, 216, .6);
}
.secure-copy { position: relative; max-width: 560px; }
.secure h2 { color: #fff; }
.secure-copy > p { color: #e0f2fe; }
.checks { display: grid; gap: 12px; margin-top: 18px; }
.checks div { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks .ico {
  width: 16px; height: 16px; padding: 7px; border-radius: 50%; background: #15803d; color: #fff;
}
.close-cta {
  text-align: center; border-radius: 48px; padding: 72px 40px;
  background: linear-gradient(135deg, #dbeafe, #fff 80%);
  box-shadow: 0 30px 60px -30px rgba(37, 99, 235, .45);
}
.close-cta p { margin: 14px auto 0; max-width: 460px; }
.center-actions { justify-content: center; }
.land-foot { padding: 20px 0 48px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 600; color: #475569; }
.land-flash { width: min(720px, calc(100% - 32px)); margin: 12px auto; }

@media (max-width: 980px) {
  .trust-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
  .float { display: none; }
  .mock-wrap { margin: 12px auto; }
  .secure, .close-cta { border-radius: 32px; padding: 36px 22px; }
}
@media (max-width: 760px) {
  body.landing { background: radial-gradient(90% 420px at 50% 0%, #dbeafe 0%, #f8fafc 75%); }
  .land-nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    background: #fff; border-radius: 22px; box-shadow: 0 18px 40px -18px rgba(37, 99, 235, .45);
  }
  .land-nav.open { display: flex; }
  .land-nav a { padding: 12px 14px; }
  .land-burger { display: grid; }
  .brand { font-size: 16px; white-space: nowrap; }
  .land-dl { height: 40px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
  .hero h1 { font-size: 36px; }
  .step-grid, .trust-grid, .feat-grid { grid-template-columns: 1fr; }
  .land-foot-in { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 980px) {
  body.admin:not(.shop) .shell { grid-template-columns: 1fr; }
  body.admin:not(.shop) .side { position: sticky; top: 0; height: auto; z-index: 6; padding: 12px 12px 8px; }
  body.admin:not(.shop) .side nav { display: flex; overflow: auto; gap: 6px; grid-template-columns: none; }
  body.admin:not(.shop) .nav-label, body.admin:not(.shop) .side-foot { display: none; }
  body.admin:not(.shop) .side nav a { flex: 0 0 auto; white-space: nowrap; }
  body.admin:not(.shop) .stats, body.admin:not(.shop) .desk, body.admin:not(.shop) .pair { grid-template-columns: 1fr 1fr; }
  body.admin:not(.shop) .work { padding: 16px 14px 40px; }
  body.admin:not(.shop) .pagehead.split { align-items: flex-start; flex-direction: column; }
}
body.admin:not(.shop) .fault {
  background: #fff; border-radius: 20px; margin-top: 10px; padding: 0 16px;
  box-shadow: 0 18px 40px -26px rgba(37, 99, 235, .45);
}
body.admin:not(.shop) .fault summary { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; cursor: pointer; padding: 14px 0; font-size: 14px; }
body.admin:not(.shop) .fault summary b { color: #1d4ed8; }
body.admin:not(.shop) .fault summary small { color: #64748b; white-space: nowrap; }
body.admin:not(.shop) .fault pre, body.admin:not(.shop) .fault-file {
  margin: 0 0 14px; padding: 12px; border-radius: 14px; background: #0f172a; color: #e2e8f0;
  overflow: auto; font-size: 12px; line-height: 1.5; white-space: pre-wrap;
}
@media (max-width: 980px) {
  body.admin:not(.shop) .fault summary { grid-template-columns: 1fr; }
}
.tds { width: 100%; height: 420px; border: 0; border-radius: 20px; background: #fff; margin: 12px 0; }
.bank-toggle { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .3); text-align: left; }
.bank-toggle img { width: 32px; height: 32px; border-radius: 10px; }
.bank-toggle b { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bank-toggle .ico { color: #94a3b8; transition: transform .2s; }
.bank-box.open .bank-toggle .ico { transform: rotate(90deg); }
.bank-sheet { margin: 0 0 12px; min-width: 0; }
.bank-sheet[hidden] { display: none !important; }
.bank-search { margin-bottom: 10px; }
.bank-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-width: 0; max-width: 100%; }
.bank-pick button[hidden] { display: none !important; }
.bank-pick button { width: 100%; min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 8px 4px 6px; }
.bank-pick button.on { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(37, 99, 235, .22); }
.bank-pick img { width: 36px; height: 36px; border-radius: 12px; display: block; margin: 0 auto 4px; }
.bank-pick small { display: block; font-size: 10px; font-weight: 700; line-height: 1.15; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-list { display: grid; gap: 8px; margin-bottom: 12px; min-width: 0; max-width: 100%; }
.saved-chip { width: 100%; min-width: 0; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 10px 12px; text-align: left; }
.saved-chip.on { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(37, 99, 235, .22); }
.saved-chip b, .saved-chip small { display: block; }
.saved-chip small { color: var(--muted); font-size: 12px; font-weight: 600; }
.saved-chip img { width: 36px; height: 36px; border-radius: 10px; }
.check { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; font-size: 14px; font-weight: 700; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.saved-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f1f5f9; }
.saved-line img { width: 36px; height: 36px; border-radius: 10px; }
.saved-line div { flex: 1; min-width: 0; }
.saved-line small { display: block; color: var(--muted); font-weight: 600; }
.saved-line .text { border: 0; background: transparent; color: #b91c1c; font-weight: 700; padding: 8px; }
.pos { display: grid; gap: 4px; }
.pos-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 44px -26px rgba(29, 78, 216, .65); }
.pos-head { background: linear-gradient(145deg, #1d4ed8, #0369a1 70%); color: #fff; padding: 22px 20px 20px; }
.pos-merchant { display: flex; align-items: center; gap: 12px; }
.pos-merchant .mark { width: 48px; height: 48px; background: #fff; }
.pos-merchant strong { display: block; font-size: 17px; }
.pos-merchant span { display: block; margin-top: 2px; font-size: 13px; opacity: .85; }
.pos-amount { margin-top: 18px; font-size: 44px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.pos-body { padding: 6px 18px 8px; }
.pos-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #f1f5f9; font-size: 14px; }
.pos-row:first-child { border-top: 0; }
.pos-row span { color: var(--muted); }
.pos-row b { text-align: right; }
html.installed .js-install { display: none !important; }
html.installed input,
html.installed select,
html.installed textarea,
html.installed .pill input {
  font-size: 16px;
}
html.installed body:not(.landing):not(.admin) { height: 100%; overflow: hidden; background: #f8fafc; }
html.installed .stage { height: 100dvh; min-height: 100dvh; padding: 0; }
html.installed .app {
  width: 100%; height: 100dvh; min-height: 100dvh; max-height: 100dvh;
  border-radius: 0; box-shadow: none;
}
html.installed .main { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
html.installed .tabbar {
  position: fixed;
  left: max(16px, calc(50% - 179px));
  right: max(16px, calc(50% - 179px));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
}
@media (display-mode: standalone), (display-mode: fullscreen) {
  .js-install { display: none !important; }
  input, select, textarea, .pill input { font-size: 16px; }
  body:not(.landing):not(.admin) { height: 100%; overflow: hidden; background: #f8fafc; }
  .stage { height: 100dvh; min-height: 100dvh; padding: 0; }
  .app { width: 100%; height: 100dvh; min-height: 100dvh; max-height: 100dvh; border-radius: 0; box-shadow: none; }
  .main { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed;
    left: max(16px, calc(50% - 179px));
    right: max(16px, calc(50% - 179px));
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
  }
}
