.ttlp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(10, 22, 20, .58);
	opacity: 0;
	visibility: hidden;
	transition: opacity .24s ease, visibility .24s ease;
}

.ttlp-overlay.ttlp-open {
	opacity: 1;
	visibility: visible;
}

.ttlp-dialog,
.ttlp-dialog * {
	box-sizing: border-box;
}

.ttlp-dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
	width: min(1120px, calc(100vw - 48px));
	max-height: min(90vh, 820px);
	min-height: 460px;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	color: #374B47;
	font-family: inherit;
	box-shadow: 0 24px 80px rgba(16, 34, 30, .24);
	transform: translateY(14px) scale(.985);
	transition: transform .24s ease;
}

.ttlp-open .ttlp-dialog {
	transform: translateY(0) scale(1);
}

.ttlp-left {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 28px 34px 30px;
	background: #fff;
}

.ttlp-brand {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.ttlp-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.ttlp-brand .custom-logo {
	width: auto;
	max-width: min(250px, 100%);
	max-height: 48px;
	object-fit: contain;
}

.ttlp-brand-fallback {
	color: #374B47;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.04em;
	text-decoration: none;
}

.ttlp-left-copy {
	margin-top: auto;
	padding-top: 28px;
}

.ttlp-left h2,
.ttlp-form-header h2 {
	margin: 0;
	color: #374B47;
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -.035em;
}

.ttlp-left h2 {
	max-width: 510px;
	font-size: clamp(27px, 2.7vw, 38px);
	line-height: 1.08;
}

.ttlp-left h2 span {
	color: #8FD299;
}

.ttlp-left-intro {
	max-width: 485px;
	margin: 13px 0 18px;
	color: #293b37;
	font-size: 15px;
	line-height: 1.48;
}

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

.ttlp-benefits li {
	display: grid;
	grid-template-columns: 54px 1fr;
	align-items: center;
	gap: 12px;
}

.ttlp-benefit-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 50px;
	border-radius: 12px;
	background: #eaf7ee;
	color: #21a64f;
}

.ttlp-benefit-icon svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.ttlp-benefits strong,
.ttlp-benefits small {
	display: block;
}

.ttlp-benefits strong {
	color: #263a35;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
}

.ttlp-benefits small {
	margin-top: 2px;
	color: #3d4c48;
	font-size: 12px;
	line-height: 1.35;
}

.ttlp-right {
	position: relative;
	min-width: 0;
	padding: 28px 34px 22px;
	background: #E4EDF3;
	overflow: auto;
}

.ttlp-close {
	position: absolute;
	top: 13px;
	right: 13px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 35px;
	height: 35px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #23332f;
	cursor: pointer;
}

.ttlp-close:hover,
.ttlp-close:focus-visible {
	background: rgba(55, 75, 71, .1);
}

.ttlp-close svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.ttlp-form-header {
	padding-right: 18px;
}

.ttlp-form-header h2 {
	font-size: clamp(23px, 2.25vw, 30px);
	line-height: 1.15;
}

.ttlp-form-header p {
	max-width: 540px;
	margin: 7px 0 14px;
	color: #40514c;
	font-size: 14px;
	line-height: 1.35;
}

.ttlp-form {
	margin: 0;
}

.ttlp-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ttlp-fieldset legend,
.ttlp-field label {
	display: block;
	margin: 0 0 5px;
	color: #253934;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.3;
}

.ttlp-required {
	color: #d0443f;
}

.ttlp-optional,
.ttlp-fieldset legend small {
	font-size: 10px;
	font-weight: 500;
}

.ttlp-fieldset legend small {
	color: #455650;
}

.ttlp-type-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ttlp-type-option {
	position: relative;
	display: block;
	min-width: 0;
	cursor: pointer;
}

