:root {
  --ink: #10202a;
  --muted: #667781;
  --line: #dde7e8;
  --surface: #ffffff;
  --canvas: #f3f7f7;
  --navy: #07111d;
  --navy-2: #0b1b2a;
  --navy-3: #11283a;
  --mint: #38d9b5;
  --mint-dark: #168c78;
  --lime: #b8f35b;
  --blue: #5e9cff;
  --amber: #ffbd5a;
  --red: #ef6a6a;
  --purple: #9b81f4;
  --shadow: 0 18px 48px rgba(12, 34, 44, .09);
  --shadow-soft: 0 9px 28px rgba(12, 34, 44, .07);
  --radius: 20px;
  --radius-sm: 13px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, canvas, svg { display: block; max-width: 100%; }
code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #edf3f3;
  color: #1c6659;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
:focus-visible { outline: 3px solid rgba(56, 217, 181, .38); outline-offset: 2px; }

.icon { width: 19px; height: 19px; flex: 0 0 auto; }
.eyebrow {
  margin: 0 0 5px;
  color: #5c747c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.optional { color: #94a1a7; font-size: 11px; font-weight: 500; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4fffc;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand small { display: block; margin-top: -3px; color: #7f9aa7; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px 11px 11px 4px;
  color: #07111d;
  background: linear-gradient(140deg, var(--lime), var(--mint));
  box-shadow: 0 8px 22px rgba(56, 217, 181, .25);
  font-size: 17px;
  font-weight: 900;
}
.brand-large { font-size: 21px; }
.brand-large .brand-mark { width: 42px; height: 42px; border-radius: 14px 14px 14px 5px; }

.button {
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #06131a; background: linear-gradient(135deg, var(--lime), var(--mint)); box-shadow: 0 9px 22px rgba(41, 194, 162, .2); }
.button.primary:hover { box-shadow: 0 12px 27px rgba(41, 194, 162, .3); }
.button.ghost { color: #24414d; background: #fff; border-color: #dbe5e7; }
.button.danger-outline { color: #b84242; background: #fff8f8; border-color: #f2c9c9; }
.button.small { min-height: 36px; padding: 8px 13px; font-size: 12px; }
.button.full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: #188875; font-size: 12px; font-weight: 750; }
.text-link .icon { width: 15px; }
.icon-button {
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: #38515b;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.alert {
  position: relative;
  margin-bottom: 15px;
  padding: 12px 42px 12px 14px;
  border: 1px solid #cbdfe0;
  border-radius: 12px;
  background: #effafa;
  color: #205c58;
  font-weight: 650;
  box-shadow: var(--shadow-soft);
}
.alert.success { color: #176c55; background: #ebfbf4; border-color: #bcead8; }
.alert.danger { color: #9e3e3e; background: #fff1f1; border-color: #f2c5c5; }
.alert.warning { color: #835b18; background: #fff8e9; border-color: #efdcae; }
.alert button { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 21px; }

label { display: grid; gap: 6px; color: #304851; font-size: 12px; font-weight: 750; }
label small { color: #849298; font-size: 10px; font-weight: 500; }
input, select, textarea {
  width: 100%;
  min-height: 43px;
  border: 1px solid #d7e2e4;
  border-radius: 11px;
  color: #18303a;
  background: #fbfdfd;
  padding: 10px 12px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
textarea { min-height: 105px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: #60cbb7; background: #fff; box-shadow: 0 0 0 3px rgba(56, 217, 181, .12); }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; padding: 0; accent-color: #1eb99a; }
.form-stack { display: grid; gap: 14px; }
.form-grid { display: grid; gap: 13px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.form-submit { display: flex; align-items: end; }
.check-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.check-row label, .checkbox-field { display: flex; align-items: center; gap: 8px; }

/* Authentication */
.auth-page {
  min-height: 100vh;
  background: #07111d;
  color: #eaf7f5;
}
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr); }
.auth-story {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 82% 28%, rgba(56, 217, 181, .16), transparent 25%),
    radial-gradient(circle at 15% 82%, rgba(94, 156, 255, .13), transparent 28%),
    linear-gradient(145deg, #07111d, #0a1c2c 70%, #0d2734);
}
.story-copy { position: relative; z-index: 2; max-width: 670px; margin: auto 0; padding: 60px 0; }
.story-copy .eyebrow { color: #6fe0c8; }
.story-copy h1 { margin: 0 0 22px; max-width: 680px; font-size: clamp(42px, 6vw, 76px); line-height: .99; letter-spacing: -.065em; }
.story-copy h1 span { color: var(--mint); }
.story-copy > p:not(.eyebrow) { max-width: 590px; color: #a9c1ca; font-size: 16px; line-height: 1.75; }
.trust-row { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row span { padding: 9px 12px; border: 1px solid rgba(133, 181, 191, .17); border-radius: 99px; background: rgba(255,255,255,.045); color: #bed2d7; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }
.trust-row .icon { width: 15px; color: var(--mint); }
.story-orbit { position: absolute; border: 1px solid rgba(106, 221, 198, .12); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; right: -170px; top: 16%; box-shadow: 0 0 0 70px rgba(56,217,181,.025), 0 0 0 140px rgba(56,217,181,.018); }
.orbit-two { width: 230px; height: 230px; left: -100px; bottom: -70px; box-shadow: 0 0 0 50px rgba(94,156,255,.025); }
.auth-panel {
  width: 100%;
  max-width: 510px;
  margin: auto;
  padding: clamp(30px, 6vw, 75px);
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-panel .brand { display: none; color: var(--navy); margin-bottom: 42px; }
.auth-panel h2, .auth-panel h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.15; letter-spacing: -.04em; }
.auth-panel > .muted { margin: 0 0 24px; }
.auth-switch { margin: 22px 0 0; color: #7a898f; text-align: center; font-size: 12px; }
.auth-switch a { color: #178d77; font-weight: 800; }
.compact-shell { display: grid; place-items: center; padding: 25px; background: radial-gradient(circle at top, #123041, #07111d 60%); }
.compact-shell .auth-panel { min-height: auto; max-width: 540px; border-radius: 24px; box-shadow: 0 26px 80px rgba(0,0,0,.25); }
.compact-shell .auth-panel .brand { display: inline-flex; }

/* Main application */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: 248px;
  padding: 22px 15px 18px;
  display: flex;
  flex-direction: column;
  color: #d8e8e7;
  background:
    radial-gradient(circle at 0 25%, rgba(56,217,181,.08), transparent 27%),
    linear-gradient(180deg, #07111d, #091725 65%, #08131e);
  overflow-y: auto;
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 1px 7px 22px; }
.sidebar-close { display: none; color: #a9bdc4; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.balance-card { position: relative; overflow: hidden; margin-bottom: 18px; padding: 16px; border: 1px solid rgba(116,224,201,.14); border-radius: 17px; background: linear-gradient(135deg, rgba(56,217,181,.13), rgba(184,243,91,.05)); }
.balance-card::after { content: ""; position: absolute; width: 80px; height: 80px; right: -28px; top: -35px; border: 14px solid rgba(184,243,91,.05); border-radius: 50%; }
.balance-card p { margin: 0; color: #8faab1; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.balance-card strong { display: block; margin: 3px 0 8px; color: #fff; font-size: 31px; line-height: 1.1; letter-spacing: -.04em; }
.balance-card a { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); font-size: 11px; font-weight: 800; }
.balance-card .icon { width: 13px; }
.main-nav, .sidebar-foot { display: grid; gap: 4px; }
.main-nav a, .sidebar-foot a, .sidebar-foot button, .admin-nav a {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #8fa5ae;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  transition: .18s ease;
}
.main-nav a:hover, .sidebar-foot a:hover, .sidebar-foot button:hover, .admin-nav a:hover { color: #e9f8f5; background: rgba(255,255,255,.045); }
.main-nav a.active, .admin-nav a.active { color: #07171c; background: linear-gradient(135deg, var(--lime), var(--mint)); box-shadow: 0 8px 24px rgba(56,217,181,.16); }
.main-nav a.active .icon, .admin-nav a.active .icon { stroke-width: 2.2; }
.sidebar-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.sidebar-foot form { margin: 0; }
.sidebar-scrim { display: none; }
.content-shell { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 75px;
  padding: 13px clamp(18px, 3vw, 38px);
  border-bottom: 1px solid rgba(211,224,226,.8);
  background: rgba(248, 251, 251, .88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-title { display: flex; align-items: center; gap: 12px; }
.topbar-title h1 { margin: 0; font-size: 21px; line-height: 1.1; letter-spacing: -.035em; }
.menu-button { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.notification-button { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #516872; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(14,37,46,.04); }
.notification-button span { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid var(--canvas); border-radius: 99px; background: #ef6a6a; color: #fff; font-size: 8px; font-weight: 800; display: grid; place-items: center; }
.user-chip { padding: 4px 9px 4px 4px; border: 1px solid var(--line); border-radius: 13px; background: #fff; display: flex; align-items: center; gap: 9px; }
.user-chip > span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #0b2b29; background: linear-gradient(135deg, #caf996, #63dec4); font-weight: 850; }
.user-chip strong, .user-chip small { display: block; max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip strong { font-size: 11px; }
.user-chip small { color: #849298; font-size: 9px; }
.main-content { width: min(1420px, 100%); margin: 0 auto; padding: 26px clamp(18px, 3vw, 38px) 90px; }

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(25px, 4vw, 46px);
  border-radius: 25px;
  color: #effbf8;
  background:
    radial-gradient(circle at 77% 25%, rgba(56,217,181,.18), transparent 22%),
    linear-gradient(125deg, #0a1928 0%, #0d2735 55%, #0b3a3d 100%);
  box-shadow: 0 25px 60px rgba(12,38,47,.15);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
}
.hero-card::before { content: ""; position: absolute; inset: auto -8% -72% 35%; height: 290px; border: 1px solid rgba(156,243,220,.11); border-radius: 50%; box-shadow: 0 0 0 55px rgba(156,243,220,.025), 0 0 0 110px rgba(156,243,220,.018); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-copy .eyebrow { color: #7de6d1; }
.hero-copy h2 { margin: 0 0 12px; max-width: 660px; font-size: clamp(31px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy > p:not(.eyebrow) { max-width: 640px; color: #a9c1c7; font-size: 14px; }
.hero-actions { margin-top: 24px; display: flex; gap: 9px; flex-wrap: wrap; }
.hero-card .button.ghost { color: #d9e8e8; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
.hero-visual { position: relative; z-index: 2; width: 205px; height: 205px; margin: auto; display: grid; place-items: center; }
.mini-qr { width: 105px; height: 105px; padding: 13px; border-radius: 20px; background: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; box-shadow: 0 20px 45px rgba(0,0,0,.23); transform: rotate(4deg); }
.mini-qr i { border-radius: 3px; background: #0b2530; }
.mini-qr i:nth-child(2), .mini-qr i:nth-child(4), .mini-qr i:nth-child(8) { background: var(--mint); transform: scale(.55); }
.mini-qr.tiny { width: 70px; height: 70px; padding: 8px; gap: 4px; border-radius: 13px; box-shadow: none; transform: none; }
.visual-ring { position: absolute; inset: 0; border: 1px solid rgba(115,236,211,.19); border-radius: 50%; animation: slowSpin 16s linear infinite; }
.visual-ring::before { content: ""; position: absolute; top: 19px; left: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.visual-ring.ring-b { inset: 25px; animation-direction: reverse; animation-duration: 11s; }
@keyframes slowSpin { to { transform: rotate(360deg); } }

.stats-grid { margin: 17px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat-card { min-height: 115px; padding: 18px; border: 1px solid #e0e9ea; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; }
.stat-icon.mint { color: #11836e; background: #e1faf3; }
.stat-icon.blue { color: #3e72c3; background: #e8f0ff; }
.stat-icon.amber { color: #9b6a16; background: #fff4d9; }
.stat-icon.purple { color: #7053cc; background: #f0ecff; }
.stat-card p, .stat-card small { margin: 0; display: block; color: #7e8e94; }
.stat-card p { font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.stat-card strong { display: block; margin: 2px 0; font-size: 24px; line-height: 1.15; letter-spacing: -.04em; }
.stat-card small { font-size: 10px; }

.panel, .form-panel, .guide-card {
  border: 1px solid #dfe9ea;
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
}
.panel { padding: 20px; }
.guide-card { margin: 17px 0; padding: clamp(20px, 3vw, 30px); }
.section-heading { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.section-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.035em; }
.safe-badge { width: fit-content; padding: 7px 9px; border-radius: 99px; color: #24705f; background: #e8f8f3; display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.safe-badge .icon { width: 13px; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.step-grid article { min-height: 170px; padding: 17px; border: 1px solid #e3ebec; border-radius: 15px; background: linear-gradient(145deg, #fff, #f7faf9); }
.step-grid article > span { width: 32px; height: 25px; border-radius: 8px; color: #147963; background: #ddf7ef; display: grid; place-items: center; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.step-grid h3 { margin: 17px 0 6px; font-size: 15px; }
.step-grid p { margin: 0; color: #72838a; font-size: 11px; line-height: 1.6; }
.security-note { margin-top: 14px; padding: 12px 14px; border: 1px solid #cde9df; border-radius: 12px; color: #34655c; background: #f0faf7; display: flex; gap: 10px; align-items: flex-start; }
.security-note .icon { margin-top: 1px; color: #18a283; }
.security-note p { margin: 0; font-size: 11px; }
.security-note.compact { margin-top: 10px; }
.two-column-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.compact-list { display: grid; }
.compact-list > a, .compact-row { min-height: 59px; padding: 9px 2px; border-top: 1px solid #edf1f2; display: flex; align-items: center; gap: 10px; }
.compact-list > :first-child { border-top: 0; }
.compact-list > a > div, .compact-row > div { min-width: 0; flex: 1; }
.compact-list strong, .compact-list small, .compact-row strong, .compact-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-list strong, .compact-row strong { font-size: 11px; }
.compact-list small, .compact-row small { color: #87949a; font-size: 9px; }
.list-icon { width: 35px; height: 35px; border-radius: 10px; color: #248c78; background: #e6f7f3; display: grid; place-items: center; flex: 0 0 auto; }
.list-icon .icon { width: 16px; }
.list-icon.large { width: 44px; height: 44px; border-radius: 13px; }
.empty-state { min-height: 155px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #7b8b91; text-align: center; }
.empty-state.large { min-height: 310px; }
.empty-state > .icon { width: 27px; height: 27px; margin-bottom: 10px; color: #45bda5; }
.empty-state h3 { margin: 0 0 4px; color: #29424c; font-size: 14px; }
.empty-state p { margin: 0 0 14px; font-size: 11px; }

.status-pill { width: fit-content; flex: 0 0 auto; padding: 5px 8px; border-radius: 99px; color: #52666d; background: #ecf1f2; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.status-pill.queued, .status-pill.pending { color: #8d6318; background: #fff1d4; }
.status-pill.processing { color: #3568b0; background: #e5efff; }
.status-pill.ready, .status-pill.approved, .status-pill.available, .status-pill.active { color: #167459; background: #def7ed; }
.status-pill.rejected, .status-pill.cancelled, .status-pill.suspended { color: #a64040; background: #fee7e7; }
.status-pill.redeemed { color: #6856aa; background: #eeeaff; }

.page-intro { margin: 0 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-intro h2 { margin: 0 0 5px; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.045em; }
.page-intro > div:first-child > p:not(.eyebrow) { max-width: 690px; margin: 0; color: #718187; font-size: 12px; }
.credit-chip { min-width: 155px; padding: 10px 13px; border: 1px solid #dbe7e7; border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 9px; }
.credit-chip > .icon { width: 22px; color: #1c9b80; }
.credit-chip small, .credit-chip strong { display: block; }
.credit-chip small { color: #879399; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.credit-chip strong { font-size: 12px; }
.credit-chip.mini { min-width: 115px; box-shadow: none; }

.form-panel { overflow: hidden; }
.generation-form, .deposit-form { display: grid; }
.field-block { padding: clamp(20px, 3vw, 30px); border-bottom: 1px solid #e7eeee; }
.field-heading { margin-bottom: 17px; display: flex; align-items: flex-start; gap: 11px; }
.field-heading > span { width: 28px; height: 28px; border-radius: 9px; color: #106955; background: #dff8f1; display: grid; place-items: center; font-size: 10px; font-weight: 900; }
.field-heading h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.field-heading p { margin: 2px 0 0; color: #839096; font-size: 10px; }
.drop-zone { min-height: 175px; padding: 22px; border: 1.5px dashed #bcd4d4; border-radius: 16px; background: #f8fbfb; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; text-align: center; transition: .18s ease; }
.drop-zone:hover, .drop-zone.dragging { border-color: #3cc8ab; background: #f0fbf8; }
.drop-zone.has-file { border-style: solid; border-color: #55cdb4; background: #eefaf7; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-zone .drop-icon { width: 30px; height: 30px; margin-bottom: 9px; color: #22a88d; }
.drop-zone strong { color: #26434c; font-size: 13px; }
.drop-zone span { color: #8a989d; font-size: 10px; font-weight: 500; }
.drop-zone em { margin-top: 9px; padding: 4px 8px; border-radius: 7px; color: #247260; background: #e4f6f1; font-size: 9px; font-style: normal; }
.or-divider { margin: 17px 0; display: flex; align-items: center; gap: 12px; color: #96a2a6; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.or-divider::before, .or-divider::after { content: ""; height: 1px; flex: 1; background: #e5ecec; }
.method-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.method-choice { position: relative; min-height: 76px; padding: 12px; border: 1px solid #dfe8e9; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.method-choice input, .payment-card > input, .plan-card > input { position: absolute; opacity: 0; pointer-events: none; }
.method-choice > span:nth-of-type(2) { min-width: 0; }
.method-choice strong, .method-choice small { display: block; }
.method-choice strong { font-size: 12px; }
.method-choice small { color: #7a8b91; font-size: 9px; }
.method-choice > i { width: 20px; height: 20px; margin-left: auto; border: 1px solid #d7e2e3; border-radius: 50%; color: transparent; display: grid; place-items: center; }
.method-choice > i .icon { width: 12px; }
.method-choice:has(input:checked) { border-color: #36bea2; background: #f1fbf8; box-shadow: 0 0 0 2px rgba(56,217,181,.09); }
.method-choice:has(input:checked) > i { border-color: #31b596; color: #fff; background: #31b596; }
.method-choice.disabled { opacity: .5; cursor: not-allowed; }
.method-logo { width: 36px; height: 36px; border-radius: 11px; color: #136e5b; background: linear-gradient(135deg, #d8faef, #eaf7c9); display: grid; place-items: center; flex: 0 0 auto; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.method-logo.large { width: 52px; height: 52px; border-radius: 15px; font-size: 13px; }
.submit-strip { padding: 17px clamp(20px, 3vw, 30px); background: #f7faf9; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.submit-strip > div { display: flex; align-items: flex-start; gap: 10px; }
.cost-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(56,217,181,.13); }
.submit-strip p, .submit-strip small { margin: 0; display: block; }
.submit-strip p { font-size: 11px; }
.submit-strip small { color: #819095; font-size: 9px; }

.job-list, .admin-job-list, .admin-record-list { display: grid; gap: 14px; }
.job-card, .admin-job-card, .admin-record-card { padding: clamp(18px, 3vw, 25px); border: 1px solid #dfe8e9; border-radius: 19px; background: #fff; box-shadow: var(--shadow-soft); }
.job-card.focused { border-color: #5ecbb5; box-shadow: 0 0 0 3px rgba(56,217,181,.1), var(--shadow); }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.job-head > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.job-head h3 { margin: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { margin: 17px 0; padding: 11px 13px; border: 1px solid #e7eeee; border-radius: 12px; background: #fafcfc; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.job-meta span + span { padding-left: 12px; border-left: 1px solid #e3eaeb; }
.job-meta small, .job-meta strong { display: block; }
.job-meta small { color: #879399; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.job-meta strong { margin-top: 2px; font-size: 11px; }
.processing-track { min-height: 105px; padding: 17px; border: 1px solid #d9e9f2; border-radius: 15px; background: linear-gradient(135deg, #f3f9ff, #f2fbf8); display: flex; align-items: center; gap: 18px; }
.processing-track h4, .processing-track p { margin: 0; }
.processing-track h4 { font-size: 14px; }
.processing-track p:not(.eyebrow) { color: #74878e; font-size: 10px; }
.spinner-orbit { position: relative; width: 48px; height: 48px; border: 2px solid #cfe5e7; border-top-color: #32bea0; border-radius: 50%; animation: slowSpin 1.2s linear infinite; flex: 0 0 auto; }
.spinner-orbit i { position: absolute; inset: 10px; border-radius: 50%; background: #d9f6ef; }
.result-box { padding: 18px; border: 1px solid #c8ebdf; border-radius: 16px; background: linear-gradient(135deg, #f0fbf7, #f8fcf2); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.result-copy { min-width: 0; display: flex; align-items: flex-start; gap: 12px; }
.success-icon { width: 39px; height: 39px; border-radius: 12px; color: #fff; background: #2fc09f; display: grid; place-items: center; flex: 0 0 auto; }
.result-copy h4, .result-copy p { margin: 0; }
.result-copy h4 { font-size: 16px; }
.result-copy p:not(.eyebrow) { margin-top: 3px; color: #6a817d; font-size: 10px; }
.result-actions { margin-top: 13px; display: flex; gap: 8px; flex-wrap: wrap; }
.result-qr { width: 148px; height: 148px; padding: 5px; border-radius: 13px; background: #fff; box-shadow: 0 9px 23px rgba(19,89,77,.12); flex: 0 0 auto; }
.rejected-box { padding: 15px; border: 1px solid #f1d0d0; border-radius: 14px; background: #fff6f6; display: flex; gap: 11px; }
.rejected-box > span { width: 34px; height: 34px; border-radius: 10px; color: #b24444; background: #fee3e3; display: grid; place-items: center; flex: 0 0 auto; }
.rejected-box h4, .rejected-box p { margin: 0; }
.rejected-box h4 { font-size: 13px; }
.rejected-box p { color: #8c6666; font-size: 10px; }

.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plan-card { position: relative; min-height: 130px; padding: 17px; border: 1px solid #dfe8e9; border-radius: 15px; background: #fff; cursor: pointer; }
.plan-card .plan-check { position: absolute; top: 11px; right: 11px; width: 20px; height: 20px; border: 1px solid #d6e2e3; border-radius: 50%; color: transparent; display: grid; place-items: center; }
.plan-check .icon { width: 12px; }
.plan-card > small { color: #75868c; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.plan-card > strong { display: block; margin: 10px 0 0; font-size: 24px; letter-spacing: -.05em; }
.plan-card > p { margin: 0; color: #26866f; font-size: 11px; font-weight: 800; }
.plan-card:has(input:checked) { border-color: #3fc4a7; background: linear-gradient(145deg, #f1fcf8, #f9fdef); box-shadow: 0 0 0 2px rgba(56,217,181,.09); }
.plan-card:has(input:checked) .plan-check { border-color: #2fba9a; color: #fff; background: #2fba9a; }
.payment-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.payment-card { position: relative; overflow: hidden; min-width: 0; padding: 15px; border: 1px solid #dfe8e9; border-radius: 16px; background: #fff; cursor: pointer; }
.payment-card:has(input:checked) { border-color: #3fc4a7; box-shadow: 0 0 0 2px rgba(56,217,181,.09); }
.payment-card.disabled { opacity: .55; cursor: not-allowed; }
.payment-head { display: flex; align-items: center; gap: 10px; }
.payment-head > div { min-width: 0; flex: 1; }
.payment-head strong, .payment-head small { display: block; }
.payment-head strong { font-size: 12px; }
.payment-head small { color: #809096; font-size: 8px; }
.payment-head > i { width: 20px; height: 20px; border: 1px solid #d4e0e1; border-radius: 50%; color: transparent; display: grid; place-items: center; }
.payment-head > i .icon { width: 12px; }
.payment-card:has(input:checked) .payment-head > i { border-color: #2fba9a; color: #fff; background: #2fba9a; }
.payment-qr { width: 130px; height: 130px; margin: 16px auto; border: 7px solid #f5f8f8; border-radius: 12px; object-fit: contain; }
.qr-placeholder { min-height: 130px; margin: 13px 0; border: 1px dashed #d5e2e3; border-radius: 13px; background: #f9fbfb; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #85949a; }
.qr-placeholder small { font-size: 8px; }
.business-id { padding: 9px; border-radius: 10px; background: #f3f7f7; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.business-id span { min-width: 0; }
.business-id small, .business-id strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.business-id small { color: #859398; font-size: 7px; text-transform: uppercase; letter-spacing: .07em; }
.business-id strong { font-size: 10px; }
.business-id button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: #258c76; background: #dff5ef; display: grid; place-items: center; cursor: pointer; }
.business-id button .icon { width: 14px; }
.payment-card > p { margin: 9px 0 0; color: #7a8a90; font-size: 9px; font-weight: 500; }
.exact-payment-notice { margin: 20px clamp(20px, 3vw, 30px) 0; padding: 14px; border: 1px solid #eed7a8; border-radius: 13px; background: #fff8e8; display: flex; gap: 11px; }
.exact-payment-notice > span { width: 27px; height: 27px; border-radius: 9px; color: #fff; background: #db9c2e; display: grid; place-items: center; font-weight: 900; }
.exact-payment-notice strong, .exact-payment-notice p { margin: 0; }
.exact-payment-notice em { color: #bd7316; font-style: normal; }
.exact-payment-notice p { color: #866f4c; font-size: 10px; }
.deposit-form > label { margin: 15px clamp(20px, 3vw, 30px) 0; }
.deposit-form > .button { margin: 15px clamp(20px, 3vw, 30px) clamp(20px, 3vw, 30px); justify-self: start; }
.history-panel { margin-top: 17px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th { padding: 10px 12px; border-bottom: 1px solid #dfe7e8; color: #7f8d92; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
td { padding: 12px; border-bottom: 1px solid #edf1f2; color: #40565f; font-size: 10px; vertical-align: middle; }
td strong, td small { display: block; }
td strong { color: #263e47; font-size: 11px; }
td small { margin-top: 2px; color: #8a969b; font-size: 8px; }
tr:last-child td { border-bottom: 0; }

.referral-hero { position: relative; overflow: hidden; min-height: 260px; margin-bottom: 16px; padding: clamp(24px, 4vw, 40px); border-radius: 23px; color: #effaf8; background: linear-gradient(130deg, #0a1a28, #0b3238); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.referral-hero::before { content: ""; position: absolute; width: 270px; height: 270px; right: -80px; top: -100px; border: 45px solid rgba(56,217,181,.055); border-radius: 50%; }
.referral-hero > div { position: relative; z-index: 2; }
.referral-hero > div:first-child { max-width: 720px; }
.referral-hero .eyebrow { color: #78dec9; }
.referral-hero h2 { margin: 0 0 8px; font-size: clamp(27px, 4vw, 43px); line-height: 1.06; letter-spacing: -.05em; }
.referral-hero p:not(.eyebrow) { max-width: 650px; color: #a9c1c5; font-size: 11px; }
.copy-field { margin-top: 20px; max-width: 620px; padding: 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.07); display: flex; }
.copy-field input { min-width: 0; border: 0; color: #d7e8e5; background: transparent; box-shadow: none; font-size: 10px; }
.copy-field button { border: 0; border-radius: 9px; color: #0b2327; background: var(--mint); display: flex; align-items: center; gap: 6px; padding: 0 12px; cursor: pointer; font-size: 10px; font-weight: 800; }
.copy-field button .icon { width: 14px; }
.reward-orb { width: 155px; height: 155px; border: 1px solid rgba(117,235,210,.28); border-radius: 50%; background: rgba(56,217,181,.08); box-shadow: 0 0 0 18px rgba(56,217,181,.025), 0 0 0 36px rgba(56,217,181,.017); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; }
.reward-orb small, .reward-orb span { color: #8fc1b9; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.reward-orb strong { font-size: 29px; letter-spacing: -.05em; }
.referral-stats { margin-top: 0; }

.notification-list { display: grid; gap: 10px; }
.notification-card { padding: 16px; border: 1px solid #dfe8e9; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); display: flex; align-items: flex-start; gap: 12px; }
.notification-card.unread { border-left: 3px solid #2fc09f; }
.notification-card.danger { border-left-color: #e56666; }
.notification-card.warning { border-left-color: #e9a93c; }
.notification-icon { width: 36px; height: 36px; border-radius: 11px; color: #268c77; background: #e1f6f1; display: grid; place-items: center; flex: 0 0 auto; }
.notification-icon .icon { width: 17px; }
.notification-card > div { min-width: 0; flex: 1; }
.notification-card > div > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.notification-card h3, .notification-card p { margin: 0; }
.notification-card h3 { font-size: 13px; }
.notification-card p { margin: 4px 0 7px; color: #718289; font-size: 10px; }
.notification-card time { color: #919da1; font-size: 8px; }

.profile-grid { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 17px; }
.profile-card { padding: 27px; border: 1px solid #dfe8e9; border-radius: 20px; background: linear-gradient(150deg, #fff, #f6faf9); box-shadow: var(--shadow-soft); text-align: center; }
.profile-avatar { width: 76px; height: 76px; margin: 0 auto 13px; border-radius: 23px; color: #0b2a29; background: linear-gradient(135deg, #c9f78e, #5fe1c5); box-shadow: 0 12px 27px rgba(56,217,181,.2); display: grid; place-items: center; font-size: 27px; font-weight: 900; }
.profile-avatar.small { width: 43px; height: 43px; margin: 0; border-radius: 13px; font-size: 16px; }
.profile-card h2, .profile-card > p { margin: 0; }
.profile-card h2 { font-size: 21px; }
.profile-card > p { color: #74868d; font-size: 10px; }
.profile-card .safe-badge { margin: 13px auto 20px; }
.profile-card dl { margin: 0; display: grid; text-align: left; }
.profile-card dl > div { padding: 10px 0; border-top: 1px solid #e7eeee; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-card dt { color: #819096; font-size: 9px; }
.profile-card dd { margin: 0; font-size: 10px; font-weight: 750; }
.ledger-list { display: grid; }
.ledger-list > div { min-height: 58px; padding: 9px 0; border-top: 1px solid #ebf0f1; display: flex; align-items: center; gap: 10px; }
.ledger-list > div:first-child { border-top: 0; }
.ledger-list > div > div { min-width: 0; flex: 1; }
.ledger-list strong, .ledger-list small { display: block; }
.ledger-list strong { font-size: 11px; }
.ledger-list small { color: #879399; font-size: 9px; }
.ledger-list b { font-size: 11px; }
.ledger-list b.positive { color: #18876e; }
.ledger-list b.negative { color: #b34d4d; }

.telegram-fab { position: fixed; z-index: 35; right: 22px; bottom: 22px; height: 45px; padding: 0 14px; border-radius: 99px; color: #fff; background: #249bd7; box-shadow: 0 14px 30px rgba(36,155,215,.3); display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; }
.telegram-fab .icon { width: 20px; }
.mobile-nav { display: none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: -70px; transform: translateX(-50%); min-width: 210px; padding: 10px 14px; border-radius: 11px; color: #fff; background: #10252d; box-shadow: 0 15px 35px rgba(0,0,0,.25); opacity: 0; text-align: center; font-size: 11px; font-weight: 750; transition: .25s ease; }
.toast.show { bottom: 26px; opacity: 1; }

/* Administrator */
.admin-sidebar { width: 262px; }
.admin-shell { grid-template-columns: 262px minmax(0, 1fr); }
.admin-identity { margin-bottom: 13px; padding: 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.035); display: flex; align-items: center; gap: 9px; }
.admin-identity > span { width: 34px; height: 34px; border-radius: 10px; color: #092222; background: linear-gradient(135deg, #baf36e, #51d8ba); display: grid; place-items: center; font-weight: 900; }
.admin-identity strong, .admin-identity small { display: block; }
.admin-identity strong { font-size: 11px; }
.admin-identity small { color: #78939d; font-size: 8px; }
.admin-nav { display: grid; gap: 2px; }
.admin-nav > p { margin: 15px 10px 5px; color: #5e7883; font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.admin-nav a { min-height: 39px; }
.admin-nav a b { min-width: 20px; height: 20px; margin-left: auto; padding: 0 5px; border-radius: 99px; color: #5b3710; background: #ffca6b; display: grid; place-items: center; font-size: 8px; }
.admin-nav a.active b { color: #fff; background: rgba(7,17,29,.75); }
.system-state { padding: 7px 10px; border: 1px solid #dce6e6; border-radius: 99px; color: #63747b; background: #fff; display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 750; }
.system-state i { width: 7px; height: 7px; border-radius: 50%; background: #35bd96; box-shadow: 0 0 0 4px rgba(53,189,150,.12); }
.system-state.offline i { background: #e4a13e; box-shadow: 0 0 0 4px rgba(228,161,62,.12); }
.admin-welcome { min-height: 155px; margin-bottom: 16px; padding: 26px; border-radius: 20px; color: #edf8f6; background: linear-gradient(125deg, #0a1b29, #0e343a); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-welcome .eyebrow { color: #72dbc5; }
.admin-welcome h2 { margin: 0 0 5px; font-size: 28px; letter-spacing: -.045em; }
.admin-welcome p:not(.eyebrow) { margin: 0; color: #a5bcc2; font-size: 11px; }
.admin-quick-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-welcome .button.ghost { color: #d6e7e5; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
.admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-record-card, .admin-job-card { padding: 20px; }
.record-summary { display: flex; align-items: center; gap: 11px; }
.record-summary > div { min-width: 0; flex: 1; }
.record-summary h3, .record-summary p { margin: 0; }
.record-summary h3 { font-size: 15px; }
.record-summary p:not(.eyebrow) { color: #77878d; font-size: 10px; }
.record-details { margin: 15px 0; padding: 12px; border: 1px solid #e6edee; border-radius: 12px; background: #fafcfc; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.record-details > div + div { padding-left: 11px; border-left: 1px solid #e4ebec; }
.record-details small, .record-details strong { display: block; }
.record-details small { color: #89969a; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.record-details strong { margin-top: 3px; font-size: 10px; }
.decision-form { padding-top: 13px; border-top: 1px solid #e8eeee; }
.decision-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.admin-note { padding: 10px 12px; border-radius: 10px; background: #f5f8f8; }
.admin-note strong { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.admin-note p { margin: 2px 0 0; color: #687980; font-size: 10px; }
.filter-tabs { padding: 4px; border: 1px solid #dce6e7; border-radius: 11px; background: #fff; display: flex; gap: 2px; }
.filter-tabs a { padding: 7px 10px; border-radius: 8px; color: #708087; font-size: 9px; font-weight: 750; }
.filter-tabs a.active { color: #136e5a; background: #e4f7f2; }
.admin-job-card .job-head p:not(.eyebrow) { margin: 2px 0 0; color: #7c8c92; font-size: 9px; }
.payload-panel { margin: 15px 0; padding: 13px; border: 1px solid #dfe9ea; border-radius: 13px; background: #f8fbfb; }
.payload-head { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.payload-head strong, .payload-head small { display: block; }
.payload-head strong { font-size: 10px; }
.payload-head small { color: #89969a; font: 8px ui-monospace, monospace; }
.payload-panel textarea { min-height: 135px; color: #2a4b52; background: #fff; font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.payload-panel form .button { margin-top: 8px; }
.job-decision-form { padding-top: 14px; border-top: 1px solid #e7eeee; display: grid; gap: 11px; }
.job-decision-form > .button { justify-self: end; }
.required-result { color: #187c68; }
.final-result { padding: 11px; border-radius: 11px; background: #f2f8f7; display: flex; align-items: center; gap: 12px; }
.final-result span { flex: 1; }
.final-result small, .final-result strong { display: block; }
.final-result small { color: #849298; font-size: 8px; text-transform: uppercase; }
.final-result strong { font-size: 11px; }
.final-result p { width: 100%; margin: 0; color: #74868c; font-size: 10px; }
.search-form { display: flex; gap: 7px; }
.search-form input { min-width: 240px; }
.create-panel { margin-bottom: 15px; padding: 0; overflow: hidden; }
.create-panel summary { padding: 17px 19px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 11px; }
.create-panel summary::-webkit-details-marker { display: none; }
.create-panel summary > .icon:first-child { width: 25px; color: #20977f; }
.create-panel summary > span { flex: 1; }
.create-panel summary strong, .create-panel summary small { display: block; }
.create-panel summary strong { font-size: 13px; }
.create-panel summary small { color: #859298; font-size: 9px; }
.create-panel summary > .icon:last-child { width: 16px; transition: transform .2s ease; }
.create-panel[open] summary > .icon:last-child { transform: rotate(90deg); }
.detail-form { padding: 18px; border-top: 1px solid #e7eeee; background: #fbfdfd; }
.user-admin-grid, .method-admin-grid, .plan-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.user-admin-card { padding: 17px; border: 1px solid #dfe8e9; border-radius: 17px; background: #fff; box-shadow: var(--shadow-soft); }
.user-card-head { display: flex; align-items: center; gap: 10px; }
.user-card-head > div { min-width: 0; flex: 1; }
.user-card-head h3, .user-card-head p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-card-head h3 { font-size: 13px; }
.user-card-head p { color: #829096; font-size: 9px; }
.user-card-stats { margin: 14px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.user-card-stats > div { padding: 7px 9px; border-left: 1px solid #e5ecec; }
.user-card-stats > div:first-child { border-left: 0; padding-left: 0; }
.user-card-stats small, .user-card-stats strong { display: block; }
.user-card-stats small { color: #89969a; font-size: 7px; text-transform: uppercase; }
.user-card-stats strong { font-size: 13px; }
.user-admin-card details { border-top: 1px solid #e7eeee; }
.user-admin-card details summary { padding: 11px 0; cursor: pointer; list-style: none; color: #277963; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 800; }
.user-admin-card details summary::-webkit-details-marker { display: none; }
.user-admin-card details summary .icon { width: 14px; }
.compact-form { padding: 12px; border-radius: 11px; background: #f7faf9; }
.user-admin-card footer { padding-top: 10px; border-top: 1px solid #e7eeee; color: #879399; display: flex; justify-content: space-between; gap: 10px; font-size: 8px; }
.method-admin-card, .plan-admin-card { padding: 18px; }
.disable-inline { margin-top: 9px; display: flex; justify-content: flex-end; }
.method-admin-head { margin-bottom: 15px; display: flex; align-items: center; gap: 11px; }
.method-admin-head img { width: 58px; height: 58px; border: 5px solid #f2f6f6; border-radius: 13px; object-fit: contain; }
.method-admin-head > div { min-width: 0; flex: 1; }
.method-admin-head h3, .method-admin-head p { margin: 0; }
.method-admin-head h3 { font-size: 15px; }
.method-admin-head p:not(.eyebrow) { color: #809096; font-size: 9px; }
.plan-admin-card > div:first-child { margin-bottom: 14px; }
.plan-admin-card h3 { margin: 0; font-size: 15px; }
.plan-admin-card > div:first-child > strong { font-size: 24px; letter-spacing: -.04em; }
.plan-admin-card > div:first-child > strong small { color: #368975; font-size: 11px; letter-spacing: 0; }
.notification-admin-grid { align-items: start; }
.sent-notification-list { max-height: 640px; overflow-y: auto; display: grid; }
.sent-notification-list article { padding: 11px 0; border-top: 1px solid #ebf0f1; display: flex; gap: 9px; }
.sent-notification-list article:first-child { border-top: 0; }
.sent-notification-list article > div { min-width: 0; flex: 1; }
.sent-notification-list article > div > div { display: flex; justify-content: space-between; gap: 10px; }
.sent-notification-list strong { font-size: 10px; }
.sent-notification-list small { color: #909ba0; font-size: 8px; }
.sent-notification-list p { margin: 2px 0 5px; color: #718188; font-size: 9px; }
.sent-notification-list em { padding: 3px 6px; border-radius: 6px; color: #27816d; background: #eaf7f3; font-size: 7px; font-style: normal; font-weight: 800; }
.activity-list { display: grid; }
.activity-list article { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid #ebf0f1; }
.activity-list article:last-child { border-bottom: 0; }
.activity-dot { position: absolute; left: 2px; top: 18px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #36b99b; box-shadow: 0 0 0 3px #ddf4ee; }
.activity-list article > div > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-list strong { font-size: 11px; }
.activity-list time { color: #89969a; font-size: 8px; }
.activity-list p { margin: 2px 0 4px; color: #78888e; font-size: 9px; }
.activity-list code { display: inline-block; max-width: 100%; }
.settings-panel { max-width: 1050px; }
.settings-section { padding: 21px 0; border-bottom: 1px solid #e6eeee; display: grid; gap: 15px; }
.settings-section:first-child { padding-top: 0; }
.settings-section > div:first-child { display: flex; align-items: center; gap: 11px; }
.settings-section > div:first-child > div { flex: 1; }
.settings-section h3, .settings-section p { margin: 0; }
.settings-section h3 { font-size: 14px; }
.settings-section p { color: #819096; font-size: 9px; }
.maintenance-settings > div:first-child { flex-wrap: wrap; }
.switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 40px; height: 22px; border-radius: 99px; background: #cbd7d8; transition: .2s ease; }
.switch span::after { content: ""; position: absolute; width: 17px; height: 17px; left: 3px; top: 2.5px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: .2s ease; }
.switch input:checked + span { background: #2cbb9b; }
.switch input:checked + span::after { transform: translateX(17px); }
.switch em { color: #65767c; font-size: 9px; font-style: normal; }
.maintenance { min-height: 100vh; padding: 20px; color: #e8f6f4; background: radial-gradient(circle at top, #12313e, #07111d 60%); display: grid; place-items: center; }
.maintenance-card { max-width: 560px; padding: 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.055); box-shadow: 0 25px 70px rgba(0,0,0,.25); text-align: center; }
.maintenance-card .brand-mark { margin: 0 auto 20px; }
.maintenance-card .eyebrow { color: #6ee0c8; }
.maintenance-card h1 { margin: 0 0 9px; font-size: 34px; }
.maintenance-card p:not(.eyebrow) { color: #9eb7bd; }

@media (max-width: 1180px) {
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-details > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 920px) {
  .app-shell, .admin-shell { display: block; }
  .content-shell { min-height: 100vh; }
  .sidebar { width: min(285px, 88vw); transform: translateX(-105%); box-shadow: 25px 0 70px rgba(0,0,0,.22); transition: transform .23s ease; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-close, .menu-button { display: grid; }
  .sidebar-scrim { position: fixed; z-index: 45; inset: 0; background: rgba(2,12,18,.55); opacity: 0; pointer-events: none; display: block; transition: opacity .22s ease; }
  .sidebar-open .sidebar-scrim { opacity: 1; pointer-events: auto; }
  .hero-card { grid-template-columns: minmax(0, 1fr) 190px; }
  .hero-visual { width: 170px; height: 170px; }
  .user-admin-grid, .method-admin-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 270px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 13px; }
  .auth-shell { display: block; }
  .auth-story { display: none; }
  .auth-panel { max-width: none; min-height: 100vh; padding: 28px 22px; }
  .auth-panel .brand { display: inline-flex; }
  .auth-panel h2 { font-size: 27px; }
  .topbar { min-height: 65px; padding: 10px 13px; }
  .topbar-title .eyebrow { display: none; }
  .topbar-title h1 { font-size: 18px; }
  .user-chip > div { display: none; }
  .user-chip { padding: 3px; border: 0; background: transparent; }
  .user-chip > span { width: 35px; height: 35px; }
  .system-state { display: none; }
  .main-content { padding: 17px 12px 95px; }
  .hero-card { min-height: 330px; padding: 24px; grid-template-columns: 1fr; }
  .hero-copy h2 { font-size: 34px; }
  .hero-visual { display: none; }
  .stats-grid, .admin-stats { grid-template-columns: 1fr; gap: 9px; }
  .stat-card { min-height: 90px; padding: 14px; }
  .step-grid, .two-column-grid, .method-choice-grid, .payment-method-grid, .profile-grid, .plan-admin-grid { grid-template-columns: 1fr; }
  .step-grid article { min-height: 140px; }
  .page-intro { align-items: flex-start; flex-direction: column; }
  .page-intro > .credit-chip { width: 100%; }
  .page-intro > .button { width: 100%; }
  .filter-tabs { width: 100%; overflow-x: auto; }
  .filter-tabs a { flex: 1 0 auto; text-align: center; }
  .form-grid.two, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .form-submit .button { width: 100%; }
  .submit-strip { align-items: stretch; flex-direction: column; }
  .submit-strip .button { width: 100%; }
  .job-meta { grid-template-columns: 1fr; }
  .job-meta span + span { padding: 6px 0 0; border-left: 0; border-top: 1px solid #e3eaeb; }
  .result-box { align-items: stretch; flex-direction: column; }
  .result-qr { margin: 0 auto; }
  .result-actions .button { flex: 1; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card { min-height: 120px; padding: 14px; }
  .referral-hero { align-items: flex-start; flex-direction: column; }
  .reward-orb { width: 120px; height: 120px; align-self: center; }
  .copy-field button span { display: none; }
  .notification-card > div > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .record-summary { align-items: flex-start; flex-wrap: wrap; }
  .record-summary .status-pill { margin-left: 55px; }
  .record-details { grid-template-columns: 1fr; }
  .record-details > div + div { padding: 6px 0 0; border-left: 0; border-top: 1px solid #e4ebec; }
  .decision-actions { align-items: stretch; flex-direction: column-reverse; }
  .decision-actions .button { width: 100%; }
  .admin-welcome { align-items: flex-start; flex-direction: column; }
  .admin-quick-actions { width: 100%; }
  .admin-quick-actions .button { flex: 1; }
  .search-form { width: 100%; }
  .search-form input { min-width: 0; }
  .user-card-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .user-card-stats > div { border: 0; padding: 6px; border-radius: 8px; background: #f5f8f8; }
  .payload-head { align-items: flex-start; flex-direction: column; }
  .mobile-nav { position: fixed; z-index: 34; inset: auto 8px 8px; height: 63px; padding: 6px; border: 1px solid rgba(218,230,231,.9); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 15px 38px rgba(17,48,58,.16); backdrop-filter: blur(15px); display: grid; grid-template-columns: repeat(5, 1fr); }
  .mobile-nav a { position: relative; border-radius: 12px; color: #849399; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 7px; font-weight: 750; }
  .mobile-nav a .icon { width: 18px; height: 18px; }
  .mobile-nav a.active { color: #106f5b; background: #e5f8f3; }
  .telegram-fab { right: 13px; bottom: 83px; width: 43px; padding: 0; justify-content: center; }
  .telegram-fab span { display: none; }
  .toast.show { bottom: 82px; }
  .admin-page .main-content { padding-bottom: 30px; }
  .admin-page .telegram-fab { bottom: 16px; }
}

@media (max-width: 430px) {
  .topbar-actions { gap: 4px; }
  .notification-button { width: 36px; height: 36px; }
  .hero-copy h2 { font-size: 31px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .guide-card, .panel, .job-card, .admin-job-card, .admin-record-card { border-radius: 16px; }
  .section-heading { align-items: flex-start; }
  .section-heading .safe-badge { display: none; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-card > strong { font-size: 21px; }
  .processing-track { align-items: flex-start; }
  .result-copy { flex-direction: column; }
  .result-actions { flex-direction: column; }
  .referral-hero { padding: 22px; }
  .copy-field input { font-size: 8px; }
  .profile-card { padding: 22px; }
  .admin-welcome h2 { font-size: 24px; }
}

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