.schedule-dialog {
  box-sizing: border-box;
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--linha, #dce0e0);
  border-radius: 18px;
  background: var(--schedule-surface, #fff);
  color: var(--tinta, #202727);
  font-family: var(--fonte-sans, system-ui, sans-serif);
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .22);
}
.schedule-dialog::backdrop { background: rgba(12, 20, 20, .5); }
.schedule-dialog__fallback { margin-top: 24px; border: 1px solid var(--linha, #dce0e0); border-radius: 14px; background: var(--schedule-surface, #fff); color: var(--tinta, #202727); font-family: var(--fonte-sans, system-ui, sans-serif); }
.schedule-dialog__fallback[hidden] { display: none !important; }
.schedule-dialog__fallback > summary { padding: 18px 24px; font-size: 15px; font-weight: 600; cursor: pointer; }
.schedule-dialog__fallback > summary:focus-visible { outline: 2px solid var(--tinta, #202727); outline-offset: 4px; }
.schedule-dialog__fallback[open] > summary { border-bottom: 1px solid var(--linha, #dce0e0); }
.schedule-dialog__panel { display: flex; flex-direction: column; max-height: inherit; }
.schedule-dialog__header { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: start; gap: 20px; padding: 28px 30px 22px; border-bottom: 1px solid var(--linha, #dce0e0); }
.schedule-dialog__header h2 { margin: 0; font-family: var(--fonte-display, var(--fonte-serifa, Georgia, serif)); font-size: clamp(26px, 4vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.schedule-dialog__header h2:focus { outline: none; }
.schedule-dialog__close { display: inline-flex; justify-content: center; align-items: center; gap: 9px; flex: 0 0 auto; min-height: 44px; padding: 8px 12px; margin-top: -7px; border: 1px solid var(--linha, #dce0e0); border-radius: 9px; background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.schedule-dialog__close span[aria-hidden] { font-size: 23px; line-height: 1; }
.schedule-dialog__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 30px 30px; }
.schedule-dialog__section + .schedule-dialog__section { margin-top: 30px; }
.schedule-dialog__section h3 { margin: 0 0 16px; font-size: 13px; font-weight: 650; line-height: 1.4; letter-spacing: .065em; text-transform: uppercase; }
.schedule-dialog__week { margin: 0; }
.schedule-dialog__day { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px 20px; padding: 12px 0; border-bottom: 1px solid var(--linha, #dce0e0); }
.schedule-dialog__day:first-child { padding-top: 0; }
.schedule-dialog__day dt { font-size: 14px; line-height: 1.65; }
.schedule-dialog__day dd { min-width: 0; margin: 0; text-align: right; }
.schedule-dialog__times { margin: 0; font-size: 15px; font-weight: 550; line-height: 1.65; overflow-wrap: anywhere; }
.schedule-dialog__note { margin: 5px 0 0; color: var(--tinta-3, #596565); font-size: 12px; line-height: 1.6; white-space: pre-line; }
.schedule-dialog__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.schedule-dialog__service { min-width: 0; padding-top: 15px; border-top: 1px solid var(--linha, #dce0e0); }
.schedule-dialog__service h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.schedule-dialog__footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linha, #dce0e0); }
.schedule-dialog__footer .schedule-dialog__note { margin: 0 0 8px; }
.schedule-dialog__contact { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; color: var(--tinta, #202727); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.schedule-dialog__empty { margin: 0; line-height: 1.65; }
.schedule-dialog :is(a, button):focus-visible,
.schedule-dialog__fallback :is(a, button):focus-visible { outline: 2px solid var(--tinta, #202727); outline-offset: 4px; }
@media (max-width: 520px) {
  .schedule-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .schedule-dialog__header { gap: 12px; padding: 22px 20px 18px; }
  .schedule-dialog__body { padding: 20px; }
  .schedule-dialog__header h2 { font-size: 27px; }
  .schedule-dialog__close { padding-inline: 9px; }
  .schedule-dialog__close span:first-child { display: none; }
  .schedule-dialog__close { min-width: 44px; }
  .schedule-dialog__day { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px; }
  .schedule-dialog__day dt, .schedule-dialog__times { font-size: 13px; }
  .schedule-dialog__services { grid-template-columns: 1fr; gap: 20px; }
}
