:root {
  --ink: #18221e;
  --muted: #68756f;
  --green: #0b4734;
  --green-2: #146b4f;
  --mint: #dff5e9;
  --cream: #f4f1e9;
  --orange: #f2a44b;
  --white: #ffffff;
  --line: #e5e9e6;
  --danger: #a13d3d;
  --shadow: 0 18px 50px rgba(21, 49, 39, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #e9ece9;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fbfcfa;
  position: relative;
  box-shadow: 0 0 45px rgba(17, 47, 36, .08);
}

.topbar {
  height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 250, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 233, 230, .75);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--green); text-decoration: none; font: 800 21px "Manrope", sans-serif; }
.brand-mark { width: 31px; height: 31px; border-radius: 10px 10px 10px 3px; display: grid; place-items: center; color: white; background: var(--green); font-size: 17px; }
.avatar-button { border: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 800; }

main { padding-bottom: 94px; }
.screen { display: none; padding: 18px 18px 28px; animation: rise .25s ease; }
.screen.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.hero-card { position: relative; overflow: hidden; min-height: 338px; border-radius: 30px 30px 30px 8px; padding: 31px 25px; background: var(--green); color: white; box-shadow: var(--shadow); }
.eyebrow { display: block; position: relative; z-index: 2; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; opacity: .8; }
.eyebrow.dark { color: var(--green-2); opacity: 1; }
.hero-card h1 { position: relative; z-index: 2; max-width: 350px; margin: 16px 0 13px; font: 800 clamp(35px, 10vw, 48px)/1.02 "Manrope", sans-serif; letter-spacing: -.045em; }
.hero-card p { position: relative; z-index: 2; max-width: 305px; margin: 0; color: #d5e4dc; line-height: 1.55; }
.hero-actions { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 27px; }
.hero-orb { position: absolute; border-radius: 50%; }
.orb-one { width: 190px; height: 190px; right: -82px; top: 28px; background: rgba(102, 201, 153, .14); border: 1px solid rgba(205, 243, 223, .14); }
.orb-two { width: 125px; height: 125px; right: 30px; bottom: -68px; background: var(--orange); opacity: .85; }
.rewards-hero { min-height: 0; padding: 27px 22px 24px; background: radial-gradient(circle at 100% 0, rgba(93, 184, 139, .22), transparent 31%), linear-gradient(145deg, #073d2d 0%, #0b523b 100%); }
.rewards-kicker { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rewards-kicker b { padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.09); color: #f7cf87; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.rewards-hero h1 { margin: 14px 0 8px; font-size: clamp(37px, 10vw, 51px); }
.hero-card p.rewards-lead { max-width: 355px; color: #d5e9df; font-size: 13px; line-height: 1.45; }
.reward-poster-list { position: relative; z-index: 2; display: grid; gap: 8px; margin-top: 19px; }
.reward-poster-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 11px; padding: 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.075); backdrop-filter: blur(4px); }
.reward-poster-item.featured { border-color: rgba(247, 207, 135, .5); background: linear-gradient(100deg, rgba(242,164,75,.24), rgba(255,255,255,.08)); }
.reward-poster-icon { width: 56px; min-height: 45px; display: grid; place-items: center; border-radius: 12px; background: #f6d28f; color: #174633; font: 800 12px "Manrope", sans-serif; letter-spacing: -.02em; }
.reward-poster-item.featured .reward-poster-icon { background: var(--orange); }
.reward-poster-item b, .reward-poster-item small { display: block; }
.reward-poster-item b { font: 800 12px/1.25 "Manrope", sans-serif; }
.reward-poster-item small { margin-top: 3px; color: #cce1d7; font-size: 9px; line-height: 1.4; }
.reward-poster-note { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; margin-top: 11px; color: #cce1d7; font-size: 9px; }
.reward-poster-note span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #f7cf87; font-weight: 800; }
.rewards-hero .hero-actions { margin-top: 17px; }
.rewards-hero .orb-one { right: -110px; top: 80px; }
.rewards-hero .orb-two { right: -14px; bottom: -83px; opacity: .35; }

.button { border: 0; border-radius: 14px; min-height: 48px; padding: 0 18px; font-weight: 700; transition: transform .16s ease, filter .16s ease; }
.button:active { transform: scale(.98); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button-light { background: white; color: var(--green); }
.button-ghost { color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.button-primary { color: white; background: var(--green); }
.button-secondary { color: var(--green); background: var(--mint); margin-top: 10px; }
.button-danger { color: var(--danger); background: #fff0f0; margin-top: 20px; }
.full { width: 100%; }

.trust-strip { margin: 15px 0 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trust-strip > div { padding: 14px 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.trust-icon { flex: 0 0 31px; height: 31px; display: grid; place-items: center; background: var(--mint); color: var(--green); border-radius: 50%; font-weight: 800; }
.trust-strip b, .trust-strip small { display: block; }
.trust-strip b { font-size: 12px; }
.trust-strip small { font-size: 10px; color: var(--muted); margin-top: 2px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 3px 17px; }
.section-heading h2, .page-intro h1 { font: 800 26px/1.2 "Manrope", sans-serif; letter-spacing: -.035em; margin: 6px 0 0; }
.text-button { border: 0; background: none; color: var(--green-2); font-weight: 700; padding: 8px 0; }
.search-box { height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.search-box span { font-size: 24px; color: var(--green); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.chips { display: flex; gap: 8px; padding: 13px 0 17px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 700; }
.chip.active { color: white; border-color: var(--green); background: var(--green); }

.rate-lookup { margin-bottom: 15px; padding: 15px; border: 1px solid #cfe0d7; border-radius: 18px; background: #f4faf6; }
.rate-lookup-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rate-lookup-heading b, .rate-lookup-heading small { display: block; }
.rate-lookup-heading b { font-size: 14px; }
.rate-lookup-heading small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.rate-lookup-heading > span { flex: 0 0 auto; padding: 5px 7px; border-radius: 8px; background: var(--mint); color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.rate-lookup-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.rate-lookup-fields label { display: grid; gap: 6px; color: #39443f; font-size: 10px; font-weight: 700; }
.rate-lookup-fields label:last-child { grid-column: 1 / -1; }
.rate-lookup-fields input, .rate-lookup-fields select { padding: 11px 12px; }
.rate-rule-hint { display: block; margin: 8px 1px 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.rate-result { margin-top: 11px; padding: 12px 13px; border: 1px solid #b8dac8; border-radius: 14px; background: white; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rate-result > div { min-width: 0; flex: 1; }
.rate-result span, .rate-result small { display: block; color: var(--muted); font-size: 9px; }
.rate-result strong { display: block; margin: 3px 0; color: var(--green); font-size: 22px; }
.rate-result.invalid { border-color: #e7b7b7; background: #fff7f7; }
.rate-result.invalid strong { color: var(--danger); }
.rate-trade-button { flex: 0 0 auto; min-width: 82px; height: 44px; padding: 0 15px; border: 0; border-radius: 12px; color: white; background: var(--green); font-weight: 800; }
.rate-trade-button:disabled { cursor: not-allowed; color: #96a29c; background: #e8eeea; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gift-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 8px 22px rgba(16, 49, 36, .045); }
.card-art { margin: 8px; height: 105px; border-radius: 14px; padding: 14px; color: white; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.card-art::after { content: ""; width: 88px; height: 88px; position: absolute; right: -27px; bottom: -28px; border-radius: 50%; background: rgba(255,255,255,.16); }
.card-art span { font: 800 17px "Manrope", sans-serif; position: relative; z-index: 1; }
.card-art small { font-size: 9px; opacity: .8; position: relative; z-index: 1; }
.gift-card-body { padding: 4px 12px 13px; }
.gift-card-body h3 { margin: 0; font-size: 14px; }
.meta { margin: 4px 0 11px; color: var(--muted); font-size: 11px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.price-row b { font-size: 15px; color: var(--green); }
.sell-card-button { min-width: 54px; height: 34px; padding: 0 12px; border: 0; border-radius: 11px; color: white; background: var(--green); font-size: 10px; font-weight: 800; }

.page-intro { padding: 10px 4px 21px; }
.page-intro p { margin: 9px 0 0; color: var(--muted); line-height: 1.5; }
.wallet-intro { padding: 4px 4px 15px; }
.wallet-intro h1 { font-size: 23px; }
.wallet-intro p { max-width: 440px; margin-top: 6px; font-size: 11px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 19px; box-shadow: 0 10px 30px rgba(16, 49, 36, .045); }
.form-stack { display: grid; gap: 16px; }
.form-stack label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: #39443f; }
input, select, textarea { width: 100%; border: 1px solid #dce2de; border-radius: 13px; outline: 0; padding: 13px 14px; color: var(--ink); background: #fbfcfa; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(20, 107, 79, .08); }
input:disabled, select:disabled { cursor: not-allowed; color: #919b96; background: #f1f3f1; }
input[readonly] { cursor: default; }
.field-help { color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.35; }
.calculated-input { color: var(--green); background: #edf8f2; border-color: #b8dac8; font-weight: 800; }
.calculated-input.quote-error { color: var(--danger); background: #fff4f4; border-color: #e7b7b7; }
.locked-field { min-height: 52px; padding: 10px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #cfe0d7; border-radius: 13px; background: #f4faf6; color: var(--green); }
.locked-field > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); }
.locked-field > div { flex: 1; }
.locked-field b, .locked-field small { display: block; }
.locked-field small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 500; }
.locked-field strong { padding: 5px 7px; border-radius: 99px; background: var(--mint); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.sell-value-fields { display: grid; grid-template-columns: 1fr; gap: 14px; }
.notice { display: flex; gap: 10px; align-items: start; background: #fff8e9; color: #745d2f; border-radius: 14px; padding: 12px; }
.notice span { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f7dfad; font-weight: 800; }
.notice p { margin: 1px 0 0; font-size: 11px; line-height: 1.45; }
.notice.safe { margin: 18px 0; background: #ecf8f1; color: var(--green); }
.notice.safe span { background: #caebd9; }

.physical-uploads { padding: 14px; border: 1px solid #cfe0d7; border-radius: 17px; background: #f4faf6; }
.upload-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 12px; }
.upload-heading b, .upload-heading small { display: block; }
.upload-heading b { font-size: 13px; }
.upload-heading small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.upload-heading > span { padding: 5px 8px; border-radius: 99px; background: var(--mint); color: var(--green); font-size: 9px; font-weight: 800; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.image-upload { min-height: 126px; display: grid !important; place-items: center; overflow: hidden; position: relative; border: 1px dashed #9abaaa; border-radius: 14px; background: white; cursor: pointer; }
.image-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.image-upload img { width: 100%; height: 126px; object-fit: cover; }
.upload-placeholder { display: grid; place-items: center; gap: 3px; padding: 12px; text-align: center; }
.upload-placeholder b { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 18px; }
.upload-placeholder strong { margin-top: 4px; font-size: 11px; }
.upload-placeholder small { color: var(--muted); font-size: 8px; font-weight: 500; }
.image-upload.has-image .upload-placeholder { display: none; }
.upload-warning { margin: 10px 0 0; color: #8a6431; font-size: 9px; line-height: 1.45; }
.upload-placeholder em { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 600; }
.code-only-panel { padding: 13px; border: 1px solid #dbe7e0; border-radius: 14px; background: #f6faf8; }
.optional-label { margin-left: 5px; color: var(--green-2); font-size: 8px; font-weight: 700; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: #edf0ed; margin-bottom: 16px; }
.segmented button { border: 0; padding: 11px; background: transparent; color: var(--muted); border-radius: 11px; font-weight: 700; }
.segmented button.active { background: white; color: var(--green); box-shadow: 0 3px 10px rgba(16,49,36,.08); }
.order-item { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-bottom: 10px; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.order-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: white; font-weight: 800; }
.order-copy { min-width: 0; flex: 1; }
.order-copy b, .order-copy small { display: block; }
.order-copy small { margin-top: 3px; color: var(--muted); }
.customer-rejection-reason { width: 100%; padding: 9px 10px; border-radius: 10px; background: #fff0f0; color: var(--danger); font-size: 9px; line-height: 1.4; }
.customer-rejection-reason b, .customer-rejection-reason span { display: block; }
.customer-rejection-reason span { margin-top: 3px; color: #814444; }
.rejection-evidence-image { width: 100%; max-height: 220px; margin-top: 9px; object-fit: contain; border: 1px solid #e7c7c7; border-radius: 10px; background: white; }
.status { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; border-radius: 99px; color: var(--green); background: var(--mint); }
.orders-empty { padding: 45px 20px; text-align: center; color: var(--muted); }
.orders-empty span { width: 58px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 25px; }
.orders-empty h3 { color: var(--ink); margin: 0 0 6px; }
.orders-empty p { margin: 0; font-size: 13px; }

.account-intro { display: flex; align-items: center; gap: 15px; }
.large-avatar { width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-items: center; border-radius: 20px 20px 20px 6px; color: white; background: var(--green); font: 800 23px "Manrope", sans-serif; }
.account-panel h3 { margin: 0 0 7px; }
.account-panel > p { color: var(--muted); line-height: 1.5; font-size: 13px; margin: 0 0 18px; }
.verified-row { display: flex; align-items: center; gap: 12px; padding: 13px; margin-bottom: 12px; border-radius: 14px; background: var(--mint); color: var(--green); }
.verified-row > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: white; font-weight: 800; }
.verified-row b, .verified-row small { display: block; }
.verified-row small { opacity: .7; margin-top: 3px; }
.account-detail { display: flex; justify-content: space-between; gap: 20px; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 12px; }
.account-detail span { color: var(--muted); }
.account-detail b { text-align: right; }
.account-rewards { margin-top: 15px; padding: 14px; border-radius: 16px; background: #f2f8f4; }
.account-rewards-title b, .account-rewards-title small { display: block; }
.account-rewards-title b { color: var(--green); font: 800 14px "Manrope", sans-serif; }
.account-rewards-title small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.account-reward-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 13px 0 9px; }
.account-reward-stats > div { padding: 11px; border: 1px solid #dce9e1; border-radius: 12px; background: white; }
.account-reward-stats > div:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.account-reward-stats span, .account-reward-stats b { display: block; }
.account-reward-stats span { color: var(--muted); font-size: 8px; }
.account-reward-stats b { margin-top: 4px; color: var(--green); font-size: 16px; }
.referral-share-card { padding: 11px; border: 1px solid #cfe0d7; border-radius: 13px; background: #e5f3eb; }
.referral-share-card > span { display: block; margin-bottom: 7px; color: var(--green); font-size: 9px; font-weight: 700; }
.referral-share-card > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.referral-code { min-height: 42px; display: flex; align-items: center; padding: 0 13px; border: 1px dashed #82aa96; border-radius: 10px; background: white; color: var(--green); font: 800 15px "Manrope", sans-serif; letter-spacing: .12em; }
.referral-share-card button { min-width: 66px; border: 0; border-radius: 10px; background: var(--green); color: white; font-size: 10px; font-weight: 800; }
.account-rewards small.referral-help { display: block; margin-top: 8px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.admin-entry { margin-top: 12px; }
.admin-entry h3 { margin: 7px 0 5px; }
.admin-entry p { margin: 0 0 13px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.wallet-signin { padding: 38px 22px; text-align: center; }
.wallet-signin-icon { width: 62px; height: 62px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 20px; background: var(--mint); color: var(--green); font: 800 25px "Manrope", sans-serif; }
.wallet-signin h3 { margin: 0 0 7px; }
.wallet-signin p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.wallet-balance-card { position: relative; overflow: hidden; margin-bottom: 12px; padding: 22px; border-radius: 23px; color: white; background: linear-gradient(145deg, #0b4734, #146b4f); box-shadow: 0 15px 35px rgba(11, 71, 52, .18); }
.wallet-balance-card::after { content: "₦"; position: absolute; right: -4px; top: -38px; color: rgba(255,255,255,.07); font: 800 150px "Manrope", sans-serif; }
.wallet-balance-card > span { position: relative; z-index: 1; font-size: 11px; opacity: .76; }
.wallet-balance-card h2 { position: relative; z-index: 1; margin: 6px 0 5px; font: 800 31px "Manrope", sans-serif; letter-spacing: -.04em; }
.wallet-balance-card > p { position: relative; z-index: 1; margin: 0; font-size: 10px; opacity: .7; }
.wallet-balance-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 19px; }
.wallet-balance-stats > div { min-width: 0; padding: 10px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.08); }
.wallet-balance-stats small, .wallet-balance-stats b { display: block; }
.wallet-balance-stats small { min-height: 22px; font-size: 8px; opacity: .7; line-height: 1.3; }
.wallet-balance-stats b { overflow: hidden; margin-top: 4px; font-size: 10px; text-overflow: ellipsis; }
.wallet-balance-actions { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wallet-balance-actions button { min-height: 38px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: white; background: rgba(255,255,255,.1); font-size: 9px; font-weight: 800; }
.wallet-balance-actions button:first-child { color: var(--green); background: white; }
.wallet-balance-actions button:disabled { cursor: not-allowed; opacity: .45; }
.withdrawal-form { margin-bottom: 27px; }
.withdrawal-form-muted { background: #fbfcfb; box-shadow: none; }
.withdrawal-form h3 { margin: 5px 0 4px; font-size: 17px; }
.withdrawal-form > div > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.withdraw-amount-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.withdraw-amount-control button { min-width: 62px; border: 0; border-radius: 13px; color: white; background: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.withdraw-amount-control button:disabled { cursor: not-allowed; opacity: .45; }
.wallet-empty-help { color: var(--muted); text-align: center; font-size: 9px; line-height: 1.45; }
.bank-accounts-panel { margin-bottom: 12px; }
.bank-section-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.bank-section-heading h3 { margin: 5px 0 4px; font-size: 17px; }
.bank-section-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.bank-section-actions { flex: 0 0 auto; display: grid; justify-items: end; gap: 6px; }
.bank-section-actions span { padding: 5px 7px; border-radius: 9px; background: var(--mint); color: var(--green); font-size: 8px; font-weight: 800; }
.bank-section-actions button { border: 0; padding: 4px 0; color: var(--green-2); background: transparent; font-size: 8px; font-weight: 800; }
.bound-bank-list { display: grid; gap: 7px; margin: 14px 0; }
.bound-bank-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfb; }
.bank-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--green); font-size: 13px; font-weight: 800; }
.bound-bank-card b, .bound-bank-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bound-bank-card b { font-size: 10px; }
.bound-bank-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.bound-bank-card button { border: 0; background: none; color: var(--danger); font-size: 8px; font-weight: 700; }
.no-bound-bank { display: flex; align-items: center; gap: 8px; margin: 13px 0; padding: 11px; border-radius: 12px; background: #f4f6f4; color: var(--muted); }
.no-bound-bank span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: white; color: var(--green); font-size: 16px; }
.no-bound-bank p { margin: 0; font-size: 9px; }
.bind-bank-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bind-bank-form h4 { margin: 0; font-size: 12px; }
.withdraw-account-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.withdraw-account-fieldset legend { margin-bottom: 7px; font-size: 11px; font-weight: 700; }
.withdraw-account-options { display: grid; gap: 7px; }
.withdraw-account-option { display: grid !important; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfb; cursor: pointer; }
.withdraw-account-option:has(input:checked) { border-color: var(--green-2); background: #f0f8f4; box-shadow: 0 0 0 2px rgba(20,107,79,.06); }
.withdraw-account-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--green); }
.withdraw-account-option b, .withdraw-account-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.withdraw-account-option b { font-size: 10px; }
.withdraw-account-option small { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 500; }
.no-withdraw-account { padding: 12px; border-radius: 12px; background: #fff3df; color: #805b25; font-size: 9px; line-height: 1.4; }
.wallet-activity .section-heading { margin-bottom: 12px; }
.wallet-activity .section-heading h2 { margin-top: 4px; font-size: 19px; }
.wallet-transaction { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.wallet-transaction-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; font-weight: 800; }
.wallet-transaction-icon.credit { color: var(--green); background: var(--mint); }
.wallet-transaction-icon.reward { color: #7a501b; background: #fff0d9; }
.wallet-transaction-icon.withdrawal { color: #8a5b20; background: #fff0d9; }
.wallet-transaction-copy { min-width: 0; }
.wallet-transaction-copy b, .wallet-transaction-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-transaction-copy b { font-size: 11px; }
.wallet-transaction-copy small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.wallet-transaction > strong { font-size: 10px; white-space: nowrap; }
.wallet-transaction > strong.credit { color: var(--green); }
.wallet-transaction > strong.reward { color: #a86819; }
.wallet-transaction > strong.withdrawal { color: #8a5b20; }
.wallet-receipt-button { grid-column: 2 / -1; position: relative; overflow: hidden; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f4; cursor: zoom-in; }
.wallet-receipt { display: block; width: 100%; max-height: 150px; object-fit: cover; }
.wallet-receipt-button > span { position: absolute; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 999px; color: white; background: rgba(8,29,21,.72); font-size: 8px; font-weight: 800; }
.image-lightbox { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 54px 16px 24px; background: rgba(4,16,11,.9); }
.image-lightbox-content { display: grid; justify-items: center; max-width: min(960px,100%); max-height: 100%; }
.image-lightbox-content img { display: block; max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; background: white; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.image-lightbox-content p { margin: 12px 0 0; color: white; font-size: 10px; }
.image-lightbox-close { position: fixed; z-index: 1; top: 15px; right: 15px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: white; background: rgba(255,255,255,.12); font-size: 24px; }

.admin-screen { padding-top: 9px; }
.admin-topline { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 5px 1px 19px; }
.admin-topline h1 { margin: 4px 0 0; font: 800 24px "Manrope", sans-serif; letter-spacing: -.03em; }
.back-button { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--green); font-size: 20px; }
.demo-badge { padding: 6px 9px; border-radius: 99px; background: #fff0d9; color: #8a5b20; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.admin-stats > div { min-width: 0; padding: 12px 10px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.admin-stats span, .admin-stats b { display: block; }
.admin-stats span { min-height: 25px; color: var(--muted); font-size: 9px; line-height: 1.25; }
.admin-stats b { margin-top: 5px; color: var(--green); font: 800 22px "Manrope", sans-serif; }
.admin-tabs { grid-template-columns: repeat(3, 1fr); }
.admin-tabs button { padding: 10px 3px; font-size: 9px; }
.admin-section-title { display: flex; justify-content: space-between; align-items: end; margin: 19px 2px 12px; }
.admin-section-title h2 { margin: 4px 0 0; font: 800 19px "Manrope", sans-serif; }
.admin-section-title span { color: var(--muted); font-size: 10px; }
.review-card { margin-bottom: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.review-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.review-head h3 { margin: 0; font-size: 14px; }
.review-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.review-price { color: var(--green); font-size: 13px; white-space: nowrap; }
.review-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.review-details div { padding: 8px; border-radius: 10px; background: #f4f6f4; }
.review-details span, .review-details b { display: block; }
.review-details span { color: var(--muted); font-size: 8px; }
.review-details b { overflow: hidden; margin-top: 3px; font-size: 10px; text-overflow: ellipsis; }
.review-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 11px 0; }
.review-images figure { margin: 0; }
.review-images img { width: 100%; height: 105px; object-fit: cover; border-radius: 11px; border: 1px solid var(--line); }
.review-images figcaption { margin-top: 3px; color: var(--muted); text-align: center; font-size: 8px; }
.review-images figure:only-child { grid-column: 1 / -1; }
.review-note { padding: 9px 10px; border-radius: 10px; background: #fff8e9; color: #735c31; font-size: 10px; line-height: 1.4; }
.code-evidence { margin: 10px 0; padding: 11px; border-radius: 11px; background: #eef6ff; border: 1px solid #cddff2; }
.code-evidence span, .code-evidence code { display: block; }
.code-evidence span { color: #55718c; font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.code-evidence code { margin-top: 5px; color: #193b5a; font-size: 11px; overflow-wrap: anywhere; }
.rejection-reason { margin-top: 10px; padding: 9px 10px; border-radius: 10px; background: #fff0f0; color: #814444; font-size: 10px; line-height: 1.4; }
.rejection-reason b, .rejection-reason span { display: block; }
.rejection-reason span { margin-top: 3px; }
.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.review-actions button { min-height: 39px; border: 0; border-radius: 11px; font-size: 11px; font-weight: 800; }
.approve-button { background: var(--green); color: white; }
.reject-button { background: #fff0f0; color: var(--danger); }
.price-form { margin-bottom: 12px; }
.price-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-form-grid label:last-child { grid-column: 1 / -1; }
.csv-upload { margin-top: 12px; padding: 12px; border: 1px dashed #a8b8b0; border-radius: 13px; background: #f8faf8; }
.csv-upload label { display: flex; justify-content: space-between; gap: 10px; align-items: center; cursor: pointer; }
.csv-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.csv-upload b, .csv-upload small { display: block; }
.csv-upload small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.csv-upload span { padding: 7px 9px; border-radius: 9px; background: var(--mint); color: var(--green); font-size: 9px; font-weight: 800; white-space: nowrap; }
.template-link { display: block; color: var(--green-2); text-align: center; text-decoration: none; font-size: 10px; font-weight: 800; }
.template-link:hover { text-decoration: underline; }
.price-row-admin { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 12px 3px; border-bottom: 1px solid var(--line); }
.price-row-admin b, .price-row-admin small { display: block; }
.price-row-admin small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.price-row-admin > strong { color: var(--green); font-size: 12px; }
.icon-delete { width: 30px; height: 30px; border: 0; border-radius: 9px; background: #fff0f0; color: var(--danger); }
.status.approved { background: var(--mint); color: var(--green); }
.status.rejected { background: #fff0f0; color: var(--danger); }
.status.pending { background: #fff0d9; color: #8a5b20; }

.bottom-nav { position: fixed; z-index: 25; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 540px); height: 77px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(18px); padding-bottom: env(safe-area-inset-bottom); }
.nav-item { border: 0; background: none; color: #89938e; display: grid; place-items: center; gap: 3px; }
.nav-item span { font-size: 22px; line-height: 1; }
.nav-item small { font-size: 9px; font-weight: 700; }
.nav-item.active { color: var(--green); }

.modal-backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(8, 29, 21, .62); display: grid; align-items: end; justify-items: center; padding: 18px 0 0; }
.modal { width: min(100%, 540px); max-height: 93vh; overflow-y: auto; border-radius: 28px 28px 0 0; background: white; padding: 29px 22px calc(28px + env(safe-area-inset-bottom)); position: relative; animation: slideUp .26s ease; }
@keyframes slideUp { from { transform: translateY(40px); opacity: .7; } to { transform: translateY(0); opacity: 1; } }
.modal h2 { font: 800 27px "Manrope", sans-serif; letter-spacing: -.03em; margin: 7px 0 5px; }
.modal > p { color: var(--muted); margin: 0 0 20px; font-size: 13px; }
.modal-close { position: absolute; right: 18px; top: 17px; border: 0; width: 36px; height: 36px; border-radius: 50%; background: #eff2ef; font-size: 22px; color: var(--muted); }
.phone-input { display: flex; align-items: center; overflow: hidden; border: 1px solid #dce2de; border-radius: 13px; background: #fbfcfa; }
.phone-input:focus-within { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(20,107,79,.08); }
.phone-input span { padding-left: 12px; white-space: nowrap; font-weight: 600; }
.phone-input input { border: 0; box-shadow: none; padding-left: 8px; }
.verification-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.verification-input-row button { min-width: 92px; border: 0; border-radius: 12px; padding: 0 14px; background: var(--green); color: #fff; font-weight: 700; cursor: pointer; }
.verification-input-row button:disabled { cursor: wait; opacity: .55; }
.verification-field { margin: 0; }
.account-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin: 18px 0; }
.account-legal-links a, .checkbox-row a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.checkbox-row { display: flex !important; grid-template-columns: auto 1fr; align-items: start; font-weight: 500 !important; line-height: 1.45; }
.checkbox-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.text-switch { width: 100%; margin-top: 18px; border: 0; background: none; color: var(--muted); font-size: 12px; }
.text-switch b { color: var(--green); }
.form-error { padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: var(--danger); font-size: 11px; margin: 0; }
.buy-summary { margin-top: 18px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; }
.summary-row.total { margin-top: 5px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 15px; color: var(--green); }
.claim-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 17px 0; }
.claim-summary > div { padding: 11px; border-radius: 13px; background: #f2f5f2; }
.claim-summary span, .claim-summary b { display: block; }
.claim-summary span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.claim-summary b { margin-top: 4px; font-size: 13px; }
.verification-difference { padding: 11px 12px; border-radius: 13px; background: #edf8f2; color: var(--green); font-size: 10px; font-weight: 600; line-height: 1.45; }
.verification-difference.changed { background: #fff3df; color: #805b25; border: 1px solid #efd4a5; }
.verification-difference.error { background: #fff0f0; color: var(--danger); border: 1px solid #eac1c1; }
.verification-check { padding: 11px; border-radius: 13px; background: #f6f8f6; }
.modal-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9px; }
.modal-actions .button-secondary { margin-top: 0; }
.verified-adjustment { margin: 10px 0; padding: 9px 10px; border-radius: 10px; background: #fff3df; color: #805b25; font-size: 10px; line-height: 1.45; }
.withdrawal-bank-details { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 12px 0; }
.withdrawal-bank-details > div { min-width: 0; padding: 9px; border-radius: 10px; background: #f4f6f4; }
.withdrawal-bank-details span, .withdrawal-bank-details b { display: block; }
.withdrawal-bank-details span { color: var(--muted); font-size: 7px; letter-spacing: .04em; }
.withdrawal-bank-details b { overflow: hidden; margin-top: 3px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.withdrawal-date { margin: 0; color: var(--muted); font-size: 9px; }
.paid-proof { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px; border-radius: 12px; background: #edf8f2; }
.paid-proof img { width: 62px; height: 54px; flex: 0 0 62px; object-fit: cover; border-radius: 9px; }
.paid-proof b, .paid-proof small { display: block; }
.paid-proof b { color: var(--green); font-size: 10px; }
.paid-proof small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.withdrawal-review-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 16px 0; }
.withdrawal-review-summary > div { min-width: 0; padding: 10px; border-radius: 12px; background: #f2f5f2; }
.withdrawal-review-summary > div.full { grid-column: 1 / -1; }
.withdrawal-review-summary span, .withdrawal-review-summary b { display: block; }
.withdrawal-review-summary span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.withdrawal-review-summary b { overflow: hidden; margin-top: 4px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.transfer-proof-upload { min-height: 142px; display: grid !important; place-items: center; overflow: hidden; position: relative; border: 1px dashed #9abaaa; border-radius: 14px; background: #f8fbf9; cursor: pointer; }
.transfer-proof-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.transfer-proof-upload img { width: 100%; height: 170px; object-fit: contain; background: #eef2ef; }
.transfer-proof-upload > span { display: grid; place-items: center; gap: 4px; padding: 20px; text-align: center; }
.transfer-proof-upload > span b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 18px; }
.transfer-proof-upload > span strong { margin-top: 4px; font-size: 11px; }
.transfer-proof-upload > span small { color: var(--muted); font-size: 8px; font-weight: 500; }
.rejection-evidence-upload { min-height: 132px; }
.wallet-transaction-copy small.wallet-rejection-reason { color: var(--danger); white-space: normal; line-height: 1.35; }
.rejection-target-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; margin: 15px 0; padding: 12px; border-radius: 13px; background: #f3f5f3; }
.rejection-target-summary span { grid-column: 1 / -1; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.rejection-target-summary b { font-size: 11px; }
.rejection-target-summary strong { color: var(--danger); font-size: 12px; }
.reject-confirm-button { border: 0; color: white; background: var(--danger); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 91px; transform: translateX(-50%); width: calc(min(100%, 540px) - 36px); padding: 13px 15px; border-radius: 13px; background: #142b22; color: white; text-align: center; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.empty-state { text-align: center; padding: 35px 0; color: var(--muted); }
.empty-state span { font-size: 30px; }
.empty-state h3 { color: var(--ink); margin: 8px 0 4px; }
.empty-state p { margin: 0; font-size: 12px; }
.hidden { display: none !important; }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100vh - 48px); border-radius: 28px; overflow: hidden; }
  .topbar { position: relative; }
  .bottom-nav { bottom: 24px; border-radius: 0 0 28px 28px; }
  .modal-backdrop { align-items: center; padding: 24px; }
  .modal { border-radius: 28px; max-width: 480px; padding-bottom: 28px; }
}
