:root{font-family:"Plus Jakarta Sans",system-ui,sans-serif;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;min-height:100%;}body{background:#f9f2e8;color:#281d13}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}
.auth-shell{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(400px,.95fr);min-height:100vh}
.auth-brand{padding:38px clamp(26px,5vw,82px);display:flex;flex-direction:column;justify-content:space-between;color:#fff;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 72% 46%,#5b3307 0,transparent 41%),linear-gradient(130deg,#0c0a08,#251a0f 55%,#110e0a)}
.auth-brand:before{content:"";position:absolute;z-index:-1;width:76%;aspect-ratio:1;right:-25%;top:16%;border:1px solid #f3b64d77;border-radius:50%;box-shadow:0 0 0 38px #f3b64d0e,0 0 0 90px #f3b64d0a,0 0 100px #e5a32925;transform:rotate(-23deg)}.auth-brand:after{content:"";position:absolute;z-index:-1;right:-5%;bottom:6%;width:40%;height:150px;opacity:.5;background:repeating-linear-gradient(90deg,transparent 0 13px,#dd9826 14px 19px,transparent 20px 25px);mask-image:linear-gradient(20deg,transparent,#fff)}
.auth-brand-name,.mobile-brand{display:flex;align-items:center;gap:13px}.auth-brand-name b{display:block;font-size:17px;letter-spacing:-.45px}.auth-brand-name small{display:block;font-size:9px;font-weight:800;letter-spacing:.6px;color:#ffc360;margin-top:4px}.brand-mark{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:12px;color:#2d1c08;font-size:28px;font-weight:800;background:linear-gradient(145deg,#ffe69a,#faa810 67%,#b87207);box-shadow:0 6px 22px #ed9c2048}.brand-story{max-width:640px;padding:65px 0}.eyebrow{color:#cf8a23;font-size:10px;font-weight:800;letter-spacing:2.1px}.auth-brand .eyebrow{color:#ffd176}.brand-story h1{font-size:clamp(40px,4.2vw,66px);letter-spacing:-2.8px;line-height:1.13;margin:18px 0 22px}.brand-story h1 em{font-style:normal;color:#f9b33b}.brand-story p{max-width:500px;line-height:1.9;font-size:14px;color:#ddd0bb}.hero-tiles{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.hero-tiles span{font-size:11px;font-weight:800;border-radius:40px;padding:11px 15px;border:1px solid #e9aa4849;background:#f4a82616;color:#f5c87b}.brand-foot{font-size:10px;color:#a99c8a}
.auth-panel{width:min(100%,570px);align-self:center;justify-self:center;padding:45px clamp(24px,5vw,72px);}.back-link{font-size:11px;font-weight:800;color:#94621e}.back-link:hover{color:#e98c0b}.mobile-brand{display:none}.panel-hero{margin:39px 0 26px}.panel-hero h2{font-size:clamp(30px,3vw,44px);margin:9px 0;letter-spacing:-1.8px;line-height:1.15}.panel-hero p{margin:0;color:#7c7166;font-size:13px;line-height:1.75}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;border:1px solid #e5d7c4;border-radius:15px;background:#f1e6d5;margin-bottom:22px}.auth-tabs button{border:0;border-radius:11px;padding:12px;background:transparent;font-size:12px;font-weight:800;color:#836f57}.auth-tabs button.selected{background:#fffaf3;box-shadow:0 3px 13px #472a1220;color:#c57506}
form label{display:block;font-weight:800;font-size:11px;margin-bottom:16px}form input{display:block;width:100%;margin-top:8px;padding:14px 15px;border:1px solid #decfb9;background:#fffbf5;color:#201710;border-radius:12px;outline:0;font-size:13px}form input:focus-visible{border-color:#cc8214;box-shadow:0 0 0 3px #efb95e3d}.form-options{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#958675;font-size:10px;margin:3px 0 24px}.text-button{border:0;color:#ad6c0c;font-weight:800;background:transparent;font-size:11px}.primary{width:100%;display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border:0;border-radius:12px;font-size:13px;font-weight:800;background:linear-gradient(100deg,#ffba25,#de7e00);color:#fff;box-shadow:0 12px 25px #cc771d40}.primary:hover,.google:hover{filter:brightness(1.04);transform:translateY(-1px)}.primary span{font-size:20px}.separator{display:flex;align-items:center;gap:14px;margin:22px 0;color:#908271;font-size:11px}.separator:before,.separator:after{content:"";flex:1;height:1px;background:#e1d1ba}.google{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;border:1px solid #d7c6af;background:#fffdfa;color:#281d13;padding:14px;border-radius:12px;font-weight:800;font-size:12px}.auth-status{min-height:24px;margin:17px 0 5px;color:#866014;font-size:12px;line-height:1.6}.auth-status.error{color:#a52a1d}.agreement{font-size:10px;line-height:1.8;color:#938372}.panel-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin-top:36px;font-size:10px;color:#937f65}.panel-footer a:hover{color:#bd791b}
@media(max-width:880px){.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{max-width:540px;min-height:100dvh;padding:24px 28px 36px}.mobile-brand{display:flex;justify-content:center;font-size:15px;font-weight:800;margin:38px 0 28px}.panel-hero{margin:24px 0 24px}.auth-shell{background:radial-gradient(circle at 50% -10%,#ffe2a6,transparent 40%),#f9f2e8}}
@media(max-width:470px){.auth-panel{padding:18px 23px 30px}.mobile-brand{margin:28px 0 32px}.panel-hero h2{font-size:35px}.panel-footer{margin-top:25px}}
/* Use the same genuine portrait shown beside the public homepage name. */
.brand-portrait{display:block;width:47px;height:47px;object-fit:cover;border:2px solid #e6a839;border-radius:13px;box-shadow:0 7px 24px #cc8a2c36;flex:none}

/* Auth mode fields: author CSS must never override the hidden attribute. */
.auth-panel [hidden]{display:none!important}
.auth-panel .field-required{float:right;font-size:9px;font-weight:750;color:#a4763b}
.auth-panel .google-notice{margin:10px 0 0;color:#866b4f;font-size:11px;line-height:1.55;text-align:center}
.auth-panel #googleBtn:disabled{cursor:not-allowed;opacity:.65}

/* Pakistan signup number: fixed +92 country prefix; other auth visuals untouched. */
.auth-panel .pk-phone-wrap{
 display:flex;align-items:center;overflow:hidden;width:100%;min-height:48px;
 margin-top:8px;border:1px solid #decfb9;border-radius:12px;
 background:#fffbf5;transition:border-color .16s ease,box-shadow .16s ease
}
.auth-panel .pk-phone-wrap:focus-within{border-color:#cc8214;box-shadow:0 0 0 3px #efb95e3d}
.auth-panel .pk-phone-prefix{
 display:flex;align-items:center;align-self:stretch;justify-content:center;flex:0 0 auto;
 padding:0 13px;border-right:1px solid #eadbc4;
 color:#80571f;background:#f9eedb;font-size:12px;font-weight:800;white-space:nowrap
}
.auth-panel .pk-phone-wrap input{
 flex:1;min-width:0;width:100%;margin:0;padding:14px 13px;
 border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;
 font-size:13px;color:#201710
}
.auth-panel .pk-phone-wrap input:focus-visible{border:0;box-shadow:none}

/* Hide empty status space; errors and successful form feedback remain visible. */
.auth-panel #authStatus:empty{display:none!important}

/* Sign Up 2026-11: flexible international country prefix and required policy consent. */
.auth-panel .country-phone-field{margin-bottom:16px}
.auth-panel .country-phone-field>label{display:block;margin:0 0 7px;font-weight:800;font-size:11px}
.auth-panel .country-phone-field .pk-phone-wrap{margin-top:0}
.auth-panel .pk-phone-wrap .phone-country{
 display:block;flex:0 0 clamp(116px,36%,145px);width:clamp(116px,36%,145px);
 align-self:stretch;min-width:0;margin:0;padding:10px 8px;
 border:0;border-right:1px solid #e8d8bd;border-radius:0;
 background:#f9eedb;color:#80571f;font-size:11px;font-weight:800;
 cursor:pointer;outline:none;appearance:auto;
}
.auth-panel .pk-phone-wrap .phone-country:focus-visible{box-shadow:inset 0 0 0 2px #dca24a}
.auth-panel .custom-dial-wrap{margin-top:9px;padding:10px 12px;border:1px solid #ecd9b5;border-radius:11px;background:#fff6e7}
.auth-panel .custom-dial-wrap label{display:block;margin:0 0 5px;font-size:10px}
.auth-panel #customDialCode{width:100%;margin:0;padding:10px 11px;min-height:39px}
.auth-panel .auth-terms{margin:0 0 18px}
.auth-panel .auth-terms>label{
 display:flex;align-items:flex-start;gap:11px;
 margin:0;padding:13px 12px;border:1px solid #e7d5b9;border-radius:13px;
 background:#fffaf2;font-size:11px;font-weight:500;line-height:1.65;color:#6d5740;cursor:pointer
}
.auth-panel .auth-terms input[type="checkbox"]{
 display:block;flex:0 0 18px;width:18px;height:18px;min-height:18px;
 padding:0;margin:2px 0 0;accent-color:#b97815;cursor:pointer;
 border-radius:5px
}
.auth-panel .auth-terms span{min-width:0}
.auth-panel .auth-terms a{font-size:11px;color:#a46a18;font-weight:800;text-decoration:underline;text-underline-offset:2px}
.auth-panel .auth-terms:has(input:focus-visible)>label{outline:2px solid #e2b76d;outline-offset:2px}
.auth-panel .resend-confirmation{
 display:block;width:100%;min-height:40px;margin:8px 0 0;padding:10px 12px;
 background:#fffaf0;border:1px solid #ddbb88;border-radius:10px;
 color:#94601d;font-size:11px;font-weight:850
}
.auth-panel .resend-confirmation[hidden]{display:none!important}
@media(max-width:470px){
 .auth-panel .pk-phone-wrap .phone-country{flex-basis:117px;width:117px;font-size:10px;padding-left:6px;padding-right:3px}
 .auth-panel .pk-phone-wrap input{padding:12px 9px}
 .auth-panel .auth-terms>label{padding:11px 10px;font-size:10px}
}
