/* signin.css — Sign In screen
   Tokens loaded by index.php via <link> tags. Do not @import here. */

/* Override base.css: Sign In is a form page, not an app frame. */
html, body { overflow: auto; }

html, body {
  min-height: 100svh;
  background: var(--canvas);
  color: var(--text-1);
  font-family: var(--font-core);
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signin-wrap {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad-frame);
  padding-bottom: calc(var(--pad-frame) + env(safe-area-inset-bottom, 0px));
}

.signin-form {
  width: 100%;
  max-width: var(--content-w);
  display: flex;
  flex-direction: column;
}

.signin-head {
  font-size: var(--fs-head);
  font-weight: var(--fw-800);
  letter-spacing: var(--ls-snug);
  color: var(--text-1);
  margin: 0 0 20px;
  line-height: var(--lh-tight);
}

.signin-helper {
  font-size: var(--fs-base);
  font-weight: var(--fw-600);
  color: var(--text-3);
  margin: 0 0 16px;
  line-height: var(--lh-body);
}

.signin-field {
  width: 100%;
  height: var(--field-h);
  padding: 0 14px;
  background: var(--w-08);
  border: 1px solid var(--w-12);
  border-radius: 10px;
  color: var(--text-1);
  font-family: var(--font-core);
  font-size: var(--fs-base);
  font-weight: var(--fw-600);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.signin-field::placeholder {
  color: var(--text-4);
}

.signin-field:focus {
  border-color: var(--w-24);
}

.signin-error {
  font-size: var(--fs-meta);
  font-weight: var(--fw-600);
  color: var(--accent);
  margin: 6px 0 0;
  line-height: var(--lh-body);
}

.signin-btn {
  width: 100%;
  height: var(--field-h);
  margin-top: 10px;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  color: var(--color-white);
  font-family: var(--font-core);
  font-size: var(--fs-base);
  font-weight: var(--fw-800);
  letter-spacing: var(--ls-flat);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.signin-btn:active {
  opacity: 0.82;
}

.signin-back {
  display: inline-block;
  margin-top: 20px;
  font-size: var(--fs-meta);
  font-weight: var(--fw-600);
  color: var(--text-3);
  text-decoration: none;
  text-align: center;
}

.signin-back:active {
  color: var(--text-1);
}
