/* Page structure: titled sections like the mock's cards, action bars, label/value blocks.
   The templates carry the classes (.tb-section, .tb-section-title, .tb-actions, .tb-fields). */

.tb-section {
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	padding: 16px 18px;
	margin: 0 0 16px;
}

.tb-section.row {
	--bs-gutter-x: 12px;
}

.tb-section-title,
.tb-section > h4:first-child {
	flex: 0 0 auto;
	box-sizing: border-box;
	margin: -16px -18px 14px;
	width: calc(100% + 36px);
	max-width: none;
	padding: 12px 18px;
	border-bottom: 1px solid var(--tb-border);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: normal;
	color: var(--tb-text);
}

/* Nothing but its title: every field is conditional. */
.tb-section:not(:has(> :not(.tb-section-title))) {
	display: none;
}

/* Labels over values. */
.tb-fields label,
PickupDeliveryPartials label {
	display: block;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--tb-muted);
}

.tb-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.tb-actions > .btn {
	margin: 0 !important;
}

/* The first action keeps the accent: a whole row of filled buttons has no hierarchy. */
.tb-actions > .btn-primary:not(:first-child),
.tb-actions-sm > .btn-primary,
.tb-disclosure > .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: var(--tb-surface);
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
	--bs-btn-active-color: var(--tb-text);
	--bs-btn-active-bg: var(--tb-surface-alt);
	--bs-btn-active-border-color: var(--tb-field-border);
}

/* Collapsible blocks of a form (Pickup/Delivery Items, Move/Remove Items). */
.tb-disclosure > .btn {
	text-align: left;
	font-size: 16px;
	font-weight: 700;
	padding: 12px 18px;
}

.tb-disclosure {
	margin-bottom: 8px;
}

.tb-table-wrap {
	margin-left: 0;
	margin-right: 0;
}

.tb-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--tb-border);
}

.tb-form-actions > .btn {
	margin: 0 !important;
}

.tb-form-actions > p {
	flex: 1 1 100%;
	margin: 0;
	font-size: 12px;
	color: var(--tb-muted);
}

.tb-order-type {
	align-items: center;
	padding-top: 12px;
	padding-bottom: 12px;
}

/* Order details and edit: content on the left, route and pricing in a column on the right. */
.tb-order-title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.3;
}

.tb-order-status {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tb-muted);
	letter-spacing: normal;
}

@media (min-width: 992px) {
	.tb-order-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 438px;
		gap: 0 16px;
		align-items: start;
		margin: 16px 0 0;
	}

	.tb-order-grid > * {
		grid-column: 1;
		width: auto;
		max-width: none !important;
		margin: 0;
		padding: 0;
	}

	.tb-order-grid > .tb-order-side {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}

.tb-order-grid > * > .row {
	--bs-gutter-y: 0;
	margin-left: 0;
	margin-right: 0;
}

.tb-order-grid > * > .row > [class*=col] {
	padding-left: 0;
	padding-right: 0;
}

.tb-order-grid > * > .row > .tb-section {
	padding: 16px 18px;
}

.tb-order-from {
	margin-bottom: 8px;
	color: var(--tb-muted);
}

/* Pricing: fixed money columns, so the amounts line up and stay inside the column. */
PricingDataPartial .col-2 {
	flex: 0 0 76px;
	width: 76px;
	padding-left: 4px;
	padding-right: 4px;
	text-align: right;
}

PricingDataPartial .col {
	min-width: 0;
}

PricingDataPartial .fst-italic {
	margin-top: 8px;
	padding-top: 8px;
	font-size: 12px;
	color: var(--tb-muted);
}

.tb-order-qr {
	margin: 0;
}

.tb-order-qr + .createUpdate {
	margin-top: 8px;
}

.tb-order-qr img {
	max-width: 110px !important;
	max-height: 110px !important;
}

/* ---- Order details and entry (Walter's mockups 10-25) ---- */

/* Title, then quiet order numbers and the status badge on the same line. */
.bodyWrap .tb-order-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
}

.tb-order-head > h2.tb-order-title {
	margin: 0;
}

.tb-order-meta {
	font-size: 16px;
	color: var(--tb-muted);
}

.tb-order-head > .tb-order-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tb-accent);
	background-color: var(--tb-soft);
	border: 1px solid var(--tb-soft-border);
}

.tb-order-head > .tb-order-status-done {
	color: var(--tb-ok);
	background-color: rgba(var(--tb-ok-rgb), 0.12);
	border-color: rgba(var(--tb-ok-rgb), 0.35);
}

/* Tabs on the left, the order's actions on the right of the same line. */
.tb-order-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 16px;
	border-bottom: 1px solid var(--tb-border);
}

.tb-order-tabs > .nav-tabs {
	border-bottom: 0;
}

.tb-order-tabs > .tb-actions {
	padding-bottom: 8px;
}

.tb-actions > .tb-menu > .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: var(--tb-surface);
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
	--bs-btn-active-color: var(--tb-text);
	--bs-btn-active-bg: var(--tb-surface-alt);
	--bs-btn-active-border-color: var(--tb-field-border);
}

.tb-actions > .tb-menu .dropdown-item > i {
	width: 18px;
	margin-right: 6px;
	text-align: center;
	color: var(--tb-muted);
}

