.tm-mobile-quote-trigger { display: none; }
#tm-quote-trigger { color: #fff; -webkit-text-fill-color: #fff; }
.tm-mobile-quote-trigger[hidden], .tm-mobile-quote [hidden] { display: none !important; }
.tm-mobile-quote {
  position: fixed;
  top: calc(var(--tm-quote-view-top, 0px) + max(1rem, env(safe-area-inset-top)));
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  margin: 0;
  width: calc(100% - 2rem);
  max-width: 27rem;
  max-height: calc(var(--tm-quote-view-height, 100dvh) - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: 0;
  border: 1px solid #e7eaee;
  border-radius: 1rem;
  background: #fff;
  color: #172027;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 1rem 4rem #11182040;
  -webkit-overflow-scrolling: touch;
}
.tm-mobile-quote::backdrop { background: #1118209e; }
.tm-mobile-quote-header {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem;
  padding: 1.1rem 1.25rem .85rem;
  background: #fff;
  border-bottom: 1px solid #e7eaee;
}
.tm-mobile-quote-header h2 { font-size: 1.4rem; line-height: 1.3; margin: 0 0 .25rem; font-weight: 800; }
#tm-quote-title { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
/* This heading is an announcement target, not a keyboard control. */
#tm-quote-title:focus { outline: none; box-shadow: none; }
.tm-mobile-quote-header p { font-size: .9rem; margin: 0; color: #5e6873; }
.tm-mobile-quote-close { flex: 0 0 44px; width: 44px; height: 44px; margin: -.4rem -.5rem 0 0; border: 0; border-radius: 50%; background: #f6f7f8; color: #172027; font: 1.8rem/1 system-ui; }
.tm-mobile-quote-form { padding: 1rem 1.25rem 1.25rem; }
.tm-mobile-quote-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tm-quote-field { margin-bottom: .75rem; }
.tm-quote-field label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.tm-quote-field label span { font-size: .8rem; font-weight: 400; color: #5e6873; }
.tm-quote-field input, .tm-quote-field textarea { display: block; width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid #9aa3ab; border-radius: .4rem; font: inherit; font-size: 16px; line-height: 1.4; background: #fff; color: #172027; }
.tm-quote-field textarea { resize: vertical; }
.tm-mobile-quote :is(input, textarea, button, a):focus-visible { outline: 3px solid #172027; outline-offset: 3px; }
.tm-quote-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden; }
.tm-quote-privacy { font-size: .8rem; line-height: 1.5; color: #5e6873; margin: .8rem 0; }
.tm-quote-privacy a { color: #172027; text-decoration: underline; }
.tm-quote-submit, .tm-quote-done { width: 100%; min-height: 48px; padding: .7rem 1rem; border: 0; border-radius: .45rem; background: #f26a13; color: #111820; font: inherit; font-weight: 800; }
.tm-quote-submit:disabled { opacity: .65; cursor: wait; }
.tm-quote-status { margin: 0; font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.tm-quote-status:not(:empty) { margin-top: .8rem; }
.tm-quote-status.is-error { color: #a52a18; }
.tm-quote-done { margin-top: 1rem; }
@media (max-width: 767px) {
  body.tm-mobile-quote-enabled { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .tm-mobile-quote-trigger { display: inline-flex; align-items: center; justify-content: center; position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 1035; min-height: 52px; padding: .8rem 1.3rem; border: 1px solid #b74300; border-radius: 999px; background: #c94c06; color: #fff; font: inherit; font-weight: 800; line-height: 1.4; box-shadow: 0 .35rem 1.1rem #11182040; }
  .tm-mobile-quote-trigger:focus-visible { outline: 3px solid #172027; outline-offset: 3px; }
}
@media (min-width: 768px) { .tm-mobile-quote[open] { display: none; } }
