/* UNION — an independent visual identity. All assets are local; no font/CDN dependency. */
:root {
  color-scheme: dark;
  --bg: #090d10;
  --surface: #111719;
  --surface-raised: #171e21;
  --surface-hover: #1d272a;
  --text: #f0f3ec;
  --muted: #8c9795;
  --subtle: #5d6b67;
  --accent: #c7f596;
  --accent-hover: #d7ffb0;
  --accent-ink: #1b2917;
  --border: rgba(226, 244, 224, .085);
  --border-strong: rgba(226, 244, 224, .17);
  --positive: #c7f596;
  --negative: #f09c91;
  --warning: #e4c493;
  --radius: 24px;
  --shadow: 0 16px 48px rgba(0, 0, 0, .14);
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; scrollbar-color: #344138 transparent; }
body { margin: 0; min-width: 320px; min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.55; }
body::before { content: ""; position: fixed; top: 0; left: 50%; width: min(1300px, 100vw); height: 660px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse at 76% 0, rgba(111, 147, 91, .047), transparent 65%); z-index: -1; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .5; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
input, select, textarea { min-width: 0; }
img, svg { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 550; line-height: 1.18; letter-spacing: -.04em; overflow-wrap: anywhere; }
h1 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 10px; }
h2 { font-size: 22px; margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 10px; }
p { margin-bottom: 14px; }
small { font-size: 12px; }
strong { font-weight: 600; }
.app-shell { width: min(100%, 1184px); margin: 0 auto; padding: calc(28px + env(safe-area-inset-top, 0px)) 32px calc(122px + env(safe-area-inset-bottom, 0px)); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; margin-bottom: 44px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 34px; height: 36px; object-fit: contain; }
.brand-wordmark { font-size: 30px; font-weight: 620; line-height: 1; letter-spacing: -.065em; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; stroke-width: 1.65; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--muted); transition: color .2s, background .2s, border-color .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-hover); }
.avatar { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #5a6950; border-radius: 50%; background: #34432c; color: #dcf3c9; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.main-content { min-width: 0; }
.page { animation: page-in .32s ease both; }
.page-heading { margin-bottom: 26px; }
.page-heading .muted { max-width: 640px; margin: 0; line-height: 1.7; }
.page-heading .eyebrow { margin-bottom: 10px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 550; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.muted { color: var(--muted); }
.positive { color: var(--positive); }
.negative { color: var(--negative); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.stack { display: grid; gap: 18px; }
.divider { height: 1px; border: 0; background: var(--border); margin: 20px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 21px; border: 1px solid transparent; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover:not(:disabled) { background: var(--accent-hover); box-shadow: 0 5px 22px rgba(162, 205, 122, .1); }
.btn:active:not(:disabled) { transform: scale(.975); }
.btn .icon { width: 19px; height: 19px; stroke-width: 1.8; }
.btn-secondary, .btn.secondary { background: #253029; border-color: rgba(216, 238, 205, .12); color: #e8eedf; }
.btn-secondary:hover:not(:disabled), .btn.secondary:hover:not(:disabled) { background: #303e32; border-color: rgba(216, 238, 205, .22); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-hover); }
.btn-wide { width: 100%; }
.text-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: var(--accent); min-height: 36px; padding: 6px 0 6px 8px; font-size: 12px; white-space: nowrap; }
.text-btn .icon { width: 16px; height: 16px; }
.text-btn:hover { color: #efffdf; }
.badge, .status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 99px; font-size: 10px; line-height: 1.2; font-weight: 550; padding: 6px 9px; background: rgba(187, 226, 147, .08); color: var(--accent); white-space: nowrap; }
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.pending { background: rgba(228, 196, 147, .09); color: var(--warning); }
.status-pill.rejected, .status-pill.failed { color: var(--negative); background: rgba(240, 156, 145, .08); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr); gap: 20px; margin-bottom: 32px; }
.hero-card { position: relative; isolation: isolate; min-width: 0; min-height: 334px; padding: 30px; border: 1px solid rgba(216, 238, 205, .14); border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 96% 20%, #32412c 0, #1b291f 36%, #162019 73%); }
.hero-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(130deg, rgba(242, 255, 229, .035), transparent 42%); z-index: -1; }
.hero-content { position: relative; z-index: 2; width: max-content; max-width: 100%; }
.hero-card .eyebrow { color: #c1ccb8; letter-spacing: .03em; text-transform: none; font-size: 13px; margin-bottom: 11px; }
.balance-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: clamp(38px, 4.9vw, 56px); letter-spacing: -.065em; line-height: 1.12; font-weight: 500; font-variant-numeric: tabular-nums; }
.balance-value .currency, .currency { font-size: 13px; font-weight: 450; letter-spacing: .015em; color: #a5b29c; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #a7b39e; font-size: 12px; margin-top: 13px; margin-bottom: 27px; }
.hero-meta .icon { height: 15px; width: 15px; }
.hero-meta strong { color: #d7e0ce; font-weight: 450; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-actions .btn { min-height: 43px; padding: 11px 16px; border-radius: 11px; font-size: 12px; }
.hero-art { position: absolute; width: 400px; max-width: none; right: -96px; top: -23px; z-index: 1; pointer-events: none; opacity: .92; animation: orbit-float 9s ease-in-out infinite; }
.hero-foot { position: absolute; bottom: 24px; left: 30px; right: 30px; z-index: 2; display: flex; align-items: center; gap: 7px; color: #8b9c82; font-size: 10px; letter-spacing: .02em; }
.hero-foot .icon { width: 14px; height: 14px; }
.stats-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.stat-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 25px; }
.stat-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 11px; color: #a9c58f; background: #1b241d; margin-bottom: 12px; }
.stat-icon .icon { width: 18px; height: 18px; }
.stat-label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.stat-value { font-size: 27px; line-height: 1.2; letter-spacing: -.045em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-value .currency, .stat-value small { font-size: 11px; letter-spacing: 0; color: var(--muted); margin-left: 5px; }
.stat-card .stat-icon { position: absolute; right: 23px; top: 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 29px 0 15px; }
.section-heading h2 { font-size: 20px; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.section-heading .text-btn { min-width: 0; max-width: 48%; white-space: normal; text-align: right; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; min-width: 0; margin-bottom: 18px; }
.panel > :last-child { margin-bottom: 0; }
.panel .section-heading:first-child { margin-top: 0; }
.operation-list { display: grid; }
.operation { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.operation:first-child { padding-top: 3px; }
.operation:last-child { border-bottom: 0; padding-bottom: 3px; }
.operation-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 13px; background: #1e2922; color: #bccdaf; }
.operation-icon .icon { width: 19px; height: 19px; }
.operation-icon.negative { color: #c3beb0; background: #252723; }
.operation-info { flex: 1; min-width: 0; }
.operation-info strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 500; }
.operation-info small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 4px; overflow-wrap: anywhere; }
.operation-value { text-align: right; white-space: nowrap; font-size: 13px; font-weight: 500; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.operation-value small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.work-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; min-width: 0; margin-bottom: 12px; }
.work-card .amount { font-size: 26px; line-height: 1.2; letter-spacing: -.04em; margin: 18px 0; font-variant-numeric: tabular-nums; }
.work-card .amount small { font-size: 12px; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.work-card .row > strong { font-size: 13px; font-weight: 500; }
.progress-track { height: 4px; border-radius: 99px; background: #27302b; overflow: hidden; margin: 18px 0 12px; }
.progress-fill { height: 100%; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg, #758b64, var(--accent)); transition: width .6s ease; }
.work-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.feature-card { position: relative; display: flex; align-items: center; min-height: 178px; overflow: hidden; isolation: isolate; background: #151e19; border: 1px solid var(--border); border-radius: var(--radius); padding: 27px; margin-top: 26px; }
.feature-copy { position: relative; z-index: 2; max-width: 65%; }
.feature-copy .eyebrow { font-size: 10px; color: #a5bb93; margin-bottom: 9px; }
.feature-copy h2 { font-size: 23px; margin-bottom: 9px; }
.feature-copy p { font-size: 12px; color: #8e9b88; max-width: 320px; margin-bottom: 9px; }
.feature-copy .text-btn { padding-left: 0; }
.feature-art { position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 270px; z-index: 1; opacity: .85; pointer-events: none; }
.bottom-nav { position: fixed; z-index: 20; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: min(calc(100% - 36px), 600px); padding: 7px 10px; border: 1px solid rgba(218, 236, 205, .11); border-radius: 22px; background: rgba(21, 29, 26, .96); box-shadow: 0 10px 50px #0008, 0 0 0 6px rgba(9, 13, 16, .42); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 57px; padding: 8px 2px; border: 0; background: transparent; border-radius: 14px; color: #859189; font-size: 10px; line-height: 1.2; font-weight: 450; transition: color .18s, background .18s, transform .18s; }
.nav-btn .icon { width: 21px; height: 21px; }
.nav-btn.active { background: #273425; color: var(--accent); }
.nav-btn:hover { color: var(--accent); }
.nav-btn:active { transform: scale(.96); }
/* Payment, investment and account surfaces */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .8fr); align-items: start; gap: 22px; }
.form-panel { padding: 28px; }
.field { display: block; margin-bottom: 23px; }
.field > label, .field > span:first-child, label.field { color: #cad2c6; font-size: 12px; }
.field > label { display: block; margin-bottom: 10px; }
.field input, .field select, .field textarea, input.field, select.field, textarea.field { display: block; width: 100%; min-height: 52px; margin-top: 9px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 13px; background: #0d1413; color: var(--text); font-size: 15px; box-shadow: none; transition: border-color .2s, background .2s; }
.field input:hover, .field select:hover { border-color: #52654a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #111b14; box-shadow: 0 0 0 3px #c7f5960a; }
.field input::placeholder, .field textarea::placeholder { color: #617064; }
.field input[type=number] { -moz-appearance: textfield; }
.field input::-webkit-inner-spin-button, .field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap input { margin-top: 0; padding-right: 115px; font-size: 23px; font-variant-numeric: tabular-nums; letter-spacing: -.035em; height: 62px; }
.input-suffix { position: absolute; right: 17px; color: var(--muted); font-size: 12px; pointer-events: none; }
.max-btn { position: absolute; right: 64px; border: 0; background: #263720; border-radius: 6px; color: var(--accent); padding: 4px 7px; font-size: 9px; letter-spacing: .04em; }
.field small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.network-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; min-height: 104px; padding: 15px; text-align: left; background: #121b17; border: 1px solid var(--border-strong); border-radius: 16px; transition: border-color .18s, background .18s, transform .18s; }
.network-option:hover { border-color: #7b9466; }
.network-option.selected { border-color: var(--accent); background: #1b291d; box-shadow: inset 0 0 0 1px #c7f5960d; }
.network-option strong { font-size: 12px; font-weight: 550; }
.network-option small { font-size: 10px; color: var(--muted); }
.network-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; font-size: 11px; font-weight: 650; background: #2c3b2a; color: #d0ecb8; margin-bottom: 5px; }
.network-info { border-top: 1px solid var(--border); padding-top: 17px; margin: 16px 0; }
.notice { display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(196, 220, 162, .11); border-radius: 13px; background: #1a2419; color: #a9b99a; font-size: 11px; line-height: 1.65; padding: 13px 15px; margin: 18px 0; overflow-wrap: anywhere; }
.notice .icon { width: 17px; height: 17px; margin-top: 1px; color: #bfd6a7; }
.notice p { margin: 0; }
.info-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; font-size: 12px; }
.info-row > :first-child { color: var(--muted); }
.info-row > :last-child { text-align: right; overflow-wrap: anywhere; }
.address-box { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-strong); border-radius: 13px; background: #0c1410; padding: 15px; margin: 18px 0; }
.address-box code, .address-box .address, .address-box span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, "SF Mono", monospace; font-size: 12px; line-height: 1.65; color: #c0cdb4; }
.copy-btn { display: inline-grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border: 1px solid var(--border); border-radius: 10px; background: #222f21; color: var(--accent); padding: 0; }
.copy-btn .icon { width: 17px; height: 17px; }
.qr-box { width: 190px; min-height: 190px; display: grid; place-items: center; padding: 15px; margin: 20px auto; border-radius: 15px; background: #fff; }
.qr-box img, .qr-box svg, .qr-box canvas { width: 160px; height: 160px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.plan-card { position: relative; display: block; min-width: 0; min-height: 177px; text-align: left; padding: 20px; border: 1px solid var(--border-strong); border-radius: 20px; background: #121b17; color: var(--text); transition: border-color .2s, background .2s, transform .2s; }
.plan-card:hover { background: #1a281b; border-color: #70865e; transform: translateY(-2px); }
.plan-card.selected { background: linear-gradient(145deg, #2a3d26, #1b2a1c); border-color: #b6d897; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 20px; }
.plan-number { color: #9cac90; font-size: 10px; letter-spacing: .1em; }
.plan-top .icon { width: 18px; height: 18px; color: var(--accent); }
.plan-rate { font-size: 35px; font-weight: 500; letter-spacing: -.055em; line-height: 1.1; color: #e6efdf; }
.plan-card.selected .plan-rate { color: var(--accent); }
.plan-period { font-size: 12px; margin-top: 8px; color: #b0bfa4; }
.plan-desc { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 10px; }
.calculator { background: #0e1712; border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin: 18px 0; }
.quote-lines { display: grid; gap: 13px; }
.quote-line { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; font-size: 12px; }
.quote-line > :first-child { color: var(--muted); }
.quote-line > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
.quote-total { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; font-size: 12px; }
.quote-total strong { color: var(--accent); font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; border: 1px solid var(--border); border-radius: 12px; padding: 4px; background: var(--surface); margin-bottom: 22px; }
.segmented button { min-height: 35px; border: 0; border-radius: 8px; padding: 8px 16px; background: transparent; color: var(--muted); font-size: 12px; }
.segmented button.active { background: #2a3728; color: var(--accent); }
.settings-list { display: grid; }
.settings-row { display: flex; align-items: center; gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: 0; }
.setting-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: #c0d0b1; background: #1e2921; }
.setting-icon .icon { width: 19px; height: 19px; }
.setting-copy { flex: 1; min-width: 0; }
.setting-copy strong { display: block; font-size: 13px; font-weight: 500; }
.setting-copy small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; line-height: 1.55; }
.switch { position: relative; width: 43px; min-width: 43px; height: 25px; border: 1px solid #42503a; border-radius: 99px; background: #2b3628; padding: 0; transition: background .2s; }
.switch::after { content: ""; position: absolute; width: 17px; height: 17px; left: 3px; top: 3px; border-radius: 50%; background: #7b8b71; transition: transform .2s, background .2s; }
.switch[aria-checked="true"], .switch.active { background: var(--accent); border-color: var(--accent); }
.switch[aria-checked="true"]::after, .switch.active::after { transform: translateX(18px); background: #22351c; }
.language-options { display: grid; gap: 10px; margin: 18px 0; }
.language-option { display: flex; align-items: center; gap: 13px; min-height: 71px; padding: 13px 16px; text-align: left; border: 1px solid var(--border-strong); border-radius: 15px; background: #131c16; transition: border-color .18s, background .18s; }
.language-option:hover { border-color: #73885e; }
.language-option.selected { border-color: #b8df93; background: #21321f; }
.language-code { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #283823; color: #c7dfb1; font-size: 10px; font-weight: 600; letter-spacing: .035em; }
.language-copy { flex: 1; }
.language-copy strong { display: block; font-size: 13px; font-weight: 500; }
.language-copy small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.language-option .check { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #526448; border-radius: 50%; }
.language-option.selected .check { background: var(--accent); border-color: var(--accent); color: #23331b; }
.language-option .check .icon { width: 12px; height: 12px; stroke-width: 2.5; }
.profile-card { display: flex; align-items: center; gap: 20px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; margin-bottom: 24px; }
.profile-avatar { display: grid; place-items: center; width: 65px; height: 65px; flex: 0 0 65px; border-radius: 21px; background: #304428; border: 1px solid #506142; color: #d1e8bc; font-size: 22px; }
.profile-card h2 { margin: 0 0 5px; }
.profile-card p { margin: 0; font-size: 12px; color: var(--muted); }
/* Overlays and feedback */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(4, 9, 6, .79); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade-in .2s ease; }
.modal { position: relative; width: min(100%, 464px); max-height: calc(100dvh - 56px); overflow: auto; padding: 26px; border: 1px solid rgba(212, 237, 194, .16); border-radius: 28px; background: #121b15; box-shadow: 0 35px 100px #0009; animation: modal-in .25s ease both; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.modal-header h2 { font-size: 23px; margin: 0; }
.modal-header .icon-btn { width: 34px; height: 34px; background: #202c20; }
.modal-header .icon-btn .icon { width: 17px; height: 17px; }
.modal-body { font-size: 13px; }
.modal-body .muted { line-height: 1.75; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }
.modal-actions > .btn { flex: 1; }
.onboarding { text-align: center; width: min(100%, 430px); padding: 28px; background: radial-gradient(ellipse at 50% 0, #293b23 0, #131c15 55%); }
.onboarding-art { width: 200px; height: 145px; object-fit: contain; margin: -7px auto 0; }
.onboarding-kicker { color: #aabc99; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.onboarding h1, .onboarding h2 { font-size: 31px; margin-bottom: 11px; }
.onboarding p { max-width: 310px; margin-left: auto; margin-right: auto; font-size: 12px; color: #95a38b; }
.onboarding .language-options { margin: 23px 0; }
.onboarding .language-option { min-height: 66px; }
.onboarding .btn-wide { min-height: 49px; }
.toast { position: fixed; left: 50%; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); z-index: 80; transform: translateX(-50%); width: max-content; max-width: min(440px, calc(100% - 36px)); border: 1px solid #506a3e; border-radius: 14px; background: #293e24; color: #e2f4d4; padding: 13px 19px; box-shadow: 0 10px 50px #0007; text-align: center; font-size: 12px; animation: toast-in .22s ease both; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; }
.skeleton { position: relative; overflow: hidden; border-radius: 12px; min-height: 100px; background: #17201b; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, #c7f59607, transparent); animation: shimmer 1.5s infinite; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px 22px; min-height: 180px; text-align: center; }
.empty-icon { display: grid; place-items: center; height: 48px; width: 48px; border: 1px solid var(--border); border-radius: 15px; color: #8ca37a; background: #1e2a20; margin-bottom: 15px; }
.empty-icon .icon { width: 22px; height: 22px; }
.empty-state h3 { font-size: 16px; margin: 0 0 8px; }
.empty-state p { max-width: 330px; color: var(--muted); font-size: 12px; margin: 0 0 14px; }
.error-state { text-align: center; max-width: 550px; margin: 50px auto; padding: 36px 26px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.error-state .icon { margin: 0 auto 18px; width: 35px; height: 35px; color: var(--accent); }
.error-state h1 { font-size: 29px; }
.error-state p { color: var(--muted); font-size: 13px; }
/* Two-column support layouts created by content, never by viewport assumptions. */
.home-columns, .content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.home-columns > *, .content-grid > * { min-width: 0; }
.partner-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.partner-stats .stat-card { min-height: 120px; }
@keyframes page-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 7px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes orbit-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(2deg); } }
@media (min-width: 1100px) {
  .hero-card { min-height: 332px; }
  .hero-art { width: 430px; right: -86px; top: -30px; }
  .hero-content { max-width: 79%; }
  .hero-actions { margin-top: 3px; }
  .home-columns .section-heading { margin-top: 0; }
}
@media (max-width: 900px) {
  .app-shell { padding-left: 24px; padding-right: 24px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr); gap: 16px; }
  .hero-card { padding: 25px; }
  .hero-art { width: 350px; right: -110px; top: 6px; opacity: .6; }
  .hero-content { max-width: 100%; }
  .balance-value { font-size: 42px; }
  .hero-foot { left: 25px; right: 25px; }
  .stat-card { padding: 22px; }
  .stat-card .stat-icon { right: 16px; top: 18px; width: 28px; height: 28px; }
  .stat-value { font-size: 25px; }
  .stat-label { max-width: 130px; }
  .form-layout { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .85fr); gap: 16px; }
  .form-panel { padding: 23px; }
  .plan-grid { gap: 9px; }
  .plan-card { padding: 16px; }
  .network-grid { gap: 7px; }
  .network-option { padding: 11px; }
}
@media (max-width: 700px) {
  .app-shell { padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(113px + env(safe-area-inset-bottom, 0px)); }
  .topbar { margin-bottom: 28px; min-height: 42px; }
  .brand { gap: 9px; }
  .brand-logo { width: 30px; height: 32px; }
  .brand-wordmark { font-size: 28px; }
  .header-actions { gap: 9px; }
  .header-actions .icon-btn, .avatar { width: 37px; height: 37px; font-size: 12px; }
  .header-actions .icon-btn .icon { width: 19px; height: 19px; }
  .page-heading { margin-bottom: 22px; }
  h1 { font-size: 30px; }
  .page-heading .eyebrow { font-size: 9px; margin-bottom: 8px; }
  .page-heading .muted { font-size: 12px; line-height: 1.7; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 13px; margin-bottom: 25px; }
  .hero-card { min-height: 286px; border-radius: 25px; padding: 24px; }
  .hero-content { max-width: 100%; }
  .hero-card .eyebrow { font-size: 11px; margin-bottom: 11px; }
  .balance-value { font-size: 43px; gap: 8px; }
  .balance-value .currency { font-size: 11px; }
  .hero-meta { font-size: 11px; margin-top: 12px; margin-bottom: 25px; }
  .hero-art { width: 330px; top: -1px; right: -124px; opacity: .65; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { min-height: 43px; padding: 10px 14px; font-size: 11px; gap: 7px; }
  .hero-actions .btn .icon { width: 17px; height: 17px; }
  .hero-foot { left: 24px; right: 24px; bottom: 20px; font-size: 9px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { border-radius: 19px; min-height: 116px; padding: 18px; }
  .stat-label { font-size: 10px; margin-bottom: 6px; max-width: calc(100% - 10px); }
  .stat-value { font-size: 25px; }
  .stat-value .currency, .stat-value small { font-size: 9px; margin-left: 3px; }
  .stat-card .stat-icon { position: static; width: 25px; height: 25px; border-radius: 8px; margin-bottom: 12px; }
  .stat-icon .icon { width: 14px; height: 14px; }
  .section-heading { margin-top: 25px; margin-bottom: 13px; }
  .section-heading h2 { font-size: 18px; }
  .text-btn { font-size: 11px; }
  .panel { padding: 20px; border-radius: 21px; }
  .operation { gap: 11px; padding: 16px 0; }
  .operation-info strong { font-size: 12px; }
  .operation-info small { font-size: 10px; }
  .operation-value { font-size: 12px; }
  .operation-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
  .operation-icon .icon { width: 18px; height: 18px; }
  .work-card { padding: 20px; border-radius: 20px; }
  .feature-card { min-height: 179px; border-radius: 21px; padding: 23px; margin-top: 23px; }
  .feature-copy { max-width: 69%; }
  .feature-copy h2 { font-size: 21px; }
  .feature-copy p { font-size: 11px; max-width: 200px; }
  .feature-art { width: 215px; right: -63px; opacity: .73; }
  .bottom-nav { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 28px); max-width: 540px; border-radius: 21px; padding: 6px 7px; gap: 2px; }
  .nav-btn { min-height: 56px; font-size: 9px; gap: 5px; }
  .nav-btn .icon { width: 21px; height: 21px; }
  .form-layout { grid-template-columns: 1fr; gap: 2px; }
  .form-panel { padding: 22px; }
  .form-layout > .panel, .form-layout > .stack { width: 100%; }
  .network-grid { gap: 9px; }
  .network-option { min-height: 103px; padding: 13px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .input-wrap input { font-size: 24px; }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 18px 0; }
  .plan-card { min-height: 160px; border-radius: 16px; padding: 15px 12px; }
  .plan-top { margin-bottom: 17px; }
  .plan-number { font-size: 8px; letter-spacing: .08em; }
  .plan-top .icon { width: 15px; height: 15px; }
  .plan-rate { font-size: 30px; }
  .plan-period { font-size: 10px; }
  .plan-desc { font-size: 10px; }
  .settings-row { gap: 11px; padding: 18px 0; }
  .setting-copy strong { font-size: 12px; }
  .setting-copy small { font-size: 10px; }
  .profile-card { padding: 22px; gap: 16px; }
  .profile-avatar { width: 56px; height: 56px; flex-basis: 56px; border-radius: 18px; font-size: 20px; }
  .profile-card h2 { font-size: 21px; }
  .home-columns, .content-grid { grid-template-columns: 1fr; gap: 0; }
  .partner-stats { gap: 9px; }
  .partner-stats .stat-card { min-height: 104px; padding: 15px 12px; }
  .partner-stats .stat-value { font-size: 22px; }
  .partner-stats .stat-label { max-width: 100%; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .app-shell { padding-left: 15px; padding-right: 15px; }
  .hero-card { padding: 22px 20px; min-height: 277px; }
  .hero-art { width: 302px; right: -129px; top: 5px; opacity: .48; }
  .balance-value { font-size: 37px; gap: 7px; }
  .hero-meta { font-size: 10px; }
  .hero-actions { gap: 7px; }
  .hero-actions .btn { padding: 10px 12px; font-size: 10px; }
  .hero-foot { left: 20px; right: 20px; font-size: 8px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 23px; }
  .panel { padding: 17px; }
  .section-heading h2 { font-size: 17px; }
  .section-heading .text-btn { font-size: 10px; }
  .operation { gap: 8px; }
  .operation-info strong, .operation-value { font-size: 11px; }
  .operation-info small { font-size: 9px; }
  .operation-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .plan-grid { gap: 7px; }
  .plan-card { padding: 13px 9px; min-height: 156px; }
  .plan-rate { font-size: 25px; }
  .plan-number { font-size: 7px; }
  .plan-period { font-size: 9px; }
  .plan-desc { font-size: 9px; }
  .network-grid { gap: 7px; }
  .network-option { padding: 11px 9px; }
  .network-option strong { font-size: 11px; }
  .network-option small { font-size: 9px; }
  .feature-card { padding: 21px; }
  .feature-copy h2 { font-size: 19px; }
  .feature-copy p { font-size: 10px; }
  .feature-art { right: -79px; }
  .nav-btn { font-size: 8px; }
  .bottom-nav { width: calc(100% - 20px); }
  .form-panel { padding: 18px; }
  .modal { padding: 22px; }
  .onboarding { padding: 24px; }
}
@media (max-width: 540px) {
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-width: 100%; max-height: calc(100dvh - 22px - env(safe-area-inset-top, 0px)); border-radius: 26px 26px 0 0; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); border-bottom: 0; }
  .onboarding { padding-top: 26px; }
  .onboarding-art { width: 185px; height: 133px; margin-top: -10px; }
  .onboarding h1, .onboarding h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
@media print { .bottom-nav, .header-actions { display: none; } .app-shell { padding: 20px; } }
/* UI integration details: semantic controls share the same visual system. */
.brand-dot { display: inline-block; margin-left: 3px; font-size: 10px; font-weight: 400; vertical-align: top; letter-spacing: 0; line-height: 1.1; }
.hero-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hero-label .eyebrow { margin-bottom: 0; }
.hero-label .icon-btn { width: 26px; height: 26px; min-height: 0; border: 0; background: transparent; color: #9dad92; }
.hero-label .icon-btn .icon { width: 15px; height: 15px; }
.hero-label .icon-btn:hover { color: #eff8e4; background: #d0e9bf0b; }
.hero-foot-brand { margin-left: auto; color: #859777; font-size: 8px; letter-spacing: .12em; }
.live-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #bddf96; box-shadow: 0 0 0 3px #bddf9610; }
.stat-detail { margin-top: 9px; font-size: 10px; color: #71816e; line-height: 1.5; }
.operation { width: 100%; background: transparent; color: inherit; text-align: left; border-top: 0; border-left: 0; border-right: 0; border-radius: 0; font-family: inherit; }
.operation:hover .operation-info strong { color: var(--accent); }
.operation:hover .operation-icon { background: #2a3a28; }
.work-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #d4dfcc; }
.work-label .icon { width: 17px; height: 17px; color: #a2bb8b; }
.work-amount { display: flex; align-items: baseline; gap: 6px; margin-top: 19px; font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.work-amount small { font-size: 11px; color: var(--muted); letter-spacing: 0; }
.rate-badge { display: inline-block; margin-left: auto; padding: 4px 7px; border: 1px solid #3c5031; border-radius: 6px; background: #263522; color: #c5e4a5; font-size: 10px; letter-spacing: 0; }
progress.progress-fill { display: block; width: 100%; min-width: 0; height: 4px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 99px; background: transparent; color: var(--accent); }
progress.progress-fill::-webkit-progress-bar { background: #27302b; border-radius: 99px; }
progress.progress-fill::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, #758b64, var(--accent)); transition: width .6s ease; }
progress.progress-fill::-moz-progress-bar { background: linear-gradient(90deg, #758b64, var(--accent)); border-radius: 99px; }
.work-result { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 14px; margin-top: 17px; border-top: 1px solid var(--border); font-size: 11px; }
.work-result > span { color: var(--muted); }
.work-result strong { color: #cbdcbe; font-weight: 500; }
.feature-copy h3 { font-size: 23px; margin-bottom: 9px; max-width: 270px; }
.mini-note { display: flex; justify-content: center; align-items: center; gap: 7px; color: #596b5a; font-size: 10px; margin: 20px 0; }
.mini-note .icon { width: 14px; height: 14px; }
.field-foot { margin-top: 9px; color: var(--muted); font-size: 10px; }
.form-panel > h2 { font-size: 18px; margin-bottom: 19px; }
.form-panel form > .btn-wide { margin-top: 21px; }
.form-panel .quote-lines { gap: 1px; }
.quote-lines .quote-total { margin-top: 9px; padding-top: 17px; padding-bottom: 0; }
.quote-total strong { font-size: 20px; }
.network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.network-option { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 74px; padding: 14px; }
.network-option > span:nth-child(2) { min-width: 0; }
.network-option strong, .network-option small { display: block; }
.network-option strong { font-size: 12px; }
.network-option small { font-size: 9px; margin-top: 3px; }
.network-mark { flex: 0 0 32px; width: 32px; height: 32px; margin: 0; border-radius: 10px; font-size: 13px; }
.network-bep20 { background: #3a3420; color: #e3c268; }
.network-trc20 { background: #3d2729; color: #e2a5a2; }
.network-ton { background: #21363d; color: #a3d1e0; }
.network-eth { background: #2a2f3c; color: #aeb9de; }
.network-check { display: none; margin-left: auto; }
.network-check .icon { width: 15px; height: 15px; color: var(--accent); }
.network-option.selected .network-check { display: block; }
.deposit-art { width: 270px; margin: -13px auto -1px; }
.deposit-side { background: radial-gradient(ellipse at 50% 22%, #21301e, #121a15 68%); }
.deposit-side .eyebrow { font-size: 10px; color: #9eb58a; }
.deposit-side h2 { font-size: 24px; max-width: 275px; }
.deposit-side p.muted, .address-section > p.muted { font-size: 12px; line-height: 1.75; }
.deposit-side .text-btn { padding-left: 0; }
.address-section h3 { margin: 0; font-size: 15px; }
.address-box .icon-btn { flex-shrink: 0; width: 33px; height: 33px; background: #22301f; border-radius: 10px; }
.address-box .icon-btn .icon { width: 17px; height: 17px; }
.plan-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.plan-check { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 19px; border: 1px solid #405038; border-radius: 50%; }
.plan-check .icon { opacity: 0; width: 12px; height: 12px; }
.plan-card.selected .plan-check { background: var(--accent); border-color: var(--accent); }
.plan-card.selected .plan-check .icon { opacity: 1; color: #26391e; }
.plan-number { line-height: 1.5; letter-spacing: .045em; }
.plan-rate > span { font-size: 21px; font-weight: 400; margin-left: 1px; }
.plan-period { margin-bottom: 3px; }
.calculator.form-panel { margin-top: 0; background: var(--surface); border-radius: 24px; padding: 26px; }
.fine-print { color: #7e8c75; font-size: 10px; line-height: 1.65; margin-top: 16px; margin-bottom: 0; }
.withdrawal-row { padding: 20px 0; border-bottom: 1px solid var(--border); }
.withdrawal-row:first-child { padding-top: 0; }
.withdrawal-row:last-child { border-bottom: 0; padding-bottom: 0; }
.withdrawal-row > .row > strong { font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.withdrawal-row p { font-size: 10px; color: var(--muted); margin-top: 9px; margin-bottom: 9px; }
.withdrawal-row code { display: block; overflow-wrap: anywhere; color: #9ba88e; font-size: 10px; padding: 9px 11px; background: #0d1510; border-radius: 8px; }
.withdrawal-row .info-row { margin-top: 8px; font-size: 11px; }
.status-pending, .status-processing { color: #d2be95; background: #b49d6c10; }
.status-rejected, .status-canceled { color: var(--negative); background: #f09c9110; }
.referral-hero { position: relative; overflow: hidden; min-height: 260px; padding: 37px; border: 1px solid #34472b; border-radius: 26px; background: radial-gradient(ellipse at 90% 60%, #2c3d23, #172118 67%); margin-bottom: 20px; }
.referral-copy { position: relative; z-index: 1; max-width: 57%; }
.referral-copy .eyebrow { color: #a4bc90; font-size: 10px; }
.referral-copy h2 { font-size: 35px; max-width: 460px; line-height: 1.17; margin-bottom: 17px; }
.referral-copy > p:last-child { color: #a0b28e; font-size: 12px; max-width: 450px; line-height: 1.8; margin-bottom: 0; }
.referral-hero > img { position: absolute; right: 1%; top: 50%; width: 390px; transform: translateY(-50%); }
.partner-stats { margin-bottom: 25px; }
.partner-stats .stat-label { max-width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button-row > .btn { flex: 1; }
.partner-row { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.partner-row:first-child { padding-top: 0; }
.partner-row:last-child { padding-bottom: 0; border-bottom: 0; }
.partner-row .profile-avatar { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; font-size: 13px; }
.partner-row > span:nth-child(2) { flex: 1; min-width: 0; }
.partner-row strong, .partner-row small { display: block; }
.partner-row strong { font-size: 12px; font-weight: 500; }
.partner-row small { font-size: 10px; color: var(--muted); }
.partner-row > small { max-width: 89px; text-align: right; }
.profile-card { position: relative; }
.profile-card .text-btn { padding-left: 0; font-size: 10px; min-height: 28px; }
.profile-card .text-btn .icon { width: 12px; height: 12px; }
.profile-check { margin-left: auto; align-self: flex-start; display: grid; place-items: center; height: 23px; width: 23px; flex: 0 0 23px; border-radius: 50%; background: #364b2b; color: var(--accent); }
.profile-check .icon { width: 13px; height: 13px; }
.settings-row { width: 100%; border-top: 0; border-right: 0; border-left: 0; border-radius: 0; background: transparent; text-align: left; color: inherit; }
.settings-row:hover .setting-copy strong { color: var(--accent); }
.settings-row > .icon { width: 18px; height: 18px; color: #687961; }
.settings-panel .section-heading > .icon { width: 18px; height: 18px; color: #8aa373; }
.switch.on { background: var(--accent); border-color: var(--accent); }
.switch.on::after { transform: translateX(18px); background: #22351c; }
.language-option:not(.selected) .check .icon { visibility: hidden; }
.app-signature { color: #54604f; font-size: 9px; letter-spacing: .06em; text-align: center; padding-top: 8px; }
.support-panel { max-width: 550px; margin-left: auto; margin-right: auto; padding: 30px; }
.support-panel > p { font-size: 13px; line-height: 1.8; color: #a0ae96; text-align: center; margin-bottom: 23px; }
.support-panel > .btn { margin-top: 12px; }
.support-panel .quote-lines { gap: 3px; margin-bottom: 20px; }
.support-emblem, .confirm-emblem { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 23px; border: 1px solid #3d5131; border-radius: 20px; color: var(--accent); background: #263822; }
.support-emblem .icon, .confirm-emblem .icon { width: 28px; height: 28px; }
.confirm-name { text-align: center; font-size: 21px; margin-bottom: 24px; }
.modal-actions { flex-direction: column; gap: 9px; }
.modal-actions .btn { min-height: 47px; }
.modal-open { overflow: hidden; }
.onboarding .modal-header { justify-content: center; margin-bottom: 4px; }
.onboarding .modal-header h2 { font-size: 20px; letter-spacing: -.035em; }
.onboarding-art { width: 210px; height: 160px; margin-top: -7px; margin-bottom: -1px; }
.onboarding .modal-body h3 { font-size: 25px; margin-top: 11px; }
.onboarding .onboarding-kicker { font-size: 8px; color: #a9bf92; letter-spacing: .2em; }
.onboarding .modal-actions { margin-top: 0; }
.copy-fallback { width: 100%; min-height: 110px; resize: vertical; background: #0b140d; color: #d5e6c8; border: 1px solid #455a36; border-radius: 12px; padding: 14px; font-family: ui-monospace, monospace; font-size: 12px; }
.loading-screen, .boot-screen { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; color: #a3bb8e; font-size: 11px; }
.boot-screen img { width: 54px; height: 54px; margin-bottom: 12px; }
.auth-screen { max-width: 450px; margin: 15vh auto 0; padding: 30px; text-align: center; }
.auth-screen img { width: 55px; height: 55px; margin: 0 auto 30px; }
.auth-screen h1 { font-size: 31px; }
.auth-screen p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.empty-state > strong { display: block; font-size: 15px; font-weight: 500; margin-bottom: 9px; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
@media (min-width: 1100px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .content-grid > section > .section-heading:first-child { margin-top: 0; }
  .plan-card { padding: 19px; }
}
@media (max-width: 900px) {
  .plan-card { padding: 14px; }
  .plan-number { font-size: 9px; }
  .plan-check { width: 15px; height: 15px; flex-basis: 15px; }
  .plan-check .icon { width: 10px; height: 10px; }
  .plan-rate { font-size: 30px; }
  .network-option { padding: 12px; gap: 8px; }
  .network-check { position: absolute; right: 7px; top: 7px; }
  .network-check .icon { width: 11px; height: 11px; }
}
@media (max-width: 700px) {
  .hero-label { margin-bottom: 9px; }
  .hero-meta { max-width: 230px; }
  .hero-foot-brand { font-size: 7px; letter-spacing: .08em; }
  .stat-detail { font-size: 9px; margin-top: 6px; }
  .feature-copy h3 { font-size: 20px; }
  .work-amount { font-size: 26px; }
  .work-label { font-size: 11px; }
  .work-meta { font-size: 10px; }
  .work-result { font-size: 10px; }
  .plan-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(126px, 35%); gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 3px 0 14px; margin-top: 10px; margin-bottom: 17px; }
  .plan-card { min-height: 165px; scroll-snap-align: start; padding: 16px 13px; }
  .plan-number { font-size: 9px; }
  .plan-rate { font-size: 33px; }
  .plan-rate > span { font-size: 21px; }
  .plan-period { font-size: 12px; }
  .plan-desc { font-size: 10px; }
  .calculator.form-panel { padding: 22px; }
  .calculator .section-heading h2 { font-size: 17px; }
  .calculator .badge { font-size: 9px; padding: 5px 7px; }
  .network-option { min-height: 72px; padding: 14px; }
  .network-check { position: static; }
  .network-check .icon { width: 14px; height: 14px; }
  .network-option small { font-size: 9px; }
  .deposit-side { position: relative; min-height: 171px; overflow: hidden; padding: 24px; }
  .deposit-art { position: absolute; width: 210px; right: -47px; top: 0; margin: 0; opacity: .5; }
  .deposit-side > :not(img) { position: relative; max-width: 70%; }
  .deposit-side .eyebrow { margin-bottom: 10px; font-size: 9px; }
  .deposit-side h2 { font-size: 20px; }
  .deposit-side p.muted { font-size: 10px; }
  .address-section > p.muted { font-size: 10px; }
  .referral-hero { min-height: 235px; padding: 25px; border-radius: 23px; }
  .referral-copy { max-width: 68%; }
  .referral-copy .eyebrow { font-size: 9px; }
  .referral-copy h2 { font-size: 28px; }
  .referral-copy > p:last-child { font-size: 10px; line-height: 1.7; }
  .referral-hero > img { width: 260px; right: -83px; opacity: .62; }
  .partner-stats .stat-value small { display: block; margin-top: 4px; margin-left: 0; font-size: 8px; }
  .partner-stats .stat-label { font-size: 9px; }
  .button-row .btn { font-size: 11px; min-height: 45px; padding: 12px 14px; }
  .onboarding-art { width: 192px; height: 141px; }
  .onboarding .modal-body h3 { font-size: 25px; }
  .onboarding .language-options { margin-top: 18px; margin-bottom: 20px; }
  .onboarding .language-option { min-height: 62px; }
  .settings-panel h2 { font-size: 18px; }
  .support-panel { padding: 25px; }
  .support-panel > p { font-size: 12px; }
  .confirm-emblem { width: 53px; height: 53px; border-radius: 17px; }
  .confirm-emblem .icon { width: 25px; height: 25px; }
  .confirm-name { font-size: 20px; }
}
@media (max-width: 380px) {
  .hero-label { margin-bottom: 8px; }
  .hero-meta { max-width: 204px; font-size: 10px; }
  .hero-foot-brand { font-size: 6px; }
  .network-option { padding: 12px 10px; gap: 8px; }
  .network-mark { width: 28px; height: 28px; flex-basis: 28px; font-size: 11px; }
  .network-option strong { font-size: 11px; }
  .network-option small { font-size: 8px; }
  .network-check .icon { width: 10px; height: 10px; }
  .calculator.form-panel { padding: 18px; }
  .work-label { font-size: 10px; }
  .work-meta { font-size: 9px; }
  .work-amount { font-size: 24px; }
  .feature-copy h3 { font-size: 18px; }
  .referral-copy h2 { font-size: 25px; }
  .referral-copy { max-width: 72%; }
  .referral-hero { padding: 23px; }
  .partner-stats .stat-value { font-size: 19px; }
  .quote-total strong { font-size: 18px; }
}
/* Compact overview: keep the balance readable and the next action in reach. */
@media (max-width: 700px) {
  .hero-art { width: 295px; top: 44px; right: -117px; opacity: .64; }
  .hero-meta { display: block; max-width: 177px; font-size: 10px; line-height: 1.7; margin-top: 12px; margin-bottom: 20px; color: #bac7ae; }
  .hero-meta .icon { display: inline-block; margin-right: 5px; vertical-align: -3px; }
  .hero-actions { margin-top: 0; }
  .hero-card { min-height: 284px; }
  .stats-grid .stat-card { min-height: 126px; padding: 17px; }
  .stats-grid .stat-icon { position: absolute; top: 14px; right: 13px; width: 21px; height: 21px; margin: 0; border-radius: 7px; }
  .stats-grid .stat-icon .icon { width: 12px; height: 12px; }
  .stats-grid .stat-label { max-width: calc(100% - 16px); margin-bottom: 7px; font-size: 10px; }
  .stats-grid .stat-value { display: block; font-size: 25px; line-height: 1.2; }
  .stats-grid .stat-value small { display: block; font-size: 8px; margin: 4px 0 0; line-height: 1.2; }
  .stats-grid .stat-detail { font-size: 8px; margin-top: 7px; }
}
@media (max-width: 380px) {
  .hero-art { width: 272px; right: -123px; top: 48px; opacity: .52; }
  .hero-meta { max-width: 168px; font-size: 9px; }
  .hero-card { min-height: 271px; }
  .stats-grid .stat-card { padding: 15px; min-height: 124px; }
  .stats-grid .stat-value { font-size: 23px; }
  .stats-grid .stat-label { font-size: 9px; }
  .stats-grid .stat-icon { right: 10px; }
}
@media (max-width: 380px) { h1 { font-size: 26px; } }
/* Seven-language chooser: every choice remains reachable on a compact screen. */
.language-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.language-option { min-width: 0; min-height: 66px; gap: 9px; padding: 12px; }
.language-code { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; font-size: 9px; }
.language-copy { min-width: 0; }
.language-copy strong { font-size: 12px; line-height: 1.35; }
.language-copy small { font-size: 9px; line-height: 1.3; }
.language-option .check { width: 14px; height: 14px; flex: 0 0 14px; }
.language-option .check .icon { width: 9px; height: 9px; }
.onboarding { width: min(100%, 460px); }
.onboarding-art { width: 112px; height: 80px; margin: 0 auto 3px; }
.onboarding .modal-header { margin-bottom: 4px; }
.onboarding .modal-header h2 { font-size: 20px; }
.onboarding .onboarding-kicker { margin-bottom: 7px; }
.onboarding .modal-body h3 { font-size: 23px; margin-top: 8px; margin-bottom: 8px; }
.onboarding .modal-body > .muted { font-size: 11px; margin-bottom: 10px; }
.onboarding .language-options { margin: 16px 0 18px; gap: 8px; }
.onboarding .language-option { min-height: 61px; padding: 10px; gap: 8px; }
.onboarding .language-code { width: 24px; height: 27px; flex-basis: 24px; font-size: 8px; }
.onboarding .language-copy strong { font-size: 11px; }
.onboarding .language-copy small { font-size: 9px; }
.onboarding .modal-actions { position: sticky; bottom: -1px; z-index: 1; margin-top: 0; padding-top: 8px; background: linear-gradient(180deg, #131c1500, #131c15 9px); }
.invite-preview { overflow: hidden; border: 1px solid var(--border-strong); border-radius: 17px; background: #0c1410; }
.invite-preview-image { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--border); }
.invite-caption { margin: 0; padding: 17px 17px 4px; color: #d5e2ca; font-size: 13px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.invite-preview .address-box { margin: 12px 16px 17px; padding: 12px; border-radius: 10px; background: #142011; }
.invite-preview .address-box code { font-size: 10px; line-height: 1.65; }
.invite-preview + .notice { margin-bottom: 0; }
@media (max-width: 700px) {
  .language-option { min-height: 62px; padding: 10px; gap: 7px; }
  .language-code { width: 25px; height: 28px; flex-basis: 25px; font-size: 8px; }
  .language-copy strong { font-size: 11px; }
  .language-copy small { font-size: 9px; }
  .language-option .check { width: 13px; height: 13px; flex-basis: 13px; }
  .onboarding-art { width: 112px; height: 80px; margin: 0 auto 2px; }
  .onboarding .modal-body h3 { font-size: 23px; }
  .onboarding .language-options { margin-top: 14px; margin-bottom: 17px; }
  .onboarding .language-option { min-height: 60px; }
  .invite-caption { font-size: 12px; padding: 15px 15px 3px; }
  .invite-preview .address-box { margin: 11px 14px 15px; }
}
@media (max-width: 380px) {
  .onboarding { padding-left: 20px; padding-right: 20px; }
  .language-options { gap: 7px; }
  .language-option { padding: 10px 8px; gap: 6px; }
  .language-code { width: 21px; height: 25px; flex-basis: 21px; font-size: 7px; border-radius: 6px; }
  .language-copy strong { font-size: 10px; }
  .language-copy small { font-size: 8px; }
  .language-option .check { width: 12px; height: 12px; flex-basis: 12px; }
  .onboarding .language-option { min-height: 57px; padding: 9px 8px; gap: 6px; }
  .onboarding .language-code { width: 21px; height: 25px; flex-basis: 21px; }
  .onboarding .language-copy strong { font-size: 10px; }
  .onboarding .language-copy small { font-size: 8px; }
  .onboarding .modal-header h2 { font-size: 18px; }
  .onboarding .modal-body h3 { font-size: 21px; }
}
@media (max-height: 690px) {
  .onboarding-art { display: none; }
  .onboarding .modal-header { margin-bottom: 10px; }
  .onboarding .onboarding-kicker { display: none; }
  .onboarding .language-options { margin-top: 12px; margin-bottom: 12px; }
  .onboarding .language-option { min-height: 54px; }
}
/* Daily investment plans: terms, payout cadence and limits stay visible on mobile. */
.plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-card { min-height: 236px; padding: 20px; }
.plan-number { font-size: 15px; letter-spacing: -.02em; text-transform: none; }
.plan-desc { display: block; margin-top: 5px; line-height: 1.35; }
.plan-period { margin: 15px 0 8px; }
.plan-limit { display: block; font-size: 11px; line-height: 1.5; color: #d8e4cf; }
.plan-total { display: block; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; line-height: 1.45; }
.plan-range { color: #b9cfaa; margin: -1px 0 18px; font-size: 12px; line-height: 1.5; }
.work-payout { margin: 16px 0; }
.work-payout .info-row { padding: 5px 0; }
.work-payout .info-row span { font-size: 11px; }
.work-payout .info-row strong { font-size: 12px; }
.work-amount { flex-wrap: wrap; row-gap: 10px; }
.rate-badge { white-space: nowrap; font-size: 10px; }
.work-meta { gap: 12px; flex-wrap: wrap; }
.next-payout { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 13px 14px; background: #1b2b1b; border: 1px solid #33482d; border-radius: 12px; }
.next-payout span { max-width: 55%; color: #b8cba9; font-size: 11px; }
.next-payout strong { text-align: right; color: #d9f1c5; font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 18px; letter-spacing: .03em; }
.referral-levels { margin: 24px 0; }
.referral-levels h2 { margin-bottom: 13px; font-size: 17px; }
.levels-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.level-card { min-width: 0; padding: 17px 14px; border: 1px solid var(--border-strong); border-radius: 15px; background: #142015; }
.level-card span,.level-card small { display: block; font-size: 10px; color: var(--muted); line-height: 1.5; }
.level-card strong { display: block; color: var(--accent); font-size: 27px; margin: 7px 0; font-weight: 500; }
.partner-earned { flex: 0 1 122px; max-width: 45%; text-align: right; }
.partner-earned strong { color: #cfe3bf; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.partner-row small { overflow-wrap: anywhere; }
.network-mark.network-btc { background: #5c3d17; color: #ffca75; }
.network-mark.network-ltc { background: #263948; color: #b4d7f3; }
.network-mark.network-doge { background: #514824; color: #e4d588; }
.network-option { min-width: 0; }
.network-option > span:nth-child(2) { min-width: 0; }
.network-option strong,.network-option small { overflow-wrap: anywhere; }
.union-preloader { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; flex-direction: column; background: radial-gradient(ellipse at 50% 43%,#23301d 0%,#10160e 43%,#090d10 76%); opacity: 1; transition: opacity .28s ease, visibility .28s ease; }
.union-preloader.is-ready { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-symbol { padding: 21px; border: 1px solid #4a5b3b; border-radius: 32px; box-shadow: 0 0 64px #c0dc8b12,inset 0 1px #d3e5b412; animation: union-breathe 1.6s ease-in-out infinite; }
.preloader-symbol img { width: 66px; height: 66px; }
.preloader-wordmark { margin-top: 23px; font-size: 42px; font-weight: 500; letter-spacing: -.065em; color: #e4efce; }
.union-preloader p { margin-top: 10px; color: #abb79b; font-size: 13px; letter-spacing: .03em; }
.preloader-line { position: relative; display: block; width: 96px; height: 2px; margin-top: 28px; background: #34412b; border-radius: 2px; overflow: hidden; }
.preloader-line::after { content: ''; position: absolute; inset: 0; background: #c9e3a1; transform: translateX(-100%); animation: union-loading 1s ease-in-out infinite; }
@keyframes union-breathe { 50% { transform: translateY(-4px); box-shadow: 0 0 76px #c0dc8b23,inset 0 1px #d3e5b412; } }
@keyframes union-loading { to { transform: translateX(100%); } }
@media (max-width: 700px) {
  .plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; gap: 10px; margin-bottom: 20px; padding: 0; }
  .plan-card { min-height: 220px; padding: 17px 15px; }
  .plan-number { font-size: 14px; }
  .plan-rate { font-size: 35px; }
  .plan-desc { font-size: 10px; }
  .plan-period { margin: 13px 0 7px; font-size: 13px; }
  .plan-limit { font-size: 10px; }
  .plan-total { font-size: 9px; }
  .levels-grid { gap: 7px; }
  .level-card { padding: 11px 6px; border-radius: 10px; text-align: center; }
  .level-card span,.level-card small { font-size: 8px; }
  .level-card strong { font-size: 21px; margin: 8px 0; }
  .referral-levels h2 { font-size: 15px; }
  .partner-earned strong { font-size: 11px; }
  .partner-earned small { font-size: 8px; }
  .network-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .next-payout { padding: 12px; }
  .next-payout strong { font-size: 17px; }
  .work-result { align-items: flex-start; gap: 10px; }
  .work-result > span { max-width: 53%; }
  .work-result > strong { text-align: right; }
}
@media (max-width: 380px) {
  .plan-grid { gap: 8px; }
  .plan-card { padding: 15px 12px; min-height: 218px; }
  .plan-number { font-size: 13px; }
  .plan-check { width: 17px; height: 17px; }
  .plan-rate { font-size: 32px; }
  .plan-limit { font-size: 9px; }
  .level-card { padding-left: 4px; padding-right: 4px; }
  .level-card span,.level-card small { font-size: 7px; }
  .level-card strong { font-size: 19px; }
  .next-payout strong { font-size: 15px; }
  .next-payout span { font-size: 10px; }
  .network-option strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-symbol,.preloader-line::after { animation: none; }
  .union-preloader { transition: none; }
}
@media (max-width: 700px) {
  .levels-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
  .level-card { grid-column: span 2; padding: 13px 8px; }
  .level-card:nth-child(n+4) { grid-column: span 3; }
  .level-card span { font-size: 10px; }
  .level-card small { font-size: 9px; }
  .level-card strong { font-size: 25px; }
}
/* Union Circle: independent sculptural motion with physically ordered overlap. */
.union-orbit-scene { position: absolute; width: 610px; aspect-ratio: 600 / 480; right: -30px; top: -47px; pointer-events: none; isolation: isolate; perspective: 1000px; }
.orbit-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.orbit-aura { position: absolute; inset: 7% 6% 1%; border-radius: 50%; background: radial-gradient(ellipse at 53% 48%,#b3dd7821, #8ba36208 47%, transparent 72%); animation: orbit-aura-breathe 12s ease-in-out infinite; }
.orbit-aura::after { content: ''; position: absolute; width: 64%; height: 12%; left: 23%; bottom: 9%; border-radius: 50%; background: #0307028c; filter: blur(17px); transform: rotate(-8deg); }
.orbit-ring { position: absolute; inset: 0; display: block; background-repeat: no-repeat; background-size: 100% 100%; transform-style: flat; backface-visibility: hidden; will-change: transform; }
.orbit-ring-chrome,.orbit-ring-shadow { background-image: url('/app/assets/orbit-chrome.svg'); transform-origin: 43.4% 44.4%; animation: orbit-chrome-drift 11s cubic-bezier(.45,0,.55,1) infinite; }
.orbit-ring-chrome { z-index: 1; filter: drop-shadow(4px 15px 9px #0005); }
.orbit-ring-mint { z-index: 2; background-image: url('/app/assets/orbit-mint.svg'); transform-origin: 57.8% 56.8%; filter: drop-shadow(4px 9px 7px #0005); animation: orbit-mint-drift 14s cubic-bezier(.45,0,.55,1) infinite; }
.orbit-ring-shadow { z-index: 3; clip-path: polygon(49.2% 0,100% 0,100% 58.3%,49.2% 58.3%); }
.orbit-ring::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(107deg, transparent 36%,#f1ffe205 42%,#fcfff58c 48%,#d6f5c438 51%,transparent 58%); background-size: 330% 100%; background-position: 100% 0; mix-blend-mode: screen; opacity: .57; mask-repeat: no-repeat; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; }
.orbit-ring-chrome::after,.orbit-ring-shadow::after { mask-image: url('/app/assets/orbit-chrome-mask.svg'); -webkit-mask-image: url('/app/assets/orbit-chrome-mask.svg'); animation: orbit-chrome-light 9s ease-in-out infinite; }
.orbit-ring-mint::after { mask-image: url('/app/assets/orbit-mint-mask.svg'); -webkit-mask-image: url('/app/assets/orbit-mint-mask.svg'); opacity: .36; animation: orbit-mint-light 12s ease-in-out infinite; }
.orbit-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d2f7a8; box-shadow: 0 0 15px #c7f59629; opacity: .43; }
.orbit-spark-one { left: 24%; top: 24%; animation: orbit-spark-one 16s ease-in-out infinite; }
.orbit-spark-two { right: 14%; bottom: 23%; width: 3px; height: 3px; opacity: .29; animation: orbit-spark-two 19s ease-in-out infinite; }
@keyframes orbit-chrome-drift { 0%,100% { transform: translate3d(-2px,1px,0) rotateX(7deg) rotateY(-9deg) rotateZ(-4deg); } 25% { transform: translate3d(1px,-7px,0) rotateX(-5deg) rotateY(5deg) rotateZ(2deg); } 50% { transform: translate3d(4px,-2px,0) rotateX(-3deg) rotateY(11deg) rotateZ(7deg); } 75% { transform: translate3d(1px,4px,0) rotateX(8deg) rotateY(-3deg) rotateZ(1deg); } }
@keyframes orbit-mint-drift { 0%,100% { transform: translate3d(1px,1px,0) rotateX(-5deg) rotateY(7deg) rotateZ(3deg); } 40% { transform: translate3d(-4px,-6px,0) rotateX(9deg) rotateY(-8deg) rotateZ(-5deg); } 75% { transform: translate3d(2px,-2px,0) rotateX(2deg) rotateY(-4deg) rotateZ(-1deg); } }
@keyframes orbit-chrome-light { 0%,100% { background-position: 100% 0; opacity: .35; } 50% { background-position: 0% 0; opacity: .6; } }
@keyframes orbit-mint-light { 0%,100% { background-position: 4% 0; } 50% { background-position: 95% 0; } }
@keyframes orbit-aura-breathe { 0%,100% { opacity: .6; transform: scale(.98); } 50% { opacity: .9; transform: scale(1.04); } }
@keyframes orbit-spark-one { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-11px,18px,0); } }
@keyframes orbit-spark-two { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(13px,-12px,0); } }
.document-hidden .union-orbit-scene *, .document-hidden .union-orbit-scene *::after, .union-orbit-scene.scene-paused *, .union-orbit-scene.scene-paused *::after { animation-play-state: paused !important; }
.referral-hero { min-height: 345px; padding: 39px; margin-bottom: 18px; border: 1px solid #4c623d; background: radial-gradient(ellipse at 82% 32%, #35492a, #1c2b1c 52%, #152016 84%); }
.referral-copy { z-index: 4; max-width: 55%; }
.referral-copy h2 { max-width: 510px; font-size: clamp(32px,3vw,42px); letter-spacing: -.05em; line-height: 1.1; margin-bottom: 16px; }
.referral-copy > p { max-width: 410px; font-size: 13px; line-height: 1.7; color: #b9c9ab; }
.referral-copy > .eyebrow { color: #c5e3ab; font-size: 10px; letter-spacing: .13em; margin-bottom: 13px; }
.referral-cta { display: inline-flex; min-height: 48px; margin-top: 9px; padding: 13px 22px; border-radius: 13px; box-shadow: 0 4px 25px #c7f59615; }
.referral-levels { margin: 29px 0; }
.referral-levels h2 { font-size: 20px; margin-bottom: 17px; letter-spacing: -.035em; }
.referral-level-card { position: relative; overflow: hidden; min-height: 154px; padding: 20px; border-radius: 19px; border: 1px solid #34452c; background: linear-gradient(145deg,#1d2b1d,#131c16); }
.referral-level-card:first-child { border-color: #8caa6e; background: linear-gradient(145deg,#344b2a,#20301e); }
.referral-level-card::after { content: ''; position: absolute; width: 75px; height: 75px; right: -29px; top: -29px; border: 1px solid #c7f59618; border-radius: 50%; box-shadow: 0 0 0 15px #c7f59604; }
.referral-level-card .level-number { display: block; margin: 0; color: #c7d6bc; font-size: 11px; line-height: 1.4; font-weight: 450; }
.referral-level-card .level-rate { display: block; margin: 13px 0 9px; color: var(--accent); font-size: 38px; font-weight: 500; letter-spacing: -.055em; line-height: 1.1; }
.referral-level-card .level-caption { display: block; margin: 0; color: #8d9f82; font-size: 10px; line-height: 1.5; }
.referral-example { display: flex; align-items: flex-start; gap: 13px; border: 1px solid #33452b; background: #172316; border-radius: 17px; padding: 19px 21px; margin: 21px 0; color: #b9caaa; font-size: 12px; line-height: 1.7; }
.referral-example .icon { width: 20px; height: 20px; color: #c6e5a8; margin-top: 1px; }
.referral-example p { margin: 0; }
.referral-example strong { color: #e2f2d6; font-weight: 550; }
/* Account panel opens from the profile avatar, keeping its controls in reach. */
.account-backdrop { display: flex; align-items: stretch; justify-content: flex-end; padding: 0; background: #030806ad; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.account-drawer { display: flex; flex-direction: column; position: relative; width: min(420px,100%); height: 100dvh; max-height: 100dvh; overflow: hidden; padding: calc(26px + env(safe-area-inset-top,0px)) 25px calc(22px + env(safe-area-inset-bottom,0px)); border-left: 1px solid #405038; background: radial-gradient(ellipse at 95% 0,#263721 0,#131c16 45%,#0e1712 100%); box-shadow: -30px 0 90px #0005; animation: drawer-enter .32s cubic-bezier(.22,1,.36,1) both; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 0 0 auto; margin-bottom: 27px; }
.drawer-header h2 { margin: 0; font-size: 22px; font-weight: 500; }
.drawer-header .icon-btn { width: 36px; height: 36px; background: #253220; color: #bdccb2; }
.drawer-header .icon-btn .icon { width: 18px; height: 18px; }
.drawer-profile { display: flex; align-items: center; gap: 15px; min-width: 0; padding: 0 2px 23px; }
.drawer-profile .profile-avatar,.drawer-profile .avatar { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 17px; background: #344b2c; font-size: 20px; }
.drawer-profile h3,.drawer-profile strong { display: block; margin: 0 0 3px; font-size: 18px; font-weight: 550; color: var(--text); }
.drawer-profile p,.drawer-profile small { margin: 0; color: #a2b096; font-size: 11px; line-height: 1.6; }
.drawer-profile .text-btn { margin-top: 3px; padding: 0; min-height: 28px; font-size: 10px; }
.drawer-balance { flex: 0 0 auto; border: 1px solid #3d5130; border-radius: 18px; background: linear-gradient(130deg,#2b3e24,#1f2e1c); padding: 19px 20px; margin: 0 0 20px; }
.drawer-balance .eyebrow,.drawer-balance > span,.drawer-balance small { display: block; color: #bacdab; font-size: 10px; letter-spacing: .01em; text-transform: none; margin: 0 0 8px; }
.drawer-balance .amount,.drawer-balance .stat-value,.drawer-balance > strong { display: block; font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.drawer-balance .currency { display: inline; font-size: 10px; color: #91a580; letter-spacing: 0; }
.drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 2px; scrollbar-width: thin; }
.drawer-body > button,.drawer-body > a { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 53px; padding: 12px; border: 0; border-radius: 12px; text-align: left; background: transparent; color: #c7d2be; font-size: 13px; transition: background .18s,color .18s; }
.drawer-body > button:hover,.drawer-body > a:hover,.drawer-body > .active { background: #253420; color: var(--accent); }
.drawer-body > button > .icon,.drawer-body > a > .icon { width: 21px; height: 21px; color: #99b184; }
.drawer-body > button > .icon:last-child,.drawer-body > a > .icon:last-child { width: 16px; height: 16px; margin-left: auto; color: #6e825e; }
.drawer-body > button > span,.drawer-body > a > span { flex: 1; }
.drawer-actions { flex: 0 0 auto; border-top: 1px solid var(--border); margin-top: 17px; padding-top: 15px; }
.drawer-actions .btn { width: 100%; }
@keyframes drawer-enter { from { opacity: .8; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
/* A bounded partner window replaces the long inline roster. */
.partners-modal { display: flex; flex-direction: column; width: min(100%,680px); max-height: min(760px,calc(100dvh - 56px)); overflow: hidden; padding: 25px; }
.partners-modal .modal-header { flex: 0 0 auto; margin-bottom: 18px; }
.partners-modal .modal-header h2 { font-size: 23px; }
.partners-modal .modal-body { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.partners-search { display: grid; grid-template-columns: minmax(0,1fr) 145px; gap: 10px; flex: 0 0 auto; margin-bottom: 17px; }
.partners-search input,.partners-search select { min-width: 0; width: 100%; min-height: 43px; border: 1px solid #3c4b34; border-radius: 11px; background: #0d170f; color: #dcebd1; padding: 11px 13px; font-size: 12px; }
.partners-search input::placeholder { color: #7b8b6f; }
.partner-results { flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px 8px 5px 1px; }
.partner-results .partner-row { gap: 12px; min-height: 71px; padding: 15px 0; }
.partner-results .partner-row:last-child { padding-bottom: 15px; }
.partner-results .profile-avatar { width: 36px; height: 36px; border-radius: 12px; flex-basis: 36px; font-size: 13px; }
.partner-results .partner-earned { flex-basis: 140px; max-width: 42%; }
.partner-pagination { display: flex; align-items: center; justify-content: space-between; gap: 13px; flex: 0 0 auto; padding-top: 17px; margin-top: 6px; border-top: 1px solid var(--border); }
.partner-pagination .btn,.partner-pagination button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 37px; min-width: 40px; padding: 9px 12px; border: 1px solid #344b2a; border-radius: 10px; background: #263922; color: #c5dfaF; font-size: 11px; }
.partner-pagination button:disabled { background: #172217; color: #586b4d; cursor: default; opacity: .7; }
.partner-pagination .icon { width: 16px; height: 16px; }
.pagination-label { font-size: 11px; color: #9dac90; text-align: center; line-height: 1.4; }
/* Eight locales fit four paired rows, including Тоҷикӣ. */
.onboarding .language-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.language-copy strong { overflow-wrap: normal; }
@media (max-width: 900px) and (min-width: 701px) {
  .union-orbit-scene { width: 490px; right: -86px; top: -11px; }
  .referral-hero { padding: 31px; min-height: 330px; }
  .referral-copy { max-width: 57%; }
  .referral-copy h2 { font-size: 34px; }
  .referral-copy > p { font-size: 12px; }
  .referral-level-card { padding: 16px 12px; }
  .referral-level-card .level-rate { font-size: 32px; }
}
@media (max-width: 700px) {
  .referral-hero { min-height: 0; padding: 235px 24px 26px; border-radius: 25px; margin-bottom: 16px; background: radial-gradient(ellipse at 65% 15%,#344a28,#1d2e1c 48%,#142115 100%); }
  .referral-copy { max-width: 100%; }
  .referral-copy > .eyebrow { margin-bottom: 10px; font-size: 9px; }
  .referral-copy h2 { max-width: 100%; font-size: 30px; margin-bottom: 13px; line-height: 1.12; }
  .referral-copy > p { max-width: 100%; font-size: 12px; line-height: 1.65; margin-bottom: 14px; }
  .referral-cta { width: 100%; min-height: 48px; margin-top: 5px; }
  .union-orbit-scene { width: 387px; max-width: none; height: 310px; right: auto; left: 50%; top: -21px; transform: translateX(-50%); perspective: 700px; }
  .orbit-aura::after { bottom: 10%; height: 10%; filter: blur(12px); }
  .referral-levels { margin: 26px 0; }
  .referral-levels h2 { font-size: 19px; margin-bottom: 15px; }
  .referral-level-card { min-height: 133px; padding: 17px 10px; border-radius: 16px; }
  .referral-level-card .level-number { font-size: 10px; }
  .referral-level-card .level-rate { font-size: 31px; margin: 12px 0 8px; }
  .referral-level-card .level-caption { font-size: 9px; }
  .referral-example { padding: 17px; font-size: 11px; gap: 10px; margin: 19px 0; }
  .referral-example .icon { width: 18px; height: 18px; }
  .account-drawer { width: min(375px,calc(100% - 22px)); padding: calc(23px + env(safe-area-inset-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px)); border-radius: 23px 0 0 23px; }
  .drawer-header { margin-bottom: 23px; }
  .drawer-header h2 { font-size: 20px; }
  .drawer-profile { padding-bottom: 20px; gap: 12px; }
  .drawer-profile h3,.drawer-profile strong { font-size: 17px; }
  .drawer-balance { padding: 18px; margin-bottom: 17px; }
  .drawer-body > button,.drawer-body > a { min-height: 50px; font-size: 12px; padding: 11px; }
  .partners-modal { max-height: calc(100dvh - 22px - env(safe-area-inset-top,0px)); padding: 23px 21px calc(24px + env(safe-area-inset-bottom,0px)); }
  .partners-modal .modal-header h2 { font-size: 21px; }
  .partners-search { grid-template-columns: minmax(0,1fr) 120px; gap: 8px; margin-bottom: 15px; }
  .partners-search input,.partners-search select { font-size: 12px; min-height: 43px; padding: 11px; }
  .partner-results { padding-right: 4px; }
  .partner-results .partner-row { gap: 9px; padding: 14px 0; }
  .partner-results .partner-earned { flex-basis: 116px; max-width: 43%; }
  .partner-pagination { gap: 8px; }
  .pagination-label { font-size: 10px; }
  .onboarding .language-option { min-height: 58px; }
}
@media (max-width: 380px) {
  .referral-hero { padding: 210px 21px 23px; }
  .union-orbit-scene { width: 346px; height: 277px; top: -20px; }
  .referral-copy h2 { font-size: 27px; }
  .referral-copy > p { font-size: 11px; }
  .referral-cta { font-size: 12px; }
  .referral-level-card { min-height: 122px; padding: 14px 7px; }
  .referral-level-card .level-rate { font-size: 28px; }
  .referral-level-card .level-number { font-size: 9px; }
  .referral-level-card .level-caption { font-size: 8px; }
  .account-drawer { width: calc(100% - 16px); padding-left: 17px; padding-right: 17px; border-radius: 20px 0 0 20px; }
  .drawer-profile .profile-avatar,.drawer-profile .avatar { width: 47px; height: 47px; flex-basis: 47px; border-radius: 15px; font-size: 18px; }
  .drawer-header { margin-bottom: 18px; }
  .drawer-balance { padding: 16px; margin-bottom: 14px; }
  .drawer-balance .amount,.drawer-balance .stat-value,.drawer-balance > strong { font-size: 25px; }
  .drawer-body > button,.drawer-body > a { min-height: 46px; font-size: 11px; }
  .partners-modal { padding-left: 17px; padding-right: 17px; }
  .partners-search { grid-template-columns: minmax(0,1fr) 108px; gap: 7px; }
  .partners-search input,.partners-search select { font-size: 11px; padding-left: 9px; padding-right: 8px; }
  .partner-results .partner-row { gap: 8px; }
  .partner-results .profile-avatar { width: 29px; height: 29px; flex-basis: 29px; border-radius: 9px; font-size: 11px; }
  .partner-results .partner-row strong { font-size: 11px; }
  .partner-results .partner-earned strong { font-size: 10px; }
  .partner-results .partner-earned { flex-basis: 104px; }
  .partner-pagination button { padding: 8px; font-size: 10px; }
}
@media (max-height: 650px) {
  .account-drawer { padding-top: calc(16px + env(safe-area-inset-top,0px)); }
  .drawer-header { margin-bottom: 14px; }
  .drawer-profile { padding-bottom: 14px; }
  .drawer-balance { padding: 13px 16px; margin-bottom: 12px; }
  .drawer-body > button,.drawer-body > a { min-height: 43px; padding-top: 9px; padding-bottom: 9px; }
  .drawer-actions { padding-top: 11px; margin-top: 11px; }
  .onboarding .language-option { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .union-orbit-scene *, .union-orbit-scene *::before, .union-orbit-scene *::after { animation: none !important; }
  .orbit-ring-chrome,.orbit-ring-shadow,.orbit-ring-mint { transform: none; will-change: auto; }
  .orbit-ring::after { opacity: .12; background-position: 50% 0; }
  .account-drawer { animation: none; }
}
html.reduce-motion .union-orbit-scene *,html.reduce-motion .union-orbit-scene *::before,html.reduce-motion .union-orbit-scene *::after { animation: none !important; }
html.reduce-motion .orbit-ring-chrome,html.reduce-motion .orbit-ring-shadow,html.reduce-motion .orbit-ring-mint { transform: none; will-change: auto; }
/* Actual referral and drawer controls. */
.referral-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 17px; padding: 6px 9px; border: 1px solid #a5ca7940; border-radius: 8px; background: #c7f5960a; color: #c8e6ad; font-size: 10px; line-height: 1.3; }
.referral-cta { display: flex; flex-wrap: wrap; gap: 9px; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; margin-top: 19px; }
.referral-cta > .btn { min-height: 46px; padding: 12px 16px; font-size: 12px; }
.referral-cta > .btn:first-child { background: var(--accent); }
.partner-stat-button { text-align: left; color: var(--text); font: inherit; transition: border-color .18s,background .18s; }
.partner-stat-button:hover { border-color: #597448; background: #19251a; }
.partner-stat-button .stat-detail { display: flex; align-items: center; gap: 5px; color: #a9c28f; }
.partner-stat-button .stat-detail .icon { width: 12px; height: 12px; }
.referral-explainer { max-width: 730px; font-size: 12px; line-height: 1.75; margin-bottom: 18px; }
.referral-example-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border: 1px solid #3e5430; border-radius: 12px; background: #283b21; }
.referral-example-icon .icon { margin: 0; width: 20px; height: 20px; }
.referral-example > div:nth-child(2) { flex: 1; min-width: 0; }
.referral-example h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 6px; color: #e3efd9; }
.referral-example > div:nth-child(2) > p { font-size: 12px; }
.referral-example > div:nth-child(2) > small { display: block; font-size: 10px; color: #788f68; margin-top: 8px; }
.referral-example-equation { display: flex; align-items: center; justify-content: center; gap: 13px; min-width: 190px; align-self: center; margin-left: 12px; padding: 16px; border: 1px solid #405632; background: #22321c; border-radius: 12px; }
.referral-example-equation > span,.referral-example-equation > strong { white-space: nowrap; font-size: 24px; line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.referral-example-equation > strong { color: var(--accent); }
.referral-example-equation small { display: block; font-size: 8px; margin-top: 7px; letter-spacing: .035em; color: #8eaa7a; }
.referral-example-equation .icon { margin: 0; width: 18px; height: 18px; color: #79936a; }
.partner-directory-card { display: flex; flex-direction: column; align-items: flex-start; }
.partner-directory-card .setting-icon { margin-bottom: 17px; }
.partner-directory-card h2 { font-size: 22px; margin-bottom: 8px; }
.partner-directory-card p { font-size: 12px; margin-bottom: 20px; }
.partner-directory-card > .btn { margin-top: auto; }
.partners-search { gap: 7px 10px; }
.partners-search label { display: block; font-size: 10px; color: #a0b191; }
.partner-search-label { grid-column: 1; grid-row: 1; }
.partner-level-label { grid-column: 2; grid-row: 1; }
.partners-search input { grid-column: 1; grid-row: 2; }
.partners-search select { grid-column: 2; grid-row: 2; }
.partner-result-count { flex: 0 0 auto; color: #809673; font-size: 10px; margin: -3px 0 9px; }
.drawer-balance > .row { margin-bottom: 10px; }
.drawer-balance > .row > span { font-size: 10px; color: #aec69b; }
.drawer-balance .icon-btn { width: 25px; height: 25px; min-height: 0; border: 0; background: transparent; color: #abc894; }
.drawer-balance .icon-btn .icon { width: 15px; height: 15px; }
.drawer-profile > div:last-child { min-width: 0; }
.drawer-profile h3,.drawer-profile strong { overflow-wrap: anywhere; }
.drawer-nav-item .setting-icon { flex-basis: 29px; width: 29px; height: 29px; background: transparent; border-radius: 8px; }
.drawer-nav-item .setting-icon .icon { width: 19px; height: 19px; }
@media (max-width: 700px) {
  .referral-kicker { margin-bottom: 13px; font-size: 9px; }
  .referral-cta { margin-top: 18px; }
  .referral-cta > .btn { width: 100%; min-height: 47px; font-size: 12px; }
  .referral-cta > .btn-secondary { background: #273824; border-color: #4b624036; min-height: 41px; font-size: 11px; }
  .referral-explainer { font-size: 11px; line-height: 1.7; margin-bottom: 15px; }
  .referral-example { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 11px; }
  .referral-example-icon { width: 31px; height: 31px; border-radius: 10px; }
  .referral-example-icon .icon { width: 17px; height: 17px; }
  .referral-example h3 { font-size: 16px; }
  .referral-example > div:nth-child(2) > p { font-size: 11px; }
  .referral-example > div:nth-child(2) > small { font-size: 9px; }
  .referral-example-equation { grid-column: 1 / -1; margin: 4px 0 0; min-width: 0; padding: 14px; gap: 22px; }
  .referral-example-equation > span,.referral-example-equation > strong { font-size: 25px; }
  .partner-directory-card h2 { font-size: 20px; }
  .partner-stats .stat-detail { font-size: 8px; line-height: 1.5; }
  .partner-stat-button .stat-detail .icon { width: 10px; height: 10px; }
  .partners-search label { font-size: 9px; }
}
/* Flatten the ring planes before compositing the deliberate front crossing. */
.orbit-stage { transform-style: flat; }
.orbit-ring-shadow { clip-path: polygon(49.2% 0,100% 0,100% 51%,49.2% 51%); }
.drawer-body > .drawer-nav-item > .setting-icon { flex: 0 0 29px; }
.drawer-body > .drawer-nav-item > span:not(.setting-icon) { flex: 1 1 auto; min-width: 0; text-align: left; }

/* Compact plan comparison: one rate, two facts, and a readable amount band. */
.plan-grid { align-items: stretch; }
.plan-card { display: flex; flex-direction: column; min-height: 0; padding: 20px; }
.plan-top { margin-bottom: 15px; }
.plan-number { color: #d4e0cb; font-size: 15px; }
.plan-rate { display: flex; align-items: baseline; gap: 8px; font-size: 40px; letter-spacing: -.035em; line-height: 1.05; }
.plan-rate > span { font-size: .58em; margin-left: 0; letter-spacing: 0; line-height: 1; }
.plan-desc { font-size: 11px; margin-top: 7px; }
.plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 19px 0 15px; padding-top: 14px; border-top: 1px solid var(--border); }
.plan-facts > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plan-facts > span:last-child { text-align: right; }
.plan-facts small { font-size: 10px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.plan-facts strong { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.plan-facts em { font-size: .8em; font-style: normal; margin-left: 4px; }
.plan-limit { margin-top: auto; padding: 8px 10px; background: #ffffff05; border: 1px solid var(--border); border-radius: 9px; font-size: 11px; color: #c8d7bd; line-height: 1.45; text-align: center; }
.plan-limit small { display: inline; color: var(--muted); font-size: .85em; margin-left: 3px; }
.form-error { padding: 11px 13px; border: 1px solid #714239; background: #34211e; border-radius: 10px; color: #f3bcb2; font-size: 12px; line-height: 1.5; }
.edit-plan-amount { margin-top: 14px; padding-left: 0; }
.payout-fields select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.payout-address { margin: 5px 0 13px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: #0d1413; }
.payout-address code { display: block; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.payout-confirmation { margin-top: 18px; }
.work-destination { margin-top: 15px; padding-top: 8px; border-top: 1px solid var(--border); }
.work-destination .info-row { font-size: 11px; }
.work-destination .info-row > * { min-width: 0; }
.work-destination .payout-address { margin-bottom: 0; }
.operation-info .operation-plan { display: block; font-size: 11px; line-height: 1.45; margin-top: 3px; color: #becfb0; overflow-wrap: anywhere; }
.operation-info .operation-plan + small { margin-top: 2px; }
.clipboard-proxy { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; padding: 0; border: 0; }
.partner-promo-tile { display: flex; align-items: center; gap: 20px; }
.partner-promo-tile > div { flex: 1; min-width: 0; }
.partner-promo-tile h2 { font-size: 20px; margin-bottom: 8px; }
.partner-promo-tile p { font-size: 12px; margin-bottom: 0; }
.partner-promo-tile > .setting-icon { flex-shrink: 0; }
@media (max-width: 760px) {
  .plan-card { padding: 16px 14px; }
  .plan-top { margin-bottom: 13px; }
  .plan-number { font-size: 14px; }
  .plan-rate { font-size: 34px; gap: 7px; }
  .plan-desc { font-size: 10px; }
  .plan-facts { margin: 15px 0 12px; padding-top: 11px; gap: 8px; }
  .plan-facts strong { font-size: 13px; }
  .plan-facts small { font-size: 9px; }
  .plan-limit { padding: 7px 4px; font-size: 10px; }
  .partner-promo-tile { flex-wrap: wrap; gap: 14px; }
  .partner-promo-tile > .btn { width: 100%; }
}
@media (max-width: 360px) {
  .plan-card { padding: 14px 11px; }
  .plan-number { font-size: 13px; }
  .plan-check { width: 16px; height: 16px; flex-basis: 16px; }
  .plan-rate { font-size: 31px; gap: 7px; }
  .plan-facts strong { font-size: 12px; }
  .plan-limit { font-size: 9px; }
  .operation-info .operation-plan { font-size: 10px; }
}