/* More holds only what the order allows: with nothing in it, it goes. */
.tb-actions > .tb-more:not(:has(.dropdown-item)) {
	display: none;
}

/* Cards: an icon before each title. */
.tb-section-title > i {
	width: 20px;
	margin-right: 6px;
	text-align: center;
	color: var(--tb-accent);
}

@media (min-width: 992px) {
	.tb-order-grid.tb-order-view > .tb-order-side {
		grid-row: 1;
	}

	.tb-order-grid > .tb-order-wide {
		grid-column: 1 / -1;
	}
}

.tb-order-grid > .tb-order-side > .tb-section {
	margin-bottom: 16px;
}

/* Pickup, Extra Pickup and Delivery side by side. */
.tb-stops {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 0 16px;
	align-items: stretch;
}

.tb-stop-rows {
	display: grid;
	gap: 10px;
	margin: 0;
}

.tb-stop-rows > div {
	display: grid;
	grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
	gap: 12px;
}

/* A lone stop (warehouse delivery, service) fills the row: its blocks flow in two columns. */
@media (min-width: 1200px) {
	.tb-stop:only-child .tb-stop-body {
		columns: 2 340px;
		column-gap: 32px;
	}

	.tb-stop:only-child .tb-stop-body > * {
		break-inside: avoid;
	}

	.tb-stop:only-child .tb-stop-rows > div {
		grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
	}
}

.tb-stop-rows dt {
	display: flex;
	gap: 8px;
	font-weight: 500;
	color: var(--tb-muted);
}

.tb-stop-rows dt > i {
	flex: 0 0 16px;
	margin-top: 3px;
	text-align: center;
	color: var(--tb-ink);
}

.tb-stop-rows dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.tb-stop-rows dd .ws {
	margin-top: 2px;
	font-weight: 400;
}

.tb-stop-body > * + .tb-stop-rows {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--tb-border);
}

.tb-stop-body > * + :is(.tb-stop-time, .tb-stop-note, .tb-stop-sign) {
	margin-top: 12px;
}

/* The window and the actual time: a grey box, green once the stop is done. */
.tb-stop-time {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	padding: 10px 12px;
	border-radius: var(--tb-radius);
	background-color: var(--tb-surface-alt);
	border: 1px solid var(--tb-border);
}

.tb-stop-time > span {
	color: var(--tb-muted);
}

.tb-stop-time > strong {
	flex: 1 1 auto;
	text-align: right;
}

.tb-stop-time-done {
	color: var(--tb-ok);
	background-color: rgba(var(--tb-ok-rgb), 0.1);
	border-color: rgba(var(--tb-ok-rgb), 0.3);
}

.tb-stop-time-done > strong {
	text-align: left;
}

/* Special instructions and internal notes: a tinted note. */
.tb-stop-note,
.tb-stop-sign {
	display: flex;
	gap: 10px;
	padding: 12px;
	border-radius: var(--tb-radius);
	background-color: var(--tb-soft);
}

.tb-stop-note > i,
.tb-stop-sign > i {
	margin-top: 3px;
	color: var(--tb-accent);
}

.tb-stop-note strong,
.tb-stop-sign strong {
	display: block;
	margin-bottom: 2px;
}

.tb-stop-sign {
	background-color: transparent;
	border: 1px solid var(--tb-border);
}

.tb-stop-sign img {
	display: block;
	max-width: 100%;
	max-height: 140px;
	margin: 6px 0;
	padding: 6px;
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	background-color: #fff;
}

/* Route map: miles and travel time, then the zip's schedule. */
.tb-order-side google-map,
.tb-order-side google-map > div {
	width: 100% !important;
}

.tb-order-side google-map > div {
	border-radius: var(--tb-radius);
	overflow: hidden;
}

.tb-map-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 24px;
	padding: 10px 0 0 !important;
	color: var(--tb-ink);
	font-weight: 500;
}

.tb-map-schedule {
	text-align: center;
	color: var(--tb-ink);
}

.tb-map-schedule + .tb-map-schedule {
	margin-top: 6px;
}

/* Billing summary: Account and Public columns, public money in green, a Public Paid band. */
.tb-section-title > .tb-order-total {
	float: right;
	margin: -4px 0;
	padding: 4px 12px;
	border-radius: 999px;
	background-color: var(--tb-accent);
	color: var(--tb-on-accent);
	font-size: 13px;
	font-weight: 500;
}

.tb-section-title > .tb-order-total > strong {
	margin-left: 6px;
	font-size: 15px;
}

.tb-bill {
	margin: 0;
	font-size: 14px;
}

.tb-bill > :is(thead, tbody, tfoot) > tr > * {
	padding: 6px 4px;
	background: none;
}

.tb-bill > thead th {
	position: static;
	font-weight: 700;
	color: var(--tb-text);
}

.tb-bill .tb-money {
	width: 1%;
	white-space: nowrap;
	text-align: right;
	padding-left: 16px;
}

.tb-bill td.tb-public {
	color: var(--tb-ok);
}

.tb-bill-total > td {
	font-size: 16px;
	font-weight: 700;
	border-bottom: 0;
}

.tb-bill > tfoot > .tb-bill-paid > td {
	font-weight: 700;
	color: var(--tb-ok);
	background-color: rgba(var(--tb-ok-rgb), 0.1);
	border-bottom: 0;
}

.tb-bill-note {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--tb-muted);
}

