:root {
  --primary: #000000;
  --ink: #203636;
  --muted: #718080;
  font-family: 'Lexend Deca', sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
input[data-phone-input][type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[data-phone-input]::-webkit-inner-spin-button,
input[data-phone-input]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body:has(.mobile-app) { background: #f2f2f2; }
.mobile-app { width: 100%; max-width: 430px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: max(32px, env(safe-area-inset-top)) 28px max(22px, env(safe-area-inset-bottom)); background: #fff; color: #111; }
.mobile-brand { display: flex; flex-direction: column; gap: 4px; }
.mobile-wordmark { font-size: 27px; font-weight: 600; letter-spacing: -1.5px; }
.mobile-login-content { margin: auto 0; padding: 38px 0; }
body:has(.mobile-login) { height: 100vh; height: 100dvh; overflow: hidden; }
.mobile-app.mobile-login { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.mobile-login .mobile-login-content { padding: 24px 0; }
@media (max-height: 700px) {
  .mobile-app.mobile-login { padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .mobile-login .mobile-login-content { padding: 16px 0; }
  .mobile-login .mobile-login-form { margin-top: 20px; }
  .mobile-login .form-field + .form-field { margin-top: 16px; }
  .mobile-login .login-submit { margin-top: 20px; }
}
@media (max-height: 550px) {
  .mobile-login .mobile-brand, .mobile-login .mobile-footer, .mobile-login .mobile-eyebrow { display: none; }
  .mobile-login .mobile-login-content { padding: 0; }
  .mobile-login h1 { font-size: 25px; margin-bottom: 6px; }
  .mobile-login .mobile-login-form { margin-top: 14px; }
  .mobile-login .form-field + .form-field { margin-top: 10px; }
  .mobile-login .login-submit { margin-top: 14px; }
}
.mobile-eyebrow { margin: 0 0 12px; font-size: 9px; color: #777; letter-spacing: 1.4px; }
.mobile-app h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.25; letter-spacing: -1.2px; font-weight: 500; }
.mobile-intro { margin: 0; font-size: 12px; line-height: 1.8; color: #757575; }
.mobile-login-form { margin-top: 30px; }
.mobile-app .input-wrap input {
  min-height: 30px;
  font-size: 16px;
  background: #fafafa;
  border-color: #ddd;
  color: #111;
}
.mobile-app .input-wrap input::placeholder { font-size: 13px; color: #888; }
.mobile-app .form-field small { display: block; font-size: 10px; color: #888; margin-top: 8px; }
.mobile-app .login-submit { min-height: 54px; font-size: 14px; }
.mobile-app .input-wrap > i, .mobile-app .password-toggle { color: #777; }
.mobile-footer { text-align: center; color: #888; font-size: 9px; line-height: 1.9; }
.mobile-auth-link { text-align: center; margin: 20px 0 0; color: #777; font-size: 11px; line-height: 1.7; }
.mobile-app .login-submit:disabled { opacity: .6; cursor: wait; }
.mobile-app [data-form-message] { margin: 0 0 12px; padding: 8px 10px; font-size: 10px; }
.mobile-auth-link a { color: #000; font-weight: 500; text-underline-offset: 3px; }
.mobile-register .mobile-login-content { padding: 16px 0; }
.mobile-register .mobile-login-form { margin-top: 20px; }
.mobile-register .form-field + .form-field { margin-top: 14px; }
.mobile-register .login-submit { margin-top: 20px; }
.mobile-register .input-wrap input { padding-top: 10px; padding-bottom: 10px; }
@media (max-height: 780px) {
  .mobile-register .mobile-brand, .mobile-register .mobile-footer { display: none; }
  .mobile-register .mobile-login-content { padding: 8px 0; }
}
@media (max-height: 700px) {
  .mobile-register .mobile-brand, .mobile-register .mobile-footer { display: none; }
  .mobile-register .mobile-auth-link { margin-top: 12px; }
}
.mobile-wallet { padding: 24px; margin-top: 28px; border: 1px solid #e5e5e5; border-radius: 14px; }
.mobile-wallet > span { font-size: 11px; color: #777; }
.mobile-wallet h2 { margin: 14px 0 0; font-size: 28px; font-weight: 500; overflow-wrap: anywhere; }
.mobile-wallet small { font-size: 12px; }
.mobile-phone { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 18px; font-weight: 500; letter-spacing: -.4px; }
.mobile-phone i { font-size: 13px; color: #777; }
.mobile-home-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; margin: calc(-1 * max(32px, env(safe-area-inset-top))) -28px 0; padding: max(18px, env(safe-area-inset-top)) 24px 18px; border-bottom: 1px solid #ededed; background: #fff; }
.home-wordmark { display: inline-flex; align-items: center; min-width: 0; color: #111; text-decoration: none; }
.home-wordmark-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.home-wordmark-copy strong { overflow: hidden; color: #111; font-size: 27px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.home-wordmark-copy strong span { color: inherit; }
.home-wordmark-copy small { color: #888; font-size: 9px; font-weight: 400; letter-spacing: .8px; text-transform: uppercase; }
.home-header-actions { display: flex; align-items: center; gap: 8px; }
.notification-button { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid #e5e5e5; border-radius: 12px; background: #fafafa; color: #181818; font-size: 15px; transition: background .15s, border-color .15s, transform .15s; }
.notification-button:hover { border-color: #d4d4d4; background: #f2f2f2; }
.notification-button:active { transform: scale(.97); }
.notification-button:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.notification-indicator { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1.5px solid #fafafa; border-radius: 50%; background: #000; }
.mobile-home, .mobile-portal-page { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.mobile-bottom-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; max-width: 430px; margin: 0 auto; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid #e8e8e8; background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 26px rgba(0, 0, 0, .04); backdrop-filter: blur(16px); }
.mobile-nav-item { display: flex; min-width: 0; min-height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; color: #8a8a8a; font-size: 9px; font-weight: 500; text-decoration: none; transition: color .15s, background .15s; }
.mobile-nav-item i { font-size: 16px; }
.mobile-nav-item span { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.mobile-nav-item.is-active { color: #000; }
.mobile-nav-item.is-active i { transform: translateY(-1px); }
.mobile-nav-item:focus-visible { outline: 2px solid #000; outline-offset: -2px; }
.portal-page-content { padding: 42px 0 20px; }
.portal-empty-state { display: flex; min-height: 210px; margin-top: 30px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid #e8e8e8; border-radius: 16px; background: #fafafa; color: #888; text-align: center; }
.portal-empty-state i { margin-bottom: 5px; color: #111; font-size: 24px; }
.portal-empty-state strong { color: #111; font-size: 14px; font-weight: 500; }
.portal-empty-state span { font-size: 10px; }
.account-phone { font-size: 20px !important; }
.profile-content { padding: 26px 0 24px; }
.profile-heading { display: flex; align-items: center; gap: 14px; }
.profile-avatar { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 17px; background: #000; color: #fff; font-size: 19px; }
.profile-heading > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.profile-heading small { color: #888; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.profile-heading h1 { margin: 0; font-size: 28px; font-weight: 600; }
.profile-details { overflow: hidden; margin-top: 24px; border: 1px solid #e6e6e6; border-radius: 18px; background: #fff; }
.profile-details > div { display: flex; align-items: center; gap: 13px; padding: 17px; }
.profile-details > div + div { border-top: 1px solid #ededed; }
.profile-details > div > span { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; background: #f1f1f1; font-size: 13px; }
.profile-details > div > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 5px; }
.profile-details small { color: #888; font-size: 10px; }
.profile-details strong { color: #111; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.profile-details .profile-uuid { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.5; }
.profile-links { margin-top: 28px; }
.profile-link-list { overflow: hidden; margin-top: 13px; border: 1px solid #e6e6e6; border-radius: 18px; background: #fff; }
.profile-link-list > a, .profile-link-list > button { display: flex; width: 100%; min-height: 67px; align-items: center; gap: 12px; padding: 12px 15px; border: 0; background: #fff; color: #111; font: inherit; text-align: left; text-decoration: none; }
.profile-link-list > * + * { border-top: 1px solid #ededed !important; }
.profile-link-list > a:active, .profile-link-list > button:active { background: #f7f7f7; }
.profile-link-list > a > span, .profile-link-list > button > span { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; background: #f1f1f1; font-size: 13px; }
.profile-link-list > a > div, .profile-link-list > button > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.profile-link-list strong { font-size: 12px; font-weight: 600; }
.profile-link-list small { color: #888; font-size: 9px; line-height: 1.4; }
.profile-link-list > a > i, .profile-link-list > button > i { color: #aaa; font-size: 10px; }
.profile-signout { margin-top: 18px; }
.profile-signout button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 17px; border: 1px solid #e1e1e1; border-radius: 14px; background: #fafafa; color: #111; font: inherit; font-size: 12px; font-weight: 600; }
.profile-signout button span { display: flex; align-items: center; gap: 10px; }
.profile-signout button > i { color: #aaa; font-size: 10px; }
.pwa-install-message { position: fixed; z-index: 100; right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 16px; display: flex; max-width: 398px; min-height: 58px; margin: 0 auto; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 15px; background: #111; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.25); font-size: 11px; line-height: 1.5; }
.pwa-install-message > i { flex: 0 0 auto; font-size: 16px; }
.pwa-install-message > span { flex: 1; }
.pwa-install-message button { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 0; border-radius: 9px; background: #2b2b2b; color: #fff; }
.transactions-content { padding: 26px 0 24px; }
.transactions-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.transactions-heading > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.transactions-heading small { color: #888; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.transactions-heading h1 { margin: 0; font-size: 28px; font-weight: 600; }
.transactions-heading > span { display: grid; place-items: center; flex: 0 0 45px; height: 45px; border-radius: 14px; background: #000; color: #fff; font-size: 16px; }
.transaction-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 23px; }
.transaction-summary article { min-width: 0; padding: 16px; border: 1px solid #e6e6e6; border-radius: 17px; background: #fff; }
.transaction-summary article > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: #f1f1f1; font-size: 12px; }
.transaction-summary article > div { min-width: 0; }
.transaction-summary small { display: block; color: #888; font-size: 9px; line-height: 1.4; }
.transaction-summary strong { display: block; overflow-wrap: anywhere; margin-top: 7px; color: #111; font-size: 15px; font-weight: 600; line-height: 1.35; }
.transaction-summary strong em { color: #888; font-size: 8px; font-style: normal; font-weight: 500; }
.transaction-summary p { margin: 5px 0 0; color: #999; font-size: 8px; }
.transaction-filters { display: flex; gap: 7px; overflow-x: auto; margin: 25px -2px 14px; padding: 2px; scrollbar-width: none; }
.transaction-filters::-webkit-scrollbar { display: none; }
.transaction-filters button { display: flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid #e4e4e4; border-radius: 11px; background: #fff; color: #777; font: inherit; font-size: 10px; font-weight: 500; }
.transaction-filters button span { display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border-radius: 6px; background: #f1f1f1; color: #777; font-size: 8px; }
.transaction-filters button.is-active { border-color: #000; background: #000; color: #fff; }
.transaction-filters button.is-active span { background: #2c2c2c; color: #fff; }
.transaction-list { display: grid; gap: 10px; }
.transaction-item { padding: 16px; border: 1px solid #e7e7e7; border-radius: 17px; background: #fff; }
.transaction-item[hidden] { display: none; }
.transaction-item-top { display: flex; min-width: 0; align-items: center; gap: 11px; }
.transaction-type-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 12px; font-size: 13px; }
.transaction-type-icon.is-deposit { background: #edf8f0; color: #27713d; }
.transaction-type-icon.is-withdrawal { background: #fff2ee; color: #a44d34; }
.transaction-main { min-width: 0; flex: 1; }
.transaction-main > div { display: flex; min-width: 0; align-items: center; gap: 7px; }
.transaction-main strong { font-size: 12px; font-weight: 600; }
.transaction-main p { overflow: hidden; margin: 5px 0 0; color: #888; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.transaction-status { padding: 4px 6px; border-radius: 6px; font-size: 7px; font-weight: 600; text-transform: uppercase; }
.transaction-status.is-success { background: #edf8f0; color: #27713d; }
.transaction-status.is-failed { background: #fff0f0; color: #a33b3b; }
.transaction-status.is-pending { background: #fff7e5; color: #8a641e; }
.transaction-amount { flex: 0 0 auto; font-size: 12px; font-weight: 600; white-space: nowrap; }
.transaction-amount small { color: #888; font-size: 7px; font-weight: 500; }
.transaction-amount.is-deposit { color: #27713d; }
.transaction-amount.is-withdrawal { color: #111; }
.transaction-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; color: #999; font-size: 8px; }
.transaction-meta span { display: flex; align-items: center; gap: 6px; }
.transaction-message { margin: 10px 0 0; padding: 9px 10px; border-radius: 9px; background: #f7f7f7; color: #777; font-size: 9px; line-height: 1.5; }
.transaction-empty { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed #ddd; border-radius: 18px; color: #888; text-align: center; }
.transaction-empty > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: #f1f1f1; color: #111; }
.transaction-empty strong { color: #111; font-size: 13px; }
.transaction-empty p { margin: 7px 0 0; font-size: 9px; line-height: 1.5; }
.transaction-filter-empty { display: flex; min-height: 110px; align-items: center; justify-content: center; gap: 8px; color: #888; font-size: 10px; }
.marketplace-content { padding: 26px 0 24px; }
.marketplace-wallet { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px; border-radius: 17px; background: #000; color: #fff; }
.marketplace-wallet > div { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.marketplace-wallet small { color: #aaa; font-size: 9px; }
.marketplace-wallet strong { overflow-wrap: anywhere; font-size: 18px; font-weight: 600; }
.marketplace-wallet strong em { color: #aaa; font-size: 9px; font-style: normal; font-weight: 500; }
.marketplace-wallet a { display: flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 0 12px; border-radius: 10px; background: #fff; color: #000; font-size: 10px; font-weight: 600; text-decoration: none; }
.marketplace-section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 29px 0 13px; }
.marketplace-section-title h2 { margin: 0; font-size: 15px; font-weight: 600; }
.marketplace-section-title span { color: #888; font-size: 9px; }
.marketplace-grid { display: grid; gap: 15px; }
.marketplace-product { display: grid; grid-template-columns: minmax(112px, 38%) minmax(0, 1fr); overflow: hidden; min-height: 238px; border: 1px solid #e5e5e5; border-radius: 20px; background: #fff; box-shadow: 0 9px 28px rgba(0,0,0,.04); }
.marketplace-product-image { position: relative; overflow: hidden; min-height: 100%; background: #000; }
.marketplace-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.marketplace-product-image > span { position: absolute; right: 9px; bottom: 9px; left: 9px; padding: 7px 6px; border-radius: 8px; background: rgba(0,0,0,.82); color: #fff; font-size: 8px; font-weight: 600; text-align: center; backdrop-filter: blur(7px); }
.marketplace-product-body { min-width: 0; padding: 16px 14px; }
.marketplace-product-body h2 { margin: 0; color: #111; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.marketplace-price { display: flex; margin-top: 12px; padding-bottom: 12px; flex-direction: column; gap: 5px; border-bottom: 1px solid #ededed; }
.marketplace-price small { color: #888; font-size: 8px; }
.marketplace-price strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.marketplace-price strong em { color: #888; font-size: 8px; font-style: normal; font-weight: 500; }
.marketplace-product dl { display: grid; gap: 9px; margin: 13px 0 0; }
.marketplace-product dl > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.marketplace-product dt { color: #888; font-size: 8px; }
.marketplace-product dd { margin: 0; color: #111; font-size: 9px; font-weight: 600; text-align: right; }
.marketplace-product-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #ededed; }
.marketplace-product-status span { display: flex; align-items: center; gap: 6px; color: #27713d; font-size: 9px; font-weight: 600; }
.marketplace-product-status small { color: #999; font-size: 7px; text-align: right; }
.marketplace-invest-button { display: flex; width: 100%; min-height: 40px; margin-top: 12px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; background: #000; color: #fff; font: inherit; font-size: 10px; font-weight: 600; transition: transform .15s, background .15s; }
.marketplace-invest-button:active { transform: scale(.98); }
.marketplace-invest-button:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.investment-modal { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.investment-modal[hidden] { display: none; }
.investment-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }
.investment-sheet { position: relative; z-index: 1; width: 100%; max-width: 430px; padding: 27px 28px calc(27px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; animation: redeem-sheet-in .25s ease-out; }
.investment-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f1f1f1; color: #111; }
.investment-modal-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: #000; color: #fff; font-size: 17px; }
.investment-sheet > small { color: #888; font-size: 9px; letter-spacing: .8px; text-transform: uppercase; }
.investment-sheet h2 { margin: 6px 42px 0 0; font-size: 21px; font-weight: 600; line-height: 1.35; }
.investment-sheet dl { display: grid; gap: 11px; margin: 22px 0 0; padding: 16px; border-radius: 14px; background: #f7f7f7; }
.investment-sheet dl > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.investment-sheet dt { color: #777; font-size: 10px; }
.investment-sheet dd { margin: 0; color: #111; font-size: 11px; font-weight: 600; }
.investment-sheet dd small { color: #888; font-size: 8px; font-weight: 500; }
.investment-confirm-note { margin: 14px 0 0; color: #777; font-size: 9px; line-height: 1.6; }
.investment-feedback { margin-top: 13px; padding: 11px; border-radius: 10px; font-size: 10px; line-height: 1.5; }
.investment-feedback.is-success { border: 1px solid #bfe4cb; background: #f1fbf4; color: #226437; }
.investment-feedback.is-error { border: 1px solid #edc9c9; background: #fff4f4; color: #8c3030; }
.investment-confirm { display: flex; width: 100%; min-height: 52px; margin-top: 16px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; background: #000; color: #fff; font: inherit; font-size: 12px; font-weight: 600; }
.investment-confirm:disabled { opacity: .6; cursor: wait; }
.income-content { padding: 26px 0 24px; }
.income-overview { padding: 21px; border-radius: 20px; background: #000; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.15); }
.income-overview-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.income-overview-top > div { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.income-overview-top small, .income-overview-stats small { color: #aaa; font-size: 9px; }
.income-overview-top strong { overflow-wrap: anywhere; font-size: 27px; font-weight: 600; }
.income-overview-top strong em { color: #aaa; font-size: 10px; font-style: normal; font-weight: 500; }
.income-overview-top > span { display: grid; place-items: center; flex: 0 0 43px; height: 43px; border-radius: 13px; background: #1d1d1d; font-size: 15px; }
.income-overview-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #292929; }
.income-overview-stats > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.income-overview-stats strong { overflow-wrap: anywhere; font-size: 11px; font-weight: 600; }
.income-filter-row { display: flex; gap: 7px; overflow-x: auto; margin: 24px -2px 14px; padding: 2px; scrollbar-width: none; }
.income-filter-row::-webkit-scrollbar { display: none; }
.income-filter-row button { display: flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid #e4e4e4; border-radius: 11px; background: #fff; color: #777; font: inherit; font-size: 10px; font-weight: 500; }
.income-filter-row button span { display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border-radius: 6px; background: #f1f1f1; font-size: 8px; }
.income-filter-row button.is-active { border-color: #000; background: #000; color: #fff; }
.income-filter-row button.is-active span { background: #2c2c2c; color: #fff; }
.income-list { display: grid; gap: 12px; }
.income-investment { padding: 16px; border: 1px solid #e5e5e5; border-radius: 19px; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.035); }
.income-investment[hidden] { display: none; }
.income-investment-head { display: flex; align-items: center; gap: 12px; }
.income-investment-head img { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 13px; background: #000; object-fit: contain; }
.income-investment-head > div { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; }
.income-investment-head h2 { overflow: hidden; max-width: 100%; margin: 6px 0 3px; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.income-investment-head small { color: #888; font-size: 8px; }
.income-state { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 6px; font-size: 7px; font-weight: 600; text-transform: uppercase; }
.income-state.is-active { background: #edf8f0; color: #27713d; }
.income-state.is-completed { background: #f1f1f1; color: #555; }
.income-earned { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #ededed; }
.income-earned > small { color: #888; font-size: 9px; }
.income-earned > strong { font-size: 18px; font-weight: 600; }
.income-earned em { color: #888; font-size: 8px; font-style: normal; font-weight: 500; }
.income-progress { margin-top: 15px; }
.income-progress > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: #888; font-size: 8px; }
.income-progress > div strong { color: #555; font-weight: 600; }
.income-progress > span { display: block; overflow: hidden; height: 6px; border-radius: 999px; background: #ededed; }
.income-progress > span i { display: block; height: 100%; border-radius: inherit; background: #000; transition: width .5s linear; }
.income-investment dl { display: grid; gap: 9px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #ededed; }
.income-investment dl > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.income-investment dt { color: #888; font-size: 8px; }
.income-investment dd { margin: 0; color: #111; font-size: 9px; font-weight: 600; text-align: right; }
.income-empty { display: flex; min-height: 270px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed #ddd; border-radius: 19px; text-align: center; }
.income-empty > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 15px; background: #f1f1f1; }
.income-empty h2 { margin: 0; font-size: 14px; }
.income-empty p { max-width: 230px; margin: 8px 0 15px; color: #888; font-size: 9px; line-height: 1.6; }
.income-empty a { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 13px; border-radius: 10px; background: #000; color: #fff; font-size: 9px; font-weight: 600; text-decoration: none; }
.income-filter-empty { padding: 40px 10px; color: #888; font-size: 10px; text-align: center; }
.referral-earnings-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 20px; border-radius: 19px; background: #000; color: #fff; }
.referral-earnings-card > div { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.referral-earnings-card small { color: #aaa; font-size: 9px; }
.referral-earnings-card strong { overflow-wrap: anywhere; font-size: 24px; font-weight: 600; }
.referral-earnings-card strong em { color: #aaa; font-size: 9px; font-style: normal; font-weight: 500; }
.referral-earnings-card p { margin: 0; color: #d0d0d0; font-size: 8px; }
.referral-earnings-card > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 13px; background: #1d1d1d; }
.commission-grid article b { margin-top: 8px; color: #111; font-size: 8px; font-weight: 600; }
.referral-history { margin-top: 28px; }
.referral-history-list { overflow: hidden; margin-top: 13px; border: 1px solid #e6e6e6; border-radius: 17px; }
.referral-history-list article { display: flex; align-items: center; gap: 11px; padding: 14px; background: #fff; }
.referral-history-list article + article { border-top: 1px solid #ededed; }
.referral-history-list article > span { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 10px; background: #edf8f0; color: #27713d; font-size: 11px; }
.referral-history-list article > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.referral-history-list article strong { overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.referral-history-list article small { overflow: hidden; color: #888; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.referral-history-list article > b { flex: 0 0 auto; color: #27713d; font-size: 9px; font-weight: 600; }
.referral-history-list article.is-pending > span { background: #fff7e5; color: #8a641e; }
.referral-history-list article.is-pending > b { color: #8a641e; }
.referral-history-empty { display: flex; min-height: 100px; margin-top: 13px; align-items: center; justify-content: center; gap: 9px; border: 1px dashed #ddd; border-radius: 15px; color: #888; font-size: 9px; }
.marketplace-empty { display: flex; min-height: 260px; flex-direction: column; align-items: center; justify-content: center; padding: 26px; border: 1px dashed #ddd; border-radius: 20px; text-align: center; }
.marketplace-empty > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 15px; border-radius: 15px; background: #f1f1f1; font-size: 17px; }
.marketplace-empty h2 { margin: 0; font-size: 14px; }
.marketplace-empty p { max-width: 230px; margin: 8px 0 0; color: #888; font-size: 9px; line-height: 1.6; }
.home-products { margin-top: 28px; }
.home-products .section-title-row { margin-bottom: 13px; }
.home-products .section-title-row a { display: inline-flex; align-items: center; gap: 6px; color: #555; font-size: 9px; font-weight: 600; text-decoration: none; }
.product-edit-cancel { margin-left: auto; color: #555; font-size: 11px; font-weight: 600; text-decoration: none; }
.product-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-card-title h3 { min-width: 0; }
.product-card-title a { display: inline-flex; min-height: 28px; flex: 0 0 auto; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid #ddd; border-radius: 7px; color: #222; font-size: 9px; font-weight: 600; text-decoration: none; }
.product-card-title a:hover { background: #f3f3f3; }
.product-card.is-unavailable > img { filter: grayscale(1); opacity: .65; }
.product-availability-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; padding: 5px 7px; border-radius: 7px; font-size: 8px; font-weight: 600; }
.product-availability-status.is-available { background: #edf8f0; color: #27713d; }
.product-availability-status.is-unavailable { background: #f2f2f2; color: #666; }
.product-availability-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; }
.product-availability-form button { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #d8d8d8; border-radius: 8px; background: #fff; color: #222; font-size: 9px; font-weight: 600; }
.product-availability-form button:hover { background: #f3f3f3; }
.shareholder-greeting { position: relative; overflow: hidden; margin-top: 24px; padding: 24px; border-radius: 20px; background: #000; color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }
.shareholder-greeting::after { position: absolute; right: -44px; bottom: -65px; width: 155px; height: 155px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; content: ''; }
.greeting-card-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: #bdbdbd; font-size: 9px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.greeting-card-topline i { color: #fff; font-size: 15px; }
.shareholder-greeting h1 { position: relative; z-index: 1; margin: 20px 0 16px; color: #fff; font-size: 23px; font-weight: 400; line-height: 1.35; letter-spacing: -.8px; }
.shareholder-greeting h1 strong { font-weight: 600; }
.shareholder-greeting blockquote { position: relative; z-index: 1; max-width: 310px; margin: 0; color: #d5d5d5; font-size: 11px; line-height: 1.7; }
.broadcast-bar { display: flex; align-items: center; overflow: hidden; min-height: 46px; margin-top: 14px; border: 1px solid #e6e6e6; border-radius: 13px; background: #fafafa; }
.broadcast-icon { z-index: 1; display: grid; place-items: center; align-self: stretch; flex: 0 0 44px; border-right: 1px solid #e6e6e6; background: #fff; color: #000; font-size: 13px; }
.broadcast-viewport { overflow: hidden; flex: 1; min-width: 0; }
.broadcast-track { display: flex; width: max-content; animation: broadcast-scroll 50s linear infinite; will-change: transform; }
.broadcast-message { flex: none; padding-left: 38px; padding-right: 38px; color: #555; font-size: 10px; line-height: 1; white-space: nowrap; }
@keyframes broadcast-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .broadcast-track { animation-play-state: paused; } }
.home-wallet-card { margin-top: 18px; padding: 22px; border: 1px solid #e5e5e5; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .04); }
.home-wallet-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-wallet-heading > div { display: flex; flex-direction: column; gap: 4px; }
.home-wallet-heading > div > span { color: #111; font-size: 14px; font-weight: 500; }
.home-wallet-heading small { color: #888; font-size: 11px; }
.wallet-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #f1f1f1; color: #111; font-size: 14px; }
.home-wallet-balance { margin: 22px 0 24px; color: #050505; font-size: 31px; font-weight: 600; letter-spacing: -1.3px; overflow-wrap: anywhere; }
.home-wallet-balance small { margin-right: 5px; color: #777; font-size: 13px; font-weight: 500; letter-spacing: .3px; }
.wallet-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wallet-action { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s; }
.wallet-action:active { transform: scale(.98); }
.wallet-action-primary { border: 1px solid #000; background: #000; color: #fff; }
.wallet-action-secondary { border: 1px solid #dedede; background: #fafafa; color: #111; }
.wallet-action-secondary:hover { background: #f1f1f1; }
.home-shortcuts { margin-top: 28px; }
.shortcut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shortcut-grid a, .shortcut-grid > button { display: flex; min-width: 0; min-height: 104px; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 12px 7px; border: 1px solid #e8e8e8; border-radius: 16px; background: #fff; color: #111; font: inherit; text-align: center; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.shortcut-grid a:hover, .shortcut-grid > button:hover { border-color: #d7d7d7; background: #fafafa; }
.shortcut-grid a:active, .shortcut-grid > button:active { transform: scale(.98); }
.shortcut-grid a:focus-visible, .shortcut-grid > button:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.shortcut-grid a > span, .shortcut-grid > button > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: #f1f1f1; color: #111; font-size: 15px; }
.shortcut-grid strong { overflow-wrap: anywhere; font-size: 11px; font-weight: 500; line-height: 1.35; }
.support-modal { position: fixed; z-index: 70; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.support-modal[hidden] { display: none; }
.support-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.support-sheet { position: relative; z-index: 1; width: 100%; max-width: 430px; padding: 29px 28px calc(26px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; animation: redeem-sheet-in .25s ease-out; }
.support-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f1f1f1; color: #111; }
.support-telegram-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #000; color: #fff; font-size: 22px; }
.support-sheet h2 { margin: 18px 40px 7px 0; font-size: 24px; font-weight: 600; letter-spacing: -.7px; }
.support-sheet > p { margin: 0; color: #777; font-size: 12px; }
.support-options { display: grid; gap: 10px; margin-top: 23px; }
.support-options > a { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e5e5e5; border-radius: 14px; color: #111; text-decoration: none; }
.support-options > a > span { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 11px; background: #f1f1f1; }
.support-options > a > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.support-options strong { font-size: 12px; font-weight: 600; }.support-options small { color: #888; font-size: 9px; line-height: 1.4; }.support-options > a > i { color: #777; font-size: 11px; }
.support-unavailable { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: #f5f5f5; color: #777; font-size: 11px; line-height: 1.5; }
.checkin-content { padding: 28px 0 24px; }
.checkin-reward-card { display: flex; padding: 28px 22px; flex-direction: column; align-items: center; border-radius: 22px; background: #000; color: #fff; text-align: center; box-shadow: 0 16px 36px rgba(0, 0, 0, .15); }
.checkin-gift { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; background: #fff; color: #000; font-size: 19px; }
.checkin-reward-card > small { color: #aaa; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.checkin-reward-card > strong { margin-top: 8px; font-size: 33px; font-weight: 600; letter-spacing: -1.2px; }
.checkin-reward-card > strong span { color: #aaa; font-size: 13px; letter-spacing: .2px; }
.checkin-reward-card > p { margin: 12px 0 0; color: #aaa; font-size: 11px; }
.checkin-status { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 15px; border: 1px solid #e5e5e5; border-radius: 15px; }
.checkin-status-icon { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 11px; background: #f1f1f1; font-size: 14px; }
.checkin-status > div { display: flex; flex-direction: column; gap: 4px; }
.checkin-status strong { font-size: 13px; font-weight: 600; }
.checkin-status div span { color: #777; font-size: 11px; font-variant-numeric: tabular-nums; }
.checkin-claim { display: flex; width: 100%; min-height: 54px; margin-top: 14px; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 13px; background: #000; color: #fff; font-size: 13px; font-weight: 600; }
.checkin-claim:disabled { background: #e7e7e7; color: #888; cursor: not-allowed; }
.reward-invest-link { display: flex; min-height: 48px; margin-top: 10px; align-items: center; justify-content: center; gap: 9px; border: 1px solid #ddd; border-radius: 12px; color: #111; font-size: 12px; font-weight: 600; text-decoration: none; }
.checkin-message { margin-top: 14px; padding: 13px; border-radius: 12px; font-size: 11px; line-height: 1.6; }
.checkin-message.is-success { border: 1px solid #bfe4cb; background: #f1fbf4; color: #226437; }
.checkin-message.is-error { border: 1px solid #edc9c9; background: #fff4f4; color: #8c3030; }
.checkin-wallet { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #ededed; }
.checkin-wallet > span { color: #777; font-size: 11px; }
.checkin-wallet > strong { font-size: 16px; font-weight: 600; }
.checkin-wallet small { color: #888; font-size: 10px; font-weight: 500; }
.spin-content { padding: 24px 0; }
.spin-hero { padding: 24px; border-radius: 20px; background: #000; color: #fff; }
.spin-kicker { color: #aaa; font-size: 10px; font-weight: 600; letter-spacing: 1.4px; }
.spin-hero h1 { margin: 14px 0 10px; color: #fff; font-size: 27px; line-height: 1.25; }
.spin-hero h1 strong { font-weight: 600; }
.spin-hero p { margin: 0; color: #aaa; font-size: 12px; line-height: 1.65; }
.wheel-stage { position: relative; display: grid; place-items: center; margin: 28px auto 22px; width: 260px; height: 260px; }
.wheel-pointer { position: absolute; z-index: 4; top: -9px; display: grid; place-items: center; width: 38px; height: 38px; border: 4px solid #fff; border-radius: 50%; background: #000; color: #fff; font-size: 17px; box-shadow: 0 5px 15px rgba(0,0,0,.2); }
.prize-wheel { position: relative; width: 244px; height: 244px; border: 7px solid #111; border-radius: 50%; background: conic-gradient(#111 0 60deg, #ededed 60deg 120deg, #111 120deg 180deg, #ededed 180deg 240deg, #111 240deg 300deg, #ededed 300deg 360deg); box-shadow: 0 12px 32px rgba(0,0,0,.16), inset 0 0 0 3px #fff; transition: transform 4s cubic-bezier(.12,.68,.12,1); }
.prize-wheel > span { --angle: calc(var(--index) * 60deg + 30deg); position: absolute; top: 50%; left: 50%; width: 42px; margin: -8px 0 0 -21px; color: #fff; font-size: 13px; font-weight: 700; text-align: center; transform: rotate(var(--angle)) translateY(-86px) rotate(calc(-1 * var(--angle))); }
.prize-wheel > span:nth-child(even) { color: #111; }
.wheel-center { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; border: 5px solid #fff; border-radius: 50%; background: #000; color: #fff; font-size: 17px; transform: translate(-50%, -50%); box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.spin-availability { display: flex; align-items: center; justify-content: center; gap: 8px; color: #666; font-size: 11px; font-variant-numeric: tabular-nums; }
.spin-availability i { color: #111; }
.spin-button { display: flex; width: 100%; min-height: 54px; margin-top: 16px; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 13px; background: #000; color: #fff; font-size: 13px; font-weight: 600; }
.spin-button:disabled { background: #e7e7e7; color: #888; cursor: not-allowed; }
.spin-promotion-badge { display: inline-flex; width: fit-content; margin-top: 14px; align-items: center; gap: 7px; border-radius: 20px; background: #fff; color: #111; padding: 7px 10px; font-size: 9px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.spin-result { margin-top: 14px; padding: 14px; border-radius: 12px; font-size: 12px; font-weight: 500; text-align: center; }
.spin-result.is-success { border: 1px solid #bfe4cb; background: #f1fbf4; color: #226437; }
.spin-result.is-error { border: 1px solid #edc9c9; background: #fff4f4; color: #8c3030; }
.spin-wallet { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 17px; border: 1px solid #e8e8e8; border-radius: 14px; }
.spin-wallet > span { color: #777; font-size: 11px; }
.spin-wallet strong { font-size: 16px; }
.spin-wallet small { color: #888; font-size: 10px; }
.spin-history { margin-top: 28px; }
.spin-history article { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #eee; }
.spin-history article > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #f1f1f1; font-size: 12px; }
.spin-history article div { display: flex; flex-direction: column; gap: 3px; }
.spin-history article div { min-width: 0; flex: 1; }
.spin-history article strong { font-size: 12px; font-weight: 600; }
.spin-history article small { color: #888; font-size: 10px; }
.spin-history article > button { flex: none; padding: 8px 10px; border: 0; border-radius: 8px; background: #000; color: #fff; font-size: 10px; font-weight: 600; }
.spin-status { flex: none; padding: 6px 8px; border-radius: 8px; background: #f1f1f1; color: #666; font-size: 9px; font-style: normal; }
.spin-status-redeemed { background: #edf8f0; color: #26713b; }
.spin-status-approval_pending, .spin-status-processing { background: #fff7e7; color: #815c14; }
.spin-history-empty { padding: 24px; border: 1px dashed #ddd; border-radius: 14px; color: #888; font-size: 11px; text-align: center; }
body.modal-open { overflow: hidden; }
.redeem-modal { position: fixed; z-index: 60; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.redeem-modal[hidden] { display: none; }
.redeem-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0, 0, 0, .52); backdrop-filter: blur(3px); }
.redeem-sheet { position: relative; z-index: 1; width: 100%; max-width: 430px; padding: 28px 28px calc(26px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; animation: redeem-sheet-in .25s ease-out; }
@keyframes redeem-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.redeem-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f1f1f1; color: #111; font-size: 13px; }
.redeem-win-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 17px; border-radius: 15px; background: #000; color: #fff; font-size: 18px; }
.redeem-sheet > small { color: #888; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; }
.redeem-sheet h2 { margin: 8px 44px 8px 0; font-size: 23px; font-weight: 500; letter-spacing: -.7px; }
.redeem-sheet h2 strong { display: block; font-weight: 700; }
.redeem-sheet > p { margin: 0 0 22px; color: #777; font-size: 12px; line-height: 1.6; }
.redeem-sheet > label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 600; }
.redeem-phone-wrap { position: relative; display: flex; align-items: center; }
.redeem-phone-wrap i { position: absolute; left: 15px; color: #777; font-size: 13px; }
.redeem-phone-wrap input { width: 100%; min-height: 52px; padding: 12px 15px 12px 43px; border: 1px solid #ddd; border-radius: 12px; background: #fafafa; color: #111; font-size: 16px; }
.redeem-submit { display: flex; width: 100%; min-height: 53px; margin-top: 14px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; background: #000; color: #fff; font-size: 13px; font-weight: 600; }
.redeem-submit:disabled { opacity: .65; cursor: wait; }
.redeem-feedback { margin-top: 12px; padding: 12px; border-radius: 10px; font-size: 11px; line-height: 1.55; }
.redeem-feedback.is-success { border: 1px solid #bfe4cb; background: #f1fbf4; color: #226437; }
.redeem-feedback.is-error { border: 1px solid #edc9c9; background: #fff4f4; color: #8c3030; }
.user-settings-content { padding: 32px 0 24px; }
.security-heading { display: flex; align-items: flex-start; gap: 14px; }
.security-heading > span { display: grid; place-items: center; flex: 0 0 45px; height: 45px; border-radius: 14px; background: #000; color: #fff; font-size: 16px; }
.security-heading h1 { margin: 7px 0 0; font-size: 27px; }
.password-settings-form { margin-top: 30px; padding: 22px; border: 1px solid #e7e7e7; border-radius: 18px; background: #fff; }
.password-settings-form .form-field + .form-field { margin-top: 20px; }
.password-settings-form .input-wrap input { min-height: 52px; padding-top: 12px; padding-bottom: 12px; border-radius: 11px; }
.password-save-button { display: flex; width: 100%; min-height: 53px; margin-top: 24px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; background: #000; color: #fff; font-size: 13px; font-weight: 600; }
.password-save-button:disabled { opacity: .6; cursor: wait; }
.password-settings-feedback { margin-top: 17px; padding: 13px; border-radius: 11px; font-size: 12px; line-height: 1.55; }
.password-settings-feedback.is-success { border: 1px solid #bfe4cb; background: #f1fbf4; color: #226437; }
.password-settings-feedback.is-error { border: 1px solid #edc9c9; background: #fff4f4; color: #8c3030; }
.payment-content { padding: 26px 0 24px; }
.payment-balance { padding: 20px; border-radius: 18px; background: #000; color: #fff; }
.payment-balance > span { color: #aaa; font-size: 11px; }
.payment-balance strong { display: block; margin-top: 10px; font-size: 28px; }
.payment-balance small { color: #aaa; font-size: 12px; }
.payment-title { display: flex; align-items: center; gap: 13px; margin-top: 25px; }
.payment-title > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f1f1f1; }
.payment-title h1 { margin: 0 0 4px; font-size: 24px; }
.payment-title p { margin: 0; color: #777; font-size: 11px; }
.payment-form { margin-top: 22px; padding: 21px; border: 1px solid #e7e7e7; border-radius: 18px; }
.payment-form .form-field + .form-field { margin-top: 18px; }
.verified-name-wrap input[readonly] { background: #f3f3f3; color: #333; font-weight: 500; }
.payment-form [data-verification-message].is-success { color: #26713b; }
.payment-form [data-verification-message].is-error { color: #973939; }
.payment-submit { display: flex; width: 100%; min-height: 52px; margin-top: 22px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; background: #000; color: #fff; font-size: 13px; font-weight: 600; }
.payment-submit:disabled { opacity: .6; }
.payment-feedback { margin-top: 14px; padding: 12px; border-radius: 10px; font-size: 11px; }
.payment-feedback.is-error { background: #fff2f2; color: #8c3030; }
.payment-status-modal { position: fixed; z-index: 70; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.payment-status-modal[hidden] { display: none; }
.payment-status-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.payment-status-sheet { position: relative; z-index: 1; display: flex; width: 100%; max-width: 360px; flex-direction: column; align-items: center; padding: 32px 25px 24px; border-radius: 21px; background: #fff; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.22); animation: payment-modal-in .2s ease-out; }
@keyframes payment-modal-in { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.payment-status-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 33px; height: 33px; border: 0; border-radius: 9px; background: #f1f1f1; color: #111; }
.payment-live-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 17px; border-radius: 16px; background: #000; color: #fff; font-size: 18px; }
.payment-live strong { font-size: 20px; font-weight: 600; }.payment-live p { margin: 7px 0 0; color: #777; font-size: 12px; line-height: 1.6; }
.payment-status-done { width: 100%; min-height: 46px; margin-top: 24px; border: 0; border-radius: 11px; background: #000; color: #fff; font-size: 12px; font-weight: 600; }
.payment-live.state-success .payment-live-icon { background: #26713b; }.payment-live.state-failed .payment-live-icon,.payment-live.state-rejected .payment-live-icon,.payment-live.state-cancelled .payment-live-icon,.payment-live.state-rolledback .payment-live-icon { background: #973939; }
.payment-history { margin-top: 28px; }.payment-history article { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #eee; }.payment-history article > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #f1f1f1; }.payment-history article > div { min-width: 0; flex: 1; }.payment-history article strong { font-size: 12px; }.payment-history article small { display: block; margin-top: 3px; color: #888; font-size: 9px; }.payment-history article p { margin: 4px 0 0; color: #666; font-size: 9px; }.payment-state { padding: 6px 7px; border-radius: 7px; background: #f1f1f1; font-size: 8px; font-style: normal; }.payment-state.state-success { background: #edf8f0; color: #26713b; }
.team-content { padding: 32px 0 22px; }
.invite-card { padding: 20px; border-radius: 18px; background: #000; color: #fff; }
.invite-card-title { display: flex; align-items: center; gap: 12px; }
.invite-card-title > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #fff; color: #000; font-size: 13px; }
.invite-card-title div { display: flex; flex-direction: column; gap: 3px; }
.invite-card-title small { color: #8e8e8e; font-size: 8px; text-transform: uppercase; letter-spacing: 1px; }
.invite-card-title strong { font-size: 17px; font-weight: 600; letter-spacing: 1.4px; }
.referral-link { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 18px; padding: 6px 6px 6px 12px; border: 1px solid #2d2d2d; border-radius: 11px; background: #151515; }
.referral-link > span { overflow: hidden; flex: 1; color: #aaa; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.referral-link button { display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: #fff; color: #000; font-size: 8px; font-weight: 600; }
.commission-section, .team-members { margin-top: 28px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-title-row h2 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.4px; }
.section-title-row > span { color: #888; font-size: 8px; }
.commission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.commission-grid article { position: relative; display: flex; min-width: 0; min-height: 128px; flex-direction: column; padding: 13px 11px; border: 1px solid #e8e8e8; border-radius: 14px; background: #fff; }
.commission-grid .level-number { color: #aaa; font-size: 7px; letter-spacing: .7px; }
.commission-grid strong { margin-top: 14px; color: #000; font-size: 21px; font-weight: 600; }
.commission-grid small { min-height: 27px; margin-top: 4px; color: #777; font-size: 7px; line-height: 1.45; }
.commission-grid em { margin-top: auto; color: #111; font-size: 7px; font-style: normal; font-weight: 500; }
.commission-note { display: flex; align-items: flex-start; gap: 7px; margin: 12px 2px 0; color: #888; font-size: 8px; line-height: 1.55; }
.commission-note i { margin-top: 2px; color: #111; }
.team-empty { display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; padding: 22px; border: 1px dashed #d9d9d9; border-radius: 16px; text-align: center; }
.team-empty > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; background: #f1f1f1; font-size: 14px; }
.team-empty strong { font-size: 12px; font-weight: 600; }
.team-empty p { margin: 6px 0 0; color: #888; font-size: 8px; }
.member-list { overflow: hidden; border: 1px solid #e8e8e8; border-radius: 15px; }
.member-list article { display: flex; align-items: center; gap: 10px; padding: 12px; }
.member-list article + article { border-top: 1px solid #eee; }
.member-avatar { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; background: #f2f2f2; color: #222; font-size: 11px; }
.member-list article div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.member-list article strong { font-size: 10px; font-weight: 500; }
.member-list article small { color: #999; font-size: 7px; }
.member-list article em { padding: 5px 7px; border-radius: 7px; background: #f2f2f2; color: #555; font-size: 7px; font-style: normal; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.login-page {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 44px 24px;
  background: radial-gradient(ellipse at 0% 0%, #00000014, transparent 48%),
              radial-gradient(ellipse at 100% 100%, #00000012, transparent 48%), #f6f9f9;
}
body:has(.login-page) { overflow: hidden; }
.login-shell { width: 100%; max-width: 444px; }
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; }
.login-brand img { display: block; object-fit: contain; }
.login-brand > span { font-size: 17px; font-weight: 500; letter-spacing: -.5px; text-align: center; }
.login-card { padding: 38px; border: 1px solid #e2eaea; border-radius: 18px; background: #fff; box-shadow: 0 12px 48px #20363606; }
.login-label { display: flex; align-items: center; gap: 8px; color: var(--primary); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
.login-label > span { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.login-card h1 { margin: 17px 0 10px; font-size: 29px; font-weight: 500; letter-spacing: -1.1px; }
.login-intro { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.login-form { margin-top: 30px; }
.form-field + .form-field { margin-top: 21px; }
.form-field label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 500; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > i { position: absolute; left: 16px; color: #97a6a6; font-size: 13px; pointer-events: none; }
.input-wrap input { width: 100%; min-height: 51px; padding: 14px 45px; border: 1px solid #dfe7e7; border-radius: 8px; background: #fcfdfd; color: var(--ink); font-size: 12px; transition: border-color .15s, box-shadow .15s; }
.input-wrap input::placeholder { color: #879595; opacity: 1; }
.input-wrap input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px #00000024; background: #fff; }
.password-toggle { position: absolute; right: 4px; width: 42px; height: 42px; border: 0; border-radius: 6px; background: transparent; color: #718787; font-size: 14px; }
.password-toggle:hover { color: var(--primary); background: #f2f2f2; }
.login-submit { width: 100%; min-height: 51px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 8px; background: var(--primary); color: #ffffff; font-size: 13px; font-weight: 600; transition: background .15s, transform .15s; }
.login-submit:hover { background: #262626; }
.login-submit:active { transform: translateY(1px); }
.login-submit i { font-size: 12px; }
button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.login-card-footer { border-top: 1px solid #edf1f1; padding-top: 23px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.login-card-footer i { color: var(--primary); font-size: 12px; }
.login-footer { margin-top: 27px; text-align: center; font-size: 10px; color: #718080; line-height: 1.9; }
.login-footer span { color: #889393; }
.login-alert { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 13px; background: #fff6e9; border: 1px solid #efdfc8; border-radius: 8px; color: #78571e; font-size: 11px; line-height: 1.8; }
.login-alert i { margin-top: 4px; }
@media (max-width: 480px) {
  .login-page { padding: 28px 18px; }
  .login-brand { margin-bottom: 23px; }
  .login-brand img { width: 94px; height: 94px; }
  .login-card { padding: 29px 24px; }
  .input-wrap input { font-size: 16px; }
  .input-wrap input::placeholder { font-size: 12px; }
}
@media (max-height: 700px) {
  .login-page { padding-top: 16px; padding-bottom: 16px; }
  .login-brand { margin-bottom: 16px; }
  .login-card { padding-top: 22px; padding-bottom: 22px; }
  .login-form { margin-top: 20px; }
  .form-field + .form-field { margin-top: 15px; }
  .login-submit { margin-top: 20px; }
  .login-card-footer { margin-top: 18px; padding-top: 15px; }
  .login-footer { margin-top: 15px; }
}
.dashboard-page { min-height: 100vh; background: #f7f7f8; color: #171717; }
.dashboard-header { min-height: 82px; padding: 20px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-bottom: 1px solid #e8e8eb; }
.dashboard-brand { font-size: 17px; font-weight: 600; letter-spacing: -.6px; }
.operations-header .dashboard-brand { color: #171717; text-decoration: none; }
.operations-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
body:has(.operations-header) { padding-top: var(--operations-header-height, 82px); }
html:has(.operations-header) { scroll-padding-top: calc(var(--operations-header-height, 82px) + 24px); }
.operations-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.operations-nav .operations-link { padding: 11px 14px; border-radius: 7px; }
.operations-nav .operations-link[aria-current="page"] { background: #000; color: #fff; }
.operations-header + .dashboard-page { min-height: calc(100vh - var(--operations-header-height, 82px)); }
.operations-header ~ .dashboard-page .settings-nav { top: calc(var(--operations-header-height, 82px) + 24px); }
@media (max-width: 1050px) {
  .operations-header { flex-wrap: wrap; }
  .operations-header .operations-nav { order: 3; flex-basis: 100%; }
}
.operations-link { color: #333; font-size: 12px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.operations-link:hover { color: #000; text-decoration: underline; }
.operations-link:focus-visible, .settings-nav a:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.settings-main { max-width: 1360px; }
.settings-private { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #666; }
.settings-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.settings-nav { position: sticky; top: 24px; padding-top: 12px; }
.settings-nav > span { display: block; margin: 0 12px 17px; color: #888; font-size: 9px; letter-spacing: 1.5px; }
.settings-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; margin-bottom: 4px; border-radius: 8px; text-decoration: none; color: #444; font-size: 12px; }
.settings-nav a:hover { color: #000; background: #eaeaec; }
.settings-nav i { width: 18px; text-align: center; }
.settings-nav p { margin: 22px 12px; color: #777; font-size: 10px; line-height: 1.9; }
.settings-form { min-width: 0; }
.connection-test { border-top: 1px solid #efeff1; padding: 18px 28px; }
.connection-test-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.connection-test-button { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #dcdce0; border-radius: 7px; padding: 11px 14px; background: #fff; color: #222; font-size: 11px; }
.connection-test-button:hover { background: #f3f3f3; }
.connection-test-button:disabled { opacity: .55; cursor: wait; }
.connection-test small { flex: 1; min-width: 160px; font-size: 10px; color: #777; line-height: 1.7; }
.connection-test-result { padding: 12px; margin: 14px 0 0; background: #f5f5f5; border-radius: 7px; font-size: 11px; line-height: 1.7; }
.connection-test-result.is-success { color: #275d36; background: #edf7ef; }
.connection-test-result.is-error { color: #7c3525; background: #fff5f2; }
.settings-card { margin-bottom: 24px; border: 1px solid #e2e2e6; border-radius: 14px; background: #fff; scroll-margin-top: 24px; overflow: hidden; }
.settings-card-heading { display: flex; align-items: flex-start; gap: 15px; padding: 26px 28px; border-bottom: 1px solid #efeff1; }
.settings-icon { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e7e7e9; border-radius: 10px; background: #fafafa; font-size: 16px; }
.settings-card h2 { font-size: 15px; font-weight: 500; margin: 2px 0 7px; }
.settings-card-heading p { color: #777; font-size: 11px; line-height: 1.7; margin: 0; }
.settings-fields { padding: 26px 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.settings-field { min-width: 0; }
.settings-field > label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 9px; }
.settings-field > input, .settings-field select { width: 100%; height: 45px; border: 1px solid #dcdce0; background: #fff; border-radius: 7px; padding: 0 12px; color: #222; font: inherit; font-size: 12px; }
.settings-field > input:focus, .settings-field select:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px #0000000d; }
.settings-field > input::placeholder { color: #929292; font-size: 11px; }
.settings-field small { display: block; font-size: 10px; color: #777; line-height: 1.7; margin-top: 8px; }
.secret-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.secret-meta label { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #666; }
.secret-meta input { accent-color: #000; }
.settings-toggle-field { grid-column: 1 / -1; }
.settings-field > .settings-toggle { display: flex; align-items: center; position: relative; gap: 14px; cursor: pointer; margin: 0; }
.settings-toggle > span:first-child { flex: 1; }
.settings-toggle small { font-weight: 400; }
.settings-toggle input { position: absolute; right: 0; width: 44px; height: 26px; opacity: 0; margin: 0; }
.toggle-track { position: relative; width: 44px; height: 26px; border-radius: 20px; background: #ccc; flex-shrink: 0; pointer-events: none; }
.toggle-track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px #0002; }
.settings-toggle input:checked + .toggle-track { background: #000; }
.settings-toggle input:checked + .toggle-track::after { left: 21px; }
.settings-toggle input:focus-visible + .toggle-track { outline: 2px solid #000; outline-offset: 4px; }
.settings-save { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 4px 0 20px; }
.settings-save p { max-width: 410px; margin: 0; font-size: 10px; color: #777; line-height: 1.8; }
.settings-save button { flex-shrink: 0; display: flex; gap: 9px; align-items: center; padding: 14px 22px; border-radius: 8px; border: 0; background: #000; color: #fff; font-size: 12px; }
.settings-save button:hover { background: #262626; }
.settings-feedback { padding: 16px 20px; margin-bottom: 24px; border: 1px solid #ead1cc; border-radius: 10px; background: #fff5f2; color: #7c3525; font-size: 12px; line-height: 1.8; }
.settings-feedback.success { background: #edf7ef; border-color: #cce5d2; color: #275d36; display: flex; align-items: center; gap: 10px; }
@media (max-width: 850px) {
  .settings-layout { grid-template-columns: 1fr; gap: 20px; }
  .settings-nav { position: static; display: flex; flex-wrap: wrap; padding: 0; gap: 4px; }
  .settings-nav > span, .settings-nav p { display: none; }
  .settings-nav a { border: 1px solid #e2e2e6; background: #fff; padding: 10px 12px; }
}
@media (max-width: 560px) {
  .settings-fields { grid-template-columns: 1fr; padding: 22px; }
  .settings-card-heading { padding: 22px; }
  .settings-field > input, .settings-field select { font-size: 16px; }
  .settings-save { align-items: stretch; flex-direction: column; gap: 16px; }
  .settings-save button { justify-content: center; }
}
.dashboard-account { display: flex; align-items: center; gap: 20px; }
.dashboard-account { flex-wrap: wrap; }
.users-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 30px; align-items: start; }
.users-directory { min-width: 0; }
.users-layout.users-list-only { grid-template-columns: 1fr; }
.users-search { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.users-search input { min-width: 0; flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 7px; font-size: 11px; }
.users-search button { border: 0; border-radius: 7px; background: #000; color: #fff; padding: 13px; font-size: 11px; white-space: nowrap; }
.users-search a, .user-cancel { font-size: 11px; color: #333; }
.user-cancel { text-align: center; }
.users-table-wrap { overflow-x: auto; border: 1px solid #e3e3e6; border-radius: 12px; background: #fff; }
.users-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 11px; }
.users-table th { background: #fafafa; padding: 16px; font-size: 10px; color: #707070; font-weight: 500; white-space: nowrap; }
.users-table td { padding: 19px 16px; border-top: 1px solid #eee; }
.users-table strong { display: block; font-weight: 500; }
.users-table small { display: block; margin-top: 6px; color: #888; font-family: monospace; font-size: 10px; white-space: nowrap; }
.airtime-admin-main { max-width: 1700px; }
.airtime-filters { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.airtime-filters input, .airtime-filters select { min-height: 43px; padding: 0 12px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #222; font: inherit; font-size: 11px; }
.airtime-filters input { width: min(360px, 100%); }
.airtime-filters button { min-height: 43px; padding: 0 16px; border: 0; border-radius: 8px; background: #000; color: #fff; font-size: 11px; }
.airtime-filters a { color: #555; font-size: 11px; }
.airtime-admin-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.airtime-admin-layout.has-detail { grid-template-columns: minmax(0, 1fr) 390px; }
.airtime-list-card, .airtime-detail-card { overflow: hidden; border: 1px solid #e2e2e6; border-radius: 14px; background: #fff; }
.airtime-table td { padding: 15px 16px; white-space: nowrap; }
.airtime-status { display: inline-flex; padding: 6px 8px; border-radius: 7px; background: #f0f0f0; color: #555; font-size: 9px; font-weight: 600; }
.airtime-status.status-successful { background: #edf8f0; color: #26713b; }
.airtime-status.status-failed { background: #fff0f0; color: #973939; }
.airtime-status.status-processing, .airtime-status.status-approval_pending { background: #fff7e7; color: #815c14; }
.airtime-detail-card { position: sticky; top: calc(var(--operations-header-height, 82px) + 22px); }
.airtime-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px; border-bottom: 1px solid #eee; }
.airtime-detail-heading small { color: #888; font-size: 9px; letter-spacing: 1px; }
.airtime-detail-heading h2 { margin: 7px 0 0; font-size: 24px; font-weight: 600; }
.airtime-detail-heading > a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #f1f1f1; color: #111; text-decoration: none; }
.airtime-detail-card dl { margin: 0; padding: 10px 24px; }
.airtime-detail-card dl > div { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid #f0f0f0; font-size: 10px; }
.airtime-detail-card dt { color: #888; }
.airtime-detail-card dd { min-width: 0; margin: 0; color: #222; overflow-wrap: anywhere; }
.mono-value { font-family: monospace; }
.airtime-error { margin: 14px 24px; padding: 13px; border-radius: 9px; background: #fff1f1; color: #8c3030; font-size: 10px; }
.airtime-error p { margin: 5px 0 0; line-height: 1.6; }
.airtime-approval { margin: 18px 24px; padding: 16px; border: 1px solid #ead7a7; border-radius: 10px; background: #fffaf0; }
.airtime-approval strong { font-size: 11px; }
.airtime-approval p { margin: 6px 0 14px; color: #765d26; font-size: 10px; line-height: 1.6; }
.airtime-approval button { display: flex; width: 100%; min-height: 43px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: #000; color: #fff; font-size: 11px; font-weight: 600; }
.api-response { margin: 20px 24px 24px; }
.api-response > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; font-size: 10px; }
.api-response > div span { color: #888; font-size: 9px; }
.api-response pre { overflow: auto; max-height: 390px; margin: 0; padding: 14px; border-radius: 9px; background: #111; color: #e7e7e7; font: 10px/1.65 monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1150px) { .airtime-admin-layout.has-detail { grid-template-columns: 1fr; } .airtime-detail-card { position: static; } }
.referral-tag { display: inline-block; background: #f4f4f5; border-radius: 5px; padding: 5px 7px; font-family: monospace; }
.wallet-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.user-edit { display: inline-flex; gap: 6px; color: #333; white-space: nowrap; text-decoration: none; border: 1px solid #ddd; padding: 7px 9px; border-radius: 6px; }
.user-edit:hover { background: #f5f5f5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) { .users-layout { grid-template-columns: 1fr; } }
.products-layout { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: 30px; align-items: start; }
.product-form { padding: 26px; display: grid; gap: 22px; }
.product-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-upload { border: 1px dashed #ccc; background: #fafafa; border-radius: 9px; padding: 18px; display: grid; gap: 14px; }
.product-upload > i { font-size: 24px; color: #777; }
.product-upload input { width: 100%; min-width: 0; font-size: 11px; }
.product-upload input::file-selector-button { font: inherit; background: #fff; border: 1px solid #ddd; padding: 9px; border-radius: 5px; margin-right: 10px; cursor: pointer; }
.product-upload img { width: 100%; max-height: 170px; object-fit: contain; border-radius: 6px; }
.product-add { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 0; border-radius: 7px; background: #000; color: #fff; font-size: 12px; }
.product-add:hover { background: #262626; }
.catalogue-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 5px 0 20px; }
.catalogue-heading h2 { margin: 0; font-size: 16px; font-weight: 500; }
.catalogue-heading > span { color: #777; font-size: 10px; }
.products-empty { padding: 70px 24px; text-align: center; border: 1px dashed #d6d6da; border-radius: 14px; background: #fff; }
.products-empty > i { font-size: 30px; color: #aaa; }
.products-empty h3 { font-size: 15px; font-weight: 500; margin: 22px 0 10px; }
.products-empty p { font-size: 11px; color: #777; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; background: #fff; border: 1px solid #e5e5e8; border-radius: 13px; }
.product-card > img { display: block; width: 100%; height: 190px; object-fit: contain; background: #f0f0f2; padding: 12px; }
.product-card-body { padding: 22px; }
.product-card h3 { margin: 0 0 15px; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.product-price { margin: 0 0 22px; font-size: 25px; letter-spacing: -.7px; overflow-wrap: anywhere; }
.product-price small { font-size: 10px; color: #777; letter-spacing: 0; }
.product-card dl { margin: 0; border-top: 1px solid #eee; padding-top: 14px; }
.product-card dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 10px; line-height: 1.8; padding: 5px 0; }
.product-card dt { color: #777; }
.product-card dd { margin: 0; font-weight: 500; }
.products-pagination { display: flex; justify-content: center; gap: 20px; margin: 25px 0; font-size: 12px; }
.products-pagination a { color: #000; }
@media (max-width: 1050px) { .products-layout { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); } .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .products-layout { grid-template-columns: 1fr; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .product-grid, .product-amounts { grid-template-columns: 1fr; } .product-form { padding: 22px; } }
.logout-button { border: 1px solid #ddd; background: #fff; padding: 10px 14px; border-radius: 7px; font-size: 11px; color: #222; }
.logout-button:hover { background: #f2f2f2; }
.dashboard-workspace { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #666; }
.dashboard-main { max-width: 1600px; margin: 0 auto; padding: 48px clamp(20px, 4vw, 64px); }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.dashboard-eyebrow { margin: 0 0 12px; color: #747474; font-size: 10px; font-weight: 500; letter-spacing: 1.6px; }
.dashboard-heading h1 { margin: 0; font-size: 32px; font-weight: 500; letter-spacing: -1px; }
.dashboard-description { margin: 12px 0 0; color: #707070; font-size: 12px; line-height: 1.8; }
.dashboard-demo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 12px; border: 1px solid #dfdfe2; border-radius: 20px; background: #fff; font-size: 10px; color: #555; }
.dashboard-demo > span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat-card { padding: 24px; border: 1px solid #e5e5e8; border-radius: 13px; background: #fff; box-shadow: 0 3px 12px #00000002; }
.stat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stat-top h2 { margin: 0; font-size: 12px; font-weight: 500; color: #5b5b5b; }
.stat-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: #f3f3f4; color: var(--primary); font-size: 14px; }
.stat-value { margin: 23px 0 14px; font-size: clamp(23px, 2.1vw, 32px); font-weight: 500; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-unit { display: block; min-height: 15px; margin-bottom: 5px; font-size: 10px; font-weight: 400; color: #777; letter-spacing: .6px; }
.stat-value:not(:has(.stat-unit)) { padding-top: 20px; }
.stat-description { margin: 0; color: #777; font-size: 10px; line-height: 1.8; }
.dashboard-note { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 0; color: #777; font-size: 11px; line-height: 1.8; }
@media (max-width: 1100px) {
  .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-value { font-size: 30px; }
}
@media (max-width: 560px) {
  .dashboard-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .dashboard-main { padding-top: 30px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .dashboard-stats { grid-template-columns: 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Scheduled announcements */
.announcement-admin-layout { display: grid; grid-template-columns: minmax(320px, 430px) minmax(0, 1fr); gap: 26px; align-items: start; }
.announcement-editor { overflow: hidden; }
.announcement-form { display: grid; gap: 18px; padding: 24px; }
.announcement-form textarea { width: 100%; resize: vertical; min-height: 150px; border: 1px solid #ddd; border-radius: 8px; padding: 13px 14px; font: inherit; line-height: 1.6; }
.announcement-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.announcement-list { display: grid; gap: 15px; }
.announcement-admin-card { border: 1px solid #e4e4e7; border-radius: 13px; background: #fff; padding: 22px; }
.announcement-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.announcement-card-head h3 { margin: 10px 0 0; font-size: 17px; }
.announcement-card-head a { color: #111; font-size: 11px; text-decoration: none; }
.announcement-admin-card > p { color: #666; font-size: 12px; line-height: 1.75; }
.announcement-admin-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid #eee; padding-top: 15px; }
.announcement-admin-card dt { color: #888; font-size: 9px; text-transform: uppercase; letter-spacing: .7px; }
.announcement-admin-card dd { margin: 5px 0 0; font-size: 10px; }
.announcement-admin-card form { display: flex; justify-content: flex-end; }
.announcement-admin-card form button { border: 1px solid #ddd; border-radius: 7px; background: #fff; padding: 9px 12px; font: inherit; font-size: 10px; cursor: pointer; }
.announcement-state { display: inline-flex; padding: 5px 8px; border-radius: 20px; background: #f2f2f3; color: #555; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.announcement-state.state-live { background: #e8f7ee; color: #187a3c; }
.announcement-state.state-scheduled { background: #edf3ff; color: #245cba; }
.announcement-state.state-disabled, .announcement-state.state-ended { background: #f5eeee; color: #8b4242; }
.wallet-approval-actions { display: grid; gap: 10px; }
.wallet-rejection button { width: 100%; border: 1px solid #e2bcbc; border-radius: 9px; background: #fff5f5; color: #9a3030; padding: 12px; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.lucky-window-card { max-width: 1100px; margin: 28px auto 0; overflow: hidden; }
.lucky-window-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; padding: 24px; }
.lucky-window-form .product-add { min-height: 44px; margin: 0; }
.lucky-window-live { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; }
.lucky-window-live h3 { margin: 12px 0 7px; font-size: 18px; }
.lucky-window-live p, .lucky-window-live small { color: #6d6d6d; font-size: 11px; }
.lucky-window-live form button { border: 0; border-radius: 9px; background: #000; color: #fff; padding: 13px 17px; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.lucky-window-history { border-top: 1px solid #eee; padding: 22px 24px; }
.lucky-window-history > h3 { margin: 0 0 15px; font-size: 13px; }
.lucky-window-history article { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid #f1f1f1; }
.lucky-window-history article > div { display: flex; flex-direction: column; gap: 4px; }
.lucky-window-history article strong { font-size: 11px; }.lucky-window-history article small { color: #777; font-size: 10px; }
@media (max-width: 760px) { .lucky-window-form { grid-template-columns: 1fr; } .lucky-window-live { align-items: flex-start; flex-direction: column; } }
.announcement-modal { position: fixed; inset: 0; z-index: 1500; display: grid; align-items: end; }
.announcement-modal[hidden] { display: none; }
.announcement-backdrop { position: absolute; inset: 0; border: 0; background: rgb(0 0 0 / 58%); }
.announcement-sheet { position: relative; width: min(100%, 430px); margin: 0 auto; border-radius: 24px 24px 0 0; background: #fff; padding: 32px 26px calc(28px + env(safe-area-inset-bottom)); text-align: center; box-shadow: 0 -20px 60px rgb(0 0 0 / 18%); }
.announcement-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f4f4f4; cursor: pointer; }
.announcement-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 18px; background: #000; color: #fff; font-size: 21px; }
.announcement-sheet > small { color: #777; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; }
.announcement-sheet h2 { margin: 9px 30px 12px; font-size: 23px; line-height: 1.25; }
.announcement-sheet p { max-height: 35vh; overflow-y: auto; margin: 0; color: #616161; font-size: 13px; line-height: 1.75; }
.announcement-done { width: 100%; margin-top: 24px; border: 0; border-radius: 10px; background: #000; color: #fff; padding: 15px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) { .announcement-admin-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .announcement-dates, .announcement-admin-card dl { grid-template-columns: 1fr; } }

/* Client portal typography */
.mobile-app .mobile-eyebrow { font-size: 11px; }
.mobile-app .mobile-intro { font-size: 14px; line-height: 1.7; }
.mobile-app .form-field label { font-size: 14px; }
.mobile-app .form-field small { font-size: 12px; line-height: 1.55; }
.mobile-app .mobile-auth-link { font-size: 13px; }
.mobile-app [data-form-message] { font-size: 12px; line-height: 1.6; }
.mobile-app .mobile-footer { font-size: 11px; }
.mobile-app .mobile-wallet > span { font-size: 13px; }
.mobile-app .mobile-wallet small { font-size: 13px; }
.mobile-app .mobile-nav-item { font-size: 11px; }
.mobile-app .mobile-nav-item i { font-size: 18px; }
.mobile-app .portal-empty-state strong { font-size: 16px; }
.mobile-app .portal-empty-state span { font-size: 12px; }
.mobile-app .greeting-card-topline { font-size: 10px; }
.mobile-app .shareholder-greeting blockquote { font-size: 13px; line-height: 1.65; }
.mobile-app .broadcast-message { font-size: 12px; }
.mobile-app .invite-card-title small { font-size: 10px; }
.mobile-app .invite-card-title strong { font-size: 19px; }
.mobile-app .referral-link > span { font-size: 10px; }
.mobile-app .referral-link button { font-size: 10px; }
.mobile-app .section-title-row h2 { font-size: 16px; }
.mobile-app .section-title-row > span { font-size: 10px; }
.mobile-app .commission-grid .level-number { font-size: 9px; }
.mobile-app .commission-grid small { min-height: 34px; font-size: 9px; }
.mobile-app .commission-grid em { font-size: 9px; }
.mobile-app .commission-note { font-size: 10px; }
.mobile-app .team-empty strong { font-size: 14px; }
.mobile-app .team-empty p { font-size: 11px; }
.mobile-app .member-list article strong { font-size: 12px; }
.mobile-app .member-list article small { font-size: 10px; }
.mobile-app .member-list article em { font-size: 9px; }
