.pl-package-panic,
.pl-package-panic * {
	box-sizing: border-box;
}

.pl-package-panic {
	width: 100vw;
	max-width: none;
	position: relative;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 42px 18px 60px;
	background:
		radial-gradient(circle at 50% 0%, rgba(72,255,119,.08), transparent 34%),
		#080d10;
	color: #f5f7f6;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pl-terminal {
	width: min(100%, 620px);
	margin: 0 auto;
}

.pl-topline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
}

.pl-kicker { color: #59f27d; }
.pl-system { color: #94a39a; white-space: nowrap; }

.pl-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: #59f27d;
	box-shadow: 0 0 12px rgba(89,242,125,.8);
}

.pl-progress {
	height: 4px;
	margin-bottom: 15px;
	overflow: hidden;
	border-radius: 999px;
	background: #1b262b;
}

.pl-progress-fill {
	width: 25%;
	height: 100%;
	border-radius: inherit;
	background: #59f27d;
	transition: width .25s ease;
}

.pl-step {
	margin-bottom: 20px;
	color: #7f9188;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
}

.pl-package-panic h1 {
	margin: 0;
	max-width: 590px;
	color: #fff;
	font-size: clamp(36px, 8vw, 62px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -.045em;
}

.pl-intro {
	max-width: 520px;
	margin: 18px 0 30px;
	color: #b9c4be;
	font-size: 17px;
	line-height: 1.55;
}

.pl-card {
	padding: 24px;
	border: 1px solid #243138;
	border-radius: 22px;
	background: #10171b;
	box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.pl-card[hidden] { display: none !important; }

.pl-card-label {
	margin-bottom: 8px;
	color: #59f27d;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
}

.pl-card h2 {
	margin: 0 0 24px;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
}

.pl-screen-note {
	margin: -12px 0 20px;
	color: #87968f;
	font-size: 13px;
	line-height: 1.5;
}

.pl-card label {
	display: block;
	margin: 17px 0 8px;
	color: #dce3df;
	font-size: 13px;
	font-weight: 700;
}

.pl-card label span {
	color: #788a81;
	font-weight: 500;
}

.pl-card input,
.pl-card select {
	display: block;
	width: 100%;
	height: 55px;
	padding: 0 16px;
	border: 1px solid #42545d;
	border-radius: 11px;
	outline: none;
	background: #0d1519 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	caret-color: #59f27d;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	box-shadow: none;
	opacity: 1;
}

.pl-card input::placeholder {
	color: #7f9188 !important;
	-webkit-text-fill-color: #7f9188 !important;
	opacity: 1;
}

.pl-card input:focus,
.pl-card select:focus {
	border-color: #59f27d;
	box-shadow: 0 0 0 3px rgba(89,242,125,.10);
}

.pl-card input:-webkit-autofill,
.pl-card input:-webkit-autofill:hover,
.pl-card input:-webkit-autofill:focus {
	-webkit-text-fill-color: #ffffff !important;
	-webkit-box-shadow: 0 0 0 1000px #0d1519 inset !important;
	caret-color: #59f27d;
}

.pl-card select {
	cursor: pointer;
	appearance: auto;
}

.pl-input-error { border-color: #ff6868 !important; }

.pl-error {
	margin-top: 8px;
	color: #ff7575;
	font-size: 12px;
	font-weight: 700;
}

.pl-primary-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 57px;
	margin-top: 24px;
	border: 0;
	border-radius: 12px;
	background: #59f27d;
	color: #07100a;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .04em;
}

.pl-primary-btn:hover { background: #72ff91; }

.pl-primary-btn:disabled {
	background: #29352f;
	color: #66746d;
	cursor: not-allowed;
	opacity: .7;
}

.pl-trust {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 17px;
	color: #76877e;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .08em;
}

.pl-trust i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #3c4a43;
}

.pl-payload-grid,
.pl-courier-grid {
	display: grid;
	gap: 10px;
}

.pl-payload {
	width: 100%;
	padding: 15px 16px;
	border: 1px solid #34444c;
	border-radius: 11px;
	background: #0a1013;
	color: #fff;
	text-align: left;
	cursor: pointer;
	transition: .15s ease;
}

.pl-payload:hover {
	border-color: #53656e;
	transform: translateY(-1px);
}

.pl-payload.is-selected {
	border-color: #59f27d;
	background: #101d16;
	box-shadow: 0 0 0 2px rgba(89,242,125,.08);
}

.pl-payload strong,
.pl-payload span { display: block; }

.pl-payload strong {
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
}

.pl-payload span {
	margin-top: 4px;
	color: #718078;
	font-size: 11px;
	line-height: 1.35;
}

.pl-custom-wrap {
	margin-top: 14px;
	padding: 15px;
	border: 1px solid #27343a;
	border-radius: 12px;
	background: #0b1114;
}

.pl-custom-wrap[hidden] { display: none !important; }

.pl-selected-box {
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(89,242,125,.30);
	border-radius: 10px;
	background: rgba(89,242,125,.06);
	color: #6e7d75;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .08em;
}

.pl-selected-box strong {
	display: block;
	margin-top: 4px;
	color: #59f27d;
	font-size: 11px;
	letter-spacing: 0;
}

.pl-selected-box[hidden] { display: none !important; }

.pl-secondary-btn,
.pl-back-btn {
	width: 100%;
	min-height: 48px;
	margin-top: 10px;
	border-radius: 10px;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.pl-secondary-btn {
	border: 1px solid #34444c;
	background: transparent;
	color: #dce3df;
}

.pl-secondary-btn:hover {
	border-color: #59f27d;
	color: #59f27d;
}

.pl-back-btn {
	border: 0;
	background: transparent;
	color: #64746c;
}

.pl-back-btn:hover { color: #a8b5ae; }

.pl-courier {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 15px;
	border: 1px solid #34444c;
	border-radius: 12px;
	background: #0a1013;
	color: #fff;
	text-align: left;
	cursor: pointer;
	transition: .15s ease;
}

.pl-courier:hover {
	border-color: #53656e;
	transform: translateY(-1px);
}

.pl-courier.is-selected {
	border-color: #59f27d;
	background: #101d16;
	box-shadow: 0 0 0 2px rgba(89,242,125,.08);
}

.pl-courier-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid #3b4a42;
	border-radius: 11px;
	background: #111a1e;
	color: #59f27d;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .04em;
}

.pl-courier strong,
.pl-courier span { display: block; }

.pl-courier strong {
	color: #fff;
	font-size: 15px;
}

.pl-courier span {
	margin-top: 4px;
	color: #718078;
	font-size: 11px;
	line-height: 1.35;
}

.pl-config-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.pl-config-field label { margin-top: 0; }
.pl-config-wide { grid-column: 1 / -1; }

.pl-weight-wrap {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px;
}

.pl-weight-wrap span {
	color: #8c9a93;
	font-weight: 800;
	font-size: 13px;
}

.pl-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 55px;
	padding: 0 14px;
	border: 1px solid #42545d;
	border-radius: 11px;
	background: #0d1519;
	color: #fff;
	cursor: pointer;
}

.pl-toggle-track {
	position: relative;
	display: block;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: #324039;
	transition: .2s ease;
}

.pl-toggle-track i {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #adb9b3;
	transition: .2s ease;
}

.pl-toggle.is-on .pl-toggle-track { background: #59f27d; }

.pl-toggle.is-on .pl-toggle-track i {
	left: 22px;
	background: #07100a;
}

.pl-toggle strong {
	font-size: 12px;
	font-weight: 900;
}

.pl-gauges {
	display: grid;
	gap: 16px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #253239;
}

.pl-gauge-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 7px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pl-gauge-heading span {
	color: #77877f;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .08em;
}

.pl-gauge-heading strong {
	color: #59f27d;
	font-size: 11px;
}

.pl-gauge-track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #253139;
}

.pl-gauge-track i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #59f27d;
}

.pl-risk .pl-gauge-heading strong { color: #ff975d; }
.pl-risk .pl-gauge-track i { background: #ff975d; }

.pl-telemetry {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 14px;
}

.pl-telemetry > div {
	padding: 13px 14px;
	border: 1px solid #1e2a2f;
	border-radius: 10px;
	background: rgba(16,23,27,.65);
}

.pl-telemetry span,
.pl-telemetry strong { display: block; }

.pl-telemetry span {
	margin-bottom: 5px;
	color: #65766d;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .08em;
}

.pl-telemetry strong {
	color: #59f27d;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
}

@media (max-width: 600px) {

	.pl-package-panic {
		padding: 28px 16px 45px;
	}

	.pl-system { display: none; }

	.pl-package-panic h1 {
		font-size: 42px;
	}

	.pl-intro {
		font-size: 15px;
	}

	.pl-card {
		padding: 20px;
		border-radius: 18px;
	}

	.pl-card h2 {
		font-size: 26px;
	}

	.pl-config-grid,
	.pl-telemetry {
		grid-template-columns: 1fr;
	}

	.pl-config-wide {
		grid-column: auto;
	}
}
/* =========================================================
   PACKAGE PANIC PREVIEW OVERLAY
========================================================= */

body.pl-preview-open {
	overflow: hidden;
}

.pl-preview-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow-y: auto;
	padding: 28px 16px;
	background: rgba(2, 7, 6, .88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.pl-preview-shell {
	width: min(100%, 620px);
	margin: auto;
	padding: 24px;
	border: 1px solid #2c3b35;
	border-radius: 22px;
	background:
		radial-gradient(circle at 50% 0%, rgba(89,242,125,.08), transparent 34%),
		#0b1210;
	color: #f5f7f6;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.pl-preview-shell,
.pl-preview-shell * {
	box-sizing: border-box;
}

.pl-preview-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #25322d;
}

.pl-preview-brand,
.pl-preview-tracking,
.pl-preview-demo {
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
}

.pl-preview-brand {
	color: #59f27d;
}

.pl-preview-tracking {
	margin-top: 5px;
	color: #7f9188;
}

.pl-preview-demo {
	padding: 7px 9px;
	border: 1px solid rgba(89,242,125,.28);
	border-radius: 999px;
	color: #59f27d;
	white-space: nowrap;
}

.pl-preview-status {
	padding: 25px 0 18px;
}

.pl-preview-status span,
.pl-preview-section-title {
	display: block;
	color: #718078;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .12em;
}

.pl-preview-status h2 {
	margin: 7px 0 0;
	color: #fff;
	font-size: clamp(30px, 6vw, 44px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.035em;
}

.pl-preview-arrival {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 14px 0;
	border-top: 1px solid #202c27;
	border-bottom: 1px solid #202c27;
}

.pl-preview-arrival span {
	color: #74847b;
	font-size: 10px;
	font-weight: 800;
}

.pl-preview-arrival strong {
	color: #59f27d;
	font-size: 12px;
	font-weight: 900;
	text-align: right;
}

.pl-track-line {
	display: grid;
	gap: 8px;
	padding: 20px 0;
}

.pl-track-line > div {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: center;
	gap: 10px;
	color: #697970;
	font-size: 12px;
	font-weight: 700;
}

.pl-track-line i {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1px solid #34443d;
	border-radius: 50%;
	font-style: normal;
	font-size: 9px;
}

.pl-track-line .is-done {
	color: #b9c5bf;
}

.pl-track-line .is-done i {
	border-color: #59f27d;
	background: #59f27d;
	color: #07100a;
}

.pl-track-line .is-current {
	color: #fff;
}

.pl-track-line .is-current i {
	border-color: #59f27d;
	background: rgba(89,242,125,.12);
	box-shadow: 0 0 12px rgba(89,242,125,.28);
}

.pl-preview-section-title {
	margin: 20px 0 8px;
}

.pl-preview-package {
	padding: 17px;
	border: 1px solid #27362f;
	border-radius: 13px;
	background: #09100d;
}

.pl-preview-package h3 {
	margin: 0;
	color: #fff;
	font-size: 18px;
	font-weight: 850;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.pl-preview-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.pl-preview-meta span {
	padding: 6px 8px;
	border: 1px solid #2d3c35;
	border-radius: 999px;
	color: #8e9d95;
	font-size: 9px;
	font-weight: 800;
}

.pl-preview-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

.pl-preview-grid > div {
	padding: 14px;
	border: 1px solid #26342e;
	border-radius: 12px;
	background: #09100d;
}

.pl-preview-grid span,
.pl-driver-alert div span {
	display: block;
	margin-bottom: 5px;
	color: #718078;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .1em;
}

.pl-preview-grid strong,
.pl-driver-alert strong {
	color: #fff;
	font-size: 12px;
	font-weight: 900;
}

.pl-driver-alert {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	padding: 14px;
	border: 1px solid rgba(89,242,125,.25);
	border-radius: 12px;
	background: rgba(89,242,125,.05);
}

.pl-truck {
	font-size: 23px;
}

.pl-preview-question {
	margin-top: 20px;
	padding: 17px;
	border: 1px solid #293831;
	border-radius: 13px;
	background: #0c1411;
}

.pl-preview-question h3 {
	margin: 0;
	color: #fff;
	font-size: 17px;
	font-weight: 850;
}

.pl-preview-question p {
	margin: 7px 0 0;
	color: #899890;
	font-size: 12px;
	line-height: 1.5;
}

.pl-preview-launch,
.pl-preview-adjust {
	width: 100%;
	min-height: 52px;
	margin-top: 10px;
	border-radius: 11px;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
}

.pl-preview-launch {
	border: 0;
	background: #59f27d;
	color: #07100a;
}

.pl-preview-launch:hover {
	background: #72ff91;
}

.pl-preview-adjust {
	border: 1px solid #34443c;
	background: #0a110e;
	color: #dce4df;
}

.pl-preview-adjust:hover {
	border-color: #59f27d;
	color: #59f27d;
}

.pl-preview-safety {
	margin-top: 16px;
	color: #617168;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .08em;
	text-align: center;
}

@media (max-width: 600px) {

	.pl-preview-overlay {
		padding: 12px;
	}

	.pl-preview-shell {
		padding: 19px;
		border-radius: 17px;
	}

	.pl-preview-grid {
		grid-template-columns: 1fr;
	}

	.pl-preview-status h2 {
		font-size: 34px;
	}

}