/* Daylight Painted Canyon Sign-in & Join screen: crisp white card over luminous morning brushwork.
   No dark twilight glass. Keeps light-only contrast and #b3261e / #f2b830 role accents. */
@font-face{font-family:"Fraunces";src:url("fonts/fraunces-latin-var.woff2") format("woff2");font-weight:300 900;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap}

.shell.out:has(.auth){background:#e6f0f7}
.shell.out:has(.auth) #app{min-height:100vh;min-height:100dvh;display:block;padding:0;width:100%;max-width:none}

.auth{
  --ink:#1c1917; --accent:#b3261e; --accent-hover:#951f18; --gold:#f2b830;
  position:relative;isolation:isolate;width:100%;min-height:100vh;min-height:100dvh;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  color:var(--ink);background:#e6f0f7;
  font-family:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
}
.auth-hero,.auth-hero img{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.auth-hero img{object-fit:cover;object-position:center 48%}
.auth::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgb(248 251 254 / .28) 0%,rgb(248 251 254 / .12) 55%,rgb(28 25 23 / .14) 100%);
}
.auth :focus-visible{outline:2.5px solid #264582;outline-offset:2px}

.auth-split{
  position:relative;z-index:1;width:min(1020px,100%);margin:0 auto;
  display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);
  align-items:center;gap:32px;padding:clamp(28px,6vh,56px) clamp(16px,4vw,36px);
}
.auth-col{
  background:rgb(255 255 255 / .96);border:1px solid #e2ddd7;border-radius:8px;
  padding:30px 28px 24px;box-shadow:0 22px 48px -20px rgb(28 25 23 / .28);
  display:flex;flex-direction:column;gap:0;text-align:left;
}
.auth-logo{height:34px;width:auto;object-fit:contain;align-self:flex-start;margin:0 0 18px}
.auth-wordmark{
  display:inline-flex;align-items:center;gap:9px;margin:0 0 18px;
  color:var(--ink);font:600 17px/1 "Fraunces",Georgia,serif;letter-spacing:-.01em;
}
.auth-wordmark .mark{width:28px;height:28px;padding:4px;border-radius:6px;background:var(--ink)}
.auth .eyebrow{
  display:inline-flex;align-self:flex-start;margin:0 0 10px;padding:3px 9px;border-radius:4px;
  font:600 11.5px/1.2 "Hanken Grotesk",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;
}
.auth.role-employee .eyebrow{color:#9c331f;background:#f9ebe7;border:1px solid #ecc6be}
.auth.role-admin .eyebrow{color:#6b4600;background:#fcf3df;border:1px solid #f2b830}
.auth h1{
  margin:0 0 8px;font-family:"Fraunces",Georgia,serif;font-weight:450;
  font-size:clamp(28px,3.2vw,36px);line-height:1.08;letter-spacing:-.025em;color:var(--ink);
}
.auth-sub{margin:0 0 20px;font-size:15px;line-height:1.45;color:#544e49}
.auth-sub b{color:var(--ink);font-weight:600;word-break:break-all}
.auth-form{display:flex;flex-direction:column;gap:12px}
.auth-label{display:block;margin:0 0 -6px;font:600 13px/1.3 "Hanken Grotesk",system-ui,sans-serif;color:var(--ink)}
.auth-form input:not([type="checkbox"]){
  width:100%;height:46px;padding:0 13px;border-radius:6px;border:1px solid #cfc9c1;
  background:#fff;color:var(--ink);font:400 15.5px/1.4 "Hanken Grotesk",system-ui,sans-serif;
}
.auth-form input:focus{outline:none;border-color:#264582;box-shadow:0 0 0 3px rgb(38 69 130 / .16)}
.auth-code{text-align:center;letter-spacing:.28em;font-weight:700;font-size:20px}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-check{display:inline-flex;align-items:center;gap:8px;margin:0;font:500 14px/1.2 "Hanken Grotesk",system-ui,sans-serif;color:#544e49;cursor:pointer}
.auth-check input{width:17px;height:17px;min-height:0;accent-color:#b3261e}
.auth.role-admin .auth-check input{accent-color:#264582}
.auth .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;
  padding:11px 20px;border-radius:6px;font:600 15px/1.2 "Hanken Grotesk",system-ui,sans-serif;
  text-decoration:none;border:1px solid transparent;cursor:pointer;
}
.auth .btn.wide,.auth .btn.auth-main{width:100%}
.auth.role-employee .btn.auth-main{background:#b3261e;border-color:#b3261e;color:#fff}
.auth.role-employee .btn.auth-main:hover{background:#951f18;border-color:#951f18}
.auth.role-admin .btn.auth-main{background:#1c1917;border-color:#1c1917;color:#fff}
.auth.role-admin .btn.auth-main:hover{background:#332e2a}
.auth .err{margin:0;font-size:13.5px;color:#b42318;font-weight:600}
.auth .err:empty{display:none}
.auth-or{display:flex;align-items:center;gap:10px;color:#78716c;font-size:12px;margin:6px 0}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:#e6e1d9}
.auth-google{min-height:44px;display:flex;justify-content:center}
.auth-row .link,.auth-fine .link,.auth-switch a{
  font:600 13.5px/1.3 "Hanken Grotesk",system-ui,sans-serif;color:#264582;background:none;border:0;padding:4px 0;cursor:pointer;text-decoration:none;
}
.auth-row .link:hover,.auth-fine .link:hover,.auth-switch a:hover{text-decoration:underline;text-underline-offset:3px}
.auth-fine{margin:14px 0 0;font-size:13px;line-height:1.45;color:#78716c}
.auth-switch{margin:16px 0 0;padding-top:14px;border-top:1px solid #ece8e1;font-size:14px}

.auth-panel{
  align-self:end;padding:22px 24px;border-radius:8px;
  background:rgb(255 255 255 / .88);border:1px solid rgb(255 255 255 / .9);
  box-shadow:0 16px 36px -18px rgb(28 25 23 / .2);
}
.auth-panel img{display:none}
.auth-panel h2{
  margin:0 0 6px;font-family:"Fraunces",Georgia,serif;font-weight:450;
  font-size:clamp(22px,2.2vw,28px);line-height:1.15;color:var(--ink);
}
.auth-panel p{margin:0;font-size:14.5px;line-height:1.45;color:#4a443f}

.auth .preview-bar{
  position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:10;
  display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 24px);
  padding:8px 8px 8px 14px;border-radius:6px;background:#1c1917;color:#fff;box-shadow:0 14px 32px rgb(0 0 0 / .25);
}
.auth .preview-bar span{display:flex;align-items:center;gap:6px;font-size:13.5px}
.auth .preview-bar .btn{background:#fff;color:#1c1917;min-height:36px;padding:6px 12px}

@media (max-width:860px){
  .auth-split{grid-template-columns:minmax(0,1fr);padding:24px 16px 40px}
  .auth-panel{display:none}
  .auth-col{width:min(420px,100%);margin:0 auto;padding:24px 20px 20px}
}
@media (prefers-reduced-motion:reduce){.auth *{transition:none}}
