/* WPCargo Route Map: tracking page 2.1.0 */
.wpct {
	--wpct-accent: #1d3f8f;
	--wpct-ink: #0f172a;
	--wpct-text: #334155;
	--wpct-muted: #64748b;
	--wpct-line: #e2e8f0;
	--wpct-soft: #f8fafc;
	--wpct-card: #ffffff;
	--wpct-success: #15803d;
	--wpct-danger: #c2410c;
	--wpct-neutral: #475569;
	--wpct-wa: #1fa855;
	--wpct-radius: 16px;
	--wpct-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 28px -16px rgba(15, 23, 42, .28);
	--wpct-ease: cubic-bezier(.2, .7, .2, 1);
	--wpct-accent-soft: color-mix(in srgb, var(--wpct-accent) 9%, #fff);
	max-width: 1180px;
	margin: 0 auto;
	color: var(--wpct-text);
	word-break: normal;
	overflow-wrap: break-word;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.wpct *, .wpct *::before, .wpct *::after { box-sizing: border-box; }
.wpct :where(p, ol, li, h3, figure, span, div) { margin: 0; }
.wpct :where(p, ol, h3, figure) { padding: 0; }
.wpct :where(p) { line-height: 1.5; }
.wpct ol { list-style: none; }
.wpct a { color: var(--wpct-accent); text-decoration: none; }
.wpct a:hover { text-decoration: underline; }
.wpct svg { display: block; fill: currentColor; flex: none; }
:where(.wpct, .wpct-modal) .wpct-i { font-size: 18px; }
.wpct .is-transit { --tone: var(--wpct-accent); }
.wpct .is-success { --tone: var(--wpct-success); }
.wpct .is-danger  { --tone: var(--wpct-danger); }
.wpct .is-neutral { --tone: var(--wpct-neutral); }
.wpct-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wpct-muted { color: var(--wpct-muted); font-size: 13px; }
.wpct-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--wpct-ink); }
.wpct-eyebrow {
	display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--wpct-muted); margin-bottom: 3px;
}

/* ------------------------------------------------------------------ Cards */
.wpct-card {
	background: var(--wpct-card);
	border: 1px solid var(--wpct-line);
	border-radius: var(--wpct-radius);
	box-shadow: var(--wpct-shadow);
	padding: 22px 24px;
}
.wpct .wpct-h {
	font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--wpct-ink); margin: 0 0 18px; padding: 0; border: 0; line-height: 1.3;
}
.wpct-text { color: var(--wpct-text); }

