.kk-wrap {
	--kk-bg: #07130f;
	--kk-panel: #0d281c;
	--kk-panel-soft: #122f22;
	--kk-border: rgba(116, 154, 118, 0.35);
	--kk-text: #f7fbf3;
	--kk-muted: #c8d8cf;
	--kk-gold: #e0b75c;
	--kk-gold-soft: rgba(224, 183, 92, 0.18);
	box-sizing: border-box;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid var(--kk-border);
	border-radius: 8px;
	background:
		radial-gradient(circle at 24% 14%, rgba(224, 183, 92, 0.12), transparent 28%),
		linear-gradient(145deg, var(--kk-panel), var(--kk-bg));
	color: var(--kk-text);
	font-family: inherit;
}

.kk-mini-widget {
	align-items: center;
	color: var(--ba-text, #f3f0df);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 0;
	height: 20px;
	letter-spacing: 0;
	line-height: 16px;
	margin: 0 16px 0 0;
	padding: 2px 0;
	vertical-align: middle;
	white-space: nowrap;
}

.kk-mini-widget .kk-mini-label {
	color: var(--ba-gold, #d6b35a);
	line-height: 16px;
}

.kk-mini-widget .kk-mini-aretan,
.kk-mini-widget .kk-mini-gregorian {
	color: var(--ba-text, #f3f0df);
	font: inherit;
	font-weight: 700;
	line-height: 16px;
}

.kk-mini-widget .kk-mini-aretan {
	margin-inline-start: 0.35em;
}

.kk-mini-widget .kk-areta-number {
	align-items: center;
	display: inline-flex;
	height: 1.25em;
	line-height: 1;
	vertical-align: middle;
}

.kk-mini-widget .kk-areta-glyph {
	color: var(--ba-text, #fff);
	display: none;
	height: 100%;
}

.kk-mini-widget .kk-areta-number.is-glyph-ready .kk-areta-fallback {
	display: none;
}

.kk-mini-widget .kk-areta-number.is-glyph-ready .kk-areta-glyph {
	display: inline-flex;
}

.kk-mini-widget .kk-areta-glyph svg {
	display: block;
	height: 100%;
	overflow: visible;
	width: auto;
}

.kk-mini-widget .kk-areta-glyph line {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.4;
}

.kk-wrap .kk-areta-number {
	align-items: center;
	display: inline-flex;
	height: 1.3em;
	line-height: 1;
	vertical-align: middle;
}

.kk-wrap .kk-areta-glyph {
	color: currentColor;
	display: none;
	height: 100%;
}

.kk-wrap .kk-areta-number.is-glyph-ready .kk-areta-fallback {
	display: none;
}

.kk-wrap .kk-areta-number.is-glyph-ready .kk-areta-glyph {
	display: inline-flex;
}

.kk-wrap .kk-areta-glyph svg {
	display: block;
	height: 100%;
	overflow: visible;
	width: auto;
}

.kk-wrap .kk-areta-glyph line {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.kk-wrap .kk-areta-glyph circle {
	fill: currentColor;
}

.kk-mini-widget .kk-areta-glyph circle {
	fill: currentColor;
}

.kk-mini-widget .kk-areta-glyph .kk-areta-glyph-separator {
	stroke-width: 1.1;
}

.kk-mini-widget .kk-mini-separator {
	color: rgba(243, 240, 223, 0.58);
	font: inherit;
	line-height: 16px;
	padding-inline: 0.28em;
}

.kk-mini-moon {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	overflow: hidden;
	border: 1px solid rgba(224, 183, 92, 0.48);
	border-radius: 999px;
	background: radial-gradient(circle at 38% 30%, #f4f0dc 0 28%, #cbc4a8 62%, #716b5c 100%);
	box-shadow:
		0 0 0 1px rgba(2, 6, 4, 0.78),
		0 0 8px rgba(205, 198, 168, 0.16);
}

.kk-mini-moon::after {
	content: "";
	display: none;
	position: absolute;
	inset: 3px;
	border-radius: inherit;
	background: none;
}

.kk-mini-moon--new {
	background: radial-gradient(circle at 38% 30%, #102417 0 28%, #06130d 62%, #010403 100%);
	box-shadow:
		inset -3px -2px 7px rgba(0, 0, 0, 0.86),
		inset 2px 1px 4px rgba(224, 183, 92, 0.14),
		0 0 0 1px rgba(2, 6, 4, 0.78),
		0 0 7px rgba(224, 183, 92, 0.1);
}

:where(p, div, section, aside, header, .widget, .widget_text, .textwidget, .wp-block-shortcode, .wp-block-html, .wp-block-group):has(.kk-mini-widget) {
	line-height: 16px !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	min-height: 0 !important;
	padding-bottom: 2px !important;
	padding-top: 2px !important;
}

.kk-wrap *,
.kk-wrap *::before,
.kk-wrap *::after {
	box-sizing: border-box;
}

.kk-hero {
	display: grid;
	grid-template-columns: minmax(150px, 220px) 1fr;
	gap: 28px;
	align-items: center;
	margin-bottom: 26px;
}

.kk-disc-shell {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 210px;
}

.kk-wrap[data-object="sun"] .kk-disc-shell {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.kk-moon-figure,
.kk-sun-figure {
	display: grid;
	gap: 12px;
	justify-items: center;
	margin: 0;
}

.kk-moon-disc {
	display: block;
	width: min(210px, 52vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #030806;
	filter:
		drop-shadow(0 0 14px rgba(224, 183, 92, 0.12))
		drop-shadow(0 20px 34px rgba(0, 0, 0, 0.45));
}

.kk-moon-shadow {
	fill: #050807;
}

.kk-moon-light {
	fill: #e7e4d7;
}

.kk-moon-texture {
	fill: rgba(43, 48, 42, 0.22);
	mix-blend-mode: multiply;
}

.kk-moon-ring {
	fill: none;
	stroke: rgba(255, 255, 255, 0.42);
	stroke-width: 1;
	box-shadow:
		0 0 0 10px rgba(224, 183, 92, 0.07),
		0 20px 42px rgba(0, 0, 0, 0.35),
		inset -18px -22px 28px rgba(0, 0, 0, 0.35);
}

.kk-moon-figure figcaption,
.kk-sun-figure figcaption {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(3, 9, 7, 0.52);
	color: #fff;
	font-size: 14px;
	line-height: 1.1;
}

.kk-moon-figure figcaption strong,
.kk-sun-figure figcaption strong {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
}

.kk-moon-figure figcaption span,
.kk-sun-figure figcaption span {
	color: var(--kk-muted);
	font-size: 13px;
}

.kk-sun-disc {
	display: block;
	width: min(210px, 52vw);
	aspect-ratio: 1;
	border-radius: 18px;
	background: #000;
	object-fit: cover;
	overflow: visible;
	filter: drop-shadow(0 12px 30px rgba(216, 137, 24, 0.28));
}

.kk-main {
	min-width: 0;
}

.kk-eyebrow,
.kk-card span {
	margin: 0 0 8px;
	color: var(--kk-gold);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.kk-main h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.05;
	letter-spacing: 0;
}

.kk-main p {
	margin: 0 0 10px;
	color: var(--kk-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.kk-main > span {
	display: block;
	color: var(--kk-muted);
	font-size: 15px;
}

.kk-city-form {
	display: grid;
	grid-template-columns: minmax(190px, 260px) auto;
	gap: 8px 10px;
	align-items: end;
	margin: 12px 0 0;
}

.kk-city-form label {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--kk-gold);
	font-size: 13px;
	font-weight: 850;
	line-height: 1;
	text-transform: uppercase;
}

.kk-city-form select {
	width: 100%;
	min-height: 42px;
	padding: 8px 38px 8px 12px;
	border: 1px solid rgba(224, 183, 92, 0.36);
	border-radius: 8px;
	background: #06120d;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 750;
}

.kk-city-form button {
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid rgba(224, 183, 92, 0.42);
	border-radius: 8px;
	background: var(--kk-gold-soft);
	color: var(--kk-gold);
	font: inherit;
	font-size: 14px;
	font-weight: 850;
	line-height: 1;
	cursor: pointer;
}

.kk-city-form small {
	grid-column: 1 / -1;
	color: var(--kk-gold);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.kk-month {
	margin: 0 0 18px;
	padding: 18px;
	border: 1px solid var(--kk-border);
	border-radius: 8px;
	background: rgba(5, 19, 13, 0.66);
}

.kk-month-head {
	display: grid;
	grid-template-columns: 46px 1fr 46px;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
}

.kk-month-head div {
	text-align: center;
}

.kk-month-head span {
	display: block;
	margin-bottom: 4px;
	color: var(--kk-gold);
	font-size: 13px;
	font-weight: 850;
	text-transform: uppercase;
}

.kk-month-head strong {
	display: block;
	color: #fff;
	font-size: 24px;
	font-weight: 850;
	line-height: 1.12;
}

.kk-month-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(224, 183, 92, 0.42);
	border-radius: 8px;
	background: var(--kk-gold-soft);
	color: var(--kk-gold);
	font-size: 31px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.kk-month-weekdays,
.kk-month-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 9px;
}

.kk-month-weekdays {
	margin-bottom: 9px;
}

.kk-month-weekdays span {
	padding: 6px 4px;
	color: var(--kk-muted);
	font-size: 12px;
	font-weight: 850;
	text-align: center;
	text-transform: uppercase;
}

.kk-month-empty,
.kk-month-cell {
	min-height: 124px;
	border-radius: 8px;
}

.kk-month-empty {
	border: 1px solid rgba(116, 154, 118, 0.13);
	background: rgba(3, 10, 7, 0.25);
}

.kk-month-cell {
	display: grid;
	grid-template-rows: auto 1fr auto auto;
	justify-items: center;
	gap: 4px;
	padding: 9px 6px 8px;
	border: 1px solid rgba(116, 154, 118, 0.27);
	background: rgba(2, 12, 8, 0.72);
	color: var(--kk-text);
	text-align: center;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.kk-month-cell:hover,
.kk-month-cell:focus {
	border-color: rgba(224, 183, 92, 0.72);
	background: rgba(24, 44, 31, 0.86);
	outline: none;
	transform: translateY(-1px);
}

.kk-month-cell--today {
	border-color: rgba(82, 211, 162, 0.78);
	box-shadow: inset 0 0 0 1px rgba(82, 211, 162, 0.45);
}

.kk-month-cell--selected {
	background: linear-gradient(145deg, rgba(34, 125, 102, 0.34), rgba(9, 48, 37, 0.88));
	border: 2px solid #5ce4c0;
	box-shadow: 0 0 0 2px rgba(92, 228, 192, 0.18), inset 0 0 18px rgba(92, 228, 192, 0.16);
}

.kk-month-cell--new,
.kk-month-cell--first-quarter,
.kk-month-cell--last-quarter {
	background: linear-gradient(145deg, rgba(118, 88, 30, 0.26), rgba(35, 29, 14, 0.9));
	border-color: rgba(224, 183, 92, 0.82);
	box-shadow: inset 0 0 0 1px rgba(255, 221, 139, 0.22), 0 0 10px rgba(224, 183, 92, 0.1);
}

.kk-month-cell--full {
	background: linear-gradient(145deg, rgba(167, 122, 31, 0.48), rgba(55, 43, 15, 0.94));
	border: 2px solid #f0c968;
	box-shadow: 0 0 20px rgba(240, 201, 104, 0.38), inset 0 0 0 1px rgba(255, 235, 171, 0.62), inset 0 0 22px rgba(224, 183, 92, 0.12);
}

.kk-month-cell--selected:not(.kk-month-cell--full) {
	background: linear-gradient(145deg, rgba(34, 125, 102, 0.34), rgba(9, 48, 37, 0.88));
	border: 2px solid #5ce4c0;
	box-shadow: 0 0 0 2px rgba(92, 228, 192, 0.18), inset 0 0 18px rgba(92, 228, 192, 0.16);
}

.kk-month-cell--selected:not(.kk-month-cell--full) .kk-month-day,
.kk-month-cell--selected:not(.kk-month-cell--full) .kk-month-pct {
	color: #8ff2d3;
}

.kk-month-cell--selected.kk-month-cell--full {
	background: linear-gradient(145deg, rgba(176, 128, 31, 0.52), rgba(57, 44, 15, 0.96));
	border-color: #f6d77f;
	box-shadow: 0 0 0 3px rgba(255, 231, 162, 0.72), 0 0 24px rgba(240, 201, 104, 0.48), inset 0 0 0 1px rgba(255, 242, 193, 0.68);
}

.kk-month-cell--selected.kk-month-cell--new,
.kk-month-cell--selected.kk-month-cell--first-quarter,
.kk-month-cell--selected.kk-month-cell--last-quarter {
	background: linear-gradient(145deg, rgba(132, 96, 29, 0.34), rgba(39, 31, 13, 0.94));
	border: 2px solid #e0b75c;
	box-shadow: 0 0 0 2px rgba(224, 183, 92, 0.28), 0 0 14px rgba(224, 183, 92, 0.2), inset 0 0 0 1px rgba(255, 229, 158, 0.34);
}

.kk-month-cell--selected.kk-month-cell--new .kk-month-day,
.kk-month-cell--selected.kk-month-cell--new .kk-month-pct,
.kk-month-cell--selected.kk-month-cell--first-quarter .kk-month-day,
.kk-month-cell--selected.kk-month-cell--first-quarter .kk-month-pct,
.kk-month-cell--selected.kk-month-cell--last-quarter .kk-month-day,
.kk-month-cell--selected.kk-month-cell--last-quarter .kk-month-pct {
	color: #f2cb6c;
}

.kk-month-day {
	color: #fff;
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
}

.kk-month-moon {
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
}

.kk-cell-moon-svg {
	display: block;
	width: 43px;
	height: 43px;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.kk-cell-sun-svg {
	display: block;
	width: 43px;
	height: 43px;
	overflow: visible;
}

.kk-cell-sun-image {
	display: block;
	width: 43px;
	height: 43px;
	border-radius: 50%;
	background: #000;
	object-fit: cover;
	filter: drop-shadow(0 0 7px rgba(255, 132, 24, 0.42));
}

.kk-cell-sun-rays {
	stroke: #e0b75c;
	stroke-linecap: round;
	stroke-width: 5;
}

.kk-cell-sun-glow {
	fill: rgba(224, 183, 92, 0.2);
}

.kk-cell-sun-core {
	fill: #f3c85f;
	stroke: #fff0ad;
	stroke-width: 3;
}

.kk-month-cell--sun {
	border-color: rgba(224, 183, 92, 0.42);
	background: #000 !important;
	box-shadow: inset 0 0 0 1px rgba(255, 139, 29, 0.08);
}

.kk-month-cell--sun.kk-month-cell--selected {
	border: 2px solid #f0c968;
	background: #000 !important;
	box-shadow: 0 0 0 2px rgba(240, 201, 104, 0.24), 0 0 16px rgba(255, 132, 24, 0.24);
}

.kk-month-cell--sun .kk-month-pct,
.kk-month-cell--sun .kk-month-phase {
	font-size: 10px;
}

.kk-cell-moon-dark {
	fill: #050807;
}

.kk-cell-moon-light {
	fill: #dfddd2;
}

.kk-cell-moon-mini-texture,
.kk-cell-moon-texture {
	fill: rgba(52, 58, 51, 0.2);
	mix-blend-mode: multiply;
}

.kk-cell-moon-ring {
	fill: none;
	stroke: rgba(255, 255, 255, 0.38);
	stroke-width: 1.2;
}

.kk-month-pct {
	color: var(--kk-gold);
	font-size: 13px;
	font-weight: 850;
	line-height: 1;
}

.kk-month-phase {
	width: 100%;
	overflow: hidden;
	color: var(--kk-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.18;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kk-month-cell--new .kk-month-phase,
.kk-month-cell--first-quarter .kk-month-phase,
.kk-month-cell--last-quarter .kk-month-phase {
	color: var(--kk-gold);
}

.kk-month-cell--full .kk-month-phase {
	color: var(--kk-gold);
}

.kk-month-secondary {
	color: #d9e5dc;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.kk-date-panel {
	margin: 0 0 18px;
	padding: 16px;
	border: 1px solid var(--kk-border);
	border-radius: 8px;
	background: rgba(5, 19, 13, 0.72);
}

.kk-date-form {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.kk-view-options {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) 100px;
	gap: 14px;
	align-items: end;
	min-width: 0;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 18px;
	border: 1px solid var(--kk-border);
	border-radius: 8px;
	background: rgba(5, 19, 13, 0.72);
}

.kk-view-options label {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.kk-view-options label > span {
	color: var(--kk-gold);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.kk-view-options select,
.kk-view-options button {
	box-sizing: border-box;
	height: 58px;
	min-height: 58px;
	border-radius: 8px;
	font: inherit;
	font-size: 17px;
	font-weight: 800;
}

.kk-view-options select {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 10px 30px 10px 10px;
	border: 1px solid rgba(116, 154, 118, 0.42);
	background: #06120d;
	color: #fff;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kk-view-options button {
	width: 100%;
	min-width: 0;
	padding: 10px 14px;
	font-size: 16px;
	border: 1px solid rgba(224, 183, 92, 0.42);
	background: var(--kk-gold-soft);
	color: var(--kk-gold);
	cursor: pointer;
	overflow-wrap: normal;
	white-space: nowrap;
	word-break: normal;
}

.kk-date-field {
	display: grid;
	grid-template-rows: minmax(38px, auto) 60px;
	gap: 6px;
	min-width: 0;
}

.kk-date-field label {
	display: flex;
	align-items: flex-end;
	margin: 0;
	color: var(--kk-gold);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.kk-date-form input,
.kk-date-form select {
	box-sizing: border-box;
	width: 100%;
	height: 60px;
	min-height: 60px;
	padding: 10px 14px;
	border: 1px solid rgba(116, 154, 118, 0.42);
	border-radius: 8px;
	background: #06120d;
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 750;
}

.kk-date-form select {
	padding-right: 34px;
}

.kk-date-actions {
	display: grid;
	grid-column: 4 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	min-width: 0;
}

.kk-date-actions button,
.kk-date-actions a {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 60px;
	min-height: 60px;
	padding: 10px 18px;
	border: 1px solid rgba(224, 183, 92, 0.42);
	border-radius: 8px;
	background: var(--kk-gold-soft);
	color: var(--kk-gold);
	font: inherit;
	font-size: 16px;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.kk-date-field--areta input {
	text-align: center;
}

.kk-date-field--mode {
	grid-column: span 3;
}

.kk-date-field--gregorian {
	grid-column: span 6;
}

.kk-date-field--areta {
	grid-column: span 2;
}

.kk-wrap[data-calendar="aretanski"] .kk-date-field--gregorian,
.kk-wrap[data-calendar="gregorian"] .kk-date-field--areta {
	display: none;
}

.kk-wrap[data-calendar="aretanski"] .kk-date-actions {
	grid-column: span 6;
}

.kk-wrap[data-calendar="gregorian"] .kk-date-actions {
	grid-column: span 6;
}

.kk-export {
	display: block;
	margin: 0 0 18px;
	padding: 20px;
	border: 1px solid var(--kk-border);
	border-radius: 8px;
	background: rgba(5, 19, 13, 0.72);
}

.kk-export-head {
	display: grid;
	grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
	gap: 22px;
	align-items: start;
}

.kk-export-head span,
.kk-export-head strong {
	display: block;
}

.kk-export-head span,
.kk-export-selects label > span {
	margin-bottom: 4px;
	color: var(--kk-gold);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.kk-export-head strong {
	color: #fff;
	font-size: 25px;
}

.kk-export-head p {
	margin: 8px 0 0;
	color: var(--kk-muted);
	font-size: 14px;
	font-weight: 650;
}

.kk-export-selects {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.kk-export-selects label {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.kk-export-selects label[hidden] {
	display: none !important;
}

.kk-export-selects select,
.kk-export-selects input {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 9px 36px 9px 13px;
	border: 1px solid rgba(116, 154, 118, 0.42);
	border-radius: 8px;
	background: #06120d;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 750;
}

.kk-export-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.kk-export-options label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 12px;
	border: 1px solid rgba(224, 183, 92, 0.3);
	border-radius: 8px;
	background: rgba(224, 183, 92, 0.06);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
}

.kk-export-options input {
	width: 18px;
	height: 18px;
	accent-color: var(--kk-gold);
}

.kk-export-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(150px, 210px));
	gap: 10px;
	margin-top: 16px;
}

.kk-export-actions button {
	min-height: 50px;
	padding: 10px 18px;
	border: 1px solid rgba(224, 183, 92, 0.52);
	border-radius: 8px;
	background: var(--kk-gold-soft);
	color: var(--kk-gold);
	font: inherit;
	font-size: 15px;
	font-weight: 850;
	cursor: pointer;
}

.kk-export-actions button:disabled {
	cursor: wait;
	opacity: 0.58;
}

.kk-export-status {
	min-height: 1.3em;
	margin: 10px 0 0;
	color: #9ff5d5;
	font-size: 13px;
	font-weight: 700;
}

@media (max-width: 1040px) {
	.kk-view-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kk-view-options button {
		grid-column: 1 / -1;
	}

	.kk-date-field--mode,
	.kk-date-field--gregorian {
		grid-column: span 6;
	}

	.kk-date-field--areta {
		grid-column: span 3;
	}

	.kk-wrap[data-calendar] .kk-date-actions {
		grid-column: span 6;
	}
}

.kk-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.kk-card {
	min-height: 118px;
	padding: 18px;
	border: 1px solid var(--kk-border);
	border-radius: 8px;
	background: rgba(5, 19, 13, 0.72);
}

.kk-card strong {
	display: block;
	margin: 7px 0 8px;
	color: #fff;
	font-size: 25px;
	font-weight: 850;
	line-height: 1.1;
	letter-spacing: 0;
}

.kk-card em {
	display: block;
	color: var(--kk-muted);
	font-size: 14px;
	font-style: normal;
	line-height: 1.35;
}

@media (max-width: 760px) {
	.kk-wrap {
		padding: 20px;
	}

	.kk-hero,
	.kk-grid,
	.kk-date-form,
	.kk-view-options,
	.kk-city-form {
		grid-template-columns: 1fr;
	}

	.kk-date-actions {
		grid-column: 1;
		grid-template-columns: 1fr;
	}

	.kk-view-options button {
		grid-column: 1;
		width: 100%;
	}

	.kk-date-field--mode,
	.kk-date-field--gregorian,
	.kk-date-field--areta,
	.kk-wrap[data-calendar] .kk-date-actions {
		grid-column: 1;
	}

	.kk-export {
		padding: 16px;
	}

	.kk-date-panel {
		padding: 16px;
	}

	.kk-export-head,
	.kk-export-selects {
		grid-template-columns: 1fr;
	}

	.kk-export-actions {
		grid-template-columns: 1fr;
	}

	.kk-month {
		padding: 14px;
		overflow-x: auto;
	}

	.kk-month-weekdays,
	.kk-month-grid {
		min-width: 620px;
	}

	.kk-disc-shell {
		min-height: 180px;
	}

	.kk-moon-disc {
		width: min(190px, 68vw);
	}
}
