/* Cycling Support 1.0.15 - clean Operations Hub stylesheet */

:root {
  color-scheme: light;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-bg: #f5f7fb;
  --page-bg-2: #f5f7fb;
  --panel-bg: #ffffff;
  --panel-strong: #ffffff;
  --panel-muted: #f7f9fc;
  --line-soft: #dfe6f2;
  --line-strong: #cbd6e6;
  --text: #071f49;
  --text-muted: #55667f;
  --text-faint: #8d9ab0;
  --accent: #ff6b00;
  --accent-2: #082f73;
  --accent-soft: #fff2e8;
  --accent-border: #ffb076;
  --critical: #ef2b2d;
  --critical-soft: #ffe9ea;
  --warning: #f59e0b;
  --warning-soft: #fff5df;
  --success: #21a65b;
  --success-soft: #e8f8ef;
  --info-soft: #eaf2ff;
  --shadow-soft: 0 1px 2px rgba(15, 35, 65, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 35, 65, 0.04);
  --shadow-md: 0 8px 26px rgba(15, 35, 65, 0.08);
  --shadow-lg: 0 18px 44px rgba(15, 35, 65, 0.12);
  --blur: none;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --radius-full: 999px;
  --side-rail-width: 146px;
  --topbar-height: 56px;
  --content-max: none;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #0d1422;
  --page-bg-2: #0d1422;
  --panel-bg: #121c2e;
  --panel-strong: #151f33;
  --panel-muted: #182439;
  --line-soft: rgba(226, 233, 245, 0.12);
  --line-strong: rgba(226, 233, 245, 0.2);
  --text: #f5f8ff;
  --text-muted: #aab7cb;
  --text-faint: #75839b;
  --accent-soft: rgba(255, 107, 0, 0.14);
  --accent-border: rgba(255, 107, 0, 0.42);
  --success-soft: rgba(33, 166, 91, 0.16);
  --warning-soft: rgba(245, 158, 11, 0.16);
  --critical-soft: rgba(239, 43, 45, 0.16);
  --info-soft: rgba(36, 93, 168, 0.18);
  --shadow-soft: none;
  --shadow-sm: none;
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.22);
}

html,
body.cs-template {
  background: var(--page-bg);
}

body.cs-template {
  color: var(--text);
  background: var(--page-bg) !important;
  letter-spacing: 0;
}

body.cs-template::before,
.cs-template .panel::before,
.cs-template .module-card::before,
.cs-template .cycling-module-card::before {
  display: none !important;
}

body.cs-template a {
  color: var(--accent-2);
  text-decoration-color: rgba(8, 47, 115, 0.28);
  text-underline-offset: 0.2em;
}

html[data-theme="dark"] body.cs-template a {
  color: #83b7ff;
}

/* App shell */
.cs-template .app-shell {
  display: grid;
  grid-template-columns: var(--side-rail-width) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--page-bg);
}

.cs-template .workspace {
  min-width: 0;
  background: var(--page-bg);
}

/* Expanded labelled sidebar */
.cs-template .side-rail {
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: stretch;
  width: var(--side-rail-width);
  height: 100vh;
  padding: 14px 8px;
  gap: 22px;
  border-right: 1px solid var(--line-soft);
  background: var(--panel-strong);
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="dark"] .cs-template .side-rail {
  background: #101a2c;
}

.cs-template .brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 0 12px;
  border: 0;
  border-radius: 7px;
  background: var(--accent-2);
  box-shadow: none;
}

.cs-template .brand-mark__glyph {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.cs-template .brand-mark__glyph::after {
  top: -4px;
  right: -5px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  box-shadow: none;
}

.cs-template .rail-nav,
.cs-template .side-rail .moduletable,
.cs-template .side-rail .rail-nav__menu,
.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__fallback,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav,
.cs-template .side-rail ul {
  width: 100%;
}

.cs-template .rail-nav {
  margin-top: 0;
}

.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__fallback,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__label,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transform: none;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  position: absolute;
  inset: 8px auto 8px -8px;
  width: 3px;
  content: "";
  border-radius: 0 999px 999px 0;
  background: transparent;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover,
.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .current > a {
  color: var(--accent-2);
  background: #edf1f7;
  box-shadow: none;
  transform: none;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .mod-menu .active > a::before,
.cs-template .side-rail .nav .active > a::before,
.cs-template .side-rail .current > a::before {
  background: var(--accent);
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  opacity: 1;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span,
.cs-template .side-rail .rail-nav__link span {
  display: inline;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-template .rail-collapse {
  align-self: start;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: auto 0 0 2px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: none;
}

.cs-template .rail-collapse:hover {
  background: #f1f4f9;
  transform: none;
}

.cs-template .rail-collapse img {
  width: 16px;
  height: 16px;
}

/* Optional collapsed rail state */
body.cs-template.rail-is-compact .app-shell {
  grid-template-columns: 72px minmax(0, 1fr);
}

body.cs-template.rail-is-compact .side-rail {
  align-items: center;
  width: 72px;
  padding-inline: 10px;
}

body.cs-template.rail-is-compact .brand-mark,
body.cs-template.rail-is-compact .rail-collapse {
  align-self: center;
  margin-inline: auto;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
body.cs-template.rail-is-compact .side-rail .cs-rail-menu__label,
body.cs-template.rail-is-compact .side-rail .rail-nav__link,
body.cs-template.rail-is-compact .side-rail .mod-menu a,
body.cs-template.rail-is-compact .side-rail .nav a {
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__text,
body.cs-template.rail-is-compact .side-rail .mod-menu a span,
body.cs-template.rail-is-compact .side-rail .nav a span,
body.cs-template.rail-is-compact .side-rail .rail-nav__link span {
  display: none;
}

body.cs-template.rail-is-compact .rail-collapse img {
  transform: rotate(180deg);
}

/* Topbar */
.cs-template .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--topbar-height);
  padding: 0 28px 0 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel-strong);
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="dark"] .cs-template .topbar {
  background: #101a2c;
}

.cs-template .topbar__system,
.cs-template .topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cs-template .topbar__system {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.cs-template .topbar__menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.cs-template .topbar__menu span {
  display: block;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--accent-2);
}

.cs-template .topbar__menu:hover,
.cs-template .icon-button:hover {
  background: #f1f4f9;
  transform: none;
}

.cs-template .topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.cs-template .topbar-brand__logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  color: #fff;
  background: var(--accent);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.cs-template .topbar-brand__copy {
  display: grid;
  gap: 1px;
}

.cs-template .topbar-brand__copy strong {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.cs-template .topbar-brand__copy small {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
}

.cs-template .icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
}

.cs-template .icon-button img {
  width: 18px;
  height: 18px;
  opacity: 1;
}

.cs-template .badge {
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  color: #fff;
  background: var(--accent);
  font-size: 0.62rem;
  box-shadow: 0 0 0 2px var(--panel-strong);
}

.cs-template .user-pill {
  display: grid;
  grid-template-columns: 30px minmax(0, auto) 14px;
  min-height: 42px;
  gap: 10px;
  padding: 0 14px;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.cs-template .user-pill__avatar {
  width: 30px;
  height: 30px;
  background: #edf2f8;
}

.cs-template .user-pill strong,
.cs-template .team-lockup strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

.cs-template .user-pill small,
.cs-template .team-lockup small {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.cs-template .team-lockup strong {
  color: var(--accent-2);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-template .team-lockup small {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

/* Layout, cards and hero */
.cs-template .dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 24px 32px;
}

.cs-template .panel,
.cs-template .module-card,
.cs-template .cycling-module-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}

.cs-template .hero-card {
  display: flex;
  align-items: center;
  min-height: 102px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--panel-strong);
}

.cs-template .eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.cs-template .hero-card h1,
.cs-template .default-hero-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.1rem, 3vw, 3.15rem);
  line-height: 0.96;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-template .hero-card p:last-child,
.cs-template .default-hero-copy {
  max-width: 68ch;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 520;
  line-height: 1.45;
}

.cs-template .hero-card__visual,
.cs-template img[src*="hero-bike"],
.cs-template img[src*="part-frame"],
.cs-template img[src*="/icons/bike.svg"] {
  display: none !important;
}

.cs-template .quick-facts,
.cs-template .content-grid,
.cs-template .dashboard-grid,
.cs-template .notification-panel,
.cs-template .footer-panel {
  margin-top: 14px;
}

.cs-template .dashboard-grid,
.cs-template .quick-facts,
.cs-template .content-grid {
  gap: 14px;
}

.cs-template .quick-facts {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  max-width: none;
}

.cs-template .content-grid.has-sidebar-right:not(.has-sidebar-left) {
  grid-template-columns: minmax(0, 1fr) 304px;
}

.cs-template .content-grid.has-sidebar-left.has-sidebar-right {
  grid-template-columns: 280px minmax(0, 1fr) 304px;
}

.cs-template .content-grid.has-sidebar-left:not(.has-sidebar-right) {
  grid-template-columns: 280px minmax(0, 1fr);
}

.cs-template .component-panel,
.cs-template .sidebar-panel,
.cs-template .footer-panel {
  padding: 20px 22px;
}

.cs-template .panel__header,
.cs-template .module-card__header {
  padding: 16px 18px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.cs-template .panel__header h2,
.cs-template .module-card__title,
.cs-template .event-card h3,
.cs-template .weather-panel h2,
.cs-template .forecast-panel h2,
.cs-template .time-panel h2,
.cs-template .component-panel h2,
.cs-template .component-panel h3 {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: none;
}

.cs-template .module-card__body,
.cs-template .event-card__body,
.cs-template .weather-panel,
.cs-template .forecast-panel,
.cs-template .time-panel {
  padding: 18px;
}

/* Native Joomla content */
.cs-template .component-panel .page-header,
.cs-template .component-panel .article-info,
.cs-template .component-panel .icons,
.cs-template .component-panel .tags {
  display: none !important;
}

.cs-template .component-panel h1,
.cs-template .component-panel .page-header h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.65rem, 2.4vw, 2.6rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cs-template .component-panel p,
.cs-template .component-panel li,
.cs-template .component-panel dd,
.cs-template .component-panel dt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

/* Buttons and fields */
.cs-template .btn,
.cs-template button,
.cs-template input[type="submit"],
.cs-template .readmore a,
.cs-template .pagenavigation a,
.cs-template .pagination a,
.cs-template .pagination span,
.cs-template .open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--accent-2);
  background: var(--panel-strong);
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.cs-template .btn:hover,
.cs-template button:hover,
.cs-template input[type="submit"]:hover,
.cs-template .readmore a:hover,
.cs-template .pagenavigation a:hover,
.cs-template .pagination a:hover,
.cs-template .open-button:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  transform: none;
}

.cs-template .btn-primary,
.cs-template .button-primary,
.cs-template button[type="submit"],
.cs-template input[type="submit"] {
  border-color: var(--accent-2);
  color: #fff;
  background: var(--accent-2);
}

.cs-template .btn-primary:hover,
.cs-template .button-primary:hover,
.cs-template button[type="submit"]:hover,
.cs-template input[type="submit"]:hover {
  border-color: #0a3d91;
  color: #fff;
  background: #0a3d91;
}

.cs-template input[type="text"],
.cs-template input[type="password"],
.cs-template input[type="email"],
.cs-template input[type="search"],
.cs-template input[type="url"],
.cs-template input[type="tel"],
.cs-template input[type="number"],
.cs-template select,
.cs-template textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: none;
  font-size: 0.86rem;
}

.cs-template textarea {
  min-height: 120px;
  padding-top: 10px;
}

.cs-template input:focus,
.cs-template select:focus,
.cs-template textarea:focus {
  border-color: rgba(8, 47, 115, 0.38);
  outline: 3px solid rgba(8, 47, 115, 0.08);
  outline-offset: 0;
}

/* Tables and migrated data */
.cs-template .table-wrap,
.cs-template .cs-data-table-wrap,
.cs-template .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel-strong);
}

.cs-template .component-panel table,
.cs-template .notification-table,
.cs-template .cs-data-table,
.cs-template table.table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.78rem;
}

.cs-template .component-panel th,
.cs-template .component-panel td,
.cs-template .notification-table th,
.cs-template .notification-table td,
.cs-template .cs-data-table th,
.cs-template .cs-data-table td {
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.cs-template .component-panel th,
.cs-template .notification-table th,
.cs-template .cs-data-table th {
  color: var(--accent-2);
  background: #f7f9fc;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cs-template .component-panel tbody tr:hover,
.cs-template .notification-table tbody tr:hover,
.cs-template .cs-data-table tbody tr:hover {
  background: #fbfcff;
}

.cs-template .component-panel tbody tr:last-child td,
.cs-template .notification-table tbody tr:last-child td,
.cs-template .cs-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.cs-template .component-panel td:first-child,
.cs-template .notification-table td:first-child,
.cs-template .cs-data-table td:first-child {
  color: var(--text);
  font-weight: 850;
}

.cs-template .cs-migrated-data-index,
.cs-template .cs-migrated-data-detail {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cs-template .cs-migrated-data-index > h3,
.cs-template .cs-migrated-data-detail > h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 950;
}

.cs-template .cs-migrated-data-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cs-template .cs-migrated-data-links li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: var(--panel-strong);
  box-shadow: none;
}

.cs-template .cs-migrated-data-links a {
  overflow: hidden;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.cs-template .cs-migrated-data-links span,
.cs-template .tag,
.cs-template .severity-pill,
.cs-template .badge-soft,
.cs-template .status,
.cs-template .label,
.cs-template .label-info,
.cs-template .label-success,
.cs-template .label-warning,
.cs-template .label-important {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.cs-template .cs-migrated-data-links span,
.cs-template .label-info,
.cs-template .status-info {
  color: var(--accent-2);
  background: var(--info-soft);
}

.cs-template .severity-pill--warning,
.cs-template .label-warning {
  color: #9a5f00;
  background: var(--warning-soft);
}

.cs-template .severity-pill--critical,
.cs-template .label-important {
  color: var(--critical);
  background: var(--critical-soft);
}

.cs-template .label-success,
.cs-template .status-available,
.cs-template .available,
.cs-template .is-available {
  color: var(--success);
  background: var(--success-soft);
}

.cs-template .tag,
.cs-template .badge-soft {
  color: var(--accent-2);
  background: #f0f4fa;
}

/* Sidebar module polish */
.cs-template .sidebar-panel .module-card,
.cs-template .sidebar-panel .cycling-module-card,
.cs-template .sidebar-panel .moduletable {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cs-template .sidebar-panel .module-card__header,
.cs-template .sidebar-panel h3,
.cs-template .sidebar-panel h4 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-template .sidebar-panel .module-card__body {
  padding: 0;
}

.cs-template .sidebar-panel .mod-menu,
.cs-template .sidebar-panel .nav,
.cs-template .sidebar-panel ul.menu,
.cs-template .sidebar-panel ul:not(.cs-migrated-data-links) {
  display: grid;
  gap: 8px;
}

.cs-template .sidebar-panel .mod-menu a,
.cs-template .sidebar-panel .nav a,
.cs-template .sidebar-panel ul.menu a {
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 750;
}

.cs-template .sidebar-panel .mod-menu a:hover,
.cs-template .sidebar-panel .nav a:hover,
.cs-template .sidebar-panel ul.menu a:hover,
.cs-template .sidebar-panel .active > a {
  color: var(--accent-2);
  background: #f1f4f9;
}

/* Messages and auth card */
.cs-template #system-message-container,
.cs-template .joomla-messages {
  margin: 14px 0;
}

.cs-template #system-message-container joomla-alert,
.cs-template .alert {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--panel-strong);
  box-shadow: none;
  color: var(--text);
}

body.cs-template.cs-auth-only {
  background: var(--page-bg) !important;
}

.cs-template .cs-auth-shell {
  width: min(440px, 100%);
  min-height: 100vh;
}

.cs-template .cs-auth-card {
  padding: 28px;
  border-radius: 14px;
  background: var(--panel-strong);
  box-shadow: var(--shadow-md);
}

.cs-template .cs-auth-card input[type="text"],
.cs-template .cs-auth-card input[type="password"],
.cs-template .cs-auth-card input[type="email"] {
  min-height: 44px;
  border-radius: 9px;
}

.cs-template .cs-auth-card .btn,
.cs-template .cs-auth-card button,
.cs-template .cs-auth-card input[type="submit"] {
  min-height: 42px;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --side-rail-width: 132px;
  }

  .cs-template .content-grid.has-sidebar-right:not(.has-sidebar-left),
  .cs-template .content-grid.has-sidebar-left.has-sidebar-right,
  .cs-template .content-grid.has-sidebar-left:not(.has-sidebar-right) {
    grid-template-columns: 1fr;
  }

  .cs-template .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --side-rail-width: 72px;
    --topbar-height: 58px;
  }

  .cs-template .app-shell,
  body.cs-template.rail-is-compact .app-shell {
    grid-template-columns: 1fr;
  }

  .cs-template .side-rail,
  body.cs-template.rail-is-compact .side-rail {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    width: 100%;
    height: 70px;
    padding: 8px 10px;
    border-top: 1px solid var(--line-soft);
    border-right: 0;
  }

  .cs-template .brand-mark,
  .cs-template .rail-collapse {
    display: none;
  }

  .cs-template .rail-nav,
  .cs-template .side-rail .cs-rail-menu,
  .cs-template .side-rail .rail-nav__fallback,
  .cs-template .side-rail .mod-menu,
  .cs-template .side-rail .nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(58px, 1fr);
    gap: 5px;
    width: 100%;
    margin: 0;
    overflow-x: auto;
  }

  .cs-template .side-rail .cs-rail-menu__link,
  .cs-template .side-rail .cs-rail-menu__label,
  .cs-template .side-rail .rail-nav__link,
  .cs-template .side-rail .mod-menu a,
  .cs-template .side-rail .nav a,
  body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
  body.cs-template.rail-is-compact .side-rail .cs-rail-menu__label,
  body.cs-template.rail-is-compact .side-rail .rail-nav__link,
  body.cs-template.rail-is-compact .side-rail .mod-menu a,
  body.cs-template.rail-is-compact .side-rail .nav a {
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 52px;
    padding: 5px;
    flex-direction: column;
    font-size: 0.62rem;
  }

  .cs-template .side-rail .cs-rail-menu__link::before,
  .cs-template .side-rail .rail-nav__link::before,
  .cs-template .side-rail .mod-menu a::before,
  .cs-template .side-rail .nav a::before {
    inset: auto 14px -8px 14px;
    width: auto;
    height: 3px;
    border-radius: 999px 999px 0 0;
  }

  .cs-template .side-rail .cs-rail-menu__text,
  .cs-template .side-rail .mod-menu a span,
  .cs-template .side-rail .nav a span,
  .cs-template .side-rail .rail-nav__link span {
    display: inline;
    max-width: 58px;
    font-size: 0.62rem;
  }

  body.cs-template.rail-is-compact .side-rail .cs-rail-menu__text,
  body.cs-template.rail-is-compact .side-rail .mod-menu a span,
  body.cs-template.rail-is-compact .side-rail .nav a span,
  body.cs-template.rail-is-compact .side-rail .rail-nav__link span {
    display: inline;
  }

  .cs-template .topbar {
    padding: 0 14px;
  }

  .cs-template .topbar-brand__copy small,
  .cs-template .team-lockup,
  .cs-template .user-pill small {
    display: none;
  }

  .cs-template .dashboard {
    padding: 14px 14px 90px;
  }

  .cs-template .hero-card {
    min-height: 94px;
    padding: 18px;
  }

  .cs-template .quick-facts,
  .cs-template .cs-migrated-data-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cs-template .topbar__actions {
    gap: 6px;
  }

  .cs-template .topbar-brand__copy,
  .cs-template .user-pill span {
    display: none;
  }

  .cs-template .user-pill {
    grid-template-columns: 30px 14px;
    padding: 0 8px;
  }

  .cs-template .hero-card h1,
  .cs-template .default-hero-title {
    font-size: 2rem;
    letter-spacing: 0.04em;
  }

  .cs-template .component-panel,
  .cs-template .sidebar-panel,
  .cs-template .footer-panel {
    padding: 16px;
  }
}

/* Cycling Support 1.0.16 - app-screen structural refresh */
:root {
  --side-rail-width: 178px;
  --topbar-height: 58px;
  --content-max: none;
  --app-sidebar-width: 300px;
  --app-gap: 16px;
  --app-border: #dfe6f2;
  --app-muted-bg: #f7f9fc;
  --app-orange: #ff6b00;
  --app-blue: #082f73;
}

body.cs-template.cs-app-native {
  overflow-x: hidden;
}

.cs-template .app-shell {
  grid-template-columns: var(--side-rail-width) minmax(0, 1fr) !important;
  background: #f5f7fb;
}

.cs-template .side-rail {
  width: var(--side-rail-width) !important;
  padding: 14px 8px 16px !important;
  background: #ffffff !important;
  border-right: 1px solid #dfe6f2 !important;
  box-shadow: none !important;
}

.cs-template .brand-mark {
  width: 36px !important;
  height: 36px !important;
  margin-bottom: 22px !important;
  border-radius: 7px !important;
  background: var(--app-blue) !important;
}

.cs-template .rail-nav {
  flex: 1 1 auto;
  width: 100%;
}

.cs-template .rail-nav__fallback,
.cs-template .side-rail .cs-rail-menu {
  display: grid !important;
  gap: 8px !important;
  width: 100%;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link {
  min-height: 42px !important;
  padding: 0 12px !important;
  gap: 11px !important;
  border-radius: 9px !important;
  color: #082451 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before {
  inset: 7px auto 7px -8px !important;
  width: 3px !important;
  border-radius: 0 999px 999px 0 !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link > img {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  opacity: 0.85;
}

.cs-template .side-rail .cs-rail-menu__text {
  display: block !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .cs-rail-menu__link.is-active {
  color: var(--app-blue) !important;
  background: #edf1f7 !important;
}

.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__link.is-active::before {
  background: var(--app-orange) !important;
}

body.rail-is-compact .cs-template .app-shell,
body.rail-is-compact.cs-template .app-shell {
  grid-template-columns: 72px minmax(0, 1fr) !important;
}

body.rail-is-compact .cs-template .side-rail,
body.rail-is-compact.cs-template .side-rail {
  width: 72px !important;
}

body.rail-is-compact .cs-template .side-rail .cs-rail-menu__text,
body.rail-is-compact.cs-template .side-rail .cs-rail-menu__text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.cs-template .topbar {
  height: var(--topbar-height) !important;
  min-height: var(--topbar-height) !important;
  padding: 0 22px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #dfe6f2 !important;
  box-shadow: none !important;
}

.cs-template .topbar-brand__logo {
  width: 28px !important;
  height: 28px !important;
  border-radius: 3px !important;
  background: var(--app-orange) !important;
  color: #fff !important;
  font-size: 0 !important;
}

.cs-template .topbar-brand__logo::after {
  content: "";
  width: 12px;
  height: 2px;
  display: block;
  margin: 13px auto 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 -4px 0 rgba(255, 255, 255, 0.76), 0 4px 0 rgba(255, 255, 255, 0.76);
}

.cs-template .topbar-brand__copy strong,
.cs-template .team-lockup strong {
  color: #082451 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
}

.cs-template .topbar-brand__copy small,
.cs-template .team-lockup small,
.cs-template .user-pill small {
  color: #55667f !important;
  font-size: 0.68rem !important;
}

.cs-template .dashboard {
  width: 100%;
  max-width: none !important;
  padding: 16px 18px 28px !important;
}

.cs-template .content-grid--app {
  display: block !important;
  margin: 0 !important;
}

.cs-template .component-panel--app {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.cs-template .component-panel--app .cs-content-article {
  margin: 0 !important;
}

.cs-app-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--app-sidebar-width);
  gap: var(--app-gap);
  align-items: start;
  width: 100%;
}

.cs-app-main,
.cs-app-side {
  display: grid;
  gap: var(--app-gap);
  min-width: 0;
}

.cs-app-panel,
.cs-app-hero {
  background: #ffffff;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04);
}

.cs-app-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 22px 26px;
}

.cs-app-kicker {
  margin: 0 0 4px;
  color: var(--app-orange);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cs-app-title {
  margin: 0;
  color: #071f49;
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cs-app-subtitle {
  margin: 9px 0 0;
  color: #56667f;
  font-size: 0.98rem;
  line-height: 1.45;
}

.cs-app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #0b3a82;
  border-radius: 7px;
  background: #ffffff;
  color: #0b2e69;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.cs-btn--primary {
  border-color: #082f73;
  background: #082f73;
  color: #ffffff !important;
}

.cs-btn--ghost {
  border-color: #b9c7dc;
  background: #ffffff;
  color: #082451 !important;
}

.cs-app-panel {
  padding: 18px 22px;
}

.cs-app-panel--flush {
  padding: 0;
  overflow: hidden;
}

.cs-app-panel__title {
  margin: 0 0 12px;
  color: #071f49;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.cs-stat-grid,
.cs-category-grid,
.cs-metric-grid {
  display: grid;
  gap: 14px;
}

.cs-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cs-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cs-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-category-card,
.cs-stat-card,
.cs-metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  background: #ffffff;
}

.cs-metric-card,
.cs-stat-card {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.cs-category-card strong,
.cs-stat-card strong,
.cs-metric-card strong {
  display: block;
  color: #071f49;
  font-size: 0.86rem;
  font-weight: 900;
}

.cs-category-card small,
.cs-stat-card small,
.cs-metric-card small,
.cs-muted {
  color: #596a83;
  font-size: 0.78rem;
}

.cs-folder-icon,
.cs-item-icon,
.cs-side-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 30px;
  border-radius: 6px;
  background: #2b5fa8;
  color: #ffffff;
  font-weight: 900;
}

.cs-folder-icon::before {
  content: "";
  width: 22px;
  height: 15px;
  border-radius: 2px 2px 3px 3px;
  background: currentColor;
  opacity: 0.95;
  box-shadow: -4px -5px 0 -2px currentColor;
}

.cs-item-icon {
  width: 42px;
  height: 30px;
  border: 1px solid #c9d5e7;
  background: #f3f6fa;
  color: #082451;
  font-size: 0.7rem;
}

.cs-item-icon::before {
  content: attr(data-icon);
}

.cs-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, 180px));
  gap: 12px;
  padding: 16px 0 0;
}

.cs-search,
.cs-select {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dfe6f2;
  border-radius: 7px;
  background: #ffffff;
  color: #071f49;
  font-size: 0.82rem;
}

.cs-table-wrap {
  overflow: auto;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
}

.cs-app-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  color: #082451;
  font-size: 0.8rem;
}

.cs-app-table caption {
  padding: 14px 18px 10px;
  color: #071f49;
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
}

.cs-app-table th {
  padding: 9px 12px;
  color: #163766;
  background: #f6f8fb;
  border-bottom: 1px solid #dfe6f2;
  font-size: 0.66rem;
  font-weight: 950;
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-app-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  vertical-align: middle;
}

.cs-app-table tr:last-child td {
  border-bottom: 0;
}

.cs-table-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-table-item strong {
  display: block;
  color: #071f49;
  font-weight: 900;
}

.cs-table-item small {
  display: block;
  color: #697a93;
}

.cs-badge,
.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf1f7;
  color: #0b2e69;
  font-size: 0.72rem;
  font-weight: 850;
}

.cs-badge--blue { background: #e8f0fb; color: #0b3a82; }
.cs-badge--orange { background: #fff0df; color: #b45309; }
.cs-badge--green { background: #e8f8ef; color: #157347; }
.cs-badge--red { background: #fee2e2; color: #b91c1c; }
.cs-badge--purple { background: #ebeefe; color: #3346a6; }
.cs-status--ok { background: #e8f8ef; color: #13753d; }
.cs-status--use { background: #fff2df; color: #b45309; }
.cs-status--low { background: #ffe9ea; color: #d71920; }

.cs-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.cs-side-list,
.cs-action-list,
.cs-alert-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-side-list li,
.cs-alert-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #082451;
  font-size: 0.82rem;
}

.cs-action-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #082451;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.cs-side-icon {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: transparent;
  color: #1c4a85;
}

.cs-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef5;
}

.cs-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--app-orange);
}

.cs-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-tag-cloud span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 7px;
  background: #f1f4f8;
  color: #082451;
  font-size: 0.76rem;
  font-weight: 750;
}

.cs-tag-cloud b {
  color: #63738b;
}

.cs-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 0;
  color: #56667f;
  font-size: 0.78rem;
}

.cs-pages {
  display: flex;
  gap: 8px;
}

.cs-pages span,
.cs-pages a {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border: 1px solid #dfe6f2;
  border-radius: 6px;
  background: #ffffff;
  color: #082451;
  font-weight: 800;
  text-decoration: none;
}

.cs-pages .is-current {
  color: #ffffff;
  border-color: var(--app-blue);
  background: var(--app-blue);
}

.cs-migrated-data {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px dashed #cbd6e6;
  border-radius: 10px;
  background: #fbfcfe;
}

.cs-migrated-data h3,
.cs-migrated-data h4 {
  margin-top: 0;
}

/* Hard safety net for Joomla frontend-editing controls in app screens. */
.cs-template .jmodedit,
.cs-template .btn.jmodedit,
.cs-template .jmoddiv,
.cs-template .btn-group.jmoddiv,
.cs-template a[href*="option=com_modules"][href*="task=module.edit"],
.cs-template a[href*="option=com_config"],
.cs-template a[href*="task=article.edit"],
.cs-template .edit-icon,
.cs-template .icons,
.cs-template .js-stools,
.cs-template .article-info,
.cs-template .item-page .page-header,
.cs-template .com-content-article__links,
.cs-template .com-content-article__info,
.cs-template .com-content-article__tags {
  display: none !important;
}

.cs-template .visually-hidden,
.cs-template .element-invisible,
.cs-template .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1180px) {
  .cs-app-screen {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-app-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root { --side-rail-width: 72px; }
  .cs-template .app-shell { grid-template-columns: 72px minmax(0, 1fr) !important; }
  .cs-template .side-rail { width: 72px !important; }
  .cs-template .side-rail .cs-rail-menu__text { display: none !important; }
  .cs-template .dashboard { padding: 12px !important; }
  .cs-app-hero { align-items: flex-start; flex-direction: column; padding: 18px; }
  .cs-app-actions { justify-content: flex-start; }
  .cs-category-grid,
  .cs-stat-grid,
  .cs-metric-grid,
  .cs-app-side,
  .cs-toolbar { grid-template-columns: 1fr; }
}

/* Cycling Support 1.0.17 - final app visual polish */
:root {
  --side-rail-width: 168px;
  --app-sidebar-width: 302px;
  --app-gap: 16px;
}

.cs-template .dashboard {
  padding: 16px 20px 34px !important;
}

.cs-template .topbar {
  padding-inline: 22px !important;
}

.cs-template .side-rail {
  padding-top: 14px !important;
}

.cs-template .brand-mark {
  margin-left: 2px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link {
  min-height: 43px !important;
  padding-inline: 12px !important;
  font-size: 0.79rem !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active {
  background: #edf2f8 !important;
}

.cs-app-screen {
  grid-template-columns: minmax(0, 1fr) var(--app-sidebar-width);
  gap: 16px;
}

.cs-app-main,
.cs-app-side {
  gap: 16px;
}

.cs-app-hero {
  min-height: 106px;
  padding: 23px 26px;
}

.cs-app-title {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  letter-spacing: 0.075em;
}

.cs-app-subtitle {
  margin-top: 8px;
  font-size: 0.92rem;
}

.cs-app-panel {
  padding: 17px 22px;
}

.cs-app-panel__title,
.cs-app-table caption {
  color: #071f49;
  font-size: 0.92rem;
  font-weight: 950;
}

.cs-app-side .cs-app-panel__title {
  margin-bottom: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-app-panel--categories {
  padding-top: 14px;
}

.cs-category-grid {
  gap: 18px;
}

.cs-category-card {
  min-height: 58px;
  padding: 12px 14px;
}

.cs-category-card strong {
  font-size: 0.82rem;
}

.cs-category-card small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
}

.cs-folder-icon {
  width: 31px;
  height: 27px;
  background: #2a5da7;
}

.cs-folder-icon::before {
  width: 20px;
  height: 13px;
}

.cs-filter-panel {
  padding: 14px 18px;
}

.cs-toolbar {
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(145px, 0.62fr)) minmax(135px, 0.55fr);
  gap: 14px;
  padding: 0;
}

.cs-search-wrap {
  position: relative;
  display: block;
}

.cs-search-wrap > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #163766;
  font-size: 0.92rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.cs-search,
.cs-select {
  min-height: 39px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.cs-search-wrap .cs-search {
  padding-right: 38px;
}

.cs-btn {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 7px;
  font-size: 0.8rem;
}

.cs-btn--primary {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.cs-table-wrap {
  border-radius: 8px;
}

.cs-app-table {
  font-size: 0.79rem;
}

.cs-app-table caption {
  padding: 13px 18px 9px;
  font-size: 0.96rem;
}

.cs-app-table th {
  padding: 8px 12px;
  font-size: 0.62rem;
  letter-spacing: 0.055em;
}

.cs-app-table td {
  padding: 9px 12px;
}

.cs-table-item {
  gap: 11px;
}

.cs-table-item strong {
  font-size: 0.83rem;
}

.cs-table-item small {
  margin-top: 1px;
  font-size: 0.72rem;
}

.cs-row-actions {
  color: #071f49;
  font-size: 1rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.cs-avatar-mini {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 999px;
  background: #edf2f8;
  color: #082451;
  font-size: 0.58rem;
  font-weight: 900;
}

.cs-doc-icon,
.cs-stock-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 0.48rem;
  font-weight: 950;
  line-height: 1;
}

.cs-doc-icon--pdf {
  color: #ef2b2d;
  background: #ffe9ea;
}

.cs-doc-icon--doc {
  color: #163766;
  background: #eaf2ff;
}

.cs-doc-icon--xls {
  color: #14733f;
  background: #e8f8ef;
}

.cs-part-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 46px;
  width: 46px;
  height: 27px;
  border-radius: 7px;
  background: #f3f6fa;
  border: 1px solid #cdd8e9;
}

.cs-part-icon::before,
.cs-part-icon::after {
  position: absolute;
  content: "";
  background: #1e2430;
}

.cs-part-icon--frame::before {
  left: 8px;
  top: 7px;
  width: 29px;
  height: 13px;
  clip-path: polygon(0 100%, 48% 0, 100% 100%, 0 100%, 48% 0, 63% 100%);
  background: transparent;
  border: 2px solid #1e2430;
}

.cs-part-icon--wheel::before,
.cs-part-icon--wheel::after {
  top: 5px;
  width: 16px;
  height: 16px;
  border: 2px solid #1e2430;
  border-radius: 999px;
  background: transparent;
}

.cs-part-icon--wheel::before { left: 6px; }
.cs-part-icon--wheel::after { right: 6px; }

.cs-part-icon--group::before {
  left: 8px;
  top: 8px;
  width: 30px;
  height: 11px;
  border-radius: 999px;
}

.cs-part-icon--saddle::before {
  left: 8px;
  top: 9px;
  width: 30px;
  height: 9px;
  border-radius: 60% 35% 35% 60%;
  transform: skewX(-18deg);
}

.cs-part-icon--bar::before {
  left: 7px;
  top: 12px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
}

.cs-qr {
  color: #071f49;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.15em;
}

.cs-status,
.cs-badge {
  min-height: 22px;
  padding-inline: 8px;
  font-size: 0.69rem;
}

.cs-dot {
  display: inline-block;
  flex: 0 0 auto;
}

.cs-side-list li,
.cs-alert-list li,
.cs-action-list a {
  min-height: 25px;
  font-size: 0.8rem;
}

.cs-side-list li span,
.cs-alert-list li span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cs-alert-list--stacked li {
  align-items: flex-start;
}

.cs-stock-icon {
  width: 26px;
  height: 26px;
  color: #071f49;
  background: #edf2f8;
}

.cs-side-note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0;
  color: #55667f;
  font-size: 0.8rem;
}

.cs-side-note strong {
  color: #082451;
}

.cs-side-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--app-orange) !important;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none !important;
}

.cs-tag-cloud span {
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 0.74rem;
}

.cs-dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 16px;
}

.cs-stat-card,
.cs-metric-card {
  min-height: 72px;
  padding: 13px 15px;
}

.cs-stat-card strong,
.cs-metric-card strong {
  font-size: 0.95rem;
}

.cs-pagination {
  align-items: center;
  padding: 11px 0 0;
}

.cs-pages a,
.cs-pages span {
  min-width: 29px;
  height: 29px;
}

.cs-migrated-data {
  background: #ffffff;
  border-style: solid;
}

@media (min-width: 1600px) {
  .cs-app-screen {
    grid-template-columns: minmax(0, 1fr) 314px;
  }
}

@media (max-width: 1260px) {
  .cs-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-dashboard-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --side-rail-width: 72px;
  }

  .cs-app-screen,
  .cs-app-side {
    grid-template-columns: 1fr;
  }

  .cs-app-hero {
    min-height: auto;
  }

  .cs-app-title {
    font-size: 2rem;
    letter-spacing: 0.04em;
  }
}

/* Cycling Support 1.0.17 - final app-screen polish */
:root {
  --side-rail-width: 176px;
  --app-sidebar-width: 304px;
  --app-gap: 16px;
  --app-blue: #082f73;
  --app-blue-soft: #e8f0fb;
  --app-orange: #ff6b00;
  --app-text: #071f49;
  --app-muted: #596a83;
  --app-line: #dfe6f2;
  --app-line-soft: #edf1f7;
}

.cs-template .dashboard {
  padding: 18px 18px 30px !important;
}

.cs-template .side-rail {
  padding-top: 16px !important;
}

.cs-template .brand-mark {
  margin-left: 0 !important;
}

.cs-template .rail-nav__fallback,
.cs-template .side-rail .cs-rail-menu {
  gap: 10px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link {
  min-height: 44px !important;
  padding: 0 13px !important;
  border-radius: 9px !important;
}

.cs-template .side-rail .cs-rail-menu__text {
  font-size: 0.78rem !important;
}

.cs-template .topbar {
  padding-inline: 20px 26px !important;
}

.cs-template .topbar__actions {
  gap: 13px !important;
}

.cs-template .user-pill {
  min-height: 42px !important;
  background: #f8fafc;
}

.cs-app-screen {
  gap: 16px !important;
}

.cs-app-hero,
.cs-app-panel {
  border-color: var(--app-line) !important;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.035) !important;
}

.cs-app-hero {
  min-height: 108px;
  padding: 22px 26px 23px;
}

.cs-app-kicker {
  margin-bottom: 6px;
  color: var(--app-orange) !important;
  font-size: 0.67rem;
  letter-spacing: 0.17em;
}

.cs-app-title {
  font-size: clamp(2.25rem, 3.4vw, 3.12rem);
  letter-spacing: 0.075em;
}

.cs-app-subtitle {
  margin-top: 10px;
  color: var(--app-muted) !important;
  font-size: 0.96rem !important;
}

.cs-app-actions {
  align-items: center;
}

.cs-btn {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 850;
}

.cs-btn--primary {
  box-shadow: 0 8px 20px rgba(8, 47, 115, 0.12);
}

.cs-btn--ghost:hover,
.cs-icon-chip:hover,
.cs-inline-link:hover {
  background: #f4f7fb;
}

.cs-section-heading,
.cs-table-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cs-table-heading {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--app-line-soft);
}

.cs-section-heading .cs-app-panel__title,
.cs-table-heading .cs-app-panel__title {
  margin-bottom: 4px;
}

.cs-section-kicker {
  margin: 0 0 3px;
  color: var(--app-orange) !important;
  font-size: 0.62rem !important;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cs-inline-link,
.cs-side-link {
  color: var(--app-orange) !important;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none !important;
  white-space: nowrap;
}

.cs-side-link {
  display: inline-flex;
  margin-top: 12px;
}

.cs-app-panel--categories {
  padding-top: 16px;
}

.cs-category-grid {
  margin-top: 12px;
}

.cs-category-card {
  min-height: 68px;
  padding: 14px 16px;
}

.cs-category-card:hover,
.cs-stat-card:hover,
.cs-metric-card:hover {
  border-color: #cbd8ea;
  background: #fbfcfe;
}

.cs-stat-card strong {
  font-size: 1.05rem;
}

.cs-metric-card strong {
  font-size: 1rem;
}

.cs-toolbar-panel {
  padding-block: 14px !important;
}

.cs-toolbar {
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(130px, 0.7fr)) auto !important;
  align-items: end;
  padding: 0 !important;
}

.cs-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #66778f;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-search,
.cs-select {
  min-height: 40px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
}

.cs-table-tools {
  display: flex;
  gap: 8px;
}

.cs-icon-chip {
  min-height: 30px !important;
  padding-inline: 11px !important;
  border: 1px solid var(--app-line) !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: var(--app-blue) !important;
  font-size: 0.72rem !important;
}

.cs-table-wrap {
  border: 0 !important;
  border-radius: 0 !important;
}

.cs-app-table {
  font-size: 0.79rem !important;
}

.cs-app-table caption {
  caption-side: top;
}

.cs-app-table th {
  padding: 8px 12px !important;
  background: #f7f9fc !important;
  color: #163766 !important;
  font-size: 0.64rem !important;
}

.cs-app-table td {
  padding: 9px 12px !important;
}

.cs-app-table tbody tr:hover {
  background: #fbfcff;
}

.cs-app-table--documents th:first-child,
.cs-app-table--documents td:first-child {
  padding-left: 18px !important;
}

.cs-doc-icon,
.cs-part-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  font-size: 0.52rem;
  font-weight: 950;
}

.cs-doc-icon--pdf {
  color: #ef2b2d;
  background: #ffe9ea;
}

.cs-doc-icon--chk {
  color: #6b4b00;
  background: #fff3d9;
}

.cs-doc-icon--xls {
  color: #15803d;
  background: #e8f8ef;
}

.cs-part-icon {
  width: 46px;
  height: 30px;
  border: 1px solid #cbd8ea;
  background: linear-gradient(135deg, #f7f9fc, #eef3fa);
  color: var(--app-blue);
  font-size: 0.68rem;
}

.cs-part-icon::before {
  content: attr(data-icon);
}

.cs-avatar-mini {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 999px;
  background: #edf1f7;
  color: var(--app-blue);
  font-size: 0.56rem;
  font-weight: 950;
  vertical-align: middle;
}

.cs-row-menu,
.cs-row-actions,
.cs-qr-mark {
  color: var(--app-blue);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.cs-qr-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #cbd8ea;
  border-radius: 5px;
  background: repeating-linear-gradient(45deg, #fff 0 3px, #edf2f8 3px 6px);
  color: transparent;
  position: relative;
}

.cs-qr-mark::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--app-blue);
  -webkit-mask: linear-gradient(#000 0 0) left top/5px 5px no-repeat, linear-gradient(#000 0 0) right top/5px 5px no-repeat, linear-gradient(#000 0 0) left bottom/5px 5px no-repeat, linear-gradient(#000 0 0) right bottom/3px 3px no-repeat;
  mask: linear-gradient(#000 0 0) left top/5px 5px no-repeat, linear-gradient(#000 0 0) right top/5px 5px no-repeat, linear-gradient(#000 0 0) left bottom/5px 5px no-repeat, linear-gradient(#000 0 0) right bottom/3px 3px no-repeat;
}

.cs-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edfdf4;
  color: #13753d;
  font-size: 0.72rem;
  font-weight: 900;
}

.cs-live-pill span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.cs-operation-strip,
.cs-task-columns,
.cs-timeline,
.cs-mini-timeline {
  display: grid;
  gap: 12px;
}

.cs-operation-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-operation-strip article,
.cs-task-columns article,
.cs-timeline article,
.cs-mini-timeline article {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: #fff;
}

.cs-operation-strip small,
.cs-timeline span,
.cs-mini-timeline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--app-orange);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-operation-strip strong,
.cs-task-columns h3,
.cs-timeline strong {
  display: block;
  color: var(--app-text);
  font-size: 0.9rem;
  font-weight: 950;
}

.cs-operation-strip span,
.cs-task-columns p,
.cs-timeline small,
.cs-mini-timeline span {
  color: var(--app-muted);
  font-size: 0.78rem;
}

.cs-task-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-task-columns h3,
.cs-task-columns p {
  margin: 0;
}

.cs-task-columns p + p {
  margin-top: 6px;
}

.cs-timeline article {
  position: relative;
  padding-left: 18px;
}

.cs-timeline article::before {
  position: absolute;
  inset: 15px auto 15px 0;
  width: 3px;
  content: "";
  border-radius: 999px;
  background: var(--app-orange);
}

.cs-mini-timeline article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  padding: 11px 12px;
}

.cs-mini-timeline strong {
  margin: 0;
}

.cs-side-icon {
  width: 21px !important;
  height: 21px !important;
  border: 1px solid #d6e0ee;
  border-radius: 6px !important;
  background: #f7f9fc !important;
  color: var(--app-blue) !important;
  font-size: 0.62rem;
}

.cs-float-value {
  float: right;
  color: var(--app-text);
}

.cs-good { color: #16a34a !important; }
.cs-warn { color: #f59e0b !important; }
.cs-bad { color: #ef2b2d !important; }
.cs-dot--green { color: #16a34a; }
.cs-dot--orange { color: #f59e0b; }
.cs-dot--red { color: #ef2b2d; }

.cs-alert-list--illustrated li span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.cs-alert-list--illustrated i {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #f1f4f8;
  color: #071f49;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 950;
}

.cs-alert-list strong {
  color: #ef2b2d;
}

.cs-app-panel--migrated {
  border-style: dashed !important;
  background: #fbfcfe;
}

.cs-app-panel--migrated .cs-migrated-data {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.cs-migrated-data .cs-migrated-data-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-migrated-data .cs-migrated-data-links li {
  min-height: 50px;
  background: #fff;
}

@media (max-width: 1280px) {
  .cs-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cs-operation-strip,
  .cs-task-columns,
  .cs-migrated-data .cs-migrated-data-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .cs-operation-strip,
  .cs-task-columns,
  .cs-migrated-data .cs-migrated-data-links {
    grid-template-columns: 1fr;
  }
}

/* Cycling Support 1.0.17 - final app-screen polish */
:root {
  --app-sidebar-width: 306px;
  --app-gap: 14px;
  --app-card-radius: 12px;
  --app-font-small: 0.78rem;
  --app-font-xsmall: 0.68rem;
}

body.cs-template.cs-app-native .dashboard {
  padding: 18px 18px 30px !important;
}

.cs-template .rail-nav {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.cs-template .rail-nav__fallback,
.cs-template .side-rail .cs-rail-menu {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px !important;
  min-height: 0;
}

.cs-template .side-rail .rail-nav__link[data-nav-key="settings"],
.cs-template .side-rail .cs-rail-menu__link[data-nav-key="settings"] {
  margin-top: auto;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link {
  min-height: 44px !important;
  border: 1px solid transparent !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover {
  border-color: #e3e9f3 !important;
}

.cs-template .topbar {
  box-shadow: 0 1px 0 rgba(15, 35, 65, 0.02) !important;
}

.cs-template .topbar__actions {
  gap: 12px !important;
}

.cs-template .user-pill {
  background: #f7f9fc;
  border: 1px solid #e5ebf5 !important;
  border-radius: 9px;
}

.cs-app-screen {
  grid-template-columns: minmax(0, 1fr) var(--app-sidebar-width) !important;
  gap: var(--app-gap) !important;
  max-width: 1640px;
  margin: 0 auto;
}

.cs-app-main,
.cs-app-side {
  gap: var(--app-gap) !important;
}

.cs-app-hero {
  min-height: 108px !important;
  padding: 22px 24px !important;
  border-radius: var(--app-card-radius) !important;
}

.cs-app-hero__copy {
  min-width: 0;
}

.cs-app-kicker {
  color: #ff6b00 !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.22em !important;
}

.cs-app-title {
  font-size: clamp(2.25rem, 3.65vw, 3.25rem) !important;
  letter-spacing: 0.085em !important;
}

.cs-app-subtitle {
  margin-top: 8px !important;
  font-size: 0.92rem !important;
}

.cs-app-panel {
  border-radius: var(--app-card-radius) !important;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.035) !important;
}

.cs-app-panel:not(.cs-app-panel--flush) {
  padding: 18px 20px !important;
}

.cs-app-panel--table {
  overflow: hidden;
}

.cs-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.cs-panel-heading .cs-app-panel__title,
.cs-panel-heading p {
  margin: 0 !important;
}

.cs-app-panel__title {
  color: #071f49 !important;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  letter-spacing: -0.02em !important;
}

.cs-app-panel .cs-muted {
  color: #586a84 !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

.cs-category-grid,
.cs-stat-grid,
.cs-metric-grid {
  gap: 14px !important;
}

.cs-category-card,
.cs-stat-card,
.cs-metric-card {
  min-height: 66px !important;
  border-color: #dfe6f2 !important;
  border-radius: 10px !important;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.cs-category-card:hover,
.cs-stat-card:hover,
.cs-metric-card:hover {
  background: #fbfcff;
  border-color: #cbd6e6 !important;
  transform: translateY(-1px);
}

.cs-stat-card strong,
.cs-metric-card strong {
  font-size: 1rem !important;
}

.cs-dashboard-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: var(--app-gap);
}

.cs-timeline-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-timeline-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  color: #082451;
  font-size: 0.82rem;
}

.cs-timeline-list strong,
.cs-timeline-list small {
  display: block;
}

.cs-timeline-list strong {
  font-weight: 900;
}

.cs-timeline-list small {
  margin-top: 2px;
  color: #586a84;
  font-size: 0.76rem;
}

.cs-timeline-list time {
  color: #586a84;
  font-size: 0.76rem;
  font-weight: 850;
}

.cs-timeline-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: #2b5fa8;
  box-shadow: 0 0 0 4px #edf4ff;
}

.cs-timeline-dot--orange { background: #ff6b00; box-shadow: 0 0 0 4px #fff1e6; }
.cs-timeline-dot--green { background: #16a34a; box-shadow: 0 0 0 4px #e9f8ef; }
.cs-timeline-dot--blue { background: #2b5fa8; box-shadow: 0 0 0 4px #edf4ff; }

.cs-toolbar {
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 170px)) minmax(126px, 150px) !important;
  gap: 10px !important;
  padding: 0 !important;
}

.cs-search-wrap {
  display: block;
  min-width: 0;
}

.cs-search,
.cs-select {
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
}

.cs-hidden-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.cs-app-table {
  min-width: 760px !important;
  font-size: 0.78rem !important;
}

.cs-app-table caption {
  padding: 15px 18px 10px !important;
  font-size: 0.98rem !important;
}

.cs-app-table th {
  padding: 8px 12px !important;
  font-size: 0.62rem !important;
}

.cs-app-table td {
  padding: 9px 12px !important;
}

.cs-app-table tbody tr:hover td {
  background: #fbfcff;
}

.cs-table-actions-col {
  width: 92px;
  text-align: center !important;
}

.cs-table-item {
  gap: 10px !important;
}

.cs-table-item strong {
  font-size: 0.8rem;
  line-height: 1.2;
}

.cs-table-item small {
  margin-top: 2px;
  font-size: 0.72rem;
}

.cs-file-icon,
.cs-part-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #ffffff;
  background: #2b5fa8;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.cs-file-icon--pdf { background: #f04444; }
.cs-file-icon--check { background: #55667f; }
.cs-file-icon--sheet { background: #1aa861; }

.cs-part-icon {
  width: 38px;
  background: #f3f6fa;
  border: 1px solid #cbd6e6;
  color: #082451;
}

.cs-part-icon::before {
  content: attr(data-icon);
}

.cs-avatar-mini {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 999px;
  background: #edf1f7;
  color: #082451;
  font-size: 0.58rem;
  font-weight: 950;
  vertical-align: middle;
}

.cs-icon-action {
  display: inline-grid !important;
  place-items: center !important;
  width: auto !important;
  min-width: 28px !important;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #082451 !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.cs-icon-action:hover {
  background: #edf1f7 !important;
}

.cs-qr {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  color: #082451;
  background: linear-gradient(90deg, currentColor 2px, transparent 2px) 0 0 / 6px 6px,
              linear-gradient(currentColor 2px, transparent 2px) 0 0 / 6px 6px,
              #ffffff;
  border: 1px solid #dfe6f2;
  font-size: 0;
}

.cs-status--info {
  color: #0b3a82 !important;
  background: #e8f0fb !important;
}

.cs-status--neutral {
  color: #475569 !important;
  background: #edf1f7 !important;
}

.cs-status--warn {
  color: #b45309 !important;
  background: #fff0df !important;
}

.cs-dot--green { color: #16a34a; }
.cs-dot--orange { color: #f59e0b; }
.cs-dot--red { color: #ef2b2d; }
.cs-green { color: #16a34a !important; }
.cs-orange { color: #f59e0b !important; }
.cs-red { color: #ef2b2d !important; }

.cs-action-list {
  gap: 12px !important;
}

.cs-action-list a {
  min-height: 28px;
  font-weight: 780 !important;
}

.cs-side-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  height: 18px !important;
  color: #1c4a85 !important;
  font-size: 0.68rem !important;
  font-weight: 950 !important;
}

.cs-side-list--metrics li strong,
.cs-alert-list li strong {
  font-weight: 900 !important;
}

.cs-alert-list li strong {
  color: #ef2b2d;
}

.cs-alert-list--stacked li {
  align-items: flex-start;
}

.cs-storage-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0 !important;
}

.cs-storage-line strong {
  color: #082451;
}

.cs-side-link {
  display: inline-flex;
  margin-top: 12px;
  color: #ff6b00 !important;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none !important;
}

.cs-tag-cloud span {
  min-height: 28px;
}

.cs-pages a,
.cs-pages span {
  min-width: 32px !important;
  padding: 0 8px;
}

.cs-migrated-data {
  background: #ffffff !important;
  border: 1px dashed #b8c7dc !important;
}

.cs-migrated-data .cs-migrated-data-index,
.cs-migrated-data .cs-migrated-data-detail {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .cs-app-screen {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cs-dashboard-split,
  .cs-app-side {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cs-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .cs-template .rail-nav__fallback,
  .cs-template .side-rail .cs-rail-menu {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(58px, 1fr);
  }

  .cs-template .side-rail .rail-nav__link[data-nav-key="settings"],
  .cs-template .side-rail .cs-rail-menu__link[data-nav-key="settings"] {
    margin-top: 0;
  }

  .cs-app-screen,
  .cs-dashboard-split,
  .cs-app-side,
  .cs-toolbar {
    grid-template-columns: 1fr !important;
  }

  .cs-app-title {
    font-size: 2rem !important;
  }

  .cs-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v1.0.18 dynamic data layer refinements */
.cs-app-screen--dynamic .cs-app-hero {
  position: relative;
}

.cs-app-screen--dynamic .cs-app-hero::after {
  content: none;
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0a3571;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-app-screen--dynamic .cs-empty-state {
  display: grid;
  gap: 6px;
  padding: 22px;
  color: #5a6a83;
  text-align: left;
}

.cs-app-screen--dynamic .cs-empty-state strong {
  color: #082451;
  font-size: 0.92rem;
}

.cs-app-screen--dynamic .cs-empty-state span {
  max-width: 620px;
  line-height: 1.55;
}

.cs-app-table--inventory td:nth-child(1),
.cs-app-table--documents td:nth-child(1) {
  min-width: 250px;
}

.cs-app-table--inventory .cs-table-actions-col,
.cs-app-table--documents .cs-table-actions-col {
  width: 96px;
}

.cs-file-icon--doc {
  color: #0b3a82;
  background: #e8f0fb;
}

.cs-app-screen--dynamic .cs-pagination {
  border-top: 1px solid #e8edf5;
}

.cs-app-screen--dynamic .cs-stat-card strong {
  line-height: 1;
}

.cs-app-screen--dynamic .cs-action-list a[href="#"] {
  cursor: default;
}

.cs-app-screen--dynamic .cs-side-list strong {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .cs-app-screen--dynamic .cs-app-hero::after {
    position: static;
    justify-self: start;
    margin: 12px 0 0;
  }
}

/* v1.0.18 dynamic native data layer */
.cs-app-screen--dynamic .cs-app-panel {
  position: relative;
}

.cs-data-source-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.cs-data-source-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16a34a;
}

.cs-empty-state {
  display: grid;
  gap: 8px;
  min-height: 128px;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: #52657f;
  border: 1px dashed #c9d6e7;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,250,252,0.82));
}

.cs-empty-state strong {
  display: block;
  color: #082451;
  font-size: 0.96rem;
  font-weight: 950;
}

.cs-empty-state span {
  max-width: 520px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.cs-empty-state--compact {
  min-height: auto;
  padding: 18px;
}

.cs-app-screen--data-detail .cs-app-main {
  min-width: 0;
}

.cs-app-screen--data-detail .cs-table-wrap {
  max-height: none;
}

.cs-app-screen--dynamic .cs-app-table a {
  color: inherit;
  text-decoration: none;
}

.cs-app-screen--dynamic .cs-app-table a:hover {
  color: #ff6b00;
}

.cs-app-screen--dynamic .cs-icon-action {
  text-decoration: none !important;
}

.cs-status--neutral {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.cs-status--neutral .cs-dot {
  background: #64748b !important;
}

.cs-source-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 850;
}

.cs-template .cs-app-screen--dynamic .cs-table-item small {
  max-width: 34ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-template .cs-app-screen--dynamic .cs-app-table caption {
  padding-left: 18px;
}


/* v1.0.19 native data model controls */
.cs-toolbar--inventory {
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 170px)) repeat(2, minmax(104px, 132px)) !important;
}

.cs-toolbar--documents {
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 210px) repeat(2, minmax(104px, 132px)) !important;
}

.cs-category-card[data-cs-filter-shortcut] {
  cursor: pointer;
}

.cs-category-card[data-cs-filter-shortcut]:hover {
  border-color: #ffb680;
  box-shadow: 0 12px 28px rgba(8, 36, 81, 0.08);
  transform: translateY(-1px);
}

.cs-table-filter-empty td {
  padding: 16px !important;
  background: #fbfcff !important;
}

.cs-table-filter-empty .cs-empty-state {
  min-height: 86px;
  margin: 0;
}

.cs-data-health .cs-app-table td:first-child strong,
.cs-data-health .cs-app-table td:first-child small {
  display: block;
}

.cs-data-health .cs-app-table td:first-child small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.cs-app-screen--dynamic [data-native-action="create"]::after {
  content: "native";
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-app-screen--dynamic .cs-btn--ghost[data-cs-export-table] {
  justify-content: center;
}

@media (max-width: 1100px) {
  .cs-toolbar--inventory,
  .cs-toolbar--documents {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 680px) {
  .cs-toolbar--inventory,
  .cs-toolbar--documents {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.20 branding and navigation icon refresh */
:root {
  --side-rail-width: 188px;
}

.cs-template .side-rail {
  width: var(--side-rail-width) !important;
}

.cs-template .brand-mark {
  width: calc(var(--side-rail-width) - 28px) !important;
  height: auto !important;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 20px;
  background: #ffffff;
}

.cs-template .brand-mark img {
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.cs-template .topbar-brand {
  gap: 14px;
}

.cs-template .topbar-brand__logo {
  display: block;
  width: 168px;
  max-width: min(24vw, 168px);
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.cs-template .topbar-brand__copy {
  align-self: center;
}

.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__fallback,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav {
  gap: 10px;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px 10px 18px;
  border-radius: 16px;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  border-radius: 12px;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__link span,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
}

body.cs-template.rail-is-compact .side-rail {
  width: 92px !important;
}

body.cs-template.rail-is-compact .brand-mark {
  width: 64px !important;
  min-height: 64px;
  padding: 8px;
}

body.cs-template.rail-is-compact .brand-mark img {
  max-height: 34px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
body.cs-template.rail-is-compact .side-rail .rail-nav__link,
body.cs-template.rail-is-compact .side-rail .mod-menu a,
body.cs-template.rail-is-compact .side-rail .nav a {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 58px;
  padding: 8px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  width: 36px !important;
  height: 36px !important;
}

@media (max-width: 900px) {
  :root {
    --side-rail-width: 78px;
  }

  .cs-template .brand-mark {
    width: 54px !important;
    min-height: 54px;
    padding: 6px;
  }

  .cs-template .brand-mark img {
    max-height: 28px;
  }

  .cs-template .topbar-brand__logo {
    width: 132px;
  }
}


/* v1.0.21 brand asset placement update */
.cs-template .brand-mark {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 8px 6px;
  min-height: 70px;
}

.cs-template .brand-mark img {
  width: 100%;
  max-width: 120px;
  max-height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cs-template .topbar-brand--logo-only {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cs-template .topbar-brand__logo--primary {
  width: 220px;
  max-width: min(34vw, 220px);
  height: auto;
  display: block;
}

.cs-template .topbar-brand__copy {
  display: none !important;
}

.cs-template .team-lockup--image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0 6px 0 10px;
  min-width: 132px;
}

.cs-template .team-lockup--image img {
  display: block;
  width: 118px;
  max-width: 118px;
  height: auto;
  object-fit: contain;
}

body.cs-template.rail-is-compact .brand-mark {
  padding: 4px;
  min-height: 52px;
}

body.cs-template.rail-is-compact .brand-mark img {
  max-width: 56px;
  max-height: 40px;
}

@media (max-width: 900px) {
  .cs-template .topbar-brand__logo--primary {
    width: 170px;
  }

  .cs-template .team-lockup--image img {
    width: 92px;
    max-width: 92px;
  }

  .cs-template .brand-mark img {
    max-width: 54px;
    max-height: 36px;
  }
}


/* v1.0.22 sidebar readability and dashboard cleanup */
.cs-template .side-rail {
  width: 208px !important;
}

.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__fallback,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav {
  gap: 12px;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  min-height: 72px;
  padding: 11px 16px 11px 18px;
  border-radius: 18px;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.04);
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__link span,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active {
  box-shadow: inset 0 0 0 1px rgba(23, 48, 104, 0.08);
}

.cs-template .cs-app-screen--dashboard .cs-app-main > .cs-app-panel:first-child {
  margin-top: 0;
}

body.cs-template.rail-is-compact .side-rail {
  width: 94px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
body.cs-template.rail-is-compact .side-rail .rail-nav__link,
body.cs-template.rail-is-compact .side-rail .mod-menu a,
body.cs-template.rail-is-compact .side-rail .nav a {
  min-height: 64px;
  padding: 8px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  width: 40px !important;
  height: 40px !important;
}

@media (max-width: 900px) {
  .cs-template .side-rail {
    width: 86px !important;
  }

  .cs-template .side-rail .cs-rail-menu__icon,
  .cs-template .side-rail .rail-nav__link img,
  .cs-template .side-rail .mod-menu img,
  .cs-template .side-rail .nav img {
    width: 40px !important;
    height: 40px !important;
  }
}


/* v1.0.23 logo swap and orange menu icon borders */
.cs-template .topbar-brand__logo--team {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: calc(var(--topbar-height) - 16px) !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

.cs-template .team-lockup--image {
  min-width: 132px;
  max-height: calc(var(--topbar-height) - 8px);
  overflow: hidden;
}

.cs-template .team-lockup--image img {
  width: auto !important;
  max-width: 132px !important;
  height: auto !important;
  max-height: calc(var(--topbar-height) - 14px) !important;
  object-fit: contain !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  box-sizing: border-box;
  border: 2px solid #ff6a1a !important;
  background: #ffffff;
  padding: 2px;
  border-radius: 15px;
  box-shadow: 0 6px 14px rgba(255, 106, 26, 0.16);
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link.is-active img,
.cs-template .side-rail .mod-menu .active > a img,
.cs-template .side-rail .nav .active > a img {
  border-color: #ff5a00 !important;
  box-shadow: 0 7px 18px rgba(255, 90, 0, 0.26);
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  padding: 2px;
  border-radius: 13px;
}

@media (max-width: 900px) {
  .cs-template .topbar-brand__logo--team {
    max-height: calc(var(--topbar-height) - 18px) !important;
    max-width: 126px !important;
  }

  .cs-template .team-lockup--image {
    min-width: 96px;
  }

  .cs-template .team-lockup--image img {
    max-width: 96px !important;
  }
}


/* v1.0.24 restore faithful top logos */
.cs-template .topbar-brand,
.cs-template .topbar-brand--logo-only {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.cs-template .topbar-brand__logo--cs {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: calc(var(--topbar-height) - 12px) !important;
  max-width: 168px !important;
  object-fit: contain !important;
}

.cs-template .team-lockup--image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  max-width: 152px;
  max-height: calc(var(--topbar-height) - 8px);
  padding: 0 4px 0 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.cs-template .team-lockup--image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 142px !important;
  max-height: calc(var(--topbar-height) - 16px) !important;
  object-fit: contain !important;
  background: transparent !important;
}

@media (max-width: 900px) {
  .cs-template .topbar-brand__logo--cs {
    max-width: 128px !important;
    max-height: calc(var(--topbar-height) - 16px) !important;
  }

  .cs-template .team-lockup--image {
    min-width: 98px;
    max-width: 106px;
  }

  .cs-template .team-lockup--image img {
    max-width: 98px !important;
    max-height: calc(var(--topbar-height) - 18px) !important;
  }
}


/* v1.0.25 left rail logo source correction */
.cs-template .brand-mark {
  width: calc(var(--side-rail-width) - 24px) !important;
  min-height: 76px !important;
  height: auto !important;
  margin: 0 auto 22px !important;
  padding: 6px 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.cs-template .brand-mark img {
  display: block;
  width: 100% !important;
  max-width: 150px !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.cs-template.rail-is-compact .brand-mark {
  width: 72px !important;
  min-height: 58px !important;
  padding: 4px !important;
}

body.cs-template.rail-is-compact .brand-mark img {
  max-width: 64px !important;
  max-height: 48px !important;
}

@media (max-width: 900px) {
  .cs-template .brand-mark {
    width: 72px !important;
    min-height: 54px !important;
    padding: 4px !important;
  }

  .cs-template .brand-mark img {
    max-width: 64px !important;
    max-height: 44px !important;
  }
}


/* v1.0.26 sidebar icon cleanup and clearer rail toggle */
.cs-template .side-rail {
  width: 210px !important;
}

.cs-template .brand-mark {
  width: calc(var(--side-rail-width) - 10px) !important;
  min-height: 96px !important;
  margin: 0 auto 18px !important;
  padding: 2px 4px 6px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.cs-template .brand-mark img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 84px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  background: transparent !important;
}

.cs-template .topbar-brand,
.cs-template .topbar-brand--logo-only,
.cs-template .topbar-brand__logo,
.cs-template .topbar-brand__logo--primary,
.cs-template .topbar-brand__logo--cs {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.cs-template .topbar-brand__logo--cs {
  width: auto !important;
  max-width: 152px !important;
  max-height: calc(var(--topbar-height) - 16px) !important;
  object-fit: contain !important;
}

.cs-template .topbar__menu--toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 42px;
  min-width: 42px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 35, 95, 0.06);
}

.cs-template .topbar__menu--toggle:hover {
  background: #f7f9fc;
}

.cs-template .topbar__menu--toggle .topbar__menu-rail {
  display: block;
  width: 6px;
  height: 16px;
  border-radius: 99px;
  background: #d7e1ef;
  box-shadow: inset 0 0 0 1.8px var(--accent-2);
}

.cs-template .topbar__menu--toggle .topbar__menu-arrows {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.cs-template .topbar__menu--toggle .topbar__menu-arrows::before,
.cs-template .topbar__menu--toggle .topbar__menu-arrows::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--accent-2);
}

.cs-template .topbar__menu--toggle .topbar__menu-arrows::before {
  left: 0;
  border-left: 2px solid var(--accent-2);
  transform: translateY(-50%) rotate(-45deg);
}

.cs-template .topbar__menu--toggle .topbar__menu-arrows::after {
  right: 0;
  border-right: 2px solid var(--accent-2);
  transform: translateY(-50%) rotate(45deg);
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  min-height: 66px;
  padding: 10px 16px 10px 18px;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  box-sizing: border-box;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  image-rendering: -webkit-optimize-contrast;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link.is-active img,
.cs-template .side-rail .mod-menu .active > a img,
.cs-template .side-rail .nav .active > a img {
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__link span,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 1.04rem;
  font-weight: 800;
}

body.cs-template.rail-is-compact .brand-mark {
  width: 74px !important;
  min-height: 62px !important;
  padding: 4px !important;
}

body.cs-template.rail-is-compact .brand-mark img {
  max-width: 66px !important;
  max-height: 48px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  width: 38px !important;
  height: 38px !important;
}

@media (max-width: 900px) {
  .cs-template .brand-mark {
    width: 76px !important;
    min-height: 56px !important;
    padding: 4px !important;
  }

  .cs-template .brand-mark img {
    max-width: 68px !important;
    max-height: 44px !important;
  }

  .cs-template .topbar-brand__logo--cs {
    max-width: 118px !important;
    max-height: calc(var(--topbar-height) - 18px) !important;
  }

  .cs-template .side-rail .cs-rail-menu__icon,
  .cs-template .side-rail .rail-nav__link img,
  .cs-template .side-rail .mod-menu img,
  .cs-template .side-rail .nav img {
    width: 38px !important;
    height: 38px !important;
  }
}


/* v1.0.27 sidebar/logo sizing, full icons, and swapped topbar brands */
.cs-template .side-rail {
  width: 214px !important;
}

.cs-template .brand-mark {
  width: calc(var(--side-rail-width) - 10px) !important;
  min-height: 118px !important;
  height: auto !important;
  margin: 0 auto 18px !important;
  padding: 6px 2px 10px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cs-template .brand-mark img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 104px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  background: transparent !important;
}

.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__fallback,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav {
  gap: 11px;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  min-height: 68px;
  padding: 8px 12px 8px 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: none;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  border-color: #d9e3ef;
  background: #f8fbff;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a {
  border-color: #d6e0ec !important;
  background: #eef4fa !important;
  box-shadow: inset 3px 0 0 #ff6a1a;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid #d6e0ec;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu .active > a .cs-rail-menu__icon-box,
.cs-template .side-rail .nav .active > a .cs-rail-menu__icon-box {
  border-color: #cdd9e7;
  background: #ffffff;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__link span,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.2;
}

.cs-template .topbar-brand,
.cs-template .topbar-brand--logo-only,
.cs-template .topbar-brand__logo,
.cs-template .topbar-brand__logo--team,
.cs-template .team-lockup--brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .topbar-brand {
  display: inline-flex;
  align-items: center;
}

.cs-template .topbar-brand__logo--team {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 96px !important;
  max-height: calc(var(--topbar-height) - 14px) !important;
  object-fit: contain !important;
}

.cs-template .team-lockup--brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  max-width: 130px;
  max-height: calc(var(--topbar-height) - 10px);
  padding: 0 4px 0 8px !important;
  overflow: hidden;
}

.cs-template .team-lockup--brand img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 112px !important;
  max-height: calc(var(--topbar-height) - 16px) !important;
  object-fit: contain !important;
  background: transparent !important;
}

.cs-template .topbar__menu--toggle {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d6e0ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 35, 95, 0.06);
}

.cs-template .topbar__menu-icon,
.cs-template .rail-collapse__icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cs-template .rail-collapse {
  border: 1px solid #d6e0ec;
  border-radius: 12px;
  background: #fff;
  width: 40px;
  height: 40px;
  padding: 0;
}

body.cs-template.rail-is-compact .brand-mark {
  width: 80px !important;
  min-height: 66px !important;
  padding: 4px !important;
}

body.cs-template.rail-is-compact .brand-mark img {
  max-width: 72px !important;
  max-height: 52px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
body.cs-template.rail-is-compact .side-rail .rail-nav__link,
body.cs-template.rail-is-compact .side-rail .mod-menu a,
body.cs-template.rail-is-compact .side-rail .nav a {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 62px;
  padding: 8px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  max-width: 36px !important;
  max-height: 36px !important;
}

@media (max-width: 900px) {
  .cs-template .brand-mark {
    width: 82px !important;
    min-height: 60px !important;
    padding: 4px !important;
  }

  .cs-template .brand-mark img {
    max-width: 74px !important;
    max-height: 46px !important;
  }

  .cs-template .topbar-brand__logo--team {
    max-width: 82px !important;
    max-height: calc(var(--topbar-height) - 18px) !important;
  }

  .cs-template .team-lockup--brand {
    min-width: 92px;
    max-width: 104px;
  }

  .cs-template .team-lockup--brand img {
    max-width: 90px !important;
    max-height: calc(var(--topbar-height) - 18px) !important;
  }
}


/* v1.0.28 sidebar brand stack and single active marker */
.cs-template .brand-mark--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: calc(var(--side-rail-width) - 12px) !important;
  min-height: 122px !important;
  margin: 0 auto 18px !important;
  padding: 8px 6px 10px !important;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cs-template .brand-mark--stacked .brand-mark__icon {
  display: block;
  width: auto !important;
  max-width: 132px !important;
  width: 100%;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.cs-template .brand-mark--stacked .brand-mark__title {
  display: block;
  text-align: center;
  font-size: 1rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.cs-template .brand-mark--stacked .brand-mark__tagline {
  display: block;
  text-align: center;
  font-size: 0.64rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667897;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a {
  box-shadow: none !important;
}

body.cs-template.rail-is-compact .brand-mark--stacked {
  min-height: 68px !important;
  padding: 4px !important;
  gap: 0 !important;
}

body.cs-template.rail-is-compact .brand-mark--stacked .brand-mark__icon {
  max-width: 58px !important;
  max-height: 40px !important;
}

body.cs-template.rail-is-compact .brand-mark--stacked .brand-mark__title,
body.cs-template.rail-is-compact .brand-mark--stacked .brand-mark__tagline {
  display: none !important;
}

@media (max-width: 900px) {
  .cs-template .brand-mark--stacked {
    min-height: 72px !important;
    padding: 4px !important;
    gap: 0 !important;
  }

  .cs-template .brand-mark--stacked .brand-mark__icon {
    max-width: 60px !important;
    max-height: 42px !important;
  }

  .cs-template .brand-mark--stacked .brand-mark__title,
  .cs-template .brand-mark--stacked .brand-mark__tagline {
    display: none !important;
  }
}


/* v1.0.29 original left logo and centered sidebar icons */
.cs-template .brand-mark--logo-original {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--side-rail-width) - 10px) !important;
  min-height: 118px !important;
  margin: 0 auto 18px !important;
  padding: 8px 4px 10px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.cs-template .brand-mark--logo-original .brand-mark__logo-original {
  display: block;
  width: 100% !important;
  max-width: 194px !important;
  height: auto !important;
  max-height: 94px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  background: transparent !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  align-items: center;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 6px;
  border-radius: 16px;
  overflow: visible;
  box-sizing: border-box;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
  flex: 0 0 auto;
}

body.cs-template.rail-is-compact .brand-mark--logo-original {
  width: 84px !important;
  min-height: 66px !important;
  padding: 4px !important;
}

body.cs-template.rail-is-compact .brand-mark--logo-original .brand-mark__logo-original {
  max-width: 76px !important;
  max-height: 50px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 5px;
  border-radius: 14px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  max-width: 34px !important;
  max-height: 34px !important;
}

@media (max-width: 900px) {
  .cs-template .brand-mark--logo-original {
    width: 86px !important;
    min-height: 64px !important;
    padding: 4px !important;
  }

  .cs-template .brand-mark--logo-original .brand-mark__logo-original {
    max-width: 78px !important;
    max-height: 50px !important;
  }
}


/* v1.0.30 restore original sidebar width, split original logo, improve inventory/bikes icon visibility */
.cs-template .side-rail {
  width: var(--side-rail-width) !important;
}

.cs-template .brand-mark--split-original {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: calc(var(--side-rail-width) - 12px) !important;
  min-height: 126px !important;
  margin: 0 auto 16px !important;
  padding: 6px 4px 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  gap: 4px;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  display: block;
  width: auto !important;
  max-width: 118px !important;
  max-height: 64px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  display: block;
  width: 100% !important;
  max-width: 128px !important;
  max-height: 54px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  padding: 6px;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__link--inventory .cs-rail-menu__icon,
.cs-template .side-rail .cs-rail-menu__link--bikes .cs-rail-menu__icon {
  max-width: 40px !important;
  max-height: 40px !important;
}

body.cs-template.rail-is-compact .brand-mark--split-original {
  min-height: 74px !important;
  padding: 4px 2px !important;
  gap: 2px;
}

body.cs-template.rail-is-compact .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 56px !important;
  max-height: 32px !important;
}

body.cs-template.rail-is-compact .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 62px !important;
  max-height: 24px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 4px;
  border-radius: 14px;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  max-width: 30px !important;
  max-height: 30px !important;
}

@media (max-width: 900px) {
  .cs-template .brand-mark--split-original {
    min-height: 78px !important;
    padding: 4px 2px !important;
  }

  .cs-template .brand-mark--split-original .brand-mark__symbol-original {
    max-width: 58px !important;
    max-height: 34px !important;
  }

  .cs-template .brand-mark--split-original .brand-mark__wordmark-original {
    max-width: 68px !important;
    max-height: 24px !important;
  }
}


/* v1.0.31 compact icon visibility, move Jayco logo to sidebar, larger toggle */
.cs-template .side-rail {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
}

.cs-template .rail-nav--primary,
.cs-template .rail-nav--secondary {
  width: 100%;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  width: 100%;
}

.cs-template .side-rail__flex-gap {
  flex: 1 1 24px;
  min-height: 10px;
  width: 100%;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 24px);
  max-width: 150px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 4px 2px;
}

.cs-template .side-rail__team-logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.cs-template .rail-collapse {
  width: 54px !important;
  height: 40px !important;
  min-width: 54px !important;
  border-radius: 14px !important;
  margin-top: 4px !important;
}

.cs-template .rail-collapse__icon,
.cs-template .rail-collapse img,
.cs-template .topbar__menu-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .topbar__menu {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
}

/* keep sidebar icons fully visible and centered in expanded mode */
.cs-template .side-rail .cs-rail-menu__icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 38px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

/* keep icons clear when the rail is collapsed */
body.cs-template.rail-is-compact .side-rail {
  align-items: center !important;
  gap: 10px !important;
}

body.cs-template.rail-is-compact .brand-mark--split-original {
  width: 62px !important;
  min-height: 68px !important;
  padding: 4px 2px !important;
}

body.cs-template.rail-is-compact .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 52px !important;
  max-height: 30px !important;
}

body.cs-template.rail-is-compact .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 58px !important;
  max-height: 22px !important;
}

body.cs-template.rail-is-compact .side-rail__team-logo {
  width: 62px !important;
  min-height: 44px !important;
  padding: 2px !important;
}

body.cs-template.rail-is-compact .side-rail__team-logo-image {
  max-width: 58px !important;
  max-height: 40px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon-box {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 4px !important;
  border-radius: 14px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  max-width: 32px !important;
  max-height: 32px !important;
}

body.cs-template.rail-is-compact .rail-collapse {
  width: 50px !important;
  height: 38px !important;
}

@media (max-width: 900px) {
  .cs-template .side-rail__team-logo {
    width: 64px !important;
    min-height: 42px !important;
    padding: 2px !important;
  }

  .cs-template .side-rail__team-logo-image {
    max-width: 60px !important;
    max-height: 38px !important;
  }

  .cs-template .rail-collapse__icon,
  .cs-template .rail-collapse img,
  .cs-template .topbar__menu-icon {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
  }
}


/* v1.0.32 final sidebar balance, Jayco placement and compact icon consistency */
.cs-template .side-rail {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

.cs-template .rail-nav--primary,
.cs-template .rail-nav--secondary {
  width: 100%;
  flex: 0 0 auto;
}

.cs-template .side-rail__flex-gap {
  flex: 1 1 0 !important;
  min-height: 18px;
  width: 100%;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 26px) !important;
  max-width: 124px !important;
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 6px 4px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .side-rail__team-logo-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 118px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .rail-collapse {
  width: 62px !important;
  height: 46px !important;
  min-width: 62px !important;
  border-radius: 15px !important;
  margin-top: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cs-template .rail-collapse__icon,
.cs-template .rail-collapse img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .topbar__menu {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cs-template .topbar__menu-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 38px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

body.cs-template.rail-is-compact .side-rail {
  gap: 10px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon-box {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 4px !important;
  border-radius: 14px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__icon,
body.cs-template.rail-is-compact .side-rail .rail-nav__link img,
body.cs-template.rail-is-compact .side-rail .mod-menu img,
body.cs-template.rail-is-compact .side-rail .nav img {
  max-width: 34px !important;
  max-height: 34px !important;
}

body.cs-template.rail-is-compact .side-rail__team-logo {
  width: 64px !important;
  max-width: 64px !important;
  min-height: 48px !important;
  padding: 2px !important;
}

body.cs-template.rail-is-compact .side-rail__team-logo-image {
  max-width: 60px !important;
  max-height: 42px !important;
}

body.cs-template.rail-is-compact .rail-collapse {
  width: 54px !important;
  height: 42px !important;
}

body.cs-template.rail-is-compact .rail-collapse__icon,
body.cs-template.rail-is-compact .rail-collapse img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
}


/* v1.0.33 static sidebar menu, clearer icon frames, provided team image */
.cs-template .topbar__menu--toggle,
.cs-template .rail-collapse {
  display: none !important;
}

.cs-template .app-shell,
body.cs-template.rail-is-compact .app-shell,
body.rail-is-compact .cs-template .app-shell,
body.rail-is-compact.cs-template .app-shell {
  grid-template-columns: var(--side-rail-width) minmax(0, 1fr) !important;
}

.cs-template .side-rail,
body.cs-template.rail-is-compact .side-rail,
body.rail-is-compact .cs-template .side-rail,
body.rail-is-compact.cs-template .side-rail {
  width: var(--side-rail-width) !important;
  gap: 14px !important;
}

.cs-template .topbar__system {
  gap: 0 !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 28px) !important;
  max-width: 156px !important;
  min-height: 152px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 6px auto !important;
  padding: 8px 6px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .side-rail__team-logo-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 148px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail__flex-gap--top,
.cs-template .side-rail__flex-gap--bottom {
  min-height: 14px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 64px !important;
  padding: 8px 12px !important;
  border-radius: 18px !important;
  border: 1.8px solid #d4ddeb !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  border-color: #b8c7de !important;
  background: #f8fbff !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  border-color: #cfd9ea !important;
  background: #eef4fb !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  width: 4px !important;
  border-radius: 999px !important;
  background: transparent !important;
  opacity: 1 !important;
  left: -3px !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .mod-menu .current > a::before,
.cs-template .side-rail .nav .current > a::before,
.cs-template .side-rail .mod-menu a[aria-current="page"]::before,
.cs-template .side-rail .nav a[aria-current="page"]::before {
  background: #ff6a00 !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  overflow: visible !important;
  border-radius: 16px !important;
  border: 1.8px solid #d4ddeb !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu .current > a .cs-rail-menu__icon-box,
.cs-template .side-rail .nav .current > a .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu a[aria-current="page"] .cs-rail-menu__icon-box,
.cs-template .side-rail .nav a[aria-current="page"] .cs-rail-menu__icon-box {
  border-color: #ff6a00 !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-weight: 700 !important;
}

.cs-template .icon-button,
.cs-template .user-pill,
.cs-template .btn,
.cs-template button,
.cs-template .panel,
.cs-template .card,
.cs-template .component-panel,
.cs-template .quick-card,
.cs-template .summary-card,
.cs-template .table-card,
.cs-template .app-card,
.cs-template [class*="button"],
.cs-template [class*="btn-"] {
  border-width: 1.6px !important;
}

/* Safety: if an old compact class survives, keep labels visible and icons centered */
body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
body.cs-template.rail-is-compact .side-rail .rail-nav__link,
body.cs-template.rail-is-compact .side-rail .mod-menu a,
body.cs-template.rail-is-compact .side-rail .nav a {
  width: auto !important;
  justify-content: flex-start !important;
  padding: 8px 12px !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__text,
body.cs-template.rail-is-compact .side-rail .rail-nav__text,
body.cs-template.rail-is-compact .side-rail .mod-menu a span,
body.cs-template.rail-is-compact .side-rail .nav a span {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}


/* v1.0.34 dashboard right column separation and sidebar polish */
.cs-template .topbar__menu--toggle,
.cs-template .rail-collapse,
.cs-template [data-action="toggle-rail"] {
  display: none !important;
}

/* Dashboard: keep the right column visually independent from the central content area */
.cs-app-screen--dashboard {
  grid-template-columns: minmax(0, 1fr) 292px !important;
  gap: 28px !important;
  align-items: start !important;
  max-width: 1660px !important;
}

.cs-app-screen--dashboard .cs-app-main {
  background: #ffffff !important;
  border: 1.6px solid #d7e1ee !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(15, 35, 65, 0.045) !important;
  padding: 20px !important;
  gap: 18px !important;
}

.cs-app-screen--dashboard .cs-app-main > .cs-app-panel,
.cs-app-screen--dashboard .cs-dashboard-split > .cs-app-panel {
  border-color: #d9e3ef !important;
  box-shadow: none !important;
}

.cs-app-screen--dashboard .cs-app-side {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  gap: 16px !important;
  align-self: start !important;
}

.cs-app-screen--dashboard .cs-app-side > .cs-app-panel {
  background: #ffffff !important;
  border: 1.6px solid #d7e1ee !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(15, 35, 65, 0.04) !important;
}

/* Sidebar visual rhythm */
.cs-template .side-rail {
  padding: 16px 10px 18px !important;
  gap: 12px !important;
}

.cs-template .brand-mark--split-original {
  min-height: 116px !important;
  margin: 0 auto 10px !important;
  padding: 5px 3px 8px !important;
  gap: 4px !important;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 114px !important;
  max-height: 62px !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 126px !important;
  max-height: 50px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  gap: 8px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 62px !important;
  padding: 7px 11px !important;
  gap: 12px !important;
  border-width: 1.8px !important;
  border-color: #d4deec !important;
  border-radius: 17px !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  border-color: #c6d3e4 !important;
  background: #eef4fb !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 6px !important;
  border-radius: 16px !important;
  border: 1.8px solid #d4deec !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box {
  border-color: #b9c8dc !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box {
  border-color: #ff7a21 !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 35px !important;
  max-height: 35px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__link--inventory .cs-rail-menu__icon,
.cs-template .side-rail .cs-rail-menu__link--bikes .cs-rail-menu__icon {
  max-width: 37px !important;
  max-height: 37px !important;
}

.cs-template .side-rail__flex-gap {
  flex: 1 1 0 !important;
  min-height: 12px !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 30px) !important;
  max-width: 150px !important;
  min-height: 148px !important;
  margin: 4px auto !important;
  padding: 10px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1.6px solid #d7e1ee !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 18px rgba(15, 35, 65, 0.035) !important;
}

.cs-template .side-rail__team-logo-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 126px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .rail-nav--secondary {
  margin-top: 0 !important;
}

@media (max-width: 1100px) {
  .cs-app-screen--dashboard {
    grid-template-columns: 1fr !important;
  }

  .cs-app-screen--dashboard .cs-app-side {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    display: grid !important;
  }
}

/* v1.0.35 dashboard layout parity and sidebar icon refresh */
.cs-app-screen--dashboard {
  grid-template-columns: minmax(0, 1fr) 270px !important;
  gap: 16px !important;
  align-items: start !important;
}

.cs-app-screen--dashboard .cs-app-main {
  padding: 18px !important;
  gap: 16px !important;
}

.cs-app-screen--dashboard .cs-app-side {
  gap: 14px !important;
}

.cs-app-screen--dashboard .cs-app-side > .cs-app-panel {
  border-radius: 15px !important;
}

.cs-template .side-rail {
  padding: 14px 10px 16px !important;
  gap: 10px !important;
}

.cs-template .brand-mark--split-original {
  min-height: 122px !important;
  margin: 0 auto 8px !important;
  padding: 4px 2px 6px !important;
  gap: 3px !important;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 116px !important;
  max-height: 62px !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 128px !important;
  max-height: 51px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  gap: 6px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 58px !important;
  padding: 6px 10px !important;
  gap: 10px !important;
  border-width: 2px !important;
  border-color: #ccd8e7 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  border-color: #b9c8dc !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  border-color: #bccbdf !important;
  background: #eef4fb !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 3px !important;
  border-width: 2px !important;
  border-color: #cbd8e8 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7) !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu .current > a .cs-rail-menu__icon-box,
.cs-template .side-rail .nav .current > a .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu a[aria-current="page"] .cs-rail-menu__icon-box,
.cs-template .side-rail .nav a[aria-current="page"] .cs-rail-menu__icon-box {
  border-color: #ff7a21 !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__text {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.cs-template .side-rail__flex-gap {
  min-height: 8px !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 38px) !important;
  max-width: 136px !important;
  min-height: 130px !important;
  margin: 4px auto !important;
  padding: 8px 8px !important;
  border-width: 1.5px !important;
  border-radius: 16px !important;
}

.cs-template .side-rail__team-logo-image {
  max-width: 92% !important;
  max-height: 108px !important;
}

@media (max-width: 1100px) {
  .cs-app-screen--dashboard {
    grid-template-columns: 1fr !important;
  }
}

/* v1.0.36 auth page refresh */
.cs-template .cs-auth-shell {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 18px !important;
  width: min(470px, 100%) !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 32px 18px !important;
}

.cs-template .cs-auth-brand {
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.cs-template .cs-auth-brand__symbol {
  width: min(230px, 72%) !important;
  height: auto !important;
  display: block !important;
}

.cs-template .cs-auth-brand__wordmark {
  width: min(360px, 96%) !important;
  height: auto !important;
  display: block !important;
}

.cs-template .cs-auth-card {
  width: 100% !important;
  padding: clamp(1.35rem, 3vw, 2rem) !important;
  background: #ffffff !important;
  border: 1px solid #dbe5f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 46px rgba(26, 43, 87, 0.08) !important;
}

.cs-template .cs-auth-card::before {
  display: none !important;
  content: none !important;
}

.cs-template .cs-auth-card #system-message-container,
.cs-template .cs-auth-card .joomla-messages {
  margin-bottom: 1rem !important;
}

.cs-template .cs-auth-card .alert,
.cs-template .cs-auth-card .message,
.cs-template .cs-auth-card .joomla-alert,
.cs-template .cs-auth-card .system-message {
  border: 1px solid #dbe5f0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-card .com-users-login,
.cs-template .cs-auth-card .login,
.cs-template .cs-auth-card form,
.cs-template .cs-auth-card fieldset {
  gap: 0.9rem !important;
}

.cs-template .cs-auth-card label {
  color: #142b63 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
}

.cs-template .cs-auth-card input[type="text"],
.cs-template .cs-auth-card input[type="password"],
.cs-template .cs-auth-card input[type="email"],
.cs-template .cs-auth-card input[type="search"],
.cs-template .cs-auth-card input[type="url"],
.cs-template .cs-auth-card input[type="tel"] {
  min-height: 48px !important;
  border: 1px solid #ccd9e7 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-card input[type="text"]:focus,
.cs-template .cs-auth-card input[type="password"]:focus,
.cs-template .cs-auth-card input[type="email"]:focus,
.cs-template .cs-auth-card input[type="search"]:focus,
.cs-template .cs-auth-card input[type="url"]:focus,
.cs-template .cs-auth-card input[type="tel"]:focus {
  border-color: #ff7a21 !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 33, 0.14) !important;
}

.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]),
.cs-template .cs-auth-card .form-check,
.cs-template .cs-auth-card .remember,
.cs-template .cs-auth-card .mod-login__remember,
.cs-template .cs-auth-card .com-users-login__remember {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
}

.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]) label,
.cs-template .cs-auth-card .form-check label,
.cs-template .cs-auth-card .remember label,
.cs-template .cs-auth-card .mod-login__remember label,
.cs-template .cs-auth-card .com-users-login__remember label {
  margin: 0 !important;
}

.cs-template .cs-auth-card input[type="checkbox"] {
  width: 1rem !important;
  height: 1rem !important;
  accent-color: #ff7a21 !important;
}

.cs-template .cs-auth-card .btn,
.cs-template .cs-auth-card button,
.cs-template .cs-auth-card input[type="submit"] {
  min-height: 48px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
}

.cs-template .cs-auth-card button[type="submit"],
.cs-template .cs-auth-card .btn-primary,
.cs-template .cs-auth-card input[type="submit"] {
  background: #142b63 !important;
  border-color: #142b63 !important;
  color: #ffffff !important;
}

.cs-template .cs-auth-card button[type="submit"]:hover,
.cs-template .cs-auth-card .btn-primary:hover,
.cs-template .cs-auth-card input[type="submit"]:hover {
  background: #0f2252 !important;
  border-color: #0f2252 !important;
}

.cs-template .cs-auth-card .com-users-login__passkey,
.cs-template .cs-auth-card .passkey,
.cs-template .cs-auth-card .webauthn,
.cs-template .cs-auth-card .passkey-login,
.cs-template .cs-auth-card [class*="passkey"],
.cs-template .cs-auth-card [data-webauthn-button],
.cs-template .cs-auth-card a[href*="view=reset"],
.cs-template .cs-auth-card a[href*="view=remind"] {
  display: none !important;
}

.cs-template .cs-auth-card ul:empty,
.cs-template .cs-auth-card .list-unstyled:empty,
.cs-template .cs-auth-card .nav:empty {
  display: none !important;
}

/* v1.0.37 sidebar graphic polish */
.cs-template .side-rail {
  padding: 16px 12px 18px !important;
  gap: 12px !important;
  background: #fbfdff !important;
  border-right: 1px solid #dde6f1 !important;
}

.cs-template .brand-mark--split-original {
  min-height: 118px !important;
  margin: 0 auto 10px !important;
  padding: 10px 8px 10px !important;
  border: 1px solid #e3ebf5 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(20, 43, 99, 0.04) !important;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 108px !important;
  max-height: 56px !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 124px !important;
  max-height: 48px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  gap: 8px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  position: relative !important;
  min-height: 56px !important;
  padding: 7px 10px 7px 8px !important;
  gap: 12px !important;
  border: 1.5px solid #cfdae8 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(20, 43, 99, 0.02) !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  content: '' !important;
  position: absolute !important;
  left: -7px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 32px !important;
  border-radius: 999px !important;
  background: transparent !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  border-color: #bfd0e3 !important;
  background: #f8fbff !important;
  box-shadow: 0 8px 16px rgba(20, 43, 99, 0.05) !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  border-color: #c8d6e9 !important;
  background: #eef5ff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 8px 18px rgba(20, 43, 99, 0.06) !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .mod-menu .current > a::before,
.cs-template .side-rail .nav .current > a::before,
.cs-template .side-rail .mod-menu a[aria-current="page"]::before,
.cs-template .side-rail .nav a[aria-current="page"]::before {
  background: #ff7a21 !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 5px !important;
  border: 1.5px solid #cfdae8 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu a:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .nav a:hover .cs-rail-menu__icon-box {
  border-color: #bfcee1 !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu .current > a .cs-rail-menu__icon-box,
.cs-template .side-rail .nav .current > a .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu a[aria-current="page"] .cs-rail-menu__icon-box,
.cs-template .side-rail .nav a[aria-current="page"] .cs-rail-menu__icon-box {
  border-color: #ff7a21 !important;
  box-shadow: 0 0 0 2px rgba(255, 122, 33, 0.08) !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  width: 100% !important;
  height: 100% !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__text {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  color: #173068 !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 42px) !important;
  max-width: 126px !important;
  min-height: 116px !important;
  margin: 6px auto !important;
  padding: 10px !important;
  border: 1.5px solid #d7e2ef !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(20, 43, 99, 0.04) !important;
}

.cs-template .side-rail__team-logo-image {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail__flex-gap--top {
  min-height: 10px !important;
}

.cs-template .side-rail__flex-gap--bottom {
  min-height: 10px !important;
}


/* 1.0.38 - login form compact cleanup */
/* 1.0.38 - login form compact cleanup */
.cs-auth-shell {
  width: min(390px, 100%);
}

.cs-auth-brand {
  margin-bottom: 1rem;
}

.cs-auth-brand__symbol {
  max-width: 170px;
}

.cs-auth-brand__wordmark {
  max-width: 340px;
}

.cs-auth-card {
  max-width: 372px;
  padding: 1.15rem 1.2rem 1.3rem;
  border-radius: 22px;
}

.cs-auth-card::before,
.cs-auth-card #system-message-container,
.cs-auth-card .joomla-messages,
.cs-auth-card .alert,
.cs-auth-card .message,
.cs-auth-card .system-message,
.cs-auth-card .joomla-alert,
.cs-auth-card .com-users-login__passkey,
.cs-auth-card .passkey,
.cs-auth-card .passkey-login,
.cs-auth-card [class*="passkey"],
.cs-auth-card [data-webauthn-button],
.cs-auth-card a[href*="view=reset"],
.cs-auth-card a[href*="view=remind"],
.cs-auth-card .com-users-login__options,
.cs-auth-card .login + ul,
.cs-auth-card ul {
  display: none !important;
}

.cs-auth-card .com-users-login,
.cs-auth-card .login,
.cs-auth-card form,
.cs-auth-card fieldset {
  gap: 0.78rem;
}

.cs-auth-card label {
  font-size: 0.83rem;
  font-weight: 850;
}

.cs-auth-card input[type="text"],
.cs-auth-card input[type="password"],
.cs-auth-card input[type="email"],
.cs-auth-card input[type="search"],
.cs-auth-card input[type="url"],
.cs-auth-card input[type="tel"] {
  min-height: 42px;
}

.cs-auth-card .control-group:has(input[type="checkbox"]),
.cs-auth-card .form-check,
.cs-auth-card .remember,
.cs-auth-card .mod-login__remember,
.cs-auth-card .com-users-login__remember {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.cs-auth-card .control-group:has(input[type="checkbox"]) label,
.cs-auth-card .form-check label,
.cs-auth-card .remember label,
.cs-auth-card .mod-login__remember label,
.cs-auth-card .com-users-login__remember label {
  color: var(--accent);
}

.cs-auth-card input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  accent-color: var(--accent);
}

.cs-auth-card .btn,
.cs-auth-card button,
.cs-auth-card input[type="submit"] {
  min-height: 44px;
}

/* v1.0.39 final sidebar visual polish */
.cs-template .side-rail {
  padding: 13px 10px 16px !important;
  gap: 9px !important;
  background: #ffffff !important;
  border-right: 1.6px solid #d9e4f0 !important;
}

.cs-template .brand-mark--split-original {
  min-height: 116px !important;
  margin: 0 auto 8px !important;
  padding: 3px 2px 6px !important;
  gap: 3px !important;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 118px !important;
  max-height: 62px !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 132px !important;
  max-height: 50px !important;
}

.cs-template .rail-nav--primary,
.cs-template .rail-nav--secondary {
  width: 100% !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 6px 10px !important;
  gap: 10px !important;
  border: 2px solid #cfdbea !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 5px 14px rgba(15, 35, 65, 0.025) !important;
  box-sizing: border-box !important;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  background: #f8fbff !important;
  border-color: #aebfd6 !important;
  box-shadow: 0 7px 16px rgba(15, 35, 65, 0.045) !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: #eef5fc !important;
  border-color: #b7c8dd !important;
  box-shadow: inset 4px 0 0 #ff6a00, 0 7px 16px rgba(15, 35, 65, 0.04) !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before {
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 4px !important;
  border: 2px solid #c9d6e7 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box {
  border-color: #aebfd6 !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link .cs-rail-menu__icon-box {
  border-color: #ff7a21 !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #09285f !important;
  letter-spacing: -0.01em !important;
}

.cs-template .side-rail__flex-gap {
  flex: 1 1 0 !important;
  min-height: 8px !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 42px) !important;
  max-width: 128px !important;
  min-height: 118px !important;
  margin: 4px auto !important;
  padding: 8px 8px !important;
  background: #ffffff !important;
  border: 1.7px solid #d6e1ef !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 20px rgba(15, 35, 65, 0.04) !important;
}

.cs-template .side-rail__team-logo-image {
  max-width: 92% !important;
  max-height: 96px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .rail-nav--secondary {
  margin-top: 0 !important;
}

/* Keep the menu static and fully visible. */
.cs-template .topbar__menu--toggle,
.cs-template .rail-collapse,
.cs-template [data-action="toggle-rail"] {
  display: none !important;
}

.cs-template .app-shell,
body.cs-template.rail-is-compact .app-shell {
  grid-template-columns: var(--side-rail-width) minmax(0, 1fr) !important;
}

body.cs-template.rail-is-compact .side-rail .cs-rail-menu__text {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
}


/* v1.0.40 login cleanup: remove unused controls and correct compact form */
.cs-template .cs-auth-shell {
  width: min(360px, 100%) !important;
  gap: 14px !important;
}

.cs-template .cs-auth-brand__symbol {
  width: min(150px, 60%) !important;
  max-width: 150px !important;
}

.cs-template .cs-auth-brand__wordmark {
  width: min(300px, 92%) !important;
  max-width: 300px !important;
}

.cs-template .cs-auth-card {
  max-width: 335px !important;
  padding: 1.05rem 1.1rem 1.2rem !important;
  border-radius: 22px !important;
}

.cs-template .cs-auth-card #system-message-container,
.cs-template .cs-auth-card .joomla-messages,
.cs-template .cs-auth-card .alert,
.cs-template .cs-auth-card .message,
.cs-template .cs-auth-card .joomla-alert,
.cs-template .cs-auth-card .system-message,
.cs-template .cs-auth-card .com-users-login__passkey,
.cs-template .cs-auth-card .passkey,
.cs-template .cs-auth-card .passkey-login,
.cs-template .cs-auth-card .webauthn,
.cs-template .cs-auth-card [class*="passkey"],
.cs-template .cs-auth-card [class*="webauthn"],
.cs-template .cs-auth-card [data-webauthn-button],
.cs-template .cs-auth-card a[href*="view=reset"],
.cs-template .cs-auth-card a[href*="view=remind"],
.cs-template .cs-auth-card input[name*="secretkey"],
.cs-template .cs-auth-card input[id*="secretkey"],
.cs-template .cs-auth-card input[name*="otp"],
.cs-template .cs-auth-card input[id*="otp"],
.cs-template .cs-auth-card input[name*="totp"],
.cs-template .cs-auth-card input[id*="totp"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.cs-template .cs-auth-card .control-group:has(input[name*="secretkey"]),
.cs-template .cs-auth-card .control-group:has(input[id*="secretkey"]),
.cs-template .cs-auth-card .control-group:has(input[name*="otp"]),
.cs-template .cs-auth-card .control-group:has(input[id*="otp"]),
.cs-template .cs-auth-card .control-group:has(input[name*="totp"]),
.cs-template .cs-auth-card .control-group:has(input[id*="totp"]),
.cs-template .cs-auth-card .form-group:has(input[name*="secretkey"]),
.cs-template .cs-auth-card .form-group:has(input[id*="secretkey"]),
.cs-template .cs-auth-card .mb-3:has(input[name*="secretkey"]),
.cs-template .cs-auth-card .mb-3:has(input[id*="secretkey"]),
.cs-template .cs-auth-card .control-group:has([class*="passkey"]),
.cs-template .cs-auth-card .form-group:has([class*="passkey"]),
.cs-template .cs-auth-card .mb-3:has([class*="passkey"]),
.cs-template .cs-auth-card .control-group:has([data-webauthn-button]),
.cs-template .cs-auth-card .form-group:has([data-webauthn-button]),
.cs-template .cs-auth-card .mb-3:has([data-webauthn-button]) {
  display: none !important;
}

.cs-template .cs-auth-card label.cs-auth-remember-label,
.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]) label,
.cs-template .cs-auth-card .form-check label,
.cs-template .cs-auth-card .remember label,
.cs-template .cs-auth-card .mod-login__remember label,
.cs-template .cs-auth-card .com-users-login__remember label {
  color: #ff6a00 !important;
  font-weight: 850 !important;
}

.cs-template .cs-auth-card input[type="text"],
.cs-template .cs-auth-card input[type="password"],
.cs-template .cs-auth-card input[type="email"] {
  min-height: 42px !important;
}

.cs-template .cs-auth-card .btn,
.cs-template .cs-auth-card button,
.cs-template .cs-auth-card input[type="submit"] {
  min-height: 42px !important;
}


/* v1.0.41 restore original-style sidebar buttons and remove logo frame */
.cs-template .brand-mark,
.cs-template .brand-mark--split-original,
.cs-template .brand-mark--logo-original,
.cs-template .brand-mark--stacked {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
}

.cs-template .brand-mark img,
.cs-template .brand-mark__symbol-original,
.cs-template .brand-mark__wordmark-original,
.cs-template .brand-mark__logo-original {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Return the menu buttons to the clean initial look: only the active item is boxed. */
.cs-template .side-rail {
  background: #ffffff !important;
  border-right: 1px solid #dbe5f0 !important;
  padding: 14px 10px 16px !important;
  gap: 10px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  gap: 8px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 6px 10px !important;
  gap: 11px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  background: #f7fbff !important;
  border-color: #dbe5f0 !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: #eef4fb !important;
  border: 1.4px solid #d1deec !important;
  box-shadow: none !important;
}

/* Keep only one orange page indicator, as in the initial visual reference. */
.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before,
.cs-template .side-rail .mod-menu .current > a::before,
.cs-template .side-rail .nav .current > a::before,
.cs-template .side-rail .mod-menu a[aria-current="page"]::before,
.cs-template .side-rail .nav a[aria-current="page"]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: -9px !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: #ff6a00 !important;
}

/* Icon boxes: rounded, clean, no heavy outer button border on inactive items. */
.cs-template .side-rail .cs-rail-menu__icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 4px !important;
  background: #ffffff !important;
  border: 1.2px solid #d4dfed !important;
  border-radius: 13px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box {
  border-color: #c2d0e2 !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link .cs-rail-menu__icon-box {
  border-color: #cbd8e8 !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  color: #08285d !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

/* Keep settings matching the initial menu-button style. */
.cs-template .rail-nav--secondary .cs-rail-menu__link.is-active,
.cs-template .rail-nav--secondary .rail-nav__link.is-active {
  background: #eef4fb !important;
  border-color: #d1deec !important;
}

/* Remove any old compact/sidebar toggle artifacts if cached. */
.cs-template .topbar__menu--toggle,
.cs-template .rail-collapse,
.cs-template [data-action="toggle-rail"] {
  display: none !important;
}


/* v1.0.42 final login cleanup */
body.cs-template.cs-auth-only {
  background: #f4f7fb !important;
}

.cs-template .cs-auth-shell {
  width: min(360px, 100%) !important;
  gap: 16px !important;
}

.cs-template .cs-auth-brand {
  margin-bottom: 0 !important;
}

.cs-template .cs-auth-brand__symbol {
  max-width: 150px !important;
}

.cs-template .cs-auth-brand__wordmark {
  max-width: 300px !important;
}

.cs-template .cs-auth-card {
  width: min(330px, 100%) !important;
  max-width: 330px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-card::before,
.cs-template .cs-auth-card #system-message-container,
.cs-template .cs-auth-card .joomla-messages,
.cs-template .cs-auth-card .joomla-alert,
.cs-template .cs-auth-card .alert,
.cs-template .cs-auth-card .message,
.cs-template .cs-auth-card .system-message,
.cs-template .cs-auth-card .com-users-login__passkey,
.cs-template .cs-auth-card .passkey,
.cs-template .cs-auth-card .passkey-login,
.cs-template .cs-auth-card [class*="passkey"],
.cs-template .cs-auth-card [data-webauthn-button],
.cs-template .cs-auth-card a[href*="view=reset"],
.cs-template .cs-auth-card a[href*="view=remind"],
.cs-template .cs-auth-card input[name*="secretkey"],
.cs-template .cs-auth-card input[id*="secretkey"],
.cs-template .cs-auth-card label[for*="secretkey"],
.cs-template .cs-auth-card input[name*="otp"],
.cs-template .cs-auth-card input[id*="otp"],
.cs-template .cs-auth-card label[for*="otp"],
.cs-template .cs-auth-card ul,
.cs-template .cs-auth-card .com-users-login__options,
.cs-template .cs-auth-card .login + ul,
.cs-template .cs-auth-card .list-unstyled,
.cs-template .cs-auth-card .nav {
  display: none !important;
}

.cs-template .cs-auth-card .com-users-login,
.cs-template .cs-auth-card .login,
.cs-template .cs-auth-card form,
.cs-template .cs-auth-card fieldset {
  display: grid !important;
  gap: 0.78rem !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-card .control-group,
.cs-template .cs-auth-card .form-group,
.cs-template .cs-auth-card .mb-3,
.cs-template .cs-auth-card .control-label,
.cs-template .cs-auth-card .controls {
  display: grid !important;
  gap: 0.35rem !important;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
}

.cs-template .cs-auth-card label {
  color: #0b285f !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

.cs-template .cs-auth-card input[type="text"],
.cs-template .cs-auth-card input[type="password"],
.cs-template .cs-auth-card input[type="email"],
.cs-template .cs-auth-card input[type="search"],
.cs-template .cs-auth-card input[type="url"],
.cs-template .cs-auth-card input[type="tel"] {
  min-height: 42px !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1.4px solid #cad8e9 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-card input[type="text"]:focus,
.cs-template .cs-auth-card input[type="password"]:focus {
  border-color: #ff7a21 !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 33, 0.14) !important;
}

.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]),
.cs-template .cs-auth-card .form-check,
.cs-template .cs-auth-card .remember,
.cs-template .cs-auth-card .mod-login__remember,
.cs-template .cs-auth-card .com-users-login__remember {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-top: 0.08rem !important;
}

.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]) label,
.cs-template .cs-auth-card .form-check label,
.cs-template .cs-auth-card .remember label,
.cs-template .cs-auth-card .mod-login__remember label,
.cs-template .cs-auth-card .com-users-login__remember label {
  color: #ff6a00 !important;
  margin: 0 !important;
}

.cs-template .cs-auth-card input[type="checkbox"] {
  width: 0.95rem !important;
  height: 0.95rem !important;
  accent-color: #ff6a00 !important;
}

.cs-template .cs-auth-card .btn,
.cs-template .cs-auth-card button,
.cs-template .cs-auth-card input[type="submit"] {
  min-height: 44px !important;
  width: 100% !important;
  border-radius: 11px !important;
  font-weight: 850 !important;
}

.cs-template .cs-auth-card button[type="submit"],
.cs-template .cs-auth-card .btn-primary,
.cs-template .cs-auth-card input[type="submit"] {
  background: #142b63 !important;
  border-color: #142b63 !important;
  color: #ffffff !important;
}


/* v1.0.43 visible clean login form */
.cs-template .cs-auth-shell {
  width: min(360px, 100%) !important;
  gap: 16px !important;
}

.cs-template .cs-auth-card {
  width: min(330px, 100%) !important;
  max-width: 330px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.cs-template .cs-auth-card .com-users-login,
.cs-template .cs-auth-card .login,
.cs-template .cs-auth-card form,
.cs-template .cs-auth-card fieldset {
  display: grid !important;
  gap: 0.78rem !important;
  width: 100% !important;
  background: transparent !important;
}

.cs-template .cs-auth-card .control-group,
.cs-template .cs-auth-card .form-group,
.cs-template .cs-auth-card .mb-3,
.cs-template .cs-auth-card .control-label,
.cs-template .cs-auth-card .controls {
  display: grid !important;
  gap: 0.35rem !important;
  width: 100% !important;
  margin: 0 !important;
}

.cs-template .cs-auth-card input[type="text"],
.cs-template .cs-auth-card input[type="password"],
.cs-template .cs-auth-card input[type="email"] {
  display: block !important;
  min-height: 42px !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1.4px solid #cad8e9 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-card label {
  color: #0b285f !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]),
.cs-template .cs-auth-card .form-check,
.cs-template .cs-auth-card .remember,
.cs-template .cs-auth-card .mod-login__remember,
.cs-template .cs-auth-card .com-users-login__remember {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-top: 0.05rem !important;
}

.cs-template .cs-auth-card .control-group:has(input[type="checkbox"]) label,
.cs-template .cs-auth-card .form-check label,
.cs-template .cs-auth-card .remember label,
.cs-template .cs-auth-card .mod-login__remember label,
.cs-template .cs-auth-card .com-users-login__remember label {
  color: #ff6a00 !important;
  margin: 0 !important;
}

.cs-template .cs-auth-card input[type="checkbox"] {
  display: inline-block !important;
  width: 0.95rem !important;
  height: 0.95rem !important;
  accent-color: #ff6a00 !important;
}

.cs-template .cs-auth-card button[type="submit"],
.cs-template .cs-auth-card .btn-primary,
.cs-template .cs-auth-card input[type="submit"] {
  display: block !important;
  min-height: 44px !important;
  width: 100% !important;
  border-radius: 11px !important;
  font-weight: 850 !important;
  background: #142b63 !important;
  border-color: #142b63 !important;
  color: #ffffff !important;
}

.cs-template .cs-auth-card #system-message-container,
.cs-template .cs-auth-card .joomla-messages,
.cs-template .cs-auth-card .joomla-alert,
.cs-template .cs-auth-card .alert,
.cs-template .cs-auth-card .message,
.cs-template .cs-auth-card .system-message,
.cs-template .cs-auth-card .com-users-login__passkey,
.cs-template .cs-auth-card .passkey,
.cs-template .cs-auth-card .passkey-login,
.cs-template .cs-auth-card [class*="passkey"],
.cs-template .cs-auth-card [data-webauthn-button],
.cs-template .cs-auth-card a[href*="view=reset"],
.cs-template .cs-auth-card a[href*="view=remind"],
.cs-template .cs-auth-card input[name*="secretkey"],
.cs-template .cs-auth-card input[id*="secretkey"],
.cs-template .cs-auth-card label[for*="secretkey"],
.cs-template .cs-auth-card input[name*="otp"],
.cs-template .cs-auth-card input[id*="otp"],
.cs-template .cs-auth-card label[for*="otp"],
.cs-template .cs-auth-card ul,
.cs-template .cs-auth-card .com-users-login__options,
.cs-template .cs-auth-card .login + ul,
.cs-template .cs-auth-card .list-unstyled,
.cs-template .cs-auth-card .nav {
  display: none !important;
}


/* v1.0.44 minimal login form and reference-style left sidebar */
body.cs-template.cs-auth-only {
  background: #f4f7fb !important;
}

.cs-template .cs-auth-shell {
  width: min(360px, 100%) !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 28px 18px !important;
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 16px !important;
}

.cs-template .cs-auth-brand {
  display: grid !important;
  justify-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

.cs-template .cs-auth-brand__symbol {
  width: 146px !important;
  max-width: 146px !important;
  height: auto !important;
}

.cs-template .cs-auth-brand__wordmark {
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
}

.cs-template .cs-auth-card,
.cs-template .cs-auth-card--minimal {
  width: min(320px, 100%) !important;
  max-width: 320px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.cs-template .cs-auth-card::before,
.cs-template .cs-auth-card #system-message-container,
.cs-template .cs-auth-card .joomla-messages,
.cs-template .cs-auth-card .alert,
.cs-template .cs-auth-card .message,
.cs-template .cs-auth-card .system-message,
.cs-template .cs-auth-card .joomla-alert,
.cs-template .cs-auth-card .com-users-login,
.cs-template .cs-auth-card .login,
.cs-template .cs-auth-card fieldset,
.cs-template .cs-auth-card ul,
.cs-template .cs-auth-card .com-users-login__options,
.cs-template .cs-auth-card .login + ul,
.cs-template .cs-auth-card .passkey,
.cs-template .cs-auth-card [class*="passkey"],
.cs-template .cs-auth-card [data-webauthn-button] {
  display: none !important;
}

.cs-template .cs-auth-card .cs-auth-form {
  display: grid !important;
  gap: 0.82rem !important;
  width: 100% !important;
  background: transparent !important;
}

.cs-template .cs-auth-field {
  display: grid !important;
  gap: 0.34rem !important;
  width: 100% !important;
}

.cs-template .cs-auth-field label {
  color: #0b285f !important;
  font-size: 0.83rem !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

.cs-template .cs-auth-field input {
  display: block !important;
  width: 100% !important;
  min-height: 42px !important;
  background: #ffffff !important;
  border: 1.45px solid #c8d7e9 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #0b285f !important;
}

.cs-template .cs-auth-field input:focus {
  border-color: #ff7a21 !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 33, 0.15) !important;
  outline: none !important;
}

.cs-template .cs-auth-remember {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  color: #ff6a00 !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  margin: 0 !important;
}

.cs-template .cs-auth-remember input {
  width: 0.95rem !important;
  height: 0.95rem !important;
  accent-color: #ff6a00 !important;
  margin: 0 !important;
}

.cs-template .cs-auth-submit {
  width: 100% !important;
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #142b63 !important;
  color: #ffffff !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

.cs-template .cs-auth-submit:hover,
.cs-template .cs-auth-submit:focus {
  background: #0f2252 !important;
}

/* Reference-style sidebar: rounded white buttons, active blue tint, single orange bar. */
.cs-template .side-rail {
  background: #ffffff !important;
  border-right: 1px solid #dce5f1 !important;
  padding: 14px 10px 16px !important;
  gap: 10px !important;
}

.cs-template .brand-mark,
.cs-template .brand-mark--split-original {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
}

.cs-template .brand-mark--split-original {
  min-height: 122px !important;
  margin: 0 auto 8px !important;
  padding: 3px 2px 6px !important;
  gap: 3px !important;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  max-width: 118px !important;
  max-height: 62px !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  max-width: 132px !important;
  max-height: 50px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 8px 12px !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1.45px solid #d2deec !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover {
  background: #f7fbff !important;
  border-color: #c2d1e2 !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: #eef4fb !important;
  border-color: #c7d5e6 !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: -10px !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: #ff6a00 !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 5px !important;
  border: 1.35px solid #d2deec !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__icon {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 38px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
}

.cs-template .side-rail .cs-rail-menu__text {
  color: #08285d !important;
  font-size: 15px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 42px) !important;
  max-width: 128px !important;
  min-height: 118px !important;
  margin: 4px auto !important;
  padding: 8px !important;
  background: #ffffff !important;
  border: 1.45px solid #d7e1ee !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

.cs-template .side-rail__team-logo-image {
  max-width: 92% !important;
  max-height: 96px !important;
}

.cs-template .topbar__menu--toggle,
.cs-template .rail-collapse,
.cs-template [data-action="toggle-rail"] {
  display: none !important;
}


/* v1.0.45 minimal guest login */
.cs-template.cs-auth-only .cs-auth-shell {
  min-height: 100vh;
  padding: clamp(36px, 7vh, 64px) 24px;
}

.cs-template.cs-auth-only .cs-auth-brand {
  margin-bottom: 20px;
}

.cs-template.cs-auth-only .cs-auth-brand__symbol {
  max-width: 120px;
}

.cs-template.cs-auth-only .cs-auth-brand__wordmark {
  max-width: 320px;
}

.cs-template.cs-auth-only .cs-auth-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100%;
  max-width: 320px;
}

.cs-login-minimal,
.cs-login-minimal-form {
  width: 100%;
}

.cs-login-minimal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-login-minimal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-login-minimal__field label {
  margin: 0;
  color: #142b6f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.cs-login-minimal__field input {
  width: 100%;
  height: 44px;
  border: 1.5px solid #c8d4e6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #142b6f;
  font-size: 15px;
  padding: 0 14px;
  box-shadow: none;
}

.cs-login-minimal__field input:focus {
  outline: none;
  border-color: #ff6a13;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.12);
}

.cs-login-minimal__submit {
  align-self: center;
  min-width: 164px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: #ff6a13;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 40px;
  text-align: center;
  padding: 0 22px;
  box-shadow: 0 10px 24px rgba(255, 106, 19, 0.22);
}

.cs-login-minimal__submit:hover,
.cs-login-minimal__submit:focus {
  background: #ef5e08;
  color: #fff;
}

.cs-template.cs-auth-only #system-message-container,
.cs-template.cs-auth-only .joomla-alert,
.cs-template.cs-auth-only .alert,
.cs-template.cs-auth-only .message,
.cs-template.cs-auth-only .system-message,
.cs-template.cs-auth-only .mod-login__remember,
.cs-template.cs-auth-only .com-users-login__remember,
.cs-template.cs-auth-only .com-users-login__passkey,
.cs-template.cs-auth-only .passkey,
.cs-template.cs-auth-only .passkey-login,
.cs-template.cs-auth-only [class*="passkey"],
.cs-template.cs-auth-only [data-webauthn-button],
.cs-template.cs-auth-only a[href*="view=reset"],
.cs-template.cs-auth-only a[href*="view=remind"] {
  display: none !important;
}


/* v1.0.46 sidebar visual enhancement and Jayco logo card polish */
.cs-template .side-rail {
  padding: 16px 11px 18px !important;
  gap: 12px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
}

.cs-template .brand-mark--split-original {
  margin: 0 auto 10px !important;
  padding: 4px 2px 8px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  gap: 10px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 68px !important;
  padding: 9px 12px !important;
  gap: 13px !important;
  border: 1.5px solid #d2dceb !important;
  border-radius: 19px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.96) inset !important;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%) !important;
  border-color: #c4d2e2 !important;
  box-shadow: 0 8px 18px rgba(17, 39, 91, 0.06), 0 1px 0 rgba(255,255,255,0.96) inset !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: linear-gradient(180deg, #f6faff 0%, #edf3fb 100%) !important;
  border-color: #c4d3e5 !important;
  box-shadow: 0 10px 22px rgba(20, 43, 99, 0.06), 0 1px 0 rgba(255,255,255,0.96) inset !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before {
  left: -9px !important;
  top: 10px !important;
  bottom: 10px !important;
  width: 3px !important;
  background: linear-gradient(180deg, #ff7c2a 0%, #ff5f00 100%) !important;
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.08) !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  flex: 0 0 50px !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 5px !important;
  border: 1.45px solid #d0dced !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link .cs-rail-menu__icon-box {
  border-color: #c6d5e7 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 6px 14px rgba(17, 39, 91, 0.05) !important;
}

.cs-template .side-rail .cs-rail-menu__icon {
  max-width: 40px !important;
  max-height: 40px !important;
}

.cs-template .side-rail .cs-rail-menu__text {
  color: #092a60 !important;
  font-size: 15px !important;
  line-height: 1.14 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 32px) !important;
  max-width: 134px !important;
  min-height: 120px !important;
  margin: 6px auto !important;
  padding: 12px 10px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px dashed #c9d6e7 !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), inset 0 -12px 18px rgba(228,236,245,0.32) !important;
}

.cs-template .side-rail__team-logo-image {
  max-width: 92% !important;
  max-height: 98px !important;
  display: block !important;
}


/* v1.0.47 login redirect, compact sidebar icons and transparent Jayco image */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 60px !important;
  padding: 5px 10px !important;
  gap: 10px !important;
  border-radius: 17px !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 3px !important;
  border-radius: 16px !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail .cs-rail-menu__text {
  font-size: 14.5px !important;
  line-height: 1.13 !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 34px) !important;
  max-width: 132px !important;
  min-height: 116px !important;
  padding: 10px 9px !important;
  border: 1px dashed #c9d6e7 !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,250,252,0.86)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), inset 0 -14px 18px rgba(228,236,245,0.32) !important;
}

.cs-template .side-rail__team-logo-image {
  max-width: 94% !important;
  max-height: 96px !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
}

.cs-template .cs-auth-remember,
.cs-template .cs-auth-card input[name=\"remember\"],
.cs-template .cs-auth-card input[type=\"checkbox\"] {
  display: none !important;
}

.cs-template .cs-auth-submit,
.cs-login-minimal__submit {
  width: auto !important;
  min-width: 156px !important;
  max-width: 180px !important;
  min-height: 40px !important;
  align-self: center !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #ff6a13 !important;
  color: #fff !important;
  font-weight: 850 !important;
  box-shadow: 0 10px 24px rgba(255, 106, 19, 0.2) !important;
}

.cs-template .cs-auth-submit:hover,
.cs-login-minimal__submit:hover {
  background: #f05e05 !important;
}


/* v1.0.48 logo artifact cleanup */
.cs-template .brand-mark,
.cs-template .brand-mark--split-original,
.cs-template .cs-auth-brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.cs-template .brand-mark__symbol-original,
.cs-template .brand-mark__wordmark-original,
.cs-template .cs-auth-brand__symbol,
.cs-template .cs-auth-brand__wordmark,
.cs-template .topbar-brand__logo,
.cs-template .team-lockup--brand img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.cs-template .side-rail__team-logo-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* v1.0.50 sidebar balance: smaller buttons, larger icons, settings above Jayco */
.cs-template .side-rail {
  padding: 14px 10px 16px !important;
  gap: 10px !important;
}

.cs-template .brand-mark--split-original {
  margin: 0 auto 8px !important;
  padding: 2px 0 6px !important;
}

.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  gap: 8px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 54px !important;
  padding: 4px 9px !important;
  gap: 9px !important;
  border-radius: 16px !important;
  align-items: center !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  top: 9px !important;
  bottom: 9px !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 1px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 14px !important;
  line-height: 1.1 !important;
}

.cs-template .side-rail .rail-nav--secondary {
  margin-top: 0 !important;
}

.cs-template .side-rail__flex-gap--top {
  flex: 1 1 auto !important;
  min-height: 6px !important;
}

.cs-template .side-rail__flex-gap--bottom {
  flex: 0 0 8px !important;
  min-height: 8px !important;
}

.cs-template .side-rail__team-logo {
  order: 10 !important;
  width: calc(var(--side-rail-width) - 36px) !important;
  max-width: 130px !important;
  min-height: 98px !important;
  margin: 0 auto 2px !important;
  padding: 8px 8px !important;
  border: 1.5px dashed #cfd9e6 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cs-template .side-rail__team-logo-image {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 84px !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link[data-nav-key="settings"],
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"] {
  min-height: 52px !important;
}

/* v1.0.51 active rail indicator spans full menu button height */
.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before,
.cs-template .side-rail .mod-menu .current > a::before,
.cs-template .side-rail .nav .current > a::before,
.cs-template .side-rail .mod-menu a[aria-current="page"]::before,
.cs-template .side-rail .nav a[aria-current="page"]::before {
  top: 0 !important;
  bottom: 0 !important;
  border-radius: 16px !important;
}


/* v1.0.52 inline settings with compact buttons and fuller icons */
.cs-template .side-rail {
  gap: 8px !important;
  padding: 14px 10px 16px !important;
}

.cs-template .rail-nav--primary.rail-nav--all,
.cs-template .rail-nav--primary.rail-nav--all .cs-rail-menu {
  gap: 7px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 46px !important;
  padding: 3px 8px !important;
  gap: 8px !important;
  border-radius: 15px !important;
  align-items: center !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  top: 0 !important;
  bottom: 0 !important;
  border-radius: 15px !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 14px !important;
  line-height: 1.05 !important;
}

.cs-template .side-rail .rail-nav--secondary,
.cs-template .side-rail__flex-gap--top {
  display: none !important;
}

.cs-template .side-rail__flex-gap--bottom {
  flex: 1 1 auto !important;
  min-height: 10px !important;
}

.cs-template .side-rail__team-logo {
  order: 20 !important;
  margin: 0 auto 0 !important;
  width: calc(var(--side-rail-width) - 36px) !important;
  max-width: 130px !important;
  min-height: 98px !important;
  padding: 8px 8px !important;
  border: 1.5px dashed #cfd9e6 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cs-template .side-rail__team-logo-image {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 84px !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* v1.0.53 menu label size -1 and full-height orange active bar */
.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 13px !important;
  line-height: 1.02 !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 46px !important;
  align-items: center !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  inset: 0 auto 0 -8px !important;
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
  border-radius: 15px !important;
}


/* v1.0.54 unify sidebar button size and bind active orange bar to the button */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.cs-template .side-rail .cs-rail-menu__link[data-nav-key="settings"],
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"] {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 10px !important;
  border-radius: 15px !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  width: 38px !important;
  height: 36px !important;
  min-width: 38px !important;
  min-height: 36px !important;
  border-radius: 12px !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 13px !important;
  line-height: 1 !important;
}

/* disable the detached pseudo-indicator and replace it with an inset accent line */
.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before {
  content: none !important;
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  background: #eef3f9 !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: #edf2f8 !important;
  box-shadow: inset 4px 0 0 #ff7a1a, inset 0 0 0 1px rgba(23, 48, 104, 0.08) !important;
}


/* v1.0.55 remove any residual external orange marker and keep only the indicator integrated in the active button */
.cs-template .side-rail .cs-rail-menu__item::before,
.cs-template .side-rail .cs-rail-menu__item::after,
.cs-template .side-rail .rail-nav__item::before,
.cs-template .side-rail .rail-nav__item::after,
.cs-template .side-rail li::before,
.cs-template .side-rail li::after,
.cs-template .side-rail .mod-menu li::before,
.cs-template .side-rail .mod-menu li::after,
.cs-template .side-rail .nav li::before,
.cs-template .side-rail .nav li::after,
.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__link::after,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .rail-nav__link::after,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .mod-menu a::after,
.cs-template .side-rail .nav a::before,
.cs-template .side-rail .nav a::after {
  content: none !important;
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  border-left: 4px solid #ff7a1a !important;
  box-shadow: inset 0 0 0 1px rgba(23, 48, 104, 0.08) !important;
  padding-left: 6px !important;
}


/* v1.0.82 - drastic sidebar orange external line removal + defined button borders */
/* Kill every external/sidebar pseudo marker that may have survived from older releases. */
.cs-template .side-rail *::before,
.cs-template .side-rail *::after,
.side-rail *::before,
.side-rail *::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* All sidebar buttons keep the same clear border in every state. */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  align-items: center !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 10px !important;
  gap: 8px !important;
  border: 2px solid #cfdbea !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Hover state: border remains visible and defined. */
.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover,
.side-rail .cs-rail-menu__link:hover,
.side-rail .rail-nav__link:hover,
.side-rail .mod-menu a:hover,
.side-rail .nav a:hover {
  border-color: #b9c8da !important;
  background: #f7fbff !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Selected state: no external orange line. The accent is the button's own left border. */
.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .active > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"],
.side-rail .cs-rail-menu__link.is-active,
.side-rail .rail-nav__link.is-active,
.side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.side-rail .mod-menu .active > a,
.side-rail .mod-menu .current > a,
.side-rail .nav .active > a,
.side-rail .nav .current > a,
.side-rail .current > a,
.side-rail .active > a,
.side-rail .mod-menu a[aria-current="page"],
.side-rail .nav a[aria-current="page"] {
  border-top-color: #b9c8da !important;
  border-right-color: #b9c8da !important;
  border-bottom-color: #b9c8da !important;
  border-left: 4px solid #ff7a1a !important;
  background: #eef4fb !important;
  box-shadow: none !important;
  padding-left: 8px !important;
  transform: none !important;
}

/* Keep icon boxes inside the button clean and aligned. */
.cs-template .side-rail .cs-rail-menu__icon-box,
.side-rail .cs-rail-menu__icon-box {
  width: 38px !important;
  height: 36px !important;
  min-width: 38px !important;
  min-height: 36px !important;
  border: 1.5px solid #d4dfed !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img,
.side-rail .cs-rail-menu__icon,
.side-rail .rail-nav__link img,
.side-rail .mod-menu img,
.side-rail .nav img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span,
.side-rail .cs-rail-menu__text,
.side-rail .rail-nav__text,
.side-rail .mod-menu a span,
.side-rail .nav a span {
  font-size: 13px !important;
  line-height: 1 !important;
  color: #08285d !important;
}


/* v1.0.82 - definitive left sidebar orange stray-bar removal */
.cs-template .side-rail,
.side-rail {
  overflow: visible !important;
}

.cs-template .side-rail ul,
.cs-template .side-rail li,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav,
.side-rail ul,
.side-rail li,
.side-rail .mod-menu,
.side-rail .nav {
  list-style: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Remove any detached orange marker from wrappers/items/pseudo-elements. */
.cs-template .side-rail ul::before,
.cs-template .side-rail ul::after,
.cs-template .side-rail li::before,
.cs-template .side-rail li::after,
.cs-template .side-rail .mod-menu::before,
.cs-template .side-rail .mod-menu::after,
.cs-template .side-rail .nav::before,
.cs-template .side-rail .nav::after,
.cs-template .side-rail .mod-menu li::before,
.cs-template .side-rail .mod-menu li::after,
.cs-template .side-rail .nav li::before,
.cs-template .side-rail .nav li::after,
.side-rail ul::before,
.side-rail ul::after,
.side-rail li::before,
.side-rail li::after,
.side-rail .mod-menu::before,
.side-rail .mod-menu::after,
.side-rail .nav::before,
.side-rail .nav::after,
.side-rail .mod-menu li::before,
.side-rail .mod-menu li::after,
.side-rail .nav li::before,
.side-rail .nav li::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Keep all buttons identical in size and with a clear border. */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 12px !important;
  border: 2px solid #cfdbea !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover,
.side-rail .cs-rail-menu__link:hover,
.side-rail .rail-nav__link:hover,
.side-rail .mod-menu a:hover,
.side-rail .nav a:hover {
  border-color: #b9c8da !important;
  background: #f7fbff !important;
  box-shadow: none !important;
}

/* Active/current state without any orange external or internal bar. */
.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .active > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"],
.side-rail .cs-rail-menu__link.is-active,
.side-rail .rail-nav__link.is-active,
.side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.side-rail .mod-menu .active > a,
.side-rail .mod-menu .current > a,
.side-rail .nav .active > a,
.side-rail .nav .current > a,
.side-rail .current > a,
.side-rail .active > a,
.side-rail .mod-menu a[aria-current="page"],
.side-rail .nav a[aria-current="page"] {
  padding-left: 12px !important;
  border: 2px solid #c5d5e8 !important;
  background: #eef4fb !important;
  box-shadow: none !important;
  outline: 0 !important;
}


/* v1.0.82 - keep button graphic effect, finer minimalist borders, no external orange bar */
.cs-template .side-rail,
.side-rail {
  overflow: visible !important;
}

/* Definitive removal of external/orphan orange markers. */
.cs-template .side-rail ul::before,
.cs-template .side-rail ul::after,
.cs-template .side-rail li::before,
.cs-template .side-rail li::after,
.cs-template .side-rail .cs-rail-menu__item::before,
.cs-template .side-rail .cs-rail-menu__item::after,
.cs-template .side-rail .rail-nav__item::before,
.cs-template .side-rail .rail-nav__item::after,
.cs-template .side-rail .mod-menu::before,
.cs-template .side-rail .mod-menu::after,
.cs-template .side-rail .nav::before,
.cs-template .side-rail .nav::after,
.side-rail ul::before,
.side-rail ul::after,
.side-rail li::before,
.side-rail li::after,
.side-rail .cs-rail-menu__item::before,
.side-rail .cs-rail-menu__item::after,
.side-rail .rail-nav__item::before,
.side-rail .rail-nav__item::after,
.side-rail .mod-menu::before,
.side-rail .mod-menu::after,
.side-rail .nav::before,
.side-rail .nav::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Maintain the graphical button effect with finer, minimalist borders. */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  border: 1px solid #c7d3e1 !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 2px 6px rgba(18, 43, 91, 0.018) !important;
  box-sizing: border-box !important;
}

/* Hover keeps borders crisp and the same visual language. */
.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover,
.side-rail .cs-rail-menu__link:hover,
.side-rail .rail-nav__link:hover,
.side-rail .mod-menu a:hover,
.side-rail .nav a:hover {
  border-color: #b2c1d3 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 3px 8px rgba(18, 43, 91, 0.028) !important;
}

/* Active/selected: defined border, no external orange line. */
.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .nav .current > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .active > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"],
.side-rail .cs-rail-menu__link.is-active,
.side-rail .rail-nav__link.is-active,
.side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.side-rail .mod-menu .active > a,
.side-rail .mod-menu .current > a,
.side-rail .nav .active > a,
.side-rail .nav .current > a,
.side-rail .current > a,
.side-rail .active > a,
.side-rail .mod-menu a[aria-current="page"],
.side-rail .nav a[aria-current="page"] {
  border: 1px solid #9fb3ca !important;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 3px 8px rgba(18, 43, 91, 0.028) !important;
  outline: 0 !important;
}

/* Keep any active marker, if used, internal only. */
.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before,
.side-rail .cs-rail-menu__link::before,
.side-rail .rail-nav__link::before,
.side-rail .mod-menu a::before,
.side-rail .nav a::before {
  content: none !important;
  display: none !important;
}


/* v1.0.82 - Dashboard document-style layout and final sidebar icon micro-tuning */
.cs-app-screen--dashboard .cs-app-main {
  display: grid !important;
  gap: 14px !important;
}

.cs-app-screen--dashboard .cs-app-hero {
  margin-bottom: 0 !important;
}

.cs-dashboard-docstyle .cs-category-card,
.cs-dashboard-tile {
  min-height: 66px !important;
}

.cs-toolbar--dashboard {
  justify-content: flex-start !important;
}

.cs-toolbar--dashboard .cs-btn {
  min-width: 128px !important;
}

/* Optical size variables for menu icons: each icon is tuned so its inner drawing appears similar in size. */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  --cs-nav-icon-size: 34px;
  --cs-nav-icon-scale: 1;
}

.cs-template .side-rail .cs-rail-menu__link--dashboard,
.cs-template .side-rail .rail-nav__link[data-nav-key="dashboard"],
.side-rail .cs-rail-menu__link--dashboard,
.side-rail .rail-nav__link[data-nav-key="dashboard"] {
  --cs-nav-icon-size: 33px;
  --cs-nav-icon-scale: 0.98;
}

.cs-template .side-rail .cs-rail-menu__link--documents,
.cs-template .side-rail .rail-nav__link[data-nav-key="documents"],
.side-rail .cs-rail-menu__link--documents,
.side-rail .rail-nav__link[data-nav-key="documents"] {
  --cs-nav-icon-size: 36px;
  --cs-nav-icon-scale: 1.02;
}

.cs-template .side-rail .cs-rail-menu__link--inventory,
.cs-template .side-rail .rail-nav__link[data-nav-key="inventory"],
.side-rail .cs-rail-menu__link--inventory,
.side-rail .rail-nav__link[data-nav-key="inventory"] {
  --cs-nav-icon-size: 38px;
  --cs-nav-icon-scale: 1.06;
}

.cs-template .side-rail .cs-rail-menu__link--bikes,
.cs-template .side-rail .rail-nav__link[data-nav-key="bikes"],
.side-rail .cs-rail-menu__link--bikes,
.side-rail .rail-nav__link[data-nav-key="bikes"] {
  --cs-nav-icon-size: 39px;
  --cs-nav-icon-scale: 1.07;
}

.cs-template .side-rail .cs-rail-menu__link--mechanics,
.cs-template .side-rail .rail-nav__link[data-nav-key="mechanics"],
.side-rail .cs-rail-menu__link--mechanics,
.side-rail .rail-nav__link[data-nav-key="mechanics"] {
  --cs-nav-icon-size: 39px;
  --cs-nav-icon-scale: 1.05;
}

.cs-template .side-rail .cs-rail-menu__link--logistics,
.cs-template .side-rail .rail-nav__link[data-nav-key="logistics"],
.side-rail .cs-rail-menu__link--logistics,
.side-rail .rail-nav__link[data-nav-key="logistics"] {
  --cs-nav-icon-size: 38px;
  --cs-nav-icon-scale: 1.04;
}

.cs-template .side-rail .cs-rail-menu__link--bike-fit,
.cs-template .side-rail .rail-nav__link[data-nav-key="bike-fit"],
.side-rail .cs-rail-menu__link--bike-fit,
.side-rail .rail-nav__link[data-nav-key="bike-fit"] {
  --cs-nav-icon-size: 37px;
  --cs-nav-icon-scale: 1.03;
}

.cs-template .side-rail .cs-rail-menu__link--settings,
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"],
.side-rail .cs-rail-menu__link--settings,
.side-rail .rail-nav__link[data-nav-key="settings"] {
  --cs-nav-icon-size: 34px;
  --cs-nav-icon-scale: 0.98;
}

.cs-template .side-rail .cs-rail-menu__icon-box,
.side-rail .cs-rail-menu__icon-box {
  width: 38px !important;
  height: 36px !important;
  min-width: 38px !important;
  min-height: 36px !important;
  overflow: hidden !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img,
.side-rail .cs-rail-menu__icon,
.side-rail .rail-nav__link img,
.side-rail .mod-menu img,
.side-rail .nav img {
  width: var(--cs-nav-icon-size) !important;
  height: var(--cs-nav-icon-size) !important;
  max-width: var(--cs-nav-icon-size) !important;
  max-height: var(--cs-nav-icon-size) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(var(--cs-nav-icon-scale)) !important;
  transform-origin: center center !important;
}


/* v1.0.82 - uppercase sidebar labels, wider left rail, larger logos, no night mode */
:root,
.cs-template {
  --side-rail-width: 258px;
}

html,
html[data-theme="dark"] {
  color-scheme: light !important;
  --page-bg: #f5f7fb;
  --page-bg-2: #eef3f8;
  --panel-bg: #ffffff;
  --panel-strong: #ffffff;
  --panel-muted: #f7f9fc;
  --surface-raised: #ffffff;
  --surface-soft: #fbfcfe;
  --line-soft: #dfe7f1;
  --line-strong: #c8d3e1;
  --line-table: #e8edf4;
  --text: #082451;
  --text-strong: #061b3b;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
}

html[data-theme="dark"] body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 260px),
    radial-gradient(circle at 100% 0%, rgba(242, 106, 18, 0.08), transparent 420px) !important;
}

.cs-template [data-action="toggle-theme"],
.cs-template .topbar__actions [data-action="toggle-theme"],
.cs-template button[data-action="toggle-theme"] {
  display: none !important;
}

.cs-template .app-shell {
  grid-template-columns: var(--side-rail-width) minmax(0, 1fr) !important;
}

.cs-template .side-rail {
  width: var(--side-rail-width) !important;
  padding: 16px 14px 18px !important;
}

.cs-template .brand-mark--split-original {
  width: calc(var(--side-rail-width) - 32px) !important;
  min-height: 142px !important;
  margin: 0 auto 16px !important;
  padding: 8px 6px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .brand-mark--split-original .brand-mark__symbol-original {
  width: auto !important;
  height: auto !important;
  max-width: 138px !important;
  max-height: 76px !important;
  object-fit: contain !important;
}

.cs-template .brand-mark--split-original .brand-mark__wordmark-original {
  width: auto !important;
  height: auto !important;
  max-width: 210px !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 58px !important;
  padding: 5px 12px !important;
  gap: 10px !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 12.6px !important;
  line-height: 1.05 !important;
  letter-spacing: 0.018em !important;
  font-weight: 850 !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 3px !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img {
  max-width: 36px !important;
  max-height: 36px !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 62px) !important;
  max-width: 184px !important;
  min-height: 124px !important;
  margin: 0 auto 8px !important;
  padding: 10px 12px !important;
  display: grid !important;
  place-items: center !important;
}

.cs-template .side-rail__team-logo-image {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 104px !important;
  object-fit: contain !important;
  object-position: center center !important;
}


/* v1.0.82 - sidebar menu buttons equal size */
.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__menu,
.cs-template .side-rail .rail-nav__fallback {
  gap: 8px !important;
}

.cs-template .side-rail .cs-rail-menu__item,
.cs-template .side-rail .rail-nav__item,
.side-rail .cs-rail-menu__item,
.side-rail .rail-nav__item {
  width: 100% !important;
  margin: 0 !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 6px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  border-radius: 16px !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box,
.side-rail .cs-rail-menu__icon-box {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.side-rail .cs-rail-menu__text,
.side-rail .rail-nav__text {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1 !important;
}


/* v1.0.82 - sidebar menu font size reduced by 1 point */
.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span,
.side-rail .cs-rail-menu__text,
.side-rail .rail-nav__text,
.side-rail .mod-menu a span,
.side-rail .nav a span {
  font-size: 11.6px !important;
  letter-spacing: 0.018em !important;
  line-height: 1.05 !important;
}


/* v1.0.82 - definitive equal sidebar button dimensions */
.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .rail-nav__fallback,
.cs-template .side-rail .rail-nav__menu,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav,
.side-rail .cs-rail-menu,
.side-rail .rail-nav__fallback,
.side-rail .rail-nav__menu,
.side-rail .mod-menu,
.side-rail .nav {
  display: grid !important;
  grid-auto-rows: 50px !important;
  gap: 8px !important;
  align-items: stretch !important;
}

.cs-template .side-rail .cs-rail-menu__item,
.cs-template .side-rail .rail-nav__item,
.cs-template .side-rail .mod-menu > li,
.cs-template .side-rail .nav > li,
.side-rail .cs-rail-menu__item,
.side-rail .rail-nav__item,
.side-rail .mod-menu > li,
.side-rail .nav > li {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  padding: 5px 11px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box,
.side-rail .cs-rail-menu__icon-box {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  padding: 2px !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__icon,
.cs-template .side-rail .rail-nav__link img,
.cs-template .side-rail .mod-menu img,
.cs-template .side-rail .nav img,
.side-rail .cs-rail-menu__icon,
.side-rail .rail-nav__link img,
.side-rail .mod-menu img,
.side-rail .nav img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span,
.side-rail .cs-rail-menu__text,
.side-rail .rail-nav__text,
.side-rail .mod-menu a span,
.side-rail .nav a span {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1 !important;
}


/* v1.0.82 - Material inventory core and Settings row refinement */
.cs-template .cs-toolbar--inventory {
  grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(145px, 180px)) auto auto !important;
}

.cs-template .cs-app-table--inventory {
  min-width: 1320px !important;
}

.cs-template .cs-app-table--inventory th,
.cs-template .cs-app-table--inventory td {
  white-space: nowrap !important;
}

.cs-template .cs-app-table--inventory .cs-table-notes {
  max-width: 260px !important;
  min-width: 180px !important;
  white-space: normal !important;
}

.cs-template .side-rail .cs-rail-menu__item--settings,
.side-rail .cs-rail-menu__item--settings {
  margin-top: 12px !important;
}

.cs-template .side-rail .cs-rail-menu__link--settings,
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"],
.side-rail .cs-rail-menu__link--settings,
.side-rail .rail-nav__link[data-nav-key="settings"] {
  background: transparent !important;
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: none !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  min-height: 46px !important;
  height: 46px !important;
  max-height: 46px !important;
}

.cs-template .side-rail .cs-rail-menu__link--settings:hover,
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"]:hover,
.cs-template .side-rail .cs-rail-menu__link--settings.is-active,
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"].is-active,
.cs-template .side-rail .cs-rail-menu__item--settings.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item--settings.current > .cs-rail-menu__link,
.side-rail .cs-rail-menu__link--settings:hover,
.side-rail .rail-nav__link[data-nav-key="settings"]:hover,
.side-rail .cs-rail-menu__link--settings.is-active,
.side-rail .rail-nav__link[data-nav-key="settings"].is-active {
  background: transparent !important;
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link--settings .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"] .cs-rail-menu__icon-box {
  border-color: #d4dfed !important;
  background: #ffffff !important;
}


/* v1.0.82 - Settings moved to topbar and inventory quantity summaries */
.cs-template .icon-button--settings-topbar {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  padding: 7px !important;
  border-radius: 11px !important;
  border: 1px solid #d6e1ef !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(8, 36, 81, 0.035) !important;
  display: inline-grid !important;
  place-items: center !important;
}

.cs-template .icon-button--settings-topbar:hover,
.cs-template .icon-button--settings-topbar:focus {
  background: #f7fbff !important;
  border-color: #bdcce0 !important;
}

.cs-template .icon-button--settings-topbar img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
}

.cs-template .side-rail .cs-rail-menu__link--settings,
.cs-template .side-rail .rail-nav__link[data-nav-key="settings"],
.side-rail .cs-rail-menu__link--settings,
.side-rail .rail-nav__link[data-nav-key="settings"] {
  display: none !important;
}

.cs-template .cs-side-list--metrics li span {
  gap: 0.35rem !important;
}


/* v1.0.82 - Material inventory input form */
.cs-template .cs-toolbar--inventory {
  grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(135px, 170px)) auto auto auto !important;
}

.cs-template .cs-inventory-form-panel[hidden] {
  display: none !important;
}

.cs-template .cs-material-form {
  display: grid;
  gap: 18px;
}

.cs-template .cs-material-form__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

.cs-template .cs-material-form label {
  display: grid;
  gap: 6px;
  color: var(--text-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.cs-template .cs-material-form input,
.cs-template .cs-material-form select,
.cs-template .cs-material-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 650;
}

.cs-template .cs-material-form__notes {
  grid-column: span 2;
}

.cs-template .cs-material-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cs-template .cs-app-table--inventory {
  min-width: 1660px !important;
}

.cs-template .cs-app-table--inventory th,
.cs-template .cs-app-table--inventory td {
  vertical-align: middle;
}

@media (max-width: 1180px) {
  .cs-template .cs-material-form__grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 700px) {
  .cs-template .cs-material-form__grid {
    grid-template-columns: 1fr;
  }

  .cs-template .cs-material-form__notes {
    grid-column: auto;
  }
}


/* v1.0.82 - remove Live Joomla Data badge from all app pages */
.cs-template .cs-app-screen--dynamic .cs-app-hero::after,
.cs-app-screen--dynamic .cs-app-hero::after {
  content: none !important;
  display: none !important;
}


/* v1.0.82 - Material inventory summary table and product cards */
.cs-template .cs-app-table--inventory-summary {
  min-width: 980px !important;
}

.cs-template .cs-app-table--inventory-summary th,
.cs-template .cs-app-table--inventory-summary td {
  white-space: nowrap !important;
}

.cs-template .cs-inventory-summary-row {
  cursor: pointer;
}

.cs-template .cs-inventory-summary-row:hover td {
  background: #f8fbff;
}

.cs-template .cs-product-detail-row[hidden] {
  display: none !important;
}

.cs-template .cs-product-detail-row td {
  padding: 0 !important;
  background: #fbfdff !important;
}

.cs-template .cs-product-card {
  margin: 10px 12px 14px;
  padding: 16px;
  border: 1px solid #dce6f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(8, 36, 81, 0.045);
}

.cs-template .cs-product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cs-template .cs-product-card__head strong {
  color: #082451;
  font-size: 1rem;
  font-weight: 900;
}

.cs-template .cs-product-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin: 0;
}

.cs-template .cs-product-card__grid div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #f9fbfe;
}

.cs-template .cs-product-card__grid dt {
  margin: 0 0 4px;
  color: #6b7b92;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-template .cs-product-card__grid dd {
  margin: 0;
  color: #082451;
  font-size: 0.82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.cs-template .cs-product-card__notes {
  grid-column: span 2;
}

.cs-template .cs-product-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .cs-template .cs-product-card__grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 720px) {
  .cs-template .cs-product-card__grid {
    grid-template-columns: 1fr;
  }
  .cs-template .cs-product-card__notes {
    grid-column: auto;
  }
}


/* v1.0.82 - Material inventory table without Date column */
.cs-template .cs-app-table--inventory-summary {
  min-width: 860px !important;
}


/* v1.0.82 - Material inventory summary table without Quantity column */
.cs-template .cs-app-table--inventory-summary {
  min-width: 760px !important;
}


/* v1.0.102 - functional topbar username logout button */
.cs-template .user-pill-form,
.user-pill-form {
  display: inline-flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.cs-template button.user-pill,
button.user-pill {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.cs-template .user-pill--logout:hover,
.user-pill--logout:hover {
  border-color: #c4d2e2;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  box-shadow: 0 8px 18px rgba(17, 39, 91, 0.06), 0 1px 0 rgba(255,255,255,0.96) inset;
  transform: translateY(-1px);
}

.cs-template .user-pill--logout:focus-visible,
.user-pill--logout:focus-visible {
  outline: 2px solid rgba(45, 107, 179, 0.32);
  outline-offset: 2px;
}


/* v1.0.103 - keep previous visual style for functional username logout control */
.cs-template .user-pill-form,
.user-pill-form {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cs-template button.user-pill,
button.user-pill {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, auto) 14px !important;
  align-items: center !important;
  min-height: 42px !important;
  gap: 10px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-left: 1px solid var(--line-soft) !important;
  border-right: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  transform: none !important;
}

.cs-template .user-pill--logout:hover,
.user-pill--logout:hover {
  border-left-color: var(--line-soft) !important;
  border-right-color: var(--line-soft) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.cs-template button.user-pill > img:last-child,
button.user-pill > img:last-child {
  width: 14px !important;
  height: 14px !important;
}

.cs-template .user-pill--logout:focus-visible,
.user-pill--logout:focus-visible {
  outline: 2px solid rgba(45, 107, 179, 0.32) !important;
  outline-offset: 2px !important;
}

/* v1.0.104 - Product detail sheet inspired by provided reference */
.cs-template .cs-product-detail-row td {
  background: #f3eefb !important;
}

.cs-template .cs-product-sheet {
  margin: 18px 12px 22px;
  color: #10182f;
}

.cs-template .cs-product-sheet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}

.cs-template .cs-product-sheet__back,
.cs-template .cs-product-sheet__movement-link {
  color: #6d3df2;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.cs-template .cs-product-sheet__top-actions,
.cs-template .cs-product-sheet__qr-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-template .cs-product-sheet__top-btn {
  min-height: 42px;
  border-radius: 13px !important;
  padding: 0 18px !important;
  font-weight: 900 !important;
}

.cs-template .cs-btn--danger,
.cs-template .cs-product-sheet__top-actions .cs-btn--danger {
  color: #fff !important;
  border-color: #ef3438 !important;
  background: #ef3438 !important;
  box-shadow: 0 10px 18px rgba(239, 52, 56, 0.18) !important;
}

.cs-template .cs-product-sheet__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.cs-template .cs-product-sheet__main {
  display: grid;
  gap: 14px;
}

.cs-template .cs-product-sheet__identity,
.cs-template .cs-product-sheet__side-card,
.cs-template .cs-product-sheet__stats article,
.cs-template .cs-product-sheet__movement,
.cs-template .cs-product-sheet__notes {
  border: 1px solid rgba(204, 190, 237, 0.9);
  border-top: 4px solid rgba(205, 185, 245, 0.75);
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 30px rgba(37, 24, 91, 0.06);
}

.cs-template .cs-product-sheet__identity {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.cs-template .cs-product-sheet__image {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid #d9e4f1;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.cs-template .cs-product-sheet__image span {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: 30px;
  color: #6a42f0;
  font-size: 2.3rem;
  font-weight: 1000;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef3fb 62%, #dbe7f7 100%);
  box-shadow: inset 0 0 0 1px rgba(157, 173, 198, 0.32);
}

.cs-template .cs-product-sheet__image span::before {
  content: attr(data-icon);
}

.cs-template .cs-product-sheet__info h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.cs-template .cs-product-sheet__info dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0 20px;
  margin: 0;
}

.cs-template .cs-product-sheet__info dl div {
  min-width: 0;
  padding: 10px 0 9px;
  border-bottom: 1px solid #dce5f0;
}

.cs-template .cs-product-sheet__info dt,
.cs-template .cs-product-sheet__eyebrow,
.cs-template .cs-product-sheet__stats span,
.cs-template .cs-product-sheet__available span,
.cs-template .cs-product-sheet__side-title span {
  display: block;
  margin: 0 0 5px;
  color: #65738a;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cs-template .cs-product-sheet__info dd {
  margin: 0;
  color: #10182f;
  font-size: 0.88rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.cs-template .cs-product-sheet__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.cs-template .cs-product-sheet__stats article {
  padding: 16px 18px;
}

.cs-template .cs-product-sheet__stats strong,
.cs-template .cs-product-sheet__available strong {
  display: block;
  color: #111827;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.03em;
}

.cs-template .cs-product-sheet__stats small {
  display: block;
  margin-top: 7px;
  color: #607086;
  font-size: 0.77rem;
  font-weight: 800;
}

.cs-template .cs-product-sheet__movement,
.cs-template .cs-product-sheet__notes {
  padding: 16px 18px;
}

.cs-template .cs-product-sheet__movement {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cs-template .cs-product-sheet__movement h3 {
  margin: 0 0 5px;
  color: #111827;
  font-size: 1.02rem;
  font-weight: 950;
}

.cs-template .cs-product-sheet__movement p,
.cs-template .cs-product-sheet__notes p {
  margin: 0;
  color: #607086;
  font-size: 0.84rem;
  font-weight: 700;
}

.cs-template .cs-product-sheet__side {
  display: grid;
  gap: 12px;
}

.cs-template .cs-product-sheet__side-card {
  padding: 14px;
}

.cs-template .cs-product-sheet__side-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.cs-template .cs-product-sheet__side-title strong {
  color: #111827;
  font-size: 0.85rem;
  font-weight: 1000;
}

.cs-template .cs-product-qr-mark {
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  margin: 0 auto 12px;
  border: 12px solid #f5f7fb;
  border-radius: 18px;
  color: transparent;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #111 10px, transparent 10px),
    linear-gradient(#111 10px, transparent 10px),
    linear-gradient(90deg, rgba(17,17,17,0.85) 6px, transparent 6px),
    linear-gradient(rgba(17,17,17,0.85) 6px, transparent 6px);
  background-size: 28px 28px, 28px 28px, 17px 17px, 17px 17px;
  background-position: 6px 6px, 6px 6px, 2px 12px, 13px 3px;
  box-shadow: 0 0 0 1px #dce5f0, 0 10px 24px rgba(29, 44, 82, 0.08);
}

.cs-template .cs-product-qr-mark span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cs-template .cs-product-sheet__stock {
  background: #fff9e7;
  border-color: #ffd46a;
  border-top-color: #ffd46a;
}

.cs-template .cs-product-sheet__stock strong {
  display: block;
  margin-top: 4px;
  color: #d97706;
  font-size: 1.05rem;
  font-weight: 1000;
}

.cs-template .cs-product-sheet__available {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top-width: 1px;
}

.cs-template .cs-product-stock-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.08);
}

.cs-template .cs-product-stock-action span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  font-weight: 1000;
}

.cs-template .cs-product-stock-action--add { background: #19b45b; }
.cs-template .cs-product-stock-action--remove { background: #ef2f2f; }

@media (max-width: 1220px) {
  .cs-template .cs-product-sheet__layout {
    grid-template-columns: 1fr;
  }
  .cs-template .cs-product-sheet__side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cs-template .cs-product-sheet__identity,
  .cs-template .cs-product-sheet__info dl,
  .cs-template .cs-product-sheet__stats,
  .cs-template .cs-product-sheet__side {
    grid-template-columns: 1fr;
  }
  .cs-template .cs-product-sheet__bar,
  .cs-template .cs-product-sheet__movement {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v1.0.105 - interactive Mattia / Mechanic user pill with compact logout menu */
.cs-template .user-pill-menu,
.user-pill-menu {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.cs-template .user-pill-menu > .user-pill,
.user-pill-menu > .user-pill {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, auto) 14px !important;
  align-items: center !important;
  min-height: 42px !important;
  gap: 10px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-left: 1px solid var(--line-soft) !important;
  border-right: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  transform: none !important;
}

.cs-template .user-pill-menu > .user-pill:hover,
.cs-template .user-pill-menu.is-open > .user-pill,
.user-pill-menu > .user-pill:hover,
.user-pill-menu.is-open > .user-pill {
  background: rgba(246, 249, 253, 0.72) !important;
}

.cs-template .user-pill__chevron,
.user-pill__chevron {
  transition: transform 0.16s ease !important;
}

.cs-template .user-pill-menu.is-open .user-pill__chevron,
.user-pill-menu.is-open .user-pill__chevron {
  transform: rotate(180deg) !important;
}

.cs-template .user-pill-menu__panel,
.user-pill-menu__panel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 80 !important;
  min-width: 150px !important;
  padding: 8px !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px rgba(23, 45, 83, 0.14) !important;
}

.cs-template .user-pill-menu__panel[hidden],
.user-pill-menu__panel[hidden] {
  display: none !important;
}

.cs-template .user-pill-menu__panel .user-pill-form,
.user-pill-menu__panel .user-pill-form {
  display: block !important;
  width: 100% !important;
}

.cs-template .user-pill-menu__logout,
.user-pill-menu__logout {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #f3f6fb !important;
  color: #10182f !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

.cs-template .user-pill-menu__logout:hover,
.user-pill-menu__logout:hover {
  background: #eaf1fa !important;
}


/* v1.0.106 - Inventory landing is a clean product-list view */
.cs-template .cs-app-panel--inventory-home {
  padding: 18px !important;
  border-radius: 22px !important;
  background: #fff !important;
}

.cs-template .cs-inventory-home__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1e8f2;
}

.cs-template .cs-inventory-home__head .cs-app-panel__title {
  margin: 0 0 4px;
}

.cs-template .cs-inventory-add-product {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 999px !important;
  padding: 12px 16px 12px 20px !important;
}

.cs-template .cs-inventory-add-product span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  font-size: 1.2rem;
  line-height: 1;
}

.cs-template .cs-inventory-home__filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.75fr) minmax(180px, 0.75fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px 16px;
  margin: 0 0 12px;
  border: 1px solid #dce6f2;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #fbfdff;
}

.cs-template .cs-inventory-home__filters label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cs-template .cs-inventory-home__filters label span {
  color: #44546d;
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-template .cs-app-table--inventory-home th {
  background: #f4f7fb !important;
  color: #44546d !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.cs-template .cs-app-table--inventory-home td:nth-child(3),
.cs-template .cs-app-table--inventory-home td:nth-child(4),
.cs-template .cs-app-table--inventory-home td:nth-child(5) {
  text-align: center;
}

.cs-template .cs-app-table--inventory-home .cs-qr-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #d7e2ee, 0 6px 14px rgba(17,39,91,0.06);
}

.cs-template .cs-inventory-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cs-template .cs-inventory-row-actions .cs-icon-action {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  border: 1px solid #bcd3f2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #0b2348 !important;
  font-size: 0.92rem !important;
  text-transform: none !important;
}

.cs-template .cs-inventory-row-actions .cs-icon-action--delete {
  border-color: #ffc3c3 !important;
}

.cs-template .cs-inventory-page-size {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #44546d;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-template .cs-inventory-page-size select {
  min-width: 74px;
  border: 1px solid #d2ddea;
  border-radius: 12px;
  padding: 9px 12px;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
}

@media (max-width: 980px) {
  .cs-template .cs-inventory-home__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .cs-template .cs-inventory-home__filters {
    grid-template-columns: 1fr;
  }
}

/* v1.0.107 - Material Inventory full-width landing layout */
.cs-app-screen--inventory.cs-app-screen--no-side,
.cs-template .cs-app-screen--inventory.cs-app-screen--no-side {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 100% !important;
}

.cs-app-screen--inventory.cs-app-screen--no-side .cs-app-main,
.cs-template .cs-app-screen--inventory.cs-app-screen--no-side .cs-app-main {
  width: 100% !important;
  min-width: 0 !important;
}

.cs-app-screen--inventory.cs-app-screen--no-side .cs-app-side,
.cs-template .cs-app-screen--inventory.cs-app-screen--no-side .cs-app-side {
  display: none !important;
}

.cs-app-screen--inventory .cs-app-panel--table,
.cs-template .cs-app-screen--inventory .cs-app-panel--table {
  overflow: hidden !important;
}

.cs-app-screen--inventory .cs-table-wrap,
.cs-template .cs-app-screen--inventory .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}

/* v1.0.108 - Material Inventory viewport-safe full width refinement */
body.cs-template.cs-app-native,
.cs-template .app-shell,
.cs-template .workspace,
.cs-template .dashboard,
.cs-template .content-grid--app,
.cs-template .component-panel--app,
.cs-template .component-panel--app .cs-content-article,
.cs-template .cs-app-screen,
.cs-template .cs-app-main,
.cs-template .cs-app-hero,
.cs-template .cs-app-panel {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.cs-template .workspace {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.cs-template .dashboard {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--inventory.cs-app-screen--no-side {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr) !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--inventory .cs-app-main {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--inventory .cs-app-hero {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--inventory .cs-app-hero__copy {
  min-width: 0 !important;
}

.cs-template .cs-app-screen--inventory .cs-app-title {
  max-width: 100% !important;
  font-size: clamp(2.35rem, 3.25vw, 3.4rem) !important;
  letter-spacing: 0.13em !important;
  line-height: 1.02 !important;
  overflow-wrap: anywhere !important;
}

.cs-template .cs-app-screen--inventory .cs-app-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 360px !important;
  min-width: 0 !important;
}

.cs-template .cs-app-screen--inventory .cs-app-actions .cs-btn,
.cs-template .cs-app-screen--inventory .cs-app-actions button,
.cs-template .cs-app-screen--inventory .cs-app-actions a {
  max-width: 100% !important;
  white-space: nowrap !important;
}

.cs-template .cs-app-screen--inventory .cs-app-panel--inventory-home,
.cs-template .cs-app-screen--inventory .cs-app-panel--table {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--inventory .cs-inventory-home__head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
}

.cs-template .cs-app-screen--inventory .cs-inventory-home__head > div,
.cs-template .cs-app-screen--inventory .cs-inventory-home__head .cs-app-panel__title,
.cs-template .cs-app-screen--inventory .cs-inventory-home__head .cs-app-panel__subtitle {
  min-width: 0 !important;
}

.cs-template .cs-app-screen--inventory .cs-inventory-add-product {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.cs-template .cs-app-screen--inventory .cs-inventory-home__filters {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(220px, 1.35fr) minmax(170px, 0.65fr) minmax(170px, 0.65fr) max-content !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--inventory .cs-inventory-home__filters input,
.cs-template .cs-app-screen--inventory .cs-inventory-home__filters select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cs-template .cs-app-screen--inventory .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.cs-template .cs-app-screen--inventory .cs-app-table--inventory-home {
  width: 100% !important;
  min-width: 980px !important;
  table-layout: fixed !important;
}

.cs-template .cs-app-screen--inventory .cs-app-table--inventory-home th:nth-child(1) { width: 24% !important; }
.cs-template .cs-app-screen--inventory .cs-app-table--inventory-home th:nth-child(2) { width: 29% !important; }
.cs-template .cs-app-screen--inventory .cs-app-table--inventory-home th:nth-child(3) { width: 15% !important; }
.cs-template .cs-app-screen--inventory .cs-app-table--inventory-home th:nth-child(4) { width: 14% !important; }
.cs-template .cs-app-screen--inventory .cs-app-table--inventory-home th:nth-child(5) { width: 18% !important; }

.cs-template .cs-app-screen--inventory .cs-pagination {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

@media (max-width: 1250px) {
  .cs-template .cs-app-screen--inventory .cs-app-hero {
    grid-template-columns: 1fr !important;
  }
  .cs-template .cs-app-screen--inventory .cs-app-actions {
    justify-content: flex-start !important;
    max-width: 100% !important;
  }
  .cs-template .cs-app-screen--inventory .cs-inventory-home__filters {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 820px) {
  .cs-template .dashboard {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .cs-template .cs-app-screen--inventory .cs-inventory-home__head,
  .cs-template .cs-app-screen--inventory .cs-inventory-home__filters {
    grid-template-columns: 1fr !important;
  }
  .cs-template .cs-app-screen--inventory .cs-inventory-add-product {
    justify-self: start !important;
  }
}
/* v1.0.111 - Bikes Movement visual tracking layout */
.cs-template .cs-app-screen--bikes.cs-app-screen--no-side,
.cs-template .cs-app-screen--bikes.cs-app-screen--dynamic {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-app-main {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-app-side {
  display: none !important;
}

.cs-template .cs-bike-tracking-top {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.35fr) !important;
  gap: 22px !important;
  align-items: end !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 4px 0 24px !important;
}

.cs-template .cs-bike-tracking-intro {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.cs-template .cs-bike-legend {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px 26px !important;
  align-items: center !important;
  color: #33445f !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
}

.cs-template .cs-bike-legend span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-dot {
  width: 11px !important;
  height: 11px !important;
  border-radius: 4px !important;
  display: inline-block !important;
}

.cs-template .cs-bike-dot--sc { background: #21bf66 !important; }
.cs-template .cs-bike-dot--ext { background: #ff980d !important; }
.cs-template .cs-bike-dot--na { background: #9ba8b8 !important; }

.cs-template .cs-bike-sample-note {
  margin: 0 !important;
  color: #6b7b94 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.cs-template .cs-bike-updates {
  min-width: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 45px rgba(34, 46, 76, 0.08) !important;
}

.cs-template .cs-bike-updates header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 14px 18px 10px !important;
  border-bottom: 1px solid #e6edf7 !important;
}

.cs-template .cs-bike-updates h2 {
  margin: 0 !important;
  color: #1b2542 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.02em !important;
  font-weight: 900 !important;
}

.cs-template .cs-bike-updates header strong {
  color: #7b2cff !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 190px !important;
  overflow: auto !important;
}

.cs-template .cs-bike-updates table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  padding: 9px 16px !important;
  border-bottom: 1px solid #edf2f8 !important;
  text-align: left !important;
  vertical-align: middle !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-updates th {
  color: #7a879c !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  background: #f7f9fd !important;
}

.cs-template .cs-bike-updates td {
  color: #34425a !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

.cs-template .cs-bike-updates th:nth-child(1),
.cs-template .cs-bike-updates td:nth-child(1) { width: 18% !important; }
.cs-template .cs-bike-updates th:nth-child(2),
.cs-template .cs-bike-updates td:nth-child(2) { width: 28% !important; }
.cs-template .cs-bike-updates th:nth-child(3),
.cs-template .cs-bike-updates td:nth-child(3) { width: 38% !important; }
.cs-template .cs-bike-updates th:nth-child(4),
.cs-template .cs-bike-updates td:nth-child(4) { width: 16% !important; }

.cs-template .cs-bike-rider-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.cs-template .cs-bike-rider-card {
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #dce7f4 !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 34px rgba(41, 53, 80, 0.07) !important;
  padding: 18px 16px 16px !important;
  overflow: hidden !important;
}

.cs-template .cs-bike-rider-card__head {
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
  border-bottom: 1px solid #e5edf7 !important;
}

.cs-template .cs-bike-rider-card__avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, #eef3f9, #d9e2ee) !important;
  color: #14325f !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8) !important;
}

.cs-template .cs-bike-rider-card h2 {
  margin: 0 0 6px !important;
  color: #111c35 !important;
  font-size: 1.08rem !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
}

.cs-template .cs-bike-rider-card p {
  margin: 0 !important;
  color: #6124d8 !important;
  font-size: 0.76rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
}

.cs-template .cs-bike-slot-list {
  display: grid !important;
  gap: 10px !important;
}

.cs-template .cs-bike-slot {
  min-height: 62px !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2eaf4 !important;
  border-left-width: 4px !important;
  border-radius: 14px !important;
  color: #2e3f59 !important;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease !important;
}

.cs-template .cs-bike-slot:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 24px rgba(38, 53, 83, 0.08) !important;
}

.cs-template .cs-bike-slot--sc { border-left-color: #22c56f !important; }
.cs-template .cs-bike-slot--ext { border-left-color: #ff7a18 !important; }
.cs-template .cs-bike-slot--na { border-left-color: #9ba8b8 !important; background: #f5f7fa !important; }

.cs-template .cs-bike-slot__icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #243a5a !important;
  background: #f1f5fa !important;
  font-size: 0 !important;
  position: relative !important;
}

.cs-template .cs-bike-slot__icon::before {
  content: "" !important;
  width: 19px !important;
  height: 12px !important;
  background: currentColor !important;
  -webkit-mask: url("../icons/nav-bikes.png") center / contain no-repeat !important;
  mask: url("../icons/nav-bikes.png") center / contain no-repeat !important;
  opacity: 0.85 !important;
}

.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

.cs-template .cs-bike-slot__bike strong {
  color: #1e2c45 !important;
  font-size: 0.8rem !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-slot__bike small {
  color: #3d4d64 !important;
  font-size: 0.78rem !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-slot__status {
  display: inline-grid !important;
  grid-template-columns: auto auto !important;
  gap: 7px !important;
  align-items: center !important;
  max-width: 124px !important;
}

.cs-template .cs-bike-slot__status b {
  min-width: 31px !important;
  height: 25px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
}

.cs-template .cs-bike-slot__status small {
  font-size: 0.68rem !important;
  line-height: 0.96 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

.cs-template .cs-bike-slot--sc .cs-bike-slot__status b { background: #19b861 !important; }
.cs-template .cs-bike-slot--sc .cs-bike-slot__status small { color: #179453 !important; }
.cs-template .cs-bike-slot--ext .cs-bike-slot__status b { background: #ff7518 !important; }
.cs-template .cs-bike-slot--ext .cs-bike-slot__status small { color: #f05f0a !important; }
.cs-template .cs-bike-slot--na .cs-bike-slot__status b { background: #9aa7b8 !important; }
.cs-template .cs-bike-slot--na .cs-bike-slot__status small { color: #667386 !important; }

@media (max-width: 1500px) {
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  .cs-template .cs-bike-tracking-top {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: 1fr !important;
  }
  .cs-template .cs-bike-updates table {
    min-width: 720px !important;
  }
  .cs-template .cs-bike-slot {
    grid-template-columns: 30px minmax(0, 1fr) !important;
  }
  .cs-template .cs-bike-slot__status {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}

/* v1.0.112 - Bikes Movement full-width latest updates and orange active accents */
.cs-template .cs-app-screen--bikes .cs-bike-tracking-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 4px 0 24px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap {
  max-height: 255px !important;
  overflow: auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding-top: 4px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend {
  margin-top: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card {
  border-left: 5px solid #ff7a18 !important;
}

.cs-template .side-rail .cs-rail-menu__item--bikes.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item--bikes.current > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__link--bikes.is-active::before {
  background: #ff7a18 !important;
}

.cs-template .side-rail .cs-rail-menu__item--bikes.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item--bikes.current > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__link--bikes.is-active {
  box-shadow: inset 4px 0 0 #ff7a18 !important;
}

/* v1.0.119 - restore orange left whisker only for the active sidebar button */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  position: relative !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before,
.cs-template .side-rail .mod-menu .active > a::before,
.cs-template .side-rail .mod-menu .current > a::before,
.cs-template .side-rail .nav .active > a::before,
.cs-template .side-rail .nav .current > a::before,
.cs-template .side-rail .current > a::before,
.cs-template .side-rail .active > a::before,
.cs-template .side-rail .mod-menu a[aria-current="page"]::before,
.cs-template .side-rail .nav a[aria-current="page"]::before,
.side-rail .cs-rail-menu__link.is-active::before,
.side-rail .rail-nav__link.is-active::before,
.side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before,
.side-rail .mod-menu .active > a::before,
.side-rail .mod-menu .current > a::before,
.side-rail .nav .active > a::before,
.side-rail .nav .current > a::before,
.side-rail .current > a::before,
.side-rail .active > a::before,
.side-rail .mod-menu a[aria-current="page"]::before,
.side-rail .nav a[aria-current="page"]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 5px !important;
  border-radius: 0 8px 8px 0 !important;
  background: linear-gradient(180deg, #ff9a3d 0%, #f46a16 100%) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 1px 3px rgba(244,106,22,0.22) !important;
  z-index: 2 !important;
}

/* v1.0.120 - correct active sidebar orange whisker, active item only */
.cs-template .side-rail .cs-rail-menu__item,
.cs-template .side-rail .rail-nav__item,
.cs-template .side-rail .mod-menu > li,
.cs-template .side-rail .nav > li,
.side-rail .cs-rail-menu__item,
.side-rail .rail-nav__item,
.side-rail .mod-menu > li,
.side-rail .nav > li {
  position: relative !important;
  overflow: visible !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a,
.side-rail .cs-rail-menu__link,
.side-rail .rail-nav__link,
.side-rail .mod-menu a,
.side-rail .nav a {
  position: relative !important;
  overflow: visible !important;
  border-left: 1px solid #c7d3e1 !important;
}

.cs-template .side-rail .cs-rail-menu__item:not(.active):not(.current)::before,
.cs-template .side-rail .rail-nav__item:not(.active):not(.current)::before,
.cs-template .side-rail .mod-menu > li:not(.active):not(.current)::before,
.cs-template .side-rail .nav > li:not(.active):not(.current)::before,
.side-rail .cs-rail-menu__item:not(.active):not(.current)::before,
.side-rail .rail-nav__item:not(.active):not(.current)::before,
.side-rail .mod-menu > li:not(.active):not(.current)::before,
.side-rail .nav > li:not(.active):not(.current)::before {
  content: none !important;
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__link:not(.is-active)::before,
.cs-template .side-rail .rail-nav__link:not(.is-active)::before,
.cs-template .side-rail .mod-menu li:not(.active):not(.current) > a::before,
.cs-template .side-rail .nav li:not(.active):not(.current) > a::before,
.side-rail .cs-rail-menu__link:not(.is-active)::before,
.side-rail .rail-nav__link:not(.is-active)::before,
.side-rail .mod-menu li:not(.active):not(.current) > a::before,
.side-rail .nav li:not(.active):not(.current) > a::before {
  content: none !important;
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__item.active::before,
.cs-template .side-rail .cs-rail-menu__item.current::before,
.cs-template .side-rail .rail-nav__item.active::before,
.cs-template .side-rail .rail-nav__item.current::before,
.cs-template .side-rail .mod-menu > li.active::before,
.cs-template .side-rail .mod-menu > li.current::before,
.cs-template .side-rail .nav > li.active::before,
.cs-template .side-rail .nav > li.current::before,
.side-rail .cs-rail-menu__item.active::before,
.side-rail .cs-rail-menu__item.current::before,
.side-rail .rail-nav__item.active::before,
.side-rail .rail-nav__item.current::before,
.side-rail .mod-menu > li.active::before,
.side-rail .mod-menu > li.current::before,
.side-rail .nav > li.active::before,
.side-rail .nav > li.current::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 5px !important;
  bottom: 5px !important;
  width: 6px !important;
  border-radius: 0 10px 10px 0 !important;
  background: #ff6a13 !important;
  box-shadow: 0 1px 4px rgba(255,106,19,0.24) !important;
  z-index: 6 !important;
  pointer-events: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .mod-menu .current > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .nav .current > a,
.side-rail .cs-rail-menu__link.is-active,
.side-rail .rail-nav__link.is-active,
.side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.side-rail .mod-menu .active > a,
.side-rail .mod-menu .current > a,
.side-rail .nav .active > a,
.side-rail .nav .current > a {
  border-left: 1px solid #9fb3ca !important;
  padding-left: 11px !important;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%) !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before,
.side-rail .cs-rail-menu__link.is-active::before,
.side-rail .rail-nav__link.is-active::before,
.side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before {
  content: none !important;
  display: none !important;
}


/* v1.0.121 - login submit button aligned and styled like site primary buttons */
.cs-template.cs-auth-only .cs-login-minimal-form {
  align-items: stretch !important;
}

.cs-template.cs-auth-only .cs-login-minimal__submit,
.cs-template .cs-auth-shell .cs-login-minimal__submit,
.cs-login-minimal__submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  margin: 4px auto 0 !important;
  width: auto !important;
  min-width: 132px !important;
  max-width: 132px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border: 1px solid #142b63 !important;
  border-radius: 10px !important;
  background: #142b63 !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  box-shadow: none !important;
}

.cs-template.cs-auth-only .cs-login-minimal__submit:hover,
.cs-template.cs-auth-only .cs-login-minimal__submit:focus,
.cs-template .cs-auth-shell .cs-login-minimal__submit:hover,
.cs-template .cs-auth-shell .cs-login-minimal__submit:focus,
.cs-login-minimal__submit:hover,
.cs-login-minimal__submit:focus {
  background: #0f2252 !important;
  border-color: #0f2252 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}


/* v1.0.122 - bikes movement smaller typography for updates, legend, and rider cards */
.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  font-size: 0.92rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates header strong,
.cs-template .cs-bike-updates header strong {
  font-size: 0.68rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  font-size: 0.86rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-sample-note,
.cs-template .cs-bike-sample-note {
  font-size: 0.74rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  font-size: 0.98rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
.cs-template .cs-bike-rider-card p {
  font-size: 0.70rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
.cs-template .cs-bike-rider-card__avatar {
  font-size: 0.92rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike strong,
.cs-template .cs-bike-slot__bike strong {
  font-size: 0.74rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
.cs-template .cs-bike-slot__bike small {
  font-size: 0.72rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  font-size: 0.62rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  font-size: 0.62rem !important;
}

/* v1.0.123 - Bikes Movement season split, centered update table columns */
.cs-template .cs-app-screen--bikes .cs-bike-season-panel,
.cs-template .cs-bike-season-panel {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  border-radius: 16px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-season-panel span,
.cs-template .cs-bike-season-panel span {
  color: #ff6a13 !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-season-panel strong,
.cs-template .cs-bike-season-panel strong {
  color: #0f275b !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-season-panel small,
.cs-template .cs-bike-season-panel small {
  margin-left: auto !important;
  color: #657694 !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  text-align: center !important;
}


/* v1.0.124 - Bikes Movement year label under title and five-row updates scroller */
.cs-template .cs-app-screen--bikes .cs-bike-season-panel,
.cs-template .cs-bike-season-panel {
  display: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-season-inline,
.cs-template .cs-bike-season-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: -6px 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-season-inline span,
.cs-template .cs-bike-season-inline span {
  color: #ff6a13 !important;
  font-size: 0.66rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-season-inline strong,
.cs-template .cs-bike-season-inline strong {
  color: #0f275b !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 238px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-bike-updates th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  text-align: center !important;
}


/* v1.0.125 - Bikes Movement hero season and title polish */
.cs-template .cs-app-screen--bikes .cs-bike-season-inline,
.cs-template .cs-bike-season-inline {
  display: none !important;
}

.cs-template .cs-app-hero--bikes .cs-bike-hero-season {
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 8px !important;
}

.cs-template .cs-app-hero--bikes .cs-bike-hero-season span {
  color: #0f275b !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  color: #ff6a13 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates header,
.cs-template .cs-bike-updates header {
  justify-content: flex-start !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates header strong,
.cs-template .cs-bike-updates header strong {
  display: none !important;
}


/* v1.0.126 - Latest bikes movement ultra-compact table */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  border-radius: 14px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates header,
.cs-template .cs-bike-updates header {
  padding: 8px 12px 6px !important;
  gap: 8px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  font-size: 0.90rem !important;
  line-height: 1.1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 176px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  line-height: 1.1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  padding: 5px 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-bike-updates th {
  font-size: 0.60rem !important;
  line-height: 1.05 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates td {
  font-size: 0.74rem !important;
  line-height: 1.1 !important;
}


/* v1.0.127 - Latest bikes movement title higher and regular-weight records */
.cs-template .cs-app-screen--bikes .cs-bike-updates header,
.cs-template .cs-bike-updates header {
  padding: 4px 12px 2px !important;
  align-items: flex-end !important;
  margin-bottom: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  margin: 0 !important;
  line-height: 1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  margin-top: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates td {
  font-weight: 500 !important;
}


/* v1.0.128 - Latest bikes movement layout cleanup */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  padding: 0 0 8px !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates header,
.cs-template .cs-bike-updates header {
  padding: 8px 14px 6px !important;
  align-items: center !important;
  border-bottom: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  display: block !important;
  margin: 0 !important;
  line-height: 1.05 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  margin: 2px 10px 0 !important;
  max-height: 154px !important;
  border: 1px solid #e8eef7 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-bike-updates th {
  background: #f8fafd !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}


/* v1.0.129 - Latest bikes movement shorter height and first 5 rows only */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  padding-bottom: 6px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 132px !important;
  min-height: 132px !important;
}


/* v1.0.130 - Latest bikes movement scroll enabled and balanced side borders */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 132px !important;
  min-height: 132px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable both-edges !important;
  border: 1px solid #e8eef7 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td:first-child,
.cs-template .cs-bike-updates tbody td:first-child {
  padding-left: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td:last-child,
.cs-template .cs-bike-updates tbody td:last-child {
  padding-right: 12px !important;
}


/* v1.0.131 - Bikes movement legend badges and slightly taller updates table */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 148px !important;
  min-height: 148px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  gap: 14px 22px !important;
  align-items: center !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
.cs-template .cs-bike-legend__item {
  display: inline-grid !important;
  grid-template-columns: auto auto !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
.cs-template .cs-bike-legend__item b {
  min-width: 31px !important;
  height: 25px !important;
  padding: 0 7px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
.cs-template .cs-bike-legend__item small {
  font-size: 0.68rem !important;
  line-height: 0.96 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--sc b,
.cs-template .cs-bike-legend__item--sc b { background: #19b861 !important; }
.cs-template .cs-app-screen--bikes .cs-bike-legend__item--sc small,
.cs-template .cs-bike-legend__item--sc small { color: #179453 !important; }

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--ext b,
.cs-template .cs-bike-legend__item--ext b { background: #ff7518 !important; }
.cs-template .cs-app-screen--bikes .cs-bike-legend__item--ext small,
.cs-template .cs-bike-legend__item--ext small { color: #f05f0a !important; }

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--na b,
.cs-template .cs-bike-legend__item--na b { background: #9aa7b8 !important; }
.cs-template .cs-app-screen--bikes .cs-bike-legend__item--na small,
.cs-template .cs-bike-legend__item--na small { color: #667386 !important; }


/* v1.0.132 - Latest bikes movement right border balanced with left */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  margin: 2px 12px 0 !important;
  max-height: 148px !important;
  min-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
  border: 1px solid #e8eef7 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  box-shadow: inset 1px 0 0 #e8eef7, inset -1px 0 0 #e8eef7 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td:first-child,
.cs-template .cs-bike-updates tbody td:first-child {
  padding-left: 14px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td:last-child,
.cs-template .cs-bike-updates tbody td:last-child {
  padding-right: 14px !important;
}


/* v1.0.133 - Latest bikes movement table border rendering cleanup */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  padding: 0 0 8px !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates header,
.cs-template .cs-bike-updates header {
  padding: 8px 12px 6px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  margin: 2px 12px 0 !important;
  min-height: 148px !important;
  max-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: auto !important;
  background: #ffffff !important;
  border: 1px solid #dfe7f1 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
  background: #f8fafd !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  border-bottom: 1px solid #edf2f8 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:first-child,
.cs-template .cs-bike-updates th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:first-child,
.cs-template .cs-bike-updates td:first-child {
  padding-left: 16px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:last-child,
.cs-template .cs-bike-updates th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:last-child,
.cs-template .cs-bike-updates td:last-child {
  padding-right: 16px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}


/* v1.0.134 - Latest bikes movement explicit table frame fix */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  padding: 0 0 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  position: relative !important;
  margin: 4px 14px 0 !important;
  min-height: 148px !important;
  max-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
  border: 1px solid #d6e0ec !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  padding: 0 1px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: calc(100% - 2px) !important;
  margin: 0 1px !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #f8fafd !important;
  border-bottom: 1px solid #e7eef7 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child {
  border-top-left-radius: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child {
  border-top-right-radius: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  border-bottom: 1px solid #edf2f8 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:first-child,
.cs-template .cs-bike-updates th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:first-child,
.cs-template .cs-bike-updates td:first-child {
  padding-left: 16px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:last-child,
.cs-template .cs-bike-updates th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:last-child,
.cs-template .cs-bike-updates td:last-child {
  padding-right: 16px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td:first-child,
.cs-template .cs-bike-updates tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td:last-child,
.cs-template .cs-bike-updates tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px !important;
}


/* v1.0.135 - Latest bikes movement clearer table visibility */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  padding: 0 0 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  position: relative !important;
  margin: 4px 14px 0 !important;
  min-height: 148px !important;
  max-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::before,
.cs-template .cs-bike-updates .cs-table-wrap::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border: 1px solid #cfd8e6 !important;
  border-radius: 12px !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  margin: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #f4f7fb !important;
  border-bottom: 1px solid #dde6f1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-bike-updates th {
  color: #7a879c !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates td {
  color: #34425a !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  border-bottom: 1px solid #e8eef6 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:first-child,
.cs-template .cs-bike-updates th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:first-child,
.cs-template .cs-bike-updates td:first-child {
  padding-left: 18px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:last-child,
.cs-template .cs-bike-updates th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:last-child,
.cs-template .cs-bike-updates td:last-child {
  padding-right: 18px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}


/* v1.0.136 - remove orange side line from rider cards only */
.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
.cs-template .cs-bike-rider-card {
  border-left: 1px solid #dbe6f2 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  border-left-width: 4px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot--sc,
.cs-template .cs-bike-slot--sc { border-left-color: #22c56f !important; }
.cs-template .cs-app-screen--bikes .cs-bike-slot--ext,
.cs-template .cs-bike-slot--ext { border-left-color: #ff7a18 !important; }
.cs-template .cs-app-screen--bikes .cs-bike-slot--na,
.cs-template .cs-bike-slot--na { border-left-color: #9ba8b8 !important; }


/* v1.0.137 - Latest bikes movement stronger visible side frame */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  position: relative !important;
  margin: 4px 14px 0 !important;
  min-height: 148px !important;
  max-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
  border: 1px solid #c7d3e2 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 0 0 1px #c7d3e2 !important;
  padding: 0 2px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::before,
.cs-template .cs-bike-updates .cs-table-wrap::before {
  content: "" !important;
  position: absolute !important;
  top: 1px !important;
  bottom: 1px !important;
  left: 0 !important;
  width: 1px !important;
  background: #bcc9da !important;
  border-radius: 12px 0 0 12px !important;
  pointer-events: none !important;
  z-index: 4 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::after,
.cs-template .cs-bike-updates .cs-table-wrap::after {
  content: "" !important;
  position: absolute !important;
  top: 1px !important;
  bottom: 1px !important;
  right: 0 !important;
  width: 1px !important;
  background: #bcc9da !important;
  border-radius: 0 12px 12px 0 !important;
  pointer-events: none !important;
  z-index: 4 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  margin: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  background: #f4f7fb !important;
}


/* v1.0.138 - Latest bikes movement inner table fitted to wrapper */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  position: relative !important;
  margin: 4px 14px 0 !important;
  min-height: 148px !important;
  max-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
  background: #ffffff !important;
  border: 1px solid #cfd8e6 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  padding: 0 10px 0 8px !important;
  background-clip: padding-box !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::before,
.cs-template .cs-bike-updates .cs-table-wrap::before,
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::after,
.cs-template .cs-bike-updates .cs-table-wrap::after {
  display: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #f4f7fb !important;
  border-bottom: 1px solid #dde6f1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  border-bottom: 1px solid #e8eef6 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:first-child,
.cs-template .cs-bike-updates th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:first-child,
.cs-template .cs-bike-updates td:first-child {
  padding-left: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:last-child,
.cs-template .cs-bike-updates th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:last-child,
.cs-template .cs-bike-updates td:last-child {
  padding-right: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}


/* v1.0.139 - Latest bikes movement visible outer frame gap fix */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  position: relative !important;
  margin: 4px 14px 0 !important;
  min-height: 148px !important;
  max-height: 148px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
  background: #ffffff !important;
  border: 1px solid #c2cede !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: 0 0 0 1px #c2cede !important;
  padding: 0 8px 0 6px !important;
  background-clip: padding-box !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: calc(100% - 2px) !important;
  max-width: calc(100% - 2px) !important;
  margin: 0 1px 0 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #f4f7fb !important;
  border-bottom: 1px solid #dde6f1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:first-child,
.cs-template .cs-bike-updates th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:first-child,
.cs-template .cs-bike-updates td:first-child {
  padding-left: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates th:last-child,
.cs-template .cs-bike-updates th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates td:last-child,
.cs-template .cs-bike-updates td:last-child {
  padding-right: 12px !important;
}


/* v1.0.140 - Latest bikes movement narrower inner table */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  padding: 0 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: calc(100% - 18px) !important;
  max-width: calc(100% - 18px) !important;
  margin: 0 auto !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  box-sizing: border-box !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td:first-child,
.cs-template .cs-bike-updates tbody td:first-child {
  padding-left: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td:last-child,
.cs-template .cs-bike-updates tbody td:last-child {
  padding-right: 10px !important;
}


/* v1.0.141 - Latest bikes movement single border only */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: calc(100% - 18px) !important;
  max-width: calc(100% - 18px) !important;
  margin: 0 auto !important;
  border: 1px solid #cfd8e6 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child {
  border-top-left-radius: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child {
  border-top-right-radius: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td:first-child,
.cs-template .cs-bike-updates tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td:last-child,
.cs-template .cs-bike-updates tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px !important;
}


/* v1.0.143 - Latest bikes movement wrapper and table truly centered */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  width: calc(100% - 28px) !important;
  max-width: calc(100% - 28px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}


/* v1.0.144 - Latest bikes movement sticky header always visible */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  background: #f7f9fd !important;
  box-shadow: inset 0 1px 0 #cfd8e6, inset 0 -1px 0 #dde6f1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child {
  border-top-left-radius: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child {
  border-top-right-radius: 12px !important;
}


/* v1.0.145 - Bikes Movement roster cards, 5-column layout, smaller card scale */
.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  border: 1px solid #cfd8e6 !important;
  border-width: 1px !important;
  box-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
.cs-template .cs-bike-rider-grid {
  grid-template-columns: repeat(5, minmax(168px, 1fr)) !important;
  gap: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
.cs-template .cs-bike-rider-card {
  border-left: 1px solid #dbe6f2 !important;
  border-radius: 15px !important;
  padding: 12px 11px 11px !important;
  box-shadow: 0 10px 24px rgba(41, 53, 80, 0.055) !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head,
.cs-template .cs-bike-rider-card__head {
  grid-template-columns: 50px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
.cs-template .cs-bike-rider-card__avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  font-size: 0.86rem !important;
  position: relative !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar img,
.cs-template .cs-bike-rider-card__avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: inherit !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__initials,
.cs-template .cs-bike-rider-card__initials {
  width: 100% !important;
  height: 100% !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__initials--visible,
.cs-template .cs-bike-rider-card__initials--visible {
  display: inline-flex !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  font-size: 0.92rem !important;
  line-height: 1.03 !important;
  margin-bottom: 4px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
.cs-template .cs-bike-rider-card p {
  font-size: 0.64rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot-list,
.cs-template .cs-bike-slot-list {
  gap: 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  min-height: 48px !important;
  grid-template-columns: 28px minmax(0, 1fr) auto !important;
  gap: 7px !important;
  padding: 7px 8px !important;
  border-radius: 12px !important;
  border-left-width: 4px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 24px !important;
  height: 24px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  width: 16px !important;
  height: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike strong,
.cs-template .cs-bike-slot__bike strong {
  font-size: 0.68rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
.cs-template .cs-bike-slot__bike small {
  font-size: 0.66rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  gap: 5px !important;
  max-width: 96px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  min-width: 27px !important;
  height: 21px !important;
  border-radius: 7px !important;
  font-size: 0.58rem !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  font-size: 0.56rem !important;
  line-height: 0.94 !important;
}

@media (max-width: 1500px) {
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(4, minmax(168px, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(3, minmax(168px, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.146 - Bikes Movement slot alignment, rider photos robustness, and scrollable updates table */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  width: calc(100% - 28px) !important;
  max-width: calc(100% - 28px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #cfd8e6 !important;
  border-radius: 12px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: 166px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 4 !important;
  background: #f7f9fd !important;
  box-shadow: inset 0 1px 0 #cfd8e6, inset 0 -1px 0 #dde6f1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
.cs-template .cs-bike-rider-card__avatar {
  background: #eef3f9 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 22px minmax(0, 1fr) minmax(94px, 112px) !important;
  gap: 6px !important;
  padding: 7px 8px 7px 6px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 22px !important;
  height: 22px !important;
  justify-self: start !important;
  margin-left: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  width: 15px !important;
  height: 9px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  min-width: 0 !important;
  max-width: none !important;
  width: 100% !important;
  justify-self: start !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  gap: 4px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  min-width: 26px !important;
  margin-right: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  display: block !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* v1.0.147 - Bikes Movement full slot cards, centered legend, and stronger top divider */
.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  border-top: 2px solid #d6dfeb !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  padding-top: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
.cs-template .cs-bike-tracking-intro {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
.cs-template .cs-bike-rider-card {
  align-self: start !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot-list,
.cs-template .cs-bike-slot-list {
  gap: 8px !important;
}


/* v1.0.148 - Bikes Movement tighter slot icon spacing and explicit outer table frame */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  position: relative !important;
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px) !important;
  margin: 0 auto !important;
  padding: 0 0 1px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: 166px !important;
  box-shadow: none !important;
  scrollbar-gutter: stable !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::after,
.cs-template .cs-bike-updates .cs-table-wrap::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border: 1px solid #cfd8e6 !important;
  border-radius: 12px !important;
  pointer-events: none !important;
  z-index: 6 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  z-index: 5 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 18px minmax(0, 1fr) minmax(90px, 108px) !important;
  gap: 4px !important;
  padding: 7px 8px 7px 4px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 18px !important;
  height: 18px !important;
  justify-self: start !important;
  align-self: center !important;
  margin-left: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  width: 13px !important;
  height: 8px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-self: start !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  gap: 3px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  min-width: 24px !important;
  height: 20px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  display: block !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}


/* v1.0.149 - Bikes Movement rider name blue and team orange */
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  color: #16356f !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
.cs-template .cs-bike-rider-card p {
  color: #f47c20 !important;
}


/* v1.0.150 - Bikes Movement slot status moved left and updates table outer frame refined */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 14px minmax(0, 1fr) minmax(84px, 98px) !important;
  gap: 3px !important;
  padding: 7px 8px 7px 2px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 14px !important;
  height: 14px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-self: start !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  width: 10px !important;
  height: 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  justify-self: start !important;
  gap: 2px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  min-width: 22px !important;
  height: 20px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  border: 1px solid #cfd8e6 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap::after,
.cs-template .cs-bike-updates .cs-table-wrap::after {
  border: 0 !important;
}


/* v1.0.151 - Bikes Movement rider name larger, bike icon larger, slot status aligned left */
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  font-size: 1.18rem !important;
  line-height: 1.15 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 20px minmax(0, 1fr) 118px !important;
  gap: 6px !important;
  padding: 7px 10px 7px 4px !important;
  align-items: center !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-self: start !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  width: 14px !important;
  height: 10px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  width: 118px !important;
  justify-self: start !important;
  display: inline-grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 4px !important;
  row-gap: 0 !important;
  text-align: left !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  min-width: 28px !important;
  width: 28px !important;
  height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  margin: 0 !important;
  line-height: 1.05 !important;
  text-align: left !important;
  justify-self: start !important;
  align-self: center !important;
  max-width: none !important;
}


/* v1.0.152 - Bikes Movement frame text regular weight and updates panel outer border */
.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
.cs-template .cs-bike-slot__bike small {
  font-weight: 400 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-bike-updates {
  border: 1px solid var(--app-border, #dbe7f3) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04) !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  border-color: var(--app-border, #dbe7f3) !important;
}

/* v1.0.153 - Bikes Movement tighter legend spacing and larger bike icons */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-tracking-top,
.cs-template .cs-bike-tracking-top {
  margin-bottom: 8px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
.cs-template .cs-bike-tracking-intro {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
.cs-template .cs-bike-rider-grid {
  margin-top: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 32px minmax(0, 1fr) auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 30px !important;
  height: 30px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  width: 22px !important;
  height: 14px !important;
  opacity: 0.92 !important;
}


/* v1.0.154 - Bikes Movement New Movement workflow */
.cs-template .cs-bike-movement-modal[hidden] {
  display: none !important;
}

.cs-template .cs-bike-movement-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 28px !important;
}

.cs-template .cs-bike-movement-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(7, 20, 47, 0.36) !important;
  backdrop-filter: blur(3px) !important;
}

.cs-template .cs-bike-movement-modal__card {
  position: relative !important;
  width: min(680px, calc(100vw - 40px)) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  background: #ffffff !important;
  border: 1px solid #cfdced !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(12, 35, 73, 0.24) !important;
  color: #0b2759 !important;
}

.cs-template .cs-bike-movement-modal__card header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 22px 24px 16px !important;
  border-bottom: 1px solid #e3eaf4 !important;
}

.cs-template .cs-bike-movement-modal__card header span {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #ff681c !important;
}

.cs-template .cs-bike-movement-modal__card h2 {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #08265c !important;
}

.cs-template .cs-bike-movement-modal__card header button {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 11px !important;
  background: #f8fbff !important;
  color: #08265c !important;
  font-size: 23px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.cs-template .cs-bike-movement-modal__card form {
  display: grid !important;
  gap: 16px !important;
  padding: 20px 24px 24px !important;
}

.cs-template .cs-bike-movement-modal__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.cs-template .cs-bike-movement-modal label {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
}

.cs-template .cs-bike-movement-modal label > span {
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #62728a !important;
}

.cs-template .cs-bike-movement-modal input,
.cs-template .cs-bike-movement-modal select,
.cs-template .cs-bike-movement-modal textarea {
  width: 100% !important;
  min-height: 42px !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 12px !important;
  background: #f9fbfe !important;
  color: #102b5c !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.cs-template .cs-bike-movement-modal textarea {
  min-height: 82px !important;
  resize: vertical !important;
}

.cs-template .cs-bike-movement-modal input[readonly] {
  color: #53647d !important;
  background: #f2f6fb !important;
}

.cs-template .cs-bike-movement-modal footer {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  padding-top: 4px !important;
}

.cs-template .cs-bike-slot {
  cursor: pointer !important;
}

.cs-template .cs-bike-slot:focus-visible {
  outline: 3px solid rgba(255, 104, 28, 0.28) !important;
  outline-offset: 3px !important;
}

body.cs-bike-movement-modal-open {
  overflow: hidden !important;
}

@media (max-width: 720px) {
  .cs-template .cs-bike-movement-modal__grid {
    grid-template-columns: 1fr !important;
  }

  .cs-template .cs-bike-movement-modal {
    padding: 16px !important;
  }
}

/* v1.0.155 - Bikes Movement rider card actions and blue updates header */
.cs-template .cs-app-screen--bikes .cs-app-actions {
  max-width: 430px !important;
}

.cs-template .cs-app-screen--bikes .cs-app-actions .cs-btn,
.cs-template .cs-app-screen--bikes .cs-app-actions a.cs-btn,
.cs-template .cs-app-screen--bikes .cs-app-actions button.cs-btn {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

.cs-template .cs-app-screen--bikes .cs-app-actions .cs-btn__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
  text-align: center !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  border: 1px solid #0d4f9f !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 1px solid #0d4f9f !important;
  box-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  background: #0d5db8 !important;
  color: #ffffff !important;
  border: 1px solid #0a4b95 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
.cs-template .cs-bike-updates tbody td {
  border: 1px solid #d5e0ee !important;
  box-shadow: none !important;
}

.cs-template .icon-button--settings-topbar,
.cs-template .icon-button.icon-button--settings-topbar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-align: center !important;
}

.cs-template .icon-button--settings-topbar img,
.cs-template .icon-button.icon-button--settings-topbar img {
  display: block !important;
  margin: auto !important;
  flex: 0 0 auto !important;
}

/* v1.0.156 - Bikes Movement updates table header, row dividers and settings icon visibility */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  border: 1px solid #dbe3ee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  background: #071f49 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #071f49 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
.cs-template .cs-bike-updates tbody td {
  border: 0 !important;
  border-bottom: 1px solid #d9e2ee !important;
  box-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:last-child td,
.cs-template .cs-bike-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}

.cs-template .icon-button--settings-topbar,
.cs-template .icon-button.icon-button--settings-topbar {
  width: 38px !important;
  height: 36px !important;
  min-width: 38px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.cs-template .icon-button--settings-topbar img,
.cs-template .icon-button.icon-button--settings-topbar img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
}


/* v1.0.157 - Bikes Movement header blue matches Add rider card and rounded top table frame */
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  border: 1px solid #dbe3ee !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  border: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  background: #082f73 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #082f73 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child {
  border-top-left-radius: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child {
  border-top-right-radius: 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
.cs-template .cs-bike-updates tbody td {
  border: 0 !important;
  border-bottom: 1px solid #d9e2ee !important;
  box-shadow: none !important;
}

/* v1.0.158 - Global page title logo-style typography */
.cs-template .cs-app-title,
.cs-template .component-panel h1,
.cs-template .component-panel .page-header h1 {
  font-family: "Arial Black", "Avenir Next Condensed", "DIN Condensed", "Eurostile", "Bank Gothic", var(--font-sans) !important;
  font-style: italic !important;
  font-weight: 950 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  color: #071f49 !important;
}


/* v1.0.159 - Bikes Movement action buttons reduced and native badge removed */
.cs-template .cs-app-screen--bikes [data-native-action="create"]::after {
  display: none !important;
  content: none !important;
}

.cs-template .cs-app-screen--bikes .cs-app-actions {
  max-width: 320px !important;
  gap: 6px !important;
}

.cs-template .cs-app-screen--bikes .cs-app-actions .cs-btn,
.cs-template .cs-app-screen--bikes .cs-app-actions a.cs-btn,
.cs-template .cs-app-screen--bikes .cs-app-actions button.cs-btn {
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: 0.8rem !important;
  border-radius: 9px !important;
  gap: 6px !important;
}

.cs-template .cs-app-screen--bikes .cs-app-actions .cs-btn__icon {
  width: 14px !important;
  min-width: 14px !important;
  height: 14px !important;
  font-size: 11px !important;
}


/* v1.0.160 - Bikes Movement legend moved above latest table */
.cs-template .cs-app-screen--bikes .cs-bike-tracking-top,
.cs-template .cs-bike-tracking-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
.cs-template .cs-bike-tracking-intro {
  width: 100% !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  justify-content: center !important;
}


/* v1.0.161 - Legend right, titles smaller, two-word title accent, settings icon centered */
.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
.cs-template .cs-bike-tracking-intro {
  align-items: flex-end !important;
  justify-content: flex-end !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  justify-content: flex-end !important;
}

.cs-template .cs-app-title,
.cs-template .component-panel h1,
.cs-template .component-panel .page-header h1 {
  font-size: calc(clamp(2.35rem, 3.25vw, 3.4rem) - 1pt) !important;
}

.cs-template .cs-app-panel__title,
.cs-template .cs-bike-updates h2 {
  font-size: 0.88rem !important;
  color: #071f49 !important;
}

.cs-template .cs-title-word {
  display: inline-block !important;
}

.cs-template .cs-title-word--blue {
  color: #071f49 !important;
}

.cs-template .cs-title-word--orange {
  color: #e27c1b !important;
}

.cs-template .cs-title-gap {
  white-space: pre !important;
}

.cs-template .icon-button--settings-topbar img,
.cs-template .icon-button.icon-button--settings-topbar img {
  object-position: center center !important;
}


/* v1.0.162 - Rider deliveries menu label and logo orange title accent */
.cs-template .cs-title-word--orange {
  color: #e27c1b !important;
}


/* v1.0.163 - Refined settings icon and updated logo orange title accent */
.cs-template .cs-title-word--orange {
  color: #EE7C35 !important;
}

.cs-template .icon-button--settings-topbar,
.cs-template .icon-button.icon-button--settings-topbar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  border-radius: 12px !important;
}

.cs-template .icon-button--settings-topbar img,
.cs-template .icon-button.icon-button--settings-topbar img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* v1.0.164 - Uniform white sidebar buttons, smaller category titles and Bikes Allocation rename */
.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  background: #ffffff !important;
  border: 1.45px solid #d2deec !important;
  border-left: 1.45px solid #d2deec !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  background: #f8fbff !important;
  border-color: #c2d1e2 !important;
  border-left-color: #c2d1e2 !important;
  transform: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: #eaf4ff !important;
  border: 1.45px solid #93c5fd !important;
  border-left: 1.45px solid #93c5fd !important;
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.28) !important;
  padding: 8px 12px !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  background: #ffffff !important;
  border-color: #d2deec !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link .cs-rail-menu__icon-box {
  background: #ffffff !important;
  border-color: #bfdbfe !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 11px !important;
  line-height: 1.18 !important;
  letter-spacing: 0.04em !important;
}

.cs-template .cs-app-title,
.cs-template .component-panel h1,
.cs-template .component-panel .page-header h1 {
  font-size: calc(clamp(2.35rem, 3.25vw, 3.4rem) - 4pt) !important;
}

.cs-template .cs-app-panel__title,
.cs-template .cs-bike-updates h2,
.cs-template .module-card__title,
.cs-template .panel__header h2,
.cs-template .event-card h3,
.cs-template .weather-panel h2,
.cs-template .forecast-panel h2,
.cs-template .time-panel h2 {
  font-size: calc(0.88rem - 3pt) !important;
}


/* v1.0.165 - Sidebar menu aligned to approved reference style */
.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 8px 12px !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1.45px solid #c8d6e5 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  background: #f8fbff !important;
  border-color: #bfcfe0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active,
.cs-template .side-rail .rail-nav__link.is-active,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
.cs-template .side-rail .mod-menu .active > a,
.cs-template .side-rail .nav .active > a,
.cs-template .side-rail .current > a,
.cs-template .side-rail .mod-menu a[aria-current="page"],
.cs-template .side-rail .nav a[aria-current="page"] {
  background: #edf5ff !important;
  border-color: #a9c4df !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before,
.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before {
  content: none !important;
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 5px !important;
  border: 1.35px solid #d2deec !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box {
  border-color: #c4d5e7 !important;
}

.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link .cs-rail-menu__icon-box,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link .cs-rail-menu__icon-box {
  background: #ffffff !important;
  border-color: #bfd1e5 !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  color: #08285d !important;
  font-size: 11px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
}


/* v1.0.166 - Bikes Allocation table title and global page title reduction */
.cs-template .cs-app-screen--bikes .cs-bike-updates header,
.cs-template .cs-bike-updates header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-bike-updates h2 {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  color: #6b7280 !important;
}

.cs-template .cs-app-title,
.cs-template .component-panel h1,
.cs-template .component-panel .page-header h1,
.cs-template .default-hero-title {
  font-size: calc(clamp(2.35rem, 3.25vw, 3.4rem) - 6pt) !important;
}

.cs-template .cs-app-hero__copy h1,
.cs-template .component-panel--app h1,
.cs-template main h1 {
  font-size: calc(clamp(2.35rem, 3.25vw, 3.4rem) - 6pt) !important;
}


/* v1.0.170 - Locked approved sidebar visual style and deterministic active state */
.cs-template .rail-nav--primary .cs-rail-menu,
.cs-template .rail-nav--secondary .cs-rail-menu {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 64px !important;
  padding: 8px 12px !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1.45px solid #c8d6e5 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover {
  background: #f8fbff !important;
  border-color: #bfcfe0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Reset every item to white first, even if Joomla marks it active/current incorrectly. */
body.cs-template .side-rail .cs-rail-menu__link,
body.cs-template .side-rail .rail-nav__link,
body.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link,
body.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link,
body.cs-template .side-rail .mod-menu .active > a,
body.cs-template .side-rail .nav .active > a,
body.cs-template .side-rail .current > a,
body.cs-template .side-rail .mod-menu a[aria-current="page"],
body.cs-template .side-rail .nav a[aria-current="page"] {
  background: #ffffff !important;
  border-color: #c8d6e5 !important;
  box-shadow: none !important;
}

/* Then apply the Dashboard-style selection only to the current section. */
body.cs-template.cs-nav-active-dashboard .side-rail [data-nav-key="dashboard"],
body.cs-template.cs-nav-active-documents .side-rail [data-nav-key="documents"],
body.cs-template.cs-nav-active-inventory .side-rail [data-nav-key="inventory"],
body.cs-template.cs-nav-active-bikes .side-rail [data-nav-key="bikes"],
body.cs-template.cs-nav-active-mechanics .side-rail [data-nav-key="mechanics"],
body.cs-template.cs-nav-active-logistics .side-rail [data-nav-key="logistics"],
body.cs-template.cs-nav-active-bike-fit .side-rail [data-nav-key="bike-fit"],
body.cs-template.cs-nav-active-settings .side-rail [data-nav-key="settings"] {
  background: #edf5ff !important;
  border-color: #a9c4df !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link::before,
.cs-template .side-rail .rail-nav__link::before,
.cs-template .side-rail .mod-menu a::before,
.cs-template .side-rail .nav a::before,
.cs-template .side-rail .cs-rail-menu__link.is-active::before,
.cs-template .side-rail .rail-nav__link.is-active::before,
.cs-template .side-rail .cs-rail-menu__item.active > .cs-rail-menu__link::before,
.cs-template .side-rail .cs-rail-menu__item.current > .cs-rail-menu__link::before {
  content: none !important;
  display: none !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 5px !important;
  border: 1.35px solid #d2deec !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box {
  background: #ffffff !important;
  border-color: #c4d5e7 !important;
}

body.cs-template.cs-nav-active-dashboard .side-rail [data-nav-key="dashboard"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-documents .side-rail [data-nav-key="documents"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-inventory .side-rail [data-nav-key="inventory"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-bikes .side-rail [data-nav-key="bikes"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-mechanics .side-rail [data-nav-key="mechanics"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-logistics .side-rail [data-nav-key="logistics"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-bike-fit .side-rail [data-nav-key="bike-fit"] .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-settings .side-rail [data-nav-key="settings"] .cs-rail-menu__icon-box {
  background: #ffffff !important;
  border-color: #bfd1e5 !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  color: #08285d !important;
  font-size: 11px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
}


/* v1.0.171 - Restore clear spacing between sidebar buttons */
.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.cs-template .side-rail .cs-rail-menu__item,
.cs-template .side-rail .mod-menu > li,
.cs-template .side-rail .nav > li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  width: 100% !important;
}


/* v1.0.172 - Sidebar hover orange and smaller buttons */
.cs-template .side-rail .cs-rail-menu,
.cs-template .side-rail .mod-menu,
.cs-template .side-rail .nav {
  gap: 10px !important;
}

.cs-template .side-rail .cs-rail-menu__link,
.cs-template .side-rail .rail-nav__link,
.cs-template .side-rail .mod-menu a,
.cs-template .side-rail .nav a {
  min-height: 58px !important;
  padding: 6px 10px !important;
  gap: 10px !important;
  border-radius: 16px !important;
}

.cs-template .side-rail .cs-rail-menu__icon-box {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 4px !important;
  border-radius: 13px !important;
}

.cs-template .side-rail .cs-rail-menu__text,
.cs-template .side-rail .rail-nav__text,
.cs-template .side-rail .mod-menu a span,
.cs-template .side-rail .nav a span {
  font-size: 10.5px !important;
  line-height: 1.14 !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover,
.cs-template .side-rail .rail-nav__link:hover,
.cs-template .side-rail .mod-menu a:hover,
.cs-template .side-rail .nav a:hover,
body.cs-template.cs-nav-active-dashboard .side-rail [data-nav-key="dashboard"]:hover,
body.cs-template.cs-nav-active-documents .side-rail [data-nav-key="documents"]:hover,
body.cs-template.cs-nav-active-inventory .side-rail [data-nav-key="inventory"]:hover,
body.cs-template.cs-nav-active-bikes .side-rail [data-nav-key="bikes"]:hover,
body.cs-template.cs-nav-active-mechanics .side-rail [data-nav-key="mechanics"]:hover,
body.cs-template.cs-nav-active-logistics .side-rail [data-nav-key="logistics"]:hover,
body.cs-template.cs-nav-active-bike-fit .side-rail [data-nav-key="bike-fit"]:hover,
body.cs-template.cs-nav-active-settings .side-rail [data-nav-key="settings"]:hover {
  background: #fff1e6 !important;
  border-color: #efc39b !important;
}

.cs-template .side-rail .cs-rail-menu__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .rail-nav__link:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .mod-menu a:hover .cs-rail-menu__icon-box,
.cs-template .side-rail .nav a:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-dashboard .side-rail [data-nav-key="dashboard"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-documents .side-rail [data-nav-key="documents"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-inventory .side-rail [data-nav-key="inventory"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-bikes .side-rail [data-nav-key="bikes"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-mechanics .side-rail [data-nav-key="mechanics"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-logistics .side-rail [data-nav-key="logistics"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-bike-fit .side-rail [data-nav-key="bike-fit"]:hover .cs-rail-menu__icon-box,
body.cs-template.cs-nav-active-settings .side-rail [data-nav-key="settings"]:hover .cs-rail-menu__icon-box {
  background: #ffffff !important;
  border-color: #efc39b !important;
}


/* v1.0.173 - Light graphic effect for SC / EXT / NA badges */
.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
.cs-template .cs-bike-legend__item b,
.cs-template .cs-bike-slot__status b {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 2px 6px rgba(21, 34, 58, 0.12) !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item b::after,
.cs-template .cs-bike-legend__item b::after,
.cs-template .cs-bike-slot__status b::after {
  content: "" !important;
  position: absolute !important;
  left: 2px !important;
  right: 2px !important;
  top: 2px !important;
  height: 42% !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.12) 100%) !important;
  pointer-events: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--sc b,
.cs-template .cs-bike-legend__item--sc b,
.cs-template .cs-bike-slot--sc .cs-bike-slot__status b {
  background: linear-gradient(180deg, #24cc73 0%, #18b861 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 2px 7px rgba(24, 145, 82, 0.18) !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--ext b,
.cs-template .cs-bike-legend__item--ext b,
.cs-template .cs-bike-slot--ext .cs-bike-slot__status b {
  background: linear-gradient(180deg, #ff8c34 0%, #ff7518 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 2px 7px rgba(240, 95, 10, 0.18) !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--na b,
.cs-template .cs-bike-legend__item--na b,
.cs-template .cs-bike-slot--na .cs-bike-slot__status b {
  background: linear-gradient(180deg, #a8b4c3 0%, #94a2b4 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 2px 7px rgba(102, 115, 134, 0.16) !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
.cs-template .cs-bike-legend__item,
.cs-template .cs-bike-slot__status {
  filter: saturate(1.03) !important;
}


/* v1.0.174 - Alternative 3 minimal soft-fill badges + legend slightly left */
.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  justify-content: flex-end !important;
  padding-right: 22px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
.cs-template .cs-bike-legend__item b,
.cs-template .cs-bike-slot__status b {
  position: relative !important;
  overflow: hidden !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item b::after,
.cs-template .cs-bike-legend__item b::after,
.cs-template .cs-bike-slot__status b::after {
  content: none !important;
  display: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--sc b,
.cs-template .cs-bike-legend__item--sc b,
.cs-template .cs-bike-slot--sc .cs-bike-slot__status b {
  background: #ddf2e5 !important;
  color: #0f9d53 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--ext b,
.cs-template .cs-bike-legend__item--ext b,
.cs-template .cs-bike-slot--ext .cs-bike-slot__status b {
  background: #fde8dc !important;
  color: #ef6c12 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--na b,
.cs-template .cs-bike-legend__item--na b,
.cs-template .cs-bike-slot--na .cs-bike-slot__status b {
  background: #eef1f5 !important;
  color: #667386 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
.cs-template .cs-bike-legend__item,
.cs-template .cs-bike-slot__status {
  filter: none !important;
}


/* v1.0.175 - Strict Alternative 3: flat soft-fill badges, no shadow */
.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-bike-legend {
  justify-content: flex-end !important;
  padding-right: 22px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
.cs-template .cs-bike-legend__item,
.cs-template .cs-bike-slot__status {
  filter: none !important;
  text-shadow: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
.cs-template .cs-bike-legend__item b,
.cs-template .cs-bike-slot__status b {
  position: static !important;
  overflow: visible !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  background-image: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item b::before,
.cs-template .cs-bike-legend__item b::before,
.cs-template .cs-bike-slot__status b::before,
.cs-template .cs-app-screen--bikes .cs-bike-legend__item b::after,
.cs-template .cs-bike-legend__item b::after,
.cs-template .cs-bike-slot__status b::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--sc b,
.cs-template .cs-bike-legend__item--sc b,
.cs-template .cs-bike-slot--sc .cs-bike-slot__status b {
  background: #ddf2e5 !important;
  color: #0f9d53 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--ext b,
.cs-template .cs-bike-legend__item--ext b,
.cs-template .cs-bike-slot--ext .cs-bike-slot__status b {
  background: #fde8dc !important;
  color: #ef6c12 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--na b,
.cs-template .cs-bike-legend__item--na b,
.cs-template .cs-bike-slot--na .cs-bike-slot__status b {
  background: #eef1f5 !important;
  color: #667386 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
.cs-template .cs-bike-legend__item small,
.cs-template .cs-bike-slot__status small {
  text-shadow: none !important;
  filter: none !important;
}


/* v1.0.176 - Force fully flat Alternative 3 badges inside rider cards */
.cs-template .cs-bike-slot__status,
.cs-template .cs-bike-slot__status *,
.cs-template .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b::before,
.cs-template .cs-bike-slot__status b::after,
.cs-template .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small::before,
.cs-template .cs-bike-slot__status small::after {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  background-image: none !important;
}

.cs-template .cs-bike-slot__status b::before,
.cs-template .cs-bike-slot__status b::after,
.cs-template .cs-bike-slot__status small::before,
.cs-template .cs-bike-slot__status small::after {
  content: none !important;
  display: none !important;
}

.cs-template .cs-bike-slot__status b {
  border: 0 !important;
  outline: 0 !important;
  min-width: 31px !important;
  height: 25px !important;
  border-radius: 8px !important;
}

.cs-template .cs-bike-slot--sc .cs-bike-slot__status b {
  background: #ddf2e5 !important;
  color: #0f9d53 !important;
}

.cs-template .cs-bike-slot--ext .cs-bike-slot__status b {
  background: #fde8dc !important;
  color: #ef6c12 !important;
}

.cs-template .cs-bike-slot--na .cs-bike-slot__status b {
  background: #eef1f5 !important;
  color: #667386 !important;
}

.cs-template .cs-bike-slot--sc .cs-bike-slot__status small {
  color: #0f9d53 !important;
}

.cs-template .cs-bike-slot--ext .cs-bike-slot__status small {
  color: #ef6c12 !important;
}

.cs-template .cs-bike-slot--na .cs-bike-slot__status small {
  color: #667386 !important;
}


/* v1.0.177 - Colored border matching label text on SC / EXT / NA badges */
.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
.cs-template .cs-bike-legend__item b,
.cs-template .cs-bike-slot__status b {
  border-width: 1px !important;
  border-style: solid !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--sc b,
.cs-template .cs-bike-legend__item--sc b,
.cs-template .cs-bike-slot--sc .cs-bike-slot__status b {
  border-color: #0f9d53 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--ext b,
.cs-template .cs-bike-legend__item--ext b,
.cs-template .cs-bike-slot--ext .cs-bike-slot__status b {
  border-color: #ef6c12 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-legend__item--na b,
.cs-template .cs-bike-legend__item--na b,
.cs-template .cs-bike-slot--na .cs-bike-slot__status b {
  border-color: #667386 !important;
}


/* v1.0.178 - Increase rider photo and rider text size */
.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
.cs-template .cs-bike-rider-card {
  padding: 13px 12px 12px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head,
.cs-template .cs-bike-rider-card__head {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding-bottom: 11px !important;
  margin-bottom: 11px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
.cs-template .cs-bike-rider-card__avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 13px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  font-size: 1.02rem !important;
  line-height: 1.06 !important;
  margin-bottom: 5px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
.cs-template .cs-bike-rider-card p {
  font-size: 0.69rem !important;
  line-height: 1.15 !important;
}


/* v1.0.179 - Larger dedicated road / TT bike icons in rider cards */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 30px minmax(0, 1fr) 118px !important;
  gap: 8px !important;
  padding: 7px 10px 7px 6px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  justify-self: start !important;
  align-self: center !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: #718096 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before {
  content: "" !important;
  display: block !important;
  background: currentColor !important;
  opacity: 1 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--road::before,
.cs-template .cs-bike-slot__icon--road::before {
  width: 24px !important;
  height: 16px !important;
  -webkit-mask: url("../icons/bike-road-aero-road2-v183.svg") center / contain no-repeat !important;
  mask: url("../icons/bike-road-aero-road2-v183.svg") center / contain no-repeat !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--tt::before,
.cs-template .cs-bike-slot__icon--tt::before {
  width: 26px !important;
  height: 16px !important;
  -webkit-mask: url("../icons/bike-tt-disc-tt2-v183.svg") center / contain no-repeat !important;
  mask: url("../icons/bike-tt-disc-tt2-v183.svg") center / contain no-repeat !important;
}


/* v1.0.182 - Card-optimized proportional Road 2 / TT 2 bike icons */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 38px minmax(0, 1fr) 118px !important;
  gap: 9px !important;
  padding: 7px 10px 7px 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon {
  width: 38px !important;
  height: 36px !important;
  min-width: 38px !important;
  min-height: 36px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--road::before,
.cs-template .cs-bike-slot__icon--road::before {
  width: 32px !important;
  height: 21px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--tt::before,
.cs-template .cs-bike-slot__icon--tt::before {
  width: 34px !important;
  height: 21px !important;
}


/* v1.0.183 - Cache-busted approved bike icons
   Force browser reload of rider-card bike SVG masks by using new versioned filenames:
   bike-road-aero-road2-v183.svg and bike-tt-disc-tt2-v183.svg.
*/
.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--road::before,
.cs-template .cs-bike-slot__icon--road::before {
  -webkit-mask-image: url("../icons/bike-road-aero-road2-v183.svg") !important;
  mask-image: url("../icons/bike-road-aero-road2-v183.svg") !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--tt::before,
.cs-template .cs-bike-slot__icon--tt::before {
  -webkit-mask-image: url("../icons/bike-tt-disc-tt2-v183.svg") !important;
  mask-image: url("../icons/bike-tt-disc-tt2-v183.svg") !important;
}


/* v1.0.184 - Inline SVG Bikes Allocation rider-card icons
   The rider-card bike icons are now rendered inline from PHP, so they do not depend on cached SVG mask files.
*/
.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline::before,
.cs-template .cs-bike-slot__icon--inline::before {
  display: none !important;
  content: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline,
.cs-template .cs-bike-slot__icon--inline {
  background: transparent !important;
  color: #1f2f46 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg,
.cs-template .cs-bike-slot__svg {
  display: block !important;
  width: 34px !important;
  height: auto !important;
  max-width: 34px !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg--tt,
.cs-template .cs-bike-slot__svg--tt {
  width: 35px !important;
  max-width: 35px !important;
}


/* v1.0.185 - Larger and bolder inline rider-card bike icons */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 46px minmax(0, 1fr) 118px !important;
  gap: 8px !important;
  padding-left: 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline,
.cs-template .cs-bike-slot__icon--inline {
  width: 46px !important;
  height: 34px !important;
  min-width: 46px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  color: #1d2f48 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline::before,
.cs-template .cs-bike-slot__icon--inline::before {
  display: none !important;
  content: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  background: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg,
.cs-template .cs-bike-slot__svg {
  display: block !important;
  width: 43px !important;
  max-width: 43px !important;
  height: auto !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg--tt,
.cs-template .cs-bike-slot__svg--tt {
  width: 44px !important;
  max-width: 44px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
}


/* v1.0.187 - Clean compact proportional inline bike icons */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 36px minmax(0, 1fr) 118px !important;
  gap: 8px !important;
  padding: 7px 10px 7px 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline,
.cs-template .cs-bike-slot__icon--inline {
  width: 34px !important;
  height: 28px !important;
  min-width: 34px !important;
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #233852 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline::before,
.cs-template .cs-bike-slot__icon--inline::before {
  display: none !important;
  content: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  background: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg,
.cs-template .cs-bike-slot__svg {
  display: block !important;
  width: 32px !important;
  height: 22px !important;
  max-width: 32px !important;
  max-height: 22px !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg--tt,
.cs-template .cs-bike-slot__svg--tt {
  width: 33px !important;
  max-width: 33px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike strong,
.cs-template .cs-bike-slot__bike strong {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}


/* v1.0.188 - Natural bike proportions without stretched appearance */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 34px minmax(0, 1fr) 118px !important;
  gap: 8px !important;
  padding: 7px 10px 7px 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline,
.cs-template .cs-bike-slot__icon--inline {
  width: 32px !important;
  height: 24px !important;
  min-width: 32px !important;
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #233852 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline::before,
.cs-template .cs-bike-slot__icon--inline::before {
  display: none !important;
  content: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  background: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg,
.cs-template .cs-bike-slot__svg {
  display: block !important;
  width: 30px !important;
  max-width: 30px !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 96 / 56 !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg--tt,
.cs-template .cs-bike-slot__svg--tt {
  width: 30px !important;
  max-width: 30px !important;
}


/* v1.0.189 - Completely redrawn compact bike icons */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: 36px minmax(0, 1fr) 118px !important;
  gap: 8px !important;
  padding: 7px 10px 7px 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline,
.cs-template .cs-bike-slot__icon--inline {
  width: 32px !important;
  min-width: 32px !important;
  height: 24px !important;
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #233852 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon--inline::before,
.cs-template .cs-bike-slot__icon--inline::before {
  display: none !important;
  content: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  background: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg,
.cs-template .cs-bike-slot__svg {
  display: block !important;
  width: 28px !important;
  max-width: 28px !important;
  height: auto !important;
  aspect-ratio: 84 / 56 !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__svg--tt,
.cs-template .cs-bike-slot__svg--tt {
  width: 28px !important;
  max-width: 28px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
}


/* v1.0.190 - Login button rest/hover style refinement
   Rest state follows the Documents Export CSV button style.
   Hover state follows the Documents Clear button style.
*/
.cs-template .com-users-login form,
.cs-template .login form,
.cs-template .logout form,
.cs-template .cs-login form,
.cs-template form.com-users-login__form {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.cs-template .com-users-login button[type="submit"],
.cs-template .login button[type="submit"],
.cs-template .cs-login button[type="submit"],
.cs-template .com-users-login .btn-primary,
.cs-template .login .btn-primary,
.cs-template .cs-login .btn-primary,
.cs-template .com-users-login .button,
.cs-template .login .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 126px !important;
  max-width: 150px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 28px !important;
  margin: 12px auto 0 !important;
  border-radius: 8px !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}

.cs-template .com-users-login button[type="submit"]:hover,
.cs-template .login button[type="submit"]:hover,
.cs-template .cs-login button[type="submit"]:hover,
.cs-template .com-users-login .btn-primary:hover,
.cs-template .login .btn-primary:hover,
.cs-template .cs-login .btn-primary:hover,
.cs-template .com-users-login .button:hover,
.cs-template .login .button:hover {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  color: #e45f0a !important;
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.12) !important;
  transform: translateY(-1px) !important;
}

.cs-template .com-users-login button[type="submit"]:focus-visible,
.cs-template .login button[type="submit"]:focus-visible,
.cs-template .cs-login button[type="submit"]:focus-visible,
.cs-template .com-users-login .btn-primary:focus-visible,
.cs-template .login .btn-primary:focus-visible,
.cs-template .cs-login .btn-primary:focus-visible {
  outline: 3px solid rgba(255, 122, 24, 0.22) !important;
  outline-offset: 2px !important;
}


/* v1.0.191 - Force Joomla login button compact Export/Clear style
   Targets Joomla com_users login markup directly, including fallback selectors
   for pages where the body/page wrapper classes differ.
*/
body[class*="com-users"] button[type="submit"],
body[class*="com-users"] input[type="submit"],
body[class*="users"] button[type="submit"],
body[class*="users"] input[type="submit"],
body[class*="login"] button[type="submit"],
body[class*="login"] input[type="submit"],
.com-users-login button[type="submit"],
.com-users-login input[type="submit"],
.login button[type="submit"],
.login input[type="submit"],
.login form button,
.login form .btn,
.login form .button,
form[action*="users/login"] button[type="submit"],
form[action*="users/login"] input[type="submit"],
form[action*="component/users"] button[type="submit"],
form[action*="component/users"] input[type="submit"],
#member-login button[type="submit"],
#member-login input[type="submit"],
#login-form button[type="submit"],
#login-form input[type="submit"],
button.login-button,
input.login-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 12px auto 0 auto !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}

body[class*="com-users"] button[type="submit"]:hover,
body[class*="com-users"] input[type="submit"]:hover,
body[class*="users"] button[type="submit"]:hover,
body[class*="users"] input[type="submit"]:hover,
body[class*="login"] button[type="submit"]:hover,
body[class*="login"] input[type="submit"]:hover,
.com-users-login button[type="submit"]:hover,
.com-users-login input[type="submit"]:hover,
.login button[type="submit"]:hover,
.login input[type="submit"]:hover,
.login form button:hover,
.login form .btn:hover,
.login form .button:hover,
form[action*="users/login"] button[type="submit"]:hover,
form[action*="users/login"] input[type="submit"]:hover,
form[action*="component/users"] button[type="submit"]:hover,
form[action*="component/users"] input[type="submit"]:hover,
#member-login button[type="submit"]:hover,
#member-login input[type="submit"]:hover,
#login-form button[type="submit"]:hover,
#login-form input[type="submit"]:hover,
button.login-button:hover,
input.login-button:hover {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.12) !important;
  transform: translateY(-1px) !important;
}

body[class*="com-users"] form,
body[class*="users"] form,
body[class*="login"] form,
.com-users-login form,
.login form,
#member-login,
#login-form {
  text-align: left !important;
}

body[class*="com-users"] form .control-group:last-child,
body[class*="users"] form .control-group:last-child,
body[class*="login"] form .control-group:last-child,
.com-users-login form .control-group:last-child,
.login form .control-group:last-child,
#member-login .control-group:last-child,
#login-form .control-group:last-child {
  display: flex !important;
  justify-content: center !important;
}

/* Specific safety net for the Cycling Support login screen markup. */
.cs-template .login .btn-primary,
.cs-template .login .btn,
.cs-template .com-users-login .btn-primary,
.cs-template .com-users-login .btn,
.cs-template #member-login .btn-primary,
.cs-template #login-form .btn-primary {
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  color: #0d2f68 !important;
}

.cs-template .login .btn-primary:hover,
.cs-template .login .btn:hover,
.cs-template .com-users-login .btn-primary:hover,
.cs-template .com-users-login .btn:hover,
.cs-template #member-login .btn-primary:hover,
.cs-template #login-form .btn-primary:hover {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  color: #e45f0a !important;
}


/* v1.0.192 - Login button forced Export/Clear visual state */
html body .cs-login-submit-forced,
html body .cs-template .cs-login-submit-forced,
html body button.cs-login-submit-forced,
html body input.cs-login-submit-forced,
html body .btn.cs-login-submit-forced,
html body .btn-primary.cs-login-submit-forced {
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 12px auto 0 auto !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid #c9d7ea !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body .cs-login-submit-forced:hover,
html body .cs-template .cs-login-submit-forced:hover,
html body button.cs-login-submit-forced:hover,
html body input.cs-login-submit-forced:hover,
html body .btn.cs-login-submit-forced:hover,
html body .btn-primary.cs-login-submit-forced:hover {
  border-color: #ff7a18 !important;
  background-color: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.12) !important;
  transform: translateY(-1px) !important;
}


/* v1.0.194 - Compact login button Export/Clear style */
html body .cs-login-submit-forced,
html body button.cs-login-submit-forced,
html body input.cs-login-submit-forced,
body[class*="com-users"] button[type="submit"],
body[class*="com-users"] input[type="submit"],
body[class*="login"] button[type="submit"],
body[class*="login"] input[type="submit"],
.com-users-login button[type="submit"],
.com-users-login input[type="submit"],
.login button[type="submit"],
.login input[type="submit"],
#member-login button[type="submit"],
#member-login input[type="submit"],
#login-form button[type="submit"],
#login-form input[type="submit"] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  margin: 12px auto 0 auto !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body .cs-login-submit-forced:hover,
html body button.cs-login-submit-forced:hover,
html body input.cs-login-submit-forced:hover,
body[class*="com-users"] button[type="submit"]:hover,
body[class*="com-users"] input[type="submit"]:hover,
body[class*="login"] button[type="submit"]:hover,
body[class*="login"] input[type="submit"]:hover,
.com-users-login button[type="submit"]:hover,
.com-users-login input[type="submit"]:hover,
.login button[type="submit"]:hover,
.login input[type="submit"]:hover,
#member-login button[type="submit"]:hover,
#member-login input[type="submit"]:hover,
#login-form button[type="submit"]:hover,
#login-form input[type="submit"]:hover {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.12) !important;
  transform: translateY(-1px) !important;
}


/* v1.0.195 - Login form vertical layout */
body[class*="com-users"] form,
body[class*="login"] form,
.com-users-login form,
.login form,
#member-login,
#login-form,
form[action*="component/users"],
form[action*="users/login"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
}

body[class*="com-users"] form .control-group,
body[class*="login"] form .control-group,
.com-users-login form .control-group,
.login form .control-group,
#member-login .control-group,
#login-form .control-group,
form[action*="component/users"] .control-group,
form[action*="users/login"] .control-group {
  display: block !important;
  width: 276px !important;
  max-width: 276px !important;
  margin: 0 0 12px 0 !important;
}

body[class*="com-users"] form .control-label,
body[class*="login"] form .control-label,
.com-users-login form .control-label,
.login form .control-label,
#member-login .control-label,
#login-form .control-label,
form[action*="component/users"] .control-label,
form[action*="users/login"] .control-label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 6px 0 !important;
  text-align: left !important;
}

body[class*="com-users"] form .controls,
body[class*="login"] form .controls,
.com-users-login form .controls,
.login form .controls,
#member-login .controls,
#login-form .controls,
form[action*="component/users"] .controls,
form[action*="users/login"] .controls {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

body[class*="com-users"] form input[type="text"],
body[class*="com-users"] form input[type="password"],
body[class*="login"] form input[type="text"],
body[class*="login"] form input[type="password"],
.com-users-login form input[type="text"],
.com-users-login form input[type="password"],
.login form input[type="text"],
.login form input[type="password"],
#member-login input[type="text"],
#member-login input[type="password"],
#login-form input[type="text"],
#login-form input[type="password"],
form[action*="component/users"] input[type="text"],
form[action*="component/users"] input[type="password"],
form[action*="users/login"] input[type="text"],
form[action*="users/login"] input[type="password"] {
  display: block !important;
  width: 276px !important;
  max-width: 276px !important;
  height: 40px !important;
  box-sizing: border-box !important;
}

body[class*="com-users"] form .control-group:last-child,
body[class*="login"] form .control-group:last-child,
.com-users-login form .control-group:last-child,
.login form .control-group:last-child,
#member-login .control-group:last-child,
#login-form .control-group:last-child,
form[action*="component/users"] .control-group:last-child,
form[action*="users/login"] .control-group:last-child {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 276px !important;
  max-width: 276px !important;
  margin-top: 0 !important;
}

body[class*="com-users"] button[type="submit"],
body[class*="com-users"] input[type="submit"],
body[class*="login"] button[type="submit"],
body[class*="login"] input[type="submit"],
.com-users-login button[type="submit"],
.com-users-login input[type="submit"],
.login button[type="submit"],
.login input[type="submit"],
#member-login button[type="submit"],
#member-login input[type="submit"],
#login-form button[type="submit"],
#login-form input[type="submit"],
form[action*="component/users"] button[type="submit"],
form[action*="component/users"] input[type="submit"],
form[action*="users/login"] button[type="submit"],
form[action*="users/login"] input[type="submit"] {
  margin: 0 auto !important;
}


/* v1.0.196 - Stable perfectly centered login screen */
.cs-template .cs-login-minimal,
.cs-login-minimal {
  width: 100% !important;
  max-width: 276px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  text-align: center !important;
}

.cs-template .cs-login-minimal-form,
.cs-login-minimal-form,
.cs-template #login-form.cs-login-minimal-form,
#login-form.cs-login-minimal-form {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 276px !important;
  row-gap: 12px !important;
  justify-content: center !important;
  align-items: start !important;
  text-align: left !important;
}

.cs-template .cs-login-minimal__field,
.cs-login-minimal__field {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  text-align: left !important;
}

.cs-template .cs-login-minimal__field label,
.cs-login-minimal__field label {
  display: block !important;
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.15 !important;
}

.cs-template .cs-login-minimal__field input,
.cs-login-minimal__field input,
.cs-template #login-form.cs-login-minimal-form input[type="text"],
.cs-template #login-form.cs-login-minimal-form input[type="password"],
#login-form.cs-login-minimal-form input[type="text"],
#login-form.cs-login-minimal-form input[type="password"] {
  box-sizing: border-box !important;
  display: block !important;
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #c9d7ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 140ms ease, box-shadow 140ms ease !important;
}

.cs-template .cs-login-minimal__field input:focus,
.cs-login-minimal__field input:focus,
.cs-template #login-form.cs-login-minimal-form input[type="text"]:focus,
.cs-template #login-form.cs-login-minimal-form input[type="password"]:focus,
#login-form.cs-login-minimal-form input[type="text"]:focus,
#login-form.cs-login-minimal-form input[type="password"]:focus {
  border-color: #9fb4d1 !important;
  box-shadow: 0 0 0 3px rgba(13, 47, 104, 0.08) !important;
}

.cs-template .cs-login-minimal__submit,
.cs-login-minimal__submit,
.cs-template #login-form.cs-login-minimal-form .cs-login-minimal__submit,
#login-form.cs-login-minimal-form .cs-login-minimal__submit {
  box-sizing: border-box !important;
  justify-self: center !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transform: none !important;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease !important;
}

.cs-template .cs-login-minimal__submit:hover,
.cs-login-minimal__submit:hover,
.cs-template #login-form.cs-login-minimal-form .cs-login-minimal__submit:hover,
#login-form.cs-login-minimal-form .cs-login-minimal__submit:hover,
.cs-template .cs-login-minimal__submit:focus,
.cs-login-minimal__submit:focus {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
  transform: none !important;
}

/* Prevent older generic login overrides from turning fields/button into a horizontal row. */
.cs-template .cs-login-minimal-form > *,
.cs-login-minimal-form > * {
  grid-column: 1 !important;
}


/* v1.0.197 - Login screen fixed CSS-only layout
   No JavaScript resizing. All login elements have fixed dimensions and stable alignment.
*/

/* Outer guest/login screen: keep content centered and stable. */
.cs-template .cs-auth-shell,
.cs-auth-shell,
.cs-template .cs-login-minimal,
.cs-login-minimal {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* Logo / brand block */
.cs-template .cs-auth-brand,
.cs-auth-brand {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 auto 22px auto !important;
  padding: 0 !important;
  display: block !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.cs-template .cs-auth-brand img,
.cs-auth-brand img,
.cs-template .cs-login-minimal img,
.cs-login-minimal img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Remove card/form adaptation and lock a single central column. */
.cs-template .cs-auth-card,
.cs-auth-card {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

.cs-template .cs-auth-form,
.cs-auth-form,
.cs-template .cs-login-minimal-form,
.cs-login-minimal-form,
.cs-template #login-form,
#login-form {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

/* Each field is a fixed vertical block. */
.cs-template .cs-auth-field,
.cs-auth-field,
.cs-template .cs-login-minimal__field,
.cs-login-minimal__field {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  text-align: left !important;
  float: none !important;
  clear: both !important;
}

.cs-template .cs-auth-field label,
.cs-auth-field label,
.cs-template .cs-login-minimal__field label,
.cs-login-minimal__field label {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  display: block !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.15 !important;
  box-sizing: border-box !important;
}

/* Inputs never change size. */
.cs-template .cs-auth-field input,
.cs-auth-field input,
.cs-template .cs-login-minimal__field input,
.cs-login-minimal__field input,
.cs-template #login-form input[type="text"],
.cs-template #login-form input[type="password"],
#login-form input[type="text"],
#login-form input[type="password"] {
  width: 276px !important;
  max-width: 276px !important;
  min-width: 276px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  border: 1px solid #c9d7ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  transition: border-color 140ms ease, box-shadow 140ms ease !important;
}

.cs-template .cs-auth-field input:focus,
.cs-auth-field input:focus,
.cs-template .cs-login-minimal__field input:focus,
.cs-login-minimal__field input:focus,
.cs-template #login-form input[type="text"]:focus,
.cs-template #login-form input[type="password"]:focus,
#login-form input[type="text"]:focus,
#login-form input[type="password"]:focus {
  border-color: #9fb4d1 !important;
  box-shadow: 0 0 0 3px rgba(13, 47, 104, 0.08) !important;
  transform: none !important;
}

/* Button: fixed, centered, no movement/adaptation. */
.cs-template .cs-auth-submit,
.cs-auth-submit,
.cs-template .cs-login-minimal__submit,
.cs-login-minimal__submit,
.cs-template #login-form button[type="submit"],
#login-form button[type="submit"],
.cs-template #login-form input[type="submit"],
#login-form input[type="submit"] {
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transform: none !important;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease !important;
}

.cs-template .cs-auth-submit:hover,
.cs-auth-submit:hover,
.cs-template .cs-login-minimal__submit:hover,
.cs-login-minimal__submit:hover,
.cs-template #login-form button[type="submit"]:hover,
#login-form button[type="submit"]:hover,
.cs-template #login-form input[type="submit"]:hover,
#login-form input[type="submit"]:hover,
.cs-template .cs-auth-submit:focus,
.cs-auth-submit:focus,
.cs-template .cs-login-minimal__submit:focus,
.cs-login-minimal__submit:focus {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
  transform: none !important;
}

/* Hard reset against older global form rules that caused horizontal alignment. */
.cs-template .cs-auth-form > *,
.cs-auth-form > *,
.cs-template .cs-login-minimal-form > *,
.cs-login-minimal-form > * {
  float: none !important;
  position: static !important;
}


/* v1.0.198 - Optical centering for login logo and stable login column
   The logo image artwork has asymmetric visual weight, so the image box can be mathematically centered
   while the visible logo feels slightly off. This block centers the login column to the viewport
   and applies a small optical correction to the logo only.
*/
html body .cs-auth-shell,
html body .cs-template .cs-auth-shell,
html body .cs-login-minimal,
html body .cs-template .cs-login-minimal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* Fixed central login stack: no responsive/morphing behavior. */
html body .cs-auth-shell > main,
html body .cs-auth-shell .cs-auth-main,
html body .cs-auth-card,
html body .cs-login-minimal {
  width: 276px !important;
  min-width: 276px !important;
  max-width: 276px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  text-align: center !important;
}

/* Logo block: mathematically centered to the viewport column. */
html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand {
  width: 276px !important;
  min-width: 276px !important;
  max-width: 276px !important;
  margin: 0 auto 22px auto !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Logo image optical correction.
   Use translateX(-6px) because the visible artwork weight is slightly right-heavy.
*/
html body .cs-auth-brand img,
html body .cs-template .cs-auth-brand img,
html body .cs-login-minimal__brand img,
html body .cs-template .cs-login-minimal__brand img,
html body .cs-login-minimal img,
html body .cs-template .cs-login-minimal img {
  display: block !important;
  margin: 0 auto !important;
  transform: translateX(-6px) !important;
  transform-origin: center center !important;
  max-width: 276px !important;
  height: auto !important;
}

/* Login form is centered under the same 276px column. */
html body .cs-auth-form,
html body .cs-template .cs-auth-form,
html body .cs-login-minimal-form,
html body .cs-template .cs-login-minimal-form,
html body #login-form.cs-login-minimal-form,
html body .cs-template #login-form.cs-login-minimal-form {
  width: 276px !important;
  min-width: 276px !important;
  max-width: 276px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

/* Stable field geometry */
html body .cs-auth-field,
html body .cs-template .cs-auth-field,
html body .cs-login-minimal__field,
html body .cs-template .cs-login-minimal__field {
  width: 276px !important;
  min-width: 276px !important;
  max-width: 276px !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

html body .cs-auth-field input,
html body .cs-template .cs-auth-field input,
html body .cs-login-minimal__field input,
html body .cs-template .cs-login-minimal__field input,
html body #login-form input[type="text"],
html body #login-form input[type="password"] {
  width: 276px !important;
  min-width: 276px !important;
  max-width: 276px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  box-sizing: border-box !important;
  transform: none !important;
}

/* Button fixed and centered under the form, no position shift on hover. */
html body .cs-auth-submit,
html body .cs-template .cs-auth-submit,
html body .cs-login-minimal__submit,
html body .cs-template .cs-login-minimal__submit,
html body #login-form button[type="submit"],
html body #login-form input[type="submit"] {
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transform: none !important;
}

html body .cs-auth-submit:hover,
html body .cs-template .cs-auth-submit:hover,
html body .cs-login-minimal__submit:hover,
html body .cs-template .cs-login-minimal__submit:hover,
html body #login-form button[type="submit"]:hover,
html body #login-form input[type="submit"]:hover {
  transform: none !important;
}


/* v1.0.199 - Smaller login fields and button */
html body .cs-auth-shell > main,
html body .cs-auth-shell .cs-auth-main,
html body .cs-auth-card,
html body .cs-login-minimal,
html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand,
html body .cs-auth-form,
html body .cs-template .cs-auth-form,
html body .cs-login-minimal-form,
html body .cs-template .cs-login-minimal-form,
html body #login-form.cs-login-minimal-form,
html body .cs-template #login-form.cs-login-minimal-form,
html body .cs-auth-field,
html body .cs-template .cs-auth-field,
html body .cs-login-minimal__field,
html body .cs-template .cs-login-minimal__field,
html body .cs-auth-field label,
html body .cs-template .cs-auth-field label,
html body .cs-login-minimal__field label,
html body .cs-template .cs-login-minimal__field label {
  width: 238px !important;
  min-width: 238px !important;
  max-width: 238px !important;
}

html body .cs-auth-field input,
html body .cs-template .cs-auth-field input,
html body .cs-login-minimal__field input,
html body .cs-template .cs-login-minimal__field input,
html body #login-form input[type="text"],
html body #login-form input[type="password"] {
  width: 238px !important;
  min-width: 238px !important;
  max-width: 238px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
}

html body .cs-auth-submit,
html body .cs-template .cs-auth-submit,
html body .cs-login-minimal__submit,
html body .cs-template .cs-login-minimal__submit,
html body #login-form button[type="submit"],
html body #login-form input[type="submit"] {
  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 0.74rem !important;
}

html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand {
  margin-bottom: 20px !important;
}

html body .cs-auth-field,
html body .cs-template .cs-auth-field,
html body .cs-login-minimal__field,
html body .cs-template .cs-login-minimal__field {
  margin-bottom: 11px !important;
}


/* v1.0.200 - Smaller Log in button only */
html body .cs-auth-submit,
html body .cs-template .cs-auth-submit,
html body .cs-login-minimal__submit,
html body .cs-template .cs-login-minimal__submit,
html body #login-form button[type="submit"],
html body #login-form input[type="submit"] {
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 7px !important;
  font-size: 0.70rem !important;
  line-height: 1 !important;
}


/* v1.0.201 - Smaller login input fields only */
html body .cs-auth-shell > main,
html body .cs-auth-shell .cs-auth-main,
html body .cs-auth-card,
html body .cs-login-minimal,
html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand,
html body .cs-auth-form,
html body .cs-template .cs-auth-form,
html body .cs-login-minimal-form,
html body .cs-template .cs-login-minimal-form,
html body #login-form.cs-login-minimal-form,
html body .cs-template #login-form.cs-login-minimal-form,
html body .cs-auth-field,
html body .cs-template .cs-auth-field,
html body .cs-login-minimal__field,
html body .cs-template .cs-login-minimal__field,
html body .cs-auth-field label,
html body .cs-template .cs-auth-field label,
html body .cs-login-minimal__field label,
html body .cs-template .cs-login-minimal__field label {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
}

html body .cs-auth-field input,
html body .cs-template .cs-auth-field input,
html body .cs-login-minimal__field input,
html body .cs-template .cs-login-minimal__field input,
html body #login-form input[type="text"],
html body #login-form input[type="password"] {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
}


/* v1.0.202 - Tiny Login button and stronger optical logo centering */

/* Keep the reduced input-column from v1.0.201. */
html body .cs-auth-shell > main,
html body .cs-auth-shell .cs-auth-main,
html body .cs-auth-card,
html body .cs-login-minimal,
html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand,
html body .cs-auth-form,
html body .cs-template .cs-auth-form,
html body .cs-login-minimal-form,
html body .cs-template .cs-login-minimal-form,
html body #login-form.cs-login-minimal-form,
html body .cs-template #login-form.cs-login-minimal-form,
html body .cs-auth-field,
html body .cs-template .cs-auth-field,
html body .cs-login-minimal__field,
html body .cs-template .cs-login-minimal__field,
html body .cs-auth-field label,
html body .cs-template .cs-auth-field label,
html body .cs-login-minimal__field label,
html body .cs-template .cs-login-minimal__field label {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
}

/* Logo optical centering: stronger correction than v1.0.198. */
html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

html body .cs-auth-brand img,
html body .cs-template .cs-auth-brand img,
html body .cs-login-minimal__brand img,
html body .cs-template .cs-login-minimal__brand img,
html body .cs-login-minimal img,
html body .cs-template .cs-login-minimal img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: translateX(-12px) !important;
  transform-origin: center center !important;
}

/* Inputs stay reduced. */
html body .cs-auth-field input,
html body .cs-template .cs-auth-field input,
html body .cs-login-minimal__field input,
html body .cs-template .cs-login-minimal__field input,
html body #login-form input[type="text"],
html body #login-form input[type="password"] {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
}

/* Make Log in clearly smaller. */
html body .cs-auth-submit,
html body .cs-template .cs-auth-submit,
html body .cs-login-minimal__submit,
html body .cs-template .cs-login-minimal__submit,
html body #login-form button[type="submit"],
html body #login-form input[type="submit"],
html body .login-button,
html body button.login-button {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  font-size: 0.66rem !important;
  line-height: 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}

/* Avoid any old hover rule visually enlarging it. */
html body .cs-auth-submit:hover,
html body .cs-template .cs-auth-submit:hover,
html body .cs-login-minimal__submit:hover,
html body .cs-template .cs-login-minimal__submit:hover,
html body #login-form button[type="submit"]:hover,
html body #login-form input[type="submit"]:hover,
html body .login-button:hover,
html body button.login-button:hover {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  padding: 0 10px !important;
  transform: none !important;
}


/* v1.0.203 - Real Log in button size, not underline only */
html body .cs-login-real-button,
html body button.cs-login-real-button,
html body .cs-auth-submit.cs-login-real-button,
html body .cs-login-minimal__submit.cs-login-real-button,
html body #login-form button.cs-login-real-button,
html body .cs-template .cs-login-real-button,
html body .cs-template button.cs-login-real-button,
html body .cs-template .cs-auth-submit.cs-login-real-button,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  inline-size: 76px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  block-size: 26px !important;
  padding: 0 10px !important;
  margin: 0 auto !important;
  border-radius: 6px !important;
  border: 1px solid #c9d7ea !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transform: none !important;
  overflow: hidden !important;
}

html body .cs-login-real-button:hover,
html body button.cs-login-real-button:hover,
html body .cs-auth-submit.cs-login-real-button:hover,
html body .cs-login-minimal__submit.cs-login-real-button:hover,
html body #login-form button.cs-login-real-button:hover,
html body .cs-template .cs-login-real-button:hover,
html body .cs-template button.cs-login-real-button:hover,
html body .cs-template .cs-auth-submit.cs-login-real-button:hover,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button:hover,
html body .cs-login-real-button:focus,
html body button.cs-login-real-button:focus,
html body .cs-auth-submit.cs-login-real-button:focus,
html body .cs-login-minimal__submit.cs-login-real-button:focus {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  inline-size: 76px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  block-size: 26px !important;
  padding: 0 10px !important;
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-color: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
  transform: none !important;
}

/* Remove decorative underline/pseudo-elements that can look like the only resized part. */
html body .cs-login-real-button::before,
html body .cs-login-real-button::after,
html body .cs-auth-submit::before,
html body .cs-auth-submit::after,
html body .cs-login-minimal__submit::before,
html body .cs-login-minimal__submit::after,
html body button.login-button::before,
html body button.login-button::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Make sure the parent does not stretch the real button. */
html body .cs-auth-form .cs-login-real-button,
html body .cs-login-minimal-form .cs-login-real-button,
html body #login-form .cs-login-real-button {
  justify-self: center !important;
  align-self: center !important;
  flex: 0 0 76px !important;
}


/* v1.0.204 - Keep Log in button identical size on hover / underline */
html body .cs-login-real-button,
html body button.cs-login-real-button,
html body .cs-auth-submit.cs-login-real-button,
html body .cs-login-minimal__submit.cs-login-real-button,
html body #login-form button.cs-login-real-button,
html body .cs-template .cs-login-real-button,
html body .cs-template button.cs-login-real-button,
html body .cs-template .cs-auth-submit.cs-login-real-button,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button,
html body .cs-login-real-button:hover,
html body button.cs-login-real-button:hover,
html body .cs-auth-submit.cs-login-real-button:hover,
html body .cs-login-minimal__submit.cs-login-real-button:hover,
html body #login-form button.cs-login-real-button:hover,
html body .cs-template .cs-login-real-button:hover,
html body .cs-template button.cs-login-real-button:hover,
html body .cs-template .cs-auth-submit.cs-login-real-button:hover,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button:hover,
html body .cs-login-real-button:focus,
html body button.cs-login-real-button:focus,
html body .cs-auth-submit.cs-login-real-button:focus,
html body .cs-login-minimal__submit.cs-login-real-button:focus,
html body #login-form button.cs-login-real-button:focus,
html body .cs-login-real-button:active,
html body button.cs-login-real-button:active,
html body .cs-auth-submit.cs-login-real-button:active,
html body .cs-login-minimal__submit.cs-login-real-button:active,
html body #login-form button.cs-login-real-button:active {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  inline-size: 76px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  block-size: 26px !important;
  padding: 0 10px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  transform: none !important;
  scale: 1 !important;
  text-decoration: none !important;
}

/* If the template/browser renders an underline/pseudo-element on hover,
   keep it visually tied to the full button size instead of shrinking. */
html body .cs-login-real-button::before,
html body .cs-login-real-button::after,
html body .cs-login-real-button:hover::before,
html body .cs-login-real-button:hover::after,
html body .cs-login-real-button:focus::before,
html body .cs-login-real-button:focus::after,
html body .cs-login-real-button:active::before,
html body .cs-login-real-button:active::after,
html body .cs-auth-submit::before,
html body .cs-auth-submit::after,
html body .cs-auth-submit:hover::before,
html body .cs-auth-submit:hover::after,
html body .cs-login-minimal__submit::before,
html body .cs-login-minimal__submit::after,
html body .cs-login-minimal__submit:hover::before,
html body .cs-login-minimal__submit:hover::after {
  display: none !important;
  content: none !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  transform: none !important;
  scale: 1 !important;
}

/* Hover changes only colors/shadow, never dimensions. */
html body .cs-login-real-button:hover,
html body button.cs-login-real-button:hover,
html body .cs-auth-submit.cs-login-real-button:hover,
html body .cs-login-minimal__submit.cs-login-real-button:hover,
html body #login-form button.cs-login-real-button:hover,
html body .cs-login-real-button:focus,
html body button.cs-login-real-button:focus,
html body .cs-auth-submit.cs-login-real-button:focus,
html body .cs-login-minimal__submit.cs-login-real-button:focus,
html body #login-form button.cs-login-real-button:focus {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-color: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
}


/* v1.0.205 - Definitive fixed Log in button size for all states */
html body button.cs-login-real-button,
html body .cs-login-real-button,
html body .cs-auth-submit.cs-login-real-button,
html body .cs-login-minimal__submit.cs-login-real-button,
html body #login-form button.cs-login-real-button,
html body .cs-template button.cs-login-real-button,
html body .cs-template .cs-login-real-button,
html body .cs-template .cs-auth-submit.cs-login-real-button,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button,

html body button.cs-login-real-button:hover,
html body .cs-login-real-button:hover,
html body .cs-auth-submit.cs-login-real-button:hover,
html body .cs-login-minimal__submit.cs-login-real-button:hover,
html body #login-form button.cs-login-real-button:hover,
html body .cs-template button.cs-login-real-button:hover,
html body .cs-template .cs-login-real-button:hover,
html body .cs-template .cs-auth-submit.cs-login-real-button:hover,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button:hover,

html body button.cs-login-real-button:focus,
html body .cs-login-real-button:focus,
html body .cs-auth-submit.cs-login-real-button:focus,
html body .cs-login-minimal__submit.cs-login-real-button:focus,
html body #login-form button.cs-login-real-button:focus,
html body .cs-template button.cs-login-real-button:focus,
html body .cs-template .cs-login-real-button:focus,
html body .cs-template .cs-auth-submit.cs-login-real-button:focus,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button:focus,

html body button.cs-login-real-button:active,
html body .cs-login-real-button:active,
html body .cs-auth-submit.cs-login-real-button:active,
html body .cs-login-minimal__submit.cs-login-real-button:active,
html body #login-form button.cs-login-real-button:active,
html body .cs-template button.cs-login-real-button:active,
html body .cs-template .cs-login-real-button:active,
html body .cs-template .cs-auth-submit.cs-login-real-button:active,
html body .cs-template .cs-login-minimal__submit.cs-login-real-button:active {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  inline-size: 84px !important;

  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  block-size: 32px !important;

  padding: 0 10px !important;
  margin: 0 auto !important;
  border-radius: 7px !important;
  border-width: 1px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;

  transform: none !important;
  scale: 1 !important;
  overflow: hidden !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Normal state */
html body button.cs-login-real-button,
html body .cs-login-real-button,
html body .cs-auth-submit.cs-login-real-button,
html body .cs-login-minimal__submit.cs-login-real-button,
html body #login-form button.cs-login-real-button {
  border-color: #c9d7ea !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
}

/* Hover/focus/active: color only, same size. */
html body button.cs-login-real-button:hover,
html body .cs-login-real-button:hover,
html body .cs-auth-submit.cs-login-real-button:hover,
html body .cs-login-minimal__submit.cs-login-real-button:hover,
html body #login-form button.cs-login-real-button:hover,
html body button.cs-login-real-button:focus,
html body .cs-login-real-button:focus,
html body .cs-auth-submit.cs-login-real-button:focus,
html body .cs-login-minimal__submit.cs-login-real-button:focus,
html body #login-form button.cs-login-real-button:focus,
html body button.cs-login-real-button:active,
html body .cs-login-real-button:active,
html body .cs-auth-submit.cs-login-real-button:active,
html body .cs-login-minimal__submit.cs-login-real-button:active,
html body #login-form button.cs-login-real-button:active {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-color: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
}

/* No underline/pseudo-element visual resize. */
html body .cs-login-real-button::before,
html body .cs-login-real-button::after,
html body .cs-login-real-button:hover::before,
html body .cs-login-real-button:hover::after,
html body .cs-login-real-button:focus::before,
html body .cs-login-real-button:focus::after,
html body .cs-login-real-button:active::before,
html body .cs-login-real-button:active::after,
html body .cs-auth-submit.cs-login-real-button::before,
html body .cs-auth-submit.cs-login-real-button::after,
html body .cs-login-minimal__submit.cs-login-real-button::before,
html body .cs-login-minimal__submit.cs-login-real-button::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}


/* v1.0.206 - Isolated fixed-size login button
   The login submit no longer uses Bootstrap/template button classes.
   Same box in normal, hover, focus and active.
*/
html body .cs-login-fixed-button,
html body button.cs-login-fixed-button,
html body .cs-login-fixed-button:hover,
html body button.cs-login-fixed-button:hover,
html body .cs-login-fixed-button:focus,
html body button.cs-login-fixed-button:focus,
html body .cs-login-fixed-button:active,
html body button.cs-login-fixed-button:active,
html body .cs-login-fixed-button:visited,
html body button.cs-login-fixed-button:visited {
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  inline-size: 84px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  block-size: 32px !important;
  padding: 0 10px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 84px !important;
  align-self: center !important;
  justify-self: center !important;
  border-radius: 7px !important;
  border-width: 1px !important;
  border-style: solid !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  text-shadow: none !important;
  transform: none !important;
  scale: 1 !important;
  overflow: hidden !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease !important;
}

html body .cs-login-fixed-button,
html body button.cs-login-fixed-button {
  border-color: #c9d7ea !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0d2f68 !important;
  box-shadow: none !important;
}

html body .cs-login-fixed-button:hover,
html body button.cs-login-fixed-button:hover,
html body .cs-login-fixed-button:focus,
html body button.cs-login-fixed-button:focus,
html body .cs-login-fixed-button:active,
html body button.cs-login-fixed-button:active {
  border-color: #ff7a18 !important;
  background: #fff2e8 !important;
  background-color: #fff2e8 !important;
  background-image: none !important;
  color: #e45f0a !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
  transform: none !important;
  scale: 1 !important;
}

/* Kill all decorative underline / pseudo-element behavior for the isolated button. */
html body .cs-login-fixed-button::before,
html body .cs-login-fixed-button::after,
html body button.cs-login-fixed-button::before,
html body button.cs-login-fixed-button::after,
html body .cs-login-fixed-button:hover::before,
html body .cs-login-fixed-button:hover::after,
html body button.cs-login-fixed-button:hover::before,
html body button.cs-login-fixed-button:hover::after,
html body .cs-login-fixed-button:focus::before,
html body .cs-login-fixed-button:focus::after,
html body button.cs-login-fixed-button:focus::before,
html body button.cs-login-fixed-button:focus::after,
html body .cs-login-fixed-button:active::before,
html body .cs-login-fixed-button:active::after,
html body button.cs-login-fixed-button:active::before,
html body button.cs-login-fixed-button:active::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Keep the button centered in both login form variants. */
html body .cs-auth-form .cs-login-fixed-button,
html body .cs-login-minimal-form .cs-login-fixed-button,
html body #login-form .cs-login-fixed-button {
  margin-left: auto !important;
  margin-right: auto !important;
  display: inline-flex !important;
}


/* v1.0.207 - True centered login logo
   Remove the previous optical left translation and anchor both logo pieces
   to the exact same horizontal axis used by the login fields and button.
*/
html body .cs-auth-brand,
html body .cs-template .cs-auth-brand,
html body .cs-login-minimal__brand,
html body .cs-template .cs-login-minimal__brand {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  margin: 0 auto 20px auto !important;
  padding: 0 !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  row-gap: 8px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

html body .cs-auth-brand img,
html body .cs-template .cs-auth-brand img,
html body .cs-login-minimal__brand img,
html body .cs-template .cs-login-minimal__brand img,
html body .cs-login-minimal img,
html body .cs-template .cs-login-minimal img {
  display: block !important;
  margin: 0 auto !important;
  transform: none !important;
  transform-origin: center center !important;
  justify-self: center !important;
  align-self: center !important;
  height: auto !important;
}

html body .cs-auth-brand__symbol,
html body .cs-template .cs-auth-brand__symbol {
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
}

html body .cs-auth-brand__wordmark,
html body .cs-template .cs-auth-brand__wordmark {
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
}

/* v1.0.208 - Slightly tighter spacing between the two login input fields */
html body .cs-auth-field,
html body .cs-template .cs-auth-field,
html body .cs-login-minimal__field,
html body .cs-template .cs-login-minimal__field {
  margin-bottom: 8px !important;
}

html body .cs-auth-field:last-of-type,
html body .cs-template .cs-auth-field:last-of-type,
html body .cs-login-minimal__field:last-of-type,
html body .cs-template .cs-login-minimal__field:last-of-type {
  margin-bottom: 11px !important;
}


/* v1.0.212 - Safe visible title styling
   This version restores title visibility and avoids broad rules that can hide page titles.
*/
.cs-template .component-panel h1,
.cs-template .component-panel .page-header h1,
.cs-template .cs-page-title,
.cs-template .page-title,
.cs-template h1.cs-title,
.cs-template [data-page-title],
.cs-template [data-component-title],
.cs-template .dashboard-page-title,
.cs-template .materials-inventory-page-title,
.cs-template .material-allocations-page-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #0d2f68 !important;
  font-size: 25px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
}

.cs-template .component-panel h2,
.cs-template .component-panel .page-header h2,
.cs-template .cs-section-title,
.cs-template .section-title,
.cs-template h2.cs-title,
.cs-template .cs-app-panel__title,
.cs-template .cs-card-title,
.cs-template .cs-dashboard-card__title,
.cs-template .card-title,
.cs-template .panel-title,
.cs-template .table-title,
.cs-template .dashboard-section-title,
.cs-template .dashboard-card-title,
.cs-template .materials-inventory-section-title,
.cs-template .materials-inventory-card-title,
.cs-template .material-allocations-section-title,
.cs-template .material-allocations-card-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #0d2f68 !important;
  font-size: 17px !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
}

.cs-template .cs-title-word,
.cs-title-word {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cs-template .cs-title-word--blue,
.cs-template .cs-title-word--first,
.cs-title-word--blue,
.cs-title-word--first {
  color: #0d2f68 !important;
}

.cs-template .cs-title-word--orange,
.cs-template .cs-title-word--second,
.cs-title-word--orange,
.cs-title-word--second {
  color: #f25f12 !important;
}

.cs-template .cs-title-word--rest,
.cs-title-word--rest {
  color: #0d2f68 !important;
}


/* v1.0.215 - remove bike slot icons from markup and force-hide any cached leftovers */
.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-bike-slot {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon,
.cs-template .cs-bike-slot__icon,
.cs-template .cs-app-screen--bikes .cs-bike-slot__svg,
.cs-template .cs-bike-slot__svg {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::before,
.cs-template .cs-bike-slot__icon::before,
.cs-template .cs-app-screen--bikes .cs-bike-slot__icon::after,
.cs-template .cs-bike-slot__icon::after {
  display: none !important;
  content: none !important;
}


/* v1.0.216 - Bikes Allocation rider card title colors */
.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head h2,
.cs-template .cs-bike-rider-card__head h2,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  color: #0d2f68 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2 .cs-title-word,
.cs-template .cs-bike-rider-card h2 .cs-title-word,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2 .cs-title-word--first,
.cs-template .cs-bike-rider-card h2 .cs-title-word--first,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2 .cs-title-word--second,
.cs-template .cs-bike-rider-card h2 .cs-title-word--second,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2 .cs-title-word--blue,
.cs-template .cs-bike-rider-card h2 .cs-title-word--blue,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2 .cs-title-word--orange,
.cs-template .cs-bike-rider-card h2 .cs-title-word--orange {
  color: #0d2f68 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head p,
.cs-template .cs-bike-rider-card__head p,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
.cs-template .cs-bike-rider-card p {
  color: #f25f12 !important;
}


/* v1.0.217 - Rider placeholder avatar and Latest Bikes Allocation title refinement */
.cs-template .cs-bike-rider-card__placeholder {
  display: inline-flex !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: #eef3f8 url("../images/rider-placeholder.svg") center / cover no-repeat !important;
}

.cs-template .cs-bike-rider-card__avatar img + .cs-bike-rider-card__placeholder {
  display: none !important;
}

.cs-template .cs-bike-rider-card__avatar img[style*="display: none"] + .cs-bike-rider-card__placeholder {
  display: inline-flex !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header h2,
.cs-template .cs-bike-updates > header h2 {
  color: #f25f12 !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
}


/* v1.0.218 - force orange latest title and smaller Jayco block */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-app-screen--bikes .cs-bike-updates header h2.cs-bike-updates__title,
.cs-template .cs-bike-updates header h2.cs-bike-updates__title {
  color: #f25f12 !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
}

.cs-template .side-rail__team-logo {
  width: calc(var(--side-rail-width) - 86px) !important;
  max-width: 156px !important;
  min-height: 100px !important;
  margin: 0 auto 6px !important;
  padding: 8px 10px !important;
}

.cs-template .side-rail__team-logo-image {
  max-width: 100% !important;
  max-height: 78px !important;
}


/* v1.0.219 - Bikes Allocation latest title orange + taller table header */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title *,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2 *,
.cs-template .cs-bike-updates > header > h2,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title *,
.cs-template .cs-bike-updates > header > h2 * {
  color: #f25f12 !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  line-height: 1.15 !important;
}


/* v1.0.220 - Bikes Allocation latest title uses the exact same orange as the main page title */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  color: #f25f12 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-title-word--orange,
.cs-template .cs-bike-updates > header > h2,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-bike-updates > header > h2.cs-title-word--orange {
  color: #f25f12 !important;
  -webkit-text-fill-color: #f25f12 !important;
  text-fill-color: #f25f12 !important;
}


/* v1.0.221 - Latest Bikes Allocation slightly taller table rows */
.cs-template .cs-app-screen--bikes .cs-bike-updates th,
.cs-template .cs-app-screen--bikes .cs-bike-updates td,
.cs-template .cs-bike-updates th,
.cs-template .cs-bike-updates td {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  max-height: 146px !important;
  min-height: 146px !important;
}


/* v1.0.222 - Latest Bikes Allocation left aligned dark-grey title + official rider photos compatibility */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-bike-updates > header > h2,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title {
  color: #4f5b6d !important;
  -webkit-text-fill-color: #4f5b6d !important;
  text-fill-color: #4f5b6d !important;
  text-align: left !important;
  margin: 0 auto 0 0 !important;
}


/* v1.0.223 - Latest Bikes Allocation title nudged right, lighter grey, 1pt smaller */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title,
.cs-template .cs-app-screen--bikes .cs-bike-updates header h2.cs-bike-updates__title,
.cs-template .cs-bike-updates header h2.cs-bike-updates__title {
  color: #6f7b8c !important;
  -webkit-text-fill-color: #6f7b8c !important;
  text-fill-color: #6f7b8c !important;
  font-size: 17px !important;
  margin-left: 10px !important;
  margin-right: auto !important;
  text-align: left !important;
}


/* v1.0.224 - Latest Bikes Allocation soft pill effect, slightly smaller */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  justify-content: flex-start !important;
  text-align: left !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 auto 0 10px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  border: 1px solid #ffd7be !important;
  background: #fff3ea !important;
  color: #f25f12 !important;
  -webkit-text-fill-color: #f25f12 !important;
  text-fill-color: #f25f12 !important;
  font-size: 16px !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
  box-shadow: none !important;
}


/* v1.0.225 - Latest Bikes Allocation softer beveled background, smaller text */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill {
  padding: 5px 12px !important;
  border-radius: 8px !important; /* smoothed corners, not rounded pill */
  background: #fff3ea !important;
  border: 1px solid #ffd7be !important;
  color: #f25f12 !important;
  -webkit-text-fill-color: #f25f12 !important;
  text-fill-color: #f25f12 !important;
  font-size: 15px !important;
  line-height: 1.08 !important;
  letter-spacing: 0.015em !important;
  font-weight: 850 !important;
  margin-left: 10px !important;
}


/* v1.0.226 - more space between Latest Bikes Allocation title and table */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  margin-bottom: 8px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill {
  margin-bottom: 2px !important;
}


/* v1.0.227 - Latest Bikes Allocation title slightly left + equal vertical spacing above/below */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill {
  margin-left: 4px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* v1.0.228 - keep rider placeholder hidden while retrying photos */
.cs-template .cs-bike-rider-card__avatar img:not([style*="display: none"]) + .cs-bike-rider-card__placeholder {
  display: none !important;
}

/* v1.0.230 - show local rider photos cleanly in Bikes Allocation cards */
.cs-template .cs-bike-rider-card__avatar img {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* v1.0.231 - keep rider photos hidden until a local image is confirmed loaded */
.cs-template .cs-bike-rider-card__avatar img[data-cs-rider-photo-state="pending"],
.cs-template .cs-bike-rider-card__avatar img[data-cs-rider-photo-state="missing"] {
  display: none !important;
}
.cs-template .cs-bike-rider-card__avatar img[data-cs-rider-photo-state="loaded"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: inherit !important;
}
.cs-template .cs-bike-rider-card__avatar img[data-cs-rider-photo-state="loaded"] + .cs-bike-rider-card__placeholder {
  display: none !important;
}
.cs-template .cs-bike-rider-card__avatar img[data-cs-rider-photo-state="pending"] + .cs-bike-rider-card__placeholder,
.cs-template .cs-bike-rider-card__avatar img[data-cs-rider-photo-state="missing"] + .cs-bike-rider-card__placeholder {
  display: inline-flex !important;
}

/* v1.0.234 - extended mobile polish across the full template */
@media (max-width: 920px) {
  html,
  body.cs-template {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100% !important;
  }

  body.cs-template {
    min-height: 100dvh !important;
    background: #f6f8fb !important;
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.cs-template .app-shell,
  body.cs-template.rail-is-compact .app-shell {
    display: block !important;
    min-width: 0 !important;
    min-height: 100dvh !important;
  }

  body.cs-template .workspace {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body.cs-template .topbar {
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 12px !important;
    gap: 8px !important;
    border-bottom-color: #dde7f2 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
  }

  body.cs-template .topbar__system,
  body.cs-template .topbar__actions {
    gap: 8px !important;
    min-width: 0 !important;
  }

  body.cs-template .topbar__brand {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  body.cs-template .topbar__brand strong {
    max-width: 52vw !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.045em !important;
  }

  body.cs-template .topbar__brand-icon,
  body.cs-template .topbar-brand__logo {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  body.cs-template .user-pill {
    min-height: 34px !important;
    height: 34px !important;
    grid-template-columns: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    gap: 0 !important;
  }

  body.cs-template .user-pill__avatar {
    width: 30px !important;
    height: 30px !important;
  }

  body.cs-template .user-pill > img:last-child,
  body.cs-template .user-pill span,
  body.cs-template .user-pill strong,
  body.cs-template .user-pill small,
  body.cs-template .team-lockup,
  body.cs-template .topbar__brand small {
    display: none !important;
  }

  body.cs-template .icon-button,
  body.cs-template .icon-button--settings-topbar,
  body.cs-template .topbar__menu-button,
  body.cs-template .topbar__menu--toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 12px !important;
  }

  body.cs-template .side-rail,
  body.cs-template.rail-is-compact .side-rail {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(196, 211, 230, 0.92) !important;
    border-right: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 -10px 26px rgba(8, 36, 81, 0.09) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    backdrop-filter: blur(18px) !important;
  }

  body.cs-template .brand-mark,
  body.cs-template .rail-collapse,
  body.cs-template .side-rail__team-logo,
  body.cs-template .side-rail__flex-gap--top,
  body.cs-template .side-rail__flex-gap--bottom,
  body.cs-template .side-rail .rail-nav--secondary {
    display: none !important;
  }

  body.cs-template .side-rail .rail-nav,
  body.cs-template .side-rail .moduletable,
  body.cs-template .side-rail .rail-nav__menu,
  body.cs-template .side-rail .rail-nav__fallback,
  body.cs-template .side-rail .mod-menu,
  body.cs-template .side-rail .nav,
  body.cs-template .side-rail .cs-rail-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    list-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity !important;
  }

  body.cs-template .side-rail .rail-nav::-webkit-scrollbar,
  body.cs-template .side-rail .mod-menu::-webkit-scrollbar,
  body.cs-template .side-rail .nav::-webkit-scrollbar,
  body.cs-template .side-rail .cs-rail-menu::-webkit-scrollbar {
    display: none !important;
  }

  body.cs-template .side-rail .cs-rail-menu__item,
  body.cs-template .side-rail .mod-menu > li,
  body.cs-template .side-rail .nav > li {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: center !important;
  }

  body.cs-template .side-rail .cs-rail-menu__link,
  body.cs-template .side-rail .rail-nav__link,
  body.cs-template .side-rail .mod-menu a,
  body.cs-template .side-rail .nav a,
  body.cs-template.rail-is-compact .side-rail .cs-rail-menu__link,
  body.cs-template.rail-is-compact .side-rail .rail-nav__link,
  body.cs-template.rail-is-compact .side-rail .mod-menu a,
  body.cs-template.rail-is-compact .side-rail .nav a {
    display: grid !important;
    place-items: center !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #d6e1ee !important;
    box-shadow: 0 3px 10px rgba(8, 36, 81, 0.04) !important;
    transform: none !important;
  }

  body.cs-template .side-rail .cs-rail-menu__icon-box {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 4px !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  body.cs-template .side-rail .cs-rail-menu__icon,
  body.cs-template .side-rail .rail-nav__link img,
  body.cs-template .side-rail .mod-menu img,
  body.cs-template .side-rail .nav img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
  }

  body.cs-template .side-rail .cs-rail-menu__text,
  body.cs-template .side-rail .rail-nav__text,
  body.cs-template .side-rail .mod-menu a span,
  body.cs-template .side-rail .nav a span {
    display: none !important;
  }

  body.cs-template.cs-nav-active-dashboard .side-rail [data-nav-key="dashboard"],
  body.cs-template.cs-nav-active-documents .side-rail [data-nav-key="documents"],
  body.cs-template.cs-nav-active-inventory .side-rail [data-nav-key="inventory"],
  body.cs-template.cs-nav-active-bikes .side-rail [data-nav-key="bikes"],
  body.cs-template.cs-nav-active-mechanics .side-rail [data-nav-key="mechanics"],
  body.cs-template.cs-nav-active-logistics .side-rail [data-nav-key="logistics"],
  body.cs-template.cs-nav-active-bike-fit .side-rail [data-nav-key="bike-fit"],
  body.cs-template.cs-nav-active-settings .side-rail [data-nav-key="settings"] {
    background: #edf5ff !important;
    border-color: #a8bed8 !important;
    box-shadow: inset 0 -3px 0 #f26a12, 0 5px 14px rgba(8, 36, 81, 0.08) !important;
  }

  body.cs-template .dashboard,
  body.cs-template .component-panel,
  body.cs-template .cs-app-screen,
  body.cs-template .cs-app-root,
  body.cs-template .cs-page-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.cs-template .dashboard {
    padding: 14px 12px calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.cs-template .content-grid,
  body.cs-template .dashboard-grid,
  body.cs-template .dashboard-grid--single,
  body.cs-template .dashboard-grid--two,
  body.cs-template .dashboard-grid--three,
  body.cs-template .dashboard-grid--events,
  body.cs-template .dashboard-grid--overview,
  body.cs-template .quick-facts,
  body.cs-template .cs-card-grid,
  body.cs-template .cs-stat-grid,
  body.cs-template .cs-category-grid,
  body.cs-template .cs-metric-grid,
  body.cs-template .cs-dashboard-row,
  body.cs-template .cs-dashboard-split,
  body.cs-template .cs-product-sheet__layout,
  body.cs-template .cs-product-sheet__side,
  body.cs-template .cs-product-sheet__identity,
  body.cs-template .cs-product-sheet__stats,
  body.cs-template .cs-product-sheet__info dl,
  body.cs-template .cs-app-layout,
  body.cs-template .cs-app-page,
  body.cs-template .cs-bike-rider-grid,
  body.cs-template .cs-bike-cards,
  body.cs-template .cs-form-grid,
  body.cs-template .cs-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.cs-template .panel,
  body.cs-template .module-card,
  body.cs-template .module-card.cycling-module-card,
  body.cs-template .component-panel,
  body.cs-template .sidebar-panel,
  body.cs-template .footer-panel,
  body.cs-template .hero-card,
  body.cs-template .event-card,
  body.cs-template .weather-panel,
  body.cs-template .forecast-panel,
  body.cs-template .time-panel,
  body.cs-template .cs-card,
  body.cs-template .cs-product-sheet,
  body.cs-template .cs-bike-rider-card,
  body.cs-template .cs-bike-updates,
  body.cs-template .cs-app-card {
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  body.cs-template .hero-card,
  body.cs-template .module-card__header,
  body.cs-template .panel__header,
  body.cs-template .module-card__body,
  body.cs-template .panel__body,
  body.cs-template .component-panel,
  body.cs-template .sidebar-panel,
  body.cs-template .footer-panel,
  body.cs-template .weather-panel,
  body.cs-template .forecast-panel,
  body.cs-template .time-panel,
  body.cs-template .event-card__body,
  body.cs-template .cs-card,
  body.cs-template .cs-product-sheet,
  body.cs-template .cs-app-card {
    padding: 14px !important;
  }

  body.cs-template .hero-card,
  body.cs-template .panel__header,
  body.cs-template .module-card__header,
  body.cs-template .cs-product-sheet__bar,
  body.cs-template .cs-toolbar,
  body.cs-template .cs-bike-toolbar,
  body.cs-template .cs-app-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  body.cs-template .hero-card h1,
  body.cs-template .default-hero-title,
  body.cs-template .cs-app-title,
  body.cs-template .component-panel h1,
  body.cs-template .component-panel .page-header h1,
  body.cs-template .cs-app-hero__copy h1,
  body.cs-template main h1 {
    font-size: clamp(1.62rem, 9vw, 2.18rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0.015em !important;
    text-wrap: balance !important;
  }

  body.cs-template .hero-card p,
  body.cs-template .cs-app-hero__copy p,
  body.cs-template .module-card__header p,
  body.cs-template .panel__header p,
  body.cs-template .component-panel p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
  }

  body.cs-template .cs-button,
  body.cs-template .btn,
  body.cs-template button,
  body.cs-template input[type="submit"],
  body.cs-template input[type="button"],
  body.cs-template .open-button {
    min-height: 42px !important;
    touch-action: manipulation !important;
  }

  body.cs-template input,
  body.cs-template select,
  body.cs-template textarea,
  body.cs-template .component-panel input,
  body.cs-template .component-panel select,
  body.cs-template .component-panel textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    font-size: 16px !important;
  }

  body.cs-template table,
  body.cs-template .notification-table,
  body.cs-template .cs-table,
  body.cs-template .component-panel table {
    min-width: 680px !important;
  }

  body.cs-template .table-responsive,
  body.cs-template .cs-table-wrap,
  body.cs-template .cs-table-scroll,
  body.cs-template .notification-table-wrap,
  body.cs-template .component-panel .com-content-article table,
  body.cs-template .component-panel table {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.cs-template .cs-modal,
  body.cs-template .modal,
  body.cs-template .joomla-modal,
  body.cs-template .cs-bike-movement-modal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 96px) !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 560px) {
  body.cs-template .dashboard {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.cs-template .topbar__brand strong {
    max-width: 46vw !important;
    font-size: 0.7rem !important;
  }

  body.cs-template .topbar__actions {
    gap: 5px !important;
  }

  body.cs-template .icon-button,
  body.cs-template .icon-button--settings-topbar,
  body.cs-template .topbar__menu-button,
  body.cs-template .topbar__menu--toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  body.cs-template .side-rail,
  body.cs-template.rail-is-compact .side-rail {
    height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.cs-template .side-rail .cs-rail-menu__link,
  body.cs-template .side-rail .rail-nav__link,
  body.cs-template .side-rail .mod-menu a,
  body.cs-template .side-rail .nav a {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    border-radius: 16px !important;
  }

  body.cs-template .side-rail .cs-rail-menu__icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  body.cs-template .side-rail .cs-rail-menu__icon,
  body.cs-template .side-rail .rail-nav__link img,
  body.cs-template .side-rail .mod-menu img,
  body.cs-template .side-rail .nav img {
    width: 29px !important;
    height: 29px !important;
    max-width: 29px !important;
    max-height: 29px !important;
  }

  body.cs-template .hero-card,
  body.cs-template .module-card__header,
  body.cs-template .panel__header,
  body.cs-template .module-card__body,
  body.cs-template .panel__body,
  body.cs-template .component-panel,
  body.cs-template .sidebar-panel,
  body.cs-template .footer-panel,
  body.cs-template .weather-panel,
  body.cs-template .forecast-panel,
  body.cs-template .time-panel,
  body.cs-template .event-card__body,
  body.cs-template .cs-card,
  body.cs-template .cs-product-sheet,
  body.cs-template .cs-app-card {
    padding: 12px !important;
  }

  body.cs-template .hero-card h1,
  body.cs-template .default-hero-title,
  body.cs-template .cs-app-title,
  body.cs-template .component-panel h1,
  body.cs-template .component-panel .page-header h1,
  body.cs-template .cs-app-hero__copy h1,
  body.cs-template main h1 {
    font-size: clamp(1.48rem, 10vw, 1.92rem) !important;
  }

  body.cs-template table,
  body.cs-template .notification-table,
  body.cs-template .cs-table,
  body.cs-template .component-panel table {
    min-width: 620px !important;
  }
}


/* v1.0.240 - Final mobile topbar spacing and viewport-centered bottom dock */
@media (max-width: 920px) {
  html,
  body.cs-template,
  body.cs-template .app-shell,
  body.cs-template .main-stage {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body.cs-template .topbar,
  .cs-template .topbar {
    grid-template-columns: auto minmax(0, 1fr) !important;
    padding-left: clamp(10px, 3vw, 16px) !important;
    padding-right: clamp(10px, 3vw, 16px) !important;
  }

  body.cs-template .topbar__actions,
  .cs-template .topbar__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(8px, 2.5vw, 12px) !important;
    column-gap: clamp(8px, 2.5vw, 12px) !important;
    min-width: 0 !important;
  }

  body.cs-template .topbar__actions .icon-button--settings-topbar,
  .cs-template .topbar__actions .icon-button--settings-topbar {
    margin-left: clamp(3px, 1vw, 6px) !important;
    margin-right: clamp(12px, 4vw, 18px) !important;
  }

  body.cs-template .topbar__actions .user-pill,
  .cs-template .topbar__actions .user-pill {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.cs-template .topbar .icon-button,
  body.cs-template .topbar__actions .icon-button,
  body.cs-template .topbar__actions .icon-button--settings-topbar,
  body.cs-template .topbar__actions .user-pill,
  .cs-template .topbar .icon-button,
  .cs-template .topbar__actions .icon-button,
  .cs-template .topbar__actions .icon-button--settings-topbar,
  .cs-template .topbar__actions .user-pill {
    flex: 0 0 auto !important;
  }

  body.cs-template .dashboard,
  .cs-template .dashboard {
    padding-left: clamp(3px, 1.25vw, 6px) !important;
    padding-right: clamp(3px, 1.25vw, 6px) !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.cs-template .component-panel,
  body.cs-template .component-panel--app,
  body.cs-template .cs-app-panel,
  body.cs-template .module-card.cycling-module-card,
  body.cs-template .hero-card,
  body.cs-template .panel,
  .cs-template .component-panel,
  .cs-template .component-panel--app,
  .cs-template .cs-app-panel,
  .cs-template .module-card.cycling-module-card,
  .cs-template .hero-card,
  .cs-template .panel {
    padding-left: clamp(9px, 2.4vw, 12px) !important;
    padding-right: clamp(9px, 2.4vw, 12px) !important;
  }

  body.cs-template .side-rail,
  body.cs-template.rail-is-compact .side-rail,
  .cs-template .side-rail,
  .cs-template body.rail-is-compact .side-rail,
  body.rail-is-compact .cs-template .side-rail {
    --cs-mobile-dock-gap: clamp(4px, 1.2vw, 7px) !important;
    --cs-mobile-dock-item: clamp(38px, calc((100vw - 72px) / 7), 48px) !important;
    position: fixed !important;
    top: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    right: auto !important;
    inset-inline-start: 50% !important;
    inset-inline-end: auto !important;
    transform: translateX(-50%) !important;
    width: fit-content !important;
    width: -moz-fit-content !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    height: clamp(58px, 14vw, 66px) !important;
    min-height: clamp(58px, 14vw, 66px) !important;
    padding: 6px clamp(8px, 2vw, 11px) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
  }

  body.cs-template .side-rail > *,
  .cs-template .side-rail > * {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  body.cs-template .rail-nav,
  body.cs-template .side-rail .moduletable,
  body.cs-template .side-rail .rail-nav__menu,
  body.cs-template .side-rail .rail-nav__fallback,
  body.cs-template .side-rail .mod-menu,
  body.cs-template .side-rail .nav,
  body.cs-template .side-rail .cs-rail-menu,
  .cs-template .rail-nav,
  .cs-template .side-rail .moduletable,
  .cs-template .side-rail .rail-nav__menu,
  .cs-template .side-rail .rail-nav__fallback,
  .cs-template .side-rail .mod-menu,
  .cs-template .side-rail .nav,
  .cs-template .side-rail .cs-rail-menu {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--cs-mobile-dock-gap) !important;
    width: auto !important;
    max-width: calc(100vw - 52px) !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.cs-template .side-rail .cs-rail-menu__item,
  body.cs-template .side-rail .mod-menu > li,
  body.cs-template .side-rail .nav > li,
  .cs-template .side-rail .cs-rail-menu__item,
  .cs-template .side-rail .mod-menu > li,
  .cs-template .side-rail .nav > li {
    flex: 0 1 var(--cs-mobile-dock-item) !important;
    width: var(--cs-mobile-dock-item) !important;
    min-width: 0 !important;
    max-width: var(--cs-mobile-dock-item) !important;
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.cs-template .side-rail .mod-menu a,
  body.cs-template .side-rail .nav a,
  body.cs-template .side-rail .rail-nav__link,
  body.cs-template .side-rail .cs-rail-menu__link,
  body.cs-template .side-rail .cs-rail-menu__label,
  .cs-template .side-rail .mod-menu a,
  .cs-template .side-rail .nav a,
  .cs-template .side-rail .rail-nav__link,
  .cs-template .side-rail .cs-rail-menu__link,
  .cs-template .side-rail .cs-rail-menu__label {
    width: var(--cs-mobile-dock-item) !important;
    min-width: 0 !important;
    max-width: var(--cs-mobile-dock-item) !important;
    height: clamp(44px, 11.5vw, 52px) !important;
    min-height: clamp(44px, 11.5vw, 52px) !important;
    max-height: clamp(44px, 11.5vw, 52px) !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
  }

  body.cs-template .side-rail .cs-rail-menu__icon-box,
  .cs-template .side-rail .cs-rail-menu__icon-box {
    width: clamp(31px, 8.3vw, 38px) !important;
    height: clamp(31px, 8.3vw, 38px) !important;
    min-width: clamp(31px, 8.3vw, 38px) !important;
    min-height: clamp(31px, 8.3vw, 38px) !important;
    margin: 0 auto !important;
  }

  body.cs-template .side-rail .cs-rail-menu__icon,
  body.cs-template .side-rail .rail-nav__link img,
  body.cs-template .side-rail .mod-menu img,
  body.cs-template .side-rail .nav img,
  .cs-template .side-rail .cs-rail-menu__icon,
  .cs-template .side-rail .rail-nav__link img,
  .cs-template .side-rail .mod-menu img,
  .cs-template .side-rail .nav img {
    width: clamp(22px, 5.7vw, 29px) !important;
    height: clamp(22px, 5.7vw, 29px) !important;
    max-width: clamp(22px, 5.7vw, 29px) !important;
    max-height: clamp(22px, 5.7vw, 29px) !important;
  }
}

@media (max-width: 430px) {
  body.cs-template .topbar__actions,
  .cs-template .topbar__actions {
    gap: 9px !important;
    column-gap: 9px !important;
  }

  body.cs-template .topbar__actions .icon-button--settings-topbar,
  .cs-template .topbar__actions .icon-button--settings-topbar {
    margin-right: 14px !important;
  }

  body.cs-template .side-rail,
  body.cs-template.rail-is-compact .side-rail,
  .cs-template .side-rail,
  .cs-template body.rail-is-compact .side-rail,
  body.rail-is-compact .cs-template .side-rail {
    --cs-mobile-dock-gap: 5px !important;
    --cs-mobile-dock-item: clamp(38px, calc((100vw - 72px) / 7), 46px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 370px) {
  body.cs-template .topbar__actions,
  .cs-template .topbar__actions {
    gap: 7px !important;
    column-gap: 7px !important;
  }

  body.cs-template .topbar__actions .icon-button--settings-topbar,
  .cs-template .topbar__actions .icon-button--settings-topbar {
    margin-right: 10px !important;
  }

  body.cs-template .side-rail,
  body.cs-template.rail-is-compact .side-rail,
  .cs-template .side-rail,
  .cs-template body.rail-is-compact .side-rail,
  body.rail-is-compact .cs-template .side-rail {
    --cs-mobile-dock-gap: 3px !important;
    --cs-mobile-dock-item: clamp(34px, calc((100vw - 58px) / 7), 42px) !important;
    max-width: calc(100vw - 18px) !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* v1.0.252 - True body-level mobile bottom navigation */
@media (max-width: 920px) {
  body.cs-template .cs-mobile-bottom-nav,
  .cs-template .cs-mobile-bottom-nav {
    position: fixed !important;
    top: auto !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    left: 9px !important;
    right: 9px !important;
    display: flex !important;
    z-index: 2147483000 !important;
  }
}


/* v1.0.253 - Mobile bottom navigation lowered to the viewport edge */
@media (max-width: 920px) {
  body.cs-template {
    --cs-mobile-bottom-nav-gap: 0px !important;
  }

  body.cs-template .cs-mobile-bottom-nav,
  .cs-template .cs-mobile-bottom-nav,
  body.cs-template .topbar__mobile-nav.cs-mobile-bottom-nav,
  .cs-template .topbar__mobile-nav.cs-mobile-bottom-nav {
    bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  body.cs-template .workspace,
  .cs-template .workspace {
    padding-bottom: calc(var(--cs-mobile-bottom-nav-height, 72px) + 10px) !important;
  }

  body.cs-template main#main-content.dashboard,
  body.cs-template .dashboard,
  .cs-template main#main-content.dashboard,
  .cs-template .dashboard {
    padding-bottom: calc(var(--cs-mobile-bottom-nav-height, 72px) + 16px) !important;
  }
}


/* v1.0.254 - Mobile: remove inner icon circles and raise top bar */
@media (max-width: 920px) {
  body.cs-template {
    --cs-mobile-topbar-offset: 0px !important;
  }

  body.cs-template .topbar,
  .cs-template .topbar {
    top: 0 !important;
    margin-top: 0 !important;
  }

  body.cs-template .workspace,
  .cs-template .workspace {
    padding-top: calc(62px + 14px) !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon,
  body.cs-template .topbar__mobile-nav-icon,
  .cs-template .topbar__mobile-nav-icon {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon::before,
  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon::after,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon::before,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon::after,
  body.cs-template .topbar__mobile-nav-icon::before,
  body.cs-template .topbar__mobile-nav-icon::after,
  .cs-template .topbar__mobile-nav-icon::before,
  .cs-template .topbar__mobile-nav-icon::after {
    display: none !important;
    content: none !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active {
    background: transparent !important;
  }
}

/* v1.0.255 - Mobile Bikes Allocation: hide latest table and keep legend on one row */
@media (max-width: 920px) {
  body.cs-template .cs-app-screen--bikes .cs-bike-updates,
  .cs-template .cs-app-screen--bikes .cs-bike-updates,
  body.cs-template .cs-bike-updates,
  .cs-template .cs-bike-updates {
    display: none !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend,
  .cs-template .cs-app-screen--bikes .cs-bike-legend,
  body.cs-template .cs-bike-legend,
  .cs-template .cs-bike-legend {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(7px, 1.8vw, 12px) !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 4px !important;
    margin: 14px auto 18px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
  .cs-template .cs-app-screen--bikes .cs-bike-legend__item,
  body.cs-template .cs-bike-legend__item,
  .cs-template .cs-bike-legend__item {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(4px, 1.2vw, 7px) !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
  .cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
  body.cs-template .cs-bike-legend__item b,
  .cs-template .cs-bike-legend__item b {
    flex: 0 0 auto !important;
    width: clamp(34px, 9.5vw, 42px) !important;
    min-width: clamp(34px, 9.5vw, 42px) !important;
    height: clamp(26px, 7vw, 32px) !important;
    min-height: clamp(26px, 7vw, 32px) !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: clamp(12px, 3.3vw, 15px) !important;
    line-height: 1 !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
  .cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
  body.cs-template .cs-bike-legend__item small,
  .cs-template .cs-bike-legend__item small {
    display: inline-block !important;
    font-size: clamp(9px, 2.6vw, 12px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0.07em !important;
    white-space: nowrap !important;
  }
}


/* v1.0.256 - Mobile Bikes Allocation compact one-line SC / EXT / NA legend */
@media (max-width: 920px) {
  body.cs-template .cs-app-screen--bikes .cs-bike-legend,
  .cs-template .cs-app-screen--bikes .cs-bike-legend,
  body.cs-template .cs-bike-legend,
  .cs-template .cs-bike-legend {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 0 1px !important;
    margin: 10px auto 14px !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
  .cs-template .cs-app-screen--bikes .cs-bike-legend__item,
  body.cs-template .cs-bike-legend__item,
  .cs-template .cs-bike-legend__item {
    flex: 0 1 auto !important;
    gap: 3px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
  .cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
  body.cs-template .cs-bike-legend__item b,
  .cs-template .cs-bike-legend__item b {
    width: clamp(24px, 6.6vw, 30px) !important;
    min-width: clamp(24px, 6.6vw, 30px) !important;
    height: clamp(18px, 5vw, 22px) !important;
    min-height: clamp(18px, 5vw, 22px) !important;
    border-radius: 6px !important;
    font-size: clamp(8px, 2.35vw, 10px) !important;
    line-height: 1 !important;
    padding: 0 !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
  .cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
  body.cs-template .cs-bike-legend__item small,
  .cs-template .cs-bike-legend__item small {
    font-size: clamp(6.4px, 2vw, 8.4px) !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }
}


/* v1.0.258 - Mobile topbar actions: balanced close spacing with safer right edge */
@media (max-width: 920px) {
  body.cs-template .topbar,
  .cs-template .topbar {
    padding-right: 8px !important;
  }

  body.cs-template .topbar__actions,
  .cs-template .topbar__actions {
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
    column-gap: 6px !important;
    margin-left: auto !important;
    transform: none !important;
  }

  body.cs-template .topbar__actions > *,
  .cs-template .topbar__actions > * {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.cs-template .topbar__actions .icon-button,
  body.cs-template .topbar__actions .icon-button--settings-topbar,
  body.cs-template .topbar__actions .user-pill,
  body.cs-template .topbar__actions .user-pill-menu,
  .cs-template .topbar__actions .icon-button,
  .cs-template .topbar__actions .icon-button--settings-topbar,
  .cs-template .topbar__actions .user-pill,
  .cs-template .topbar__actions .user-pill-menu {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 430px) {
  body.cs-template .topbar,
  .cs-template .topbar {
    padding-right: 8px !important;
  }

  body.cs-template .topbar__actions,
  .cs-template .topbar__actions {
    gap: 6px !important;
    column-gap: 6px !important;
    transform: none !important;
  }
}

@media (max-width: 370px) {
  body.cs-template .topbar,
  .cs-template .topbar {
    padding-right: 7px !important;
  }

  body.cs-template .topbar__actions,
  .cs-template .topbar__actions {
    gap: 5px !important;
    column-gap: 5px !important;
  }

  body.cs-template .topbar__actions > *,
  .cs-template .topbar__actions > *,
  body.cs-template .topbar__actions .icon-button,
  body.cs-template .topbar__actions .icon-button--settings-topbar,
  body.cs-template .topbar__actions .user-pill,
  body.cs-template .topbar__actions .user-pill-menu,
  .cs-template .topbar__actions .icon-button,
  .cs-template .topbar__actions .icon-button--settings-topbar,
  .cs-template .topbar__actions .user-pill,
  .cs-template .topbar__actions .user-pill-menu {
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
  }
}


/* v1.0.259 - Mobile bottom nav: blue background only for active section */
@media (max-width: 920px) {
  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(196, 211, 231, 0.94) !important;
    box-shadow: none !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:not(.is-active):not([aria-current="page"]),
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:not(.is-active):not([aria-current="page"]) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(196, 211, 231, 0.94) !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active,
  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link[aria-current="page"],
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link[aria-current="page"] {
    background: #eff7ff !important;
    background-color: #eff7ff !important;
    border-color: #9fc5f4 !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-icon {
    background: transparent !important;
    background-color: transparent !important;
  }
}


/* v1.0.260 - Bikes Allocation and primary menu refinement */
@media (min-width: 921px) {
  body.cs-template .side-rail .cs-rail-menu,
  .cs-template .side-rail .cs-rail-menu {
    gap: 8px !important;
  }

  body.cs-template .side-rail .cs-rail-menu__link,
  body.cs-template .side-rail .rail-nav__link,
  .cs-template .side-rail .cs-rail-menu__link,
  .cs-template .side-rail .rail-nav__link {
    min-height: 58px !important;
    border-radius: 16px !important;
    border: 1px solid #cfdced !important;
    background: #ffffff !important;
    color: #0d2f68 !important;
    box-shadow: 0 8px 18px rgba(13, 47, 104, 0.035) !important;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
  }

  body.cs-template .side-rail .cs-rail-menu__link:hover,
  body.cs-template .side-rail .rail-nav__link:hover,
  body.cs-template .side-rail .cs-rail-menu__link:focus-visible,
  body.cs-template .side-rail .rail-nav__link:focus-visible,
  .cs-template .side-rail .cs-rail-menu__link:hover,
  .cs-template .side-rail .rail-nav__link:hover,
  .cs-template .side-rail .cs-rail-menu__link:focus-visible,
  .cs-template .side-rail .rail-nav__link:focus-visible {
    background: #f7fbff !important;
    border-color: #9fc5f4 !important;
    box-shadow: 0 12px 24px rgba(13, 47, 104, 0.08) !important;
    transform: translateY(-1px) !important;
  }

  body.cs-template .side-rail .cs-rail-menu__link.is-active,
  body.cs-template .side-rail .rail-nav__link.is-active,
  body.cs-template .side-rail [aria-current="page"],
  .cs-template .side-rail .cs-rail-menu__link.is-active,
  .cs-template .side-rail .rail-nav__link.is-active,
  .cs-template .side-rail [aria-current="page"] {
    background: #eff7ff !important;
    border-color: #8fbdf2 !important;
    box-shadow: inset 0 0 0 1px rgba(143, 189, 242, 0.55), 0 12px 24px rgba(13, 47, 104, 0.075) !important;
    transform: none !important;
  }

  body.cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
  body.cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
  body.cs-template .side-rail [aria-current="page"] .cs-rail-menu__icon-box,
  .cs-template .side-rail .cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
  .cs-template .side-rail .rail-nav__link.is-active .cs-rail-menu__icon-box,
  .cs-template .side-rail [aria-current="page"] .cs-rail-menu__icon-box {
    background: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(143, 189, 242, 0.75) !important;
  }

  body.cs-template .side-rail .cs-rail-menu__text,
  body.cs-template .side-rail .rail-nav__text,
  .cs-template .side-rail .cs-rail-menu__text,
  .cs-template .side-rail .rail-nav__text {
    letter-spacing: 0.065em !important;
    text-transform: uppercase !important;
  }
}

@media (max-width: 920px) {
  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link {
    border-radius: 14px !important;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active,
  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link[aria-current="page"],
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link[aria-current="page"] {
    background: #eff7ff !important;
    border-color: #8fbdf2 !important;
    box-shadow: inset 0 0 0 1px rgba(143, 189, 242, 0.55) !important;
    transform: none !important;
  }

  body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:not(.is-active):not([aria-current="page"]):active,
  .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:not(.is-active):not([aria-current="page"]):active {
    background: #f7fbff !important;
    border-color: #c4d7ef !important;
  }
}

/* v1.0.261 - Bikes Allocation top area desktop/mobile refinement */
body.cs-template .cs-app-screen--bikes .cs-bike-tracking-top,
.cs-template .cs-app-screen--bikes .cs-bike-tracking-top,
body.cs-template .cs-bike-tracking-top,
.cs-template .cs-bike-tracking-top {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 2px 0 22px !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
body.cs-template .cs-bike-tracking-intro,
.cs-template .cs-bike-tracking-intro {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: -2px 0 0 !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-legend,
.cs-template .cs-app-screen--bikes .cs-bike-legend,
body.cs-template .cs-bike-legend,
.cs-template .cs-bike-legend {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
.cs-template .cs-app-screen--bikes .cs-bike-legend__item,
body.cs-template .cs-bike-legend__item,
.cs-template .cs-bike-legend__item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
.cs-template .cs-app-screen--bikes .cs-bike-legend__item b,
body.cs-template .cs-bike-legend__item b,
.cs-template .cs-bike-legend__item b {
  width: 36px !important;
  min-width: 36px !important;
  height: 26px !important;
  min-height: 26px !important;
  border-radius: 9px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 5px 12px rgba(15, 33, 58, 0.08) !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
.cs-template .cs-app-screen--bikes .cs-bike-legend__item small,
body.cs-template .cs-bike-legend__item small,
.cs-template .cs-bike-legend__item small {
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0.085em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates,
.cs-template .cs-app-screen--bikes .cs-bike-updates,
body.cs-template .cs-bike-updates,
.cs-template .cs-bike-updates {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 12px 12px 14px !important;
  border: 1px solid #dce7f4 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(13, 47, 104, 0.055) !important;
  box-sizing: border-box !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
body.cs-template .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  min-height: 30px !important;
  margin: 0 0 10px !important;
  padding: 0 2px !important;
  border: 0 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
body.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill {
  margin: 0 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #ffd2b7 !important;
  background: #fff4ec !important;
  color: #f25f12 !important;
  -webkit-text-fill-color: #f25f12 !important;
  text-fill-color: #f25f12 !important;
  font-size: 14px !important;
  line-height: 1.05 !important;
  letter-spacing: 0.035em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
body.cs-template .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 148px !important;
  max-height: 148px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  border: 1px solid #d2deeb !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  scrollbar-gutter: stable !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates table,
.cs-template .cs-app-screen--bikes .cs-bike-updates table,
body.cs-template .cs-bike-updates table,
.cs-template .cs-bike-updates table {
  width: 100% !important;
  min-width: 760px !important;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
body.cs-template .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #113a7c !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
  padding: 11px 14px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0.22em !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:first-child,
body.cs-template .cs-bike-updates thead th:first-child,
.cs-template .cs-bike-updates thead th:first-child {
  border-top-left-radius: 10px !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
.cs-template .cs-app-screen--bikes .cs-bike-updates thead th:last-child,
body.cs-template .cs-bike-updates thead th:last-child,
.cs-template .cs-bike-updates thead th:last-child {
  border-top-right-radius: 10px !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
body.cs-template .cs-bike-updates tbody td,
.cs-template .cs-bike-updates tbody td {
  padding: 8px 14px !important;
  border-bottom: 1px solid #e4ebf3 !important;
  color: #34425a !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 750 !important;
  text-align: center !important;
  background: #ffffff !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:nth-child(even) td,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody tr:nth-child(even) td,
body.cs-template .cs-bike-updates tbody tr:nth-child(even) td,
.cs-template .cs-bike-updates tbody tr:nth-child(even) td {
  background: #fbfdff !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
body.cs-template .cs-bike-rider-grid,
.cs-template .cs-bike-rider-grid {
  margin-top: 18px !important;
}

@media (max-width: 920px) {
  body.cs-template .cs-app-screen--bikes .cs-bike-tracking-top,
  .cs-template .cs-app-screen--bikes .cs-bike-tracking-top,
  body.cs-template .cs-bike-tracking-top,
  .cs-template .cs-bike-tracking-top {
    gap: 8px !important;
    margin: 0 0 18px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
  .cs-template .cs-app-screen--bikes .cs-bike-tracking-intro,
  body.cs-template .cs-bike-tracking-intro,
  .cs-template .cs-bike-tracking-intro {
    justify-content: center !important;
    padding: 0 !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-legend,
  .cs-template .cs-app-screen--bikes .cs-bike-legend,
  body.cs-template .cs-bike-legend,
  .cs-template .cs-bike-legend {
    justify-content: center !important;
    gap: clamp(4px, 1.2vw, 8px) !important;
    width: 100% !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates,
  .cs-template .cs-app-screen--bikes .cs-bike-updates,
  body.cs-template .cs-bike-updates,
  .cs-template .cs-bike-updates {
    padding: 10px 8px 10px !important;
    border-radius: 14px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
  .cs-template .cs-app-screen--bikes .cs-bike-updates > header,
  body.cs-template .cs-bike-updates > header,
  .cs-template .cs-bike-updates > header {
    margin-bottom: 8px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
  .cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
  body.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill,
  .cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--soft-pill {
    font-size: 12px !important;
    padding: 5px 9px !important;
    letter-spacing: 0.02em !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
  .cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
  body.cs-template .cs-bike-updates .cs-table-wrap,
  .cs-template .cs-bike-updates .cs-table-wrap {
    min-height: 126px !important;
    max-height: 126px !important;
    border-radius: 10px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates table,
  .cs-template .cs-app-screen--bikes .cs-bike-updates table,
  body.cs-template .cs-bike-updates table,
  .cs-template .cs-bike-updates table {
    min-width: 660px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
  .cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
  body.cs-template .cs-bike-updates thead th,
  .cs-template .cs-bike-updates thead th {
    padding: 9px 10px !important;
    font-size: 9px !important;
    letter-spacing: 0.17em !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
  .cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
  body.cs-template .cs-bike-updates tbody td,
  .cs-template .cs-bike-updates tbody td {
    padding: 7px 10px !important;
    font-size: 11px !important;
  }
}


/* v1.0.262 - Bikes Allocation rider cards and slot readability refinement */
body.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
body.cs-template .cs-bike-rider-grid,
.cs-template .cs-bike-rider-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(230px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin-top: 20px !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
body.cs-template .cs-bike-rider-card,
.cs-template .cs-bike-rider-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 100% !important;
  padding: 14px 14px 15px !important;
  border: 1px solid #d9e5f2 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 26px rgba(13, 47, 104, 0.055) !important;
  overflow: hidden !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head,
body.cs-template .cs-bike-rider-card__head,
.cs-template .cs-bike-rider-card__head {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 58px !important;
  margin: 0 0 11px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #e6edf5 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
body.cs-template .cs-bike-rider-card__avatar,
.cs-template .cs-bike-rider-card__avatar {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 12px !important;
  background: #eef3f8 !important;
  border: 1px solid #d7e2ef !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar img,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar img,
body.cs-template .cs-bike-rider-card__avatar img,
.cs-template .cs-bike-rider-card__avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
body.cs-template .cs-bike-rider-card h2,
.cs-template .cs-bike-rider-card h2 {
  margin: 0 0 4px !important;
  color: #113a7c !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.015em !important;
  font-weight: 900 !important;
  text-transform: none !important;
  overflow-wrap: anywhere !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
.cs-template .cs-app-screen--bikes .cs-bike-rider-card p,
body.cs-template .cs-bike-rider-card p,
.cs-template .cs-bike-rider-card p {
  margin: 0 !important;
  color: #f25f12 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0.055em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot-list,
.cs-template .cs-app-screen--bikes .cs-bike-slot-list,
body.cs-template .cs-bike-slot-list,
.cs-template .cs-bike-slot-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot,
.cs-template .cs-app-screen--bikes .cs-bike-slot,
body.cs-template .cs-bike-slot,
.cs-template .cs-bike-slot {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 50px !important;
  padding: 9px 10px 9px 11px !important;
  border: 1px solid #dfe8f3 !important;
  border-left-width: 4px !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #283852 !important;
  text-decoration: none !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot:hover,
.cs-template .cs-app-screen--bikes .cs-bike-slot:hover,
body.cs-template .cs-bike-slot:hover,
.cs-template .cs-bike-slot:hover,
body.cs-template .cs-app-screen--bikes .cs-bike-slot:focus-visible,
.cs-template .cs-app-screen--bikes .cs-bike-slot:focus-visible,
body.cs-template .cs-bike-slot:focus-visible,
.cs-template .cs-bike-slot:focus-visible {
  transform: translateY(-1px) !important;
  border-color: #cddbed !important;
  box-shadow: 0 10px 22px rgba(13, 47, 104, 0.08) !important;
  outline: none !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--sc,
.cs-template .cs-app-screen--bikes .cs-bike-slot--sc,
body.cs-template .cs-bike-slot--sc,
.cs-template .cs-bike-slot--sc {
  border-left-color: #20bf6b !important;
  background: #ffffff !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--ext,
.cs-template .cs-app-screen--bikes .cs-bike-slot--ext,
body.cs-template .cs-bike-slot--ext,
.cs-template .cs-bike-slot--ext {
  border-left-color: #ff7417 !important;
  background: #ffffff !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--na,
.cs-template .cs-app-screen--bikes .cs-bike-slot--na,
body.cs-template .cs-bike-slot--na,
.cs-template .cs-bike-slot--na {
  border-left-color: #9aa8b8 !important;
  background: #f5f8fb !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
.cs-template .cs-app-screen--bikes .cs-bike-slot__bike,
body.cs-template .cs-bike-slot__bike,
.cs-template .cs-bike-slot__bike {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__bike strong,
.cs-template .cs-app-screen--bikes .cs-bike-slot__bike strong,
body.cs-template .cs-bike-slot__bike strong,
.cs-template .cs-bike-slot__bike strong {
  display: block !important;
  color: #21324d !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
  letter-spacing: 0.015em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
body.cs-template .cs-bike-slot__bike small,
.cs-template .cs-bike-slot__bike small {
  display: block !important;
  color: #5a6b82 !important;
  font-size: 11px !important;
  line-height: 1.05 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
body.cs-template .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  min-width: 116px !important;
  white-space: nowrap !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
.cs-template .cs-app-screen--bikes .cs-bike-slot__status b,
body.cs-template .cs-bike-slot__status b,
.cs-template .cs-bike-slot__status b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 24px !important;
  padding: 0 !important;
  border-radius: 7px !important;
  border: 1px solid currentColor !important;
  background: #ffffff !important;
  box-shadow: 0 2px 7px rgba(13, 47, 104, 0.10) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
body.cs-template .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  display: inline-block !important;
  max-width: 80px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #5b6d82 !important;
  font-size: 9px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--sc .cs-bike-slot__status b,
.cs-template .cs-app-screen--bikes .cs-bike-slot--sc .cs-bike-slot__status b,
body.cs-template .cs-bike-slot--sc .cs-bike-slot__status b,
.cs-template .cs-bike-slot--sc .cs-bike-slot__status b {
  color: #15975a !important;
  background: #eafaf1 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--sc .cs-bike-slot__status small,
.cs-template .cs-app-screen--bikes .cs-bike-slot--sc .cs-bike-slot__status small,
body.cs-template .cs-bike-slot--sc .cs-bike-slot__status small,
.cs-template .cs-bike-slot--sc .cs-bike-slot__status small {
  color: #169457 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--ext .cs-bike-slot__status b,
.cs-template .cs-app-screen--bikes .cs-bike-slot--ext .cs-bike-slot__status b,
body.cs-template .cs-bike-slot--ext .cs-bike-slot__status b,
.cs-template .cs-bike-slot--ext .cs-bike-slot__status b {
  color: #ef680e !important;
  background: #fff2e8 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--ext .cs-bike-slot__status small,
.cs-template .cs-app-screen--bikes .cs-bike-slot--ext .cs-bike-slot__status small,
body.cs-template .cs-bike-slot--ext .cs-bike-slot__status small,
.cs-template .cs-bike-slot--ext .cs-bike-slot__status small {
  color: #ef680e !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--na .cs-bike-slot__status b,
.cs-template .cs-app-screen--bikes .cs-bike-slot--na .cs-bike-slot__status b,
body.cs-template .cs-bike-slot--na .cs-bike-slot__status b,
.cs-template .cs-bike-slot--na .cs-bike-slot__status b {
  color: #657589 !important;
  background: #eef3f8 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot--na .cs-bike-slot__status small,
.cs-template .cs-app-screen--bikes .cs-bike-slot--na .cs-bike-slot__status small,
body.cs-template .cs-bike-slot--na .cs-bike-slot__status small,
.cs-template .cs-bike-slot--na .cs-bike-slot__status small {
  color: #647287 !important;
}

@media (max-width: 1280px) {
  body.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  body.cs-template .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(3, minmax(230px, 1fr)) !important;
  }
}

@media (max-width: 1040px) {
  body.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  body.cs-template .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 680px) {
  body.cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-grid,
  body.cs-template .cs-bike-rider-grid,
  .cs-template .cs-bike-rider-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 14px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-rider-card,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-card,
  body.cs-template .cs-bike-rider-card,
  .cs-template .cs-bike-rider-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-rider-card__head,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-card__head,
  body.cs-template .cs-bike-rider-card__head,
  .cs-template .cs-bike-rider-card__head {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 52px !important;
    margin-bottom: 9px !important;
    padding-bottom: 10px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-card__avatar,
  body.cs-template .cs-bike-rider-card__avatar,
  .cs-template .cs-bike-rider-card__avatar {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
  .cs-template .cs-app-screen--bikes .cs-bike-rider-card h2,
  body.cs-template .cs-bike-rider-card h2,
  .cs-template .cs-bike-rider-card h2 {
    font-size: 16px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-slot,
  .cs-template .cs-app-screen--bikes .cs-bike-slot,
  body.cs-template .cs-bike-slot,
  .cs-template .cs-bike-slot {
    min-height: 48px !important;
    padding: 8px 9px 8px 10px !important;
    gap: 8px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
  .cs-template .cs-app-screen--bikes .cs-bike-slot__status,
  body.cs-template .cs-bike-slot__status,
  .cs-template .cs-bike-slot__status {
    min-width: 98px !important;
    gap: 5px !important;
  }

  body.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
  .cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
  body.cs-template .cs-bike-slot__status small,
  .cs-template .cs-bike-slot__status small {
    max-width: 62px !important;
    font-size: 8px !important;
    letter-spacing: 0.02em !important;
  }
}

/* v1.0.263 - Keep Bikes Allocation SC / EXT / NA status badges left-aligned */
body.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
.cs-template .cs-app-screen--bikes .cs-bike-slot__status,
body.cs-template .cs-bike-slot__status,
.cs-template .cs-bike-slot__status {
  justify-self: start !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
body.cs-template .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  text-align: left !important;
}

/* v1.0.264 - Latest Bikes Allocation body text regular weight */
body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
body.cs-template .cs-bike-updates tbody td,
.cs-template .cs-bike-updates tbody td,
body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td *,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td *,
body.cs-template .cs-bike-updates tbody td *,
.cs-template .cs-bike-updates tbody td * {
  font-weight: 400 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
body.cs-template .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  font-weight: 700 !important;
}

/* v1.0.265 - Latest Bikes Allocation body text reduced by 1pt */
body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td,
body.cs-template .cs-bike-updates tbody td,
.cs-template .cs-bike-updates tbody td {
  font-size: calc(1em - 1pt) !important;
  font-weight: 400 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td *,
.cs-template .cs-app-screen--bikes .cs-bike-updates tbody td *,
body.cs-template .cs-bike-updates tbody td *,
.cs-template .cs-bike-updates tbody td * {
  font-size: inherit !important;
  font-weight: 400 !important;
}

body.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
.cs-template .cs-app-screen--bikes .cs-bike-updates thead th,
body.cs-template .cs-bike-updates thead th,
.cs-template .cs-bike-updates thead th {
  font-weight: 700 !important;
}

/* v1.0.266 - Recent Bike Movements style inspired by Example 9 */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px 10px;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header::after,
.cs-template .cs-bike-updates > header::after {
  content: "";
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: #f47a20;
  opacity: 0.95;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 10px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(244, 122, 32, 0.35);
  background: #fff8f2;
  color: #f47a20 !important;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon,
.cs-template .cs-bike-updates__title-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  border: 1.8px solid currentColor;
  border-radius: 4px;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon::before,
.cs-template .cs-bike-updates__title-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  height: 1.8px;
  background: currentColor;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon::after,
.cs-template .cs-bike-updates__title-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 3px;
  width: 2px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table thead th,
.cs-template .cs-bike-updates .cs-table-wrap table thead th {
  background: #f4f7fb !important;
  color: #153a78 !important;
  border-bottom: 1px solid #dbe5f2 !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table thead th:first-child,
.cs-template .cs-bike-updates .cs-table-wrap table thead th:first-child {
  border-top-left-radius: 14px;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table thead th:last-child,
.cs-template .cs-bike-updates .cs-table-wrap table thead th:last-child {
  border-top-right-radius: 14px;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table tbody td,
.cs-template .cs-bike-updates .cs-table-wrap table tbody td {
  vertical-align: middle;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell,
.cs-template .cs-bike-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell i,
.cs-template .cs-bike-cell i {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--date i,
.cs-template .cs-bike-cell--date i {
  width: 14px;
  height: 14px;
  border: 1.8px solid #f47a20;
  border-radius: 4px;
  box-sizing: border-box;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--date i::before,
.cs-template .cs-bike-cell--date i::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 3px;
  height: 1.6px;
  background: #f47a20;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--date i::after,
.cs-template .cs-bike-cell--date i::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 3px;
  width: 2px;
  height: 4px;
  border-radius: 999px;
  background: #f47a20;
  box-shadow: 4px 0 0 #f47a20;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--location i,
.cs-template .cs-bike-cell--location i {
  width: 13px;
  height: 13px;
  border: 1.7px solid #405f9a;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-sizing: border-box;
  margin-right: 2px;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--location i::after,
.cs-template .cs-bike-cell--location i::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #405f9a;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--updated i,
.cs-template .cs-bike-cell--updated i {
  width: 14px;
  height: 14px;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--updated i::before,
.cs-template .cs-bike-cell--updated i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 5px;
  height: 5px;
  border: 1.7px solid #405f9a;
  border-radius: 50%;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell--updated i::after,
.cs-template .cs-bike-cell--updated i::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 11px;
  height: 6px;
  border: 1.7px solid #405f9a;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

@media (max-width: 760px) {
  .cs-template .cs-app-screen--bikes .cs-bike-updates > header,
  .cs-template .cs-bike-updates > header {
    gap: 10px;
    padding: 0 12px 8px;
  }

  .cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
  .cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log {
    padding: 9px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }
}

/* v1.0.267 - Recent Bike Movements left-aligned text */
.cs-template .cs-app-screen--bikes .cs-bike-updates > header,
.cs-template .cs-bike-updates > header {
  justify-content: flex-start;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table thead th,
.cs-template .cs-bike-updates .cs-table-wrap table thead th,
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table tbody td,
.cs-template .cs-bike-updates .cs-table-wrap table tbody td {
  text-align: left !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table thead th,
.cs-template .cs-bike-updates .cs-table-wrap table thead th {
  padding-left: 18px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap table tbody td,
.cs-template .cs-bike-updates .cs-table-wrap table tbody td {
  padding-left: 18px !important;
}

.cs-template .cs-app-screen--bikes .cs-bike-cell,
.cs-template .cs-bike-cell {
  justify-content: flex-start;
  width: 100%;
}

/* v1.0.269 - Bikes Allocation status label descender fix */
body.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
.cs-template .cs-app-screen--bikes .cs-bike-slot__status small,
body.cs-template .cs-bike-slot__status small,
.cs-template .cs-bike-slot__status small {
  line-height: 1.18 !important;
  min-height: 1.15em !important;
  padding-bottom: 1px !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* v1.0.270 - Bikes Allocation secondary bike label uppercase */
body.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
body.cs-template .cs-bike-slot__bike small,
.cs-template .cs-bike-slot__bike small {
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

/* v1.0.271 - Recent Bike Movements 6 visible rows */
body.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
.cs-template .cs-app-screen--bikes .cs-bike-updates .cs-table-wrap,
body.cs-template .cs-bike-updates .cs-table-wrap,
.cs-template .cs-bike-updates .cs-table-wrap {
  min-height: 206px !important;
  max-height: 206px !important;
}

/* v1.0.273 - Bike Movement modal header refinement */
.cs-template .cs-bike-movement-modal__card header {
  align-items: center !important;
  padding: 22px 24px 18px !important;
}

.cs-template .cs-bike-movement-modal__title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-width: 0 !important;
}

.cs-template .cs-bike-movement-modal__title-icon {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  position: relative !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  border: 1.9px solid #f25f12 !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
  color: #f25f12 !important;
}

.cs-template .cs-bike-movement-modal__title-icon::before {
  content: "" !important;
  position: absolute !important;
  left: 3px !important;
  right: 3px !important;
  top: 5px !important;
  height: 1.8px !important;
  background: currentColor !important;
  border-radius: 999px !important;
}

.cs-template .cs-bike-movement-modal__title-icon::after {
  content: "" !important;
  position: absolute !important;
  top: -3px !important;
  left: 4px !important;
  width: 2px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  box-shadow: 7px 0 0 currentColor !important;
}

.cs-template .cs-bike-movement-modal__card .cs-bike-movement-modal__title h2,
.cs-template .cs-bike-movement-modal__card h2#cs-bike-movement-title {
  margin: 0 !important;
  color: #f25f12 !important;
  -webkit-text-fill-color: #f25f12 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-movement-modal__card header button {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 520px) {
  .cs-template .cs-bike-movement-modal__card .cs-bike-movement-modal__title h2,
  .cs-template .cs-bike-movement-modal__card h2#cs-bike-movement-title {
    font-size: 13px !important;
    letter-spacing: 0.1em !important;
  }
}

/* v1.0.274 - Bike Movement modal destination buttons */
.cs-template .cs-bike-movement-modal__card form {
  gap: 15px !important;
}

.cs-template .cs-bike-movement-modal input[readonly],
.cs-template .cs-bike-movement-modal input[name="bikeDisplay"] {
  cursor: default !important;
  color: #102b5c !important;
  background: #f2f6fb !important;
}

.cs-template .cs-bike-destination-panel {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

.cs-template .cs-bike-destination-panel__label {
  display: block !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #62728a !important;
}

.cs-template .cs-bike-destination-options {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

.cs-template .cs-bike-destination-recents {
  display: contents !important;
}

.cs-template .cs-bike-destination-option {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 38px !important;
  padding: 7px 11px !important;
  border-radius: 12px !important;
  border: 1px solid #d8e2ef !important;
  background: #ffffff !important;
  color: #102b5c !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.035em !important;
}

.cs-template .cs-bike-destination-option:hover,
.cs-template .cs-bike-destination-option:focus-visible {
  border-color: #93add0 !important;
  box-shadow: 0 0 0 3px rgba(13, 47, 104, 0.08) !important;
  outline: none !important;
}

.cs-template .cs-bike-destination-option.is-selected {
  border-color: #f47a20 !important;
  background: #fff6ef !important;
  color: #f25f12 !important;
  box-shadow: 0 0 0 3px rgba(244, 122, 32, 0.12) !important;
}

.cs-template .cs-bike-destination-option b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 24px !important;
  padding: 0 6px !important;
  border-radius: 8px !important;
  border: 1px solid currentColor !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

.cs-template .cs-bike-destination-option span {
  white-space: nowrap !important;
}

.cs-template .cs-bike-destination-option--custom b {
  color: #ef680e !important;
}

.cs-template .cs-bike-destination-add {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.cs-template .cs-bike-destination-add input {
  min-height: 42px !important;
}

.cs-template .cs-bike-destination-add .cs-btn {
  min-height: 42px !important;
  white-space: nowrap !important;
}

.cs-template .cs-bike-destination-hint {
  display: block !important;
  margin: 0 !important;
  color: #6c7b91 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

@media (max-width: 720px) {
  .cs-template .cs-bike-destination-add {
    grid-template-columns: 1fr !important;
  }

  .cs-template .cs-bike-destination-option {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* v1.0.275 - Bike Movement destination buttons status colors */
.cs-template .cs-bike-destination-option--sc {
  border-color: #b8ecd1 !important;
  background: #f5fff9 !important;
  color: #16864b !important;
}

.cs-template .cs-bike-destination-option--sc b {
  background: #e9fbf1 !important;
  color: #0e9f55 !important;
  border-color: #2abe70 !important;
}

.cs-template .cs-bike-destination-option--na {
  border-color: #d4dde8 !important;
  background: #f5f7fa !important;
  color: #657386 !important;
}

.cs-template .cs-bike-destination-option--na b {
  background: #eef2f6 !important;
  color: #657386 !important;
  border-color: #9aa7b8 !important;
}

.cs-template .cs-bike-destination-option--ext,
.cs-template .cs-bike-destination-option--custom {
  border-color: #ffd0ad !important;
  background: #fff7ef !important;
  color: #ef680e !important;
}

.cs-template .cs-bike-destination-option--ext b,
.cs-template .cs-bike-destination-option--custom b {
  background: #fff0e4 !important;
  color: #ef680e !important;
  border-color: #ff7a18 !important;
}

.cs-template .cs-bike-destination-option--sc:hover,
.cs-template .cs-bike-destination-option--sc:focus-visible,
.cs-template .cs-bike-destination-option--sc.is-selected {
  border-color: #22c56f !important;
  background: #ebfff4 !important;
  color: #118346 !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 111, 0.14) !important;
}

.cs-template .cs-bike-destination-option--na:hover,
.cs-template .cs-bike-destination-option--na:focus-visible,
.cs-template .cs-bike-destination-option--na.is-selected {
  border-color: #9aa7b8 !important;
  background: #eef2f6 !important;
  color: #4f5f72 !important;
  box-shadow: 0 0 0 3px rgba(154, 167, 184, 0.18) !important;
}

.cs-template .cs-bike-destination-option--ext:hover,
.cs-template .cs-bike-destination-option--ext:focus-visible,
.cs-template .cs-bike-destination-option--custom:hover,
.cs-template .cs-bike-destination-option--custom:focus-visible,
.cs-template .cs-bike-destination-option--ext.is-selected,
.cs-template .cs-bike-destination-option--custom.is-selected {
  border-color: #ff7a18 !important;
  background: #fff1e5 !important;
  color: #ef5f0a !important;
  box-shadow: 0 0 0 3px rgba(244, 122, 32, 0.14) !important;
}

.cs-template .cs-bike-destination-hint {
  display: none !important;
}



/* v1.0.276 - Bikes Allocation clearer movement choices and lighter bike model text */
body.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
.cs-template .cs-app-screen--bikes .cs-bike-slot__bike small,
body.cs-template .cs-bike-slot__bike small,
.cs-template .cs-bike-slot__bike small {
  font-weight: 500 !important;
}

.cs-template .cs-bike-destination-options {
  gap: 10px !important;
  align-items: stretch !important;
}

.cs-template .cs-bike-destination-option {
  position: relative !important;
  min-height: 42px !important;
  padding: 8px 13px !important;
  border-width: 1.5px !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 1px 2px rgba(16,43,92,0.04) !important;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease !important;
}

.cs-template .cs-bike-destination-option b {
  flex: 0 0 auto !important;
  min-width: 31px !important;
  height: 26px !important;
  border-radius: 9px !important;
  font-weight: 900 !important;
}

.cs-template .cs-bike-destination-option span {
  font-weight: 900 !important;
  letter-spacing: .055em !important;
}

.cs-template .cs-bike-destination-option:hover,
.cs-template .cs-bike-destination-option:focus-visible {
  transform: translateY(-1px) !important;
}

.cs-template .cs-bike-destination-option.is-selected {
  padding-right: 36px !important;
  border-width: 2px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.75), 0 0 0 4px rgba(16,43,92,0.06) !important;
}

.cs-template .cs-bike-destination-option.is-selected::after {
  content: "✓" !important;
  position: absolute !important;
  top: 50% !important;
  right: 11px !important;
  width: 17px !important;
  height: 17px !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  background: currentColor !important;
  color: #ffffff !important;
}

.cs-template .cs-bike-destination-option--sc {
  border-color: #30c779 !important;
  background: #f2fff8 !important;
  color: #0f8f4d !important;
}

.cs-template .cs-bike-destination-option--sc b {
  background: #dcfbea !important;
  color: #0f8f4d !important;
  border-color: #22b869 !important;
}

.cs-template .cs-bike-destination-option--na {
  border-color: #98a6b8 !important;
  background: #f5f7fa !important;
  color: #536376 !important;
}

.cs-template .cs-bike-destination-option--na b {
  background: #e9eef4 !important;
  color: #536376 !important;
  border-color: #98a6b8 !important;
}

.cs-template .cs-bike-destination-option--ext,
.cs-template .cs-bike-destination-option--custom {
  border-color: #ff8a2a !important;
  background: #fff5ec !important;
  color: #e85d08 !important;
}

.cs-template .cs-bike-destination-option--ext b,
.cs-template .cs-bike-destination-option--custom b {
  background: #ffead8 !important;
  color: #e85d08 !important;
  border-color: #ff7a18 !important;
}

.cs-template .cs-bike-destination-option--sc.is-selected,
.cs-template .cs-bike-destination-option--sc:hover,
.cs-template .cs-bike-destination-option--sc:focus-visible {
  background: #e8fff2 !important;
  border-color: #13b965 !important;
  color: #087b40 !important;
}

.cs-template .cs-bike-destination-option--na.is-selected,
.cs-template .cs-bike-destination-option--na:hover,
.cs-template .cs-bike-destination-option--na:focus-visible {
  background: #eef2f6 !important;
  border-color: #8292a7 !important;
  color: #45566b !important;
}

.cs-template .cs-bike-destination-option--ext.is-selected,
.cs-template .cs-bike-destination-option--custom.is-selected,
.cs-template .cs-bike-destination-option--ext:hover,
.cs-template .cs-bike-destination-option--custom:hover,
.cs-template .cs-bike-destination-option--ext:focus-visible,
.cs-template .cs-bike-destination-option--custom:focus-visible {
  background: #fff0e4 !important;
  border-color: #f0640c !important;
  color: #d94d00 !important;
}


/* v1.0.277 - Bike Movement rider photo and softer destination choices */
.cs-template .cs-bike-movement-rider {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}

.cs-template .cs-bike-movement-rider__avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: block !important;
  background: #f2f6fb !important;
  border: 1px solid #d8e2ef !important;
  box-shadow: 0 1px 3px rgba(16,43,92,0.06) !important;
  position: relative !important;
}

.cs-template .cs-bike-movement-rider__avatar::before {
  content: "" !important;
  position: absolute !important;
  inset: 12px 14px 10px !important;
  border-radius: 999px 999px 8px 8px !important;
  background: linear-gradient(180deg, #d9e3f0, #c6d3e2) !important;
}

.cs-template .cs-bike-movement-rider.has-photo .cs-bike-movement-rider__avatar::before {
  display: none !important;
}

.cs-template .cs-bike-movement-rider__avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: none !important;
}

.cs-template .cs-bike-movement-rider.has-photo .cs-bike-movement-rider__avatar img {
  display: block !important;
}

.cs-template .cs-bike-destination-options {
  gap: 9px !important;
}

.cs-template .cs-bike-destination-option {
  min-height: 40px !important;
  padding: 7px 12px !important;
  border-width: 1px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(16,43,92,0.035) !important;
  transform: none !important;
}

.cs-template .cs-bike-destination-option b {
  min-width: 30px !important;
  height: 24px !important;
  border-radius: 8px !important;
  border-width: 1px !important;
  font-size: 10px !important;
}

.cs-template .cs-bike-destination-option span {
  font-weight: 800 !important;
  letter-spacing: .045em !important;
}

.cs-template .cs-bike-destination-option:hover,
.cs-template .cs-bike-destination-option:focus-visible {
  transform: none !important;
  box-shadow: 0 2px 5px rgba(16,43,92,0.07) !important;
}

.cs-template .cs-bike-destination-option.is-selected {
  padding-right: 24px !important;
  border-width: 1px !important;
  box-shadow: 0 0 0 2px rgba(16,43,92,0.05), 0 2px 6px rgba(16,43,92,0.08) !important;
}

.cs-template .cs-bike-destination-option.is-selected::after {
  content: "" !important;
  right: 10px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  color: currentColor !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.cs-template .cs-bike-destination-option--sc {
  border-color: #b9e7cf !important;
  background: #fbfffd !important;
  color: #147e48 !important;
}

.cs-template .cs-bike-destination-option--sc b {
  background: #eefbf4 !important;
  color: #147e48 !important;
  border-color: #9edcbc !important;
}

.cs-template .cs-bike-destination-option--na {
  border-color: #d2dae4 !important;
  background: #ffffff !important;
  color: #536376 !important;
}

.cs-template .cs-bike-destination-option--na b {
  background: #f3f6f9 !important;
  color: #536376 !important;
  border-color: #c6d0dc !important;
}

.cs-template .cs-bike-destination-option--ext,
.cs-template .cs-bike-destination-option--custom {
  border-color: #ffd3b5 !important;
  background: #fffdfb !important;
  color: #df5b10 !important;
}

.cs-template .cs-bike-destination-option--ext b,
.cs-template .cs-bike-destination-option--custom b {
  background: #fff3ea !important;
  color: #df5b10 !important;
  border-color: #ffc49c !important;
}

.cs-template .cs-bike-destination-option--sc.is-selected,
.cs-template .cs-bike-destination-option--sc:hover,
.cs-template .cs-bike-destination-option--sc:focus-visible {
  background: #f3fff8 !important;
  border-color: #7fd0a5 !important;
  color: #0f7b44 !important;
}

.cs-template .cs-bike-destination-option--na.is-selected,
.cs-template .cs-bike-destination-option--na:hover,
.cs-template .cs-bike-destination-option--na:focus-visible {
  background: #f7f9fb !important;
  border-color: #aeb9c7 !important;
  color: #45566b !important;
}

.cs-template .cs-bike-destination-option--ext.is-selected,
.cs-template .cs-bike-destination-option--custom.is-selected,
.cs-template .cs-bike-destination-option--ext:hover,
.cs-template .cs-bike-destination-option--custom:hover,
.cs-template .cs-bike-destination-option--ext:focus-visible,
.cs-template .cs-bike-destination-option--custom:focus-visible {
  background: #fff7f0 !important;
  border-color: #ffad79 !important;
  color: #d45108 !important;
}


/* v1.0.278 - Softer Bike Movement choices and uppercase recent movement locations */
.cs-template .cs-bike-cell--location span {
  text-transform: uppercase !important;
  letter-spacing: .025em !important;
}

.cs-template .cs-bike-destination-options {
  gap: 8px !important;
}

.cs-template .cs-bike-destination-option {
  min-height: 38px !important;
  padding: 7px 11px !important;
  border-width: 1px !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  border-color: #dbe5f0 !important;
  color: #18345f !important;
  box-shadow: none !important;
  outline: none !important;
}

.cs-template .cs-bike-destination-option b {
  min-width: 28px !important;
  height: 22px !important;
  border-radius: 7px !important;
  border-width: 1px !important;
  background: #f5f8fb !important;
  border-color: #d2dce8 !important;
  color: #536376 !important;
  font-size: 9px !important;
  box-shadow: none !important;
}

.cs-template .cs-bike-destination-option span {
  font-weight: 750 !important;
  letter-spacing: .04em !important;
}

.cs-template .cs-bike-destination-option:hover,
.cs-template .cs-bike-destination-option:focus-visible {
  transform: none !important;
  border-color: #b8c7d8 !important;
  background: #f8fbfe !important;
  box-shadow: none !important;
}

.cs-template .cs-bike-destination-option.is-selected {
  padding-right: 22px !important;
  border-width: 1px !important;
  background: #f7faff !important;
  border-color: #8fa3bc !important;
  box-shadow: inset 0 0 0 1px rgba(16,43,92,.08) !important;
}

.cs-template .cs-bike-destination-option.is-selected::after {
  right: 9px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  opacity: .55 !important;
  box-shadow: none !important;
}

.cs-template .cs-bike-destination-option--sc {
  border-color: #cfeadc !important;
  background: #ffffff !important;
  color: #137846 !important;
}

.cs-template .cs-bike-destination-option--sc b {
  background: #f1fbf5 !important;
  border-color: #b9dfca !important;
  color: #137846 !important;
}

.cs-template .cs-bike-destination-option--na {
  border-color: #d5dde8 !important;
  background: #ffffff !important;
  color: #536376 !important;
}

.cs-template .cs-bike-destination-option--na b {
  background: #f5f7fa !important;
  border-color: #cad4df !important;
  color: #536376 !important;
}

.cs-template .cs-bike-destination-option--ext,
.cs-template .cs-bike-destination-option--custom {
  border-color: #f2d4c0 !important;
  background: #ffffff !important;
  color: #d95b14 !important;
}

.cs-template .cs-bike-destination-option--ext b,
.cs-template .cs-bike-destination-option--custom b {
  background: #fff6ef !important;
  border-color: #efc8ae !important;
  color: #d95b14 !important;
}

.cs-template .cs-bike-destination-option--sc.is-selected,
.cs-template .cs-bike-destination-option--sc:hover,
.cs-template .cs-bike-destination-option--sc:focus-visible {
  background: #f8fffb !important;
  border-color: #a6d8bc !important;
  color: #0f7541 !important;
}

.cs-template .cs-bike-destination-option--na.is-selected,
.cs-template .cs-bike-destination-option--na:hover,
.cs-template .cs-bike-destination-option--na:focus-visible {
  background: #f8fafc !important;
  border-color: #b3bfcd !important;
  color: #4d5e72 !important;
}

.cs-template .cs-bike-destination-option--ext.is-selected,
.cs-template .cs-bike-destination-option--custom.is-selected,
.cs-template .cs-bike-destination-option--ext:hover,
.cs-template .cs-bike-destination-option--custom:hover,
.cs-template .cs-bike-destination-option--ext:focus-visible,
.cs-template .cs-bike-destination-option--custom:focus-visible {
  background: #fffaf6 !important;
  border-color: #eabf9f !important;
  color: #cf520e !important;
}


/* v1.0.279 - Bike Movement selected buttons: color change only, no dot marker */
.cs-template .cs-bike-destination-option {
  min-height: 38px !important;
  padding: 7px 11px !important;
  border-width: 1px !important;
  border-radius: 11px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease !important;
}

.cs-template .cs-bike-destination-option:hover,
.cs-template .cs-bike-destination-option:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.cs-template .cs-bike-destination-option.is-selected {
  padding-right: 11px !important;
  border-width: 1px !important;
  box-shadow: none !important;
  transform: none !important;
}

.cs-template .cs-bike-destination-option::after,
.cs-template .cs-bike-destination-option.is-selected::after {
  content: none !important;
  display: none !important;
}

.cs-template .cs-bike-destination-option--sc {
  border-color: #cfeadc !important;
  background: #ffffff !important;
  color: #137846 !important;
}

.cs-template .cs-bike-destination-option--sc b {
  background: #f1fbf5 !important;
  border-color: #b9dfca !important;
  color: #137846 !important;
}

.cs-template .cs-bike-destination-option--sc:hover,
.cs-template .cs-bike-destination-option--sc:focus-visible {
  background: #f7fdf9 !important;
  color: #137846 !important;
  border-color: #cfeadc !important;
}

.cs-template .cs-bike-destination-option--sc.is-selected {
  background: #eaf8f0 !important;
  color: #106f3d !important;
  border-color: #cfeadc !important;
}

.cs-template .cs-bike-destination-option--sc.is-selected b {
  background: #daf0e2 !important;
  border-color: #b9dfca !important;
  color: #106f3d !important;
}

.cs-template .cs-bike-destination-option--na {
  border-color: #d5dde8 !important;
  background: #ffffff !important;
  color: #536376 !important;
}

.cs-template .cs-bike-destination-option--na b {
  background: #f5f7fa !important;
  border-color: #cad4df !important;
  color: #536376 !important;
}

.cs-template .cs-bike-destination-option--na:hover,
.cs-template .cs-bike-destination-option--na:focus-visible {
  background: #fafbfd !important;
  color: #536376 !important;
  border-color: #d5dde8 !important;
}

.cs-template .cs-bike-destination-option--na.is-selected {
  background: #eef2f6 !important;
  color: #4f6073 !important;
  border-color: #d5dde8 !important;
}

.cs-template .cs-bike-destination-option--na.is-selected b {
  background: #e5ebf2 !important;
  border-color: #cad4df !important;
  color: #4f6073 !important;
}

.cs-template .cs-bike-destination-option--ext,
.cs-template .cs-bike-destination-option--custom {
  border-color: #f2d4c0 !important;
  background: #ffffff !important;
  color: #d95b14 !important;
}

.cs-template .cs-bike-destination-option--ext b,
.cs-template .cs-bike-destination-option--custom b {
  background: #fff6ef !important;
  border-color: #efc8ae !important;
  color: #d95b14 !important;
}

.cs-template .cs-bike-destination-option--ext:hover,
.cs-template .cs-bike-destination-option--custom:hover,
.cs-template .cs-bike-destination-option--ext:focus-visible,
.cs-template .cs-bike-destination-option--custom:focus-visible {
  background: #fffaf6 !important;
  color: #d95b14 !important;
  border-color: #f2d4c0 !important;
}

.cs-template .cs-bike-destination-option--ext.is-selected,
.cs-template .cs-bike-destination-option--custom.is-selected {
  background: #fff1e6 !important;
  color: #cf520e !important;
  border-color: #f2d4c0 !important;
}

.cs-template .cs-bike-destination-option--ext.is-selected b,
.cs-template .cs-bike-destination-option--custom.is-selected b {
  background: #ffe6d6 !important;
  border-color: #efc8ae !important;
  color: #cf520e !important;
}


/* v1.0.281 - Larger Bike Movement rider photo with rider name outside the bike field */
.cs-template .cs-bike-movement-rider {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
}

.cs-template .cs-bike-movement-rider__avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
}

.cs-template .cs-bike-movement-rider__avatar::before {
  inset: 15px 18px 12px !important;
}

.cs-template .cs-bike-movement-rider__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.cs-template .cs-bike-movement-rider__name {
  display: block !important;
  margin: 0 !important;
  color: #16345d !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}

.cs-template .cs-bike-movement-rider__body label {
  margin: 0 !important;
}

@media (max-width: 640px) {
  .cs-template .cs-bike-movement-rider {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .cs-template .cs-bike-movement-rider__avatar {
    width: 64px !important;
    height: 64px !important;
  }
}


/* v1.0.282 - Larger Bike Movement rider header and no Bike input box */
.cs-template .cs-bike-movement-rider {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 2px 0 8px !important;
}

.cs-template .cs-bike-movement-rider__avatar {
  width: 96px !important;
  height: 96px !important;
  border-radius: 18px !important;
  background: #f2f6fb !important;
  border: 1px solid #d8e2ef !important;
  box-shadow: 0 2px 8px rgba(16,43,92,0.08) !important;
}

.cs-template .cs-bike-movement-rider__avatar::before {
  inset: 20px 24px 16px !important;
}

.cs-template .cs-bike-movement-rider__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
}

.cs-template .cs-bike-movement-rider__name {
  margin: 0 !important;
  color: #0b2f63 !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}

.cs-template .cs-bike-movement-rider__bike {
  display: block !important;
  color: #415674 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  .cs-template .cs-bike-movement-rider {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .cs-template .cs-bike-movement-rider__avatar {
    width: 82px !important;
    height: 82px !important;
  }
  .cs-template .cs-bike-movement-rider__name {
    font-size: 16px !important;
  }
}


/* v1.0.283 - Bike detail under rider name should not be bold */
.cs-template .cs-bike-movement-rider__bike {
  font-weight: 400 !important;
}


/* v1.0.285 - subtle background gradient for New Bike Movement modal */
.cs-template .cs-bike-movement-modal__card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 54%, #f5f8fc 100%) !important;
}

.cs-template .cs-bike-movement-modal__card header {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.96) 100%) !important;
}

.cs-template .cs-bike-movement-modal__card form {
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(243,247,252,0.4) 100%) !important;
}


/* v1.0.286 - background option 4: Subtle Card Depth */
.cs-template .cs-bike-movement-modal__card {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 50%, #f3f6fa 100%) !important;
}

.cs-template .cs-bike-movement-modal__card header {
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(249,252,255,0.97) 100%) !important;
}

.cs-template .cs-bike-movement-modal__card form {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(245,248,252,0.42) 100%) !important;
}


/* v1.0.287 - Add new location input remains white */
.cs-template .cs-bike-destination-add input,
.cs-template .cs-bike-destination-add input[type="text"],
.cs-template input[data-cs-bike-custom-destination] {
  background: #ffffff !important;
  background-image: none !important;
}


/* v1.0.288 - Bikes Allocation page and left menu background aligned with NA bike slot */
body.cs-template:has(.cs-app-screen--bikes),
body.cs-template:has(.cs-app-screen--bikes) .app-shell,
body.cs-template:has(.cs-app-screen--bikes) .dashboard,
body.cs-template:has(.cs-app-screen--bikes) .cs-app-main,
body.cs-template:has(.cs-app-screen--bikes) .cs-app-screen--bikes {
  background: #f5f7fa !important;
  background-color: #f5f7fa !important;
}

body.cs-template:has(.cs-app-screen--bikes)::before {
  background: none !important;
}

body.cs-template:has(.cs-app-screen--bikes) .side-rail {
  background: #f5f7fa !important;
  background-color: #f5f7fa !important;
}

@supports not selector(body:has(.cs-app-screen--bikes)) {
  body.cs-template .cs-app-screen--bikes,
  body.cs-template .cs-app-screen--bikes .cs-app-main {
    background: #f5f7fa !important;
    background-color: #f5f7fa !important;
  }
  body.cs-template .side-rail {
    background: #f5f7fa !important;
    background-color: #f5f7fa !important;
  }
}


/* v1.0.289 - force Bikes Allocation page + left menu to match Not assigned slot background */
body.cs-template.cs-nav-active-bikes,
body.cs-template.cs-nav-active-bikes .app-shell,
body.cs-template.cs-nav-active-bikes .workspace,
body.cs-template.cs-nav-active-bikes #main-content,
body.cs-template.cs-nav-active-bikes .dashboard,
body.cs-template.cs-nav-active-bikes .cs-app-screen,
body.cs-template.cs-nav-active-bikes .cs-app-screen--bikes,
body.cs-template.cs-nav-active-bikes .com-content-article,
body.cs-template.cs-nav-active-bikes .item-page,
body.cs-template.cs-nav-active-bikes .page,
body.cs-template:has(.cs-app-screen--bikes),
body.cs-template:has(.cs-app-screen--bikes) .app-shell,
body.cs-template:has(.cs-app-screen--bikes) .workspace,
body.cs-template:has(.cs-app-screen--bikes) #main-content,
body.cs-template:has(.cs-app-screen--bikes) .dashboard,
body.cs-template:has(.cs-app-screen--bikes) .cs-app-screen,
body.cs-template:has(.cs-app-screen--bikes) .cs-app-screen--bikes {
  background: #f5f7fa !important;
  background-color: #f5f7fa !important;
  background-image: none !important;
}

body.cs-template.cs-nav-active-bikes .side-rail,
body.cs-template.cs-nav-active-bikes .side-rail::before,
body.cs-template.cs-nav-active-bikes .side-rail::after,
body.cs-template.cs-nav-active-bikes .brand-mark,
body.cs-template.cs-nav-active-bikes .rail-nav,
body.cs-template.cs-nav-active-bikes .rail-nav__fallback,
body.cs-template.cs-nav-active-bikes .side-rail__flex-gap,
body.cs-template:has(.cs-app-screen--bikes) .side-rail,
body.cs-template:has(.cs-app-screen--bikes) .side-rail::before,
body.cs-template:has(.cs-app-screen--bikes) .side-rail::after,
body.cs-template:has(.cs-app-screen--bikes) .brand-mark,
body.cs-template:has(.cs-app-screen--bikes) .rail-nav,
body.cs-template:has(.cs-app-screen--bikes) .rail-nav__fallback,
body.cs-template:has(.cs-app-screen--bikes) .side-rail__flex-gap {
  background: #f5f7fa !important;
  background-color: #f5f7fa !important;
  background-image: none !important;
}

body.cs-template.cs-nav-active-bikes .side-rail {
  border-right-color: #dbe4ef !important;
}


/* v1.0.290 - Bikes Allocation left menu item uses Not Assigned grey background */
body.cs-template .side-rail .cs-rail-menu__link--bikes,
body.cs-template .side-rail .rail-nav__link[data-nav-key="bikes"] {
  background: #f5f7fa !important;
  background-image: none !important;
  background-color: #f5f7fa !important;
}

body.cs-template .side-rail .cs-rail-menu__link--bikes:hover,
body.cs-template .side-rail .rail-nav__link[data-nav-key="bikes"]:hover,
body.cs-template .side-rail .cs-rail-menu__link--bikes.is-active,
body.cs-template .side-rail .rail-nav__link[data-nav-key="bikes"].is-active,
body.cs-template .side-rail .cs-rail-menu__link--bikes[aria-current="page"],
body.cs-template .side-rail .rail-nav__link[data-nav-key="bikes"][aria-current="page"] {
  background: #f5f7fa !important;
  background-image: none !important;
  background-color: #f5f7fa !important;
  border-color: #dbe4ef !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset !important;
}

body.cs-template .side-rail .cs-rail-menu__link--bikes .cs-rail-menu__icon-box,
body.cs-template .side-rail .rail-nav__link[data-nav-key="bikes"] .cs-rail-menu__icon-box {
  background: #edf2f7 !important;
  background-image: none !important;
  background-color: #edf2f7 !important;
  border-color: #cfd9e6 !important;
}


/* v1.0.293 - definitive left sidebar button states
   Non selected: white background + gray border.
   Selected/current: light orange background.
   This block is deliberately placed at the end and uses high-specificity selectors to override older cached styles. */
@media (min-width: 921px) {
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #cfd4dc !important;
    border-color: #cfd4dc !important;
    box-shadow: none !important;
    color: #0d2f68 !important;
    transform: none !important;
  }

  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:focus-visible,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:focus-visible,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #bfc6cf !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link.is-active,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link.is-active,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[aria-current="page"],
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[aria-current="page"],
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link.is-active,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link.is-active,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link[aria-current="page"],
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link[aria-current="page"],
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link.is-active,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link.is-active,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[aria-current="page"],
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[aria-current="page"] {
    background: #f7eadb !important;
    background-color: #f7eadb !important;
    border-color: #efc59c !important;
    box-shadow: none !important;
    color: #0d2f68 !important;
    transform: none !important;
  }

  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link .cs-rail-menu__icon-box {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #cfd4dc !important;
  }

  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link.is-active .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[aria-current="page"] .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[aria-current="page"] .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link.is-active .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link.is-active .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[aria-current="page"] .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[aria-current="page"] .cs-rail-menu__icon-box {
    background: rgba(255,255,255,0.72) !important;
    background-color: rgba(255,255,255,0.72) !important;
    border-color: #efc59c !important;
  }
}


/* v1.0.294 - Sidebar hover/underline state becomes gray */
@media (min-width: 921px) {
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:focus-visible,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:focus-visible,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link:hover,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link:hover,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link:focus-visible,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link:focus-visible,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:focus-visible,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:focus-visible {
    background: #eef2f6 !important;
    background-color: #eef2f6 !important;
    border-color: #bfc6cf !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:hover .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:hover .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:focus-visible .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:focus-visible .cs-rail-menu__icon-box,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link:hover .cs-rail-menu__icon-box,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link:hover .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link:hover .cs-rail-menu__icon-box,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link:hover .cs-rail-menu__icon-box {
    background: #f6f8fb !important;
    background-color: #f6f8fb !important;
    border-color: #bfc6cf !important;
  }

  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link.is-active:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link.is-active:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[aria-current="page"]:hover,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[aria-current="page"]:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link.is-active:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link.is-active:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[aria-current="page"]:hover,
  html .cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[aria-current="page"]:hover {
    background: #f7eadb !important;
    background-color: #f7eadb !important;
    border-color: #efc59c !important;
  }
}

@media (max-width: 920px) {
  html body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:hover,
  html body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:focus-visible,
  html .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:hover,
  html .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link:focus-visible {
    background: #eef2f6 !important;
    background-color: #eef2f6 !important;
    border-color: #bfc6cf !important;
  }

  html body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active:hover,
  html body.cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link[aria-current="page"]:hover,
  html .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link.is-active:hover,
  html .cs-template .cs-mobile-bottom-nav .topbar__mobile-nav-link[aria-current="page"]:hover {
    background: #f7eadb !important;
    background-color: #f7eadb !important;
    border-color: #efc59c !important;
  }
}

/* v1.0.295 - Rider deliveries quick summary return workflow; Actions panel removed on Rider Deliveries */

/* Rider Deliveries landing cards - v1.0.296 */
.cs-template .cs-delivery-rider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.cs-template .cs-delivery-rider-card {
  background: #fff;
  border: 1px solid rgba(44, 40, 73, 0.12);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(30, 23, 62, 0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 360px;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 100%;
  height: 238px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f4ff 0%, #eef2f7 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.cs-template .cs-delivery-rider-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cs-template .cs-delivery-rider-card__photo .cs-bike-rider-card__placeholder {
  width: 92px;
  height: 92px;
  margin-bottom: 54px;
}

.cs-template .cs-delivery-rider-card h2 {
  margin: 16px 0 14px;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #24213d;
}

.cs-template .cs-delivery-rider-card__button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .02em;
}

@media (max-width: 1180px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr;
  }

  .cs-template .cs-delivery-rider-card {
    min-height: 0;
  }
}


/* v1.0.297 - Rider Deliveries clean one-rider rows */
.cs-template .cs-delivery-rider-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.cs-template .cs-delivery-rider-card {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) minmax(260px, auto) !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 0 !important;
  padding: 14px 18px !important;
  text-align: left !important;
  border-radius: 20px !important;
  border: 1px solid rgba(12, 42, 84, 0.11) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  box-shadow: 0 10px 26px rgba(15, 35, 67, 0.07) !important;
  overflow: hidden !important;
}

.cs-template .cs-delivery-rider-card:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 55, 122, 0.18) !important;
  box-shadow: 0 14px 32px rgba(15, 35, 67, 0.10) !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 76px !important;
  height: 92px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #eef3f8 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  flex: 0 0 76px !important;
  position: relative !important;
  box-shadow: inset 0 0 0 1px rgba(12, 42, 84, 0.08) !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="pending"],
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="missing"] {
  display: none !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="loaded"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: inherit !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="loaded"] + .cs-bike-rider-card__placeholder {
  display: none !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="pending"] + .cs-bike-rider-card__placeholder,
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="missing"] + .cs-bike-rider-card__placeholder {
  display: inline-flex !important;
}

.cs-template .cs-delivery-rider-card__photo .cs-bike-rider-card__placeholder {
  width: 42px !important;
  height: 42px !important;
  margin: 0 0 20px !important;
  opacity: .72 !important;
}

.cs-template .cs-delivery-rider-card__content {
  min-width: 0 !important;
}

.cs-template .cs-delivery-rider-card h2 {
  margin: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.18 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
  color: #082d63 !important;
  overflow-wrap: anywhere !important;
}

.cs-template .cs-delivery-rider-card__actions {
  display: flex !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

.cs-template .cs-delivery-rider-card__button {
  width: auto !important;
  max-width: 100% !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: .78rem !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  text-align: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

@media (max-width: 980px) {
  .cs-template .cs-delivery-rider-card {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  .cs-template .cs-delivery-rider-card__actions {
    grid-column: 1 / -1 !important;
    justify-content: stretch !important;
  }

  .cs-template .cs-delivery-rider-card__button {
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .cs-template .cs-delivery-rider-card__photo {
    width: 64px !important;
    height: 78px !important;
    border-radius: 14px !important;
  }

  .cs-template .cs-delivery-rider-card h2 {
    font-size: .94rem !important;
  }
}

/* v1.0.298 - Rider Deliveries Bikes Allocation-style cards and material-delivery log */
.cs-template .cs-delivery-tracking-top {
  margin-bottom: 28px !important;
}

.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) {
  min-width: 210px !important;
}

.cs-template .cs-delivery-rider-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.cs-template .cs-delivery-rider-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 188px !important;
  padding: 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(12, 42, 84, 0.14) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 35, 67, 0.06) !important;
  overflow: hidden !important;
  text-align: left !important;
}

.cs-template .cs-delivery-rider-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(12, 55, 122, 0.22) !important;
  box-shadow: 0 15px 30px rgba(15, 35, 67, 0.09) !important;
}

.cs-template .cs-delivery-rider-card__head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  margin-bottom: 16px !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 56px !important;
  height: 76px !important;
  flex: 0 0 56px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #edf2f7 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  position: relative !important;
  box-shadow: inset 0 0 0 1px rgba(12, 42, 84, 0.08) !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="pending"],
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="missing"] {
  display: none !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="loaded"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: inherit !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="loaded"] + .cs-bike-rider-card__placeholder {
  display: none !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="pending"] + .cs-bike-rider-card__placeholder,
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="missing"] + .cs-bike-rider-card__placeholder,
.cs-template .cs-delivery-rider-card__photo .cs-bike-rider-card__placeholder {
  display: inline-flex !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 0 18px !important;
  opacity: .7 !important;
}

.cs-template .cs-delivery-rider-card h2 {
  margin: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.08 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: #07306c !important;
  font-weight: 900 !important;
}

.cs-template .cs-delivery-rider-card h2::first-line {
  color: #07306c !important;
}

.cs-template .cs-delivery-rider-card__button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 48px !important;
  margin-top: auto !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(9, 48, 108, .14) !important;
  background: linear-gradient(180deg, #0c3b86 0%, #062c68 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(8, 48, 108, .16) !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.cs-template .cs-delivery-rider-card__button:hover {
  background: linear-gradient(180deg, #104796 0%, #073474 100%) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.cs-template .cs-delivery-rider-card__button-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .14) !important;
  font-size: .9rem !important;
  line-height: 1 !important;
}

@media (max-width: 1380px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 1080px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.300 - Rider Deliveries full-width surname sorting button refresh */
.cs-template .cs-app-screen--logistics.cs-app-screen--no-side,
.cs-template .cs-app-screen--logistics .cs-app-main,
.cs-template .cs-app-screen--logistics .cs-app-hero,
.cs-template .cs-app-screen--logistics .cs-delivery-tracking-top,
.cs-template .cs-app-screen--logistics .cs-delivery-rider-grid {
  width: 100% !important;
  max-width: 100% !important;
}

.cs-template .cs-app-screen--logistics .cs-app-main {
  overflow: visible !important;
}

.cs-template .cs-app-screen--logistics .cs-app-hero {
  margin-right: 0 !important;
}

.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(5, minmax(210px, 1fr)) !important;
  gap: 20px !important;
}

.cs-template .cs-delivery-rider-card {
  min-height: 182px !important;
  padding: 16px 16px 14px !important;
  border-radius: 20px !important;
}

.cs-template .cs-delivery-rider-card__head {
  margin-bottom: 14px !important;
}

.cs-template .cs-delivery-rider-card h2 {
  font-size: 1.01rem !important;
  line-height: 1.05 !important;
}

.cs-template .cs-delivery-rider-card__button {
  justify-content: flex-start !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(8, 53, 116, 0.12) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%) !important;
  color: #0a3a7c !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 8px 18px rgba(15, 35, 67, 0.05) !important;
  font-size: .76rem !important;
  font-weight: 800 !important;
  letter-spacing: .005em !important;
}

.cs-template .cs-delivery-rider-card__button:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%) !important;
  border-color: rgba(241, 112, 37, 0.34) !important;
  color: #0a3a7c !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.98), 0 12px 22px rgba(15, 35, 67, 0.07) !important;
  transform: translateY(-1px) !important;
}

.cs-template .cs-delivery-rider-card__button-icon {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  background: rgba(241, 112, 37, 0.12) !important;
  color: #ef6c1a !important;
  box-shadow: inset 0 0 0 1px rgba(241, 112, 37, 0.18) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
}

@media (max-width: 1520px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(4, minmax(210px, 1fr)) !important;
  }
}

@media (max-width: 1220px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.301 - Rider Deliveries true full-width expansion */
body.cs-template.cs-nav-active-logistics main#main-content.dashboard,
body.cs-template.cs-nav-active-logistics .dashboard,
body.cs-template.cs-nav-active-logistics .content-grid--app,
body.cs-template.cs-nav-active-logistics .component-panel--app,
body.cs-template.cs-nav-active-logistics .component-panel--app .cs-content-article {
  width: 100% !important;
  max-width: none !important;
}

body.cs-template.cs-nav-active-logistics .dashboard {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.cs-template .cs-app-screen--logistics.cs-app-screen--no-side,
.cs-template .cs-app-screen--logistics.cs-app-screen--dynamic {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  gap: 14px !important;
}

.cs-template .cs-app-screen--logistics .cs-app-main,
.cs-template .cs-app-screen--logistics .cs-app-hero,
.cs-template .cs-app-screen--logistics .cs-delivery-tracking-top,
.cs-template .cs-app-screen--logistics .cs-delivery-updates,
.cs-template .cs-app-screen--logistics .cs-table-wrap,
.cs-template .cs-app-screen--logistics .cs-delivery-rider-grid {
  width: 100% !important;
  max-width: none !important;
}

.cs-template .cs-app-screen--logistics .cs-app-hero {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.cs-template .cs-delivery-updates table th,
.cs-template .cs-delivery-updates table td {
  white-space: nowrap !important;
}

.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(5, minmax(185px, 1fr)) !important;
  gap: 18px !important;
}

.cs-template .cs-delivery-rider-card {
  min-height: 174px !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 52px !important;
  height: 72px !important;
  flex-basis: 52px !important;
}

.cs-template .cs-delivery-rider-card h2 {
  font-size: 0.98rem !important;
}

.cs-template .cs-delivery-rider-card__button {
  min-height: 44px !important;
  padding: 9px 12px !important;
  font-size: 0.73rem !important;
}

@media (min-width: 1580px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(6, minmax(175px, 1fr)) !important;
  }
}

@media (max-width: 1460px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(5, minmax(170px, 1fr)) !important;
  }
}

@media (max-width: 1240px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
  }
}

@media (max-width: 540px) {
  body.cs-template.cs-nav-active-logistics .dashboard {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .cs-template .cs-app-screen--logistics .cs-app-hero {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.302 - Rider Deliveries larger rider cards */
.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
  gap: 22px !important;
}

.cs-template .cs-delivery-rider-card {
  min-height: 236px !important;
  padding: 20px 20px 18px !important;
  border-radius: 22px !important;
}

.cs-template .cs-delivery-rider-card__head {
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 64px !important;
  height: 88px !important;
  flex: 0 0 64px !important;
  border-radius: 14px !important;
}

.cs-template .cs-delivery-rider-card h2 {
  font-size: 1.14rem !important;
  line-height: 1.08 !important;
}

.cs-template .cs-delivery-rider-card__button {
  min-height: 54px !important;
  padding: 12px 14px !important;
  font-size: 0.82rem !important;
  border-radius: 16px !important;
}

.cs-template .cs-delivery-rider-card__button-icon {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  font-size: 1.02rem !important;
}

@media (min-width: 1580px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(4, minmax(255px, 1fr)) !important;
  }
}

@media (max-width: 1400px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(235px, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.303 - Rider Deliveries option 1 card style */
.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(3, minmax(320px, 1fr)) !important;
  gap: 24px !important;
}

.cs-template .cs-delivery-rider-card {
  min-height: 228px !important;
  padding: 22px 24px 18px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid #d8e1ec !important;
  box-shadow: 0 10px 24px rgba(31, 51, 84, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
}

.cs-template .cs-delivery-rider-card__head {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  margin-bottom: 18px !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 96px !important;
  height: 132px !important;
  flex: 0 0 96px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #f2f5f9 0%, #edf2f7 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(205, 215, 227, .82) !important;
}

.cs-template .cs-delivery-rider-card__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.cs-template .cs-delivery-rider-card__identity {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.cs-template .cs-delivery-rider-card__name {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  display: block !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  overflow-wrap: anywhere !important;
}

.cs-template .cs-delivery-rider-card__first {
  color: #123a78 !important;
  font-size: 1.34rem !important;
}

.cs-template .cs-delivery-rider-card__last {
  color: #ef6c1a !important;
  font-size: 1.30rem !important;
}

.cs-template .cs-delivery-rider-card__icon-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
  border-radius: 999px !important;
  border: 1px solid #d3dbe7 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  color: #f06e1f !important;
  text-decoration: none !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(31, 51, 84, 0.04) !important;
}

.cs-template .cs-delivery-rider-card__icon-link:hover {
  transform: translateY(-1px) !important;
  border-color: #f3c9aa !important;
  box-shadow: 0 8px 16px rgba(31, 51, 84, 0.08) !important;
}

.cs-template .cs-delivery-rider-card__divider {
  height: 1px !important;
  width: 100% !important;
  margin: 2px 0 14px !important;
  background: #dbe3ec !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: auto !important;
  padding: 6px 2px 0 !important;
  margin-top: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #10386f !important;
  box-shadow: none !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1:hover {
  color: #ef6c1a !important;
  transform: none !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  color: #10386f !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
  margin-left: 12px !important;
}

@media (max-width: 1460px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(290px, 1fr)) !important;
  }
}

@media (max-width: 1120px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }

  .cs-template .cs-delivery-rider-card {
    padding: 18px 18px 16px !important;
  }

  .cs-template .cs-delivery-rider-card__head {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .cs-template .cs-delivery-rider-card__photo {
    width: 78px !important;
    height: 108px !important;
    flex-basis: 78px !important;
  }

  .cs-template .cs-delivery-rider-card__icon-link {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    font-size: 1.55rem !important;
  }

  .cs-template .cs-delivery-rider-card__first {
    font-size: 1.18rem !important;
  }

  .cs-template .cs-delivery-rider-card__last {
    font-size: 1.14rem !important;
  }

  .cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
    font-size: .92rem !important;
  }
}


/* v1.0.304 - Rider Deliveries smaller option 1 cards + new CTA */
.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(3, minmax(285px, 1fr)) !important;
  gap: 20px !important;
}

.cs-template .cs-delivery-rider-card {
  min-height: 196px !important;
  padding: 18px 20px 14px !important;
  border-radius: 20px !important;
}

.cs-template .cs-delivery-rider-card__head {
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 78px !important;
  height: 108px !important;
  flex: 0 0 78px !important;
  border-radius: 14px !important;
}

.cs-template .cs-delivery-rider-card__first {
  font-size: 1.18rem !important;
}

.cs-template .cs-delivery-rider-card__last {
  font-size: 1.14rem !important;
}

.cs-template .cs-delivery-rider-card__icon-link {
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  font-size: 1.65rem !important;
}

.cs-template .cs-delivery-rider-card__divider {
  margin: 0 0 10px !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  font-size: 0.92rem !important;
  line-height: 1.15 !important;
  padding-top: 4px !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  font-size: 1.4rem !important;
  margin-left: 10px !important;
}

@media (max-width: 1460px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(255px, 1fr)) !important;
  }
}

@media (max-width: 1120px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(255px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.305 - Rider Deliveries narrower cards */
.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(4, minmax(235px, 1fr)) !important;
  gap: 18px !important;
}

.cs-template .cs-delivery-rider-card {
  min-height: 188px !important;
  padding: 16px 18px 13px !important;
}

.cs-template .cs-delivery-rider-card__head {
  grid-template-columns: 70px minmax(0, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 12px !important;
}

.cs-template .cs-delivery-rider-card__photo {
  width: 70px !important;
  height: 98px !important;
  flex: 0 0 70px !important;
  border-radius: 12px !important;
}

.cs-template .cs-delivery-rider-card__first {
  font-size: 1.08rem !important;
}

.cs-template .cs-delivery-rider-card__last {
  font-size: 1.05rem !important;
}

.cs-template .cs-delivery-rider-card__icon-link {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  font-size: 1.5rem !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  font-size: 0.86rem !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  font-size: 1.25rem !important;
  margin-left: 8px !important;
}

@media (max-width: 1480px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(3, minmax(230px, 1fr)) !important;
  }
}

@media (max-width: 1080px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.306 - Rider Deliveries option 7 horizontal split cards */
.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(2, minmax(390px, 1fr)) !important;
  gap: 20px !important;
}

.cs-template .cs-delivery-rider-card {
  display: grid !important;
  grid-template-columns: 36% minmax(0, 1fr) !important;
  grid-template-rows: minmax(96px, auto) auto auto !important;
  min-height: 176px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #d7e0ea !important;
  box-shadow: 0 10px 24px rgba(31, 51, 84, 0.055) !important;
}

.cs-template .cs-delivery-rider-card__head {
  display: contents !important;
}

.cs-template .cs-delivery-rider-card__photo {
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 176px !important;
  flex: none !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #6140a3 0%, #7a57bc 48%, #ebe6f4 100%) !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="loaded"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  border-radius: 0 !important;
}

.cs-template .cs-delivery-rider-card__photo .cs-bike-rider-card__placeholder {
  margin: 0 0 48px !important;
}

.cs-template .cs-delivery-rider-card__identity {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 22px 22px 8px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.cs-template .cs-delivery-rider-card__name {
  gap: 3px !important;
}

.cs-template .cs-delivery-rider-card__first {
  font-size: 1.22rem !important;
  line-height: 1.02 !important;
  color: #113a78 !important;
}

.cs-template .cs-delivery-rider-card__last {
  font-size: 1.18rem !important;
  line-height: 1.02 !important;
  color: #f06b1b !important;
}

.cs-template .cs-delivery-rider-card__icon-link {
  display: none !important;
}

.cs-template .cs-delivery-rider-card__divider {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: auto !important;
  height: 1px !important;
  margin: 0 22px 0 !important;
  background: #dbe3ec !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 12px 22px 18px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #10386f !important;
  font-size: .92rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1:hover {
  color: #f06b1b !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  color: #10386f !important;
  font-size: 1.38rem !important;
  margin-left: 10px !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1:hover .cs-delivery-rider-card__button-trail {
  color: #f06b1b !important;
}

@media (max-width: 1280px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(340px, 1fr)) !important;
  }
}

@media (max-width: 880px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-card {
    grid-template-columns: 34% minmax(0, 1fr) !important;
    min-height: 150px !important;
  }

  .cs-template .cs-delivery-rider-card__photo {
    min-height: 150px !important;
  }

  .cs-template .cs-delivery-rider-card__identity {
    padding: 18px 16px 6px !important;
  }

  .cs-template .cs-delivery-rider-card__first {
    font-size: 1.06rem !important;
  }

  .cs-template .cs-delivery-rider-card__last {
    font-size: 1.02rem !important;
  }

  .cs-template .cs-delivery-rider-card__divider {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
    padding: 10px 16px 14px !important;
    font-size: .84rem !important;
  }
}


/* v1.0.308 - Rider Deliveries compact option 7 cards with extra graphic details */
.cs-template .cs-delivery-rider-grid {
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
  gap: 18px !important;
}

.cs-template .cs-delivery-rider-card {
  position: relative !important;
  grid-template-columns: 34% minmax(0, 1fr) !important;
  grid-template-rows: minmax(84px, auto) auto auto !important;
  min-height: 154px !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 18px rgba(31, 51, 84, 0.045) !important;
}

.cs-template .cs-delivery-rider-card::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 16px 0 16px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #f06b1b 0%, rgba(240, 107, 27, 0.18) 72%, rgba(240, 107, 27, 0) 100%) !important;
}

.cs-template .cs-delivery-rider-card__photo {
  min-height: 154px !important;
  background:
    radial-gradient(circle at 78% 20%, rgba(255,255,255,0.18) 0 22px, transparent 23px),
    linear-gradient(135deg, #5d3a9e 0%, #7754bb 44%, #ede8f6 100%) !important;
}

.cs-template .cs-delivery-rider-card__photo::after {
  content: "" !important;
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.07) !important;
}

.cs-template .cs-delivery-rider-card__identity {
  padding: 16px 18px 6px !important;
}

.cs-template .cs-delivery-rider-card__name {
  position: relative !important;
  padding-top: 12px !important;
}

.cs-template .cs-delivery-rider-card__name::before {
  content: "RIDER" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  font-size: .58rem !important;
  letter-spacing: .18em !important;
  font-weight: 800 !important;
  color: #8ca0bb !important;
}

.cs-template .cs-delivery-rider-card__first {
  font-size: 1.06rem !important;
}

.cs-template .cs-delivery-rider-card__last {
  font-size: 1.03rem !important;
}

.cs-template .cs-delivery-rider-card__divider {
  margin: 0 18px !important;
  background: linear-gradient(90deg, #d9e2ec 0%, #eaf0f6 100%) !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  min-height: 38px !important;
  padding: 9px 18px 14px !important;
  font-size: .84rem !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  font-size: 1.16rem !important;
  width: 26px !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(240, 107, 27, 0.10) !important;
  color: #f06b1b !important;
}

@media (max-width: 1380px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: repeat(2, minmax(290px, 1fr)) !important;
  }
}

@media (max-width: 880px) {
  .cs-template .cs-delivery-rider-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-card {
    grid-template-columns: 33% minmax(0, 1fr) !important;
    min-height: 144px !important;
  }

  .cs-template .cs-delivery-rider-card__photo {
    min-height: 144px !important;
  }

  .cs-template .cs-delivery-rider-card__identity {
    padding: 14px 14px 5px !important;
  }

  .cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
    padding: 8px 14px 12px !important;
    font-size: .8rem !important;
  }
}


/* v1.0.309 - Rider Deliveries CTA wording refinement */
.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  letter-spacing: -.01em !important;
}


/* v1.0.310 - Rider Deliveries CTA vertical centering */
.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  min-height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
  line-height: 1 !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 > span:first-child {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  align-self: center !important;
}


/* v1.0.311 - Rider Deliveries CTA text restore and true vertical centering */
.cs-template .cs-delivery-rider-card {
  grid-template-rows: minmax(84px, auto) auto minmax(54px, 1fr) !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
  align-self: stretch !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 18px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 > span:first-child {
  display: flex !important;
  align-items: center !important;
  min-height: 100% !important;
  line-height: 1.15 !important;
}

.cs-template .cs-delivery-rider-card__button-trail {
  align-self: center !important;
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-card {
    grid-template-rows: minmax(78px, auto) auto minmax(50px, 1fr) !important;
  }

  .cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 {
    padding: 0 14px 0 !important;
  }
}


/* v1.0.312 - Rider Deliveries rider name size +1pt */
.cs-template .cs-delivery-rider-card__first {
  font-size: 1.14rem !important;
}

.cs-template .cs-delivery-rider-card__last {
  font-size: 1.11rem !important;
}

@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-card__first {
    font-size: 1.08rem !important;
  }

  .cs-template .cs-delivery-rider-card__last {
    font-size: 1.05rem !important;
  }
}


/* v1.0.315 - Rider Deliveries modal delivery records workflow */
.cs-template .cs-rider-delivery-modal[hidden] {
  display: none !important;
}
.cs-template .cs-rider-delivery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.cs-template .cs-rider-delivery-modal__card {
  width: min(980px, calc(100vw - 40px));
  max-height: min(92vh, 960px);
  overflow: auto;
}
.cs-template .cs-rider-delivery-history {
  padding: 0 26px 28px;
}
.cs-template .cs-rider-delivery-history h3 {
  margin: 0 0 12px;
  color: #08275c;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cs-template .cs-rider-delivery-type-note {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cs-template .cs-rider-delivery-type-option b {
  min-width: 32px;
}
.cs-template .cs-delivery-rider-card__icon-link,
.cs-template .cs-delivery-rider-card__button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.cs-template .cs-delivery-rider-card__button {
  width: 100%;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal {
    padding: 12px;
    align-items: stretch;
  }
  .cs-template .cs-rider-delivery-modal__card {
    width: 100%;
    max-height: calc(100vh - 24px);
  }
  .cs-template .cs-rider-delivery-history {
    padding: 0 16px 20px;
  }
}


/* v1.0.316 - Rider Deliveries wider record tables and readonly delivery metadata */
.cs-template .cs-rider-delivery-modal__card {
  width: min(1180px, calc(100vw - 40px)) !important;
}
.cs-template .cs-rider-delivery-history .cs-table-wrap,
.cs-template .cs-delivery-updates .cs-table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
}
.cs-template .cs-rider-delivery-history table,
.cs-template .cs-delivery-updates table {
  width: 100% !important;
  min-width: 900px !important;
  table-layout: auto !important;
}
.cs-template .cs-rider-delivery-history th,
.cs-template .cs-rider-delivery-history td,
.cs-template .cs-delivery-updates th,
.cs-template .cs-delivery-updates td {
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-history th:nth-child(2),
.cs-template .cs-rider-delivery-history td:nth-child(2),
.cs-template .cs-delivery-updates th:nth-child(2),
.cs-template .cs-delivery-updates td:nth-child(2) {
  min-width: 260px !important;
}
.cs-template .cs-rider-delivery-readonly {
  cursor: default !important;
  color: #5b6a83 !important;
  background: #f4f7fb !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-history table,
  .cs-template .cs-delivery-updates table {
    min-width: 760px !important;
  }
}


/* v1.0.317 - Rider Deliveries default selections and centered delivery actions */
.cs-template .cs-rider-delivery-modal__card footer {
  justify-content: center !important;
  gap: 18px !important;
  padding-top: 16px !important;
  margin-top: 6px !important;
}
.cs-template .cs-rider-delivery-modal__card footer .cs-btn {
  min-width: 122px !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option.is-selected,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected {
  box-shadow: 0 0 0 2px rgba(255, 104, 28, 0.10) inset !important;
}


/* v1.0.318 - Rider Deliveries material type colors */
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"] {
  border-color: #fecaca !important;
  background: #fff7f7 !important;
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"] b {
  border-color: #fecaca !important;
  background: #fee2e2 !important;
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"].is-selected {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.14) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"].is-selected span {
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"] {
  border-color: #fde68a !important;
  background: #fffbeb !important;
  color: #92400e !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"] b {
  border-color: #facc15 !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected {
  border-color: #f59e0b !important;
  background: #fffbeb !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected span {
  color: #92400e !important;
}
.cs-template .cs-rider-delivery-type-note--consumable {
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-type-note--returnable {
  color: #92400e !important;
}

/* v1.0.319 - Rider Deliveries neutral default buttons for material type and location */
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location] {
  border-color: #d5dde8 !important;
  background: #ffffff !important;
  color: #536376 !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location] b {
  border-color: #cad4df !important;
  background: #f5f7fa !important;
  color: #536376 !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option span,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location] span {
  color: #536376 !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:hover,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:focus-visible,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:hover,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:focus-visible,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option.is-selected,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected {
  border-color: #d5dde8 !important;
  background: #ffffff !important;
  color: #536376 !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:hover b,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:focus-visible b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:hover b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:focus-visible b,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option.is-selected b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected b {
  border-color: #cad4df !important;
  background: #f5f7fa !important;
  color: #536376 !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option.is-selected span,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected span {
  color: #536376 !important;
}


/* v1.0.320 - Rider Deliveries owner-only edit/delete actions */
.cs-rider-delivery-row-actions{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;}
.cs-rider-delivery-row-action{appearance:none;border:1px solid #cbd5e1;background:#fff;color:#64748b;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:700;line-height:1;cursor:pointer;}
.cs-rider-delivery-row-action:hover{border-color:#94a3b8;color:#334155;}
.cs-rider-delivery-row-action--delete{border-color:#f1b8b8;color:#b42318;}
.cs-rider-delivery-row-action--delete:hover{border-color:#e58a8a;color:#8f1d13;}
.cs-rider-delivery-locked{display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;font-size:11px;font-weight:700;white-space:nowrap;}
.cs-rider-delivery-history table th:last-child,
.cs-rider-delivery-history table td:last-child{text-align:center;white-space:nowrap;}

/* v1.0.321 - Rider Deliveries neutral buttons until selected */
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:hover,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:focus-visible,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location],
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:hover,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:focus-visible {
  border-color: #d5dde8 !important;
  background: #ffffff !important;
  color: #536376 !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option b,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:hover b,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:focus-visible b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location] b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:hover b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:focus-visible b {
  border-color: #cad4df !important;
  background: #f5f7fa !important;
  color: #536376 !important;
}
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option span,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:hover span,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:focus-visible span,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location] span,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:hover span,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:focus-visible span {
  color: #536376 !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"].is-selected {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.14) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"].is-selected b {
  border-color: #ef4444 !important;
  background: #fee2e2 !important;
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="consumable"].is-selected span {
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected {
  border-color: #f59e0b !important;
  background: #fffbeb !important;
  color: #92400e !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected b {
  border-color: #f59e0b !important;
  background: #fef3c7 !important;
  color: #92400e !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected span {
  color: #92400e !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location="Service Course"].is-selected {
  border-color: #13b965 !important;
  background: #e8fff2 !important;
  color: #087b40 !important;
  box-shadow: 0 0 0 2px rgba(19, 185, 101, 0.14) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location="Service Course"].is-selected b {
  border-color: #13b965 !important;
  background: #dcfbea !important;
  color: #087b40 !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location="Service Course"].is-selected span {
  color: #087b40 !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected:not([data-cs-rider-delivery-location="Service Course"]) {
  border-color: #f0640c !important;
  background: #fff0e4 !important;
  color: #d94d00 !important;
  box-shadow: 0 0 0 2px rgba(240, 100, 12, 0.14) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected:not([data-cs-rider-delivery-location="Service Course"]) b {
  border-color: #f0640c !important;
  background: #ffead8 !important;
  color: #d94d00 !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location].is-selected:not([data-cs-rider-delivery-location="Service Course"]) span {
  color: #d94d00 !important;
}


/* v1.0.322 - Rider Deliveries start with no default selections and centered actions */
.cs-template .cs-rider-delivery-modal__card form > footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
  padding-top: 18px !important;
  margin: 8px auto 0 !important;
  text-align: center !important;
}
.cs-template .cs-rider-delivery-modal__card form > footer .cs-btn {
  min-width: 124px !important;
}

/* v1.0.324 - Reduced package size */
.cs-template .cs-rider-delivery-notes-field{display:block;margin:0 26px 18px;}
.cs-template .cs-rider-delivery-notes-field span{display:block;margin:0 0 6px;color:#08275c;font-size:15px;font-weight:500;}
.cs-template .cs-rider-delivery-notes-field textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:76px;border:1px solid #d6e0ee;border-radius:12px;background:#fff;color:#08275c;padding:11px 13px;font:inherit;line-height:1.35;box-shadow:inset 0 1px 2px rgba(8,39,92,.04);}
.cs-template .cs-rider-delivery-notes-field textarea::placeholder{color:#94a3b8;}
.cs-template .cs-rider-delivery-note{display:block;margin-top:4px;color:#64748b;font-size:11px;font-weight:600;line-height:1.35;text-transform:none;letter-spacing:0;}
@media(max-width:760px){.cs-template .cs-rider-delivery-notes-field{margin:0 16px 16px;}}


/* v1.0.326 - Rider Deliveries larger rider names and aligned recent records table */
.cs-template .cs-delivery-rider-card__first {
  color: #10386f !important;
  font-size: 1.24rem !important;
  line-height: 1.03 !important;
}
.cs-template .cs-delivery-rider-card__last {
  color: #f06b1b !important;
  font-size: 1.21rem !important;
  line-height: 1.03 !important;
}
.cs-template .cs-delivery-updates table th:last-child,
.cs-template .cs-delivery-updates table td:last-child {
  text-align: center !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-history .cs-bike-cell--date span,
.cs-template .cs-delivery-updates .cs-bike-cell--date span {
  font-weight: 400 !important;
}
@media (max-width: 560px) {
  .cs-template .cs-delivery-rider-card__first {
    font-size: 1.12rem !important;
  }
  .cs-template .cs-delivery-rider-card__last {
    font-size: 1.09rem !important;
  }
}

/* v1.0.327 - Rider Deliveries recent table: show all menu columns */
.cs-template .cs-delivery-updates .cs-table-wrap {
  overflow-x: visible !important;
}
.cs-template .cs-delivery-updates table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}
.cs-template .cs-delivery-updates table th,
.cs-template .cs-delivery-updates table td {
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-size: 12px !important;
  white-space: normal !important;
  vertical-align: top !important;
}
.cs-template .cs-delivery-updates table th {
  font-size: 11px !important;
  letter-spacing: .18em !important;
  white-space: nowrap !important;
}
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 15% !important; }
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 32% !important; min-width: 0 !important; }
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 9% !important; text-align: center !important; }
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 14% !important; }
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 14% !important; }
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 16% !important; text-align: center !important; }
.cs-template .cs-delivery-updates .cs-bike-cell {
  min-width: 0 !important;
  max-width: 100% !important;
}
.cs-template .cs-delivery-updates .cs-bike-cell span,
.cs-template .cs-delivery-updates td,
.cs-template .cs-delivery-updates td strong,
.cs-template .cs-delivery-updates td small {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
@media (max-width: 900px) {
  .cs-template .cs-delivery-updates .cs-table-wrap {
    overflow-x: auto !important;
  }
  .cs-template .cs-delivery-updates table {
    min-width: 760px !important;
  }
}

/* v1.0.329 - Rider Deliveries: keep rider photo and name visually non-clickable */
.cs-template .cs-delivery-rider-card__photo,
.cs-template .cs-delivery-rider-card__photo *,
.cs-template .cs-delivery-rider-card__identity,
.cs-template .cs-delivery-rider-card__identity *,
.cs-template .cs-delivery-rider-card__name,
.cs-template .cs-delivery-rider-card__name *,
.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  cursor: default !important;
  text-decoration: none !important;
}

.cs-template .cs-delivery-rider-card__photo,
.cs-template .cs-delivery-rider-card__name,
.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  pointer-events: none !important;
}

.cs-template .cs-delivery-rider-card__photo img {
  -webkit-user-drag: none !important;
  user-select: none !important;
}

.cs-template .cs-delivery-rider-card__button,
.cs-template .cs-delivery-rider-card__button *,
.cs-template .cs-delivery-rider-card__icon-link,
.cs-template .cs-delivery-rider-card__icon-link * {
  cursor: pointer !important;
}

/* v1.0.330 - Rider Deliveries: Recent Material Deliveries editable action icons */
.cs-rider-delivery-row-action--edit{
  min-width:30px;
  width:30px;
  height:30px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:900;
}
.cs-rider-delivery-row-action--delete{
  min-width:30px;
  width:30px;
  height:30px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:900;
}
.cs-rider-delivery-row-actions--disabled .cs-rider-delivery-row-action,
.cs-rider-delivery-row-action:disabled{
  cursor:not-allowed;
  pointer-events:none;
  opacity:.34;
  filter:grayscale(1) blur(.25px);
  background:#f8fafc;
  border-color:#dbe4ef;
  color:#94a3b8;
  box-shadow:none;
}

/* v1.0.331 - Rider Deliveries: returnable type blue and notes regular weight */
.cs-template .cs-rider-delivery-note {
  font-weight: 400 !important;
}
.cs-template .cs-rider-delivery-type-note--returnable {
  color: #2563eb !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"] {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"] b {
  border-color: #93c5fd !important;
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16) inset !important;
}
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-type="returnable"].is-selected span {
  color: #1d4ed8 !important;
}

/* v1.0.333 - Rider Deliveries recent table: cleaner column balance and bold rider names */
.cs-template .cs-delivery-updates .cs-table-wrap {
  overflow-x: auto !important;
}
.cs-template .cs-delivery-updates table {
  table-layout: fixed !important;
  min-width: 1040px !important;
}
.cs-template .cs-delivery-updates table th,
.cs-template .cs-delivery-updates table td {
  padding: 10px 12px !important;
  line-height: 1.22 !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table th {
  font-size: 10px !important;
  letter-spacing: .16em !important;
  white-space: nowrap !important;
}
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 14% !important; text-align: center !important; }
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 17% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 28% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 7% !important; text-align: center !important; }
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 12% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 12% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) { width: 10% !important; text-align: center !important; white-space: nowrap !important; }
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name {
  display: block !important;
  color: #102f61 !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}
.cs-template .cs-delivery-updates table td:nth-child(3) strong,
.cs-template .cs-delivery-updates table td:nth-child(3) small {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.cs-template .cs-delivery-updates table td:nth-child(3) strong {
  margin-bottom: 2px !important;
  font-weight: 800 !important;
}
.cs-template .cs-delivery-updates .cs-rider-delivery-type-note {
  margin-top: 1px !important;
  font-size: 11px !important;
  line-height: 1.18 !important;
  letter-spacing: .035em !important;
}
.cs-template .cs-delivery-updates .cs-rider-delivery-note {
  margin-top: 3px !important;
  color: #66758c !important;
  font-size: 11px !important;
  line-height: 1.22 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(1) .cs-bike-cell--date,
.cs-template .cs-delivery-updates table td:nth-child(7) .cs-rider-delivery-row-actions {
  justify-content: center !important;
}
.cs-template .cs-delivery-updates table td:nth-child(5) .cs-bike-cell--location,
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-bike-cell--updated {
  justify-content: flex-start !important;
}

/* v1.0.334 - Rider Deliveries recent table: make Quantity column readable */
.cs-template .cs-delivery-updates table {
  table-layout: fixed !important;
  min-width: 1080px !important;
}
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 13% !important; text-align: center !important; }
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 16% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 25% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) {
  width: 10% !important;
  min-width: 92px !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 12% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 12% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) { width: 12% !important; text-align: center !important; white-space: nowrap !important; }
.cs-template .cs-delivery-updates table th:nth-child(4) {
  padding-left: 8px !important;
  padding-right: 8px !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
}
.cs-template .cs-delivery-updates table td:nth-child(4) {
  color: #102f61 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
}
@media (max-width: 900px) {
  .cs-template .cs-delivery-updates table {
    min-width: 980px !important;
  }
}


/* v1.0.335 - Rider Deliveries modal: split Delivery records by material type */
.cs-template .cs-rider-delivery-history-group {
  margin-top: 14px !important;
}
.cs-template .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}
.cs-template .cs-rider-delivery-history-group h4 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  padding: 7px 11px !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
  color: #08275c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-history-group--consumable h4 {
  border-color: #fecaca !important;
  background: #fff7f7 !important;
  color: #b91c1c !important;
}
.cs-template .cs-rider-delivery-history-group--returnable h4 {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.cs-template .cs-rider-delivery-history-group table {
  min-width: 900px !important;
}
.cs-template .cs-rider-delivery-history-group table th:nth-child(1),
.cs-template .cs-rider-delivery-history-group table td:nth-child(1) { width: 17% !important; text-align: center !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(2),
.cs-template .cs-rider-delivery-history-group table td:nth-child(2) { width: 33% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(3),
.cs-template .cs-rider-delivery-history-group table td:nth-child(3) { width: 10% !important; text-align: center !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(4),
.cs-template .cs-rider-delivery-history-group table td:nth-child(4) { width: 16% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) { width: 14% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(6),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) { width: 10% !important; text-align: center !important; }

/* v1.0.336 - Rider Deliveries recent table: center Quantity/Action headers with row content and keep quantity regular */
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) {
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table td:nth-child(4) {
  font-weight: 400 !important;
  color: #102f61 !important;
}
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) {
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) {
  padding-left: 8px !important;
  padding-right: 8px !important;
}


/* v1.0.337 - Rider Deliveries: center Quantity, Delivered by and Action row content */
.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(7) {
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-bike-cell--updated {
  justify-content: center !important;
  width: 100% !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) .cs-rider-delivery-row-actions {
  justify-content: center !important;
  width: 100% !important;
}
.cs-template .cs-rider-delivery-history-group table td:nth-child(3),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) {
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) .cs-bike-cell--updated {
  justify-content: center !important;
  width: 100% !important;
}
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) .cs-rider-delivery-row-actions {
  justify-content: center !important;
  width: 100% !important;
}


/* v1.0.338 - Rider Deliveries: true center alignment for Quantity, Delivered by and Action cells */
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) {
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-rider-delivery-history-group table td:nth-child(3) {
  font-weight: 400 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(7),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-bike-cell--updated,
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) .cs-bike-cell--updated {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) .cs-rider-delivery-row-actions,
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cs-template .cs-rider-delivery-history-group table th:nth-child(3),
.cs-template .cs-rider-delivery-history-group table td:nth-child(3),
.cs-template .cs-rider-delivery-history-group table th:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5),
.cs-template .cs-rider-delivery-history-group table th:nth-child(6),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) {
  text-align: center !important;
  vertical-align: middle !important;
}


/* v1.0.340 - Rider Deliveries: real visual centering for row values in Quantity, Delivered by and Action */
.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(7),
.cs-template .cs-rider-delivery-history-group table td:nth-child(3),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table td:nth-child(4) > .cs-rider-delivery-qty-center,
.cs-template .cs-rider-delivery-history-group table td:nth-child(3) > .cs-rider-delivery-qty-center {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-weight: 400 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6) > .cs-rider-delivery-deliveredby-center,
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) > .cs-rider-delivery-deliveredby-center {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6) > .cs-rider-delivery-deliveredby-center::after,
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) > .cs-rider-delivery-deliveredby-center::after {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 1px !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) > .cs-rider-delivery-actions-center,
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) > .cs-rider-delivery-actions-center {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) .cs-rider-delivery-row-actions,
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}


/* v1.0.341 - Rider Deliveries: lock Quantity and Action header/value alignment in Recent Material Deliveries */
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) {
  width: 10% !important;
  min-width: 92px !important;
}
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) {
  width: 12% !important;
  min-width: 108px !important;
}
.cs-template .cs-delivery-updates table th:nth-child(4) > span,
.cs-template .cs-delivery-updates table th:nth-child(7) > span {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}
.cs-template .cs-delivery-updates table td:nth-child(4) > .cs-rider-delivery-qty-center,
.cs-template .cs-delivery-updates table td:nth-child(7) > .cs-rider-delivery-actions-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}
.cs-template .cs-delivery-updates table td:nth-child(7) .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
}

/* v1.0.342 - Rider Deliveries: returned material stays only on rider card and does not affect inventory */
.cs-template .cs-rider-delivery-type-note--returned {
  color: #0f766e;
  letter-spacing: .08em;
}
.cs-template .cs-rider-delivery-row-action--return {
  border-color: #99f6e4;
  color: #0f766e;
  background: #f0fdfa;
}
.cs-template .cs-rider-delivery-row-action--return:hover {
  border-color: #5eead4;
  color: #115e59;
}
.cs-template .cs-rider-delivery-history-group--returned h4 {
  color: #0f766e;
  border-color: #99f6e4;
  background: #f0fdfa;
}
.cs-template .cs-rider-delivery-history-group--returned table th:nth-child(3),
.cs-template .cs-rider-delivery-history-group--returned table td:nth-child(3),
.cs-template .cs-rider-delivery-history-group--returned table th:nth-child(5),
.cs-template .cs-rider-delivery-history-group--returned table td:nth-child(5) {
  text-align: center;
}
.cs-template .cs-rider-delivery-history-group--returned table td:nth-child(5) .cs-rider-delivery-row-actions {
  justify-content: center;
}

/* v1.0.343 - Rider Deliveries: returned records remain visible in To Be Returned as read-only muted rows */
.cs-template .cs-rider-delivery-row--returned-archive {
  color: #94a3b8;
}
.cs-template .cs-rider-delivery-row--returned-archive td,
.cs-template .cs-rider-delivery-row--returned-archive strong,
.cs-template .cs-rider-delivery-row--returned-archive small,
.cs-template .cs-rider-delivery-row--returned-archive span {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}
.cs-template .cs-rider-delivery-row--returned-archive .cs-bike-cell i {
  opacity: .45;
  filter: grayscale(1);
}
.cs-template .cs-rider-delivery-type-note--muted,
.cs-template .cs-rider-delivery-note--muted {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}
.cs-template .cs-rider-delivery-returned-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 11px;
  border: 1px solid #dbe3ea;
  border-radius: 999px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cs-template .cs-rider-delivery-row-actions--returned {
  pointer-events: none;
}


/* v1.0.344 - Rider Deliveries: all unselected modal option buttons stay white on open */
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:not(.is-selected),
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:not(.is-selected) {
  background: #ffffff !important;
  border-color: #dbe5f0 !important;
  color: #536376 !important;
  box-shadow: none !important;
}

.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:not(.is-selected) b,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:not(.is-selected) b {
  background: #f5f8fb !important;
  border-color: #d2dce8 !important;
  color: #536376 !important;
  box-shadow: none !important;
}

.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:not(.is-selected) span,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:not(.is-selected) span {
  color: #536376 !important;
}

.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:not(.is-selected):hover,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-type-option:not(.is-selected):focus-visible,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:not(.is-selected):hover,
.cs-template .cs-rider-delivery-modal__card [data-cs-rider-delivery-location]:not(.is-selected):focus-visible {
  background: #ffffff !important;
  border-color: #c7d3e1 !important;
  color: #536376 !important;
  box-shadow: none !important;
}


/* v1.0.357 - Rider Deliveries modal title lock and Collected by material option */
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 118px 130px minmax(210px, 1fr) 320px 86px !important;
}
.cs-template .cs-rider-delivery-line-type-options {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.cs-template .cs-rider-delivery-line-type-options button {
  padding: 0 4px !important;
}
.cs-template .cs-rider-delivery-line-type-options button em {
  max-width: 72px !important;
  font-size: 8.5px !important;
}
.cs-template .cs-rider-delivery-line-type-options button.is-selected[data-cs-rider-delivery-line-type="collected"] {
  border-color: #0f766e !important;
  background: #ecfdf5 !important;
  color: #0f766e !important;
}
.cs-template .cs-rider-delivery-line-type-options button.is-selected[data-cs-rider-delivery-line-type="collected"] b {
  border-color: #0f766e !important;
  background: #d1fae5 !important;
  color: #0f766e !important;
}
.cs-template .cs-rider-delivery-type-note--collected {
  color: #0f766e !important;
}
@media (max-width: 1120px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.4fr) 1fr 90px !important;
  }
}


/* v1.0.358 - Rider Deliveries: large single-line modal title and cleaner batch row layout */
.cs-template .cs-rider-delivery-modal__card > header {
  min-height: 66px !important;
  padding: 16px 22px !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2,
.cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title {
  display: block !important;
  white-space: nowrap !important;
  margin: 0 !important;
  font-size: 21px !important;
  line-height: 1.1 !important;
  letter-spacing: .18em !important;
  font-weight: 900 !important;
}
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 120px 130px 300px minmax(330px, 1fr) 86px !important;
  gap: 8px 10px !important;
  padding: 12px !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line__material {
  max-width: 300px !important;
}
.cs-template .cs-rider-delivery-line__material input {
  width: 100% !important;
}
.cs-template .cs-rider-delivery-line__type {
  min-width: 0 !important;
}
.cs-template .cs-rider-delivery-line-type-options {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.cs-template .cs-rider-delivery-line-type-options button {
  min-width: 0 !important;
}
.cs-template .cs-rider-delivery-line-type-options button em {
  max-width: 86px !important;
}
.cs-template .cs-rider-delivery-line__location {
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(340px, .95fr) minmax(360px, 1.05fr) !important;
  align-items: end !important;
}
.cs-template .cs-rider-delivery-line__actions {
  grid-column: 1 / -1 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
  padding-top: 2px !important;
}
.cs-template .cs-rider-delivery-line__note {
  min-width: 78px !important;
}
.cs-template .cs-rider-delivery-line__add {
  min-width: 112px !important;
  padding: 0 18px !important;
  font-size: 11px !important;
}
.cs-template .cs-rider-delivery-line__remove {
  flex: 0 0 36px !important;
}
@media (max-width: 1120px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.3fr) !important;
  }
  .cs-template .cs-rider-delivery-line__material {
    max-width: none !important;
  }
  .cs-template .cs-rider-delivery-line__type,
  .cs-template .cs-rider-delivery-line__qty,
  .cs-template .cs-rider-delivery-line__location,
  .cs-template .cs-rider-delivery-line__actions {
    grid-column: 1 / -1 !important;
  }
  .cs-template .cs-rider-delivery-line__location {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2,
  .cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title {
    font-size: 16px !important;
    letter-spacing: .12em !important;
  }
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr !important;
  }
}


/* v1.0.359 - Rider Deliveries: remove Collected by and split Note / Confirm actions */
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2,
.cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title {
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-line-type-options {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.cs-template .cs-rider-delivery-line__actions {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding-top: 8px !important;
}
.cs-template .cs-rider-delivery-line__note {
  margin-right: auto !important;
  min-width: 88px !important;
}
.cs-template .cs-rider-delivery-line__add {
  margin-left: auto !important;
  min-width: 128px !important;
  height: 40px !important;
}
.cs-template .cs-rider-delivery-line__remove {
  margin-left: 0 !important;
}


/* v1.0.360 - Rider Deliveries: compact location buttons and always-visible actions */
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2,
.cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title {
  display: block !important;
  white-space: nowrap !important;
  font-size: 21px !important;
  line-height: 1.1 !important;
  letter-spacing: .16em !important;
}
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 120px 135px minmax(220px, 280px) minmax(230px, 260px) 90px !important;
  gap: 8px 10px !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line__material {
  max-width: 280px !important;
}
.cs-template .cs-rider-delivery-line-type-options {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.cs-template .cs-rider-delivery-line-type-options button[data-cs-rider-delivery-line-type="collected"] {
  display: none !important;
}
.cs-template .cs-rider-delivery-line__location {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(420px, .9fr) minmax(360px, 1.1fr) !important;
  gap: 6px 12px !important;
  align-items: end !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line__location > span {
  grid-column: 1 / -1 !important;
}
.cs-template .cs-rider-delivery-line-location-options {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 7px !important;
  overflow: visible !important;
  min-width: 0 !important;
}
.cs-template .cs-rider-delivery-line-location-options .cs-bike-destination-option {
  flex: 0 1 auto !important;
  max-width: 140px !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
}
.cs-template .cs-rider-delivery-line-location-options .cs-bike-destination-option span {
  max-width: 104px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-line-location-add {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) 112px !important;
  gap: 7px !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line-location-add button,
.cs-template .cs-rider-delivery-line__note,
.cs-template .cs-rider-delivery-line__add,
.cs-template .cs-rider-delivery-line__remove {
  white-space: nowrap !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line__actions {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line__note {
  margin-right: auto !important;
  min-width: 88px !important;
}
.cs-template .cs-rider-delivery-line__add {
  margin-left: auto !important;
  min-width: 128px !important;
}
.cs-template .cs-rider-delivery-line:first-child .cs-rider-delivery-line__remove {
  display: none !important;
}
@media (max-width: 1120px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.2fr) !important;
  }
  .cs-template .cs-rider-delivery-line__material,
  .cs-template .cs-rider-delivery-line__type,
  .cs-template .cs-rider-delivery-line__qty,
  .cs-template .cs-rider-delivery-line__location,
  .cs-template .cs-rider-delivery-line__actions {
    grid-column: 1 / -1 !important;
    max-width: none !important;
  }
  .cs-template .cs-rider-delivery-line__location {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr !important;
  }
  .cs-template .cs-rider-delivery-line-location-options {
    flex-wrap: wrap !important;
  }
}


/* v1.0.361 - Rider Deliveries: single-line recent table headers and adapted columns */
.cs-template .cs-delivery-updates .cs-table-wrap {
  overflow-x: hidden !important;
}

.cs-template .cs-delivery-updates table {
  table-layout: fixed !important;
  width: 100% !important;
}

.cs-template .cs-delivery-updates table th,
.cs-template .cs-delivery-updates table td {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.cs-template .cs-delivery-updates table th {
  font-size: 0.56rem !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
}

.cs-template .cs-delivery-updates table td {
  font-size: 0.72rem !important;
}

.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 12.5% !important; }
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 15.5% !important; }
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 25% !important; }
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 8% !important; }
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 12% !important; }
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 19% !important; }
.cs-template .cs-delivery-updates table th:nth-child(7),
.cs-template .cs-delivery-updates table td:nth-child(7) { width: 8% !important; }

.cs-template .cs-delivery-updates table th:nth-child(6) {
  letter-spacing: 0.12em !important;
  font-size: 0.52rem !important;
}


/* v1.0.362 - Rider Deliveries: keep Delivered by / Re-delivered to header on one line */
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) {
  width: 23% !important;
}

.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) {
  width: 22% !important;
}

.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) {
  width: 14.5% !important;
}

.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) {
  width: 11.5% !important;
}

.cs-template .cs-delivery-updates table th:nth-child(6) {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  letter-spacing: 0.045em !important;
  font-size: 0.5rem !important;
  text-transform: uppercase !important;
}

/* v1.0.363 - Rider Deliveries: recent table labels renamed to Date, Rider, Item, Quantity, Location, Delivered by or Re-del. to, Action. */


/* v1.0.364 - Rider Deliveries: move Quantity column closer to Item by reducing Item column width. */
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) {
  width: 18% !important;
}

.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) {
  width: 8% !important;
  text-align: center !important;
}

.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) {
  width: 27% !important;
}

/* v1.0.365 - Rider Deliveries: recent table header changed to Delivered by / Re-delivered to. */

/* v1.0.366 - Rider Deliveries: recent table header changed from Delivered by / Re-delivered to to Operated by. */


/* v1.0.367 - Rider Deliveries: modal title, nav icon, aligned batch width and returned badge color */
.cs-template .cs-delivery-updates table th:nth-child(6) {
  font-size: 0.56rem !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border: 1px solid #d9e4f2 !important;
  border-radius: 10px !important;
  background: #fff url('../icons/nav-logistics.png') center / 24px 24px no-repeat !important;
  box-shadow: 0 6px 16px rgba(8, 39, 92, .08) !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon::before,
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon::after {
  content: none !important;
  display: none !important;
}
.cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title {
  display: block !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 22px !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-batch {
  width: auto !important;
  max-width: none !important;
  margin: 0 26px 18px !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-history {
  padding-left: 26px !important;
  padding-right: 26px !important;
}
.cs-template .cs-rider-delivery-line {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-history-group--returned h4 {
  color: #0f766e !important;
  border-color: #99f6e4 !important;
  background: #f0fdfa !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title {
    font-size: 16px !important;
    letter-spacing: .1em !important;
  }
  .cs-template .cs-rider-delivery-batch {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
  .cs-template .cs-rider-delivery-history {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* v1.0.368 - Rider Deliveries: rider header matches landing cards, batch heading added, and modal width aligned */
.cs-template .cs-delivery-updates table th:nth-child(6) {
  font-size: 0.56rem !important;
  letter-spacing: 0.22em !important;
}
.cs-template .cs-rider-delivery-rider-head {
  align-items: center !important;
}
.cs-template .cs-rider-delivery-rider-head .cs-bike-movement-rider__avatar {
  align-self: center !important;
}
.cs-template .cs-rider-delivery-rider-head .cs-bike-movement-rider__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
}
.cs-template .cs-rider-delivery-rider-label {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  color: #8ea0bd !important;
}
.cs-template .cs-rider-delivery-rider-name-split {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  line-height: 1.02 !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  display: block !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first {
  color: #153e7e !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  color: #f97316 !important;
}
.cs-template .cs-rider-delivery-batch {
  width: calc(100% - 52px) !important;
}
.cs-template .cs-rider-delivery-batch__heading {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 12px !important;
  color: #08275c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-rider-head .cs-bike-movement-rider__bike {
  display: none !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
    font-size: 17px !important;
  }
  .cs-template .cs-rider-delivery-batch {
    width: calc(100% - 32px) !important;
  }
}


/* v1.0.369 - Rider Deliveries: larger single-line modal title/icon, greener Returned material pill, and exact batch width */
.cs-template .cs-rider-delivery-modal__card > header {
  min-height: 74px !important;
  padding: 16px 26px !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title {
  gap: 14px !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  border-radius: 12px !important;
  background-size: 31px 31px !important;
}
.cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title,
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2 {
  white-space: nowrap !important;
  font-size: 27px !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-batch,
.cs-template .cs-rider-delivery-history {
  margin-left: 26px !important;
  margin-right: 26px !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-history {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.cs-template .cs-rider-delivery-batch {
  width: auto !important;
}
.cs-template .cs-rider-delivery-batch__heading {
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 14px !important;
}
.cs-template .cs-rider-delivery-batch__lines,
.cs-template .cs-rider-delivery-batch .cs-rider-delivery-line,
.cs-template .cs-rider-delivery-add-row {
  width: 100% !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-history-group--returned h4 {
  color: #0f766e !important;
  border-color: #86efac !important;
  background: #ecfdf3 !important;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .06) !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    background-size: 24px 24px !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title,
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2 {
    font-size: 18px !important;
    letter-spacing: .06em !important;
  }
  .cs-template .cs-rider-delivery-batch,
  .cs-template .cs-rider-delivery-history {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}

/* v1.0.370 - Rider Deliveries: larger rider name, true one-line title, wider icon, returned green pill, equal record widths */
.cs-template .cs-rider-delivery-modal__card > header {
  min-height: 82px !important;
  padding: 18px 26px !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 64px) !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon {
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  border-radius: 14px !important;
  background-size: 37px 37px !important;
}
.cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title,
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2 {
  display: inline-block !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 31px !important;
  line-height: 1 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  font-size: 24px !important;
  line-height: 1.02 !important;
}
.cs-template .cs-rider-delivery-batch,
.cs-template .cs-rider-delivery-history {
  width: calc(100% - 52px) !important;
  margin-left: 26px !important;
  margin-right: 26px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-batch {
  margin-bottom: 18px !important;
}
.cs-template .cs-rider-delivery-batch__lines,
.cs-template .cs-rider-delivery-batch .cs-rider-delivery-line,
.cs-template .cs-rider-delivery-add-row,
.cs-template .cs-rider-delivery-history .cs-table-wrap {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-history-group--returned h4 {
  color: #15803d !important;
  border-color: #86efac !important;
  background: #dcfce7 !important;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .12) !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > header {
    min-height: 70px !important;
    padding: 14px 16px !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title {
    gap: 10px !important;
    max-width: calc(100% - 52px) !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    background-size: 28px 28px !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header #cs-rider-delivery-title,
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-modal__title h2 {
    font-size: 20px !important;
    letter-spacing: .05em !important;
  }
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
    font-size: 20px !important;
  }
  .cs-template .cs-rider-delivery-batch,
  .cs-template .cs-rider-delivery-history {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}


/* v1.0.373 - Rider Deliveries: clear Returned material pill border/background, no blur/inner shadow */
.cs-template .cs-rider-delivery-history-group--returned h4 {
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
  background: #f0fdf4 !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}


/* v1.0.374 - Rider Deliveries: records-first modal flow, original add-row button size, equal batch/history widths */
.cs-template .cs-rider-delivery-record-toggle,
.cs-template .cs-rider-delivery-batch,
.cs-template .cs-rider-delivery-history {
  width: calc(100% - 52px) !important;
  max-width: calc(100% - 52px) !important;
  margin-left: 26px !important;
  margin-right: 26px !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-history {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.cs-template .cs-rider-delivery-record-toggle {
  display: flex !important;
  justify-content: flex-start !important;
  margin-top: 10px !important;
  margin-bottom: 16px !important;
}
.cs-template .cs-rider-delivery-record-toggle__button {
  appearance: none !important;
  border: 1px solid #0b3478 !important;
  background: #ffffff !important;
  color: #0b3478 !important;
  border-radius: 10px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-record-toggle__button.is-open {
  background: #f8fbff !important;
}
.cs-template .cs-rider-delivery-batch {
  width: calc(100% - 52px) !important;
  max-width: calc(100% - 52px) !important;
}
.cs-template .cs-rider-delivery-batch__lines,
.cs-template .cs-rider-delivery-batch .cs-rider-delivery-line,
.cs-template .cs-rider-delivery-history .cs-table-wrap {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-add-row {
  display: inline-flex !important;
  width: auto !important;
  min-width: 150px !important;
  margin-top: 10px !important;
  padding: 0 18px !important;
  background: #fff !important;
  color: #0b3478 !important;
  box-shadow: none !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-record-toggle,
  .cs-template .cs-rider-delivery-batch,
  .cs-template .cs-rider-delivery-history {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}


/* v1.0.375 - Rider Deliveries: header replaced with rider hero (photo, name, description) */
.cs-template .cs-rider-delivery-modal__card > header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: auto !important;
  padding: 18px 26px 14px !important;
}
.cs-template .cs-rider-delivery-modal__hero {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.cs-template .cs-rider-delivery-modal__hero .cs-bike-movement-rider__avatar {
  width: 92px !important;
  height: 92px !important;
  flex: 0 0 92px !important;
  border-radius: 18px !important;
}
.cs-template .cs-rider-delivery-modal__hero-body {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
}
.cs-template .cs-rider-delivery-rider-description {
  color: #6f86a6 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-modal__card > form > .cs-rider-delivery-rider-head {
  display: none !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > header {
    padding: 14px 16px 12px !important;
    gap: 12px !important;
  }
  .cs-template .cs-rider-delivery-modal__hero {
    gap: 12px !important;
  }
  .cs-template .cs-rider-delivery-modal__hero .cs-bike-movement-rider__avatar {
    width: 70px !important;
    height: 70px !important;
    flex-basis: 70px !important;
    border-radius: 14px !important;
  }
  .cs-template .cs-rider-delivery-rider-description {
    font-size: 11px !important;
  }
}


/* v1.0.376 - Rider Deliveries: no big Material Deliveries title, rider name normal case, batch opens directly under button */
.cs-template .cs-rider-delivery-rider-name-split,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  text-transform: none !important;
  letter-spacing: -0.02em !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  font-size: 22px !important;
  line-height: 1.04 !important;
}
.cs-template .cs-rider-delivery-rider-description {
  margin-top: 2px !important;
  color: #7b8da8 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  padding-bottom: 12px !important;
}
.cs-template .cs-rider-delivery-record-toggle {
  margin-top: 4px !important;
  margin-bottom: 14px !important;
}
.cs-template .cs-rider-delivery-batch {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
    font-size: 18px !important;
  }
}


/* v1.0.380 - Rider Deliveries: clean modal hero title, header delivery toggle, wider material record row */
.cs-template .cs-rider-delivery-modal__card {
  max-width: min(1260px, calc(100vw - 72px)) !important;
}
.cs-template .cs-rider-delivery-rider-description:empty {
  display: none !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  align-items: center !important;
}
.cs-template .cs-rider-delivery-record-toggle--header,
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
  width: auto !important;
  max-width: none !important;
  margin: 0 10px 0 auto !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle .cs-rider-delivery-record-toggle__button {
  min-height: 38px !important;
  padding: 0 17px !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-batch {
  width: calc(100% - 52px) !important;
  max-width: calc(100% - 52px) !important;
  margin-top: 8px !important;
}
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 126px 142px minmax(270px, 1.35fr) minmax(255px, .95fr) 92px !important;
  gap: 9px 12px !important;
  padding: 13px !important;
}
.cs-template .cs-rider-delivery-line input {
  font-size: 12px !important;
}
.cs-template .cs-rider-delivery-line__material input {
  font-size: 12px !important;
}
.cs-template .cs-rider-delivery-line-type-options button em {
  max-width: none !important;
  font-size: 9px !important;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-line__location {
  grid-template-columns: minmax(470px, 1.12fr) minmax(360px, .88fr) !important;
  gap: 7px 14px !important;
}
.cs-template .cs-rider-delivery-line-location-options {
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
.cs-template .cs-rider-delivery-line-location-options .cs-bike-destination-option {
  max-width: none !important;
  min-width: max-content !important;
  padding-left: 11px !important;
  padding-right: 11px !important;
}
.cs-template .cs-rider-delivery-line-location-options .cs-bike-destination-option span {
  max-width: 132px !important;
  font-size: 9px !important;
}
.cs-template .cs-rider-delivery-line-location-add {
  grid-template-columns: minmax(220px, 1fr) 118px !important;
}
.cs-template .cs-rider-delivery-line-location-add button {
  white-space: nowrap !important;
}
@media (max-width: 1120px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.2fr) !important;
  }
  .cs-template .cs-rider-delivery-line__location {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card {
    max-width: calc(100vw - 24px) !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
    order: 3 !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    justify-content: flex-end !important;
  }
  .cs-template .cs-rider-delivery-batch {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }
}


/* v1.0.381 - Rider Deliveries: visible header button and tighter gap above Delivery records */
.cs-template .cs-rider-delivery-modal__card > form {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  padding-bottom: 8px !important;
}
.cs-template .cs-rider-delivery-record-toggle--header,
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
  margin: 0 64px 0 auto !important;
}
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle .cs-rider-delivery-record-toggle__button {
  min-height: 36px !important;
  padding: 0 14px !important;
  font-size: 11px !important;
}
.cs-template .cs-rider-delivery-history {
  margin-top: 6px !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > form {
    display: block !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
    width: auto !important;
    margin: 8px 52px 0 auto !important;
  }
}


/* v1.0.382 - Rider Deliveries: List of Material title and template styled confirmation dialogs */
.cs-template .cs-rider-delivery-history h3 {
  margin-bottom: 10px !important;
}
.cs-template .cs-rider-delivery-template-dialog[hidden] {
  display: none !important;
}
.cs-template .cs-rider-delivery-template-dialog {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10040 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}
.cs-template .cs-rider-delivery-template-dialog__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(8, 39, 92, 0.28) !important;
  backdrop-filter: blur(2px) !important;
}
.cs-template .cs-rider-delivery-template-dialog__card {
  position: relative !important;
  width: min(420px, calc(100vw - 48px)) !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 50px rgba(8, 39, 92, 0.20) !important;
  padding: 22px !important;
  color: #08275c !important;
}
.cs-template .cs-rider-delivery-template-dialog__eyebrow {
  margin: 0 0 7px !important;
  color: #7f91ac !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-template-dialog__card h4 {
  margin: 0 0 10px !important;
  color: #08275c !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}
.cs-template .cs-rider-delivery-template-dialog__card p {
  margin: 0 0 16px !important;
  color: #52647f !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
}
.cs-template .cs-rider-delivery-template-dialog__card label {
  display: grid !important;
  gap: 7px !important;
  margin: 0 0 18px !important;
}
.cs-template .cs-rider-delivery-template-dialog__card label span {
  color: #08275c !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-template-dialog__card input {
  width: 100% !important;
  min-height: 42px !important;
  border: 1px solid #cad7e8 !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  color: #08275c !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  padding: 0 12px !important;
  outline: none !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-template-dialog__card input:focus {
  border-color: #123e84 !important;
  box-shadow: 0 0 0 3px rgba(18, 62, 132, .12) !important;
}
.cs-template .cs-rider-delivery-template-dialog__actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}
.cs-template .cs-rider-delivery-template-dialog__actions button {
  appearance: none !important;
  border: 1px solid #cad7e8 !important;
  border-radius: 12px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}
.cs-template .cs-rider-delivery-template-dialog__cancel {
  background: #ffffff !important;
  color: #52647f !important;
}
.cs-template .cs-rider-delivery-template-dialog__ok {
  border-color: #123e84 !important;
  background: #123e84 !important;
  color: #ffffff !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-template-dialog {
    padding: 16px !important;
  }
  .cs-template .cs-rider-delivery-template-dialog__card {
    width: 100% !important;
  }
}


/* v1.0.383 - Rider Deliveries: definitive List of Material title, larger header button, body-level template dialogs */
.cs-template .cs-rider-delivery-history h3 {
  font-size: 13px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding-top: 16px !important;
  padding-bottom: 10px !important;
}
.cs-template .cs-rider-delivery-modal__hero {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.cs-template .cs-rider-delivery-record-toggle--header,
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
  order: 2 !important;
  width: auto !important;
  min-width: 156px !important;
  max-width: none !important;
  margin: 0 78px 0 auto !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-modal__card > header > button[data-cs-rider-delivery-close] {
  order: 3 !important;
  position: absolute !important;
  top: 28px !important;
  right: 22px !important;
  z-index: 3 !important;
}
.cs-template .cs-rider-delivery-record-toggle__button,
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle .cs-rider-delivery-record-toggle__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 150px !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  border: 1px solid #0b3478 !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: #0b3478 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-history {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.cs-template .cs-rider-delivery-modal__card > form {
  display: contents !important;
}
body > .cs-rider-delivery-template-dialog[hidden] {
  display: none !important;
}
body > .cs-rider-delivery-template-dialog {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}
body > .cs-rider-delivery-template-dialog .cs-rider-delivery-template-dialog__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(8, 39, 92, .34) !important;
  backdrop-filter: blur(3px) !important;
}
body > .cs-rider-delivery-template-dialog .cs-rider-delivery-template-dialog__card {
  position: relative !important;
  width: min(440px, calc(100vw - 44px)) !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 24px 58px rgba(8, 39, 92, .24) !important;
  padding: 24px !important;
  color: #08275c !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card > header {
    align-items: flex-start !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
    order: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 0 !important;
    justify-content: flex-start !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header > button[data-cs-rider-delivery-close] {
    top: 18px !important;
    right: 16px !important;
  }
}


/* v1.0.384 - Rider Deliveries: center List of Material title */
.cs-template .cs-rider-delivery-history h3 {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* v1.0.385 - Rider Deliveries: move Delivery record button out of top bar and separate/larger List of Material title */
.cs-template .cs-rider-delivery-modal__card > header > .cs-rider-delivery-record-toggle {
  display: none !important;
}
.cs-template .cs-rider-delivery-history {
  margin-top: 18px !important;
  padding-top: 0 !important;
}
.cs-template .cs-rider-delivery-history > .cs-rider-delivery-record-toggle,
.cs-template .cs-rider-delivery-record-toggle--content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-record-toggle--content .cs-rider-delivery-record-toggle__button,
.cs-template .cs-rider-delivery-history > .cs-rider-delivery-record-toggle .cs-rider-delivery-record-toggle__button {
  min-width: 164px !important;
  min-height: 40px !important;
  padding: 0 20px !important;
  border: 1px solid #0b3478 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #08275c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-history h3 {
  display: block !important;
  width: 100% !important;
  margin: 16px 0 18px 0 !important;
  text-align: center !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: .19em !important;
  text-transform: uppercase !important;
  color: #08275c !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-history {
    margin-top: 14px !important;
  }
  .cs-template .cs-rider-delivery-history > .cs-rider-delivery-record-toggle,
  .cs-template .cs-rider-delivery-record-toggle--content {
    justify-content: center !important;
    margin-bottom: 12px !important;
  }
  .cs-template .cs-rider-delivery-history h3 {
    font-size: 14px !important;
    letter-spacing: .14em !important;
    margin-top: 12px !important;
  }
}


/* v1.0.386 - Rider Deliveries: working delivery toggle and yes/no confirm dialog */
.cs-template .cs-rider-delivery-template-dialog [data-cs-rider-delivery-dialog-field][hidden] {
  display: none !important;
}
.cs-rider-delivery-template-dialog [data-cs-rider-delivery-dialog-field][hidden] {
  display: none !important;
}
.cs-rider-delivery-template-dialog__actions .cs-rider-delivery-template-dialog__cancel,
.cs-rider-delivery-template-dialog__actions .cs-rider-delivery-template-dialog__ok {
  min-width: 78px !important;
}


/* v1.0.390 - Rider Deliveries: expected return date field for To be returned rows */
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 126px 142px minmax(240px, 1.25fr) minmax(245px, .9fr) 160px 92px !important;
}
.cs-template .cs-rider-delivery-line__expected-return[hidden] {
  display: none !important;
}
.cs-template .cs-rider-delivery-line__expected-return {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
}
.cs-template .cs-rider-delivery-line__expected-return input {
  width: 100% !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
}
.cs-template .cs-rider-delivery-note--expected {
  color: #f97316 !important;
  font-weight: 800 !important;
}
@media (max-width: 1120px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.2fr) !important;
  }
}


/* v1.0.392 - Rider Deliveries: full date format and orange expected return text */
.cs-template .cs-rider-delivery-note--expected {
  color: #f97316 !important;
  font-weight: 900 !important;
}


/* v1.0.394 - Rider Deliveries: always show complete Type buttons */
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 126px 142px minmax(210px, 1fr) minmax(330px, 1.3fr) 170px 92px !important;
}
.cs-template .cs-rider-delivery-line__type {
  min-width: 330px !important;
  max-width: none !important;
}
.cs-template .cs-rider-delivery-line-type-options {
  display: grid !important;
  grid-template-columns: minmax(138px, 1fr) minmax(164px, 1fr) !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 320px !important;
}
.cs-template .cs-rider-delivery-line-type-options button {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  justify-content: center !important;
  overflow: visible !important;
}
.cs-template .cs-rider-delivery-line-type-options button em {
  display: inline-block !important;
  max-width: none !important;
  width: auto !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: 9px !important;
  letter-spacing: .035em !important;
}
@media (max-width: 1180px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.2fr) !important;
  }
  .cs-template .cs-rider-delivery-line__type,
  .cs-template .cs-rider-delivery-line-type-options {
    min-width: 0 !important;
  }
}


/* v1.0.398 - Rider Deliveries: Recent Material Deliveries without Action column */
.cs-template .cs-delivery-updates table {
  min-width: 980px !important;
  table-layout: fixed !important;
}
.cs-template .cs-delivery-updates table th,
.cs-template .cs-delivery-updates table td {
  font-size: 12px !important;
}
.cs-template .cs-delivery-updates table th {
  font-size: 11px !important;
  line-height: 1.15 !important;
}
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 14% !important; text-align: center !important; }
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 18% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 30% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 9% !important; text-align: center !important; }
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 15% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 14% !important; text-align: left !important; }
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-bike-cell--updated {
  justify-content: flex-start !important;
  width: 100% !important;
}


/* v1.0.400 - Rider Deliveries: reliable completion dialog and compact full Type buttons */
.cs-template .cs-rider-delivery-line {
  grid-template-columns: 126px 142px minmax(230px, 1.15fr) 276px 164px 92px !important;
  gap: 9px 10px !important;
}
.cs-template .cs-rider-delivery-line__type {
  min-width: 276px !important;
  max-width: 276px !important;
}
.cs-template .cs-rider-delivery-line-type-options {
  display: grid !important;
  grid-template-columns: 118px 145px !important;
  gap: 7px !important;
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
}
.cs-template .cs-rider-delivery-line-type-options button {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  justify-content: center !important;
  gap: 5px !important;
}
.cs-template .cs-rider-delivery-line-type-options button b {
  min-width: 27px !important;
  height: 22px !important;
  padding: 0 5px !important;
  font-size: 8px !important;
}
.cs-template .cs-rider-delivery-line-type-options button em {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: 8.5px !important;
  letter-spacing: .025em !important;
}
body > .cs-rider-delivery-template-dialog {
  z-index: 2147483600 !important;
}
@media (max-width: 1180px) {
  .cs-template .cs-rider-delivery-line {
    grid-template-columns: 1fr 1fr minmax(220px, 1.2fr) !important;
  }
  .cs-template .cs-rider-delivery-line__type,
  .cs-template .cs-rider-delivery-line-type-options {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
  .cs-template .cs-rider-delivery-line-type-options {
    grid-template-columns: minmax(118px, 1fr) minmax(145px, 1fr) !important;
  }
}


/* v1.0.401 - Rider Deliveries: dedicated Operation completed overlay */
body > .cs-rider-delivery-completion-dialog {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}
body > .cs-rider-delivery-completion-dialog .cs-rider-delivery-completion-dialog__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(8, 39, 92, .38) !important;
  backdrop-filter: blur(3px) !important;
}
body > .cs-rider-delivery-completion-dialog .cs-rider-delivery-completion-dialog__card {
  position: relative !important;
  width: min(420px, calc(100vw - 44px)) !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 58px rgba(8, 39, 92, .26) !important;
  padding: 24px !important;
  color: #08275c !important;
}
body > .cs-rider-delivery-completion-dialog .cs-rider-delivery-completion-dialog__card h4 {
  margin: 5px 0 8px !important;
  color: #08275c !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
body > .cs-rider-delivery-completion-dialog .cs-rider-delivery-completion-dialog__card p {
  margin: 0 0 18px !important;
  color: #536780 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}


/* v1.0.403 - Rider Deliveries: sticky rider top bar inside open rider cards */
.cs-template .cs-rider-delivery-modal__card {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: min(92vh, 960px) !important;
  scroll-padding-top: 132px !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(6px) !important;
  border-bottom: 1px solid #dfe8f3 !important;
  box-shadow: 0 12px 24px rgba(8, 39, 92, 0.06) !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-rider-delivery-modal__hero {
  position: relative !important;
  z-index: 2 !important;
}
.cs-template .cs-rider-delivery-modal__card > header > button[data-cs-rider-delivery-close] {
  position: sticky !important;
  top: 24px !important;
  margin-left: auto !important;
  z-index: 65 !important;
}
.cs-template .cs-rider-delivery-modal__card > header + form,
.cs-template .cs-rider-delivery-modal__card > header + form + .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card > header ~ .cs-rider-delivery-history {
  position: relative !important;
  z-index: 1 !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card {
    scroll-padding-top: 112px !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header > button[data-cs-rider-delivery-close] {
    top: 18px !important;
  }
}


/* v1.0.416 - Rider Deliveries: compact real top bar with larger rider identity and right action */
.cs-template .cs-rider-delivery-modal__card {
  scroll-padding-top: 128px !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  column-gap: 18px !important;
  min-height: 124px !important;
  padding: 18px 86px 18px 28px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  background: rgba(255, 255, 255, 0.985) !important;
  border-bottom: 1px solid #dfe8f3 !important;
  box-shadow: 0 12px 22px rgba(8, 39, 92, 0.055) !important;
}
.cs-template .cs-rider-delivery-modal__card > header .cs-rider-delivery-modal__hero,
.cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-rider.cs-rider-delivery-modal__hero {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.cs-template .cs-rider-delivery-modal__hero .cs-bike-movement-rider__avatar {
  width: 104px !important;
  height: 104px !important;
  flex: 0 0 104px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 20px rgba(8, 39, 92, .12) !important;
  background: #f4f7fb !important;
}
.cs-template .cs-rider-delivery-modal__hero .cs-bike-movement-rider__avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.cs-template .cs-rider-delivery-modal__hero-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 0 !important;
}
.cs-template .cs-rider-delivery-rider-label {
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .28em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #8ea0bd !important;
  margin: 0 !important;
}
.cs-template .cs-rider-delivery-rider-name-split {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  line-height: .98 !important;
  margin: 0 !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  display: block !important;
  font-size: 28px !important;
  line-height: .98 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-record-toggle--header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 178px !important;
  position: static !important;
  z-index: 84 !important;
}
.cs-template .cs-rider-delivery-record-toggle--header .cs-rider-delivery-record-toggle__button {
  min-width: 168px !important;
  height: 42px !important;
  padding: 0 20px !important;
  border-radius: 12px !important;
  border: 1.5px solid #0b3270 !important;
  background: #fff !important;
  color: #08275c !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(8,39,92,.06) !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-record-toggle--header .cs-rider-delivery-record-toggle__button.is-open,
.cs-template .cs-rider-delivery-record-toggle--header .cs-rider-delivery-record-toggle__button:hover,
.cs-template .cs-rider-delivery-record-toggle--header .cs-rider-delivery-record-toggle__button:focus-visible {
  background: #08275c !important;
  color: #fff !important;
  border-color: #08275c !important;
}
.cs-template .cs-rider-delivery-modal__card > header > button[data-cs-rider-delivery-close] {
  position: absolute !important;
  top: 26px !important;
  right: 24px !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  z-index: 90 !important;
}
.cs-template .cs-rider-delivery-modal__card > header + form,
.cs-template .cs-rider-delivery-modal__card > header ~ .cs-rider-delivery-history {
  margin-top: 0 !important;
}
.cs-template .cs-rider-delivery-history {
  padding-top: 34px !important;
}
.cs-template .cs-rider-delivery-history h3 {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}
.cs-template .cs-rider-delivery-batch {
  margin-top: 22px !important;
}
.cs-template .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-row-action {
  flex: 0 0 auto !important;
}
@media (max-width: 860px) {
  .cs-template .cs-rider-delivery-modal__card > header {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 14px !important;
    min-height: 154px !important;
    padding: 16px 70px 16px 20px !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header .cs-rider-delivery-modal__hero,
  .cs-template .cs-rider-delivery-modal__card > header .cs-bike-movement-rider.cs-rider-delivery-modal__hero {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .cs-template .cs-rider-delivery-modal__hero .cs-bike-movement-rider__avatar {
    width: 82px !important;
    height: 82px !important;
    flex-basis: 82px !important;
    border-radius: 16px !important;
  }
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
    font-size: 22px !important;
  }
  .cs-template .cs-rider-delivery-record-toggle--header {
    justify-content: flex-start !important;
    min-width: 0 !important;
  }
  .cs-template .cs-rider-delivery-record-toggle--header .cs-rider-delivery-record-toggle__button {
    min-width: 154px !important;
    height: 40px !important;
    font-size: 12px !important;
  }
}


/* v1.0.417 - Rider Deliveries: sharp minimal table borders and section-colored title bars */
.cs-template .cs-rider-delivery-modal__card {
  filter: none !important;
}
.cs-template .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-history-group table {
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.cs-template .cs-rider-delivery-history-group {
  border: 1px solid #d6e1ee !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
.cs-template .cs-rider-delivery-history-group h4 {
  display: flex !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  align-items: center !important;
  gap: 9px !important;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-history-group--consumable {
  border-color: #f3b8a1 !important;
}
.cs-template .cs-rider-delivery-history-group--consumable h4 {
  color: #e95b16 !important;
  background: #fff4ee !important;
  border-bottom-color: #f3b8a1 !important;
}
.cs-template .cs-rider-delivery-history-group--returnable {
  border-color: #9fc3ff !important;
}
.cs-template .cs-rider-delivery-history-group--returnable h4 {
  color: #1f6fff !important;
  background: #f0f6ff !important;
  border-bottom-color: #9fc3ff !important;
}
.cs-template .cs-rider-delivery-history-group--returned {
  border-color: #a8ddb9 !important;
}
.cs-template .cs-rider-delivery-history-group--returned h4 {
  color: #168947 !important;
  background: #f0fbf4 !important;
  border-bottom-color: #a8ddb9 !important;
}
.cs-template .cs-rider-delivery-history-group .cs-table-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  overflow-x: auto !important;
}
.cs-template .cs-rider-delivery-history-group table {
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
}
.cs-template .cs-rider-delivery-history-group table thead th,
.cs-template .cs-rider-delivery-history-group table th {
  background: #edf2f7 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #d6e1ee !important;
  color: #08275c !important;
}
.cs-template .cs-rider-delivery-history-group table td {
  border-bottom: 1px solid #e3ebf3 !important;
}
.cs-template .cs-rider-delivery-history-group table tbody tr:last-child td {
  border-bottom: 0 !important;
}
.cs-template .cs-rider-delivery-history-group .cs-empty-state,
.cs-template .cs-rider-delivery-history-group .cs-rider-delivery-empty,
.cs-template .cs-rider-delivery-history-group [class*="empty"] {
  box-shadow: none !important;
  filter: none !important;
}


/* v1.0.418 - Rider Deliveries recent table: uppercase Item column and larger Rider text */
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) strong,
.cs-template .cs-delivery-updates table td:nth-child(3) small {
  text-transform: uppercase !important;
}
.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name {
  font-size: 13px !important;
}


/* v1.0.419 - Rider Deliveries recent table: remove bold from Rider and Item columns */
.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) *,
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name,
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name *,
.cs-template .cs-delivery-updates table td:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) *,
.cs-template .cs-delivery-updates table td:nth-child(3) strong,
.cs-template .cs-delivery-updates table td:nth-child(3) small {
  font-weight: 400 !important;
}


/* v1.0.420 - Rider Deliveries recent table: Item title only bold */
.cs-template .cs-delivery-updates table td:nth-child(3) strong {
  font-weight: 700 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(3) small {
  font-weight: 400 !important;
}

/* v1.0.421 - Rider Deliveries rider card CTA not bold */
.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1,
.cs-template .cs-delivery-rider-card__button.cs-delivery-rider-card__button--option1 > span:first-child {
  font-weight: 400 !important;
}

/* v1.0.422 - Rider Deliveries recent table: Rider name uppercase, bold, 1pt smaller */
.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name {
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(2) *,
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name * {
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

/* v1.0.423 - Rider Deliveries: rider card names uppercase/bold 1pt smaller and Operated by header size aligned */
.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  text-transform: uppercase !important;
  font-weight: 900 !important;
}
.cs-template .cs-delivery-rider-card__first {
  font-size: calc(1.22rem - 1pt) !important;
}
.cs-template .cs-delivery-rider-card__last {
  font-size: calc(1.18rem - 1pt) !important;
}
.cs-template .cs-delivery-updates table th:nth-child(6) {
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  line-height: 1.15 !important;
}


/* v1.0.424 - Rider Deliveries: show rider photos immediately with safe fallback */
.cs-template .cs-delivery-rider-card__photo img[src]:not([src=""]) {
  display: block;
}
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="loaded"] {
  opacity: 1 !important;
}
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="missing"] {
  display: none !important;
}
.cs-template .cs-delivery-rider-card__photo img[data-cs-rider-photo-state="missing"] + .cs-bike-rider-card__placeholder {
  display: inline-flex !important;
}


/* v1.0.425 - Rider Deliveries: neutral modal borders, uniform main header, modal name -1pt, larger card names */
.cs-template .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-history-group--returned {
  border-color: #d6e1ee !important;
}
.cs-template .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-history-group--returned h4 {
  border-bottom-color: #d6e1ee !important;
}
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table th:nth-child(6) > span {
  font-size: 0.56rem !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
}
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  font-size: calc(28px - 1pt) !important;
}
.cs-template .cs-delivery-rider-card__first {
  font-size: 1.38rem !important;
}
.cs-template .cs-delivery-rider-card__last {
  font-size: 1.34rem !important;
}
@media (max-width: 860px) {
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
  .cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
    font-size: calc(22px - 1pt) !important;
  }
}


/* v1.0.430 - Rider Deliveries: restore pre-pearl modal, uppercase top-bar name, darker crisp table borders, rider card names 1pt smaller bold */
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-first,
.cs-template .cs-rider-delivery-rider-name-split .cs-rider-delivery-rider-name-last {
  text-transform: uppercase !important;
}

/* Main recent deliveries table */
.cs-template .cs-delivery-updates {
  border: 1px solid #c3cedb !important;
  box-shadow: none !important;
}
.cs-template .cs-delivery-updates table {
  border-collapse: collapse !important;
}
.cs-template .cs-delivery-updates table thead th {
  border-bottom: 1px solid #c3cedb !important;
}
.cs-template .cs-delivery-updates table tbody td {
  border-bottom: 1px solid #cfd8e3 !important;
}
.cs-template .cs-delivery-updates table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* Modal/history tables */
.cs-template .cs-rider-delivery-history-group {
  border: 1px solid #c3cedb !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-history-group h4 {
  border-bottom: 1px solid #c3cedb !important;
}
.cs-template .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-history-group table {
  border: 0 !important;
  box-shadow: none !important;
  border-collapse: collapse !important;
}
.cs-template .cs-rider-delivery-history-group table thead th,
.cs-template .cs-rider-delivery-history-group table th {
  border-bottom: 1px solid #c3cedb !important;
}
.cs-template .cs-rider-delivery-history-group table td {
  border-bottom: 1px solid #cfd8e3 !important;
}
.cs-template .cs-rider-delivery-history-group table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* Rider cards: names 1pt smaller, keep bold */
.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  font-weight: 900 !important;
}
.cs-template .cs-delivery-rider-card__first {
  font-size: calc(1.38rem - 1pt) !important;
}
.cs-template .cs-delivery-rider-card__last {
  font-size: calc(1.34rem - 1pt) !important;
}


/* v1.0.431 - Rider Deliveries: List of Material content area grey-to-white vertical fade */
.cs-template .cs-rider-delivery-modal__card > header + form,
.cs-template .cs-rider-delivery-modal__card > header + form + .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card > header ~ .cs-rider-delivery-history {
  background: linear-gradient(180deg, #eef2f6 0%, #f5f7fa 18%, #fbfcfd 34%, #ffffff 54%, #ffffff 100%) !important;
}
.cs-template .cs-rider-delivery-history {
  background: linear-gradient(180deg, #eef2f6 0%, #f5f7fa 18%, #fbfcfd 34%, #ffffff 54%, #ffffff 100%) !important;
}


/* v1.0.432 - Rider Deliveries: smaller RIDER label, regular returnable/consumable notes, dark expected return */
.cs-template .cs-rider-delivery-rider-label {
  font-size: 11px !important;
  letter-spacing: .24em !important;
}
.cs-template .cs-rider-delivery-type-note--returnable {
  font-weight: 400 !important;
}
.cs-template .cs-rider-delivery-note--expected {
  color: #475569 !important;
  font-weight: 400 !important;
}
.cs-template .cs-rider-delivery-type-note--consumable {
  color: #f97316 !important;
  font-weight: 400 !important;
}

/* v1.0.433 - Rider Deliveries: rider names bold and 1pt smaller, Operated by matched to row text */
.cs-template .cs-delivery-updates .cs-rider-delivery-rider-name {
  font-weight: 800 !important;
  font-size: calc(12px - 1pt) !important;
  line-height: 1.2 !important;
}
.cs-template .cs-delivery-updates table th:nth-child(6) {
  font-size: 10px !important;
  letter-spacing: .16em !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-rider-delivery-deliveredby-center,
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-rider-delivery-deliveredby-center span {
  font-size: 12px !important;
  line-height: 1.22 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-rider-delivery-deliveredby-center i {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
}
.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  font-weight: 900 !important;
}
.cs-template .cs-delivery-rider-card__first {
  font-size: calc(1.38rem - 1pt) !important;
}
.cs-template .cs-delivery-rider-card__last {
  font-size: calc(1.34rem - 1pt) !important;
}

/* v1.0.434 - Rider Deliveries: force recent table rider names and Operated by header sizing */
.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) .cs-rider-delivery-rider-name,
.cs-template .cs-delivery-updates table td:nth-child(2) .cs-rider-delivery-rider-name * {
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table th:nth-child(6) > span {
  font-size: 11px !important;
  letter-spacing: inherit !important;
  line-height: 1.15 !important;
}
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-rider-delivery-deliveredby-center,
.cs-template .cs-delivery-updates table td:nth-child(6) .cs-rider-delivery-deliveredby-center span {
  font-size: 12px !important;
  line-height: 1.22 !important;
}


/* v1.0.435 - Rider Deliveries: match confirmed orange sidebar, equal rider card names, white modal and Recent Material Deliveries table styling */
.cs-template .cs-delivery-rider-card__first,
.cs-template .cs-delivery-rider-card__last {
  font-size: calc(1.38rem - 1pt) !important;
  line-height: .98 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}
.cs-template .cs-delivery-rider-card__first { color: #0b3270 !important; }
.cs-template .cs-delivery-rider-card__last { color: #f05a18 !important; }

.cs-template .cs-rider-delivery-modal__card,
.cs-template .cs-rider-delivery-modal__card > header,
.cs-template .cs-rider-delivery-modal__card > form,
.cs-template .cs-rider-delivery-modal__card > header + form,
.cs-template .cs-rider-delivery-modal__card > header + form + .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card > header ~ .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-history {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  border-bottom: 1px solid #d6e1ee !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.cs-template .cs-rider-delivery-history {
  padding: 34px 28px 28px !important;
}
.cs-template .cs-rider-delivery-history h3 {
  color: #08275c !important;
  font-weight: 900 !important;
  letter-spacing: .24em !important;
}

.cs-template .cs-rider-delivery-history-group {
  border: 1px solid #d6e1ee !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: none !important;
  margin-bottom: 16px !important;
}
.cs-template .cs-rider-delivery-history-group h4 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
.cs-template .cs-rider-delivery-history-label {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 13px !important;
  border: 1px solid currentColor !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.cs-template .cs-rider-delivery-history-rule {
  display: block !important;
  height: 2px !important;
  flex: 1 1 auto !important;
  min-width: 28px !important;
  border-radius: 999px !important;
  background: currentColor !important;
}
.cs-template .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-history-group--consumable .cs-table-wrap {
  border-color: #f3b8a1 !important;
}
.cs-template .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-history-group--consumable .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-history-group--consumable .cs-rider-delivery-history-rule {
  color: #f05a18 !important;
}
.cs-template .cs-rider-delivery-history-group--consumable .cs-rider-delivery-history-label {
  background: #fff4ee !important;
  border-color: #f3b8a1 !important;
}
.cs-template .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-history-group--returnable .cs-table-wrap {
  border-color: #a9cff6 !important;
}
.cs-template .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-history-group--returnable .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-history-group--returnable .cs-rider-delivery-history-rule {
  color: #1d75bb !important;
}
.cs-template .cs-rider-delivery-history-group--returnable .cs-rider-delivery-history-label {
  background: #eef8ff !important;
  border-color: #a9cff6 !important;
}
.cs-template .cs-rider-delivery-history-group--returned,
.cs-template .cs-rider-delivery-history-group--returned .cs-table-wrap {
  border-color: #a8ddb9 !important;
}
.cs-template .cs-rider-delivery-history-group--returned h4,
.cs-template .cs-rider-delivery-history-group--returned .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-history-group--returned .cs-rider-delivery-history-rule {
  color: #168947 !important;
}
.cs-template .cs-rider-delivery-history-group--returned .cs-rider-delivery-history-label {
  background: #f0fbf4 !important;
  border-color: #a8ddb9 !important;
}
.cs-template .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-history-group table {
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  margin: 0 !important;
  border-collapse: collapse !important;
}
.cs-template .cs-rider-delivery-history-group table thead th,
.cs-template .cs-rider-delivery-history-group table th {
  background: #f3f6fa !important;
  border-top: 1px solid #d6e1ee !important;
  border-bottom: 1px solid #d6e1ee !important;
  color: #08275c !important;
  font-size: 11px !important;
  letter-spacing: .12em !important;
  font-weight: 900 !important;
}
.cs-template .cs-rider-delivery-history-group table td {
  background: #ffffff !important;
  border-bottom: 1px solid #d6e1ee !important;
}
.cs-template .cs-rider-delivery-history-group table tbody tr:last-child td { border-bottom: 0 !important; }

@media (min-width: 921px) {
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"].is-active,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"].is-active,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"][aria-current="page"],
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"][aria-current="page"],
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"].is-active,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"].is-active,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"][aria-current="page"],
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"][aria-current="page"] {
    background: #fff4ee !important;
    background-color: #fff4ee !important;
    border-color: #f3b8a1 !important;
    color: #f05a18 !important;
    box-shadow: none !important;
  }
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"].is-active .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"].is-active .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"][aria-current="page"] .cs-rail-menu__icon-box,
  html body.cs-template aside.side-rail nav.rail-nav .cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"][aria-current="page"] .cs-rail-menu__icon-box,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"].is-active .cs-rail-menu__icon-box,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"].is-active .cs-rail-menu__icon-box,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.rail-nav__link[data-nav-key="logistics"][aria-current="page"] .cs-rail-menu__icon-box,
  html body.cs-template .side-rail .rail-nav__fallback.cs-rail-menu > a.cs-rail-menu__link[data-nav-key="logistics"][aria-current="page"] .cs-rail-menu__icon-box {
    background: #fff4ee !important;
    background-color: #fff4ee !important;
    border-color: #f3b8a1 !important;
  }
}

/* v1.0.437 - Rider Deliveries: make Recent Material Deliveries match Recent Bike Movements styling only */
body.cs-template .cs-delivery-updates,
.cs-template .cs-delivery-updates {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 12px 12px 14px !important;
  border: 1px solid #dce7f4 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(13, 47, 104, 0.055) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.cs-template .cs-delivery-updates > header,
.cs-template .cs-delivery-updates > header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  min-height: 30px !important;
  margin: 0 0 10px !important;
  padding: 0 18px 10px !important;
  border: 0 !important;
}

body.cs-template .cs-delivery-updates > header::after,
.cs-template .cs-delivery-updates > header::after {
  content: "" !important;
  flex: 1 1 auto !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #f47a20 !important;
  opacity: 0.95 !important;
}

body.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 10px 16px 10px 14px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(244, 122, 32, 0.35) !important;
  background: #fff8f2 !important;
  color: #f47a20 !important;
  -webkit-text-fill-color: #f47a20 !important;
  text-fill-color: #f47a20 !important;
  font-size: 0.9rem !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset !important;
}

body.cs-template .cs-delivery-updates .cs-table-wrap,
.cs-template .cs-delivery-updates .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 148px !important;
  max-height: 148px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  border: 1px solid #d2deeb !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  scrollbar-gutter: stable !important;
}

body.cs-template .cs-delivery-updates table,
.cs-template .cs-delivery-updates table {
  width: 100% !important;
  min-width: 760px !important;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  line-height: 1.1 !important;
}

body.cs-template .cs-delivery-updates .cs-table-wrap table thead th,
.cs-template .cs-delivery-updates .cs-table-wrap table thead th {
  background: #f4f7fb !important;
  color: #153a78 !important;
  border-bottom: 1px solid #dbe5f2 !important;
  font-size: 0.60rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  padding: 8px 18px !important;
}

body.cs-template .cs-delivery-updates .cs-table-wrap table thead th:first-child,
.cs-template .cs-delivery-updates .cs-table-wrap table thead th:first-child {
  border-top-left-radius: 10px !important;
}
body.cs-template .cs-delivery-updates .cs-table-wrap table thead th:last-child,
.cs-template .cs-delivery-updates .cs-table-wrap table thead th:last-child {
  border-top-right-radius: 10px !important;
}

body.cs-template .cs-delivery-updates .cs-table-wrap table tbody td,
.cs-template .cs-delivery-updates .cs-table-wrap table tbody td {
  background: #ffffff !important;
  color: #40506a !important;
  border-bottom: 1px solid #dbe5f2 !important;
  font-size: 0.74rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 7px 18px !important;
}

body.cs-template .cs-delivery-updates .cs-table-wrap table tbody tr:last-child td,
.cs-template .cs-delivery-updates .cs-table-wrap table tbody tr:last-child td {
  border-bottom: 0 !important;
}

body.cs-template .cs-delivery-updates table th:nth-child(1),
body.cs-template .cs-delivery-updates table td:nth-child(1),
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 14% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(2),
body.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 18% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(3),
body.cs-template .cs-delivery-updates table td:nth-child(3),
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 30% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(4),
body.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 9% !important; text-align: center !important; }
body.cs-template .cs-delivery-updates table th:nth-child(5),
body.cs-template .cs-delivery-updates table td:nth-child(5),
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 15% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(6),
body.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 14% !important; text-align: left !important; }

body.cs-template .cs-delivery-updates .cs-bike-cell,
.cs-template .cs-delivery-updates .cs-bike-cell {
  justify-content: flex-start !important;
  width: 100% !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-delivery-updates > header,
  .cs-template .cs-delivery-updates > header {
    gap: 10px !important;
    padding: 0 12px 8px !important;
  }
  body.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
  .cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
  }
}


/* v1.0.438 - Rider Deliveries: Recent Material Deliveries exact visual clone of Recent Bike Movements */
body.cs-template .cs-delivery-updates,
.cs-template .cs-delivery-updates {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 0 6px !important;
  border: 1px solid #dce7f4 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 45px rgba(34, 46, 76, 0.08) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.cs-template .cs-delivery-updates > header,
.cs-template .cs-delivery-updates > header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 18px 10px !important;
  border: 0 !important;
  border-bottom: 0 !important;
  min-height: 0 !important;
}
body.cs-template .cs-delivery-updates > header::after,
.cs-template .cs-delivery-updates > header::after {
  content: "" !important;
  flex: 1 1 auto !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #f47a20 !important;
  opacity: 0.95 !important;
}
body.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 10px 16px 10px 14px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(244, 122, 32, 0.35) !important;
  background: #fff8f2 !important;
  color: #f47a20 !important;
  -webkit-text-fill-color: #f47a20 !important;
  font-size: 0.9rem !important;
  line-height: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset !important;
}
body.cs-template .cs-delivery-updates .cs-table-wrap,
.cs-template .cs-delivery-updates .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 206px !important;
  max-height: 206px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable both-edges !important;
  border: 1px solid #e8eef7 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
body.cs-template .cs-delivery-updates table,
.cs-template .cs-delivery-updates table {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  line-height: normal !important;
}
body.cs-template .cs-delivery-updates th,
body.cs-template .cs-delivery-updates td,
.cs-template .cs-delivery-updates th,
.cs-template .cs-delivery-updates td {
  padding: 9px 16px !important;
  padding-left: 18px !important;
  border-bottom: 1px solid #edf2f8 !important;
  text-align: left !important;
  vertical-align: middle !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body.cs-template .cs-delivery-updates thead th,
body.cs-template .cs-delivery-updates .cs-table-wrap table thead th,
.cs-template .cs-delivery-updates thead th,
.cs-template .cs-delivery-updates .cs-table-wrap table thead th {
  background: #f4f7fb !important;
  color: #153a78 !important;
  border-bottom: 1px solid #dbe5f2 !important;
  font-size: 0.68rem !important;
  line-height: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  padding: 9px 16px !important;
  padding-left: 18px !important;
  white-space: nowrap !important;
}
body.cs-template .cs-delivery-updates tbody td,
body.cs-template .cs-delivery-updates .cs-table-wrap table tbody td,
.cs-template .cs-delivery-updates tbody td,
.cs-template .cs-delivery-updates .cs-table-wrap table tbody td {
  background: #ffffff !important;
  color: #34425a !important;
  border-bottom: 1px solid #edf2f8 !important;
  font-size: 0.82rem !important;
  line-height: normal !important;
  font-weight: 700 !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 9px 16px !important;
  padding-left: 18px !important;
  white-space: nowrap !important;
}
body.cs-template .cs-delivery-updates tbody tr:last-child td,
.cs-template .cs-delivery-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}
body.cs-template .cs-delivery-updates thead th:first-child,
.cs-template .cs-delivery-updates thead th:first-child {
  border-top-left-radius: 14px !important;
}
body.cs-template .cs-delivery-updates thead th:last-child,
.cs-template .cs-delivery-updates thead th:last-child {
  border-top-right-radius: 14px !important;
}
body.cs-template .cs-delivery-updates table th:nth-child(1),
body.cs-template .cs-delivery-updates table td:nth-child(1),
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 18% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(2),
body.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 18% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(3),
body.cs-template .cs-delivery-updates table td:nth-child(3),
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 28% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(4),
body.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 8% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(5),
body.cs-template .cs-delivery-updates table td:nth-child(5),
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 14% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(6),
body.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 14% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table td:nth-child(2),
body.cs-template .cs-delivery-updates table td:nth-child(2) *,
body.cs-template .cs-delivery-updates table td:nth-child(3),
body.cs-template .cs-delivery-updates table td:nth-child(3) *,
body.cs-template .cs-delivery-updates table td:nth-child(4),
body.cs-template .cs-delivery-updates table td:nth-child(4) *,
body.cs-template .cs-delivery-updates table td:nth-child(6),
body.cs-template .cs-delivery-updates table td:nth-child(6) *,
.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) *,
.cs-template .cs-delivery-updates table td:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) *,
.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) *,
.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) * {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}
body.cs-template .cs-delivery-updates table td:nth-child(3) strong,
body.cs-template .cs-delivery-updates table td:nth-child(3) small,
.cs-template .cs-delivery-updates table td:nth-child(3) strong,
.cs-template .cs-delivery-updates table td:nth-child(3) small {
  display: inline !important;
  max-width: none !important;
  white-space: inherit !important;
  text-transform: inherit !important;
  color: inherit !important;
}
body.cs-template .cs-delivery-updates .cs-bike-cell,
.cs-template .cs-delivery-updates .cs-bike-cell {
  justify-content: flex-start !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
@media (max-width: 760px) {
  body.cs-template .cs-delivery-updates > header,
  .cs-template .cs-delivery-updates > header {
    gap: 10px !important;
    padding: 0 12px 8px !important;
  }
  body.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
  .cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
  }
}


/* v1.0.439 - Rider Deliveries: Recent Material Deliveries true clone of Recent Bike Movements */
body.cs-template .cs-app-screen--deliveries .cs-delivery-tracking-top,
body.cs-template .cs-delivery-tracking-top {
  margin-bottom: 18px !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates,
body.cs-template .cs-delivery-updates,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates,
.cs-template .cs-delivery-updates {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  border: 1px solid var(--app-border, #dbe7f3) !important;
  border-top: 2px solid #d6dfeb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates > header,
body.cs-template .cs-delivery-updates > header,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates > header,
.cs-template .cs-delivery-updates > header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 12px 6px !important;
  border: 0 !important;
  border-bottom: 0 !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates > header::after,
body.cs-template .cs-delivery-updates > header::after,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates > header::after,
.cs-template .cs-delivery-updates > header::after {
  content: "" !important;
  flex: 1 1 auto !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #f47a20 !important;
  opacity: 0.95 !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
body.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-delivery-updates > header > h2.cs-bike-updates__title--recent-log {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 10px 16px 10px 14px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(244, 122, 32, 0.35) !important;
  background: #fff8f2 !important;
  color: #f47a20 !important;
  -webkit-text-fill-color: #f47a20 !important;
  text-fill-color: #f47a20 !important;
  font-size: 0.90rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates .cs-table-wrap,
body.cs-template .cs-delivery-updates .cs-table-wrap,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates .cs-table-wrap,
.cs-template .cs-delivery-updates .cs-table-wrap {
  position: relative !important;
  display: block !important;
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px) !important;
  min-height: 166px !important;
  max-height: 166px !important;
  margin: 0 auto !important;
  padding: 0 0 1px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid var(--app-border, #dbe7f3) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates .cs-table-wrap::before,
body.cs-template .cs-app-screen--deliveries .cs-delivery-updates .cs-table-wrap::after,
body.cs-template .cs-delivery-updates .cs-table-wrap::before,
body.cs-template .cs-delivery-updates .cs-table-wrap::after,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates .cs-table-wrap::before,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates .cs-table-wrap::after,
.cs-template .cs-delivery-updates .cs-table-wrap::before,
.cs-template .cs-delivery-updates .cs-table-wrap::after {
  display: none !important;
  content: none !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates table,
body.cs-template .cs-delivery-updates table,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates table,
.cs-template .cs-delivery-updates table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: #ffffff !important;
  box-shadow: none !important;
  line-height: 1.1 !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates thead th,
body.cs-template .cs-delivery-updates thead th,
body.cs-template .cs-delivery-updates .cs-table-wrap table thead th,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates thead th,
.cs-template .cs-delivery-updates thead th,
.cs-template .cs-delivery-updates .cs-table-wrap table thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 4 !important;
  background: #f7f9fd !important;
  color: #153a78 !important;
  box-shadow: inset 0 1px 0 #cfd8e6, inset 0 -1px 0 #dde6f1 !important;
  border-bottom: 1px solid #e8eef6 !important;
  font-size: 0.60rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 5px 10px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.cs-template .cs-app-screen--deliveries .cs-delivery-updates tbody td,
body.cs-template .cs-delivery-updates tbody td,
body.cs-template .cs-delivery-updates .cs-table-wrap table tbody td,
.cs-template .cs-app-screen--deliveries .cs-delivery-updates tbody td,
.cs-template .cs-delivery-updates tbody td,
.cs-template .cs-delivery-updates .cs-table-wrap table tbody td {
  background: #ffffff !important;
  color: #34425a !important;
  border-bottom: 1px solid #e8eef6 !important;
  font-size: 0.74rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 5px 10px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.cs-template .cs-delivery-updates thead th:first-child,
body.cs-template .cs-delivery-updates tbody td:first-child,
.cs-template .cs-delivery-updates thead th:first-child,
.cs-template .cs-delivery-updates tbody td:first-child {
  padding-left: 18px !important;
}
body.cs-template .cs-delivery-updates thead th:last-child,
body.cs-template .cs-delivery-updates tbody td:last-child,
.cs-template .cs-delivery-updates thead th:last-child,
.cs-template .cs-delivery-updates tbody td:last-child {
  padding-right: 18px !important;
}
body.cs-template .cs-delivery-updates tbody tr:last-child td,
.cs-template .cs-delivery-updates tbody tr:last-child td {
  border-bottom: 0 !important;
}

body.cs-template .cs-delivery-updates table th:nth-child(1),
body.cs-template .cs-delivery-updates table td:nth-child(1),
.cs-template .cs-delivery-updates table th:nth-child(1),
.cs-template .cs-delivery-updates table td:nth-child(1) { width: 18% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(2),
body.cs-template .cs-delivery-updates table td:nth-child(2),
.cs-template .cs-delivery-updates table th:nth-child(2),
.cs-template .cs-delivery-updates table td:nth-child(2) { width: 18% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(3),
body.cs-template .cs-delivery-updates table td:nth-child(3),
.cs-template .cs-delivery-updates table th:nth-child(3),
.cs-template .cs-delivery-updates table td:nth-child(3) { width: 29% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(4),
body.cs-template .cs-delivery-updates table td:nth-child(4),
.cs-template .cs-delivery-updates table th:nth-child(4),
.cs-template .cs-delivery-updates table td:nth-child(4) { width: 8% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(5),
body.cs-template .cs-delivery-updates table td:nth-child(5),
.cs-template .cs-delivery-updates table th:nth-child(5),
.cs-template .cs-delivery-updates table td:nth-child(5) { width: 15% !important; text-align: left !important; }
body.cs-template .cs-delivery-updates table th:nth-child(6),
body.cs-template .cs-delivery-updates table td:nth-child(6),
.cs-template .cs-delivery-updates table th:nth-child(6),
.cs-template .cs-delivery-updates table td:nth-child(6) { width: 12% !important; text-align: left !important; }

body.cs-template .cs-delivery-updates tbody td *,
.cs-template .cs-delivery-updates tbody td * {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
  text-transform: inherit !important;
}

body.cs-template .cs-delivery-updates tbody td strong,
body.cs-template .cs-delivery-updates tbody td small,
.cs-template .cs-delivery-updates tbody td strong,
.cs-template .cs-delivery-updates tbody td small {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  white-space: inherit !important;
}

body.cs-template .cs-delivery-updates .cs-bike-cell,
.cs-template .cs-delivery-updates .cs-bike-cell {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 10px !important;
}

/* v1.0.445 - Recent material/bike movement headers: use the same Ackermann/sidebar orange everywhere. */
:root {
  --cs-ackermann-orange: #f05a18;
}

body.cs-template .cs-bike-updates > header::after,
.cs-template .cs-bike-updates > header::after,
body.cs-template .cs-app-screen--bikes .cs-bike-updates > header::after,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header::after {
  background: #f05a18 !important;
}

body.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
body.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
body.cs-template .cs-bike-updates h2,
.cs-template .cs-bike-updates h2,
body.cs-template .cs-app-screen--bikes .cs-bike-updates h2,
.cs-template .cs-app-screen--bikes .cs-bike-updates h2 {
  color: #f05a18 !important;
}

body.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
body.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log,
.cs-template .cs-app-screen--bikes .cs-bike-updates > header > h2.cs-bike-updates__title--recent-log {
  border-color: rgba(240, 90, 24, 0.35) !important;
  background: #fff7f2 !important;
}

body.cs-template .cs-bike-updates__title-icon,
.cs-template .cs-bike-updates__title-icon,
body.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon,
.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon {
  color: #f05a18 !important;
  border-color: #f05a18 !important;
}

body.cs-template .cs-bike-updates__title-icon::before,
.cs-template .cs-bike-updates__title-icon::before,
body.cs-template .cs-bike-updates__title-icon::after,
.cs-template .cs-bike-updates__title-icon::after,
body.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon::before,
.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon::before,
body.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon::after,
.cs-template .cs-app-screen--bikes .cs-bike-updates__title-icon::after {
  background: #f05a18 !important;
}

/* CS v1.0.446 latest table uppercase fields */
.cs-template .cs-bike-updates:not(.cs-bike-updates--material) tbody td:nth-child(2),
.cs-template .cs-bike-updates:not(.cs-bike-updates--material) .cs-bike-latest-bike-name,
.cs-template .cs-bike-updates--material tbody td:nth-child(2),
.cs-template .cs-bike-updates--material .cs-rider-delivery-rider-name {
  text-transform: uppercase !important;
}

/* CS v1.0.447 - Rider delivery modal tables inherit Recent Bike Movements visual system */
.cs-template .cs-rider-delivery-history {
  --cs-ackermann-orange: #f05a18;
}

.cs-template .cs-rider-delivery-history h3 {
  margin: 0 0 14px !important;
  color: #08275c !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  letter-spacing: .26em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

.cs-template .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-history-group--returned {
  min-width: 0 !important;
  margin: 16px 0 0 !important;
  padding: 0 0 6px !important;
  overflow: hidden !important;
  border: 1px solid #dbe3ec !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 45px rgba(34, 46, 76, 0.08) !important;
}

.cs-template .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}

.cs-template .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-history-group--returned h4 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 8px 14px 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: var(--cs-ackermann-orange) !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.cs-template .cs-rider-delivery-history-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 28px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(240, 90, 24, 0.35) !important;
  border-radius: 8px !important;
  background: #fff7f2 !important;
  color: var(--cs-ackermann-orange) !important;
  font-size: .90rem !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.cs-template .cs-rider-delivery-history-rule {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 40px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--cs-ackermann-orange) !important;
  opacity: 1 !important;
}

.cs-template .cs-rider-delivery-history-group .cs-table-wrap {
  width: auto !important;
  max-width: none !important;
  max-height: 148px !important;
  min-height: 0 !important;
  margin: 2px 10px 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable both-edges !important;
  border: 1px solid #e8eef7 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

.cs-template .cs-rider-delivery-history-group table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  line-height: 1.1 !important;
}

.cs-template .cs-rider-delivery-history-group table th,
.cs-template .cs-rider-delivery-history-group table td {
  height: auto !important;
  padding: 5px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f8 !important;
  text-align: center !important;
  vertical-align: middle !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.cs-template .cs-rider-delivery-history-group table th {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  background: #f8fafd !important;
  color: #0f275b !important;
  font-size: .60rem !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.cs-template .cs-rider-delivery-history-group table td {
  color: #34425a !important;
  font-size: .74rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
}

.cs-template .cs-rider-delivery-history-group table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.cs-template .cs-rider-delivery-history-group table thead th:first-child,
.cs-template .cs-rider-delivery-history-group table tbody td:first-child {
  padding-left: 12px !important;
}

.cs-template .cs-rider-delivery-history-group table thead th:last-child,
.cs-template .cs-rider-delivery-history-group table tbody td:last-child {
  padding-right: 12px !important;
}

.cs-template .cs-rider-delivery-history-group table th:nth-child(1),
.cs-template .cs-rider-delivery-history-group table td:nth-child(1) { width: 18% !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(2),
.cs-template .cs-rider-delivery-history-group table td:nth-child(2) { width: 28% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(3),
.cs-template .cs-rider-delivery-history-group table td:nth-child(3) { width: 10% !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(4),
.cs-template .cs-rider-delivery-history-group table td:nth-child(4) { width: 18% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) { width: 16% !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(6),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) { width: 10% !important; }

.cs-template .cs-rider-delivery-history-group .cs-bike-cell {
  gap: 8px !important;
  min-width: 0 !important;
  color: inherit !important;
  font-weight: inherit !important;
}

.cs-template .cs-rider-delivery-history-group .cs-bike-cell svg,
.cs-template .cs-rider-delivery-history-group .cs-bike-cell i {
  color: #2f5f9f !important;
  flex: 0 0 auto !important;
}

.cs-template .cs-rider-delivery-history-group table td:nth-child(3) > .cs-rider-delivery-qty-center,
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) > .cs-rider-delivery-deliveredby-center,
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) > .cs-rider-delivery-actions-center {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 500 !important;
}

.cs-template .cs-rider-delivery-history-group table td:nth-child(5) > .cs-rider-delivery-deliveredby-center::after {
  display: none !important;
  content: none !important;
}

.cs-template .cs-rider-delivery-history-group .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  margin: 0 auto !important;
}

.cs-template .cs-rider-delivery-history-group .cs-rider-delivery-row-actions button {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 7px !important;
}

@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-history-group .cs-table-wrap {
    overflow-x: auto !important;
  }
  .cs-template .cs-rider-delivery-history-group table {
    min-width: 820px !important;
  }
  .cs-template .cs-rider-delivery-history-label {
    font-size: .76rem !important;
    letter-spacing: .08em !important;
  }
}


/* CS v1.0.448 - Rider Deliveries modal: cleaner Bike Movements clone and reduced side margins */
.cs-template .cs-rider-delivery-modal__card {
  width: min(1280px, calc(100vw - 92px)) !important;
  max-width: min(1280px, calc(100vw - 92px)) !important;
  border-radius: 18px !important;
}
.cs-template .cs-rider-delivery-modal__card > header {
  padding-left: 24px !important;
  padding-right: 76px !important;
}
.cs-template .cs-rider-delivery-history {
  padding: 28px 14px 20px !important;
  margin-top: 0 !important;
}
.cs-template .cs-rider-delivery-history h3 {
  margin: 6px 0 18px !important;
  font-size: 13px !important;
  letter-spacing: .28em !important;
  color: #08275c !important;
}
.cs-template .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-history-group--returned {
  margin: 16px 0 0 !important;
  padding: 0 0 10px !important;
  border: 1px solid #dbe7f3 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04) !important;
}
.cs-template .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}
.cs-template .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-history-group--returned h4 {
  gap: 16px !important;
  padding: 10px 12px 6px !important;
  min-height: 0 !important;
  color: #f05a18 !important;
}
.cs-template .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-history-group--consumable .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-history-group--returnable .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-history-group--returned .cs-rider-delivery-history-label {
  min-height: 30px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(240, 90, 24, .35) !important;
  border-radius: 9px !important;
  background: #fff7f2 !important;
  color: #f05a18 !important;
  font-size: .86rem !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
}
.cs-template .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-history-group--consumable .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-history-group--returnable .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-history-group--returned .cs-rider-delivery-history-rule {
  height: 3px !important;
  background: #f05a18 !important;
  color: #f05a18 !important;
  opacity: .95 !important;
}
.cs-template .cs-rider-delivery-history-group .cs-table-wrap {
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px) !important;
  margin: 0 auto !important;
  max-height: 166px !important;
  border: 1px solid #dbe7f3 !important;
  border-radius: 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
  background: #ffffff !important;
}
.cs-template .cs-rider-delivery-history-group table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: #ffffff !important;
}
.cs-template .cs-rider-delivery-history-group table th,
.cs-template .cs-rider-delivery-history-group table td {
  padding: 6px 10px !important;
  border-bottom: 1px solid #e8eef6 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
}
.cs-template .cs-rider-delivery-history-group table th {
  background: #f7f9fd !important;
  color: #153a78 !important;
  box-shadow: inset 0 1px 0 #cfd8e6, inset 0 -1px 0 #dde6f1 !important;
  font-size: .60rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
}
.cs-template .cs-rider-delivery-history-group table td {
  color: #34425a !important;
  font-size: .74rem !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  background: #ffffff !important;
}
.cs-template .cs-rider-delivery-history-group table td strong {
  font-weight: 800 !important;
  color: #08275c !important;
}
.cs-template .cs-rider-delivery-history-group table td small,
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-type-note,
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-type-note--consumable,
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-type-note--returnable,
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-note--expected {
  display: block !important;
  margin-top: 2px !important;
  font-size: .68rem !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  letter-spacing: .03em !important;
}
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-type-note--consumable {
  color: #f05a18 !important;
}
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-type-note--returnable,
.cs-template .cs-rider-delivery-history-group table td .cs-rider-delivery-note--expected {
  color: #475569 !important;
}
.cs-template .cs-rider-delivery-history-group table th:nth-child(1),
.cs-template .cs-rider-delivery-history-group table td:nth-child(1) { width: 17% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(2),
.cs-template .cs-rider-delivery-history-group table td:nth-child(2) { width: 31% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(3),
.cs-template .cs-rider-delivery-history-group table td:nth-child(3) { width: 9% !important; text-align: center !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(4),
.cs-template .cs-rider-delivery-history-group table td:nth-child(4) { width: 18% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(5),
.cs-template .cs-rider-delivery-history-group table td:nth-child(5) { width: 15% !important; text-align: left !important; }
.cs-template .cs-rider-delivery-history-group table th:nth-child(6),
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) { width: 10% !important; text-align: center !important; }
.cs-template .cs-rider-delivery-history-group table thead th:first-child,
.cs-template .cs-rider-delivery-history-group table tbody td:first-child {
  padding-left: 18px !important;
}
.cs-template .cs-rider-delivery-history-group table thead th:last-child,
.cs-template .cs-rider-delivery-history-group table tbody td:last-child {
  padding-right: 18px !important;
}
.cs-template .cs-rider-delivery-history-group .cs-bike-cell,
.cs-template .cs-rider-delivery-history-group .cs-rider-delivery-deliveredby-center {
  justify-content: flex-start !important;
}
.cs-template .cs-rider-delivery-history-group table td:nth-child(3) > .cs-rider-delivery-qty-center,
.cs-template .cs-rider-delivery-history-group table td:nth-child(6) > .cs-rider-delivery-actions-center {
  justify-content: center !important;
}
.cs-template .cs-rider-delivery-history-group .cs-rider-delivery-row-actions button {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 8px !important;
  border-color: #cbd9e8 !important;
  background: #ffffff !important;
}
@media (max-width: 760px) {
  .cs-template .cs-rider-delivery-modal__card {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
  .cs-template .cs-rider-delivery-modal__card > header {
    padding-left: 18px !important;
    padding-right: 62px !important;
  }
  .cs-template .cs-rider-delivery-history {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .cs-template .cs-rider-delivery-history-group .cs-table-wrap {
    overflow-x: auto !important;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
  }
  .cs-template .cs-rider-delivery-history-group table {
    min-width: 860px !important;
  }
}

/* CS v1.0.450 - Rider Deliveries modal: align history tables with Recent Material Deliveries */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned {
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 0 10px !important;
  border: 1px solid var(--app-border, #dbe7f3) !important;
  border-top: 2px solid #d6dfeb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 12px 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 0 15px !important;
  border: 1.5px solid rgba(240, 90, 24, 0.35) !important;
  border-radius: 14px !important;
  background: #fff7f2 !important;
  color: #f05a18 !important;
  -webkit-text-fill-color: #f05a18 !important;
  font-size: 0.90rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 40px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #f05a18 !important;
  opacity: 0.95 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
  position: relative !important;
  display: block !important;
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px) !important;
  min-height: 0 !important;
  max-height: 166px !important;
  margin: 0 auto !important;
  padding: 0 0 1px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid var(--app-border, #dbe7f3) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: #ffffff !important;
  box-shadow: none !important;
  line-height: 1.1 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap table thead th,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap table thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 4 !important;
  background: #f7f9fd !important;
  color: #153a78 !important;
  box-shadow: inset 0 1px 0 #cfd8e6, inset 0 -1px 0 #dde6f1 !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eef6 !important;
  font-size: 0.60rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 5px 10px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap table tbody td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap table tbody td {
  background: #ffffff !important;
  color: #34425a !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eef6 !important;
  font-size: 0.74rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  text-align: left !important;
  vertical-align: middle !important;
  padding: 5px 10px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody tr:last-child td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody tr:last-child td {
  border-bottom: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:first-child,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td:first-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:first-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td:first-child {
  padding-left: 18px !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:last-child,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td:last-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:last-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td:last-child {
  padding-right: 18px !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(1),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(1),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(1),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(1) { width: 17% !important; text-align: left !important; }
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(2),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(2),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(2),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(2) { width: 31% !important; text-align: left !important; }
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(3),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(3),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(3),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(3) { width: 9% !important; text-align: center !important; }
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(4),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(4),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(4),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(4) { width: 18% !important; text-align: left !important; }
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(5),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(5),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(5),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(5) { width: 15% !important; text-align: left !important; }
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(6),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(6),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table th:nth-child(6),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(6) { width: 10% !important; text-align: center !important; }

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td *,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td * {
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td strong,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td strong {
  color: #08275c !important;
  font-weight: 800 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td small,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td small,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td .cs-rider-delivery-type-note,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td .cs-rider-delivery-type-note,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td .cs-rider-delivery-note--expected,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td .cs-rider-delivery-note--expected {
  display: block !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 0.68rem !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td .cs-rider-delivery-type-note--consumable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td .cs-rider-delivery-type-note--consumable {
  color: #f05a18 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-bike-cell,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-rider-delivery-deliveredby-center,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-bike-cell,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-rider-delivery-deliveredby-center {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(3) > .cs-rider-delivery-qty-center,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(6) > .cs-rider-delivery-actions-center,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(3) > .cs-rider-delivery-qty-center,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table td:nth-child(6) > .cs-rider-delivery-actions-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-rider-delivery-row-actions,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  margin: 0 auto !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-rider-delivery-row-actions button,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-rider-delivery-row-actions button {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 8px !important;
  border-color: #cbd9e8 !important;
  background: #ffffff !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-empty-state,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-empty-state {
  margin: 8px !important;
  min-height: 70px !important;
  border: 1px dashed #cfe0f3 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    overflow-x: auto !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table {
    min-width: 860px !important;
  }
}

/* v1.0.454 - Rider Deliveries: taller List of Material headers and soft grey section background */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
  margin: 0 22px 28px !important;
  padding: 24px 18px 20px !important;
  border-radius: 18px !important;
  background: #f6f8fb !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
  margin-bottom: 16px !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  min-height: 34px !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
  background: #ffffff !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
    margin: 0 12px 20px !important;
    padding: 18px 10px 16px !important;
    border-radius: 16px !important;
  }
}

/* v1.0.455 - Rider Deliveries: grey background behind List of Material title */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
  display: block !important;
  width: fit-content !important;
  max-width: calc(100% - 24px) !important;
  margin: 0 auto 18px !important;
  padding: 10px 22px 9px !important;
  border: 1px solid #dbe4ee !important;
  border-radius: 12px !important;
  background: #eef2f6 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
    padding: 9px 16px 8px !important;
    max-width: calc(100% - 12px) !important;
  }
}


/* v1.0.456 - Package cleanup: obsolete historical CSS bundles removed from install zip. */


/* v1.0.457 - Rider Deliveries: stronger external borders around each List of Material table. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
  border: 2px solid #cbd8e8 !important;
  border-radius: 13px !important;
  box-shadow: 0 1px 0 rgba(8,39,92,0.04), inset 0 1px 0 rgba(255,255,255,0.85) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table {
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:first-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:first-child {
  border-top-left-radius: 11px !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:last-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group thead th:last-child {
  border-top-right-radius: 11px !important;
}


/* v1.0.458 - Rider Deliveries: Option 5 Sidebar accent for List of Material title. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 0 18px !important;
  padding: 13px 22px 12px 34px !important;
  text-align: left !important;
  border: 1px solid #c7d3e1 !important;
  border-left: 10px solid #f15a24 !important;
  border-radius: 13px !important;
  background: #e9eef5 !important;
  color: #08275c !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 1px 0 rgba(8,39,92,0.05) !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
    padding: 11px 16px 10px 24px !important;
    border-left-width: 8px !important;
    border-radius: 12px !important;
  }
}


/* v1.0.459 - Rider Deliveries: Alternative 2 integrated List of Material area. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
  margin: 0 26px 28px !important;
  padding: 18px 18px 20px !important;
  border: 1px solid #d3deeb !important;
  border-radius: 18px !important;
  background: #f3f6f9 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 0 18px !important;
  padding: 13px 28px 12px !important;
  text-align: left !important;
  border: 1px solid #bdcbdc !important;
  border-left: 0 !important;
  border-radius: 13px !important;
  background: #e6edf5 !important;
  color: #08275c !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 0 rgba(8,39,92,0.04) !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned {
  margin-top: 16px !important;
  padding: 10px 10px 12px !important;
  border: 1px solid #b9c9dc !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4 {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(240,90,24,.40) !important;
  border-radius: 10px !important;
  background: #fffaf6 !important;
  color: #f15a24 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule {
  display: block !important;
  flex: 1 1 auto !important;
  height: 3px !important;
  min-width: 40px !important;
  border-radius: 999px !important;
  background: #f15a24 !important;
  opacity: 1 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 1px solid #ccd8e6 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
    margin: 0 16px 22px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
    padding: 11px 16px 10px !important;
    border-radius: 12px !important;
  }
}

/* v1.0.460 - Rider Deliveries: apply Template 2 / Integrated material area. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
  margin: 0 26px 28px !important;
  padding: 18px 18px 20px !important;
  border: 1px solid #d3deeb !important;
  border-radius: 18px !important;
  background: #f3f6f9 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 0 18px !important;
  padding: 14px 28px 13px !important;
  text-align: left !important;
  border: 1px solid #bdcbdc !important;
  border-left: 0 !important;
  border-radius: 13px !important;
  background: #e6edf5 !important;
  color: #08275c !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 1px 0 rgba(8,39,92,0.04) !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned {
  margin-top: 16px !important;
  padding: 10px 10px 12px !important;
  border: 1px solid #b9c9dc !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
  display: flex !important;
  align-items: center !important;
  min-height: 36px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 18px 0 24px !important;
  border: 1px solid #c8d5e3 !important;
  border-left: 7px solid #f15a24 !important;
  border-radius: 10px !important;
  background: #e7eef6 !important;
  color: #08275c !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .045em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule {
  display: none !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 1px solid #ccd8e6 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th {
  min-height: 34px !important;
  height: 34px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: #0b3472 !important;
  color: #ffffff !important;
  letter-spacing: .08em !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th:first-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th:first-child {
  border-top-left-radius: 8px !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th:last-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th:last-child {
  border-top-right-radius: 8px !important;
}

body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group tbody td {
  background: #ffffff !important;
}

@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
    margin: 0 14px 22px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
    padding: 11px 16px 10px !important;
    border-radius: 12px !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
    min-height: 34px !important;
    padding-left: 18px !important;
    font-size: 12px !important;
  }
}


/* v1.0.461 - Rider Deliveries: refine Template 2 integrated material area.
   Compact grey section bars, left aligned titles, cleaner spacing and borders. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
  margin: 0 26px 28px !important;
  padding: 14px 14px 16px !important;
  border: 1px solid #d4deeb !important;
  border-radius: 18px !important;
  background: #f3f6f9 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78) !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history h3 {
  min-height: 42px !important;
  margin: 0 0 12px !important;
  padding: 12px 26px 11px !important;
  border: 1px solid #bdcbdc !important;
  border-radius: 13px !important;
  background: #e6edf5 !important;
  color: #08275c !important;
  text-align: left !important;
  letter-spacing: .18em !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned {
  margin-top: 12px !important;
  padding: 9px 9px 10px !important;
  border: 1px solid #b9c9dc !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group:first-of-type {
  margin-top: 0 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--consumable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returnable h4,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group--returned h4 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 30px !important;
  box-sizing: border-box !important;
  padding: 0 16px 0 20px !important;
  border: 1px solid #c8d5e3 !important;
  border-left: 7px solid #f15a24 !important;
  border-radius: 9px !important;
  background: #e7eef6 !important;
  color: #08275c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .095em !important;
  line-height: 1 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-rule {
  display: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group .cs-table-wrap {
  border: 1px solid #ccd8e6 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table thead th {
  min-height: 32px !important;
  height: 32px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table tbody td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-group table tbody td {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history {
    margin: 0 16px 22px !important;
    padding: 12px !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history-label {
    min-height: 30px !important;
    padding-left: 16px !important;
    font-size: 11px !important;
  }
}

/* v1.0.464 - Rider Deliveries Alternative 13 refined grouped compact premium layout. Main overrides are in user-v1.0.464.css. */

/* v1.0.465 - Rider Deliveries Alternative 13 compact final. Main overrides are in user-v1.0.466.css. */


/* v1.0.466 - Rider Deliveries grouped compact final micro-spacing. Main overrides are in user-v1.0.466.css. */

/* v1.0.467 - Rider Deliveries final spacing fix. Main overrides are in user-v1.0.467.css. */
/* v1.0.468 - Rider Deliveries: flat list style, no inner table effect.
   Keep the grouped status structure but remove the visible spreadsheet/table layer. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-history-group,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-history-group {
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 5px 14px rgba(8,39,92,.026) !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-history-group h4,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-history-group h4 {
  border-bottom: 0 !important;
  background: #f3f7fb !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap {
  margin: 0 !important;
  padding: 0 10px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped thead,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped thead {
  display: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr {
  display: grid !important;
  grid-template-columns: minmax(155px, .95fr) minmax(240px, 1.8fr) minmax(58px, .45fr) minmax(185px, 1.15fr) minmax(150px, .9fr) minmax(86px, auto) !important;
  align-items: center !important;
  column-gap: 16px !important;
  min-height: 50px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-top: 1px solid #edf3f8 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr:first-child,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr:first-child {
  border-top: 0 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td[colspan],
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td[colspan] {
  grid-column: 1 / -1 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table tbody tr + tr td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table tbody tr + tr td {
  border-top: 0 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-bike-cell,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-bike-cell {
  min-height: 0 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state {
  min-height: 38px !important;
  margin: 4px 0 2px !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state strong,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state strong {
  font-size: 11px !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state span,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state span {
  margin-top: 2px !important;
  font-size: 10px !important;
}
@media (max-width: 980px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr {
    grid-template-columns: minmax(135px, .9fr) minmax(200px, 1.6fr) minmax(48px, .4fr) minmax(145px, 1fr) minmax(115px, .8fr) minmax(76px, auto) !important;
    column-gap: 10px !important;
  }
}
@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap {
    padding: 0 8px 8px !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr {
    grid-template-columns: 1fr auto !important;
    row-gap: 6px !important;
    column-gap: 10px !important;
    padding: 10px 0 !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(1),
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(1),
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(2),
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(2),
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(4),
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(4),
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(5),
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(5) {
    grid-column: 1 / 2 !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(3),
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(3),
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(6),
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td:nth-child(6) {
    grid-column: 2 / 3 !important;
    justify-self: end !important;
  }
}

/* v1.0.469 - Rider Deliveries: flat list fixed layout.
   Keep the no-table visual direction, but restore stable alignment and readable row content. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap {
  margin: 0 !important;
  padding: 0 12px 7px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table {
  display: table !important;
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped thead,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped thead {
  display: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody {
  display: table-row-group !important;
  width: 100% !important;
  background: transparent !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr {
  display: table-row !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td {
  display: table-cell !important;
  height: 45px !important;
  padding: 8px 11px !important;
  border: 0 !important;
  border-top: 1px solid #edf3f8 !important;
  background: transparent !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr:first-child td,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody tr:first-child td {
  border-top: 0 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(1),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(1),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(1),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(1) {
  width: 18% !important;
  text-align: left !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(2),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(2),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(2),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(2) {
  width: 32% !important;
  text-align: left !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(3),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(3),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(3),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(3) {
  width: 8% !important;
  text-align: center !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(4),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(4),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(4),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(4) {
  width: 18% !important;
  text-align: left !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(5),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(5),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(5),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(5) {
  width: 14% !important;
  text-align: center !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(6),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(6),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table th:nth-child(6),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table td:nth-child(6) {
  width: 10% !important;
  text-align: right !important;
  white-space: nowrap !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-bike-cell,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-bike-cell {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-bike-cell span,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-bike-cell span {
  display: inline !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped td:nth-child(2) strong,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped td:nth-child(2) strong {
  display: block !important;
  margin-bottom: 2px !important;
  color: #08275c !important;
  line-height: 1.1 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-type-note,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-type-note {
  display: block !important;
  line-height: 1.18 !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-actions-center,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-actions-center,
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-row-actions,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-rider-delivery-row-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  width: auto !important;
  margin-left: auto !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td[colspan],
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped tbody td[colspan] {
  display: table-cell !important;
  width: 100% !important;
  padding: 13px 10px 14px !important;
  text-align: center !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-empty-state {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
@media (max-width: 980px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped .cs-table-wrap {
    overflow-x: auto !important;
  }
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table {
    min-width: 760px !important;
  }
}


/* v1.0.473 - Rider Deliveries: real title bar for compact grouped rows.
   Use a normal div above the table so labels are never clipped by old table TH rules. */
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table thead,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-history--grouped table thead {
  display: none !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar {
  display: grid !important;
  grid-template-columns: minmax(126px,.72fr) minmax(320px,1.72fr) minmax(64px,.38fr) minmax(180px,1fr) minmax(150px,.82fr) minmax(94px,.55fr) !important;
  align-items: center !important;
  column-gap: 12px !important;
  min-height: 34px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 7px !important;
  padding: 8px 12px !important;
  border: 1px solid #dbe7f3 !important;
  border-radius: 12px !important;
  background: #f1f6fb !important;
  box-shadow: inset 0 -1px 0 rgba(8,39,92,.03) !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar span,
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar span {
  display: block !important;
  min-width: 0 !important;
  color: #08275c !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar span:nth-child(3),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar span:nth-child(3),
body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar span:nth-child(6),
.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar span:nth-child(6) {
  text-align: center !important;
}
@media (max-width: 980px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar {
    grid-template-columns: 118px 280px 58px 158px 130px 82px !important;
    column-gap: 10px !important;
    min-width: 820px !important;
  }
}
@media (max-width: 760px) {
  body.cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar,
  .cs-template .cs-rider-delivery-modal__card .cs-rider-delivery-titlebar {
    display: none !important;
  }
}
