/* Log in / Sign up */
body { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.account-page { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--myanmar); font-size: 20px; line-height: 1; padding-top: 0.076em;   /* the glyph's ink sits 0.04em above the line box centre (measured) */
}
.brand-name { font-size: 17px; font-weight: 700; }

.card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px 24px;
}
.card[hidden], form[hidden] { display: none; }


h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.sub { font-size: 13px; color: var(--text2); margin: 4px 0 18px; }
label { display: block; font-size: 12px; font-weight: 600; margin: 14px 0 6px; }
input {
  width: 100%;
  padding: 11px 12px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
}
input:focus { border-color: var(--accent); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 11px; color: var(--muted); margin-top: 6px; }
.error { font-size: 12px; color: var(--accent2); min-height: 18px; margin: 12px 0 4px; }
.wide { width: 100%; margin-top: 4px; }
.stack { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.switch { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }
.foot { font-size: 12px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }
.ok { font-size: 12px; color: var(--status-complete); min-height: 0; margin: 0 0 8px; }
.ok:empty { display: none; }
.notice {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  background: color-mix(in srgb, var(--status-over) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--status-over) 45%, transparent);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 4px 0 6px;
}
.notice.ok-notice {
  background: color-mix(in srgb, var(--status-complete) 10%, transparent);
  border-color: color-mix(in srgb, var(--status-complete) 40%, transparent);
}
.notice[hidden], #invite-bad[hidden], #su-invite-box[hidden] { display: none; }
.role-badge {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 6px; padding: 0 5px; vertical-align: 1px;
}
.role-badge[hidden] { display: none; }
.muted { color: var(--muted); }
.step { font-size: 12px; color: var(--text2); margin: 0 0 10px; min-height: 1.6em; }
.step.done { color: var(--status-complete); }
h2 { font-size: 14px; font-weight: 700; margin: 22px 0 6px; padding-top: 18px; border-top: 1px solid var(--border); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; margin-top: 14px; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { overflow-wrap: anywhere; }
.card .switch { line-height: 1.7; }
/* One focus ring, not two: the border turns blue, plus a soft glow instead of the outline */
input:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
