:root{--green:#0F3D2E;--green-d:#0A2D22;--gold:#B8923A;--ink:#1B2420;--muted:#5E6B64;--line:#D9DFDA;--bg:#F7F6F2;--danger:#A63D33;--ok:#1F6F4A}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{font-family:'Source Sans 3','Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.hidden{display:none!important}
.auth{display:grid;grid-template-columns:minmax(340px,42%) 1fr;min-height:100vh}
.brand{background:var(--green);color:#fff;padding:48px 52px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.brand .star{position:absolute;right:-140px;bottom:-140px;width:520px;height:520px;fill:none;stroke:#fff;stroke-width:.6;opacity:.07}
.brand .logos{display:flex;gap:14px;align-items:center}
.brand .logos img{width:52px;height:52px;border-radius:50%;background:#fff;object-fit:cover}
.brand .org{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#D9C28A;margin:28px 0 8px}
.brand h1{font-family:'Amiri',Georgia,serif;font-weight:700;font-size:40px;line-height:1.15;margin:0 0 14px}
.brand p{color:#CFDDD5;max-width:340px;margin:0}
.brand small{color:#9DB5A9;font-size:13px;position:relative}
.brand>div{position:relative}
.panel{display:flex;align-items:center;justify-content:center;padding:40px 24px}
.box{width:100%;max-width:410px}
.mhead{display:none}
.tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:26px}
.tabs button{flex:1;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:12px 0;font:600 15px inherit;font-family:inherit;color:var(--muted);cursor:pointer}
.tabs button.on{color:var(--green);border-bottom-color:var(--green)}
h2{font-family:'Amiri',Georgia,serif;font-size:28px;margin:0 0 4px;color:var(--green)}
.sub{color:var(--muted);margin:0 0 22px;font-size:15px}
label{display:block;font-size:14px;font-weight:600;margin:16px 0 6px}
input,select{width:100%;height:48px;border:1px solid #B9C2BC;border-radius:6px;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
input:focus,select:focus,button:focus-visible{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}
.pw{position:relative}
.pw button{position:absolute;right:6px;top:6px;height:36px;padding:0 10px;background:none;border:0;color:var(--green);font:600 13px inherit;font-family:inherit;cursor:pointer}
.btn{width:100%;height:50px;margin-top:22px;border:0;border-radius:6px;background:var(--green);color:#fff;font:600 16px inherit;font-family:inherit;cursor:pointer}
.btn:hover{background:var(--green-d)}
.btn[disabled]{opacity:.65;cursor:wait}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid #B9C2BC;display:flex;gap:10px;align-items:center;justify-content:center;margin-top:0}
.btn.ghost:hover{background:#F2F4F1}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin:22px 0}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.link{background:none;border:0;color:var(--green);font:600 14px inherit;font-family:inherit;cursor:pointer;padding:6px 0;text-decoration:underline}
.msg{border:1px solid;border-left-width:4px;border-radius:6px;padding:11px 14px;font-size:14.5px;margin-bottom:18px;background:#fff}
.msg.err{border-color:var(--danger);color:var(--danger)}
.msg.ok{border-color:var(--ok);color:var(--ok)}
.msg.info{border-color:var(--gold);color:#6B5420}
.otp{letter-spacing:.5em;text-align:center;font-size:24px;font-weight:600}
.foot{margin-top:28px;font-size:13px;color:var(--muted);text-align:center}
.status{border:1px solid var(--line);background:#fff;border-radius:8px;padding:22px;margin:4px 0 20px}
.status b{display:block;font-size:17px;margin-bottom:6px;color:var(--green)}
@media(max-width:820px){
 .auth{grid-template-columns:1fr}
 .brand{display:none}
 .panel{align-items:flex-start;padding:28px 20px 40px}
 .mhead{display:flex;align-items:center;gap:12px;margin-bottom:28px}
 .mhead img{width:44px;height:44px;border-radius:50%}
 .mhead b{display:block;font-family:'Amiri',serif;font-size:20px;color:var(--green);line-height:1.1}
 .mhead span{font-size:12px;color:var(--muted)}
}
