/* BYGOTIC V41 R8 · SINGLE VISUAL AUTHORITY
   Consolidates the exact approved V40/V41 visual cascade into one render-blocking file.
   Legacy files remain on disk for rollback but are no longer loaded by templates. */

/* ===== CONSOLIDATED SOURCE: ui-v40-exact.css ===== */
/* 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 .layout{display:grid!important;grid-template-columns:var(--v39x-sidebar) minmax(0,1fr)!important;min-height:calc(100vh - 76px)!important}
body.v39-prototype-live:not([data-v43-shell="1"]) .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:not([data-v43-shell="1"]) .sidebar-brand{padding:7px 10px 21px!important;border:0!important;margin:0 0 8px!important;gap:12px!important}
body.v39-prototype-live:not([data-v43-shell="1"]) .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:not([data-v43-shell="1"]) .sidebar-brand b{font-size:17px!important;letter-spacing:.04em!important;color:#fff!important}
body.v39-prototype-live:not([data-v43-shell="1"]) .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:not([data-v43-shell="1"]) .sidebar-foot{margin-top:16px!important}
body.v39-prototype-live:not([data-v43-shell="1"]) .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 :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 .layout{display:block!important}body.v39-prototype-live:not([data-v43-shell="1"]) .sidebar{width:min(86vw,330px)!important;transform:translateX(-105%)!important;transition:.2s!important;z-index:150!important}body.v39-prototype-live.sidebar-open:not([data-v43-shell="1"]) .sidebar,body.v39-prototype-live:not([data-v43-shell="1"]) .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:not([data-v43-shell="1"]) .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 .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:not([data-v43-shell="1"]) .v40-sidebar,body.v40-exact:not([data-v43-shell="1"]) .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}


/* ===== CONSOLIDATED SOURCE: ui-v41-complete.css ===== */
/* BYGOTIC V41 R1 · COMPLETE FRONTEND MIGRATION
   Visual contract: approved BYGOTIC dark/navy + gold prototype.
   Presentation only. Business logic remains in app.js / joint-purchases.js / pilot-v35.js / backend. */
