/* Timeline (gantt) view of basicWeek / work week - see TourTimelineDirective.js */

/* Timeline mode: keep the FullCalendar toolbar (template selector, period navigation), hide its grid */
#module-provabus .week .calendar-container.timeline-mode .fc-view-container {
	display: none;
}

#module-provabus .week provabus-tour-timeline {
	position: absolute;
	top: 50px; /* real value computed from the toolbar height by the directive */
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	background: #fff;
}

/* toolbar (auto height: 2 lines, 3 on narrow screens) above the timeline area */
#module-provabus .week provabus-tour-timeline {
	display: flex;
	flex-direction: column;
}

/* "Diagram" button of the FullCalendar toolbar (customButtons.diagram): red glow + gentle pulse, "it's new" */
#module-provabus .week .fc-toolbar .fc-diagram-button {
	position: relative;
	z-index: 2; /* the glow above the neighbour buttons */
	animation: ptl-diagram-glow 2.4s ease-in-out infinite;
}

#module-provabus .week .fc-toolbar .fc-diagram-button.fc-state-active {
	animation: none; /* already in use: no need to call for attention */
}

@media (prefers-reduced-motion: reduce) {
	#module-provabus .week .fc-toolbar .fc-diagram-button {
		animation: none;
	}
}

provabus-tour-timeline .ptl-toolbar {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 6px 10px;
	background: #f7f8fa;
	border-bottom: 1px solid #dde1e6;
	position: relative;
	z-index: 15; /* the filter dropdowns open over the timeline */
	font-size: 12px;
}

provabus-tour-timeline .ptl-toolbar-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	min-height: 24px;
}

provabus-tour-timeline .ptl-toolbar .btn-xs {
	height: 24px;
	line-height: 22px;
	padding: 0 8px;
	font-size: 12px;
	white-space: nowrap;
}

provabus-tour-timeline .ptl-toolbar .btn i + span {
	margin-left: 2px;
}

/* Pressed buttons (btn-primary / btn-danger here): the theme's btn-primary is a green outline that barely shows
   as "on" - filled like its hover instead, and a darker fill when a pressed button is hovered */
provabus-tour-timeline .ptl-toolbar .btn.btn-primary,
provabus-tour-timeline .ptl-toolbar .btn.btn-primary:focus,
provabus-tour-timeline .ptl-toolbar .btn.btn-primary:active {
	background: #B4CC55;
	border-color: #B4CC55;
	color: #fff;
}

provabus-tour-timeline .ptl-toolbar .btn.btn-primary:hover {
	background: #98AF3C;
	border-color: #98AF3C;
	color: #fff;
}

provabus-tour-timeline .ptl-toolbar .btn.btn-danger:hover,
provabus-tour-timeline .ptl-toolbar .btn.btn-danger:focus:hover {
	background: #B81D52;
	border-color: #B81D52;
	color: #fff;
}

provabus-tour-timeline .ptl-sep {
	width: 1px;
	height: 18px;
	background: #ccd2d9;
}

/* Day selector: ‹ day ▾ › (dropdown = whole period + every day) */
provabus-tour-timeline .ptl-day-nav .ptl-day-current {
	min-width: 110px;
}

provabus-tour-timeline .ptl-day-nav .ptl-day-current .caret {
	margin-left: 4px;
}

provabus-tour-timeline .ptl-day-menu {
	max-height: 320px;
	overflow-y: auto;
	font-size: 12px;
}

/* Problem list button: errors (red) / light anomalies (orange) counters */
provabus-tour-timeline .ptl-day-badge {
	display: inline-block;
	min-width: 15px;
	height: 15px;
	margin-left: 3px;
	padding: 0 4px;
	border-radius: 8px;
	background: #d9534f;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	vertical-align: 1px;
}

provabus-tour-timeline .ptl-day-badge.ptl-badge-warning {
	background: #ec971f;
}

provabus-tour-timeline .btn-primary.ptl-problems-btn .ptl-day-badge {
	box-shadow: 0 0 0 1px #fff;
}

provabus-tour-timeline .ptl-problems-btn .ptl-problems-ok {
	margin-left: 3px;
	color: #2e7d32;
}