/* Timing summary: each group's total, its lines behind Detail. */
.tb-time-group + .tb-time-group {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--tb-border);
}

.tb-time-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}

.tb-time-head > .btn-primary {
	--bs-btn-padding-y: 1px;
	--bs-btn-font-size: 12px;
}

.tb-time-line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 0;
}

.tb-time-value {
	flex: 0 0 auto;
	text-align: right;
	font-weight: 600;
}

.tb-time-drive {
	margin-top: 10px;
	font-size: 13px;
	color: var(--tb-muted);
}

/* Order items: one row per piece under one header row. */
.tb-order-items > .table-responsive {
	margin: 0 -18px -16px;
}

.tb-order-items .table {
	margin: 0;
}

.tb-order-items .table > thead th {
	font-size: 12px;
	font-weight: 600;
	color: var(--tb-muted);
	white-space: nowrap;
	background-color: var(--tb-surface-alt);
}

.tb-order-items .table > :is(thead, tbody) > tr > :first-child {
	padding-left: 18px;
}

.tb-order-items .table > tbody td {
	vertical-align: middle;
}

.tb-piece-photo {
	width: 110px;
}

.tb-piece-photo PropertyItemImage {
	display: block;
	width: 80px;
}

.tb-piece-note {
	display: block;
	font-size: 13px;
	color: var(--tb-muted);
}

/* Entry: with a real pickup and delivery the stop cards sit side by side; a narrow card is one column inside. */
@media (min-width: 1400px) {
	.tb-stops-split {
		column-gap: 16px;
	}

	.tb-stops-split > .tb-section {
		flex: 1 1 400px;
		width: auto;
		container-type: inline-size;
	}
}

@container (max-width: 699px) {
	.tb-stops-split PickupDeliveryEditPartial :is(.col-lg, .col-lg-6) {
		flex: 0 0 auto;
		width: 100%;
	}
}

/* Entry: the Pickup / Delivery window reads "9:00 AM to 12:00 PM", both times on one line next to each other. */
.tb-window {
	flex-wrap: nowrap;
	align-items: flex-end;
}

.tb-window > .col {
	flex: 0 1 auto;
	width: auto;
	min-width: 0;
}

.tb-window > .tb-window-to {
	padding-bottom: 8px;
	color: var(--tb-muted);
}

/* Entry: a contact field whose label takes two lines keeps its box on the same line as the one beside it. */
PickupDeliveryEditPartial .col-lg > .row.my-2 > .col-6 {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.tb-section > PickupDeliveryEditPartial h4 > i {
	width: 20px;
	margin-right: 6px;
	text-align: center;
	color: var(--tb-accent);
}

/* Entry: the warehouse piece filters read as a search bar. */
.tb-search-field {
	position: relative;
}

.tb-search-field > .fa {
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	color: var(--tb-muted);
	pointer-events: none;
}

.tb-search-field > .form-control {
	padding-left: 34px;
}

/* Entry: Pickup/Delivery Items and Move/Remove Items are cards; the toggle is the card's header. */
.tb-pieces > .row:first-child {
	margin: -16px -18px 0;
}

.tb-pieces > .row:first-child > .tb-disclosure {
	margin: 0;
	padding: 0;
}

.tb-pieces .tb-disclosure > .btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--tb-radius);
	--bs-btn-bg: var(--tb-soft);
	--bs-btn-hover-bg: var(--tb-soft);
	--bs-btn-active-bg: var(--tb-soft);
	--bs-btn-color: var(--tb-text);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-active-color: var(--tb-text);
}

.tb-pieces:has(> .row:nth-child(2)) .tb-disclosure > .btn {
	border-bottom: 1px solid var(--tb-soft-border);
	border-radius: var(--tb-radius) var(--tb-radius) 0 0;
}

.tb-pieces .tb-disclosure > .btn > .fa:first-child {
	color: var(--tb-accent);
}

.tb-pieces .tb-disclosure > .btn > .tb-chevron {
	margin-left: auto;
	color: var(--tb-ink);
}

.tb-pieces > .row:not(:first-child) {
	margin-top: 12px !important;
}

.tb-pieces > .tb-table-wrap {
	margin: 12px -18px -16px;
}

/* Entry: one row per piece under one header row. */
.tb-piece-table {
	margin: 0;
}

.tb-piece-table > thead th {
	position: static;
	font-size: 12px;
	font-weight: 600;
	color: var(--tb-muted);
	white-space: nowrap;
	background-color: var(--tb-surface-alt);
}

.tb-piece-table > :is(thead, tbody) > tr > :first-child {
	padding-left: 18px;
}

.tb-piece-table > tbody td {
	vertical-align: top;
}

.tb-piece-table > tbody td:has(> select) {
	min-width: 12rem;
}

.tb-piece-table > tbody td:has(> textarea) {
	min-width: 13rem;
}

.tb-piece-table .tb-piece-photo img {
	width: 72px;
}

/* The Pickup / Delivery heading of the edit form reads as its section's title. */
.tb-section > PickupDeliveryEditPartial h4 {
	margin: -16px -18px 8px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--tb-border);
	font-size: 16px;
	letter-spacing: normal;
}

/* Short label/value fields flow in columns. */
.tb-fields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px 16px;
}

