/* Slidrush authentication surfaces — shared by login, invitation and reset. */
:root{
  --cream:#F4F1EA;
  --paper:#FFFDF8;
  --yellow:#FFD93D;
  --yellow-soft:#FDF3C9;
  --coal:#1C1C1C;
  --text:#1A1A1A;
  --muted:#72716C;
  --subtle:#9B988F;
  --line:rgba(28,28,28,.11);
  --danger:#B3261E;
  --success:#286D4B;
  --radius-card:28px;
  --radius-control:14px;
  --pill:999px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{min-height:100%;background:var(--cream)}
body{
  min-height:100vh;min-height:100dvh;
  display:grid;place-items:center;
  padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  color:var(--text);background:var(--cream);
  font-family:'Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;
}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.48}
a{color:inherit;text-underline-offset:3px}
[hidden],.hidden{display:none!important}
.auth-shell{width:min(100%,440px)}
.auth-brand{
  display:inline-flex;align-items:center;gap:10px;
  margin:0 0 18px 10px;color:var(--coal);text-decoration:none;
  font-size:21px;font-weight:650;
}
.auth-brand-mark{width:12px;height:12px;border-radius:4px;background:var(--yellow);box-shadow:0 0 0 5px rgba(255,217,61,.22)}
.auth-card{
  width:100%;padding:30px;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card);
  box-shadow:0 16px 46px rgba(28,28,28,.07);
}
.auth-kicker{font-size:12px;font-weight:650;color:var(--muted);margin-bottom:8px}
.auth-title{font-size:clamp(28px,8vw,38px);line-height:1.08;font-weight:500;text-wrap:balance}
.auth-subtitle{margin:10px 0 24px;color:var(--muted);font-size:14px;line-height:1.55;text-wrap:pretty}
.auth-form{display:flex;flex-direction:column;gap:16px}
.auth-field{display:flex;flex-direction:column;gap:7px}
.auth-label{font-size:12px;font-weight:600;color:var(--muted)}
.auth-input{
  width:100%;min-height:48px;padding:11px 14px;
  color:var(--text);background:#FAF8F2;
  border:1px solid var(--line);border-radius:var(--radius-control);outline:none;
  transition:border-color .16s ease-out,box-shadow .16s ease-out,background-color .16s ease-out;
}
.auth-input::placeholder{color:var(--subtle)}
.auth-input:focus{background:var(--paper);border-color:var(--coal);box-shadow:0 0 0 3px rgba(255,217,61,.4)}
.auth-hint{font-size:11.5px;color:var(--subtle)}
.auth-button{
  min-height:50px;margin-top:2px;padding:10px 18px;
  border:1px solid var(--coal);border-radius:var(--pill);
  color:#fff;background:var(--coal);font-weight:650;
  transition:transform .16s ease-out,background-color .16s ease-out;
}
.auth-button:hover:not(:disabled){background:#000;transform:translateY(-1px)}
.auth-message{display:none;margin-bottom:18px;padding:12px 14px;border-radius:var(--radius-control);font-size:13px;line-height:1.45}
.auth-message.error,.auth-message.err{display:block;color:var(--danger);background:#FFF2EF;border:1px solid #EBC6C0}
.auth-message.success,.auth-message.ok{display:block;color:var(--success);background:#EAF6EF;border:1px solid #BFDDCC}
.auth-message.info{display:block;color:#765B00;background:var(--yellow-soft);border:1px solid rgba(255,217,61,.6)}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:12.5px;color:var(--muted)}
.auth-row a{font-weight:600;color:var(--text);white-space:nowrap;flex:none}
.auth-note{display:flex;align-items:flex-start;gap:9px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line);font-size:12px;line-height:1.45;color:var(--muted)}
.auth-note-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--yellow);flex:none}
.auth-footer{text-align:center;margin-top:16px;font-size:12px;color:var(--muted)}
.auth-footer a{font-weight:600;color:var(--text)}
@media(max-width:480px){
  body{place-items:start center;padding-top:max(18px,env(safe-area-inset-top))}
  .auth-shell{margin:auto 0}
  .auth-brand{margin-left:4px}
  .auth-card{padding:24px 20px;border-radius:22px}
  .auth-input,.auth-button{min-height:50px;font-size:16px}
  .auth-row{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important}}
