.tp-shell {
	max-width: 980px;
	margin: 30px auto;
	padding: 0 16px;
}

.tp-card {
	background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
	border: 1px solid #d9e1ec;
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 18px 40px rgba(25, 54, 93, 0.08);
}

.tp-header {
	margin-bottom: 24px;
}

.tp-kicker {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12px;
	color: #5f7894;
}

.tp-header h1 {
	margin: 0 0 10px;
	font-size: 34px;
	line-height: 1.15;
	color: #16324f;
}

.tp-header p {
	margin: 0;
	color: #4a6078;
}

.tp-form {
	display: grid;
	gap: 18px;
}

.tp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tp-form label span {
	display: block;
	margin-bottom: 7px;
	font-weight: 600;
	color: #18334f;
}

.tp-form input,
.tp-form select,
.tp-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #c9d6e4;
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	box-sizing: border-box;
}

.tp-message textarea {
	min-height: 140px;
}

.tp-privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #445970;
}

.tp-privacy input {
	width: auto;
	margin-top: 2px;
}

.tp-summary {
	padding: 14px 16px;
	border-radius: 14px;
	background: #eef5fb;
	color: #204665;
	font-weight: 600;
}

.tp-submit {
	padding: 14px 20px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #1e6fd7 0%, #184f9a 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.tp-alert {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 14px;
}

.tp-alert-error {
	background: #fff0f0;
	border: 1px solid #f0c2c2;
	color: #8d2626;
}

.tp-alert-success {
	background: #eefaf0;
	border: 1px solid #c0e3c4;
	color: #1d6a2c;
}

.tp-alert ul {
	margin: 0;
	padding-left: 18px;
}

.tp-calendar-panel {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #d9e1ec;
}

.tp-calendar-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 18px;
}

.tp-calendar-kicker {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12px;
	color: #5f7894;
}

.tp-calendar-top h2 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.15;
	color: #16324f;
}

.tp-calendar-top p {
	margin: 0;
	color: #4a6078;
}

.tp-calendar-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tp-calendar-nav a,
.tp-calendar-nav strong {
	padding: 10px 14px;
	border-radius: 999px;
}

.tp-calendar-nav a {
	background: #eef5fb;
	color: #204665;
	text-decoration: none;
	font-weight: 700;
}

.tp-calendar-nav strong {
	background: #16324f;
	color: #fff;
	font-size: 14px;
}

.tp-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.tp-calendar-head {
	padding: 10px 8px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #5f7894;
}

.tp-calendar-cell {
	min-height: 132px;
	padding: 12px;
	border: 1px solid #d9e1ec;
	border-radius: 16px;
	background: #fbfdff;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tp-calendar-cell-empty {
	background: #f7f9fc;
	border-style: dashed;
}

.tp-calendar-cell-today {
	border-color: #1e6fd7;
	box-shadow: inset 0 0 0 1px #1e6fd7;
}

.tp-calendar-dayline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	color: #16324f;
}

.tp-calendar-dayline strong {
	font-size: 18px;
}

.tp-calendar-dayline span {
	font-size: 12px;
	color: #5f7894;
}

.tp-calendar-empty {
	padding: 8px 10px;
	border-radius: 12px;
	background: #eefaf0;
	color: #1d6a2c;
	font-size: 13px;
	font-weight: 700;
}

.tp-calendar-item {
	padding: 9px 10px;
	border-radius: 12px;
	background: #eef5fb;
	color: #204665;
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
}

.tp-calendar-time {
	font-weight: 700;
}

.tp-calendar-state {
	font-size: 12px;
	opacity: 0.85;
}

.tp-status-pending {
	background: #fff5df;
	color: #8f6200;
}

.tp-status-confirmed {
	background: #eefaf0;
	color: #1d6a2c;
}

.tp-status-cancelled {
	background: #fff0f0;
	color: #8d2626;
}

.tp-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

@media (max-width: 860px) {
	.tp-grid {
		grid-template-columns: 1fr 1fr;
	}

	.tp-calendar-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-calendar-head {
		display: none;
	}

	.tp-calendar-top {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 620px) {
	.tp-card {
		padding: 20px;
		border-radius: 16px;
	}

	.tp-grid {
		grid-template-columns: 1fr;
	}

	.tp-header h1 {
		font-size: 28px;
	}

	.tp-calendar-grid {
		grid-template-columns: 1fr;
	}
}