.tb-fields > * {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

.tb-fields > .tb-section-title {
	grid-column: 1 / -1;
	margin: -16px -18px 2px;
	width: auto;
	padding: 12px 18px;
}

.tb-fields > :has(> ul.tags) {
	grid-column: 1 / -1;
}

.tb-fields ul.tags {
	margin: 0;
	padding: 0;
}

PickupDeliveryPartials .p-0 {
	padding: 0 4px !important;
}

/* Route / pricing column. */
.tb-order-side p {
	margin-bottom: 10px;
}

.tb-order-side p label {
	font-weight: 500;
	color: var(--tb-muted);
}

.tb-order-side .col-12.text-end {
	margin-bottom: 8px;
}

.tb-order-side .d-grid {
	margin-top: 12px;
}

.tb-order-side .d-grid > .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: var(--tb-surface);
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
}

PricingDataPartial > .row > .col > .row + .row {
	margin-top: 10px;
}

/* Item tables: the repeated header row is a quiet caption, not bold italics. */
.tb-section tr.fst-italic,
.tb-section tr.fst-italic > *,
.tb-section > .col > table tr:first-child > th {
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	color: var(--tb-muted);
}

.tb-section .table {
	margin-bottom: 0;
}

/* ---- Every page ---- */

/* Page titles and the buttons beside them. */
.bodyWrap h2 {
	font-size: 24px;
	line-height: 1.3;
	margin-bottom: 0;
}

.bodyWrap .mb-5 {
	margin-bottom: 16px !important;
}

.bodyWrap .row:has(> [class*=col] > h2) {
	align-items: center;
	margin-bottom: 16px;
}

.bodyWrap .row:has(> [class*=col] > h2) > .text-end {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.bodyWrap .row:has(> [class*=col] > h2) > .text-end > .btn {
	margin: 0 !important;
}

.bodyWrap .row:has(> [class*=col] > h2) > .text-end > .btn-primary:not(:first-child) {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: var(--tb-surface);
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
}

/* Search and filter rows sit in one quiet band above their list. */
.tb-filters,
.bodyWrap form > .row:has(.fa-search):not(:has(textarea)) {
	--bs-gutter-x: 8px;
	--bs-gutter-y: 8px;
	align-items: flex-end;
	margin: 0 0 16px !important;
	padding: 4px 12px 12px;
	background-color: var(--tb-surface-alt);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
}

.tb-filters > .form-check {
	align-self: center;
	min-height: 0;
	margin: 8px 8px 0 28px;
	padding-top: 0;
}

.tb-filters.header {
	font-size: 12px;
	font-weight: 600;
	color: var(--tb-muted);
}

.tb-filters.header > .overflow-hidden {
	overflow: visible !important;
}

/* Lists: row buttons are compact outlines on one line. */
.table td .btn {
	white-space: nowrap;
}

.table td .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: transparent;
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
	--bs-btn-padding-x: 10px;
	--bs-btn-padding-y: 4px;
	--bs-btn-font-size: 13px;
}

.table td .btn br {
	display: none;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > thead > tr > th {
	padding: 10px 8px;
	vertical-align: middle;
}

.table > thead > tr > th {
	vertical-align: bottom;
}

.createUpdate {
	margin-top: 16px;
	font-size: 12px;
	color: var(--tb-muted);
}

.tb-group-title {
	grid-column: 1 / -1;
	margin: 8px 0 -4px;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--tb-muted);
}

/* Home: the shortcuts as tiles across the page. */
.tb-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.tb-tiles > .btn {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 88px;
	padding: 16px 18px;
	font-size: 16px;
	text-align: left;
}

@media (max-width: 991.98px) {
	.bodyWrap h2 {
		font-size: 20px;
	}

	.tb-section {
		padding: 12px 14px;
	}

	.tb-section-title,
	.tb-section > h4:first-child,
	.tb-section > PickupDeliveryEditPartial h4,
	.tb-fields > .tb-section-title {
		margin: -12px -14px 10px;
		width: auto;
		padding: 10px 14px;
	}

	.tb-section-title,
	.tb-section > h4:first-child {
		width: calc(100% + 28px);
	}

	.tb-actions,
	.bodyWrap .row:has(> [class*=col] > h2) > .text-end {
		justify-content: flex-start;
	}
}

/* The order map has a fixed 400px width: it never pushes past a phone's screen. */
.tb-order-side google-map,
.tb-order-side google-map > div {
	display: block;
	max-width: 100% !important;
}

.tb-section {
	min-width: 0;
}

.tb-section:has(> .col > table),
.tb-section > .table {
	overflow-x: auto;
}

.tb-section h3 {
	margin-bottom: 8px;
	font-size: 16px;
	letter-spacing: normal;
}

.tb-fields {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	overflow-wrap: anywhere;
}

.table th .btn {
	white-space: nowrap;
}

.table th .btn br {
	display: none;
}

.tb-tiles > .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: var(--tb-surface-alt);
	--bs-btn-border-color: var(--tb-border);
	--bs-btn-hover-color: var(--tb-ink);
	--bs-btn-hover-bg: var(--tb-soft);
	--bs-btn-hover-border-color: var(--tb-soft-border);
}

.bodyWrap .row:has(> .z-special > h2) {
	align-items: flex-start;
}

/* ---- Forms ---- */

