/* /check/ only. Everything else comes from /_shared.css (tokens, tiles, chart, cta, btn). */
/* Shared classes like .actions and .tiles set display, which would otherwise beat the hidden attribute. */
.check [hidden]{display:none!important}
.check-form{margin:22px 0 8px}
.check-form label{display:block;font-weight:700;font-size:15px;margin-bottom:6px}
.check-form .field{display:flex;gap:8px}
.check-form input{flex:1;min-width:0;height:52px;padding:0 14px;font:inherit;font-size:17px;color:var(--ink);background:var(--bg);border:1.5px solid var(--line);border-radius:10px;-webkit-appearance:none;appearance:none}
.check-form input::placeholder{color:var(--faint)}
.check-form input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--tint)}
.check-form .btn{min-height:52px;padding:0 22px;border:0;cursor:pointer;font:inherit;font-weight:700;font-size:16px}
.check-form .btn:disabled{opacity:.55;cursor:default}
.check-form .hint{margin:8px 0 0}
button.btn{border:0;cursor:pointer;font:inherit;font-weight:700}
button.btn.ghost{border:1.5px solid var(--accent)}
button.btn:disabled{opacity:.55;cursor:default}

.loading .bar{height:4px;border-radius:2px;background:var(--line);overflow:hidden;margin-bottom:14px}
.loading .bar span{display:block;height:100%;width:30%;border-radius:2px;background:var(--accent);animation:fph-slide 1.4s ease-in-out infinite}
@keyframes fph-slide{0%{transform:translateX(-100%)}100%{transform:translateX(340%)}}
@media (prefers-reduced-motion:reduce){.loading .bar span{animation:none;width:100%;opacity:.5}}
.loading .elapsed{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:4px}

.problem h2{margin:0 0 4px;font-size:18px}
.problem .actions{margin-top:12px}

.result{margin-top:26px}
.result .matched{color:var(--muted);font-size:14px;margin:0 0 4px;overflow-wrap:anywhere}
.result .matched strong{color:var(--ink);font-weight:650}
.result .answer{font-size:24px;line-height:1.25;letter-spacing:-.01em;margin:4px 0 0;text-wrap:balance}
.result h3{font-size:17px;margin:26px 0 6px}
.result .lead{margin-top:10px}
.result .tile .k a{color:var(--muted)}
.result .tile .v.word{font-size:19px;line-height:1.52;letter-spacing:-.01em}
.result .cached{display:inline-block;font-size:12px;font-weight:700;color:var(--accent);background:var(--tint);border-radius:999px;padding:0 8px;margin-left:6px;vertical-align:1px}

.cta{margin-top:34px}
@media (max-width:480px){
  .check-form .field{flex-direction:column}
  .check-form input{flex:none;width:100%}
  .check-form .btn{justify-content:center;width:100%}
  .result .answer{font-size:21px}
}
