:root { font: 16px/1.55 system-ui, sans-serif; color: #182b32; background: #edf2f2; }
* { box-sizing: border-box; }
main { width: min(880px, 100% - 2rem); margin: 3rem auto; }
header, .supplier { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.04em; }
h2 { margin: 0; letter-spacing: -.025em; }
section { background: white; border: 1px solid #d6e1e1; border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.25rem; }
section p, small { color: #43585f; }
.supplier { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; padding: 1rem 0; border-top: 1px solid #d6e1e1; }
small, .stack label { display: block; }
code { overflow-wrap: anywhere; }
.stack { display: grid; gap: 1rem; max-width: 30rem; margin-top: 1rem; }
.stack input, select, button { font: inherit; border-radius: .5rem; padding: .55rem .8rem; }
.stack input, select { display: block; width: 100%; margin-top: .25rem; border: 1px solid #82999e; background: white; color: inherit; }
button { background: #126257; border: 1px solid #126257; color: white; cursor: pointer; justify-self: start; }
.secondary { background: white; color: #126257; }
.notice { border: 1px solid #89b8ac; background: #e3f5ec; border-radius: .5rem; padding: .75rem 1rem; }
.toggle { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 575px) {
   main { margin: 1rem auto; }
   section { padding: 1rem; }
   .supplier { grid-template-columns: minmax(0, 1fr) auto; }
   .supplier div { grid-column: 1 / -1; }
}
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.buy { display: inline-block; padding: .55rem .8rem; border-radius: .5rem; color: white; background: #126257; text-decoration: none; }

/* The page fills the viewport. Wide content scrolls inside its own component. */
html, body { width: 100%; min-height: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flow-root; }
main, section, form, fieldset { min-width: 0; max-width: 100%; }
img, video, iframe, input, select, textarea { max-width: 100%; }
pre { max-width: 100%; overflow-x: auto; }
