* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0; padding: 0; background: #fff; color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
#app {
  width: 100%; max-width: 700px; margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom)) 20px;
}
.screen { width: 100%; }
.hidden { display: none; }
h1 { margin: 0 0 28px; font-size: 2rem; line-height: 1.25; }
nav { display: flex; flex-direction: column; gap: 10px; }
button {
  width: 100%; min-height: 58px; padding: 14px 16px;
  border: 2px solid #222; border-radius: 8px;
  background: #fff; color: #111; font: inherit; font-weight: 600;
  text-align: left; cursor: pointer;
}
button:focus-visible { outline: 4px solid #005fcc; outline-offset: 3px; }
button:active { background: #eee; }
#criteria-content { font-size: 1.15rem; }
#criteria-content p { margin: 0 0 24px; }
.or-divider, .and-divider { margin: 4px 0 24px; font-weight: 700; }
@media (max-width: 480px) {
  html { font-size: 17px; }
  #app { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 1.8rem; }
  button { min-height: 62px; }
}