/* Any form row headed by an h3 is a section; the heading is its title. */
.bodyWrap form > .row:has(> .col-12:first-child > h3),
.tb-section.row {
	--bs-gutter-x: 8px;
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	padding: 16px 14px;
	margin: 0 0 16px !important;
}

.tb-section.row > .tb-section-title {
	margin: -16px -14px 6px;
	width: calc(100% + 28px);
	padding-left: 18px;
	padding-right: 18px;
}

.row > .col-12:first-child:has(> h3) {
	margin-top: 0;
}

.bodyWrap form > .row > .col-12:first-child > h3,
.tb-section.row > .col-12:first-child > h3 {
	margin: -16px -18px 6px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--tb-border);
	font-size: 16px;
	letter-spacing: normal;
}

.tb-section.row > .tb-group-title {
	margin: 12px 0 0;
	padding: 0 4px;
}

.bodyWrap form > button[type=submit],
.bodyWrap form > button[type=submit] ~ .btn {
	margin-top: 4px;
}

/* ---- Details pages ---- */

/* The label/value block of a details page (id="...Details") is a section, labels over values. */
[id$=Details].p-3 {
	padding: 0 !important;
	margin-top: 12px !important;
}

[id$=Details] > .row.g-2:first-child {
	--bs-gutter-x: 16px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px 16px;
	overflow-wrap: anywhere;
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	padding: 16px 18px;
	margin: 0 0 16px;
}

[id$=Details] > .row.g-2:first-child > * {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

[id$=Details] > .row.g-2:first-child > .tb-section-title {
	grid-column: 1 / -1;
	margin: -16px -18px 2px;
	padding: 12px 18px;
}

[id$=Details] label,
.tb-kv label {
	display: block;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--tb-muted);
}

[id$=Details] > .row:not(:first-child):has(> .col-12:first-child > h4) {
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	padding: 12px 18px;
	margin: 0 0 16px;
}

[id$=Details] h4,
.tb-history h4 {
	font-size: 16px;
	letter-spacing: normal;
}

.bg-danger.py-3,
.bg-warning.p-2 {
	border-radius: var(--tb-radius);
}

/* Schedule editor inside forms: a block of its own. */
ScheduleEdit {
	display: block;
}

ScheduleEdit h4 {
	margin: 0;
	font-size: 16px;
	letter-spacing: normal;
}

/* ---- Dispatch map ---- */

/* Dispatch Routing (Walter's mock 10-26): stats strip, map card, route cards. */
DispatchMap {
	display: block;
}

.tb-dispatch-date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.tb-dispatch-date .input-group {
	width: 11rem;
}

.tb-dispatch-stats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-bottom: 16px;
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
}

.tb-dispatch-stats > div {
	padding: 14px 16px;
	border-left: 1px solid var(--tb-border);
}

.tb-dispatch-stats > div:first-child {
	border-left: 0;
}

.tb-dispatch-stats span,
.tb-dispatch-stats small {
	display: block;
	color: var(--tb-muted);
	font-size: 13px;
}

.tb-dispatch-stats strong {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: var(--tb-text);
}

.tb-dispatch-bar {
	height: 4px;
	margin-top: 6px;
	background-color: var(--tb-border);
	border-radius: 2px;
	overflow: hidden;
}

.tb-dispatch-bar > div {
	height: 100%;
	background-color: var(--tb-text);
}

.tb-dispatch-card {
	margin-bottom: 16px;
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	overflow: hidden;
}

.tb-dispatch-card.dispatchMapRightTruck {
	max-width: 36rem;
	padding: 0 14px;
}

.tb-dispatch-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--tb-border);
}

.tb-dispatch-card-head h3,
.tb-dispatch-section-head h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.tb-dispatch-note {
	color: var(--tb-muted);
	font-size: 14px;
}

.tb-dispatch-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-left: auto;
}

.tb-dispatch-tools .btn {
	position: relative;
}

.tb-dispatch-dot {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 9px;
	height: 9px;
	background-color: var(--bs-danger);
	border-radius: 50%;
}

/* The map stays in view while the routes scroll under it (Walter, Loom 11-05). */
@media (min-width: 992px) {
	.tb-dispatch-map {
		position: sticky;
		top: var(--tb-topbar-height, 0);
		z-index: 4;
		padding-top: 8px;
		background-color: var(--tb-bg);
	}
}

.tb-dispatch-section {
	margin-bottom: 16px;
}

.tb-dispatch-section-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.tb-dispatch-section-head h3 {
	margin-right: auto;
}

.tb-dispatch-routes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tb-route-body {
	display: flex;
	gap: 8px;
	height: 100%;
	padding: 12px 14px;
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-left: 4px solid var(--tb-border);
	border-radius: var(--tb-radius);
}

.tb-route-info {
	flex: 1 1 auto;
	min-width: 0;
}

.tb-route-title strong {
	margin-right: 8px;
	color: var(--tb-text);
}

.tb-route-status,
.tb-route-who {
	color: var(--tb-muted);
	font-size: 14px;
}

.btn.tb-route-crew,
span.tb-route-crew {
	display: block;
	padding: 0;
	border: 0;
	font-size: 14px;
	text-align: left;
	color: var(--tb-text);
}

.tb-route-figures {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 8px 0 0;
}

.tb-route-figures dt {
	font-weight: 400;
	font-size: 13px;
	color: var(--tb-muted);
}

.tb-route-figures dd {
	margin: 0;
}

