@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #020605;
  --bg-deep: #010403;
  --panel: rgba(8, 18, 14, .84);
  --panel-solid: #07100c;
  --panel-light: #0a1711;
  --line: rgba(120, 186, 145, .16);
  --line-bright: rgba(74, 241, 120, .35);
  --text: #f3f8f5;
  --muted: #82958a;
  --muted-light: #a7b5ac;
  --green: #48f27d;
  --green-2: #19c954;
  --green-soft: rgba(54, 238, 112, .10);
  --gold: #dfb85f;
  --gold-bright: #f9dc83;
  --red: #ff646b;
  --shadow: 0 35px 100px rgba(0, 0, 0, .52);
  --radius: 20px;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--text); background: linear-gradient(180deg, #020605 0%, #030806 45%, #010403 100%); }
body::selection { color: #041008; background: var(--green); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.compact-shell { width: min(1040px, calc(100% - 48px)); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-150%); color: #021007; background: var(--green); border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: none; }
.noise { position: fixed; z-index: 80; inset: 0; pointer-events: none; opacity: .09; background-image: radial-gradient(rgba(255,255,255,.22) .45px, transparent .65px); background-size: 5px 5px; mask-image: linear-gradient(120deg, transparent, #000 38%, transparent 82%); }
.ambient { position: fixed; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; filter: blur(110px); opacity: .12; }
.ambient-a { top: -210px; right: -120px; background: #11d65b; }
.ambient-b { bottom: -300px; left: -180px; background: #876719; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(2, 6, 5, .78); border-bottom: 1px solid rgba(132, 188, 153, .12); backdrop-filter: blur(24px); }
.header-inner { display: flex; align-items: center; min-height: 72px; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: flex; align-items: end; gap: 2px; width: 27px; height: 28px; transform: skew(-12deg); }
.brand-mark::after { content: ""; position: absolute; inset: 2px -4px -3px; border: 1px solid rgba(72, 242, 125, .25); clip-path: polygon(50% 0, 100% 75%, 78% 100%, 23% 100%, 0 75%); }
.brand-mark i { display: block; width: 6px; border-radius: 1px; background: linear-gradient(180deg, var(--green), #139842); box-shadow: 0 0 10px rgba(72, 242, 125, .48); }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 24px; }
.brand-name { font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .105em; }
.brand-name span { color: var(--green); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--green); transition: right .25s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.main-nav a:hover::after { right: 0; }
.route-strip { border-top: 1px solid rgba(132, 188, 153, .07); background: rgba(0, 0, 0, .18); }
.route-track { display: flex; justify-content: center; align-items: center; height: 32px; gap: 14px; }
.route-track > i { width: 54px; height: 1px; background: rgba(126, 161, 139, .15); }
.route-step { display: flex; align-items: center; gap: 7px; color: #53665b; font-family: "Space Grotesk", sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; transition: color .3s ease; }
.route-step span { display: grid; width: 16px; height: 16px; place-items: center; color: #53665b; border: 1px solid #32433a; border-radius: 50%; font-size: 7px; }
.route-step.active { color: #aee7be; }
.route-step.active span { color: #041108; border-color: var(--green); background: var(--green); box-shadow: 0 0 14px rgba(72, 242, 125, .35); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; padding: 0 22px; cursor: pointer; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: .035em; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #031107; border-color: #65ff92; background: linear-gradient(180deg, #66f98e 0%, #1bc954 55%, #119740 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 1px rgba(38, 210, 92, .1), 0 12px 34px rgba(22, 202, 83, .21); }
.button-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 28px rgba(49, 240, 111, .4), 0 18px 48px rgba(11, 132, 54, .25); }
.button-outline { min-height: 42px; color: #dce9e0; border-color: rgba(101, 197, 131, .30); background: rgba(10, 24, 16, .46); }
.button-outline:hover { border-color: var(--green); background: rgba(59, 218, 106, .08); }
.button-mini { min-height: 36px; padding-inline: 16px; gap: 13px; font-size: 10px; }
.button-large { min-height: 56px; padding-inline: 28px; }
.button-full { width: 100%; }
.kicker, .eyebrow { color: var(--green); font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.glass-panel { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(13, 29, 20, .83), rgba(3, 10, 7, .93)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.025); backdrop-filter: blur(18px); }

.view { position: relative; min-height: calc(100vh - 104px); }
.view-enter { animation: viewIn .52s cubic-bezier(.2,.8,.2,1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.landing-view { overflow-x: clip; padding-bottom: 110px; }
.hero-grid-bg, .checkout-grid-bg, .success-grid-bg { position: absolute; z-index: -1; inset: 0 0 auto; height: 770px; overflow: hidden; background-image: linear-gradient(rgba(81, 140, 102, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(81, 140, 102, .065) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 92%); }
.hero-grid-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 37%, rgba(35, 230, 99, .22), transparent 31%), radial-gradient(circle at 18% 30%, rgba(223, 184, 95, .09), transparent 28%), linear-gradient(90deg, #020605 0%, transparent 42%, transparent 73%, #020605 100%); }
.hero { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 34px; min-height: 710px; padding: 62px 0 54px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; left: -170px; top: 45px; border: 1px solid rgba(223,184,95,.08); border-radius: 50%; box-shadow: 0 0 0 45px rgba(223,184,95,.018), 0 0 0 90px rgba(223,184,95,.012); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(72, 242, 125, .09), 0 0 18px var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent, 0 0 25px var(--green); } }
.hero h1, .section-heading h2, .process-copy h2, .final-cta h2, .checkout-heading h1, .success-shell > h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: -.055em; }
.hero h1 { max-width: 720px; font-size: clamp(58px, 7.1vw, 96px); line-height: .87; text-wrap: balance; }
.hero h1 span { position: relative; display: inline-block; margin-top: 10px; color: var(--gold-bright); background: linear-gradient(100deg, #f8d773, #fff0ae 48%, #c79735); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 56px rgba(220, 181, 88, .15); }
.hero h1 span::after { content: ""; position: absolute; left: 4px; right: 12%; bottom: -13px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); box-shadow: 0 0 14px rgba(223,184,95,.45); }
.hero-lead { max-width: 535px; margin: 34px 0 0; color: #b4c2b8; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.hero-primary { position: relative; min-width: 278px; min-height: 68px; padding-inline: 32px; overflow: hidden; border-radius: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; }
.hero-primary::before { content: ""; position: absolute; width: 46px; height: 150%; left: -70px; top: -25%; transform: rotate(22deg); background: rgba(255,255,255,.42); filter: blur(10px); animation: ctaShine 3.4s ease-in-out infinite; }
.hero-primary span { margin-left: auto; font-size: 18px; transition: transform .2s ease; }
.hero-primary:hover span { transform: translateX(5px); }
@keyframes ctaShine { 0%, 18% { left: -80px; opacity: 0; } 30% { opacity: 1; } 55%, 100% { left: calc(100% + 70px); opacity: 0; } }
.text-link { color: #b7c8bd; font-size: 12px; font-weight: 700; border-bottom: 1px solid rgba(183, 200, 189, .2); padding-bottom: 4px; }
.hero-proof { display: flex; align-items: stretch; margin-top: 42px; }
.hero-proof > div { min-width: 112px; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.hero-proof > div:last-child { border: 0; margin: 0; padding: 0; }
.hero-proof strong { display: block; color: #f8fbf9; font-family: "Space Grotesk", sans-serif; font-size: 22px; }
.hero-proof span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof-note { margin: 14px 0 0; color: #52655a; font-size: 7px; letter-spacing: .03em; }

.hero-visual { position: relative; min-height: 560px; perspective: 1000px; }
.hero-visual::before { content: ""; position: absolute; width: 520px; height: 420px; inset: 50% auto auto 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(31,236,94,.17), rgba(14,117,51,.05) 42%, transparent 70%); filter: blur(20px); }
.intelligence-stage { position: absolute; z-index: 2; inset: 8px 0 45px 0; overflow: hidden; border: 1px solid rgba(79, 235, 123, .25); border-radius: 20px; background: linear-gradient(155deg, rgba(11,29,18,.86), rgba(1,7,4,.95) 68%), radial-gradient(circle at 80% 30%, rgba(52,240,109,.12), transparent 34%); box-shadow: 0 42px 110px rgba(0,0,0,.67), 0 0 0 1px rgba(65,235,115,.035), inset 0 1px rgba(255,255,255,.035); transform: rotateY(-2deg) rotateX(1deg); }
.intelligence-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(75,177,107,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(75,177,107,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.intelligence-stage::after { content: ""; position: absolute; width: 220px; height: 220px; right: -105px; top: -105px; border: 1px solid rgba(68,241,118,.19); border-radius: 50%; box-shadow: 0 0 0 25px rgba(68,241,118,.025), 0 0 0 50px rgba(68,241,118,.015); animation: orbitDrift 8s ease-in-out infinite; }
@keyframes orbitDrift { 50% { transform: scale(1.12) rotate(18deg); opacity: .65; } }
.stage-head { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; height: 45px; padding: 0 17px; border-bottom: 1px solid rgba(102,192,129,.12); background: rgba(2,9,5,.52); font-family: "Space Grotesk"; font-size: 7px; letter-spacing: .13em; }
.stage-head span { color: var(--green); }
.stage-head span i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.6s ease-in-out infinite; }
.stage-head b { color: #607569; font-weight: 600; }
.stage-ticker { position: relative; z-index: 5; overflow: hidden; height: 36px; border-bottom: 1px solid rgba(102,192,129,.09); background: rgba(4,16,9,.55); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 22px; height: 100%; white-space: nowrap; animation: tickerFlow 18s linear infinite; }
.ticker-track span { margin-left: 22px; color: #e6f0e9; font-family: "Space Grotesk"; font-size: 8px; font-weight: 700; }
.ticker-track b { color: #fff; font-family: monospace; font-size: 9px; }
.ticker-track em { color: var(--green); font-size: 8px; font-style: normal; }
.ticker-track i { color: #698075; font-size: 7px; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
@keyframes tickerFlow { to { transform: translateX(-50%); } }
.market-chart-wrap { position: absolute; z-index: 2; inset: 91px 20px 48px; overflow: hidden; border-radius: 10px; }
.market-chart-wrap canvas { width: 100%; height: 100%; }
.chart-labels { position: absolute; z-index: 2; top: 8px; right: 0; bottom: 8px; display: flex; flex-direction: column; justify-content: space-between; color: rgba(120, 174, 139, .35); font-family: monospace; font-size: 8px; }
.chart-scan { position: absolute; z-index: 3; left: 0; right: 0; top: -2px; height: 2px; background: linear-gradient(90deg, transparent, rgba(72,242,125,.85), transparent); box-shadow: 0 0 18px rgba(72,242,125,.8); animation: chartScan 4.8s ease-in-out infinite; }
@keyframes chartScan { 0%, 8% { top: 2%; opacity: 0; } 15% { opacity: .8; } 80% { opacity: .45; } 92%, 100% { top: 96%; opacity: 0; } }
.chart-cursor { position: absolute; z-index: 4; right: 12%; top: 29%; display: flex; align-items: center; gap: 7px; }
.chart-cursor span { width: 9px; height: 9px; border: 2px solid #d5ffe0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(72,242,125,.11), 0 0 20px var(--green); animation: cursorPulse 1.8s ease-out infinite; }
.chart-cursor b { padding: 5px 7px; color: var(--green); border: 1px solid rgba(72,242,125,.23); border-radius: 4px; background: rgba(2,12,6,.82); font-family: monospace; font-size: 7px; }
@keyframes cursorPulse { 50% { box-shadow: 0 0 0 13px transparent, 0 0 28px var(--green); } }
.data-node { position: absolute; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(91,203,124,.17); border-radius: 7px; background: rgba(3,12,7,.78); box-shadow: 0 10px 25px rgba(0,0,0,.28); backdrop-filter: blur(10px); animation: nodeFloat 4s ease-in-out infinite; }
.data-node > span { width: 7px; height: 7px; border: 1px solid var(--green); border-radius: 50%; box-shadow: inset 0 0 5px var(--green), 0 0 8px rgba(72,242,125,.5); }
.data-node p { margin: 0; }
.data-node b, .data-node small { display: block; }
.data-node b { color: #9aafa0; font-size: 6px; letter-spacing: .12em; }
.data-node small { margin-top: 3px; color: var(--green); font-size: 7px; }
.node-a { top: 127px; left: 18px; }
.node-b { top: 216px; right: 21px; animation-delay: -1.3s; }
.node-c { left: 36%; bottom: 58px; animation-delay: -2.5s; }
@keyframes nodeFloat { 50% { transform: translateY(-7px); border-color: rgba(72,242,125,.35); } }
.stage-foot { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); height: 36px; border-top: 1px solid rgba(102,192,129,.11); background: rgba(2,9,5,.78); }
.stage-foot span { display: grid; place-items: center; color: #63786b; border-right: 1px solid rgba(102,192,129,.09); font-size: 6px; letter-spacing: .09em; }
.stage-foot span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.signal-card { position: absolute; z-index: 8; width: 305px; right: -18px; bottom: 0; padding: 18px; border-color: rgba(73, 226, 116, .42); border-radius: 14px; background: linear-gradient(145deg, rgba(8,26,15,.95), rgba(2,9,5,.97)); box-shadow: 0 28px 70px rgba(0,0,0,.72), 0 0 60px rgba(22,190,71,.14); animation: cardHover 5s ease-in-out infinite; }
@keyframes cardHover { 50% { transform: translateY(-7px); box-shadow: 0 35px 80px rgba(0,0,0,.72), 0 0 70px rgba(22,190,71,.2); } }
.signal-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.instrument { font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; }
.badge { margin-left: 7px; padding: 3px 6px; border-radius: 4px; font-size: 7px; font-weight: 800; }
.badge-buy { color: var(--green); border: 1px solid rgba(72,242,125,.38); background: rgba(72,242,125,.1); }
.strength { color: #9acba7; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.strength i, .positive i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.quote-row, .signal-levels div, .signal-bottom { display: flex; justify-content: space-between; align-items: center; }
.quote-row { padding: 13px 0; font-size: 10px; }
.quote-row span, .signal-levels span, .signal-bottom span { color: var(--muted); }
.quote-row strong { font-family: "Space Grotesk"; font-size: 17px; }
.signal-levels { display: grid; gap: 8px; padding: 12px 0; border-block: 1px solid var(--line); }
.signal-levels div { font-size: 9px; }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
.signal-bottom { padding-top: 12px; font-size: 9px; }
.signal-bottom .mini-status { margin-left: auto; }
.mini-status { padding: 3px 5px; color: var(--green) !important; border-radius: 3px; background: var(--green-soft); font-size: 6px; }

.trust-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid rgba(72,242,125,.2); border-radius: 14px; background: rgba(7, 17, 12, .72); box-shadow: 0 18px 65px rgba(0,0,0,.3), 0 0 50px rgba(30,204,82,.045); }
.trust-rail::before { content: ""; position: absolute; left: -18%; top: 0; width: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 12px var(--green); animation: railSignal 5.5s ease-in-out infinite; }
@keyframes railSignal { 55%, 100% { left: 105%; } }
.trust-rail > div { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 0 22px; border-right: 1px solid var(--line); }
.trust-rail > div:last-child { border: 0; }
.rail-icon { display: grid; flex: 0 0 31px; height: 31px; place-items: center; color: var(--green); border: 1px solid rgba(72,242,125,.26); border-radius: 8px; background: rgba(72,242,125,.06); }
.trust-rail p { margin: 0; }
.trust-rail b, .trust-rail small { display: block; }
.trust-rail b { font-size: 10px; }
.trust-rail small { margin-top: 5px; color: var(--muted); font-size: 8px; }

.performance-section { position: relative; overflow: clip; padding-top: 130px; }
.performance-section::before { content: "88%"; position: absolute; z-index: -1; right: -30px; top: 48px; color: rgba(72,242,125,.022); font-family: "Space Grotesk"; font-size: 250px; font-weight: 700; letter-spacing: -.09em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 46px; }
.section-heading h2, .process-copy h2, .final-cta h2 { margin-top: 13px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; }
.section-heading > p { max-width: 450px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.performance-layout { display: grid; grid-template-columns: 1.42fr .58fr; gap: 18px; }
.performance-card { position: relative; overflow: hidden; padding: 25px; border-radius: var(--radius); }
.performance-card::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -120px; top: -130px; border: 1px solid rgba(72,242,125,.14); border-radius: 50%; box-shadow: 0 0 0 25px rgba(72,242,125,.018), 0 0 75px rgba(72,242,125,.08); animation: orbitDrift 9s ease-in-out infinite; }
.performance-head { display: flex; justify-content: space-between; align-items: center; }
.performance-head span, .performance-head small { display: block; }
.performance-head span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.performance-head small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.period-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.25); }
.period-switch button { border: 0; padding: 5px 8px; cursor: pointer; color: #597064; background: transparent; border-radius: 4px; font-size: 7px; }
.period-switch button.active { color: var(--green); background: var(--green-soft); }
.performance-metric { display: flex; align-items: baseline; gap: 15px; margin-top: 25px; }
.performance-metric strong { font-family: "Space Grotesk"; font-size: 42px; letter-spacing: -.05em; }
.performance-metric span { color: #9ac5a6; font-size: 9px; }
.performance-metric i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.performance-chart { position: relative; height: 235px; margin-top: 10px; overflow: hidden; }
.performance-chart::after { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 1px; background: linear-gradient(transparent, rgba(72,242,125,.9), transparent); box-shadow: 0 0 14px rgba(72,242,125,.6); animation: performanceSweep 6s linear infinite; }
@keyframes performanceSweep { to { left: 100%; } }
.performance-chart canvas { width: 100%; height: 100%; }
.chart-legend { display: flex; align-items: center; gap: 17px; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 8px; }
.chart-legend i { display: inline-block; width: 17px; height: 2px; margin-right: 5px; vertical-align: middle; }
.line-green { background: var(--green); }
.line-dim { background: #318a97; }
.chart-legend b { margin-left: auto; color: #5b6d62; font-weight: 500; }
.feature-stack { display: grid; gap: 12px; }
.feature-card { position: relative; overflow: hidden; padding: 22px; border-radius: 15px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(72,242,125,.33); box-shadow: 0 24px 55px rgba(0,0,0,.36), 0 0 30px rgba(42,220,96,.06); }
.feature-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -44px; bottom: -50px; border: 1px solid rgba(72,242,125,.13); border-radius: 50%; }
.feature-number { color: #486052; font-family: "Space Grotesk"; font-size: 8px; }
.feature-symbol { position: absolute; top: 18px; right: 20px; color: var(--green); font-size: 20px; }
.feature-card h3 { margin: 25px 0 8px; font-size: 13px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.process-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-top: 135px; }
.process-copy > p { margin: 22px 0 30px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { display: grid; width: 38px; height: 38px; place-items: center; color: var(--green); border: 1px solid rgba(72,242,125,.3); border-radius: 50%; font-family: "Space Grotesk"; font-size: 9px; }
.process-list b { font-size: 13px; }
.process-list p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.final-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; margin-top: 130px; padding: 48px 55px; border-color: rgba(72,242,125,.27); border-radius: 20px; }
.final-cta h2 { font-size: 42px; }
.final-cta p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.final-cta > * { position: relative; z-index: 2; }
.cta-ring { position: absolute; z-index: 1; width: 360px; height: 360px; right: 160px; border: 1px solid rgba(72,242,125,.15); border-radius: 50%; box-shadow: 0 0 90px rgba(44,210,93,.06), inset 0 0 50px rgba(44,210,93,.03); }

.checkout-view { padding: 75px 0 100px; }
.checkout-grid-bg { height: 100%; background-size: 58px 58px; mask-image: radial-gradient(circle at 50% 25%, #000, transparent 70%); }
.checkout-heading { max-width: 650px; margin: 0 auto 34px; text-align: center; }
.checkout-heading h1 { margin-top: 12px; font-size: clamp(44px, 6vw, 70px); }
.checkout-heading h1 span { color: var(--green); text-shadow: 0 0 35px rgba(72,242,125,.3); }
.checkout-heading p { max-width: 570px; margin: 15px auto 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.payment-shell { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-color: rgba(74, 218, 114, .25); border-radius: 22px; }
.payment-main { padding: 32px 36px; border-right: 1px solid var(--line); }
.payment-side { padding: 32px; background: rgba(2, 8, 5, .34); }
.amount-block { text-align: center; }
.amount-block > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.amount-block > strong { display: block; margin-top: 6px; color: var(--green); font-family: "Space Grotesk"; font-size: 42px; letter-spacing: -.04em; text-shadow: 0 0 25px rgba(72,242,125,.2); }
.amount-block > strong small { font-size: 16px; }
.payment-tags { display: flex; justify-content: center; gap: 8px; margin-top: 13px; }
.payment-tags span { padding: 7px 10px; color: #b7c6bc; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.02); font-size: 8px; }
.payment-tags span:first-child { color: #80edaa; }
.payment-tags span:last-child { color: #e9b9b9; }
.qr-zone { position: relative; margin: 24px 0 20px; text-align: center; }
.qr-halo { position: absolute; inset: 20px 20%; background: rgba(61, 244, 119, .18); filter: blur(45px); }
.qr-frame { position: relative; z-index: 2; width: 220px; height: 220px; margin: 0 auto; padding: 10px; border: 1px solid rgba(80,255,130,.7); border-radius: 14px; background: #effff3; box-shadow: 0 0 0 5px rgba(65,233,116,.055), 0 0 36px rgba(54,237,112,.24); }
.qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 27px; height: 27px; border-color: var(--green); }
.qr-frame::before { top: -5px; left: -5px; border-top: 2px solid; border-left: 2px solid; border-radius: 8px 0 0; }
.qr-frame::after { right: -5px; bottom: -5px; border-right: 2px solid; border-bottom: 2px solid; border-radius: 0 0 8px; }
.qr-frame canvas, .qr-frame > img { width: 100%; height: 100%; border-radius: 5px; object-fit: contain; }
.qr-frame canvas { image-rendering: pixelated; }
.qr-center { position: absolute; display: grid; width: 42px; height: 42px; inset: 50% auto auto 50%; place-items: center; transform: translate(-50%, -50%); color: #031007; border: 4px solid #effff3; border-radius: 50%; background: #23c965; font-size: 23px; font-weight: 800; }
.qr-zone p { margin: 14px 0 3px; font-size: 10px; font-weight: 700; }
.qr-zone small { color: #586b5f; font-size: 7px; }
.wallet-block label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #a7b9ad; font-size: 9px; }
.wallet-block label span { color: var(--green); }
.address-control { display: flex; height: 45px; }
.address-control input { min-width: 0; flex: 1; padding: 0 14px; color: #c9d7ce; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; outline: none; background: rgba(0,0,0,.34); font-family: monospace; font-size: 10px; }
.address-control input:focus { border-color: rgba(72,242,125,.5); }
.address-control button { min-width: 84px; cursor: pointer; color: var(--green); border: 1px solid rgba(72,242,125,.3); border-radius: 0 8px 8px 0; background: rgba(72,242,125,.08); font-size: 9px; font-weight: 800; }
.network-warning { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; color: #ff9b9e; border: 1px solid rgba(255,84,93,.36); border-radius: 8px; background: rgba(255,70,80,.055); }
.network-warning > span { display: grid; flex: 0 0 26px; height: 26px; place-items: center; color: #190203; border-radius: 50%; background: var(--red); font-weight: 900; }
.network-warning p { margin: 0; }
.network-warning b, .network-warning small { display: block; }
.network-warning b { font-size: 9px; }
.network-warning small { margin-top: 4px; color: #ae7779; font-size: 7px; }
.expiry-card { padding-bottom: 24px; text-align: center; border-bottom: 1px solid var(--line); }
.expiry-card span, .expiry-card small { display: block; color: var(--muted); font-size: 8px; }
.expiry-card strong { display: block; margin: 6px 0 3px; color: var(--green); font-family: "Space Grotesk"; font-size: 30px; letter-spacing: .04em; }
.timeline-panel { padding: 25px 0 12px; }
.timeline-heading { display: flex; justify-content: space-between; align-items: center; }
.timeline-heading span { font-size: 10px; font-weight: 800; }
.timeline-heading b { padding: 4px 7px; color: var(--gold); border: 1px solid rgba(223,184,95,.3); border-radius: 4px; background: rgba(223,184,95,.07); font-size: 6px; letter-spacing: .1em; }
.timeline-heading b.detected { color: var(--green); border-color: rgba(72,242,125,.3); background: rgba(72,242,125,.07); }
.payment-timeline, .verified-timeline ol { position: relative; display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.payment-timeline::before, .verified-timeline ol::before { content: ""; position: absolute; z-index: 0; top: 15px; bottom: 15px; left: 14px; width: 1px; background: rgba(94,137,109,.25); }
.payment-timeline li, .verified-timeline li { position: relative; z-index: 1; display: grid; grid-template-columns: 29px 1fr; align-items: start; gap: 13px; padding-bottom: 20px; }
.payment-timeline li > span, .verified-timeline li > span { display: grid; width: 29px; height: 29px; place-items: center; color: #688074; border: 1px solid #405448; border-radius: 50%; background: #07100c; font-size: 9px; }
.payment-timeline li.active > span, .payment-timeline li.done > span, .verified-timeline li.done > span { color: #031008; border-color: var(--green); background: linear-gradient(145deg, #77f899, #20b950); box-shadow: 0 0 17px rgba(72,242,125,.35); }
.payment-timeline li.active b, .payment-timeline li.done b { color: var(--green); }
.payment-timeline b, .payment-timeline small, .verified-timeline b, .verified-timeline small { display: block; }
.payment-timeline b { font-size: 10px; }
.payment-timeline small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.payment-status { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; padding: 11px; color: var(--green); border: 1px solid rgba(72,242,125,.22); border-radius: 8px; background: rgba(72,242,125,.06); }
.payment-status p { margin: 0; }
.payment-status b, .payment-status small { display: block; font-size: 8px; }
.payment-status small { margin-top: 3px; color: var(--muted); }
.status-spinner { width: 19px; height: 19px; border: 2px solid rgba(72,242,125,.18); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.payment-side .button:disabled { cursor: default; opacity: .78; transform: none; }
.payment-note { display: flex; justify-content: center; align-items: center; gap: 12px; max-width: 730px; margin: 22px auto 0; color: var(--muted); }
.payment-note > span { color: var(--green); font-size: 18px; }
.payment-note p { margin: 0; font-size: 8px; line-height: 1.6; }
.payment-note b { color: #afc2b5; }

/* Payment method selection and assisted checkout */
.payment-choice-view .compact-shell, .staff-payment-view .compact-shell { max-width: 1080px; }
.payment-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.payment-method-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 19px; min-height: 245px; padding: 30px; color: inherit; border-radius: 18px; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.payment-method-card:hover { transform: translateY(-4px); border-color: rgba(72,242,125,.48); box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 34px rgba(72,242,125,.08); }
.payment-method-card.staff:hover { border-color: rgba(229,190,102,.5); box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 34px rgba(229,190,102,.08); }
.method-icon { display: grid; flex: 0 0 auto; width: 56px; height: 56px; place-items: center; color: #021108; border: 1px solid rgba(255,255,255,.28); border-radius: 15px; background: linear-gradient(145deg,#79f99d,#22b850); box-shadow: 0 0 30px rgba(72,242,125,.18); font-family: "Space Grotesk"; font-size: 24px; font-weight: 800; }
.payment-method-card.staff .method-icon, .staff-guide .method-icon { color: #1c1201; background: linear-gradient(145deg,#f3d184,#bd8128); box-shadow: 0 0 30px rgba(229,190,102,.17); }
.payment-method-card small { color: var(--green); font-family: "Space Grotesk"; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.payment-method-card.staff small { color: var(--gold); }
.payment-method-card h2 { margin: 11px 0 10px; font-family: "Space Grotesk"; font-size: 24px; }
.payment-method-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.payment-method-card > b { grid-column: 2; align-self: end; color: #dcebe0; font-size: 10px; }
.payment-choice-note { display: flex; align-items: center; gap: 13px; margin-top: 18px; padding: 14px 17px; border: 1px solid rgba(72,242,125,.18); border-radius: 11px; background: rgba(72,242,125,.045); }
.payment-choice-note > span { display: grid; width: 27px; height: 27px; place-items: center; color: #06130a; border-radius: 50%; background: var(--green); font-weight: 900; }
.payment-choice-note p, .payment-choice-note b, .payment-choice-note small { display: block; margin: 0; }
.payment-choice-note b { color: #cde0d3; font-size: 9px; }
.payment-choice-note small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.staff-payment-layout { display: grid; grid-template-columns: .62fr 1.38fr; align-items: start; gap: 18px; margin-top: 26px; }
.staff-guide { position: sticky; top: 100px; padding: 27px; border-radius: 18px; }
.staff-guide h2 { margin: 19px 0 8px; font-family: "Space Grotesk"; font-size: 20px; }
.staff-guide ol { display: grid; gap: 14px; margin: 24px 0; padding: 0; list-style: none; }
.staff-guide li { display: flex; align-items: center; gap: 10px; color: #b6c6bb; font-size: 9px; }
.staff-guide li span { display: grid; width: 24px; height: 24px; place-items: center; color: var(--gold); border: 1px solid rgba(229,190,102,.3); border-radius: 50%; }
.staff-safe-note { padding: 14px; border: 1px solid rgba(229,190,102,.2); border-radius: 10px; background: rgba(229,190,102,.05); }
.staff-safe-note b, .staff-safe-note small { display: block; }
.staff-safe-note b { color: var(--gold); font-size: 9px; }
.staff-safe-note small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.6; }
.staff-form { margin-top: 0; }
.identity-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.identity-actions button { min-height: 27px; padding: 0 8px; cursor: pointer; color: #9fb2a5; border: 1px solid rgba(120,154,132,.26); border-radius: 6px; background: rgba(255,255,255,.025); font-size: 7px; }
.identity-actions button:hover { color: var(--green); border-color: rgba(72,242,125,.4); }
.membership-actions { display: grid; gap: 7px; min-width: 265px; }
.membership-actions-row { display: flex; flex-wrap: wrap; gap: 5px; }
.membership-actions .quick-day { min-height: 28px; padding: 0 9px; cursor: pointer; color: #b9c9be; border: 1px solid rgba(120,154,132,.25); border-radius: 6px; background: rgba(255,255,255,.025); font-size: 7px; }
.membership-actions .quick-day:hover { color: var(--green); border-color: rgba(72,242,125,.4); }
.sheet-sync-badge { color: #8fa398; font-size: 8px; }

@media (max-width: 820px) {
  .payment-method-grid, .staff-payment-layout { grid-template-columns: 1fr; }
  .staff-guide { position: static; }
  .payment-method-card { min-height: 210px; }
}
.back-link { display: flex; width: max-content; align-items: center; gap: 8px; margin: 28px auto 0; color: #72867a; font-size: 9px; transition: color .2s ease; }
.back-link:hover { color: var(--green); }

.confirmed-view { overflow: hidden; padding: 68px 0 80px; background: radial-gradient(circle at 50% 5%, rgba(25,201,84,.16), transparent 38%); }
.success-grid-bg { height: 620px; background-size: 50px 50px; transform: perspective(450px) rotateX(67deg) scale(1.5); transform-origin: center 22%; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.success-beam { position: absolute; z-index: -1; width: 800px; height: 520px; top: -250px; left: 50%; transform: translateX(-50%); background: conic-gradient(from 220deg at 50% 100%, transparent 0deg, rgba(59,247,117,.16) 25deg, transparent 50deg); filter: blur(4px); }
.success-shell { width: min(940px, calc(100% - 48px)); text-align: center; }
.success-orb { position: relative; display: grid; width: 110px; height: 110px; margin: 0 auto 25px; place-items: center; color: #041008; border: 2px solid #c5ffd4; border-radius: 50%; background: radial-gradient(circle, #ecfff2 0 24%, #4bf17c 25% 56%, #14843c 77%, #061e0e 100%); box-shadow: 0 0 16px #52f17f, 0 0 50px rgba(45,239,104,.75), 0 0 120px rgba(38,221,93,.28); }
.success-orb > span { position: relative; z-index: 2; font-size: 44px; font-weight: 900; }
.success-rings, .success-rings::before, .success-rings::after { position: absolute; inset: -16px; border: 1px solid rgba(92,250,135,.24); border-radius: 50%; }
.success-rings::before, .success-rings::after { content: ""; }
.success-rings::before { inset: -14px; border-style: dashed; animation: spin 14s linear infinite; }
.success-rings::after { inset: -30px; opacity: .5; }
.success-shell > h1 { margin-top: 12px; font-size: clamp(44px, 6vw, 70px); }
.success-shell > h1 span { color: var(--green); text-shadow: 0 0 30px rgba(72,242,125,.25); }
.success-lead { max-width: 590px; margin: 15px auto 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.receipt-panel { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; overflow: hidden; border-color: rgba(72,242,125,.31); border-radius: 13px; }
.receipt-panel > div { padding: 18px 14px; border-right: 1px solid var(--line); text-align: left; }
.receipt-panel > div:last-child { border: 0; }
.receipt-panel span, .receipt-panel strong { display: block; }
.receipt-panel span { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.receipt-panel strong { margin-top: 7px; font-family: "Space Grotesk"; font-size: 10px; }
.receipt-panel .mono { font-family: monospace; color: #b7c7bc; }
.success-content { display: grid; grid-template-columns: .92fr 1.08fr; gap: 16px; margin-top: 16px; text-align: left; }
.verified-timeline, .access-panel { padding: 24px; border-radius: 15px; }
.panel-title { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 800; }
.panel-title b { color: var(--green); font-size: 8px; }
.verified-timeline li { padding-bottom: 17px; }
.verified-timeline li:last-child { padding: 0; }
.verified-timeline li > span { width: 27px; height: 27px; }
.verified-timeline b { font-size: 9px; }
.verified-timeline small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.verified-timeline li.current > span { color: var(--green); border-color: var(--green); box-shadow: 0 0 18px rgba(72,242,125,.25); }
.verified-timeline li.current b { color: var(--green); }
.access-panel { position: relative; overflow: hidden; border-color: rgba(73,227,116,.31); background: radial-gradient(circle at 10% 10%, rgba(26,212,82,.12), transparent 34%), linear-gradient(145deg, rgba(12,31,18,.88), rgba(3,10,7,.95)); }
.access-panel::after { content: ""; position: absolute; width: 240px; height: 240px; right: -120px; top: -120px; border: 1px solid rgba(72,242,125,.13); border-radius: 50%; box-shadow: 0 0 0 24px rgba(72,242,125,.025), 0 0 0 49px rgba(72,242,125,.015); }
.telegram-orb { display: grid; width: 48px; height: 48px; place-items: center; color: #03200e; border-radius: 50%; background: linear-gradient(145deg, #72ffa0, #15b74d); box-shadow: 0 0 25px rgba(72,242,125,.25); font-size: 22px; transform: rotate(-18deg); }
.access-label { display: block; margin-top: 18px; color: var(--green); font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.access-label i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.access-panel h2 { max-width: 360px; margin: 10px 0; font-family: "Space Grotesk"; font-size: 24px; line-height: 1.12; letter-spacing: -.03em; }
.access-panel > p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.locked-access { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.25); }
.locked-access > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; color: #71857a; border: 1px solid #34463c; border-radius: 7px; }
.locked-access p { margin: 0; }
.locked-access b, .locked-access small { display: block; }
.locked-access b { font-size: 8px; }
.locked-access small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.approval-check-message { display: block; min-height: 18px; margin-top: 10px; color: #6f8377; font-size: 7px; line-height: 1.5; text-align: center; }
.success-footer-note { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 22px 0 0; color: var(--muted); }
.success-footer-note > span { color: var(--green); font-size: 19px; }
.success-footer-note p { margin: 0; text-align: left; }
.success-footer-note b, .success-footer-note small { display: block; }
.success-footer-note b { color: #a9b9af; font-size: 8px; }
.success-footer-note small { margin-top: 4px; font-size: 7px; }
.live-data-note { margin: 16px 0 0; color: #43564a; font-size: 7px; }

.site-footer { border-top: 1px solid var(--line); background: #010403; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 90px; color: #53675a; font-size: 8px; }
.footer-brand { opacity: .72; }
.footer-inner p { max-width: 480px; margin: 0; text-align: center; line-height: 1.6; }

/* Admin console */
body.is-admin { background: #030806; }
body.is-admin .site-header, body.is-admin .site-footer, body.is-admin .ambient { display: none; }
.admin-view { min-height: 100vh; background: radial-gradient(circle at 78% -10%, rgba(48,226,105,.08), transparent 34%), #030806; }
.admin-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; z-index: 20; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 24px 18px; border-right: 1px solid var(--line); background: rgba(3,10,6,.96); }
.admin-brand { padding: 0 8px 24px; border-bottom: 1px solid var(--line); }
.admin-brand > span:last-child { display: grid; }
.admin-brand b { font-family: "Space Grotesk"; font-size: 10px; letter-spacing: .08em; }
.admin-brand b span { color: var(--green); }
.admin-brand small { margin-top: 3px; color: #53675a; font-size: 6px; letter-spacing: .16em; }
.admin-nav { display: grid; gap: 6px; margin-top: 25px; }
.admin-nav button { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 12px; cursor: pointer; color: #708279; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 9px; font-weight: 700; text-align: left; }
.admin-nav button span { display: grid; width: 21px; height: 21px; place-items: center; color: #63766b; border: 1px solid #263b2e; border-radius: 5px; }
.admin-nav button:hover, .admin-nav button.active { color: #dce9e0; border-color: rgba(72,242,125,.2); background: rgba(72,242,125,.06); }
.admin-nav button.active span { color: var(--green); border-color: rgba(72,242,125,.34); box-shadow: 0 0 14px rgba(72,242,125,.08); }
.admin-sidebar-foot { margin-top: auto; padding: 15px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.admin-mode { color: var(--gold); font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.admin-mode i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.admin-sidebar-foot p { margin: 9px 0 13px; color: #607168; font-size: 7px; line-height: 1.55; }
.admin-sidebar-foot a { display: flex; justify-content: space-between; color: #9ab0a1; font-size: 7px; }
.admin-sidebar-foot a:hover { color: var(--green); }
.admin-main { min-width: 0; padding: 0 34px 70px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; min-height: 92px; border-bottom: 1px solid var(--line); }
.admin-kicker { color: var(--green); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.admin-topbar h1 { margin: 6px 0 0; font-family: "Space Grotesk"; font-size: 25px; letter-spacing: -.03em; }
.admin-top-actions { display: flex; align-items: center; gap: 12px; }
.admin-top-actions > span:first-child { color: #687a70; font-family: monospace; font-size: 9px; }
.admin-icon-button { display: grid; width: 34px; height: 34px; place-items: center; cursor: pointer; color: #92a49a; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.02); }
.admin-icon-button:hover { color: var(--green); border-color: rgba(72,242,125,.3); }
.admin-avatar { display: grid; width: 34px; height: 34px; place-items: center; color: #05200d; border-radius: 9px; background: linear-gradient(145deg,#76f59a,#21b850); font-size: 8px; font-weight: 900; }
.admin-local-notice { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; color: #dcbf7a; border: 1px solid rgba(223,184,95,.24); border-radius: 10px; background: rgba(223,184,95,.055); }
.admin-local-notice > span { display: grid; flex: 0 0 26px; height: 26px; place-items: center; color: #1b1101; border-radius: 50%; background: var(--gold); font-weight: 900; }
.admin-local-notice p { margin: 0; }
.admin-local-notice b, .admin-local-notice small { display: block; }
.admin-local-notice b { font-size: 8px; }
.admin-local-notice small { margin-top: 3px; color: #927c52; font-size: 7px; }
.admin-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 20px; }
.admin-summary article { position: relative; overflow: hidden; min-height: 118px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg,rgba(11,25,17,.82),rgba(3,10,6,.92)); }
.admin-summary article::after { content: ""; position: absolute; width: 72px; height: 72px; right: -35px; bottom: -35px; border: 1px solid rgba(72,242,125,.12); border-radius: 50%; box-shadow: 0 0 0 14px rgba(72,242,125,.015); }
.admin-summary span, .admin-summary small { display: block; color: #74877c; font-size: 7px; }
.admin-summary strong { display: block; margin: 13px 0 7px; color: #f2f7f4; font-family: "Space Grotesk"; font-size: 27px; letter-spacing: -.04em; }
.admin-summary article:nth-child(2) strong { color: var(--gold); }
.admin-summary article:nth-child(3) strong { color: var(--green); }
.admin-summary article:nth-child(4) strong { color: #ff858a; }
.admin-card { margin-top: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg,rgba(10,23,15,.78),rgba(3,10,6,.92)); box-shadow: 0 24px 65px rgba(0,0,0,.23); }
.admin-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.admin-card-head > div:first-child { position: relative; padding-left: 34px; }
.admin-section-no { position: absolute; left: 0; top: 1px; color: var(--green); font-family: monospace; font-size: 8px; }
.admin-card-head h2 { margin: 0; font-family: "Space Grotesk"; font-size: 16px; }
.admin-card-head p { margin: 5px 0 0; color: #6d8074; font-size: 8px; }
.save-state { padding: 5px 8px; color: #74877c; border: 1px solid var(--line); border-radius: 5px; font-size: 6px; text-transform: uppercase; letter-spacing: .09em; }
.save-state.saved { color: var(--green); border-color: rgba(72,242,125,.3); background: rgba(72,242,125,.06); }
.save-state.error { color: #ff858a; border-color: rgba(255,100,107,.3); }
.settings-grid { display: grid; grid-template-columns: 1fr 255px; gap: 28px; padding-top: 22px; }
.settings-fields { display: grid; align-content: start; gap: 18px; }
.admin-field { display: grid; gap: 7px; }
.admin-field > span, .field-title { color: #a7b7ae; font-size: 8px; font-weight: 800; }
.admin-field input, .transaction-toolbar input, .transaction-toolbar select, .transaction-date-range input { width: 100%; min-height: 43px; padding: 0 13px; color: #dce8e0; border: 1px solid var(--line); border-radius: 8px; outline: none; background: rgba(0,0,0,.3); font-size: 9px; }
.admin-field input:focus, .transaction-toolbar input:focus, .transaction-toolbar select:focus, .transaction-date-range input:focus { border-color: rgba(72,242,125,.5); box-shadow: 0 0 0 3px rgba(72,242,125,.055); }
.admin-field small { color: #596b60; font-size: 7px; }
.input-with-unit { display: flex; }
.input-with-unit input { border-radius: 8px 0 0 8px; }
.input-with-unit b { display: grid; min-width: 105px; place-items: center; color: var(--green); border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; background: rgba(72,242,125,.045); font-size: 7px; }
.settings-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.settings-meta div { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.015); }
.settings-meta span, .settings-meta strong { display: block; }
.settings-meta span { color: #62746a; font-size: 6px; text-transform: uppercase; letter-spacing: .1em; }
.settings-meta strong { margin-top: 6px; font-size: 8px; }
.qr-upload-panel { display: flex; flex-direction: column; align-items: center; padding: 17px; border: 1px dashed rgba(91,150,109,.28); border-radius: 12px; background: rgba(0,0,0,.17); }
.qr-upload-panel .field-title { align-self: flex-start; }
.admin-qr-preview { display: grid; width: 145px; height: 145px; margin: 14px 0; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #effff3; }
.admin-qr-preview img { width: 100%; height: 100%; object-fit: contain; }
#adminQrPlaceholder { display: grid; place-items: center; color: #213c29; text-align: center; }
#adminQrPlaceholder span { font-size: 38px; }
#adminQrPlaceholder b { font-size: 8px; }
#adminQrPlaceholder small { margin-top: 4px; color: #5b7662; font-size: 6px; }
.upload-button { display: grid; width: 100%; min-height: 38px; place-items: center; cursor: pointer; color: #05150a; border-radius: 8px; background: linear-gradient(180deg,#66f98e,#1bc954); font-size: 8px; font-weight: 900; }
.text-button { margin-top: 9px; padding: 0; cursor: pointer; color: #7f9487; border: 0; border-bottom: 1px dashed #405249; background: transparent; font-size: 7px; }
.upload-help { margin-top: 9px; color: #4f6156; font-size: 6px; }
.settings-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.overview-amount-form { display: grid; grid-template-columns: minmax(260px, 520px) auto; align-items: end; justify-content: space-between; gap: 18px; padding-top: 20px; }
.overview-amount-form .button { min-height: 43px; white-space: nowrap; }
.transaction-view-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.transaction-view-tabs button { display: inline-flex; min-height: 36px; align-items: center; gap: 8px; padding: 0 13px; cursor: pointer; color: #718379; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.22); font-size: 7px; font-weight: 800; }
.transaction-view-tabs button:hover, .transaction-view-tabs button.active { color: var(--green); border-color: rgba(72,242,125,.42); background: rgba(72,242,125,.07); }
.transaction-view-tabs button span { display: grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border-radius: 999px; color: #a9bbb0; background: rgba(255,255,255,.055); font-size: 6px; }
.transaction-view-tabs button.active span { color: #06170b; background: var(--green); }
.transaction-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) 170px 150px auto; align-items: end; gap: 10px; padding: 16px 0; }
.tx-search { position: relative; }
.tx-search > span { position: absolute; z-index: 2; left: 13px; top: 12px; color: #64776b; }
.tx-search input { padding-left: 34px; }
.transaction-toolbar > label:not(.tx-search) { display: grid; gap: 5px; color: #718379; font-size: 6px; }
.transaction-toolbar select { appearance: none; cursor: pointer; }
.last-sync { align-self: center; color: #53665a; font-size: 6px; text-align: right; }
.last-sync b { color: #85978c; }
.transaction-date-range { display: flex; justify-content: flex-end; gap: 10px; padding: 0 0 16px; }
.transaction-date-range[hidden] { display: none; }
.transaction-date-range label { display: grid; width: 170px; gap: 5px; color: #718379; font-size: 6px; }
.transaction-table-wrap { overflow-x: auto; }
.transaction-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.transaction-table th { padding: 10px 12px; color: #53675b; border-block: 1px solid var(--line); background: rgba(0,0,0,.2); font-size: 6px; text-align: left; text-transform: uppercase; letter-spacing: .1em; }
.transaction-table td { padding: 13px 12px; color: #a6b6ac; border-bottom: 1px solid rgba(115,162,131,.09); font-size: 8px; }
.transaction-table tr:hover td { background: rgba(72,242,125,.025); }
.tx-order { color: #edf5ef; font-weight: 800; }
.tx-sub { display: block; margin-top: 4px; color: #506258; font-family: monospace; font-size: 6px; }
.tx-customer { color: #c8ddd1; font-size: 8px; font-weight: 600; }

.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 6px; font-weight: 800; letter-spacing: .06em; }
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 7px currentColor; }
.status-customer-reported { color: var(--gold); background: rgba(223,184,95,.055); }
.status-detected { color: #66c9ff; background: rgba(71,176,231,.055); }
.status-confirming { color: #a69cff; background: rgba(139,124,245,.06); }
.status-confirmed, .status-access-sent { color: var(--green); background: rgba(72,242,125,.055); }
.status-mismatch, .status-failed { color: #ff777d; background: rgba(255,100,107,.055); }
.status-pending-review, .status-pending-payment-review { color: var(--gold); background: rgba(223,184,95,.055); }
.status-approved { color: var(--green); background: rgba(72,242,125,.055); }
.status-rejected, .status-cancelled { color: #ff777d; background: rgba(255,100,107,.055); }

.confirm-bar { display: flex; align-items: center; gap: 7px; }
.confirm-bar i { display: block; width: 52px; height: 3px; overflow: hidden; border-radius: 4px; background: #18261d; }
.confirm-bar i::after { content: ""; display: block; width: var(--progress,0%); height: 100%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.view-tx { cursor: pointer; color: var(--green); border: 1px solid rgba(72,242,125,.23); border-radius: 6px; background: rgba(72,242,125,.045); padding: 6px 9px; font-size: 6px; }
.empty-transactions { display: grid; min-height: 130px; place-items: center; align-content: center; gap: 7px; color: #52645a; }
.empty-transactions span { color: var(--green); font-size: 20px; }
.empty-transactions b { font-size: 8px; }
.transaction-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 17px; color: #65786c; font-size: 7px; }
.transaction-pagination[hidden] { display: none; }
.transaction-pagination > div { display: flex; align-items: center; gap: 9px; }
.transaction-pagination b { min-width: 75px; color: #9aada1; font-size: 7px; text-align: center; }
.transaction-pagination button { min-height: 34px; padding: 0 11px; cursor: pointer; color: #a9bbb0; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.25); font-size: 7px; }
.transaction-pagination button:hover:not(:disabled) { color: var(--green); border-color: rgba(72,242,125,.4); }
.transaction-pagination button:disabled { cursor: not-allowed; opacity: .35; }
.transaction-detail-backdrop { position: fixed; z-index: 59; inset: 0; cursor: pointer; border: 0; background: rgba(0,0,0,.64); backdrop-filter: blur(3px); animation: detailBackdropIn .2s ease both; }
.transaction-detail-backdrop[hidden] { display: none; }
body.transaction-detail-open { overflow: hidden; }
.transaction-detail { position: fixed; z-index: 60; top: 0; right: 0; width: min(390px,100%); height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: 25px; border-left: 1px solid rgba(72,242,125,.24); background: rgba(3,11,7,.98); box-shadow: -35px 0 90px rgba(0,0,0,.58); backdrop-filter: blur(24px); animation: detailIn .28s ease both; }
.transaction-detail[hidden] { display: none; }
@keyframes detailBackdropIn { from { opacity: 0; } }
@keyframes detailIn { from { opacity: 0; transform: translateX(24px); } }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.detail-head span { color: var(--green); font-size: 6px; text-transform: uppercase; letter-spacing: .13em; }
.detail-head h2 { margin: 6px 0 0; font-family: "Space Grotesk"; font-size: 20px; }
.detail-head button { display: grid; width: 30px; height: 30px; place-items: center; cursor: pointer; color: #93a59a; border: 1px solid var(--line); border-radius: 7px; background: transparent; font-size: 17px; }
.detail-status { margin: 17px 0; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(116,165,132,.09); }
.detail-list dt { color: #62746a; font-size: 7px; }
.detail-list dd { min-width: 0; margin: 0; color: #c4d2c9; font-size: 8px; text-align: right; overflow-wrap: anywhere; }
.detail-list dd.mono { font-family: monospace; color: #88a392; font-size: 7px; }
.verification-checks { margin: 20px 0; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.2); }
.verification-checks h3 { margin: 0 0 12px; font-size: 9px; }
.check-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; color: #72857a; font-size: 7px; }
.check-row b { color: #ff777d; font-size: 6px; }
.check-row b.pass { color: var(--green); }
.detail-redeem-code { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 10px; margin: -6px 0 18px; padding: 15px; border: 1px solid rgba(72,242,125,.3); border-radius: 10px; background: rgba(72,242,125,.065); }
.detail-redeem-code[hidden] { display: none; }
.detail-redeem-code > span { grid-column: 1 / -1; color: #71887a; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.detail-redeem-code strong { align-self: center; color: var(--green); font-size: 15px; overflow-wrap: anywhere; }
.detail-redeem-code button { min-height: 36px; padding: 0 12px; cursor: pointer; color: var(--green); border: 1px solid rgba(72,242,125,.28); border-radius: 7px; background: rgba(0,0,0,.24); font-size: 9px; font-weight: 800; }
.detail-redeem-code small { grid-column: 1 / -1; color: #718277; font-size: 8px; line-height: 1.45; }

/* Readable admin type scale */
.admin-layout { grid-template-columns: 260px minmax(0,1fr); font-size: 14px; }
.admin-brand b { font-size: 14px; }
.admin-brand small { font-size: 10px; }
.admin-nav button { min-height: 46px; font-size: 13px; }
.admin-nav button span { width: 25px; height: 25px; }
.admin-mode { font-size: 10px; }
.admin-sidebar-foot p, .admin-sidebar-foot a { font-size: 11px; }


.admin-main { padding-inline: 40px; }
.admin-kicker { font-size: 10px; }
.admin-topbar h1 { font-size: 32px; }
.admin-top-actions > span:first-child { font-size: 12px; }
.admin-icon-button, .admin-avatar { width: 39px; height: 39px; }
.admin-avatar { font-size: 11px; }
.admin-local-notice b { font-size: 12px; }
.admin-local-notice small { margin-top: 5px; font-size: 11px; line-height: 1.5; }
.admin-summary span, .admin-summary small { font-size: 11px; }
.admin-summary strong { font-size: 32px; }
.admin-section-no { font-size: 11px; }
.admin-card-head h2 { font-size: 21px; }
.admin-card-head p { font-size: 11px; line-height: 1.5; }
.save-state { padding: 7px 10px; font-size: 9px; }
.admin-field > span, .field-title { font-size: 12px; }
.admin-field input, .transaction-toolbar input, .transaction-toolbar select, .transaction-date-range input { min-height: 47px; font-size: 13px; }
.admin-field small { font-size: 10px; line-height: 1.45; }
.input-with-unit b { font-size: 10px; }
.settings-meta span { font-size: 9px; }
.settings-meta strong { font-size: 12px; }
#adminQrPlaceholder b { font-size: 11px; }
#adminQrPlaceholder small { font-size: 9px; }
.upload-button { min-height: 43px; font-size: 11px; }
.text-button { font-size: 10px; }
.upload-help { font-size: 9px; line-height: 1.45; }
.transaction-toolbar > label:not(.tx-search), .transaction-date-range label, .last-sync { font-size: 10px; }
.transaction-view-tabs button, .transaction-pagination, .transaction-pagination b, .transaction-pagination button { font-size: 11px; }
.transaction-table th { padding-block: 13px; font-size: 9px; }
.transaction-table td { padding-block: 15px; font-size: 12px; }
.tx-sub { font-size: 9px; }
.status-badge { padding: 6px 8px; font-size: 9px; }
.view-tx { padding: 8px 10px; font-size: 10px; }
.empty-transactions b { font-size: 12px; }
.transaction-detail { width: min(450px,100%); }
.detail-head span { font-size: 9px; }
.detail-head h2 { font-size: 24px; }
.detail-head button { width: 36px; height: 36px; font-size: 20px; }
.detail-list { font-size: 13px; }
.detail-list > div { grid-template-columns: 145px minmax(0,1fr); padding-block: 13px; }
.detail-list dt { font-size: 10px; }
.detail-list dd { font-size: 11px; line-height: 1.4; }
.detail-list dd.mono { font-size: 10px; }
.verification-checks h3 { font-size: 13px; }
.check-row { padding-block: 9px; font-size: 10px; }
.check-row b { font-size: 9px; }

/* Customer onboarding flow */
.customer-form { margin-top: 22px; padding: 28px 32px; border-color: rgba(72,242,125,.22); border-radius: 18px; }
.form-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading h2 { margin: 8px 0 0; font-family: "Space Grotesk"; font-size: 24px; }
.form-step { padding: 7px 10px; color: var(--green); border: 1px solid rgba(72,242,125,.28); border-radius: 999px; background: rgba(72,242,125,.05); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.customer-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding-top: 22px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.customer-form-grid label { display: grid; gap: 8px; }
.customer-form-grid label > span { color: #aabbb0; font-size: 10px; font-weight: 800; }
.customer-form-grid input, .flow-card input { width: 100%; min-height: 48px; padding: 0 14px; color: #e7f0ea; border: 1px solid var(--line); border-radius: 9px; outline: none; background: rgba(0,0,0,.3); font-size: 12px; }
.customer-form-grid input:focus, .flow-card input:focus { border-color: rgba(72,242,125,.55); box-shadow: 0 0 0 3px rgba(72,242,125,.06); }
.customer-form-grid .form-wide { grid-column: 1 / -1; }
.slip-field { padding: 15px; border: 1px dashed rgba(72,242,125,.24); border-radius: 10px; background: rgba(72,242,125,.025); }
.slip-field input { padding: 11px; }
.slip-field small { color: #667a6e; font-size: 9px; }
.consent-row { display: flex; align-items: center; gap: 10px; margin-top: 17px; color: #82958a; font-size: 10px; }
.consent-row input { accent-color: var(--green); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-actions > span { color: var(--gold); font-size: 10px; }
.pending-text { color: var(--gold) !important; }

.flow-view { min-height: calc(100vh - 130px); padding: 90px 0 110px; text-align: center; }
.flow-shell { max-width: 760px; }
.flow-shell > h1 { margin: 12px 0 0; font-size: clamp(44px,7vw,72px); }
.flow-shell > h1 span { color: var(--green); text-shadow: 0 0 35px rgba(72,242,125,.28); }
.flow-lead { max-width: 590px; margin: 15px auto 30px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.flow-card { max-width: 530px; margin: 0 auto; padding: 34px; border-color: rgba(72,242,125,.27); border-radius: 20px; text-align: left; }
.legal-view .flow-shell { max-width: 900px; }
.legal-card { max-width: 760px; }
.legal-card h2 { margin: 24px 0 8px; color: var(--green); font-family: "Space Grotesk"; font-size: 17px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin: 0; color: #a8b8ae; font-size: 12px; line-height: 1.8; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-legal a { color: #8ca096; font-size: 10px; text-decoration: none; }
.footer-legal a:hover { color: var(--green); }
.flow-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 23px; place-items: center; color: #04200d; border-radius: 16px; background: linear-gradient(145deg,#71fa99,#1abf50); box-shadow: 0 0 30px rgba(72,242,125,.22); font-size: 22px; }
.flow-card > label { display: block; margin-bottom: 8px; color: #b1c2b7; font-size: 10px; font-weight: 800; }
.flow-card > input { min-height: 58px; text-align: center; font-family: "Space Grotesk"; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; }
.flow-card > p { margin: 12px 0 20px; color: #677b6f; font-size: 9px; text-align: center; }
.flow-message { display: block; min-height: 17px; margin-top: 12px; color: var(--gold); font-size: 10px; text-align: center; }
.telegram-card { text-align: center; }
.telegram-card .telegram-orb { margin: 0 auto 16px; }
.telegram-card > strong { color: var(--green); font-family: "Space Grotesk"; font-size: 21px; }
.mini-steps { display: grid; gap: 8px; margin: 22px 0; padding: 0; list-style: none; text-align: left; }
.mini-steps li { display: flex; align-items: center; gap: 11px; padding: 11px 13px; color: #a6b7ac; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.2); font-size: 10px; }
.mini-steps span { display: grid; width: 24px; height: 24px; place-items: center; color: var(--green); border: 1px solid rgba(72,242,125,.3); border-radius: 50%; }
.membership-card { max-width: 680px; margin: 0 auto; padding: 34px; border-color: rgba(72,242,125,.27); border-radius: 20px; text-align: left; }
.membership-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--green); border: 1px solid rgba(72,242,125,.3); border-radius: 999px; background: rgba(72,242,125,.055); font-size: 9px; font-weight: 900; }
.membership-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.membership-person { display: grid; margin: 25px 0; }
.membership-person span, .membership-person small, .membership-dates span { color: var(--muted); font-size: 9px; }
.membership-person strong { margin: 6px 0; font-family: "Space Grotesk"; font-size: 28px; }
.membership-dates { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 22px; }
.membership-dates div { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.22); }
.membership-dates span, .membership-dates strong { display: block; }
.membership-dates strong { margin-top: 8px; color: #e5eee8; font-size: 13px; }

.membership-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 18px 0 5px; }
.membership-summary > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.18); }
.membership-summary span { color: #7d9185; font-size: 10px; }
.membership-summary strong { font-family: "Space Grotesk"; font-size: 18px; }
.expiry-dot { width: 8px; height: 8px; border-radius: 50%; }
.expiry-dot.active { background: var(--green); box-shadow: 0 0 9px var(--green); }
.expiry-dot.soon { background: var(--gold); box-shadow: 0 0 9px var(--gold); }
.expiry-dot.expired { background: var(--red); box-shadow: 0 0 9px var(--red); }
.membership-toolbar { grid-template-columns: minmax(260px,1fr) 210px; }
.expiry-active td { background: rgba(72,242,125,.015); }
.expiry-soon td { background: rgba(223,184,95,.045); }
.expiry-expired td { background: rgba(255,84,93,.045); }
.remaining-active { color: var(--green); }
.remaining-soon { color: var(--gold); }
.remaining-expired { color: var(--red); }
.extend-control { display: flex; min-width: 250px; }
.extend-control input { width: 66px; min-height: 34px; padding: 0 8px; color: #e6efe9; border: 1px solid var(--line); border-radius: 7px 0 0 7px; background: rgba(0,0,0,.3); }
.extend-control button { cursor: pointer; padding: 0 10px; color: #05140a; border: 0; border-radius: 0 7px 7px 0; background: var(--green); font-size: 9px; font-weight: 900; }
.invite-link-meta { display: flex; align-items: center; min-height: 24px; padding: 5px 8px; color: #73887a; border: 1px solid rgba(120,154,132,.16); border-radius: 6px; background: rgba(255,255,255,.015); font-size: 7px; }
.invite-actions button { min-height: 30px; padding: 0 9px; cursor: pointer; color: #8fdba8; border: 1px solid rgba(72,242,125,.28); border-radius: 6px; background: rgba(72,242,125,.055); font-size: 7px; font-weight: 800; }
.invite-actions button:hover { color: #d8ffe3; border-color: rgba(72,242,125,.55); background: rgba(72,242,125,.11); }
.invite-actions button:disabled { cursor: not-allowed; opacity: .38; }
.danger-actions { padding-top: 2px; }
.button-delete-mini { padding: 4px 10px; cursor: pointer; color: #ff9ba0; border: 1px solid rgba(255,84,93,.55); border-radius: 6px; background: rgba(255,84,93,.08); font-size: 8px; font-weight: 800; }
.button-delete-mini:hover { color: #fff; border-color: var(--red); background: rgba(255,84,93,.28); }
.extend-control button.btn-kick,
.extend-control button[data-kick-member],
.button-kick-mini { background: rgba(255,84,93,.15) !important; color: #ff545d !important; border: 1px solid rgba(255,84,93,.4) !important; border-radius: 6px !important; margin-left: 6px !important; font-size: 11px !important; font-weight: 700 !important; cursor: pointer !important; padding: 4px 10px !important; }
.extend-control button.btn-kick:hover,
.extend-control button[data-kick-member]:hover,
.button-kick-mini:hover { background: rgba(255,84,93,.35) !important; border-color: #ff545d !important; color: #ffffff !important; }
.extend-control button.btn-kick:disabled,
.extend-control button[data-kick-member]:disabled,
.button-kick-mini:disabled { opacity: 0.4 !important; cursor: not-allowed !important; background: rgba(100,100,100,.15) !important; color: #888 !important; border-color: #444 !important; }
.admin-decision-row { display: grid; grid-template-columns: 1fr 110px; gap: 9px; margin-bottom: 10px; }
.admin-decision-row .button { min-height: 43px; padding-inline: 12px; font-size: 10px; }
.admin-decision-row .button:disabled { cursor: default; opacity: .48; filter: saturate(.45); transform: none; box-shadow: none; }
.button-danger { cursor: pointer; color: #ffd8da; border: 1px solid rgba(255,84,93,.35); border-radius: 10px; background: rgba(255,84,93,.09); font-weight: 800; }
.button-danger:hover { border-color: var(--red); background: rgba(255,84,93,.16); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { position: relative; z-index: 10; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { width: min(720px, 100%); margin: 0 auto; }
  .performance-layout, .process-section { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: repeat(3, 1fr); }
  .process-section { gap: 45px; }
  .payment-shell { grid-template-columns: 1fr; }
  .payment-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-summary { grid-template-columns: repeat(2,1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .overview-amount-form { grid-template-columns: 1fr; justify-content: stretch; }
  .overview-amount-form .admin-field { max-width: none; }
  .overview-amount-form .button { width: 100%; }
  .qr-upload-panel { max-width: 330px; width: 100%; }
}

@media (max-width: 760px) {
  .shell, .compact-shell, .success-shell, .flow-shell { width: min(100% - 28px, 1180px); }
  .main-nav { display: none; }
  .header-inner { min-height: 64px; }
  .header-inner > .button { margin-left: auto; }
  .route-track { gap: 6px; }
  .route-track > i { width: 10px; }
  .route-step { gap: 3px; font-size: 0; }
  .route-step span { font-size: 7px; }
  .hero { min-height: 0; padding: 65px 0 25px; overflow: hidden; }
  .hero > * { min-width: 0; }
  .hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .hero-visual { min-height: 520px; transform: none; margin-bottom: -20px; }
  .signal-card { right: 8px; }
  .trust-rail { grid-template-columns: repeat(2, 1fr); }
  .trust-rail > div:nth-child(2) { border-right: 0; }
  .trust-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .feature-stack { grid-template-columns: 1fr; }
  .final-cta { display: block; padding: 38px 28px; text-align: center; }
  .final-cta .button { margin-top: 25px; }
  .receipt-panel { grid-template-columns: repeat(2, 1fr); }
  .receipt-panel > div:nth-child(2) { border-right: 0; }
  .receipt-panel > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .success-content { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 14px; padding: 28px 0; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: sticky; z-index: 40; top: 0; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 14px; height: auto; padding: 11px 14px; border-right: 0; border-bottom: 1px solid rgba(72,242,125,.16); background: rgba(3,10,6,.93); backdrop-filter: blur(18px); }
  .admin-brand { min-width: 0; padding: 0; border-bottom: 0; }
  .admin-brand .brand-mark { flex: 0 0 auto; }
  .admin-brand b { font-size: 11px; }
  .admin-brand small { display: none; }
  .admin-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 0; }
  .admin-nav button { justify-content: center; min-height: 42px; padding: 0 8px; font-size: 10px; white-space: nowrap; }
  .admin-nav button span { display: none; }
  .admin-sidebar-foot { display: none; }
  .admin-main { padding: 0 16px 55px; }
  .admin-topbar { min-height: 76px; }
  #admin-overview, #transactions, #memberships-full { scroll-margin-top: 112px; }
  [data-view="memberships"] .admin-sidebar { position: relative; }
  [data-view="memberships"] .admin-sidebar-foot { display: flex !important; grid-column: 1 / -1; margin-top: 0; }
  .admin-summary { grid-template-columns: repeat(2,1fr); }
  .transaction-toolbar { grid-template-columns: minmax(0,1fr) 150px 140px; }
  .last-sync { grid-column: 1 / -1; text-align: left; }
  .customer-form-grid { grid-template-columns: 1fr; }
  .customer-form-grid .form-wide { grid-column: auto; }
  .membership-summary { grid-template-columns: 1fr; }
  .membership-dates { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 11px; }
  .button-mini { padding-inline: 12px; }
  .route-step { font-size: 0; }
  .route-step span { width: 14px; height: 14px; }
  .hero-actions { flex-direction: column; gap: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-primary { min-height: 70px; font-size: 13px; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-proof > div { min-width: 0; margin-right: 8px; padding-right: 8px; }
  .hero-proof strong { font-size: 18px; }
  .hero-proof span { font-size: 7px; }
  .hero-visual { left: auto; width: 100%; min-width: 0; min-height: 485px; transform: none; margin: 0 0 -25px; }
  .intelligence-stage { inset: 8px 0 50px; transform: none; }
  .market-chart-wrap { inset: 91px 8px 48px; transform: none; }
  .data-node { transform: scale(.86); transform-origin: left center; }
  .node-a { left: 4px; top: 118px; }
  .node-b { right: -8px; top: 205px; transform-origin: right center; }
  .node-c { display: none; }
  .signal-card { width: 235px; right: 6px; bottom: 16px; padding: 14px; }
  .signal-card .quote-row { padding: 10px 0; }
  .signal-levels { gap: 6px; padding: 9px 0; }
  .trust-rail { grid-template-columns: 1fr; }
  .trust-rail > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-rail > div:last-child { border-bottom: 0; }
  .performance-section, .process-section { padding-top: 90px; }
  .performance-card { padding: 18px; }
  .performance-metric strong { font-size: 34px; }
  .performance-chart { height: 190px; }
  .process-section { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 35px; }
  .payment-main, .payment-side { padding: 26px 18px; }
  .payment-tags { flex-wrap: wrap; }
  .address-control { height: auto; flex-wrap: wrap; }
  .address-control input { width: 100%; flex-basis: 100%; height: 43px; border-right: 1px solid var(--line); border-radius: 8px 8px 0 0; }
  .address-control button { width: 100%; height: 38px; border-radius: 0 0 8px 8px; }
  .receipt-panel { grid-template-columns: 1fr; }
  .receipt-panel > div { border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
  .receipt-panel > div:last-child { border-bottom: 0; }
  .success-shell > h1 { font-size: 44px; }
  .admin-sidebar { grid-template-columns: 1fr; gap: 9px; padding: 10px 12px; }
  .admin-brand { justify-self: center; }
  .admin-brand b { font-size: 12px; }
  .admin-nav { width: 100%; }
  .admin-nav button { min-height: 40px; border-color: rgba(115,162,131,.12); background: rgba(0,0,0,.18); }
  [data-view="memberships"] .admin-brand { justify-self: center; }
  [data-view="memberships"] .admin-sidebar-foot { width: 100%; padding: 13px; }
  [data-view="memberships"] .admin-main { padding-top: 0; }
  [data-view="memberships"] #memberships-full { scroll-margin-top: 12px; }
  .admin-main { padding: 0 11px 42px; }
  .admin-topbar { position: relative; min-height: 72px; }
  .admin-kicker { font-size: 8px; }
  .admin-topbar h1 { margin-top: 4px; font-size: 21px; }
  .admin-top-actions > span:first-child { display: none; }
  .admin-icon-button, .admin-avatar { width: 36px; height: 36px; }
  .admin-local-notice { align-items: flex-start; }
  .admin-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 13px; }
  .admin-summary article { min-height: 108px; padding: 14px 12px; border-radius: 11px; }
  .admin-summary span, .admin-summary small { font-size: 9px; line-height: 1.35; }
  .admin-summary strong { margin: 9px 0 5px; font-size: 27px; }
  .admin-card { margin-top: 12px; padding: 16px 12px; border-radius: 13px; }
  .admin-card-head { flex-direction: column; }
  .admin-card-head > div:first-child { padding-left: 27px; }
  .admin-section-no { font-size: 9px; }
  .admin-card-head h2 { font-size: 18px; }
  .admin-card-head p { font-size: 10px; }
  .overview-amount-form { gap: 13px; padding-top: 15px; }
  .overview-amount-form .button { min-height: 48px; }
  .settings-actions { flex-direction: column; }
  .settings-actions .button { width: 100%; }
  .transaction-view-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding-top: 14px; }
  .transaction-view-tabs button { justify-content: space-between; min-height: 43px; padding-inline: 11px; }
  .transaction-toolbar { grid-template-columns: 1fr; }
  .transaction-toolbar > label:not(.tx-search) { width: 100%; }
  .transaction-toolbar input, .transaction-toolbar select { min-height: 48px; }
  .last-sync { padding-left: 2px; font-size: 9px; }
  .transaction-date-range { justify-content: stretch; }
  .transaction-date-range label { width: 100%; }
  .transaction-table-wrap { overflow: visible; }
  .transaction-table { display: block; white-space: normal; }
  .transaction-table thead { display: none; }
  .transaction-table tbody { display: grid; gap: 10px; }
  .transaction-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 10px; padding: 14px; border: 1px solid rgba(115,162,131,.17); border-radius: 12px; background: rgba(0,0,0,.2); }
  .transaction-table td { display: block; min-width: 0; padding: 0; border: 0; font-size: 11px; white-space: normal; }
  .transaction-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; color: #52655a; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
  .transaction-table td:nth-child(1), .transaction-table td:nth-child(2), .transaction-table .tx-detail-action { grid-column: 1 / -1; }
  .transaction-table td:nth-child(1), .transaction-table td:nth-child(2) { padding-bottom: 10px; border-bottom: 1px solid rgba(115,162,131,.1); }
  .transaction-table .tx-order, .transaction-table .tx-customer { font-size: 13px; }
  .transaction-table .tx-sub { font-size: 10px; overflow-wrap: anywhere; }
  .transaction-table .status-badge { max-width: 100%; font-size: 9px; white-space: normal; }
  .transaction-table .tx-detail-action::before { display: none; }
  .view-tx { width: 100%; min-height: 46px; font-size: 11px; font-weight: 800; touch-action: manipulation; }
  .transaction-pagination { align-items: stretch; flex-direction: column; }
  .transaction-pagination > div { justify-content: space-between; }
  .transaction-pagination button { min-height: 42px; }
  .transaction-detail-backdrop { z-index: 90; }
  .transaction-detail { z-index: 91; top: auto; bottom: 0; left: 0; width: 100%; height: min(88dvh,760px); padding: 18px 15px max(20px,env(safe-area-inset-bottom)); border-top: 1px solid rgba(72,242,125,.3); border-left: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -30px 90px rgba(0,0,0,.72); animation: detailSheetIn .28s cubic-bezier(.2,.8,.2,1) both; }
  .detail-head { position: sticky; z-index: 2; top: -18px; margin: -18px -15px 0; padding: 18px 15px 14px; border-radius: 20px 20px 0 0; background: rgba(3,11,7,.97); backdrop-filter: blur(18px); }
  .detail-head h2 { max-width: 270px; font-size: 20px; overflow-wrap: anywhere; }
  .detail-head button { width: 44px; height: 44px; flex: 0 0 44px; }
  .detail-list > div { grid-template-columns: minmax(100px,.8fr) minmax(0,1.2fr); gap: 8px; }
  .detail-list dt, .detail-list dd, .detail-list dd.mono { font-size: 10px; }
  .detail-redeem-code { grid-template-columns: 1fr; }
  .detail-redeem-code > span, .detail-redeem-code small { grid-column: 1; }
  .detail-redeem-code button { min-height: 44px; }
  .approval-check-message { font-size: 9px; }
  .admin-decision-row { grid-template-columns: 1fr; }
  .admin-decision-row .button, #cancelApproval { min-height: 48px; }
  .membership-table tbody { gap: 12px; }
  .membership-table tr { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .membership-table td:nth-child(1), .membership-table td:nth-child(2), .membership-table td:last-child { grid-column: 1 / -1; }
  .membership-table td:nth-child(3)::before { content: "Weltrade ID"; }
  .membership-table td:nth-child(4)::before { content: "MT account"; }
  .membership-table td:nth-child(5)::before { content: "Start"; }
  .membership-table td:nth-child(6)::before { content: "Expiry"; }
  .membership-table td:nth-child(7)::before { content: "Remaining"; }
  .membership-table td:nth-child(8)::before { content: "Status"; }
  .membership-table td:last-child::before { content: "Access management"; }
  .membership-actions { min-width: 0; }
  .membership-actions-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .membership-actions button { min-height: 42px; }
  .customer-form { padding: 23px 17px; }
  .form-heading, .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .flow-card, .membership-card { padding: 25px 18px; }
  .admin-login-box { width: calc(100% - 24px); padding: 28px 20px; }
  .admin-login-row { flex-direction: column; }
  .admin-login-row button { min-height: 48px; }
}

@keyframes detailSheetIn { from { opacity: 0; transform: translateY(28px); } }

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *,
  html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── Admin Login Gate ─────────────────────────────────── */
#adminLoginOverlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #071410 0%, #020a06 100%);
}
#adminLoginOverlay::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 30%, rgba(72,242,125,.06) 0%, transparent 70%);
  pointer-events: none;
}
.admin-login-box {
  position: relative; width: 100%; max-width: 420px;
  padding: 48px 40px 40px;
  border: 1px solid rgba(72,242,125,.15);
  border-radius: 20px;
  background: rgba(10,20,14,.85);
  backdrop-filter: blur(24px);
  box-shadow: 0 0 80px rgba(72,242,125,.06), 0 32px 80px rgba(0,0,0,.6);
  text-align: center;
}
.admin-login-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 28px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.admin-login-logo span { font-size: 20px; }
.admin-login-box h2 {
  margin: 0 0 10px; font-size: 26px; font-weight: 800;
  background: linear-gradient(135deg,#fff 40%,var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.admin-login-box p { margin: 0 0 28px; color: #6b8a74; font-size: 13px; line-height: 1.6; }
.admin-login-row { display: flex; gap: 10px; }
.admin-login-row input {
  flex: 1; height: 48px; padding: 0 16px;
  color: #d8ead0; border: 1px solid rgba(72,242,125,.25); border-radius: 10px;
  background: rgba(0,0,0,.4); font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.admin-login-row input:focus {
  border-color: rgba(72,242,125,.6);
  box-shadow: 0 0 0 3px rgba(72,242,125,.08);
}
.admin-login-row button {
  height: 48px; padding: 0 20px; flex-shrink: 0;
  cursor: pointer; font-size: 13px; font-weight: 700; white-space: nowrap;
  color: #020a06; background: var(--green); border: none; border-radius: 10px;
  transition: opacity .15s, transform .15s;
}
.admin-login-row button:hover { opacity: .88; transform: translateY(-1px); }
#adminLoginError {
  display: block; margin-top: 12px; font-size: 12px; color: #ff777d; min-height: 16px;
}

/* Admin key group in sidebar */
.admin-key-group { display: none; margin: 10px 0 6px; }
.admin-key-group label { display: block; margin-bottom: 5px; color: #7d9185; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.admin-key-row { display: flex; gap: 5px; }
.admin-key-row input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; color: #d8ead0; border: 1px solid rgba(72,242,125,.22); border-radius: 7px; background: rgba(0,0,0,.35); font-size: 11px; outline: none; }
.admin-key-row input:focus { border-color: rgba(72,242,125,.6); box-shadow: 0 0 0 2px rgba(72,242,125,.07); }
.admin-key-row button { display: grid; width: 34px; height: 34px; place-items: center; cursor: pointer; color: var(--green); border: 1px solid rgba(72,242,125,.35); border-radius: 7px; background: rgba(72,242,125,.07); font-size: 12px; flex-shrink: 0; }
.admin-key-row button:hover { background: rgba(72,242,125,.15); }
#adminKeyStatus { display: block; margin-top: 4px; font-size: 9px; min-height: 12px; }
