/* Study Documents table styles - loaded conditionally for shortcode */

.docs-wrap {
	--docs-navy: #111481;
	--docs-teal: #005D85;
	--docs-green: #006118;
	--docs-text: #0A0A0A;
	--docs-muted: #4A4F5C;
	--docs-border: #DDE0EC;
	--docs-alt: #F7F8FC;
	--docs-hover: #EEF1FA;
}

.docs-wrap [hidden] {
	display: none !important;
}

.docs-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Controls */

.docs-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.docs-search {
	flex: 1 1 300px;
	max-width: 420px;
}

.docs-wrap .docs-label {
	display: block;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--docs-navy);
}

.docs-search-field {
	position: relative;
	color: var(--docs-muted);
}

.docs-search-field svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.docs-wrap input.docs-input {
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 16px 0 42px;
	font: inherit;
	font-size: 16px;
	line-height: normal;
	color: var(--docs-text);
	background: #FFFFFF;
	border: 1px solid var(--docs-navy);
	border-radius: 6px;
	box-shadow: none;
}

.docs-wrap input.docs-input:focus {
	outline: 2px solid var(--docs-navy);
	outline-offset: 2px;
}

.docs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.docs-wrap .docs-chip,
.docs-wrap .docs-clear {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--docs-navy);
	background: #FFFFFF;
	border: 2px solid var(--docs-navy);
	border-radius: 5px;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
}

.docs-wrap .docs-chip:hover,
.docs-wrap .docs-clear:hover {
	color: var(--docs-navy);
	background: #E9EAF7;
}

.docs-wrap .docs-chip[aria-pressed="true"] {
	color: #FFFFFF;
	background: var(--docs-navy);
}

.docs-wrap .docs-chip:focus-visible,
.docs-wrap .docs-clear:focus-visible {
	outline: 2px solid var(--docs-navy);
	outline-offset: 2px;
}

.docs-count {
	font-weight: 400;
}

.docs-wrap .docs-status {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--docs-muted);
}

/* Table */

.docs-table-wrap,
.docs-empty {
	background: #FFFFFF;
	border: 1px solid var(--docs-border);
	border-radius: 10px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
	overflow: hidden;
}

.docs-wrap table.docs-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
}

.docs-wrap .docs-table th {
	padding: 14px 24px;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	color: #FFFFFF;
	background: var(--docs-navy);
	border: 0;
}

.docs-wrap .docs-table th:nth-child(2) { width: 210px; }
.docs-wrap .docs-table th:nth-child(3) { width: 140px; }
.docs-wrap .docs-table th:nth-child(4) { width: 120px; }

.docs-wrap .docs-table td {
	padding: 16px 24px;
	vertical-align: middle;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--docs-border);
}

.docs-wrap .docs-table tbody tr.is-alt {
	background: var(--docs-alt);
}

.docs-wrap .docs-table tbody tr:hover {
	background: var(--docs-hover);
}

.docs-wrap a.docs-title {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--docs-navy);
	text-decoration: none;
}

.docs-wrap a.docs-title svg {
	flex: 0 0 auto;
	color: var(--docs-teal);
}

.docs-wrap a.docs-title:hover,
.docs-wrap a.docs-title:focus {
	color: var(--docs-navy);
	text-decoration: underline;
}

.docs-wrap .docs-table time {
	font-size: 15px;
	color: #2E3240;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.docs-wrap .docs-action {
	text-align: right;
}

.docs-wrap .docs-action a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: var(--docs-teal);
	text-decoration: none;
	white-space: nowrap;
}

.docs-wrap .docs-action a:hover,
.docs-wrap .docs-action a:focus {
	color: var(--docs-navy);
	text-decoration: underline;
}

.docs-wrap a:focus-visible {
	outline: 2px solid var(--docs-navy);
	outline-offset: 2px;
}

/* Badges */

.docs-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	color: #3D4654;
	background: #ECEEF1;
	border: 1px solid #C9CFD6;
	border-radius: 999px;
}

.docs-badge-meetings {
	color: var(--docs-navy);
	background: #E9EAF7;
	border-color: #B9BBE3;
}

.docs-badge-deliverables {
	color: var(--docs-green);
	background: #E4F2E7;
	border-color: #A9D3B3;
}

.docs-badge-other {
	color: #004A6B;
	background: #E1EFF5;
	border-color: #A6CDDF;
}

/* Empty state */

.docs-empty {
	padding: 48px 24px;
	text-align: center;
}

.docs-empty p {
	margin: 0 0 12px;
	font-size: 15px;
	color: var(--docs-muted);
}

.docs-wrap .docs-empty-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--docs-navy);
}

.docs-wrap .docs-clear {
	margin-top: 8px;
}

/* Mobile: rows become cards */

@media (max-width: 767px) {
	.docs-wrap .docs-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.docs-wrap table.docs-table,
	.docs-wrap .docs-table tbody,
	.docs-wrap .docs-table tr,
	.docs-wrap .docs-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.docs-wrap .docs-table tbody tr {
		padding: 16px;
		border-top: 1px solid var(--docs-border);
	}

	.docs-wrap .docs-table tbody tr:first-child {
		border-top: 0;
	}

	.docs-wrap .docs-table td {
		padding: 4px 0;
		border: 0;
	}

	.docs-wrap .docs-table td[data-label="Type"]::before,
	.docs-wrap .docs-table td[data-label="Date"]::before {
		content: attr(data-label) ": ";
		margin-right: 6px;
		font-size: 13px;
		color: var(--docs-muted);
	}

	.docs-wrap .docs-action {
		text-align: left;
	}
}