/* BYGOTIC V40 · EXACT PROTOTYPE AUTHORITY CUTOVER
   Visual contract: BYGOTIC_V39_PROTOTIPO_VISUAL_ADAPTADO.html
   One visual authority loaded last. No business logic lives here. */
:root{
 --v39x-bg:#03080d;--v39x-bg2:#06111a;--v39x-panel:#081722;--v39x-panel2:#0b1e2b;--v39x-panel3:#0d2331;
 --v39x-line:#173247;--v39x-line2:#20445d;--v39x-text:#f4f7fb;--v39x-muted:#90a3b7;--v39x-muted2:#61758a;
 --v39x-gold:#f2c84b;--v39x-gold2:#dcae2c;--v39x-green:#25e891;--v39x-red:#ff5f65;--v39x-blue:#4cb7ff;
 --v39x-shadow:0 20px 55px rgba(0,0,0,.34);--v39x-radius:18px;--v39x-radius-lg:24px;--v39x-sidebar:236px;
}
*{box-sizing:border-box}
html{background:var(--v39x-bg)!important;color-scheme:dark}
body.v39-prototype-live{margin:0!important;background:radial-gradient(900px 600px at 82% 0,rgba(16,70,96,.13),transparent 55%),linear-gradient(180deg,#02070b 0%,#050a0f 100%)!important;color:var(--v39x-text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;min-height:100vh}
body.v39-prototype-live a{color:inherit;text-decoration:none}
body.v39-prototype-live button,body.v39-prototype-live input,body.v39-prototype-live select,body.v39-prototype-live textarea{font:inherit}
body.v39-prototype-live .hidden{display:none!important}
/* main shell */
body.v39-prototype-live .topbar{height:76px!important;margin-left:var(--v39x-sidebar)!important;width:calc(100% - var(--v39x-sidebar))!important;position:sticky!important;top:0!important;z-index:90!important;background:rgba(3,11,17,.94)!important;border-bottom:1px solid #132c3b!important;backdrop-filter:blur(18px)!important;padding:0 26px!important;box-shadow:none!important}
body.v39-prototype-live .layout{display:grid!important;grid-template-columns:var(--v39x-sidebar) minmax(0,1fr)!important;min-height:calc(100vh - 76px)!important}
body.v39-prototype-live .sidebar{position:fixed!important;inset:0 auto 0 0!important;width:var(--v39x-sidebar)!important;z-index:100!important;padding:20px 14px 18px!important;background:linear-gradient(180deg,#041019 0%,#03090e 58%,#040b10 100%)!important;border-right:1px solid #102331!important;box-shadow:none!important;overflow:auto!important}
body.v39-prototype-live main#mainContent{grid-column:2!important;width:100%!important;max-width:1680px!important;margin:0 auto!important;padding:22px 28px 50px!important;min-width:0!important}
body.v39-prototype-live .sidebar-brand{padding:7px 10px 21px!important;border:0!important;margin:0 0 8px!important;gap:12px!important}
body.v39-prototype-live .sidebar-brand img{width:42px!important;height:42px!important;border:1px solid rgba(242,200,75,.55)!important;border-radius:12px!important;box-shadow:0 0 28px rgba(242,200,75,.15)!important}
body.v39-prototype-live .sidebar-brand b{font-size:17px!important;letter-spacing:.04em!important;color:#fff!important}
body.v39-prototype-live .sidebar-brand small{font-size:8px!important;letter-spacing:.22em!important;color:#778a9d!important}
body.v39-prototype-live .nav-section>small{display:block!important;font-size:8px!important;letter-spacing:.18em!important;color:#52697f!important;padding:13px 12px 8px!important;text-transform:uppercase!important}
body.v39-prototype-live .nav-item{min-height:49px!important;border-radius:13px!important;padding:10px 12px!important;color:#a8b6c6!important;border:1px solid transparent!important;background:transparent!important;margin:2px 0!important;gap:11px!important;transition:.18s!important}
body.v39-prototype-live .nav-item:hover{background:#0a1822!important;color:#fff!important}
body.v39-prototype-live .nav-item.active{background:linear-gradient(90deg,rgba(242,200,75,.16),rgba(242,200,75,.05))!important;border-color:#6b5319!important;color:#fff!important;box-shadow:inset 3px 0 var(--v39x-gold)!important}
body.v39-prototype-live .nav-item .nav-icon,body.v39-prototype-live .nav-item>span:first-child{width:29px!important;height:29px!important;min-width:29px!important;border:1px solid #1c3445!important;border-radius:9px!important;display:grid!important;place-items:center!important;color:#d8e5f1!important}
body.v39-prototype-live .nav-item.active .nav-icon{border-color:#795f1c!important;color:var(--v39x-gold)!important;background:#16180f!important}
body.v39-prototype-live .nav-item b{font-size:12px!important;font-weight:760!important}
body.v39-prototype-live .nav-item em{margin-left:auto!important;font-size:8px!important;color:var(--v39x-gold)!important;border:1px solid #5d4a18!important;border-radius:999px!important;padding:3px 6px!important;background:#17160c!important}
body.v39-prototype-live .sidebar-foot{margin-top:16px!important}
body.v39-prototype-live .sidebar-logout-button{border:1px solid #4a1e25!important;background:#16090d!important;color:#ff9699!important;border-radius:12px!important;padding:11px 12px!important}
body.v39-prototype-live .topbar-context p{font-size:9px!important;letter-spacing:.18em!important;color:#71879a!important}body.v39-prototype-live .topbar-context strong{font-size:13px!important;color:#eef4f9!important}
body.v39-prototype-live :is(.live-system-pill,.save-pill,.sync-clock,.presence-top-button,.top-actions .icon-button,.user-chip){background:#07151f!important;border:1px solid #173247!important;color:#d7e4ee!important;border-radius:12px!important}
body.v39-prototype-live .app-avatar{border:1px solid var(--v39x-gold)!important}
/* exact prototype primitives */
.v39p-hero,.v39a-home-hero,.v39a-buy-hero,body.v39-prototype-live .page-heading{position:relative!important;min-height:210px!important;overflow:hidden!important;border:1px solid #17384b!important;border-radius:24px!important;background:linear-gradient(90deg,rgba(7,20,29,.97) 0%,rgba(7,20,29,.88) 48%,rgba(7,20,29,.33) 100%),radial-gradient(450px 210px at 83% 50%,rgba(242,200,75,.16),transparent 62%),linear-gradient(135deg,#06141e,#0b2635)!important;padding:30px 32px!important;box-shadow:var(--v39x-shadow)!important}
.v39p-hero:before,.v39a-home-hero:before,.v39a-buy-hero:before,body.v39-prototype-live .page-heading:before{content:""!important;position:absolute!important;right:3%!important;bottom:-12px!important;width:320px!important;height:150px!important;opacity:.8!important;background:linear-gradient(145deg,transparent 0 37%,rgba(242,200,75,.2) 38% 38.7%,transparent 39%),linear-gradient(165deg,transparent 0 44%,#071119 45% 62%,transparent 63%),linear-gradient(195deg,transparent 0 47%,#0c1b24 48% 67%,transparent 68%)!important;pointer-events:none!important}
.v39p-hero:after,.v39a-home-hero:after,.v39a-buy-hero:after{content:"";position:absolute;right:17%;top:42px;width:72px;height:102px;transform:rotate(45deg);border:2px solid rgba(242,200,75,.84);background:linear-gradient(135deg,rgba(242,200,75,.03),rgba(242,200,75,.28));box-shadow:0 0 60px rgba(242,200,75,.22)}
.v39p-hero>*{position:relative;z-index:2}.v39p-kicker,.v39a-kicker,body.v39-prototype-live .eyebrow,body.v39-prototype-live .pilot-kicker{font-size:10px!important;letter-spacing:.22em!important;color:var(--v39x-gold)!important;text-transform:uppercase!important;font-weight:800!important}
.v39p-hero h1,.v39a-home-hero h1,.v39a-buy-hero h1,body.v39-prototype-live .page-heading h1{font-size:clamp(34px,4vw,52px)!important;line-height:1.04!important;margin:8px 0 9px!important;max-width:760px!important;letter-spacing:-.035em!important;color:#fff!important}
.v39p-hero p,.v39a-home-hero p,.v39a-buy-hero p,body.v39-prototype-live .page-heading p:not(.eyebrow){color:#a6b7c7!important;max-width:680px!important;font-size:14px!important;line-height:1.55!important}
.v39p-section,.v39a-section,body.v39-prototype-live :is(.panel,.admin-card,.summary-card,.metric-card,.v38-account-card,.v38-balance,.v38-movements-panel){background:linear-gradient(180deg,#07161f,#06121a)!important;border:1px solid #173247!important;border-radius:18px!important;padding:17px!important;box-shadow:none!important;color:var(--v39x-text)!important}
.v39p-section-head,.v39a-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:12px!important}.v39p-section-head h2,.v39a-section-head h2{font-size:16px!important;margin:0!important;color:#fff!important}.v39p-section-head p,.v39a-section-head p{color:#7f92a5!important;font-size:11px!important;margin:3px 0 0!important}
.v39p-grid-4,.v39a-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}.v39p-metric,.v39a-metric{background:linear-gradient(180deg,#0a1a25,#07141d)!important;border:1px solid #173247!important;border-radius:15px!important;padding:16px!important;min-height:105px!important}.v39p-metric small,.v39a-metric small{color:#8fa1b4!important;font-size:10px!important}.v39p-metric strong,.v39a-metric strong{display:block!important;font-size:25px!important;margin:8px 0 2px!important;color:#fff!important}.v39p-metric em,.v39a-metric em{font-style:normal!important;font-size:9px!important;color:var(--v39x-green)!important}
.v39p-layout-2,.v39a-home-grid,.v39a-buy-layout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr)!important;gap:14px!important;margin-top:14px!important;min-width:0!important}
.v39p-layout-3{display:grid!important;grid-template-columns:minmax(250px,.72fr) minmax(0,1.35fr) minmax(300px,.88fr)!important;gap:14px!important;margin-top:14px!important}
.v39p-quick-grid,.v39a-quick{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.v39p-quick,.v39a-quick>a,.v39a-quick>button{border:1px solid #1b3a4e!important;background:#071722!important;border-radius:13px!important;padding:15px!important;color:#e9f1f7!important;cursor:pointer!important}.v39p-quick:hover,.v39a-quick>a:hover,.v39a-quick>button:hover{border-color:#6d571c!important;background:#10180f!important}
.v39p-btn,body.v39-prototype-live :is(.btn,.jp-primary,.jp-secondary,.pilot-primary,.pilot-secondary,.pilot-mini){border-radius:11px!important;font-weight:800!important}
.v39p-btn.gold,body.v39-prototype-live :is(.btn.primary,.jp-primary,.pilot-primary){background:linear-gradient(180deg,#f7d85c,#d9a927)!important;border:1px solid #f1cf51!important;color:#0b0d10!important;box-shadow:0 10px 25px rgba(210,162,29,.2)!important}
body.v39-prototype-live :is(.btn.secondary,.jp-secondary,.pilot-secondary){background:#0b1b26!important;border:1px solid #28475b!important;color:#e4edf4!important}
body.v39-prototype-live :is(input,select,textarea){background:#07151f!important;border:1px solid #214156!important;color:#e9f2f9!important;border-radius:11px!important;outline:0!important}body.v39-prototype-live :is(input,select,textarea):focus{border-color:#a78124!important;box-shadow:0 0 0 3px rgba(242,200,75,.08)!important}
body.v39-prototype-live table{border-collapse:collapse!important;background:#07151f!important;color:#c7d5e2!important}body.v39-prototype-live th{background:#0b2130!important;color:#7f94a8!important;border-bottom:1px solid #18384c!important}body.v39-prototype-live td{border-bottom:1px solid #102a39!important}
/* dashboard aliases from the approved prototype */
.v39a-dashboard{display:grid!important;gap:14px!important}.v39a-home-copy{position:relative!important;z-index:2!important;max-width:750px!important}.v39a-hero-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin-top:24px!important}.v39a-admin-only,.v39a-member-only{display:none!important}.v39-prototype-admin .v39a-admin-only{display:inline!important}.v39-prototype-member .v39a-member-only{display:inline!important}.v39-prototype-admin .v39a-admin-only.v39a-block,.v39-prototype-member .v39a-member-only.v39a-block{display:block!important}.v39a-quick{grid-template-columns:repeat(3,minmax(0,1fr))!important}
/* purchases: use real joint-purchases IDs, prototype geometry */
body.v39-prototype-live.jp-page{background:radial-gradient(820px 520px at 82% 0,rgba(16,70,96,.13),transparent 55%),#03080d!important;color:#f4f7fb!important}
body.v39-prototype-live .jp-topbar{background:#041019!important;border-bottom:1px solid #173247!important}body.v39-prototype-live .jp-shell{max-width:1600px!important;margin:0 auto!important;padding:18px 24px 52px!important}body.v39-prototype-live .jp-hub-nav{background:#06141d!important;border:1px solid #173247!important;border-radius:14px!important;padding:8px!important;margin:12px auto!important;max-width:1600px!important}body.v39-prototype-live .jp-hub-tabs button{background:#071722!important;border:1px solid #173247!important;border-radius:11px!important;color:#aebdcc!important}body.v39-prototype-live .jp-hub-tabs button.active{background:#18170d!important;border-color:#87691d!important;color:#f5d35a!important;box-shadow:0 0 24px rgba(242,200,75,.10)!important}
body.v39-prototype-live .jp-card,body.v39-prototype-live .jp-offer-card,body.v39-prototype-live .jp-participate,body.v39-prototype-live .jp-order-card,body.v39-prototype-live .jp-dossier-card{background:linear-gradient(180deg,#07161f,#06121a)!important;border:1px solid #173247!important;border-radius:16px!important;color:#eef5fa!important;box-shadow:none!important}body.v39-prototype-live .jp-rate,body.v39-prototype-live .jp-quote,body.v39-prototype-live .jp-money-input,body.v39-prototype-live .jp-binance-uid-gate{background:#06141d!important;border-color:#1d3c4f!important}body.v39-prototype-live .jp-rate strong,body.v39-prototype-live .jp-quote-main strong{color:#f5d45f!important}body.v39-prototype-live .jp-buy-cta{width:100%!important;min-height:54px!important;font-size:15px!important}
.v39a-buy-panel{min-width:0!important}.v39a-buy-help{display:grid!important;gap:8px!important}.v39a-buy-help article{display:grid!important;grid-template-columns:34px 1fr!important;gap:10px!important;padding:12px!important;border:1px solid #173247!important;border-radius:13px!important;background:#07151f!important}.v39a-buy-help i{width:32px!important;height:32px!important;border-radius:9px!important;border:1px solid #4f4318!important;display:grid!important;place-items:center!important;color:var(--v39x-gold)!important;font-style:normal!important}
/* existing admin/member/profile/finance views mapped to the approved card system */
body.v39-prototype-live #view-admin .admin-users-layout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;gap:14px!important}body.v39-prototype-live #view-admin :is(.admin-users-card,.admin-create-user,.admin-panel){background:#07161f!important;border:1px solid #173247!important;border-radius:18px!important;box-shadow:none!important}body.v39-prototype-live #view-admin th{background:#0b2130!important}
body.v39-prototype-live #view-base :is(.base-toolbar,.base-table-wrap,.base-panel){background:#07161f!important;border:1px solid #173247!important;border-radius:16px!important}body.v39-prototype-live #view-base :is(.base-row,.base-item){border-color:#143044!important;background:#07141d!important;border-radius:13px!important}
body.v39-prototype-live #view-accounts .v38-account-layout{display:grid!important;grid-template-columns:minmax(280px,.72fr) minmax(0,1fr)!important;gap:14px!important}body.v39-prototype-live #view-accounts :is(.v38-account-card,.v38-movements-panel,.v38-balance){background:#07161f!important;border:1px solid #173247!important;border-radius:18px!important}
body.v39-prototype-live #view-p2p :is(.panel,.p2p-card,.p2p-section){background:#07161f!important;border:1px solid #173247!important;border-radius:18px!important}body.v39-prototype-live #view-account :is(.panel,.account-card,.security-card){background:#07161f!important;border:1px solid #173247!important;border-radius:18px!important}
/* pilot pages: restore real functionality and use prototype composition */
body.v39-prototype-live.pilot-page{background:radial-gradient(780px 480px at 82% 0,rgba(16,70,96,.12),transparent 55%),#03080d!important;color:#f4f7fb!important}
body.v39-prototype-live .pilot-topbar{min-height:72px!important;background:rgba(3,11,17,.95)!important;border-bottom:1px solid #173247!important;padding:0 24px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;position:sticky!important;top:0!important;z-index:80!important}body.v39-prototype-live .pilot-logo{font-size:18px!important;font-weight:900!important;letter-spacing:.04em!important;color:#fff!important}body.v39-prototype-live .pilot-topbar nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important}body.v39-prototype-live .pilot-topbar nav a{padding:9px 12px!important;border-radius:10px!important;color:#9eb0c0!important}body.v39-prototype-live .pilot-topbar nav a.active,body.v39-prototype-live .pilot-topbar nav a:hover{background:#15170f!important;color:var(--v39x-gold)!important;border:1px solid #6c5519!important}
body.v39-prototype-live .pilot-shell{width:min(1500px,calc(100% - 34px))!important;max-width:1500px!important;margin:0 auto!important;padding:22px 0 50px!important}body.v39-prototype-live .pilot-shell.pilot-narrow{max-width:1120px!important}
body.v39-prototype-live .pilot-hero{position:relative!important;min-height:210px!important;overflow:hidden!important;border:1px solid #17384b!important;border-radius:24px!important;padding:30px 32px!important;background:linear-gradient(90deg,rgba(7,20,29,.97),rgba(7,20,29,.84) 52%,rgba(7,20,29,.28)),radial-gradient(420px 210px at 82% 46%,rgba(242,200,75,.15),transparent 65%),linear-gradient(135deg,#06141e,#0b2635)!important;box-shadow:var(--v39x-shadow)!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}body.v39-prototype-live .pilot-hero:after{content:"";position:absolute;right:17%;top:42px;width:72px;height:102px;transform:rotate(45deg);border:2px solid rgba(242,200,75,.84);background:linear-gradient(135deg,rgba(242,200,75,.03),rgba(242,200,75,.28));box-shadow:0 0 60px rgba(242,200,75,.22)}body.v39-prototype-live .pilot-hero>*{position:relative!important;z-index:2!important}body.v39-prototype-live .pilot-hero h1{font-size:clamp(34px,4vw,50px)!important;line-height:1.04!important;letter-spacing:-.04em!important;margin:.35rem 0 .55rem!important;color:#fff!important}body.v39-prototype-live .pilot-hero p{color:#9eb0c0!important;font-size:14px!important;line-height:1.55!important;max-width:700px!important}
.v39p-support-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;max-width:820px}.v39p-support-feature{display:grid;grid-template-columns:36px 1fr;gap:9px;align-items:center;padding:10px 12px;border:1px solid #173247;border-radius:13px;background:rgba(4,18,27,.72)}.v39p-support-feature i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;border:1px solid #2a536a;border-radius:10px;color:var(--v39x-gold)}.v39p-support-feature b{display:block;font-size:11px}.v39p-support-feature span{display:block;font-size:9px;color:#8093a6;margin-top:2px}
body.v39-prototype-live .pilot-support-layout{display:grid!important;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)!important;gap:14px!important;margin-top:14px!important}body.v39-prototype-live :is(.pilot-list-card,.pilot-detail-card,.pilot-card,.pilot-stat,.pilot-form-grid){background:linear-gradient(180deg,#07161f,#06121a)!important;border:1px solid #173247!important;border-radius:18px!important;color:#edf4f9!important;box-shadow:none!important}body.v39-prototype-live .pilot-list-card,body.v39-prototype-live .pilot-detail-card{padding:16px!important}body.v39-prototype-live .pilot-ticket-button{width:100%!important;text-align:left!important;background:#07151f!important;border:1px solid #173247!important;border-radius:13px!important;padding:12px!important;color:#e8f0f6!important;margin:0 0 8px!important}body.v39-prototype-live .pilot-ticket-button.active{border-color:#7d621c!important;background:#15170f!important;box-shadow:inset 3px 0 var(--v39x-gold)!important}body.v39-prototype-live .pilot-ticket-button small{color:#8799aa!important}
body.v39-prototype-live .pilot-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}body.v39-prototype-live .pilot-stat{padding:16px!important;min-height:100px!important}body.v39-prototype-live .pilot-stat span,body.v39-prototype-live .pilot-stat small{color:#8fa1b4!important}body.v39-prototype-live .pilot-stat b{font-size:25px!important;color:#fff!important}
body.v39-prototype-live .pilot-admin-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0!important}body.v39-prototype-live .pilot-admin-tabs button{border:1px solid #1b3a4f!important;background:#081822!important;padding:10px 14px!important;border-radius:11px!important;color:#9db0c1!important}body.v39-prototype-live .pilot-admin-tabs button.active{background:#18170d!important;border-color:#87691d!important;color:#f5d35a!important}
body.v39-prototype-live .pilot-dialog{width:min(100% - 24px,680px)!important;max-height:min(90vh,840px)!important;overflow:auto!important;background:#07151f!important;border:1px solid #24475c!important;border-radius:20px!important;color:#f4f7fb!important;box-shadow:0 30px 100px #000!important}body.v39-prototype-live .pilot-dialog::backdrop{background:rgba(0,0,0,.72)!important;backdrop-filter:blur(5px)!important}
.v39p-categories{margin-top:14px!important}.v39p-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.v39p-category{border:1px solid #1b3a4e;background:#071722;border-radius:13px;padding:15px;text-align:center;color:#e8f0f6;cursor:pointer}.v39p-category:hover{border-color:#7d621c;background:#15170f}.v39p-category i{display:block;font-style:normal;font-size:22px;color:var(--v39x-gold);margin-bottom:7px}.v39p-category b{font-size:10px}
/* public auth / identity recovery */
body.v39-prototype-live .pilot-public-shell{min-height:100vh!important;display:grid!important;place-items:center!important;padding:24px!important;background:radial-gradient(650px 420px at 50% 0,rgba(16,70,96,.15),transparent 60%),#03080d!important}body.v39-prototype-live .pilot-public-card{width:min(100%,680px)!important;background:#07161f!important;border:1px solid #173247!important;border-radius:24px!important;padding:28px!important;box-shadow:var(--v39x-shadow)!important;color:#f4f7fb!important}
/* responsive */
@media(max-width:1170px){:root{--v39x-sidebar:204px}.v39p-grid-4,.v39a-metrics,body.v39-prototype-live .pilot-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v39p-layout-3{grid-template-columns:1fr 1.2fr!important}.v39p-layout-2,.v39a-home-grid,.v39a-buy-layout{grid-template-columns:1fr!important}body.v39-prototype-live #view-admin .admin-users-layout,body.v39-prototype-live #view-accounts .v38-account-layout{grid-template-columns:1fr!important}.v39p-category-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){:root{--v39x-sidebar:0px}body.v39-prototype-live .topbar{margin-left:0!important;width:100%!important;height:68px!important;padding:0 14px!important}body.v39-prototype-live .layout{display:block!important}body.v39-prototype-live .sidebar{width:min(86vw,330px)!important;transform:translateX(-105%)!important;transition:.2s!important;z-index:150!important}body.v39-prototype-live.sidebar-open .sidebar,body.v39-prototype-live .sidebar.mobile-open{transform:translateX(0)!important}body.v39-prototype-live main#mainContent{padding:14px 12px 92px!important}.v39p-hero,.v39a-home-hero,.v39a-buy-hero,body.v39-prototype-live .pilot-hero{min-height:220px!important;padding:22px 20px!important}.v39p-hero h1,.v39a-home-hero h1,.v39a-buy-hero h1,body.v39-prototype-live .pilot-hero h1{font-size:34px!important;max-width:74%!important}.v39p-hero p,.v39a-home-hero p,.v39a-buy-hero p,body.v39-prototype-live .pilot-hero p{max-width:74%!important;font-size:12px!important}.v39p-hero:after,.v39a-home-hero:after,.v39a-buy-hero:after,body.v39-prototype-live .pilot-hero:after{right:8%!important;top:70px!important;width:58px!important;height:82px!important}.v39p-grid-4,.v39a-metrics{grid-template-columns:repeat(2,1fr)!important;gap:9px!important}.v39p-quick-grid,.v39a-quick{grid-template-columns:repeat(2,1fr)!important}.v39p-support-features{grid-template-columns:1fr!important;max-width:65%!important}.v39p-category-grid{grid-template-columns:repeat(2,1fr)!important}body.v39-prototype-live .pilot-shell{width:min(100% - 24px,1500px)!important;padding:14px 0 90px!important}body.v39-prototype-live .pilot-topbar{padding:0 12px!important}body.v39-prototype-live .pilot-topbar nav{overflow:auto!important;white-space:nowrap!important;flex-wrap:nowrap!important}body.v39-prototype-live .pilot-support-layout{grid-template-columns:1fr!important}.v39-prototype-live .p7-mobile-dock{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:140!important;background:rgba(4,12,18,.96)!important;border:1px solid #1b3445!important;border-radius:20px!important;padding:7px!important;backdrop-filter:blur(18px)!important}body.v39-prototype-live .jp-shell{padding:12px 10px 90px!important}body.v39-prototype-live .jp-hub-tabs{display:grid!important;grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:430px){.v39p-grid-4,.v39a-metrics{grid-template-columns:1fr 1fr!important}.v39p-metric,.v39a-metric{padding:12px!important}.v39p-metric strong,.v39a-metric strong{font-size:20px!important}.v39p-hero h1,.v39a-home-hero h1,.v39a-buy-hero h1,body.v39-prototype-live .pilot-hero h1{font-size:31px!important}.v39p-support-features{display:none!important}}
@media(prefers-reduced-motion:reduce){body.v39-prototype-live *,body.v39-prototype-live *::before,body.v39-prototype-live *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* V40 authority: static shell from approved HTML; legacy orchestrators are not loaded. */
body.v40-exact .v40-sidebar{display:flex!important;flex-direction:column!important}
body.v40-exact .v40-sidebar .sidebar-spacer{flex:1 1 auto!important;min-height:12px}
body.v40-exact .v40-primary-nav{display:flex!important;flex-direction:column!important;gap:5px!important}
body.v40-exact .v40-tools{margin:10px 0!important;border-top:1px solid #102331!important;border-bottom:1px solid #102331!important;padding:7px 0!important}
body.v40-exact .v40-tools>summary{list-style:none!important;display:grid!important;grid-template-columns:29px 1fr auto!important;align-items:center!important;gap:11px!important;padding:10px 12px!important;color:#92a4b5!important;cursor:pointer!important;border-radius:12px!important}
body.v40-exact .v40-tools>summary::-webkit-details-marker{display:none!important}
body.v40-exact .v40-tools>summary:hover{background:#0a1822!important;color:#fff!important}
body.v40-exact .v40-tools>summary small{display:block!important;font-size:9px!important;color:#5e7387!important;margin-top:2px!important}
body.v40-exact .v40-tools-body{display:grid!important;gap:4px!important;padding:5px 0 2px!important}
body.v40-exact .v40-sidebar-promo{border:1px solid #173247!important;border-radius:16px!important;overflow:hidden!important;margin:12px 2px!important;background:#07131c!important}
body.v40-exact .v40-sidebar-promo .promo-art{height:96px!important;background:
 radial-gradient(circle at 35% 85%,rgba(242,200,75,.5),transparent 3%),
 radial-gradient(circle at 51% 70%,rgba(242,200,75,.42),transparent 2%),
 radial-gradient(circle at 65% 78%,rgba(242,200,75,.32),transparent 2%),
 radial-gradient(180px 90px at 50% 100%,#0c2939,transparent 70%),
 linear-gradient(160deg,#06141e,#07131c)!important}
body.v40-exact .v40-sidebar-promo .copy{padding:12px!important}
body.v40-exact .v40-sidebar-promo .copy b{font-size:13px!important;color:#fff!important}
body.v40-exact .v40-sidebar-promo .copy p{font-size:10px!important;line-height:1.5!important;color:#91a2b2!important;margin:6px 0 0!important}
body.v40-exact .v40-top-search{height:42px!important;width:min(470px,38vw)!important;display:flex!important;align-items:center!important;gap:9px!important;border:1px solid #183246!important;background:#07151f!important;border-radius:12px!important;padding:0 12px!important;color:#7f92a5!important}
body.v40-exact .v40-top-search input{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-height:auto!important;width:100%!important;color:#dce8f2!important}
body.v40-exact .v40-top-search kbd{background:#101e29!important;border:1px solid #1a3344!important;border-radius:7px!important;color:#7890a3!important;padding:3px 7px!important;font-size:9px!important}
body.v40-exact .topbar-context{display:none!important}
body.v40-exact .top-status{margin-left:auto!important}
body.v40-exact .v40-mobile-dock{display:none!important}
body.v40-exact .view{animation:none!important}
body.v40-exact .view.active{display:block!important}
body.v40-exact #view-admin .page-heading h1,
body.v40-exact #view-base .page-heading h1,
body.v40-exact #view-accounts .page-heading h1,
body.v40-exact #view-p2p .page-heading h1,
body.v40-exact #view-account .page-heading h1{font-size:clamp(34px,4vw,48px)!important}
body.v40-exact .pilot-topbar{min-height:68px!important;background:rgba(3,11,17,.95)!important;border-color:#173247!important}
body.v40-exact .pilot-logo{font-size:18px!important;color:#fff!important;letter-spacing:.04em!important}
body.v40-exact .pilot-logo small{display:block!important;font-size:8px!important;letter-spacing:.2em!important;color:#71869a!important}
body.v40-exact .pilot-topbar nav a{color:#9fb0c0!important;border:1px solid transparent!important}
body.v40-exact .pilot-topbar nav a:is(:hover,.active){background:#10180f!important;border-color:#6c5519!important;color:#f5d35a!important}
body.v40-exact .pilot-list-card,body.v40-exact .pilot-detail-card{background:linear-gradient(180deg,#07161f,#06121a)!important;border-color:#173247!important;box-shadow:none!important}
@media(max-width:800px){
 body.v40-exact .v40-top-search{display:none!important}
 body.v40-exact .v40-sidebar{transform:translateX(-105%)!important;transition:transform .2s ease!important;width:min(86vw,330px)!important;box-shadow:0 20px 60px rgba(0,0,0,.6)!important}
 body.v40-exact.sidebar-open .v40-sidebar,body.v40-exact .v40-sidebar.open{transform:translateX(0)!important}
 body.v40-exact .v40-sidebar-promo{display:none!important}
 body.v40-exact .v40-mobile-dock{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:140!important;background:rgba(4,12,18,.96)!important;border:1px solid #1b3445!important;border-radius:20px!important;padding:7px!important;backdrop-filter:blur(18px)!important}
 body.v40-exact .v40-mobile-dock :is(a,button){border:0!important;background:transparent!important;color:#8799aa!important;display:grid!important;place-items:center!important;gap:3px!important;min-height:54px!important;border-radius:12px!important;font-size:9px!important}
 body.v40-exact .v40-mobile-dock :is(a,button).active{color:#f2c84b!important;background:#15170f!important;border:1px solid #6c5519!important}
 body.v40-exact .v40-mobile-dock span{font-size:18px!important}
 body.v40-exact .v40-mobile-dock b{font-size:9px!important}
 body.v40-exact main#mainContent{padding-bottom:92px!important}
}

/* V40 static member-management ordering: replaces final-product-v38 membersSurface without runtime DOM moves. */
body.v40-exact #view-admin.view.active{display:flex!important;flex-direction:column!important;gap:14px!important}
body.v40-exact #view-admin>.page-heading{order:0!important}
body.v40-exact #view-admin>.admin-metrics{order:1!important}
body.v40-exact #view-admin>.admin-columns{order:2!important}
body.v40-exact #view-admin>#memberTabAccessAdmin{order:3!important}
body.v40-exact #view-admin>#adminPresencePanel{order:4!important}
body.v40-exact #view-admin>:not(.page-heading):not(.admin-metrics):not(.admin-columns):not(#memberTabAccessAdmin):not(#adminPresencePanel){order:10!important}