provabus-tour-timeline .ptl-problems-btn .ptl-problems-elsewhere {
	margin-left: 3px;
	color: #d9534f;
	font-weight: bold;
}

provabus-tour-timeline .btn-primary.ptl-problems-btn .ptl-problems-ok,
provabus-tour-timeline .btn-primary.ptl-problems-btn .ptl-problems-elsewhere {
	color: #fff;
}

/* Tooltips with a sentence (diagram types, problem counts) */
.ptl-tooltip .tooltip-inner {
	max-width: 300px;
	text-align: left;
}

/* Problem pills (problem list panel) */
provabus-tour-timeline .ptl-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 24px;
	padding: 0 10px;
	border-radius: 12px;
	border: 1px solid #f1c3c1;
	background: #fdeceb;
	color: #b52b27;
	white-space: nowrap;
	text-decoration: none;
}

provabus-tour-timeline a.ptl-pill:hover,
provabus-tour-timeline a.ptl-pill:focus {
	background: #f9d6d4;
	color: #962420;
	text-decoration: none;
}

/* light anomaly (missing driver / vehicle) */
provabus-tour-timeline .ptl-pill.ptl-pill-warning {
	border-color: #f5d7a6;
	background: #fef5e7;
	color: #a86400;
}

provabus-tour-timeline a.ptl-pill.ptl-pill-warning:hover,
provabus-tour-timeline a.ptl-pill.ptl-pill-warning:focus {
	background: #fcebcd;
	color: #8a5200;
}

provabus-tour-timeline .ptl-pill.ptl-pill-ok {
	border-color: #c8e6c9;
	background: #edf7ee;
	color: #2e7d32;
}

provabus-tour-timeline .ptl-toggle i {
	font-size: 14px;
	vertical-align: -1px;
}

provabus-tour-timeline .ptl-text-danger {
	color: #c9302c;
}

provabus-tour-timeline .ptl-error {
	color: #c9302c;
	font-weight: 600;
}

provabus-tour-timeline .ptl-spin {
	display: inline-block;
	animation: ptl-spin 1s linear infinite;
}

@keyframes ptl-spin {
	to { transform: rotate(360deg); }
}

/* Narrow widths (class set by the directive from its own width): shorter day label */
provabus-tour-timeline.ptl-narrow .ptl-day-nav .ptl-day-current {
	min-width: 70px;
}

/* timeline area: the timeline, the side panel and the empty messages */
provabus-tour-timeline .ptl-body {
	flex: 1;
	position: relative;
	min-height: 0;
}

