body.tg-app-page .site-header,
body.tg-app-page #masthead,
body.tg-app-page .main-navigation,
body.tg-app-page #site-navigation,
body.tg-app-page .site-footer,
body.tg-app-page #colophon,
body.tg-app-page .entry-header,
body.tg-app-page .page-header,
body.tg-app-page .site-info,
body.tg-app-page .footer-widgets,
body.tg-app-page .inside-site-info,
body.tg-app-page .inside-header,
body.tg-app-page .inside-navigation,
body.tg-app-page .generate-back-to-top {
	display: none !important;
}

body.tg-app-page .site,
body.tg-app-page #page {
	background: #eef4f8;
}

body.tg-app-page .site-content,
body.tg-app-page .content-area,
body.tg-app-page .site-main,
body.tg-app-page .inside-article {
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.tg-app-shell,
.tg-app-shell * {
	box-sizing: border-box;
}

.tg-app-shell {
	--tg-ink: #112033;
	--tg-muted: #5b6b7b;
	--tg-line: #d7dde5;
	--tg-brand: #0f766e;
	--tg-brand-dark: #0b4f4a;
	--tg-shadow: 0 20px 50px rgba(17, 32, 51, 0.08);
	margin: 0;
	border-radius: 24px;
	background:
		radial-gradient(circle at top right, rgba(15, 118, 110, 0.15), transparent 28%),
		linear-gradient(180deg, #f8fbfd 0%, #f2f6fa 100%);
	color: var(--tg-ink);
	overflow: hidden;
}

.tg-app-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.tg-app-header {
	position: sticky;
	top: 0;
	z-index: 5;
	backdrop-filter: blur(10px);
	background: rgba(248, 251, 253, 0.9);
	border-bottom: 1px solid rgba(215, 221, 229, 0.8);
}

.tg-app-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	position: relative;
}

.tg-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.tg-brand-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--tg-brand), #27a99b);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.tg-brand-copy {
	display: flex;
	flex-direction: column;
}

.tg-brand-copy strong {
	font-size: 18px;
	line-height: 1.1;
}

.tg-brand-copy small {
	color: var(--tg-muted);
	font-size: 13px;
	line-height: 1.2;
}

.tg-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid var(--tg-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: var(--tg-ink);
	font-weight: 700;
	cursor: pointer;
}

.tg-app-nav {
	display: none;
	flex-direction: column;
	gap: 10px;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	padding: 16px;
	border: 1px solid var(--tg-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--tg-shadow);
}

.tg-app-nav.is-open {
	display: flex;
}

.tg-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	color: var(--tg-ink);
	text-decoration: none;
	font-weight: 600;
}

.tg-nav-link:hover,
.tg-nav-link:focus {
	background: rgba(15, 118, 110, 0.08);
	color: var(--tg-brand-dark);
}

.tg-nav-link-primary {
	background: var(--tg-brand);
	color: #fff;
}

.tg-nav-link-primary:hover,
.tg-nav-link-primary:focus {
	background: var(--tg-brand-dark);
	color: #fff;
}

.tg-app-main {
	padding: 24px 0 32px;
}

.tg-auth-layout,
.tg-dashboard-shell,
.tg-visitor-view {
	display: grid;
	gap: 24px;
}

.tg-auth-layout {
	align-items: center;
}

.tg-hero-card,
.tg-card,
.tg-feature-card {
	border: 1px solid rgba(215, 221, 229, 0.9);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--tg-shadow);
}

.tg-hero-card {
	padding: 28px;
}

.tg-hero-card-soft {
	background: linear-gradient(135deg, rgba(231, 247, 242, 0.92), rgba(255, 255, 255, 0.94));
}

.tg-hero-card-visitor {
	padding: 36px 28px;
}

