/* Member section — isolated from general editorial theme. */
.member-svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.member-page{min-height:100vh;background:#eaf4ff;color:#0c2d61;display:flex;flex-direction:column;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px}
.member-nav{position:relative;z-index:5;background:linear-gradient(110deg,#081c43 0%,#053174 72%,#072451 100%);color:white;box-shadow:0 8px 25px rgba(9,39,84,.18)}
.member-nav-inner{max-width:1320px;width:calc(100% - 44px);margin:auto;min-height:72px;display:flex;gap:24px;align-items:center;justify-content:space-between}
.member-brand{display:inline-flex;align-items:center;min-width:0;color:white!important;font-size:20px;font-weight:900;letter-spacing:-1px;font-style:italic;text-decoration:none}.member-brand img{width:auto;max-height:48px;max-width:230px;object-fit:contain}.member-brand-fallback{display:flex;align-items:center;gap:7px;white-space:nowrap}.member-brand-fallback b{color:#4fcbff}.member-brand-mark,.member-mini-mark{display:inline-grid;place-items:center;background:linear-gradient(130deg,#28d9f5,#0778ff);color:white;border-radius:10px 4px 10px 4px;font-style:italic;width:32px;height:32px;transform:skew(-6deg);box-shadow:0 5px 14px rgba(10,130,255,.2)}
.member-nav-links{display:flex;align-items:center;gap:28px}.member-nav-links a{color:#e3eeff;font-size:13px;font-weight:700;text-decoration:none}.member-nav-links a:hover,.member-nav-back:hover{color:#62dcff}.member-nav-back{color:#e3efff!important;font-size:12px;font-weight:800;white-space:nowrap;transition:color .2s}
.member-stage{flex:1;position:relative;isolation:isolate;padding:42px 16px 98px;min-height:620px;background:#eff8ff url('./auth-city.svg') center 0/cover no-repeat;overflow:hidden}
.member-stage::before{content:"";position:absolute;z-index:-2;left:-16%;top:-10%;width:64%;height:77%;background:radial-gradient(ellipse,#fff 15%,rgba(234,248,255,0) 68%);opacity:.9}.member-stage::after{content:"";pointer-events:none;position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.35),rgba(255,255,255,.04) 50%,rgba(255,255,255,.25))}
.member-container{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:center;max-width:1200px;margin:auto}
.member-card{width:min(485px,100%);padding:30px 38px 34px;border-radius:22px;border:1px solid rgba(233,243,255,.85);background:rgba(255,255,255,.965);box-shadow:0 18px 58px rgba(11,58,123,.15),0 2px 10px rgba(11,58,123,.03);backdrop-filter:blur(15px)}
.member-card--account{width:min(540px,100%)}.member-card-heading{text-align:center}.member-card-mini-brand{display:flex;align-items:center;justify-content:center;gap:8px;font-size:19px;font-weight:900;font-style:italic;letter-spacing:-.6px;color:#07275d}.member-card-mini-brand span:not(.member-mini-mark){color:#0a8ff5}.member-mini-mark{height:30px;width:30px;font-size:18px}.member-eyebrow{margin:20px 0 9px;font-size:10px;letter-spacing:2px;color:#1675d7;font-weight:850}.member-card h1{font-size:clamp(23px,3vw,29px);line-height:1.18;color:#102c5d;letter-spacing:-.85px;margin:0 0 10px;font-weight:850}.member-subtitle{color:#637694;line-height:1.65;max-width:350px;margin:0 auto 25px;font-size:13px}
.member-form{display:grid;gap:14px}.member-field{display:block;min-width:0;font-weight:750;color:#223d66;font-size:12px;line-height:1.3;margin:0}.member-input-wrap{margin-top:7px;display:flex;align-items:center;min-height:48px;border:1px solid #cbd9ec;background:#fafdff;border-radius:11px;overflow:hidden;transition:box-shadow .2s,border-color .2s,background .2s}.member-input-wrap:focus-within{border-color:#1685f6;background:#fff;box-shadow:0 0 0 4px rgba(20,131,250,.12)}.member-field-icon{width:18px;height:18px;margin-left:14px;flex:0 0 18px;fill:none;stroke:#6581aa;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.member-input-wrap input{flex:1;display:block;width:100%;min-width:0;border:0;outline:0;background:transparent;padding:12px 10px 12px 13px;font-size:13px;line-height:20px;color:#102a55;box-shadow:none}.member-input-wrap input::placeholder{color:#8a9bb4}.member-eye{flex:0 0 40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:#5775a2;cursor:pointer;margin-right:3px;border-radius:9px}.member-eye:hover{background:#e8f1fc;color:#006ce4}.member-eye svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.member-eye[aria-pressed=true]{background:#e7f2ff;color:#076ede}
.member-primary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:49px;margin-top:7px;background:linear-gradient(105deg,#078fff,#0352d8);color:#fff;border:0;border-radius:11px;font-size:14px;font-weight:850;box-shadow:0 8px 20px rgba(0,97,211,.2);transition:transform .15s,box-shadow .15s;cursor:pointer}.member-primary:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(0,97,211,.27)}.member-primary:disabled{opacity:.55;cursor:not-allowed;transform:none}.member-primary svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.member-options{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-2px;font-size:12px}.member-forgot,.member-switch a,.member-hint a{color:#036ddb!important;font-weight:800}.member-security{color:#6983a5;font-size:11px}.member-switch{text-align:center;margin:22px 0 0;border-top:1px solid #e7eefa;padding-top:21px;font-size:12px;color:#586c8c}.member-hint{font-size:11px;line-height:1.65;color:#7085a1;margin:12px 0 0}.member-consent{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.55;color:#556c8d;margin:2px 0 0;cursor:pointer}.member-consent input{appearance:auto;accent-color:#067bf4;flex:0 0 16px;width:16px;height:16px;margin:1px 0 0;cursor:pointer}.member-strength{display:grid;gap:5px;margin-top:-10px}.member-strength>span{height:4px;border-radius:99px;background:#e5ecf6;overflow:hidden}.member-strength i{display:block;height:100%;width:0;background:#f08b59;transition:width .15s,background .15s}.member-strength small{font-size:10px;color:#6f829e}
.member-notice{padding:12px 14px;border-radius:10px;margin:0 0 20px;font-size:12px;line-height:1.65;font-weight:600}.member-notice.error{background:#fff0f0;color:#a62435;border:1px solid #f9d1d7}.member-notice.success{background:#e7f8f0;color:#126744;border:1px solid #b8e9cd}.member-notice.warning{background:#fff6db;color:#8d5c08;border:1px solid #f3dea2}.member-profile{background:#f0f6ff;border:1px solid #d9e8f8;border-radius:13px;padding:15px;display:grid;grid-template-columns:122px 1fr;gap:11px;font-size:12px;margin-bottom:22px}.member-profile span{color:#7085a2}.member-profile strong{color:#123465;overflow-wrap:anywhere}.member-account-subtitle{font-size:16px;color:#15396f;margin:0 0 15px}.member-logout{margin-top:14px}.member-logout button{width:100%;border:1px solid #cedaee;background:#fff;color:#395a84;padding:12px;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer}.member-logout button:hover{background:#eef5ff}
.member-bottom-wave{position:absolute;z-index:0;bottom:-2px;left:0;right:0;height:118px;background:linear-gradient(105deg,#0257ae,#03bdff 65%,#053d96);clip-path:path('M0,80 C260,-10 440,120 715,76 S1145,-20 1440,55 L1440,118 L0,118 Z')}.member-bottom-wave::before{content:"";position:absolute;left:0;right:0;top:38px;height:90px;background:linear-gradient(95deg,#053c8c,#0073e5);transform:skewY(-3deg)}.member-footer{display:flex;justify-content:center;align-items:center;gap:25px;flex-wrap:wrap;padding:17px 20px;background:#061e48;color:#c1d8f6;font-size:11px}.member-footer a{color:#dceaff}.member-footer a:hover{color:#54d5ff}
.dark .member-stage{background-color:#081b36;background-blend-mode:multiply}.dark .member-stage::after{background:rgba(4,15,36,.34)}.dark .member-card{background:rgba(14,31,60,.97);border-color:#29466e;box-shadow:0 16px 70px rgba(0,0,0,.38)}.dark .member-card h1,.dark .member-card-mini-brand,.dark .member-field,.dark .member-account-subtitle{color:#e8f4ff}.dark .member-subtitle,.dark .member-hint,.dark .member-switch,.dark .member-consent{color:#aabed8}.dark .member-input-wrap{background:#122b4d;border-color:#38577b}.dark .member-input-wrap:focus-within{border-color:#37a7ff}.dark .member-input-wrap input{color:#f5faff}.dark .member-input-wrap input::placeholder{color:#9bb0c9}.dark .member-field-icon{stroke:#9cb4d5}.dark .member-switch{border-color:#2d496e}.dark .member-profile{background:#112747;border-color:#37577b}.dark .member-profile strong{color:#eef6ff}.dark .member-logout button{background:#162c4c;border-color:#42628c;color:#d4e6ff}
@media(max-width:800px){.member-nav-links{gap:13px}.member-nav-links a{font-size:12px}.member-brand{font-size:16px}.member-stage{padding-top:30px}.member-nav-inner{gap:14px}}
@media(max-width:650px){.member-nav-inner{min-height:62px;width:calc(100% - 28px)}.member-brand img{max-height:37px;max-width:180px}.member-brand-fallback{font-size:14px;gap:6px}.member-brand-mark{height:27px;width:27px}.member-nav-links{display:none}.member-stage{padding:21px 12px 72px;min-height:auto;background-position:right top;background-size:auto 100%}.member-card{padding:26px 22px 30px;border-radius:19px}.member-card h1{font-size:24px}.member-subtitle{font-size:12px;margin-bottom:23px}.member-nav-back{font-size:11px}.member-bottom-wave{height:56px;background:linear-gradient(105deg,#0356b1,#03adf9);clip-path:polygon(0 50%,26% 20%,59% 68%,83% 30%,100% 50%,100% 100%,0 100%)}.member-bottom-wave::before{display:none}.member-footer{gap:13px;text-align:center}}
@media(max-width:380px){.member-card{padding:22px 16px}.member-card-mini-brand{font-size:16px}.member-card h1{font-size:22px}.member-profile{grid-template-columns:92px 1fr}}
@media(prefers-reduced-motion:reduce){.member-primary,.member-input-wrap,.member-eye{transition:none}.member-primary:hover{transform:none}}

.member-brand-fallback[hidden]{display:none!important}.member-nav-actions{display:flex;align-items:center;gap:12px}.member-theme-button{border:1px solid rgba(203,228,255,.24);color:#e4f4ff;background:rgba(255,255,255,.08);height:36px;width:36px;border-radius:10px;display:grid;place-items:center;cursor:pointer;font-size:19px}.member-theme-button:hover{background:rgba(255,255,255,.17)}

.member-strength[hidden]{display:none!important}

/* Latest patch: keep form untouched; reuse the homepage's navbar/footer. */
.member-page{background:var(--bg);color:var(--ink);min-height:100vh}
.member-page .site-header,.member-page .site-footer{width:100%;flex:0 0 auto}
.member-page .site-footer{margin-top:0}
.member-page .member-stage{width:100%;flex:1}
.member-card-mini-brand .member-mini-logo{width:auto;max-width:min(235px,100%);height:auto;max-height:48px;object-fit:contain}
.dark .member-card-mini-brand .member-mini-logo{filter:invert(1) hue-rotate(180deg)}
