/* The same page frame the ordinary build writes (build.cjs), for the app once it runs here. */
html, body { margin: 0; padding: 0; background: #EAEEF2; }
#root:not(:empty) { min-height: 100vh; }
* { box-sizing: border-box; }
/* The sign-in page only. The palette is the app's (T in app.jsx): neutral
   greys, the accent PMS 349, and burgundy in the masthead alone. */
#signin-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 24px; background: #EAEEF2; color: #131A22;
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
#signin-wrap[hidden] { display: none; }
.card { width: 100%; max-width: 440px; background: #FFFFFF; border: 1px solid #CFD8E0; border-radius: 6px; padding: 28px; }
.eyebrow { margin: 0 0 2px; color: #512533; font: 600 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
h1 { margin: 0 0 20px; color: #512533; font-size: 22px; line-height: 1.25; }
label { display: block; margin: 0 0 4px; color: #3D4B5A; font-size: 13px; }
label.tick { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; color: #131A22; font-size: 14px; }
input[type=email], input#code { width: 100%; box-sizing: border-box; padding: 9px 10px; margin: 0 0 12px;
  border: 1px solid #CFD8E0; border-radius: 6px; font: inherit; color: #131A22; background: #FFFFFF; }
input#code { font: 20px ui-monospace, Menlo, monospace; letter-spacing: 0.3em; }
input:focus { outline: 2px solid #006D4A; outline-offset: 1px; border-color: #006D4A; }
input[type=checkbox] { accent-color: #006D4A; margin-top: 3px; }
button.primary { width: 100%; padding: 10px; border: 0; border-radius: 6px; background: #006D4A; color: #FFFFFF;
  font: 600 13px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
button.primary:disabled { background: #CFD8E0; cursor: default; }
button.link { padding: 0; border: 0; background: none; color: #006D4A; font: inherit; text-decoration: underline; cursor: pointer; }
.note { margin: 0 0 14px; padding: 8px 10px; border: 1px solid #CFD8E0; border-radius: 6px; background: #F4F7F9; font-size: 14px; }
.note.bad { border-color: #9E2C2C; background: #F9E7E7; color: #9E2C2C; }
.note.good { border-color: #2C6A4E; color: #2C6A4E; }
.small { margin: 12px 0 0; color: #67788B; font-size: 13px; }
iframe.legal { width: 100%; height: 320px; border: 1px solid #CFD8E0; border-radius: 6px; background: #FFFFFF; }
.foot { margin: 16px 0 0; color: #67788B; font-size: 12px; text-align: center; }
.foot a { color: #67788B; }
