:root{color-scheme:light;--auth-forest:#163e30;--auth-ink:#17332a;--auth-muted:#57675c;--auth-line:#cbd6c9;--auth-gold:#ddbc78;--auth-paper:#f7f7f1}
*{box-sizing:border-box}
body{margin:0;color:var(--auth-ink);background:var(--auth-paper);font:16px/1.5 Inter,'Segoe UI',Arial,sans-serif}
button,input{font:inherit}a{color:#24543c;text-underline-offset:3px}button,a,input{touch-action:manipulation}
:focus-visible{outline:3px solid #ae7d30;outline-offset:3px}
[hidden]{display:none!important}.auth-skip{position:absolute;left:10px;top:-100px;background:white;padding:9px;z-index:5}.auth-skip:focus{top:10px}
.auth-bar{min-height:74px;padding:12px clamp(20px,5vw,80px);display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d9e0d5;background:#fafbf6}
.auth-brand{display:inline-flex;align-items:center;gap:9px;color:var(--auth-ink);font:600 25px Georgia,serif;letter-spacing:-.05em;text-decoration:none}
.auth-brand img{width:38px;height:32px;object-fit:contain;background:#193c2c;padding:3px;border-radius:7px}
.auth-bar nav{display:flex;gap:20px}.auth-bar nav a{font-size:14px;font-weight:600;text-decoration:none}.auth-bar nav a:hover{text-decoration:underline}
.auth-stage{max-width:1100px;margin:clamp(22px,5vh,65px) auto 40px;padding:0 28px}
.auth-panel{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(340px,1.15fr);overflow:hidden;border-radius:17px;border:1px solid #d6ddcf;background:#fff;box-shadow:0 12px 55px #1b382312}
.auth-art{min-height:470px;background-color:#123e2b;background-image:linear-gradient(155deg,transparent 30%,#0d3122b3 98%),url('flight.webp');background-size:cover,auto 100%;background-position:center,70% center;position:relative}
.auth-pane{min-width:0;padding:clamp(25px,4vw,55px);align-self:center}.auth-pane h1{font:400 clamp(33px,3.6vw,51px)/1.08 Georgia,serif;letter-spacing:-.05em;margin:0 0 10px}.auth-lead{color:var(--auth-muted);margin:0 0 23px}
.auth-form{display:grid;gap:15px;margin-top:19px}.auth-field{display:grid;gap:5px;min-width:0}.auth-field label,.auth-label{font-size:14px;font-weight:650;color:#253e31}
.auth-field input{padding:11px 12px;min-width:0;width:100%;line-height:1.35;border-radius:7px;border:1px solid #afbfaf;background:#fcfdf9;color:var(--auth-ink);font-size:16px}
.auth-field input:focus{border-color:#4d765b}.auth-field .auth-hint,.auth-hint{color:var(--auth-muted);font-size:14px;margin:2px 0}
.auth-input-wrap{position:relative}.auth-input-wrap input{padding-right:65px}.auth-reveal{position:absolute;right:5px;top:4px;bottom:4px;padding:0 10px;border:0;border-radius:4px;background:transparent;color:#356048;font-size:14px;font-weight:600;cursor:pointer}
.auth-submit,.auth-secondary{justify-content:center;display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--auth-forest);background:var(--auth-forest);color:white;font-size:15px;font-weight:650;border-radius:7px;text-decoration:none;cursor:pointer}
.auth-submit:hover{background:#24523d}.auth-secondary{border-color:#c1ceb9;background:#f7f9f2;color:var(--auth-forest)}button:disabled{cursor:wait;opacity:.62}.auth-submit:disabled{background:#466152}
.auth-switch{margin:20px 0 0;padding-top:17px;border-top:1px solid #dde3d8;color:var(--auth-muted);font-size:14px}.auth-switch a{font-weight:650}.auth-inline{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.auth-inline a{font-size:14px}.auth-error{color:#8a3629;border-left:3px solid #b56f59;background:#fff4f0;border-radius:4px;padding:9px 12px;font-size:15px;margin:15px 0 0}.auth-message{font-size:14px;color:var(--auth-muted);margin:12px 0 0}.auth-error:empty,.auth-message:empty{display:none}
.auth-actions{display:grid;gap:10px;margin:20px 0 0}.auth-actions .auth-secondary{width:100%}.auth-qr{display:block;width:min(230px,100%);height:auto;aspect-ratio:1/1;image-rendering:pixelated;margin:0 auto}
.auth-manual{border:1px solid #d5ded1;background:#f8faf4;border-radius:8px;padding:10px 13px;margin:12px 0}.auth-manual summary{cursor:pointer;font-size:14px;font-weight:600}.auth-manual code{display:block;word-break:break-all;margin:10px 0 2px;font:15px/1.55 monospace}.auth-text-button{border:0;border-radius:4px;padding:6px 0;text-decoration:underline;text-underline-offset:3px;background:transparent;color:#315a40;cursor:pointer;font-size:14px}
.auth-codes{display:grid;grid-template-columns:1fr 1fr;gap:7px 15px;list-style:none;padding:14px 16px;margin:16px 0 8px;border-radius:8px;background:#f5f7ee;border:1px solid var(--auth-line);font:15px/1.6 monospace;word-break:break-all}.auth-check{font-size:14px;display:flex;gap:10px;align-items:center}.auth-check input{width:18px;height:18px;accent-color:var(--auth-forest)}
.auth-otp{letter-spacing:.18em}.auth-wide{width:100%}.auth-legacy{margin-top:16px}.auth-legacy summary{cursor:pointer}.auth-action-link{display:inline-block;font-size:14px;margin:12px 0 0}.auth-loading{color:var(--auth-muted)}
@media(max-width:760px){.auth-stage{max-width:580px;margin:20px auto 32px;padding:0 15px}.auth-panel{display:block;border-radius:13px}.auth-art{min-height:84px;background-size:cover,auto 220%;background-repeat:no-repeat;background-position:center,right 28%;border-bottom:1px solid #173b2a}.auth-pane{padding:24px clamp(18px,4vw,40px)}.auth-bar{min-height:60px;padding:10px 17px}.auth-brand{font-size:22px}.auth-bar nav{gap:13px}.auth-bar nav a{font-size:13px}.auth-art[aria-hidden]{pointer-events:none}}
@media(max-width:370px){.auth-stage{padding:0 8px}.auth-pane{padding:20px 14px}.auth-bar nav{gap:8px}.auth-codes{grid-template-columns:1fr}}
@media (max-width:760px), (max-height:550px) and (any-pointer:coarse) {
  .auth-panel { display:block; overflow:visible; }
  .auth-art { border-radius:13px 13px 0 0; }
  body[data-auth-page="signin"] .auth-art { display:none; }
  body[data-auth-page="signin"] .auth-stage { max-width:580px; margin:12px auto 24px; }
  body[data-auth-page="signin"] .auth-pane { padding:18px clamp(14px,4vw,30px); }
  body[data-auth-page="signin"] .auth-lead { margin-bottom:12px; }
  .auth-field input { touch-action:auto; scroll-margin-block:24px; }
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