.ttlp-type-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.ttlp-type-card {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 16px;
	align-items: center;
	gap: 8px;
	min-height: 70px;
	padding: 9px 10px;
	border: 1px solid rgba(43, 67, 60, .08);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(25, 54, 44, .07);
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.ttlp-type-option input:checked + .ttlp-type-card {
	border-color: #316b56;
	background: #316b56;
	color: #fff;
}

.ttlp-type-option input:focus-visible + .ttlp-type-card {
	outline: 3px solid #8FD299;
	outline-offset: 2px;
}

.ttlp-type-icon {
	display: grid;
	place-items: center;
	color: #278f54;
}

.ttlp-type-icon svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

.ttlp-type-option input:checked + .ttlp-type-card .ttlp-type-icon {
	color: #fff;
}

.ttlp-type-text strong,
.ttlp-type-text small {
	display: block;
}

.ttlp-type-text strong {
	font-size: 12px;
	font-weight: 750;
	line-height: 1.25;
}

.ttlp-type-text small {
	margin-top: 2px;
	font-size: 10.5px;
	line-height: 1.25;
}

.ttlp-radio-mark {
	width: 15px;
	height: 15px;
	border: 1.5px solid #53635e;
	border-radius: 50%;
}

.ttlp-type-option input:checked + .ttlp-type-card .ttlp-radio-mark {
	border: 4px solid #fff;
	background: #316b56;
}

.ttlp-fields-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 14px;
	margin-top: 11px;
}

.ttlp-field {
	min-width: 0;
}

.ttlp-field input,
.ttlp-field textarea {
	display: block;
	width: 100%;
	min-height: 38px;
	margin: 0;
	padding: 8px 11px;
	border: 1px solid #c9d3d5;
	border-radius: 9px;
	background: #fff;
	box-shadow: none;
	color: #273833;
	font: inherit;
	font-size: 12px;
	line-height: 1.3;
}

.ttlp-field textarea {
	min-height: 58px;
	resize: vertical;
}

.ttlp-field input::placeholder,
.ttlp-field textarea::placeholder {
	color: #66736f;
	opacity: 1;
}

.ttlp-field input:focus,
.ttlp-field textarea:focus {
	border-color: #41965e;
	outline: 2px solid rgba(143, 210, 153, .55);
	outline-offset: 1px;
}

.ttlp-interests {
	margin-top: 12px;
}

.ttlp-interest-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 12px;
}