/* ------------------------------------------------------------------ Buttons */
.wpct .wpct-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 16px; border-radius: 11px; border: 1px solid var(--wpct-line);
	background: var(--wpct-card); color: var(--wpct-ink); cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: transform .18s var(--wpct-ease), box-shadow .18s ease, border-color .18s ease, color .18s ease, background-color .18s ease;
}
.wpct .wpct-btn svg { font-size: 17px; }
.wpct .wpct-btn:hover { border-color: var(--wpct-accent); color: var(--wpct-accent); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .35); }
.wpct .wpct-btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.wpct .wpct-btn:focus-visible { outline: 2px solid var(--wpct-accent); outline-offset: 2px; }
.wpct .wpct-btn--ghost { background: transparent; }
.wpct .wpct-btn--solid { background: var(--wpct-accent); border-color: var(--wpct-accent); color: #fff; }
.wpct .wpct-btn--solid:hover { color: #fff; filter: brightness(1.08); }
.wpct .wpct-btn--wa { background: var(--wpct-wa); border-color: var(--wpct-wa); color: #fff; }
.wpct .wpct-btn--wa:hover { color: #fff; border-color: var(--wpct-wa); filter: brightness(1.06); }

.wpct .wpct-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; padding: 8px; border-radius: 9px; border: 0; background: transparent;
	color: var(--wpct-muted); cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.wpct .wpct-icon-btn:hover { background: var(--wpct-soft); color: var(--wpct-ink); }
.wpct .wpct-icon-btn:active { transform: scale(.92); }
.wpct .wpct-icon-btn:focus-visible { outline: 2px solid var(--wpct-accent); }
.wpct .wpct-icon-btn svg { font-size: 18px; }
.wpct-icon-btn .is-ok { position: absolute; opacity: 0; transform: scale(.4); color: var(--wpct-success); transition: opacity .2s ease, transform .3s var(--wpct-ease); }
.wpct-icon-btn .is-copy { transition: opacity .2s ease, transform .3s var(--wpct-ease); }
.wpct-icon-btn.is-done .is-copy { opacity: 0; transform: scale(.4); }
.wpct-icon-btn.is-done .is-ok { opacity: 1; transform: scale(1); }

.wpct .wpct-link {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 0; border: 0; background: none;
	color: var(--wpct-accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.wpct .wpct-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ Search */
.wpct-search { margin: 0 0 22px; }
.wpct-search__box {
	position: relative; display: flex; align-items: center; gap: 8px;
	background: var(--wpct-card); border: 1px solid var(--wpct-line);
	border-radius: 999px; padding: 6px 6px 6px 48px; box-shadow: var(--wpct-shadow);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wpct-search__box:focus-within { border-color: var(--wpct-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wpct-accent) 16%, transparent), var(--wpct-shadow); }
.wpct-search__icon { position: absolute; left: 19px; font-size: 20px; color: var(--wpct-muted); transition: color .2s ease; }
.wpct-search__box:focus-within .wpct-search__icon { color: var(--wpct-accent); }
.wpct-spinner {
	display: none; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: wpct-spin .7s linear infinite;
}
.wpct-search button.is-busy .wpct-spinner { display: inline-block; }
@keyframes wpct-spin { to { transform: rotate(360deg); } }

.wpct-empty { display: flex; flex-direction: column; align-items: center; text-align: center !important; padding: 40px 24px; gap: 6px; }
.wpct-empty__i { font-size: 40px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: var(--wpct-soft); color: var(--wpct-muted); margin-bottom: 6px; }
.wpct-empty strong { font-size: 18px; color: var(--wpct-ink); }
.wpct-empty p { max-width: 46ch; text-align: center; }

/* ------------------------------------------------------------------ Hero */
.wpct-hero {
	position: relative; overflow: hidden; margin-bottom: 22px; padding: 0;
	background: var(--wpct-card); border: 1px solid var(--wpct-line);
	border-radius: var(--wpct-radius); box-shadow: var(--wpct-shadow);
}
.wpct-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tone); }
.wpct-hero__top {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px;
	padding: 24px 26px 0;
}
.wpct-hero__id { min-width: 0; }
.wpct-tn { display: flex; align-items: center; gap: 6px; }
.wpct-tn__value {
	font-size: clamp(18px, 2.3vw, 23px); font-weight: 700; color: var(--wpct-ink);
	letter-spacing: .01em; word-break: normal; overflow-wrap: anywhere; line-height: 1.25; font-variant-numeric: tabular-nums;
}
.wpct-hero__actions { display: flex; gap: 8px; justify-self: end; }
.wpct-hero__actions .wpct-btn { padding: 8px 13px; font-size: 13.5px; }

.wpct-status { display: flex; align-items: flex-start; gap: 16px; padding: 22px 26px 22px; }
.wpct-status__icon {
	position: relative; flex: none; width: 52px; height: 52px; border-radius: 16px; padding: 13px;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone);
}
.wpct-status__icon svg { font-size: 26px; }
.wpct-status__icon.is-transit::after, .wpct-status__icon.is-danger::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 35%, transparent); animation: wpct-halo 2.4s ease-out infinite;
}
@keyframes wpct-halo { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 35%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
.wpct-status__text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wpct .wpct-headline { font-size: clamp(19px, 2.6vw, 25px); line-height: 1.25; font-weight: 700; color: var(--wpct-ink); letter-spacing: -.01em; text-wrap: balance; }
.wpct .wpct-sub { color: var(--wpct-text); font-size: 15px; }
.wpct-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; }
.wpct-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 13px 5px 11px; border-radius: 999px;
	background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone);
	font-size: 13.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.3;
}
.wpct-pill svg { font-size: 14px; }
.wpct-pill.is-soft { background: var(--wpct-soft); border: 1px solid var(--wpct-line); font-weight: 600; letter-spacing: 0; }
.wpct-pill.is-soft.is-danger { background: color-mix(in srgb, var(--wpct-danger) 8%, #fff); border-color: color-mix(in srgb, var(--wpct-danger) 25%, #fff); }
.wpct-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 22%, transparent); }
.wpct-pill.is-transit .wpct-pill__dot { animation: wpct-blink 1.8s ease-in-out infinite; }
@keyframes wpct-blink { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 10%, transparent); } }
.wpct-updated { white-space: nowrap; }

/* Route row */
.wpct-route {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 1.3fr) minmax(0, 1fr) auto;
	align-items: center; gap: 18px;
	margin: 0 26px; padding: 18px 0; border-top: 1px solid var(--wpct-line); border-bottom: 1px solid var(--wpct-line);
}
.wpct-route__end strong, .wpct-route__eta strong { display: block; font-size: 16px; color: var(--wpct-ink); font-weight: 650; line-height: 1.3; overflow-wrap: break-word; word-break: normal; }
.wpct-route__end { min-width: 0; }
.wpct-route__end:nth-child(3) { text-align: right; }
.wpct-route__line {
	--p: 0; position: relative; height: 3px; border-radius: 3px;
	background: repeating-linear-gradient(90deg, var(--wpct-line) 0 6px, transparent 6px 11px);
}
.wpct-route__line::after {
	content: ""; position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px;
	width: calc(var(--p) * 1%); background: var(--wpct-accent);
}
.wpct-route__line::before {
	content: ""; position: absolute; right: -5px; top: 50%; width: 11px; height: 11px; border-radius: 50%; transform: translateY(-50%);
	border: 2px solid var(--wpct-accent); background: #fff; z-index: 1;
}
.wpct-route__veh {
	position: absolute; top: 50%; left: calc(var(--p) * 1%); z-index: 2;
	width: 30px; height: 30px; padding: 7px; border-radius: 50%; transform: translate(-50%, -50%);
	display: flex; align-items: center; justify-content: center;
	background: var(--wpct-accent); color: #fff; box-shadow: 0 0 0 4px #fff, 0 4px 12px -2px rgba(15, 23, 42, .35);
}
.wpct-route__veh svg { font-size: 16px; }
.wpct-route__veh.is-success { background: var(--wpct-success); }
.wpct-route__eta { padding-left: 20px; margin-left: 4px; border-left: 1px solid var(--wpct-line); }
.wpct-route__hint { display: block; font-size: 12.5px; color: var(--wpct-muted); margin-top: 2px; }
.wpct-route__hint.is-danger { color: var(--wpct-danger); font-weight: 600; }
.wpct-route__hint.is-success { color: var(--wpct-success); font-weight: 600; }
.wpct-route__eta.is-late strong { color: var(--wpct-muted); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Steps */
.wpct-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 26px 26px !important; position: relative; }
.wpct-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; margin: 0; }
.wpct-steps li::before {
	content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 3px;
	background: var(--wpct-line); z-index: 0; transform-origin: left center;
}
.wpct-steps li:first-child::before { display: none; }
.wpct-steps li.is-done::before, .wpct-steps li.is-current::before { background: var(--wpct-accent); }
.wpct-steps li.is-current::before { background: linear-gradient(90deg, var(--wpct-accent), var(--tone)); }
.wpct-steps__dot {
	position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 3px solid var(--wpct-line); color: #fff;
}
.wpct-steps__dot svg { font-size: 15px; }
.wpct-steps li.is-done .wpct-steps__dot { background: var(--wpct-accent); border-color: var(--wpct-accent); }
.wpct-steps li.is-current .wpct-steps__dot { border-color: var(--tone); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 18%, transparent); }
.wpct-steps li.is-current .wpct-steps__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.wpct-steps__label { font-size: 13px; font-weight: 600; color: var(--wpct-muted); line-height: 1.3; padding: 0 4px; }
.wpct-steps li.is-done .wpct-steps__label { color: var(--wpct-ink); }
.wpct-steps li.is-current .wpct-steps__label { color: var(--tone); font-weight: 700; }

