/**
 * Insider Trades page (mockup-aligned).
 */

.mtq-it-page.mtq-standalone-section,
.mtq-it-page-composite.mtq-standalone-section {
	background: transparent;
	border: none;
	padding: 0;
	margin-bottom: 0;
	box-shadow: none;
}

.mtq-it-page-head {
	margin-bottom: 1.25rem;
}

.mtq-it-page-eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #018762;
}

.mtq-it-page-title,
.mtq-it-page .mtq-section-title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #01247f;
	line-height: 1.15;
}

.mtq-it-page-subtitle {
	margin: 0.5rem 0 0;
	max-width: 42rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #64748b;
}

.mtq-it-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	background: #fff8e6;
	border: 1px solid #f5d78e;
	border-radius: 8px;
	font-size: 0.8125rem;
	color: #7c5b00;
}

.mtq-it-empty,
.mtq-it-empty-filter {
	padding: 1rem 1.25rem;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
	font-size: 0.875rem;
}

.mtq-it-empty-filter {
	display: none;
	margin-top: 1rem;
}

.mtq-it-list-panel.is-it-filter-empty .mtq-it-empty-filter {
	display: block;
}

.mtq-it-list-panel.is-it-filter-empty .mtq-it-table-scroll {
	display: none;
}

.mtq-it-page-widget {
	margin-bottom: 1.5rem;
}

/* Filters */
.mtq-it-toolbar {
	padding: 1.1rem 1.25rem;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mtq-it-toolbar-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 1rem 1.25rem;
	align-items: end;
}

.mtq-it-field-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.mtq-it-select {
	width: 100%;
	min-height: 2.5rem;
	padding: 0.45rem 0.65rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.875rem;
	background: #fff;
	color: #0f172a;
}

.mtq-it-field--wide {
	grid-column: span 1;
}

.mtq-it-field--action {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.mtq-it-apply-btn,
.mtq-it-reset-btn {
	min-height: 2.5rem;
	padding: 0.45rem 1rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid transparent;
}

.mtq-it-apply-btn {
	background: #01247f;
	color: #fff;
}

.mtq-it-apply-btn:hover {
	background: #0139a8;
}

.mtq-it-reset-btn {
	background: #f1f5f9;
	color: #334155;
	border-color: #cbd5e1;
}

/* Table panel */
.mtq-it-list-panel {
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.mtq-it-list-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid #e8edf3;
	background: #f8fafc;
}

.mtq-it-list-count {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
}

.mtq-it-legacy-btn {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #01247f;
	text-decoration: none;
}

.mtq-it-legacy-btn:hover {
	text-decoration: underline;
}

.mtq-it-table-scroll {
	overflow-x: auto;
}

.mtq-it-data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8125rem;
}

.mtq-it-data-table thead th {
	padding: 0.65rem 0.75rem;
	text-align: left;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
	white-space: nowrap;
}

.mtq-it-data-table tbody td {
	padding: 0.7rem 0.75rem;
	border-bottom: 1px solid #eef2f6;
	vertical-align: top;
	color: #0f172a;
}

.mtq-it-data-table tbody tr:hover {
	background: #f8fafc;
}

.mtq-it-row.is-hidden {
	display: none;
}

.mtq-it-cell-date {
	min-width: 6.5rem;
}

.mtq-it-date-main {
	display: block;
	font-weight: 600;
}

.mtq-it-date-effective {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	color: #64748b;
}

.mtq-it-cell-name {
	min-width: 12rem;
	font-weight: 500;
}

.mtq-it-type-badge {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: #e8edf3;
	color: #334155;
}

.mtq-it-swu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	border-radius: 4px;
	font-weight: 800;
	font-size: 0.75rem;
}

.mtq-it-swu--buy {
	background: #dcfce7;
	color: #166534;
}

.mtq-it-swu--sell {
	background: #fee2e2;
	color: #991b1b;
}

.mtq-it-swu--sub {
	background: #e0f2fe;
	color: #075985;
}

.mtq-it-swu--rights,
.mtq-it-swu--other {
	background: #f1f5f9;
	color: #475569;
}

.mtq-it-cell-num.mtq-it-swu--buy {
	color: #166534;
	font-weight: 600;
}

.mtq-it-cell-num.mtq-it-swu--sell {
	color: #991b1b;
	font-weight: 600;
}

.mtq-it-col-num,
.mtq-it-cell-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.mtq-it-data-table thead .mtq-it-col-num {
	text-align: right;
}

.mtq-it-details summary {
	cursor: pointer;
	font-weight: 600;
	color: #01247f;
}

.mtq-it-remarks {
	margin-top: 0.35rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: #475569;
}

.mtq-it-muted {
	color: #94a3b8;
}

/* Footnotes */
.mtq-it-footnotes {
	padding: 1.1rem 1.25rem;
	background: #f8fafc;
	border: 1px solid #e8edf3;
	border-radius: 10px;
}

.mtq-it-footnotes-head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
}

.mtq-it-footnotes-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #01247f;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
}

.mtq-it-footnotes-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #01247f;
}

.mtq-it-footnotes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
	gap: 0.65rem 1.25rem;
}

.mtq-it-footnote {
	display: flex;
	gap: 0.45rem;
	align-items: flex-start;
}

.mtq-it-footnote-key {
	flex-shrink: 0;
	min-width: 2.25rem;
	font-size: 0.75rem;
	font-weight: 800;
	color: #01247f;
}

.mtq-it-footnote-text {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: #64748b;
}

/* Sources */
.mtq-it-sources-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.mtq-it-sources-inner a {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #01247f;
}

.mtq-it-source-meta {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	color: #94a3b8;
}

@media (max-width: 900px) {
	.mtq-it-toolbar-grid {
		grid-template-columns: 1fr 1fr;
	}

	.mtq-it-field--action {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.mtq-it-toolbar-grid {
		grid-template-columns: 1fr;
	}
}
