/* Nexum V3 — complete customer-facing surfaces, preserve existing controls and data. */
:root{--nx-surface:#10243b;--nx-surface-raised:#16334e;--nx-outline:#2b4b68;--nx-accent:#52dff4;--nx-muted:#a9bfd5;--nx-title:#f0f6ff}
body :is(.page.inner,.page.home){min-width:0;color:var(--nx-title)}
body .page.inner .heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
body .page.inner .heading h1{font-size:clamp(26px,3vw,34px)!important;line-height:1.2!important;letter-spacing:-.8px!important;font-weight:700!important;margin:0}
body .page.inner .heading>a{color:var(--nx-accent)!important}
body .panel{padding:clamp(16px,2.1vw,26px)!important}
body .panel h2{font-size:clamp(20px,2.2vw,25px)!important;letter-spacing:-.5px!important;font-weight:700!important;line-height:1.2}
body :is(.panelhead,.section-title,.more-services){min-width:0}
body .bank-gate{padding:22px!important;background:linear-gradient(125deg,#163650,#0d2035)!important}
body .bank-gate p{color:var(--nx-muted)!important;line-height:1.55}
body #page-banco:has(#bank-gate:not([hidden])) [data-bank-panel="resumo"]{display:none!important}
body #page-banco:has(#bank-gate:not([hidden])) [data-bank-panel="conta"]{display:none!important}
body [data-bank-panel="resumo"] .metrics{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;margin:16px 0!important}
body [data-bank-panel="resumo"] .metrics>article{padding:16px!important;min-height:90px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:8px!important}
body [data-bank-panel="resumo"] .metrics>article:first-child{grid-column:1/-1!important;min-height:150px!important;isolation:isolate;position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 70%,#0b527b,transparent 63%),linear-gradient(125deg,#143e69,#0b2038)!important;border:1px solid #357caa!important}
body [data-bank-panel="resumo"] .metrics>article:first-child::after{content:"";position:absolute;inset:0 0 0 auto;width:48%;z-index:-1;background:url('/assets/nx-v3-globe.svg') right center/contain no-repeat;opacity:.66;pointer-events:none}
body [data-bank-panel="resumo"] #hc-balance{font-size:clamp(30px,4vw,49px)!important;font-weight:700!important;line-height:1.15!important;letter-spacing:-1.5px!important;color:#f5faff!important;overflow-wrap:anywhere}
body [data-bank-panel="resumo"] .metrics>article:not(:first-child) strong{font-size:clamp(15px,2vw,20px)!important;overflow-wrap:anywhere}
body [data-bank-panel="resumo"] .metrics>article :is(small,span){color:#a9c3da!important}
body .nx-saving-link,body .treasury-entry-link>a{background:linear-gradient(125deg,#173d59,#102940)!important;border:1px solid #335b78!important;border-radius:15px!important;color:#eff7ff!important;box-shadow:none!important;padding:16px!important;gap:12px!important}
body .nx-saving-link>span:first-child,body .treasury-entry-icon{background:#1c4b65!important;color:#6fe9fa!important;border:0!important;box-shadow:none!important;border-radius:12px!important}
body .nx-saving-link strong,body .treasury-entry-link strong{color:#eaf6ff!important}
body .nx-saving-link small,body .treasury-entry-link small{color:#a8c2d8!important}
body .nx-saving-link>span:last-child{color:#6ce6f7!important}
body .bank-actions .action-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body .bank-actions .action-card{min-width:0!important;min-height:105px!important;padding:15px 9px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:9px!important}
body .bank-actions .action-card :is(svg,.icon-svg){color:#68e4f5!important}
body .bank-actions .action-card :is(small,p),body .more-grid>a small{color:#aac0d7!important;font-size:12px!important}
body .more-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body .more-grid>a{padding:14px!important;min-height:85px!important}
body .tabs{gap:6px!important;border-color:#2b4965!important}
body .tabs a{border-color:#2d4d69!important;border-radius:9px!important;color:#b3c8de!important;background:#10253c!important}
body .tabs a[aria-current],body .tabs a.active{color:#73e6f7!important;border-color:#3c9ab7!important;background:#163d56!important}
body :is(.form,.details) label{color:#b9cde1!important}
body :is(input,select,textarea){min-width:0;max-width:100%;border-radius:10px!important}
body :is(.form,.details) :is(input,select,textarea){min-height:43px}
body :is(.panel,.nxdf-buyer,[data-res-panel="vender-nexum"]) table{color:#e7f2fe}
body :is(.panel,.nxdf-buyer,[data-res-panel="vender-nexum"]) th{background:#17334d!important;color:#a9c7e0!important}
body :is(.panel,.nxdf-buyer,[data-res-panel="vender-nexum"]) td{border-color:#28465f!important}
body :is(.panel,.nxdf-buyer,[data-res-panel="vender-nexum"]) tr:nth-child(even) td{background:#122941}
body #nxp-root{--nxp-red:#52dff4;--nxp-gold:#e8c387;--nxp-muted:#a9bfd5;--nxp-line:#2b4b68;--nxp-surface:#10243b;color:#eff6ff!important;padding:0 0 24px!important;max-width:100%!important}
body #page-banco .nxp-host{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#nxp-root .nxp-heading{margin:0 0 18px!important;align-items:center!important}
#nxp-root .nxp-heading h2{font-size:clamp(26px,3.4vw,36px)!important;letter-spacing:-.8px!important;font-weight:700!important;margin:6px 0!important}
#nxp-root .nxp-kicker{color:#66e5f6!important;letter-spacing:.1em!important}
#nxp-root .nxp-heading p{color:#a9bfd5!important;margin:6px 0!important}
#nxp-root .nxp-actions button{border:1px solid #325672!important;background:#142e47!important;color:#c4e0f0!important;border-radius:10px!important;padding:10px 12px!important;min-height:42px}
#nxp-root .nxp-actions .nxp-action-red{background:#45d9ed!important;color:#092b3d!important;border-color:#62e5f5!important}
#nxp-root :is(.nxp-hero,.nxp-surface,.nxp-ach,.nxp-note,.nxp-details,.nxp-stats>*){border:1px solid #2d4e69!important;background:linear-gradient(135deg,#142e48,#0e2137)!important;border-radius:16px!important;box-shadow:none!important;color:#edf5ff!important;min-width:0!important}
#nxp-root .nxp-hero{background:radial-gradient(ellipse at 90% 15%,#174d72,transparent 60%),linear-gradient(125deg,#123553,#0d2037)!important;border-color:#376e94!important;padding:clamp(16px,2vw,26px)!important}
#nxp-root .nxp-avatar{background:linear-gradient(135deg,#235573,#0f304b)!important;border-color:#4b8ba7!important;color:#b8edfa!important;border-radius:50%!important;box-shadow:none!important}
#nxp-root .nxp-person h3{color:#f6fbff!important;overflow-wrap:anywhere}
#nxp-root .nxp-person :is(span,small),#nxp-root .nxp-foot small,#nxp-root .nxp-net small{color:#a9c6dc!important}
#nxp-root .nxp-tags b{background:#173c55!important;border-color:#31617c!important;color:#91e6ef!important}
#nxp-root .nxp-tags #nxp-million{color:#e8c387!important}
#nxp-root .nxp-net{border-color:#30516b!important;box-shadow:none!important}
#nxp-root .nxp-net strong{color:#f4faff!important;overflow-wrap:anywhere}
#nxp-root .nxp-stats{gap:12px!important}
#nxp-root .nxp-stats>*{padding:16px!important}
#nxp-root .nxp-two{gap:16px!important}
#nxp-root .nxp-surface{padding:clamp(15px,2vw,23px)!important}
#nxp-root .nxp-periods button{background:#132d45!important;color:#a9c7df!important;border-color:#2d536d!important;border-radius:9px!important}
#nxp-root .nxp-periods button.on{background:#174e65!important;color:#7ceaf7!important;border-color:#438ca5!important}
#nxp-root .nxp-ach-grid{gap:10px!important}
#nxp-root .nxp-ach-icon,#nxp-root .nxp-activity-icon{background:#1b445e!important;color:#6fe4f2!important;border-color:#376580!important}
#nxp-root .nxp-progress{background:#29485e!important;border-radius:12px!important}
#nxp-root .nxp-progress>*{background:linear-gradient(90deg,#1caec5,#67eaf3)!important;border-radius:12px!important}
#nxp-root .nxp-note{color:#b3cadf!important}
#nxp-root .nxp-footer button{border-color:#325672!important;border-radius:10px!important}
body .mobile-bottom{border-top:1px solid #30536e!important}
body .mobile-bottom a{border-radius:12px!important;color:#aec4d9!important}
body .mobile-bottom a[aria-current="page"]{background:#174259!important;color:#72e5f4!important;border-color:#4087a2!important}
@media(min-width:900px){body [data-bank-panel="resumo"]{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px!important;align-items:start}body [data-bank-panel="resumo"]>h2,body [data-bank-panel="resumo"]>.identity-inline,body [data-bank-panel="resumo"]>.metrics,body [data-bank-panel="resumo"]>.shortcuts{grid-column:1/-1}body [data-bank-panel="resumo"] .metrics{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr))!important}body [data-bank-panel="resumo"] .metrics>article:first-child{grid-column:auto!important}body [data-bank-panel="resumo"]>.bank-actions{grid-column:1/-1}}
@media(max-width:760px){body .page.inner .heading{margin-bottom:15px!important}body .panel{padding:15px!important;border-radius:15px!important}body .bank-gate{padding:18px!important}body [data-bank-panel="resumo"] .metrics{gap:9px!important;margin:12px 0!important}body [data-bank-panel="resumo"] .metrics>article{padding:13px!important;min-height:76px!important}body [data-bank-panel="resumo"] .metrics>article:first-child{min-height:137px!important}body .bank-actions .action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .bank-actions .action-card{min-height:84px!important;padding:12px 8px!important}body .nx-saving-link{margin:10px 0!important;padding:13px!important}#nxp-root .nxp-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}#nxp-root .nxp-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}#nxp-root .nxp-actions button{white-space:normal!important}#nxp-root .nxp-two{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}#nxp-root .nxp-hero{padding:17px!important}#nxp-root .nxp-foot{gap:8px!important}#nxp-root .nxp-stats{gap:9px!important}#nxp-root .nxp-stats>*{padding:12px!important}#nxp-root .nxp-ach-grid{gap:8px!important}#nxp-root .nxp-person{min-width:0!important}#nxp-root .nxp-person>div{min-width:0!important}}

/* Native account page fallback */
body [data-bank-panel="conta"] .panelhead{padding-bottom:16px;border-bottom:1px solid #2b4b68;margin-bottom:16px}body [data-bank-panel="conta"] #account-info{background:linear-gradient(135deg,#163852,#10243b)!important;padding:20px!important;border-radius:16px!important;min-width:0;overflow-wrap:anywhere}body [data-bank-panel="conta"] :is(.profile-card,.profile-hero,.profile-section){background:#10243b!important;border:1px solid #2b4b68!important;border-radius:16px!important}body [data-bank-panel="conta"] :is(.profile-avatar,.avatar){background:#183e59!important;border-color:#396482!important;color:#78e7f4!important}body [data-bank-panel="conta"] .shortcuts a{background:#16324c!important;border:1px solid #335674!important;color:#dcf6ff!important;border-radius:10px!important}
