/* NEXUS account experience: centered modal, no page navigation. */
.nexus-account-overlay{position:fixed;inset:0;z-index:1300;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(1,7,16,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.nexus-account-overlay.open{display:flex;animation:nxAccountFade .18s ease-out}
@keyframes nxAccountFade{from{opacity:0}to{opacity:1}}
.nexus-account-dialog{position:relative;width:min(860px,96vw);max-height:min(780px,92vh);min-height:500px;display:grid;grid-template-columns:40% 60%;overflow:hidden;border:1px solid rgba(77,166,224,.48);border-radius:17px;background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.55),0 0 45px rgba(26,139,222,.14);animation:nxAccountRise .23s cubic-bezier(.2,.75,.25,1)}
@keyframes nxAccountRise{from{transform:translateY(12px) scale(.985)}to{transform:translateY(0) scale(1)}}
.nexus-account-promo{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:42px 31px;color:#fff;background:linear-gradient(145deg,#245fe1 0%,#6252d7 58%,#1497c9 120%)}
.nexus-account-promo:before,.nexus-account-promo:after{content:"";position:absolute;right:-118px;bottom:-125px;width:285px;height:285px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025)}
.nexus-account-promo:after{right:-74px;bottom:-80px;width:190px;height:190px}
.nexus-account-promo-orbit{position:absolute;right:-40px;top:12%;width:190px;height:190px;border:1px solid rgba(255,255,255,.15);border-radius:50%;transform:rotate(-24deg)}
.nexus-account-promo-orbit i{position:absolute;inset:18px;border:1px solid rgba(255,255,255,.12);border-radius:50%;transform:rotate(48deg) scaleX(.42)}
.nexus-account-promo-orbit i:nth-child(2){transform:rotate(-48deg) scaleX(.42)}
.nexus-account-promo-orbit i:nth-child(3){inset:48%;background:#baf3ff;box-shadow:0 0 20px #fff}
.nexus-account-secure{position:relative;z-index:1;width:max-content;margin-bottom:27px;padding:8px 12px;border:1px solid rgba(255,255,255,.45);border-radius:22px;background:rgba(255,255,255,.13);font-size:10px;letter-spacing:.3px}
.nexus-account-promo-copy{position:relative;z-index:1}
.nexus-account-promo-copy h2{margin:0 0 15px;color:#fff;font-size:27px;line-height:1.35;font-weight:800;letter-spacing:-.5px}
.nexus-account-promo-copy p{margin:0 0 24px;color:#e7efff;font-size:12px;line-height:1.9}
.nexus-account-promo-copy ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.nexus-account-promo-copy li{display:flex;gap:10px;align-items:center;color:#eff6ff;font-size:11px}
.nexus-account-promo-copy li:before{content:"✦";color:#b9f3ff;font-size:15px}
.nexus-account-promo-foot{position:absolute;bottom:20px;left:31px;color:rgba(235,247,255,.7);font-size:8px;letter-spacing:2px}
.nexus-account-panel{position:relative;min-width:0;overflow:auto;padding:28px 34px 23px;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);color:#17304e}
.nexus-account-close{position:absolute;top:13px;right:14px;width:31px;height:31px;border:1px solid #e1e8f1;border-radius:8px;background:#fff;color:#7e90a6;font-size:21px;line-height:1;cursor:pointer;z-index:3}
.nexus-account-close:hover{border-color:#8bb9ee;color:#276ed6;background:#f5f9ff}
.nexus-account-brand{text-align:center;margin:0 35px 16px;color:#256bd9;font-size:20px;font-weight:900;letter-spacing:3px;text-shadow:0 3px 14px rgba(75,157,245,.22)}
.nexus-account-brand small{display:block;margin-top:3px;color:#8b9bb0;font-size:8px;font-weight:600;letter-spacing:2.1px;text-shadow:none}
.nexus-account-tabs,.nexus-member-tabs{display:flex;gap:8px;border-bottom:1px solid #e6edf5;margin:0 0 17px}
.nexus-account-tabs button,.nexus-member-tabs button{position:relative;border:0;background:none;padding:9px 13px 11px;color:#8797aa;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer}
.nexus-account-tabs button.active,.nexus-member-tabs button.active{color:#236cda}
.nexus-account-tabs button.active:after,.nexus-member-tabs button.active:after{position:absolute;content:"";height:2px;left:10px;right:10px;bottom:-1px;background:#2b7be6;border-radius:3px}
.nexus-account-panel h2{margin:0 0 5px;color:#172f4e;font-size:21px;font-weight:800}
.nexus-account-subtitle{margin:0 0 17px;color:#8798ad;font-size:10px;line-height:1.6}
.nexus-account-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.nexus-account-fields label,.nexus-account-single{display:block;min-width:0;margin:0 0 12px;color:#2b4563;font-size:10px;font-weight:700}
.nexus-account-fields label.full{grid-column:1/-1}
.nexus-account-fields label em{color:#e75c62;font-style:normal}
.nexus-account-fields input,.nexus-account-single input,.nexus-member-form input{display:block;width:100%;height:39px;margin-top:6px;padding:0 13px;border:1px solid #dce5f2;border-radius:22px;background:#f5f7fc;color:#18334f;font:11px Arial,"Microsoft YaHei",sans-serif;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.nexus-account-fields input:focus,.nexus-account-single input:focus,.nexus-member-form input:focus{border-color:#72a9ec;background:#fff;box-shadow:0 0 0 3px rgba(57,128,221,.1)}
.nexus-account-fields input::placeholder,.nexus-account-single input::placeholder{color:#9baabd}
.nexus-account-fields label small{display:block;margin:5px 0 0 4px;color:#91a0b2;font-size:9px;font-weight:400}
.nexus-account-terms{display:flex;align-items:flex-start;gap:7px;margin:1px 0 13px;color:#76899f;font-size:9px;font-weight:400}
.nexus-account-terms input{width:14px;height:14px;margin:0;accent-color:#286ed9;flex:none}
.nexus-account-primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:40px;padding:9px 14px;border:0;border-radius:23px;background:linear-gradient(90deg,#2868dd,#2865cb);box-shadow:0 5px 14px rgba(42,105,213,.2);color:white;font-size:11px;font-weight:700;cursor:pointer;transition:filter .15s,transform .15s}
.nexus-account-primary:hover{filter:brightness(1.06);transform:translateY(-1px)}
.nexus-account-primary:disabled{opacity:.6;cursor:wait;transform:none}
.nexus-account-switch{text-align:center;margin-top:13px;color:#8b9bb0;font-size:10px}
.nexus-account-switch button{padding:0;border:0;background:none;color:#286edc;font-size:10px;font-weight:700;cursor:pointer}
.nexus-account-footnote{margin:14px 0 0;color:#a0adbd;text-align:center;font-size:8px;line-height:1.65}
.nexus-account-message{display:none;margin:10px 0 0;padding:9px 11px;border:1px solid #d9e8fb;border-radius:8px;background:#f0f7ff;color:#2865b4;font-size:10px;line-height:1.6;white-space:pre-line}
.nexus-account-message.error{display:block;border-color:#f4d6d6;background:#fff4f4;color:#b94343}
.nexus-member-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin:2px 0 16px}
.nexus-member-kicker{margin-bottom:5px;color:#6c91ba;font-size:8px;letter-spacing:1.5px}
.nexus-member-welcome h2{font-size:19px}
.nexus-member-welcome p{margin:5px 0 0;color:#8798ac;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
.nexus-member-online{white-space:nowrap;color:#28a878;font-size:8px}
.nexus-member-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 17px}
.nexus-member-stats article{min-width:0;padding:12px 11px;border-radius:8px;background:linear-gradient(105deg,#2865e9,#557eff);color:#fff}
.nexus-member-stats article.orders{background:linear-gradient(105deg,#6419d8,#b84ae8)}
.nexus-member-stats article.spending{background:linear-gradient(105deg,#354779,#6777a8)}
.nexus-member-stats small,.nexus-member-stats em{display:block;color:rgba(255,255,255,.87);font-size:8px;font-style:normal}
.nexus-member-stats strong{display:block;margin:5px 0;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nexus-member-tabs{gap:13px;margin-bottom:9px}
.nexus-member-tabs button{padding:8px 7px 10px;font-size:10px}
.nexus-member-tabs small{font-size:9px;color:#8e9eb2}
.nexus-member-section{max-height:260px;overflow:auto;border:1px solid #e5ebf3;border-radius:8px;background:#fff}
.nexus-member-empty{padding:28px 12px;text-align:center;color:#8a9aaf;font-size:10px}
.nexus-member-order{display:grid;grid-template-columns:minmax(0,1fr) 66px 70px;gap:9px;align-items:center;padding:10px 11px;border-bottom:1px solid #edf1f6;font-size:9px}
.nexus-member-order:last-child{border-bottom:0}
.nexus-member-order b{display:block;color:#2e4867;font-size:9px;overflow-wrap:anywhere}
.nexus-member-order small{display:block;margin-top:4px;color:#8a9aae;line-height:1.5}
.nexus-member-order strong{color:#ed6666;text-align:right;font-size:10px}
.nexus-member-status{justify-self:end;border-radius:10px;padding:4px 6px;background:#eaf7ef;color:#299761;font-size:8px;white-space:nowrap}
.nexus-member-status.pending{background:#fff6e7;color:#bc8228}
.nexus-member-status.cancelled{background:#f0f1f4;color:#8791a0}
.nexus-member-delivery{grid-column:1/-1;margin-top:2px;padding:8px;border-radius:6px;background:#f6f9fe;color:#526a83;font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere}
.nexus-member-form{padding:12px;border-bottom:1px solid #e8edf4}
.nexus-member-form:last-child{border-bottom:0}
.nexus-member-form h3{margin:0 0 10px;color:#294765;font-size:11px}
.nexus-member-form label{display:block;margin:0 0 10px;color:#385270;font-size:9px;font-weight:700}
.nexus-member-form input{height:34px;margin-top:5px;font-size:10px}
.nexus-member-form .nexus-account-primary{width:auto;min-width:130px;min-height:33px;font-size:9px}
.nexus-member-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;color:#6990b8;font-size:9px}
.nexus-member-footer button{padding:6px 12px;border:1px solid #dce5ef;border-radius:18px;background:#f9fbff;color:#5d7189;font-size:9px;cursor:pointer}
@media(max-width:680px){.nexus-account-overlay{padding:10px}.nexus-account-dialog{width:min(460px,100%);max-height:94vh;grid-template-columns:1fr;grid-template-rows:auto 1fr;min-height:0}.nexus-account-promo{min-height:120px;padding:15px 19px}.nexus-account-secure{margin-bottom:9px;font-size:8px;padding:6px 9px}.nexus-account-promo-copy h2{font-size:17px;margin:0 0 4px}.nexus-account-promo-copy p{font-size:9px;line-height:1.5;margin:0}.nexus-account-promo-copy ul,.nexus-account-promo-foot,.nexus-account-promo-orbit{display:none}.nexus-account-panel{padding:15px 18px 18px}.nexus-account-brand{margin-bottom:9px;font-size:17px}.nexus-account-brand small{font-size:7px}.nexus-account-fields input{height:35px}.nexus-member-section{max-height:220px}}
@media(prefers-reduced-motion:reduce){.nexus-account-overlay.open,.nexus-account-dialog{animation:none}}

.nexus-member-pay{display:inline-flex;margin-top:8px;padding:6px 10px;border:1px solid #b8d8f7;border-radius:16px;background:#eef7ff;color:#246fc8;font-size:10px;cursor:pointer}.nexus-member-pay:hover{background:#ddecff}


/* RED-HEAD SHIP account styling: compact sign-in, expansive signed-in workspace. */
.redhead-body .nexus-account-overlay{background:rgba(7,16,25,.72)!important;backdrop-filter:blur(11px)!important}
.redhead-body .nexus-account-dialog{width:min(900px,96vw)!important;max-height:92vh!important;min-height:530px!important;border:1px solid #c49a5d!important;border-radius:15px!important;box-shadow:0 30px 100px rgba(0,0,0,.55),0 0 0 4px rgba(192,150,81,.09)!important}
.redhead-body .nexus-account-promo{background:linear-gradient(155deg,#122b42 0%,#233b4d 48%,#7f3028 100%)!important}
.redhead-body .nexus-account-promo:before,.redhead-body .nexus-account-promo:after{border-color:rgba(229,197,135,.26)!important;box-shadow:0 0 0 28px rgba(229,197,135,.045),0 0 0 58px rgba(229,197,135,.025)!important}
.redhead-body .nexus-account-promo-orbit{border-color:rgba(231,197,128,.24)!important}
.redhead-body .nexus-account-promo-orbit i{border-color:rgba(231,197,128,.18)!important}
.redhead-body .nexus-account-promo-orbit i:nth-child(3){background:#f3d18b!important;box-shadow:0 0 20px #e7bc71!important}
.redhead-body .nexus-account-secure{border-color:rgba(239,209,151,.52)!important;background:rgba(255,236,190,.10)!important;color:#f6e4c1!important}
.redhead-body .nexus-account-promo-copy li:before{color:#edc77f!important}
.redhead-body .nexus-account-promo-foot{color:rgba(241,220,180,.72)!important}
.redhead-body .nexus-account-panel{background:linear-gradient(180deg,#fffdf7,#f7f0e4)!important;color:#293c50!important}
.redhead-body .nexus-account-close{border-color:#e5d7c0!important;background:#fffaf0!important;color:#8b6c48!important}
.redhead-body .nexus-account-close:hover{border-color:#c49a5d!important;color:#91352c!important;background:#f7edda!important}
.redhead-body .nexus-account-brand{color:#8c3029!important;text-shadow:0 3px 14px rgba(181,135,64,.18)!important;letter-spacing:2px!important}
.redhead-body .nexus-account-brand small{color:#a08b69!important}
.redhead-body .nexus-account-tabs,.redhead-body .nexus-member-tabs{border-bottom-color:#e7dcc9!important}
.redhead-body .nexus-account-tabs button,.redhead-body .nexus-member-tabs button{color:#94856f!important}
.redhead-body .nexus-account-tabs button.active,.redhead-body .nexus-member-tabs button.active{color:#8e322a!important}
.redhead-body .nexus-account-tabs button.active:after,.redhead-body .nexus-member-tabs button.active:after{background:linear-gradient(90deg,#8e3029,#d0a257)!important}
.redhead-body .nexus-account-panel h2{color:#26394e!important}
.redhead-body .nexus-account-subtitle{color:#91846f!important}
.redhead-body .nexus-account-fields label,.redhead-body .nexus-account-single{color:#4a5865!important}
.redhead-body .nexus-account-fields input,.redhead-body .nexus-account-single input,.redhead-body .nexus-member-form input{border-color:#e3d7c5!important;background:#fffdf8!important;color:#34475b!important;border-radius:7px!important}
.redhead-body .nexus-account-fields input:focus,.redhead-body .nexus-account-single input:focus,.redhead-body .nexus-member-form input:focus{border-color:#bd965d!important;box-shadow:0 0 0 3px rgba(189,150,93,.13)!important}
.redhead-body .nexus-account-terms{color:#857a68!important}.redhead-body .nexus-account-terms input{accent-color:#91352c!important}
.redhead-body .nexus-account-primary{border:1px solid #c49a5d!important;border-radius:6px!important;background:linear-gradient(100deg,#812d27,#a84732 60%,#b77b3c)!important;box-shadow:0 5px 14px rgba(112,42,32,.16)!important;color:#fff4dc!important}
.redhead-body .nexus-account-primary:hover{filter:brightness(1.08)!important}
.redhead-body .nexus-account-switch{color:#8d816e!important}.redhead-body .nexus-account-switch button{color:#90362c!important}
.redhead-body .nexus-account-footnote{color:#a08f75!important}
.redhead-body .nexus-account-message{border-color:#e6d4b2!important;background:#f8f0df!important;color:#6b5635!important}.redhead-body .nexus-account-message.error{border-color:#efcebf!important;background:#fff1eb!important;color:#a33e31!important}
.redhead-body .nexus-member-kicker{color:#a0743f!important}.redhead-body .nexus-member-welcome h2{color:#273c51!important}.redhead-body .nexus-member-welcome p{color:#877d6d!important}.redhead-body .nexus-member-online{color:#39815f!important}
.redhead-body .nexus-member-stats article{background:linear-gradient(115deg,#172f48,#31516a)!important;border:1px solid rgba(210,173,111,.34)!important}
.redhead-body .nexus-member-stats article.orders{background:linear-gradient(115deg,#7f2e29,#a44935)!important}
.redhead-body .nexus-member-stats article.spending{background:linear-gradient(115deg,#8a6938,#b18a4b)!important}
.redhead-body .nexus-member-section{border-color:#e5d9c7!important;background:#fffdf8!important}
.redhead-body .nexus-member-order{border-bottom-color:#eee4d5!important}.redhead-body .nexus-member-order b{color:#3a4d60!important}.redhead-body .nexus-member-order small{color:#938875!important}.redhead-body .nexus-member-order strong{color:#9f3d31!important}
.redhead-body .nexus-member-status{background:#eaf2e7!important;color:#56824e!important}.redhead-body .nexus-member-status.pending{background:#fff1d9!important;color:#aa762e!important}.redhead-body .nexus-member-status.cancelled{background:#efede8!important;color:#8a8378!important}
.redhead-body .nexus-member-delivery{background:#f7f0e5!important;color:#59697a!important}
.redhead-body .nexus-member-form{border-bottom-color:#eadfce!important}.redhead-body .nexus-member-form h3{color:#354b60!important}.redhead-body .nexus-member-form label{color:#586879!important}
.redhead-body .nexus-member-footer{color:#8f7e62!important}.redhead-body .nexus-member-footer button{border-color:#e1d3bd!important;background:#fffaf1!important;color:#7c6244!important}
/* Logged-in center grows into a wide work surface; login/register remains compact. */
.redhead-body .nexus-account-dialog.member-mode{width:min(1260px,98vw)!important;max-height:94vh!important;height:min(880px,94vh)!important;min-height:680px!important;grid-template-columns:30% 70%!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-account-promo{padding:48px 36px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-account-promo-copy h2{font-size:31px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-account-panel{padding:32px 42px 28px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-section{max-height:470px!important;overflow:auto!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-stats{gap:13px!important;margin-bottom:24px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-stats article{padding:17px 16px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-stats strong{font-size:25px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-order{grid-template-columns:minmax(0,1fr) 95px 100px!important;padding:14px 16px!important;font-size:11px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-order b{font-size:11px!important}
.redhead-body .nexus-account-dialog.member-mode .nexus-member-order small{font-size:10px!important}
.redhead-body .nexus-member-pay{border-color:#cdb17e!important;background:#f7edd9!important;color:#8d332a!important}
@media(max-width:680px){.redhead-body .nexus-account-dialog{width:min(480px,100%)!important;min-height:0!important;max-height:94vh!important}.redhead-body .nexus-account-dialog.member-mode{width:100%!important;height:96vh!important;min-height:0!important;max-height:96vh!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important}.redhead-body .nexus-account-dialog.member-mode .nexus-account-promo{padding:18px 19px!important}.redhead-body .nexus-account-dialog.member-mode .nexus-account-panel{padding:16px 18px!important}.redhead-body .nexus-account-dialog.member-mode .nexus-member-section{max-height:42vh!important}.redhead-body .nexus-account-dialog.member-mode .nexus-member-stats article{padding:10px 8px!important}.redhead-body .nexus-account-dialog.member-mode .nexus-member-stats strong{font-size:17px!important}}

