.ptt-wrap {
	--ptt-border: #e5e7eb;
	--ptt-muted: #6b7280;
	--ptt-dark: #111827;
	--ptt-accent: #15803d;
	max-width: 860px;
	margin: 0 auto;
	padding: 24px 16px 56px;
	color: var(--ptt-dark);
}

.ptt-embed {
	max-width: none;
	margin: 0;
	padding: 0;
}

.ptt-head {
	text-align: center;
	margin-bottom: 20px;
}

.ptt-title {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 4px;
}

.ptt-sub {
	margin: 0;
	color: var(--ptt-muted);
	font-size: 14px;
}

.ptt-form {
	background: #fff;
	border: 1px solid var(--ptt-border);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.ptt-form--ref {
	background: transparent;
	border-style: dashed;
	box-shadow: none;
}

.ptt-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.ptt-form__row {
	display: flex;
	gap: 10px;
}

.ptt-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--ptt-border);
	border-radius: 9px;
	font-size: 15px;
	background: #fff;
}

.ptt-input:focus {
	outline: none;
	border-color: var(--ptt-accent);
	box-shadow: 0 0 0 3px rgba(21, 128, 61, .12);
}

.ptt-btn {
	flex: 0 0 auto;
	padding: 11px 20px;
	border: 1px solid var(--ptt-accent);
	background: var(--ptt-accent);
	color: #fff;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.ptt-btn:hover {
	background: #166534;
	border-color: #166534;
}

.ptt-btn--ghost {
	background: #fff;
	color: var(--ptt-dark);
	border-color: var(--ptt-border);
}

.ptt-btn--ghost:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}

.ptt-alert {
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	margin-bottom: 14px;
}

.ptt-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.ptt-alert--info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
}

.ptt-alert a {
	color: inherit;
	text-decoration: underline;
	font-weight: 600;
}

.ptt-card {
	background: #fff;
	border: 1px solid var(--ptt-border);
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.ptt-card__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ptt-border);
	margin-bottom: 14px;
}

.ptt-barcode {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .3px;
}

.ptt-badge {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
}

.ptt-muted {
	color: var(--ptt-muted);
	font-size: 12px;
}

.ptt-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.ptt-grid__item {
	background: #f9fafb;
	border: 1px solid var(--ptt-border);
	border-radius: 9px;
	padding: 10px 12px;
	font-size: 14px;
}

.ptt-grid__item .ptt-muted {
	display: block;
	margin-bottom: 2px;
}

.ptt-last {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 9px;
	padding: 10px 12px;
	font-size: 14px;
	margin-bottom: 16px;
}

.ptt-last .ptt-muted {
	display: block;
	margin-bottom: 2px;
}

.ptt-h2 {
	font-size: 16px;
	font-weight: 700;
	margin: 18px 0 12px;
}

.ptt-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.ptt-timeline__item {
	position: relative;
	padding: 0 0 18px 24px;
	border-left: 2px solid var(--ptt-border);
	margin-left: 6px;
}

.ptt-timeline__item:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.ptt-timeline__item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 3px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ptt-accent);
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px var(--ptt-accent);
}

.ptt-timeline__date {
	font-size: 12px;
	color: var(--ptt-muted);
	margin-bottom: 3px;
}

.ptt-timeline__action {
	font-weight: 600;
	font-size: 14px;
}

.ptt-timeline__desc {
	font-size: 14px;
	margin-top: 2px;
}

.ptt-timeline__place {
	font-size: 13px;
	color: var(--ptt-muted);
	margin-top: 3px;
}

.ptt-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	align-items: center;
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px solid var(--ptt-border);
	font-size: 13px;
}

.ptt-foot a {
	color: var(--ptt-accent);
	font-weight: 600;
}

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

	.ptt-form__row {
		flex-direction: column;
	}

	.ptt-btn {
		width: 100%;
	}
}