.tg-eyebrow {
	margin: 0 0 10px;
	color: var(--tg-brand-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tg-hero-card h1,
.tg-dashboard-hero h1 {
	margin: 0 0 12px;
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.05;
	color: var(--tg-ink);
}

.tg-lead {
	margin: 0;
	max-width: 700px;
	color: var(--tg-muted);
	font-size: 17px;
	line-height: 1.6;
}

.tg-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.tg-button,
.tg-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tg-button:hover,
.tg-button:focus,
.tg-form button:hover,
.tg-form button:focus {
	transform: translateY(-1px);
}

.tg-button-primary,
.tg-form button {
	border: 0;
	background: linear-gradient(135deg, var(--tg-brand), #179489);
	color: #fff;
	box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.tg-button-secondary {
	border: 1px solid var(--tg-line);
	background: #fff;
	color: var(--tg-ink);
}

.tg-card {
	max-width: 760px;
	padding: 28px;
}

.tg-card h2 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.15;
	color: var(--tg-ink);
}

.tg-card-copy {
	margin: 0 0 18px;
	color: var(--tg-muted);
	line-height: 1.6;
}

.tg-form p {
	margin: 0 0 16px;
}

.tg-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--tg-ink);
	font-weight: 700;
}

.tg-form input,
.tg-form select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--tg-line);
	border-radius: 14px;
	background: #fff;
	color: var(--tg-ink);
}

.tg-form input:focus,
.tg-form select:focus {
	border-color: rgba(15, 118, 110, 0.8);
	outline: 2px solid rgba(15, 118, 110, 0.12);
}

.tg-password-input {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tg-password-toggle {
	align-self: flex-start;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--tg-line);
	border-radius: 12px;
	background: #fff;
	color: var(--tg-ink);
	font-weight: 700;
	cursor: pointer;
}

.tg-inline-check label,
.tg-cancel-trip-form .tg-inline-check {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	color: var(--tg-ink);
}

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

.tg-inline-link {
	margin-top: -6px;
}

.tg-inline-link a {
	color: var(--tg-brand-dark);
	font-weight: 600;
	text-decoration: none;
}

.tg-dashboard-hero {
	padding: 8px 0 4px;
}

.tg-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.tg-feature-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tg-feature-card:hover,
.tg-feature-card:focus {
	transform: translateY(-2px);
	border-color: rgba(15, 118, 110, 0.32);
	box-shadow: 0 24px 42px rgba(17, 32, 51, 0.12);
}

.tg-feature-kicker {
	color: var(--tg-brand-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tg-feature-card h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
}

.tg-feature-card p {
	margin: 0;
	color: var(--tg-muted);
	line-height: 1.6;
}

.tg-feature-link {
	margin-top: auto;
	color: var(--tg-brand-dark);
	font-weight: 700;
}

.tg-notice {
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: 16px;
}

.tg-notice-success {
	background: #e8f7ee;
	color: #185c37;
}

.tg-notice-error {
	background: #fff1f0;
	color: #9f2d20;
}

.tg-status-card {
	padding: 22px 24px;
	border: 1px solid rgba(215, 221, 229, 0.9);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--tg-shadow);
}

.tg-status-card h2 {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.2;
	color: var(--tg-ink);
}

.tg-status-card p {
	margin: 0;
	color: var(--tg-muted);
	line-height: 1.6;
}

.tg-trip-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px 16px;
	margin-top: 18px;
}

.tg-trip-form-wide,
.tg-search-form-submit {
	grid-column: 1 / -1;
}

.tg-trip-list {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.tg-trip-item {
	padding: 18px;
	border: 1px solid rgba(215, 221, 229, 0.9);
	border-radius: 18px;
	background: rgba(248, 251, 253, 0.96);
}

.tg-trip-list .tg-trip-item:nth-child(even) {
	background: rgba(240, 247, 251, 0.98);
}

.tg-trip-item h3 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.2;
	color: var(--tg-ink);
}

.tg-trip-item p {
	margin: 0 0 6px;
	color: var(--tg-muted);
	line-height: 1.5;
}

.tg-trip-bookings {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(215, 221, 229, 0.85);
}

.tg-trip-bookings h4 {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.3;
	color: var(--tg-ink);
}

.tg-plain-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.tg-plain-list li {
	display: grid;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.85);
}

.tg-inline-form {
	margin-top: 10px;
}

.tg-inline-form button {
	min-height: 42px;
	padding: 0 16px;
}

