.jkh-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px;
	color: #1f2933;
}

.jkh-hero {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
	padding: 24px;
	border-radius: 8px;
	background: #f4f8fb;
	border: 1px solid #d9e5ee;
}

.jkh-hero h1 {
	margin: 0 0 8px;
	font-size: 32px;
	line-height: 1.15;
}

.jkh-hero p {
	max-width: 760px;
	margin: 0;
	color: #52616f;
}

.jkh-kicker {
	margin: 0 0 8px;
	color: #0f6c8f;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
}

.jkh-panel {
	margin: 16px 0;
	padding: 20px;
	border: 1px solid #d9e5ee;
	border-radius: 8px;
	background: #ffffff;
}

.jkh-panel h2 {
	margin: 0 0 16px;
	font-size: 22px;
}

.jkh-panel h3 {
	margin: 28px 0 14px;
	font-size: 18px;
}

.jkh-panel-alert {
	border-color: #9bd4ad;
	background: #f6fbf8;
}

.jkh-panel-alert h2,
.jkh-attention-title {
	color: #176d36;
}

.jkh-panel-alert .jkh-muted {
	color: #2f6f44;
}

.jkh-panel h2 .jkh-button,
.jkh-panel h3 .jkh-button {
	margin-left: 10px;
	vertical-align: middle;
}

.jkh-panel-collapsed .jkh-table-wrap,
.jkh-panel-collapsed .jkh-table-actions,
.jkh-panel-collapsed .jkh-filter-bar,
.jkh-panel-collapsed .jkh-view-summary {
	display: none;
}

.jkh-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.jkh-panel-head h2,
.jkh-panel-head p {
	margin: 0;
}

.jkh-form label,
.jkh-grid label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.jkh-form input,
.jkh-grid input,
.jkh-grid select,
.jkh-form select {
	width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #b9c7d3;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
}

.jkh-form > label {
	display: grid;
	gap: 6px;
	margin-bottom: 14px;
	font-weight: 700;
}

.jkh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.jkh-auth-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.jkh-filter-bar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
	margin: 16px 0;
}

.jkh-filter-bar label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.jkh-filter-bar select,
.jkh-filter-bar input {
	width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #b9c7d3;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
}

.jkh-button,
.jkh-admin-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 0;
	border-radius: 6px;
	background: #0f6c8f;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.jkh-admin-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.jkh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.jkh-admin-nav a {
	background: #eef5f8;
	color: #0f4f69;
}

.jkh-button-light {
	background: #eef5f8;
	color: #0f4f69;
}

.jkh-button-danger {
	background: #d64545;
	color: #ffffff;
}

.jkh-button-small {
	min-height: 32px;
	padding: 5px 9px;
	font-size: 13px;
}

.jkh-inline-form {
	display: inline-flex;
	margin: 0 0 0 6px;
}

.jkh-review-form {
	display: grid;
	gap: 10px;
	max-width: 520px;
	margin-top: 14px;
	padding: 12px;
	border: 1px solid #d9e5ee;
	border-radius: 8px;
	background: #ffffff;
}

.jkh-review-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.jkh-review-form select,
.jkh-review-form textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #b9c7d3;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
}

.jkh-view-row td {
	background: #fbfdfe;
	color: #334e5c;
	line-height: 1.6;
}

.jkh-view-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0;
	padding: 12px;
	border: 1px solid #d9e5ee;
	border-radius: 8px;
	background: #fbfdfe;
}

.jkh-view-summary span {
	padding-right: 12px;
	border-right: 1px solid #d9e5ee;
}

.jkh-table-actions {
	margin: 0 0 12px;
}

.jkh-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 16px 0;
}

.jkh-summary-card {
	padding: 16px;
	border-radius: 8px;
	border: 1px solid #d9e5ee;
	background: #ffffff;
}

.jkh-summary-card span {
	display: block;
	color: #52616f;
	font-size: 14px;
}

.jkh-summary-card strong {
	display: block;
	margin-top: 6px;
	font-size: 30px;
	line-height: 1;
}

.jkh-summary-card .jkh-card-text,
.jkh-card-text {
	font-size: 17px;
	line-height: 1.35;
}

.jkh-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
}

.jkh-steps div,
.jkh-list-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border: 1px solid #e1e9ef;
	border-radius: 8px;
	background: #fbfdfe;
}

.jkh-steps strong {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #0f6c8f;
	color: #ffffff;
	flex: 0 0 auto;
}

