.ark-financial-widget {
	--ark-financial-border: #dce4ee;
	--ark-financial-muted: #64748b;
	--ark-financial-ink: #0f172a;
	overflow: hidden;
	border: 1px solid var(--ark-financial-border);
	border-radius: 14px;
	background: #fff;
	color: #1e293b;
	font-family: inherit;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}

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

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

.ark-financial-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid var(--ark-financial-border);
	background: #f8fafc;
	padding: 14px 18px;
}

.ark-financial-header h2 {
	margin: 0;
	color: var(--ark-financial-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.ark-financial-year-picker {
	display: inline-flex;
	flex: 0 0 auto;
}

.ark-financial-year-picker select {
	min-height: 32px;
	border: 1px solid #d5deea;
	border-radius: 6px;
	background: #fff;
	padding: 4px 28px 4px 9px;
	color: #334e68;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
}

.ark-financial-year-picker select:focus-visible {
	border-color: #0284c7;
	outline: 2px solid rgba(2, 132, 199, 0.18);
	outline-offset: 1px;
}

.ark-financial-table-wrap {
	overflow-x: auto;
}

.ark-financial-table {
	width: 100%;
	min-width: 820px;
	border-collapse: collapse;
	table-layout: fixed;
	text-align: left;
}

.ark-financial-table thead {
	background: #f1f5f9;
}

.ark-financial-table thead th {
	padding: 12px 10px;
	border-bottom: 1px solid var(--ark-financial-border);
	color: #334e68;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.4;
	text-align: left;
	text-transform: uppercase;
}

.ark-financial-table thead th:first-child {
	width: 36%;
	padding-left: 18px;
}

.ark-financial-table thead th:nth-child(2),
.ark-financial-table thead th:nth-child(3),
.ark-financial-table thead th:nth-child(4) {
	width: 10%;
	text-align: center;
}

.ark-financial-table thead th:last-child {
	width: 34%;
	padding-right: 18px;
}

.ark-financial-table tbody tr {
	border-bottom: 1px solid #e8edf3;
	transition: background-color 0.15s ease;
}

.ark-financial-table tbody tr:last-child {
	border-bottom: 0;
}

.ark-financial-table tbody tr:hover {
	background: #f8fafc;
}

.ark-financial-table tbody th,
.ark-financial-table tbody td {
	padding: 16px 9px;
	vertical-align: top;
}

.ark-financial-table tbody th {
	padding-left: 18px;
	text-align: left;
}

.ark-financial-table tbody td:last-child {
	padding-right: 18px;
}

.ark-financial-entity {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ark-financial-entity-icon {
	display: inline-flex;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

.ark-financial-entity-icon svg {
	width: 17px;
	height: 17px;
}

.ark-financial-entity-icon--consolidated {
	background: #eff6ff;
	color: #0369a1;
}

.ark-financial-entity-icon--treasury {
	background: #ecfdf5;
	color: #047857;
}

.ark-financial-entity-icon--administration {
	background: #eef2ff;
	color: #4f46e5;
}

.ark-financial-entity-copy,
.ark-financial-part-copy {
	display: grid;
	min-width: 0;
	gap: 3px;
}

.ark-financial-entity-name {
	color: var(--ark-financial-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.ark-financial-entity-subtitle {
	color: var(--ark-financial-muted);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
}

.ark-financial-period {
	text-align: center;
}

.ark-financial-period-link {
	display: inline-flex;
	width: 100%;
	min-height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: 1px solid #dce4ee;
	border-radius: 7px;
	background: #fff;
	padding: 6px 4px;
	color: #0369a1;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.ark-financial-period-link:hover,
.ark-financial-period-link:focus-visible {
	transform: translateY(-1px);
	border-color: #7dd3fc;
	background: #f0f9ff;
	color: #075985;
}

.ark-financial-period-file {
	color: #8493a7;
	font-size: 9px;
	font-weight: 500;
	text-transform: uppercase;
}

.ark-financial-unavailable {
	display: inline-flex;
	min-height: 42px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
}

.ark-financial-unavailable small {
	margin-top: 2px;
	color: #94a3b8;
	font-family: inherit;
	font-size: 9px;
}

.ark-financial-annual {
	min-width: 0;
}

.ark-financial-annual-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 7px;
}

.ark-financial-annual-title {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #334155;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
}

.ark-financial-annual-title::before {
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 50%;
	background: #0284c7;
	content: "";
}

.ark-financial-annual-count {
	color: #718096;
	font-size: 10px;
	white-space: nowrap;
}

.ark-financial-parts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.ark-financial-part {
	display: flex;
	min-width: 0;
	min-height: 45px;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	border: 1px solid #dbeafe;
	border-radius: 7px;
	background: #f8fbff;
	padding: 7px;
	color: #0c4a6e;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.ark-financial-part:hover,
.ark-financial-part:focus-visible {
	transform: translateY(-1px);
	border-color: #93c5fd;
	background: #eff6ff;
	color: #082f49;
}

.ark-financial-part--treasury {
	border-color: #a7f3d0;
	background: #f0fdf7;
	color: #065f46;
}

.ark-financial-part--treasury:hover,
.ark-financial-part--treasury:focus-visible {
	border-color: #6ee7b7;
	background: #ecfdf5;
	color: #064e3b;
}

.ark-financial-part--administration {
	border-color: #e0e7ff;
	background: #fafaff;
	color: #3730a3;
}

.ark-financial-part--administration:hover,
.ark-financial-part--administration:focus-visible {
	border-color: #a5b4fc;
	background: #eef2ff;
	color: #312e81;
}

.ark-financial-part-info {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
}

.ark-financial-file-badge {
	display: inline-flex;
	min-width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: #fee2e2;
	padding: 0 3px;
	color: #b91c1c;
	font-size: 8px;
	font-weight: 800;
	text-transform: uppercase;
}

.ark-financial-part-heading {
	overflow: hidden;
	color: #1e293b;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.35;
	text-overflow: ellipsis;
}

.ark-financial-part-description {
	overflow: hidden;
	color: #64748b;
	font-size: 9px;
	line-height: 1.3;
	text-overflow: ellipsis;
}

.ark-financial-download {
	width: 13px;
	height: 13px;
	flex: 0 0 13px;
	color: #0284c7;
}

.ark-financial-part--treasury .ark-financial-download {
	color: #059669;
}

.ark-financial-part--administration .ark-financial-download {
	color: #4f46e5;
}

.ark-financial-no-annual {
	color: #cbd5e1;
	font-size: 12px;
}

.ark-financial-footer {
	display: flex;
	align-items: center;
	gap: 7px;
	border-top: 1px solid var(--ark-financial-border);
	background: #f8fafc;
	padding: 11px 18px;
	color: var(--ark-financial-muted);
	font-size: 10px;
	line-height: 1.5;
}

.ark-financial-footer svg {
	width: 13px;
	height: 13px;
	flex: 0 0 13px;
	color: #059669;
}

.ark-financial-footer strong {
	color: #334e68;
	font-weight: 600;
}

.ark-financial-widget a:focus-visible {
	outline: 2px solid #0284c7;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.ark-financial-header {
		align-items: flex-start;
	}

	.ark-financial-table {
		min-width: 760px;
	}

	.ark-financial-table thead th:first-child {
		width: 30%;
	}

	.ark-financial-table thead th:nth-child(2),
	.ark-financial-table thead th:nth-child(3),
	.ark-financial-table thead th:nth-child(4) {
		width: 11%;
	}

	.ark-financial-table thead th:last-child {
		width: 37%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ark-financial-widget *,
	.ark-financial-widget *::before,
	.ark-financial-widget *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
