/* TaskTimer v3.11.26 — targeted reports dialog layout, independent of legacy global overrides.
   This file intentionally loads AFTER all previous modal rules. It does not alter report calculation. */
html .tt-modal-layer .tt-reports-modal {
  width: min(1020px, calc(100vw - 32px)) !important;
  max-width: min(1020px, calc(100vw - 32px)) !important;
  background: #fff !important;
  color: #142137 !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .24) !important;
}
html .tt-modal-layer .tt-reports-modal > .tt-modal__header {
  box-sizing: border-box !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 64px !important;
  max-height: none !important;
  padding: 12px 24px !important;
  margin: 0 !important;
  background: #fff !important;
  color: #101827 !important;
  border: 0 !important;
  border-bottom: 1px solid #e5eaf1 !important;
  box-shadow: none !important;
  text-align: left !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}
html .tt-modal-layer .tt-reports-modal > .tt-modal__header > div {
  display: block !important;
  flex: 1 1 auto !important;
  order: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  position: static !important;
  transform: none !important;
}
html .tt-modal-layer .tt-reports-modal > .tt-modal__header > button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 36px !important;
  order: 1 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 7px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #334155 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
html .tt-modal-layer .tt-reports-modal > .tt-modal__header > button:hover,
html .tt-modal-layer .tt-reports-modal > .tt-modal__header > button:focus-visible {
  background: #f1f5f9 !important;
}
html .tt-modal-layer .tt-reports-modal > .tt-modal__body {
  box-sizing: border-box !important;
  background: #fff !important;
  color: #142137 !important;
  min-height: 0 !important;
  padding: 22px 24px 24px !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow-y: auto !important;
}
html .tt-modal-layer .tt-reports-modal > .tt-modal__body > div,
html .tt-modal-layer .tt-reports-modal > .tt-modal__body > section,
html .tt-modal-layer .tt-reports-modal .tt-month-summary,
html .tt-modal-layer .tt-reports-modal .tt-month-summary__metric,
html .tt-modal-layer .tt-reports-modal .tt-month-summary__leaders {
  background-color: #fff !important;
}
html .tt-modal-layer .tt-reports-modal .tt-month-summary {
  border-color: #e3e8f0 !important;
}
html .tt-modal-layer .tt-reports-modal input,
html .tt-modal-layer .tt-reports-modal select,
html .tt-modal-layer .tt-reports-modal table {
  background-color: #fff !important;
}
@media(max-width:640px) {
  html .tt-modal-layer .tt-reports-modal { width: calc(100vw - 16px) !important; max-width: calc(100vw - 16px) !important; border-radius: 14px !important; }
  html .tt-modal-layer .tt-reports-modal > .tt-modal__header { min-height: 58px !important; padding: 10px 15px !important; }
  html .tt-modal-layer .tt-reports-modal > .tt-modal__header > div { font-size: 18px !important; }
  html .tt-modal-layer .tt-reports-modal > .tt-modal__body { padding: 16px 15px 18px !important; }
}