.ttlp-check-option {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 35px;
	align-items: center;
	gap: 7px;
	padding: 5px 8px;
	border: 1px solid rgba(52, 75, 67, .08);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(25, 54, 44, .06);
	color: #273833;
	cursor: pointer;
	font-size: 10.5px;
	line-height: 1.2;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ttlp-check-option:focus-within {
	border-color: #41965e;
	box-shadow: 0 0 0 2px rgba(143, 210, 153, .45);
}

.ttlp-check-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.ttlp-checkbox {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border: 1px solid #73817c;
	border-radius: 3px;
	background: #fff;
}

.ttlp-check-option input:checked + .ttlp-checkbox {
	border-color: #288e50;
	background: #288e50;
}

.ttlp-check-option input:checked + .ttlp-checkbox::after {
	display: block;
	width: 7px;
	height: 4px;
	margin: 3px 0 0 2px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	content: "";
	transform: rotate(-45deg);
}

.ttlp-service-icon,
.ttlp-more-icon {
	display: inline-flex;
	flex: 0 0 18px;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 19px;
	font-weight: 700;
}

.ttlp-service-icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.ttlp-m365-icon {
	display: grid;
	grid-template-columns: repeat(2, 7px);
	grid-template-rows: repeat(2, 7px);
	gap: 2px;
}

.ttlp-m365-icon b:nth-child(1) { background: #f25022; }
.ttlp-m365-icon b:nth-child(2) { background: #7fba00; }
.ttlp-m365-icon b:nth-child(3) { background: #00a4ef; }
.ttlp-m365-icon b:nth-child(4) { background: #ffb900; }
.ttlp-ai-icon { color: #e74bb7; }
.ttlp-gear-icon { color: #607080; }
.ttlp-laptop-icon { color: #3279a8; }
.ttlp-team-icon { color: #269e5b; }
.ttlp-more-icon { color: #687774; }

.ttlp-check-option small {
	font-size: 9px;
}

.ttlp-other-field {
	margin-top: 8px;
}

.ttlp-company-field[hidden],
.ttlp-other-field[hidden],
.ttlp-success[hidden],
.ttlp-status[hidden] {
	display: none !important;
}

.ttlp-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.ttlp-submit {
	display: flex;
	width: 100%;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 13px 0 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 12px;
	background: #8FD299;
	color: #374B47;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	transition: background .15s ease, transform .15s ease;
}

.ttlp-submit:hover {
	background: #7bc98a;
	transform: translateY(-1px);
}

.ttlp-submit:focus-visible {
	outline: 3px solid #316b56;
	outline-offset: 2px;
}

.ttlp-submit:disabled {
	cursor: wait;
	opacity: .7;
	transform: none;
}

.ttlp-submit svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ttlp-status {
	margin: 9px 0 0;
	color: #96332e;
	font-size: 12px;
	line-height: 1.4;
}

.ttlp-success {
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid #b3dcb8;
	border-radius: 10px;
	background: #eff9f0;
	color: #294a34;
	font-size: 13px;
	line-height: 1.45;
}

.ttlp-success strong {
	display: block;
	margin-bottom: 2px;
	font-size: 14px;
}

.ttlp-privacy-note {
	margin: 7px 0 0;
	color: #5b6b66;
	font-size: 10px;
	line-height: 1.35;
	text-align: center;
}

.ttlp-privacy-note a {
	color: #315b4c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.ttlp-body-open {
	overflow: hidden !important;
}

@media (max-width: 820px) {
	.ttlp-overlay {
		padding: 15px;
	}

	.ttlp-dialog {
		grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
		width: min(780px, calc(100vw - 30px));
		max-height: 94vh;
		min-height: 0;
	}

	.ttlp-left { padding: 25px 24px; }
	.ttlp-right { padding: 24px 24px 19px; }
	.ttlp-left h2 { font-size: clamp(25px, 3.5vw, 32px); }
	.ttlp-left-intro { font-size: 13px; }
	.ttlp-type-grid,
	.ttlp-fields-grid,
	.ttlp-interest-grid { gap: 8px; }
	.ttlp-type-card { grid-template-columns: 27px minmax(0,1fr) 14px; gap: 6px; padding: 8px; }
	.ttlp-type-icon svg { width: 27px; height: 27px; }
	.ttlp-type-text strong { font-size: 11px; }
	.ttlp-type-text small { font-size: 9px; }
	.ttlp-check-option { gap: 5px; padding: 5px 6px; font-size: 9.5px; }
}

@media (max-width: 640px) {
	.ttlp-overlay {
		place-items: stretch;
		padding: 0;
		background: rgba(10, 22, 20, .62);
	}

	.ttlp-dialog {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-height: 100dvh;
		min-height: 100dvh;
		border-radius: 0;
		overflow-y: auto;
	}

	.ttlp-left {
		min-height: 0;
		padding: 22px 22px 20px;
	}

	.ttlp-brand { min-height: 38px; }
	.ttlp-brand .custom-logo { max-height: 38px; max-width: 215px; }
	.ttlp-left-copy { padding-top: 18px; }
	.ttlp-left h2 { max-width: 560px; font-size: 28px; }
	.ttlp-left-intro { max-width: 560px; margin: 9px 0 12px; font-size: 13px; }
	.ttlp-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.ttlp-benefits li { grid-template-columns: 1fr; gap: 5px; align-content: start; }
	.ttlp-benefit-icon { width: 38px; height: 36px; border-radius: 9px; }
	.ttlp-benefit-icon svg { width: 25px; height: 25px; }
	.ttlp-benefits strong { font-size: 11px; }
	.ttlp-benefits small { font-size: 9px; }
	.ttlp-right { overflow: visible; padding: 21px 22px 22px; }
	.ttlp-form-header h2 { padding-right: 20px; font-size: 23px; }
	.ttlp-form-header p { margin: 6px 0 12px; font-size: 12px; }
	.ttlp-close { top: 12px; right: 13px; }
	.ttlp-fields-grid { gap: 8px 10px; }
	.ttlp-field input { min-height: 40px; }
	.ttlp-submit { margin-top: 12px; }
}

@media (max-width: 390px) {
	.ttlp-left,
	.ttlp-right { padding-right: 16px; padding-left: 16px; }
	.ttlp-type-grid { grid-template-columns: 1fr; }
	.ttlp-type-card { min-height: 58px; }
	.ttlp-fields-grid,
	.ttlp-interest-grid { grid-template-columns: 1fr; }
	.ttlp-benefits { grid-template-columns: 1fr; }
	.ttlp-benefits li { grid-template-columns: 40px 1fr; align-items: center; }
	.ttlp-left h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.ttlp-overlay,
	.ttlp-dialog,
	.ttlp-type-card,
	.ttlp-submit { transition: none !important; }
}


/* ThriveTechEd popup spacing and close button refinements */
.ttlp-left { justify-content: flex-start; }
.ttlp-left-copy { margin-top: clamp(56px, 11vh, 84px); padding-top: 0; }
.ttlp-close { appearance: none; border: 0 !important; outline: none !important; box-shadow: none !important; }
.ttlp-dialog .ttlp-close:focus-visible { outline: none !important; box-shadow: inset 0 0 0 2px #8FD299 !important; }
@media (max-width: 820px) { .ttlp-left-copy { margin-top: clamp(36px, 7vh, 54px); } }
@media (max-width: 640px) { .ttlp-left-copy { margin-top: 18px; padding-top: 0; } }


/* ThriveTechEd popup refinements: compact laptop layout, tighter left intro, quiet close control */
.ttlp-left-copy { margin-top: clamp(22px, 4vh, 34px) !important; padding-top: 0 !important; }
.ttlp-close,
.ttlp-close:hover,
.ttlp-close:active,
.ttlp-close:focus {
  appearance: none !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.ttlp-dialog .ttlp-close:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 2px #8FD299 !important;
  background: transparent !important;
}
@media (max-width: 820px) {
  .ttlp-left-copy { margin-top: clamp(14px, 3vh, 24px) !important; }
}
@media (max-width: 640px) {
  .ttlp-left-copy { margin-top: 14px !important; }
}
@media (max-height: 760px) and (min-width: 641px) {
  .ttlp-overlay { padding: 10px; }
  .ttlp-dialog { min-height: 0; max-height: 96vh; }
  .ttlp-left { padding: 16px 22px; }
  .ttlp-left-copy { margin-top: clamp(10px, 2.5vh, 20px) !important; }
  .ttlp-left h2 { font-size: clamp(23px, 2.35vw, 30px); line-height: 1.12; }
  .ttlp-left-intro { margin: 8px 0 10px; font-size: 13px; line-height: 1.38; }
  .ttlp-benefits { gap: 6px; }
  .ttlp-benefit-icon { width: 44px; height: 40px; }
  .ttlp-right { padding: 16px 22px 12px; overflow-y: auto; }
  .ttlp-form-header h2 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.12; }
  .ttlp-form-header p { margin: 4px 0 8px; font-size: 12px; line-height: 1.35; }
  .ttlp-type-card { min-height: 50px; padding: 6px 8px; }
  .ttlp-fields-grid { gap: 7px 10px; margin-top: 8px; }
  .ttlp-field input { min-height: 34px; padding: 6px 9px; }
  .ttlp-interests { margin-top: 8px; }
  .ttlp-interest-grid { gap: 5px 8px; }
  .ttlp-check-option { min-height: 29px; padding: 4px 6px; font-size: 10px; }
  .ttlp-submit { min-height: 38px; margin-top: 8px; padding: 8px 12px; }
  .ttlp-privacy-note { margin-top: 4px; }
}
