:root { --auth-blue: #1467f5; --auth-cyan: #1bbbd1; --auth-navy: #0b2148; --auth-text: #17345e; --auth-muted: #7487a5; --auth-line: #dfe9f7; --auth-pale: #f4f9ff; }
* { box-sizing: border-box; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.08fr) minmax(500px, .92fr); color: var(--auth-text); background: #fff; font-family: "Noto Sans SC", sans-serif; }
.auth-visual { position: relative; overflow: hidden; min-height: 100vh; padding: 48px clamp(42px, 5vw, 82px); background: radial-gradient(circle at 72% 40%, rgba(50,151,255,.2), transparent 30%), linear-gradient(145deg,#edf8ff 0%,#f8fbff 47%,#e9f4ff 100%); border-right: 1px solid #e8f0fa; }
.auth-visual::before,.auth-visual::after { content:""; position:absolute; border-radius:50%; filter:blur(2px); }
.auth-visual::before { width:420px;height:420px;right:-190px;top:-170px;border:1px solid rgba(20,103,245,.14);box-shadow:0 0 0 58px rgba(20,103,245,.035),0 0 0 116px rgba(27,187,209,.025); }
.auth-visual::after { width:300px;height:300px;left:-180px;bottom:-120px;background:rgba(27,187,209,.08);filter:blur(45px); }
.auth-visual__brand { position:relative;z-index:2;width:184px;height:66px;display:flex;align-items:center; }
.auth-visual__brand img { width:100%;height:100%;object-fit:contain;object-position:left center; }
.auth-visual__copy { position:relative;z-index:2;margin-top:clamp(88px,12vh,150px);max-width:650px; }
.auth-eyebrow,.auth-card__eyebrow { margin:0 0 18px;color:var(--auth-blue);font-size:13px;font-weight:800;letter-spacing:.22em; }
.auth-visual__copy h1 { margin:0;color:var(--auth-navy);font-size:clamp(46px,4vw,72px);line-height:1.16;letter-spacing:-.045em;font-weight:800; }
.auth-visual__copy h1 span { background:linear-gradient(90deg,var(--auth-blue),var(--auth-cyan));-webkit-background-clip:text;color:transparent; }
.auth-visual__copy>p:last-child { max-width:610px;margin:28px 0 0;font-size:18px;line-height:1.9;color:#68809f; }
.auth-orbit { position:absolute;z-index:1;right:-25px;bottom:55px;width:480px;height:480px;opacity:.96; }
.auth-orbit__ring { position:absolute;left:50%;top:50%;border-radius:50%;border:1px solid rgba(20,103,245,.2);transform:translate(-50%,-50%); }
.auth-orbit__ring--outer { width:440px;height:440px;box-shadow:0 0 40px rgba(43,143,255,.08) inset; }
.auth-orbit__ring--inner { width:260px;height:260px;border-style:dashed; }
.auth-orbit__core,.auth-orbit__node { position:absolute;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#39b9ff,#1467f5);box-shadow:0 18px 42px rgba(20,103,245,.23),inset 0 1px 2px rgba(255,255,255,.85);border:7px solid rgba(255,255,255,.8); }
.auth-orbit__core { left:50%;top:50%;width:116px;height:116px;border-radius:34px;transform:translate(-50%,-50%) rotate(8deg);font-size:52px; }
.auth-orbit__core i { transform:rotate(-8deg); }
.auth-orbit__node { width:72px;height:72px;border-radius:24px;font-size:28px; }
.auth-orbit__node.n1{left:30px;top:120px}.auth-orbit__node.n2{right:10px;top:160px}.auth-orbit__node.n3{left:90px;bottom:25px}.auth-orbit__node.n4{right:75px;bottom:42px}
.auth-visual__proof { position:absolute;z-index:2;left:clamp(42px,5vw,82px);bottom:54px;display:flex;gap:26px;color:#4d678a;font-size:14px;font-weight:600; }
.auth-visual__proof i { color:#12aa8a;margin-right:5px; }
.auth-panel { min-height:100vh;padding:54px clamp(36px,5vw,82px) 28px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%); }
.auth-shell .auth-card { width:min(100%,680px);margin:auto;border:0;border-radius:0;box-shadow:none;overflow:visible; }
.auth-shell .auth-card::before { display:none; }
.auth-card--login { max-width:540px; }
.auth-card h2 { margin:0;color:var(--auth-navy);font-size:40px;line-height:1.25;letter-spacing:-.025em;font-weight:800; }
.auth-card__lead { margin:13px 0 36px;color:var(--auth-muted);font-size:16px; }
.auth-form { display:grid;gap:20px; }
.auth-field { display:grid;gap:9px;min-width:0; }
.auth-field>span:first-child { color:#344f74;font-size:14px;font-weight:700; }
.auth-input { min-height:56px;display:flex;align-items:center;border:1px solid var(--auth-line);border-radius:15px;background:#fff;transition:.2s;box-shadow:0 6px 24px rgba(20,68,130,.025); }
.auth-input:focus-within { border-color:#67a5ff;box-shadow:0 0 0 4px rgba(20,103,245,.08); }
.auth-input>i { width:50px;text-align:center;color:#7690b2;font-size:20px; }
.auth-input input,.auth-input select { flex:1;min-width:0;height:54px;padding:0 16px 0 0;border:0;outline:0;background:transparent;color:var(--auth-navy);font:inherit;font-size:15px; }
.auth-input input::placeholder { color:#a4b2c6; }
.auth-input button { width:46px;height:46px;border:0;background:transparent;color:#8395af;font-size:20px;cursor:pointer; }
.auth-check,.auth-consent { display:flex;align-items:center;gap:10px;color:#6a7d99;font-size:14px;cursor:pointer; }
.auth-check input,.auth-consent input { width:17px;height:17px;accent-color:var(--auth-blue); }
.auth-consent button { padding:0;border:0;background:none;color:var(--auth-blue);font-weight:700;cursor:pointer; }
.auth-primary,.auth-secondary { min-height:56px;padding:0 24px;border-radius:15px;font-size:16px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:.2s; }
.auth-primary { border:0;color:#fff;background:linear-gradient(105deg,var(--auth-blue),#2a86ff 62%,var(--auth-cyan));box-shadow:0 14px 30px rgba(20,103,245,.22); }
.auth-primary:hover { transform:translateY(-2px);box-shadow:0 18px 34px rgba(20,103,245,.28); }
.auth-primary:disabled { opacity:.6;cursor:wait;transform:none; }
.auth-secondary { border:1px solid var(--auth-line);color:#496483;background:#fff; }
.auth-switch { margin:28px 0 0;text-align:center;color:#8293aa;font-size:14px; }
.auth-switch a,.auth-register-heading>a { margin-left:6px;color:var(--auth-blue);font-weight:800;text-decoration:none; }
.auth-footer { margin:34px auto 0;text-align:center;color:#a0aec0;font-size:12px; }
.auth-register-heading { display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px; }
.auth-register-heading .auth-card__eyebrow { margin-bottom:10px; }
.auth-register-heading h2 { font-size:34px; }
.auth-register-heading>a { margin-bottom:5px;font-size:14px; }
.auth-role-tabs { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px;padding:6px;background:#f2f7fd;border-radius:18px; }
.auth-role-tabs button { min-height:70px;padding:11px 16px;border:1px solid transparent;border-radius:14px;background:transparent;color:#6f839f;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer; }
.auth-role-tabs button>i { width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#7890b0;font-size:20px; }
.auth-role-tabs button span { font-weight:800;font-size:15px; }.auth-role-tabs small { display:block;margin-top:3px;color:#93a3b8;font-size:11px;font-weight:500; }
.auth-role-tabs button.active { color:var(--auth-blue);border-color:#d7e7ff;background:#fff;box-shadow:0 8px 22px rgba(37,86,148,.08); }.auth-role-tabs button.active>i{color:#fff;background:var(--auth-blue)}
.auth-steps { display:flex;align-items:center;justify-content:center;gap:14px;margin:4px 0 24px;color:#96a4b7;font-size:13px;font-weight:700; }.auth-steps span{display:flex;align-items:center;gap:7px}.auth-steps b{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e8eef6;color:#8496ad}.auth-steps i{width:70px;height:1px;background:#dfe8f3}.auth-steps span.active{color:var(--auth-blue)}.auth-steps span.active b{background:var(--auth-blue);color:#fff}
.auth-grid { display:grid;grid-template-columns:1fr 1fr;gap:18px; }.auth-field--wide{grid-column:1/-1}
.auth-actions { display:flex;gap:12px; }.auth-actions .auth-primary{flex:1}.auth-actions .auth-secondary{width:135px}
.auth-alert { margin-bottom:18px;padding:12px 15px;border-radius:12px;font-size:13px;line-height:1.5; }.auth-alert--error{color:#b93b48;background:#fff3f4;border:1px solid #ffd8dd}.auth-alert--success{color:#087c67;background:#effcf9;border:1px solid #c9f0e7}
.auth-choice-stage { display:grid;gap:22px; }.auth-section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.auth-section-title h3{margin:0;color:var(--auth-navy);font-size:17px}.auth-section-title span{color:#94a4b9;font-size:11px}
.auth-domain-grid { display:grid;grid-template-columns:1fr 1fr;gap:10px; }.auth-choice{min-height:72px;padding:12px;border:1px solid var(--auth-line);border-radius:14px;background:#fff;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;transition:.2s}.auth-choice>i{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#eef6ff;color:var(--auth-blue);font-size:21px}.auth-choice span{flex:1}.auth-choice b,.auth-level b{display:block;color:#29486e;font-size:14px}.auth-choice small,.auth-level small{display:block;margin-top:3px;color:#91a1b7;font-size:10px}.auth-choice em{width:20px;height:20px;display:grid;place-items:center;border:1px solid #d7e2ef;border-radius:50%;color:transparent}.auth-choice.active{border-color:#4b94ff;background:#f5f9ff;box-shadow:0 7px 18px rgba(20,103,245,.08)}.auth-choice.active em{border-color:var(--auth-blue);background:var(--auth-blue);color:#fff}
.auth-level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.auth-level{min-height:78px;padding:12px;border:1px solid var(--auth-line);border-radius:14px;background:#fff;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.auth-level strong{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#edf4fc;color:#6c84a3;font-size:13px}.auth-level span{flex:1}.auth-level>i{color:#d5dfeb;font-size:20px}.auth-level.active{border-color:#4b94ff;background:#f5f9ff}.auth-level.active strong{background:var(--auth-blue);color:#fff}.auth-level.active>i{color:var(--auth-blue)}
.auth-modal{position:fixed;z-index:9999;inset:0;padding:24px;display:grid;place-items:center;background:rgba(10,32,67,.38);backdrop-filter:blur(8px)}.auth-modal article{position:relative;width:min(560px,100%);padding:34px;border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(7,35,76,.25)}.auth-modal h3{margin:0 0 18px;color:var(--auth-navy);font-size:24px}.auth-modal p:not(.auth-card__eyebrow){color:#647a98;line-height:1.8;font-size:14px}.auth-modal__close{position:absolute;right:18px;top:16px;width:36px;height:36px;border:0;border-radius:11px;background:#f0f5fb;color:#6f829d;font-size:22px;cursor:pointer}.auth-modal .auth-primary{width:100%;margin-top:20px}
@media(max-width:1100px){.auth-shell{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{padding:40px 24px;background:linear-gradient(145deg,#edf8ff,#fff 55%,#eef7ff)}.auth-card{padding:34px;border:1px solid #e3edf8;border-radius:26px;background:#fff;box-shadow:0 24px 70px rgba(28,76,140,.1)}}
@media(max-width:640px){.auth-panel{padding:18px}.auth-card{padding:24px 18px}.auth-card h2{font-size:30px}.auth-grid,.auth-domain-grid,.auth-level-grid{grid-template-columns:1fr}.auth-role-tabs button small,.auth-section-title span{display:none}.auth-register-heading{align-items:start}.auth-actions{flex-direction:column-reverse}.auth-actions .auth-secondary{width:100%}}

/* Approved reference composition: the supplied target artwork is clipped to the
   non-interactive visual column; all fields and actions remain real HTML. */
.auth-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}
.auth-shell{grid-template-columns:58.75% 41.25%;background:#f7fbff}
.auth-visual{padding:0;min-height:100vh;border:0;background-repeat:no-repeat;background-position:left center;background-size:auto 100vh}
.auth-visual::before,.auth-visual::after{display:none}
.auth-visual--login{background-image:url('/static/images/auth/login-target.png')}
.auth-visual--login::after,
.auth-visual--register::after{content:"";position:absolute;z-index:3;display:block;top:0;right:0;bottom:0;left:auto;width:48px;height:auto;border-radius:0;filter:none;background:#f3f9ff;pointer-events:none}
.auth-panel{padding:48px 48px 48px 0;justify-content:center;background:transparent}
.auth-shell .auth-card--login{width:36vw;max-width:none;min-height:82vh;margin-left:0;margin-right:auto;padding:7.7vh 3.75vw 5vh;border-radius:26px;background:#fff;box-shadow:0 18px 48px rgba(19,49,91,.17);display:flex;flex-direction:column;justify-content:flex-start;transform:translateY(3.7vh)}
.auth-card--login .auth-card__eyebrow{display:none}
.auth-card--login h2{text-align:center;font-size:clamp(44px,2.6vw,66px);letter-spacing:-.03em}
.auth-card--login .auth-card__lead{text-align:center;margin:12px 0 48px;font-size:18px}
.auth-card--login .auth-form{gap:24px}
.auth-card--login .auth-field>span:first-child{font-size:16px}
.auth-card--login .auth-input{min-height:6.2vh;border-radius:8px}
.auth-card--login .auth-primary{margin-top:10px;min-height:62px;border-radius:8px;background:#0965ec;box-shadow:0 12px 26px rgba(9,101,236,.2);font-size:20px}
.auth-card--login .auth-switch{margin-top:28px;color:#142e55;font-size:16px}
.auth-privacy-note{margin:auto 0 0;text-align:center;color:#7c8da6;font-size:14px}.auth-privacy-note i{margin-right:8px;color:#11b77d;font-size:21px;vertical-align:-3px}

.auth-shell--register{grid-template-columns:32.55% 67.45%;background:#edf7ff}
.auth-visual--register{background-image:url('/static/images/auth/register-target.png')}
.auth-shell--register .auth-panel{padding:18px 18px 18px 0}
.auth-shell .auth-card--register{width:100%;max-width:none;height:calc(100vh - 36px);padding:44px 56px 24px;border-radius:20px;background:#fff;box-shadow:0 14px 42px rgba(27,63,111,.13);overflow:auto}
.auth-shell--register .auth-footer{display:none}
.auth-register-heading{align-items:flex-start;margin-bottom:22px}
.auth-register-heading h2{font-size:39px}.auth-register-heading p{margin-top:8px;color:#6f8099;font-size:16px}
.auth-register-heading .auth-role-tabs{width:236px;display:grid;grid-template-columns:1fr 1fr;gap:0;margin:10px 0 0;padding:0;border:1px solid #d8e4f2;border-radius:8px;background:#fff;overflow:hidden}
.auth-register-heading .auth-role-tabs button{min-height:46px;padding:0;border:0;border-radius:0;display:block;text-align:center;color:#152b4c;background:#fff;font-size:16px;font-weight:700}
.auth-register-heading .auth-role-tabs button.active{color:#fff;background:#0965ec;box-shadow:none}
.auth-steps{justify-content:stretch;margin:4px 0 25px;padding:0 0 0 8px;gap:18px}.auth-steps span{font-size:16px}.auth-steps b{width:36px;height:36px;font-size:16px}.auth-steps i{flex:1;height:2px;background:#d3e0ee}
.auth-profile-summary{min-height:56px;padding:10px 18px;display:grid;grid-template-columns:36px 1.15fr .75fr 1.05fr 1fr;align-items:center;gap:14px;border:1px solid #bfe9e5;border-radius:8px;background:#f5fcfb;color:#324d70;font-size:13px}.auth-profile-summary>i{font-size:28px;color:#1696ef}.auth-profile-summary b{color:#19375d}.auth-profile-summary span{padding-left:18px;border-left:1px solid #cad9e7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auth-choice-stage{gap:20px}.auth-section-title{margin-bottom:12px}.auth-section-title h3{font-size:20px}.auth-section-title span{font-size:12px}
.auth-domain-grid{grid-template-columns:repeat(3,1fr);gap:14px 20px}.auth-choice{min-height:90px;padding:15px 18px;border-radius:9px}.auth-choice>i{width:52px;height:52px;border-radius:10px;font-size:29px}.auth-choice b{font-size:17px}.auth-choice small{font-size:11px}.auth-choice em{align-self:flex-start}
.auth-level-grid{gap:20px}.auth-level{min-height:96px;padding:14px 18px;border-radius:9px}.auth-level strong{width:54px;height:54px;font-size:16px}.auth-level b{font-size:17px}.auth-level small{font-size:12px;line-height:1.55}.auth-level>i{align-self:flex-start}
.auth-level-tip{margin:0;padding:11px 14px;border:1px solid #cfe0f4;border-radius:6px;background:#f5f9fe;color:#1762cb;font-size:13px}.auth-level-tip i{margin-right:8px;font-size:20px;vertical-align:-3px}
.auth-shell--register .auth-consent{order:10;margin-top:0}.auth-shell--register .auth-actions{order:9;margin-top:0;padding-top:16px;border-top:1px solid #dbe5f0;justify-content:space-between}.auth-shell--register .auth-actions .auth-secondary{width:200px}.auth-shell--register .auth-actions .auth-primary{max-width:240px;min-height:48px;border-radius:7px}.auth-shell--register .auth-form{gap:14px}.auth-shell--register .auth-grid{gap:16px 20px}.auth-shell--register .auth-input{min-height:54px;border-radius:8px}
@media(max-width:1200px){.auth-shell,.auth-shell--register{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel,.auth-shell--register .auth-panel{padding:28px}.auth-shell .auth-card--login{min-height:0}.auth-shell .auth-card--register{height:auto;min-height:calc(100vh - 56px)}}
