.tmc-dialog-close {
  z-index: 20 !important;
  border: 1px solid #e4e4e7 !important;
  background: #fff !important;
  color: #18181b !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.tmc-company-choice {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: .9rem 1rem;
  border: 1px solid #e4e4e7;
  border-radius: 1rem;
  background: #f4f4f5;
}

.tmc-company-choice strong,
.tmc-company-choice small {
  display: block;
}

.tmc-company-choice small {
  margin-top: .2rem;
  color: #71717a;
  font-size: .75rem;
  line-height: 1.2rem;
}

.tmc-company-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}

.tmc-company-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.tmc-company-switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d4d4d8;
  transition: background .18s ease;
}

.tmc-company-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: transform .18s ease;
}

.tmc-company-switch input:checked + span {
  background: #a3e635;
}

.tmc-company-switch input:checked + span::after {
  transform: translateX(20px);
}

.tmc-company-switch input:focus-visible + span {
  outline: 3px solid rgba(163, 230, 53, .38);
  outline-offset: 2px;
}

.tmc-company-field-disabled {
  display: none !important;
}

.tmc-open-requests {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #d4d4d8;
  border-radius: 1rem;
  background: #fafafa;
}

.tmc-open-requests__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.tmc-open-requests__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.tmc-open-requests__count {
  min-width: 26px;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #d9f99d;
  color: #365314;
  font-size: .7rem;
  font-weight: 900;
  text-align: center;
}

.tmc-open-requests__list {
  display: grid;
  gap: .6rem;
  max-height: 260px;
  overflow: auto;
}

.tmc-request-card {
  padding: .75rem;
  border: 1px solid #e4e4e7;
  border-radius: .8rem;
  background: #fff;
}

.tmc-request-card__line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.tmc-request-card__title {
  font-size: .82rem;
  font-weight: 850;
  color: #18181b;
}

.tmc-request-card__urgency {
  flex: 0 0 auto;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: #f4f4f5;
  color: #52525b;
  font-size: .65rem;
  font-weight: 850;
}

.tmc-request-card__urgency[data-urgency="Urgente"],
.tmc-request-card__urgency[data-urgency="Alta"] {
  background: #fee2e2;
  color: #b91c1c;
}

.tmc-request-card__meta,
.tmc-open-requests__empty,
.tmc-open-requests__error {
  margin-top: .35rem;
  color: #71717a;
  font-size: .72rem;
  line-height: 1.2rem;
}

.tmc-request-card__description {
  display: -webkit-box;
  margin-top: .4rem;
  overflow: hidden;
  color: #52525b;
  font-size: .75rem;
  line-height: 1.2rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 640px) {
  [data-slot="dialog-content"] input,
  [data-slot="dialog-content"] select,
  [data-slot="dialog-content"] textarea {
    font-size: 16px !important;
  }

  [data-slot="dialog-content"] {
    max-height: calc(100dvh - 1rem) !important;
  }

  .tmc-company-choice {
    padding: .8rem;
  }
}

.tmc-b2b-session {
  max-width: 38rem;
  margin-top: .75rem;
  color: #3f6212;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.35rem;
}

.tmc-maintenance-checking body { visibility: hidden; }
.tmc-maintenance-active,
.tmc-maintenance-active body { min-height: 100%; margin: 0; background: #09090b; }
.tmc-maintenance {
  min-height: 100dvh;
  padding: clamp(1rem, 3vw, 2.5rem);
  color: #f4f4f5;
  background:
    radial-gradient(circle at 80% 20%, rgba(163, 230, 53, .16), transparent 32rem),
    #09090b;
  font-family: Arial, Helvetica, sans-serif;
}
.tmc-maintenance__shell { display: grid; width: min(76rem, 100%); gap: 1.25rem; margin: 0 auto; }
.tmc-maintenance__card {
  width: 100%;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2rem;
  background: rgba(24, 24, 27, .82);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .35);
}
.tmc-maintenance__card img { width: min(19rem, 75%); padding: .75rem; border-radius: 1rem; background: #fff; }
.tmc-maintenance__eyebrow { margin: 2rem 0 .6rem; color: #bef264; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.tmc-maintenance__card h1 { max-width: 42rem; margin: 0; font-size: clamp(2.4rem, 8vw, 4.9rem); line-height: .95; letter-spacing: -.045em; }
.tmc-maintenance__card > p:not(.tmc-maintenance__eyebrow) { max-width: 38rem; margin: 1.4rem 0 0; color: #d4d4d8; font-size: 1rem; line-height: 1.7rem; }
.tmc-maintenance__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.tmc-maintenance__actions a { padding: .8rem 1rem; border: 1px solid #a3e635; border-radius: 999px; color: #09090b; background: #a3e635; font-size: .82rem; font-weight: 850; text-decoration: none; }
.tmc-maintenance__actions a + a { color: #f4f4f5; background: transparent; }
.tmc-maintenance__card small { display: block; margin-top: 1.8rem; color: #71717a; }
.tmc-maintenance__panel {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #e4e4e7;
  border-radius: 2rem;
  color: #18181b;
  background: #fff;
}
.tmc-maintenance__heading { margin-bottom: 1.5rem; }
.tmc-maintenance__heading .tmc-maintenance__eyebrow { margin-top: 0; color: #4d7c0f; }
.tmc-maintenance__heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.04em; }
.tmc-maintenance__heading > p:last-child { margin: .75rem 0 0; color: #52525b; line-height: 1.6; }
.tmc-maintenance__location { display: grid; gap: 1rem; }
.tmc-maintenance__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  color: #f4f4f5;
  background: #18181b;
}
.tmc-maintenance__address > strong { color: #bef264; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tmc-maintenance__address address { margin: .75rem 0; color: #fff; font-size: clamp(1.35rem, 4vw, 2rem); font-style: normal; font-weight: 850; line-height: 1.25; }
.tmc-maintenance__address > a:not(.tmc-maintenance__route) { color: #d4d4d8; font-weight: 700; text-decoration: none; }
.tmc-maintenance__route { margin-top: auto; padding: .8rem 1rem; border-radius: .9rem; color: #09090b; background: #a3e635; font-size: .85rem; font-weight: 900; text-decoration: none; }
.tmc-maintenance__map { position: relative; overflow: hidden; min-height: 24rem; border: 1px solid #d4d4d8; border-radius: 1.5rem; background: #e4e4e7; }
.tmc-maintenance__map iframe { display: block; width: 100%; min-height: 24rem; border: 0; }
.tmc-maintenance__map-consent { position: absolute; inset: 0; display: grid; place-content: center; padding: 2rem; text-align: center; }
.tmc-maintenance__map-consent[hidden] { display: none; }
.tmc-maintenance__map-consent p { max-width: 28rem; margin: .5rem auto 1rem; color: #52525b; line-height: 1.5; }
.tmc-maintenance__map-consent button { justify-self: center; min-height: 3rem; padding: .7rem 1rem; border: 0; border-radius: 999px; color: #09090b; background: #a3e635; font: inherit; font-weight: 900; cursor: pointer; }
.tmc-maintenance__form { box-shadow: none; }
.tmc-maintenance__footer { padding: 1rem; color: #a1a1aa; font-size: .78rem; text-align: center; }
.tmc-maintenance__footer p { margin: 0; }

@media (min-width: 800px) {
  .tmc-maintenance__location { grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr); }
}

@media (max-width: 640px) {
  .tmc-maintenance__panel,
  .tmc-maintenance__card { border-radius: 1.35rem; }
  .tmc-maintenance__form input,
  .tmc-maintenance__form select,
  .tmc-maintenance__form textarea { font-size: 16px; }
}
