:root{--navy:#080b1e;--violet:#6d52de;--violet-dark:#5538c7;--ink:#181c31;--muted:#687087;--line:#dfe3ec;--soft:#f1f4f8;--white:#fff;--green:#209c65;--red:#d63d55}
*{box-sizing:border-box}
html{font-size:16px}
body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 12% 12%,rgba(109,82,222,.14),transparent 26%),linear-gradient(135deg,#eef2f7,#f8f9fc);padding:26px 16px}
a{color:#4f39bd}
.auth-shell{width:min(1060px,100%);margin:auto;display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1fr);min-height:calc(100vh - 52px);border-radius:24px;overflow:hidden;box-shadow:0 24px 70px rgba(26,31,59,.16);background:#fff}
.brand-panel{position:relative;overflow:hidden;padding:46px;color:#fff;background:radial-gradient(circle at 25% 20%,rgba(125,91,255,.45),transparent 30%),linear-gradient(145deg,#080b1e,#16184a 60%,#251c61);display:flex;flex-direction:column}.brand-panel::after{content:"";position:absolute;width:360px;height:360px;border:72px solid rgba(255,255,255,.04);border-radius:50%;right:-210px;bottom:-170px}.brand{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:1.25rem;font-weight:900}.brand-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#7558ff,#48d7ff);display:grid;place-items:center}.brand-panel h1{position:relative;z-index:1;margin:auto 0 13px;font-size:clamp(2.1rem,4vw,3.7rem);line-height:1.02;letter-spacing:-.055em}.brand-panel p{position:relative;z-index:1;margin:0 0 18px;color:#c9cfe7;line-height:1.65}.security-note{position:relative;z-index:1;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);border-radius:13px;padding:13px 15px;font-size:.82rem;color:#d9def1}
.form-panel{padding:42px clamp(24px,5vw,66px);display:flex;flex-direction:column;justify-content:center}.topline{display:flex;justify-content:flex-end;margin-bottom:18px}.back-home{text-decoration:none;font-size:.82rem;font-weight:800;color:#5b6378}.form-panel h2{font-size:clamp(1.8rem,4vw,2.45rem);margin:0 0 7px;letter-spacing:-.035em}.subtext{margin:0 0 24px;color:var(--muted);line-height:1.55}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{position:relative;margin-bottom:16px}.field.full{grid-column:1/-1}.field label{display:block;margin:0 0 7px;font-size:.82rem;font-weight:800;color:#3f465b}.field input,.field select{width:100%;min-height:48px;border:1px solid #cfd4df;border-radius:9px;background:#fff;padding:11px 13px;font:inherit;color:var(--ink);outline:none;transition:.2s}.field input:focus,.field select:focus{border-color:var(--violet);box-shadow:0 0 0 4px rgba(109,82,222,.11)}.field input:disabled{background:#f1f3f7;color:#61697c}.phone-row{display:grid;grid-template-columns:120px 1fr}.phone-row select{border-radius:9px 0 0 9px}.phone-row input{border-left:0;border-radius:0 9px 9px 0}.password-wrap{position:relative}.password-wrap input{padding-right:58px}.show-password{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#5c6478;font-weight:800;font-size:.76rem;cursor:pointer}.check-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 13px;font-size:.8rem;line-height:1.45;color:#4d5569}.check-row input{margin-top:3px;width:17px;height:17px;accent-color:var(--violet);flex:0 0 auto}.submit{width:100%;min-height:50px;border:0;border-radius:99px;background:#10121d;color:#fff;font:inherit;font-weight:900;cursor:pointer;transition:.2s}.submit:hover{background:#5d43d0;transform:translateY(-1px)}.switch{text-align:center;margin:18px 0 0;color:#5e667a;font-size:.88rem}.switch a{font-weight:850}.risk{margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:.74rem;line-height:1.55;color:#747c8f}.status{display:none;margin:0 0 16px;padding:11px 13px;border-radius:9px;font-size:.84rem}.status.show{display:block}.status.error{color:#8d2638;background:#fff0f2;border:1px solid #f2c6ce}.status.success{color:#176743;background:#edfbf5;border:1px solid #bdebd7}.device-note{margin:14px 0 0;text-align:center;color:#7b8294;font-size:.72rem}
.profile-shell{width:min(1180px,100%);margin:auto}.profile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.profile-top .brand{color:var(--ink)}.profile-actions{display:flex;gap:10px}.small-btn{border:1px solid #cfd4df;background:#fff;border-radius:99px;padding:9px 14px;font-weight:800;cursor:pointer;text-decoration:none;color:var(--ink)}.small-btn:hover{border-color:var(--violet);color:var(--violet)}.small-btn.dark{background:#11152f;color:#fff;border-color:#11152f}.small-btn.dark:hover{background:var(--violet);color:#fff}.profile-card{display:grid;grid-template-columns:270px 1fr;min-height:690px;background:#fff;border:1px solid rgba(215,219,231,.8);border-radius:24px;overflow:hidden;box-shadow:0 24px 70px rgba(26,31,59,.15)}.profile-sidebar{padding:34px 26px;background:radial-gradient(circle at 25% 8%,rgba(117,88,255,.28),transparent 28%),linear-gradient(165deg,#0b102b,#21195d);color:#fff;display:flex;flex-direction:column}.avatar{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#7a59ff,#50d6ff);font-size:1.6rem;font-weight:900;margin-bottom:16px;box-shadow:0 12px 28px rgba(83,86,255,.3)}.profile-sidebar h1{font-size:1.25rem;margin:0 0 4px}.profile-sidebar>p{margin:0;color:#bfc7df;font-size:.85rem;overflow-wrap:anywhere}.profile-menu{display:grid;gap:7px;margin-top:30px;border-top:1px solid rgba(255,255,255,.12);padding-top:18px}.profile-menu a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;color:#d8dcef;text-decoration:none;font-size:.86rem;font-weight:800}.profile-menu a span{width:19px;color:#8f7aff;text-align:center}.profile-menu a:hover,.profile-menu a.active{background:rgba(255,255,255,.11);color:#fff}.profile-menu a.active span{color:#5ce0ca}.account-security{margin-top:auto;padding:15px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.06)}.account-security strong,.account-security span{display:block}.account-security strong{font-size:.78rem}.account-security span{margin-top:5px;color:#b8c0dc;font-size:.7rem;line-height:1.45}.profile-content{padding:30px clamp(24px,5vw,62px);min-width:0}.profile-tabs{display:flex;gap:10px;margin:0 0 27px;border-bottom:1px solid #e3e6ee}.profile-tabs a{position:relative;flex:1;padding:10px 8px 13px;color:#697086;text-align:center;text-decoration:none;font-size:.84rem;font-weight:800}.profile-tabs a::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#7454ec;transform:scaleX(0);transition:.2s}.profile-tabs a:hover,.profile-tabs a.active{color:#171b2d}.profile-tabs a.active::after{transform:scaleX(1)}.profile-content h2{margin:0 0 5px;font-size:clamp(1.65rem,3vw,2.05rem);letter-spacing:-.035em}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.panel-heading .subtext{margin:6px 0 0}.panel-kicker{margin:0 0 5px;color:#6d50d7;font-size:.7rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.section-badge{padding:7px 10px;border-radius:999px;background:#f0edff;color:#6349cc;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.save-row{display:flex;justify-content:flex-end;align-items:center;gap:13px;margin-top:8px}.save-row .submit{width:auto;padding:0 28px}.profile-status{font-size:.8rem;color:var(--green);align-self:center}.mask-note{font-size:.75rem;color:#7b8294;margin:-6px 0 15px}.settings-form{display:grid;gap:0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 3px;border-bottom:1px solid #e9ebf1}.setting-row:first-child{border-top:1px solid #e9ebf1}.setting-row strong,.setting-row span{display:block}.setting-row strong{font-size:.92rem}.setting-row div>span{margin-top:4px;color:#747c91;font-size:.76rem;line-height:1.45}.toggle{position:relative;flex:0 0 auto;cursor:pointer}.toggle input{position:absolute;opacity:0;pointer-events:none}.toggle>span{width:46px;height:26px;border-radius:999px;background:#b7bdca;transition:.2s;position:relative}.toggle>span::after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(27,31,54,.25);transition:.2s}.toggle input:checked+span{background:#171925}.toggle input:checked+span::after{transform:translateX(20px)}.toggle input:focus-visible+span{box-shadow:0 0 0 4px rgba(109,82,222,.18)}.info-banner{display:flex;align-items:flex-start;gap:12px;margin:22px 0;padding:14px;border-radius:11px;background:#f0f2f8;color:#40475d}.info-banner b{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#315ddb;color:#fff;font:900 .76rem/1 serif;flex:0 0 auto}.info-banner p{margin:0;font-size:.8rem;line-height:1.5}.password-info{margin-top:0}.password-form{max-width:540px;margin:0 auto}.password-form .field{margin-bottom:17px}.password-rules{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin:-3px 0 20px;padding:14px 15px;border:1px solid #e1e4ed;border-radius:11px;background:#fafbfe;list-style:none}.password-rules li{position:relative;padding-left:19px;color:#737b90;font-size:.73rem}.password-rules li::before{content:"•";position:absolute;left:3px;color:#adb3c1}.password-rules li.met{color:#16734d}.password-rules li.met::before{content:"✓";left:0;color:#1a9b67;font-weight:900}.password-form>.submit{margin-top:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:820px){body{padding:0}.auth-shell{grid-template-columns:1fr;min-height:100vh;border-radius:0}.brand-panel{padding:25px 24px}.brand-panel h1{margin:48px 0 10px}.security-note{display:none}.form-panel{padding:30px 22px 42px}.profile-card{grid-template-columns:1fr;border-radius:16px;min-height:0}.profile-sidebar{padding:24px}.profile-menu,.account-security{display:none}.profile-content{padding:22px 20px 30px}.profile-shell{padding:16px}.profile-top{align-items:flex-start;gap:14px}.profile-actions{flex-wrap:wrap;justify-content:flex-end}.profile-tabs{margin-bottom:22px}}
@media(max-width:520px){.grid{grid-template-columns:1fr}.field.full{grid-column:auto}.brand-panel h1{font-size:2.2rem}.profile-actions .small-btn:first-child{display:none}.profile-tabs{gap:0}.profile-tabs a{padding-inline:3px;font-size:.75rem}.panel-heading{margin-bottom:20px}.section-badge{display:none}.password-rules{grid-template-columns:1fr}.setting-row{align-items:flex-start}.save-row{align-items:flex-end;flex-direction:column}.save-row .submit{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
