/* Compact desktop inventory header; retain the approved mobile layout. */
@media (min-width: 701px) {
  #app > .pagehead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px 28px;
    margin: 24px 0 20px;
    text-align: left;
  }
  #app > .pagehead > * { min-width: 0; margin: 0; }
  #app > .pagehead h1 {
    grid-column: 1 / -1;
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.035em;
  }
  #app > .pagehead p {
    max-width: 92ch;
    font-size: 14px;
    line-height: 1.5;
    color: #536173;
  }
  #app > .pagehead .inventory-intro-line { display: block; }
  #app > .pagehead .inventory-categories {
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
  }
  #app > .pagehead .inventory-categories a { display: inline-block; }
}
@media (min-width: 701px) and (max-width: 1049px) {
  #app > .pagehead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  #app > .pagehead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    text-align: left;
  }
  #app > .pagehead > * { width: 100%; min-width: 0; margin: 0; }
  #app > .pagehead h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.6px; }
  #app > .pagehead p { font-size: 15px; line-height: 1.5; }
  #app > .pagehead .inventory-intro-location { display: block; }
  #app > .pagehead .inventory-categories { font-size: 14px; line-height: 1.7; }
  #app > .pagehead .inventory-categories a { display: inline-block; white-space: nowrap; }

  body[data-page='/service-menu/'] .migrated .service-page,
  body[data-page='/consigment/'] .migrated .consignment-page {
    padding-top: 24px !important;
  }
  body[data-page='/service-menu/'] .service-hero__title,
  body[data-page='/consigment/'] .consignment-hero__title { margin-top: 0 !important; }
  body[data-page='/consigment/'] .migrated .consignment-hero__cont { margin-top: 0; }
  body[data-page='/service-menu/'] .migrated .service-hero__actions,
  body[data-page='/consigment/'] .migrated .consignment-hero__actions {
    margin-top: 16px;
  }
}

/* Restored legacy pages share the current header, footer and form handling. */
.legacy-migration .legacy-content{max-width:1120px;margin:32px auto 56px;padding:0 24px;color:#142d49;line-height:1.6}
.legacy-content h1{font-size:clamp(30px,3vw,42px);line-height:1.15;margin:0 0 24px}
.legacy-content h2{font-size:24px;line-height:1.3;margin:24px 0 16px}
.legacy-content h3{font-size:20px;line-height:1.3;margin:24px 0 12px}
.legacy-content p{margin:12px 0}.legacy-content .container{width:auto;max-width:none;padding:0}
.legacy-content img{max-width:100%;height:auto}.legacy-content iframe{width:100%;min-height:700px;border:0}
.legacy-content .internal-custom__body-text-row:not(:first-child){display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:36px 0;align-items:center}
.legacy-content .ctas-row a,.legacy-content button{display:inline-block;background:#142d49;color:white;padding:12px 22px;border-radius:6px}
.legacy-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:850px;margin:24px 0}
.legacy-form label{display:grid;gap:7px}.legacy-form input,.legacy-form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cbd1d9;border-radius:5px;font:inherit;background:white}
.legacy-form .full,.legacy-form .form-status{grid-column:1/-1}.legacy-form .legacy-trap{display:none}
.legacy-form button{justify-self:start;border:0;font:inherit;cursor:pointer}
@media(max-width:700px){.legacy-form{grid-template-columns:1fr}.legacy-content .internal-custom__body-text-row:not(:first-child){grid-template-columns:1fr}}
