html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.toast-region { position: fixed; z-index: 10000; top: 1.25rem; right: 1.25rem; display: grid; width: min(calc(100vw - 2rem), 25rem); gap: .7rem; pointer-events: none; }
.brker-toast { display: grid; grid-template-columns: 2rem minmax(0,1fr) 1.75rem; align-items: center; gap: .7rem; border: 1px solid rgba(255,255,255,.13); border-radius: .7rem; background: rgba(10,23,40,.97); padding: .75rem; box-shadow: 0 18px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.035); opacity: 0; transform: translateX(1rem) translateY(-.35rem); transition: opacity .18s ease, transform .18s ease; pointer-events: auto; }
.brker-toast.is-visible { opacity: 1; transform: translateX(0) translateY(0); }
.brker-toast.is-leaving { opacity: 0; transform: translateX(1rem); }
.brker-toast-icon { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .55rem; }
.brker-toast-icon svg { width: 1.05rem; height: 1.05rem; }
.brker-toast p { color: #e2e8f0; font-size: .8rem; font-weight: 600; line-height: 1.45; }
.brker-toast.is-success { border-color: rgba(163,230,53,.28); }
.brker-toast.is-success .brker-toast-icon { background: rgba(163,230,53,.12); color: #bef264; }
.brker-toast.is-error { border-color: rgba(251,113,133,.32); }
.brker-toast.is-error .brker-toast-icon { background: rgba(251,113,133,.11); color: #fda4af; }
.brker-toast-close { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border-radius: .4rem; color: #64748b; transition: color .15s, background .15s; }
.brker-toast-close:hover { background: rgba(255,255,255,.06); color: white; }
.brker-toast-close svg { width: .95rem; height: .95rem; }
@media (max-width: 640px) { .toast-region { top: .85rem; right: 1rem; } }

/* Global page shimmer */
html.app-loading body::before { content: ''; position: fixed; z-index: 9998; inset: 0; background: #07111f; pointer-events: all; }
html.app-loading body::after { content: ''; position: fixed; z-index: 9999; top: clamp(5.5rem, 14vh, 9rem); left: 50%; width: min(calc(100vw - 3rem), 72rem); height: 22rem; transform: translateX(-50%); border: 1px solid rgba(148,163,184,.1); border-radius: .75rem; background: linear-gradient(105deg, transparent 30%, rgba(163,230,53,.09) 47%, transparent 64%) -130% 0 / 230% 100% no-repeat, linear-gradient(#102139 0 0) 1.5rem 1.5rem / min(34%, 15rem) 1.25rem no-repeat, linear-gradient(#0d1d30 0 0) 1.5rem 3.7rem / min(53%, 24rem) .7rem no-repeat, linear-gradient(#0d1d30 0 0) 1.5rem 5rem / min(44%, 20rem) .7rem no-repeat, linear-gradient(#0d1d30 0 0) 1.5rem 7.6rem / 31% 10.5rem no-repeat, linear-gradient(#0d1d30 0 0) 34.5% 7.6rem / 31% 10.5rem no-repeat, linear-gradient(#0d1d30 0 0) 68% 7.6rem / 31% 10.5rem no-repeat, #0a1728; box-shadow: 0 24px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.025); animation: brker-page-shimmer 1.15s linear infinite; pointer-events: all; }
@keyframes brker-page-shimmer { to { background-position: 130% 0, 1.5rem 1.5rem, 1.5rem 3.7rem, 1.5rem 5rem, 1.5rem 7.6rem, 34.5% 7.6rem, 68% 7.6rem, 0 0; } }
@media (min-width: 1024px) {
  html.app-loading body:has([data-client-dashboard])::after { top: 0; left: 0; width: 100vw; height: 100vh; transform: none; border: 0; border-radius: 0; background: linear-gradient(105deg, transparent 30%, rgba(163,230,53,.065) 47%, transparent 64%) -130% 0 / 230% 100% no-repeat, linear-gradient(#0b1828 0 0) 0 0 / 16rem 100% no-repeat, linear-gradient(rgba(148,163,184,.1) 0 0) 16rem 4.7rem / calc(100% - 16rem) 1px no-repeat, linear-gradient(#102139 0 0) 18.75rem 7.6rem / 15rem 1.35rem no-repeat, linear-gradient(#0d1d30 0 0) 18.75rem 10rem / 25rem .7rem no-repeat, linear-gradient(#0d1d30 0 0) 18.75rem 13.3rem / calc(100% - 22.5rem) 15rem no-repeat, linear-gradient(#0d1d30 0 0) 18.75rem 29.9rem / 52% 13rem no-repeat, linear-gradient(#0d1d30 0 0) calc(18.75rem + 54%) 29.9rem / 22% 13rem no-repeat, linear-gradient(#152b43 0 0) 2.4rem 2rem / 7.5rem 1.4rem no-repeat, linear-gradient(#102139 0 0) 2.4rem 8.7rem / 11rem .7rem no-repeat, linear-gradient(#102139 0 0) 2.4rem 11.1rem / 11rem .7rem no-repeat, linear-gradient(#102139 0 0) 2.4rem 13.5rem / 11rem .7rem no-repeat, linear-gradient(#102139 0 0) 2.4rem 15.9rem / 11rem .7rem no-repeat, #07111f; animation: brker-client-dashboard-shimmer 1.15s linear infinite; }
  @keyframes brker-client-dashboard-shimmer { to { background-position: 130% 0, 0 0, 16rem 4.7rem, 18.75rem 7.6rem, 18.75rem 10rem, 18.75rem 13.3rem, 18.75rem 29.9rem, calc(18.75rem + 54%) 29.9rem, 2.4rem 2rem, 2.4rem 8.7rem, 2.4rem 11.1rem, 2.4rem 13.5rem, 2.4rem 15.9rem, 0 0; } }
}
@media (max-width: 640px) { html.app-loading body::after { top: 5.5rem; height: 18rem; background-size: 230% 100%, 56% 1.15rem, 80% .65rem, 66% .65rem, 100% 7.6rem, 0 0, 0 0, auto; background-position: -130% 0, 1rem 1.25rem, 1rem 3.2rem, 1rem 4.35rem, 1rem 6.45rem, 0 0, 0 0, 0 0; } @keyframes brker-page-shimmer { to { background-position: 130% 0, 1rem 1.25rem, 1rem 3.2rem, 1rem 4.35rem, 1rem 6.45rem, 0 0, 0 0, 0 0; } } }

.hero-grid {
  background-image: linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, black, transparent 86%);
}

.chart-lines {
  background-image: linear-gradient(rgba(148, 163, 184, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .1) 1px, transparent 1px);
  background-size: 25% 25%;
}

.nav-menu:hover .nav-panel, .nav-menu:focus-within .nav-panel, .nav-menu.is-open .nav-panel { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.nav-panel { pointer-events: none; }
.nav-item { display: flex; gap: .75rem; border-radius: .65rem; padding: .7rem; color: #cbd5e1; transition: background-color .15s, color .15s; }.nav-item:hover { background: rgba(255,255,255,.06); color: white; }.nav-item b { display: block; font-size: .825rem; }.nav-item small { display: block; margin-top: .15rem; color: #64748b; font-size: .72rem; }
.nav-icon { display: grid; flex: none; width: 2rem; height: 2rem; place-items: center; border-radius: .5rem; background: rgba(183,243,74,.1); color: #b7f34a; }.nav-icon svg { width: 1rem; height: 1rem; }
.footer-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: white; }.footer-links { margin-top: 1.1rem; display: grid; gap: .7rem; font-size: .875rem; color: #94a3b8; }.footer-links a { transition: color .15s; }.footer-links a:hover { color: #b7f34a; }
.social-link { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: .5rem; color: #94a3b8; transition: color .15s, border-color .15s, background .15s; }.social-link:hover { border-color: rgba(183,243,74,.45); background: rgba(183,243,74,.08); color: #b7f34a; }.social-link svg { width: 1rem; height: 1rem; }
.page-transition { display: none; }
.prose-legal h2 { margin-top: 2.5rem; font-family: Manrope, sans-serif; font-size: 1.4rem; font-weight: 800; }.prose-legal p { margin-top: .8rem; color: #94a3b8; line-height: 1.9; }
.auth-label { display: block; font-size: .75rem; font-weight: 700; color: #cbd5e1; }.auth-input { margin-top: .45rem; width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: .55rem; background: rgba(2,6,23,.42); padding: .78rem .85rem; color: white; font-size: .875rem; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }.auth-input::placeholder { color: #64748b; }.auth-input:focus { border-color: rgba(183,243,74,.75); background: rgba(2,6,23,.62); box-shadow: 0 0 0 3px rgba(183,243,74,.1); }.auth-select, .auth-dial { appearance: none; color-scheme: dark; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }.auth-dial { padding-right: 1.9rem; background-position: right .45rem center; }.password-toggle { position: absolute; right: .85rem; top: calc(50% + .22rem); display: grid; height: 2rem; width: 2rem; place-items: center; transform: translateY(-50%); color: #94a3b8; transition: color .15s; }.password-toggle:hover { color: #b7f34a; }
.auth-shell { background-image: radial-gradient(circle at 12% 18%, rgba(183,243,74,.055), transparent 27%), linear-gradient(rgba(148,163,184,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.025) 1px, transparent 1px); background-size: auto, 46px 46px, 46px 46px; }.auth-panel { border: 1px solid rgba(255,255,255,.105); border-radius: 1rem; background: linear-gradient(145deg, rgba(18,33,51,.98), rgba(9,20,34,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.27), inset 0 1px 0 rgba(255,255,255,.035); }
.brand-check { accent-color: #b7f34a; }
.auth-file { display: block; width: 100%; margin-top: .45rem; border: 1px dashed rgba(148,163,184,.35); border-radius: .55rem; background: rgba(2,6,23,.35); padding: .62rem; color: #94a3b8; font-size: .75rem; }.auth-file::file-selector-button { margin-right: .7rem; border: 0; border-radius: .35rem; background: rgba(183,243,74,.13); padding: .42rem .6rem; color: #b7f34a; font-weight: 700; cursor: pointer; }.auth-alert, .auth-notice { display: none !important; }
.admin-shell { background: radial-gradient(circle at 88% 0, rgba(183,243,74,.055), transparent 23%), #07111f; }.admin-sidebar { background: linear-gradient(180deg, #0b1828, #081321); }.admin-nav { display: flex; align-items: center; gap: .75rem; border-radius: .55rem; padding: .72rem .8rem; color: #94a3b8; font-size: .875rem; font-weight: 700; transition: color .15s, background .15s; }.admin-nav svg { width: 1.05rem; height: 1.05rem; }.admin-nav:hover { color: #e2e8f0; background: rgba(255,255,255,.04); }.admin-nav.is-active { background: rgba(183,243,74,.12); color: #c8ff63; }.admin-card { border: 1px solid rgba(255,255,255,.09); border-radius: .9rem; background: rgba(10,23,40,.78); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }.admin-stat { position: relative; min-height: 138px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: .85rem; background: rgba(10,23,40,.78); padding: 1.2rem; }.admin-stat p { margin-top: 1.25rem; color: #94a3b8; font-size: .78rem; font-weight: 600; }.admin-stat strong { display: block; margin-top: .35rem; color: #fff; font-family: Manrope, sans-serif; font-size: 1.8rem; letter-spacing: -.06em; }.admin-stat-icon { position: absolute; right: 1rem; top: 1rem; display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: .55rem; background: rgba(183,243,74,.1); color: #b7f34a; }.admin-stat-icon svg { width: 1rem; height: 1rem; }.admin-stat-icon.amber { background: rgba(251,191,36,.1); color: #fbbf24; }.admin-stat-icon.blue { background: rgba(96,165,250,.11); color: #93c5fd; }.admin-filter { flex: none; border: 1px solid rgba(255,255,255,.1); border-radius: .55rem; padding: .53rem .75rem; color: #94a3b8; font-size: .75rem; font-weight: 700; transition: color .15s, border-color .15s, background .15s; }.admin-filter:hover { border-color: rgba(183,243,74,.38); color: #d9f99d; }.admin-filter.is-active { border-color: rgba(183,243,74,.35); background: rgba(183,243,74,.1); color: #c8ff63; }.admin-status { display: inline-flex; align-items: center; border: 1px solid; border-radius: 999px; padding: .28rem .55rem; font-size: .69rem; font-weight: 800; white-space: nowrap; }.admin-status.pending_review { border-color: rgba(251,191,36,.28); background: rgba(251,191,36,.08); color: #fcd34d; }.admin-status.pending_documents { border-color: rgba(148,163,184,.25); background: rgba(148,163,184,.08); color: #cbd5e1; }.admin-status.active { border-color: rgba(183,243,74,.3); background: rgba(183,243,74,.09); color: #c8ff63; }.admin-status.rejected, .admin-status.suspended { border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.08); color: #fca5a5; }
.dashboard-step { display: flex; align-items: center; gap: .75rem; border: 1px solid rgba(255,255,255,.07); border-radius: .7rem; padding: .75rem; color: #cbd5e1; transition: border-color .15s, background .15s; }.dashboard-step:hover { border-color: rgba(183,243,74,.3); background: rgba(183,243,74,.045); }.dashboard-step > span { display: grid; width: 1.65rem; height: 1.65rem; flex: none; place-items: center; border-radius: 50%; background: rgba(183,243,74,.12); color: #b7f34a; font-size: .72rem; font-weight: 800; }.dashboard-step div { flex: 1; }.dashboard-step b, .dashboard-step small { display: block; }.dashboard-step b { font-size: .8rem; color: white; }.dashboard-step small { margin-top: .13rem; font-size: .7rem; color: #64748b; }.dashboard-step svg { width: 1rem; height: 1rem; color: #94a3b8; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.admin-status { border-radius: 4px; }
.auth-alert.is-inline-auth-error { display: block !important; border: 1px solid rgba(248,113,113,.38); border-radius: .6rem; background: rgba(127,29,29,.17); padding: .78rem .9rem; color: #fecaca; font-size: .82rem; font-weight: 600; line-height: 1.45; }
.brand-mark { display: block; width: 2.15rem; height: 2.15rem; flex: none; border: 1px solid rgba(163,230,53,.22); border-radius: .65rem; object-fit: cover; box-shadow: 0 0 0 3px rgba(163,230,53,.045); }.brand-wordmark { display: flex; flex-direction: column; justify-content: center; min-width: 0; font-family: Manrope, sans-serif; line-height: 1; white-space: nowrap; }.brand-wordmark > span { color: #f8fafc; font-size: .95rem; font-weight: 800; letter-spacing: -.055em; }.brand-wordmark > small { margin-top: .22rem; color: #a3e635; font-size: .48rem; font-weight: 800; letter-spacing: .28em; line-height: 1; text-transform: uppercase; }
.admin-card { border-radius: 8px; }
.admin-status { border-radius: 4px !important; }
.admin-card:has(table) { border-radius: 6px; }

/* Deposit confirmation */
#deposit-modal > div { box-shadow: 0 28px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04); }
#deposit-modal [data-deposit-step="wallet"] > div { position: relative; overflow: hidden; border-color: rgba(163,230,53,.2); background: linear-gradient(145deg, rgba(8,24,42,.96), rgba(6,18,33,.96)); }
#deposit-modal [data-deposit-step="wallet"] > div::after { content: ''; position: absolute; right: -4rem; top: -4rem; width: 11rem; height: 11rem; border-radius: 50%; background: rgba(163,230,53,.06); filter: blur(18px); pointer-events: none; }
#wallet-qr { position: relative; z-index: 1; box-shadow: 0 8px 26px rgba(0,0,0,.28); }
#wallet-address { min-width: 0; line-height: 1.65; color: #dbeafe; cursor: pointer; }
#wallet-address::after { content: '⧉  Copy'; display: inline-flex; align-items: center; margin-left: .7rem; border: 1px solid rgba(163,230,53,.45); border-radius: .35rem; background: rgba(163,230,53,.1); padding: .25rem .45rem; color: #bef264; font-family: Inter, sans-serif; font-size: .67rem; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
#wallet-address:hover::after { background: rgba(163,230,53,.18); }
#wallet-address[data-copied="true"]::after { content: '✓  Copied'; }
#wallet-address[data-copied="failed"]::after { content: 'Copy unavailable'; color: #fca5a5; border-color: rgba(248,113,113,.4); }
.copy-status-panel p.mt-5.text-xs { display: none; }
.copy-status-panel .shadow-xl { box-shadow: none !important; }
.admin-card + nav > div { align-items: center; }
.admin-action-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(2, 6, 23, .78); backdrop-filter: blur(7px); }
.admin-action-modal.is-open { display: flex; }
.admin-action-modal > section { width: min(100%, 58rem); max-height: 92vh; overflow-y: auto; box-shadow: 0 26px 80px rgba(0,0,0,.5); }

/* Mobile navigation and compact layouts */
.mobile-menu-backdrop { position: fixed; z-index: 88; inset: 0; display: none; width: 100%; background: rgba(2,6,23,.72); opacity: 0; transition: opacity .28s ease; }.mobile-menu-backdrop.is-open { display: block; opacity: 1; }.mobile-menu { position: fixed !important; z-index: 89; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; display: block; width: min(21rem, calc(100vw - 2.75rem)); height: 100dvh !important; max-height: none !important; overflow-y: auto; border-left: 1px solid rgba(255,255,255,.1); background: #0a1727; padding: 4.8rem 1rem 1.25rem; opacity: 1; visibility: hidden; transform: translate3d(104%,0,0) !important; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s; box-shadow: -18px 0 50px rgba(0,0,0,.32); }.mobile-menu > nav { display: grid; gap: .3rem; }.mobile-menu.is-open { visibility: visible; transform: translate3d(0,0,0) !important; transition-delay: 0s; }.mobile-menu-close { position: absolute; top: 1.05rem; right: 1rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: .6rem; color: #cbd5e1; }.mobile-menu-close svg { width: 1.1rem; height: 1.1rem; }
.dashboard-mobile-trigger, .dashboard-mobile-drawer { display: none; }
@media (max-width: 1023px) {
  .dashboard-mobile-trigger { display: grid; width: 2.5rem; height: 2.5rem; flex: none; place-items: center; border: 1px solid rgba(163,230,53,.4); border-radius: .65rem; background: #16293d; color: #d9f99d; box-shadow: 0 8px 20px rgba(0,0,0,.2); }.dashboard-mobile-trigger svg { width: 1.05rem; height: 1.05rem; }
  .dashboard-mobile-drawer { display: block; position: fixed; z-index: 80; inset: 0; visibility: hidden; pointer-events: none; }.dashboard-mobile-drawer.is-open { visibility: visible; pointer-events: auto; }.dashboard-mobile-backdrop { position: absolute; inset: 0; width: 100%; background: rgba(2,6,23,.73); opacity: 0; transition: opacity .26s ease; }.dashboard-mobile-drawer.is-open .dashboard-mobile-backdrop { opacity: 1; }.dashboard-mobile-panel { position: relative; display: flex; width: min(20rem, calc(100vw - 3.25rem)); height: 100%; margin-left: auto; flex-direction: column; overflow-y: auto; border-left: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg,#0d1d30,#091827); padding: 1.15rem; transform: translateX(102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 50px rgba(0,0,0,.33); }.dashboard-mobile-drawer.is-open .dashboard-mobile-panel { transform: translateX(0); }.dashboard-mobile-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); padding: .1rem .15rem 1rem; color: #f8fafc; font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; }.dashboard-mobile-close { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: .55rem; color: #94a3b8; transition: color .15s,border-color .15s; }.dashboard-mobile-close:hover { border-color: rgba(163,230,53,.35); color: #d9f99d; }.dashboard-mobile-close svg { width: 1rem; height: 1rem; }.dashboard-mobile-nav { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: .25rem; padding-top: 1rem; }.dashboard-mobile-nav nav { display: grid; gap: .25rem; }.dashboard-mobile-nav nav + nav { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }.dashboard-mobile-nav .mt-auto { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem .75rem calc(.25rem + env(safe-area-inset-bottom)); }.dashboard-mobile-nav .mt-auto > p:first-child { font-size: .95rem; }.dashboard-mobile-nav .mt-auto > p:nth-child(2) { margin-top: .3rem; }.dashboard-mobile-nav .mt-auto a { margin-top: 1.25rem; border: 1px solid rgba(248,113,113,.2); border-radius: .6rem; padding: .72rem .8rem; color: #fda4af; transition: background .15s,border-color .15s; }.dashboard-mobile-nav .mt-auto a:hover { border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.08); color: #fecdd3; }.dashboard-mobile-nav .admin-nav { padding: .8rem; }.mobile-nav-open { overflow: hidden; }
  .admin-card { border-radius: .7rem; }.admin-stat { min-height: 120px; }.admin-card > .overflow-x-auto { -webkit-overflow-scrolling: touch; }.admin-card > .overflow-x-auto::after { content: ''; display: block; height: 1px; }
  main > nav[aria-label], .admin-card + nav { flex-wrap: wrap; align-items: center; }.admin-card + nav > div { width: 100%; justify-content: space-between; }.admin-card + nav > p { width: 100%; }
  .copy-status-panel .grid.grid-cols-3 { gap: .5rem; }.copy-status-panel .grid.grid-cols-3 > div { min-width: 0; }.copy-status-panel .grid.grid-cols-3 .border-x { padding-left: .65rem; padding-right: .65rem; }.copy-status-panel .grid.grid-cols-3 .pl-4 { padding-left: .65rem; }
  .admin-action-modal { align-items: flex-end; padding: 0; }.admin-action-modal > section { width: 100%; max-height: min(88vh, 46rem); border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
}
@media (max-width: 640px) {
  .brand-mark { width: 1.95rem; height: 1.95rem; }.brand-wordmark > span { font-size: .87rem; }.brand-wordmark > small { font-size: .43rem; }
  .auth-shell { align-items: flex-start; padding-top: 1.25rem; padding-bottom: 1.5rem; }.auth-panel { margin-top: 2.25rem !important; padding: 1.35rem !important; }.auth-panel h1 { font-size: 2rem !important; }.auth-input { min-height: 2.9rem; }
  .admin-card { border-radius: .6rem; }.admin-card:not(:has(table)) { padding: 1rem !important; }.admin-card > div.overflow-x-auto table th, .admin-card > div.overflow-x-auto table td { padding-left: 1rem; padding-right: 1rem; }
  .admin-filter { padding: .55rem .65rem; }.admin-card + nav > div { gap: .4rem; }.admin-card + nav > div > * { flex: 1; text-align: center; }.admin-card + nav > div > span { flex: 0 1 auto; padding-left: .25rem; padding-right: .25rem; white-space: nowrap; }
  .toast-region { width: calc(100vw - 1.5rem); right: .75rem; }.brker-toast { grid-template-columns: 1.8rem minmax(0,1fr) 1.6rem; padding: .65rem; }
  .tradingview-widget-container { height: 450px !important; }.tradingview-widget-container__widget { height: 420px !important; }.tradingview-widget-container iframe { height: 420px !important; }
  #deposit-modal, .fixed.inset-0.z-50 { padding: .75rem; }.fixed.inset-0.z-50 > div:not(.dashboard-mobile-drawer) { max-height: calc(100vh - 1.5rem); overflow-y: auto; }
}
@media (min-width: 1024px) { .mobile-menu, .mobile-menu-backdrop { display: none !important; } }

/* Dashboard mobile headers: keep the navigation trigger in one predictable place. */
@media (max-width: 1023px) {
  .admin-shell header.dashboard-page-header,
  .admin-shell header:has(.dashboard-mobile-trigger) {
    position: relative;
    padding-right: 5.5rem;
  }

  .admin-shell header .dashboard-mobile-trigger {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    z-index: 2;
    transform: translateY(-50%);
  }

  .admin-shell header > .flex:last-child,
  .admin-shell header > a:last-child {
    margin-right: .5rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .admin-shell header .dashboard-mobile-trigger { right: 2rem; }
}

