:root {
  --bg: #07110f;
  --bg-deep: #040a09;
  --surface: #0d1a17;
  --surface-2: #12231f;
  --surface-3: #162a25;
  --line: rgba(195, 225, 213, 0.12);
  --line-strong: rgba(195, 225, 213, 0.2);
  --text: #f4f7f2;
  --muted: #93a59e;
  --muted-2: #667b73;
  --primary: #4bf2a1;
  --primary-2: #2ecf93;
  --cyan: #43d8ff;
  --blue: #3995ff;
  --warning: #f2c66d;
  --danger: #ff7e8f;
  --violet: #9f8cff;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --shadow-sm: 0 12px 36px rgba(0, 0, 0, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --max: 1180px;
  --readiness: 0deg;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.sheet-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid rgba(75, 242, 161, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 820; letter-spacing: -0.035em; font-size: 20px; }
.brand img { width: 31px; height: 31px; }
.brand > span > span { color: var(--primary); }
.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.code {
  display: inline-block;
  max-width: 270px;
  overflow: hidden;
  color: #a6d8ca;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 760;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled, .button.is-disabled { cursor: not-allowed; opacity: 0.5; transform: none; }
.button-primary {
  color: #03110b;
  background: linear-gradient(135deg, #71f6b8, var(--primary-2));
  box-shadow: 0 14px 38px rgba(46, 207, 147, 0.18), inset 0 1px rgba(255, 255, 255, 0.36);
}
.button-primary:hover:not(:disabled) { box-shadow: 0 18px 46px rgba(46, 207, 147, 0.28), inset 0 1px rgba(255, 255, 255, 0.36); }
.button-secondary { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.button-secondary:hover:not(:disabled), .button-ghost:hover:not(:disabled) { border-color: rgba(75, 242, 161, 0.38); background: var(--surface-3); }
.button-ghost { color: #c5d3ce; background: transparent; border-color: var(--line-strong); }
.button-large { min-height: 56px; padding: 16px 22px; border-radius: 16px; }
.button-compact { min-height: 42px; padding: 10px 15px; font-size: 13px; }
.button-wide { width: 100%; }
.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(75, 242, 161, 0.14);
  border-radius: 999px;
  background: rgba(75, 242, 161, 0.08);
  color: #83f7bc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.warn { color: var(--warning); background: rgba(242, 198, 109, 0.09); border-color: rgba(242, 198, 109, 0.16); }
.status-pill.bad { color: var(--danger); background: rgba(255, 126, 143, 0.09); border-color: rgba(255, 126, 143, 0.16); }
.status-pill.good { color: #83f7bc; }

/* Landing */
.landing-page {
  overflow-x: clip;
  background:
    radial-gradient(800px 560px at 84% 4%, rgba(57, 149, 255, 0.10), transparent 68%),
    radial-gradient(620px 480px at 12% 20%, rgba(75, 242, 161, 0.07), transparent 70%),
    var(--bg);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 17, 15, 0.76);
  backdrop-filter: blur(18px);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navlinks { display: flex; align-items: center; gap: 30px; color: #9fb0aa; font-size: 13px; }
.navlinks a { transition: color 0.18s ease; }
.navlinks a:hover { color: var(--text); }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 72px;
  padding-block: 72px 86px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(75, 242, 161, 0.18);
  border-radius: 999px;
  background: rgba(75, 242, 161, 0.06);
  color: #a9d6c2;
  font-size: 12px;
  font-weight: 700;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(75, 242, 161, 0.10); }
.hero h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(48px, 5.65vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 790;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(92deg, var(--primary) 0%, #a4fbd3 42%, var(--cyan) 105%);
  -webkit-background-clip: text;
  background-clip: text;
}
.lead { max-width: 640px; margin: 0 0 30px; color: #a6b7b0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.cta-note { margin: 13px 0 0; color: var(--muted-2); font-size: 12px; }
.capability-list { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: #a5b7b0; font-size: 12px; }
.capability-list span { display: inline-flex; align-items: center; gap: 7px; }
.capability-list i { font-style: normal; color: var(--primary); }

.hero-product { position: relative; min-height: 610px; display: grid; place-items: center; isolation: isolate; }
.hero-product::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 242, 161, 0.14), rgba(67, 216, 255, 0.06) 45%, transparent 70%);
  filter: blur(12px);
  z-index: -2;
}
.orbit { position: absolute; border: 1px solid rgba(151, 202, 184, 0.11); border-radius: 50%; z-index: -1; }
.orbit-one { width: 490px; height: 490px; transform: rotate(-16deg); }
.orbit-two { width: 570px; height: 340px; transform: rotate(31deg); }
.phone-frame {
  position: relative;
  width: 332px;
  padding: 9px;
  border: 1px solid #294038;
  border-radius: 47px;
  background: linear-gradient(160deg, #263a34, #07100e 42%, #1b2e29);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  transform: rotate(2deg);
}
.phone-speaker { position: absolute; z-index: 2; top: 15px; left: 50%; width: 76px; height: 20px; border-radius: 0 0 14px 14px; background: #050b09; transform: translateX(-50%); }
.phone-screen {
  min-height: 603px;
  padding: 24px 20px;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(380px 250px at 100% 0, rgba(57, 149, 255, 0.12), transparent 68%),
    linear-gradient(160deg, #0c1a17, #07110f);
}
.phone-status { display: flex; justify-content: space-between; margin: 0 4px 29px; color: #71867e; font-size: 10px; }
.mini-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mini-header small, .mini-balance small { display: block; color: #789087; font-size: 10px; }
.mini-header b { display: block; margin-top: 2px; font-size: 16px; }
.mini-avatar { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(75, 242, 161, 0.2); border-radius: 50%; background: rgba(75, 242, 161, 0.09); color: var(--primary); font-weight: 800; }
.payment-card {
  position: relative;
  min-height: 178px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(146, 214, 189, 0.17);
  border-radius: 24px;
  background:
    radial-gradient(260px 200px at 105% -10%, rgba(67, 216, 255, 0.22), transparent 62%),
    radial-gradient(240px 180px at -10% 120%, rgba(75, 242, 161, 0.16), transparent 66%),
    linear-gradient(145deg, #152d27, #0a1714 62%, #0b211b);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
}
.payment-card::after { content: ""; position: absolute; top: -120px; right: -90px; width: 250px; height: 250px; border: 1px solid rgba(123, 237, 196, 0.16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(123, 237, 196, 0.025), 0 0 0 68px rgba(123, 237, 196, 0.015); }
.card-top, .card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.card-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 760; }
.card-brand img { width: 21px; height: 21px; }
.card-chip { width: 33px; height: 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 7px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.05)); }
.card-number { position: relative; z-index: 1; margin-top: 48px; color: #d9e7e2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; letter-spacing: 0.06em; }
.card-bottom { margin-top: 21px; color: #738b82; font-size: 8px; letter-spacing: 0.08em; }
.card-bottom strong { color: #d7e4df; font-size: 10px; }
.mini-balance { padding: 24px 2px 14px; }
.mini-balance strong { display: block; margin: 2px 0 1px; font-size: 32px; letter-spacing: -0.055em; }
.mini-balance span { color: #72887f; font-size: 10px; }
.mini-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-actions span { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #869c94; font-size: 9px; }
.mini-actions i { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: #b9ccc5; font-style: normal; font-size: 13px; }
.mini-transaction { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 10px; }
.mini-transaction small { display: block; color: #72877f; }
.service-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(57, 149, 255, 0.13); color: #79b7ff; font-weight: 800; }
.product-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(15, 31, 27, 0.89);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}
.product-note small { display: block; color: var(--muted); font-size: 10px; }
.product-note strong { display: block; font-size: 12px; }
.note-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(75, 242, 161, 0.11); color: var(--primary); font-weight: 800; }
.note-balance { top: 108px; left: -18px; }
.note-secure { right: -12px; bottom: 122px; }

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.signal-strip > div { padding: 24px 22px; border-right: 1px solid var(--line); }
.signal-strip > div:last-child { border-right: 0; }
.signal-strip strong { display: block; margin-bottom: 4px; font-size: 14px; }
.signal-strip span { color: var(--muted); font-size: 11px; }

.section { padding-block: 110px; }
.section-intro { margin-bottom: 42px; }
.section-intro.centered { max-width: 720px; margin-inline: auto; text-align: center; }
.section-intro.split { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-intro h2, .control-copy h2, .final-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.052em;
}
.section-intro p { max-width: 570px; margin: 17px auto 0; color: var(--muted); }
.section-intro.split p { margin: 0; }
.use-case-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr; gap: 14px; }
.use-case-card {
  position: relative;
  min-height: 330px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(17, 36, 31, 0.94), rgba(9, 21, 18, 0.96));
}
.use-case-card:nth-child(4) { grid-column: span 2; }
.use-case-card.featured { background: radial-gradient(390px 240px at 100% 0, rgba(75, 242, 161, 0.11), transparent 65%), var(--surface); }
.case-tag { display: inline-flex; padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: #a7bbb3; font-size: 10px; font-weight: 700; }
.use-case-card h3 { position: absolute; left: 23px; bottom: 57px; margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.use-case-card p { position: absolute; right: 23px; bottom: 20px; left: 23px; margin: 0; color: var(--muted); font-size: 12px; }
.case-visual { position: absolute; inset: 62px 16px 90px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.case-visual span { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 22px; background: rgba(255, 255, 255, 0.035); color: #b5c8c0; font-weight: 820; box-shadow: var(--shadow-sm); transform: rotate(-6deg); }
.case-visual span:nth-child(2) { color: var(--cyan); transform: translateY(-17px) rotate(5deg); }
.case-visual span:nth-child(3) { color: var(--primary); transform: rotate(7deg); }
.case-travel span { width: 120px; height: 120px; border-radius: 50%; color: var(--cyan); font-size: 33px; }
.case-digital span { width: 100px; border-radius: 50%; color: var(--primary); }
.availability-note { margin: 18px 0 0; color: var(--muted-2); text-align: center; font-size: 11px; }

.how-section { border-block: 1px solid var(--line); background: rgba(4, 10, 9, 0.46); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card { position: relative; min-height: 300px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.step-number { color: var(--muted-2); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 42px 0 32px; border: 1px solid rgba(75, 242, 161, 0.17); border-radius: 18px; background: rgba(75, 242, 161, 0.07); color: var(--primary); font-size: 20px; }
.step-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.025em; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }

.control-section { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 96px; }
.control-preview { position: relative; min-height: 510px; display: grid; place-items: center; }
.control-glow { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: rgba(75, 242, 161, 0.08); filter: blur(60px); }
.control-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 25px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(160deg, #14251f, #091511); box-shadow: var(--shadow); transform: rotate(-2deg); }
.control-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 750; }
.control-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding-block: 17px; border-bottom: 1px solid var(--line); font-size: 13px; }
.control-row:last-child { border-bottom: 0; }
.control-row small { display: block; color: var(--muted); font-size: 10px; }
.merchant-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(75, 242, 161, 0.10); color: var(--primary); font-size: 11px; font-weight: 820; }
.merchant-logo.blue { color: #75b7ff; background: rgba(57, 149, 255, 0.12); }
.merchant-logo.violet { color: #b5a9ff; background: rgba(159, 140, 255, 0.12); }
.merchant-logo.green { color: #7df6b9; background: rgba(75, 242, 161, 0.10); }
.positive { color: var(--primary) !important; }
.lock-card { position: absolute; z-index: 2; right: -10px; bottom: 45px; display: flex; align-items: center; gap: 12px; padding: 15px 17px; border: 1px solid var(--line-strong); border-radius: 17px; background: rgba(16, 34, 29, 0.92); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); }
.lock-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(75, 242, 161, 0.10); color: var(--primary); }
.lock-card small { display: block; color: var(--muted); font-size: 10px; }
.control-copy h2 { margin-bottom: 36px; }
.feature-list > div { display: grid; grid-template-columns: 37px 1fr; gap: 15px; padding-block: 20px; border-top: 1px solid var(--line); }
.feature-list > div > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(75, 242, 161, 0.07); color: var(--primary); font-size: 10px; font-weight: 800; }
.feature-list h3 { margin: 2px 0 5px; font-size: 16px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 13px; }

.pricing-section { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 29, 25, 0.72), rgba(5, 12, 10, 0.84)); }
.pricing-wrap { padding-bottom: 90px; }
.pricing-card { display: grid; grid-template-columns: 1.08fr 0.92fr; max-width: 970px; margin-inline: auto; overflow: hidden; border: 1px solid rgba(75, 242, 161, 0.18); border-radius: var(--radius-xl); background: var(--surface); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25); }
.pricing-main { padding: 42px; background: radial-gradient(440px 260px at 100% 0, rgba(75, 242, 161, 0.11), transparent 68%); }
.price-label { color: #afc0b9; font-size: 13px; }
.price-value { margin: 9px 0 13px; font-size: clamp(43px, 5vw, 62px); font-weight: 820; letter-spacing: -0.06em; }
.price-value small { color: var(--muted); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.pricing-main p { max-width: 470px; margin: 0 0 26px; color: var(--muted); font-size: 13px; }
.pricing-details { padding: 30px 36px; border-left: 1px solid var(--line); background: rgba(4, 11, 9, 0.36); }
.pricing-details > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.pricing-details > div:last-child { border-bottom: 0; }
.pricing-details span { color: var(--muted); font-size: 12px; }
.pricing-details strong { text-align: right; font-size: 13px; }
.legal-note { max-width: 900px; margin: 20px auto 0; color: var(--muted-2); text-align: center; font-size: 10px; }

.faq-section { max-width: var(--max); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 4px; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--primary); font-size: 22px; transition: transform 0.2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 760px; margin: -8px 0 25px; color: var(--muted); font-size: 14px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-bottom: 100px; padding: 54px; border: 1px solid rgba(75, 242, 161, 0.17); border-radius: var(--radius-xl); background: radial-gradient(520px 320px at 100% 0, rgba(67, 216, 255, 0.09), transparent 65%), radial-gradient(500px 320px at 0 100%, rgba(75, 242, 161, 0.08), transparent 68%), var(--surface); }
.final-cta h2 { max-width: 650px; font-size: clamp(34px, 4.1vw, 54px); }
.final-cta p { margin: 14px 0 0; color: var(--muted); }
.site-footer { padding: 58px 0 25px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid p { max-width: 390px; color: var(--muted); font-size: 12px; }
.footer-grid strong { margin-bottom: 5px; color: #c4d2cd; font-size: 12px; }
.footer-grid a:not(.brand) { color: var(--muted); font-size: 12px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 10px; }
.footer-bottom p { max-width: 750px; margin: 0; text-align: right; }

/* Mini App */
.app-page {
  min-height: 100vh;
  background:
    radial-gradient(460px 320px at 85% 0, rgba(57, 149, 255, 0.10), transparent 68%),
    var(--bg);
}
.app-shell { width: min(540px, 100%); min-height: 100vh; margin-inline: auto; padding: 14px 16px 112px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 0 22px; }
.avatar-button { position: relative; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-2); color: var(--primary); cursor: pointer; font-weight: 800; }
.avatar-button i { position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border: 2px solid var(--bg); border-radius: 50%; background: var(--primary); }
.app-view { display: none; animation: viewIn 0.24s ease both; }
.app-view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } }
.app-greeting { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.app-greeting small, .app-view-header small { color: var(--muted); font-size: 12px; }
.app-greeting h1, .app-view-header h1, .app-error h1 { margin: 5px 0 0; font-size: 30px; line-height: 1.06; letter-spacing: -0.045em; }
.app-greeting .status-pill { margin-top: 4px; font-size: 8px; }
.empty-card-state { position: relative; padding: 31px 24px 24px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(300px 200px at 100% 0, rgba(75, 242, 161, 0.09), transparent 68%), var(--surface); }
.empty-orbit { position: absolute; top: -120px; right: -120px; width: 260px; height: 260px; border: 1px solid rgba(75, 242, 161, 0.1); border-radius: 50%; box-shadow: 0 0 0 35px rgba(75, 242, 161, 0.02), 0 0 0 70px rgba(75, 242, 161, 0.015); }
.empty-card-state h2 { position: relative; max-width: 350px; margin: 12px 0 10px; font-size: 26px; line-height: 1.08; letter-spacing: -0.04em; }
.empty-card-state > p { position: relative; margin: 0; color: var(--muted); font-size: 13px; }
.empty-benefits { position: relative; display: grid; gap: 8px; margin: 22px 0; color: #b2c4bd; font-size: 12px; }
.empty-benefits span { display: flex; align-items: center; gap: 8px; }
.empty-benefits i { color: var(--primary); font-style: normal; }
.connection-notice, .payment-status-banner { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 13px; border: 1px solid rgba(242, 198, 109, 0.17); border-radius: 14px; background: rgba(242, 198, 109, 0.06); }
.connection-notice > span, .payment-status-banner > span { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: rgba(242, 198, 109, 0.1); color: var(--warning); font-size: 10px; font-weight: 800; }
.connection-notice p, .payment-status-banner p { margin: 2px 0 0; color: #b6aa8c; font-size: 10px; }
.payment-status-banner { margin-top: -8px; }
.payment-status-banner b { display: block; font-size: 12px; }
.payment-status-banner.success { border-color: rgba(75, 242, 161, 0.18); background: rgba(75, 242, 161, 0.06); }
.payment-status-banner.success > span { color: var(--primary); background: rgba(75, 242, 161, 0.1); }
.payment-status-banner.success p { color: #9fc3b4; }
.payment-status-banner.error { border-color: rgba(255, 126, 143, 0.18); background: rgba(255, 126, 143, 0.06); }
.payment-status-banner.error > span { color: var(--danger); background: rgba(255, 126, 143, 0.1); }
.payment-status-banner.error p { color: #c1a0a5; }
.app-payment-card { min-height: 205px; padding: 23px; transition: filter 0.25s ease, opacity 0.25s ease; }
.app-payment-card .card-number { margin-top: 58px; font-size: 15px; }
.app-payment-card.frozen { filter: saturate(0.3); opacity: 0.72; }
.balance-panel { display: flex; align-items: center; justify-content: space-between; padding: 23px 2px 13px; }
.balance-panel small, .balance-panel span { display: block; color: var(--muted); font-size: 11px; }
.balance-panel strong { display: block; margin: 2px 0; font-size: 34px; letter-spacing: -0.05em; }
.round-action { width: 52px; height: 52px; border: 0; border-radius: 17px; background: linear-gradient(135deg, #71f6b8, var(--primary-2)); color: #06110d; cursor: pointer; font-size: 23px; font-weight: 700; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 8px 0 27px; }
.quick-actions button { min-height: 79px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); cursor: pointer; }
.quick-actions button:hover { border-color: rgba(75, 242, 161, 0.25); }
.quick-actions span { color: var(--primary); font-size: 17px; }
.quick-actions b { font-size: 10px; }
.section-row { display: flex; align-items: center; justify-content: space-between; margin: 21px 2px 10px; }
.section-row h2 { margin: 0; font-size: 17px; letter-spacing: -0.025em; }
.section-row button { min-height: 38px; border: 0; background: transparent; color: var(--primary); cursor: pointer; font-size: 11px; }
.transaction-list { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.transaction-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding: 14px; border-bottom: 1px solid var(--line); }
.transaction-row:last-child { border-bottom: 0; }
.transaction-row b { display: block; font-size: 12px; }
.transaction-row small { display: block; color: var(--muted); font-size: 10px; }
.transaction-row > strong { font-size: 12px; }
.empty-list { min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; color: var(--muted); text-align: center; }
.empty-list > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 14px; background: rgba(75, 242, 161, 0.07); color: var(--primary); }
.empty-list b { color: #c7d5cf; font-size: 13px; }
.empty-list p { margin: 4px 0 0; font-size: 11px; }
.app-view-header { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.back-button { width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; color: #bdcec7; }
.info-panel { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-title small { color: var(--muted); font-size: 10px; }
.panel-title h2 { margin: 3px 0 0; font-size: 19px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 20px 0; }
.detail-grid > div { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.detail-grid span, .detail-grid b { display: block; }
.detail-grid span { color: var(--muted); font-size: 9px; }
.detail-grid b { margin-top: 4px; font-size: 11px; }
.product-list { display: grid; gap: 10px; }
.product-card { padding: 19px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-network { display: inline-flex; padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 8px; color: #b4c5be; font-size: 9px; font-weight: 800; letter-spacing: 0.07em; }
.product-card h3 { margin: 17px 0 4px; font-size: 16px; }
.product-card p { margin: 0; color: var(--muted); font-size: 10px; }
.product-card > div:last-child { display: flex; align-items: end; justify-content: space-between; margin-top: 17px; }
.product-card > div:last-child strong { font-size: 18px; }
.product-card button { min-height: 38px; border: 0; background: transparent; color: var(--primary); cursor: pointer; font-size: 11px; }
.payment-action-card { width: 100%; display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); text-align: left; cursor: pointer; }
.action-symbol { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: rgba(75, 242, 161, 0.09); color: var(--primary); font-size: 20px; }
.payment-action-card b, .payment-action-card small { display: block; }
.payment-action-card b { font-size: 13px; }
.payment-action-card small { color: var(--muted); font-size: 10px; }
.payment-action-card > i { color: var(--primary); font-style: normal; }
.info-callout { display: flex; align-items: flex-start; gap: 11px; margin: 13px 0 24px; padding: 13px 14px; border: 1px solid rgba(67, 216, 255, 0.13); border-radius: 15px; background: rgba(67, 216, 255, 0.05); }
.info-callout > span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: rgba(67, 216, 255, 0.10); color: var(--cyan); font-size: 11px; font-weight: 800; }
.info-callout p { margin: 1px 0 0; color: #9db9b1; font-size: 10px; }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.profile-avatar { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, rgba(75, 242, 161, 0.16), rgba(67, 216, 255, 0.1)); color: var(--primary); font-size: 20px; font-weight: 820; }
.profile-card h2 { margin: 0; font-size: 18px; }
.profile-card p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.settings-list { margin-top: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.settings-list > * { width: 100%; min-height: 68px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.settings-list > *:last-child { border-bottom: 0; }
.settings-list > * > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(75, 242, 161, 0.07); color: var(--primary); }
.settings-list b, .settings-list small { display: block; }
.settings-list b { font-size: 12px; }
.settings-list small { color: var(--muted); font-size: 9px; }
.settings-list i { color: var(--muted); font-style: normal; }
.about-box { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; margin-top: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.about-box img { width: 30px; }
.about-box b, .about-box small { display: block; }
.about-box b { font-size: 12px; }
.about-box small, .about-box > span { color: var(--muted); font-size: 9px; }
.app-bottom-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; width: min(540px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); margin-inline: auto; padding: 8px 10px max(9px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(7, 17, 15, 0.93); backdrop-filter: blur(20px); }
.app-bottom-nav button { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 13px; background: transparent; color: #6d8179; cursor: pointer; }
.app-bottom-nav span { font-size: 16px; }
.app-bottom-nav b { font-size: 9px; }
.app-bottom-nav button.active { color: var(--primary); background: rgba(75, 242, 161, 0.055); }
.app-loading { padding-top: 30px; }
.skeleton { position: relative; overflow: hidden; border-radius: 16px; background: rgba(255, 255, 255, 0.045); }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent); transform: translateX(-100%); animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-title { width: 58%; height: 35px; margin-bottom: 20px; }
.skeleton-card { width: 100%; height: 210px; margin-bottom: 16px; }
.skeleton-row { width: 100%; height: 74px; }
.app-error { min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.state-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid rgba(255, 126, 143, 0.18); border-radius: 18px; background: rgba(255, 126, 143, 0.08); color: var(--danger); font-size: 22px; font-weight: 800; }
.app-error h1 { font-size: 24px; }
.app-error p { max-width: 320px; margin: 8px 0 20px; color: var(--muted); font-size: 12px; }

.sheet { position: fixed; z-index: 60; inset: 0; display: none; align-items: flex-end; justify-content: center; }
.sheet.open { display: flex; }
.sheet-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0, 0, 0, 0.68); backdrop-filter: blur(5px); }
.sheet-panel { position: relative; z-index: 1; width: min(540px, 100%); max-height: min(90vh, 760px); padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 28px 28px 0 0; background: #0b1815; box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.45); animation: sheetIn 0.25s ease both; }
@keyframes sheetIn { from { transform: translateY(100%); } }
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 13px; border-radius: 999px; background: #334b42; }
.sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.sheet-header small, .modal-head small { color: var(--primary); font-size: 10px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.sheet-header h2, .modal-head h2 { margin: 4px 0 0; font-size: 23px; letter-spacing: -0.035em; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; color: #adc0b9; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice-grid button { min-height: 106px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); text-align: left; cursor: pointer; }
.choice-grid button.selected { border-color: rgba(75, 242, 161, 0.45); background: rgba(75, 242, 161, 0.07); box-shadow: inset 0 0 0 1px rgba(75, 242, 161, 0.08); }
.choice-grid span { margin-bottom: 8px; color: var(--primary); font-size: 14px; font-weight: 800; }
.choice-grid b { font-size: 12px; }
.choice-grid small { color: var(--muted); font-size: 9px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 12px 0 18px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); cursor: pointer; }
.toggle-row b, .toggle-row small { display: block; }
.toggle-row b { font-size: 11px; }
.toggle-row small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row > i { position: relative; flex: 0 0 auto; width: 42px; height: 25px; border-radius: 999px; background: #284038; transition: background 0.2s; }
.toggle-row > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #94a79f; transition: transform 0.2s, background 0.2s; }
.toggle-row input:checked + i { background: rgba(75, 242, 161, 0.26); }
.toggle-row input:checked + i::after { background: var(--primary); transform: translateX(17px); }
.selected-product { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 19px; border: 1px solid rgba(75, 242, 161, 0.18); border-radius: 19px; background: rgba(75, 242, 161, 0.05); }
.selected-product h3 { margin: 10px 0 3px; font-size: 16px; }
.selected-product p { margin: 0; color: var(--muted); font-size: 10px; }
.quote-summary { margin: 12px 0; padding: 6px 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.quote-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.quote-summary > div:last-of-type { border-bottom: 0; }
.quote-summary span { color: var(--muted); font-size: 10px; }
.quote-summary strong { text-align: right; font-size: 11px; }
.quote-summary .quote-total strong { color: var(--primary); font-size: 17px; }
.quote-summary > small { display: block; padding: 11px 0; color: var(--muted-2); font-size: 9px; }
.sheet-disclaimer { margin: 12px 2px 17px; color: var(--muted-2); font-size: 9px; }
.sheet-actions { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 9px; }
.amount-field { display: flex; align-items: center; gap: 8px; padding: 15px 17px; border: 1px solid var(--line-strong); border-radius: 19px; background: var(--surface); }
.amount-field span { color: var(--primary); font-size: 26px; }
.amount-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 31px; font-weight: 790; letter-spacing: -0.04em; }
.amount-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 13px; }
.amount-presets button { min-height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 10px; }
.amount-presets button.selected { border-color: rgba(75, 242, 161, 0.33); color: var(--primary); background: rgba(75, 242, 161, 0.06); }
.quote-placeholder { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, 0.02); }
.quote-placeholder span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: rgba(67, 216, 255, 0.08); color: var(--cyan); font-size: 10px; }
.quote-placeholder p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.field-error { margin: -4px 0 10px; color: var(--danger); font-size: 10px; }

.toast-region { position: fixed; z-index: 100; top: 18px; right: 18px; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: min(340px, calc(100vw - 32px)); display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid rgba(75, 242, 161, 0.19); border-radius: 15px; background: rgba(15, 32, 27, 0.97); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(-10px); transition: opacity 0.2s, transform 0.2s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: rgba(75, 242, 161, 0.1); color: var(--primary); font-size: 11px; font-weight: 800; }
.toast p { margin: 2px 0 0; font-size: 11px; }
.toast.error { border-color: rgba(255, 126, 143, 0.19); }
.toast.error > span { color: var(--danger); background: rgba(255, 126, 143, 0.1); }

/* Admin */
.admin-page { min-height: 100vh; background: #07100e; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 15px; border-right: 1px solid var(--line); background: #08130f; }
.admin-brand { margin: 2px 10px 23px; }
.workspace-switcher { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; margin-bottom: 22px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.workspace-switcher > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: rgba(75, 242, 161, 0.09); color: var(--primary); font-size: 10px; font-weight: 800; }
.workspace-switcher b, .workspace-switcher small { display: block; }
.workspace-switcher b { font-size: 11px; }
.workspace-switcher small { color: var(--muted); font-size: 8px; }
.workspace-switcher i { color: var(--muted); font-style: normal; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav > small { margin: 17px 11px 5px; color: #50655d; font-size: 8px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.admin-nav > small:first-child { margin-top: 0; }
.admin-nav button { min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 11px; background: transparent; color: #82958e; cursor: pointer; text-align: left; font-size: 11px; }
.admin-nav button:hover { color: #c5d4cf; background: rgba(255, 255, 255, 0.025); }
.admin-nav button.active { color: var(--text); background: rgba(75, 242, 161, 0.075); box-shadow: inset 0 0 0 1px rgba(75, 242, 161, 0.08); }
.admin-nav button > span { width: 24px; color: var(--primary); text-align: center; font-size: 14px; }
.nav-counter { min-width: 19px; height: 19px; display: grid; place-items: center; margin-left: auto; border-radius: 999px; background: rgba(255, 126, 143, 0.13); color: var(--danger); font-style: normal; font-size: 8px; }
.admin-sidebar-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 10px 3px; border-top: 1px solid var(--line); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(75, 242, 161, 0.07); }
.admin-sidebar-foot b, .admin-sidebar-foot small { display: block; }
.admin-sidebar-foot b { font-size: 9px; }
.admin-sidebar-foot small { color: var(--muted); font-size: 8px; }
.admin-main { min-width: 0; }
.admin-topbar { height: 67px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(7, 16, 14, 0.84); backdrop-filter: blur(18px); }
.admin-breadcrumb { color: var(--muted); font-size: 10px; }
.admin-breadcrumb i { margin-inline: 7px; color: #455a52; font-style: normal; }
.admin-breadcrumb b { color: #c1d0ca; }
.admin-top-actions { display: flex; align-items: center; gap: 9px; }
.environment-badge { padding: 6px 8px; border: 1px solid rgba(242, 198, 109, 0.17); border-radius: 8px; background: rgba(242, 198, 109, 0.07); color: var(--warning); font-size: 8px; font-weight: 850; letter-spacing: 0.08em; }
.environment-badge.production { color: var(--primary); background: rgba(75, 242, 161, 0.07); border-color: rgba(75, 242, 161, 0.17); }
.admin-topbar .icon-button { width: 35px; height: 35px; border-radius: 10px; }
.admin-avatar { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--primary); font-size: 9px; font-weight: 800; }
.admin-content { max-width: 1500px; padding: 33px 32px 60px; }
.admin-section { display: none; }
.admin-section.active { display: block; animation: viewIn 0.22s ease both; }
.admin-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.admin-page-head h1 { margin: 6px 0 5px; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.045em; }
.admin-page-head p { margin: 0; color: var(--muted); font-size: 11px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.kpi-card { display: flex; align-items: flex-start; justify-content: space-between; min-height: 132px; padding: 19px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(150deg, rgba(17, 35, 30, 0.92), rgba(9, 21, 17, 0.96)); }
.kpi-card span, .kpi-card strong, .kpi-card small { display: block; }
.kpi-card span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.kpi-card strong { margin: 12px 0 5px; font-size: 26px; line-height: 1; letter-spacing: -0.04em; }
.kpi-card small { color: var(--muted-2); font-size: 8px; }
.kpi-card i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(75, 242, 161, 0.07); color: var(--primary); font-style: normal; }
.skeleton-kpi { min-height: 132px; }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 11px; margin-top: 11px; }
.admin-panel { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-heading span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.panel-heading h2 { margin: 0; font-size: 16px; letter-spacing: -0.025em; }
.panel-heading button { min-height: 34px; border: 0; background: transparent; color: var(--primary); cursor: pointer; font-size: 9px; }
.provider-health { padding: 5px 20px; }
.provider-row { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.provider-row:last-child { border-bottom: 0; }
.provider-logo { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.025); color: #afd1c3; font-size: 9px; font-weight: 820; }
.provider-row b, .provider-row small { display: block; }
.provider-row b { font-size: 11px; }
.provider-row small { color: var(--muted); font-size: 8px; }
.readiness-panel { position: relative; overflow: hidden; }
.readiness-ring { width: 108px; height: 108px; display: grid; place-items: center; margin: 24px auto 14px; border-radius: 50%; background: conic-gradient(var(--primary) var(--readiness), rgba(255, 255, 255, 0.055) 0); }
.readiness-ring::before { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; background: var(--surface); }
.readiness-ring > div { position: relative; z-index: 1; text-align: center; }
.readiness-ring strong, .readiness-ring span { display: block; }
.readiness-ring strong { font-size: 22px; letter-spacing: -0.04em; }
.readiness-ring span { color: var(--muted); font-size: 8px; }
.readiness-panel ul { margin: 0; padding: 0 20px 18px; list-style: none; }
.readiness-panel li { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: #adc0b8; font-size: 9px; }
.readiness-panel li span { color: var(--primary); }
.readiness-panel li.pending { color: var(--muted); }
.readiness-panel li.pending span { color: var(--warning); }
.table-panel { margin-top: 11px; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 10px; white-space: nowrap; }
.data-table th, .data-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.data-table td { color: #b8c8c2; }
.data-table td b { color: var(--text); }
.table-empty { min-height: 100px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.table-empty span { color: var(--primary); }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px; border-bottom: 1px solid var(--line); }
.search-field { min-width: min(340px, 100%); display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.02); }
.search-field span { color: var(--muted); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.record-count { color: var(--muted); font-size: 9px; }
.admin-callout { max-width: 760px; }
.name-cell { display: flex; align-items: center; gap: 10px; }
.name-cell b, .name-cell small { display: block; }
.name-cell small { color: var(--muted); font-size: 8px; }
.admin-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.admin-product-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.admin-product-card h2 { margin: 25px 0 4px; font-size: 17px; }
.admin-product-card > p { margin: 0; color: var(--muted); font-size: 8px; }
.capability-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 19px 0; }
.capability-tags span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted-2); font-size: 8px; }
.capability-tags span.on { color: var(--primary); border-color: rgba(75, 242, 161, 0.15); background: rgba(75, 242, 161, 0.05); }
.admin-product-foot { display: grid; grid-template-columns: 1fr 1fr; padding-top: 15px; border-top: 1px solid var(--line); }
.admin-product-foot > div:last-child { text-align: right; }
.admin-product-foot small, .admin-product-foot strong { display: block; }
.admin-product-foot small { color: var(--muted); font-size: 8px; }
.admin-product-foot strong { margin-top: 3px; font-size: 13px; }
.growth-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 11px; align-items: start; }
.form-panel form, .modal-card form { display: grid; gap: 12px; padding: 20px; }
.form-panel label, .modal-card label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 650; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.admin-field { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: #091512; color: var(--text); font-size: 10px; }
.admin-field:focus { border-color: rgba(75, 242, 161, 0.38); }
.campaign-list { padding: 5px 20px; }
.campaign-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.campaign-row:last-child { border-bottom: 0; }
.campaign-source { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: rgba(67, 216, 255, 0.07); color: var(--cyan); font-size: 9px; font-weight: 800; }
.campaign-row b, .campaign-row small, .campaign-row .code { display: block; }
.campaign-row b { font-size: 11px; }
.campaign-row small { color: var(--muted); font-size: 8px; }
.campaign-row button { min-height: 34px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); color: var(--primary); cursor: pointer; font-size: 8px; }
.panel-empty { min-height: 160px; display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.incident-list { display: grid; gap: 10px; }
.incident-card { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.incident-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: rgba(242, 198, 109, 0.08); color: var(--warning); font-weight: 800; }
.incident-icon.bad { color: var(--danger); background: rgba(255, 126, 143, 0.08); }
.incident-card > div > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.incident-card h2 { margin: 0; font-size: 14px; }
.incident-card p { margin: 4px 0 11px; color: var(--muted); font-size: 9px; }
.incident-card summary { cursor: pointer; color: var(--primary); font-size: 9px; }
.incident-card pre { max-height: 190px; padding: 10px; overflow: auto; border-radius: 10px; background: var(--bg-deep); color: #a6b9b1; font-size: 8px; white-space: pre-wrap; }
.success-empty { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.success-empty span { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 18px; background: rgba(75, 242, 161, 0.08); color: var(--primary); font-size: 20px; }
.success-empty h2 { margin: 0; font-size: 19px; }
.success-empty p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.admin-modal { position: fixed; z-index: 80; inset: 0; display: none; place-items: center; padding: 20px; }
.admin-modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); }
.modal-card { position: relative; z-index: 1; width: min(510px, 100%); max-height: 90vh; overflow-y: auto; border: 1px solid var(--line-strong); border-radius: 23px; background: #0c1916; box-shadow: var(--shadow); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px; border-bottom: 1px solid var(--line); }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 9px; }
.checkbox-row label { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 0.86fr; gap: 30px; }
  .hero h1 { font-size: 58px; }
  .product-note { display: none; }
  .use-case-grid { grid-template-columns: 1fr 1fr; }
  .use-case-card:nth-child(4) { grid-column: auto; }
  .control-section { gap: 45px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav { height: 68px; }
  .navlinks { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 25px; padding-block: 54px 60px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: clamp(43px, 10.8vw, 66px); }
  .hero-product { min-height: 620px; overflow: hidden; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-strip > div:nth-child(2) { border-right: 0; }
  .signal-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-block: 80px; }
  .section-intro.split { align-items: flex-start; flex-direction: column; gap: 17px; }
  .use-case-grid, .steps { grid-template-columns: 1fr 1fr; }
  .steps .step-card:last-child { grid-column: span 2; }
  .control-section { grid-template-columns: 1fr; }
  .control-preview { order: 2; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-details { border-top: 1px solid var(--line); border-left: 0; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; padding-bottom: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-switcher, .admin-sidebar-foot { display: none; }
  .admin-brand { margin-bottom: 10px; }
  .admin-nav { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .admin-nav > small { display: none; }
  .admin-nav button { flex: 0 0 auto; }
  .admin-topbar { position: sticky; top: 0; z-index: 30; padding-inline: 18px; }
  .admin-content { padding: 24px 18px 50px; }
  .dashboard-grid, .growth-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .site-header .button-compact { padding-inline: 12px; font-size: 11px; }
  .site-header .button-compact span { display: none; }
  .hero { text-align: left; }
  .hero-copy { align-items: flex-start; }
  .hero h1 { font-size: 45px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .capability-list { display: grid; gap: 9px; }
  .hero-product { min-height: 550px; margin-inline: -14px; transform: scale(0.93); }
  .phone-frame { width: 318px; }
  .signal-strip { width: 100%; }
  .signal-strip > div { padding: 18px 14px; }
  .section-intro h2, .control-copy h2, .final-cta h2 { font-size: 37px; }
  .use-case-grid, .steps { grid-template-columns: 1fr; }
  .steps .step-card:last-child { grid-column: auto; }
  .use-case-card { min-height: 315px; }
  .control-preview { min-height: 440px; }
  .control-card { padding: 18px; }
  .lock-card { right: -5px; bottom: 15px; }
  .pricing-main { padding: 28px 22px; }
  .pricing-details { padding: 18px 22px; }
  .final-cta { margin-bottom: 60px; padding: 31px 23px; }
  .final-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom p { text-align: left; }
  .app-greeting { align-items: flex-start; }
  .app-greeting .status-pill { display: none; }
  .toast-region { top: 12px; right: 16px; left: 16px; }
  .toast { min-width: 0; width: 100%; }
  .admin-page-head { align-items: flex-start; flex-direction: column; }
  .admin-page-head .button { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card { min-height: 119px; padding: 15px; }
  .kpi-card strong { font-size: 21px; }
  .kpi-card i { display: none; }
  .admin-card-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .panel-toolbar { align-items: flex-start; flex-direction: column; }
  .search-field { min-width: 100%; }
  .modal-card { border-radius: 20px; }
}

@media (max-width: 370px) {
  .brand { font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .site-header .button-compact { min-height: 39px; padding: 9px 10px; }
  .hero h1 { font-size: 39px; }
  .hero-product { margin-top: -20px; margin-bottom: -30px; transform: scale(0.84); }
  .app-shell { padding-inline: 12px; }
  .choice-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* NexoraPay 1.2 — light premium Telegram fintech design system */
.app-page {
  --bg: #101b2b;
  --bg-deep: #0b1422;
  --surface: #17263a;
  --surface-2: #1d3049;
  --surface-3: #253b58;
  --line: rgba(190, 216, 246, 0.13);
  --line-strong: rgba(190, 216, 246, 0.22);
  --text: #f7fbff;
  --muted: #a8b7ca;
  --muted-2: #74869c;
  --primary: #72e4ff;
  --primary-2: #4f96ff;
  --cyan: #6af1d6;
  background:
    radial-gradient(520px 360px at 88% -4%, rgba(79, 150, 255, 0.24), transparent 70%),
    radial-gradient(420px 300px at -6% 18%, rgba(106, 241, 214, 0.08), transparent 72%),
    linear-gradient(180deg, #132035 0%, #0f1a2a 52%, #0d1725 100%);
}
.app-page .app-topbar {
  position: sticky;
  top: 0;
  z-index: 16;
  margin-inline: -16px;
  padding: 12px 16px 16px;
  background: linear-gradient(180deg, rgba(16, 27, 43, 0.96), rgba(16, 27, 43, 0.76), transparent);
  backdrop-filter: blur(18px);
}
.app-page .brand > span > span { color: #80e9ff; }
.app-page .avatar-button {
  border-color: rgba(126, 205, 255, 0.22);
  background: rgba(29, 48, 73, 0.88);
  color: #8cecff;
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 10px 28px rgba(3, 12, 28, .22);
}
.app-page .avatar-button i { border-color: #101b2b; background: #6af1d6; }
.app-page .button-primary {
  color: #071422;
  background: linear-gradient(135deg, #8feeff 0%, #67d4ff 40%, #5b8fff 100%);
  box-shadow: 0 15px 36px rgba(74, 137, 255, 0.24), inset 0 1px rgba(255,255,255,.48);
}
.app-page .button-secondary { background: rgba(29, 48, 73, 0.84); }
.app-page .empty-card-state,
.app-page .transaction-list,
.app-page .info-panel,
.app-page .product-card,
.app-page .profile-card,
.app-page .settings-list,
.app-page .about-box,
.app-page .quick-actions button,
.app-page .payment-action-card,
.app-page .choice-grid button,
.app-page .toggle-row,
.app-page .quote-summary,
.app-page .amount-field,
.app-page .amount-presets button {
  background: linear-gradient(160deg, rgba(28, 46, 70, 0.96), rgba(20, 34, 54, 0.96));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.app-page .empty-card-state { background: radial-gradient(320px 210px at 100% 0, rgba(114, 228, 255, 0.13), transparent 68%), linear-gradient(160deg, #1a2c45, #142238); }
.app-page .payment-card {
  border-color: rgba(127, 205, 255, 0.22);
  background:
    radial-gradient(300px 210px at 108% -10%, rgba(92, 170, 255, 0.36), transparent 64%),
    radial-gradient(280px 190px at -8% 120%, rgba(106, 241, 214, 0.14), transparent 68%),
    linear-gradient(145deg, #243d5e, #172840 62%, #162d49);
  box-shadow: 0 25px 55px rgba(2, 10, 25, 0.30), inset 0 1px rgba(255,255,255,.05);
}
.app-page .payment-card::after { border-color: rgba(130, 220, 255, 0.18); box-shadow: 0 0 0 34px rgba(114, 228, 255, 0.03), 0 0 0 68px rgba(114, 228, 255, 0.018); }
.app-page .card-number { color: #edf7ff; }
.app-page .card-bottom { color: #8fa6bd; }
.app-page .round-action { background: linear-gradient(135deg, #8feeff, #5b8fff); color: #071422; }
.app-page .quick-actions button:hover { border-color: rgba(114, 228, 255, 0.34); }
.app-page .empty-list > span,
.app-page .settings-list > * > span,
.app-page .action-symbol { background: rgba(114, 228, 255, 0.10); color: #82eaff; }
.app-page .profile-avatar { background: linear-gradient(135deg, rgba(114, 228, 255, 0.18), rgba(91, 143, 255, 0.14)); color: #8eeeff; }
.app-page .app-bottom-nav {
  border-top-color: rgba(190, 216, 246, 0.14);
  background: rgba(13, 23, 37, 0.92);
  box-shadow: 0 -18px 45px rgba(2, 9, 22, 0.18);
}
.app-page .app-bottom-nav button { color: #74879e; }
.app-page .app-bottom-nav button.active { color: #7feaff; background: rgba(114, 228, 255, 0.07); }
.app-page .sheet-panel { background: linear-gradient(180deg, #192a42, #111e31); border-color: rgba(190, 216, 246, 0.18); }
.app-page .sheet-handle { background: #496079; }
.app-page .toggle-row > i { background: #324a63; }
.app-page .toggle-row input:checked + i { background: rgba(91, 143, 255, 0.38); }
.app-page .toggle-row input:checked + i::after { background: #8cecff; }
.app-page .choice-grid button.selected { border-color: rgba(114, 228, 255, 0.48); background: rgba(114, 228, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(114, 228, 255, 0.08); }
.app-page .selected-product { border-color: rgba(114, 228, 255, 0.20); background: rgba(114, 228, 255, 0.06); }
.app-page .amount-presets button.selected { border-color: rgba(114, 228, 255, 0.36); color: #83eaff; background: rgba(114, 228, 255, 0.07); }
.app-page .toast { background: rgba(18, 33, 51, 0.97); border-color: rgba(114, 228, 255, 0.20); }

.account-balance-card {
  position: relative;
  margin-bottom: 16px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(128, 208, 255, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(300px 190px at 100% 0, rgba(113, 211, 255, 0.20), transparent 68%),
    radial-gradient(240px 180px at 0 120%, rgba(106, 241, 214, 0.08), transparent 70%),
    linear-gradient(155deg, rgba(32, 53, 82, 0.98), rgba(20, 35, 56, 0.98));
  box-shadow: 0 22px 52px rgba(2, 11, 26, 0.26), inset 0 1px rgba(255,255,255,.05);
}
.account-balance-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -110px;
  top: -105px;
  border: 1px solid rgba(148, 225, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(114,228,255,.025), 0 0 0 60px rgba(114,228,255,.012);
  pointer-events: none;
}
.account-balance-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.account-balance-head small { display: block; color: #a9bcd0; font-size: 11px; }
.account-balance-head strong { display: block; margin-top: 3px; font-size: 38px; line-height: 1; letter-spacing: -0.055em; }
.currency-badge { min-width: 48px; display: grid; place-items: center; padding: 7px 10px; border: 1px solid rgba(139, 222, 255, .22); border-radius: 999px; background: rgba(114,228,255,.08); color: #8cecff; font-size: 9px; font-weight: 820; letter-spacing: .11em; }
.account-rate-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0 16px; padding: 13px 14px; border: 1px solid rgba(190,216,246,.10); border-radius: 15px; background: rgba(8, 20, 36, .24); }
.account-rate-row > span { min-width: 0; display: grid; grid-template-columns: 7px 1fr; column-gap: 8px; align-items: center; }
.account-rate-row > span i { width: 7px; height: 7px; grid-row: span 2; border-radius: 50%; background: #6af1d6; box-shadow: 0 0 0 5px rgba(106,241,214,.08); }
.account-rate-row b { font-size: 12px; }
.account-rate-row small { color: #8296ac; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-rate-row button { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid rgba(190,216,246,.12); border-radius: 11px; background: rgba(255,255,255,.025); color: #8cecff; cursor: pointer; }
.account-balance-actions { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 9px; }
.account-balance-actions .button { min-height: 46px; padding: 11px 13px; font-size: 11px; }
.account-rate-note { position: relative; z-index: 1; margin: 12px 2px 0; color: #73879e; font-size: 9px; line-height: 1.45; }
.rate-live-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 16px; margin-bottom: 12px; padding: 13px 14px; border: 1px solid rgba(114,228,255,.16); border-radius: 15px; background: rgba(114,228,255,.055); }
.rate-live-card > span { display: inline-flex; align-items: center; gap: 7px; color: #8deaff; font-size: 10px; font-weight: 750; }
.rate-live-card > span i { width: 6px; height: 6px; border-radius: 50%; background: #6af1d6; }
.rate-live-card strong { text-align: right; font-size: 13px; }
.rate-live-card small { grid-column: 1 / -1; color: #7f92a8; font-size: 9px; }
.payment-action-card + .payment-action-card { margin-top: 9px; }
.app-page .payment-action-card.primary-action { border-color: rgba(114,228,255,.19); background: linear-gradient(155deg, rgba(31, 53, 82, .98), rgba(22, 38, 60, .98)); }

/* ===== NexoraPay Light Premium UI v2 ===== */
body.app-light-v2 {
  --v2-bg: #f5f7fb;
  --v2-surface: #ffffff;
  --v2-text: #111722;
  --v2-muted: #7b8798;
  --v2-line: rgba(36, 65, 101, .10);
  --v2-blue: #1677ff;
  --v2-blue-2: #3ca7ff;
  --v2-cyan: #35c8f8;
  --v2-indigo: #5d64f4;
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f9fc 0, #f2f6fb 100%);
  color: var(--v2-text);
  color-scheme: light;
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
}
.app-light-v2 .app-shell { width: min(720px, 100%); padding: 0 24px 32px; }
.app-light-v2 .v2-topbar { padding: max(18px, env(safe-area-inset-top)) 0 18px; background: transparent; border: 0; }
.app-light-v2 .brand { color: var(--v2-text); font-size: 20px; }
.app-light-v2 .brand > span > span { color: var(--v2-blue); }
.app-light-v2 .brand img { filter: saturate(1.05) brightness(.78); }
.app-light-v2 .avatar-button { background: #e7f2ff; border-color: #d5e8ff; color: #1677ff; box-shadow: 0 8px 24px rgba(44, 99, 170, .10); }
.app-light-v2 .avatar-button i { background: #35c978; box-shadow: 0 0 0 3px #fff; }
.app-light-v2 .app-view { padding-bottom: 18px; }
.app-light-v2 .v2-greeting { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin: 8px 0 22px; }
.app-light-v2 .v2-greeting small, .app-light-v2 .v2-view-header small, .app-light-v2 .v2-section-row small { display:block; color:var(--v2-muted); font-weight:650; font-size:13px; margin-bottom:2px; }
.app-light-v2 .v2-greeting h1, .app-light-v2 .v2-view-header h1 { margin:0; color:var(--v2-text); font-size:34px; line-height:1.06; letter-spacing:-.045em; }
.app-light-v2 .live-dot { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; background:#e9f8f0; color:#218052; font-size:12px; font-weight:760; }
.app-light-v2 .live-dot i { width:7px; height:7px; border-radius:50%; background:#2cc877; box-shadow:0 0 0 4px rgba(44,200,119,.12); }

.app-light-v2 .wallet-hero { position:relative; isolation:isolate; overflow:hidden; padding:24px; border-radius:30px; color:#fff; background:linear-gradient(145deg,#176ee8 0%,#258ff4 46%,#42c4f5 100%); box-shadow:0 24px 50px rgba(26,115,232,.22), inset 0 1px rgba(255,255,255,.35); }
.app-light-v2 .wallet-hero:before { content:""; position:absolute; width:210px; height:210px; border-radius:50%; right:-72px; top:-96px; background:radial-gradient(circle at 40% 40%,rgba(255,255,255,.42),rgba(255,255,255,.03) 66%,transparent 68%); z-index:-1; }
.app-light-v2 .wallet-hero-glow { position:absolute; width:170px; height:170px; left:-65px; bottom:-110px; background:rgba(108,234,255,.55); filter:blur(46px); z-index:-1; }
.app-light-v2 .wallet-hero-top { display:flex; align-items:center; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.82); }
.app-light-v2 .wallet-hero-top b { padding:5px 10px; border-radius:999px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.18); font-size:12px; }
.app-light-v2 .wallet-hero-amount { display:block; margin:12px 0 18px; font-size:44px; line-height:1; letter-spacing:-.055em; }
.app-light-v2 .wallet-rate-line { display:flex; align-items:center; justify-content:space-between; padding:13px 14px; border:1px solid rgba(255,255,255,.16); border-radius:18px; background:rgba(7,51,111,.14); backdrop-filter:blur(12px); }
.app-light-v2 .wallet-rate-line > span { display:grid; grid-template-columns:auto 1fr; gap:0 8px; align-items:center; }
.app-light-v2 .wallet-rate-line i { width:8px; height:8px; border-radius:50%; background:#74f7c1; grid-row:1 / 3; box-shadow:0 0 0 4px rgba(116,247,193,.13); }
.app-light-v2 .wallet-rate-line b { font-size:14px; }
.app-light-v2 .wallet-rate-line small { color:rgba(255,255,255,.68); font-size:11px; }
.app-light-v2 .wallet-rate-line button { width:34px; height:34px; border:0; border-radius:12px; background:rgba(255,255,255,.13); color:#fff; cursor:pointer; }
.app-light-v2 .wallet-hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
.app-light-v2 .v2-white-button, .app-light-v2 .v2-glass-button { border-radius:17px; min-height:50px; box-shadow:none; }
.app-light-v2 .v2-white-button { color:#176fe5; background:#fff; }
.app-light-v2 .v2-glass-button { color:#fff; background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.2); }

.app-light-v2 .v2-section-row { margin:28px 0 12px; align-items:end; }
.app-light-v2 .v2-section-row h2 { margin:0; color:var(--v2-text); font-size:23px; letter-spacing:-.035em; }
.app-light-v2 .v2-section-row button { color:var(--v2-blue); background:transparent; border:0; font-weight:720; cursor:pointer; }
.app-light-v2 .home-cards { display:grid; gap:12px; }
.app-light-v2 .owned-card { width:100%; border:0; text-align:left; color:#fff; position:relative; overflow:hidden; min-height:190px; padding:20px; border-radius:27px; background:linear-gradient(138deg,#263d67,#17263f 62%,#111a2b); box-shadow:0 18px 40px rgba(34,50,77,.20); cursor:pointer; }
.app-light-v2 .owned-card:before { content:""; position:absolute; inset:auto -45px -65px auto; width:190px; height:190px; border-radius:50%; background:radial-gradient(circle,#5c9dff 0,rgba(63,139,255,.18) 46%,transparent 70%); }
.app-light-v2 .owned-card.frozen { filter:saturate(.35); opacity:.78; }
.app-light-v2 .owned-card-top, .app-light-v2 .owned-card-bottom { display:flex; justify-content:space-between; align-items:center; position:relative; z-index:1; }
.app-light-v2 .owned-card-top span { font-weight:820; letter-spacing:-.03em; }
.app-light-v2 .owned-card-top b { font-size:11px; padding:5px 9px; border-radius:999px; background:rgba(255,255,255,.12); }
.app-light-v2 .owned-card > strong { display:block; position:relative; z-index:1; margin:52px 0 20px; font-size:17px; letter-spacing:.08em; font-weight:680; }
.app-light-v2 .owned-card-bottom span { font-size:11px; color:rgba(255,255,255,.65); text-transform:uppercase; }
.app-light-v2 .owned-card-bottom b { font-size:20px; }
.app-light-v2 .owned-card.compact { min-height:165px; }
.app-light-v2 .owned-card.compact > strong { margin:38px 0 18px; }
.app-light-v2 .no-card-v2 { width:100%; display:flex; align-items:center; gap:14px; text-align:left; padding:18px; border:1px solid #dbe7f5; border-radius:22px; color:var(--v2-text); background:#fff; box-shadow:0 12px 30px rgba(33,71,120,.08); cursor:pointer; }
.app-light-v2 .no-card-v2 > span { width:45px; height:45px; display:grid; place-items:center; border-radius:15px; background:#eaf4ff; color:#1677ff; font-size:23px; }
.app-light-v2 .no-card-v2 div { flex:1; }
.app-light-v2 .no-card-v2 b { display:block; font-size:15px; }
.app-light-v2 .no-card-v2 small { color:var(--v2-muted); }
.app-light-v2 .no-card-v2 i { color:#1677ff; }

.app-light-v2 .home-shortcuts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.app-light-v2 .home-shortcuts button { min-width:0; display:flex; align-items:center; gap:10px; padding:14px; border:1px solid var(--v2-line); border-radius:20px; background:#fff; color:var(--v2-text); text-align:left; cursor:pointer; box-shadow:0 10px 26px rgba(49,80,117,.06); }
.app-light-v2 .home-shortcuts .shortcut-icon { flex:0 0 40px; width:40px; height:40px; display:grid; place-items:center; border-radius:14px; color:#fff; font-weight:850; }
.app-light-v2 .shortcut-icon.blue { background:linear-gradient(135deg,#1677ff,#5aa8ff); }
.app-light-v2 .shortcut-icon.cyan { background:linear-gradient(135deg,#4e6cf4,#30c4f4); }
.app-light-v2 .home-shortcuts div { min-width:0; flex:1; }
.app-light-v2 .home-shortcuts b { display:block; font-size:13px; }
.app-light-v2 .home-shortcuts small { display:block; color:var(--v2-muted); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-light-v2 .home-shortcuts i { color:#8aa3c0; }

.app-light-v2 .v2-view-header { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:8px 0 24px; }
.app-light-v2 .info-chip { border:0; border-radius:999px; padding:9px 14px; background:#e8f4ff; color:#2386df; font-weight:700; cursor:pointer; }
.app-light-v2 .v2-product-list { display:grid; gap:18px; }
.app-light-v2 .choice-product { position:relative; isolation:isolate; overflow:hidden; min-height:300px; border-radius:32px; padding:22px 22px 0; color:#fff; box-shadow:0 18px 38px rgba(50,76,118,.18); }
.app-light-v2 .choice-product.premium { background:linear-gradient(145deg,#738096 0%,#39475f 48%,#26334a 100%); }
.app-light-v2 .choice-product.blue { background:linear-gradient(145deg,#1a78ed,#2498ff 55%,#45c7f4); }
.app-light-v2 .choice-product.travel { background:linear-gradient(145deg,#1570e8 0%,#238ff8 50%,#4ac6f5 100%); }
.app-light-v2 .choice-product.subscription { background:linear-gradient(145deg,#4f62ea 0%,#6671f7 52%,#93a2ff 100%); }
.app-light-v2 .choice-product.not-ready { filter:saturate(.68); opacity:.78; }
.app-light-v2 .choice-product-tags { display:flex; gap:7px; flex-wrap:wrap; position:relative; z-index:3; }
.app-light-v2 .choice-product-tags span { padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.17); border:1px solid rgba(255,255,255,.20); font-size:11px; font-weight:760; }
.app-light-v2 .choice-product h3 { position:relative; z-index:3; margin:24px 0 5px; max-width:72%; font-size:25px; letter-spacing:-.04em; }
.app-light-v2 .choice-product p { position:relative; z-index:3; margin:0; max-width:62%; color:rgba(255,255,255,.78); line-height:1.35; font-size:14px; }
.app-light-v2 .choice-product-art { position:absolute; right:-8px; top:32px; width:155px; height:155px; border-radius:36px; background:linear-gradient(145deg,rgba(255,255,255,.29),rgba(255,255,255,.07)); border:1px solid rgba(255,255,255,.25); box-shadow:0 14px 30px rgba(0,0,0,.16); transform:rotate(2deg); }
.app-light-v2 .choice-product-art b { position:absolute; inset:0; display:grid; place-items:center; font-size:64px; font-weight:850; text-shadow:0 8px 22px rgba(0,0,0,.18); }
.app-light-v2 .choice-product-art i, .app-light-v2 .choice-product-art em { position:absolute; border-radius:50%; background:rgba(255,255,255,.26); }
.app-light-v2 .choice-product-art i { width:35px; height:35px; right:15px; bottom:17px; }
.app-light-v2 .choice-product-art em { width:22px; height:22px; left:16px; top:18px; }
.app-light-v2 .choice-product-bottom { position:absolute; z-index:3; left:10px; right:10px; bottom:10px; display:grid; grid-template-columns:1fr 1fr; padding:14px 10px; border:1px solid rgba(255,255,255,.2); border-radius:24px; background:rgba(22,51,101,.22); backdrop-filter:blur(10px); }
.app-light-v2 .choice-product-bottom div { text-align:center; padding:0 8px; }
.app-light-v2 .choice-product-bottom div + div { border-left:1px solid rgba(255,255,255,.17); }
.app-light-v2 .choice-product-bottom strong { display:block; font-size:16px; }
.app-light-v2 .choice-product-bottom small { display:block; color:rgba(255,255,255,.78); font-size:11px; margin-top:2px; }
.app-light-v2 .product-hit { position:absolute; inset:0; z-index:4; border:0; background:transparent; cursor:pointer; }
.app-light-v2 .product-hit:disabled { cursor:not-allowed; }
.app-light-v2 .v2-notice { margin-top:18px; background:#fff8e6; border-color:#f3dfaa; color:#6c5730; }

.app-light-v2 .catalog-hero { min-height:190px; display:flex; justify-content:space-between; align-items:flex-end; overflow:hidden; position:relative; padding:24px; border-radius:28px; color:#fff; background:linear-gradient(135deg,#5264ed,#258fe8 58%,#35c8f8); box-shadow:0 18px 42px rgba(41,103,211,.18); }
.app-light-v2 .catalog-hero span { font-size:12px; font-weight:800; opacity:.76; text-transform:uppercase; letter-spacing:.1em; }
.app-light-v2 .catalog-hero h2 { margin:5px 0; font-size:27px; line-height:1.08; letter-spacing:-.04em; }
.app-light-v2 .catalog-hero p { margin:0; color:rgba(255,255,255,.75); font-size:12px; }
.app-light-v2 .catalog-hero > b { width:90px; height:90px; display:grid; place-items:center; border-radius:30px; background:rgba(255,255,255,.17); font-size:47px; transform:rotate(-8deg); }
.app-light-v2 .catalog-categories { display:flex; gap:8px; overflow:auto; padding:17px 0 4px; scrollbar-width:none; }
.app-light-v2 .catalog-categories span { white-space:nowrap; padding:8px 12px; border-radius:999px; background:#fff; border:1px solid var(--v2-line); color:#52647b; font-size:12px; font-weight:700; }
.app-light-v2 .catalog-grid, .app-light-v2 .service-grid { display:grid; gap:14px; margin-top:18px; }
.app-light-v2 .catalog-card { background:#fff; border:1px solid var(--v2-line); border-radius:24px; padding:16px; box-shadow:0 12px 30px rgba(43,75,113,.07); }
.app-light-v2 .catalog-card-art { height:145px; display:flex; justify-content:space-between; align-items:flex-start; border-radius:18px; padding:14px; background:linear-gradient(135deg,#eaf3ff,#e4f8ff); margin-bottom:14px; }
.app-light-v2 .catalog-card-art > span { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; color:#fff; background:linear-gradient(135deg,#247fff,#53c5f7); font-size:28px; overflow:hidden; }
.app-light-v2 .catalog-card-art img { width:100%; height:100%; object-fit:cover; }
.app-light-v2 .catalog-card-art b { padding:6px 9px; border-radius:999px; background:#fff; color:#1677ff; font-size:10px; }
.app-light-v2 .catalog-card > small { color:var(--v2-muted); }
.app-light-v2 .catalog-card h3 { margin:3px 0; font-size:20px; color:var(--v2-text); }
.app-light-v2 .catalog-card p { margin:0 0 14px; color:var(--v2-muted); font-size:13px; }
.app-light-v2 .catalog-card > div:last-child { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.app-light-v2 .catalog-card > div:last-child button, .app-light-v2 .service-card button { border:0; border-radius:13px; padding:10px 13px; color:#fff; background:#1677ff; font-weight:760; cursor:pointer; }
.app-light-v2 .catalog-empty { grid-column:1/-1; text-align:center; padding:40px 24px; background:#fff; border:1px dashed #d7e4f1; border-radius:24px; color:var(--v2-text); }
.app-light-v2 .catalog-empty > span { width:56px; height:56px; display:grid; place-items:center; margin:0 auto 12px; border-radius:18px; background:#e9f4ff; color:#1677ff; font-size:27px; }
.app-light-v2 .catalog-empty h2 { margin:0; font-size:20px; }
.app-light-v2 .catalog-empty p { color:var(--v2-muted); font-size:13px; }

.app-light-v2 .ecosystem-intro { display:flex; gap:14px; align-items:center; padding:18px; border-radius:23px; background:#fff; border:1px solid var(--v2-line); box-shadow:0 10px 26px rgba(43,75,113,.06); }
.app-light-v2 .ecosystem-mark { flex:0 0 50px; width:50px; height:50px; display:grid; place-items:center; border-radius:17px; color:#fff; background:linear-gradient(135deg,#5368ec,#2bc0ee); font-size:22px; font-weight:900; }
.app-light-v2 .ecosystem-intro b { display:block; font-size:16px; }
.app-light-v2 .ecosystem-intro p { margin:2px 0 0; color:var(--v2-muted); font-size:12px; line-height:1.4; }
.app-light-v2 .service-card { position:relative; overflow:hidden; padding:22px; border-radius:28px; color:#fff; background:linear-gradient(140deg,#246ce4,#2f9df1 60%,#56cdef); box-shadow:0 16px 36px rgba(38,100,204,.16); }
.app-light-v2 .service-card.accent-indigo { background:linear-gradient(140deg,#505edc,#6974f4 60%,#94a0ff); }
.app-light-v2 .service-card-head { display:flex; justify-content:space-between; align-items:flex-start; }
.app-light-v2 .service-card-head > span { width:52px; height:52px; display:grid; place-items:center; border-radius:17px; background:rgba(255,255,255,.17); font-weight:900; font-size:22px; overflow:hidden; }
.app-light-v2 .service-card-head img { width:100%; height:100%; object-fit:cover; }
.app-light-v2 .service-card-head b { padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.16); font-size:10px; }
.app-light-v2 .service-card h2 { margin:28px 0 4px; font-size:25px; }
.app-light-v2 .service-card p { margin:0; color:rgba(255,255,255,.76); font-size:13px; max-width:85%; }
.app-light-v2 .service-card-foot { display:flex; align-items:end; justify-content:space-between; margin-top:25px; }
.app-light-v2 .service-card-foot strong { font-size:17px; }
.app-light-v2 .service-card button { background:#fff; color:#256dda; }
.app-light-v2 .service-card button:disabled { opacity:.55; cursor:not-allowed; }

.app-light-v2 .v2-profile-card { background:#fff; color:var(--v2-text); border:1px solid var(--v2-line); box-shadow:0 12px 30px rgba(43,75,113,.07); }
.app-light-v2 .v2-profile-card .profile-avatar { color:#fff; background:linear-gradient(135deg,#1677ff,#54c8f7); }
.app-light-v2 .v2-profile-card p { color:var(--v2-muted); }
.app-light-v2 .verified-chip { margin-left:auto; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#e8f8f0; color:#24a365; font-weight:900; }
.app-light-v2 .profile-balance-row { display:flex; align-items:center; justify-content:space-between; margin:14px 0; padding:17px; border-radius:20px; background:linear-gradient(135deg,#eef6ff,#e9faff); color:var(--v2-text); }
.app-light-v2 .profile-balance-row small { display:block; color:var(--v2-muted); }
.app-light-v2 .profile-balance-row b { font-size:25px; }
.app-light-v2 .profile-balance-row button { border:0; border-radius:13px; padding:10px 13px; background:#1677ff; color:#fff; font-weight:760; }
.app-light-v2 .v2-settings { background:#fff; border:1px solid var(--v2-line); border-radius:22px; overflow:hidden; }
.app-light-v2 .v2-settings a, .app-light-v2 .v2-settings button { color:var(--v2-text); background:#fff; border-color:#eef2f7; }
.app-light-v2 .v2-settings small { color:var(--v2-muted); }
.app-light-v2 .ecosystem-note { display:flex; align-items:center; gap:10px; margin-top:18px; padding:14px; border-radius:18px; color:var(--v2-text); background:#fff; border:1px solid var(--v2-line); }
.app-light-v2 .ecosystem-note img { width:30px; height:30px; }
.app-light-v2 .ecosystem-note div { flex:1; }
.app-light-v2 .ecosystem-note b, .app-light-v2 .ecosystem-note small { display:block; }
.app-light-v2 .ecosystem-note small, .app-light-v2 .ecosystem-note > span { color:var(--v2-muted); font-size:11px; }

.app-light-v2 .v2-transactions .transaction-row { background:#fff; border-color:var(--v2-line); color:var(--v2-text); }
.app-light-v2 .v2-transactions .transaction-row small { color:var(--v2-muted); }
.app-light-v2 .v2-transactions .merchant-logo { color:#1677ff; background:#e9f4ff; }
.app-light-v2 .light-empty { color:var(--v2-text); background:#fff; border-color:var(--v2-line); }
.app-light-v2 .light-empty p { color:var(--v2-muted); }

.app-light-v2 .v2-bottom-nav { left:50%; bottom:max(10px,env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(680px,calc(100% - 20px)); grid-template-columns:repeat(5,minmax(0,1fr)); padding:7px; border:1px solid rgba(43,76,116,.10); border-radius:24px; background:rgba(255,255,255,.92); backdrop-filter:blur(22px); box-shadow:0 18px 45px rgba(40,70,110,.16); }
.app-light-v2 .v2-bottom-nav button { color:#8a96a6; min-width:0; padding:8px 5px; border-radius:17px; }
.app-light-v2 .v2-bottom-nav button span { font-size:17px; }
.app-light-v2 .v2-bottom-nav button b { font-size:9px; }
.app-light-v2 .v2-bottom-nav button.active { color:#1677ff; background:#eaf4ff; }

.app-light-v2 .sheet-backdrop { background:rgba(31,43,60,.22); backdrop-filter:blur(5px); }
.app-light-v2 .light-sheet { color:var(--v2-text); background:#f7f9fc; border-color:#fff; box-shadow:0 -18px 50px rgba(33,52,77,.18); }
.app-light-v2 .light-sheet .sheet-handle { background:#cdd6e0; }
.app-light-v2 .light-sheet .sheet-header small, .app-light-v2 .light-sheet .sheet-disclaimer { color:var(--v2-muted); }
.app-light-v2 .light-sheet .sheet-header h2 { color:var(--v2-text); }
.app-light-v2 .light-sheet .icon-button { color:#6f7d8c; background:#e9eef5; border-color:#e0e7ef; }
.app-light-v2 .light-sheet .button-primary { color:#fff; background:linear-gradient(135deg,#1677ff,#38a6f5); box-shadow:0 12px 26px rgba(22,119,255,.18); }
.app-light-v2 .light-sheet .button-secondary { color:#1677ff; background:#eaf4ff; border-color:#d6eaff; }
.app-light-v2 .light-sheet .selected-product, .app-light-v2 .light-sheet .quote-summary, .app-light-v2 .light-sheet .toggle-row, .app-light-v2 .light-sheet .quote-placeholder { color:var(--v2-text); background:#fff; border-color:var(--v2-line); }
.app-light-v2 .light-sheet .selected-product p, .app-light-v2 .light-sheet .quote-summary span, .app-light-v2 .light-sheet .toggle-row small, .app-light-v2 .light-sheet .quote-placeholder p { color:var(--v2-muted); }
.app-light-v2 .compact-choice { grid-template-columns:repeat(2,1fr); margin:12px 0; }
.app-light-v2 .compact-choice button { min-height:44px; color:#5a6879; background:#fff; border-color:var(--v2-line); }
.app-light-v2 .compact-choice button.selected { color:#1677ff; background:#eaf4ff; border-color:#cce3ff; }
.app-light-v2 .v2-rate-card { background:linear-gradient(135deg,#eaf4ff,#ebfbff); border-color:#d4eaff; color:var(--v2-text); }
.app-light-v2 .v2-rate-card small { color:var(--v2-muted); }
.app-light-v2 .light-amount { background:#fff; border-color:#dce6f0; color:var(--v2-text); }
.app-light-v2 .light-amount input { color:var(--v2-text); }
.app-light-v2 .amount-presets button { color:#557087; background:#fff; border-color:#dce6f0; }
.app-light-v2 .amount-presets button.selected { color:#1677ff; background:#eaf4ff; border-color:#cbe3ff; }

.app-light-v2 .mini-card-preview { min-height:190px; padding:20px; border-radius:26px; color:#fff; background:linear-gradient(140deg,#243a60,#18263f 65%,#111b2d); box-shadow:0 18px 38px rgba(34,50,77,.18); }
.app-light-v2 .mini-card-preview > div { display:flex; justify-content:space-between; }
.app-light-v2 .mini-card-preview > div span { font-weight:820; }
.app-light-v2 .mini-card-preview > div b { font-size:11px; padding:5px 9px; border-radius:999px; background:rgba(255,255,255,.12); }
.app-light-v2 .mini-card-preview > strong { display:block; margin:58px 0 20px; letter-spacing:.09em; font-size:17px; }
.app-light-v2 .mini-card-preview > small { color:rgba(255,255,255,.62); }
.app-light-v2 .card-details-balance { display:flex; justify-content:space-between; align-items:end; padding:18px 4px 8px; }
.app-light-v2 .card-details-balance span { color:var(--v2-muted); }
.app-light-v2 .card-details-balance b { font-size:28px; }
.app-light-v2 .details-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:8px 0 12px; }
.app-light-v2 .secure-details { display:grid; grid-template-columns:2fr 1fr; gap:9px; margin-top:12px; padding:14px; border:1px solid #d8e6f4; border-radius:20px; background:#fff; }
.app-light-v2 .secure-details div { padding:9px; border-radius:12px; background:#f6f8fb; }
.app-light-v2 .secure-details span { display:block; color:var(--v2-muted); font-size:10px; }
.app-light-v2 .secure-details b { display:block; font-size:13px; margin-top:2px; word-break:break-all; }
.app-light-v2 .secure-details > small { grid-column:1/-1; color:#8b97a6; font-size:10px; line-height:1.4; }
.app-light-v2 .card-freeze-link { width:100%; margin-top:8px; padding:13px; border:0; background:transparent; color:#e36a72; font-weight:720; cursor:pointer; }
.app-light-v2 .funding-balance-card { padding:18px; border-radius:20px; background:linear-gradient(135deg,#eaf4ff,#ecfbff); color:var(--v2-text); margin-bottom:12px; }
.app-light-v2 .funding-balance-card span, .app-light-v2 .funding-balance-card small { display:block; color:var(--v2-muted); }
.app-light-v2 .funding-balance-card strong { display:block; font-size:30px; margin:3px 0; }
.app-light-v2 .wallet-transfer-summary { margin-top:12px; }

.app-light-v2 .payment-status-banner { color:var(--v2-text); background:#fff; border-color:var(--v2-line); }
.app-light-v2 .payment-status-banner p { color:var(--v2-muted); }
.app-light-v2 .app-error { color:var(--v2-text); background:#fff; border-color:var(--v2-line); }
.app-light-v2 .app-error p { color:var(--v2-muted); }
.app-light-v2 .skeleton { background:linear-gradient(90deg,#e8edf3,#f4f6f9,#e8edf3); background-size:200% 100%; }
.app-light-v2 .toast { color:var(--v2-text); background:#fff; border-color:var(--v2-line); box-shadow:0 18px 40px rgba(38,61,90,.14); }

@media (min-width: 620px) {
  .app-light-v2 .catalog-grid { grid-template-columns:repeat(2,1fr); }
  .app-light-v2 .service-grid { grid-template-columns:repeat(2,1fr); }
  .app-light-v2 .owned-card-list { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
}
@media (max-width: 390px) {
  .app-light-v2 .app-shell { padding-inline:16px; }
  .app-light-v2 .v2-greeting h1, .app-light-v2 .v2-view-header h1 { font-size:30px; }
  .app-light-v2 .wallet-hero { padding:20px; border-radius:27px; }
  .app-light-v2 .wallet-hero-amount { font-size:39px; }
  .app-light-v2 .choice-product { min-height:285px; padding-inline:18px; }
  .app-light-v2 .choice-product-art { width:135px; height:135px; right:-12px; }
  .app-light-v2 .choice-product h3 { max-width:68%; font-size:22px; }
  .app-light-v2 .choice-product p { max-width:60%; font-size:12px; }
  .app-light-v2 .home-shortcuts { grid-template-columns:1fr; }
  .app-light-v2 .v2-bottom-nav button b { font-size:8px; }
}

/* Admin catalog / treasury extensions */
.admin-textarea { min-height: 96px; resize: vertical; }
.catalog-modal-card { width: min(760px, calc(100% - 32px)); }
.catalog-admin-card .catalog-admin-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.catalog-admin-card .catalog-admin-actions button { min-height:40px; border:1px solid var(--line-strong); border-radius:12px; color:var(--text); background:var(--surface-2); cursor:pointer; font-weight:700; }
.treasury-metrics { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:14px 0; }
.treasury-metrics > div { padding:13px; border-radius:14px; background:var(--surface-2); border:1px solid var(--line); }
.treasury-metrics small, .treasury-metrics strong { display:block; }
.treasury-metrics small, .treasury-sync { color:var(--muted); }
.treasury-metrics strong { margin-top:2px; font-size:19px; }
.treasury-settings-form { margin-top:14px; }
.treasury-sync { display:block; margin-top:10px; font-size:11px; line-height:1.4; }

/* ===== NexoraPay 1.3 — Crystal Glass / Conversion UI ===== */
body.app-crystal-v3 {
  --cr-bg-0: #eef5ff;
  --cr-bg-1: #f8fbff;
  --cr-ink: #0b1424;
  --cr-ink-2: #1c2b42;
  --cr-muted: #6f7f96;
  --cr-line: rgba(84, 119, 166, .14);
  --cr-glass: rgba(255,255,255,.62);
  --cr-glass-strong: rgba(255,255,255,.80);
  --cr-blue: #356cff;
  --cr-blue-2: #5aa8ff;
  --cr-cyan: #5edcf7;
  --cr-violet: #776cff;
  --cr-aqua: #53e3c2;
  --cr-shadow: 0 24px 70px rgba(39, 80, 136, .14), inset 0 1px 0 rgba(255,255,255,.92);
  --font-display: "SF Pro Display", "Avenir Next", "Segoe UI Variable Display", Inter, system-ui, -apple-system, sans-serif;
  --font-ui: "SF Pro Text", "Avenir Next", Inter, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(620px 440px at 96% -8%, rgba(77, 145, 255, .20), transparent 68%),
    radial-gradient(560px 430px at -14% 22%, rgba(94, 220, 247, .16), transparent 70%),
    radial-gradient(520px 380px at 78% 62%, rgba(119, 108, 255, .08), transparent 72%),
    linear-gradient(180deg, var(--cr-bg-1) 0%, var(--cr-bg-0) 54%, #f6f9ff 100%);
  color: var(--cr-ink);
  font-family: var(--font-ui);
  letter-spacing: -.012em;
  overflow-x: hidden;
}
body.app-crystal-v3::before,
body.app-crystal-v3::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}
body.app-crystal-v3::before { width: 210px; height: 210px; right: -72px; top: 18%; background: rgba(81, 190, 255, .10); }
body.app-crystal-v3::after { width: 180px; height: 180px; left: -88px; top: 55%; background: rgba(120, 103, 255, .08); }
.app-crystal-v3 h1,.app-crystal-v3 h2,.app-crystal-v3 h3,.app-crystal-v3 strong,.app-crystal-v3 b { font-family: var(--font-display); }
.app-crystal-v3 h1,.app-crystal-v3 h2,.app-crystal-v3 h3 { letter-spacing: -.045em; }
.app-crystal-v3 .app-shell { width: min(720px,100%); padding: 0 18px 118px; }
.app-crystal-v3 .v2-topbar {
  position: sticky; top: 0; z-index: 18;
  margin-inline: -18px; padding: max(14px,env(safe-area-inset-top)) 18px 14px;
  background: linear-gradient(180deg, rgba(248,251,255,.82) 0%, rgba(248,251,255,.54) 70%, rgba(248,251,255,0) 100%);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.app-crystal-v3 .brand { font-weight: 820; letter-spacing: -.05em; }
.app-crystal-v3 .brand > span > span { color: var(--cr-blue); }
.app-crystal-v3 .avatar-button {
  border: 1px solid rgba(76,122,180,.12); background: rgba(255,255,255,.70); color: var(--cr-blue);
  box-shadow: 0 12px 30px rgba(47,91,148,.10), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.app-crystal-v3 .avatar-button i { background: #43d998; border-color: white; box-shadow: 0 0 0 2px rgba(67,217,152,.10); }

.app-crystal-v3 .crystal-greeting { align-items: flex-start; margin: 12px 2px 20px; }
.app-crystal-v3 .crystal-greeting > div { max-width: 520px; }
.app-crystal-v3 .crystal-greeting small { color: #72839b; font-weight: 650; letter-spacing: -.01em; }
.app-crystal-v3 .crystal-greeting h1 { margin: 5px 0 8px; color: #0d1728; font-size: clamp(32px,8.8vw,48px); line-height: .98; font-weight: 820; }
.app-crystal-v3 .crystal-greeting h1 span {
  color: transparent; background: linear-gradient(95deg, #245cff 0%, #4b8cff 48%, #5ccfe9 100%); -webkit-background-clip: text; background-clip: text;
}
.app-crystal-v3 .crystal-greeting p { max-width: 440px; margin: 0; color: #72839a; font-size: 13px; line-height: 1.48; }
.app-crystal-v3 .crystal-live {
  margin-top: 3px; padding: 7px 10px; border: 1px solid rgba(50,170,120,.13); border-radius: 999px;
  background: rgba(255,255,255,.55); color: #2c9d70; box-shadow: inset 0 1px rgba(255,255,255,.9); backdrop-filter: blur(14px);
}

.app-crystal-v3 .wallet-hero {
  position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.92); border-radius: 30px;
  background:
    radial-gradient(430px 270px at 110% -12%, rgba(70,139,255,.27), transparent 60%),
    radial-gradient(330px 260px at -8% 118%, rgba(88,224,217,.19), transparent 65%),
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(244,249,255,.64));
  color: var(--cr-ink);
  box-shadow: 0 26px 76px rgba(43,88,147,.17), inset 0 1px 0 white, inset 0 -1px 0 rgba(89,124,170,.05);
  backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%);
}
.app-crystal-v3 .wallet-hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(120deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.10) 36%, rgba(255,255,255,0) 54%);
}
.app-crystal-v3 .wallet-hero::after {
  content:""; position:absolute; width:220px; height:220px; right:-105px; top:-102px; border:1px solid rgba(61,113,255,.12); border-radius:50%;
  box-shadow: 0 0 0 34px rgba(76,141,255,.03),0 0 0 70px rgba(94,220,247,.018);
}
.app-crystal-v3 .wallet-hero > * { position: relative; z-index: 2; }
.app-crystal-v3 .wallet-hero-top { color: #667a94; }
.app-crystal-v3 .wallet-hero-top b { color: #3266ed; border-color: rgba(53,108,255,.13); background: rgba(255,255,255,.48); }
.app-crystal-v3 .wallet-hero-amount { color: #0b1424; text-shadow: 0 1px 0 rgba(255,255,255,.85); }
.app-crystal-v3 .wallet-rate-line { border-color: rgba(73,112,162,.10); background: rgba(255,255,255,.44); box-shadow: inset 0 1px rgba(255,255,255,.75); }
.app-crystal-v3 .wallet-rate-line span i { background: var(--cr-aqua); box-shadow: 0 0 0 5px rgba(83,227,194,.10); }
.app-crystal-v3 .wallet-rate-line b { color: #21324a; }
.app-crystal-v3 .wallet-rate-line small { color: #8392a6; }
.app-crystal-v3 .wallet-rate-line button { border-color: rgba(61,105,158,.11); background: rgba(255,255,255,.58); color: var(--cr-blue); }
.app-crystal-v3 .v2-white-button {
  color: white; border-color: transparent !important; background: linear-gradient(135deg,#2f64f7 0%,#438cff 54%,#61c9ee 120%) !important;
  box-shadow: 0 14px 34px rgba(53,108,255,.25), inset 0 1px rgba(255,255,255,.28);
}
.app-crystal-v3 .v2-glass-button {
  color: #274466 !important; border: 1px solid rgba(68,111,165,.12) !important; background: rgba(255,255,255,.56) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.90);
}

.app-crystal-v3 .trust-ribbon { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0 20px; }
.app-crystal-v3 .trust-ribbon > div {
  min-width:0; display:flex; align-items:center; gap:8px; padding:10px 9px; border:1px solid rgba(77,112,157,.10); border-radius:16px;
  background:rgba(255,255,255,.54); box-shadow:inset 0 1px rgba(255,255,255,.9); backdrop-filter:blur(18px) saturate(150%); -webkit-backdrop-filter:blur(18px) saturate(150%);
}
.app-crystal-v3 .trust-ribbon > div > span { width:24px; height:24px; flex:0 0 auto; display:grid; place-items:center; border-radius:9px; background:linear-gradient(135deg,#eaf2ff,#f3fbff); color:#376cf1; font-size:11px; font-weight:800; }
.app-crystal-v3 .trust-ribbon p,.app-crystal-v3 .trust-ribbon b,.app-crystal-v3 .trust-ribbon small { display:block; min-width:0; margin:0; }
.app-crystal-v3 .trust-ribbon b { color:#20324a; font-size:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-crystal-v3 .trust-ribbon small { margin-top:1px; color:#8b99ab; font-size:7.8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.app-crystal-v3 .marketing-card {
  position:relative; display:grid; grid-template-columns:1fr 150px; gap:12px; min-height:240px; margin:0 0 24px; padding:24px; overflow:hidden;
  border:1px solid rgba(255,255,255,.90); border-radius:28px;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(239,246,255,.58));
  box-shadow:var(--cr-shadow); backdrop-filter:blur(28px) saturate(160%); -webkit-backdrop-filter:blur(28px) saturate(160%);
}
.app-crystal-v3 .marketing-card::before { content:""; position:absolute; inset:auto -40px -80px 30%; height:190px; background:radial-gradient(circle,rgba(84,148,255,.18),transparent 66%); pointer-events:none; }
.app-crystal-v3 .marketing-card-copy { position:relative; z-index:2; }
.app-crystal-v3 .marketing-kicker { display:inline-flex; padding:5px 9px; border-radius:999px; background:#edf3ff; color:#3b6cf0; font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.app-crystal-v3 .marketing-card h2 { max-width:380px; margin:10px 0 9px; color:#0f192a; font-size:25px; line-height:1.02; }
.app-crystal-v3 .marketing-card p { max-width:400px; margin:0; color:#72839b; font-size:11px; line-height:1.5; }
.app-crystal-v3 .marketing-chips { display:flex; flex-wrap:wrap; gap:5px; margin-top:13px; }
.app-crystal-v3 .marketing-chips span,.app-crystal-v3 .usecase-strip span { padding:5px 8px; border:1px solid rgba(61,105,165,.08); border-radius:999px; background:rgba(255,255,255,.64); color:#667b95; font-size:8px; font-weight:700; }
.app-crystal-v3 .marketing-cta { margin-top:15px; display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border:0; border-radius:13px; background:#122238; color:white; font-size:10px; font-weight:760; box-shadow:0 11px 28px rgba(20,39,64,.18); cursor:pointer; }
.app-crystal-v3 .marketing-cta i { color:#75dff4; font-style:normal; }
.app-crystal-v3 .marketing-orb { position:relative; display:grid; place-items:center; min-height:190px; }
.app-crystal-v3 .marketing-orb > span { position:relative; z-index:3; width:92px; height:92px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.92); border-radius:31px; background:linear-gradient(145deg,#3972ff,#6cd9ef); color:white; font-size:42px; font-weight:820; box-shadow:0 26px 54px rgba(54,109,247,.26), inset 0 1px rgba(255,255,255,.35); transform:rotate(-8deg); }
.app-crystal-v3 .marketing-orb i,.app-crystal-v3 .marketing-orb em { position:absolute; border-radius:50%; border:1px solid rgba(73,123,216,.14); }
.app-crystal-v3 .marketing-orb i { width:142px; height:142px; }
.app-crystal-v3 .marketing-orb em { width:178px; height:108px; transform:rotate(32deg); }

.app-crystal-v3 .v2-section-row small,.app-crystal-v3 .v2-view-header small { color:#8593a5; }
.app-crystal-v3 .v2-section-row h2,.app-crystal-v3 .v2-view-header h1 { color:#101a2a; }
.app-crystal-v3 .v2-view-header p { max-width:520px; margin:6px 0 0; color:#718299; font-size:12px; line-height:1.5; }
.app-crystal-v3 .info-chip { border-color:rgba(66,106,157,.10); background:rgba(255,255,255,.58); color:#5b7392; box-shadow:inset 0 1px white; }
.app-crystal-v3 .usecase-strip { display:flex; gap:6px; overflow-x:auto; margin:-7px 0 18px; padding-bottom:2px; scrollbar-width:none; }
.app-crystal-v3 .usecase-strip::-webkit-scrollbar { display:none; }

.app-crystal-v3 .no-card-v2,
.app-crystal-v3 .home-shortcuts button,
.app-crystal-v3 .owned-card,
.app-crystal-v3 .choice-product,
.app-crystal-v3 .catalog-card,
.app-crystal-v3 .service-card,
.app-crystal-v3 .v2-profile-card,
.app-crystal-v3 .profile-balance-row,
.app-crystal-v3 .v2-settings,
.app-crystal-v3 .ecosystem-note,
.app-crystal-v3 .v2-transactions,
.app-crystal-v3 .catalog-empty,
.app-crystal-v3 .crystal-ecosystem {
  border-color: rgba(71,108,157,.10) !important;
  background: rgba(255,255,255,.60) !important;
  box-shadow: 0 18px 48px rgba(45,82,132,.09), inset 0 1px 0 rgba(255,255,255,.92) !important;
  backdrop-filter: blur(22px) saturate(155%); -webkit-backdrop-filter: blur(22px) saturate(155%);
}
.app-crystal-v3 .home-shortcuts button:hover,.app-crystal-v3 .no-card-v2:hover { border-color:rgba(53,108,255,.20) !important; }
.app-crystal-v3 .shortcut-icon.blue { color:#356cff; background:#ebf2ff; }
.app-crystal-v3 .shortcut-icon.cyan { color:#179ab9; background:#e9fbff; }
.app-crystal-v3 .home-shortcuts b,.app-crystal-v3 .no-card-v2 b { color:#1a2b43; }
.app-crystal-v3 .home-shortcuts small,.app-crystal-v3 .no-card-v2 small { color:#8795a8; }
.app-crystal-v3 .transaction-row { border-color:rgba(74,107,150,.08); }
.app-crystal-v3 .transaction-row b { color:#1e3047; }
.app-crystal-v3 .transaction-row small { color:#8a98aa; }
.app-crystal-v3 .merchant-logo { background:linear-gradient(145deg,#eef4ff,#f5fcff); color:#376bf0; }

.app-crystal-v3 .choice-product { color:#15253b; }
.app-crystal-v3 .choice-product.premium { background:radial-gradient(250px 180px at 105% -10%,rgba(95,171,255,.22),transparent 65%),rgba(255,255,255,.66) !important; }
.app-crystal-v3 .choice-product.blue { background:radial-gradient(250px 180px at 105% -10%,rgba(113,105,255,.16),transparent 65%),rgba(255,255,255,.66) !important; }
.app-crystal-v3 .choice-product.travel { background:radial-gradient(250px 180px at 105% -10%,rgba(71,216,199,.16),transparent 65%),rgba(255,255,255,.66) !important; }
.app-crystal-v3 .choice-product.subscription { background:radial-gradient(250px 180px at 105% -10%,rgba(82,190,245,.18),transparent 65%),rgba(255,255,255,.66) !important; }
.app-crystal-v3 .choice-product h3 { color:#101b2e; }
.app-crystal-v3 .choice-product p,.app-crystal-v3 .choice-product-bottom small { color:#7f8ea2; }
.app-crystal-v3 .choice-product-bottom { border-color:rgba(69,105,152,.09); background:rgba(248,251,255,.56); }
.app-crystal-v3 .choice-product-tags span { color:#4d6688; background:rgba(255,255,255,.68); border-color:rgba(74,109,154,.08); }

.app-crystal-v3 .crystal-catalog-hero { border:1px solid rgba(255,255,255,.92); background:linear-gradient(135deg,#2f64f7 0%,#4b8eff 52%,#64d5ee 120%); box-shadow:0 26px 58px rgba(53,108,255,.23),inset 0 1px rgba(255,255,255,.35); }
.app-crystal-v3 .crystal-catalog-hero span,.app-crystal-v3 .crystal-catalog-hero p { color:rgba(255,255,255,.76); }
.app-crystal-v3 .crystal-catalog-hero h2,.app-crystal-v3 .crystal-catalog-hero b { color:white; }
.app-crystal-v3 .catalog-categories span { border-color:rgba(64,105,160,.10); background:rgba(255,255,255,.62); color:#657b97; }
.app-crystal-v3 .catalog-card h3,.app-crystal-v3 .service-card h2 { color:#132039; }
.app-crystal-v3 .catalog-card p,.app-crystal-v3 .service-card p { color:#7d8da2; }
.app-crystal-v3 .catalog-card button,.app-crystal-v3 .service-card button { border:0; background:#14253c; color:white; box-shadow:0 10px 22px rgba(20,37,60,.14); }
.app-crystal-v3 .crystal-ecosystem .ecosystem-mark { background:linear-gradient(145deg,#386cff,#68d7ef); color:white; box-shadow:0 14px 28px rgba(53,108,255,.20); }
.app-crystal-v3 .crystal-ecosystem b { color:#16263d; }
.app-crystal-v3 .crystal-ecosystem p { color:#7e8ea2; }

.app-crystal-v3 .profile-avatar { background:linear-gradient(145deg,#376cff,#70d9f0) !important; color:white !important; box-shadow:0 12px 28px rgba(53,108,255,.22); }
.app-crystal-v3 .verified-chip { color:#2f68ef; background:#eaf2ff; }
.app-crystal-v3 .profile-balance-row button { color:white; background:linear-gradient(135deg,#356cff,#55a8ff); box-shadow:0 10px 24px rgba(53,108,255,.20); }
.app-crystal-v3 .v2-settings > * { border-color:rgba(70,105,150,.07); }
.app-crystal-v3 .v2-settings span { background:#eef4ff !important; color:#356cff !important; }
.app-crystal-v3 .v2-settings b { color:#22334b; }
.app-crystal-v3 .v2-settings small { color:#8a98aa; }

.app-crystal-v3 .sheet-backdrop { background:rgba(28,47,75,.20); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.app-crystal-v3 .sheet-panel {
  border:1px solid rgba(255,255,255,.90) !important; background:rgba(248,251,255,.88) !important; color:var(--cr-ink) !important;
  box-shadow:0 -30px 90px rgba(39,72,116,.20), inset 0 1px white; backdrop-filter:blur(34px) saturate(170%); -webkit-backdrop-filter:blur(34px) saturate(170%);
}
.app-crystal-v3 .sheet-handle { background:#cbd8e8 !important; }
.app-crystal-v3 .sheet-header small,.app-crystal-v3 .sheet-disclaimer { color:#8594a7; }
.app-crystal-v3 .sheet-header h2 { color:#132138; }
.app-crystal-v3 .icon-button { border-color:rgba(70,107,157,.09); background:rgba(255,255,255,.65); color:#536b89; }
.app-crystal-v3 .v2-rate-card,.app-crystal-v3 .funding-balance-card,.app-crystal-v3 .card-details-balance,.app-crystal-v3 .secure-details,.app-crystal-v3 .quote-summary,.app-crystal-v3 .quote-placeholder,.app-crystal-v3 .amount-field,.app-crystal-v3 .amount-presets button,.app-crystal-v3 .toggle-row,.app-crystal-v3 .selected-product,.app-crystal-v3 .choice-grid button {
  border-color:rgba(67,105,154,.10) !important; background:rgba(255,255,255,.62) !important; color:#1a2b43 !important; box-shadow:inset 0 1px white !important;
}
.app-crystal-v3 .button-primary { color:white !important; background:linear-gradient(135deg,#3267f7,#4f9fff 62%,#61cfe9) !important; box-shadow:0 15px 34px rgba(53,108,255,.23),inset 0 1px rgba(255,255,255,.28) !important; }
.app-crystal-v3 .button-secondary { color:#304966 !important; border-color:rgba(65,103,153,.10) !important; background:rgba(255,255,255,.60) !important; }
.app-crystal-v3 .mini-card-preview { background:linear-gradient(145deg,#1b3153,#2c61c4 58%,#4ca8d2); box-shadow:0 22px 46px rgba(34,75,133,.22); }

/* colorful floating glass navigation */
.app-crystal-v3 .crystal-bottom-nav {
  left:50%; right:auto; bottom:max(10px,env(safe-area-inset-bottom)); transform:translateX(-50%);
  width:min(680px,calc(100% - 18px)); grid-template-columns:repeat(5,minmax(0,1fr)); gap:3px; padding:7px;
  border:1px solid rgba(255,255,255,.92); border-radius:26px;
  background:rgba(255,255,255,.66); box-shadow:0 22px 60px rgba(44,77,124,.20),inset 0 1px 0 white;
  backdrop-filter:blur(30px) saturate(185%); -webkit-backdrop-filter:blur(30px) saturate(185%);
}
.app-crystal-v3 .crystal-bottom-nav button { position:relative; min-width:0; min-height:58px; padding:6px 2px; gap:3px; border-radius:19px; color:#8391a5; background:transparent; transition:transform .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease; }
.app-crystal-v3 .crystal-bottom-nav button::before { content:""; position:absolute; inset:4px; z-index:-1; border-radius:16px; opacity:0; transform:scale(.88); transition:.20s ease; }
.app-crystal-v3 .crystal-bottom-nav .nav-icon { width:27px; height:27px; display:grid; place-items:center; border-radius:10px; transition:.18s ease; }
.app-crystal-v3 .crystal-bottom-nav svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.app-crystal-v3 .crystal-bottom-nav b { font-size:8px; font-weight:720; letter-spacing:-.015em; }
.app-crystal-v3 .crystal-bottom-nav .nav-home .nav-icon { color:#3b73f7; background:#eef3ff; }
.app-crystal-v3 .crystal-bottom-nav .nav-cards .nav-icon { color:#6b61ed; background:#f0eeff; }
.app-crystal-v3 .crystal-bottom-nav .nav-shop .nav-icon { color:#df6d3e; background:#fff1e9; }
.app-crystal-v3 .crystal-bottom-nav .nav-services .nav-icon { color:#169bb6; background:#e8fbff; }
.app-crystal-v3 .crystal-bottom-nav .nav-profile .nav-icon { color:#537086; background:#edf4f7; }
.app-crystal-v3 .crystal-bottom-nav button.active { color:white !important; background:transparent !important; transform:translateY(-1px); }
.app-crystal-v3 .crystal-bottom-nav button.active::before { opacity:1; transform:scale(1); box-shadow:0 9px 20px rgba(45,86,149,.18),inset 0 1px rgba(255,255,255,.25); }
.app-crystal-v3 .crystal-bottom-nav .nav-home.active::before { background:linear-gradient(135deg,#356cff,#5aa8ff); }
.app-crystal-v3 .crystal-bottom-nav .nav-cards.active::before { background:linear-gradient(135deg,#5c55ec,#8b78ff); }
.app-crystal-v3 .crystal-bottom-nav .nav-shop.active::before { background:linear-gradient(135deg,#ff8557,#ffb35e); }
.app-crystal-v3 .crystal-bottom-nav .nav-services.active::before { background:linear-gradient(135deg,#22a9c6,#5edcf7); }
.app-crystal-v3 .crystal-bottom-nav .nav-profile.active::before { background:linear-gradient(135deg,#536f8a,#7899b5); }
.app-crystal-v3 .crystal-bottom-nav button.active .nav-icon { color:white; background:rgba(255,255,255,.16); }

@media (max-width: 560px) {
  .app-crystal-v3 .app-shell { padding-inline:14px; }
  .app-crystal-v3 .v2-topbar { margin-inline:-14px; padding-inline:14px; }
  .app-crystal-v3 .marketing-card { grid-template-columns:1fr 108px; padding:20px; }
  .app-crystal-v3 .marketing-card h2 { font-size:22px; }
  .app-crystal-v3 .marketing-orb > span { width:76px; height:76px; border-radius:26px; font-size:34px; }
  .app-crystal-v3 .marketing-orb i { width:116px; height:116px; }
  .app-crystal-v3 .marketing-orb em { width:142px; height:84px; }
  .app-crystal-v3 .trust-ribbon { gap:5px; }
  .app-crystal-v3 .trust-ribbon > div { padding:9px 6px; gap:5px; border-radius:14px; }
  .app-crystal-v3 .trust-ribbon > div > span { width:21px; height:21px; border-radius:8px; font-size:9px; }
  .app-crystal-v3 .trust-ribbon b { font-size:8px; }
  .app-crystal-v3 .trust-ribbon small { font-size:6.8px; }
  .app-crystal-v3 .crystal-bottom-nav { width:calc(100% - 12px); padding:6px 5px; border-radius:24px; }
  .app-crystal-v3 .crystal-bottom-nav button { min-height:56px; }
  .app-crystal-v3 .crystal-bottom-nav .nav-icon { width:25px; height:25px; }
  .app-crystal-v3 .crystal-bottom-nav svg { width:17px; height:17px; }
  .app-crystal-v3 .crystal-bottom-nav b { font-size:7.6px; }
}
@media (max-width: 385px) {
  .app-crystal-v3 .crystal-greeting h1 { font-size:31px; }
  .app-crystal-v3 .marketing-card { grid-template-columns:1fr; }
  .app-crystal-v3 .marketing-orb { display:none; }
  .app-crystal-v3 .trust-ribbon > div > span { display:none; }
  .app-crystal-v3 .trust-ribbon > div { justify-content:center; text-align:center; }
  .app-crystal-v3 .crystal-bottom-nav b { font-size:7px; }
}
