@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  src: url('assets/balady-arabic.woff2') format('woff2');
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  src: url('assets/balady-latin.woff2') format('woff2');
}
:root {
  --green: #1b8354;
  --green-dark: #166a45;
  --pale: #f3fcf6;
  --ink: #161616;
  --muted: #6c737f;
  --line: #d2d6db;
  --bg: #f9fafb;
  --teal: #07706d;
  --amber: #b86e10;
  --red: #b42318;
  --purple: #6941c6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 'IBM Plex Sans Arabic',
    Tahoma,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #54c08a;
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprites {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 16px;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.site-header {
  height: 86px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: auto;
  height: 50px;
}
.brand-divider {
  height: 32px;
  border-right: 1px solid var(--line);
}
.product-name {
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}
.product-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
}
.site-header nav {
  display: flex;
  height: 100%;
  gap: 8px;
  margin-inline-start: 34px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  border-bottom: 4px solid transparent;
  padding: 0 19px;
  font-weight: 600;
  color: #495057;
}
.nav-item.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: #f7fdf9;
}
.operator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
  font-size: 12px;
}
.operator small {
  display: block;
}
.avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: var(--pale);
  color: var(--green);
  border: 1px solid #d9e9df;
  border-radius: 50%;
}
.title-band {
  background: var(--pale);
  min-height: 146px;
  padding: 20px 40px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumbs {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
}
.breadcrumbs b {
  font-weight: 400;
  color: #495057;
}
h1 {
  font-size: 28px;
  line-height: 1.6;
}
.title-band p {
  font-size: 12px;
  color: #57655c;
}
.season-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8;
  border: 1px solid #d9e9df;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
}
.season-badge small {
  display: block;
}
.season-badge > svg {
  width: 27px;
  height: 27px;
  color: var(--green);
  margin-inline-start: 12px;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #1b835410;
}
.content {
  padding: 22px 40px 0;
  max-width: 1920px;
  margin: auto;
}
.operations-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}
.simulation-state,
.simulation-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.simulation-state strong {
  font-size: 12px;
}
.simulation-state > svg {
  width: 17px;
  color: var(--muted);
}
.simulation-state time {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.separator {
  height: 17px;
  border-right: 1px solid var(--line);
  margin: 0 5px;
}
.simulation-controls label {
  font-size: 11px;
  color: var(--muted);
}
select,
input {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #384250;
  min-height: 38px;
  padding: 6px 12px;
}
select {
  cursor: pointer;
}
.simulation-controls select {
  min-height: 34px;
  padding: 3px 9px;
  font-size: 12px;
  direction: ltr;
}
.btn {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  min-height: 40px;
  text-decoration: none;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn.small {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 11px;
}
.btn.primary {
  background: var(--green);
  color: #fff;
}
.btn.primary:hover {
  background: var(--green-dark);
}
.btn.outline {
  border-color: var(--line);
  background: #fff;
  color: #384250;
}
.btn.outline:hover {
  background: var(--pale);
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #495057;
}
.icon-button svg {
  width: 17px;
}
.filters {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.region-tabs {
  display: flex;
  background: #eef1f0;
  border-radius: 7px;
  padding: 4px;
  gap: 4px;
}
.region-tabs button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 6px 14px;
  font-size: 12px;
  white-space: nowrap;
  color: #57615b;
}
.region-tabs button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px #10182810;
  font-weight: 600;
}
.region-tabs span {
  font-size: 10px;
  display: inline-block;
  margin-inline-start: 6px;
  color: #8b968f;
}
.filter-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-tools select {
  font-size: 11px;
  max-width: 155px;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute;
  right: 11px;
  width: 16px;
  color: var(--muted);
}
.search input {
  padding-right: 35px;
  width: 255px;
  font-size: 11px;
}
.map-workspace {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  height: 640px;
  height: clamp(520px, calc(100vh - 370px), 760px);
  min-height: 520px;
}
.records-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-inline-end: 1px solid var(--line);
}
.pane-title {
  padding: 18px 18px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pane-title h2 {
  font-size: 16px;
}
.pane-title p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.record-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding-inline: 12px;
}
.record-tabs button {
  flex: 1;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 9px 6px;
  color: var(--muted);
  font-size: 12px;
}
.record-tabs button.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.record-tabs span {
  font-size: 10px;
  background: #f2f4f7;
  border-radius: 3px;
  padding: 0 4px;
  margin-inline-start: 4px;
}
.records-list {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #d2d6db transparent;
}
.record {
  border-bottom: 1px solid #eaecf0;
  background: #fff;
}
.record.expanded {
  background: #fafffc;
}
.record-summary {
  border: 0;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  text-align: right;
  background: none;
  padding: 15px 17px;
  color: var(--ink);
}
.record-summary:hover {
  background: #f8faf9;
}
.record-icon {
  width: 34px;
  height: 34px;
  background: #f2f4f7;
  color: #495057;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.record-icon svg {
  width: 17px;
}
.record-icon.green {
  background: #ecf8f1;
  color: var(--green);
}
.record-icon.amber {
  background: #fffaeb;
  color: var(--amber);
}
.record-icon.purple {
  background: #f4f0ff;
  color: var(--purple);
}
.record-main {
  flex: 1;
  min-width: 0;
}
.record-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.record-top strong {
  font-size: 12px;
}
.record-top .id {
  direction: ltr;
}
.record-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 8px;
}
.record-meta small {
  font-size: 10px;
}
.pill {
  font-size: 10px;
  font-weight: 500;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
  background: #eff4ff;
  color: #3458a4;
  line-height: 1.7;
}
.pill.green {
  background: #ecfdf3;
  color: #067647;
}
.pill.amber {
  background: #fffaeb;
  color: #a15c07;
}
.pill.purple {
  background: #f4f0ff;
  color: var(--purple);
}
.pill.grey {
  background: #f2f4f7;
  color: #667085;
}
.record-arrow {
  width: 13px;
  height: 13px;
  margin-top: 10px;
  transition: transform 0.15s;
  color: #98a2b3;
}
.expanded .record-arrow {
  transform: rotate(90deg);
}
.record.new-case {
  border-right: 3px solid var(--purple);
}
.new-label {
  font-size: 9px;
  color: var(--purple);
  margin-inline-start: 6px;
}
.record-detail {
  padding: 0 18px 18px;
}
.detail-divider {
  height: 1px;
  background: #e5ece7;
  margin: 0 0 13px;
}
.detail-title {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 15px 0 8px;
}
.detail-title svg {
  width: 15px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
}
.detail-grid dt {
  font-size: 10px;
  color: var(--muted);
}
.detail-grid dd {
  margin: 2px 0 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.note {
  padding: 9px 11px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.8;
  background: #f4f6f5;
  color: #5c6861;
  margin: 10px 0;
}
.note.warning {
  background: #fffaeb;
  color: #975b0d;
}
.note.purple {
  background: #f4f0ff;
  color: var(--purple);
}
.timeline {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}
.timeline li {
  display: flex;
  gap: 10px;
  position: relative;
  padding-bottom: 13px;
  font-size: 10px;
}
.timeline li:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8eacb;
  border: 1px solid #54c08a;
  margin-top: 5px;
  flex-shrink: 0;
  z-index: 1;
}
.timeline li:after {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 0;
  right: 3px;
  border-right: 1px solid #d9e9df;
}
.timeline li:last-child:after {
  display: none;
}
.timeline time {
  color: var(--muted);
  font-size: 9px;
  display: block;
  direction: ltr;
  text-align: right;
}
.timeline li:last-child:before {
  background: var(--green);
}
.detail-actions {
  display: grid;
  gap: 8px;
}
.detail-actions select {
  width: 100%;
  min-height: 35px;
  font-size: 11px;
}
.document {
  border: 1px solid #dce7df;
  border-radius: 5px;
  margin-top: 8px;
  background: white;
}
.document summary {
  font-size: 10px;
  padding: 9px;
  cursor: pointer;
  color: var(--green);
}
.document-content {
  padding: 0 10px 10px;
}
.upload-label {
  display: block;
  border: 1px dashed #b5c8bc;
  padding: 8px;
  border-radius: 5px;
  text-align: center;
  font-size: 10px;
  color: var(--green);
  cursor: pointer;
  margin-top: 10px;
}
.upload-label input {
  display: block;
  width: 100%;
  font-size: 10px;
  margin-top: 6px;
  min-height: 0;
  padding: 3px;
}
.attachment-link {
  display: block;
  font-size: 10px;
  color: var(--green);
  padding-top: 5px;
}
.radius-control {
  display: flex;
  gap: 8px;
  align-items: center;
}
.radius-control input {
  width: 100%;
  accent-color: var(--green);
  border: 0;
  padding: 0;
}
.radius-control output {
  font-size: 11px;
  white-space: nowrap;
}
.driver-row {
  padding: 9px 0;
  border-bottom: 1px solid #e9edea;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.driver-row small {
  font-size: 9px;
}
.pane-foot {
  padding: 9px 15px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pane-foot .live-dot {
  width: 5px;
  height: 5px;
}
.map-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.map-tools {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  min-height: 55px;
  flex-wrap: wrap;
}
.map-tools label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  white-space: nowrap;
}
.map-tools input {
  accent-color: var(--green);
  width: 13px;
  min-height: 0;
  margin: 0;
}
.map-tools svg {
  width: 15px;
  height: 15px;
}
.map-tools button {
  margin-inline-start: auto;
}
.map-stage {
  position: relative;
  flex: 1;
  min-height: 280px;
}
#map {
  position: absolute;
  inset: 0;
  z-index: 1;
  direction: ltr;
}
.map-caption {
  position: absolute;
  bottom: 55px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 500;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 10px;
  pointer-events: none;
}
.map-legend {
  position: absolute;
  bottom: 24px;
  right: 14px;
  z-index: 500;
  display: flex;
  gap: 12px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  pointer-events: none;
}
.map-legend span {
  display: flex;
  gap: 4px;
  align-items: center;
}
.map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.map-legend .legend-case {
  background: #b86e10;
}
.map-legend .legend-car {
  background: #3458a4;
}
.map-legend .legend-new {
  background: var(--purple);
}
.map-footer {
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 10px;
  gap: 10px;
}
.map-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-footer svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}
.map-footer small {
  font-size: 9px;
}
.map-alert {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 60px;
  z-index: 800;
  background: #fff8e4;
  border: 1px solid #f0ce87;
  border-radius: 6px;
  padding: 9px 12px;
  color: #80510f;
  font-size: 11px;
}
.map-stage.adding #map {
  cursor: crosshair;
}
.center-marker {
  background: var(--green);
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 9px Arial;
  box-shadow: 0 1px 4px #073c3230;
  width: 31px;
  height: 24px;
}
.center-marker.selected {
  background: #104631;
  outline: 3px solid #85bd48;
}
.car-marker {
  width: 30px;
  height: 25px;
  border: 2px solid #fff;
  background: #3458a4;
  border-radius: 5px;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px #0002;
}
.car-marker.available {
  background: #fff;
  color: var(--green);
  border-color: var(--green);
}
.car-marker svg {
  width: 21px;
  height: 17px;
}
.case-marker {
  background: #b86e10;
  width: 15px;
  height: 15px;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 4px #0003;
}
.case-marker.is-new {
  background: var(--purple);
  width: 19px;
  height: 19px;
  box-shadow: 0 0 0 4px #6941c626;
}
.case-marker.done {
  background: #6c737f;
}
.case-marker.selected {
  outline: 3px solid #1b835466;
}
.destination-marker {
  background: #fff8e4;
  color: #975b0d;
  border: 1px dashed #b86e10;
  border-radius: 4px;
  font: 10px 'IBM Plex Sans Arabic';
  padding: 2px 5px;
  white-space: nowrap;
}
.activity-strip {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  font-size: 11px;
  min-height: 49px;
}
.activity-label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--green);
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 15px;
}
.activity-label svg {
  width: 16px;
  height: 16px;
}
#activity {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #57615b;
}
#activity b {
  color: #161616;
  margin-inline-end: 8px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 10px;
  color: var(--muted);
}
.empty {
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty svg {
  display: block;
  margin: 0 auto 12px;
  width: 28px;
  height: 28px;
}
.add-form {
  padding: 18px;
}
.add-form h3 {
  font-size: 14px;
}
.add-form p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0;
}
.add-form .btn {
  width: 100%;
  margin-top: 10px;
}
.coordinate-field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.coordinate-field input {
  width: 100%;
  direction: ltr;
  font-size: 11px;
}
.coordinate-field label {
  font-size: 10px;
  color: var(--muted);
}
.add-preview {
  padding: 12px;
  border: 1px solid #d9e9df;
  background: var(--pale);
  border-radius: 6px;
  font-size: 11px;
}
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
}
.dashboard-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.soft-badge {
  font-size: 10px;
  padding: 5px 9px;
  background: #f0f5f2;
  color: #52665a;
  border-radius: 4px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 19px 20px;
}
.kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #57615b;
  font-size: 12px;
}
.kpi-icon {
  background: var(--pale);
  width: 33px;
  height: 33px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--green);
}
.kpi-icon svg {
  width: 18px;
}
.kpi-value {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  margin: 8px 0 2px;
}
.kpi-value small {
  font-size: 12px;
  margin-inline-start: 5px;
  font-weight: 400;
}
.kpi-foot {
  font-size: 10px;
  color: var(--muted);
}
.kpi-foot b {
  font-weight: 500;
  color: var(--green);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.surface {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}
.section-heading span {
  font-size: 10px;
  color: var(--muted);
}
.bar-row {
  display: grid;
  grid-template-columns: 75px 1fr 28px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin: 16px 0;
}
.bar-track {
  height: 10px;
  border-radius: 3px;
  background: #f1f5f3;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.5s;
}
.bar-fill.light {
  background: #54c08a;
}
.bar-fill.teal {
  background: #07706d;
}
.bar-row b {
  text-align: left;
  font-size: 13px;
}
.chart-foot {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 12px;
  border-top: 1px solid #eaecf0;
  font-size: 10px;
  color: var(--muted);
}
.chart-foot b {
  color: var(--ink);
  font-size: 14px;
  margin-inline-start: 6px;
}
.stage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 7px 0;
  border-bottom: 1px solid #f2f4f7;
}
.stage-row:last-child {
  border: 0;
}
.stage-row span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.stage-row i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.fleet-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 4px 0;
}
.donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.donut-core {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-core strong {
  font-size: 27px;
  line-height: 1.4;
}
.fleet-key {
  flex: 1;
}
.fleet-key > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 12px 0;
  gap: 20px;
}
.waiting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eaecf0;
  font-size: 11px;
  gap: 10px;
}
.waiting-row:last-child {
  border: 0;
}
.waiting-row button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
}
.waiting-row small {
  display: block;
  font-size: 10px;
}
.table-surface {
  margin-top: 20px;
}
.table-scroll {
  overflow: auto;
  max-height: 420px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  white-space: nowrap;
}
th {
  text-align: right;
  font-weight: 500;
  color: #57615b;
  background: #f8faf9;
  padding: 12px 16px;
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid #eaecf0;
}
td button {
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  cursor: pointer;
}
.link-button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #104631;
  color: white;
  border: 1px solid #166a45;
  border-radius: 7px;
  padding: 12px 20px;
  z-index: 2000;
  max-width: calc(100vw - 50px);
  font-size: 12px;
  box-shadow: 0 4px 20px #102a1f16;
}
@media (min-width: 1600px) {
  .map-workspace {
    grid-template-columns: 410px minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 0 24px;
    gap: 15px;
  }
  .site-header nav {
    margin-inline-start: 5px;
  }
  .nav-item {
    padding-inline: 12px;
  }
  .operator > div {
    display: none;
  }
  .content {
    padding-inline: 24px;
  }
  .title-band {
    padding-inline: 24px;
  }
  .map-workspace {
    grid-template-columns: 330px minmax(0, 1fr);
  }
  .filters {
    flex-wrap: wrap;
  }
  .filter-tools {
    flex: 1;
    justify-content: flex-end;
  }
  .search input {
    width: 235px;
  }
  .map-tools {
    gap: 10px;
  }
  .map-tools button {
    font-size: 0 !important;
    padding: 5px !important;
  }
  .map-tools button svg {
    width: 17px;
  }
  .map-footer small {
    display: none;
  }
  .kpi-grid {
    gap: 12px;
  }
  .kpi {
    padding: 16px;
  }
  .kpi-head {
    font-size: 11px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .fleet-content {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px 0;
  }
  .brand img {
    height: 42px;
  }
  .brand-divider {
    height: 26px;
  }
  .product-name {
    font-size: 15px;
  }
  .operator {
    margin-inline-start: auto;
  }
  .site-header nav {
    order: 5;
    width: 100%;
    height: 44px;
    margin: 0;
  }
  .nav-item {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding-inline: 8px;
  }
  .title-band {
    padding: 17px 16px;
    min-height: 120px;
  }
  .title-band h1 {
    font-size: 23px;
  }
  .title-band p {
    font-size: 11px;
  }
  .season-badge {
    padding: 8px;
    font-size: 10px;
    gap: 7px;
  }
  .season-badge > svg {
    display: none;
  }
  .season-badge small {
    font-size: 9px;
  }
  .breadcrumbs {
    font-size: 9px;
    gap: 7px;
  }
  .content {
    padding: 16px 12px 0;
  }
  .operations-bar {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
  }
  .simulation-state {
    gap: 8px;
  }
  .simulation-controls {
    width: 100%;
    justify-content: flex-end;
    gap: 9px;
  }
  .simulation-state small {
    font-size: 10px;
  }
  .simulation-controls label {
    margin-inline-end: auto;
  }
  .filters {
    gap: 12px;
  }
  .region-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .region-tabs button {
    padding: 6px 8px;
    font-size: 11px;
  }
  .region-tabs span {
    margin-inline-start: 3px;
  }
  .filter-tools {
    width: 100%;
    justify-content: stretch;
  }
  .search {
    flex: 1;
    min-width: 0;
  }
  .search input {
    width: 100%;
    font-size: 10px;
  }
  .filter-tools select {
    width: 125px;
    font-size: 10px;
  }
  .map-workspace {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .map-column {
    grid-row: 1;
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
  }
  .map-tools {
    font-size: 10px;
    min-height: 48px;
    padding: 8px 10px;
    gap: 12px;
  }
  .map-tools label {
    font-size: 10px;
  }
  .map-stage {
    min-height: 340px;
  }
  .records-pane {
    border-inline-end: 0;
    border-top: 1px solid var(--line);
    max-height: 620px;
    min-height: 350px;
  }
  .records-list {
    max-height: 480px;
  }
  .pane-title {
    padding-block: 14px;
  }
  .map-footer {
    font-size: 9px;
  }
  .activity-strip {
    padding: 10px;
    font-size: 10px;
    gap: 9px;
  }
  .activity-label {
    padding-inline-end: 9px;
  }
  .page-footer {
    font-size: 9px;
    flex-direction: column;
    gap: 4px;
  }
  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 12px;
  }
  .dashboard-heading h2 {
    font-size: 18px;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .kpi {
    padding: 14px;
  }
  .kpi-head {
    font-size: 11px;
    gap: 6px;
  }
  .kpi-icon {
    width: 27px;
    height: 27px;
  }
  .kpi-value {
    font-size: 28px;
  }
  .kpi-foot {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .surface {
    padding: 18px;
  }
  .section-heading {
    flex-direction: row;
    align-items: center;
  }
  .section-heading h3 {
    font-size: 14px;
  }
  .section-heading span {
    font-size: 9px;
  }
  .map-legend {
    gap: 8px;
    font-size: 9px;
    bottom: 24px;
  }
  .fleet-content {
    gap: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.map-overview .center-marker {
  font-size: 0;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin: 5px 8px;
}
.map-overview .center-marker.selected {
  font-size: 9px;
  width: 31px;
  height: 24px;
  margin: 0;
}
.map-overview .leaflet-marker-icon:hover .center-marker {
  font-size: 9px;
  width: 31px;
  height: 24px;
  margin: 0;
}