.tb-route-figures .text-danger dt,
.tb-route-figures .text-danger dd {
	color: var(--bs-danger);
}

.tb-route-actions {
	display: flex;
	align-items: flex-start;
	gap: 2px;
}

.tb-route-actions .btn {
	padding: 2px 6px;
	color: var(--tb-text);
}

.tb-route-unscheduled {
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 1399.98px) {
	.tb-dispatch-routes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.tb-dispatch-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tb-dispatch-stats > div:nth-child(4) {
		border-left: 0;
	}

	.tb-dispatch-stats > div:nth-child(n + 4) {
		border-top: 1px solid var(--tb-border);
	}

	.tb-dispatch-routes {
		grid-template-columns: minmax(0, 1fr);
	}
}

.modelItem {
	border-color: var(--tb-border) !important;
	border-radius: var(--tb-radius);
	margin-bottom: 6px;
	padding: 8px 10px;
}

/* Piece details: fields in columns, the QR code beside them. */
.tb-kv > .col-sm-8 {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

.tb-kv > .col-sm-8 > .row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px 16px;
	margin: 0;
}

.tb-kv > .col-sm-8 > .row > * {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

.tb-kv > .order-sm-2 {
	flex: 0 0 auto;
	width: auto;
}

@media (max-width: 575.98px) {
	.tb-kv > .col-sm-8,
	.tb-kv > .order-sm-2 {
		flex: 0 0 100%;
		width: 100%;
	}
}

/* ---- Tabs ---- */

.nav-tabs + .tab-content,
.nav-tabs ~ [ngbNavOutlet],
.nav-tabs ~ .tab-content {
	margin-top: 16px !important;
}

.tab-content .tb-group-title {
	margin: 12px 0 8px;
}

.tb-filters-plain {
	align-items: center;
	padding: 8px 12px;
}

.tb-filters-plain > * {
	margin-top: 0;
}

/* ---- Reports menu ---- */

.tb-report {
	border-top: 1px solid var(--tb-border) !important;
}

.tb-report .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: var(--tb-surface);
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
}

/* ---- Dialogs ---- */

.modal-header {
	padding: 14px 18px;
}

.modal-body {
	padding: 16px 18px;
}

.modal-footer {
	padding: 12px 18px;
	gap: 8px;
}

.modal-footer > * {
	margin: 0;
}

.modal-body h2 {
	font-size: 18px;
	line-height: 1.3;
}

.modal-body h3,
.modal-body h4 {
	font-size: 15px;
	letter-spacing: normal;
}

.modal-content {
	box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
}

/* ---- Upload areas and pictures ---- */

.nv-uploader {
	border-radius: var(--tb-radius);
	padding: 16px;
	border-width: 1px;
	border-style: dashed;
	background-color: var(--tb-surface-alt);
}

/* ---- Form details ---- */

.form-check-inline {
	margin-right: 14px;
}

.input-group > .btn-secondary {
	background-color: var(--tb-surface-alt);
	border-color: var(--tb-field-border);
	color: var(--tb-muted);
}

.validationErrors {
	border-radius: var(--tb-radius);
	padding: 8px 12px;
	margin: 8px 0;
}

.validationErrors:has(ul:empty),
.validationErrors ul {
	margin-bottom: 0;
}

.alert {
	padding: 10px 14px;
	margin-bottom: 12px;
}

/* ---- Phones ---- */

@media (max-width: 575.98px) {
	.bodyWrap h2 {
		font-size: 18px;
	}

	.tb-order-title {
		font-size: 18px;
	}

	.tb-filters,
	.bodyWrap form > .row:has(.fa-search):not(:has(textarea)) {
		padding: 4px 8px 8px;
	}

	.table > tbody > tr > td,
	.table > tbody > tr > th {
		padding: 8px 6px;
	}

	.modal-body {
		padding: 12px 14px;
	}

	.nv-uploader {
		padding: 12px;
	}

	.tb-form-actions > .btn {
		flex: 1 1 0;
	}
}

/* The app keeps an empty error box in the page: it takes no room until it has errors. */
.validationErrors:not(:has(li)) {
	padding: 0;
	margin: 0;
}

/* Message history: the message itself gets the room. */
.tab-content .header.row > :nth-child(2),
.tab-content .list > .row > :nth-child(2) {
	flex: 2 1 0;
}

/* Row lists (.list): compact buttons side by side, like the tables. */
.list > .row .btn-primary {
	--bs-btn-color: var(--tb-text);
	--bs-btn-bg: transparent;
	--bs-btn-border-color: var(--tb-field-border);
	--bs-btn-hover-color: var(--tb-text);
	--bs-btn-hover-bg: var(--tb-surface-alt);
	--bs-btn-hover-border-color: var(--tb-field-border);
	--bs-btn-padding-x: 10px;
	--bs-btn-padding-y: 4px;
	--bs-btn-font-size: 13px;
	white-space: nowrap;
}

