:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; background: #fff; color: #1f2937; }
.screen { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: max(20px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.access { display: flex; align-items: stretch; gap: 8px; width: min(100%, 480px); }
.access input, .access button { font: inherit; min-height: 50px; border-radius: 8px; }
.access input { flex: 1 1 auto; min-width: 0; padding: 0 14px; border: 1px solid #cbd5e1; outline: none; font-size: 16px; background: white; color: #111827; }
.access input:focus-visible { border-color: #334155; box-shadow: 0 0 0 2px rgba(51,65,85,.12); }
.access input[aria-invalid="true"] { border-color: #be123c; box-shadow: 0 0 0 1px rgba(190,18,60,.18); }
.access input::placeholder { color: #697586; opacity: 1; }
.access button { flex: 0 0 auto; padding: 0 clamp(12px, 3vw, 22px); background: #1f2937; color: #fff; border: 1px solid #1f2937; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.access button:focus-visible { outline: 3px solid #94a3b8; outline-offset: 2px; }
.access button:disabled, .access input:disabled { opacity: .42; cursor: not-allowed; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 340px) { .access { gap: 6px; } .access input { padding: 0 9px; } .access button { padding: 0 10px; font-size: 14px; } }
@media (prefers-reduced-motion: no-preference) { .access button { transition: opacity .15s ease; } }
