body { min-height: 100vh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
.brand-shoe { height: auto; }
.back { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--red); font-size: var(--control-size); font-weight: 650; }
.track-layout { width: 100%; flex: 1; max-width: 87rem; display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.45fr); gap: clamp(2rem,6vw,7rem); align-content: start; padding-block: clamp(2.4rem,5vw,5rem); }
.track-heading h1 { font: 400 clamp(4.2rem,7.8vw,8rem)/.9 var(--serif); letter-spacing: -.052em; }
.track-heading h1 em { color: var(--red); }
.track-heading p { margin-top: 1.6rem; max-width: 34ch; line-height: 1.5; }
form, .form-note { background: #ede5d2; padding: clamp(1.3rem,2.5vw,2.4rem); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .draft-panel h2 { font: 400 clamp(2rem,3.2vw,3.4rem)/1 var(--serif); letter-spacing: -.025em; padding: 0; }
.field-note, .form-privacy, .delivery-note, .fields small, .draft-panel p, .draft-panel summary { font-size: max(1rem,var(--label-size)); line-height: 1.5; }
.field-note { margin: .5rem 0 1.15rem; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 1.25rem; }
.fields label, .draft-panel label { display: block; min-width: 0; font-size: var(--control-size); font-weight: 700; }
.fields .wide { grid-column: 1/-1; }
.fields small { display: block; font-weight: 400; margin-top: .35rem; }
.fields input, .draft-panel textarea { display: block; width: 100%; min-width: 0; border: 1px solid #7c7365; border-radius: 0; margin-top: .3rem; padding: .7rem .75rem; background: #fffcf4; color: var(--ink); font: 400 1.0625rem/1.35 var(--sans); }
.delivery-note { margin: 1.25rem 0 .65rem; }
.button { border: 0; cursor: pointer; font-family: var(--sans); }
.button:disabled { cursor: wait; }
.form-privacy { padding-top: 1rem; }
.form-privacy a, .form-note a { color: var(--red); font-weight: 650; }
#track-status:not(:empty) { margin-top: 1rem; }
.draft-panel { margin-top: 1rem; padding-top: 1.15rem; border-top: 1px solid #8d8475; }
.draft-panel p { margin: .6rem 0 .8rem; overflow-wrap: anywhere; }
.draft-panel summary { cursor: pointer; min-height: 2.75rem; padding-block: .65rem; color: var(--red); font-weight: 650; text-decoration: underline; }
.draft-action { background: #302d26; color: #fffaf0; }
.draft-panel textarea { resize: vertical; }
.foot { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.foot > *, .footer-links a { min-width: 0; }
@media(max-width: 47rem) {
  .track-layout { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 1.75rem; }
  .track-heading h1 { font-size: clamp(3.6rem,11vw,5.4rem); }
  .track-heading p { max-width: 50ch; margin-top: .75rem; }
}
@media(max-width: 33rem) {
  .fields { grid-template-columns: 1fr; gap: .75rem; }
  .masthead { flex-wrap: wrap; }
  .track-layout h1, .brand-type, form, legend { overflow-wrap: anywhere; }
  .brand { max-width: 100%; }
  .brand-type { min-width: 0; }
}
