* { box-sizing: border-box; }
body { margin: 0; background: #f4f3eb; color: #192c23; font: 16px/1.5 system-ui, sans-serif; }
.wrap { width: min(1190px, calc(100% - 32px)); margin-inline: auto; }
.site-header { background: #15382b; color: white; padding: 14px 0; }
.bar, nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.bar { justify-content: space-between; }
.brand { font-weight: 750; letter-spacing: .055em; }
.brand span { color: #d9ead9; }
.site-header a { color: inherit; text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
nav form { margin: 0; }
main { padding: 24px 0; }
footer { padding: 14px 0 28px; }
footer span { color: #43584c; }
a { color: #1c5a3f; }
.hero, .panel { padding: clamp(18px, 3vw, 36px); border-radius: 15px; margin-bottom: 16px; }
.hero { background: #1b4835; color: white; }
.panel { background: #fffefa; border: 1px solid #d5dbce; min-width: 0; }
.hero .eyebrow { color: #d1e8ba; }
.eyebrow { margin: 0 0 8px; font-weight: 700; color: #35604a; font-size: 12px; letter-spacing: .12em; }
h1 { margin: 0 0 12px; font: 700 clamp(34px, 6vw, 66px)/1.08 Georgia, serif; overflow-wrap: anywhere; }
h2 { margin: 0 0 12px; line-height: 1.2; font-size: 22px; }
p { margin: 0 0 12px; }
button, .primary, .secondary { display: inline-block; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; font: inherit; font-weight: 650; text-decoration: none; }
button { background: #e5ede1; color: #1d4735; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
.primary { background: #22513a; color: white; }
.hero .primary { background: #dcecc5; color: #152f22; }
.secondary { border-color: #e1ebdf; color: white; }
.quiet { padding: 4px 9px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 29%); gap: 14px; align-items: start; }
.filters, .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.filters { grid-template-columns: 1.5fr 1fr 1fr; }
label { font-weight: 620; }
input, textarea, select { width: 100%; padding: 8px 10px; border: 1px solid #9cafa0; border-radius: 6px; color: inherit; background: white; font: inherit; }
textarea { resize: vertical; }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 144px), 1fr)); gap: 10px; }
.design-card { display: grid; gap: 6px; border: 1px solid #d5dbce; border-radius: 8px; padding: 8px; }
.design-picture { display: block; background-size: 1000% 500%; aspect-ratio: 2; border-radius: 5px; }
.design-card small { color: #475d50; }
.page-controls { margin-top: 12px; }
.selection-row { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; align-items: end; border-bottom: 1px solid #d5dbce; padding: 8px 0; }
.selection-row button { padding-inline: 6px; }
.request-list #pair-total { margin-top: 12px; font-weight: 700; }
.account { max-width: 560px; margin-inline: auto; }
.account h1 { font-size: clamp(30px, 5vw, 47px); }
.account form { margin-block: 20px; }
.helptext, .account form ul:not(.errorlist) { color: #465a4f; font-size: 14px; }
.errorlist, .errors { color: #922f28; }
.errors { background: #ffefe8; padding: 12px; margin-bottom: 12px; border-radius: 6px; }
.lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 16px; background: #e5ede1; color: #224532; }
.orders { list-style: none; padding: 0; }
.orders a { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid #d5dbce; }
:focus-visible { outline: 3px solid #43754f; outline-offset: 3px; }
@media (max-width: 700px) {
  .layout { grid-template-columns: 1fr; }
  .request-list { order: -1; }
  .fields, .filters { grid-template-columns: 1fr; }
}
