:root {
  color: #171f34;
  background: #f5f7fb;
  font: 100%/1.55 "Instrument Sans", system-ui, sans-serif;
  --brand: #183ba5;
  --border: #d6ddea;
  --muted: #465675;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.bar { background: #14275c; color: white; }
.bar .wrap, .bar nav, .line, .inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
}
.bar .wrap, .line { justify-content: space-between; }
.bar .wrap { min-height: 4.25rem; padding-block: .75rem; }
.bar a { color: inherit; text-underline-offset: .25em; }
.brand { font-size: 1.3rem; font-weight: 850; text-decoration: none; }
a { color: var(--brand); }
main { padding-block: 1.6rem 4rem; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0 .65em; letter-spacing: -.045em; line-height: 1.1; }
h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
p { margin: .45rem 0 1rem; }
.line > h2 { margin: 0; }
.notice { background: #e5eeff; padding: .8rem 1rem; border-inline-start: .25rem solid var(--brand); }
.columns, .catalog { display: grid; gap: 1rem; }
.columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.catalog { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.panel, .tile { background: white; border: 1px solid var(--border); border-radius: .8rem; }
.panel { padding: clamp(1rem, 3vw, 1.5rem); margin-bottom: 1rem; overflow-wrap: anywhere; }
.tile { overflow: hidden; }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #eef2fa; object-fit: contain; }
.tile-body { padding: 1rem; overflow-wrap: anywhere; }
.muted { color: var(--muted); margin: 0; }
.price { font-size: 1.1rem; color: #14275c; font-weight: 800; }
.panel .line { padding: .7rem 0; border-bottom: 1px solid var(--border); }
.panel .line:last-child { border-bottom: 0; }
.status { display: inline-block; padding: .2rem .65rem; background: #e5eeff; color: #14275c; border-radius: 1rem; }
.fields { display: grid; gap: .85rem; max-width: 38rem; }
label { display: grid; gap: .2rem; font-weight: 650; }
.check { display: flex; align-items: center; gap: .45rem; }
input, textarea, select, button { font: inherit; }
input:not([type="checkbox"]), textarea, select {
  width: 100%;
  min-height: 2.65rem;
  padding: .45rem .65rem;
  background: white;
  color: inherit;
  border: 1px solid #8495b2;
  border-radius: .35rem;
}
textarea { min-height: 5rem; resize: vertical; }
.inline label { width: 4.3rem; }
.inline { align-items: end; }
button {
  justify-self: start;
  padding: .48rem .85rem;
  min-height: 2.65rem;
  background: var(--brand);
  color: white;
  border: 1px solid var(--brand);
  border-radius: .35rem;
  font-weight: 750;
  cursor: pointer;
}
button.secondary { color: var(--brand); background: white; }
:focus-visible { outline: .18rem solid #c85107; outline-offset: .2rem; }
details { margin-top: .85rem; border-top: 1px solid var(--border); padding-top: .8rem; }
summary { cursor: pointer; font-weight: 750; }
details form { margin-top: .75rem; }
