.ltlms-report-builder {
	margin-top: 16px;
}

.ltlms-report-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.ltlms-report-layout-select {
	min-width: 200px;
}

.ltlms-report-toolbar-spacer {
	flex: 1;
	min-width: 12px;
}

.ltlms-report-accordion {
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.ltlms-report-accordion__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.ltlms-report-accordion__summary::-webkit-details-marker {
	display: none;
}

.ltlms-report-accordion__summary::before {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 6px solid #50575e;
	transition: transform 0.15s ease;
	flex-shrink: 0;
}

.ltlms-report-accordion[open] > .ltlms-report-accordion__summary::before {
	transform: rotate(90deg);
}

.ltlms-report-accordion__summary:hover {
	background: #f6f7f7;
}

.ltlms-report-accordion__body {
	padding: 0 16px 16px;
	border-top: 1px solid #dcdcde;
}

.ltlms-report-accordion__body .ltlms-report-panels {
	padding-top: 16px;
}

.ltlms-report-panels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	margin-bottom: 0;
	min-width: 0;
}

@media (max-width: 960px) {
	.ltlms-report-panels {
		grid-template-columns: 1fr;
	}
}

.ltlms-report-panel {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 12px 16px 16px;
	min-width: 0;
	overflow: hidden;
}

.ltlms-report-panel h2 {
	margin: 0 0 8px;
	font-size: 14px;
}

.ltlms-report-panel-columns {
	display: flex;
	flex-direction: column;
}

.ltlms-report-columns-active {
	list-style: none;
	margin: 0;
	padding: 0;
	min-height: 48px;
	width: 100%;
}

.ltlms-report-col-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	padding: 8px 10px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	cursor: grab;
}

.ltlms-report-col-item.ui-sortable-helper {
	cursor: grabbing;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ltlms-report-col-placeholder {
	height: 38px;
	margin-bottom: 6px;
	border: 1px dashed #2271b1;
	background: #f0f6fc;
}

.ltlms-report-col-handle {
	color: #787c82;
	font-size: 12px;
	user-select: none;
}

.ltlms-report-col-label {
	flex: 1;
	font-weight: 500;
}

.ltlms-report-col-remove {
	border: none;
	background: transparent;
	color: #b32d2e;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.ltlms-report-columns-add {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #dcdcde;
	box-sizing: border-box;
}

.ltlms-report-columns-add label {
	margin: 0;
	font-weight: 500;
}

.ltlms-report-columns-add select {
	flex: 1 1 160px;
	min-width: 0;
	max-width: 100%;
	width: auto;
}

.ltlms-report-panel-filters .ltlms-report-filters-table {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.ltlms-report-panel-filters .ltlms-report-filters-table th {
	width: 38%;
	max-width: 11em;
	padding: 8px 10px 8px 0;
	vertical-align: top;
}

.ltlms-report-panel-filters .ltlms-report-filters-table td {
	width: 62%;
	padding: 8px 0;
	vertical-align: top;
}

.ltlms-report-panel-filters .ltlms-report-filters-table input[type="text"],
.ltlms-report-panel-filters .ltlms-report-filters-table input[type="date"],
.ltlms-report-panel-filters .ltlms-report-filters-table select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.ltlms-report-panel-filters .ltlms-report-filters-table .regular-text {
	width: 100% !important;
	max-width: 100%;
	min-width: 0 !important;
}

.ltlms-report-panel-filters .ltlms-report-filters-table .description {
	margin: 4px 0 0;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.ltlms-report-results-wrap {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 12px 16px 16px;
}

.ltlms-report-status {
	margin-bottom: 10px;
	font-size: 13px;
}

.ltlms-report-status.is-success {
	color: #007017;
}

.ltlms-report-status.is-error {
	color: #b32d2e;
}

.ltlms-report-table-viewport {
	position: relative;
}

.ltlms-report-table-scroll {
	overflow-x: auto;
	overflow-y: hidden;
}

.ltlms-report-table-scroll--top {
	height: 17px;
	margin-bottom: 4px;
	overflow-y: hidden;
}

.ltlms-report-table-scroll--top .ltlms-report-table-scroll-spacer {
	height: 1px;
}

.ltlms-report-table-scroll--body {
	overflow-x: auto;
	overflow-y: hidden;
}

.ltlms-report-table {
	margin: 0;
	min-width: 100%;
}

.ltlms-report-table th,
.ltlms-report-table td {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	vertical-align: top;
}

.ltlms-report-empty {
	color: #646970;
	font-style: italic;
}

.ltlms-report-builder[aria-disabled="true"] .ltlms-report-toolbar button,
.ltlms-report-builder[aria-disabled="true"] #ltlms-report-run {
	opacity: 0.5;
	pointer-events: none;
}

.ltlms-report-table {
	table-layout: fixed;
	width: auto;
}

.ltlms-report-table thead th,
.ltlms-report-table tfoot th {
	position: relative;
	padding-right: 14px;
	vertical-align: bottom;
}

.ltlms-report-table tfoot th {
	border-top: 2px solid #c3c4c7;
	background: #f6f7f7;
	font-weight: 600;
}

.ltlms-report-th-label {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ltlms-report-col-resizer {
	position: absolute;
	top: 0;
	right: -4px;
	width: 10px;
	height: 100%;
	cursor: col-resize;
	user-select: none;
	z-index: 2;
}

.ltlms-report-col-resizer:hover {
	background: rgba(34, 113, 177, 0.25);
}

.ltlms-report-pagination {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #dcdcde;
}

.ltlms-report-pagination__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ltlms-report-pagination__rows {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.ltlms-report-pagination__rows select {
	min-width: 72px;
}

.ltlms-report-pagination__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ltlms-report-pagination__info {
	font-size: 13px;
	color: #50575e;
}


.ltlms-report-pagination__numbers {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.ltlms-report-pagination__ellipsis {
	padding: 0 4px;
	color: #50575e;
	font-size: 13px;
	line-height: 28px;
}

.ltlms-report-page-num.is-current {
	font-weight: 600;
}

.ltlms-report-pagination__inner .ltlms-report-purge-open {
	margin-left: 4px;
}

.ltlms-report-purge-modal[hidden] {
	display: none !important;
}

.ltlms-report-purge-modal {
	position: fixed;
	inset: 0;
	z-index: 100100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ltlms-report-purge-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.ltlms-report-purge-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	padding: 20px 22px;
}

.ltlms-report-purge-modal__title {
	margin: 0 0 12px;
	font-size: 18px;
}

.ltlms-report-purge-modal__count {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
}

.ltlms-report-purge-modal__help {
	margin: 0 0 6px;
	font-size: 13px;
}

.ltlms-report-purge-modal__phrase {
	margin: 0 0 10px;
}

.ltlms-report-purge-modal__phrase code {
	font-size: 13px;
	word-break: break-word;
}

.ltlms-report-purge-confirm-input {
	width: 100%;
	margin-bottom: 16px;
}

.ltlms-report-purge-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