.list > .row > .text-end:has(> .btn) {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.list > .row > .text-end > .btn {
	margin: 0 !important;
}

.list > .row {
	align-items: center;
	padding-top: 8px;
	padding-bottom: 8px;
}

.header.row {
	font-size: 14px;
	font-weight: 600;
	color: var(--tb-muted);
	padding-bottom: 6px;
}

/* Address: the city gets the room, not the country. */
.row > [class*=col]:has(> input[placeholder="City"]),
.row > [class*=col]:has(> .mb-1 > input[id$=myItem_City]) {
	flex: 2 1 0;
}

.row > [class*=col]:has(> input[placeholder="Zip Code"]),
.row > [class*=col]:has(> .mb-1 > input[id$=myItem_ZipCode]) {
	flex: 1.2 1 0;
}

/* Entry: Order Details fields sit next to each other instead of spreading over the width. */
@media (min-width: 576px) {
	.tb-form-grid > .col {
		flex: 0 1 calc(16rem + var(--bs-gutter-x));
	}

	.tb-form-grid > .col:has(> input[type=number]) {
		flex: 0 0 auto;
		width: auto;
	}
}

@media (max-width: 575.98px) {
	.tb-form-grid > .col {
		flex: 0 0 100%;
		width: 100%;
	}

	.tb-order-type .btn-group {
		width: 100%;
	}
}

/* Header and row columns stay aligned when a cell's text is long. */
.header.row > [class*=col],
.list > .row > [class*=col] {
	min-width: 0;
	overflow-wrap: anywhere;
}

.header.row .btn {
	white-space: nowrap;
}

.header.row .btn br {
	display: none;
}

/* Anything clickable looks clickable: links in the content are underlined. */
.bodyWrap a:not(.btn, .nav-link, .page-link, .dropdown-item),
.modal a:not(.btn, .nav-link, .page-link, .dropdown-item) {
	text-decoration: underline;
	text-decoration-color: rgba(var(--tb-ink-rgb), .4);
	text-underline-offset: 3px;
}

.bodyWrap a:not(.btn, .nav-link, .page-link, .dropdown-item):hover,
.modal a:not(.btn, .nav-link, .page-link, .dropdown-item):hover {
	text-decoration-color: currentColor;
}

.tb-clickable {
	cursor: pointer;
}

.tb-clickable:hover {
	color: var(--tb-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tb-pick {
	cursor: pointer;
	border-radius: var(--tb-radius);
}

.tb-pick:hover {
	background-color: var(--tb-soft);
}

/* Sortable columns show it before the first click. */
[sortable-column] {
	cursor: pointer;
	user-select: none;
	text-indent: -12px;
}

/* The arrow (and the space after it) hangs in the padding before the name, so the name lines up with the values under it and both lines of a long name start at the same place. */
th[sortable-column]:first-child {
	padding-left: calc(var(--bs-table-cell-padding-x, .5rem) + 12px);
}

[sortable-column] > i,
[sortable-column]:not(:has(> .fa-chevron-up, > .fa-chevron-down))::before {
	display: inline-block;
	width: 8px;
	text-indent: 0;
}

[sortable-column] > i {
	font-size: .65em;
	color: var(--tb-text);
}

[sortable-column]:not(:has(> .fa-chevron-up, > .fa-chevron-down))::before {
	content: "\f0dc";
	font: var(--fa-font-solid);
	font-size: .9em;
	opacity: .45;
}

[sortable-column]:hover {
	color: var(--tb-text);
}

[sortable-column]:hover::before {
	opacity: .8;
}

/* Column headers stay in view while the rows scroll under them. site.css's overflow: hidden on
   #wrap would make it the scroll container; clip cuts the same without that. */
#wrap {
	overflow: clip;
}

.header.row:not(.tb-filters),
.bodyWrap thead th {
	position: sticky;
	top: var(--tb-topbar-height, 0);
	z-index: 3;
	background-color: var(--tb-surface);
}

/* Inside a sideways-scrolling box they stick to that box, whose top is not under the bar. */
:is(.table-responsive, .tb-section:has(> .col > table)) :is(.header.row:not(.tb-filters), thead th) {
	top: 0;
}

/* So such a box is at most a screen tall and scrolls down too: the header stays at its top while the rows scroll under it.
   It also leaves room for what follows it (--tb-below, set by app.component), so the page can't scroll its header under the bar. */
:where(.table-responsive, .tb-section:has(> .col > table)) {
	max-height: calc(100vh - var(--tb-topbar-height, 0px));
	max-height: min(calc(100dvh - var(--tb-topbar-height, 0px)), max(16rem, calc(100dvh - var(--tb-topbar-height, 0px) - var(--tb-below, 0px))));
	overflow-y: auto;
}

/* Order items fit from 1200px, so their box needn't scroll sideways and the header sticks under the bar. */
@media (min-width: 1200px) {
	.tb-order-items > .table-responsive {
		overflow: visible;
		max-height: none;
	}

	.tb-order-items > .table-responsive thead th {
		top: var(--tb-topbar-height, 0) !important;
	}
}

/* Orders list: its columns fit from 1400px, so the same applies there. */
@media (min-width: 1400px) {
	PickupDelivery-List > .tb-page-body > .table-responsive {
		overflow: visible;
		max-height: none;
	}

	PickupDelivery-List > .tb-page-body > .table-responsive thead th {
		top: var(--tb-topbar-height, 0) !important;
	}
}

/* A header nested in a list row (a location's racks) would stick over the page's own header. */
.list .header.row:not(.tb-filters) {
	position: static;
}

.header.row:not(.tb-filters) {
	box-shadow: 0 1px 0 var(--tb-border);
	padding-top: 6px;
}

.header.row:has(+ .list > .modelItem) {
	padding-left: 10px;
	padding-right: 10px;
}

/* Phones: a list of five or more columns keeps a readable width and scrolls sideways. */
@media (max-width: 575.98px) {
	:has(> .header.row + .list > .row > :nth-child(5)) {
		overflow-x: auto;
		max-height: calc(100vh - var(--tb-topbar-height, 0px));
		max-height: min(calc(100dvh - var(--tb-topbar-height, 0px)), max(16rem, calc(100dvh - var(--tb-topbar-height, 0px) - var(--tb-below, 0px))));
	}

	:has(> .header.row + .list > .row > :nth-child(5)) > .header.row:not(.tb-filters) {
		top: 0;
	}

	.header.row:has(+ .list > .row > :nth-child(5)),
	.header.row + .list:has(> .row > :nth-child(5)) {
		min-width: 760px;
	}

	.header.row:has(+ .list > .row > :nth-child(8)),
	.header.row + .list:has(> .row > :nth-child(8)) {
		min-width: 1100px;
	}
}

/* The first column of a list is usually the name: it gets more of the width. */
.header.row > .col:first-child,
.list > .row > .col:first-child {
	flex-grow: 1.6;
}

/* Fields no wider than what they hold. */
.bodyWrap input.form-control:is(:not([type]), [type=text], [type=email], [type=tel], [type=url], [type=search], [type=password]),
.modal input.form-control:is(:not([type]), [type=text], [type=email], [type=tel], [type=url], [type=search], [type=password]) {
	max-width: 26rem;
}

#myItem_BillType {
	max-width: 16rem;
}

/* An address and a stop's contact fields are a block as wide as one field, so their rows end together. */
addressedit {
	display: block;
	max-width: 26rem;
}

PickupDeliveryEditPartial .col-lg > .row.my-2 {
	max-width: calc(26rem + var(--bs-gutter-x));
}

.bodyWrap input[type=number].form-control,
.modal input[type=number].form-control {
	max-width: 10rem;
}

.bodyWrap input[ngbdatepicker].form-control,
.modal input[ngbdatepicker].form-control {
	max-width: 11rem;
}

.bodyWrap select.form-control,
.bodyWrap select.form-select,
.modal select.form-control,
.modal select.form-select {
	max-width: 26rem;
}

.input-group > input[type=number].form-control {
	flex: 0 1 10rem;
}

.input-group > input[ngbdatepicker].form-control {
	flex: 0 1 11rem;
}

.input-group > input.form-control:has(+ ngx-material-timepicker-toggle) {
	flex: 0 1 9rem;
}

.input-group:has(> input[type=number].form-control, > input[ngbdatepicker].form-control, > ngx-material-timepicker-toggle) {
	flex-wrap: nowrap;
}

/* Screen instructions: a quiet box with the "i" icon (Wally's notes 11-5). */
.tb-info,
.alert-info {
	display: flex;
	gap: 10px;
	align-items: baseline;
	padding: 10px 14px;
	background-color: rgba(var(--tb-accent-rgb), .07);
	border: 1px solid rgba(var(--tb-accent-rgb), .25);
	border-radius: var(--tb-radius);
	color: var(--tb-text);
}

.row > .tb-info {
	margin-left: calc(var(--bs-gutter-x) * .5);
	margin-right: calc(var(--bs-gutter-x) * .5);
	width: calc(100% - var(--bs-gutter-x));
}

.tb-info::before,
.alert-info::before {
	content: "\f05a";
	font: var(--fa-font-solid);
	color: var(--tb-accent);
}

/* Admin page (mock 10-26): a card per area, each listing its settings pages. */
.tb-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--tb-muted);
}

