/* Password gate for a locked case study. The page itself is generated by claudex/lock-page.mjs;
   this file only styles the prompt that stands in for the content until it is unlocked.
   Uses the case-study tokens, so it sits on the same grid and spacing scale as the page it hides. */

.gate_lock { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: var(--space-3); border-radius: 50%; background: var(--color-white); color: var(--color-heading); box-shadow: inset 0 0 0 1px var(--color-hairline-strong); }
.gate_lock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.gate_form { display: grid; gap: var(--space-1); max-width: 28rem; margin: 0; text-align: left; }
.gate_label { color: var(--color-heading); font-size: var(--text-xs); font-weight: var(--weight-medium); }
.gate_row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gate_input { flex: 1 1 12rem; min-width: 0; height: 48px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-inner); background: var(--color-white); color: var(--color-heading); font: inherit; font-size: var(--text-body); box-shadow: inset 0 0 0 1px var(--color-hairline-strong); }
.gate_input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.gate_input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #B3261E; }
.gate_row .button { flex: 0 0 auto; }
.gate_row .button[disabled] { opacity: 0.6; cursor: progress; }
.gate_msg { min-height: var(--space-3); margin: 0; color: #B3261E; font-size: var(--text-xs); }
.gate_help { margin: var(--space-3) 0 0; max-width: 28rem; color: var(--color-text); font-size: var(--text-small); }
