.ere-submissions-dashboard {
	--ere-navy: #0b2545;
	--ere-gold: #b08b3a;
	--ere-ink: #111418;
	--ere-muted: #6b7280;
	--ere-line: #e5e7eb;
	--ere-panel: #ffffff;
	--ere-soft: #fafaf7;
	--ere-serif: "Source Serif 4", "Source Serif Pro", "Libre Caslon Text", Georgia, serif;
	color: var(--ere-ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 auto;
	max-width: 1120px;
}

.ere-submissions-dashboard *,
.ere-submissions-dashboard *::before,
.ere-submissions-dashboard *::after {
	box-sizing: border-box;
}

.ere-submissions-header {
	align-items: flex-end;
	border-bottom: 1px solid var(--ere-line);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 20px;
}

.ere-submissions-eyebrow {
	color: var(--ere-gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.ere-submissions-header h2 {
	color: var(--ere-navy);
	font-family: var(--ere-serif);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0;
}

.ere-submissions-action {
	align-items: center;
	background: var(--ere-navy);
	border: 1px solid var(--ere-navy);
	border-radius: 6px;
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 11px 18px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.ere-submissions-action:hover,
.ere-submissions-action:focus {
	background: #081a35;
	border-color: #081a35;
	color: #ffffff;
	text-decoration: none;
}

.ere-submissions-filters {
	align-items: flex-end;
	border-bottom: 1px solid var(--ere-line);
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	overflow-x: auto;
}

.ere-submissions-filter {
	align-items: center;
	border-bottom: 2px solid transparent;
	color: var(--ere-muted);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	margin-bottom: -1px;
	padding: 10px 14px;
	text-decoration: none;
	white-space: nowrap;
}

.ere-submissions-filter:hover,
.ere-submissions-filter:focus {
	color: var(--ere-navy);
	text-decoration: none;
}

.ere-submissions-filter.is-active {
	border-bottom-color: var(--ere-navy);
	color: var(--ere-navy);
}

.ere-submissions-filter-count {
	background: #eceae3;
	border-radius: 999px;
	color: var(--ere-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	min-width: 24px;
	padding: 2px 7px;
	text-align: center;
}

.ere-submissions-filter.is-active .ere-submissions-filter-count {
	background: var(--ere-navy);
	color: #ffffff;
}

.ere-submissions-table-wrapper {
	background: var(--ere-panel);
	border: 1px solid var(--ere-line);
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(11, 37, 69, 0.04);
	overflow: hidden;
}

.ere-submissions-table {
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	width: 100%;
}

.ere-submissions-table th,
.ere-submissions-table td {
	border: 0;
	border-bottom: 1px solid var(--ere-line);
	padding: 16px 20px;
	text-align: left;
	vertical-align: middle;
}

.ere-submissions-table th {
	background: var(--ere-soft);
	color: var(--ere-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
	padding-bottom: 12px;
	padding-top: 12px;
	text-transform: uppercase;
}

.ere-submissions-table td {
	background: #ffffff;
	color: var(--ere-ink);
	font-size: 14px;
	line-height: 1.4;
}

.ere-submissions-table tbody tr:hover td {
	background: var(--ere-soft);
}

.ere-submissions-table tbody tr:last-child td {
	border-bottom: 0;
}

.ere-submissions-case-id {
	color: var(--ere-navy) !important;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 13px !important;
	font-weight: 700;
	white-space: nowrap;
}

.ere-submissions-status {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 7px;
	letter-spacing: 0;
	line-height: 1.2;
	padding: 5px 11px;
	white-space: nowrap;
}

.ere-submissions-status span {
	border-radius: 50%;
	display: block;
	height: 7px;
	width: 7px;
}

.ere-submissions-status--approved {
	background: #e7f1ea;
	border-color: rgba(30, 86, 49, 0.18);
	color: #1e5631;
}

.ere-submissions-status--approved span {
	background: #2e7d4f;
}

.ere-submissions-status--under-review {
	background: #f7eed3;
	border-color: rgba(122, 91, 0, 0.18);
	color: #7a5b00;
}

.ere-submissions-status--under-review span {
	background: #b48a00;
}

.ere-submissions-status--denied {
	background: #f4dede;
	border-color: rgba(122, 29, 29, 0.18);
	color: #7a1d1d;
}

.ere-submissions-status--denied span {
	background: #a83838;
}

.ere-submissions-footer {
	align-items: center;
	background: var(--ere-soft);
	border-top: 1px solid var(--ere-line);
	color: var(--ere-muted);
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	line-height: 1.4;
	padding: 12px 20px;
}

.ere-submissions-footer span:last-child {
	font-family: var(--ere-serif);
	font-style: italic;
}

.ere-submissions-empty,
.ere-submissions-empty-row {
	text-align: center;
}

.ere-submissions-empty {
	align-items: center;
	background: #ffffff;
	border: 1px dashed var(--ere-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 56px 32px;
}

.ere-submissions-empty-icon {
	align-items: center;
	background: var(--ere-soft);
	border: 1px solid var(--ere-line);
	border-radius: 50%;
	color: var(--ere-navy);
	display: flex;
	height: 64px;
	justify-content: center;
	width: 64px;
}

.ere-submissions-empty-icon svg {
	fill: none;
	height: 30px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	width: 30px;
}

.ere-submissions-empty h3 {
	color: var(--ere-navy);
	font-family: var(--ere-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
}

.ere-submissions-empty p {
	color: var(--ere-muted);
	font-size: 14px;
	line-height: 1.55;
	margin: -6px 0 0;
	max-width: 420px;
}

.ere-submissions-empty-row {
	color: var(--ere-muted) !important;
	font-size: 14px !important;
	padding: 28px 20px !important;
}

@media (max-width: 760px) {
	.ere-submissions-header {
		align-items: stretch;
		flex-direction: column;
	}

	.ere-submissions-header h2 {
		font-size: 28px;
	}

	.ere-submissions-action {
		width: 100%;
	}

	.ere-submissions-table-wrapper {
		overflow-x: auto;
	}

	.ere-submissions-table {
		min-width: 680px;
	}

	.ere-submissions-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
}
