/* Owner-approved light mint presentation. Shared by every Django layout. */
body {
  color: var(--color-text-primary);
  background:
    radial-gradient(ellipse at 20% 0%, #bce9e570, transparent 55%), #f8faf9;
  font-size: 14px;
  line-height: 1.6;
}
body :is(h1, h2, h3, strong, .button) {
  font-weight: 600;
}
body :is(h1, h2, h3) {
  letter-spacing: -0.035em;
}
body a {
  color: var(--color-action-primary);
}
body :is(.button, button[type="submit"]) {
  box-shadow: none;
}
body
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    select,
    .styled-select-trigger
  ) {
  min-height: 44px;
}
body
  .button:not(.secondary):not(.button-secondary):not(.danger):not(:disabled) {
  background: var(--color-action-primary);
  border-color: var(--color-action-primary);
  color: white;
}
body .button:not(.secondary):not(.button-secondary):not(.danger):hover {
  background: var(--color-action-primaryHover);
}
body .button:is(.secondary, .button-secondary) {
  background: #fff;
  color: #136e61;
  border-color: #91aaa1;
}
body .button:is(.secondary, .button-secondary):hover {
  background: #e7f5f1;
}
body
  :is(
    .card,
    .customer-card,
    .registry-card,
    .tracking-panel,
    .tracking-map-card,
    .billing-card,
    .account-panel,
    .plan-card,
    .tm-card
  ) {
  border-radius: 18px;
  box-shadow: 0 6px 24px #136e6105;
}
body
  :is(
    .notice,
    .customer-accent,
    .setup-steps li,
    .operations-notice,
    .account-assurance
  ) {
  border-inline-start-width: 1px;
  box-shadow: none;
}
body :is(.sidebar a[aria-current], .tracking-asset.is-selected) {
  box-shadow: none;
}
body .brand img {
  filter: grayscale(1) sepia(1) saturate(2) hue-rotate(105deg);
}
body .brand-wordmark {
  width: 138px;
}
body .public-header {
  min-height: 64px;
  padding-block: 10px;
  background: #fffffff2;
  border-color: #d7e7df;
}
body .public-header .brand-wordmark {
  width: 138px;
}
body .public-navigation {
  gap: 20px;
}
body .public-navigation > a:not(.button) {
  color: #293d37;
  font-size: 13px;
}
body .public-main {
  background: transparent;
}
body .telematics-home {
  background: transparent;
  font-size: 14px;
}
body .tm-hero {
  background:
    radial-gradient(ellipse at 25% 10%, #bce9e5, transparent 65%),
    linear-gradient(120deg, #e7f5f1, #f8faf9);
  color: #172522;
  padding-block: 56px;
}
body .tm-hero-grid {
  gap: 48px;
}
body .tm-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
}
body .tm-hero :is(.tm-eyebrow, .category-selector a[aria-current]) {
  color: #136e61;
}
body .tm-hero-copy > p,
body .tm-hero .category-selector a {
  color: #486159;
}
body .tm-hero-copy .tm-lead {
  font-size: 16px;
}
body .tm-hero .tm-caption {
  color: #486159;
}
body .tm-preview {
  background: #ffffffde;
  border: 1px solid #fff;
  box-shadow: 0 18px 48px #136e6112;
  border-radius: 20px;
}
body .tm-preview-top {
  border-color: #d7e7df;
  padding: 12px 18px;
}
body .tm-hero-map {
  height: 320px;
}
body .tm-hero-map-action .tm-caption {
  color: white;
}
body .tm-hero-map-controls {
  background: white;
  color: #486159;
}
body .tm-hero-map-controls:has([hidden]):not(:has(button:not([hidden]))) {
  padding-block: 0;
}
body .tm-showcase,
body .tm-usecases,
body .tm-trust {
  background: #e7f5f1;
  color: #172522;
}
body .tm-showcase .tm-section-heading p {
  color: #486159;
}
body .tm-map-shell {
  border-color: #cddfd6;
  box-shadow: none;
}
body .tm-map-toolbar {
  background: #fff;
  color: #172522;
}
body .tm-map-intro {
  background: #f3f8f5;
  color: #172522;
}
body .tm-card {
  background: #fff;
  border-color: #d7e7df;
  padding: 22px;
}
body .tm-card .tm-symbol {
  background: #e7f5f1;
  color: #136e61;
}
body .tm-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
body .tm-section {
  padding-block: 44px;
}
body .tm-final {
  border: 0;
  background: transparent;
}
body .public-footer {
  background: #e7f5f1;
  color: #172522;
  border-top: 1px solid #d7e7df;
}
body .public-footer :is(p, small, a, h2, h3, strong, .footer-copy) {
  color: #31574e;
}
body .workspace-shell {
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  background:
    radial-gradient(ellipse at 18% 0%, #bce9e5b3, transparent 60%), #f8faf9;
}
body .workspace-shell .sidebar {
  background: #ffffffa8;
  border-color: #ffffffc9;
  border-radius: 20px;
  padding-top: 18px;
  box-shadow: none;
}
body .workspace-shell .sidebar .brand {
  background: transparent;
  padding-bottom: 20px;
}
body .workspace-shell .sidebar .brand-wordmark {
  width: 138px;
}
body .workspace-shell .sidebar .nav-caption {
  display: none;
}
body .workspace-shell .sidebar a[aria-current="page"] {
  background: #e7f5f1;
  color: #136e61;
  border-color: transparent;
  box-shadow: none;
}
body .workspace-shell .sidebar-profile {
  border-top: 0;
  text-decoration: none;
}
body .workspace-shell .sidebar-more {
  border: 0;
}
body .workspace-shell .dashboard-topbar {
  min-height: 60px;
  padding: 8px 14px;
  background: #ffffffc9;
  border: 1px solid #ffffff;
  box-shadow: none;
  border-radius: 18px;
  justify-content: flex-start;
}
body .dashboard-topbar .search-field {
  flex: 0 1 480px;
  max-width: 480px;
  width: 100%;
  gap: 8px;
  margin: 0;
}
body .dashboard-topbar .search-field label {
  flex: 1;
  min-width: 0;
}
body .dashboard-topbar .search-field input {
  width: 100%;
  background: #f8faf9;
}
body .dashboard-main {
  padding: 24px 0 12px;
}
body .dashboard-main h1 {
  font-size: 26px;
  font-weight: 500;
}
body
  :is(
    .tracking-workspace,
    .customer-workspace,
    .billing-workspace,
    .registry-workspace
  ) {
  font-size: 14px;
}
body .tracking-heading {
  margin-bottom: 12px;
}
body .tracking-heading .eyebrow {
  display: none;
}
body .tracking-tabs {
  margin-block: 12px;
  gap: 6px;
}
body .tracking-tabs a {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 9999px;
}
body .tracking-filters {
  padding: 14px;
  margin: 12px 0 18px;
  gap: 12px;
  border-radius: 18px;
}
body .tracking-filters label {
  font-size: 13px;
}
body .tracking-layout {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
}
body .tracking-map-card {
  padding: 18px;
}
body .tracking-canvas {
  min-height: 360px;
  background: #f3f8f5;
  border-radius: 12px;
}
body .tracking-panel {
  padding: 18px;
}
body .tracking-panel h2 {
  font-size: 16px;
}
body .tracking-asset {
  padding: 12px;
}
body .tracking-asset :is(span, small) {
  font-size: 12px;
}
body .tracking-map-notice {
  font-size: 13px;
  color: #486159;
}
body .tracking-map-controls {
  flex-wrap: wrap;
  gap: 6px;
}
body .tracking-map-controls button {
  min-width: 36px;
  min-height: 36px;
  padding: 6px 12px;
}
body .google-map-link {
  display: inline-block;
  margin: 8px 12px;
  text-underline-offset: 3px;
}
body .settings-preferences {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
body .settings-preferences h2 {
  margin: 0;
}
body .settings-preferences > form {
  margin-left: auto;
}
body .account-layout {
  max-width: 900px;
  gap: 24px;
}
body .account-panel {
  padding: 24px;
}
body .account-story {
  background: #e7f5f1;
  color: #172522;
}
body .account-story h2 {
  font-size: 26px;
  font-weight: 500;
}
body .account-story img {
  height: 200px;
}
@supports (backdrop-filter: blur(12px)) {
  body .public-header,
  body .workspace-shell .dashboard-topbar {
    backdrop-filter: blur(12px);
  }
}
@media (max-width: 1023px) {
  body .workspace-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
  body .workspace-shell .sidebar {
    position: static;
    min-height: auto;
  }
  body .dashboard-main {
    padding-top: 20px;
  }
}
@media (max-width: 767px) {
  body .tm-hero {
    padding-block: 32px;
  }
  body .tm-hero-grid {
    gap: 28px;
  }
  body .tm-section {
    padding-block: 32px;
  }
  body .tracking-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  body .tracking-layout > section {
    grid-row: 1;
  }
  body .tracking-canvas {
    min-height: 280px;
  }
  body .tracking-filters > label {
    flex: 1 1 130px;
    min-width: 0;
  }
  body .tracking-map-controls button {
    min-height: 44px;
    min-width: 44px;
  }
  body .public-header .brand-wordmark {
    width: 125px;
  }
  body .account-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

body .telematics-home a:not(.button) {
  color: #136e61;
}
body .tm-steps li {
  border-top: 1px solid #ccded6;
}

body .tm-map-intro .tm-caption {
  color: #486159;
}

/* Compact notification control and persistent labelled customer navigation. */
body .dashboard-topbar {
  overflow: visible;
}
body .dashboard-topbar :is(.notification-bell, .notification-preview) {
  margin-left: auto;
  flex: 0 0 40px;
}
body .notification-bell > summary,
body .notification-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid #d7e7df;
  border-radius: 50%;
  background: #f3f8f5;
  color: #136e61;
  list-style: none;
}
body .notification-bell > summary::-webkit-details-marker {
  display: none;
}
body .notification-bell .ui-icon,
body .notification-preview .ui-icon {
  width: 20px;
  height: 20px;
}
body .notification-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16845b;
  box-shadow: 0 0 0 2px #f3f8f5;
}
body .notification-dropdown {
  z-index: 70;
}
body .customer-sidebar :is(.nav-item, .sidebar-more > summary) {
  display: flex;
  align-items: center;
  gap: 12px;
}
body .customer-sidebar .sidebar-more > summary {
  list-style: none;
  cursor: pointer;
}
body .customer-sidebar .sidebar-more > summary::-webkit-details-marker {
  display: none;
}
body .customer-sidebar .ui-icon {
  flex-shrink: 0;
}
body .tracking-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
body .tracking-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body .tracking-legend .ui-icon {
  width: 18px;
  height: 18px;
}
@media (min-width: 1024px) {
  body .workspace-shell:has(> .customer-sidebar) {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  body .workspace-shell .customer-sidebar .brand-wordmark {
    width: 174px;
  }
}
body .customer-sidebar .sidebar-profile > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  body .dashboard-topbar :is(.notification-bell, .notification-preview) {
    flex-basis: 44px;
  }
  body .notification-bell > summary,
  body .notification-preview {
    width: 44px;
    height: 44px;
  }
  body .dashboard-topbar .search-field {
    flex: 1 1 160px;
    min-width: 0;
  }
}

/* Compact landing-page copy and footer after owner-requested removals. */
body .telematics-home .tm-hero {
  padding-block: 36px;
}
body .telematics-home .tm-section {
  padding-block: 32px;
}
body .telematics-home .tm-section-heading {
  margin-bottom: 20px;
}
body .telematics-home .tm-trust .tm-section-heading {
  margin-bottom: 0;
}
body .public-footer-compact {
  grid-template-columns: 1.5fr 1fr 1fr;
  padding-block: 28px 18px;
  gap: 20px;
}
body .public-footer-compact h2 {
  margin-bottom: 10px;
}
body .public-footer-compact .tm-footer-bottom {
  padding-top: 14px;
}
@media (max-width: 767px) {
  body .telematics-home .tm-hero {
    padding-block: 24px;
  }
  body .telematics-home .tm-section {
    padding-block: 24px;
  }
  body .public-footer-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body .dashboard-topbar {
  z-index: 50;
}
body .dashboard-topbar .notification-bell {
  position: relative;
}

@media (max-width: 1023px) {
  body .workspace-shell .dashboard-topbar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }
  body .dashboard-topbar .menu-toggle {
    padding: 8px;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  body .dashboard-topbar .search-field {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  body .dashboard-topbar .search-field input {
    min-width: 0;
    padding-inline: 12px;
  }
  body .dashboard-topbar :is(.notification-bell, .notification-preview) {
    margin: 0;
  }
  body .notification-bell > summary,
  body .notification-preview {
    width: 44px;
    height: 44px;
  }
}