/* vis forces position: relative on its container: the wrapper does the absolute positioning */
provabus-tour-timeline .ptl-timeline-wrap {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

provabus-tour-timeline .ptl-timeline {
	height: 100%;
}

/* Axis: day label (major) above the hours */
provabus-tour-timeline .vis-time-axis .vis-text.vis-major {
	font-weight: 700;
	padding-left: 6px;
}

provabus-tour-timeline .vis-time-axis .vis-text.vis-major::first-letter {
	text-transform: uppercase;
}

/* Rows */
provabus-tour-timeline .vis-label.ptl-group-none,
provabus-tour-timeline .vis-label.ptl-group-conflict {
	font-weight: 700;
}

provabus-tour-timeline .vis-label.ptl-group-none {
	background: #fbe3e2;
	color: #c9302c;
}

provabus-tour-timeline .vis-label.ptl-group-conflict {
	background: #fff4e0;
}

provabus-tour-timeline .vis-foreground .vis-group.ptl-group-none {
	background: rgba(217, 83, 79, 0.05);
}

provabus-tour-timeline .ptl-group-badge {
	color: #c9302c;
	font-size: 11px;
}

provabus-tour-timeline .ptl-group-badge.ptl-badge-warning {
	color: #c77c00;
}

/* row counter ("×3", passenger rows) */
provabus-tour-timeline .ptl-trip-count {
	font-weight: 400;
	color: #888;
	font-size: 11px;
}

/* Items */
provabus-tour-timeline .vis-item.ptl-item {
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 3px;
	color: #222;
	font-size: 11px;
	cursor: pointer;
}

provabus-tour-timeline .vis-item.ptl-item .vis-item-content {
	padding: 2px 4px;
}

/* tour items: content spans the whole bar so icons / capacity sit on its right edge (the name ellipsizes) */
provabus-tour-timeline .vis-item.ptl-item:not(.ptl-pax-item) .vis-item-overflow {
	overflow: hidden;
}

provabus-tour-timeline .vis-item.ptl-item:not(.ptl-pax-item) .vis-item-content {
	display: block;
	padding-right: 9px; /* room for the fill gauge */
	width: 100%;
	box-sizing: border-box;
	transform: none !important;
	left: 0 !important;
}

/* 2 lines: name ... icons / driver · vehicle ... person list, STD, capacity (like the calendar cards) */
provabus-tour-timeline .ptl-item-line {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

provabus-tour-timeline .ptl-item-name {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
}

provabus-tour-timeline .ptl-item-details {
	opacity: 0.8;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* category = square (person list = round pastille): told apart at a glance, see the legend */
provabus-tour-timeline .ptl-item-line .std-itinerary-category-dot,
provabus-tour-timeline .ptl-legend-icon .std-itinerary-category-dot {
	width: 9px;
	height: 9px;
	border-radius: 2px;
}

provabus-tour-timeline .ptl-item-side {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	padding-left: 4px;
}

provabus-tour-timeline .ptl-item-side i {
	font-size: 12px;
	line-height: 1;
}

/* work week route status (colors of the calendar cards, FullCalendarService#eventRender) */
provabus-tour-timeline .ptl-status {
	flex: none;
	font-size: 12px;
	line-height: 1;
}

provabus-tour-timeline .ptl-status-end {
	color: #46b325;
}

provabus-tour-timeline .ptl-status-end.ptl-status-no-qr {
	color: red;
}

provabus-tour-timeline .ptl-status-progress {
	color: deeppink;
}

/* work week route progress, along the bottom edge of the bar (color of the calendar cards' .bus-progress) */
provabus-tour-timeline .ptl-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	pointer-events: none;
}

provabus-tour-timeline .ptl-progress-bar {
	height: 100%;
	background-color: hotpink;
}

/* max occupancy gauge on the right edge (colors of the calendar cards' .bus-fill) */
provabus-tour-timeline .ptl-fill {
	position: absolute;
	top: 2px;
	bottom: 4px;
	right: 2px;
	width: 3px;
	border-radius: 2px;
	background-color: limegreen;
	pointer-events: none;
}

provabus-tour-timeline .ptl-fill.ptl-fill-over {
	background-color: red;
}

provabus-tour-timeline .ptl-fill-bar {
	position: absolute;
	bottom: 0;
	width: 100%;
	border-radius: 2px;
	background-color: black;
}

provabus-tour-timeline .ptl-fill.ptl-fill-critical .ptl-fill-bar {
	background-color: orange;
}

provabus-tour-timeline .ptl-item-side .person-list-color {
	font-size: 10px;
}

provabus-tour-timeline .ptl-standard-flag {
	background-color: rgb(250, 230, 130);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
	color: #555;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0 3px;
	border-radius: 2px;
	line-height: 13px;
}

provabus-tour-timeline .ptl-capacity {
	color: #000;
}

provabus-tour-timeline .ptl-capacity i {
	font-size: 11px;
}

provabus-tour-timeline .ptl-capacity.ptl-capacity-over {
	color: #c9302c;
	font-weight: 700;
}

provabus-tour-timeline .vis-item.ptl-item.vis-selected {
	box-shadow: 0 0 0 2px #337ab7;
	z-index: 2;
}

/* missing driver / vehicle: light anomaly (orange) - a clash (red, below) wins when both apply */
provabus-tour-timeline .vis-item.ptl-no-driver,
provabus-tour-timeline .vis-item.ptl-no-device {
	border: 2px dashed #ec971f;
}

provabus-tour-timeline .vis-item.ptl-conflict {
	border: 2px solid #c9302c;
	box-shadow: inset 0 0 0 1px #fff;
}

provabus-tour-timeline .vis-item.ptl-cancelled {
	opacity: 0.4;
	text-decoration: line-through;
}

provabus-tour-timeline .vis-item.vis-background.ptl-conflict-bg {
	background-color: rgba(217, 83, 79, 0.25);
}

/* Side panel */
provabus-tour-timeline .ptl-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 320px;
	z-index: 10;
	background: #fff;
	border-left: 1px solid #ddd;
	box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
}

provabus-tour-timeline .ptl-panel header {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
}

provabus-tour-timeline .ptl-panel-title {
	flex: 1;
	font-size: 15px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

provabus-tour-timeline .ptl-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 12px;
}

provabus-tour-timeline .ptl-panel-row {
	padding: 4px 0;
}

provabus-tour-timeline .ptl-panel-row i {
	width: 16px;
	text-align: center;
	color: #888;
}

provabus-tour-timeline .ptl-panel-row.ptl-problem,
provabus-tour-timeline .ptl-panel-row.ptl-problem i {
	color: #c9302c;
}

provabus-tour-timeline .ptl-panel-row.ptl-warning,
provabus-tour-timeline .ptl-panel-row.ptl-warning i {
	color: #c77c00;
}

provabus-tour-timeline .ptl-capitalize {
	text-transform: capitalize;
}

provabus-tour-timeline .ptl-muted {
	color: #888;
	font-size: 11px;
}


provabus-tour-timeline .ptl-panel-subtitle {
	font-weight: 700;
	color: #c9302c;
	margin-bottom: 4px;
}

provabus-tour-timeline .ptl-panel-subtitle-neutral {
	color: #333;
}

provabus-tour-timeline .ptl-panel-conflict {
	display: block;
	padding: 3px 0;
}

/* "open" button right after the info (no footer) */
provabus-tour-timeline .ptl-panel-actions {
	padding-top: 10px;
	border-top: 1px solid #eee;
}

/* Tour details: tags under the title, then blocks of "label ... value" fields */
provabus-tour-timeline .ptl-panel-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding-bottom: 10px;
}

