/*
 * SignoutRoom generated stylesheet: auth.bundle.css
 * Purpose: Presents shared sign-in, registration, recovery, and MFA surfaces.
 * Authored entry: /public/pages/shared/auth.css
 * Source-path comments, when present, identify the module that owns each section.
 * This file is generated; edit the authored module and rebuild instead.
 */
/* public/pages/shared/auth.css */
:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --bg: #eef2f4;
  --panel: #ffffff;
  --ink: #172026;
  --muted: #5f6b74;
  --line: #cfd8df;
  --teal: #117a74;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
}
main {
  width: min(480px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 18px;
}
section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 14px 40px rgba(23, 32, 38, 0.12);
}
form,
.stack,
.passkey-list {
  display: grid;
  gap: 10px;
}
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
label.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
label.check input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin: 0;
}
input,
button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
}
button {
  border-color: rgba(17, 122, 116, 0.45);
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}
.secondary,
.theme-toggle {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}
button.danger {
  background: #8f1f2a;
  border-color: rgba(143, 31, 42, 0.5);
}
.theme-toggle {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}
.links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.account-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}
.mfa-code {
  text-align: center;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
a {
  color: var(--teal);
  text-decoration: none;
}
.auth-register a,
.auth-reset-password a {
  font-size: 13px;
  font-weight: 800;
}
a:hover {
  text-decoration: underline;
}
.fine-print,
.status,
.passkey-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}
.status {
  min-height: 20px;
}
.auth-register .fine-print,
.auth-reset-password .fine-print {
  min-height: 20px;
}
.passkey-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.legal-footer {
  text-align: center;
}
.federation-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--teal) 55%, var(--line));
  border-radius: 10px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, var(--panel));
}
.federation-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
