/* Readable side navigation and secondary text. */
body.member-shell #sideDrawer,body:not(.member-shell) #sideDrawer{width:320px!important;max-width:calc(100vw - 28px)!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#91516c #281921;border:1px solid #623448!important;background:#23141f!important;box-shadow:12px 0 45px #0005!important}
body.member-shell #sideDrawer .drawer-top{background:linear-gradient(125deg,#562334,#442037)!important;border-bottom:1px solid #805064!important;padding:20px!important}
body.member-shell #sideDrawer .close,body:not(.member-shell) #sideDrawer .close{display:grid!important;place-items:center!important;width:39px!important;height:39px!important;min-height:39px!important;background:#ffffff16!important;border:1px solid #f2bdce66!important;border-radius:12px!important;color:#fff!important;opacity:1!important;font-size:18px!important;cursor:pointer}
body.member-shell #sideDrawer .close i,body:not(.member-shell) #sideDrawer .close i{color:#fff!important}
body.member-shell #sideDrawer #userDrawerMenu button{display:flex!important;align-items:center;gap:13px!important;min-height:49px!important;padding:13px 18px!important;margin:3px 8px!important;width:calc(100% - 16px)!important;border-radius:10px!important;border:1px solid transparent!important;background:transparent!important;font-family:Arial,sans-serif!important;font-size:14px!important;line-height:1.5!important;font-weight:500!important;color:#f2dce6!important;text-align:left}
body.member-shell #sideDrawer #userDrawerMenu button .mi{width:21px!important;height:21px!important;stroke:#f2b8ce!important;color:#f2b8ce!important;fill:none!important;flex-shrink:0}
body.member-shell #sideDrawer #userDrawerMenu button:hover,body.member-shell #sideDrawer #userDrawerMenu button.menu-active{background:#53263d!important;border-color:#86445f!important;color:#fff!important}
.nav-group-label{font:700 10px/1.5 Arial,sans-serif;letter-spacing:1.3px!important;color:#c78ca5;padding:23px 26px 9px}
body.member-shell #sideDrawer .nav-guest-actions{display:flex;gap:8px;padding:14px 14px 0}
body.member-shell #sideDrawer #userDrawerMenu .nav-guest-actions button{width:50%!important;margin:0!important;justify-content:center;background:#9f2849!important;border-color:#d66a89!important;font-size:13px!important;font-weight:700!important}
body.member-shell #sideDrawer .drawer-links{padding-bottom:max(30px,env(safe-area-inset-bottom))}
body.member-shell .member-live small,body.member-shell .member-live b,body.member-shell .member-footnote{color:#d8bdcb!important;opacity:1!important}
body.member-shell .member-page-heading p,body.member-shell .member-record small,body.member-shell .member-record p{color:#d3b9c9!important}
body.member-shell .member-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.55fr);gap:12px;margin-bottom:16px}body.member-shell .member-filters input,body.member-shell .member-filters select{width:100%;min-height:45px;padding:11px 13px;font-size:13px!important;border-radius:11px!important}
body.member-shell .member-record .member-primary+.member-primary{margin-top:10px!important}body.member-shell .member-record .member-primary{gap:9px!important;line-height:1.5!important;min-height:44px}
body.member-shell .member-record .row{gap:12px;flex-wrap:wrap}body.member-shell .member-record h3{overflow-wrap:anywhere}
body.member-shell #view-profile .field>span,body.member-shell #view-password .field>span,body.member-shell #view-withdraw .field>span{color:#e8ceda!important;font-size:13px!important}body.member-shell #view-profile input,body.member-shell #view-password input,body.member-shell #view-withdraw input,body.member-shell #view-withdraw select{font-size:14px!important;min-height:46px;padding:12px!important}
body.member-shell #view-profile .btn,body.member-shell #view-password .btn,body.member-shell #view-support button[type=submit]{background:#bc2d50!important;border:1px solid #ed7894!important;color:white!important;min-height:46px!important;font-size:14px!important;font-weight:700!important}
body.member-shell #view-password .row input{flex:1;min-width:0}.member-shell #view-password .row .small-btn{min-width:44px;min-height:44px;background:#52243e!important;border-color:#89516d!important;color:#f7d3e2!important}
body:not(.member-shell) #sideDrawer .admin-nav-group summary{min-height:46px;padding:13px 16px;color:#f4ddeb!important;font-size:13px;line-height:1.5;background:#321c2c;border-color:#69374e}body:not(.member-shell) #sideDrawer .drawer-links button{color:#ecd1e0!important;min-height:44px!important}body:not(.member-shell) #sideDrawer .drawer-icon,body:not(.member-shell) #sideDrawer summary i{color:#f3b2cc!important}
@media(max-width:500px){body.member-shell .member-filters{grid-template-columns:1fr}.member-shell .member-record .member-primary{width:100%;justify-content:center}.member-shell .member-page-heading h1{font-size:23px!important}}
body.member-shell .member-record h3,body.member-shell .member-record h4,body.member-shell .member-record strong,body.member-shell .glass-card h3,body.member-shell .glass-card h4{color:#ffeaf2!important;opacity:1!important;font-weight:700!important;text-shadow:none!important}body.member-shell .member-record dt{color:#d7b9ca!important}body.member-shell .member-record dd{color:#f0d7e3!important}body.member-shell .member-record .small-btn{color:#f5dce7!important;border-color:#8d546e!important;background:#54273e!important}body.member-shell .member-record p{font-size:14px!important;line-height:1.9!important}
/* Restore missing team-page layout rules without altering calculations. */
body.member-shell #view-team .v26-team-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;border:1px solid #8b4867;background:linear-gradient(125deg,#452333,#652d4d);border-radius:23px;padding:27px}
#view-team .v26-team-intro{position:relative;padding-left:70px}#view-team .v26-initials{position:absolute;top:0;left:0;width:52px;height:52px;border-radius:17px;background:#d5799b33;border:1px solid #cf829e66;display:grid;place-items:center;color:#ffd6e5;font-size:19px;font-weight:700}#view-team .v26-team-intro h1{font-size:25px;margin:7px 0 9px}#view-team .v26-team-intro p{font-size:13px;line-height:1.8;margin:0 0 16px}#view-team .v26-team-hero-totals{display:grid;grid-template-columns:1fr;gap:12px}#view-team .v26-team-hero-totals>div{position:relative;border:1px solid #bd759256;background:#26162077;border-radius:16px;padding:17px 55px 17px 18px}#view-team .v26-team-hero-totals small{display:block;font-size:11px!important;margin-bottom:8px}#view-team .v26-team-hero-totals b{display:block;font-size:22px;color:#ffe8b4!important}#view-team .v26-team-hero-totals .mi{position:absolute;right:18px;top:27px;color:#e5a5bc}
#view-team .v26-panel-heading{display:flex;align-items:center;gap:13px;margin-bottom:22px}#view-team .v26-panel-heading .v26-icon-tile{background:#71324e55;color:#ffc9df;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex-shrink:0}#view-team .v26-panel-heading h2{font-size:21px;line-height:1.4;margin:0 0 7px}#view-team .v26-panel-heading p{font-size:12px;line-height:1.7;margin:0}#view-team .v26-tag{margin-left:auto;color:#f3c5d9;border:1px solid #88516a;border-radius:20px;padding:7px 10px;font-size:9px;white-space:nowrap}
#view-team .v26-performance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}#view-team .v26-metric{border:1px solid #80506a;border-radius:17px;padding:19px;background:linear-gradient(120deg,#482331,#5a2d40)}#view-team .v26-metric:nth-child(2){background:linear-gradient(120deg,#4e361d,#654423)}#view-team .v26-metric:nth-child(3){background:linear-gradient(120deg,#352542,#4a2c55)}#view-team .v26-metric:nth-child(4){background:linear-gradient(120deg,#243844,#284a56)}#view-team .v26-metric>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#e2a8bd;margin-bottom:18px}#view-team .v26-metric>div>span{font-size:10px;color:#e6bad1}#view-team .v26-metric small{display:block;font-size:11px!important;line-height:1.5}#view-team .v26-metric strong{display:block;font-size:21px!important;margin-top:9px;white-space:nowrap}#view-team .v26-metric p{font-size:10px!important;line-height:1.7;margin:11px 0 0}#view-team .v26-meter{height:4px;background:#ffffff17;border-radius:5px;margin-top:13px}
#view-team .v26-team-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}#view-team .v26-ref-copy{display:flex;gap:10px}#view-team .v26-ref-copy input{flex:1;min-width:0;padding:13px;font-size:12px!important}#view-team .v26-ref-copy button{display:flex;align-items:center;gap:7px;padding:12px 15px!important;min-height:45px!important;font-size:12px!important}#view-team .v26-info{display:flex;gap:8px;align-items:flex-start;font-size:11px!important;line-height:1.8!important;margin:16px 0 0}#view-team .v26-info .mi{width:18px;height:18px;color:#e6a3c0}#view-team .v26-steps{display:grid;gap:13px}#view-team .v26-steps>div{display:flex;align-items:center;gap:12px}#view-team .v26-steps b{width:31px;height:31px;border-radius:10px;background:#a94d7255;display:grid;place-items:center;flex-shrink:0}#view-team .v26-steps strong,#view-team .v26-steps small{display:block;font-size:12px}#view-team .v26-steps small{font-size:11px!important;margin-top:4px;line-height:1.6}
#view-team .v26-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px}#view-team .v26-level{display:flex;flex-direction:column;align-items:flex-start;gap:13px;position:relative;border:1px solid #80506b;border-radius:17px;background:#3f2233;padding:20px;cursor:pointer;color:#efd5e3}#view-team .v26-level.selected{border:2px solid #e98eae;background:#5a2940}#view-team .v26-level strong{display:flex;align-items:center;gap:9px;font-size:16px}#view-team .v26-level-rate{color:#ffe0a2;font-size:12px}#view-team .v26-level>span:last-child{font-size:11px;color:#f7b8d1}#view-team .v26-level-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 22px}#view-team .v26-level-summary>div{background:#432535;border:1px solid #78435c;padding:16px;border-radius:14px}#view-team .v26-level-summary small,#view-team .v26-level-summary strong{display:block;font-size:11px;line-height:1.6}#view-team .v26-level-summary strong{font-size:17px;margin-top:8px}#view-team .v26-search{display:grid;gap:9px;font-size:12px;color:#debcd1}#view-team .v26-search input{min-height:46px;padding:12px;font-size:14px!important}#view-team .v26-team-empty{display:flex;align-items:center;justify-content:center;gap:14px;padding:30px 15px;border:1px dashed #87506c;border-radius:16px;margin-top:17px;color:#d8a7bf}#view-team .v26-team-empty p{font-size:13px!important}.v26-member-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;align-items:center;padding:16px 10px;border-bottom:1px solid #78425b;font-size:12px}.v26-member-row-head{font-weight:700;color:#eeb3cf}.v26-member-status{font-size:10px;color:#f0c2d6}
@media(max-width:700px){body.member-shell #view-team .v26-team-hero{grid-template-columns:1fr;gap:20px;padding:21px}#view-team .v26-team-intro{padding-left:0;padding-top:65px}#view-team .v26-performance{grid-template-columns:1fr 1fr;gap:11px}#view-team .v26-metric{padding:16px}#view-team .v26-metric strong{font-size:18px!important}#view-team .v26-team-columns{grid-template-columns:1fr}#view-team .v26-panel-heading .v26-tag{display:none}#view-team .v26-panel-heading h2{font-size:19px}#view-team .v26-level-summary{grid-template-columns:1fr 1fr}#view-team .v26-level-summary strong{font-size:16px}#view-team .v26-levels{grid-template-columns:1fr}.v26-member-row{font-size:10px;gap:7px}#view-team .v26-ref-copy button{padding:10px!important}}
