/* All adapter-owned rules stay inside the existing homepage/service hero card. */
#book .hs-tire-intent-shell[hidden],
#book .hs-tire-intent-route[hidden] {
  display: none !important;
}

#book .hs-tire-intent-shell:not([hidden]) {
  display: block;
  padding: clamp(0.75rem, 2vw, 1.2rem);
  color: inherit;
}

#book-form.hs-tires-intent-pending #wpane label[for="wname"],
#book-form.hs-tires-intent-pending #wname,
#book-form.hs-tires-intent-pending #we-wname,
#book-form.hs-tires-intent-pending #wpane label[for="wphone"],
#book-form.hs-tires-intent-pending #wphone,
#book-form.hs-tires-intent-pending #we-wphone,
#book-form.hs-tires-intent-pending #wpane label[for="wday"],
#book-form.hs-tires-intent-pending #wday,
#book-form.hs-tires-intent-pending #we-wday,
#book-form.hs-tires-intent-pending .wnote,
#book-form.hs-tires-intent-pending #wsend,
#book-form.hs-tires-intent-pending #wok,
#book-form.hs-tires-intent-pending #wfail {
  display: none !important;
}

#book.hs-tire-route-active {
  overflow: visible;
}

#book .hs-tire-intent-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.1rem;
}

#book .hs-tire-intent-header--compact {
  margin-bottom: 0.55rem;
}

#book .hs-tire-intent-header h2,
#book .hs-tire-intent-header p {
  margin: 0;
}

#book .hs-tire-intent-header h2 {
  color: var(--teal, #005655);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

#book .hs-tire-intent-header--repair p {
  color: var(--teal, #005655);
  font-weight: 700;
}

#book .hs-tire-intent-back {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line, #d6e1de);
  border-radius: 999px;
  background: #fff;
  color: var(--teal, #005655);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

#book .hs-tire-intent-back:hover,
#book .hs-tire-intent-back:focus-visible {
  border-color: var(--teal, #005655);
  outline: 2px solid color-mix(in srgb, var(--teal, #005655) 28%, transparent);
  outline-offset: 2px;
}

#book .hs-tire-quote-host {
  min-width: 0;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

/* Full-page repair layout becomes a single, unboxed column inside the hero. */
#book .hs-tire-repair-scope .trp-ask { padding: 0; margin: 0; border: 0; }
#book .hs-tire-repair-scope .tcw-layout { display: block; width: 100%; padding: 0; margin: 0; }
#book .hs-tire-repair-scope .tcw-head { margin: 0 0 14px; }
#book .hs-tire-repair-scope .tcw-head h2 { font-size: 26px; margin: 0 0 8px; }
#book .hs-tire-repair-scope .tcw-lede { font-size: 13px; line-height: 1.55; }
#book .hs-tire-repair-scope .trp-card { padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }
#book .hs-tire-repair-scope .trp-caution { margin: 18px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line,#d6e1de); background: transparent; box-shadow: none; font-size: 12px; }
#book .hs-tire-repair-scope .trp-caution h3 { font-size: 18px; }
#book .hs-tire-intent-header--repair p { font-size: 13px; }

#book .hs-tire-quote-scope .tqh-widget {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#book .hs-tire-intent-intro {
  max-width: 50rem;
  margin: 0 0 1rem;
  color: #3f514e;
}

#book .hs-tire-unsure-form {
  display: grid;
  gap: 0.55rem;
  max-width: 38rem;
}

/* Approved small form inset. Keep the existing field gaps and status behavior. */
#book .hs-tire-unsure-scope .hs-tire-unsure-form {
  box-sizing: border-box;
  padding: 0.25rem 0.35rem;
  border-radius: 0.75rem;
}

#book .hs-tire-unsure-form label {
  margin-top: 0.35rem;
  color: var(--teal, #005655);
  font-weight: 700;
}

#book .hs-tire-unsure-form input,
#book .hs-tire-unsure-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line, #d6e1de);
  border-radius: 0.55rem;
  background: #fff;
  color: #1c2b28;
  font: inherit;
}

#book .hs-tire-unsure-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

#book .hs-tire-unsure-form input:focus-visible,
#book .hs-tire-unsure-form textarea:focus-visible {
  outline: 3px solid #0a6b53;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(10, 107, 83, 0.14);
}

#book .hs-tire-unsure-note,
#book .hs-tire-unsure-status {
  margin: 0.25rem 0;
  color: #52615f;
  font-size: 0.9rem;
}

/* Keep the live region available without reserving an empty message card. */
#book .hs-tire-unsure-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: transparent;
}

#book .hs-tire-unsure-submit {
  justify-self: start;
  min-height: 46px;
  margin-top: 0.2rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--teal, #005655);
  color: #fff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

#book .hs-tire-unsure-submit:hover,
#book .hs-tire-unsure-submit:focus-visible {
  background: #003f3e;
  outline: 2px solid color-mix(in srgb, var(--teal, #005655) 30%, transparent);
  outline-offset: 2px;
}

#book .hs-tire-unsure-scope .hs-tire-unsure-submit:focus-visible {
  outline: 3px solid #0a6b53;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(10, 107, 83, 0.14);
}

@media (max-width: 560px) {
  #book .hs-tire-intent-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
}
