:root {
  color-scheme: light;
  font: 16px/1.4 system-ui, sans-serif;
  color: #14243b;
  background: #edf2fa;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem max(5vw, 1rem);
  color: #fff;
  background: #112e68;
  font-size: 1.2rem;
}
.top-brand { display: flex; align-items: center; gap: .55rem; }
.top-brand img { flex: none; object-fit: contain; }
.top strong { color: #b9d3ff; }
.top a { color: inherit; font-size: 1rem; }
main { width: min(80rem, 94%); margin: 0 auto; padding: clamp(1.4rem, 4vw, 3.5rem) 0; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.instructions { color: #465a77; font-size: clamp(1.05rem, 2vw, 1.45rem); margin: .7rem 0 1.5rem; }
form { margin: 0 0 1.5rem; }
label { display: block; margin-bottom: .35rem; font-weight: 700; }
.lookup-controls { display: flex; gap: .65rem; flex-wrap: wrap; }
input, button { border-radius: .6rem; min-height: 3.2rem; font: inherit; }
input { border: 1px solid #879ab8; padding: .65rem .8rem; flex: 1 1 12rem; min-width: 0; color: inherit; }
button { padding: .65rem 1.2rem; background: #173c8f; color: #fff; border: 0; font-weight: 700; cursor: pointer; }
:focus-visible { outline: 3px solid #3569d7; outline-offset: 3px; }
.display { background: #fff; border: 1px solid #ccd8ed; border-radius: 1rem; padding: clamp(1rem, 3vw, 2.8rem); min-height: 10rem; display: grid; align-content: center; }
.result { display: flex; gap: 1.6rem; align-items: center; }
.result > div { min-width: 0; overflow-wrap: anywhere; }
.result img {
  flex: none;
  width: 60%;
  height: clamp(15rem, 54vh, 35rem);
  object-fit: contain;
  border-radius: .6rem;
  background: #f1f5fc;
}
h2 { font-size: clamp(1.45rem, 3vw, 2.6rem); line-height: 1.15; margin: .25rem 0; }
.metadata { color: #4a607f; margin: 0; font-weight: 700; }
.price-label { margin: .8rem 0 0; color: #465a77; font-weight: 700; }
.price { color: #174ba4; font-size: clamp(2.5rem, 8vw, 6rem); line-height: 1.1; font-weight: 850; margin: .2rem 0 0; }
.price.unpriced { font-size: clamp(1.2rem, 3vw, 2rem); color: #465a77; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: .65rem 1rem; margin: 1rem 0 0; }
.specs:empty { display: none; }
.specs dt { color: #465a77; font-size: .9rem; font-weight: 700; }
.specs dd { margin: .1rem 0 0; }
.product-note { color: #465a77; margin: .85rem 0 0; }
.status { color: #465a77; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 650; margin: 0; }
.status.error { color: #932b29; }
@media (max-width: 36rem) {
  .result { flex-direction: column; align-items: stretch; gap: .8rem; }
  .result img { width: 100%; height: clamp(12rem, 44vh, 23rem); }
}
