/* Scout student sign-in (GLOBAL: engine/scout/signin/). Colours and fonts come from the partner's theme
   (the same --sc-* roles as Scout itself), written into the page by the build. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background: var(--sc-bg, #f7f5f4); color: var(--sc-ink, #1c1a19); font: 16px/1.5 var(--sc-body, Arial, sans-serif); }
.card { width: 100%; max-width: 420px; background: var(--sc-card, #fff); border: 1px solid var(--sc-line, #e2dcda);
  border-radius: var(--sc-radius, 12px); padding: 28px 24px 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.logo { height: 44px; width: auto; }
.name { margin: 0; font: 700 22px/1.1 var(--sc-display, Arial, sans-serif); color: var(--sc-mark, #333); text-align: right; }
.name span { display: block; font: 400 12px/1.3 var(--sc-body, Arial, sans-serif); color: var(--sc-muted, #5a5452); margin-top: 2px; }
h1 { margin: 0 0 8px; font: 700 24px/1.2 var(--sc-display, Arial, sans-serif); color: var(--sc-heading, inherit); }
.intro { margin: 0 0 16px; color: var(--sc-ink, #1c1a19); }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--sc-line, #ccc); border-radius: 8px; background: #fff; }
input:focus { outline: 2px solid var(--sc-action, #333); outline-offset: 1px; border-color: transparent; }
#code { font-size: 24px; letter-spacing: 8px; text-align: center; }
button[type=submit] { width: 100%; margin-top: 8px; padding: 12px 16px; border: 0; border-radius: 8px; cursor: pointer;
  font: 700 16px/1.2 var(--sc-body, Arial, sans-serif); background: var(--sc-action, #333); color: #fff; }
button[type=submit]:hover { background: var(--sc-action-dark, #111); }
button[disabled] { opacity: .6; cursor: default; }
.err { min-height: 1.4em; margin: 6px 0 0; font-size: 14px; color: var(--sc-action, #b00); }
.links { text-align: center; font-size: 14px; color: var(--sc-muted, #5a5452); margin: 12px 0 0; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--sc-action, #333); text-decoration: underline; cursor: pointer; }
.msg { background: var(--sc-tint, #f5f5f5); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.test { background: #fff4d6; border: 1px solid #e6c463; color: #5c4400; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 0 0 16px; }
#human { margin-top: 8px; }
.help { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--sc-line, #e2dcda); font-size: 13px; color: var(--sc-muted, #5a5452); }
.help a { color: inherit; }
