:root {
  --ink: #06143b;
  --muted: #566b8e;
  --line: #dce7f4;
  --paper: #ffffff;
  --surface: #f5f9ff;
  --blue: #0877ff;
  --blue2: #005fe8;
  --navy: #081b33;
  --green: #11b978;
  --purple: #7c3fe4;
  --orange: #ff7a25;
  --pink: #ef3b82;
  --red: #ef334e;
  --amber: #f59e0b;
  --shadow: 0 18px 50px rgba(18, 45, 82, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo strong,
.logo small { display: block; }

.logo strong {
  font-size: 28px;
  line-height: 1;
  color: inherit;
}

.logo small {
  color: #7890af;
  font-size: 13px;
  letter-spacing: 2px;
}

.vmark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 38px;
  color: white;
  border-radius: 10px;
  background: linear-gradient(135deg, #0c8dff 0%, #0051dd 48%, #6ec5ff 49%, #064ab0 100%);
  transform: skewX(-10deg);
}

.public-nav {
  height: 86px;
  background: rgba(255,255,255,0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 68px;
  border-bottom: 1px solid #eef3fa;
}

.public-nav nav {
  display: flex;
  gap: 42px;
  font-weight: 750;
}

.public-nav a {
  text-decoration: none;
}

.nav-actions,
.hero-actions,
.button-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn,
button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  text-decoration: none;
  font-weight: 900;
  font: inherit;
  cursor: pointer;
}

.btn.ghost,
button.ghost {
  color: var(--blue);
  background: white;
  border: 1px solid var(--blue);
}

.hero-public {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: 30px;
  padding: 48px 88px 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(10, 93, 180, 0.35), transparent 30%),
    linear-gradient(115deg, #ffffff 0%, #eef8ff 45%, #cfe8ff 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue2);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  max-width: 610px;
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.94;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy > p:not(.eyebrow) {
  color: #274066;
  font-size: 22px;
  line-height: 1.28;
  max-width: 580px;
  margin: 24px 0;
}

.trust-row {
  display: flex;
  gap: 38px;
  margin-top: 28px;
  color: #274066;
  font-weight: 800;
}

.phone-scene {
  position: relative;
  min-height: 560px;
}

.phone {
  width: 310px;
  min-height: 520px;
  background: #f8fbff;
  border: 12px solid #111827;
  border-radius: 44px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.28);
  transform: rotate(8deg);
  margin: 22px auto 0;
  padding: 38px 24px 24px;
  position: relative;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 110px;
  height: 20px;
  margin-left: -55px;
  background: #111827;
  border-radius: 0 0 16px 16px;
}

.phone .vmark {
  width: 46px;
  height: 46px;
  font-size: 30px;
  margin: 0 auto 8px;
}

.phone h3,
.phone p { text-align: center; }

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.phone-grid span {
  min-height: 78px;
  background: white;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.phone button {
  width: 100%;
  margin-top: 18px;
}

.city-card,
.beyond {
  position: absolute;
  right: 70px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.city-card {
  top: 95px;
  width: 250px;
  font-size: 22px;
}

.city-card span,
.beyond span {
  display: block;
  color: #274066;
  margin-top: 24px;
  font-size: 16px;
}

.beyond {
  right: 0;
  top: 360px;
  background: transparent;
  box-shadow: none;
  font-size: 30px;
}

.hero-slider {
  min-height: 560px;
  display: block;
  padding: 24px 54px;
  background: linear-gradient(115deg, #fafdff 0%, #eef7ff 52%, #d8ecff 100%);
}

.banner-slides {
  position: relative;
  min-height: 512px;
  overflow: hidden;
  border: 1px solid #d9e7f6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 50, 92, 0.10);
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(460px, 1.22fr);
  gap: 30px;
  align-items: center;
  padding: 54px 64px;
  opacity: 0;
  animation: bannerShow 18s infinite;
}

.banner-slide:nth-child(2) {
  animation-delay: 6s;
}

.banner-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes bannerShow {
  0%, 28% { opacity: 1; z-index: 2; }
  33%, 100% { opacity: 0; z-index: 1; }
}

.slide-copy h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 0.96;
}

.slide-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 24px;
  color: #274066;
  font-size: 21px;
  line-height: 1.34;
}

.wide-visual {
  min-height: 390px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: 36px;
}

.cash-slide {
  background: linear-gradient(115deg, #ffffff 0%, #f3f9ff 48%, #d7edff 100%);
}

.merchant-slide {
  background: linear-gradient(115deg, #ffffff 0%, #edf9f4 56%, #d9f2ff 100%);
}

.pos-slide {
  background: linear-gradient(115deg, #ffffff 0%, #f4f7fb 46%, #deedff 100%);
}

.cash-visual {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(8,119,255,0.12), rgba(17,185,120,0.10)),
    #f9fcff;
}

.money-panel,
.contact-panel,
.merchant-card,
.merchant-table,
.merchant-meter,
.pos-amount,
.receipt-card {
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 34px rgba(20, 58, 99, 0.10);
}

.money-panel {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: 30px;
  color: white;
  background: linear-gradient(150deg, #0877ff, #005fe8);
}

.money-panel span,
.money-panel small,
.merchant-card span,
.merchant-card small,
.merchant-meter span,
.pos-amount small,
.pos-amount em,
.receipt-card span {
  display: block;
}

.money-panel strong {
  font-size: 72px;
  line-height: 1;
}

.money-panel small {
  margin-top: 10px;
  color: rgba(255,255,255,0.82);
}

.contact-panel {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.contact-panel.second {
  transform: translateX(30px);
}

.contact-panel b {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
}

.contact-panel > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.contact-panel strong,
.contact-panel small {
  display: block;
}

.contact-panel small {
  color: var(--muted);
  font-weight: 750;
}

.contact-panel em {
  grid-column: 2;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.merchant-visual {
  grid-template-columns: 1fr 1.2fr 0.75fr;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(17,185,120,0.13), rgba(8,119,255,0.10)),
    #fbfffd;
}

.merchant-card {
  min-height: 250px;
  display: grid;
  align-content: center;
  padding: 24px;
}

.merchant-card strong {
  font-size: 48px;
}

.merchant-table {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.merchant-table b {
  font-size: 24px;
}

.merchant-table span,
.receipt-card span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-top: 1px solid #e8eef6;
  color: #334b70;
}

.merchant-meter {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  place-self: center;
  display: grid;
  place-items: center;
  text-align: center;
  border: 12px solid #11b978;
}

.merchant-meter strong {
  font-size: 32px;
}

.pos-visual {
  grid-template-columns: 0.82fr 1fr 1.1fr;
  gap: 18px;
  color: white;
  background: linear-gradient(135deg, #061425, #0b2846 56%, #08214a);
}

.tap-ring {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  place-self: center;
  display: grid;
  place-items: center;
}

.tap-ring span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0877ff;
  font-weight: 950;
}

.pos-amount {
  min-height: 250px;
  display: grid;
  align-content: center;
  padding: 24px;
  color: white;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.13);
}

.pos-amount strong {
  font-size: 56px;
}

.pos-amount em {
  color: #d4e5f6;
  font-style: normal;
}

.receipt-card {
  padding: 24px;
  color: var(--ink);
}

.receipt-card b {
  display: block;
  font-size: 23px;
  margin-bottom: 8px;
}

.slider-dots {
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 8px;
}

.slider-dots span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #bfd3e9;
  animation: dotShow 18s infinite;
}

.slider-dots span:nth-child(2) {
  animation-delay: 6s;
}

.slider-dots span:nth-child(3) {
  animation-delay: 12s;
}

@keyframes dotShow {
  0%, 28% { background: var(--blue); }
  33%, 100% { background: #bfd3e9; }
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 16px 50px 24px;
  background: white;
}

.service-strip article,
.quick-services article,
.panel,
.metrics-row article,
.app-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
}

.service-strip article {
  min-height: 150px;
  padding: 20px;
  text-align: center;
}

.circle-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #05b6d4);
  box-shadow: 0 10px 22px rgba(7, 93, 210, 0.18);
}

.circle-icon .ui-icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.9;
}

.service-strip article:nth-child(2) .circle-icon,
.quick-services article:nth-child(2) .circle-icon {
  background: linear-gradient(135deg, var(--green), #13c7a4);
}

.service-strip article:nth-child(3) .circle-icon,
.quick-services article:nth-child(3) .circle-icon {
  background: linear-gradient(135deg, var(--purple), #5d7df6);
}

.service-strip article:nth-child(4) .circle-icon,
.quick-services article:nth-child(4) .circle-icon {
  background: linear-gradient(135deg, var(--orange), #ffb347);
}

.service-strip article:nth-child(5) .circle-icon,
.quick-services article:nth-child(5) .circle-icon {
  background: linear-gradient(135deg, var(--pink), #ff7ab6);
}

.service-strip article:nth-child(6) .circle-icon,
.quick-services article:nth-child(6) .circle-icon {
  background: linear-gradient(135deg, #06b6d4, #0877ff);
}

.service-strip h3,
.service-strip p {
  margin: 6px 0;
}

.service-strip p,
.built-section p,
.panel p,
.tx-list small {
  color: var(--muted);
}

.built-section {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 34px;
  padding: 28px 54px 40px;
  background: white;
}

.built-section h2 {
  font-size: 42px;
  margin: 0 0 10px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-grid article {
  min-height: 146px;
  border-radius: 8px;
  padding: 20px;
  color: white;
  display: grid;
  align-content: end;
  background: linear-gradient(135deg, #0f5ddc, #0b1720);
}

.audience-grid span {
  margin-top: 8px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  padding: 18px;
}

.login-card {
  width: min(440px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.login-card h1 {
  margin: 0;
}

.login-card form,
.transfer-form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;
  color: #253b5d;
  font-size: 13px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ccd9ea;
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.alert {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
}

.demo-logins {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.app-page {
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  height: 100vh;
  padding: 14px 10px;
  background: linear-gradient(180deg, #071d36, #071425);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.app-sidebar nav::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.28);
  border-radius: 999px;
}

.app-sidebar .logo {
  padding: 0 12px 8px;
  flex-shrink: 0;
}

.app-sidebar .vmark {
  width: 42px;
  height: 42px;
  font-size: 28px;
}

.app-sidebar .logo strong {
  color: white;
  font-size: 22px;
}

.app-sidebar .logo small {
  font-size: 10px;
  letter-spacing: 1.2px;
}

.app-sidebar .logo strong {
  color: white;
}

.app-sidebar nav {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 4px 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.36) transparent;
}

.app-sidebar nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #d9e7f7;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.15;
}

.app-sidebar nav a.active {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
}

.download-card,
.admin-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 18px;
}

.sidebar-card {
  flex: 0 0 auto;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

.sidebar-card strong,
.sidebar-card small {
  display: block;
}

.sidebar-card strong {
  font-size: 14px;
}

.sidebar-card small {
  color: #bdd2e8;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

.download-card strong,
.download-card span {
  display: block;
}

.download-card strong {
  font-size: 21px;
}

.download-card span {
  color: #d0ddea;
  margin: 10px 0;
}

.store-pill {
  background: black;
  color: white;
  border-radius: 7px;
  padding: 9px 12px;
  margin-top: 8px;
  width: fit-content;
}

.admin-badge {
  color: white;
  font-weight: 900;
}

.admin-badge small {
  color: #bdd2e8;
}

.env-label {
  color: #d9e7f7;
}

.env-label select {
  background: #102741;
  color: white;
  border-color: #34506e;
}

.app-main {
  margin-left: 250px;
  padding: 16px 18px;
  display: grid;
  gap: 18px;
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.search {
  width: min(560px, 100%);
  min-height: 42px;
  display: flex;
  align-items: center;
  color: #7d91ad;
  padding: 0 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile small,
.profile a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #063777;
  color: white;
  font-weight: 900;
}

.bell {
  color: white;
  background: #ef2f54;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 900;
}

.customer-hero {
  min-height: 235px;
  border-radius: 8px;
  padding: 46px 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 88% 36%, #084f9d 0%, #0b2745 24%, transparent 25%),
    linear-gradient(120deg, #dff0ff, #ffffff 48%, #bbdcff);
  overflow: hidden;
}

.customer-hero h1 {
  font-size: 48px;
  margin: 0 0 8px;
}

.customer-hero h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.planet-card {
  color: white;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 850;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-services article {
  min-height: 140px;
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  padding: 18px;
  text-align: center;
}

.quick-services article:last-child {
  border-right: 0;
}

.quick-services strong,
.quick-services span {
  display: block;
}

.quick-services span {
  color: var(--muted);
  margin-top: 7px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.35fr 1.25fr;
  gap: 16px;
}

.panel {
  padding: 20px;
}

.panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-head a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.balance-panel > span {
  color: var(--muted);
}

.balance-panel > strong {
  display: block;
  font-size: 42px;
  margin: 8px 0;
}

.balance-panel > em {
  display: inline-flex;
  color: var(--green);
  background: #dcfce7;
  border-radius: 999px;
  padding: 6px 12px;
  font-style: normal;
  font-weight: 900;
}

.button-row {
  margin-top: 28px;
}

.button-row button {
  background: #edf5ff;
  color: var(--blue);
}

.tx-list {
  display: grid;
  gap: 12px;
}

.tx-list div {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 10px;
}

.tx-list span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.tx-list strong,
.tx-list small {
  display: block;
}

.tx-list em {
  font-style: normal;
  font-weight: 900;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #edf4fb;
  border-radius: 8px;
  overflow: hidden;
}

.tabs label {
  display: flex;
  justify-content: center;
  min-height: 38px;
  align-items: center;
}

.tabs input {
  display: none;
}

.bank-card {
  min-height: 105px;
  border-radius: 8px;
  background: linear-gradient(135deg, #09213e, #03101f);
  color: white;
  padding: 18px;
  display: grid;
}

.bank-card b {
  justify-self: end;
}

.green-panel {
  background: #eafff6;
}

.purple-panel {
  background: #f4efff;
}

.merchant-hero-panel {
  min-height: 210px;
  border-radius: 8px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background:
    radial-gradient(circle at 86% 28%, rgba(17,185,120,0.34), transparent 26%),
    linear-gradient(135deg, #071d36, #0a4fa3 58%, #0877ff);
  box-shadow: 0 18px 44px rgba(8, 45, 96, 0.18);
}

.merchant-hero-panel .eyebrow,
.merchant-hero-panel p {
  color: rgba(255,255,255,0.82);
}

.merchant-hero-panel h1 {
  margin: 0 0 8px;
  font-size: 44px;
}

.merchant-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.merchant-actions .btn.ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.42);
  color: white;
}

.merchant-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.merchant-metrics article {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
}

.merchant-metrics span,
.merchant-metrics strong,
.merchant-metrics em {
  display: block;
}

.merchant-metrics span {
  color: var(--muted);
}

.merchant-metrics strong {
  margin: 8px 0;
  font-size: 28px;
}

.merchant-metrics em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.merchant-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.merchant-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tool-tile {
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-content: stretch;
  text-align: left;
  gap: 8px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.tool-tile strong,
.tool-tile span {
  display: block;
}

.tool-tile span,
.merchant-api-panel p,
.pos-mini small {
  color: var(--muted);
}

.merchant-pos-panel {
  background: linear-gradient(160deg, #071d36, #0b2846);
  color: white;
}

.merchant-pos-panel .badge {
  background: rgba(255,255,255,0.12);
  color: white;
}

.pos-mini {
  min-height: 240px;
  display: grid;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.pos-mini strong {
  font-size: 52px;
}

.pos-mini .btn {
  width: min(260px, 100%);
  justify-self: center;
  margin-top: 10px;
}

.merchant-table-panel {
  grid-column: 1 / -1;
}

.api-key-box {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin: 16px 0;
  color: #0d3568;
  background: #edf5ff;
  border: 1px solid #cfe2fb;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-title h1 {
  margin: 0;
  font-size: 36px;
}

.admin-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.date-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 16px;
  font-weight: 850;
  white-space: nowrap;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

.stat-grid article {
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
  padding: 18px;
}

.stat-grid span,
.stat-grid strong,
.stat-grid em {
  display: block;
}

.stat-grid span {
  color: var(--muted);
  font-weight: 750;
}

.stat-grid strong {
  margin: 8px 0 2px;
  font-size: 28px;
}

.stat-grid em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.35fr) minmax(300px, 0.9fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.chart-panel {
  grid-column: span 2;
}

.table,
.list-table,
.clean-list {
  display: grid;
  gap: 0;
}

.table div,
.list-table div,
.clean-list div {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(90px, 0.8fr) minmax(80px, auto) minmax(70px, auto);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  color: #0b1b3d;
  font-size: 14px;
}

.list-table div,
.clean-list div {
  grid-template-columns: minmax(160px, 1fr) auto;
}

.table div:last-child,
.list-table div:last-child,
.clean-list div:last-child {
  border-bottom: 0;
}

.table span,
.table strong,
.table em,
.list-table span,
.list-table strong,
.clean-list span,
.clean-list strong {
  min-width: 0;
}

.table em,
.list-table strong,
.clean-list strong {
  justify-self: end;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue2);
  padding: 4px 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: capitalize;
}

.list-table small,
.clean-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.settings-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

.settings-summary article {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
}

.settings-summary span,
.settings-summary strong,
.settings-summary small {
  display: block;
}

.settings-summary span,
.settings-summary small {
  color: var(--muted);
}

.settings-summary strong {
  margin: 8px 0 3px;
  font-size: 24px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 16px;
  align-items: start;
}

.settings-grid .checkout-preview,
.settings-grid .merchant-registration-card {
  grid-row: span 2;
}

.rail-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.stripe-rail {
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.dwolla-rail {
  background: linear-gradient(135deg, #ffffff, #edfdf6);
}

.rail-list,
.control-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rail-list span {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  padding: 0 12px;
  font-weight: 820;
}

.badge.green {
  color: #047857;
  background: #dcfce7;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card-field-preview {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d9e7f6;
  border-radius: 8px;
  background: #fbfdff;
}

.card-field-preview button {
  width: 100%;
  margin-top: 4px;
}

.control-list label {
  min-height: 40px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  color: #20395d;
  font-size: 14px;
  font-weight: 780;
}

.control-list input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.ui-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.super-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 12%, rgba(6, 65, 130, 0.07), transparent 30%),
    #f6faff;
}

.super-shell .app-sidebar {
  width: 260px;
  padding: 22px 14px 20px;
  background:
    radial-gradient(circle at 24px 18px, rgba(0, 119, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #071f3b 0%, #061427 100%);
  gap: 20px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.admin-brand .vmark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 30px;
}

.admin-brand strong {
  font-size: 25px;
  line-height: 1;
}

.admin-brand em {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  padding: 0 12px;
  color: #66baff;
  border: 1px solid rgba(27, 123, 255, 0.72);
  border-radius: 999px;
  background: rgba(9, 52, 104, 0.82);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.super-shell .app-sidebar nav {
  gap: 8px;
  padding-right: 0;
}

.super-shell .app-sidebar nav a {
  min-height: 46px;
  gap: 13px;
  padding: 0 14px;
  color: #e6f0ff;
  font-size: 14px;
  font-weight: 760;
}

.super-shell .app-sidebar nav .ui-icon {
  width: 20px;
  height: 20px;
}

.super-shell .app-sidebar nav a.active {
  background: linear-gradient(135deg, #0877ff, #0753c9);
  box-shadow: inset 3px 0 0 rgba(99, 194, 255, 0.9);
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 0 10px;
  color: #dbeafe;
}

.admin-sidebar-foot strong,
.admin-sidebar-foot span,
.admin-sidebar-foot small {
  display: block;
}

.admin-sidebar-foot strong {
  font-size: 15px;
}

.admin-sidebar-foot span,
.admin-sidebar-foot small {
  color: #b7c9df;
  font-size: 13px;
}

.super-shell .app-main {
  min-height: 100vh;
  margin-left: 260px;
  padding: 0;
  gap: 0;
  background: #f8fbff;
}

.super-shell .topbar {
  min-height: 68px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #dce8f5;
}

.super-shell .search {
  width: min(620px, 52vw);
  min-height: 42px;
  gap: 12px;
  padding: 0 16px;
  color: #607292;
  background: linear-gradient(180deg, #fbfdff, #f3f8ff);
  border-color: #dbe7f4;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.search-icon {
  color: #18345d;
  display: inline-flex;
}

.search-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.notification-bell {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #08143d;
}

.notification-bell .ui-icon {
  width: 20px;
  height: 20px;
}

.notification-bell i {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef334e;
  border: 2px solid white;
}

.super-shell .profile {
  gap: 10px;
}

.super-shell .profile:before {
  content: "";
  width: 1px;
  height: 38px;
  margin: 0 4px;
  background: #d7e5f4;
}

.super-shell .avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0877ff, #0753c9);
  box-shadow: 0 8px 20px rgba(8, 119, 255, 0.24);
  font-size: 16px;
}

.super-shell .profile strong {
  color: #06143b;
  font-size: 14px;
}

.super-shell .profile small {
  color: #4f6584;
  font-size: 12px;
}

.profile-menu {
  width: 24px;
  display: grid;
  place-items: center;
  color: #08143d !important;
  font-size: 21px !important;
  text-decoration: none;
}

.superadmin-settings-main {
  position: relative;
}

.superadmin-settings-main:before {
  content: "";
  position: absolute;
  inset: 68px 24px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dce8f5;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 45, 78, 0.08);
  pointer-events: none;
}

.settings-hero,
.settings-category-grid,
.setting-detail-layout {
  position: relative;
  z-index: 1;
}

.settings-hero {
  padding: 22px 42px 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #315179;
  font-size: 13px;
  font-weight: 840;
}

.breadcrumb span {
  display: inline-flex;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb .ui-icon {
  width: 17px;
  height: 17px;
}

.settings-hero h1 {
  margin: 14px 0 4px;
  color: #020b31;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.settings-hero p {
  margin: 0;
  color: #536a8e;
  font-size: 16px;
}

.settings-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 14px;
  padding: 8px 30px 34px;
}

.setting-category-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  color: #071241;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dce8f5;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(20, 45, 78, 0.06);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.setting-category-card:hover {
  transform: translateY(-2px);
  border-color: #b9d6f5;
  box-shadow: 0 22px 60px rgba(20, 45, 78, 0.1);
}

.setting-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, #248dff, #2866f6);
}

.setting-icon .ui-icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.3;
}

.setting-branding .setting-icon { background: linear-gradient(135deg, #8d78ff, #6347e8); }
.setting-seo .setting-icon { background: linear-gradient(135deg, #54dda1, #25bf72); }
.setting-email .setting-icon { background: linear-gradient(135deg, #ff5474, #ee2f57); }
.setting-security .setting-icon { background: linear-gradient(135deg, #ffd039, #f4a907); }
.setting-payments .setting-icon { color: #085fdc; background: linear-gradient(135deg, #cce9ff, #9bccf8); }
.setting-fees .setting-icon { color: #064b47; background: linear-gradient(135deg, #c8f8df, #94edbf); }
.setting-compliance .setting-icon { color: #4a2bd1; background: linear-gradient(135deg, #d9ccff, #bba6fb); }
.setting-integrations .setting-icon { color: #4c1d95; background: linear-gradient(135deg, #f6a1f6, #e071df); }
.setting-api .setting-icon { color: #06354d; background: linear-gradient(135deg, #bdf5ff, #87dfef); }
.setting-system .setting-icon { color: #071241; background: linear-gradient(135deg, #e8eef5, #cfd9e5); }

.setting-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.setting-copy strong {
  font-size: 16px;
  line-height: 1.15;
}

.setting-copy small {
  max-width: 36ch;
  color: #536a8e;
  font-size: 14px;
  line-height: 1.36;
}

.setting-arrow {
  justify-self: end;
  color: #16345c;
  font-size: 28px;
  line-height: 1;
}

.settings-hero-compact {
  padding-bottom: 8px;
}

.setting-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  padding: 8px 30px 34px;
}

.setting-detail-panel,
.setting-readiness-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dce8f5;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(20, 45, 78, 0.06);
}

.setting-detail-panel {
  padding: 22px;
}

.setting-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.setting-detail-icon {
  flex: 0 0 auto;
}

.setting-detail-head h2 {
  margin: 0 0 4px;
  color: #071241;
  font-size: 21px;
  letter-spacing: 0;
}

.setting-detail-head p {
  margin: 0;
  color: #536a8e;
  font-size: 14px;
}

.setting-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.setting-form label {
  display: grid;
  gap: 7px;
  color: #253f66;
  font-size: 13px;
  font-weight: 800;
}

.setting-form input {
  min-height: 42px;
  padding: 0 12px;
  color: #071241;
  background: #f8fbff;
  border: 1px solid #d6e5f4;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
}

.setting-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.setting-readiness-panel {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.setting-readiness-panel h3 {
  margin: 0;
  color: #071241;
  font-size: 17px;
}

.setting-readiness-panel div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #3e587c;
  font-size: 14px;
  line-height: 1.35;
}

.setting-readiness-panel .ui-icon {
  width: 18px;
  height: 18px;
  color: #18a66b;
}

.users-main { padding-bottom: 28px !important; }
.users-main:before { bottom: 14px; }
.users-hero { padding-bottom: 12px; }
.users-add { float: right; min-height: 40px; padding: 0 20px; }
.users-stats, .users-content, .users-notice { position: relative; z-index: 1; }
.users-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 4px 30px 12px; }
.users-stats article { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid #dce8f5; border-radius: 7px; }
.users-stats article div { min-width: 0; display: grid; gap: 3px; }
.users-stats article div span { color: #536a8e; font-size: 12px; white-space: nowrap; }
.users-stats strong { color: #071241; font-size: 21px; line-height: 1.1; }
.users-stat-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: #0065d8; background: #e3f1ff; border-radius: 8px; }
.users-stat-icon .ui-icon { width: 22px; height: 22px; }
.users-stats article:nth-child(3) .users-stat-icon { color: #4e30bf; background: #ede8ff; }
.users-stats article:nth-child(5) .users-stat-icon { color: #d52b4a; background: #ffe8ec; }
.users-content { padding: 0 30px 30px; }
.users-tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #dce8f5; }
.users-tabs a { padding: 12px 14px; color: #445b7b; font-size: 14px; text-decoration: none; white-space: nowrap; }
.users-tabs a.active { color: #075dd2; border-bottom: 2px solid #0877ff; font-weight: 750; }
.users-tabs .users-export { margin-left: auto; color: #075dd2; }
.users-filters { display: flex; align-items: center; gap: 10px; padding: 14px 0; }
.users-filters input, .users-filters select { min-width: 0; height: 38px; padding: 0 12px; color: #344968; background: #fff; border: 1px solid #d6e5f4; border-radius: 6px; font: inherit; font-size: 13px; }
.users-filters input { flex: 1 1 260px; }
.users-filters select { flex: 0 1 185px; }
.users-filters .btn { min-height: 38px; padding: 0 15px; }
.users-filters a { margin-left: auto; color: #075dd2; font-size: 13px; text-decoration: none; }
.users-table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid #dce8f5; border-radius: 7px; }
.users-table { width: 100%; border-collapse: collapse; color: #314769; font-size: 12px; white-space: nowrap; }
.users-table th { padding: 10px 12px; color: #13213d; background: #f7fbff; text-align: left; font-weight: 750; }
.users-table td { padding: 8px 12px; border-top: 1px solid #e5edf6; }
.users-table td a { color: inherit; }
.users-person { display: flex; align-items: center; gap: 8px; color: #0d1936; font-weight: 650; }
.users-avatar { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: #0b66da; border-radius: 50%; font-size: 10px; }
.users-badge { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 11px; }
.type-customer { color: #0757bc; background: #e5f1ff; }
.type-merchant, .type-superadmin { color: #5232bd; background: #eee9ff; }
.status-active { color: #067c48; background: #e0f8ed; }
.status-suspended { color: #c4233d; background: #ffe9ed; }
.users-action { padding: 4px 7px; color: #075dd2; background: none; border: 0; cursor: pointer; font: inherit; }
.users-action:disabled { color: #9dacbf; cursor: default; }
.users-empty { padding: 30px !important; text-align: center; }
.users-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; color: #536a8e; font-size: 12px; }
.users-pagination div { display: flex; gap: 5px; }
.users-pagination a { min-width: 29px; height: 29px; display: grid; place-items: center; padding: 0 7px; color: #233a5b; background: #fff; border: 1px solid #dce8f5; border-radius: 5px; text-decoration: none; }
.users-pagination a.active { color: #fff; background: #075dd2; border-color: #075dd2; }
.users-notice { margin: 0 30px 10px; padding: 9px 12px; color: #067c48; background: #e8fbf0; border-radius: 5px; font-size: 13px; }
.users-notice.error { color: #b6253c; background: #ffedf0; }
.users-dialog { width: min(460px, calc(100vw - 30px)); padding: 24px; border: 1px solid #dce8f5; border-radius: 8px; box-shadow: 0 25px 80px #071b3950; }
.users-dialog::backdrop { background: #071b3970; }
.users-dialog form, .users-dialog label { display: grid; gap: 8px; }
.users-dialog form { gap: 12px; }
.users-dialog h2 { margin: 0; font-size: 22px; }
.users-dialog p { margin: -8px 0 4px; color: #536a8e; font-size: 13px; }
.users-dialog label { color: #344968; font-size: 12px; font-weight: 700; }
.users-dialog input, .users-dialog select { height: 38px; padding: 0 10px; border: 1px solid #d6e5f4; border-radius: 5px; font: inherit; }
.users-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.transactions-head-actions { float: right; display: flex; align-items: center; gap: 10px; }
.transactions-head-actions span { min-height: 40px; display: flex; align-items: center; padding: 0 14px; color: #20395d; background: #fff; border: 1px solid #dce8f5; border-radius: 6px; font-size: 12px; font-weight: 700; }
.transactions-head-actions .btn { min-height: 40px; padding: 0 18px; text-decoration: none; }
.transactions-stats strong { font-size: clamp(15px, 1.35vw, 20px); white-space: nowrap; }
.transactions-stats article:nth-child(2) .users-stat-icon { color: #075c42; background: #d8faeb; }
.transactions-stats article:nth-child(4) .users-stat-icon { color: #9b5c00; background: #fff0c9; }
.transactions-filters { gap: 8px; }
.transactions-filters input[name="q"] { flex-basis: 220px; }
.transactions-filters select { flex: 1 1 140px; max-width: 185px; }
.transactions-filters .date-filter { display: grid; gap: 2px; color: #536a8e; font-size: 10px; }
.transactions-filters .date-filter input { width: 132px; height: 28px; padding: 0 6px; font-size: 11px; }
.transactions-table th, .transactions-table td { padding-left: 10px; padding-right: 10px; }
.transactions-table td > strong, .transactions-table td > small { display: block; }
.transactions-table td > strong { color: #13213d; font-size: 12px; }
.transactions-table td > small { margin-top: 2px; color: #607292; font-size: 10px; }
.transaction-type { display: inline-flex; align-items: center; gap: 6px; color: #172743; }
.transaction-type .ui-icon { width: 23px; height: 23px; padding: 5px; color: #fff; background: #1787f2; border-radius: 50%; box-sizing: border-box; }
.transaction-type-refund .ui-icon { background: #f06b7e; }
.transaction-type-merchant .ui-icon { background: #16b77e; }
.transaction-amount { color: #087b4a; font-weight: 800; }
.transaction-amount.refund { color: #dc2846; }
.status-completed, .status-paid { color: #067c48; background: #e0f8ed; }
.status-pending, .status-processing { color: #986200; background: #fff3d5; }
.status-failed, .status-expired, .status-disputed { color: #c4233d; background: #ffe9ed; }
.transaction-view { color: #075dd2 !important; font-weight: 700; text-decoration: none; }
.transaction-dialog { max-height: calc(100vh - 40px); overflow-y: auto; }
.transaction-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; }
.transaction-dialog-head a { color: #18345d; font-size: 26px; line-height: 1; text-decoration: none; }
.transaction-detail-row { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid #e5edf6; font-size: 12px; }
.transaction-detail-row span { color: #607292; }
.transaction-detail-row strong { max-width: 65%; color: #172743; text-align: right; overflow-wrap: anywhere; }
.accounts-hero .users-add { color: #fff; text-decoration: none; }
.accounts-stats article:nth-child(3) .users-stat-icon { color: #096c4a; background: #dbf8eb; }
.accounts-stats article:nth-child(4) .users-stat-icon, .accounts-stats article:nth-child(5) .users-stat-icon { color: #075bbf; background: #e3f1ff; }
.account-channel-note { margin-left: 10px; padding: 5px 9px; color: #526986; background: #edf4fb; border-radius: 5px; font-size: 11px; white-space: nowrap; }
.accounts-table td > strong, .accounts-table td > small, .accounts-table .users-person strong, .accounts-table .users-person small { display: block; }
.accounts-table td > small, .accounts-table .users-person small { margin-top: 2px; color: #607292; font-size: 10px; }
.account-volume { color: #087b4a; font-weight: 800; }
.kyb-verified { color: #067c48; background: #e0f8ed; }
.kyb-pending { color: #986200; background: #fff3d5; }
.kyb-review { color: #6736bd; background: #eee9ff; }
.access-mobile { display: inline-block; padding: 4px 8px; color: #405b7d; background: #edf4fb; border-radius: 5px; font-size: 10px; }
.account-actions { display: flex; align-items: center; gap: 7px; }
.account-actions a, .account-actions button { padding: 0; color: #075dd2; background: none; border: 0; font: inherit; font-size: 11px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.account-actions form { margin: 0; }
.account-dialog h2 { max-width: 360px; overflow-wrap: anywhere; }
.pos-stats article:nth-child(3) .users-stat-icon { color: #057349; background: #dcf8eb; }
.pos-stats article:nth-child(4) .users-stat-icon { color: #6b7280; background: #eef2f6; }
.pos-stats article:nth-child(5) .users-stat-icon { color: #9b5c00; background: #fff0c9; }
.pos-stats strong { font-size: clamp(16px, 1.4vw, 21px); white-space: nowrap; }
.pos-table .users-avatar { color: #075dd2; background: #e3f1ff; border-radius: 7px; }
.pos-table .users-avatar .ui-icon { width: 17px; height: 17px; }
.pos-table td > strong, .pos-table td > small, .pos-table .users-person strong, .pos-table .users-person small { display: block; }
.pos-table td > small, .pos-table .users-person small { margin-top: 2px; color: #607292; font-size: 10px; }
.connectivity { display: inline-flex; align-items: center; gap: 6px; color: #526986; font-size: 11px; }
.connectivity i { width: 7px; height: 7px; background: #9aa9ba; border-radius: 50%; }
.connectivity-online { color: #087b4a; }
.connectivity-online i { background: #13ad6f; box-shadow: 0 0 0 3px #dcf8eb; }
.account-actions button:disabled { color: #a2afbf; cursor: default; }
.reports-stats strong { font-size: clamp(15px, 1.35vw, 20px); white-space: nowrap; }
.reports-stats article:nth-child(2) .users-stat-icon { color: #087b4a; background: #dcf8eb; }
.reports-stats article:nth-child(4) .users-stat-icon { color: #6637bd; background: #eee9ff; }
.reports-stats article:nth-child(5) .users-stat-icon { color: #9b5c00; background: #fff0c9; }
.report-change { color: #07945a; font-size: 10px; font-weight: 750; }
.report-change.down { color: #ce2945; }
.report-range-form { display: flex; align-items: end; justify-content: flex-end; gap: 9px; padding: 12px 0; }
.report-range-form label { display: grid; gap: 3px; color: #536a8e; font-size: 10px; font-weight: 700; }
.report-range-form input { height: 34px; padding: 0 9px; color: #20395d; background: #fff; border: 1px solid #d6e5f4; border-radius: 6px; font: inherit; font-size: 12px; }
.report-range-form .btn { min-height: 34px; padding: 0 13px; }
.report-range-form a { align-self: center; margin-top: 13px; color: #075dd2; font-size: 12px; text-decoration: none; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 12px; }
.report-panel { min-width: 0; padding: 18px; background: #fff; border: 1px solid #dce8f5; border-radius: 7px; }
.report-table-panel { padding: 0; overflow: hidden; }
.report-table-panel .report-panel-head { padding: 18px; }
.report-table-panel .users-table-wrap { border-width: 1px 0 0; border-radius: 0; }
.report-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.report-panel-head h2 { margin: 0 0 3px; color: #071241; font-size: 16px; }
.report-panel-head p { margin: 0; color: #607292; font-size: 11px; }
.report-panel-head > strong { color: #071241; font-size: 19px; white-space: nowrap; }
.report-bars { display: grid; gap: 10px; max-height: 250px; overflow-y: auto; padding-right: 4px; }
.report-bar-row { display: grid; grid-template-columns: 48px minmax(80px, 1fr) 78px; align-items: center; gap: 9px; color: #536a8e; font-size: 10px; }
.report-bar-row i { height: 8px; overflow: hidden; background: #edf3fa; border-radius: 4px; }
.report-bar-row b { height: 100%; display: block; background: linear-gradient(90deg, #0877ff, #20b98a); border-radius: inherit; }
.report-bar-row strong { color: #20395d; font-size: 10px; text-align: right; }
.report-bars.compact .report-bar-row { grid-template-columns: 55px minmax(80px, 1fr) 78px; }
.report-snapshot { display: grid; gap: 2px; }
.report-snapshot div, .report-status-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #e8eff7; }
.report-snapshot div:last-child, .report-status-list div:last-child { border-bottom: 0; }
.report-snapshot span { color: #536a8e; font-size: 11px; }
.report-snapshot strong { color: #071241; font-size: 15px; }
.report-status-list strong { margin-left: auto; color: #071241; font-size: 13px; }
.report-status-list small { min-width: 75px; color: #536a8e; font-size: 10px; text-align: right; }
.report-empty { margin: 20px 0; color: #607292; font-size: 12px; text-align: center; }
.public-announcement { padding: 9px 20px; color: #fff; background: #075dd2; font-size: 13px; font-weight: 700; text-align: center; }
.footer-contact { color: #c8d8eb; font-size: 12px; }
.footer-contact a { color: #fff; }
.website-maintenance { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; color: #071241; background: #f5f9fe; text-align: center; }
.website-maintenance .vmark { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0a8bff, #0754ce); border-radius: 10px; font-size: 38px; font-weight: 900; }
.website-maintenance h1 { margin: 8px 0 0; font-size: clamp(32px, 5vw, 56px); letter-spacing: 0; }
.website-maintenance p { max-width: 600px; margin: 0; color: #536a8e; font-size: 17px; line-height: 1.6; }
.website-hero .users-add { color: #fff; text-decoration: none; }
.website-status-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 4px 30px 12px; }
.website-status-row article { min-width: 0; display: grid; gap: 5px; padding: 13px 15px; background: #fff; border: 1px solid #dce8f5; border-radius: 7px; }
.website-status-row span { color: #607292; font-size: 10px; }
.website-status-row strong { overflow: hidden; color: #087b4a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.website-status-row strong.is-maintenance { color: #c42845; }
.website-workspace { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; padding: 0 30px 30px; }
.website-editor { min-width: 0; }
.website-section-nav { position: sticky; top: 68px; z-index: 3; display: flex; gap: 5px; padding: 10px 0; background: #f8fbff; border-bottom: 1px solid #dce8f5; }
.website-section-nav a { padding: 7px 10px; color: #405b7d; border-radius: 5px; font-size: 12px; text-decoration: none; }
.website-section-nav a:hover { color: #075dd2; background: #eaf3ff; }
.website-form-section { display: grid; gap: 14px; margin-top: 12px; padding: 18px; background: #fff; border: 1px solid #dce8f5; border-radius: 7px; scroll-margin-top: 125px; }
.website-form-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid #e8eff7; }
.website-form-heading > span { width: 36px; height: 36px; display: grid; flex: 0 0 auto; place-items: center; color: #075dd2; background: #e7f2ff; border-radius: 7px; }
.website-form-heading .ui-icon { width: 19px; height: 19px; }
.website-form-heading h2 { margin: 0 0 2px; color: #071241; font-size: 16px; }
.website-form-heading p { margin: 0; color: #607292; font-size: 11px; }
.website-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.website-form-grid .full { grid-column: 1 / -1; }
.website-form-section label { display: grid; gap: 6px; color: #344968; font-size: 11px; font-weight: 750; }
.website-form-section input:not([type="checkbox"]), .website-form-section textarea { width: 100%; min-height: 38px; padding: 9px 10px; color: #172743; background: #fbfdff; border: 1px solid #d6e5f4; border-radius: 5px; font: inherit; font-size: 12px; resize: vertical; box-sizing: border-box; }
.website-toggle { display: flex !important; grid-template-columns: none; align-items: center; gap: 9px !important; padding: 10px 12px; background: #edf7ff; border-radius: 6px; }
.website-toggle input { width: 17px; height: 17px; accent-color: #075dd2; }
.website-toggle.danger { color: #a5233b; background: #fff0f2; }
.website-editor-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 9px; padding: 13px 0; background: #f8fbff; }
.website-preview { position: sticky; top: 80px; align-self: start; overflow: hidden; background: #fff; border: 1px solid #dce8f5; border-radius: 7px; }
.website-preview-head { display: flex; justify-content: space-between; padding: 11px 13px; color: #536a8e; background: #f5f9fe; border-bottom: 1px solid #dce8f5; font-size: 10px; }
.website-preview-canvas { min-height: 270px; background: #f8fbff; }
.website-preview-announcement { padding: 6px; color: #fff; background: #075dd2; font-size: 7px; text-align: center; }
.website-preview-nav { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #e5edf6; }
.website-preview-nav .vmark { width: 21px; height: 21px; display: grid; place-items: center; color: #fff; background: #0877ff; border-radius: 4px; font-size: 14px; }
.website-preview-nav strong { margin-right: auto; color: #071241; font-size: 10px; }
.website-preview-nav i { width: 24px; height: 4px; background: #dbe6f3; border-radius: 2px; }
.website-preview-hero { padding: 30px 24px; }
.website-preview-hero small { color: #075dd2; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.website-preview-hero h2 { margin: 8px 0; color: #071241; font-size: 22px; line-height: 1.08; letter-spacing: 0; }
.website-preview-hero p { margin: 0; color: #536a8e; font-size: 9px; line-height: 1.5; }
.website-preview-hero div { display: flex; gap: 6px; margin-top: 14px; }
.website-preview-hero div span, .website-preview-hero div b { padding: 6px 8px; border-radius: 4px; font-size: 8px; }
.website-preview-hero div span { color: #fff; background: #075dd2; }
.website-preview-hero div b { color: #075dd2; border: 1px solid #bdd5f1; }
.website-preview-meta { display: grid; gap: 5px; padding: 14px; border-top: 1px solid #dce8f5; }
.website-preview-meta span { color: #607292; font-size: 9px; text-transform: uppercase; }
.website-preview-meta strong { color: #263f9e; font-size: 13px; }
.website-preview-meta a { color: #087b4a; font-size: 9px; }
.website-preview-meta p { margin: 0; color: #536a8e; font-size: 9px; line-height: 1.45; }
.logs-stats article:nth-child(2) .users-stat-icon { color: #075bbf; background: #e3f1ff; }
.logs-stats article:nth-child(3) .users-stat-icon { color: #c42845; background: #ffe9ed; }
.logs-stats article:nth-child(4) .users-stat-icon { color: #087b4a; background: #dcf8eb; }
.logs-stats article:nth-child(5) .users-stat-icon { color: #6637bd; background: #eee9ff; }
.logs-filters .date-filter { display: grid; gap: 2px; color: #536a8e; font-size: 10px; }
.logs-filters .date-filter input { width: 132px; height: 28px; padding: 0 6px; font-size: 11px; }
.logs-table td > strong, .logs-table td > small { display: block; }
.logs-table td > strong { color: #13213d; font-size: 11px; }
.logs-table td > small { margin-top: 2px; color: #73859f; font-size: 9px; }
.logs-table th, .logs-table td { padding-left: 9px; padding-right: 9px; }
.log-level { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 750; }
.log-level i { width: 7px; height: 7px; background: #5a91d4; border-radius: 50%; }
.log-level-success { color: #087b4a; }
.log-level-success i { background: #13ad6f; }
.log-level-warning { color: #9b6500; }
.log-level-warning i { background: #eca900; }
.log-level-danger { color: #c42845; }
.log-level-danger i { background: #e53352; }
.log-channel { display: inline-block; padding: 4px 7px; color: #405b7d; background: #edf4fb; border-radius: 5px; font-size: 9px; }
.log-details { max-width: 230px; overflow: hidden; color: #536a8e; text-overflow: ellipsis; }
.log-dialog { width: min(570px, calc(100vw - 30px)); }
.log-context-label { display: grid; gap: 6px; margin-top: 12px; color: #536a8e; font-size: 11px; font-weight: 750; }
.log-context-label textarea { width: 100%; padding: 10px; color: #dbeafe; background: #071b33; border: 0; border-radius: 6px; font: 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; resize: vertical; box-sizing: border-box; }
@media (max-width: 1180px) { .users-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .users-filters { flex-wrap: wrap; } }
@media (max-width: 1100px) { .website-workspace { grid-template-columns: 1fr; } .website-preview { position: static; } }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } .website-status-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .users-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 18px 12px; } .users-content { padding: 0 18px 20px; } .users-tabs { overflow-x: auto; } .users-filters input { flex-basis: 100%; } .users-hero .users-add { float: none; margin: 12px 0 0; } .users-pagination { align-items: flex-start; flex-direction: column; } .transactions-head-actions { float: none; margin: 12px 0 0; } .transactions-stats strong { font-size: 15px; } .account-channel-note { display: none; } .report-range-form { justify-content: flex-start; flex-wrap: wrap; } .report-bar-row { grid-template-columns: 42px minmax(60px, 1fr) 68px; } .website-status-row, .website-workspace { padding-left: 18px; padding-right: 18px; } .website-form-grid { grid-template-columns: 1fr; } .website-form-grid .full { grid-column: auto; } .website-section-nav { overflow-x: auto; } }

@media (max-width: 1180px) {
  .settings-category-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .setting-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .super-shell .app-sidebar {
    width: auto;
  }

  .super-shell .app-main {
    margin-left: 0;
  }

  .super-shell .topbar {
    min-height: auto;
  }

  .superadmin-settings-main:before {
    inset: 0 12px 14px;
  }

  .settings-hero,
  .settings-category-grid,
  .setting-detail-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .settings-category-grid,
  .setting-form {
    grid-template-columns: 1fr;
  }
}

.registration-shell {
  display: grid;
  gap: 18px;
  padding: 32px 54px 54px;
}

.registration-grid {
  grid-template-columns: minmax(360px, 0.9fr) minmax(300px, 0.7fr);
}

.alert.success {
  color: #065f46;
  background: #dcfce7;
  border-color: #86efac;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metrics-row article {
  padding: 18px;
}

.metrics-row span,
.metrics-row strong,
.metrics-row em {
  display: block;
}

.metrics-row strong {
  font-size: 26px;
  margin: 6px 0;
}

.metrics-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 245px;
  gap: 16px;
}

.admin-left {
  display: grid;
  gap: 16px;
}

.chart-row {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
}

.chart-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.line-chart {
  min-height: 190px;
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(8,119,255,0.18), transparent),
    repeating-linear-gradient(to right, transparent 0 68px, #e4edf8 69px 70px),
    repeating-linear-gradient(to top, transparent 0 46px, #e4edf8 47px 48px);
  position: relative;
}

.line-chart:after {
  content: "";
  position: absolute;
  inset: 38px 22px 38px;
  border-bottom: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  transform: skew(-18deg) rotate(-8deg);
  border-radius: 8px;
}

.donut {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  margin: 12px auto;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) 0 48%, var(--green) 48% 70%, var(--purple) 70% 88%, var(--orange) 88% 97%, #8aa0ba 97% 100%);
}

.donut.green {
  background: conic-gradient(var(--green) 0 92%, #dfeaf5 92% 100%);
}

.donut span {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

.donut small {
  font-weight: 500;
  color: var(--muted);
}

.breakdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

td {
  border-bottom: 1px solid #edf2f7;
  padding: 10px 8px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e8f2ff;
  color: var(--blue);
  font-weight: 900;
}

.bars {
  height: 110px;
  background: repeating-linear-gradient(to right, var(--blue) 0 9px, transparent 9px 18px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}

.resources label {
  margin-bottom: 12px;
}

.resources span {
  float: right;
  color: var(--muted);
}

progress {
  width: 100%;
  accent-color: var(--green);
}

.admin-right {
  display: grid;
  gap: 16px;
}

.status-panel div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
}

.status-panel div span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.alert-line {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
}

.alert-line span {
  color: var(--muted);
}

.alert-line.danger strong { color: var(--red); }
.alert-line.warning strong { color: var(--amber); }
.alert-line.success strong { color: var(--green); }
.alert-line.info strong { color: var(--blue); }

.action-button {
  width: 100%;
  justify-content: flex-start;
  background: white;
  color: var(--blue);
  border: 1px solid var(--line);
  margin-top: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 28px;
  padding: 38px 54px 24px;
  background: #06162b;
  color: white;
}

.site-footer .logo strong {
  color: white;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: #b9c9dc;
}

.site-footer a,
.site-footer strong {
  display: block;
  text-decoration: none;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer nav strong {
  color: white;
  margin-bottom: 4px;
}

.footer-brand p {
  max-width: 360px;
  line-height: 1.5;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.13);
  font-size: 13px;
}

.personal-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: 28px;
  align-items: center;
  padding: 34px 54px 30px;
  background:
    radial-gradient(circle at 76% 22%, rgba(8,119,255,0.18), transparent 28%),
    linear-gradient(120deg, #ffffff, #edf7ff 62%, #d8ecff);
  overflow: hidden;
}

.personal-copy h1,
.mobile-heading h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.96;
}

.personal-copy p:not(.eyebrow),
.mobile-heading p:not(.eyebrow) {
  color: #2a4368;
  font-size: 20px;
  line-height: 1.4;
  max-width: 560px;
}

.store-button {
  min-height: 58px;
  min-width: 178px;
  border-radius: 8px;
  background: #020817;
  color: white;
  display: grid;
  justify-content: center;
  align-content: center;
  text-decoration: none;
  padding: 9px 18px;
}

.store-button span,
.store-button strong {
  display: block;
}

.store-button span {
  font-size: 11px;
}

.store-button strong {
  font-size: 22px;
}

.ios-preview-row,
.ios-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.ios-preview-row {
  grid-template-columns: 1.02fr 0.92fr 0.92fr;
  gap: 10px;
  justify-items: center;
  align-items: end;
  min-width: 0;
  max-height: 520px;
  overflow: hidden;
}

.personal-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 54px 34px;
  background: white;
}

.personal-rules article {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: #fbfdff;
}

.personal-rules span,
.p2p-note {
  color: var(--muted);
}

.mobile-app-link {
  width: 100%;
  margin: 2px 0 10px;
}

.tabs.two {
  grid-template-columns: repeat(2, 1fr);
}

.mobile-product-page {
  min-height: 100vh;
  background: #f7fbff;
}

.mobile-app-main {
  display: grid;
  gap: 26px;
  padding: 32px 54px 44px;
}

.mobile-heading {
  display: grid;
  gap: 10px;
}

.success-banner,
.notice-banner {
  width: fit-content;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 850;
}

.success-banner {
  color: #065f46;
  background: #dcfce7;
}

.notice-banner {
  color: #7c2d12;
  background: #ffedd5;
}

.ios-stage {
  min-height: 690px;
  justify-items: center;
}

.ios-phone {
  width: min(100%, 330px);
  min-height: 668px;
  border: 12px solid #090b12;
  border-radius: 42px;
  box-shadow: 0 24px 58px rgba(8, 25, 58, 0.22);
  padding: 22px 24px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ios-preview-row .ios-phone {
  width: 184px;
  min-height: 398px;
  border-width: 8px;
  border-radius: 32px;
  padding: 14px 14px 10px;
  box-shadow: 0 16px 36px rgba(8, 25, 58, 0.18);
}

.ios-preview-row .ios-phone:first-child {
  width: 204px;
  min-height: 438px;
}

.mobile-product-page .ios-phone:not(.is-active) {
  opacity: 0.72;
  transform: scale(0.98);
}

.ios-phone.is-active {
  opacity: 1;
  transform: translateY(-6px);
}

.ios-blue {
  color: white;
  background: linear-gradient(160deg, #0579ff 0%, #005ee8 56%, #004fd2 100%);
}

.ios-white {
  color: var(--ink);
  background: #ffffff;
}

.ios-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 112px;
  height: 28px;
  transform: translateX(-50%);
  background: #05060a;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.ios-preview-row .ios-notch {
  top: 5px;
  width: 82px;
  height: 20px;
  border-radius: 0 0 13px 13px;
}

.ios-status {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 28px;
}

.ios-preview-row .ios-status {
  font-size: 10px;
  margin-bottom: 15px;
}

.mobile-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 78px;
}

.ios-preview-row .mobile-logo {
  margin-bottom: 34px;
}

.mobile-logo .logo strong {
  color: white;
  font-size: 24px;
}

.ios-preview-row .mobile-logo .logo {
  gap: 7px;
}

.ios-preview-row .mobile-logo .logo strong {
  font-size: 17px;
}

.mobile-logo .logo small {
  display: none;
}

.mobile-logo .vmark {
  width: 38px;
  height: 38px;
  font-size: 26px;
}

.ios-preview-row .mobile-logo .vmark {
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.mobile-profile,
.confirm-person span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: var(--blue);
  font-weight: 950;
}

.ios-preview-row .mobile-profile {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.amount-display,
.confirm-amount {
  min-height: 92px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: white;
}

.ios-preview-row .amount-display,
.ios-preview-row .confirm-amount {
  min-height: 50px;
}

.amount-display span,
.confirm-amount span {
  font-size: 48px;
  font-weight: 900;
}

.ios-preview-row .amount-display span,
.ios-preview-row .confirm-amount span {
  font-size: 26px;
}

.amount-display strong,
.confirm-amount strong {
  font-size: 82px;
  line-height: 1;
}

.ios-preview-row .amount-display strong,
.ios-preview-row .confirm-amount strong {
  font-size: 46px;
}

.currency-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 28px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: white;
  padding: 0 24px;
}

.ios-preview-row .currency-pill {
  min-height: 28px;
  padding: 0 13px;
  margin: 10px auto 14px;
  font-size: 11px;
}

.currency-pill.light {
  background: #f2f5fa;
  color: var(--ink);
}

.mobile-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 22px;
}

.ios-preview-row .mobile-keypad {
  gap: 5px 11px;
}

.mobile-keypad button {
  min-height: 54px;
  padding: 0;
  background: transparent;
  color: white;
  font-size: 28px;
}

.ios-preview-row .mobile-keypad button {
  min-height: 31px;
  font-size: 17px;
}

.mobile-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 24px;
}

.ios-preview-row .mobile-action-row {
  gap: 9px;
  margin: 14px 0 12px;
}

.ios-preview-row .mobile-action-row button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.mobile-action-row button {
  border-radius: 22px;
  background: rgba(255,255,255,0.13);
}

.mobile-action-row .white-action {
  color: var(--blue);
  background: white;
}

.mobile-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  text-align: center;
}

.ios-preview-row .mobile-tabbar {
  font-size: 8px;
}

.mobile-tabbar strong {
  color: white;
}

.ios-white h2 {
  text-align: center;
  margin: 0 0 22px;
}

.ios-preview-row .ios-white h2 {
  font-size: 19px;
  margin-bottom: 11px;
}

.back-button {
  position: absolute;
  top: 56px;
  left: 22px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
}

.ios-preview-row .back-button {
  top: 35px;
  left: 14px;
  width: 24px;
  min-height: 24px;
  font-size: 18px;
}

.contact-search {
  min-height: 58px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #8795aa;
  background: #f0f3f8;
  margin-bottom: 18px;
}

.ios-preview-row .contact-search {
  min-height: 36px;
  padding: 0 12px;
  margin-bottom: 9px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 0;
  border-bottom: 1px solid #edf2f7;
  background: white;
  color: var(--ink);
  text-align: left;
  padding: 10px 0;
}

.ios-preview-row .contact-row {
  min-height: 46px;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 5px 0;
}

.contact-row span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-weight: 950;
  font-size: 21px;
}

.ios-preview-row .contact-row span {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.ios-preview-row .contact-row strong {
  font-size: 12px;
}

.ios-preview-row .contact-row small {
  font-size: 10px;
}

.contact-row:nth-child(2) span {
  background: #a78bfa;
}

.contact-row:nth-child(3) span {
  background: #dbeafe;
  color: var(--blue2);
}

.contact-row:nth-child(4) span,
.group-row span {
  background: #cbd5e1;
  color: var(--blue2);
}

.contact-row strong,
.contact-row small,
.confirm-person strong,
.confirm-person small {
  display: block;
}

.contact-row small,
.confirm-person small {
  color: var(--muted);
  font-weight: 700;
}

.confirm-person {
  display: grid;
  justify-items: center;
  margin: 86px 0 56px;
}

.ios-preview-row .confirm-person {
  margin: 46px 0 28px;
}

.confirm-person span {
  width: 84px;
  height: 84px;
  background: var(--blue);
  color: white;
  font-size: 31px;
  margin-bottom: 16px;
}

.ios-preview-row .confirm-person span {
  width: 50px;
  height: 50px;
  font-size: 19px;
  margin-bottom: 10px;
}

.ios-preview-row .confirm-person strong {
  font-size: 14px;
}

.ios-preview-row .confirm-person small {
  font-size: 10px;
}

.confirm-person strong {
  font-size: 22px;
}

.confirm-amount {
  color: var(--ink);
  min-height: 86px;
}

.mobile-pay-form {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  display: grid;
  gap: 104px;
}

.ios-preview-row .mobile-pay-form {
  left: 14px;
  right: 14px;
  bottom: 14px;
  gap: 10px;
}

.mobile-pay-form input {
  min-height: 62px;
  background: #f3f6fb;
  border-color: #edf2f7;
  font-size: 16px;
}

.ios-preview-row .mobile-pay-form input {
  min-height: 36px;
  font-size: 10px;
}

.ios-preview-row .mobile-pay-form .btn {
  min-height: 34px;
  font-size: 11px;
  padding: 0 12px;
}

.mobile-pay-form .btn {
  width: 100%;
}

.ios-install-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 12%, rgba(8,119,255,0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef7ff 64%, #dbeeff 100%);
}

.ios-install-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(300px, 0.7fr);
  gap: 32px;
  align-items: center;
  padding: 44px 7vw;
}

.install-card {
  border: 1px solid #dce7f4;
  border-radius: 8px;
  padding: 34px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 50px rgba(18, 45, 82, 0.10);
}

.install-brand {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
}

.install-brand img {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(8,119,255,0.22);
}

.install-brand h1 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 0.98;
}

.install-lead {
  max-width: 680px;
  margin: 22px 0;
  color: #274066;
  font-size: 21px;
  line-height: 1.42;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.install-steps article {
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.install-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 950;
}

.install-steps small,
.install-note {
  color: var(--muted);
}

.install-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.install-phone-preview {
  display: grid;
  justify-items: center;
}

.install-phone-preview .ios-phone {
  width: min(100%, 310px);
  min-height: 628px;
}

.is-installed-app .ios-install-page .install-card {
  border-color: rgba(17,185,120,0.42);
}

.pos-install-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(8,119,255,0.22), transparent 28%),
    linear-gradient(135deg, #061425 0%, #0b2846 48%, #eaf5ff 49%, #ffffff 100%);
}

.pos-app-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #071d36 0 44%, #f5f9ff 44% 100%);
}

.pos-app-main {
  min-height: 100vh;
  display: grid;
  gap: 28px;
  padding: 28px 54px 40px;
}

.pos-app-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
  color: white;
}

.pos-app-header .logo strong {
  color: white;
}

.pos-app-header > div > p:not(.eyebrow):not(.notice-banner):not(.success-banner) {
  max-width: 720px;
  color: rgba(255,255,255,0.82);
  font-size: 19px;
}

.pos-app-header p.notice-banner,
.pos-app-header p.success-banner {
  color: #7c2d12;
  background: #ffedd5;
  font-size: 15px;
}

.pos-app-header p.success-banner {
  color: #065f46;
  background: #dcfce7;
}

.pos-app-header h1 {
  margin: 0;
  font-size: 54px;
}

.pos-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
  justify-items: center;
  align-items: start;
  padding: 24px;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 50px rgba(18, 45, 82, 0.13);
}

.pos-phone {
  width: min(100%, 264px);
  min-height: 536px;
  border-width: 9px;
  border-radius: 34px;
  padding: 17px 18px 14px;
}

.pos-app-page .pos-phone:not(.is-active) {
  opacity: 0.74;
  transform: scale(0.98);
}

.pos-charge-screen {
  color: white;
  background: linear-gradient(160deg, #0877ff, #005fe8);
}

.pos-phone-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 46px;
}

.pos-phone-brand .vmark {
  width: 34px;
  height: 34px;
  font-size: 22px;
}

.pos-phone-brand strong,
.pos-phone-brand small {
  display: block;
}

.pos-phone-brand strong {
  color: white;
  font-size: 20px;
}

.pos-phone-brand small {
  color: rgba(255,255,255,0.76);
}

.pos-charge-amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: inherit;
}

.pos-charge-amount span {
  font-size: 34px;
  font-weight: 900;
}

.pos-charge-amount strong {
  font-size: 58px;
  line-height: 1;
}

.pos-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 14px;
  margin-top: 15px;
}

.pos-keypad button {
  min-height: 45px;
  border-radius: 50%;
  padding: 0;
  color: white;
  background: rgba(255,255,255,0.10);
  font-size: 21px;
}

.pos-charge-button {
  width: 100%;
  margin: 14px 0 20px;
  color: var(--blue);
  background: white;
}

.pos-tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: rgba(255,255,255,0.72);
  text-align: center;
  font-size: 11px;
}

.pos-tabbar strong {
  color: white;
}

.pos-tap-screen {
  color: white;
  background:
    radial-gradient(circle at 50% 5%, rgba(8,119,255,0.48), transparent 28%),
    linear-gradient(180deg, #07111f, #102235);
  text-align: center;
}

.tap-target {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  margin: 70px auto 22px;
  border: 4px solid rgba(255,255,255,0.28);
  display: grid;
  place-items: center;
}

.tap-target span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  position: relative;
}

.tap-target span:after {
  content: "";
  position: absolute;
  inset: 19px 15px;
  border: 4px solid white;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.pos-tap-screen p {
  margin: 16px auto 22px;
  max-width: 240px;
  color: rgba(255,255,255,0.84);
  font-size: 16px;
}

.pay-rail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.09);
}

.pay-rail-row span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.pos-cancel,
.pos-simulate {
  width: 100%;
  margin-top: 10px;
}

.pos-cancel {
  background: rgba(255,255,255,0.12);
}

.pos-receipt-screen {
  background: #ffffff;
  color: var(--ink);
  text-align: center;
}

.success-check {
  width: 72px;
  height: 72px;
  margin: 70px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-size: 38px;
  font-weight: 950;
}

.pos-receipt-screen h2 {
  margin: 0 0 16px;
}

.receipt-total {
  color: var(--ink);
}

.receipt-list {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.receipt-list div {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
}

.receipt-list div:last-child {
  border-bottom: 0;
}

.receipt-list span {
  color: var(--muted);
}

.receipt-list strong {
  text-align: right;
}

.pos-sale-form {
  display: grid;
  gap: 10px;
}

.pos-sale-form .btn {
  width: 100%;
}

@media (max-width: 1180px) {
  .hero-public,
  .built-section,
  .dashboard-grid,
  .admin-layout,
  .chart-row,
  .chart-row.three,
  .personal-hero {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .quick-services,
  .metrics-row,
  .personal-rules,
  .merchant-metrics,
  .stat-grid,
  .settings-summary,
  .merchant-workspace {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid,
  .settings-grid,
  .registration-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel,
  .settings-grid .checkout-preview,
  .settings-grid .merchant-registration-card {
    grid-column: auto;
    grid-row: auto;
  }

  .public-nav {
    padding: 0 20px;
  }

  .public-nav nav {
    display: none;
  }

  .ios-preview-row,
  .ios-stage {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .banner-slides {
    min-height: 760px;
  }

  .wide-visual {
    min-height: 260px;
  }

  .merchant-visual,
  .pos-visual {
    grid-template-columns: 1fr 1fr;
  }

  .merchant-meter,
  .tap-ring {
    display: none;
  }

  .merchant-table-panel {
    grid-column: 1 / -1;
  }

  .personal-page .ios-preview-row {
    grid-template-columns: 1fr;
    max-height: 430px;
    margin-top: 4px;
  }

  .personal-page .ios-preview-row .ios-phone:not(:first-child) {
    display: none;
  }

  .personal-page .ios-preview-row .ios-phone:first-child {
    width: 214px;
    min-height: 430px;
  }

  .ios-install-shell {
    grid-template-columns: 1fr;
  }

  .install-phone-preview .ios-phone {
    min-height: 560px;
  }

  .pos-app-header,
  .pos-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-sidebar {
    position: static;
    width: auto;
  }

  .app-main {
    margin-left: 0;
  }

  .topbar,
  .customer-hero,
  .admin-title {
    display: grid;
  }

  .service-strip,
  .quick-services,
  .metrics-row,
  .audience-grid,
  .personal-rules,
  .merchant-metrics,
  .stat-grid,
  .settings-summary,
  .settings-grid,
  .registration-grid,
  .merchant-workspace,
  .merchant-tool-grid {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    max-height: none;
    overflow-y: visible;
  }

  .app-sidebar nav a {
    min-height: 40px;
    font-size: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .registration-shell {
    padding: 24px 18px 34px;
  }

  .hero-public,
  .personal-hero,
  .mobile-app-main {
    padding: 28px 18px;
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 640px;
  }

  .banner-slides {
    min-height: 760px;
  }

  .banner-slide {
    padding: 28px 20px;
    align-content: start;
    gap: 22px;
  }

  .slide-copy h1 {
    font-size: 40px;
  }

  .slide-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .wide-visual {
    min-height: 220px;
    padding: 18px;
  }

  .cash-visual,
  .merchant-visual,
  .pos-visual {
    grid-template-columns: 1fr;
  }

  .contact-panel.second {
    transform: none;
  }

  .merchant-table,
  .receipt-card {
    display: none;
  }

  .money-panel,
  .merchant-card,
  .pos-amount {
    min-height: 180px;
  }

  .money-panel strong,
  .pos-amount strong {
    font-size: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .personal-rules {
    padding: 20px 18px 30px;
  }

  .mobile-product-page .ios-phone:not(.is-active) {
    display: none;
  }

  .personal-copy h1 {
    font-size: 42px;
  }

  .personal-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .merchant-hero-panel {
    display: grid;
    padding: 28px 22px;
  }

  .merchant-hero-panel h1 {
    font-size: 34px;
  }

  .merchant-actions {
    justify-content: start;
  }

  .merchant-table-panel {
    grid-column: auto;
  }

  .ios-install-shell {
    padding: 28px 18px;
  }

  .install-card {
    padding: 22px;
  }

  .install-brand {
    grid-template-columns: 64px 1fr;
  }

  .install-brand img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-phone-preview .ios-phone {
    width: min(100%, 292px);
    min-height: 590px;
  }

  .pos-app-main {
    padding: 26px 18px 34px;
  }

  .pos-app-header {
    grid-template-columns: 1fr;
    color: white;
  }

  .pos-app-header h1 {
    font-size: 42px;
  }

  .pos-app-page .pos-phone:not(.is-active) {
    display: none;
  }

  .pos-phone {
    width: min(100%, 310px);
    min-height: 628px;
  }

  .phone-scene {
    min-height: 500px;
  }

  .city-card,
  .beyond {
    position: static;
    margin: 14px 0;
  }
}
