/* Branded agent entry only; all colours inherit the shop's configured accent. */
.agent-auth{display:grid;grid-template-columns:.85fr 1.15fr;max-width:1040px;margin:20px auto 40px;background:var(--surface);border:1px solid var(--border);border-radius:26px;overflow:hidden;box-shadow:var(--shadow-md)}
.agent-auth>*{min-width:0}.agent-auth-story{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;padding:38px;background:var(--shop-banner);color:#fff}
.agent-auth-story::after{content:"";position:absolute;z-index:-1;right:-220px;bottom:-220px;width:420px;height:420px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 38px #ffffff06,0 0 0 78px #ffffff04;pointer-events:none}
.agent-auth-kicker{font-size:10px;font-weight:750;letter-spacing:.14em;line-height:1.6;overflow-wrap:anywhere}.agent-auth-story>.agent-auth-kicker{color:#dbe4ff}.agent-auth-story h2{color:#fff;font-size:34px;line-height:1.16;letter-spacing:-.035em;margin:24px 0 16px}.agent-auth-story>p{color:#e2e8f0;font-size:14px;line-height:1.7;margin:0}
.agent-auth-story ul{display:grid;gap:16px;padding:0;list-style:none;margin:30px 0 36px;font-size:13px}.agent-auth-story li{display:flex;align-items:center;gap:12px}.agent-auth-story li span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #ffffff30;border-radius:9px;color:#e2e8f0;font-size:10px}.agent-auth-story>a{color:#fff;font-size:12px;font-weight:650;margin-top:auto;align-self:start;padding:10px 0}
.agent-auth-art{position:relative;display:grid;place-items:center;min-height:180px;margin-top:26px}.agent-auth-art svg{width:112px;height:112px;padding:16px;background:#ffffff12;border:1px solid #ffffff30;border-radius:28px;transform:rotate(-6deg);box-shadow:0 12px 30px #0002}.agent-auth-orbit{position:absolute;width:172px;height:172px;border:1px solid #ffffff1f;border-radius:50%;box-shadow:0 0 0 20px #ffffff04}.agent-auth-art-note{position:absolute;bottom:2px;padding:9px 15px;border:1px solid #ffffff30;border-radius:10px;background:var(--shop-deep);font-size:11px;font-weight:600;transform:rotate(3deg)}
.agent-auth-panel{padding:32px 36px;align-self:center}.agent-auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border:1px solid var(--border);background:var(--bg-primary);border-radius:12px;margin-bottom:28px}.agent-auth-tabs a{display:grid;place-items:center;min-height:42px;border-radius:9px;font-size:13px;font-weight:650;color:var(--text-secondary)}.agent-auth-tabs a[aria-current]{background:var(--surface);color:var(--shop-link);box-shadow:var(--shadow-sm)}
.agent-auth-heading .agent-auth-kicker{color:var(--shop-link)}.agent-auth-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:8px 0 10px}.agent-auth-heading p{font-size:13px;line-height:1.65;margin:0}
.agent-auth-form{display:grid;gap:18px;margin-top:26px}.agent-auth-form label{display:grid;gap:7px;margin:0;min-width:0;font-size:12px;font-weight:650;color:var(--text-primary)}.agent-auth-form input{box-sizing:border-box;min-width:0;width:100%;min-height:48px;margin:0;padding:12px 13px;font-size:16px;border-radius:11px;background:var(--bg-primary);border:1px solid var(--border);color:var(--text-primary)}.agent-auth-form input::placeholder{font-size:13px;color:var(--text-muted)}.agent-auth-form input:focus{outline:2px solid var(--shop-accent);outline-offset:2px}.agent-auth-form .password-field{min-width:0}.agent-auth-form .password-field input{padding-right:46px}.agent-auth-form .password-toggle{width:42px;height:42px;right:3px}
.agent-auth .btn-primary{background:var(--shop-banner);border-color:transparent;color:#fff;min-height:50px;border-radius:11px;font-size:14px;justify-content:center;gap:16px}.agent-auth .btn-primary:hover{filter:brightness(1.15)}.agent-auth-register{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agent-auth-wide{grid-column:1/-1}.agent-auth-help{font-size:11px;color:var(--text-secondary);line-height:1.65;margin:0}.agent-auth-switch{text-align:center;margin:0;font-size:12px;color:var(--text-secondary)}.agent-auth a.text-link{color:var(--shop-link);font-weight:700}.agent-auth .auth-error{margin:18px 0 0;padding:12px;border:1px solid var(--danger);border-radius:10px;font-size:13px;color:var(--danger);background:var(--surface)}
@media(max-width:800px){.agent-auth{grid-template-columns:1fr;max-width:540px;margin:0 auto 24px;border-radius:22px}.agent-auth-story{padding:24px}.agent-auth-story h2{font-size:25px;margin:10px 0 0}.agent-auth-story h2 br{display:none}.agent-auth-story>p,.agent-auth-story ul,.agent-auth-story>a,.agent-auth-art{display:none}.agent-auth-panel{padding:24px}.agent-auth-heading h1{font-size:25px}.agent-auth-tabs{margin-bottom:22px}}
@media(max-width:440px){.agent-auth-panel{padding:22px 18px}.agent-auth-story{padding:22px 18px}.agent-auth-story h2{font-size:23px}.agent-auth-register{grid-template-columns:1fr;gap:15px}.agent-auth-form{margin-top:22px}.agent-auth-heading h1{font-size:24px}.agent-auth{border-radius:18px}.agent-auth-tabs a{font-size:12px}}
