:root {
  color-scheme: light;
  font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #19191c;
  background: #faf9f7;
  --accent: #c80012;
  --line: #c4c2bf;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure, h1, h2, p { margin: 0; }
.frame { width: min(calc(100% - clamp(2.5rem, 11vw, 12rem)), 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .5rem; left: 1rem; padding: .6rem 1rem; color: #19191c; background: #fff; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { color: #fff; background: #101012; }
.bar { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.bar img { display: block; width: clamp(7.5rem, 14vw, 11rem); height: auto; }
.bar nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
.bar nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; font-size: .95rem; text-decoration: none; }
.bar nav a:hover, .edit:hover { text-decoration: underline; text-underline-offset: .25em; }
.layout {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start; gap: clamp(2.5rem, 7vw, 6.5rem);
  padding-block: clamp(2.25rem, 5.5vw, 5rem);
}
.intro::before { content: ""; display: block; width: 2.8rem; height: .3rem; margin-bottom: 1rem; background: var(--accent); }
h1 { font-size: clamp(2.25rem, 4.3vw, 4rem); line-height: 1.15; letter-spacing: -.055em; }
.intro > p, .help { color: #4e4e51; font-size: 1rem; line-height: 1.75; }
.intro > p { max-width: 24em; margin-block: 1rem 2rem; }
.intro figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: .5rem; color: #656466; font-size: .8125rem; }
.work-area { min-width: 0; }
fieldset { margin: 0 0 1.7rem; padding: 0; border: none; min-inline-size: 0; }
legend, h2 { padding: 0; font-size: 1.38rem; line-height: 1.4; font-weight: 750; }
legend { width: 100%; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
label { display: block; margin-top: .85rem; font-size: .9375rem; font-weight: 650; }
label small { font-size: .8125rem; color: #646467; font-weight: 400; }
input, textarea, select {
  display: block; width: 100%; min-width: 0; margin-top: .4rem; padding: .68rem .8rem;
  color: #18181a; background: white; border: 1px solid #aaa9a7; border-radius: 0;
  font-family: inherit; font-size: 1rem; line-height: 1.45; font-weight: 400;
}
select { min-height: 2.9rem; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #6c6a6c; opacity: 1; }
:is(input,select,textarea,button,a):focus-visible { outline: 3px solid #2670ad; outline-offset: 2px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.vehicle { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.note { font-size: .9rem; line-height: 1.6; color: #56565a; margin-bottom: .7rem; }
button, .secondary { font-family: inherit; cursor: pointer; }
.primary, .secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem;
  padding: .6rem 1.1rem; font-size: 1rem; line-height: 1.4; font-weight: 650; text-decoration: none;
}
.primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.primary:hover { background: #a70010; }
.secondary { color: #202023; background: transparent; border: 1px solid #9f9e9c; }
.secondary:hover { background: #f0efed; }
.help { margin-block: .4rem .9rem; }
#brief-text { background: #fff; padding: 1rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .9rem; }
#feedback { margin-top: .65rem; color: #414145; font-size: .9rem; line-height: 1.6; }
.edit { min-height: 2.75rem; padding: .5rem 0; border: 0; background: none; color: #353539; font-size: 1rem; }
.store-contact-list { margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.store-contact-row { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .75rem; padding-block: .7rem; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.65; }
.store-contact-row dt { font-weight: 650; }
.store-contact-row dd { margin: 0; overflow-wrap: anywhere; }
.store-contact-row a { color: var(--accent); text-underline-offset: .2em; }
@media (max-width: 740px) {
  .bar { min-height: 3.75rem; }
  .layout { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 1.75rem; }
  .intro::before { width: 2rem; margin-bottom: .7rem; }
  .intro > p { margin: .6rem 0 0; }
  .intro figure { display: none; }
  .pair { gap: .65rem; }
  fieldset { margin-bottom: 1.45rem; }
  #brief-form > .primary { width: 100%; }
}
@media (max-width: 360px) { .pair { grid-template-columns: 1fr; gap: 0; } }
