/* Primary GE Fleet TMS: admin */
.pge-wrap {
	--pge-sign: #00613F;
	--pge-sign-dark: #004A30;
	--pge-ink: #1B2421;
	--pge-muted: #5B6661;
	--pge-line: #D5DBD8;
	--pge-surface: #F4F6F5;
	--pge-amber: #E0A800;
	--pge-amber-bg: #FFF6D6;
	--pge-red: #B42318;
	--pge-red-bg: #FDECEA;
	--pge-display: "Overpass", "Helvetica Neue", Arial, sans-serif;
	color: var(--pge-ink);
	max-width: 1320px;
}

/* Header: a guide sign with the white inset border */
.pge-sign {
	background: var(--pge-sign);
	border-radius: 12px;
	padding: 5px;
	margin: 16px 0 20px;
}
.pge-sign-inner {
	border: 2px solid #fff;
	border-radius: 8px;
	padding: 14px 22px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.pge-wrap .pge-sign h1 {
	font-family: var(--pge-display);
	font-weight: 800;
	font-size: 28px;
	line-height: 1.15;
	color: #fff;
	margin: 0;
	padding: 0;
}
.pge-sign-sub {
	font-family: var(--pge-display);
	font-size: 15px;
	color: #fff;
	opacity: .85;
	margin-top: 2px;
}
.pge-sign-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pge-btn-sign {
	font-family: var(--pge-display);
	font-weight: 700;
	font-size: 14px;
	background: #fff;
	color: var(--pge-sign);
	border-radius: 6px;
	padding: 8px 14px 6px;
	text-decoration: none;
	display: inline-block;
}
.pge-btn-sign:hover, .pge-btn-sign:focus { background: #E6F2EC; color: var(--pge-sign-dark); }
.pge-btn-sign:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Shared */
.pge-muted, .pge-empty { color: var(--pge-muted); }
.pge-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pge-neg, .pge-figure.pge-neg .pge-figure-value { color: var(--pge-red); }
.pge-row-title { font-family: var(--pge-display); font-weight: 700; font-size: 14px; }
.pge-strong { font-weight: 700; }

/* Status badges */
.pge-badge {
	display: inline-block;
	font-family: var(--pge-display);
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	padding: 5px 8px 3px;
	border-radius: 4px;
	background: #E8ECEA;
	color: var(--pge-ink);
	white-space: nowrap;
}
.pge-badge-dispatched, .pge-badge-at_pickup, .pge-badge-in_transit, .pge-badge-at_delivery { background: #DCEFE5; color: var(--pge-sign-dark); }
.pge-badge-delivered { background: var(--pge-sign); color: #fff; }
.pge-badge-invoiced { background: var(--pge-amber-bg); color: #6B4E00; box-shadow: inset 0 0 0 1px var(--pge-amber); }
.pge-badge-paid { background: transparent; color: var(--pge-sign); box-shadow: inset 0 0 0 1px var(--pge-sign); }
.pge-badge-cancelled { background: transparent; color: var(--pge-muted); text-decoration: line-through; }

/* Filters and lists */
.pge-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.pge-filters input[type=search] { min-width: 240px; }
.pge-table-wrap { overflow-x: auto; }
.pge-table { border-color: var(--pge-line); }
.pge-table th { font-weight: 600; color: var(--pge-muted); }
.pge-table td { vertical-align: top; }
.pge-table tfoot th { color: var(--pge-ink); font-weight: 600; }
.pge-empty-state { padding: 32px; text-align: center; background: var(--pge-surface); border-radius: 8px; }
.pge-empty-state p { font-size: 15px; margin-top: 0; }

/* Forms */
.pge-single { max-width: 920px; }
.pge-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .pge-columns { grid-template-columns: 1fr; } }
.pge-section { border: 0; margin: 0 0 22px; padding: 0; }
.pge-section legend {
	font-family: var(--pge-display);
	font-weight: 700;
	font-size: 17px;
	padding: 0 0 6px;
	width: 100%;
	border-bottom: 2px solid var(--pge-ink);
	margin-bottom: 14px;
}
.pge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
@media (max-width: 782px) { .pge-grid { grid-template-columns: 1fr; } }
.pge-field { display: flex; flex-direction: column; gap: 4px; }
.pge-field-wide { grid-column: 1 / -1; }
.pge-field label { font-weight: 600; }
.pge-req { color: var(--pge-red); }
.pge-field input, .pge-field select, .pge-field textarea { width: 100%; max-width: none; }
.pge-help { color: var(--pge-muted); font-size: 12px; }
.pge-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.pge-delete { margin-left: auto; color: var(--pge-red); }
.pge-related { margin-top: 18px; }

/* Side panels */
.pge-side { display: flex; flex-direction: column; gap: 16px; }
.pge-panel { background: var(--pge-surface); border-radius: 8px; padding: 16px 18px; }
.pge-wrap .pge-panel h2, .pge-wrap .pge-block h2 {
	font-family: var(--pge-display);
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 10px;
	padding: 0;
}
.pge-panel label { display: block; font-weight: 600; margin: 10px 0 4px; }
.pge-panel input[type=text], .pge-panel input[type=email], .pge-panel input[type=password], .pge-panel select, .pge-panel textarea { width: 100%; }
.pge-panel .button-primary { margin-top: 12px; }
.pge-check { font-weight: 400 !important; }
.pge-field input[type=checkbox], .pge-field input[type=radio] { width: auto; margin: 0 8px 0 0; vertical-align: middle; }
.pge-check span { display: flex; align-items: flex-start; gap: 4px; }
.pge-check span input { margin-top: 3px !important; flex: none; }
.pge-dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.pge-dl dt, .pge-dl dd { margin: 0; }
.pge-dl dd { text-align: right; font-variant-numeric: tabular-nums; }
.pge-dl .pge-strong { border-top: 1px solid var(--pge-line); padding-top: 6px; }
.pge-side-actions { margin: 14px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pge-code { font-family: var(--pge-display); font-weight: 800; font-size: 24px; letter-spacing: .08em; margin: 0 0 6px; }
.pge-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--pge-line); }
.pge-timeline li { position: relative; margin: 0 0 14px; }
.pge-timeline li::before {
	content: "";
	position: absolute;
	left: -20px;
	top: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--pge-sign);
}
.pge-note { margin-top: 3px; }

/* Dashboard */
.pge-figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	border-top: 2px solid var(--pge-ink);
	border-bottom: 1px solid var(--pge-line);
	margin-bottom: 26px;
}
.pge-figure { padding: 14px 18px 12px; border-left: 1px solid var(--pge-line); display: flex; flex-direction: column; gap: 2px; }
.pge-figure:first-child { border-left: 0; padding-left: 0; }
.pge-figure-value { font-family: var(--pge-display); font-weight: 800; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pge-figure-label { color: var(--pge-muted); font-size: 13px; }
.pge-block { margin-bottom: 28px; }
.pge-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pge-callout { background: var(--pge-amber-bg); border-left: 4px solid var(--pge-amber); padding: 10px 14px; margin: 0 0 12px; }
.pge-alerts { list-style: none; margin: 0; padding: 0; }
.pge-alerts li { padding: 8px 0 8px 12px; border-left: 4px solid var(--pge-amber); margin-bottom: 8px; background: #fff; }
.pge-alerts li.pge-alert-overdue { border-left-color: var(--pge-red); background: var(--pge-red-bg); }
.pge-alerts a { text-decoration: none; color: var(--pge-ink); }
.pge-alerts a:hover, .pge-alerts a:focus { text-decoration: underline; }

@media (max-width: 600px) {
	.pge-figure { border-left: 0; padding-left: 0; border-top: 1px solid var(--pge-line); }
	.pge-wrap .pge-sign h1 { font-size: 23px; }
}

/* FMCSA */
.pge-badge-problem { background: var(--pge-red-bg); color: var(--pge-red); box-shadow: inset 0 0 0 1px var(--pge-red); white-space: normal; line-height: 1.25; }
.pge-fmcsa-verdict { margin: 0 0 12px; padding: 10px 12px; border-radius: 6px; font-weight: 600; border-left: 4px solid var(--pge-sign); background: #fff; }
.pge-fmcsa-verdict.is-problem { border-left-color: var(--pge-red); background: var(--pge-red-bg); color: #7A1A12; }
.pge-fmcsa-verdict a { color: inherit; }
.pge-quickpay { margin: 12px 0 0; padding: 8px 10px; background: #fff; border-radius: 6px; font-size: 13px; }
.pge-fmcsa .pge-dl { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
.pge-fmcsa .pge-dl dt { white-space: nowrap; color: var(--pge-muted); }
.pge-fmcsa .pge-dl dd { overflow-wrap: anywhere; }

/* Messages (load page in admin and app, and the app inbox) */
.pge-msg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.pge-msg-contact { font-size: 13px; }
.pge-msg-scroll { max-height: 340px; overflow-y: auto; background: #fff; border: 1px solid #DCE2DF; border-radius: 8px; padding: 10px; }
.pge-msg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pge-msg-day { text-align: center; font-size: 11px; font-weight: 600; color: #66716C; margin: 4px 0 0; }
.pge-msg { display: flex; flex-direction: column; max-width: 85%; }
.pge-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.pge-msg.is-theirs { align-self: flex-start; }
.pge-msg-bubble { padding: 8px 11px; border-radius: 12px; line-height: 1.4; font-size: 14px; overflow-wrap: anywhere; }
.pge-msg.is-mine .pge-msg-bubble { background: var(--brand, var(--pge-sign, #00613F)); color: #fff; border-bottom-right-radius: 4px; }
.pge-msg.is-theirs .pge-msg-bubble { background: #EEF1EF; color: #17211D; border-bottom-left-radius: 4px; }
.pge-msg.is-system .pge-msg-bubble { background: #fff; color: #17211D; box-shadow: inset 0 0 0 1px #C9D1CD; font-size: 13px; }
.pge-msg.is-new .pge-msg-bubble { box-shadow: inset 0 0 0 2px #E0A800; }
.pge-msg-meta { font-size: 11px; color: #66716C; margin-top: 2px; }
.pge-msg-status { text-align: center; }
.pge-msg-status span { display: inline-block; font-size: 12px; color: #3B4641; background: #F2F4F3; border-radius: 99px; padding: 3px 10px; }
.pge-msg-empty { color: #66716C; margin: 6px 0; font-size: 14px; }
.pge-msg-form { margin-top: 10px; }
.pge-msg-form textarea { width: 100%; }
.pge-msg-actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 8px; }
.pge-msg-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.pge-msg-quick button { font: inherit; font-size: 12px; background: #fff; border: 1px solid #C9D1CD; border-radius: 99px; padding: 4px 10px; cursor: pointer; color: #17211D; }
.pge-msg-quick button:hover { border-color: var(--brand, var(--pge-sign, #00613F)); color: var(--brand, var(--pge-sign, #00613F)); }
.pge-msg-panel .pge-msg-scroll { max-height: 300px; }

.pge-nodelete { margin-left: auto; font-size: 13px; max-width: 46ch; }

.pge-connect { background: #FFF6D6; border-left: 4px solid #E0A800; border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 0 0 18px; max-width: 760px; }
.pge-connect h2 { font-family: var(--pge-display, Overpass, sans-serif); font-size: 18px; margin: 0 0 8px; }
.pge-connect ol { margin: 0 0 10px 20px; }
.pge-connect p { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Maps */
.pge-map { width: 100%; border-radius: 10px; overflow: hidden; background: #E6EAE8; z-index: 0; }
.pge-map-small { height: 220px; }
.pge-map-big { height: calc(100vh - 230px); min-height: 420px; }
.pge-map.no-map { display: grid; place-items: center; color: #5B6661; font-size: 14px; padding: 20px; text-align: center; }
.pge-map-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.pge-map-list { background: #fff; border: 1px solid #DCE2DF; border-radius: 10px; padding: 14px 16px; max-height: calc(100vh - 230px); overflow-y: auto; }
.pge-map-list h2 { font-size: 17px; margin: 0 0 8px; }
.pge-map-list ul { list-style: none; margin: 0 0 12px; padding: 0; }
.pge-map-list li { border-bottom: 1px solid #EEF1EF; }
.pge-map-list li a { display: block; padding: 9px 0; color: inherit; text-decoration: none; font-size: 14px; }
.pge-map-list li a:hover strong { text-decoration: underline; }
.pge-pin span { display: inline-block; transform: translate(-50%, -100%); margin-left: 16px; white-space: nowrap; background: #0A7A50; color: #fff; font: 700 12px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; padding: 6px 8px 5px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); position: relative; }
.pge-pin span::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #0A7A50; }
.pge-pin.is-stale span { background: #7A8A84; }
.pge-pin.is-stale span::after { border-top-color: #7A8A84; }
.pge-locstate { font-size: 13px; }
@media (max-width: 900px) { .pge-map-page { grid-template-columns: 1fr; } .pge-map-big { height: 60vh; } }

/* Load documents (BOL / POD) */
.pge-doc-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pge-doc-list li { position: relative; }
.pge-doc-list a { display: block; text-decoration: none; color: inherit; border: 1px solid #DCE2DF; border-radius: 8px; overflow: hidden; background: #fff; }
.pge-doc-list img { display: block; width: 100%; height: 84px; object-fit: cover; background: #EEF1EF; }
.pge-doc-pdf { display: grid; place-items: center; height: 84px; background: #EEF1EF; font-weight: 800; color: #5B6661; }
.pge-doc-meta { display: block; padding: 5px 7px; font-size: 12px; line-height: 1.3; }
.pge-doc-meta strong { display: block; }
.pge-doc-meta small { color: #66716C; }
.pge-doc-del { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(17,25,22,.75); color: #fff; cursor: pointer; line-height: 1; font-size: 16px; }
.pge-doc-status { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.pge-doc-status.is-ok { color: #0A7A50; }
.pge-doc-status.is-error { color: #B42318; }
.pge-docs.is-busy { opacity: .7; }
.pge-doc-staff { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pge-doc-staff > label:first-child { width: 100%; margin: 0; font-weight: 600; }
.pge-doc-staff select { flex: 1; min-width: 140px; }

/* Billing */
.pge-bill-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.pge-bill-kpis > div { background: #fff; border: 1px solid #DCE2DF; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.pge-bill-kpis span { font-size: 13px; color: #5B6661; }
.pge-bill-kpis strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.pge-bill-kpis small { color: #66716C; }
.pge-bill-kpis .is-bad { border-color: #F2B8B5; background: #FFF7F6; }
.pge-bill-kpis .is-bad strong { color: #B42318; }
.pge-bill-h { font-size: 18px; margin: 22px 0 8px; display: flex; align-items: center; gap: 8px; }
.pge-bill-h .pge-count { font-size: 12px; background: #E6EAE8; border-radius: 99px; padding: 2px 8px; }
.pge-num { text-align: right; font-variant-numeric: tabular-nums; }
.pge-label { display: block; font-weight: 600; margin-bottom: 4px; }
.pge-extra { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pge-extra-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 8px; }
.pge-inv-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid #17211D; padding-top: 10px; }
.pge-inv-total strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.pge-inv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pge-radio { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-weight: 600; }
.pge-paid-fields { border-left: 3px solid #0A7A50; padding-left: 10px; margin: 6px 0; }
.pge-short { color: #B42318; font-weight: 700; margin: 10px 0 0; }
@media (max-width: 900px) { .pge-bill-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Compliance */
.pge-tabs { display: flex; gap: 6px; margin: 0 0 12px; flex-wrap: wrap; }
.pge-tabs a { padding: 7px 14px; border-radius: 99px; text-decoration: none; color: inherit; background: #fff; border: 1px solid #DCE2DF; font-weight: 600; font-size: 14px; }
.pge-tabs a[aria-current="page"] { background: #17211D; color: #fff; border-color: #17211D; }
.pge-comp-list { list-style: none; margin: 0 0 12px; padding: 0; }
.pge-comp-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #EEF1EF; }
.pge-comp-list li a { flex: 1; padding: 8px 0; text-decoration: none; color: inherit; }
.pge-comp-list li a strong { display: block; font-size: 14px; }
.pge-comp-list li a small { color: #66716C; }
.pge-comp-list .pge-badge { white-space: nowrap; }
.pge-sign-btn { display: inline-block; background: #fff; color: #17211D; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 9px 14px; }

/* Fill in from FMCSA */
.pge-fill { background: #EEF7F2; border: 1px solid #A9D6BF; border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.pge-fill strong { display: block; margin-bottom: 6px; }
.pge-fill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pge-fill-row select { width: auto; flex: none; }
.pge-fill-row input { flex: 1; min-width: 140px; }
.pge-fill-status { margin: 8px 0 0; font-size: 14px; }
.pge-fill-status:empty { display: none; }
.pge-fill-status.is-ok { color: #0A7A50; }
.pge-fill-status.is-error { color: #B42318; }
.pge-fill-off { background: #F4F6F5; border-color: #DCE2DF; }
.pge-fill-off span { color: #5B6661; font-size: 14px; }

/* Sign-up verification */
.pge-verify { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #DCE2DF; }
.pge-verify small { color: #5B6661; font-size: 12px; line-height: 1.35; }
.pge-verify .pge-verify-warn { color: #B42318; font-weight: 700; }
.pge-verify form { margin-top: 3px; }

/* Subscriptions */
.pge-sub-banner { background: #FDECEA; border: 1px solid #F2B8B5; border-left: 5px solid #B42318; border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #5C130D; }
.pge-sub-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.pge-sub-dl dt { color: #5B6661; }
.pge-sub-dl dd { margin: 0; font-weight: 600; }
.pge-sub-actions { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; font-size: 12px; }
.pge-sub-form { display: inline-flex; gap: 4px; align-items: center; margin: 0; }
.pge-sub-form input { font-size: 12px; padding: 2px 6px; min-height: 0; }
.pge-panel h2 .pge-badge { vertical-align: middle; margin-left: 6px; }
.pge-su-delete { margin: 8px 0 0; }
.pge-sub-link { margin: 6px 0 0; font-size: 12px; }
.pge-sub-link label { display: block; color: #50575e; margin-bottom: 2px; }
.pge-sub-link span { display: flex; gap: 4px; }
.pge-sub-link input { width: 150px; min-height: 28px; font-size: 12px; }

/* Website assistant */
.pge-h2 { font-size: 18px; margin: 26px 0 10px; }
.pge-as-leads td { vertical-align: top; }
.pge-as-chats { display: flex; flex-direction: column; gap: 8px; max-width: 900px; }
.pge-as-details { background: #fff; border: 1px solid #DCE2DF; border-radius: 8px; padding: 10px 14px; }
.pge-as-leads .pge-as-details { margin-top: 8px; }
.pge-as-details summary { cursor: pointer; }
.pge-as-details summary span { color: #5B6661; margin-left: 6px; }
.pge-as-msg { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: #F2F4F3; max-width: 720px; }
.pge-as-msg b { display: block; font-size: 12px; color: #5B6661; }
.pge-as-v { background: #E6F2EC; }
.pge-as-mode { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pge-as-mode legend { font-weight: 600; margin-bottom: 6px; }
.pge-as-mode label { font-weight: 400; display: block; background: #fff; border: 1px solid #DCE2DF; border-radius: 8px; padding: 10px 12px; line-height: 1.45; }
.pge-as-unanswered { margin: 0 0 10px; padding: 0; list-style: none; max-width: 900px; }
.pge-as-unanswered li { background: #fff; border: 1px solid #DCE2DF; border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; }
.pge-as-unanswered span { color: #5B6661; margin-left: 6px; font-size: 12px; }

/* Marketing email */
.pge-mkt-box { background: #fff; border: 1px solid #DCE2DF; border-radius: 10px; padding: 14px 18px; margin: 0 0 12px; max-width: 1100px; }
.pge-mkt-box summary { cursor: pointer; }
.pge-mkt-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; }
.pge-mkt-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.pge-mkt-row label small { font-weight: 400; color: #5B6661; }
.pge-mkt-row .pge-mkt-check { flex-direction: row; align-items: center; gap: 6px; font-weight: 400; }
.pge-mkt-err { color: #B42318; font-weight: 600; }
.pge-mkt-compose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 1300px; }
.pge-mkt-compose textarea { font-family: inherit; line-height: 1.5; }
.pge-mkt-preview { width: 100%; height: 760px; border: 1px solid #DCE2DF; border-radius: 10px; background: #F2F4F3; }
.pge-mkt-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.pge-mkt-camps { max-width: 1100px; margin-bottom: 10px; }
.pge-mkt-camps form { margin: 0; }
@media (max-width: 1100px) { .pge-mkt-compose { grid-template-columns: 1fr; } }
.pge-mkt-inline { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.pge-mkt-recip { max-width: 1300px; }
.pge-mkt-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pge-mkt-tabs a:not(.button) { text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid #DCE2DF; color: #17211D; background: #fff; }
.pge-mkt-tabs a.current { background: #0A7A50; border-color: #0A7A50; color: #fff; }
.pge-mkt-tabs a span { opacity: .75; margin-left: 2px; }
.pge-mkt-recip td { vertical-align: top; }

/* Broker panels (shared by the app and WordPress admin) */
.bk-findings { margin: 6px 0 10px; padding-left: 18px; }
.bk-findings li { margin: 2px 0; }
.bk-check { list-style: none; margin: 0 0 10px; padding: 0; }
.bk-check li { position: relative; padding: 3px 0 3px 24px; }
.bk-check li::before { position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; font-size: 11px; line-height: 17px; text-align: center; font-weight: 800; }
.bk-check li.is-ok::before { content: "✓"; background: #DCEFE5; color: #00613F; }
.bk-check li.is-missing { color: #66716C; }
.bk-check li.is-missing::before { content: ""; border: 2px solid #C9D2CE; width: 13px; height: 13px; }
.bk-mini { list-style: none; margin: 0 0 10px; padding: 0; }
.bk-mini li { padding: 6px 0; border-top: 1px solid #E3E8E6; }
.bk-h3 { font-size: 14px; margin: 14px 0 6px; }
.bk-neg { color: #B42318; font-weight: 700; }
.bk-inline, .bk-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 8px 0; }
.bk-inline label, .bk-pay label { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; font-weight: 600; }
.bk-inline input, .bk-pay input { width: 130px; }
.bk-tender { border-top: 1px dashed #DCE2DF; margin-top: 12px; padding-top: 4px; }
.bk-pge, .bk-tender-in { border-left: 4px solid #00613F; }

/* All / Carriers / Brokers tabs (network screens) */
.pge-type-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.pge-type-tabs a { text-decoration: none; padding: 5px 14px; border-radius: 999px; border: 1px solid #DCE2DF; background: #fff; color: #17211D; font-weight: 600; }
.pge-type-tabs a.current { background: #00613F; border-color: #00613F; color: #fff; }
.pge-type-tabs a span { opacity: .7; margin-left: 2px; }
.bk-pol { list-style: none; margin: 4px 0 6px; padding: 0; }
.bk-pol li { padding: 6px 0; border-top: 1px solid #E3E8E6; line-height: 1.4; }
.bk-pol li:first-child { border-top: 0; }
.bk-small { font-size: 12.5px; }
.bk-coi-check { margin-top: 12px; border-top: 1px dashed #DCE2DF; padding-top: 10px; }
.bk-coi-check summary { cursor: pointer; }
.bk-check-form { list-style: none; margin: 8px 0 10px; padding: 0; }
.bk-check-form li { padding: 3px 0; }
.bk-check-form label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.bk-check-form input { margin-top: 3px; }
.bk-ins .pge-badge { white-space: normal; }
.pge-mkt-danger.button { color: #B42318; border-color: #E4B4AE; }
.pge-mkt-danger.button:hover, .pge-mkt-danger.button:focus { color: #8F1B12; border-color: #B42318; background: #FDECEA; }
.pge-mkt-note { background: #FFF8E6; border: 1px solid #F1D79B; border-radius: 8px; padding: 10px 12px; max-width: 760px; }
.pge-mkt-bulk { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0; }
.pge-mkt-states { border: 0; padding: 0; margin: 0 0 14px; }
.pge-mkt-states legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.pge-mkt-st-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pge-mkt-st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #DCE2DF; border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; }
.pge-mkt-st small { color: #5B6661; font-weight: 400; }
.pge-mkt-st:has(input:checked) { border-color: #0A7A50; background: #E8F4EE; }
.pge-vid-field { grid-column: 1 / -1; }
.pge-vid-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pge-vid-row input { flex: 1 1 320px; min-width: 0; }
.pge-vid-prev { display: block; margin-top: 8px; max-width: 220px; max-height: 300px; border-radius: 10px; background: #0B1411; }
.pge-vid-prev[hidden] { display: none; }
.pge-vid-err { color: #B42318; }
