/* V12.8.41 — FINAL TARGETED STABILITY. No tab geometry/order changes. */
#neoV12826TopAds.neo-v12841-persistent-nav,
#neoV12826TopAnnouncements.neo-v12841-persistent-nav{display:inline-flex!important;visibility:visible!important;opacity:1!important}

/* Never let an attached/sent image resize or break the Neo AI conversation. */
#neoAIAttachmentPreview{width:min(100%,330px)!important;max-width:330px!important;min-height:68px!important;max-height:86px!important;padding:8px 10px!important;gap:10px!important;overflow:hidden!important;box-sizing:border-box!important}
#neoAIAttachmentPreview img{width:64px!important;height:52px!important;max-width:64px!important;max-height:52px!important;min-width:64px!important;object-fit:cover!important;border-radius:10px!important;margin:0!important;flex:0 0 64px!important}
#neoAIAttachmentPreview>div{min-width:0!important;overflow:hidden!important}#neoAIAttachmentPreview strong{display:block!important;font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}#neoAIAttachmentPreview small{font-size:11px!important;opacity:.72!important}
#pagePanel .neo-ai-shell .neo-ai-message-image{display:block!important;width:auto!important;max-width:220px!important;height:auto!important;max-height:165px!important;object-fit:contain!important;border-radius:14px!important;margin:4px 0 10px!important;cursor:zoom-in!important}
#pagePanel .neo-ai-shell .neo-ai-message-body:has(.neo-ai-message-image){width:auto!important;max-width:min(360px,100%)!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important}
#pagePanel .neo-ai-shell .neo-ai-message-text{max-width:100%!important;overflow-wrap:anywhere!important}

/* Cart selection: stable rows, explicit selected state and current selected total. */
.cart-item{position:relative!important}.neo-cart-select{display:inline-flex;align-items:center;gap:6px;align-self:start;white-space:nowrap;font-size:12px;font-weight:800;padding:6px 9px;border:1px solid rgba(91,210,255,.24);border-radius:999px;background:rgba(45,115,255,.10);cursor:pointer}.neo-cart-select input{accent-color:#3bd7ff}.cart-item.neo-cart-unselected{opacity:.62}.neo-cart-select-actions{margin:10px 0 4px!important}
@media(min-width:761px){.cart-item{grid-template-columns:auto 90px minmax(0,1fr) auto!important}.cart-item>.neo-cart-select{grid-column:1}.cart-item>img,.cart-item>.product-image{grid-column:2}.cart-item>div:not(.product-image){grid-column:3}.cart-item>.danger-button{grid-column:4}}

/* Restore the pre-V12.8.40 wallet presentation exactly; do not layer the later decorative card on it. */
.neo-v12840-wallet-mark,.neo-v12840-wallet-intro{display:none!important}.neo-wallet-v12813[data-neo-v12840="1"]{width:auto!important;margin:0!important}.neo-wallet-v12813[data-neo-v12840="1"] .neo-wallet-balance-card{min-height:unset!important;padding:24px!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(17,135,255,.88),rgba(50,230,255,.82))!important;box-shadow:0 18px 52px rgba(0,91,255,.22)!important}.neo-wallet-v12813[data-neo-v12840="1"] .neo-wallet-tabs{padding:2px!important;border:0!important;background:transparent!important}