/* Map inside the page */
.wpct .wpcrm { margin: 0 0 22px; }

/* ------------------------------------------------------------------ Layout */
.wpct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
.wpct-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* ------------------------------------------------------------------ Timeline */
.wpct-timeline { position: relative; }
.wpct-tl { position: relative; padding: 0 0 24px 46px; margin: 0; }
.wpct-tl::before {
	content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--wpct-line); border-radius: 2px;
}
.wpct-tl:last-child { padding-bottom: 0; }
.wpct-tl:last-child::before { display: none; }
.wpct-tl__dot {
	position: absolute; left: 0; top: -3px; width: 32px; height: 32px; border-radius: 50%; padding: 7px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 2px solid var(--wpct-line); color: #94a3b8;
}
.wpct-tl__dot svg { font-size: 15px; }
.wpct-tl.is-danger:not(.is-latest) .wpct-tl__dot { color: var(--wpct-danger); border-color: color-mix(in srgb, var(--wpct-danger) 30%, #fff); }
.wpct-tl.is-success:not(.is-latest) .wpct-tl__dot { color: var(--wpct-success); border-color: color-mix(in srgb, var(--wpct-success) 30%, #fff); }
.wpct-tl.is-latest .wpct-tl__dot {
	border-color: var(--tone); background: var(--tone); color: #fff;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 16%, transparent);
}
.wpct-tl.is-latest::before { background: linear-gradient(var(--tone), var(--wpct-line) 70%); }
.wpct-tl.is-first .wpct-tl__dot { border-color: color-mix(in srgb, var(--wpct-accent) 35%, #fff); color: var(--wpct-accent); }
.wpct-tl__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.wpct-tl__status { font-size: 15px; color: var(--wpct-ink); font-weight: 650; }
.wpct-tl.is-latest .wpct-tl__status { color: var(--tone); font-weight: 700; }
.wpct-tl__when { font-size: 13px; color: var(--wpct-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wpct-tl__loc { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--wpct-text); font-size: 14px; }
.wpct-tl__loc svg { font-size: 14px; color: var(--wpct-muted); }
.wpct-tl__note {
	margin-top: 8px !important; padding: 9px 12px; border-radius: 10px;
	background: #f1f5f9; color: var(--wpct-text); font-size: 13.5px;
}
.wpct-tl__by { display: block; margin-top: 6px; font-size: 12px; color: var(--wpct-muted); }
.wpct-timeline.is-collapsed .wpct-tl.is-extra { display: none; }
.wpct-timeline.is-expanding .wpct-tl.is-extra { animation: wpct-in .45s var(--wpct-ease) both; animation-delay: calc((var(--i) - 5) * 40ms); }

/* ------------------------------------------------------------------ Photos */
.wpct-photos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wpct-photos__grid.is-single { grid-template-columns: 1fr; }
.wpct-photo { position: relative; display: block; aspect-ratio: 1; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--wpct-soft); border: 1px solid var(--wpct-line); }
.wpct-photo.is-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.wpct-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--wpct-ease); }
.wpct-photo::after { content: ""; position: absolute; inset: 0; background: rgba(15, 23, 42, 0); transition: background-color .25s ease; }
.wpct-photo:hover img { transform: scale(1.05); }
.wpct-photo:hover::after { background: rgba(15, 23, 42, .06); }
.wpct-photo:focus-visible { outline: 2px solid var(--wpct-accent); outline-offset: 2px; }

/* ------------------------------------------------------------------ Proof of delivery */
.wpct-pod { border-color: color-mix(in srgb, var(--wpct-success) 30%, #fff); background: linear-gradient(180deg, color-mix(in srgb, var(--wpct-success) 6%, #fff), #fff 120px); }
.wpct-pod__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.wpct-pod__head .wpct-h { margin: 0 0 2px !important; }
.wpct-pod__seal { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--wpct-success); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--wpct-success) 14%, transparent); }
.wpct-pod__seal svg { font-size: 22px; }
.wpct-anim .wpct-pod.is-in .wpct-pod__seal { animation: wpct-pop .6s var(--wpct-ease) .2s both; }
.wpct-pod__when { color: var(--wpct-text); font-size: 14px; }
.wpct-pod__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 20px; margin-bottom: 16px; }
.wpct-pod__fact { display: flex; flex-direction: column; gap: 2px; }
.wpct-pod .wpct-photo.is-main { aspect-ratio: 16 / 9; }
.wpct-pod .wpct-photos__grid.is-single .wpct-photo { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------------ Details */
.wpct-fields-wrap { border: 1px solid var(--wpct-line); border-radius: 12px; overflow: hidden; }
/* Cells draw their own right and bottom lines; the -1px margin hides the outer ones,
   so a half-filled last row leaves clean white space instead of grey gaps. */
.wpct-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0 -1px -1px 0; }
.wpct-field {
	display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; min-width: 0;
	border-right: 1px solid var(--wpct-line); border-bottom: 1px solid var(--wpct-line);
	transition: background-color .2s ease;
}
.wpct-field:hover { background: var(--wpct-soft); }
.wpct-field__i {
	flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	background: var(--wpct-accent-soft); color: var(--wpct-accent);
}
.wpct-field__i svg { font-size: 18px; }
.wpct-field__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }
.wpct-field__k { font-size: 12px; color: var(--wpct-muted); line-height: 1.3; }
.wpct-field__v { font-size: 15px; color: var(--wpct-ink); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; word-break: normal; }

/* ------------------------------------------------------------------ Shipper / receiver */
.wpct-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wpct-party .wpct-h { margin-bottom: 14px; }
.wpct-party__row { display: flex; gap: 14px; align-items: flex-start; }
.wpct-party__avatar {
	flex: none; width: 42px; height: 42px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--wpct-accent-soft); color: var(--wpct-accent); font-weight: 700; font-size: 17px;
}
.wpct-party__info { min-width: 0; }
.wpct-party__name { font-size: 16px; font-weight: 650; color: var(--wpct-ink); margin-bottom: 3px !important; }
.wpct-party__line { font-size: 14px; color: var(--wpct-text); overflow-wrap: anywhere; }
.wpct-party__line + .wpct-party__line { margin-top: 2px !important; }

