/* Passcode page: self-contained, the only stylesheet reachable without a session. */
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; color: #262b38; background: #f5f5f5; line-height: 1.5; }
.bar { background: #fff; border-bottom: 1px solid #e3e3e3; padding: 14px clamp(16px, 4vw, 32px); }
.name { display: flex; flex-direction: column; border-left: 4px solid #ffd617; padding-left: 12px; }
.name b { font-size: 1.25rem; }
.name span { font-size: 0.875rem; color: #515560; }
main { flex: 1; display: grid; place-items: center; padding: 32px 16px; }
.card { width: min(460px, 100%); background: #fff; border: 1px solid #cfcfcf; border-top: 4px solid #004494; padding: 32px; }
h1 { font-size: 1.75rem; margin: 0 0 8px; }
.sub { color: #515560; margin: 0 0 24px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #707070; border-radius: 0; }
input:focus { outline: 3px solid #ffd617; box-shadow: 0 0 0 5px #262b38; }
.err { color: #c31a26; font-weight: 700; min-height: 1.5em; margin: 8px 0; }
button { font: inherit; font-weight: 700; color: #fff; background: #004494; border: 2px solid #004494; padding: 10px 24px; cursor: pointer; border-radius: 2px; }
button:hover { background: #003776; }
button:focus-visible { outline: 3px solid #ffd617; box-shadow: 0 0 0 5px #262b38; }
button:disabled { opacity: 0.6; cursor: wait; }
.note { font-size: 0.875rem; color: #515560; margin: 24px 0 0; border-top: 1px solid #e3e3e3; padding-top: 16px; }
