﻿#datatable_wrapper .row:nth-child(2) {
	margin-left: -20px !important;
	margin-right: -20px !important;
}


.pointer{
	cursor:pointer !important;
}

.wrapper {
	overflow: hidden !important;
}

/* Navbar */

.navbar-vertical.navbar-expand-lg {
	background-attachment: fixed;
	background-color: #182b42;
	background-image: url('/img/nav_nacho.png');
	background-position: left 0 bottom 0;
	background-repeat: no-repeat;
	background-size: 256px 556px;
}


#dropdown-submenu-items {
	left: 100%;
	top: -250%;
}

@media screen and (max-width: 992px) {
	#dropdown-submenu {
		display: grid !important;
	}

	#id_submenu_button > svg {
		transform: rotate(90deg);
	}
}

	/* Form Validation */
	.input-validation-error {
		border-color: #cd201f;
	}

	.valid {
		border-color: #5eba00;
	}

	input[data-val="true"] + label::after {
		content: "*";
		margin-left: .25rem;
		color: #cd201f;
	}

	.readonly-selectize {
		background: #f5f7fb;
	}

	/* Status Icon */
	.status-icon {
		content: '';
		width: 0.5rem;
		height: 0.5rem;
		display: inline-block;
		background: currentColor;
		border-radius: 50%;
		-webkit-transform: translateY(-1px);
		transform: translateY(-1px);
		margin-right: .375rem;
		vertical-align: middle;
	}

	.badge-warning {
		color: #fff;
		background-color: #f39c12;
	}

	.badge-danger {
		color: #fff;
		background-color: #cd201f;
	}

	.badge-success {
		color: #fff;
		background-color: #5eba00;
	}

	/* Border */
	.border-top-primary {
		border-top: 3px #45aaf2 solid
	}

	.border-top-danger {
		border-top: 3px #cd201f solid
	}

	.dataTables_info {
		white-space: pre-wrap !important;
	}

	.navbar-overlap:after {
		content: '';
		height: 9rem;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: inherit;
		z-index: -1;
		box-shadow: inherit;
	}

	.nav-link-icon {
		margin-right: 10px;
		height: auto !important;
		font-size: 1.3rem !important;
	}

	.nav-link .icon {
		font-size: 1.3rem;
	}

	li.nav-item {
		padding: 0 10px;
	}

	.loader-placeholder {
		width: 100%;
		height: 100%;
		position: absolute;
		justify-content: center;
		text-align: center;
		backdrop-filter: blur(3px);
		background: white;
		z-index: 9999999;
	}

	.loader-placeholder-spinner {
		top: 50%;
		position: absolute;
		color: #f0f0f0;
	}

	.selectize-input > * {
		font-weight: 500 !important;
	}

	.selectize-control {
		padding: 0 !important;
		background: none !important;
		border: 0 !important;
	}

	.selectize-dropdown.single.form-select {
		background-image: none !important;
	}

	.selectize-control.multi .selectize-input > div {
		font-size: 0.875rem !important;
		font-weight: 500 !important;
	}

	.selectize-dropdown-content {
		font-size: 0.875rem !important;
		font-weight: 500 !important;
	}

	.selectize-control.input-validation-error div.selectize-input {
		border-color: #cd201f !important;
	}

	.selectize-dropdown {
		padding: 0;
	}

	/* Tabs */
	.nav-tabs .nav-link.active {
		border-radius: 0;
		background: inherit;
		border-color: transparent;
		border-bottom: 2px solid #f0f0f0;
	}

	.flatpickr-day.inRange {
		box-shadow: none !important;
	}

	.form-check-description {
		display: block !important;
	}

	.form-selectgroup-input:focus + .form-selectgroup-label {
		color: #1f1f1f !important;
		border: 1px solid rgba(110, 117, 130, 0.2) !important;
		box-shadow: none;
	}

	.form-selectgroup-input:checked + .form-selectgroup-label {
		color: #1f1f1f;
		background: rgb(0 0 0 / 4%) !important;
		border-color: #000000 !important;
		border-width: 1.5px !important;
		box-shadow: 0 1px 1px 0 rgb(196 32 32 / 20%) !important;
	}

	/* Dropzone */
	.dropzone {
		border: 2px dashed #dedede;
		border-radius: 5px;
		background: #f5f5f5;
	}

		.dropzone .dz-message {
			color: #000000;
			color: rgba(0, 0, 0, .54);
			font-weight: 500;
			font-size: initial;
			text-transform: uppercase;
		}

	/* */

	table {
		width: 100%;
	}

	.offline-banner {
		z-index: 1031;
	}

	.none {
		display: none
	}

	.mono-space {
		font-feature-settings: 'tnum';
	}

	.scrollToTopBtn {
		position: fixed;
		bottom: 70px;
		right: 10px;
		background-color: white;
		border: none;
		border-radius: 8px;
		color: #515151 !important;
		cursor: pointer;
		width: 32px;
		height: 32px;
		opacity: 0;
		z-index: 100;
		transform: translateY(100px);
		box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;
		transition: all 0.3s cubic-bezier(.25,.8,.25,1);
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.showBtn {
		opacity: 1;
		transform: translateY(0)
	}


	.btn.btn-primary {
		background-color: black !important;
		color: white !important;
	}

		.btn.btn-primary:hover {
			background-color: white !important;
			color: black !important;
		}

	.btn.btn-secondary {
		background-color: white !important;
		color: black !important;
	}

		.btn.btn-secondary:hover {
			background-color: black !important;
			color: white !important;
		}

	.btn-link {
		color: black !important;
	}

		.btn-link:hover {
			color: grey !important;
		}

	.btn-login {
		background-color: white !important;
		color: red !important;
		border-color: red !important;
	}

		.btn-login:hover {
			background-color: red !important;
			color: white !important;
			border-color: red !important;
		}

	.nav-link.active {
		color: black !important;
		border-bottom: black !important;
		border-style: solid !important;
		border-width: medium !important;
	}

	.side-nav-link.active {
		color: black !important;
		background-color: white !important;
	}

	.side-nav-link {
		color: gray !important;
		background-color: white !important;
	}

		.side-nav-link:hover {
			color: black !important;
			background-color: white !important;
		}

	.nav-link-profile.active {
		color: black !important;
		background-color: white !important;
		border: none !important;
		border-style: none !important;
		padding: 8px 16px 8px 0px !important;
	}

	.nav-link-profile {
		color: gray !important;
		background-color: white !important;
		border: none !important;
		border-style: none !important;
		padding: 8px 16px 8px 0px !important;
	}

		.nav-link-profile:hover {
			color: black !important;
			background-color: white !important;
			border: none !important;
			border-style: none !important;
			padding: 8px 16px 8px 0px !important;
		}


	.CartButton {
		border: solid;
		border-radius: 10rem;
		background-color: red !important;
		border-color: red;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.lightLink.active {
		color: gray !important;
	}

	.lightLink {
		color: white !important;
		cursor: pointer;
	}

		.lightLink:hover {
			color: gray !important;
		}

	.redLink.active {
		color: red !important;
		border-bottom: red !important;
		border-style: none !important;
	}

	.redLink {
		color: black !important;
	}

		.redLink:hover {
			color: red !important;
		}

	.btn-link-footer {
		color: #666 !important;
	}

		.btn-link-footer:hover {
			color: red !important;
		}

	.CenteredHorizontalNavBar {
		position: absolute !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		z-index: 1000 !important;
	}

	/* The bar is absolutely positioned at left: 50%, so its shrink-to-fit width is capped at half the
	   nav and long items wrap word by word. Size it to its content instead,
	   up to the full nav width; if it still doesn't fit, whole items wrap onto the next row. */
	@media (min-width: 993px) {
		.CenteredHorizontalNavBar {
			width: max-content;
			max-width: 100%;
		}

		.CenteredHorizontalNavBar .navbar-nav {
			flex-wrap: wrap;
			justify-content: center;
		}

		.CenteredHorizontalNavBar .nav-link {
			white-space: nowrap;
		}
	}

	.datatableActionIcon {
		color: black !important;
	}

		.datatableActionIcon:hover {
			color: red !important;
		}

	.datatableDeleteActionIcon {
		color: red !important;
	}

		.datatableDeleteActionIcon:hover {
			color: darkred !important;
		}


	.ClearFilter {
		color: black !important;
	}

		.ClearFilter:hover {
			color: red !important;
		}

	th, td {
		white-space: nowrap;
	}

	.table thead tr:last-child th:last-child {
		position: sticky;
		right: 0;
		z-index: 1;
	}

	.table tbody td:last-child {
		position: sticky;
		right: 0;
		background-color: white !important;
	}

	.table thead th, .markdown > table thead th {
		background-color: #fafbfb !important;
	}

	.avatar-org {
		width: 40px;
		height: 40px;
		font-size: 0.75rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-weight: 600;
		color: #6e7582;
		text-align: center;
		text-transform: uppercase;
		vertical-align: bottom;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		background: #f1f3f8 no-repeat center/cover;
	}

	.avatar-xl-org {
		width: 200px;
		height: 200px;
		/*width: 17rem;
	height: 8rem;*/
		/*width: 270px;
	height: 125px;*/
		font-size: 3rem;
		line-height: 6rem;
		border: solid 1px #d9d9d9;
	}

	.LargeCheckBox {
		width: 35px !important;
		height: 35px !important;
		margin-top: 0px !important;
	}

	.MediumCheckBox {
		width: 25px !important;
		height: 25px !important;
		margin-top: 0px !important;
	}

	.swal2-container {
		z-index: 3100 !important;
	}

	@media screen and (max-width: 557px) {
		.swal2-popup {
			width: 80% !important;
		}
	}

	.swal2-icon.swal2-warning {
		border-color: red !important;
		color: red !important;
	}

	.swal2-styled.swal2-confirm {
		background-color: black !important;
	}

	.swal2-styled.swal2-cancel {
		background-color: white !important;
		color: black !important;
		border: solid !important;
	}

	.currencyInput {
		text-align: end !important;
	}

	.text-right {
		text-align: end !important;
	}

	.table-img-center {
		display: grid !important;
		place-items: center !important;
	}

	.VerticalCenter {
		vertical-align: middle;
	}

	.form-label.required:after {
		content: "*";
		margin-left: 0.25rem;
		color: #cd201f;
	}

	.navbar-custom {
		z-index: 2100 !important;
	}


	.cookie-banner {
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		padding: 10px;
		box-shadow: 0 -5px 6px -6px #666;
	}

	/*remove input=number arrows*/
	/* Chrome, Safari, Edge, Opera */
	.vat, input[type=number]::-webkit-inner-spin-button,
	input[type=number]::-webkit-outer-spin-button {
		-webkit-appearance: none;
		appearance: none;
	}

	/* Firefox */
	.vat, input[type=number] {
		-moz-appearance: textfield;
	}

.footers {
	background-color: black;
	border: 0;
	text-align: left;
	position: relative;
	bottom: 0px;
	width: 100%;
}
 li > a > #xlogo :hover {
	fill: gray !important;
	transition: fill .3s ease-in-out;
}


	/*google recaptcha*/
	/*@media only screen and (max-width: 500px) {
	.g-recaptcha {
		transform: scale(0.77);
		transform-origin: 0 0;
	}
}

@media only screen and (max-width: 350px) {
	.g-recaptcha {
		transform: scale(0.65);
		transform-origin: 0 0;
	}
}

@media only screen and (max-width: 200px) {
	.g-recaptcha {
		transform: scale(0.5);
		transform-origin: 0 0;
	}
}*/

	/* Apply Hindi font - simpler, more direct selectors */
	[lang="hi-IN"],
	[lang="hi"],
	html[lang="hi-IN"],
	html[lang="hi"] {
		font-family: 'Noto Sans Devanagari', 'Normala UI', 'Mangal', 'Noto Sans', Segoe UI, Roboto, Arial, sans-serif !important;
	}

	/* Apply to all children when parent has Hindi lang attribute */
	html[lang="hi-IN"] *,
	html[lang="hi"] * {
		font-family: 'Noto Sans Devanagari', 'Normala UI', 'Mangal', 'Noto Sans', Segoe UI, Roboto, Arial, sans-serif !important;
	}

	/* Override for English content within Hindi context */
	html[lang="hi-IN"] [lang="en"],
	html[lang="hi-IN"] [lang="en-US"],
	html[lang="hi-IN"] [lang="en-IN"],
	html[lang="hi"] [lang="en"],
	html[lang="hi"] [lang="en-US"],
	html[lang="hi"] [lang="en-IN"] {
		font-family: Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	}

/* Language Switcher Styles */
.dropdown-header {
	background-color: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 0.25rem;
}

.dropdown-item.active {
	background-color: #e9ecef;
	color: #000;
}

.dropdown-item:hover {
	background-color: #f8f9fa;
}

/* Technical Documentation page (/Customers/Customers/TechnicalDocumentation) */
.td-box { background: #fff; border: double 8px #000; text-align: center; padding: 1rem; }
.td-box-title { padding-bottom: .5rem; margin-bottom: 1rem; border-bottom: 2px solid #000; }
.td-doc { border: double 6px #000; padding: .75rem; margin-bottom: 1rem; }
.td-doc-name { margin-bottom: .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; color: #000; overflow-wrap: anywhere; }
.td-pdf-btn { padding-left: 2.5rem; padding-right: 2.5rem; }
@media screen and (min-width: 992px) {
    .td-box { padding: 1.5rem; }
}

/* US password strength bar (Views/Shared/Partial/_PasswordStrength.cshtml): a slimmer Bootstrap progress bar */
.pw-strength .progress { height: 6px; }

/* Collapsible card panels. Markup: .card.collapse-card > .card-header > h5 > a.collapse-card-toggle.collapsed[data-bs-toggle=collapse] > span.collapse-card-arrow,
   then a .collapse div holding the body. A bordered card with a full width clickable header and an arrow drawn in CSS (points right when closed, down when open).
   Put the padding on the toggle with Bootstrap utilities (py-2 ps-2 ps-sm-3 pe-4; this theme's spacer is 1.5rem, so p-2 is 0.75rem and p-3 is 1.5rem). First used by Admin/SystemHealth. */
.collapse-card { border: 1px solid #cfd8e3; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); scroll-margin-top: 5rem; }
.collapse-card .card-header { background: #fff; padding: 0; border-bottom: 0; }
.collapse-card .collapse.show { border-top: 1px solid #e3e8ef; }
.collapse-card-toggle { position: relative; display: block; color: #313a46; font-size: 1rem; font-weight: 700; text-decoration: none; }
.collapse-card-toggle:hover { color: var(--ct-primary, #727cf5); background: #f7f9fc; }
.collapse-card-arrow { position: absolute; right: 1rem; top: 50%; width: .65rem; height: .65rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.collapse-card-toggle.collapsed .collapse-card-arrow { transform: translateY(-50%) rotate(-45deg); }

/* A large figure under a small label (.form-label then .stat-value) */
.stat-value { font-size: 1.25rem; line-height: 1.2; }
@media screen and (min-width: 576px) {
    .stat-value { font-size: 1.75rem; }
}

/* Fixed layout table: every column keeps its width, so separate tables line up. .w-time and .w-status size a time column and a status badge column. */
.table-fixed { table-layout: fixed; width: 100%; }
.table-fixed .w-time { width: 96px; }
.table-fixed .w-status { width: 84px; }
@media screen and (min-width: 576px) {
    .table-fixed .w-time { width: 160px; }
    .table-fixed .w-status { width: 120px; }
}

/* Stacked table: under 576px each row becomes a block and each cell shows its column name from its data-label, so no column runs off the screen
   (the global th, td nowrap rule above would otherwise make the table scroll sideways). Add .stack-table-title-first when the first cell names the row. */
@media screen and (max-width: 575.98px) {
    .stack-table, .stack-table tbody { display: block; width: 100%; }
    .stack-table thead { display: none; }
    .stack-table tr { display: block; padding: .4rem 0; border-bottom: 1px solid #e3e8ef; }
    .stack-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem .25rem; border: 0; text-align: right; white-space: normal; box-shadow: none; }
    .stack-table td::before { content: attr(data-label); font-weight: 600; text-align: left; flex: 0 0 auto; }
    .stack-table-title-first td:first-child { justify-content: flex-start; text-align: left; font-weight: 600; }
    .stack-table-title-first td:first-child::before { content: none; }
    .stack-table td[colspan] { display: block; text-align: left; }
    .stack-table td[colspan]::before { content: none; }
}

/* A card that is a link: keeps the text colour, no underline, a shadow on hover. .tile-link-hint is the small "open" line inside it. */
.tile-link { color: inherit; text-decoration: none; }
.tile-link:hover { color: inherit; }
.tile-link:hover .card { box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.tile-link-hint { color: var(--ct-primary, #727cf5); }

/* An info icon that opens a popover (data-bs-toggle="popover") */
.info-icon { color: var(--ct-primary, #727cf5); cursor: pointer; }

/* Placeholder block shown while data loads (a grey bar that pulses). Size it with width and height. */
.skeleton { background: #e3e8ef; border-radius: 4px; animation: skeleton-pulse 1.3s ease-in-out infinite; }
@keyframes skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
    .skeleton { animation: none; }
}

/* Supporting text with enough contrast on white (the theme's .text-muted is too pale for small text) */
.text-subtle { color: #6c757d; }

/* A group of .collapse-card panels in two equal columns from 1400px. Open panels in a row stretch to the same height; a closed panel keeps its header height. */
@media screen and (min-width: 1400px) {
    .collapse-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; align-items: stretch; }
    .collapse-card-grid > .collapse-card:has(> .collapse:not(.show)) { align-self: start; }
}

/* Direct children in two equal columns from 1400px, one column below. Use for a set of similar blocks (for example one table per provider). */
@media screen and (min-width: 1400px) {
    .grid-2col-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; align-items: start; }
}

/* Flow steps: the stages of one process as a row of cards joined by arrows, stacking with downward arrows under 576px.
   Markup: .flow-steps > .flow-step, with .flow-arrow between the steps. Set --flow-color on a step. Inside a step, .flow-count is the figure
   (add .is-zero for a zero) and .flow-bar > span is its share of the total (set its width). First used by Admin/SystemHealth (order retry pipeline). */
.flow-steps { display: flex; flex-wrap: wrap; gap: 6px; align-items: stretch; }
.flow-step { flex: 1 1 200px; min-width: 0; border: 1px solid #dee2e6; border-radius: 6px; padding: .75rem .9rem; background: #fff; }
.flow-count { font-size: 1.75rem; font-weight: 500; line-height: 1.1; color: var(--flow-color, #6c757d); }
.flow-count.is-zero { color: #6c757d; }
.flow-bar { height: 6px; border-radius: 3px; background: #e9ecef; margin-top: .6rem; overflow: hidden; }
.flow-bar > span { display: block; height: 100%; background: var(--flow-color, #6c757d); }
.flow-arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; color: #6c757d; font-size: 1.4rem; }
@media screen and (max-width: 575.98px) {
    .flow-arrow { flex: 1 1 100%; height: 20px; transform: rotate(90deg); }
}

/* Status strip: a row of equal segments, one per time slot, coloured by status (like a status page's uptime bar).
   Markup: .status-strip > i.status-strip-up | -degraded | -down | -none, each with a title naming its slot. */
.status-strip { display: flex; gap: 2px; height: 28px; }
.status-strip > i { flex: 1; border-radius: 2px; }
.status-strip-up { background: #0acf97; }
.status-strip-degraded { background: #ffbc00; }
.status-strip-down { background: #fa5c7c; }
.status-strip-none { background: #ced4da; }

/* DataTables Responsive expand control as a chevron instead of the theme's solid box (right when closed, down when open).
   Add .dt-chevron to the table. First used by Admin/SystemHealth (provider checks tables). */
table.dataTable.dtr-inline.collapsed.dt-chevron > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed.dt-chevron > tbody > tr > th.dtr-control:before {
    content: "" !important; box-shadow: none !important; background: none !important; border-radius: 0 !important;
    width: .5rem !important; height: .5rem !important; top: 50% !important; margin-top: -.3rem !important; left: .6rem !important;
    border-right: 2px solid var(--ct-secondary-color, #6c757d); border-bottom: 2px solid var(--ct-secondary-color, #6c757d);
    transform: rotate(-45deg); transition: transform .15s;
}
table.dataTable.dtr-inline.collapsed.dt-chevron > tbody > tr.parent > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed.dt-chevron > tbody > tr.parent > th.dtr-control:before {
    background: none !important; transform: rotate(45deg); margin-top: -.45rem !important;
}

/* TV display: an unattended office screen. Add .tv-display to <html>. Hides the admin chrome and anything marked .desk-only, shows .tv-only,
   and makes figures large on a dark background, readable from 3 metres. Status is always a word as well as a colour; nothing needs a hover.
   First used by Admin/SystemHealth?display=tv. */
.tv-only { display: none; }
html.tv-display .tv-only { display: block; }
html.tv-display .desk-only,
html.tv-display .navbar-custom,
html.tv-display .leftside-menu,
html.tv-display .footer,
html.tv-display .scrollToTopBtn { display: none !important; }
html.tv-display {
    --ct-body-bg: #0f1218; --ct-body-color: #f1f3f5; --ct-card-bg: #1a1f29; --ct-border-color: #2b3240; --ct-card-border-color: #2b3240;
    font-size: 125%;
}
html.tv-display body { background: #0f1218; color: #f1f3f5; cursor: none; }
html.tv-display .content-page { margin-left: 0; padding: 0 1rem; }
html.tv-display .card { background: #1a1f29; color: #f1f3f5; }
html.tv-display .card.border { border-width: 4px !important; }
html.tv-display .text-subtle { color: #b8c0cc; }
html.tv-display .flow-step { background: #1a1f29; border-color: #2c3340; color: #f1f3f5; }
html.tv-display .flow-last { color: #f0b455 !important; }
html.tv-display .flow-bar { background: #2c3340; }
html.tv-display .flow-count.is-zero, html.tv-display .flow-arrow { color: #b8c0cc; }
html.tv-display .fs-4 { font-size: 2.6rem !important; line-height: 1.1; overflow-wrap: normal; word-break: normal; hyphens: none; }
html.tv-display .small { font-size: 1rem; }
html.tv-display .badge { font-size: 1.05rem; }
/* TV: black text on the light badges (grey and green), white stays on red */
html.tv-display .badge.bg-secondary, html.tv-display .badge.bg-success { color: #0f1218 !important; }
html.tv-display .skeleton { height: 170px !important; }
/* Slides: on the TV only the active one shows, the rest take turns (script adds .tv-active). Elsewhere they are plain blocks. */
/* Five tiles a row on the TV, so long strips take two rows instead of three. Add .tv-five to the row. */
html.tv-display .tv-five > [class*="col-"] { flex: 0 0 auto; width: 20%; }
html.tv-display .tv-slide { display: none; }
html.tv-display .tv-slide.tv-active { display: block; }
/* TV: a small bar chart (a flex row of .tv-bar, heights as percentages) and short lists with large text */
html.tv-display .tv-bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
html.tv-display .tv-bar { flex: 1; background: #f7b955; border-radius: 2px 2px 0 0; min-height: 2px; }
html.tv-display .tv-list-row { padding: .3rem 0; border-top: 1px solid #2b3240; font-size: 1.2rem; }
html.tv-display .tv-clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.tv-display .tv-slide-name { display: inline-block; margin: 0 .5rem; padding: .25rem .9rem; border-radius: 999px; color: #b8c0cc; font-size: 1.1rem; }
html.tv-display .tv-slide-name.active { background: #f1f3f5; color: #0f1218; font-weight: 700; }
/* Summary banner: one pill for each item that needs attention, red for Down and amber for Late */
.attn-title { display: block; }
.attn-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.attn-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .65rem; border-radius: 999px; border: 1px solid; background: #fff; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.attn-down { color: #842029; border-color: #dc3545; }
.attn-late { color: #664d03; border-color: #e0a800; }
.attn-more { color: #495057; border-color: #adb5bd; font-weight: 500; }
/* TV banner: one compact row (icon, headline and pills side by side, the time on the right), so the cards below keep their room */
html.tv-display #summaryBanner { font-size: 1.05rem; padding: .45rem .9rem; margin-bottom: .75rem !important; gap: .6rem !important; }
html.tv-display #summaryBanner > i { font-size: 1.3rem !important; }
html.tv-display #summaryBanner > span:first-of-type { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; }
html.tv-display #summaryBanner .attn-title { font-size: 1.2rem; }
html.tv-display #summaryBanner .attn-chips { margin-top: 0; }
html.tv-display #summaryBanner .small { font-size: .75rem; }
html.tv-display #updatedBig { font-size: 1.1rem !important; line-height: 1.1; }
html.tv-display .attn-chip { font-size: .95rem; padding: .1rem .65rem; background: rgba(255, 255, 255, .07); }
html.tv-display .attn-down { color: #ff9aa6; border-color: #ff4d63; background: rgba(255, 77, 99, .14); }
html.tv-display .attn-late { color: #ffd37a; border-color: #f0b455; background: rgba(240, 180, 85, .14); }
html.tv-display .attn-more { color: #b8c0cc; border-color: #4a5365; }
