.cxnca-pwa-page {
	background: #e8eef5 !important;
}
.cxnca-pwa-page .site-content,
.cxnca-pwa-page .entry-content,
.cxnca-pwa-page .wp-site-blocks {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}
.cxnca-front {
	--cxnca-navy: #1b365d;
	--cxnca-navy-2: #274876;
	--cxnca-accent: #2a6f97;
	--cxnca-ok: #1f7a4d;
	--cxnca-warn: #b45309;
	--cxnca-text: #1b2430;
	--cxnca-muted: #5b6775;
	--cxnca-line: #d5dee8;
	--cxnca-card: #ffffff;
	max-width: 920px;
	margin: 0 auto;
	padding: 16px 16px 48px;
	color: var(--cxnca-text);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	box-sizing: border-box;
}
.cxnca-front *,
.cxnca-front *::before,
.cxnca-front *::after { box-sizing: border-box; }
.cxnca-front .cxnca-app-bar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 16px;
}
.cxnca-front .cxnca-brand h1 {
	margin: 0;
	font-size: 1.7rem;
	letter-spacing: -0.03em;
	color: var(--cxnca-navy);
	display: block;
}
.cxnca-kicker {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cxnca-accent);
}
.cxnca-front-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.cxnca-front-logout {
	font-size: 14px;
	font-weight: 600;
	color: var(--cxnca-navy);
	text-decoration: none;
	padding: 10px 12px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.cxnca-front .nav-tab-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	border: 0;
	margin: 0 0 18px;
	padding: 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: #d9e3ef;
	border-radius: 999px;
}
.cxnca-front .nav-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	text-decoration: none;
	color: var(--cxnca-navy);
	border: 0;
	background: transparent;
	white-space: nowrap;
	flex: 1 0 auto;
	text-align: center;
	border-radius: 999px;
	font-weight: 600;
	min-height: 44px;
}
.cxnca-front .nav-tab-active {
	background: var(--cxnca-navy);
	color: #fff;
	box-shadow: 0 4px 12px rgba(27, 54, 93, 0.25);
}
.cxnca-front .cxnca-card {
	background: var(--cxnca-card);
	border: 0;
	border-radius: 16px;
	padding: 18px 18px 16px;
	box-shadow: 0 10px 28px rgba(27, 54, 93, 0.08);
}
.cxnca-front .cxnca-card h2 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: var(--cxnca-navy);
}
.cxnca-front .cxnca-card-hero {
	background: linear-gradient(160deg, var(--cxnca-navy) 0%, var(--cxnca-navy-2) 100%);
	color: #fff;
	box-shadow: 0 14px 32px rgba(27, 54, 93, 0.28);
}
.cxnca-front .cxnca-card-hero .cxnca-kicker,
.cxnca-front .cxnca-card-hero .description {
	color: rgba(255, 255, 255, 0.75);
}
.cxnca-front .cxnca-card-hero .cxnca-big { color: #fff; }
.cxnca-front .cxnca-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.cxnca-front .cxnca-card-head h2 { margin: 0; }
.cxnca-front .cxnca-status-row,
.cxnca-front .cxnca-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 14px;
}
.cxnca-front .cxnca-big {
	font-size: 1.85rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 4px 0 12px;
}
.cxnca-label {
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
}
.cxnca-muted { color: var(--cxnca-muted); margin: 0; }
.cxnca-date { margin: 0 0 12px; color: var(--cxnca-muted); }
.cxnca-people {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cxnca-people li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}
.cxnca-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #d7e8f4;
	color: var(--cxnca-navy);
	font-size: 12px;
	font-weight: 700;
	flex: 0 0 auto;
}
.cxnca-card-hero .cxnca-avatar {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}
.cxnca-front .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid transparent;
	background: #fff;
	color: var(--cxnca-navy);
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
	line-height: 1.3;
	font-size: 15px;
	font-weight: 600;
	min-height: 44px;
	box-shadow: 0 1px 0 rgba(27, 54, 93, 0.08);
}
.cxnca-front .button-primary {
	background: var(--cxnca-navy);
	border-color: var(--cxnca-navy);
	color: #fff;
}
.cxnca-front .cxnca-card-hero .button {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: transparent;
}
.cxnca-front .button-link {
	background: none;
	border: none;
	box-shadow: none;
	color: var(--cxnca-accent);
	cursor: pointer;
	padding: 8px 8px 8px 0;
	text-decoration: none;
	min-height: 44px;
}
.cxnca-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cxnca-front .widefat {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
	min-width: 480px;
}
.cxnca-front .widefat th,
.cxnca-front .widefat td {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid var(--cxnca-line);
}
.cxnca-front .widefat th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--cxnca-muted);
}
.cxnca-front .notice {
	padding: 12px 14px;
	margin: 0 0 14px;
	border: 0;
	border-radius: 12px;
	background: #fff7ed;
	color: #9a3412;
	font-weight: 600;
}
.cxnca-empty {
	padding: 18px 4px 8px;
	color: var(--cxnca-muted);
}
.cxnca-front .description { color: var(--cxnca-muted); font-size: 13px; margin: 0; }
.cxnca-front .regular-text,
.cxnca-front .large-text,
.cxnca-front input[type="text"],
.cxnca-front input[type="password"],
.cxnca-front input[type="number"],
.cxnca-front input[type="time"],
.cxnca-front input[type="date"],
.cxnca-front select,
.cxnca-front textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #c5d0dc;
	border-radius: 10px;
	font-size: 16px;
	min-height: 44px;
	background: #fff;
}
.cxnca-front .cxnca-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
}
.cxnca-front .cxnca-planner-toolbar,
.cxnca-front .cxnca-planner-actions {
	align-items: stretch;
}
.cxnca-front .cxnca-planner-toolbar label,
.cxnca-front .cxnca-planner-toolbar select {
	max-width: 100%;
}
.cxnca-front .cxnca-cal-day {
	border-radius: 10px;
	border-color: var(--cxnca-line);
}
.cxnca-front .cxnca-cal-day.is-today {
	outline: 2px solid var(--cxnca-navy);
}
.cxnca-front-login {
	max-width: 420px;
	padding: 48px 20px;
}
.cxnca-front-login h1 { margin: 0 0 16px; color: var(--cxnca-navy); }
.cxnca-front-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.cxnca-front-error { color: #b32d2e; font-weight: 600; }
.cxnca-install-hint { color: var(--cxnca-muted); font-size: 13px; }
.cxnca-front .cxnca-modal {
	z-index: 100000;
	padding: 12px;
	align-items: stretch;
	background: rgba(27, 54, 93, 0.45);
}
.cxnca-front .cxnca-modal-inner {
	max-width: 100%;
	margin: auto 0;
	max-height: calc(100dvh - 24px);
	overflow: auto;
	border-radius: 16px;
}
.cxnca-front .cxnca-emp-list label {
	display: block;
	padding: 10px 0;
	min-height: 44px;
}
.cxnca-front .cxnca-result {
	border-radius: 12px;
	margin-top: 14px;
}

@media (max-width: 782px) {
	.cxnca-front { font-size: 16px; padding: 12px 12px 48px; }
	.cxnca-front .cxnca-brand h1 { font-size: 1.45rem; }
	.cxnca-front .cxnca-big { font-size: 1.45rem; }
	.cxnca-front .cxnca-status-row,
	.cxnca-front .cxnca-grid-2 {
		grid-template-columns: 1fr;
	}
	.cxnca-front .cxnca-stats {
		flex-direction: column;
		gap: 8px;
	}
	.cxnca-front .cxnca-actions .button,
	.cxnca-front .cxnca-planner-toolbar .button,
	.cxnca-front .cxnca-planner-actions .button {
		flex: 1 1 calc(50% - 8px);
		text-align: center;
	}
	.cxnca-front .cxnca-view-toggle [data-view="year"] {
		display: none;
	}
	.cxnca-front .cxnca-cal-day { min-height: 72px; }
	.cxnca-front .cxnca-year-grid {
		grid-template-columns: 1fr;
	}
	.cxnca-front .cxnca-week-col { min-height: 0; }
	.cxnca-front .nav-tab-wrapper {
		border-radius: 14px;
	}
}

@media (display-mode: standalone) {
	.cxnca-pwa-page header:not(.cxnca-app-bar),
	.cxnca-pwa-page .site-header,
	.cxnca-pwa-page #masthead,
	.cxnca-pwa-page .wp-site-blocks > header,
	.cxnca-install-hint,
	.cxnca-front [data-cxnca-install] {
		display: none !important;
	}
	.cxnca-front {
		padding-top: max(16px, env(safe-area-inset-top));
		padding-bottom: max(28px, env(safe-area-inset-bottom));
	}
}
