/* =========================================================================
   SiteOS — sign-in screen
   Two columns: a centred 400px form, and an ink art panel (hidden ≤900px).
   ========================================================================= */

.auth { position: fixed; inset: 0; z-index: 500; background: var(--bg); overflow-y: auto; }
.auth-wrap { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.auth-form-col {
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px; padding-top: calc(32px + env(safe-area-inset-top)); padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.auth-card { width: 100%; max-width: 400px; animation: pageIn .45s var(--ease) both; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-title { font-size: 32px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.auth-sub { color: var(--text-2); margin: 10px 0 26px; font-size: 14.5px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field > label { font-size: 12.5px; font-weight: 550; color: var(--text-2); }
.auth-input { position: relative; display: flex; align-items: center; }
.auth-input > svg.i { position: absolute; left: 16px; color: var(--text-3); pointer-events: none; }
.auth-input .input { height: 52px; border-radius: 16px; padding-left: 46px; font-size: 15px; }
.auth-input.has-eye .input { padding-right: 52px; }
.auth-eye { position: absolute; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: none; color: var(--text-3); display: grid; place-items: center; cursor: pointer; }
.auth-eye:hover { color: var(--text); background: var(--surface-hover); }
.auth-submit { height: 52px; font-size: 15px; width: 100%; margin-top: 4px; }
.auth-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.auth-link { background: none; border: 0; padding: 4px 0; font-size: 13px; font-weight: 550; color: var(--text-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
.auth-link:hover { color: var(--text); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }

.auth-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; margin-bottom: 18px; }
.auth-msg svg { margin-top: 1px; }
.auth-msg.error { background: var(--bad-soft); color: var(--bad-text); }
.auth-msg.success { background: var(--good-soft); color: var(--good-text); }
.auth-msg.info { background: var(--sky-soft); color: var(--text); }
.auth-msg.info svg { color: var(--info); }
.auth-foot { margin-top: 28px; font-size: 12.5px; color: var(--text-2); }
.auth-steps { margin: 0 0 18px; padding-left: 20px; color: var(--text-2); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.auth-steps code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-3); padding: 1px 6px; border-radius: 6px; color: var(--text); }

/* Art panel */
.auth-art {
  position: relative; margin: 16px; border-radius: 32px; overflow: hidden;
  background: #121411; color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 64px;
}
.auth-art::before {
  content: ''; position: absolute; top: -140px; right: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,160,255,.4), rgba(110,160,255,0) 68%);
  pointer-events: none;
}
.auth-art > * { position: relative; }
.auth-art-ic { width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; background: #6ea0ff; color: #06142e; }
.auth-headline { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1.08; max-width: 420px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: #a7ab9f; font-size: 15px; }
.auth-points .tick { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #6ea0ff; color: #06142e; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-brand { margin-bottom: 32px; }
}
@media (max-width: 420px) {
  .auth-title { font-size: 28px; }
}
