.ark-widget {
	--ark-brand: #0369a1;
	--ark-brand-dark: #082f49;
	--ark-brand-soft: #f0f7ff;
	--ark-border: #dbe3ec;
	--ark-muted: #64748b;
	--ark-ink: #0f172a;
	color: #1e293b;
	font-family: inherit;
}

.ark-widget *,
.ark-widget *::before,
.ark-widget *::after {
	box-sizing: border-box;
}

.ark-widget [hidden] {
	display: none !important;
}

.ark-widget .ark-section-heading,
.ark-widget .ark-table-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ark-widget .ark-section-heading {
	margin-bottom: 16px;
}

.ark-widget .ark-section-heading h2,
.ark-widget .ark-table-heading h2 {
	margin: 0;
	color: var(--ark-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.ark-widget .ark-heading-mark {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 9px;
	border-radius: 2px;
	background: var(--ark-brand);
	vertical-align: 2px;
}

.ark-widget .ark-section-heading p,
.ark-widget .ark-table-heading p {
	margin: 4px 0 0;
	color: var(--ark-muted);
	font-size: 13px;
	line-height: 1.5;
}

.ark-widget .ark-year-picker {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.ark-widget .ark-year-picker label {
	color: var(--ark-muted);
	font-size: 13px;
	font-weight: 600;
}

.ark-widget .ark-year-picker select,
.ark-widget .ark-search-wrap input {
	min-height: 36px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #334155;
	font: inherit;
	font-size: 13px;
}

.ark-widget .ark-year-picker select {
	padding: 6px 30px 6px 10px;
}

.ark-widget .ark-quarter-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 30px;
}

.ark-widget .ark-quarter-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid var(--ark-border);
	border-radius: 10px;
	background: #fff;
	padding: 16px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ark-widget .ark-quarter-card:hover {
	border-color: #93c5fd;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .07);
}

.ark-widget .ark-quarter-card--pending {
	border: 2px solid #bae0fd;
	background: linear-gradient(180deg, #fff, #f8fbff);
}

.ark-widget .ark-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 12px;
}

.ark-widget .ark-quarter-tag,
.ark-widget .ark-status {
	display: inline-block;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
}

.ark-widget .ark-quarter-tag {
	padding: 4px 6px;
	background: #f1f5f9;
	color: #475569;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ark-widget .ark-status {
	padding: 3px 7px;
	white-space: nowrap;
}

.ark-widget .ark-status--approved {
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #047857;
}

.ark-widget .ark-status--pending {
	border: 1px solid #fde68a;
	background: #fffbeb;
	color: #b45309;
}

.ark-widget .ark-quarter-card h3 {
	margin: 0;
	color: var(--ark-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
}

.ark-widget .ark-decision {
	margin: 7px 0 0;
	color: var(--ark-muted);
	font-size: 11px;
	line-height: 1.45;
}

.ark-widget .ark-card-files {
	display: grid;
	gap: 6px;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.ark-widget .ark-card-files a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border-radius: 5px;
	background: #f5f9fe;
	padding: 7px 8px;
	color: #075985;
	font-size: 11px;
	text-decoration: none;
}

.ark-widget .ark-card-files a:hover {
	background: #e0effe;
}

.ark-widget .ark-file-type {
	color: #94a3b8;
	font-size: 10px;
	text-transform: uppercase;
}

.ark-widget .ark-departments {
	overflow: hidden;
	border: 1px solid var(--ark-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.ark-widget .ark-table-heading {
	padding: 18px 20px;
	border-bottom: 1px solid var(--ark-border);
	background: #f8fafc;
}

.ark-widget .ark-table-heading h2 {
	font-size: 16px;
}

.ark-widget .ark-table-heading p {
	font-size: 12px;
}

.ark-widget .ark-search-wrap {
	display: flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
}

.ark-widget .ark-search-wrap input {
	width: 220px;
	padding: 7px 10px;
}

.ark-widget .ark-search-wrap input:focus,
.ark-widget .ark-year-picker select:focus {
	border-color: var(--ark-brand);
	outline: 2px solid rgba(2, 132, 199, .16);
	outline-offset: 1px;
}

.ark-widget .ark-search-wrap [data-ark-count] {
	color: #94a3b8;
	font-size: 11px;
	white-space: nowrap;
}

.ark-widget .ark-table-scroll {
	overflow-x: auto;
}

.ark-widget table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.ark-widget thead {
	background: #f8fafc;
}

.ark-widget th,
.ark-widget td {
	padding: 11px 14px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 12px;
}

.ark-widget thead th {
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .025em;
	white-space: nowrap;
}

.ark-widget thead th:not(:first-child),
.ark-widget tbody td {
	text-align: center;
}

.ark-widget tbody th {
	min-width: 180px;
	color: #1e293b;
	font-weight: 600;
}

.ark-widget tbody tr:hover {
	background: #f5faff;
}

.ark-widget .ark-quarter-link {
	display: inline-block;
	border-radius: 4px;
	background: #f0f7ff;
	padding: 4px 8px;
	color: var(--ark-brand);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.ark-widget .ark-quarter-link:hover {
	background: #e0effe;
	color: var(--ark-brand-dark);
	text-decoration: underline;
}

.ark-widget .ark-no-file {
	color: #cbd5e1;
}

.ark-widget .ark-no-results {
	margin: 0;
	padding: 18px;
	color: var(--ark-muted);
	font-size: 13px;
	text-align: center;
}

.ark-widget .ark-table-footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 18px;
	background: #f8fafc;
	color: var(--ark-muted);
	font-size: 10px;
	line-height: 1.5;
}

.ark-widget--empty {
	border: 1px solid var(--ark-border);
	border-radius: 8px;
	padding: 16px;
	color: var(--ark-muted);
	font-size: 13px;
}

@media (max-width: 900px) {
	.ark-widget .ark-quarter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ark-widget .ark-section-heading,
	.ark-widget .ark-table-heading {
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.ark-widget .ark-section-heading,
	.ark-widget .ark-table-heading,
	.ark-widget .ark-table-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.ark-widget .ark-year-picker {
		justify-content: flex-start;
	}

	.ark-widget .ark-quarter-grid {
		grid-template-columns: 1fr;
	}

	.ark-widget .ark-search-wrap input {
		width: 100%;
	}

	.ark-widget .ark-table-heading {
		padding: 15px;
	}

	.ark-widget th,
	.ark-widget td {
		padding: 10px;
	}
}

@media print {
	.ark-widget .ark-year-picker,
	.ark-widget .ark-search-wrap,
}
