/* App version: 2026.09.17.28 */
:root{
  --ink:#171717;
  --muted:#5f646b;
  --line:#d9dde2;
  --soft:#f5f6f7;
  --brand:#9f2f1d;
  --brand-dark:#792214;
  --teal:#44656b;
  --sand:#c7b294;
  --success:#17633b;
  --success-bg:#edf8f1;
  --danger:#a02323;
  --danger-bg:#fff1f1;
  --radius:8px;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{color-scheme:light}
body{
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust:100%;
}
a{color:inherit}
button,input,select,textarea{font:inherit}
button,a.button{touch-action:manipulation}

.siteHeader{
  background:var(--teal);
  color:#fff;
  border-bottom:5px solid var(--sand);
}
.headerInner{
  width:min(920px,100%);
  min-height:76px;
  margin:0 auto;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
}
.brand img{
  width:58px;
  height:58px;
  object-fit:contain;
}
.brandText strong{display:block;font-size:18px;line-height:1.1}
.brandText span{display:block;margin-top:4px;font-size:12px;color:rgba(255,255,255,.82)}
.headerLink{
  min-height:44px;
  padding:10px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:6px;
  color:#fff;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

main{width:min(920px,100%);margin:0 auto;padding:28px 18px 56px}
.pageIntro{max-width:720px;margin-bottom:26px}
h1{margin:0 0 10px;font-size:clamp(28px,7vw,42px);line-height:1.04;letter-spacing:0}
.pageIntro p{margin:0;color:var(--muted);font-size:17px;line-height:1.55}
.notice{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:20px 0 0;
  padding:13px 14px;
  border-left:4px solid var(--teal);
  background:#f0f6f7;
  color:#29474d;
  line-height:1.45;
}
.processNotice{margin-top:20px;background:#f7f3ed;border-left-color:var(--brand);color:#3f3028}
.processNotice h2{margin:0 0 8px;font-size:18px;line-height:1.25;letter-spacing:0}
.processNotice p{margin:7px 0;color:inherit;font-size:15px;line-height:1.5}
.processNotice a{font-weight:750;text-decoration:underline;text-underline-offset:2px}

form{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
fieldset{margin:0;padding:24px;border:0;border-top:1px solid var(--line)}
fieldset:first-child{border-top:0}
legend{padding:0;margin:0 0 4px;font-size:20px;font-weight:800}
.sectionHelp{margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.45}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.span2{grid-column:1 / -1}
label{display:block;font-size:14px;font-weight:750}
.hint{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.35;font-weight:500}
input,select,textarea{
  width:100%;
  min-height:48px;
  margin-top:7px;
  padding:11px 12px;
  border:1px solid #aeb4bb;
  border-radius:6px;
  background:#fff;
  color:var(--ink);
}
textarea{min-height:104px;resize:vertical;line-height:1.45}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(68,101,107,.22);border-color:var(--teal)}
.checkGroup{display:grid;gap:11px}
.checkLabel{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-weight:600;
  line-height:1.4;
}
.checkLabel input{width:20px;height:20px;min-height:20px;margin:1px 0 0;flex:0 0 auto}
.checkLabel span{min-width:0}
.formActions{padding:20px 24px 24px;border-top:1px solid var(--line);background:var(--soft)}
.button,button{
  min-height:48px;
  padding:11px 16px;
  border:1px solid #aeb4bb;
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  font-weight:800;
  cursor:pointer;
}
button.primary,.button.primary{border-color:var(--brand);background:var(--brand);color:#fff}
button.primary:hover,.button.primary:hover{background:var(--brand-dark)}
button:disabled{cursor:wait;opacity:.65}
.button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.status{min-height:22px;margin-top:12px;font-size:14px;font-weight:650;line-height:1.4}
.status.error{padding:10px 12px;background:var(--danger-bg);color:var(--danger);border-radius:6px}
.successPanel{padding:28px;border:1px solid #b9dfc8;background:var(--success-bg);border-radius:var(--radius)}
.successPanel h2{margin:0 0 8px;color:var(--success)}
.successPanel p{margin:7px 0;line-height:1.5}
.reference{font-size:18px;font-weight:800}
.visuallyHidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}

.orderLines{display:grid;gap:12px}
.orderLine{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(95px,.7fr) minmax(110px,.8fr) 48px;
  gap:10px;
  align-items:end;
  padding:14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--soft);
}
.orderLine label{min-width:0}
.iconButton{width:48px;padding:0;font-size:22px;line-height:1;color:var(--danger)}
.totals{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-weight:700}
.loading{color:var(--muted);font-size:14px}

footer{border-top:1px solid var(--line);background:var(--soft)}
.footerInner{width:min(920px,100%);margin:0 auto;padding:22px 18px;color:var(--muted);font-size:13px;line-height:1.5}
.footerInner strong{color:var(--ink)}

@media (max-width:680px){
  .headerInner{align-items:flex-start}
  .brand img{width:48px;height:48px}
  .brandText strong{font-size:16px}
  .brandText span{font-size:11px}
  .headerLink{min-height:42px;padding:9px 10px;font-size:13px}
  main{padding:22px 12px 42px}
  .grid{grid-template-columns:1fr}
  .span2{grid-column:auto}
  fieldset{padding:20px 16px}
  .formActions{padding:18px 16px}
  .actions{display:grid;grid-template-columns:1fr}
  .actions>*{width:100%}
  .orderLine{grid-template-columns:1fr 1fr 48px}
  .orderLine .productField{grid-column:1 / -1}
}

@media (max-width:380px){
  .headerInner{padding-left:12px;padding-right:12px;gap:8px}
  .brandText span{display:none}
  .headerLink{font-size:12px}
  h1{font-size:30px}
  .orderLine{grid-template-columns:1fr 48px}
  .orderLine .productField,.orderLine .quantityField{grid-column:1 / -1}
}