:root{
 --v41-bg:#03080d;--v41-bg-soft:#06111a;--v41-panel:#071720;--v41-panel2:#0a1d29;--v41-panel3:#0d2432;
 --v41-line:#18364a;--v41-line-strong:#21475f;--v41-text:#f5f7fb;--v41-muted:#93a6b8;--v41-muted2:#61778a;
 --v41-gold:#f4c947;--v41-gold2:#d9a92b;--v41-gold-soft:#1a170b;--v41-green:#2be995;--v41-red:#ff656b;--v41-blue:#56bfff;--v41-amber:#f4cb4b;
 --v41-radius:16px;--v41-radius-lg:22px;--v41-shadow:0 22px 60px rgba(0,0,0,.34);--v41-sidebar:228px;--v41-top:74px;
}
html{background:var(--v41-bg)!important;color-scheme:dark;scrollbar-color:#294559 #07121a}
body.v41-complete{margin:0!important;background:radial-gradient(1100px 700px at 82% -12%,rgba(13,77,102,.16),transparent 60%),linear-gradient(180deg,#02070b,#040a0f 64%,#03080c)!important;color:var(--v41-text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;min-height:100vh}
body.v41-complete *{box-sizing:border-box}
body.v41-complete :is(button,input,select,textarea){font:inherit}
body.v41-complete a{color:inherit;text-decoration:none}
body.v41-complete :focus-visible{outline:2px solid var(--v41-gold)!important;outline-offset:2px!important}
body.v41-complete .hidden{display:none!important}
body.v41-complete .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* buttons / form */
body.v41-complete :is(.btn,.jp-primary,.jp-secondary,.pilot-primary,.pilot-secondary,.mini-button,.text-button){border-radius:11px!important;min-height:42px!important;font-weight:750!important;letter-spacing:0!important;transition:filter .16s ease,border-color .16s ease,background .16s ease,transform .16s ease!important}
body.v41-complete :is(.btn.primary,.jp-primary,.pilot-primary){background:linear-gradient(180deg,#f7d75b,#dda926)!important;border:1px solid #f3cf50!important;color:#0a0d10!important;box-shadow:0 10px 25px rgba(218,166,34,.18)!important}
body.v41-complete :is(.btn.primary,.jp-primary,.pilot-primary):hover{filter:brightness(1.06);transform:translateY(-1px)}
body.v41-complete :is(.btn.secondary,.jp-secondary,.pilot-secondary,.mini-button,.text-button){background:#0a1a25!important;border:1px solid #23475d!important;color:#e0e9f0!important}
body.v41-complete :is(input,select,textarea){background:#06141d!important;border:1px solid #214156!important;color:#e9f2f9!important;border-radius:11px!important;min-height:42px!important;box-shadow:none!important}
body.v41-complete textarea{min-height:92px!important}
body.v41-complete :is(input,select,textarea):focus{border-color:#a88224!important;box-shadow:0 0 0 3px rgba(244,201,71,.09)!important;outline:0!important}
/* shared cards */
body.v41-complete :is(.panel,.jp-card,.pilot-card,.pilot-list-card,.pilot-detail-card,.admin-card,.summary-card,.v38-account-list-panel,.v38-account-editor,.p2p-capital-section,.p2p-top-snapshot,.r5-device-assurance){background:linear-gradient(180deg,#081923,#06131b)!important;border:1px solid var(--v41-line)!important;border-radius:var(--v41-radius)!important;box-shadow:none!important;color:var(--v41-text)!important}
body.v41-complete :is(.panel,.jp-card,.pilot-card,.pilot-list-card,.pilot-detail-card){padding:16px!important}
body.v41-complete :is(.panel-head,.jp-summary-card-head,.pilot-list-head){border-color:#173448!important}
body.v41-complete :is(.panel-head h2,.jp-card h2,.pilot-card h2,.pilot-detail-card h2){color:#fff!important;letter-spacing:-.01em}
body.v41-complete :is(.panel-head p,.form-help,.field-help,.pilot-card p,.jp-card p,.pilot-list-card small){color:var(--v41-muted)!important}
/* badges */
body.v41-complete :is(.status-pill,.status-chip,.jp-status,.pilot-status-chip,.badge,.pwa-status-pill){border-radius:999px!important;font-weight:800!important}
body.v41-complete .status-pill.success,body.v41-complete .status-chip.success{color:#50f1a7!important;background:#08271e!important;border-color:#17513a!important}
/* index/member shell */

body.v41-complete:not(.v41-route-shell) .layout{display:grid!important;grid-template-columns:var(--v41-sidebar) minmax(0,1fr)!important;min-height:calc(100vh - var(--v41-top))!important}
body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .sidebar{position:fixed!important;inset:0 auto 0 0!important;width:var(--v41-sidebar)!important;z-index:120!important;padding:18px 13px!important;background:linear-gradient(180deg,#041019 0%,#03090e 58%,#040b10 100%)!important;border-right:1px solid #112837!important;overflow:auto!important}
body.v41-complete:not(.v41-route-shell) main#mainContent{grid-column:2!important;width:100%!important;max-width:1690px!important;margin:0 auto!important;padding:20px 26px 52px!important;min-width:0!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-brand{padding:6px 9px 18px!important;border:0!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-brand img{width:43px!important;height:43px!important;border:1px solid rgba(244,201,71,.65)!important;border-radius:12px!important;box-shadow:0 0 28px rgba(244,201,71,.14)!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-brand b{font-size:18px!important;color:#fff!important;letter-spacing:.04em!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-brand small{font-size:8px!important;letter-spacing:.24em!important;color:#72879a!important}
body.v41-complete .nav-section>small{display:block!important;padding:12px 11px 7px!important;color:#5d7387!important;font-size:8px!important;letter-spacing:.19em!important}
body.v41-complete .nav-item{display:flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;padding:9px 11px!important;border-radius:13px!important;border:1px solid transparent!important;background:transparent!important;color:#a8b8c8!important;margin:2px 0!important}
body.v41-complete .nav-item:hover{background:#0a1822!important;color:#fff!important}
body.v41-complete .nav-item.active{background:linear-gradient(90deg,rgba(244,201,71,.18),rgba(244,201,71,.04))!important;border-color:#705819!important;color:#fff!important;box-shadow:inset 3px 0 var(--v41-gold)!important}
body.v41-complete .nav-item .nav-icon{width:29px!important;height:29px!important;min-width:29px!important;display:grid!important;place-items:center!important;border:1px solid #1d3a4d!important;border-radius:9px!important;color:#dce7ef!important}
body.v41-complete .nav-item.active .nav-icon{background:#17170d!important;border-color:#7d631d!important;color:var(--v41-gold)!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-promo{border:1px solid #17374b!important;border-radius:15px!important;background:#07131c!important;overflow:hidden!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-promo .promo-art{height:105px!important;background:radial-gradient(280px 110px at 50% 105%,rgba(244,201,71,.24),transparent 64%),radial-gradient(circle at 32% 72%,rgba(244,201,71,.5),transparent 2.4%),radial-gradient(circle at 52% 62%,rgba(244,201,71,.4),transparent 2%),radial-gradient(circle at 68% 74%,rgba(244,201,71,.34),transparent 2%),linear-gradient(160deg,#071721,#071018)!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-promo .copy{padding:12px!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-promo .copy p{color:#93a5b5!important;font-size:10px!important;line-height:1.5!important}
body.v41-complete:not([data-v43-shell="1"]) .sidebar-logout-button{border:1px solid #4c2026!important;background:#170a0e!important;color:#ff9298!important;border-radius:12px!important}
body.v41-complete .v40-top-search{height:42px!important;width:min(510px,40vw)!important;border:1px solid #19394d!important;background:#07151f!important;border-radius:12px!important}
body.v41-complete .v40-top-search input{background:transparent!important;border:0!important;min-height:auto!important}
body.v41-complete :is(.live-system-pill,.save-pill,.sync-clock,.presence-top-button,.top-actions .icon-button,.user-chip){background:#07151f!important;border:1px solid #17374b!important;border-radius:12px!important}
/* hero contract */
body.v41-complete :is(.v39a-home-hero,.v39a-buy-hero,.page-heading,.pilot-hero,.v41-purchase-hero){position:relative!important;overflow:hidden!important;border:1px solid #193c50!important;border-radius:22px!important;background:linear-gradient(90deg,rgba(6,19,28,.97) 0%,rgba(7,20,30,.88) 52%,rgba(7,20,30,.30) 100%),radial-gradient(500px 240px at 82% 48%,rgba(244,201,71,.16),transparent 65%),linear-gradient(145deg,#06141e,#0a2534)!important;box-shadow:var(--v41-shadow)!important}
body.v41-complete :is(.v39a-home-hero,.v39a-buy-hero,.page-heading,.pilot-hero,.v41-purchase-hero)::before{content:"";position:absolute;right:2%;bottom:-12px;width:390px;height:180px;opacity:.82;background:linear-gradient(166deg,transparent 0 46%,#07131b 47% 63%,transparent 64%),linear-gradient(196deg,transparent 0 49%,#0b202c 50% 68%,transparent 69%),linear-gradient(145deg,transparent 0 40%,rgba(244,201,71,.23) 40.5% 41%,transparent 41.5%);pointer-events:none}
body.v41-complete :is(.v39a-home-hero,.v39a-buy-hero,.pilot-hero,.v41-purchase-hero)::after{content:"";position:absolute;right:16%;top:40px;width:76px;height:108px;transform:rotate(45deg);border:2px solid rgba(244,201,71,.86);background:linear-gradient(135deg,rgba(244,201,71,.02),rgba(244,201,71,.28));box-shadow:0 0 60px rgba(244,201,71,.23)}
body.v41-complete .v39a-home-hero{min-height:240px!important;padding:31px 32px!important}
body.v41-complete .page-heading{min-height:170px!important;padding:28px 30px!important;margin-bottom:14px!important}
body.v41-complete .pilot-hero,body.v41-complete .v41-purchase-hero{min-height:182px!important;padding:27px 30px!important;margin:0 0 14px!important}
body.v41-complete :is(.v39a-home-hero,.page-heading,.pilot-hero,.v41-purchase-hero) h1{font-size:clamp(35px,4vw,50px)!important;line-height:1.05!important;letter-spacing:-.035em!important;color:#fff!important;margin:7px 0 8px!important}
body.v41-complete :is(.v39a-home-hero,.page-heading,.pilot-hero,.v41-purchase-hero) p:not(.eyebrow):not(.pilot-kicker){color:#a9bac9!important;max-width:720px!important;line-height:1.55!important}
body.v41-complete :is(.eyebrow,.pilot-kicker,.v39a-kicker,.jp-kicker,.v41-kicker){color:var(--v41-gold)!important;font-size:9px!important;font-weight:850!important;letter-spacing:.21em!important;text-transform:uppercase!important}
/* dashboard */
body.v41-complete .v39a-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}
body.v41-complete .v39a-metric{background:linear-gradient(180deg,#091a25,#07141d)!important;border:1px solid #17374a!important;border-radius:15px!important;padding:15px 16px!important;min-height:108px!important}
body.v41-complete .v39a-metric strong{font-size:27px!important;color:#fff!important;margin:8px 0 2px!important}
body.v41-complete .v39a-metric small{color:#91a4b5!important}.v39a-metric em{color:var(--v41-green)!important;font-style:normal!important;font-size:9px!important}
body.v41-complete .v39a-home-grid{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr)!important;gap:14px!important;margin-top:14px!important}
body.v41-complete .v39a-section{background:linear-gradient(180deg,#07161f,#06121a)!important;border:1px solid #17374a!important;border-radius:16px!important;padding:16px!important}
body.v41-complete .v39a-quick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.v41-complete .v39a-quick :is(a,button){min-height:72px!important;padding:13px!important;border:1px solid #1c3b4e!important;background:#071722!important;border-radius:13px!important;text-align:left!important;color:#dce7ef!important}
body.v41-complete .v39a-quick :is(a,button):hover{border-color:#705719!important;background:#11180f!important}
body.v41-complete .live-center-grid{gap:12px!important}.dashboard-live-feed{background:#06141d!important;border:1px solid #15354a!important;border-radius:13px!important}
/* Members */
body.v41-complete #view-admin .admin-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important;margin:0 0 14px!important}
body.v41-complete #view-admin .admin-metrics article{background:linear-gradient(180deg,#091a25,#07141d)!important;border:1px solid #17374a!important;border-radius:14px!important;padding:14px!important;min-height:96px!important}
body.v41-complete #view-admin .admin-metrics strong{display:block!important;font-size:24px!important;color:#fff!important;margin:8px 0 2px!important}
body.v41-complete #view-admin .admin-metrics span,body.v41-complete #view-admin .admin-metrics small{color:#93a6b7!important;font-size:10px!important}
body.v41-complete #view-admin .admin-columns{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(320px,.65fr)!important;gap:14px!important;align-items:start!important}
body.v41-complete #view-admin .responsive-table{border:1px solid #17374a!important;border-radius:13px!important;overflow:auto!important;background:#06141d!important}
body.v41-complete #view-admin table{border-collapse:collapse!important;width:100%!important}
body.v41-complete #view-admin th{background:#0a2230!important;color:#8197aa!important;font-size:10px!important;padding:10px 11px!important}
body.v41-complete #view-admin td{border-bottom:1px solid #102c3b!important;padding:10px 11px!important;color:#d2dee7!important}
body.v41-complete #view-admin tbody tr:hover{background:#0a1b26!important}
body.v41-complete #view-admin .system-doctor-panel,body.v41-complete #view-admin .security-center-panel,body.v41-complete #view-admin .member-tab-access-admin,body.v41-complete #view-admin .live-presence-panel{margin-top:12px!important}
/* Profiles / Antiscam */
body.v41-complete #view-base .data-workspace{padding:0!important;overflow:hidden!important}
body.v41-complete #view-base .table-toolbar{padding:14px!important;display:flex!important;gap:10px!important;background:#071722!important;border-bottom:1px solid #17374a!important}
body.v41-complete #view-base .responsive-table{overflow:auto!important}
body.v41-complete #view-base table{width:100%!important;border-collapse:collapse!important}
body.v41-complete #view-base th{background:#0b2331!important;color:#8298aa!important;font-size:10px!important;padding:11px!important}
body.v41-complete #view-base td{padding:11px!important;border-bottom:1px solid #112d3d!important}
body.v41-complete #view-base tbody tr:hover{background:#0a1c27!important}
body.v41-complete #view-base .pager{padding:12px!important}
/* Accounts & finance */
body.v41-complete #view-accounts .v38-account-layout{display:grid!important;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)!important;gap:14px!important;align-items:start!important}
body.v41-complete #view-accounts .v38-account-list{display:grid!important;gap:9px!important}
body.v41-complete #view-accounts .v38-account-form{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
body.v41-complete #view-accounts .v38-account-wide,body.v41-complete #view-accounts .v38-account-form-actions{grid-column:1/-1!important}
/* P2P */
body.v41-complete #view-p2p .p2p-top-snapshot{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:14px!important;margin-bottom:14px!important}
body.v41-complete #view-p2p .p2p-capital-section{margin-bottom:12px!important}
body.v41-complete #view-p2p :is(.p2p-guided-item,.p2p-operation-choice-grid button,.p2p-easy-choice-grid button){background:#071722!important;border:1px solid #1b3a4e!important;border-radius:13px!important;color:#dce7ef!important}
body.v41-complete #view-p2p :is(.p2p-guided-item,.p2p-operation-choice-grid button,.p2p-easy-choice-grid button):hover{border-color:#70591b!important;background:#11190f!important}
/* account */
body.v41-complete #view-account .account-grid{display:grid!important;grid-template-columns:minmax(280px,.52fr) minmax(0,1.48fr)!important;gap:14px!important;align-items:start!important}
body.v41-complete #view-account .profile-card{position:sticky!important;top:94px!important;text-align:center!important;padding:22px!important}
body.v41-complete #view-account .profile-avatar{width:94px!important;height:94px!important;margin:0 auto 12px!important;border:2px solid var(--v41-gold)!important;box-shadow:0 0 30px rgba(244,201,71,.15)!important}
body.v41-complete #view-account .pwa-control-panel{grid-column:2!important}
body.v41-complete #view-account .account-grid>article:not(.profile-card):not(.pwa-control-panel){grid-column:2!important}
/* route shell used by purchases/support/admin/KYC */
body.v41-complete.v41-route-shell:where(:not([data-v43-noncore-sidebar="1"])){padding-left:var(--v41-sidebar)!important}
:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--v41-sidebar);z-index:150;background:linear-gradient(180deg,#041019,#03090e 58%,#040b10);border-right:1px solid #112837;padding:18px 13px;display:flex;flex-direction:column;overflow:auto}
:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-brand{display:flex;align-items:center;gap:11px;padding:7px 9px 20px}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-brand img{width:43px;height:43px;border-radius:12px;border:1px solid rgba(244,201,71,.62)}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-brand b{font-size:18px}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-brand small{display:block;color:#73889a;font-size:8px;letter-spacing:.23em}
:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-nav{display:grid;gap:5px}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-nav :is(a,button){display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:9px 11px;border-radius:13px;border:1px solid transparent;background:transparent;color:#a9b8c7;text-align:left;cursor:pointer}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-nav :is(a,button):hover{background:#0a1822;color:#fff}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-nav :is(a,button).active{background:linear-gradient(90deg,rgba(244,201,71,.18),rgba(244,201,71,.04));border-color:#705819;color:#fff;box-shadow:inset 3px 0 var(--v41-gold)}
:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-nav i{font-style:normal;width:29px;height:29px;border:1px solid #1d3a4d;border-radius:9px;display:grid;place-items:center}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-nav .active i{color:var(--v41-gold);border-color:#7d631d;background:#17170d}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-spacer{flex:1}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-note{border:1px solid #17374a;border-radius:15px;background:#07131c;padding:13px;color:#94a7b8;font-size:10px;line-height:1.5}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-note b{display:block;color:#fff;font-size:13px;margin-bottom:5px}
:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-menu{display:none;position:fixed;left:12px;top:12px;width:42px;height:42px;z-index:190;border:1px solid #1c4054;background:#07151f;color:white;border-radius:12px}

body.v41-complete.v41-route-shell :is(.jp-topbar,.pilot-topbar){margin-left:0!important;width:100%!important;min-height:var(--v41-top)!important;background:rgba(3,11,17,.95)!important;border-bottom:1px solid #142d3d!important;backdrop-filter:blur(18px)!important;padding-left:24px!important;padding-right:24px!important}
body.v41-complete.v41-route-shell .jp-render-surface{min-height:100vh!important}
body.v41-complete.v41-route-shell .jp-hub-nav{margin:0 auto!important;width:min(calc(100% - 40px),1440px)!important;padding:10px 0!important;border:0!important;background:transparent!important}
body.v41-complete.v41-route-shell .jp-shell{width:min(calc(100% - 40px),1440px)!important;max-width:none!important;margin:0 auto!important;padding:0 0 52px!important}
body.v41-complete.v41-route-shell .pilot-shell{width:min(calc(100% - 40px),1440px)!important;max-width:none!important;margin:0 auto!important;padding:20px 0 52px!important}
body.v41-complete.v41-route-shell .pilot-narrow{width:min(calc(100% - 40px),1180px)!important}
.v41-purchase-hero{width:min(calc(100% - 40px),1440px);margin:18px auto 2px!important}.v41-purchase-hero .v41-kicker{display:block;margin-bottom:5px}.v41-purchase-hero h1{position:relative;z-index:2}.v41-purchase-hero p{position:relative;z-index:2;max-width:600px}
/* purchases */
body.v41-complete .jp-hub-tabs{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(150px,1fr)!important;gap:10px!important;width:100%!important}
body.v41-complete .jp-hub-tabs>button{min-height:48px!important;border:1px solid #1b3b4f!important;background:#071722!important;color:#afbfcc!important;border-radius:11px!important;padding:9px 12px!important}
body.v41-complete .jp-hub-tabs>button.active{color:var(--v41-gold)!important;background:linear-gradient(90deg,#17170d,#11150f)!important;border-color:#87691d!important;box-shadow:inset 0 0 0 1px rgba(244,201,71,.08)!important}
body.v41-complete .jp-tab-icon{color:inherit!important}
body.v41-complete .jp-admin-hero{border:1px solid #193c50!important;border-radius:18px!important;background:linear-gradient(90deg,#071722,#08202c)!important;padding:22px!important}
body.v41-complete .jp-admin-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;margin-top:12px!important}
body.v41-complete .jp-admin-stats>div{background:#071722!important;border:1px solid #1a3a4e!important;border-radius:13px!important;padding:13px!important}
body.v41-complete .jp-smart-summary,body.v41-complete .jp-summary-secondary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.v41-complete .v39a-buy-hero{min-height:160px!important;padding:24px 27px!important;margin-bottom:12px!important}
body.v41-complete .v39a-buy-layout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr)!important;gap:14px!important}
body.v41-complete .jp-offer-card,body.v41-complete .jp-participate{border-color:#6f5719!important}
body.v41-complete .jp-rate{background:#06141d!important;border:1px solid #1a3b4f!important;border-radius:13px!important;padding:13px!important}
body.v41-complete .jp-rate strong{font-size:30px!important;color:#fff!important}
body.v41-complete .jp-money-input{background:#06141d!important;border:1px solid #1b3d51!important;border-radius:13px!important;padding:10px 13px!important}
body.v41-complete .jp-quote{background:#06141d!important;border:1px solid #1b3d51!important;border-radius:13px!important;padding:13px!important}
body.v41-complete .jp-buy-cta{width:100%!important;min-height:56px!important;font-size:15px!important}
body.v41-complete :is(.jp-order-card,.jp-dossier-card,.jp-round-card,.jp-community-card){background:#071722!important;border:1px solid #19394d!important;border-radius:14px!important}
body.v41-complete .jp-orders{display:grid!important;gap:10px!important}
body.v41-complete .jp-member-summary-strip{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important}
body.v41-complete .jp-member-summary-strip>div{background:#071722!important;border:1px solid #18374b!important;border-radius:13px!important;padding:12px!important}
/* support */
body.v41-complete .v39p-support-features{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;margin-top:24px!important;max-width:900px!important;position:relative;z-index:2}
body.v41-complete .v39p-support-feature{display:flex!important;gap:10px!important;align-items:center!important;border-top:1px solid #18374a!important;padding-top:14px!important}.v39p-support-feature i{width:45px;height:45px;border:1px solid #24465b;border-radius:12px;display:grid;place-items:center;font-style:normal}.v39p-support-feature b{display:block;color:#fff}.v39p-support-feature span{display:block;color:#93a6b8;font-size:11px;margin-top:3px}
body.v41-complete #pilotNewTicket{min-height:58px!important;font-size:15px!important}
body.v41-complete .pilot-support-layout{display:grid!important;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr)!important;gap:14px!important;margin-top:14px!important}
body.v41-complete .pilot-ticket-list{display:grid!important;gap:8px!important}.pilot-ticket-row,.pilot-ticket-item{border:1px solid #18384c!important;border-radius:13px!important;background:#071722!important}
body.v41-complete .v39p-category-grid{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:10px!important}.v39p-category{min-height:102px!important;background:#071722!important;border:1px solid #1b3a4e!important;border-radius:13px!important;color:#dbe6ef!important}.v39p-category:hover{border-color:#80631c!important;background:#12190f!important}.v39p-category i{display:block;font-style:normal;font-size:24px;color:var(--v41-gold)!important;margin-bottom:8px}
/* operations/admin route */
body.v41-complete .pilot-stat-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;margin:14px 0!important}.pilot-stat{background:#071722!important;border:1px solid #18384c!important;border-radius:13px!important;padding:14px!important}.pilot-stat b{font-size:26px!important;color:#fff!important}.pilot-stat span,.pilot-stat small{color:#8fa3b6!important}
body.v41-complete .pilot-admin-tabs{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:9px!important;margin-bottom:12px!important}.pilot-admin-tabs button{min-height:48px!important;border:1px solid #1b3b4f!important;background:#071722!important;border-radius:11px!important;color:#a9bbc9!important}.pilot-admin-tabs button.active{background:#17170d!important;border-color:#81651d!important;color:var(--v41-gold)!important}
/* KYC */
body.v41-complete .pilot-progress{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;margin:14px 0!important}.pilot-progress span{background:#071722!important;border:1px solid #18384c!important;border-radius:12px!important;padding:10px!important;color:#94a7b8!important}.pilot-progress span.active{border-color:#80641d!important;color:#f1cf58!important}.pilot-progress b{display:inline-grid!important;place-items:center!important;width:26px!important;height:26px!important;border-radius:50%!important;background:#0a2230!important;margin-right:7px!important}
body.v41-complete .pilot-form-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:12px!important}.pilot-form-grid .pilot-wide{grid-column:1/-1!important}.pilot-section-title{grid-column:1/-1!important;border-top:1px solid #17374a!important;padding-top:14px!important}
/* dialogs */
body.v41-complete dialog{border:1px solid #21485f!important;border-radius:18px!important;background:linear-gradient(180deg,#081923,#06131b)!important;color:#f4f7fb!important;box-shadow:0 30px 80px rgba(0,0,0,.55)!important}body.v41-complete dialog::backdrop{background:rgba(0,0,0,.72)!important;backdrop-filter:blur(7px)!important}
/* auth/public */
body.v41-complete.v41-auth{display:grid!important;place-items:center!important;min-height:100vh!important;padding:24px!important;background:radial-gradient(700px 420px at 70% 12%,rgba(244,201,71,.12),transparent 60%),linear-gradient(160deg,#02070b,#06141e)!important}
body.v41-complete.v41-auth :is(.login-card,.auth-card,.access-card,.mfa-card,.terms-card,.maintenance-card){width:min(100%,560px)!important;background:linear-gradient(180deg,#081923,#06131b)!important;border:1px solid #193b50!important;border-radius:22px!important;box-shadow:var(--v41-shadow)!important}
/* route/mobile */
@media(max-width:1180px){:root{--v41-sidebar:204px}body.v41-complete .v39a-metrics,body.v41-complete #view-admin .admin-metrics,body.v41-complete .jp-admin-stats,body.v41-complete .pilot-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.v41-complete .v39a-home-grid,body.v41-complete .v39a-buy-layout,body.v41-complete #view-admin .admin-columns{grid-template-columns:1fr!important}body.v41-complete #view-account .account-grid{grid-template-columns:1fr!important}body.v41-complete #view-account .profile-card{position:static!important}body.v41-complete #view-account .account-grid>article{grid-column:1!important}.v39p-category-grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:800px){:root{--v41-sidebar:0px;--v41-top:68px}body.v41-complete:not(.v41-route-shell) .layout{display:block!important}body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .sidebar{width:min(86vw,330px)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important;box-shadow:0 20px 60px rgba(0,0,0,.6)!important}body.v41-complete.sidebar-open:not([data-v43-shell="1"]) .sidebar,body.v41-complete:not([data-v43-shell="1"]) .sidebar.mobile-open{transform:translateX(0)!important}body.v41-complete:not(.v41-route-shell) main#mainContent{padding:13px 11px 94px!important}.v40-top-search,.sync-clock{display:none!important}
 body.v41-complete :is(.v39a-home-hero,.page-heading,.pilot-hero,.v41-purchase-hero){min-height:205px!important;padding:21px 19px!important}body.v41-complete :is(.v39a-home-hero,.page-heading,.pilot-hero,.v41-purchase-hero) h1{font-size:32px!important;max-width:76%!important}body.v41-complete :is(.v39a-home-hero,.page-heading,.pilot-hero,.v41-purchase-hero) p{font-size:12px!important;max-width:76%!important}body.v41-complete :is(.v39a-home-hero,.pilot-hero,.v41-purchase-hero)::after{right:8%!important;top:70px!important;width:58px!important;height:82px!important}
 body.v41-complete .v39a-metrics,body.v41-complete #view-admin .admin-metrics,body.v41-complete .jp-member-summary-strip{grid-template-columns:repeat(2,1fr)!important}.v39a-home-grid{grid-template-columns:1fr!important}.v39a-quick{grid-template-columns:repeat(2,1fr)!important}
 body.v41-complete #view-accounts .v38-account-layout{grid-template-columns:1fr!important}body.v41-complete #view-accounts .v38-account-form{grid-template-columns:1fr!important}.v38-account-wide,.v38-account-form-actions{grid-column:1!important}
 body.v41-complete #view-p2p .p2p-top-snapshot{grid-template-columns:repeat(2,1fr)!important}
 body.v41-complete.v41-route-shell:where(:not([data-v43-noncore-sidebar="1"])){padding-left:0!important}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-sidebar{width:min(86vw,330px);transform:translateX(-105%);transition:transform .2s ease;box-shadow:0 20px 60px rgba(0,0,0,.62)}body.v41-complete.v41-route-shell.v41-route-open:where(:not([data-v43-noncore-sidebar="1"])) .v41-route-sidebar{transform:translateX(0)}:where(body:not([data-v43-noncore-sidebar="1"])) .v41-route-menu{display:block}
 body.v41-complete.v41-route-shell :is(.jp-topbar,.pilot-topbar){padding-left:62px!important;padding-right:12px!important;min-height:68px!important}.v41-purchase-hero{width:calc(100% - 22px)!important;margin:12px auto 0!important}.jp-hub-nav,.jp-shell,.pilot-shell,.pilot-narrow{width:calc(100% - 22px)!important;padding-bottom:92px!important}
 body.v41-complete .jp-hub-tabs{grid-auto-flow:row!important;grid-template-columns:repeat(2,1fr)!important;grid-auto-columns:auto!important}.jp-admin-stats,.jp-smart-summary,.jp-summary-secondary{grid-template-columns:1fr!important}.jp-admin-stats{grid-template-columns:repeat(2,1fr)!important}.v39a-buy-layout{grid-template-columns:1fr!important}
 body.v41-complete .pilot-support-layout{grid-template-columns:1fr!important}.v39p-support-features{grid-template-columns:1fr!important;max-width:66%!important}.v39p-category-grid{grid-template-columns:repeat(2,1fr)!important}.pilot-admin-tabs{grid-template-columns:repeat(2,1fr)!important}.pilot-form-grid{grid-template-columns:1fr!important}.pilot-form-grid .pilot-wide,.pilot-section-title{grid-column:1!important}
 body.v41-complete .responsive-table{overflow:visible!important}body.v41-complete .responsive-table table{min-width:0!important}body.v41-complete .responsive-table thead{display:none!important}body.v41-complete .responsive-table table,body.v41-complete .responsive-table tbody,body.v41-complete .responsive-table tr,body.v41-complete .responsive-table td{display:block!important;width:100%!important}body.v41-complete .responsive-table tr{border:1px solid #17374a!important;background:#071722!important;border-radius:13px!important;margin-bottom:9px!important;padding:8px!important}body.v41-complete .responsive-table td{border:0!important;padding:5px 7px!important}
}
@media(max-width:430px){body.v41-complete .v39a-metrics,body.v41-complete #view-admin .admin-metrics,body.v41-complete .jp-member-summary-strip{grid-template-columns:1fr 1fr!important;gap:8px!important}.v39p-support-features{display:none!important}.v39p-category-grid{grid-template-columns:1fr 1fr!important}.jp-admin-stats{grid-template-columns:1fr 1fr!important}}
@media(prefers-reduced-motion:reduce){body.v41-complete *,body.v41-complete *::before,body.v41-complete *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* ===== CONSOLIDATED SOURCE: ui-v41-r2-geometry.css ===== */
/* BYGOTIC V41 R2 · SINGLE SURFACE + VISUAL GEOMETRY CORRECTIVE */
:root{--v41r2-tab-min:128px;--v41r2-safe-dark:#081923;--v41r2-safe-dark-2:#0a1d29}
body.v41-complete [hidden],body.v41-complete .hidden,body.v41-complete .jp-hub-tabs.hidden,body.v41-complete .jp-client-preview-toggle.hidden{display:none!important}
body.jp-page[data-admin="1"]:not(.jp-client-preview) #jpMemberTabs{display:none!important}
body.jp-page[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs{display:flex!important}
body.jp-page[data-admin="0"] #jpAdminTabs{display:none!important}
body.jp-page[data-admin="0"] #jpMemberTabs{display:flex!important}
body.jp-page.jp-client-preview #jpAdminTabs{display:none!important}
body.jp-page.jp-client-preview #jpMemberTabs{display:flex!important}
body.jp-page .jp-hub-nav{position:relative!important;top:auto!important;z-index:20!important;display:flex!important;align-items:center!important;gap:10px!important;padding:10px 0!important;background:transparent!important;overflow:visible!important}
body.jp-page .jp-hub-tabs{display:flex!important;flex:1 1 auto!important;grid-auto-flow:unset!important;grid-auto-columns:unset!important;grid-template-columns:none!important;gap:8px!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;padding:2px!important;overscroll-behavior-inline:contain}
body.jp-page .jp-hub-tabs>button{flex:1 0 var(--v41r2-tab-min)!important;min-width:var(--v41r2-tab-min)!important;max-width:220px!important;min-height:50px!important;padding:10px 12px!important;white-space:nowrap!important}
body.jp-page .jp-hub-tabs>button small{display:block!important;max-width:150px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.jp-page #jpClientPreviewToggle:not(.hidden){flex:0 0 auto!important;min-width:142px!important;max-width:180px!important}
body.jp-page .r38-workspace-head{display:none!important}
body.jp-page .jp-admin-hero-r7{margin-top:4px!important;padding:18px!important;border-radius:15px!important;box-shadow:none!important}
body.jp-page .jp-admin-hero-r7 h1{font-size:clamp(1.3rem,2vw,1.8rem)!important}
body.jp-page :is(.r34-dossier-card,.r35-dossier-card,.jp-dossier-card,.jp-order-card){min-width:0!important;overflow:hidden!important}
body.jp-page :is(.r34-dossier-card,.r35-dossier-card,.jp-dossier-card) dl{display:grid!important;grid-template-columns:minmax(96px,.65fr) minmax(0,1.35fr)!important;gap:8px 14px!important;align-items:start!important}
body.jp-page :is(.r34-dossier-card,.r35-dossier-card,.jp-dossier-card) dt{color:#8297aa!important;white-space:normal!important}
body.jp-page :is(.r34-dossier-card,.r35-dossier-card,.jp-dossier-card) dd{margin:0!important;overflow-wrap:anywhere!important;color:#eff5fa!important}
body.v41-complete :is(table tbody tr,.profile-row,.admin-user-row,.member-row,.team-card){color:#d9e5ee!important}
body.v41-complete :is(table tbody tr:hover,table tbody tr:focus-within,table tbody tr.selected,table tbody tr.active,.profile-row:hover,.profile-row.selected,.admin-user-row:hover,.admin-user-row.selected,.member-row:hover,.member-row.selected){background:linear-gradient(90deg,#0b2230,#081923)!important;color:#f6f9fc!important;box-shadow:inset 3px 0 #b9912a!important}
body.v41-complete :is(table tbody tr:hover,table tbody tr.selected) :is(td,a,button,span,b,strong,small){color:inherit}
body.v41-complete #view-base :is(.btn,.mini-button,.text-button,button){filter:none!important;text-shadow:none!important}
body.v41-complete #view-dashboard>.v38-command-center,body.v41-complete #view-dashboard #v38Command{display:none!important}
body.v41-complete:not(.p6-member):not([data-v43-shell="1"]) .sidebar .v40-tools{display:none!important}
body.v41-complete:not(.p6-member):not([data-v43-shell="1"]) .sidebar [data-view="statement"]{display:none!important}
.v41r2-module-tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:10px;border:1px solid #17384b;border-radius:14px;background:#07151f}
.v41r2-module-tools button{min-height:40px;padding:9px 12px;border:1px solid #214358;border-radius:10px;background:#091b26;color:#b9c8d5;font-weight:700;cursor:pointer}
.v41r2-module-tools button:hover,.v41r2-module-tools button.active{border-color:#80641d;background:#17170d;color:#f3cd53}
body.v41-route-shell .pilot-topbar{display:none!important}
body.v41-route-shell .pilot-shell{margin-top:0!important}
body.v41-route-shell .pilot-support-layout{align-items:start!important;min-height:0!important;height:auto!important}
body.v41-route-shell :is(.pilot-list-card,.pilot-detail-card,.pilot-ticket-list,.pilot-empty-state){min-height:0!important}
body.v41-route-shell .pilot-empty-state{padding:28px 20px!important}
body.v41-complete .admin-metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:10px!important}
body.v41-complete #view-account .account-grid{align-items:start!important}
body.v41-complete #view-account .pwa-control-panel{order:8!important}
body.v41-complete #view-account .motion-panel{order:9!important}
@media(max-width:1100px){body.jp-page .jp-hub-tabs>button{flex-basis:118px!important;min-width:118px!important}}
@media(max-width:800px){body.v41-route-shell .pilot-topbar{display:flex!important;position:relative!important;margin:0 0 10px!important}body.jp-page .jp-hub-nav{padding:8px 0!important;margin:0!important}body.jp-page .jp-hub-tabs{scroll-snap-type:x proximity!important}body.jp-page .jp-hub-tabs>button{flex:0 0 118px!important;min-width:118px!important;max-width:118px!important;scroll-snap-align:start!important}body.jp-page .jp-hub-tabs>button small{display:none!important}.v41r2-module-tools{overflow-x:auto!important;flex-wrap:nowrap!important}.v41r2-module-tools button{flex:0 0 auto!important}}
@media(max-width:430px){body.jp-page .jp-hub-tabs>button{flex-basis:108px!important;min-width:108px!important;max-width:108px!important;padding-inline:8px!important}}


/* ===== CONSOLIDATED SOURCE: ui-v41-r3-repair.css ===== */
/* BYGOTIC V41 R3 · WEB + MOBILE NAVIGATION / GEOMETRY / PWA REPAIR
   Capa autoritativa posterior a V41 R2. No modifica ledger, órdenes ni SQLite. */
:root{--v41r3-safe-bottom:max(10px,env(safe-area-inset-bottom));--v41r3-line:#17384b;--v41r3-panel:#07151f;--v41r3-gold:#f0c94f}
body.v41-complete{max-width:100%;overflow-x:clip}
body.v41-complete :is(main,section,article,aside,nav,header,footer,div,form,fieldset,label){min-width:0}
body.v41-complete :is(input,select,textarea,button){max-width:100%}
body.v41-complete :is(img,svg,canvas,video){max-width:100%}
body.v41r3-member :is([data-v41-admin-only],.v39a-admin-only){display:none!important}
/* Cuentas y Finanzas vuelven a ser destinos diferentes; V38 conserva la vista financiera real. */
body.v41r3-admin:not([data-v43-shell="1"]) .sidebar [data-view="statement"]{display:flex!important}
body.v41r3-admin:not([data-v43-shell="1"]) .sidebar [data-view="accounts"] b{white-space:normal}
body.v41r3-admin #view-accounts .page-heading h1{max-width:100%}
/* Inicio: evitar textos/botones pegados y mantener jerarquía clara. */
body.v41-complete .v39a-quick :is(a,button){min-width:0}
body.v41-complete .v39a-quick :is(a,button)>:is(b,small){display:block;min-width:0;white-space:normal;overflow-wrap:break-word}
body.v41-complete .v39a-section-head{gap:12px;align-items:flex-start}
body.v41-complete #refreshLiveCenter{white-space:nowrap;flex:0 0 auto}
/* Mi cuenta: ningún panel puede ensanchar el viewport. */
body.v41-complete #view-account,body.v41-complete #view-account .account-grid,body.v41-complete #view-account .account-grid>*{width:100%;max-width:100%;min-width:0}
body.v41-complete #view-account :is(.pwa-action-grid,.push-health-grid,.push-preference-grid,.quiet-hours-row,.r5-diagnostic-grid,.push-device-list,.avatar-upload-feedback){min-width:0;max-width:100%}
body.v41-complete #view-account :is(input,select,textarea,progress){width:100%;min-width:0}
body.v41-complete #view-account :is(code,pre,.push-health-detail,.pwa-help,.form-help){max-width:100%;overflow-wrap:anywhere;white-space:normal}
/* Perfiles: escritorio estable; móvil se transforma en tarjetas legibles. */
body.v41-complete #view-base .table-toolbar,body.v41-complete #view-work .table-toolbar,body.v41-complete #view-done .table-toolbar{position:relative!important;top:auto!important;z-index:auto!important;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.v41-complete :is(#view-base,#view-work,#view-done) .table-toolbar .search-box{flex:1 1 260px;min-width:0}
body.v41-complete :is(#view-base,#view-work,#view-done) .table-toolbar :is(input,select){min-width:0}
body.v41-complete :is(#view-base,#view-work,#view-done) .responsive-table{max-width:100%}
/* Compras: gana sobre TODA la cascada histórica, incluso joint-purchases.css. */
html body.jp-page.v41-complete .jp-hub-nav{position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;z-index:20!important;height:auto!important;min-height:0!important;margin:0!important;padding:8px 0!important;overflow:visible!important;transform:none!important}
html body.jp-page.v41-complete .jp-hub-tabs{position:relative!important;inset:auto!important;display:flex!important;flex:1 1 auto!important;gap:8px!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:2px!important;overflow-x:auto!important;overflow-y:hidden!important;transform:none!important;scrollbar-width:thin}
html body.jp-page.v41-complete .jp-hub-tabs>button{position:relative!important;inset:auto!important;min-height:48px!important;transform:none!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs [data-jp-admin-tab="offers"]{display:flex!important;visibility:visible!important;opacity:1!important}
html body.jp-page.v41-complete .jp-shell,html body.jp-page.v41-complete .jp-view-panel,html body.jp-page.v41-complete #jpMemberExperience,html body.jp-page.v41-complete #jpAdminExperience{width:100%!important;max-width:100%!important;min-width:0!important}
html body.jp-page.v41-complete :is(.jp-grid,.jp-admin-form-grid,.jp-community-create-grid,.jp-calc-inputs,.jp-offer,.jp-quote,.jp-order-card-meta,.jp-pay-panel,.r38-workspace-layout,.r38-account-layout){min-width:0!important;max-width:100%!important}
html body.jp-page.v41-complete :is(.jp-card,.jp-order,.jp-admin-order,.jp-order-card,.p9-dossier-card,.r34-dossier-card,.r35-dossier-card){min-width:0!important;max-width:100%!important;overflow:hidden!important}
html body.jp-page.v41-complete :is(.jp-card,.jp-order,.jp-admin-order,.jp-order-card) :is(b,strong,small,p,span,dd){overflow-wrap:break-word}
/* Soporte */
body.v41-route-shell .v39p-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.v41-route-shell .v39p-category{min-width:0;max-width:100%;white-space:normal}
body.v41-route-shell .v39p-category b{white-space:normal;overflow-wrap:break-word}
body.v41-route-shell .pilot-dialog{max-width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
body.v41-route-shell .pilot-dialog>div{max-width:100%;overflow:auto}
/* Estados de cuenta: la tabla real V38 se convierte en cards en móvil. */
body.v41-complete #view-statement{max-width:100%;min-width:0}
body.v41-complete #view-statement :is(.v38-filter-grid,.v38-scope-grid,.v38-balances,.v38-table-wrap){min-width:0;max-width:100%}
body.v41-complete #view-statement .v38-detail-dialog{max-width:min(760px,calc(100vw - 20px));max-height:calc(100dvh - 20px)}
body.v41-complete #view-statement .v38-detail-card{max-width:100%;max-height:calc(100dvh - 20px);overflow:auto}
body.v41-complete .v41r3-deep-linked,body.jp-page .p9-deep-linked{outline:2px solid var(--v41r3-gold)!important;outline-offset:3px;scroll-margin:100px 0 90px}
@media(max-width:800px){
 body.v41-complete{padding-bottom:calc(78px + var(--v41r3-safe-bottom))}
 body.v41-complete #mainContent,body.jp-page.v41-complete .jp-shell,body.v41-route-shell .pilot-shell{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;padding-bottom:calc(92px + var(--v41r3-safe-bottom))!important}
 body.v41-complete .v41r2-module-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:8px!important}
 body.v41-complete .v41r2-module-tools button{width:100%!important;min-width:0!important;white-space:normal!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .table-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .table-toolbar>*{width:100%!important;max-width:100%!important;min-width:0!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .search-box{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .responsive-table{overflow:visible!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table{display:block!important;width:100%!important;min-width:0!important;border:0!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table colgroup,body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table thead{display:none!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody{display:grid!important;gap:10px!important;width:100%!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important;padding:8px 10px!important;border:1px solid var(--v41r3-line)!important;border-radius:14px!important;background:var(--v41r3-panel)!important;overflow:hidden!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody td{display:grid!important;grid-template-columns:minmax(92px,.7fr) minmax(0,1.3fr)!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important;padding:10px 2px!important;border:0!important;border-bottom:1px solid rgba(92,123,145,.16)!important;white-space:normal!important;overflow-wrap:break-word!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody td:last-child{border-bottom:0!important}
 body.v41-complete .profile-table-work td:nth-child(1)::before,body.v41-complete .profile-table-done td:nth-child(1)::before,body.v41-complete .profile-table-base td:nth-child(1)::before{content:'Perfil'}
 body.v41-complete .profile-table-work td:nth-child(2)::before{content:'Origen'} body.v41-complete .profile-table-work td:nth-child(3)::before{content:'Estado personal'} body.v41-complete .profile-table-work td:nth-child(4)::before{content:'Última acción'} body.v41-complete .profile-table-work td:nth-child(5)::before{content:'Acciones'}
 body.v41-complete .profile-table-done td:nth-child(2)::before{content:'Resultado'} body.v41-complete .profile-table-done td:nth-child(3)::before{content:'Confirmado'} body.v41-complete .profile-table-done td:nth-child(4)::before{content:'Estado'} body.v41-complete .profile-table-done td:nth-child(5)::before{content:'Acciones'}
 body.v41-complete .profile-table-base td:nth-child(2)::before{content:'Agregado por'} body.v41-complete .profile-table-base td:nth-child(3)::before{content:'Apariciones'} body.v41-complete .profile-table-base td:nth-child(4)::before{content:'Mi resultado'} body.v41-complete .profile-table-base td:nth-child(5)::before{content:'Acciones'}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody td::before{color:#8297aa;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody td :is(button,a){max-width:100%;white-space:normal}
 html body.jp-page.v41-complete .jp-hub-nav{display:block!important;width:100%!important;padding:6px 0 10px!important}
 html body.jp-page.v41-complete .jp-hub-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;overflow:visible!important;gap:7px!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button{display:flex!important;flex:initial!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:50px!important;padding:8px 9px!important;white-space:normal!important;justify-content:flex-start!important;overflow:hidden!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button small{display:none!important}
 html body.jp-page.v41-complete #jpClientPreviewToggle:not(.hidden){width:100%!important;min-width:0!important;max-width:none!important;margin-top:7px!important}
 html body.jp-page.v41-complete :is(.jp-grid,.jp-admin-form-grid,.jp-community-create-grid,.jp-calc-inputs,.jp-offer,.jp-quote,.r38-workspace-layout,.r38-account-layout){grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete :is(.jp-actions,.jp-order-card-actions,.jp-admin-order-actions,.v38-account-form-actions,.jp-proof-upload){flex-wrap:wrap!important;min-width:0!important}
 html body.jp-page.v41-complete :is(.jp-actions,.jp-order-card-actions,.jp-admin-order-actions)>*{min-width:0;max-width:100%}
 html body.jp-page.v41-complete dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;margin:auto!important}
 body.v41-route-shell .v39p-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.v41-route-shell .v39p-category{min-height:66px;padding:12px!important}
 body.v41-route-shell .pilot-support-layout{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 body.v41-route-shell :is(.pilot-list-card,.pilot-detail-card){width:100%!important;max-width:100%!important;min-width:0!important}
 body.v41-route-shell .pilot-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;margin:auto!important}
 body.v41-complete #view-account .account-grid{grid-template-columns:minmax(0,1fr)!important}
 body.v41-complete #view-account :is(.pwa-action-grid,.push-health-grid,.push-preference-grid,.r5-diagnostic-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.v41-complete #view-account .quiet-hours-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 body.v41-complete #view-statement :is(.v38-filter-grid,.v38-scope-grid,.v38-balances){grid-template-columns:minmax(0,1fr)!important}
 body.v41-complete #view-statement .v38-table-wrap{overflow:visible!important}
 body.v41-complete #view-statement .v38-table{display:block!important;width:100%!important;min-width:0!important}
 body.v41-complete #view-statement .v38-table thead{display:none!important}
 body.v41-complete #view-statement .v38-table tbody{display:grid!important;gap:10px!important}
 body.v41-complete #view-statement .v38-table tr{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:10px!important;border:1px solid var(--v41r3-line)!important;border-radius:14px!important;background:var(--v41r3-panel)!important;overflow:hidden!important}
 body.v41-complete #view-statement .v38-table td{display:grid!important;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr)!important;gap:10px!important;width:100%!important;min-width:0!important;padding:8px 0!important;border:0!important;border-bottom:1px solid rgba(92,123,145,.16)!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.v41-complete #view-statement .v38-table td:last-child{border-bottom:0!important}
 body.v41-complete #view-statement .v38-table td::before{content:attr(data-label);color:#8297aa;font-size:.72rem;font-weight:800;text-transform:uppercase}
}
@media(max-width:430px){
 body.v41-complete .v41r2-module-tools{grid-template-columns:minmax(0,1fr)!important}
 body.v41-route-shell .v39p-category-grid{grid-template-columns:minmax(0,1fr)!important}
 body.v41-complete #view-account :is(.pwa-action-grid,.push-health-grid,.push-preference-grid,.r5-diagnostic-grid){grid-template-columns:minmax(0,1fr)!important}
 body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table tbody td,body.v41-complete #view-statement .v38-table td{grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
 html body.jp-page.v41-complete .jp-hub-tabs{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){body.v41-complete .v41r3-deep-linked{scroll-behavior:auto!important}}


/* ===== CONSOLIDATED SOURCE: ui-v41-r4-visual-authority.css ===== */
/* BYGOTIC V41 R4 · VISUAL AUTHORITY + PURCHASES CLOSURE
   Autoridad final para Web/Mobile. No altera reglas financieras ni datos. */
:root{--v41r4-gap:clamp(10px,1.35vw,18px);--v41r4-radius:16px;--v41r4-control:44px}

/* 1) Estado oculto: ninguna capa visual posterior puede reabrir superficies legacy/role-hidden. */
html body.v41-complete [hidden],
html body.v41-complete .hidden,
html body.jp-page.v41-complete .r42-legacy-hidden,
html body.jp-page.v41-complete .r42-simple-workspace>.r34r2-admin-cockpit,
html body.jp-page.v41-complete .r42-simple-workspace #r38WorkspaceNav,
html body.jp-page.v41-complete #jpR33OpsNav.r42-legacy-hidden{display:none!important;visibility:hidden!important}

/* 2) Compras: una sola navegación por rol. Comunidad admin queda en Más herramientas. */
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpMemberTabs,
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpMemberExperience,
html body.jp-page.v41-complete[data-admin="0"] #jpAdminTabs,
html body.jp-page.v41-complete[data-admin="0"] #jpAdmin,
html body.jp-page.v41-complete.jp-client-preview #jpAdminTabs,
html body.jp-page.v41-complete.jp-client-preview #jpAdmin{display:none!important;visibility:hidden!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdmin,
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs,
html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
html body.jp-page.v41-complete[data-admin="0"] #jpMemberExperience,
html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs,
html body.jp-page.v41-complete.jp-client-preview #jpMemberExperience{visibility:visible!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs{display:grid!important}
html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{display:grid!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs>[data-jp-admin-tab="community"]{display:none!important}

html body.jp-page.v41-complete .jp-hub-nav{position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;z-index:20!important;width:min(1480px,calc(100% - 24px))!important;max-width:100%!important;margin:0 auto!important;padding:10px 0 12px!important;background:transparent!important;overflow:visible!important;transform:none!important}
html body.jp-page.v41-complete .jp-hub-tabs{position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;gap:8px!important;overflow:visible!important;transform:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body.jp-page.v41-complete .jp-hub-tabs>button{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;align-content:center!important;justify-content:stretch!important;min-width:0!important;max-width:100%!important;min-height:58px!important;height:auto!important;padding:9px 10px!important;overflow:hidden!important;white-space:normal!important;text-align:left!important}
html body.jp-page.v41-complete .jp-hub-tabs>button .jp-tab-icon{grid-row:1/3!important;align-self:center!important}
html body.jp-page.v41-complete .jp-hub-tabs>button>span:not(.jp-tab-icon),
html body.jp-page.v41-complete .jp-hub-tabs>button>small{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* 3) Una sola superficie de Centro; R42 es la arquitectura válida. */
html body.jp-page.v41-complete.r42-purchases-simple #jpAdminOverviewPanel>.jp-admin-hero,
html body.jp-page.v41-complete.r42-purchases-simple #jpAdminOverviewPanel>.jp-admin-stats,
html body.jp-page.v41-complete.r42-purchases-simple #jpAdminOverviewPanel>.jp-smart-summary,
html body.jp-page.v41-complete.r42-purchases-simple #jpAdminOverviewPanel>.jp-summary-secondary,
html body.jp-page.v41-complete .r38-workspace-head,
html body.jp-page.v41-complete #jpR33OpsNav{display:none!important}
html body.jp-page.v41-complete .r38-workspace-layout{display:block!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%!important;max-width:100%!important}
html body.jp-page.v41-complete :is(.r38-window-stage,.r38-window,.r38-center-grid,.r38-center-main,.r38-center-side,.r42-simple-workspace,.jp-view-panel){min-width:0!important;max-width:100%!important;width:100%!important}

/* 4) KPI y paneles: nunca más 5-7 columnas microscópicas. */
html body.jp-page.v41-complete .r38-kpi-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--v41r4-gap)!important;min-width:0!important;max-width:100%!important}
html body.jp-page.v41-complete .r38-kpi{min-width:0!important;max-width:100%!important;padding:15px!important}
html body.jp-page.v41-complete .r38-kpi b{font-size:clamp(18px,2vw,24px)!important;overflow-wrap:break-word!important;word-break:normal!important}
html body.jp-page.v41-complete .r38-center-grid{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr)!important;gap:var(--v41r4-gap)!important;align-items:start!important}
html body.jp-page.v41-complete :is(.r38-next-card,.r38-member-preview,.r38-mini-volume,.r38-confirm-window){min-width:0!important;max-width:100%!important}

/* 5) Ofertas: dos columnas legibles desktop, una en móvil. */
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-width:0!important;max-width:100%!important}
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid)>.jp-wide{grid-column:1/-1!important}
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid) label,
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid) input,
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid) select,
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid) textarea{min-width:0!important;max-width:100%!important;width:100%!important}
html body.jp-page.v41-complete .jp-offer-test-probe{grid-template-columns:minmax(0,1fr) minmax(190px,260px) auto!important;gap:10px!important;min-width:0!important}
html body.jp-page.v41-complete .jp-planner-toolbar{grid-template-columns:minmax(240px,1.2fr) minmax(170px,.7fr) auto!important;min-width:0!important}
html body.jp-page.v41-complete .jp-calc-inputs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.jp-page.v41-complete .jp-calc-results{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.jp-page.v41-complete :is(.jp-admin-form,.jp-offer-member-planner,.jp-offer-calculator,.jp-offer-publish-step,.jp-admin-rounds){min-width:0!important;max-width:100%!important;width:100%!important}

/* 6) Finanzas de Compras: navegación secundaria clara, no otra sidebar. */
html body.jp-page.v41-complete .r42-finance-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important;max-width:100%!important}
html body.jp-page.v41-complete .r42-finance-nav button{min-width:0!important;max-width:100%!important;min-height:62px!important}
html body.jp-page.v41-complete .jp-recon-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;min-width:0!important}

/* 7) Órdenes: toolbar no tapa contenido. */
html body.jp-page.v41-complete .jp-order-toolbar{position:relative!important;inset:auto!important;top:auto!important;z-index:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;max-width:100%!important;min-width:0!important;margin:14px 0!important}
html body.jp-page.v41-complete .jp-filter-pills{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;min-width:0!important;margin:0!important}
html body.jp-page.v41-complete .jp-order-search{flex:1 1 260px!important;min-width:min(260px,100%)!important;max-width:420px!important}

/* 8) Tipografía/overflow: partir códigos cuando sea necesario, no palabras normales. */
html body.jp-page.v41-complete :is(h1,h2,h3,h4,p,b,strong,small,label,button,span){word-break:normal!important;overflow-wrap:break-word!important}
html body.jp-page.v41-complete :is(code,[data-order],.jp-copy-value,.jp-proof-hash,.p9-dossier-card dd){overflow-wrap:anywhere!important;word-break:break-word!important}
html body.jp-page.v41-complete :is(.jp-card,.jp-order,.jp-admin-order,.jp-order-card,.p9-dossier-card,.r34-dossier-card,.r35-dossier-card,.r38-window){min-width:0!important;max-width:100%!important;overflow-x:clip!important}

/* 9) Soporte y pantallas generales. */
html body.v41-route-shell.v41-complete .v39p-category-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html body.v41-complete :is(.content-grid,.account-grid,.pilot-support-layout){min-width:0!important;max-width:100%!important}
html body.v41-complete #view-account{overflow-x:clip!important;max-width:100%!important}

/* 10) Avatar: inicial solo es fallback. Foto real nunca lleva letra encima. */
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).has-photo::after,
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).image-ready::after{content:none!important;display:none!important;visibility:hidden!important}
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).has-photo>.avatar-fallback,
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).image-ready>.avatar-fallback{display:none!important;opacity:0!important;visibility:hidden!important}
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar)>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:50% 42%!important;border-radius:inherit!important}

/* 11) Mobile/tablet: reflow real, nunca Desktop comprimido. */
@media(max-width:1180px){
 html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body.jp-page.v41-complete .r38-center-grid{grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .r38-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.v41-route-shell.v41-complete .v39p-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:820px){
 html body.jp-page.v41-complete{overflow-x:clip!important}
 html body.jp-page.v41-complete .v41-purchase-hero,html body.jp-page.v41-complete .jp-shell,html body.jp-page.v41-complete .jp-hub-nav{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important}
 html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs,
 html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
 html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button{min-height:52px!important;padding:8px!important}
 html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid,.jp-offer-test-probe,.jp-planner-toolbar,.jp-calc-inputs,.jp-calc-results,.jp-recon-grid,.r42-finance-nav){grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .jp-offer-test-probe>*{width:100%!important;max-width:100%!important}
 html body.jp-page.v41-complete .jp-order-toolbar{align-items:stretch!important;flex-direction:column!important}
 html body.jp-page.v41-complete .jp-order-search{flex:0 1 auto!important;min-width:0!important;max-width:none!important;width:100%!important}
 html body.jp-page.v41-complete .jp-filter-pills{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
 html body.v41-complete :is(#view-base,#view-work,#view-done) .table-toolbar{grid-template-columns:minmax(0,1fr)!important}
 html body.v41-complete :is(#view-base,#view-work,#view-done) .profile-table thead{display:none!important}
}
@media(max-width:560px){
 html body.jp-page.v41-complete .r38-kpi-grid{grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .jp-filter-pills{grid-template-columns:minmax(0,1fr)!important}
 html body.v41-route-shell.v41-complete .v39p-category-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:390px){
 html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs,
 html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
 html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button{grid-template-columns:26px minmax(0,1fr)!important;grid-template-rows:auto!important;min-height:48px!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button .jp-tab-icon{grid-row:auto!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button>small{display:none!important}
}


/* ===== CONSOLIDATED SOURCE: ui-v41-r5-full-visual-closure.css ===== */
/* BYGOTIC V41 R5 · FULL VISUAL CLOSURE
   Cierre estructural Web + Mobile: Compras, Mi cuenta, sidebar, soporte y avatar.
   La capa usa cascade layer con declaraciones importantes para vencer de forma
   determinista los !important históricos sin subir especificidad indefinidamente. */
@layer bygotic_v41r5_authority {
html body.v41-complete.v41-route-shell{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
html body.jp-page.v41-complete{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
:root{--r5-max:1280px;--r5-gap:clamp(12px,1.4vw,20px);--r5-mobile-pad:12px;--r5-dock-h:74px}
html,body{max-width:100%!important}
body.v41-complete{overflow-x:hidden!important}
body.v41-complete :is(.view,.panel,.panel-body,.panel-head,.content-grid,.account-grid,.responsive-table){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

/* 1. COMPRAS: una sola superficie visible y navegación integrada al contenido. */
html body.jp-page.v41-complete{overflow-x:hidden!important}
html body.jp-page.v41-complete :is(.v41-purchase-hero,.jp-hub-nav,.jp-shell){width:min(var(--r5-max),calc(100vw - 40px))!important;max-width:var(--r5-max)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
html body.jp-page.v41-complete .v41-purchase-hero{padding:clamp(22px,3vw,38px) 0 14px!important;text-align:left!important}
html body.jp-page.v41-complete .v41-purchase-hero h1{font-size:clamp(30px,3vw,44px)!important;line-height:1.03!important;letter-spacing:-.04em!important;margin:6px 0 10px!important}
html body.jp-page.v41-complete .v41-purchase-hero p{max-width:760px!important;font-size:clamp(13px,1.1vw,16px)!important;line-height:1.55!important;margin:0!important}
html body.jp-page.v41-complete .jp-hub-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch!important;gap:10px!important;padding:10px!important;margin-top:0!important;margin-bottom:16px!important;border-radius:18px!important;overflow:visible!important}
html body.jp-page.v41-complete .jp-hub-tabs{display:grid!important;gap:8px!important;min-width:0!important;width:100%!important;overflow:visible!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;visibility:visible!important;opacity:1!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpMemberTabs{display:none!important;visibility:hidden!important}
html body.jp-page.v41-complete[data-admin="0"] #jpAdminTabs,
html body.jp-page.v41-complete.jp-client-preview #jpAdminTabs{display:none!important;visibility:hidden!important}
html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;visibility:visible!important;opacity:1!important}
html body.jp-page.v41-complete #jpAdminTabs>[data-jp-admin-tab="community"]{display:none!important}
html body.jp-page.v41-complete .jp-hub-tabs>button{min-width:0!important;max-width:100%!important;min-height:62px!important;padding:10px 9px!important;border-radius:12px!important;overflow:hidden!important}
html body.jp-page.v41-complete .jp-hub-tabs>button>span:not(.jp-tab-icon){font-size:12px!important;line-height:1.2!important;font-weight:850!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body.jp-page.v41-complete .jp-hub-tabs>button>small{font-size:9px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body.jp-page.v41-complete #jpClientPreviewToggle{min-width:150px!important;max-width:190px!important;align-self:stretch!important;margin:0!important;border-radius:12px!important;white-space:normal!important}
html body.jp-page.v41-complete .jp-shell{display:block!important;min-height:440px!important;padding:0 0 110px!important;overflow:visible!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdmin{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:100%!important}
html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpMemberExperience{display:none!important;visibility:hidden!important}
html body.jp-page.v41-complete[data-admin="0"] #jpAdmin,
html body.jp-page.v41-complete.jp-client-preview #jpAdmin{display:none!important;visibility:hidden!important}
html body.jp-page.v41-complete[data-admin="0"] #jpMemberExperience,
html body.jp-page.v41-complete.jp-client-preview #jpMemberExperience{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:100%!important}
html body.jp-page.v41-complete :is(#jpAdmin,#jpMemberExperience,.jp-view-panel,.jp-card,.r38-window,.jp-admin-form,.jp-admin-rounds){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body.jp-page.v41-complete .jp-view-panel:not(.hidden):not([hidden]){display:block!important;width:100%!important}
html body.jp-page.v41-complete :is(#jpR33OpsNav,#r38WorkspaceNav,#r34r2AdminCockpit).r42-legacy-hidden{display:none!important}
html body.jp-page.v41-complete .r38-workspace-head{display:none!important}
html body.jp-page.v41-complete :is(.r38-kpi-grid,.jp-admin-stats,.jp-member-summary-kpis,.jp-summary-money-grid,.jp-summary-close-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--r5-gap)!important}
html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid,.jp-calc-inputs,.jp-calc-results,.jp-planner-toolbar){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.jp-page.v41-complete :is(.r38-kpi-grid,.jp-admin-stats,.jp-member-summary-kpis,.jp-form-grid,.jp-admin-form-grid,.jp-summary-money-grid,.jp-summary-close-grid)>*{min-width:0!important;max-width:100%!important}
html body.jp-page.v41-complete :is(h1,h2,h3,h4,p,label,button,small,span,b,strong){word-break:normal!important;overflow-wrap:break-word!important}
html body.jp-page.v41-complete :is(input,select,textarea,button){max-width:100%!important;box-sizing:border-box!important}
html body.jp-page.v41-complete .jp-order-toolbar{position:relative!important;inset:auto!important;top:auto!important;z-index:auto!important;margin:12px 0!important;max-width:100%!important}

/* 2. MI CUENTA: elimina la columna implícita que causaba el gran vacío negro. */
html body.v41-complete #view-account{display:none;min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}
html body.v41-complete #view-account.active{display:block!important}
html body.v41-complete #view-account>.account-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--r5-gap)!important;width:100%!important;max-width:100%!important;min-width:0!important;align-items:start!important}
html body.v41-complete #view-account>.account-grid>article,
html body.v41-complete #view-account>.account-grid>.panel,
html body.v41-complete #view-account .account-grid>article:not(.profile-card):not(.pwa-control-panel),
html body.v41-complete #view-account .pwa-control-panel{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
html body.v41-complete #view-account .profile-card{grid-column:1!important;grid-row:auto!important;position:static!important}
html body.v41-complete #view-account .pwa-control-panel,
html body.v41-complete #view-account .account-grid>article:not(.profile-card){grid-column:1!important}
html body.v41-complete #view-account :is(.panel-head,.panel-body,.pwa-control-body,.push-preferences,.push-device-section,.mfa-recovery-manage,.avatar-upload-feedback){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body.v41-complete #view-account :is(input,select,textarea,progress){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body.v41-complete #view-account :is(code,pre,.push-health-detail,.pwa-help,.form-help){max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important}
html body.v41-complete #view-account :is(.pwa-action-grid,.push-health-grid,.push-preference-grid,.r5-diagnostic-grid,.motion-control-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body.v41-complete #view-account .quiet-hours-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr)) auto!important;gap:10px!important;align-items:end!important}
html body.v41-complete #view-account .mfa-inline-qr{max-width:min(260px,100%)!important;overflow:hidden!important}
html body.v41-complete #view-account .mfa-inline-qr :is(svg,img,canvas){display:block!important;max-width:100%!important;height:auto!important;margin:auto!important}

/* 3. FOTO: nunca foto + inicial al mismo tiempo. */
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).has-photo::after,
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).image-ready::after{content:none!important;display:none!important}
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).has-photo>.avatar-fallback,
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar).image-ready>.avatar-fallback{display:none!important}
html body.v41-complete :is(.avatar,.profile-avatar,.app-avatar,.avatar-frame,.profile-list-avatar,.team-avatar)>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}

/* 4. SOPORTE: nunca tres tarjetas comprimidas en teléfono. */
html body.v41-complete.v41-route-shell .pilot-shell{min-width:0!important;max-width:1180px!important;box-sizing:border-box!important}
html body.v41-complete .v39p-support-features{width:100%!important;max-width:900px!important;min-width:0!important}
html body.v41-complete .pilot-support-layout{min-width:0!important;max-width:100%!important}
html body.v41-complete .v39p-category-grid{min-width:0!important;max-width:100%!important}
html body.v41-complete :is(.v39p-support-feature,.v39p-category,.pilot-list-card,.pilot-detail-card){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

/* 5. TABLET. */
@media(max-width:1180px){
 html body.jp-page.v41-complete :is(.r38-kpi-grid,.jp-admin-stats,.jp-member-summary-kpis,.jp-summary-money-grid,.jp-summary-close-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.v41-complete #view-account>.account-grid{grid-template-columns:minmax(0,1fr)!important}
 html body.v41-complete #view-account>.account-grid>article,
 html body.v41-complete #view-account>.account-grid>.panel,
 html body.v41-complete #view-account .account-grid>article:not(.profile-card):not(.pwa-control-panel),
 html body.v41-complete #view-account .pwa-control-panel,
 html body.v41-complete #view-account .profile-card{grid-column:1!important;grid-row:auto!important;position:static!important}
}

/* 6. MOBILE GLOBAL: una sola barra superior + drawer + contenido a ancho completo. */
@media(max-width:820px){
 :root{--r5-mobile-pad:10px;--r5-dock-h:72px}
 html body.v41-complete{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
 
 html body.v41-complete:not(.v41-route-shell) .mobile-menu{display:flex!important;grid-column:1!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;align-items:center!important;justify-content:center!important}
 html body.v41-complete:not(.v41-route-shell) .mobile-brand-top{display:flex!important;grid-column:2!important;min-width:0!important;width:44px!important;max-width:44px!important;margin:0!important;overflow:hidden!important}
 html body.v41-complete:not(.v41-route-shell) .mobile-brand-top>img{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important}
 html body.v41-complete:not(.v41-route-shell) .mobile-brand-top>div{display:none!important}
 html body.v41-complete:not(.v41-route-shell) :is(.v40-top-search,.top-status,.presence-top-button){display:none!important}
 html body.v41-complete:not(.v41-route-shell) .top-actions{display:flex!important;grid-column:4!important;justify-self:end!important;align-items:center!important;gap:6px!important;min-width:0!important;margin:0!important}
 html body.v41-complete:not(.v41-route-shell) .top-actions .notification-button{display:grid!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important}
 html body.v41-complete:not(.v41-route-shell) .top-actions .user-chip{display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:2px!important;overflow:hidden!important}
 html body.v41-complete:not(.v41-route-shell) .top-actions .user-chip>span:last-child{display:none!important}
 html body.v41-complete:not(.v41-route-shell) .top-actions .avatar{width:38px!important;height:38px!important;min-width:38px!important;margin:0!important}
 html body.v41-complete:not(.v41-route-shell) .layout{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .layout>#sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(320px,86vw)!important;min-width:0!important;max-width:86vw!important;height:100dvh!important;margin:0!important;padding:14px 12px max(16px,env(safe-area-inset-bottom))!important;transform:translateX(-105%)!important;transition:transform .2s ease!important;z-index:520!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .layout>#sidebar:is(.open,.mobile-open),html body.v41-complete:not(.v41-route-shell).sidebar-open:not([data-v43-shell="1"]) .layout>#sidebar{transform:translateX(0)!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .sidebar-brand{min-height:58px!important;margin:0 0 8px!important;padding:6px 8px 12px!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .nav-section{display:block!important;overflow:visible!important;min-height:0!important;padding:0 0 8px!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .nav-section>small{display:block!important;height:auto!important;margin:12px 8px 6px!important;opacity:1!important;font-size:9px!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar :is(.nav-item,.web-sidebar-profile,.sidebar-logout-button){display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:48px!important;margin:3px 0!important;padding:8px 10px!important;transform:none!important;box-sizing:border-box!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .nav-item :is(b,em),html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .web-sidebar-profile-copy,html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .sidebar-logout-button b{display:block!important;opacity:1!important;visibility:visible!important;min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .v40-tools{width:100%!important;max-width:100%!important;margin:5px 0!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .v40-tools>summary{min-height:48px!important;padding:8px 10px!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar :is(.sidebar-promo,.sidebar-spacer){display:none!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #sidebar .sidebar-foot{position:relative!important;bottom:auto!important;width:100%!important;margin-top:12px!important;padding:10px 0 0!important;background:transparent!important}
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .mobile-sidebar-overlay:not(.hidden){display:block!important;position:fixed!important;inset:0!important;z-index:510!important;background:rgba(0,0,0,.64)!important;backdrop-filter:blur(2px)!important;border:0!important}
 html body.v41-complete:not(.v41-route-shell) main#mainContent{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:14px var(--r5-mobile-pad) calc(96px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important;overflow-x:hidden!important}
 html body.v41-complete:not(.v41-route-shell) main#mainContent>.view.active{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
 html body.v41-complete:not(.v41-route-shell) .bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;height:var(--r5-dock-h)!important;min-height:var(--r5-dock-h)!important;padding:6px!important;z-index:380!important;border-radius:20px!important;box-sizing:border-box!important;overflow:hidden!important}
 html body.v41-complete:not(.v41-route-shell) .bottom-nav button{min-width:0!important;max-width:100%!important;min-height:56px!important;margin:0!important;padding:4px 2px!important;overflow:hidden!important}
 html body.v41-complete:not(.v41-route-shell) .bottom-nav small{font-size:7px!important;line-height:1.05!important;white-space:normal!important;text-align:center!important}
 html body.v41-complete:not(.v41-route-shell) .toast-area{left:10px!important;right:10px!important;bottom:calc(94px + env(safe-area-inset-bottom))!important;max-width:none!important}

 /* Mi cuenta: todos los artículos deben caer en la columna 1, sin columnas implícitas. */
 html body.v41-complete #view-account{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
 html body.v41-complete #view-account>.account-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
 html body.v41-complete #view-account>.account-grid>article,
 html body.v41-complete #view-account>.account-grid>.panel,
 html body.v41-complete #view-account .account-grid>article:not(.profile-card):not(.pwa-control-panel),
 html body.v41-complete #view-account .pwa-control-panel,
 html body.v41-complete #view-account .profile-card{grid-column:1!important;grid-row:auto!important;position:static!important;left:auto!important;right:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important}
 html body.v41-complete #view-account :is(.panel-head,.panel-body){width:100%!important;min-width:0!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important;box-sizing:border-box!important}
 html body.v41-complete #view-account .panel-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important}
 html body.v41-complete #view-account :is(.pwa-action-grid,.push-health-grid,.push-preference-grid,.quiet-hours-row,.r5-diagnostic-grid,.motion-control-grid){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important}
 html body.v41-complete #view-account .input-action{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 html body.v41-complete #view-account :is(.btn,button:not(.icon-button):not(.mini-button)){min-height:44px!important;max-width:100%!important;white-space:normal!important}
 html body.v41-complete #view-account .page-heading{display:block!important;width:100%!important;margin:0 0 14px!important;padding:0!important}
 html body.v41-complete #view-account .page-heading h1{font-size:clamp(27px,8vw,36px)!important}
 html body.v41-complete .responsive-table{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}

 /* Soporte mobile: una tarjeta por fila; quitar topbar duplicada. */
 html body.v41-complete.v41-route-shell .pilot-topbar{display:none!important}
 html body.v41-complete.v41-route-shell .pilot-shell{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-left:auto!important;margin-right:auto!important;padding-bottom:calc(94px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
 html body.v41-complete .v39p-support-features{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:10px!important}
 html body.v41-complete .v39p-support-feature{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:10px!important}
 html body.v41-complete .pilot-support-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:12px!important}
 html body.v41-complete .v39p-category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;gap:8px!important}
 html body.v41-complete .v39p-category{min-height:52px!important;padding:10px!important;white-space:normal!important}

 /* Compras mobile. */
 html body.jp-page.v41-complete :is(.v41-purchase-hero,.jp-hub-nav,.jp-shell){width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
 html body.jp-page.v41-complete .v41-purchase-hero{padding-top:16px!important}
 html body.jp-page.v41-complete .jp-hub-nav{grid-template-columns:minmax(0,1fr)!important;padding:9px!important;border-radius:15px!important}
 html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs,
 html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
 html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.jp-page.v41-complete #jpClientPreviewToggle{width:100%!important;min-width:0!important;max-width:100%!important;min-height:48px!important}
 html body.jp-page.v41-complete :is(.jp-form-grid,.jp-admin-form-grid,.jp-offer-test-probe,.jp-planner-toolbar,.jp-calc-inputs,.jp-calc-results,.jp-recon-grid,.r42-finance-nav){grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .jp-order-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 html body.jp-page.v41-complete .jp-filter-pills{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
 html body.jp-page.v41-complete .jp-order-search{width:100%!important;min-width:0!important;max-width:100%!important}
}

@media(max-width:560px){
 html body.jp-page.v41-complete :is(.r38-kpi-grid,.jp-admin-stats,.jp-member-summary-kpis,.jp-summary-money-grid,.jp-summary-close-grid){grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .jp-filter-pills{grid-template-columns:minmax(0,1fr)!important}
 html body.v41-complete .v39p-category-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:360px){
 html body.jp-page.v41-complete[data-admin="1"]:not(.jp-client-preview) #jpAdminTabs,
 html body.jp-page.v41-complete[data-admin="0"] #jpMemberTabs,
 html body.jp-page.v41-complete.jp-client-preview #jpMemberTabs{grid-template-columns:minmax(0,1fr)!important}
 html body.jp-page.v41-complete .jp-hub-tabs>button{min-height:50px!important}
 
 html body.v41-complete:not(.v41-route-shell) .top-actions{gap:4px!important}
 html body.v41-complete:not(.v41-route-shell) .top-actions .notification-button{width:42px!important;min-width:42px!important}
}
}


/* ===== CONSOLIDATED SOURCE: ui-v41-r6-exact-visual.css ===== */
/* BYGOTIC V41 R6 · EXACT VISUAL CONTRACT CUTOVER
   Contrato visual aprobado: negro + dorado, una sola superficie, desktop/mobile.
   Esta hoja gobierna /compras por alcance explícito y orden final de carga. */

  :root{--r6-bg:#05080b;--r6-surface:#0b1015;--r6-surface-2:#10161c;--r6-line:#252d33;--r6-gold:#e6b93e;--r6-gold-2:#f4ce61;--r6-text:#f4f5f6;--r6-muted:#a8b0b8;--r6-success:#52d987;--r6-warning:#e3b43c;--r6-radius:18px;--r6-sidebar:220px;--r6-topbar:70px;--r6-content:1180px}
  html,body{margin:0;min-width:0;max-width:100%;background:var(--r6-bg);color:var(--r6-text);overflow-x:hidden}
  body.r6-exact-visual{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(circle at 30% -10%,rgba(230,185,62,.08),transparent 34%),#05080b;padding:0!important}
  body.r6-exact-visual *{box-sizing:border-box;min-width:0}
  body.r6-exact-visual button,body.r6-exact-visual input,body.r6-exact-visual select,body.r6-exact-visual textarea{font:inherit}
  body.r6-exact-visual .hidden{display:none!important}
  body.r6-exact-visual .r42-legacy-hidden,
  body.r6-exact-visual #jpR33OpsNav,
  body.r6-exact-visual #r38WorkspaceNav,
  body.r6-exact-visual #r34r2AdminCockpit,
  body.r6-exact-visual #r42PurchaseFlow{display:none!important}

  .r6-sidebar{position:fixed;z-index:90;inset:0 auto 0 0;width:var(--r6-sidebar);background:linear-gradient(180deg,#06090d,#080d11);border-right:1px solid #151c22;display:flex;flex-direction:column;padding:20px 14px 16px;box-shadow:16px 0 46px rgba(0,0,0,.24)}
  .r6-side-brand{display:flex;align-items:center;gap:11px;padding:4px 9px 22px;color:var(--r6-gold-2);font-weight:900;font-size:22px;letter-spacing:.03em}
  .r6-side-brand img{width:37px;height:37px;object-fit:contain}
  .r6-side-nav{display:flex;flex-direction:column;gap:5px}
  .r6-side-nav a,.r6-side-nav button,.r6-logout button{width:100%;min-height:48px;border:0;background:transparent;color:#d9dde1;border-radius:12px;padding:0 13px;display:flex;align-items:center;gap:12px;text-decoration:none;cursor:pointer;text-align:left}
  .r6-side-nav i,.r6-logout i{width:23px;text-align:center;color:#d7dee4;font-style:normal;font-size:18px}
  .r6-side-nav b,.r6-logout b{font-weight:670;font-size:14px}
  .r6-side-nav a:hover,.r6-side-nav button:hover,.r6-logout button:hover{background:#111820}
  .r6-side-nav .active{background:linear-gradient(90deg,rgba(230,185,62,.24),rgba(230,185,62,.07));color:#fff;border-left:4px solid var(--r6-gold);padding-left:9px}
  .r6-side-nav .active i{color:var(--r6-gold)}
  .r6-side-divider{height:1px;background:#20272d;margin:12px 8px}
  .r6-side-spacer{flex:1}
  .r6-side-note{margin:12px 4px 10px;padding:14px;border:1px solid rgba(230,185,62,.42);border-radius:14px;background:linear-gradient(180deg,rgba(230,185,62,.07),rgba(255,255,255,.01));font-size:12px;color:#cfd4d9;line-height:1.45}
  .r6-side-note b{display:block;color:var(--r6-gold-2);font-size:14px;margin-bottom:4px}
  .r6-logout{margin-top:7px}.r6-logout form{margin:0}.r6-logout button{border-top:1px solid #1e252b;border-radius:0;padding-top:8px}
  .r6-topbar{position:fixed;z-index:70;left:var(--r6-sidebar);right:0;top:0;height:var(--r6-topbar);display:flex;align-items:center;gap:16px;padding:0 26px;background:rgba(6,9,13,.94);backdrop-filter:blur(18px);border-bottom:1px solid #151c22}
  .r6-mobile-menu,.r6-mobile-brand{display:none}
  .r6-search{width:min(365px,36vw);height:40px;border:1px solid #30383f;background:#0d1217;border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#8f9aa3}
  .r6-search input{flex:1;border:0;outline:0;background:transparent;color:#e8ebed;font-size:14px}
  .r6-top-spacer{flex:1}
  .r6-notify{position:relative;width:38px;height:38px;border:0;background:transparent;color:#dce2e6;font-size:19px;cursor:pointer;border-radius:10px}.r6-notify:hover{background:#111820}.r6-notify-dot{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#ef5a35;border:1px solid #0a0f13}
  .r6-user{display:flex;align-items:center;gap:10px;padding-left:14px;border-left:1px solid #293138;text-decoration:none;color:#fff}
  .r6-user-avatar{width:37px;height:37px;border-radius:50%;overflow:hidden;border:1px solid rgba(230,185,62,.6);background:#141a20;display:grid;place-items:center;color:var(--r6-gold);font-weight:800}
  .r6-user-avatar img{width:100%;height:100%;object-fit:cover;display:block}.r6-user-avatar>span{display:none}.r6-user-avatar.fallback>span{display:block}.r6-user-avatar img[src=""],.r6-user-avatar img:not([src]){display:none}
  .r6-user-copy b{display:block;font-size:13px}.r6-user-copy small{display:block;color:#a5adb5;font-size:11px;margin-top:2px}
  #jpRenderSurface{margin-left:var(--r6-sidebar)!important;padding:calc(var(--r6-topbar) + 14px) 24px 42px!important;width:auto!important;max-width:none!important;min-height:100dvh!important;background:transparent!important}
  .r6-main-wrap{width:min(var(--r6-content),100%);margin:0 auto}
  
  .r6-sidebar-backdrop{display:none}

  body.r6-exact-visual .jp-topbar{display:none!important}
  .r6-purchase-hero{position:relative;min-height:142px;border:1px solid #293138;border-radius:18px;background:linear-gradient(135deg,rgba(230,185,62,.09),rgba(11,16,21,.96) 34%,rgba(8,12,16,.98));padding:24px 220px 24px 92px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 12px 35px rgba(0,0,0,.22)}
  .r6-purchase-hero:before{content:"🛒";position:absolute;left:29px;top:28px;font-size:45px;filter:saturate(.9)}
  .r6-purchase-hero .r6-eyebrow{font-size:12px;letter-spacing:.12em;color:var(--r6-gold-2);font-weight:850;margin:0 0 4px}
  .r6-purchase-hero h1{font-size:32px;line-height:1.05;margin:0 0 5px;color:#fff;letter-spacing:.015em}.r6-purchase-hero h2{font-size:21px;margin:0 0 8px;color:#f0f2f3}.r6-purchase-hero p{margin:0;color:#c2c8cd;font-size:14px}
  body.r6-exact-visual #jpClientPreviewToggle{position:absolute!important;right:20px!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:174px!important;min-height:52px!important;border:1px solid var(--r6-gold)!important;border-radius:11px!important;background:rgba(230,185,62,.04)!important;color:#f8d662!important;padding:0 15px!important;cursor:pointer!important;opacity:1!important;visibility:visible!important}
  body.r6-exact-visual #jpClientPreviewToggle.hidden{display:none!important}body.r6-exact-visual #jpClientPreviewToggle small{display:none}body.r6-exact-visual #jpClientPreviewToggle svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7}
  body.jp-page.r6r3-purchases-web.r6-exact-visual .jp-hub-nav{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;margin:12px 0 14px!important;padding:10px!important;border:1px solid #293138!important;border-radius:16px!important;background:#080d11!important;display:block!important;min-height:0!important;box-shadow:none!important;overflow:visible!important}
  body.r6-exact-visual #jpAdminTabs,body.r6-exact-visual #jpMemberTabs{display:grid!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:9px!important;background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;position:static!important;width:100%!important;overflow:visible!important;scroll-snap-type:none!important}
  body.r6-exact-visual #jpAdminTabs,body.r6-exact-visual #jpAdminTabs[data-r42-simple="true"]{grid-template-columns:repeat(5,minmax(0,1fr))!important;min-width:0!important;width:100%!important}body.r6-exact-visual #jpMemberTabs{grid-template-columns:repeat(5,minmax(0,1fr))!important;min-width:0!important;width:100%!important}
  body.r6-exact-visual #jpAdminTabs.hidden,body.r6-exact-visual #jpMemberTabs.hidden{display:none!important}
  #jpAdminTabs button,#jpMemberTabs button{min-height:54px!important;border:1px solid #2a333a!important;background:#0d1318!important;color:#eef1f3!important;border-radius:11px!important;padding:7px 10px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:9px!important;box-shadow:none!important;transform:none!important;font-size:13px!important;cursor:pointer!important}
  #jpAdminTabs button .jp-tab-icon,#jpMemberTabs button .jp-tab-icon{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;color:#dfe5e9!important}#jpAdminTabs button svg,#jpMemberTabs button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}
  #jpAdminTabs button small,#jpMemberTabs button small{display:none!important}#jpAdminTabs button.active,#jpMemberTabs button.active{background:linear-gradient(180deg,#f0c552,#d9a92c)!important;color:#151515!important;border-color:#f1cc5e!important;box-shadow:0 8px 22px rgba(230,185,62,.14)!important}#jpAdminTabs button.active .jp-tab-icon,#jpMemberTabs button.active .jp-tab-icon{color:#141414!important}
  #jpAdminTabs [data-jp-admin-tab="community"]{display:none!important}
  body.r6-exact-visual #jpAdminTabs:before,body.r6-exact-visual #jpMemberTabs:before{content:none!important;display:none!important}
  .jp-shell{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
  #jpBootGuard{border-radius:16px!important}
  #jpAdmin,#jpMemberExperience{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  #jpAdminOverviewPanel{position:relative;width:100%}
  #jpAdminOverviewPanel>#r6ExactCenter{display:block}
  #jpAdminOverviewPanel>:not(#r6ExactCenter){display:none!important}
  body.r6-finance-active #jpAdminOverviewPanel>#r6ExactCenter{display:none!important}
  body.r6-finance-active #jpAdminOverviewPanel>#r38PurchasesWorkspace{display:block!important}
  body.r6-finance-active #r38PurchasesWorkspace>*{display:none!important}
  body.r6-finance-active #r38PurchasesWorkspace>#r38WindowFinance{display:block!important}
  body.r6-finance-active #r38WindowFinance{margin:0!important;padding:0!important}
  .r6-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 14px}
  .r6-kpi{min-height:120px;border:1px solid #293138;border-radius:14px;background:linear-gradient(180deg,#0e151a,#0b1014);padding:18px;display:grid;grid-template-columns:62px 1fr;gap:16px;align-items:center}.r6-kpi-icon{width:58px;height:58px;border-radius:13px;background:rgba(230,185,62,.14);display:grid;place-items:center;color:var(--r6-gold);font-size:24px}.r6-kpi small{display:block;color:#c4cbd0;font-size:13px}.r6-kpi strong{display:block;font-size:30px;line-height:1;margin:7px 0;color:#fff}.r6-kpi em{display:block;color:#9fa8af;font-size:11px;font-style:normal}.r6-kpi em.good{color:var(--r6-success)}
  .r6-section{border:1px solid #293138;border-radius:15px;background:linear-gradient(180deg,#0b1116,#090e12);padding:18px;margin-top:14px}.r6-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.r6-section-head h2{font-size:18px;margin:0;color:#f3f5f6}.r6-section-head button{background:transparent;border:0;color:var(--r6-gold);cursor:pointer}
  .r6-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.r6-action{min-height:86px;border:1px solid #303940;border-radius:11px;background:#11181e;color:#eef2f4;display:flex;align-items:center;gap:14px;padding:15px 18px;text-align:left;cursor:pointer}.r6-action:hover{border-color:#59636b}.r6-action.primary{background:linear-gradient(180deg,#f0c552,#dcae34);color:#131313;border-color:#f0c75a}.r6-action i{font-style:normal;font-size:25px;width:34px;text-align:center}.r6-action b{display:block;font-size:14px}.r6-action small{display:block;font-size:11px;margin-top:4px;opacity:.76}
  .r6-activity{width:100%;border-collapse:collapse;font-size:12px}.r6-activity th{background:#12191f;color:#cbd1d5;text-align:left;padding:11px 10px;font-weight:600}.r6-activity td{border-top:1px solid #212a30;padding:11px 10px;color:#dce1e4}.r6-state{display:inline-flex;padding:5px 9px;border-radius:7px;background:rgba(79,208,129,.13);border:1px solid rgba(79,208,129,.25);color:#6be39b}.r6-state.warn{background:rgba(230,185,62,.13);border-color:rgba(230,185,62,.25);color:#f0c75a}
  #jpAdminOffersPanel,#jpAdminDossiersPanel,#jpAdminOrdersPanel,#jpMemberExperience .jp-view-panel,#jpCommunityHub{border:1px solid #293138!important;border-radius:16px!important;background:#090e12!important;padding:20px!important;overflow:visible!important}
  #jpAdminOffersPanel .jp-card,#jpAdminOrdersPanel .jp-card,#jpAdminDossiersPanel .jp-card,#jpMemberExperience .jp-card{background:#0e1419!important;border:1px solid #2a333a!important;border-radius:14px!important;box-shadow:none!important}
  #jpAdminOffersPanel input,#jpAdminOffersPanel select,#jpAdminOffersPanel textarea,#jpAdminOrdersPanel input,#jpMemberExperience input,#jpMemberExperience select,#jpMemberExperience textarea{width:100%!important;max-width:100%!important;background:#080d11!important;border:1px solid #313a42!important;color:#eef2f4!important;border-radius:10px!important;min-height:44px!important}
  #jpAdminOrdersPanel .jp-filter-pills,#jpMemberOrdersPanel .jp-filter-pills{position:static!important;top:auto!important}
  .jp-toast{z-index:160!important}

  @media(max-width:900px){
    :root{--r6-sidebar:0px;--r6-topbar:64px}
    .r6-sidebar{width:min(86vw,320px);transform:translateX(-105%);transition:transform .2s ease;padding-top:18px}.r6-sidebar.open{transform:translateX(0)}
    .r6-sidebar-backdrop{position:fixed;z-index:85;inset:0;background:rgba(0,0,0,.64);display:none}.r6-sidebar-backdrop.open{display:block}
    .r6-topbar{left:0;padding:0 14px;gap:10px}.r6-mobile-menu{display:grid;place-items:center;width:42px;height:42px;border:0;background:transparent;color:#f3f5f6;font-size:23px;cursor:pointer}.r6-mobile-brand{display:flex;align-items:center;gap:7px;color:var(--r6-gold-2);font-weight:850}.r6-mobile-brand img{width:27px;height:27px}.r6-search{display:none}.r6-user-copy{display:none}.r6-user{padding-left:8px}.r6-notify{margin-left:auto}.r6-top-spacer{display:none}
    #jpRenderSurface{margin-left:0!important;padding:calc(var(--r6-topbar) + 12px) 12px calc(84px + env(safe-area-inset-bottom))!important}
    .r6-purchase-hero{min-height:0;padding:18px!important;border-radius:14px}.r6-purchase-hero:before{display:none}.r6-purchase-hero .r6-eyebrow{display:none}.r6-purchase-hero h1{font-size:24px;margin-bottom:6px;text-transform:none}.r6-purchase-hero h1>span:first-child{font-weight:850}.r6-purchase-hero .r6-title-suffix{display:none}.r6-purchase-hero h2{display:none}.r6-purchase-hero p{font-size:12px;max-width:90%}
    body.r6-exact-visual #jpClientPreviewToggle{position:static!important;right:auto!important;top:auto!important;transform:none!important;width:100%!important;margin-top:15px!important;min-height:44px!important;border:1px solid var(--r6-gold)!important;background:rgba(230,185,62,.04)!important;color:#f8d662!important}
    body.jp-page.r6r3-purchases-web.r6-exact-visual .jp-hub-nav{padding:8px!important;margin:10px 0 12px!important;width:100%!important;overflow:visible!important}
    body.r6-exact-visual #jpAdminTabs,body.r6-exact-visual #jpAdminTabs[data-r42-simple="true"],body.r6-exact-visual #jpMemberTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;min-width:0!important}body.r6-exact-visual #jpAdminTabs button,body.r6-exact-visual #jpMemberTabs button{min-height:62px!important;min-width:0!important;flex-direction:column!important;gap:4px!important;font-size:12px!important}body.r6-exact-visual #jpAdminTabs [data-r42-primary="finance"]{grid-column:1/-1}
    .r6-kpis{grid-template-columns:1fr;gap:9px}.r6-kpi{min-height:84px;grid-template-columns:46px 1fr;padding:12px}.r6-kpi-icon{width:44px;height:44px;font-size:19px}.r6-kpi strong{font-size:23px;margin:4px 0}
    .r6-actions{grid-template-columns:1fr;gap:8px}.r6-action{min-height:68px;padding:12px 14px}
    .r6-section{padding:13px;border-radius:13px}.r6-activity thead{display:none}.r6-activity,.r6-activity tbody,.r6-activity tr,.r6-activity td{display:block;width:100%}.r6-activity tr{padding:10px 0;border-top:1px solid #222b31}.r6-activity td{border:0;padding:3px 0}.r6-activity td:first-child{font-size:10px;color:#8d969e}.r6-activity td:nth-child(2){font-weight:700}.r6-activity td:nth-child(3){color:#b7c0c6}
    #jpAdminOffersPanel,#jpAdminDossiersPanel,#jpAdminOrdersPanel,#jpMemberExperience .jp-view-panel,#jpCommunityHub{padding:12px!important;border-radius:13px!important}
    
    
  }
  @media(max-width:430px){body.r6-exact-visual #jpAdminTabs,body.r6-exact-visual #jpAdminTabs[data-r42-simple="true"],body.r6-exact-visual #jpMemberTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.r6-purchase-hero h1{font-size:22px}.r6-purchase-hero p{max-width:100%}}
  @media(max-width:340px){body.r6-exact-visual #jpAdminTabs,body.r6-exact-visual #jpAdminTabs[data-r42-simple="true"],body.r6-exact-visual #jpMemberTabs{grid-template-columns:1fr!important}body.r6-exact-visual #jpAdminTabs [data-r42-primary="finance"]{grid-column:auto}}


/* ===== CONSOLIDATED SOURCE: ui-v41-r7-architecture-mobile.css ===== */
/* BYGOTIC V41 R7 · UI ARCHITECTURE + MOBILE + FINANCE
   Additive authority layer. No DB/backend behavior. */
:root{--r7-gap:14px;--r7-mobile-break:820px;--r7-panel:#07151e;--r7-panel-2:#101b2d;--r7-line:rgba(82,186,229,.22);--r7-gold:#e8ba3e}
html[data-v41-r7="1"] body{--r7-content-gap:14px}

/* FINANZAS: R6 hidió todos los hijos directos del workspace y luego intentó
   mostrar #r38WindowFinance como si fuera hijo directo. En realidad vive dentro
   de .r38-workspace-layout > .r38-window-stage. R7 conserva esa cadena visible. */
body.jp-page.r6-finance-active #jpAdminOverviewPanel>#r38PurchasesWorkspace{display:block!important}
body.jp-page.r6-finance-active #r38PurchasesWorkspace>.r38-workspace-layout{display:block!important;width:100%!important;max-width:100%!important}
body.jp-page.r6-finance-active #r38PurchasesWorkspace>.r38-workspace-layout>#r38WorkspaceNav{display:none!important}
body.jp-page.r6-finance-active #r38PurchasesWorkspace>.r38-workspace-layout>.r38-window-stage{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.jp-page.r6-finance-active #r38PurchasesWorkspace .r38-window-stage>.r38-window{display:none!important}
body.jp-page.r6-finance-active #r38PurchasesWorkspace .r38-window-stage>#r38WindowFinance{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important}
body.jp-page.r6-finance-active #r38WindowFinance>.r42-finance-nav{display:grid!important}
body.jp-page.r6-finance-active #r38WindowFinance>.hidden:not(#r42FinanceNav){display:none!important}

/* ADMINISTRACIÓN: una arquitectura, cinco áreas. Se preservan IDs y eventos. */
#view-admin.v41r7-admin-workspace>.r7-admin-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 16px;padding:7px;border:1px solid var(--r7-line);border-radius:16px;background:rgba(4,13,20,.78)}
#view-admin.v41r7-admin-workspace>.r7-admin-tabs button{appearance:none;border:1px solid transparent;background:transparent;color:#9eb0c2;border-radius:12px;min-height:48px;padding:8px 10px;font:inherit;font-weight:800;cursor:pointer;white-space:normal}
#view-admin.v41r7-admin-workspace>.r7-admin-tabs button[aria-selected="true"]{color:#ffdf7f;background:linear-gradient(180deg,rgba(232,186,62,.18),rgba(232,186,62,.055));border-color:rgba(232,186,62,.34);box-shadow:inset 0 0 0 1px rgba(255,220,115,.035)}
#view-admin.v41r7-admin-workspace>[data-r7-admin-group][hidden]{display:none!important}
#view-admin.v41r7-admin-workspace>[data-r7-admin-group]{animation:none!important}
#view-admin.v41r7-admin-workspace :is(#classificationReviewPanel,.trusted-admin-panel,[data-r7-audit-panel]){min-height:0!important;height:auto!important}
#view-admin.v41r7-admin-workspace :is(#classificationReviews,#adminActivity){min-height:0!important;height:auto!important;padding-bottom:4px}
#view-admin.v41r7-admin-workspace .trusted-admin-panel .trust-admin-steps{padding:12px 16px!important;min-height:0!important}
#view-admin.v41r7-admin-workspace [data-r7-audit-panel]>.panel-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,360px)!important;gap:12px!important;align-items:center!important}
#view-admin.v41r7-admin-workspace [data-r7-audit-panel]>.panel-head>div:last-child{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.r7-inline-error{display:grid;place-items:center;text-align:center;gap:8px;min-height:110px;padding:18px;border:1px dashed rgba(229,94,94,.38);border-radius:14px;background:rgba(90,18,18,.12)}
.r7-inline-error>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(229,94,94,.15);font-weight:900}
.r7-inline-error h3,.r7-inline-error p{margin:0}.r7-inline-error p{max-width:680px;color:#9eb0c2}

/* Drawer móvil canónico: la clase r7-open pertenece a un único controlador JS. */
body.r7-mobile-drawer-open{overflow:hidden!important}
html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .layout>#sidebar.r7-open{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}
html body.v41-complete:not(.v41-route-shell) #mobileMenuBtn[data-r7-mobile="1"]{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) #mobileSidebarOverlay.r7-open{display:block!important;position:fixed!important;inset:0!important;z-index:510!important;background:rgba(0,0,0,.66)!important;backdrop-filter:blur(3px)!important;border:0!important}
html body.v41-complete:not(.v41-route-shell) #mobileMenuBtn[data-r7-mobile="1"]{min-width:48px!important;min-height:48px!important;touch-action:manipulation!important;z-index:530!important}
html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .layout>#sidebar.r7-open{z-index:520!important}
html body.v41-complete:not(.v41-route-shell) .r7-mobile-dock{padding-bottom:max(7px,env(safe-area-inset-bottom))!important}
html body.v41-complete:not(.v41-route-shell) .r7-mobile-dock :is(a,button){min-width:0!important;min-height:48px!important;touch-action:manipulation!important}

/* Contención general: los paneles pueden contraerse; solo las tablas desplazan. */
html body.v41-complete :is(main,#mainContent,.view,.panel,.admin-columns,.client-control-panel,.security-center-panel,.system-doctor-panel){min-width:0!important;max-width:100%}
html body.v41-complete .responsive-table{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain}
html body.v41-complete code{overflow-wrap:anywhere}

@media(max-width:1024px){
 #view-admin.v41r7-admin-workspace>.r7-admin-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 #view-admin.v41r7-admin-workspace .admin-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:820px){
 
 html body.v41-complete:not(.v41-route-shell):not([data-v43-shell="1"]) .layout>#sidebar{top:0!important;padding-top:max(14px,env(safe-area-inset-top))!important;overscroll-behavior:contain!important}
 html body.v41-complete:not(.v41-route-shell) main#mainContent{padding-left:10px!important;padding-right:10px!important}
 html body.v41-complete:not(.v41-route-shell) main#mainContent>.view.active{overflow:visible!important}
 html body.v41-complete .page-heading{min-width:0!important}
 html body.v41-complete .page-heading :is(h1,h2,p){overflow-wrap:anywhere}
 #view-admin.v41r7-admin-workspace>.r7-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0 12px}
 #view-admin.v41r7-admin-workspace>.r7-admin-tabs button{min-height:46px;padding:8px;font-size:12px}
 #view-admin.v41r7-admin-workspace .admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #view-admin.v41r7-admin-workspace :is(.panel,.admin-columns>*,#clientControlPanel){width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
 #view-admin.v41r7-admin-workspace :is(.panel-head,.member-access-head,.access-title-row){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
 #view-admin.v41r7-admin-workspace [data-r7-audit-panel]>.panel-head{display:flex!important;flex-direction:column!important}
 #view-admin.v41r7-admin-workspace [data-r7-audit-panel]>.panel-head>div:last-child{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 #view-admin.v41r7-admin-workspace :is(.client-control-summary,.presence-summary,.doctor-grid,.security-center-grid,.backup-serious-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #view-admin.v41r7-admin-workspace .admin-columns{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 #view-admin.v41r7-admin-workspace .trust-admin-steps{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
 #view-admin.v41r7-admin-workspace .trust-admin-steps>i{display:none!important}
 #view-admin.v41r7-admin-workspace .trust-admin-steps>span{width:100%!important;min-width:0!important}
 #view-admin.v41r7-admin-workspace :is(.user-admin-toolbar,.client-control-toolbar,.presence-head-actions,.doctor-head-actions,.security-center-actions){width:100%!important;max-width:100%!important;flex-wrap:wrap!important}
 #view-admin.v41r7-admin-workspace :is(.user-admin-toolbar,.client-control-toolbar) :is(input,select,.search-box){width:100%!important;max-width:100%!important;min-width:0!important}
 body.jp-page.r6-finance-active #r38WindowFinance>.r42-finance-nav{grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
 body.jp-page.r6-finance-active #r38WindowFinance :is(.jp-r33-table-wrap,.responsive-table){overflow-x:auto!important;max-width:100%!important}
}

@media(max-width:420px){
 #view-admin.v41r7-admin-workspace .admin-metrics{grid-template-columns:minmax(0,1fr)!important}
 #view-admin.v41r7-admin-workspace :is(.client-control-summary,.presence-summary,.doctor-grid,.security-center-grid,.backup-serious-grid){grid-template-columns:minmax(0,1fr)!important}
 
}


/* ===== R8 DESIGN CONTRACT OVERRIDES ===== */
:root{
 --r8-gold:#e7b94d;--r8-gold-strong:#ffd66a;--r8-bg:#030a0f;--r8-surface:#07151e;
 --r8-surface-2:#0d1a29;--r8-surface-3:#111f31;--r8-line:rgba(77,168,207,.24);
 --r8-text:#f4f7fb;--r8-muted:#9fb0c3;--r8-success:#43d68d;--r8-warning:#ffd166;
 --r8-danger:#ff7878;--r8-radius:16px;--r8-gap:14px;--r8-page-max:1580px;
}
html[data-v41-r8="1"]{background:var(--r8-bg)}
body[data-v41-r8="1"]{background:var(--r8-bg);color:var(--r8-text)}
body[data-v41-r8="1"] :is(.view,.jp-view-panel,.r38-window,[data-r8-admin-group]){animation:none!important}
body[data-v41-r8="1"] :is(.view[hidden],.jp-view-panel[hidden],.r38-window[hidden],[data-r8-admin-group][hidden]){display:none!important}
body[data-v41-r8="1"] main#mainContent>.view.active{display:block!important;visibility:visible!important;opacity:1!important}
body[data-v41-r8="1"] main#mainContent>.view:not(.active){visibility:hidden!important;pointer-events:none!important}
body[data-v41-r8="1"] main#mainContent{min-width:0}
body[data-v41-r8="1"] main#mainContent>.view{width:min(100%,var(--r8-page-max));margin-inline:auto}
body[data-v41-r8="1"] .panel{border-radius:var(--r8-radius);border-color:var(--r8-line)}
body[data-v41-r8="1"] .panel.spaced{margin-top:12px}
body[data-v41-r8="1"] .page-heading{margin-bottom:12px}
body[data-v41-r8="1"] .page-heading h1{letter-spacing:-.025em}
body[data-v41-r8="1"] :is(.admin-metrics,.v39a-kpis,.metric-grid,.r6-kpis){gap:10px!important}
body[data-v41-r8="1"] :is(.admin-metrics>article,.metric-card,.r6-kpi){min-height:0!important;padding:14px!important}
body[data-v41-r8="1"] .v39a-home-hero{min-height:0!important;padding:22px!important}
body[data-v41-r8="1"] .v39a-home-hero h1{font-size:clamp(2rem,3vw,3.4rem)!important;line-height:.98!important}
body[data-v41-r8="1"] .v39a-home-grid{gap:12px!important}
body[data-v41-r8="1"] .v39a-section{min-height:0!important}
body[data-v41-r8="1"] .bottom-nav{display:none!important}

/* Stable notification identity: no empty emoji squares. */
body[data-v41-r8="1"] .notification-symbol,
body[data-v41-r8="1"] .live-feed-item>.notification-symbol{
 display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;
 border-radius:12px!important;background:linear-gradient(180deg,rgba(38,91,126,.52),rgba(9,31,46,.86))!important;
 border:1px solid rgba(95,190,232,.22)!important;color:#eaf7ff!important;overflow:hidden!important;font-size:0!important;
}
body[data-v41-r8="1"] .notification-symbol :is(svg,img){width:21px!important;height:21px!important;display:block!important;object-fit:contain!important}
body[data-v41-r8="1"] .notification-symbol svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-v41-r8="1"] .notification-item.tone-success .notification-symbol{color:#7ef0b6!important;background:rgba(35,118,78,.2)!important;border-color:rgba(67,214,141,.28)!important}
body[data-v41-r8="1"] .notification-item.tone-warning .notification-symbol{color:#ffe08a!important;background:rgba(151,112,25,.18)!important;border-color:rgba(255,209,102,.28)!important}
body[data-v41-r8="1"] .notification-item.tone-danger .notification-symbol{color:#ff9b9b!important;background:rgba(132,42,42,.18)!important;border-color:rgba(255,120,120,.28)!important}
body[data-v41-r8="1"] .notification-item{min-height:74px!important;padding:12px!important;gap:11px!important}
body[data-v41-r8="1"] .dashboard-live-feed{min-height:0!important}

/* Loading / empty / error are explicit states, never anonymous empty black boxes. */
body[data-v41-r8="1"] :is(.inline-loader,.empty-state,.r7-inline-error,.r8-inline-state){min-height:94px!important;border-radius:14px!important}
body[data-v41-r8="1"] .r8-inline-state{display:grid;place-items:center;text-align:center;gap:7px;padding:18px;border:1px dashed var(--r8-line);background:rgba(10,25,36,.68)}
body[data-v41-r8="1"] .r8-inline-state>svg{width:28px;height:28px;stroke:var(--r8-gold);fill:none;stroke-width:1.8}
body[data-v41-r8="1"] .r8-inline-state h3,body[data-v41-r8="1"] .r8-inline-state p{margin:0}
body[data-v41-r8="1"] .r8-inline-state p{color:var(--r8-muted);max-width:640px}

/* ADMIN: five clear areas, one visible surface, compact tables instead of giant blank cards. */
#view-admin.v41r8-admin-workspace>.r8-admin-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:8px 0 14px;padding:7px;border:1px solid var(--r8-line);border-radius:18px;background:rgba(4,13,20,.86);position:sticky;top:76px;z-index:12;backdrop-filter:blur(14px)}
#view-admin.v41r8-admin-workspace>.r8-admin-tabs button{appearance:none;border:1px solid rgba(84,148,180,.12);background:rgba(12,27,41,.72);color:#a9b8c7;border-radius:13px;min-height:56px;padding:9px 12px;font:inherit;font-weight:820;cursor:pointer;text-align:left;display:grid;gap:2px}
#view-admin.v41r8-admin-workspace>.r8-admin-tabs button small{font-size:.68rem;color:#71879b;font-weight:650}
#view-admin.v41r8-admin-workspace>.r8-admin-tabs button[aria-selected="true"]{color:#ffe18a;border-color:rgba(232,185,77,.44);background:linear-gradient(180deg,rgba(232,185,77,.2),rgba(232,185,77,.065));box-shadow:0 0 0 1px rgba(255,218,105,.03) inset}
#view-admin.v41r8-admin-workspace>[data-r8-admin-group]{min-width:0!important;max-width:100%!important}
#view-admin.v41r8-admin-workspace>.admin-metrics[data-r8-admin-group="summary"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}
#view-admin.v41r8-admin-workspace :is(#classificationReviewPanel,.trusted-admin-panel,[data-r8-audit-panel]){min-height:0!important;height:auto!important}
#view-admin.v41r8-admin-workspace :is(#classificationReviews,#adminActivity){min-height:0!important;height:auto!important;padding-bottom:2px}
#view-admin.v41r8-admin-workspace [data-r8-audit-panel]>.panel-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,390px)!important;gap:12px;align-items:end!important}
#view-admin.v41r8-admin-workspace [data-r8-audit-panel]>.panel-head>.filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
#view-admin.v41r8-admin-workspace .trusted-admin-panel .trust-admin-steps{padding:10px 14px!important;min-height:0!important}
#view-admin.v41r8-admin-workspace .trusted-admin-panel .panel-head{padding-bottom:10px!important}
#view-admin.v41r8-admin-workspace .admin-columns{gap:12px!important}
#view-admin.v41r8-admin-workspace .panel-head{gap:10px}
#view-admin.v41r8-admin-workspace .panel-head h2{margin-bottom:3px}

/* Compras: one stable stage, P2P is never nested here, Finance cannot collapse its parent. */
body.jp-page[data-v41-r8="1"] .r6-purchase-hero{padding:18px 20px!important;min-height:0!important}
body.jp-page[data-v41-r8="1"] .r6-purchase-hero h1{font-size:clamp(1.7rem,2.4vw,2.55rem)!important}
body.jp-page[data-v41-r8="1"] .jp-hub-nav{margin-block:10px!important}
body.jp-page[data-v41-r8="1"] #jpAdminTabs,body.jp-page[data-v41-r8="1"] #jpMemberTabs{gap:7px!important}
body.jp-page[data-v41-r8="1"] #jpAdminOverviewPanel{min-height:0!important}
body.jp-page[data-v41-r8="1"].r8-finance-active #jpAdminOverviewPanel>#r38PurchasesWorkspace{display:block!important;visibility:visible!important;opacity:1!important}
body.jp-page[data-v41-r8="1"].r8-finance-active #r38PurchasesWorkspace>.r38-workspace-layout{display:block!important;width:100%!important}
body.jp-page[data-v41-r8="1"].r8-finance-active #r38PurchasesWorkspace .r38-window-stage{display:block!important;width:100%!important;min-width:0!important}
body.jp-page[data-v41-r8="1"].r8-finance-active #r38PurchasesWorkspace .r38-window-stage>.r38-window{display:none!important}
body.jp-page[data-v41-r8="1"].r8-finance-active #r38PurchasesWorkspace .r38-window-stage>#r38WindowFinance{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
body.jp-page[data-v41-r8="1"] .r6-activity{font-size:.82rem}
body.jp-page[data-v41-r8="1"] .r6-actions{gap:9px!important}

/* P2P independent visual identity. */
body[data-v41-r8="1"] #view-p2p .page-heading{padding:18px 20px!important;border:1px solid var(--r8-line);border-radius:16px;background:linear-gradient(135deg,rgba(8,28,42,.92),rgba(5,15,23,.94))}
body[data-v41-r8="1"] #view-p2p .page-heading h1{font-size:clamp(1.9rem,2.8vw,2.8rem)}
body[data-v41-r8="1"] #view-p2p :is(.panel,.p2p-card){min-width:0}

/* Account/support/banking density. */
body[data-v41-r8="1"] #view-account .account-grid{gap:12px!important}
body[data-v41-r8="1"] #view-account .profile-card{padding:18px!important}
body[data-v41-r8="1"] #view-accounts .accounts-layout{gap:12px!important}
body[data-v41-r8="1"].pilot-page .pilot-shell{max-width:var(--r8-page-max)}

/* Canonical mobile drawer and dock. */
body[data-v41-r8="1"].r8-drawer-open{overflow:hidden!important;touch-action:none}
body[data-v41-r8="1"]:not([data-v43-shell="1"]) #mobileSidebarOverlay.r8-open{display:block!important;position:fixed!important;inset:0!important;z-index:610!important;background:rgba(0,0,0,.7)!important;backdrop-filter:blur(3px)!important;border:0!important}
body[data-v41-r8="1"]:not([data-v43-shell="1"]) .layout>#sidebar.r8-open{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;z-index:620!important}
body[data-v41-r8="1"] #mobileMenuBtn[data-r8-mobile="1"]{z-index:630!important;min-width:48px!important;min-height:48px!important;display:none!important}
body[data-v41-r8="1"] .r8-mobile-dock{display:none!important}
body[data-v41-r8="1"].v41-route-shell.r8-route-open:where(:not([data-v43-noncore-sidebar="1"])) .v41-route-sidebar{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;z-index:620!important}
body[data-v41-r8="1"] #r8RouteOverlay{display:none;position:fixed;inset:0;z-index:610;background:rgba(0,0,0,.7);backdrop-filter:blur(3px);border:0}
body[data-v41-r8="1"].r8-route-open #r8RouteOverlay{display:block}
body[data-v41-r8="1"] :is(.p7-mobile-dock){padding-bottom:max(7px,env(safe-area-inset-bottom))!important}
body[data-v41-r8="1"] :is(.p7-mobile-dock) :is(a,button){min-width:0!important;min-height:50px!important;touch-action:manipulation!important}

@media(max-width:1100px){
 #view-admin.v41r8-admin-workspace>.r8-admin-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 #view-admin.v41r8-admin-workspace>.admin-metrics[data-r8-admin-group="summary"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
 body[data-v41-r8="1"] #mobileMenuBtn[data-r8-mobile="1"]{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
 body[data-v41-r8="1"] .r8-mobile-dock{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;z-index:590!important;background:rgba(4,12,18,.97)!important;border:1px solid var(--r8-line)!important;border-radius:18px!important;padding:6px!important;backdrop-filter:blur(18px)!important}
 body[data-v41-r8="1"]:not([data-v43-shell="1"]) .layout>#sidebar{position:fixed!important;left:0!important;bottom:0!important;width:min(86vw,330px)!important;transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important;transition:transform .18s ease!important;z-index:620!important}
 
 body[data-v41-r8="1"] main#mainContent{padding-left:10px!important;padding-right:10px!important;padding-bottom:78px!important}
 body[data-v41-r8="1"]:not([data-v43-shell="1"]) .layout>#sidebar{top:0!important;padding-top:max(14px,env(safe-area-inset-top))!important}
 body[data-v41-r8="1"] .v39a-home-hero{padding:18px!important}
 body[data-v41-r8="1"] .v39a-home-hero h1{font-size:clamp(1.9rem,10vw,2.65rem)!important}
 body[data-v41-r8="1"] :is(.v39a-home-grid,.content-grid,.account-grid){grid-template-columns:minmax(0,1fr)!important}
 #view-admin.v41r8-admin-workspace>.r8-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));position:static;margin-top:6px}
 #view-admin.v41r8-admin-workspace>.r8-admin-tabs button{min-height:50px;font-size:.8rem}
 #view-admin.v41r8-admin-workspace>.admin-metrics[data-r8-admin-group="summary"]{grid-template-columns:repeat(2,minmax(0,1fr))}
 #view-admin.v41r8-admin-workspace [data-r8-audit-panel]>.panel-head{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 #view-admin.v41r8-admin-workspace [data-r8-audit-panel]>.panel-head>.filter-row{grid-template-columns:1fr!important;width:100%}
 #view-admin.v41r8-admin-workspace :is(.client-control-summary,.presence-summary,.doctor-grid,.security-center-grid,.backup-serious-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #view-admin.v41r8-admin-workspace .admin-columns{grid-template-columns:minmax(0,1fr)!important}
 body.jp-page[data-v41-r8="1"] .r6-purchase-hero{padding:15px!important}
 body.jp-page[data-v41-r8="1"] .r6-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.jp-page[data-v41-r8="1"] .r6-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-v41-r8="1"] .notification-item{min-height:70px!important;padding:10px!important}
}
@media(max-width:420px){
 #view-admin.v41r8-admin-workspace>.r8-admin-tabs{grid-template-columns:minmax(0,1fr)}
 #view-admin.v41r8-admin-workspace>.admin-metrics[data-r8-admin-group="summary"]{grid-template-columns:minmax(0,1fr)}
 #view-admin.v41r8-admin-workspace :is(.client-control-summary,.presence-summary,.doctor-grid,.security-center-grid,.backup-serious-grid){grid-template-columns:minmax(0,1fr)!important}
 body.jp-page[data-v41-r8="1"] .r6-kpis{grid-template-columns:minmax(0,1fr)!important}
 body[data-v41-r8="1"] .notification-symbol,body[data-v41-r8="1"] .live-feed-item>.notification-symbol{flex-basis:34px!important;width:34px!important;height:34px!important;border-radius:10px!important}
}
@media(prefers-reduced-motion:reduce){body[data-v41-r8="1"] *{scroll-behavior:auto!important}}
/* === V41 R8.1 · SHELL / ROUTER / PANEL CLOSURE === */
body[data-v41-r8="1"] .view{view-transition-name:none!important;animation:none!important}
::view-transition-old(root),::view-transition-new(root){animation:none!important;mix-blend-mode:normal!important}
body.jp-page[data-v41-r8="1"] .r6-purchase-hero:before{content:none!important;display:none!important}
body.jp-page[data-v41-r8="1"] #jpEntryTransition{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.jp-page[data-v41-r8="1"].p2-purchases-booting .jp-topbar,
body.jp-page[data-v41-r8="1"].p2-purchases-booting .jp-hub-nav{visibility:visible!important;pointer-events:auto!important}
body.jp-page[data-v41-r8="1"] #jpBootGuard{min-height:132px!important;height:auto!important;padding:12px 0 14px!important;place-items:start center!important}
body.jp-page[data-v41-r8="1"] .jp-boot-card{width:min(680px,100%)!important;padding:14px 18px!important;border-radius:14px!important;gap:7px!important}
body.jp-page[data-v41-r8="1"] .jp-boot-card h1{font-size:18px!important;margin:0!important}
body.jp-page[data-v41-r8="1"] .jp-boot-card p{font-size:12px!important}
body.jp-page[data-v41-r8="1"] .jp-boot-spinner{width:22px!important;height:22px!important}
body.jp-page[data-v41-r8="1"] .r8-global-nav-label{display:block;margin:8px 10px 7px;color:#758592;font-size:9px;font-weight:900;letter-spacing:.18em}
body.jp-page[data-v41-r8="1"] .r6-purchase-hero{min-height:146px!important}
body.jp-page[data-v41-r8="1"] .jp-hub-nav{min-height:68px!important}
body.jp-page[data-v41-r8="1"] #jpAdmin,body.jp-page[data-v41-r8="1"] #jpMemberExperience{min-height:360px!important}
body.jp-page[data-v41-r8="1"] .jp-view-panel{animation:none!important;transition:none!important}
@media(min-width:821px){
 body.jp-page[data-v41-r8="1"] #jpAdminTabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important}
 body.jp-page[data-v41-r8="1"] #jpAdminTabs>button{min-width:0!important;max-width:none!important;min-height:54px!important}
}
@media(max-width:820px){
 body.jp-page[data-v41-r8="1"] .r6-purchase-hero{min-height:0!important}
 body.jp-page[data-v41-r8="1"] #jpAdmin,body.jp-page[data-v41-r8="1"] #jpMemberExperience{min-height:280px!important}
 body.jp-page[data-v41-r8="1"] #jpAdminTabs,body.jp-page[data-v41-r8="1"] #jpMemberTabs{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;gap:7px!important;scroll-snap-type:x proximity!important;flex-wrap:nowrap!important}
 body.jp-page[data-v41-r8="1"] #jpAdminTabs>button,body.jp-page[data-v41-r8="1"] #jpMemberTabs>button{flex:0 0 116px!important;min-width:116px!important;max-width:116px!important;min-height:50px!important;scroll-snap-align:start!important}
}
body.jp-page[data-v41-r8="1"] #jpAdminOffersPanel>.jp-section-title{margin-bottom:9px!important}
body.jp-page[data-v41-r8="1"] #jpAdminOffersPanel .jp-card{padding:14px!important;border-radius:14px!important}
body.jp-page[data-v41-r8="1"] #jpAdminOffersPanel .jp-form-grid{gap:9px!important}
body.jp-page[data-v41-r8="1"] #jpAdminOffersPanel .jp-offers-guide{margin:7px 0 10px!important}
body.v41-route-shell[data-v41-r8="1"]:where(:not([data-v43-noncore-sidebar="1"])) .v41-route-sidebar{background:linear-gradient(180deg,#06090d,#080d11)!important;border-right:1px solid #151c22!important}
body.v41-route-shell[data-v41-r8="1"]:where(:not([data-v43-noncore-sidebar="1"])) .v41-route-nav a{min-height:44px!important;border-radius:10px!important}
body[data-v41-r8="1"] :is(.inline-loader,.pilot-empty,.r8-state){min-height:48px!important}
/* === FIN V41 R8.1 === */



/* === V41 R8.2 VISUAL RUNTIME CLOSURE === */
html.r82-prestyle{background:#061018!important;color-scheme:dark}
html.r82-prestyle body{background:#061018!important;min-height:100vh!important}
html.r82-prestyle body>*{visibility:hidden!important}
body[data-v41-r8="1"] .r82-admin-group{display:grid!important;gap:12px!important;min-height:0!important;max-width:100%!important;margin:0!important;padding:0!important}
body[data-v41-r8="1"] .r82-admin-group[hidden]{display:none!important}
body[data-v41-r8="1"] .r82-admin-group>*{min-height:0!important;margin-top:0!important;margin-bottom:0!important;max-width:100%!important}
#view-admin.r82-admin-workspace>.r82-admin-tabs{margin-bottom:12px!important}
#view-admin.r82-admin-workspace{scroll-margin-top:72px!important}
#view-admin.r82-admin-workspace :is(.panel,.admin-columns,.admin-metrics,.admin-advanced-actions){scroll-margin-top:150px!important}
html body.jp-page.v41-complete[data-v41-r8="1"] #jpAdminTabs>[data-jp-admin-tab="community"]{display:none!important}
body.jp-page[data-v41-r8="1"] #jpAdmin,body.jp-page[data-v41-r8="1"] #jpMemberExperience{min-height:0!important}
body.jp-page[data-v41-r8="1"] #jpBootGuard{display:none!important;min-height:0!important}
body.jp-page[data-v41-r8="1"].p2-purchases-booting #jpBootGuard:not(.hidden){display:grid!important;min-height:112px!important;max-height:140px!important;margin:8px 0!important}
body.jp-page[data-v41-r8="1"] .jp-admin-round{padding:14px!important;margin-bottom:10px!important;border-radius:14px!important}
body.jp-page[data-v41-r8="1"] .jp-admin-round-head{gap:10px!important;align-items:center!important}
body.jp-page[data-v41-r8="1"] .jp-admin-round-head p{margin:.3rem 0!important}
body.jp-page[data-v41-r8="1"] .jp-admin-details{margin-top:8px!important}
body.jp-page[data-v41-r8="1"] .jp-admin-details:not([open])>*:not(summary){display:none!important}
body.jp-page[data-v41-r8="1"] .jp-member-offers{max-height:330px!important;overflow:auto!important}
body.jp-page[data-v41-r8="1"] .jp-member-offer{min-height:48px!important;padding:8px 10px!important;gap:8px!important}
body.v41-route-shell[data-v41-r8="1"] .pilot-shell{min-height:0!important}
body.v41-route-shell[data-v41-r8="1"] .pilot-card{min-height:0!important}
@media(max-width:820px){body[data-v41-r8="1"] .r82-admin-group{gap:9px!important}body.jp-page[data-v41-r8="1"] .jp-member-offers{max-height:none!important}}
/* === FIN R8.2 === */