.tg-booking-form {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(215, 221, 229, 0.85);
}

.tg-booking-manager {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(215, 221, 229, 0.85);
}

.tg-booking-manager-copy {
	margin-bottom: 10px !important;
	font-weight: 600;
	color: var(--tg-ink) !important;
}

.tg-company-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(15, 118, 110, 0.12);
	color: var(--tg-brand-dark);
	font-size: 13px;
	font-weight: 700;
}

.tg-company-badge-mark,
.tg-company-badge-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
}

.tg-company-badge-mark {
	background: var(--tg-brand);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.tg-company-badge-logo {
	object-fit: cover;
}

.tg-code-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 18px;
	border: 1px dashed rgba(15, 118, 110, 0.42);
	border-radius: 18px;
	background: rgba(231, 247, 242, 0.82);
	color: var(--tg-brand-dark);
	font-size: clamp(20px, 4vw, 28px);
	font-weight: 800;
	letter-spacing: 0.08em;
}

.tg-favorite-form,
.tg-booking-cancel-form,
.tg-affiliation-form {
	margin-top: 10px;
}

.tg-search-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px 16px;
	margin-top: 18px;
}

.tg-search-check label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.tg-search-check input {
	width: auto;
	min-height: auto;
}

.tg-search-summary {
	margin-bottom: 16px !important;
	font-weight: 600;
	color: var(--tg-ink) !important;
}

.tg-section-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: -6px;
}

.tg-section-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--tg-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--tg-ink);
	text-decoration: none;
	font-weight: 700;
}

.tg-section-tab:hover,
.tg-section-tab:focus {
	background: rgba(15, 118, 110, 0.08);
	color: var(--tg-brand-dark);
}

.tg-alert-block {
	margin-top: 14px;
	padding: 16px 18px;
	border: 1px solid rgba(159, 45, 32, 0.18);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(255, 234, 231, 0.98), rgba(255, 244, 242, 0.96));
	color: #8d2e21;
}

.tg-alert-block strong {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
}

.tg-alert-block p {
	color: inherit !important;
}

.tg-company-panel {
	display: grid;
	gap: 6px;
}

.tg-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.tg-passenger-toggle {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(215, 221, 229, 0.85);
}

.tg-passenger-toggle summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	font-weight: 700;
	color: var(--tg-ink);
	list-style: none;
}

.tg-passenger-toggle summary::-webkit-details-marker {
	display: none;
}

.tg-passenger-toggle[open] summary {
	margin-bottom: 12px;
}

.tg-cancel-trip-form {
	display: grid;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(215, 221, 229, 0.85);
}

.tg-button-disabled {
	margin-top: 10px;
	pointer-events: none;
	opacity: 0.7;
}

.tg-app-footer {
	border-top: 1px solid rgba(215, 221, 229, 0.85);
	background: rgba(255, 255, 255, 0.76);
}

.tg-app-footer-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 0 28px;
}

.tg-footer-copy {
	margin: 0;
	color: var(--tg-muted);
	font-weight: 600;
}

.tg-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.tg-footer-nav a {
	color: var(--tg-muted);
	text-decoration: none;
}

.tg-footer-nav a:hover,
.tg-footer-nav a:focus {
	color: var(--tg-brand-dark);
}

@media (min-width: 768px) {
	.tg-app-shell {
		min-height: 100vh;
		border-radius: 0;
	}

	.tg-nav-toggle {
		display: none;
	}

	.tg-app-nav {
		display: flex;
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.tg-auth-layout {
		grid-template-columns: minmax(0, 1.15fr) minmax(420px, 500px);
		gap: 28px;
		align-items: center;
	}

	.tg-auth-layout .tg-card,
	.tg-auth-layout .tg-hero-card {
		max-width: none;
	}

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

	.tg-trip-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tg-trip-form p:last-child,
	.tg-trip-form-wide {
		grid-column: 1 / -1;
	}

	.tg-search-form {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		align-items: end;
	}

	.tg-search-check {
		align-self: end;
	}

	.tg-password-input {
		flex-direction: row;
		align-items: center;
	}

	.tg-app-footer-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