.tb-breadcrumb > * + *::before {
	content: "\f054";
	margin-right: 8px;
	font: var(--fa-font-solid);
	font-size: 10px;
}

.bodyWrap .tb-breadcrumb a {
	color: var(--tb-muted);
	text-decoration: none;
}

/* Every page: above its panel, one line, the page title cut short when long. */
.bodyWrap > Breadcrumb .tb-breadcrumb {
	margin-bottom: 10px;
	white-space: nowrap;
}

.tb-breadcrumb > :last-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
	.bodyWrap > Breadcrumb .tb-breadcrumb {
		padding: 0 14px;
	}
}

.tb-admin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	align-items: start;
	gap: 20px;
}

.tb-admin-card {
	overflow: hidden;
	background-color: var(--tb-surface);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
}

.tb-admin-card > header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 24px;
	background-color: var(--tb-surface-alt);
	border-bottom: 1px solid var(--tb-border);
}

.tb-admin-card > header > i {
	font-size: 30px;
	color: var(--tb-accent);
}

.tb-admin-card > header h3 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 600;
}

.tb-admin-card > header p {
	margin: 0;
	font-size: 14px;
	color: var(--tb-muted);
}

.tb-admin-card > nav {
	padding: 0 24px 8px;
}

.bodyWrap .tb-admin-card > nav > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--tb-border);
	color: var(--tb-text);
	text-decoration: none;
}

.tb-admin-card > nav > a:last-child {
	border-bottom: none;
}

.tb-admin-card > nav > a::after {
	content: "\f054";
	font: var(--fa-font-solid);
	font-size: 12px;
	color: var(--tb-muted);
}

.bodyWrap .tb-admin-card > nav > a:hover {
	color: var(--tb-ink);
}
