/* V1583 — Popup de detalhes do Henkaten no marco do gráfico. */
.tfh-trend-chart { position: relative; overflow: visible; }
.tfh-chart-event-henkaten { cursor: pointer; outline: none; }
.tfh-chart-event-henkaten:hover rect:first-of-type,
.tfh-chart-event-henkaten:focus rect:first-of-type { stroke: #f58220; stroke-width: 2; }
.tfh-chart-event-henkaten:focus-visible rect:first-of-type { stroke: #f58220; stroke-width: 2.5; }
.tfh-event-popover[hidden] { display: none !important; }
.tfh-event-popover {
  position: absolute; z-index: 40; width: min(360px, calc(100% - 24px)); max-width: 360px;
  box-sizing: border-box; background: #fff; color: #17365f; border: 1px solid #cbd9ed;
  border-radius: 12px; box-shadow: 0 12px 34px rgba(15, 35, 65, .24); overflow: hidden;
  font-size: 12px; line-height: 1.45; text-align: left;
}
.tfh-event-popover-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 13px; background: #f3f7fd; border-bottom: 1px solid #dce6f4; }
.tfh-event-popover-head > div { min-width: 0; display: grid; gap: 4px; }
.tfh-event-popover-head small { color: #55769f; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.tfh-event-popover-head strong { color: #12315e; font-size: 13px; overflow-wrap: anywhere; }
.tfh-event-popover-head button { flex: 0 0 auto; width: 26px; height: 26px; border: 1px solid #ccdaec; border-radius: 7px; background: #fff; color: #244568; font-size: 18px; line-height: 1; cursor: pointer; }
.tfh-event-popover-body { display: grid; gap: 10px; padding: 12px 13px 14px; max-height: 300px; overflow-y: auto; }
.tfh-event-popover-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.tfh-event-popover-meta span, .tfh-event-popover-status span { display: grid; gap: 3px; min-width: 0; padding: 7px 8px; background: #f6f8fb; border-radius: 7px; }
.tfh-event-popover-body small { display: block; color: #71849a; font-size: 10px; }
.tfh-event-popover-body b { color: #244568; font-size: 11px; overflow-wrap: anywhere; }
.tfh-event-popover-body section { border-top: 1px solid #e6edf6; padding-top: 8px; min-width: 0; }
.tfh-event-popover-body section p { margin: 4px 0 0; color: #263f5f; white-space: pre-wrap; overflow-wrap: anywhere; }
.tfh-event-popover-body ul { margin: 5px 0 0; padding-left: 18px; }
.tfh-event-popover-status { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 620px) {
  .tfh-event-popover { position: fixed !important; left: 12px !important; right: 12px !important; top: auto !important; bottom: 12px; width: auto; max-width: none; }
  .tfh-event-popover-body { max-height: 55vh; }
}
