@font-face {
  font-family: Inter;
  src: url(Inter.ttf) format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #292725;
  --paper: #f7f6f1;
  --muted: #625c55;
  --border: #dbd8cf;
  --teal: #6fc3be;
  --amber: #eea512;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Inter, sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #427d78; outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-header, .site-footer { background: var(--ink); color: #faf9f6; }
.review {
  margin: 0;
  background: var(--teal);
  color: #203835;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
}
.header-row {
  min-height: 84px;
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 144px; height: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 13px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links [aria-current='page'] { text-decoration: none; font-weight: 650; }
.site-header .nav-links [aria-current='page'] { color: #a8dcd8; }

main { padding-block: 42px 64px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
.page-heading { margin: 21px 0 26px; max-width: 760px; }
h1 { font-size: clamp(34px, 5.6vw, 58px); font-weight: 580; line-height: 1.04; letter-spacing: -.045em; margin: 0 0 16px; }
h2 { font-size: 21px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 12px; }
main p, main li { line-height: 1.5; }
p { margin: 0 0 14px; }
.page-heading > p { font-size: 17px; color: var(--muted); }
.columns { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 34px; }
.panel { background: #fff; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--border); border-radius: 16px; }
.info { padding: 16px 0; }
.info section + section { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 24px; }
.info p, .info li { color: var(--muted); font-size: 15px; }
ul { padding-inline-start: 22px; }
li + li { margin-top: 9px; }
.field { margin-bottom: 16px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.hint, .optional { color: var(--muted); font-size: 13px; font-weight: 400; }
.hint { margin: 7px 0 0; }
input, textarea, select {
  display: block;
  width: 100%;
  min-height: 48px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #b9b4a9;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid #427d78; outline-offset: 2px; }
textarea { min-height: 122px; resize: vertical; }
.submit {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: 650 15px/1.35 Inter, sans-serif;
}
.status { margin: 14px 0 0; color: #27504a; font-size: 14px; font-weight: 550; }
.status:empty { display: none; }
.ticket-notice { margin-bottom: 16px; }
.ticket-turnstile { margin-bottom: 12px; }
.submit:disabled { cursor: default; opacity: .7; }
.ticket-reload {
  margin-top: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: #27504a;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.policy { max-width: 760px; }
.policy section { margin-top: 30px; }
.policy .version { color: var(--muted); font-size: 14px; }
.site-footer { padding: 22px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 10px 25px; flex-wrap: wrap; }
.footer-row p { margin: 0; color: #e1dcd3; font-size: 13px; }
.site-footer .nav-links { font-size: 11px; }

@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .header-row { gap: 2px 18px; }
  .nav-links { gap: 0 16px; }
  main { padding-block: 24px 42px; }
  .columns { grid-template-columns: 1fr; gap: 16px; }
}

.supplier-form select {
  appearance: none;
  padding-inline-end: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23292725' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}

.supplier-form input[type="file"] {
  font-size: 13px;
}

.supplier-form input[type="file"]::file-selector-button {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 6px 9px;
  margin-right: 8px;
  font: inherit;
  cursor: pointer;
}
