/* ORANZA full-screen authentication. Scoped to the visible sign-in section. */
body:has(#auth:not([hidden])){min-height:100svh;background:#fff7ef;color:#233248;isolation:isolate}
body:has(#auth:not([hidden]))::before{content:"";position:fixed;inset:0;z-index:-2;background:radial-gradient(ellipse at 15% 30%,#ffd7b1 0,transparent 40%),radial-gradient(ellipse at 52% 85%,#ee9145 0,transparent 44%),linear-gradient(110deg,#fffaf4 0%,#fbe7d3 48%,#fffdf9 85%)}
body:has(#auth:not([hidden]))::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('assets/oranza-login-lines.svg') center/cover no-repeat}
body:has(#auth:not([hidden]))>header{position:relative;background:transparent;border:0;box-shadow:none}
body:has(#auth:not([hidden]))>header .bar{max-width:none;padding:28px 5vw;min-height:100px}
body:has(#auth:not([hidden]))>header .oa-logo{width:138px;height:58px;object-fit:contain;background:#fff;border-radius:12px;padding:3px 7px}
body:has(#auth:not([hidden]))>header .oranza-tagline{display:none}
body:has(#auth:not([hidden])) #languagePicker{background:#ffffffa6;border:1px solid #fff;color:#283347;border-radius:22px;min-height:40px;padding:8px 14px;backdrop-filter:blur(12px)}
body:has(#auth:not([hidden]))>main.wrap{max-width:none;padding:0 5vw}
body:has(#auth:not([hidden])) #auth{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(370px,.8fr);gap:9vw;align-items:center;max-width:1440px;margin:0 auto;min-height:calc(100svh - 164px);padding:24px 0 70px;border:0;border-radius:0;box-shadow:none;overflow:visible;background:transparent}
body:has(#auth:not([hidden])) #auth>.intro{padding:0 0 0 1vw;background:none!important;border:0;box-shadow:none;min-height:430px;justify-content:center;color:#233248;position:relative}
body:has(#auth:not([hidden])) .intro h1{font-size:clamp(40px,4.5vw,72px);line-height:1.08;letter-spacing:-2.8px;max-width:660px;margin:0 0 24px;color:#1d2c40;font-weight:750}
body:has(#auth:not([hidden])) .intro>p{font-size:17px;line-height:1.8;max-width:450px;color:#545866;margin:0 0 26px}
body:has(#auth:not([hidden])) .intro-features{gap:10px;margin:0 0 44px}
body:has(#auth:not([hidden])) .intro-features span{background:#ffffff80;border:1px solid #ffffffd9;color:#5a3925;border-radius:40px;padding:10px 16px;font-size:12px;backdrop-filter:blur(8px)}
body:has(#auth:not([hidden])) .intro-bottom{font-size:0;margin:0;padding:0;line-height:1.7}
body:has(#auth:not([hidden])) .intro-bottom .oranza-tagline{font-size:clamp(19px,2vw,28px);display:inline-block;margin:0;color:#983e13;position:relative;font-family:'Segoe Print','Bradley Hand',cursive;font-style:italic}
body:has(#auth:not([hidden])) .intro-bottom .oranza-tagline::after{content:"";position:absolute;left:0;bottom:-8px;width:88%;height:8px;border-top:4px solid #ed7b2a;transform:rotate(-2deg);border-radius:50%}
body:has(#auth:not([hidden])) #auth>.card:not(.intro){padding:36px 34px 40px;background:rgba(255,255,255,.57)!important;border:1px solid #ffffffd9;border-radius:26px;box-shadow:0 22px 80px #64371215,inset 0 1px 0 #fff;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);width:100%;max-width:460px;margin:0 auto;overflow:visible}
body:has(#auth:not([hidden])) #auth .tabs{display:flex;gap:3px;padding:5px;background:#ffffff69;border:1px solid #ffffffaa;border-radius:13px;margin-bottom:32px}
body:has(#auth:not([hidden])) #auth .tabs button{font-size:11px;min-width:0;line-height:1.35;padding:10px 6px;color:#64554b;border-radius:9px}
body:has(#auth:not([hidden])) #auth .tabs button.selected{background:white;color:#a64612;box-shadow:0 3px 12px #68442310}
body:has(#auth:not([hidden])) #auth .form-intro h2{font-size:30px;color:#253146;letter-spacing:-.8px;margin:0 0 8px}
body:has(#auth:not([hidden])) #auth .form-intro p{font-size:13px;color:#635e5d;margin-bottom:28px}
body:has(#auth:not([hidden])) #auth label{color:#4b4747;font-size:12px;gap:9px;margin-bottom:18px}
body:has(#auth:not([hidden])) #auth input{background:#ffffffb5;border:1px solid #e5d6ca;min-height:49px;border-radius:11px;color:#233248;padding:12px 14px;box-shadow:0 1px 2px #76380f04}
body:has(#auth:not([hidden])) #auth input:focus{background:#fff;border-color:#dc6e25;box-shadow:0 0 0 3px #e6782720}
body:has(#auth:not([hidden])) #auth .primary{background:#d76520;border:1px solid #c45616;color:white;border-radius:11px;min-height:49px;font-size:14px;box-shadow:0 7px 17px #c45b1924;margin-top:7px}
body:has(#auth:not([hidden])) #auth .primary:hover{background:#bc5015}
body:has(#auth:not([hidden])) #notice{position:relative;z-index:30;max-width:1440px;margin:0 auto 12px}
body:has(#auth:not([hidden]))>footer{position:relative;padding:16px 24px;color:#786759;background:transparent;font-size:11px}
@media(min-width:1100px){body:has(#auth:not([hidden]))>footer{position:absolute;bottom:0;left:0;right:0}}
@media(max-width:900px){body:has(#auth:not([hidden])) #auth{grid-template-columns:1fr 1fr;gap:5vw}body:has(#auth:not([hidden])) #auth>.card:not(.intro){padding:27px 22px}body:has(#auth:not([hidden])) .intro h1{font-size:44px;letter-spacing:-1.7px}body:has(#auth:not([hidden])) .intro>p{font-size:14px}}
@media(max-width:680px){body:has(#auth:not([hidden]))>header .bar{padding:18px 6vw;min-height:80px}body:has(#auth:not([hidden]))>header .oa-logo{width:110px;height:46px}body:has(#auth:not([hidden]))>main.wrap{padding:0 6vw}body:has(#auth:not([hidden])) #auth{grid-template-columns:1fr;gap:28px;padding:18px 0 30px;min-height:0;margin:0}body:has(#auth:not([hidden])) #auth>.intro{min-height:0;padding:0}body:has(#auth:not([hidden])) .intro h1{font-size:36px;line-height:1.13;letter-spacing:-1.3px;margin-bottom:14px}body:has(#auth:not([hidden])) .intro>p{font-size:13px;line-height:1.7;margin-bottom:16px}body:has(#auth:not([hidden])) .intro-features{margin:0;gap:7px}body:has(#auth:not([hidden])) .intro-features span{padding:7px 12px;font-size:10px}body:has(#auth:not([hidden])) .intro-bottom{display:none}body:has(#auth:not([hidden])) #auth>.card:not(.intro){padding:25px 22px 28px;border-radius:22px;max-width:none}body:has(#auth:not([hidden])) #auth .tabs{margin-bottom:24px}body:has(#auth:not([hidden])) #auth .form-intro h2{font-size:26px}body:has(#auth:not([hidden])) #auth input{font-size:16px}body:has(#auth:not([hidden]))::after{opacity:.55;background-position:36% center}}
@media(prefers-reduced-transparency:reduce){body:has(#auth:not([hidden])) #auth>.card:not(.intro){background:#fff9f2!important}}
body:has(#auth:not([hidden])) .intro h1{font-size:clamp(38px,3.8vw,58px);letter-spacing:-1.8px}
body:has(#auth:not([hidden])) .intro-bottom .oranza-tagline{font-family:'Segoe Print','Bradley Hand','URW Chancery L',cursive!important;font-style:italic!important}
@media(max-width:680px){body:has(#auth:not([hidden])) .intro h1{font-size:31px;letter-spacing:-1px}}

/* Full orange background and a larger visually transparent logo. */
body:has(#auth:not([hidden])){background:linear-gradient(120deg,#ffc777,#f8a453 55%,#e68033)!important}
body:has(#auth:not([hidden]))::before{background:radial-gradient(ellipse at 4% 4%,#ffdaa2 0,transparent 46%),radial-gradient(ellipse at 82% 90%,#d96725 0,transparent 48%),linear-gradient(120deg,#ffbc69 0%,#f3a04f 55%,#eb873b 100%)}
body:has(#auth:not([hidden]))>header{background:transparent!important;border-bottom:0!important}
body:has(#auth:not([hidden]))>header .bar{padding-top:14px;padding-bottom:12px;min-height:120px}
body:has(#auth:not([hidden]))>header .oa-logo{width:230px!important;height:114px!important;max-width:230px!important;max-height:none!important;object-fit:contain;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;mix-blend-mode:multiply}
body:has(#auth:not([hidden])) #auth{min-height:calc(100svh - 180px);padding-top:8px;padding-bottom:70px}
body:has(#auth:not([hidden])) .intro>p{color:#493a33}
body:has(#auth:not([hidden])) .intro-bottom .oranza-tagline{color:#74320f!important}
body:has(#auth:not([hidden])) .intro-bottom .oranza-tagline::after{border-color:#a74b14}
body:has(#auth:not([hidden]))>footer{color:#684328!important}
body:has(#auth:not([hidden])) #auth>.card:not(.intro){background:rgba(255,251,244,.68)!important;border-color:#ffffffa6;box-shadow:0 22px 80px #8b3c1c24,inset 0 1px 0 #fff6}
@media(max-width:680px){body:has(#auth:not([hidden]))>header .bar{min-height:105px;padding-top:7px;padding-bottom:7px}body:has(#auth:not([hidden]))>header .oa-logo{width:190px!important;height:95px!important;max-width:190px!important}body:has(#auth:not([hidden])) #auth{min-height:0;padding-top:6px;padding-bottom:30px}}
/* Light orange behind the brand improves contrast without a white logo tile. */
body:has(#auth:not([hidden]))::before{background:radial-gradient(ellipse at 0% 0%,#ffeac9 0,transparent 43%),radial-gradient(ellipse at 82% 90%,#d96725 0,transparent 48%),linear-gradient(120deg,#ffc16d 0%,#f3a04f 55%,#eb873b 100%)}
body:has(#auth:not([hidden]))>header{z-index:auto!important}
body:has(#auth:not([hidden]))>header .oa-logo{mix-blend-mode:multiply!important;filter:contrast(1.1) saturate(1.1)}

@media(max-width:680px){body:has(#auth:not([hidden]))>header,body:has(#auth:not([hidden]))>header .bar,body:has(#auth:not([hidden]))>header strong{background:transparent!important;isolation:auto!important;box-shadow:none!important}body:has(#auth:not([hidden]))>header{z-index:auto!important}body:has(#auth:not([hidden]))>header .oa-logo{background:transparent!important;mix-blend-mode:multiply!important}}

/* R19: keep input hit targets above decoration and avoid footer overlap. */
body:has(#auth:not([hidden]))>footer{position:relative!important;inset:auto!important}
#auth>.card:not(.intro){position:relative;isolation:isolate;z-index:1}
#auth>.card:not(.intro)::before,#auth>.card:not(.intro)::after,#auth form::before,#auth form::after,#auth label::before,#auth label::after{pointer-events:none!important}
#auth form[hidden]{display:none!important}#auth label{position:relative;display:flex;flex-direction:column;cursor:text}
#auth input{position:relative;pointer-events:auto!important;touch-action:manipulation;z-index:1;width:100%;min-width:0;user-select:text!important;-webkit-user-select:text!important}
#auth .auth-password-row{display:flex;gap:8px;align-items:center;min-width:0;position:relative}
#auth .auth-password-row input{flex:1;width:0;min-height:49px}
#auth .auth-password-toggle{position:relative;flex:0 0 auto;min-height:44px;padding:8px 10px;border:1px solid #d8b395;background:#fff8ef;color:#773b15;border-radius:9px;cursor:pointer;z-index:2}
