.jd-timeline { position: relative; }
.jd-timeline .jd-scale { margin-top: 3px; }
.jt-track { position: relative; height: 27px; margin-bottom: -4px; isolation: isolate; }
.jt-track::before, .jt-slot::before {
  content: ""; position: absolute; top: 50%; height: 10px; transform: translateY(-50%);
}
.jt-track::before {
  inset-inline: 0; border: 1px solid #dce4e7; border-radius: 3px;
  background: repeating-linear-gradient(-45deg,#e2e8eb 0 2px,#f7f9fa 2px 6px);
}
.jt-slot {
  position: absolute; height: 100%; top: 0; display: block; padding: 0; margin: 0;
  border: 0; background: transparent; border-radius: 0; cursor: crosshair; touch-action: manipulation;
}
.jt-slot::before { inset-inline: 0; background: var(--event-accent); box-shadow: inset -1px 0 #ffffffc7; }
.jt-slot.jt-gap::before { background: transparent; box-shadow: none; }
.jt-slot.jt-live::before {
  min-width: 2px;
  background: repeating-linear-gradient(-45deg,transparent 0 4px,#ffffff5e 4px 6px),var(--event-accent);
}
.jt-slot.jt-unknown::before { background: transparent; border-left: 3px solid var(--event-accent); box-shadow: none; }
.jt-slot:first-of-type::before { border-radius: 3px 0 0 3px; }
.jt-slot:last-of-type::before { border-radius: 0 3px 3px 0; }
.jd-timeline .jt-slot:focus-visible { outline: 2px solid #174f63; outline-offset: 1px; border-radius: 3px; z-index: 1; }
.jt-slot.jt-selected::before { box-shadow: inset 0 0 0 1px #1b323b77; }
.jt-cursor {
  position: absolute; z-index: 2; top: 4px; bottom: 4px; left: 0; width: 2px; margin-left: -1px;
  background: #293e49; box-shadow: 0 0 0 1px #fff; border-radius: 2px; pointer-events: none;
}
.jt-popup {
  position: fixed; inset: auto; z-index: 12; width: min(328px,calc(100vw - 16px)); max-width: none;
  margin: 0; padding: 0; border: 1px solid #cbd6da; border-radius: 5px; color: #233947;
  background: #fff; box-shadow: 0 6px 24px #152f432b, 0 1px 4px #152f4310;
  font-family: var(--font); font-size: .82rem; text-align: left;
}
.jt-popup.jt-inline { position: absolute; }
.jt-info { max-height: min(55vh,360px,var(--jt-room,360px)); overflow: auto; overscroll-behavior: contain; padding: 13px 15px 14px; overflow-wrap: anywhere; }
.jt-tip-kicker { display: flex; align-items: center; justify-content: space-between; color: #536670; font-size: .7rem; line-height: 1.45; font-weight: 670; }
.jt-tip-kicker > span { display: flex; align-items: center; gap: 7px; }
.jt-tip-kicker i { width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--event-accent); }
.jt-point { font-variant-numeric: tabular-nums; font-weight: 650; }
.jt-title { display: block; margin: 5px 0 8px; color: #1b303b; font-size: .98rem; font-weight: 780; line-height: 1.38; }
.jt-timing { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-variant-numeric: tabular-nums; color: #354e5b; font-size: .77rem; }
.jt-timing b { margin-left: auto; padding: 2px 7px; border-radius: 4px; background: #edf2f3; color: #2e4e58; font-weight: 730; }
.jt-facts { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 4px 12px; border-top: 1px solid #e1e7ea; margin: 10px 0 0; padding-top: 9px; font-size: .76rem; line-height: 1.45; }
.jt-facts dt, .jt-comment b { color: #586d76; font-weight: 620; }
.jt-facts dd { margin: 0; }
.jt-comment { border-top: 1px solid #e1e7ea; margin-top: 9px; padding-top: 7px; font-size: .76rem; line-height: 1.45; }
.jt-comment p { margin: 3px 0 0; white-space: pre-wrap; }
.jt-touch-tools { display: flex; align-items: center; padding: 4px 8px; gap: 3px; border-top: 1px solid #e1e7ea; }
.jt-touch-tools button { border: 0; background: transparent; padding: 0 8px; min-width: 38px; min-height: 38px; border-radius: 4px; font-size: .78rem; font-weight: 650; }
.jt-touch-tools [data-jt-close] { margin-left: auto; }
.jt-touch-tools button[aria-disabled="true"] { opacity: .35; }
.jt-touch-tools button:focus-visible { outline: 2px solid #0c7395; outline-offset: -2px; }
@media (pointer:coarse) { .jt-track { height: 34px; } }
@media print { .jt-popup,.jt-cursor { display: none !important; } }
