.dash-time-hit { outline: none; }
.dash-time-selection { opacity: 0; pointer-events: none; }
.dash-time-hit.dash-hover-active .dash-time-selection { opacity: 1; }
.dash-time-selection line { stroke: #9ca6b4; stroke-width: 1; stroke-dasharray: 3 3; }
.dash-time-hit[data-tip-kind="ticket"] .dash-time-selection line { stroke: #b9a2df; }
.dash-hover-tip[data-kind="sales"],
.dash-hover-tip[data-kind="ticket"],
.dash-hover-tip[data-kind="margin"] {
  box-sizing: border-box;
  font-family: inherit;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 12%);
  font-variant-numeric: tabular-nums;
}
.dash-hover-tip[data-kind="sales"] {
  width: max-content;
  min-width: min(350px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  padding: 16px 20px;
  border-radius: 18px;
  background: rgb(24 21 32 / 96%);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 60%);
  backdrop-filter: blur(16px);
}
.time-tip-sales-head, .time-tip-row, .time-tip-absolute {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.time-tip-sales-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.time-tip-sales-head b, .time-tip-label, .time-tip-date { display: flex; align-items: center; gap: 8px; }
.time-tip-sales-head b { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.time-tip-sales-head b::before { content: ""; width: 8px; height: 8px; box-sizing: border-box; border: 2px solid white; border-radius: 50%; }
.time-tip-sales-head span, .time-tip-date { color: #94a3b8; font-size: 11px; }
.time-tip-sales-body { display: grid; padding-top: 10px; gap: 7px; }
.time-tip-row { font-size: 13px; line-height: 1.4; }
.time-tip-label { color: #cbd5e1; }
.time-tip-label i { width: 8px; height: 8px; border-radius: 2px; background: var(--series-color); flex: none; }
.time-tip-row:has(.time-tip-margin) i { border-radius: 50%; }
.time-tip-row strong { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.02em; text-align: right; }
.time-tip-row .time-tip-margin { font-size: 13px; }
.time-tip-row .time-tip-positive { color: #34d399; font-size: 12px; }
.time-tip-row .time-tip-negative { color: #fb7185; font-size: 12px; }
.dash-hover-tip[data-kind="ticket"],
.dash-hover-tip[data-kind="margin"] { padding: 10px 14px; border-radius: 12px; background: #181520; box-shadow: 0 10px 25px rgb(0 0 0 / 30%); }
.dash-hover-tip[data-kind="margin"] { min-width: min(190px, calc(100vw - 20px)); }
.dash-hover-tip[data-kind="ticket"] { border-radius: 14px; background: rgb(15 23 42 / 95%); backdrop-filter: blur(12px); }
.time-tip-date { font-weight: 500; gap: 6px; margin-bottom: 4px; }
.time-tip-date::before { content: ""; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
[data-kind="ticket"] .time-tip-date { margin-bottom: 6px; }
[data-kind="ticket"] .time-tip-date::before { background: #c084fc; }
.time-tip-ticket-value { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.time-tip-margin-value { display: block; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.time-tip-absolute { font-size: 11px; color: #cbd5e1; }
.time-tip-absolute strong { color: #fff; }