provabus-tour-timeline .ptl-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 1px 7px;
	border-radius: 10px;
	background: #f1f3f5;
	color: #444;
	font-size: 11px;
	line-height: 18px;
}

provabus-tour-timeline .ptl-tag i {
	color: #777;
}

provabus-tour-timeline .ptl-tag.ptl-tag-standard {
	background: #fae682;
	color: #555;
	font-weight: 700;
	letter-spacing: 0.03em;
}

provabus-tour-timeline .ptl-tag.ptl-tag-cancelled {
	background: #e9ecef;
	text-decoration: line-through;
}

provabus-tour-timeline .ptl-tag .std-itinerary-category-dot.ptl-category-square {
	width: 9px;
	height: 9px;
	border-radius: 2px;
}

provabus-tour-timeline .ptl-section {
	padding: 8px 0;
	border-top: 1px solid #eee;
}

provabus-tour-timeline .ptl-panel-body > .ptl-section:first-child {
	border-top: 0;
}

provabus-tour-timeline .ptl-section-title {
	margin-bottom: 4px;
	color: #999;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

provabus-tour-timeline .ptl-section-title.ptl-section-title-problem {
	color: #c9302c;
}

/* Conflict rows: kind label (same width for both kinds, names aligned), tour name, times */
provabus-tour-timeline .ptl-panel-conflict {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 3px 0;
}

provabus-tour-timeline .ptl-panel-conflict .label {
	flex: 0 0 auto;
	min-width: 70px;
	text-align: center;
}

provabus-tour-timeline .ptl-field {
	display: flex;
	align-items: baseline;
	gap: 6px;
	padding: 3px 0;
}

provabus-tour-timeline .ptl-field > i {
	flex: none;
	width: 16px;
	text-align: center;
	color: #999;
}

provabus-tour-timeline .ptl-field-label {
	flex: none;
	width: 100px;
	color: #777;
}

provabus-tour-timeline .ptl-field-value {
	flex: 1;
	min-width: 0;
	font-weight: 700;
	color: #222;
	overflow-wrap: anywhere;
}

provabus-tour-timeline .ptl-field.ptl-field-muted .ptl-field-value {
	font-weight: 400;
	color: #888;
	font-size: 11px;
}

provabus-tour-timeline .ptl-field.ptl-warning .ptl-field-value,
provabus-tour-timeline .ptl-field.ptl-warning > i {
	color: #c77c00;
}

provabus-tour-timeline .ptl-field.ptl-problem .ptl-field-value,
provabus-tour-timeline .ptl-field.ptl-problem > i {
	color: #c9302c;
}

/* By passenger: one item per tour, the whole tour (pale) with the part on board (plain) */
/* filter of the current mode (isteven-multi-select) */
provabus-tour-timeline .ptl-picker {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* isteven defaults (blank.css / appMain.css: button 100% wide, 35px high) made for forms: compact here */
provabus-tour-timeline .ptl-picker .multiSelect {
	position: relative;
	display: inline-block;
	width: 240px;
}

provabus-tour-timeline.ptl-narrow .ptl-picker .multiSelect {
	width: 180px;
}

provabus-tour-timeline .ptl-picker .multiSelect > button {
	min-height: 24px !important;
	height: 24px;
	padding: 2px 22px 2px 8px;
	font-size: 12px;
	line-height: 18px;
	background: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

/* the open list floats over the timeline, below the button */
provabus-tour-timeline .ptl-picker .multiSelect .checkboxLayer {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 320px;
	z-index: 2100;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

provabus-tour-timeline .ptl-picker .multiSelect .checkboxLayer .checkBoxContainer {
	max-height: 50vh;
	overflow-y: auto;
}

provabus-tour-timeline .ptl-pax-option-problem {
	color: #c9302c;
}

/* a row filter is on: blue outline, as a reminder that rows are hidden */
provabus-tour-timeline .ptl-picker.ptl-picker-active .multiSelect > button {
	border-color: #337ab7;
	box-shadow: 0 0 0 1px #337ab7;
}

provabus-tour-timeline .ptl-pax-empty {
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	text-align: center;
	color: #888;
	pointer-events: none;
}

provabus-tour-timeline .vis-item.ptl-pax-item {
	background-color: #f6f6f6;
	border-width: 1px 1px 1px 3px;
	border-style: solid;
}

/* the content spans the whole item (positions in %): cancel vis' "keep the text in view" shift */
provabus-tour-timeline .vis-item.ptl-pax-item .vis-item-overflow {
	overflow: hidden;
}

provabus-tour-timeline .vis-item.ptl-pax-item .vis-item-content {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 1px 0 3px;
	transform: none !important;
	left: 0 !important;
}

provabus-tour-timeline .ptl-pax-label {
	padding: 0 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
}

provabus-tour-timeline .ptl-pax-track {
	position: relative;
	height: 14px;
	margin: 0 6px;
}

provabus-tour-timeline .ptl-pax-track::before { /* the tour line */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 6px;
	height: 2px;
	background: #ccc;
}

provabus-tour-timeline .ptl-pax-stop {
	position: absolute;
	top: 3px;
	width: 1px;
	height: 8px;
	margin-left: -0.5px;
	background: #999;
}

provabus-tour-timeline .ptl-pax-ride {
	position: absolute;
	top: 4px;
	height: 6px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

provabus-tour-timeline .ptl-pax-ride.ptl-pax-ride-problem {
	box-shadow: 0 0 0 2px #c9302c;
}

provabus-tour-timeline .ptl-pax-mark {
	position: absolute;
	top: -1px;
	transform: translateX(-50%);
	font-size: 10px;
	line-height: 14px;
}

provabus-tour-timeline .ptl-pax-in {
	color: #2e7d32;
}

provabus-tour-timeline .ptl-pax-out {
	color: #1565c0;
}

provabus-tour-timeline .vis-item.ptl-pax-item.ptl-pax-problem {
	border-color: #c9302c !important;
}

provabus-tour-timeline .ptl-panel-pax {
	padding-bottom: 8px;
}

/* Legend ("?" button): marks of the current diagram type */
provabus-tour-timeline .ptl-toolbar {
	position: relative;
}

provabus-tour-timeline .ptl-legend {
	position: absolute;
	top: 100%;
	right: 10px;
	z-index: 20;
	width: 300px;
	max-width: calc(100% - 20px);
	margin-top: 4px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	font-size: 12px;
}

provabus-tour-timeline .ptl-legend-title {
	margin-bottom: 6px;
	font-weight: 700;
}

provabus-tour-timeline .ptl-legend-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 2px 0;
}

provabus-tour-timeline .ptl-legend .ptl-day-badge {
	margin-left: 0;
}

provabus-tour-timeline .ptl-swatch {
	flex: none;
	display: inline-block;
	width: 28px;
	height: 14px;
	border-radius: 2px;
	background: transparent; /* outline only: the item color means nothing here */
	box-sizing: border-box;
}

provabus-tour-timeline .ptl-swatch.ptl-swatch-color {
	border: 1px solid rgba(0, 0, 0, 0.25);
}

provabus-tour-timeline .ptl-legend-icon {
	flex: none;
	width: 28px;
	text-align: center;
	font-size: 13px;
}

provabus-tour-timeline .ptl-legend-icon .std-itinerary-category-dot {
	background-color: #8e7cc3; /* any color: a category's own color */
}

provabus-tour-timeline .ptl-legend-icon .person-list-color {
	color: #888;
}

provabus-tour-timeline .ptl-legend-colors {
	padding-bottom: 6px;
	margin-bottom: 6px;
	border-bottom: 1px solid #eee;
}

provabus-tour-timeline .ptl-swatch-missing {
	border: 2px dashed #ec971f;
}

provabus-tour-timeline .ptl-swatch-conflict {
	border: 2px solid #c9302c;
}

provabus-tour-timeline .ptl-swatch-conflict-bg {
	background: rgba(217, 83, 79, 0.25);
}

provabus-tour-timeline .ptl-swatch-pax-problem {
	background: #fff;
	border: 2px solid #c9302c;
}

/* Problem list (side panel) */
provabus-tour-timeline .ptl-panel-back {
	margin-right: 8px;
	color: #555;
	font-size: 16px;
}

provabus-tour-timeline .ptl-plist-summary {
	padding-bottom: 8px;
	margin-bottom: 4px;
	border-bottom: 1px solid #eee;
}

provabus-tour-timeline .ptl-plist-kinds {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

provabus-tour-timeline .ptl-plist-kinds .ptl-pill {
	height: 20px;
	padding: 0 8px;
	font-size: 11px;
}

provabus-tour-timeline .ptl-plist-day {
	padding: 6px 0 2px;
}

provabus-tour-timeline .ptl-plist-day-title {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 2px 4px;
	font-weight: 700;
	color: #333;
	text-decoration: none;
	cursor: pointer;
	border-radius: 3px;
}

provabus-tour-timeline .ptl-plist-day-title:hover,
provabus-tour-timeline .ptl-plist-day-title:focus {
	background: #f0f2f5;
	color: #333;
	text-decoration: none;
}

provabus-tour-timeline .ptl-plist-chevron {
	width: 12px;
	font-size: 10px;
	color: #888;
}

provabus-tour-timeline .ptl-plist-day-current .ptl-plist-day-title {
	background: #e8f0fb;
	border-radius: 3px;
}

provabus-tour-timeline .ptl-plist-entry {
	display: flex;
	gap: 8px;
	padding: 4px 4px 4px 6px;
	border-left: 3px solid transparent;
	color: #333;
	text-decoration: none;
}

provabus-tour-timeline .ptl-plist-entry:hover,
provabus-tour-timeline .ptl-plist-entry:focus {
	background: #f5f5f5;
	color: #333;
	text-decoration: none;
}

provabus-tour-timeline .ptl-plist-entry i {
	flex: none;
	width: 14px;
	padding-top: 2px;
	text-align: center;
}

provabus-tour-timeline .ptl-plist-error {
	border-left-color: #c9302c;
}

provabus-tour-timeline .ptl-plist-error i {
	color: #c9302c;
}

provabus-tour-timeline .ptl-plist-warning {
	border-left-color: #ec971f;
}

provabus-tour-timeline .ptl-plist-warning i {
	color: #c77c00;
}

provabus-tour-timeline .ptl-plist-text {
	min-width: 0;
	overflow-wrap: anywhere;
}

provabus-tour-timeline .ptl-plist-kind {
	color: #888;
	font-size: 11px;
}

/* Hover tooltip (vis' own popup, inside the directive): app font and colors instead of vis' default
   verdana on a beige background */
provabus-tour-timeline div.vis-tooltip {
	padding: 7px 10px;
	background-color: #fff;
	border: 1px solid #dde1e6;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #333;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.6;
}

provabus-tour-timeline div.vis-tooltip b {
	color: #222;
}
