:root{--gold:#e0b21e;--gold2:#f4d15d;--ink:#0b0b0b;--muted:#777;--line:#e6e2d8;--bg:#f7f7f4}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:#141414}body{min-height:100vh}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.auth-visual{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 15%,#4b3a0b 0,#181307 28%,#070707 70%);color:#fff;padding:clamp(28px,5vw,70px);display:flex;flex-direction:column;justify-content:space-between}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border:1px solid #e0b21e2b;border-radius:50%;pointer-events:none}.auth-visual:before{width:560px;height:560px;right:-220px;top:-180px}.auth-visual:after{width:760px;height:760px;right:-310px;top:-280px}.auth-brand{position:relative;z-index:2;display:flex;align-items:center;gap:13px}.auth-brand img{width:58px;height:58px;border-radius:16px;object-fit:cover;border:2px solid var(--gold);background:#111}.auth-brand strong{display:block;font-size:21px;letter-spacing:4px}.auth-brand small{display:block;color:#aaa;font-size:9px;letter-spacing:2px;margin-top:3px}.visual-copy{position:relative;z-index:2;max-width:610px;margin:auto 0}.visual-copy .eyebrow{color:var(--gold2);font-size:11px;font-weight:900;letter-spacing:2px;text-transform:uppercase}.visual-copy h2{font-size:clamp(38px,5vw,70px);line-height:1;margin:12px 0 18px;letter-spacing:-2px}.visual-copy p{color:#cfcfcf;font-size:16px;line-height:1.65;max-width:520px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:30px}.benefit{border:1px solid #ffffff1c;background:#ffffff08;border-radius:16px;padding:15px}.benefit b{display:block;font-size:13px}.benefit span{display:block;color:#999;font-size:11px;margin-top:4px}.auth-foot{position:relative;z-index:2;color:#777;font-size:11px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:28px 20px;background:#fff}.auth-card{width:min(470px,100%);border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:0 18px 55px #0000000d}.mobile-brand{display:none}.auth-card .eyebrow{color:#a17c00;font-size:11px;font-weight:900;letter-spacing:2px}.auth-card h1{font-size:34px;line-height:1.1;margin:8px 0 8px;letter-spacing:-.7px}.auth-sub{color:#777;margin:0 0 23px;font-size:14px;line-height:1.5}.field{margin:14px 0}.field label{display:flex;justify-content:space-between;gap:10px;font-weight:800;font-size:13px;margin-bottom:7px}.field input{width:100%;height:48px;border:1px solid #d5d3cc;border-radius:13px;padding:0 13px;background:#fff;color:#111;outline:none;transition:.18s}.field input:focus{border-color:var(--gold);box-shadow:0 0 0 4px #e0b21e22}.password-wrap{position:relative}.password-wrap input{padding-right:54px}.toggle-pass{position:absolute;right:7px;top:7px;height:34px;border:0;border-radius:9px;background:#f3f2ee;color:#555;padding:0 10px;font-size:11px;font-weight:900}.auth-primary{width:100%;height:49px;border:0;border-radius:13px;background:var(--gold);color:#111;font-weight:950;font-size:15px;margin-top:4px;box-shadow:0 8px 20px #e0b21e2b}.auth-primary:hover{background:var(--gold2)}.divider{display:flex;align-items:center;gap:10px;margin:19px 0;color:#999;font-size:11px}.divider:before,.divider:after{content:"";height:1px;background:#e8e6df;flex:1}.google-btn{width:100%;height:48px;border:1px solid #d8d6cf;border-radius:13px;background:#fff;color:#222;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:850}.google-icon{width:19px;height:19px;display:block}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-size:12px}.auth-links a,.switch a{color:#8a6800;font-weight:850}.switch{text-align:center;color:#777;font-size:13px;margin:22px 0 0}.terms{font-size:10px;color:#999;line-height:1.5;text-align:center;margin:17px 0 0}.alert{padding:12px 13px;border-radius:12px;background:#fff0f0;color:#9d1515;font-size:12px;line-height:1.45;margin:0 0 14px}.alert.ok{background:#ecf9ef;color:#176b2c}.field-hint{font-size:10px;color:#999;font-weight:500}.back-home{display:inline-flex;align-items:center;gap:6px;color:#777;font-size:12px;font-weight:800;margin-bottom:18px}.back-home:hover{color:#111}
@media(max-width:850px){.auth-shell{display:block;min-height:100vh}.auth-visual{display:none}.auth-panel{min-height:100vh;padding:22px 14px;align-items:flex-start}.auth-card{margin:20px auto;padding:24px 20px;border-radius:23px;box-shadow:0 12px 35px #0000000b}.mobile-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin:3px 0 23px}.mobile-brand img{width:48px;height:48px;border-radius:14px;object-fit:cover;border:2px solid var(--gold)}.mobile-brand b{font-size:19px;letter-spacing:3px}.auth-card h1{font-size:30px}.benefits{grid-template-columns:1fr}.auth-links{flex-direction:column;align-items:center}}
@media(max-width:390px){.auth-card{padding:21px 16px}.auth-panel{padding:12px 10px}.field input{height:46px}}
/* Auth layout hardening: prevents shrink-to-content / narrow-page rendering */
html,body{width:100%;min-width:100%;max-width:none;overflow-x:hidden}
.auth-shell{width:100%;max-width:none;min-width:0}
.auth-visual,.auth-panel{min-width:0;width:100%}
.auth-card,.field,.field input,.password-wrap,.google-btn,.auth-primary{max-width:100%;min-width:0}
@media(max-width:850px){.auth-panel{width:100%;min-width:0}.auth-card{width:min(470px,100%);margin-left:auto;margin-right:auto}.auth-card h1{overflow-wrap:anywhere}}