/* ------------------------------------------------------------------ Packages */
.wpct-table-wrap { overflow-x: auto; border: 1px solid var(--wpct-line); border-radius: 12px; }
.wpct .wpct-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; border: 0; }
.wpct .wpct-table th, .wpct .wpct-table td {
	padding: 11px 16px; text-align: left; border: 0; border-bottom: 1px solid var(--wpct-line); background: none;
}
.wpct .wpct-table th { background: var(--wpct-soft); color: var(--wpct-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.wpct .wpct-table td { color: var(--wpct-ink); }
.wpct .wpct-table tr:last-child td { border-bottom: 0; }
.wpct .wpct-table tbody tr { transition: background-color .2s ease; }
.wpct .wpct-table tbody tr:hover td { background: var(--wpct-soft); }
.wpct-totals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wpct-totals span {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
	background: var(--wpct-soft); border: 1px solid var(--wpct-line); font-size: 13px; color: var(--wpct-text); font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.wpct-totals svg { font-size: 14px; color: var(--wpct-accent); }

/* ------------------------------------------------------------------ Help strip */
.wpct-help {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px;
	padding: 20px 24px; border-radius: var(--wpct-radius);
	background: color-mix(in srgb, var(--wpct-accent) 7%, #fff); border: 1px solid color-mix(in srgb, var(--wpct-accent) 22%, #fff);
}
.wpct-help__icon { flex: none; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--wpct-accent); color: #fff; }
.wpct-help__icon svg { font-size: 24px; }
.wpct-help__text { flex: 1 1 240px; min-width: 0; }
.wpct .wpct-help__title { font-size: 17px; font-weight: 700; color: var(--wpct-ink); }
.wpct .wpct-help__sub { font-size: 14px; color: var(--wpct-text); }
.wpct-help__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------ Share dialog */
.wpct-modal {
	position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center;
	padding: 16px; background: rgba(15, 23, 42, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .22s ease;
}
.wpct-modal[hidden] { display: none !important; }
.wpct-modal.is-open { opacity: 1; }
.wpct-modal__panel {
	position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto;
	padding: 26px 24px 22px; border-radius: 20px; background: var(--wpct-card); color: var(--wpct-text);
	box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .5); text-align: center;
	transform: translateY(14px) scale(.97); transition: transform .3s var(--wpct-ease);
}
.wpct-modal.is-open .wpct-modal__panel { transform: none; }
.wpct-modal__x { position: absolute !important; top: 12px; right: 12px; }
.wpct .wpct-modal__title { font-size: 19px; font-weight: 700; color: var(--wpct-ink); }
.wpct .wpct-modal__sub { font-size: 14px; color: var(--wpct-muted); margin: 4px 0 16px !important; }
.wpct-qr { display: flex; justify-content: center; margin: 0 auto 16px; }
.wpct-qr canvas { border-radius: 14px; border: 1px solid var(--wpct-line); box-shadow: 0 6px 18px -10px rgba(15, 23, 42, .3); }
.wpct-modal.is-open .wpct-qr canvas { animation: wpct-pop .5s var(--wpct-ease) .1s both; }
.wpct-linkbox { display: flex; gap: 8px; margin-bottom: 12px; }
.wpct-modal__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wpct-modal__row .wpct-btn { flex: 1 1 0; }

/* ------------------------------------------------------------------ Lightbox */
.wpct-lb {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	background: rgba(2, 6, 23, .9); padding: 56px 16px; opacity: 0; transition: opacity .2s ease;
}
.wpct-lb.is-open { opacity: 1; }
.wpct-lb figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wpct-lb img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .4s var(--wpct-ease); }
.wpct-lb img.is-in { opacity: 1; transform: none; }
.wpct-lb figcaption { color: #e2e8f0; font-size: 14px; text-align: center; }
.wpct-lb button {
	all: unset; box-sizing: border-box; cursor: pointer; position: absolute; width: 46px; height: 46px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); color: #fff; font: 28px/1 system-ui, sans-serif;
	transition: background-color .15s ease, transform .15s ease;
}
.wpct-lb button:hover { background: rgba(255, 255, 255, .25); }
.wpct-lb button:active { transform: scale(.92); }
.wpct-lb button:focus-visible { outline: 2px solid #fff; }
.wpct-lb .wpct-lb__x { top: 14px; right: 14px; }
.wpct-lb .wpct-lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.wpct-lb .wpct-lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.wpct-lb .wpct-lb__prev:active, .wpct-lb .wpct-lb__next:active { transform: translateY(-50%) scale(.92); }
.wpct-lb__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: 13px; font-variant-numeric: tabular-nums; }
html.wpct-lock { overflow: hidden; }

/* ------------------------------------------------------------------ Motion
 * .wpct-anim is added by a tiny inline script before first paint (and never
 * when the visitor asks for reduced motion). Without it, everything is static.
 */
@keyframes wpct-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wpct-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes wpct-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.wpct-anim .wpct-search { animation: wpct-in .5s var(--wpct-ease) both; }
.wpct-anim .wpct-hero { animation: wpct-in .6s var(--wpct-ease) .05s both; }
.wpct-anim .wpct-status__icon { animation: wpct-pop .6s var(--wpct-ease) .25s both; }
.wpct-anim .wpct-headline { animation: wpct-in .55s var(--wpct-ease) .3s both; }
.wpct-anim .wpct-sub { animation: wpct-in .55s var(--wpct-ease) .38s both; }
.wpct-anim .wpct-chips { animation: wpct-in .55s var(--wpct-ease) .46s both; }
.wpct-anim .wpct-steps li.is-done::before, .wpct-anim .wpct-steps li.is-current::before { animation: wpct-grow .5s var(--wpct-ease) both; animation-delay: calc(var(--i) * .16s + .35s); }
.wpct-anim .wpct-steps li.is-done .wpct-steps__dot, .wpct-anim .wpct-steps li.is-current .wpct-steps__dot { animation: wpct-pop .5s var(--wpct-ease) both; animation-delay: calc(var(--i) * .16s + .5s); }
.wpct-anim .wpct-route__line::after { transition: width .1s linear; }

/* Below-the-fold sections rise in as they scroll into view. */
.wpct-anim .is-pending { opacity: 0; transform: translateY(18px); }
.wpct-anim .is-pending.is-in { opacity: 1; transform: none; transition: opacity .7s var(--wpct-ease), transform .7s var(--wpct-ease); }
.wpct-anim .is-pending .wpct-tl, .wpct-anim .is-pending .wpct-field { opacity: 0; transform: translateY(8px); }
.wpct-anim .is-pending.is-in .wpct-tl, .wpct-anim .is-pending.is-in .wpct-field {
	opacity: 1; transform: none; transition: opacity .5s var(--wpct-ease), transform .5s var(--wpct-ease);
	transition-delay: calc(var(--i) * 60ms + 150ms);
}

/* ------------------------------------------------------------------ Tablet */


/* ------------------------------------------------------------------ Phone */



/* ------------------------------------------------------------------ Responsive
 * Each block exists twice: once for the width the plugin really gets inside the theme
 * (classes .wpct-w860 / -w760 / -w640 / -w400 set from its own measured width, e.g. next
 * to a sidebar) and once as a classic media query, used when scripts are off.
 * On a phone both match, so they never disagree.
 */
@media (max-width: 900px) {
	.wpct-grid { grid-template-columns: 1fr; }
}
/* plugin box narrower than 860px */
.wpct.wpct-w860 .wpct-grid { grid-template-columns: 1fr; }

@media (max-width: 760px) {	.wpct-route { grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
	.wpct-route__line { grid-column: 1 / -1; grid-row: 2; margin: 6px 4px; }
	.wpct-route__end:nth-child(3) { text-align: right; }
	.wpct-route__eta { grid-column: 1 / -1; padding: 12px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--wpct-line); }
}
/* plugin box narrower than 760px */
.wpct.wpct-w760 .wpct-route { grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.wpct.wpct-w760 .wpct-route__line { grid-column: 1 / -1; grid-row: 2; margin: 6px 4px; }
.wpct.wpct-w760 .wpct-route__end:nth-child(3) { text-align: right; }
.wpct.wpct-w760 .wpct-route__eta { grid-column: 1 / -1; padding: 12px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--wpct-line); }

@media (max-width: 600px) {
	.wpct { font-size: 14px; }
	.wpct-card { padding: 18px; }
	.wpct-hero__top { padding: 20px 18px 0; align-items: flex-start; flex-wrap: nowrap; }
	.wpct-hero__id { flex: 1 1 auto; min-width: 0; }
	.wpct-tn__value { font-size: 17px; }
	.wpct-hero__actions { flex: none; gap: 6px; }
	.wpct-hero__actions .wpct-btn { padding: 8px 10px; }
	.wpct-hero__actions .wpct-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.wpct-status { padding: 18px; gap: 12px; }
	.wpct-status__icon { width: 44px; height: 44px; padding: 11px; border-radius: 13px; }
	.wpct-status__icon svg { font-size: 22px; }
	.wpct-steps { padding: 18px 8px 20px !important; }
	.wpct-steps__label { font-size: 11.5px; }
	.wpct-parties { grid-template-columns: 1fr; }
	.wpct-search__box { padding-left: 42px; }
	.wpct-search__icon { left: 15px; }
	.wpct-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpct-field { flex-direction: column; align-items: stretch; gap: 8px; padding: 13px 14px; }
	.wpct-field__i { align-self: flex-start; }
	.wpct-field__i { width: 30px; height: 30px; padding: 7px; }
	.wpct-help { padding: 18px; }
	.wpct-help__actions { width: 100%; }
	.wpct-help__actions .wpct-btn { flex: 1 1 auto; }
	.wpct-linkbox { flex-direction: column; }
	.wpct-route { margin: 0 18px; }
	.wpct-hero__actions .wpct-btn { width: 38px; height: 38px; padding: 0; }
}
/* plugin box narrower than 640px */
.wpct.wpct-w640 { font-size: 14px; }
.wpct.wpct-w640 .wpct-card { padding: 18px; }
.wpct.wpct-w640 .wpct-hero__top { padding: 20px 18px 0; align-items: flex-start; flex-wrap: nowrap; }
.wpct.wpct-w640 .wpct-hero__id { flex: 1 1 auto; min-width: 0; }
.wpct.wpct-w640 .wpct-tn__value { font-size: 17px; }
.wpct.wpct-w640 .wpct-hero__actions { flex: none; gap: 6px; }
.wpct.wpct-w640 .wpct-hero__actions .wpct-btn { padding: 8px 10px; }
.wpct.wpct-w640 .wpct-hero__actions .wpct-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wpct.wpct-w640 .wpct-status { padding: 18px; gap: 12px; }
.wpct.wpct-w640 .wpct-status__icon { width: 44px; height: 44px; padding: 11px; border-radius: 13px; }
.wpct.wpct-w640 .wpct-status__icon svg { font-size: 22px; }
.wpct.wpct-w640 .wpct-steps { padding: 18px 8px 20px !important; }
.wpct.wpct-w640 .wpct-steps__label { font-size: 11.5px; }
.wpct.wpct-w640 .wpct-parties { grid-template-columns: 1fr; }
.wpct.wpct-w640 .wpct-search__box { padding-left: 42px; }
.wpct.wpct-w640 .wpct-search__icon { left: 15px; }
.wpct.wpct-w640 .wpct-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wpct.wpct-w640 .wpct-field { flex-direction: column; align-items: stretch; gap: 8px; padding: 13px 14px; }
.wpct.wpct-w640 .wpct-field__i { align-self: flex-start; }
.wpct.wpct-w640 .wpct-field__i { width: 30px; height: 30px; padding: 7px; }
.wpct.wpct-w640 .wpct-help { padding: 18px; }
.wpct.wpct-w640 .wpct-help__actions { width: 100%; }
.wpct.wpct-w640 .wpct-help__actions .wpct-btn { flex: 1 1 auto; }
.wpct.wpct-w640 .wpct-linkbox { flex-direction: column; }
.wpct.wpct-w640 .wpct-route { margin: 0 18px; }
.wpct.wpct-w640 .wpct-hero__actions .wpct-btn { width: 38px; height: 38px; padding: 0; }

@media (max-width: 380px) {
	.wpct-fields { grid-template-columns: 1fr; }
	.wpct-field { flex-direction: row; }
}
/* plugin box narrower than 400px */
.wpct.wpct-w400 .wpct-fields { grid-template-columns: 1fr; }
.wpct.wpct-w400 .wpct-field { flex-direction: row; }


/* ------------------------------------------------------------------ Print */
@media print {
	.wpct-search, .wpct-hero__actions, .wpct .wpcrm, .wpct-link, .wpct-icon-btn, .wpct-lb, .wpct-modal, .wpct-help__actions { display: none !important; }
	.wpct-card, .wpct-hero { box-shadow: none; break-inside: avoid; }
	.wpct-timeline.is-collapsed .wpct-tl.is-extra { display: block; }
	.wpct-grid { grid-template-columns: 5fr 7fr; }
	.wpct *, .wpct *::before, .wpct *::after { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.wpct *, .wpct *::before, .wpct *::after { animation: none !important; transition: none !important; }
	.wpct .is-pending, .wpct .is-pending * { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------
 * Theme shield. WordPress themes often style bare elements with
 * !important (square buttons, uppercase text, floated list labels,
 * centered text, bullets on list items). These rules pin the plugin's
 * own look so it renders the same inside any theme.
 * ------------------------------------------------------------------ */
body .wpct { text-align: left !important; text-transform: none !important; letter-spacing: normal !important; }
body .wpct ol, body .wpct li { list-style: none !important; background-image: none !important; float: none !important; }
body .wpct .wpct-steps li { padding: 0 !important; margin: 0 !important; }
body .wpct .wpct-steps li::before { content: "" !important; left: auto !important; right: 50% !important; top: 13px !important; width: 100% !important; height: 3px !important; color: transparent !important; font-size: 0 !important; }
body .wpct .wpct-steps li:first-child::before { display: none !important; }
body .wpct .wpct-timeline li.wpct-tl { margin: 0 !important; }
body .wpct .wpct-timeline li.wpct-tl::before { content: "" !important; left: 15px !important; right: auto !important; color: transparent !important; font-size: 0 !important; }
body .wpct .wpct-timeline li.wpct-tl:last-child::before { display: none !important; }
body .wpct.wpct :where(p) { margin-bottom: 0; }
body .wpct li::marker { content: none; }
body .wpct .wpct-steps li::after, body .wpct .wpct-timeline li::after { content: none !important; }
body .wpct h3.wpct-h {
	font-size: 13px !important; line-height: 1.3 !important; font-weight: 700 !important; letter-spacing: .06em !important;
	text-transform: uppercase !important; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; background: none !important;
	color: var(--wpct-ink) !important; font-family: inherit !important;
}
body .wpct .wpct-pod h3.wpct-h { margin: 0 0 2px !important; }
body .wpct .wpct-party h3.wpct-h { margin-bottom: 14px !important; }
body .wpct h3.wpct-h::before, body .wpct h3.wpct-h::after { content: none !important; display: none !important; }
body .wpct .wpct-eyebrow { text-transform: uppercase !important; letter-spacing: .08em !important; }
body .wpct .wpct-steps__label, body .wpct .wpct-tl__status { text-transform: none !important; letter-spacing: normal !important; }
body .wpct .wpct-pill { text-transform: none !important; letter-spacing: .02em !important; }
body .wpct .wpct-headline, body .wpct .wpct-help__title, body .wpct .wpct-modal__title { margin: 0 !important; font-family: inherit !important; text-transform: none !important; }
body .wpct a { border: 0 !important; box-shadow: none; background-image: none !important; }
body .wpct img { border: 0 !important; padding: 0 !important; box-shadow: none !important; margin: 0 !important; max-width: 100%; height: auto; }
body .wpct .wpct-photo img { height: 100% !important; }
body .wpct canvas { border-radius: 14px; }

/* Search box */
body .wpct .wpct-search { text-align: left !important; }
body .wpct .wpct-search .wpct-search__box { border-radius: 999px !important; }
body .wpct .wpct-search input[type="text"] {
	all: unset !important; box-sizing: border-box !important; flex: 1 1 auto !important; min-width: 0 !important; width: auto !important;
	height: 46px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	background: transparent !important; box-shadow: none !important; outline: 0 !important;
	font: inherit !important; font-size: 16px !important; line-height: 46px !important; color: var(--wpct-ink) !important;
	text-transform: none !important; letter-spacing: .02em !important;
}
body .wpct .wpct-search button[type="submit"] {
	all: unset !important; box-sizing: border-box !important; flex: 0 0 auto !important; cursor: pointer !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
	height: 46px !important; min-height: 0 !important; width: auto !important; margin: 0 !important; padding: 0 28px !important;
	border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
	background: var(--wpct-accent) !important; color: #fff !important;
	font: inherit !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important;
	text-transform: none !important; letter-spacing: .01em !important; text-shadow: none !important;
	transition: filter .15s ease, transform .15s ease !important;
}
body .wpct .wpct-search button[type="submit"]:hover { filter: brightness(1.08) !important; background: var(--wpct-accent) !important; color: #fff !important; }
body .wpct .wpct-search button[type="submit"]:active { transform: scale(.97) !important; }
body .wpct .wpct-search button[type="submit"]:focus-visible { outline: 2px solid var(--wpct-accent) !important; outline-offset: 2px !important; }
body .wpct .wpct-search button[type="submit"].is-busy { filter: saturate(.85) !important; pointer-events: none !important; }
body .wpct .wpct-search button[type="submit"]::before, body .wpct .wpct-search button[type="submit"]::after { content: none !important; }

/* Every plugin button and button-link */
body .wpct .wpct-btn, body .wpct-modal .wpct-btn {
	margin: 0 !important; min-height: 0 !important; height: auto !important; width: auto;
	padding: 10px 16px !important; border-radius: 11px !important; border: 1px solid var(--wpct-line) !important;
	background: var(--wpct-card) !important; color: var(--wpct-ink) !important;
	font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: normal !important; text-shadow: none !important; text-decoration: none !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
	box-shadow: none !important;
}
body .wpct .wpct-btn:hover { box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .35) !important; }
body .wpct .wpct-btn:active { box-shadow: none !important; }
body .wpct .wpct-hero__actions .wpct-btn { padding: 8px 13px !important; font-size: 13.5px !important; background: transparent !important; }
body .wpct .wpct-btn:hover { border-color: var(--wpct-accent) !important; color: var(--wpct-accent) !important; }
body .wpct .wpct-btn--solid, body .wpct .wpct-btn--solid:hover { background: var(--wpct-accent) !important; border-color: var(--wpct-accent) !important; color: #fff !important; }
body .wpct .wpct-btn--wa, body .wpct .wpct-btn--wa:hover { background: var(--wpct-wa) !important; border-color: var(--wpct-wa) !important; color: #fff !important; }
body .wpct .wpct-btn::before, body .wpct .wpct-btn::after { content: none !important; }
body .wpct button.wpct-icon-btn {
	width: 34px !important; height: 34px !important; padding: 8px !important; margin: 0 !important; border-radius: 9px !important;
	background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important;
	line-height: 1 !important; text-transform: none !important;
}
body .wpct button.wpct-icon-btn:hover { background: var(--wpct-soft) !important; }
body .wpct button.wpct-link {
	padding: 0 !important; margin: 16px 0 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
	color: var(--wpct-accent) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: normal !important;
	height: auto !important; min-height: 0 !important; line-height: 1.4 !important;
}
body .wpct .wpct-linkbox input[type="text"] {
	all: unset !important; box-sizing: border-box !important; flex: 1 1 auto !important; min-width: 0 !important;
	height: 42px !important; padding: 0 12px !important; border: 1px solid var(--wpct-line) !important; border-radius: 11px !important;
	background: var(--wpct-soft) !important; color: var(--wpct-ink) !important; font: inherit !important; font-size: 13.5px !important;
	text-overflow: ellipsis !important;
}

/* Details, tables */
body .wpct .wpct-field, body .wpct .wpct-field__k, body .wpct .wpct-field__v { text-align: left !important; margin: 0; }
body .wpct .wpct-field__k, body .wpct .wpct-field__v { display: block !important; }
body .wpct .wpct-table { border: 0 !important; margin: 0 !important; table-layout: auto; }
body .wpct .wpct-table th, body .wpct .wpct-table td { border: 0 !important; border-bottom: 1px solid var(--wpct-line) !important; text-align: left !important; vertical-align: middle !important; }
body .wpct .wpct-table tr:last-child td { border-bottom: 0 !important; }
body .wpct .wpct-table th { background: var(--wpct-soft) !important; }
body .wpct .wpct-modal__panel { text-align: center !important; }

@media (max-width: 600px) {
	body .wpct .wpct-search button[type="submit"] { padding: 0 20px !important; }
	body .wpct .wpct-hero__actions .wpct-btn { padding: 8px 10px !important; }
}
/* plugin box narrower than 640px */
body .wpct.wpct-w640 .wpct-search button[type="submit"] { padding: 0 20px !important; }
body .wpct.wpct-w640 .wpct-hero__actions .wpct-btn { padding: 8px 10px !important; }



/* Themes that stretch every button (width: 100%, min-width) or break words letter by letter. */
body .wpct .wpct-btn, body .wpct-modal .wpct-btn { width: auto !important; min-width: 0 !important; max-width: 100% !important; flex: 0 0 auto; float: none !important; }
body .wpct .wpct-help__actions .wpct-btn, body .wpct-modal .wpct-modal__row .wpct-btn { flex: 1 1 auto !important; }
body .wpct .wpct-hero__actions { width: auto !important; min-width: 0 !important; }
body .wpct .wpct-search button[type="submit"] { min-width: 0 !important; max-width: none !important; }
body .wpct, body .wpct * { word-break: normal !important; }
body .wpct .wpct-tn__value, body .wpct .wpct-field__v, body .wpct .wpct-party__line, body .wpct .wpct-linkbox input { overflow-wrap: anywhere !important; }
body .wpct .wpct-table th, body .wpct .wpct-table td { word-break: normal !important; overflow-wrap: break-word !important; }
@media (max-width: 600px) {
	body .wpct .wpct-hero__actions .wpct-btn { width: 38px !important; height: 38px !important; padding: 0 !important; }
}
/* plugin box narrower than 640px */
body .wpct.wpct-w640 .wpct-hero__actions .wpct-btn { width: 38px !important; height: 38px !important; padding: 0 !important; }

body .wpct button.wpct-icon-btn, body .wpct-modal button.wpct-icon-btn { min-width: 0 !important; max-width: 34px !important; flex: 0 0 34px !important; }
body .wpct .wpct-tn { flex-wrap: nowrap; }
body .wpct .wpct-tn__value { flex: 0 1 auto; min-width: 0; }

/* ------------------------------------------------------------------ 2.1: phone header
 * Label and buttons share the first row, the tracking number gets the full width below.
 */
@media (max-width: 600px) {
	.wpct-hero__top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label actions" "num num"; align-items: center; row-gap: 8px; }
	.wpct-hero__id { display: contents; }
	.wpct-hero__id > .wpct-eyebrow { grid-area: label; margin: 0; }
	.wpct-hero__top .wpct-tn { grid-area: num; min-width: 0; }
	.wpct-hero__actions { grid-area: actions; }
	.wpct-updated { white-space: normal; }
}
.wpct.wpct-w640 .wpct-hero__top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label actions" "num num"; align-items: center; row-gap: 8px; }
.wpct.wpct-w640 .wpct-hero__id { display: contents; }
.wpct.wpct-w640 .wpct-hero__id > .wpct-eyebrow { grid-area: label; margin: 0; }
.wpct.wpct-w640 .wpct-hero__top .wpct-tn { grid-area: num; min-width: 0; }
.wpct.wpct-w640 .wpct-hero__actions { grid-area: actions; }
.wpct.wpct-w640 .wpct-updated { white-space: normal; }

/* Number fitted on one line by the script (see fitNumber in tracking.js). */
body .wpct .wpct-tn__value.is-fit { white-space: nowrap !important; overflow-wrap: normal !important; }

/* Icons: sized by font-size in each component and drawn at 1em, so even a theme rule like
   "svg { width: 50% !important }" cannot resize them. */
body .wpct svg.wpct-i, body .wpct-modal svg.wpct-i { width: 1em !important; height: 1em !important; max-width: none !important; max-height: none !important; min-width: 0 !important; }

/* Very narrow box (theme margins kept, small phones): From and To one under the other. */
@media (max-width: 340px) {
	.wpct-route { grid-template-columns: minmax(0, 1fr); }
	.wpct-route__end:nth-child(3) { text-align: left; }
	.wpct-route__line { grid-row: auto; order: 3; }
	.wpct-route__eta { order: 4; }
}
.wpct.wpct-w320 .wpct-route { grid-template-columns: minmax(0, 1fr); }
.wpct.wpct-w320 .wpct-route__end:nth-child(3) { text-align: left; }
.wpct.wpct-w320 .wpct-route__line { grid-row: auto; order: 3; }
.wpct.wpct-w320 .wpct-route__eta { order: 4; }