.jkh-list {
	display: grid;
	gap: 8px;
}

.jkh-list-row small,
.jkh-muted {
	color: #667684;
}

.jkh-check {
	display: flex !important;
	grid-template-columns: none !important;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 0;
	font-weight: 500 !important;
}

.jkh-check input {
	width: auto;
	min-height: auto;
	margin-top: 4px;
}

.jkh-table-wrap {
	overflow-x: auto;
	border: 1px solid #d9e5ee;
	border-radius: 8px;
}

.jkh-indicators {
	width: 100%;
	min-width: 980px;
	border-collapse: collapse;
}

.jkh-report-table {
	width: 100%;
	min-width: 980px;
	border-collapse: collapse;
}

.jkh-indicators th,
.jkh-indicators td,
.jkh-report-table th,
.jkh-report-table td {
	padding: 10px;
	border-bottom: 1px solid #e1e9ef;
	vertical-align: top;
}

.jkh-indicators th,
.jkh-report-table th {
	background: #f4f8fb;
	text-align: left;
}

.jkh-report-table th[data-jkh-sortable] {
	cursor: pointer;
}

.jkh-report-table th[data-jkh-sort-direction="asc"]::after {
	content: " ↑";
}

.jkh-report-table th[data-jkh-sort-direction="desc"]::after {
	content: " ↓";
}

.jkh-column-help th {
	background: #fbfdfe;
	color: #52616f;
	font-size: 12px;
	font-weight: 600;
	white-space: normal;
}

.jkh-report-table tfoot th {
	background: #eef5f8;
	font-weight: 700;
}

.jkh-report-table tbody tr {
	cursor: pointer;
}

.jkh-report-table tbody tr:hover {
	background: #fbfdfe;
}

.jkh-fixed-table tbody tr {
	height: 54px;
}

.jkh-fixed-table th,
.jkh-fixed-table td {
	max-width: 180px;
	height: 54px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: top;
}

.jkh-light {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
}

.jkh-light-green {
	background: #25a244;
}

.jkh-light-yellow {
	background: #f2c94c;
}

.jkh-light-red {
	background: #d64545;
}

.jkh-status-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
}

.jkh-status-ok {
	background: #e7f6ed;
	color: #176d36;
}

.jkh-status-wait {
	background: #fff6dc;
	color: #7a5200;
}

.jkh-status-bad {
	background: #fdeaea;
	color: #9b1c1c;
}

.jkh-indicators input {
	width: 100%;
	min-height: 36px;
	padding: 6px 8px;
	border: 1px solid #b9c7d3;
	border-radius: 6px;
}

.jkh-calculated-row {
	background: #fbfdfe;
	color: #52616f;
}

.jkh-calc-field {
	background: #f4f8fb !important;
	color: #1f2933;
}

.jkh-field-missing {
	border-color: #d64545 !important;
	background: #fff7f7;
}

.jkh-form-check-result {
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid #d9e5ee;
	border-radius: 8px;
}

.jkh-form-check-ok {
	border-color: #9bd4ad;
	background: #f0faf4;
	color: #176d36;
}

.jkh-form-check-warn {
	border-color: #f2c94c;
	background: #fff9e8;
	color: #6b4a00;
}

.jkh-details summary {
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
}

.jkh-details[open] summary {
	margin-bottom: 16px;
}

.jkh-button[disabled] {
	background: #a9b7c3;
	cursor: not-allowed;
}

@media (max-width: 700px) {
	.jkh-shell {
		padding: 12px;
	}

	.jkh-hero {
		padding: 18px;
	}

	.jkh-hero h1 {
		font-size: 26px;
	}
}

@media print {
	@page {
		size: A4 landscape;
		margin: 8mm;
	}

	.jkh-hero,
	.jkh-actions,
	.jkh-admin-nav,
	nav,
	aside,
	.sidebar {
		display: none !important;
	}

	.jkh-shell {
		max-width: none;
		padding: 0;
	}

	.jkh-panel {
		border: 0;
		padding: 0;
	}

	.jkh-table-wrap {
		overflow: visible;
		border: 0;
	}

	.jkh-indicators,
	.jkh-report-table {
		min-width: 0;
		width: 100%;
		font-size: 10px;
		table-layout: fixed;
	}

	.jkh-indicators th,
	.jkh-indicators td,
	.jkh-report-table th,
	.jkh-report-table td {
		padding: 4px;
		overflow-wrap: anywhere;
	}
}
