.pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  background: var(--pulse-surface);
  color: var(--pulse-muted-strong);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 750;
}

.pulse-chip::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pulse-cyan);
  content: "";
}

.pulse-chip--quiet::before {
  background: var(--pulse-border-strong);
}

.pulse-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--pulse-navy);
  color: #ffffff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.pulse-action--secondary {
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  color: var(--pulse-navy);
}

.pulse-card {
  border: 1px solid var(--pulse-border);
  border-radius: var(--pulse-radius);
  background: var(--pulse-surface);
  box-shadow: var(--pulse-shadow);
}

.pulse-card--metric {
  min-height: 132px;
  padding: 18px;
  border-top: 3px solid var(--pulse-border-strong);
}

.pulse-card--metric.is-live {
  border-top-color: var(--pulse-green);
}

.pulse-card--metric.is-attention {
  border-top-color: var(--pulse-amber);
}

.pulse-card--metric.is-critical {
  border-top-color: var(--pulse-red);
}

.pulse-card__label {
  margin: 0 0 10px;
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pulse-card__value {
  margin: 0;
  color: var(--pulse-navy);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pulse-card__hint {
  margin: 12px 0 0;
  color: var(--pulse-muted);
  font-size: 12px;
}

.pulse-panel {
  overflow: hidden;
  border: 1px solid var(--pulse-border);
  border-radius: var(--pulse-radius);
  background: var(--pulse-surface);
  box-shadow: var(--pulse-shadow);
}

.pulse-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--pulse-border);
}

.pulse-panel__title {
  margin: 0;
  color: var(--pulse-navy);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pulse-panel__body {
  padding: 18px 20px;
}

.trip-detail-shell {
  display: grid;
  gap: 14px;
}

.trip-hero {
  align-items: stretch;
  border: 1px solid var(--pulse-border);
  border-left: 4px solid var(--pulse-amber);
  border-radius: 8px;
  background: var(--pulse-surface);
  box-shadow: none;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  padding: 20px 22px;
}

.trip-hero__main,
.trip-hero__side {
  min-width: 0;
}

.trip-hero__codes,
.trip-hero__status,
.trip-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trip-hero__codes {
  margin-top: 12px;
}

.trip-hero__meta {
  color: var(--pulse-muted-strong);
  font-size: 13px;
  font-weight: 750;
  margin: 10px 0 0;
}

.trip-hero__meta--secondary {
  color: var(--pulse-muted);
  margin-top: 5px;
}

.trip-hero__side {
  align-content: space-between;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.trip-hero__actions {
  justify-content: flex-end;
}

.trip-hero__actions .pulse-action {
  min-height: 34px;
  padding: 8px 12px;
}

.trip-inline-feedback {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  max-width: 480px;
  text-align: right;
}

.trip-status-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-status-card {
  border-radius: 8px;
  box-shadow: none;
  min-height: 112px;
  padding: 15px 16px;
}

.trip-status-card .pulse-card__value {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.trip-status-card .pulse-card__hint {
  font-size: 11px;
  line-height: 1.4;
}

.trip-detail-board {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.trip-detail-board__main,
.trip-detail-board__side,
.trip-support-stack {
  display: grid;
  gap: 14px;
}

.trip-card--clean {
  border-radius: 8px;
  box-shadow: none;
}

.trip-card--clean .pulse-panel__header {
  padding: 15px 16px 11px;
}

.trip-card--clean .pulse-panel__body {
  padding: 14px 16px 16px;
}

.trip-section .pulse-panel__title {
  font-size: 15px;
}

.trip-detail-list,
.trip-plan-clean {
  gap: 0;
}

.trip-detail-list div,
.trip-plan-clean div {
  min-height: 38px;
}

.trip-map-card .pulse-operational-summary {
  margin-top: 12px;
}

.trip-map-card .pulse-trip-detail-map,
.trip-map-card .pulse-trip-detail-map.leaflet-container {
  height: 300px;
  min-height: 280px;
}

.trip-action-card {
  align-items: flex-start;
  border: 1px solid rgba(24, 165, 88, 0.2);
  border-radius: 8px;
  background: rgba(24, 165, 88, 0.06);
  box-shadow: none;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px;
}

.trip-action-card--compact {
  margin: 0;
}

.trip-action-card h2 {
  color: var(--pulse-navy);
  font-size: 16px;
  font-weight: 850;
  margin: 0;
}

.trip-action-card p {
  color: var(--pulse-muted-strong);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  margin: 6px 0 0;
}

.trip-timeline-card .pulse-panel__body {
  max-height: 360px;
  overflow-y: auto;
}

.pulse-timeline--compact {
  gap: 12px;
}

.pulse-timeline--compact .pulse-timeline__item {
  padding-bottom: 12px;
}

.trip-support-stack {
  margin-top: 2px;
}

.trip-support-drawer,
.trip-nested-details {
  border-radius: 8px;
  box-shadow: none;
}

.trip-support-drawer__content,
.trip-support-drawer .pulse-detail-list,
.trip-support-drawer .pulse-device-summary,
.trip-support-drawer .pulse-filters,
.trip-support-drawer .pulse-placeholder,
.trip-support-drawer .pulse-table-wrap {
  margin: 14px;
}

.trip-support-drawer__status {
  margin-bottom: 10px;
}

@media (max-width: 1180px) {
  .trip-detail-board {
    grid-template-columns: 1fr;
  }

  .trip-detail-board__side {
    grid-template-columns: minmax(0, 1fr);
  }
}

.trip-alert-list {
  display: grid;
  gap: 10px;
}

.trip-alert-card {
  border: 1px solid var(--pulse-border);
  border-left: 4px solid var(--pulse-amber);
  border-radius: 12px;
  background: var(--pulse-surface-soft);
  padding: 14px;
}

.trip-alert-card__header,
.trip-alert-card__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.trip-alert-card__header strong {
  color: var(--pulse-navy);
  font-size: 14px;
  font-weight: 850;
}

.trip-alert-card__meta {
  justify-content: flex-start;
  margin-top: 10px;
}

.trip-alert-card__meta span {
  color: var(--pulse-muted-strong);
  font-size: 12px;
  font-weight: 750;
}

.trip-alert-card p {
  color: var(--pulse-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.trip-plan-editor {
  margin-top: 16px;
}

.trip-plan-editor .pulse-trip-plan-form {
  margin: 0 14px 14px;
}

.trip-technical-details__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-technical-details__grid dd {
  overflow-wrap: anywhere;
}

.pulse-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pulse-filter {
  min-width: 144px;
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  background: var(--pulse-surface-soft);
  color: var(--pulse-muted-strong);
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 650;
}

.pulse-filter--textarea {
  width: 100%;
  min-width: 260px;
  resize: vertical;
  line-height: 1.5;
}

.pulse-create-plan-options {
  flex: 1 1 100%;
  border: 1px solid rgba(17, 74, 119, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 107, 162, 0.08), rgba(245, 249, 252, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
  padding: 0;
}

.pulse-create-plan-options summary {
  align-items: center;
  color: var(--pulse-navy);
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 13px 15px;
}

.pulse-create-plan-options summary::-webkit-details-marker {
  display: none;
}

.pulse-create-plan-options summary::after {
  align-items: center;
  background: var(--pulse-navy);
  border-radius: 999px;
  color: #fff;
  content: "+";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 850;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.pulse-create-plan-options[open] summary::after {
  content: "-";
}

.pulse-create-plan-summary {
  display: grid;
  gap: 3px;
}

.pulse-create-plan-summary strong {
  font-size: 12px;
  font-weight: 850;
}

.pulse-create-plan-summary small {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.pulse-create-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.pulse-create-plan-grid label {
  display: grid;
  gap: 6px;
}

.pulse-create-plan-grid label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-create-plan-notes {
  grid-column: 1 / -1;
}

.pulse-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.pulse-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 18px 18px;
}

.pulse-table-controls,
.pulse-table-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pulse-table-controls {
  align-items: flex-end;
}

.pulse-table-pagination {
  align-items: center;
  justify-content: flex-end;
}

.pulse-table-controls label {
  display: grid;
  gap: 5px;
}

.pulse-table-controls label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-sort-select {
  min-width: 158px;
}

.pulse-page-size-select {
  min-width: 96px;
}

.pulse-pagination-summary,
.pulse-pagination-page {
  align-items: center;
  color: var(--pulse-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 40px;
}

.pulse-pagination-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
}

.pulse-pagination-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.pulse-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.pulse-table th,
.pulse-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--pulse-border);
  text-align: left;
  white-space: nowrap;
}

.pulse-table th {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-table td {
  color: var(--pulse-muted-strong);
  font-weight: 600;
}

.pulse-table strong {
  display: block;
  color: var(--pulse-text);
  font-size: 13px;
}

.pulse-state {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 86px;
  border: 1px dashed var(--pulse-border-strong);
  border-radius: 13px;
  background: var(--pulse-surface-soft);
  padding: 16px;
}

.pulse-state strong {
  display: block;
  color: var(--pulse-navy);
  font-size: 13px;
}

.pulse-state p {
  margin: 4px 0 0;
  color: var(--pulse-muted);
  font-size: 12px;
}

.pulse-state__dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--pulse-cyan);
}

.pulse-state--loading .pulse-state__dot {
  border: 2px solid var(--pulse-cyan-soft);
  border-top-color: var(--pulse-cyan);
  background: transparent;
  animation: pulse-spin 0.8s linear infinite;
}

.pulse-state--empty .pulse-state__dot {
  background: var(--pulse-border-strong);
}

.pulse-state--error {
  border-color: rgba(217, 75, 75, 0.42);
  background: var(--pulse-red-soft);
}

.pulse-state--error .pulse-state__dot {
  background: var(--pulse-red);
}

@keyframes pulse-spin {
  to {
    transform: rotate(360deg);
  }
}

.pulse-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
}

.pulse-status::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
}

.pulse-status--ok {
  background: var(--pulse-green-soft);
  color: #11683d;
}

.pulse-status--ok::before {
  background: var(--pulse-green);
}

.pulse-status--attention {
  background: var(--pulse-amber-soft);
  color: #8a5b04;
}

.pulse-status--attention::before {
  background: var(--pulse-amber);
}

.pulse-status--critical {
  background: var(--pulse-red-soft);
  color: #8f2828;
}

.pulse-status--critical::before {
  background: var(--pulse-red);
}

.pulse-status--neutral {
  background: var(--pulse-blue-soft);
  color: var(--pulse-navy);
}

.pulse-status--neutral::before {
  background: var(--pulse-cyan);
}

.pulse-placeholder {
  border: 1px dashed var(--pulse-border-strong);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(54, 188, 232, 0.08), transparent 58%),
    var(--pulse-surface-soft);
  color: var(--pulse-muted);
  padding: 18px;
  font-size: 13px;
}

.pulse-map-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(24, 58, 99, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 58, 99, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #f7fbfd 0%, #e5f2f8 100%);
  background-size: 36px 36px, 36px 36px, auto;
  color: var(--pulse-muted);
  text-align: center;
}

.pulse-operational-map {
  margin-bottom: 18px;
}

.pulse-map-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pulse-map-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pulse-map-summary strong {
  color: var(--pulse-navy);
}

.pulse-map-expand-button,
.pulse-map-fullscreen-close {
  min-height: 32px;
  padding: 7px 12px;
}

.pulse-map-canvas {
  display: block;
  width: 100%;
  height: 380px;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(24, 58, 99, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 58, 99, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #f7fbfd 0%, #e5f2f8 100%);
  background-size: 36px 36px, 36px 36px, auto;
}

.pulse-map-canvas.leaflet-container {
  width: 100%;
  height: 380px;
  min-height: 320px;
  border-radius: 14px;
  background: #eef5f9;
}

.pulse-map-expanded .pulse-map-canvas,
.pulse-map-expanded .pulse-map-canvas.leaflet-container {
  height: clamp(420px, 42vh, 520px);
  min-height: 420px;
}

.pulse-trip-detail-map {
  height: 360px;
  min-height: 320px;
}

.pulse-trip-detail-map.leaflet-container {
  height: 360px;
}

.pulse-map-status {
  margin-top: 10px;
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 650;
}

.pulse-page {
  background: #f0f4f8;
}

.pulse-topbar {
  min-height: 60px;
  border-bottom: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  padding: 0 28px;
}

.pulse-topbar__title {
  color: var(--pulse-navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pulse-topbar__title span {
  color: var(--pulse-cyan);
}

.pulse-nav__link {
  gap: 10px;
  padding: 11px 20px;
  font-weight: 500;
}

.pulse-nav__icon {
  width: 18px;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.pulse-topbar__right {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.pulse-topbar__meta-group,
.pulse-topbar__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.pulse-topbar__actions {
  flex-shrink: 0;
  justify-content: flex-end;
}

.pulse-topbar__meta {
  color: var(--pulse-muted);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-action--topbar-primary,
.pulse-action--topbar-secondary {
  min-height: 34px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 16px;
}

.pulse-action--topbar-primary {
  background: var(--pulse-cyan);
  color: var(--pulse-navy);
}

.pulse-action--topbar-secondary {
  border: 1.5px solid var(--pulse-border);
  background: transparent;
  color: var(--pulse-muted);
}

.pulse-action--topbar-secondary:hover {
  border-color: var(--pulse-cyan);
  background: #f7fbfe;
  color: var(--pulse-navy);
}

.pulse-monitor-shell {
  margin-bottom: 12px;
}

.pulse-page-compact-header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  max-width: 100%;
  min-width: 0;
}

.pulse-page-compact-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pulse-page-compact-title {
  color: var(--pulse-navy);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
}

.pulse-filter-panel {
  margin-bottom: 16px;
}

.pulse-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.pulse-filter-grid label {
  display: grid;
  gap: 6px;
}

.pulse-filter-grid label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-cycle-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.pulse-cycle-card {
  border: 1px solid var(--pulse-border);
  border-top: 4px solid var(--pulse-navy);
  border-radius: 14px;
  background: var(--pulse-surface);
  box-shadow: var(--pulse-shadow);
  cursor: pointer;
  padding: 14px 16px;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pulse-cycle-card:hover {
  box-shadow: 0 12px 28px rgba(15, 47, 82, 0.11);
  transform: translateY(-1px);
}

.pulse-cycle-card.is-active {
  border-color: rgba(54, 188, 232, 0.6);
  box-shadow: 0 12px 28px rgba(54, 188, 232, 0.16);
}

.pulse-cycle-card strong {
  display: block;
  color: var(--pulse-navy);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.pulse-cycle-card span {
  display: block;
  margin-top: 8px;
  color: var(--pulse-text);
  font-size: 13px;
  font-weight: 850;
}

.pulse-cycle-card small {
  display: block;
  margin-top: 3px;
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
}

.pulse-cycle-card--t1 {
  border-top-color: #2563eb;
}

.pulse-cycle-card--t2 {
  border-top-color: #f59e0b;
}

.pulse-cycle-card--t3 {
  border-top-color: #6d5bd0;
}

.pulse-cycle-card--t4 {
  border-top-color: #1aaa55;
}

.pulse-operation-table th {
  background: var(--pulse-navy);
  color: #fff;
  letter-spacing: .08em;
}

.pulse-operation-table {
  min-width: 760px;
  table-layout: fixed;
}

.pulse-operation-table th:nth-child(1),
.pulse-operation-table td:nth-child(1) {
  width: 16%;
}

.pulse-operation-table th:nth-child(2),
.pulse-operation-table td:nth-child(2) {
  width: 15%;
}

.pulse-operation-table th:nth-child(3),
.pulse-operation-table td:nth-child(3) {
  width: 22%;
}

.pulse-operation-table th:nth-child(4),
.pulse-operation-table td:nth-child(4) {
  width: 18%;
}

.pulse-operation-table th:nth-child(5),
.pulse-operation-table td:nth-child(5) {
  width: 17%;
}

.pulse-operation-table th:nth-child(6),
.pulse-operation-table td:nth-child(6) {
  width: 12%;
}

.pulse-operation-table th:first-child {
  border-top-left-radius: 10px;
}

.pulse-operation-table th:last-child {
  border-top-right-radius: 10px;
}

.pulse-operation-table td {
  background: var(--pulse-surface);
  vertical-align: middle;
  white-space: normal;
  word-break: normal;
}

.pulse-operation-table tr:hover td {
  background: #f8fbff;
}

.pulse-operation-row {
  cursor: pointer;
}

.pulse-operation-table td span {
  display: block;
  margin-top: 2px;
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
}

.pulse-operation-table td strong {
  overflow-wrap: anywhere;
}

.pulse-cycle-inline {
  align-items: center;
  border-radius: 999px;
  display: inline-flex !important;
  gap: 6px;
  margin-top: 0 !important;
  padding: 4px 9px;
  width: max-content;
}

.pulse-cycle-inline::before {
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.pulse-cycle-inline--t1 {
  background: #e0f2fe;
  color: #0369a1 !important;
}

.pulse-cycle-inline--t1::before {
  background: #2563eb;
}

.pulse-cycle-inline--t2 {
  background: #ffedd5;
  color: #9a3412 !important;
}

.pulse-cycle-inline--t2::before {
  background: #f59e0b;
}

.pulse-cycle-inline--t3 {
  background: #ede9fe;
  color: #5b21b6 !important;
}

.pulse-cycle-inline--t3::before {
  background: #6d5bd0;
}

.pulse-cycle-inline--t4 {
  background: #d1fae5;
  color: #065f46 !important;
}

.pulse-cycle-inline--t4::before {
  background: #1aaa55;
}

.pulse-cycle-inline--unknown {
  background: #f1f5f9;
  color: #64748b !important;
}

.pulse-cycle-inline--unknown::before {
  background: #8aa0b8;
}

.pulse-operation-status {
  border-radius: 999px;
  display: inline-flex !important;
  font-size: 11px;
  font-weight: 850;
  margin-top: 0 !important;
  padding: 5px 10px;
  width: max-content;
}

.pulse-operation-status--ok {
  background: #d1fae5;
  color: #065f46 !important;
}

.pulse-operation-status--attention {
  background: #fef3c7;
  color: #92400e !important;
}

.pulse-operation-status--critical {
  background: #fee2e2;
  color: #991b1b !important;
}

.pulse-operation-status--neutral {
  background: #e8eef5;
  color: #53687f !important;
}

.pulse-detail-link {
  border: 1px solid rgba(24, 58, 99, 0.18);
  border-radius: 999px;
  color: var(--pulse-navy);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  padding: 6px 11px;
  text-decoration: none;
}

.pulse-trip-code-link {
  color: var(--pulse-text);
  display: inline-flex;
  text-decoration: none;
}

.pulse-trip-code-link:hover {
  color: var(--pulse-cyan);
}

.pulse-detail-link:hover {
  border-color: var(--pulse-cyan);
  color: var(--pulse-cyan);
}

.pulse-map-support {
  margin-top: 16px;
}

.pulse-map-support .pulse-map-canvas,
.pulse-map-support .pulse-map-canvas.leaflet-container {
  height: 320px;
  min-height: 300px;
}

.pulse-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pulse-map-legend__item {
  align-items: center;
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  color: var(--pulse-muted-strong);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  padding: 5px 10px;
}

.pulse-map-legend__item::before {
  background-color: currentColor;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 11px;
  width: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.4C3 5.6 3.6 5 4.4 5h13.8c.8 0 1.4.6 1.4 1.4v8.8H3V6.4Z'/%3E%3Cpath d='M20.9 9.2h3.9c.5 0 1 .3 1.3.7l2.2 3.4c.2.3.3.6.3 1v.9h-7.7v-6Z'/%3E%3Ccircle cx='9' cy='18' r='2.5'/%3E%3Ccircle cx='23' cy='18' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.4C3 5.6 3.6 5 4.4 5h13.8c.8 0 1.4.6 1.4 1.4v8.8H3V6.4Z'/%3E%3Cpath d='M20.9 9.2h3.9c.5 0 1 .3 1.3.7l2.2 3.4c.2.3.3.6.3 1v.9h-7.7v-6Z'/%3E%3Ccircle cx='9' cy='18' r='2.5'/%3E%3Ccircle cx='23' cy='18' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pulse-map-legend__item--t1::before {
  background: #2563eb;
}

.pulse-map-legend__item--t2::before {
  background: #f59e0b;
}

.pulse-map-legend__item--t3::before {
  background: #6d5bd0;
}

.pulse-map-legend__item--t4::before {
  background: #1aaa55;
}

.pulse-map-legend__item--unknown::before {
  background: #8aa0b8;
}

.pulse-map-truck-marker {
  background: transparent;
  border: 0;
}

.pulse-map-truck-marker__badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  color: var(--pulse-truck-color, #8aa0b8);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.pulse-map-truck-marker--critical .pulse-map-truck-marker__badge {
  box-shadow:
    0 0 0 3px rgba(239, 68, 68, 0.18),
    0 10px 22px rgba(15, 23, 42, 0.24);
  height: 38px;
  width: 38px;
}

.pulse-truck-icon {
  display: block;
  height: 18px;
  width: 24px;
}

.pulse-map-truck-marker--critical .pulse-truck-icon {
  height: 20px;
  width: 26px;
}

.pulse-truck-icon__body,
.pulse-truck-icon__cab {
  fill: currentColor;
}

.pulse-truck-icon__line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-linecap: round;
  stroke-width: 1.4;
}

.pulse-truck-icon__wheel {
  fill: #ffffff;
  stroke: currentColor;
  stroke-width: 1.5;
}

body.pulse-map-fullscreen-open {
  overflow: hidden;
}

.pulse-map-support--expanded {
  display: flex;
  flex-direction: column;
  inset: 24px;
  margin: 0;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  position: fixed;
  z-index: 80;
  box-shadow:
    0 0 0 9999px rgba(10, 20, 40, 0.55),
    0 28px 80px rgba(16, 41, 68, 0.26);
}

.pulse-map-support--expanded .pulse-panel__header {
  flex: 0 0 auto;
}

.pulse-map-support--expanded .pulse-panel__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.pulse-map-support--expanded .pulse-map-legend,
.pulse-map-support--expanded .pulse-map-status {
  flex: 0 0 auto;
}

.pulse-map-support--expanded .pulse-map-canvas,
.pulse-map-support--expanded .pulse-map-canvas.leaflet-container {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.pulse-secondary-create {
  margin-top: 16px;
}

.pulse-secondary-create > details > summary {
  align-items: center;
  color: var(--pulse-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 16px 20px;
}

.pulse-secondary-create > details > summary::-webkit-details-marker {
  display: none;
}

.pulse-secondary-create > details > summary::after {
  align-items: center;
  background: var(--pulse-navy);
  border-radius: 999px;
  color: #fff;
  content: "+";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 850;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.pulse-secondary-create > details[open] > summary::after {
  content: "-";
}

.pulse-secondary-create summary strong {
  display: block;
  font-size: 14px;
  font-weight: 850;
}

.pulse-secondary-create summary small {
  color: var(--pulse-muted);
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin-top: 3px;
}

.pulse-secondary-create .pulse-placeholder {
  margin: 0 20px 16px;
}

.pulse-modal-overlay {
  align-items: center;
  background: rgba(10, 20, 40, 0.55);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 400;
}

.pulse-modal-overlay.is-open {
  display: flex;
}

.pulse-modal {
  background: var(--pulse-surface);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  max-width: 96vw;
  overflow: hidden;
  width: 640px;
}

.pulse-modal-header {
  align-items: center;
  background: var(--pulse-navy);
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
}

.pulse-modal-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.pulse-modal-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
  margin: 2px 0 0;
}

.pulse-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.pulse-modal-body {
  max-height: calc(90vh - 72px);
  overflow-y: auto;
  padding: 24px;
}

.pulse-modal-section {
  margin-bottom: 18px;
}

.pulse-modal-section-title {
  border-bottom: 1px solid var(--pulse-border);
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 0 0 10px;
  padding-bottom: 7px;
  text-transform: uppercase;
}

.pulse-create-required-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-create-required-grid label,
.pulse-modal .pulse-create-plan-grid label {
  display: grid;
  gap: 6px;
}

.pulse-create-required-grid label span,
.pulse-modal .pulse-create-plan-grid label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-create-required-grid label > .pulse-field-label,
.pulse-modal .pulse-create-plan-grid label > .pulse-field-label {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}

.pulse-field-chip {
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  display: inline-flex;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  padding: 4px 7px;
  text-transform: none;
  white-space: nowrap;
}

.pulse-field-chip--required {
  background: rgba(217, 75, 75, 0.08);
  border-color: rgba(217, 75, 75, 0.28);
  color: #8f2d2d;
}

.pulse-field-chip--invite {
  background: rgba(54, 188, 232, 0.10);
  border-color: rgba(54, 188, 232, 0.36);
  color: var(--pulse-navy);
}

.pulse-field-chip--recommended {
  background: rgba(225, 167, 64, 0.10);
  border-color: rgba(225, 167, 64, 0.34);
  color: #8c5d12;
}

.pulse-modal-help {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  margin: -2px 0 12px;
}

.pulse-admin-discard-modal {
  width: 520px;
}

.pulse-admin-discard-text {
  color: var(--pulse-muted-strong);
  font-size: 13px;
  margin: 0;
}

.pulse-admin-discard-action {
  background: var(--pulse-cyan);
  color: var(--pulse-navy);
}

.pulse-admin-discard-action:hover,
.pulse-admin-discard-action:focus-visible {
  background: #3ABFEB;
  color: var(--pulse-navy);
}

.pulse-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.pulse-trip-wizard-modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  max-width: 1040px;
  width: min(1040px, calc(100vw - 48px));
}

.pulse-trip-wizard-body {
  flex: 1 1 auto;
  max-height: calc(100vh - 126px);
  overflow-y: auto;
  padding: 28px 32px 0;
}

.pulse-trip-import-modal {
  width: 760px;
}

.pulse-admin-catalog {
  display: grid;
  gap: 18px;
}

.pulse-admin-page-tabs {
  display: flex;
  gap: 4px;
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  background: var(--pulse-surface);
  padding: 6px;
}

.pulse-admin-page-tab {
  align-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--pulse-muted);
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  gap: 6px;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  text-align: center;
}

.pulse-admin-page-tab:hover {
  background: var(--pulse-surface-soft);
  color: var(--pulse-navy);
}

.pulse-admin-page-tab.is-active {
  background: var(--pulse-navy);
  color: #fff;
}

.pulse-admin-mini-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pulse-admin-mini-summary.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pulse-admin-mini-card {
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  border-top: 3px solid var(--pulse-border-strong);
  background: var(--pulse-surface);
  padding: 16px 18px;
}

.pulse-admin-mini-card.is-blue {
  border-top-color: var(--pulse-navy);
}

.pulse-admin-mini-card.is-green {
  border-top-color: var(--pulse-green);
}

.pulse-admin-mini-card.is-cyan {
  border-top-color: var(--pulse-cyan);
}

.pulse-admin-mini-card.is-amber {
  border-top-color: var(--pulse-amber);
}

.pulse-admin-mini-card.is-hidden {
  display: none;
}

.pulse-admin-mini-label {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.pulse-admin-mini-num {
  color: var(--pulse-navy);
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
  margin: 0;
}

.pulse-admin-section-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.pulse-admin-section-title {
  color: var(--pulse-navy);
  font-size: 16px;
  font-weight: 850;
  margin: 0;
}

.pulse-admin-section-sub {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 650;
  margin: 4px 0 0;
}

.pulse-admin-toolbar {
  align-items: center;
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  background: var(--pulse-surface);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
}

.pulse-admin-search {
  flex: 1 1 240px;
  min-width: 180px;
}

.pulse-admin-search,
.pulse-admin-filter {
  border: 1.5px solid var(--pulse-border);
  border-radius: 6px;
  background: var(--pulse-surface);
  color: var(--pulse-text);
  font-family: inherit;
  font-size: 13px;
  outline: 0;
  padding: 8px 12px;
}

.pulse-admin-search:focus,
.pulse-admin-filter:focus {
  border-color: var(--pulse-cyan);
}

.pulse-admin-table-wrap {
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  background: var(--pulse-surface);
  overflow: hidden;
}

.pulse-admin-table {
  border-collapse: collapse;
  width: 100%;
}

.pulse-admin-table thead tr {
  border-bottom: 2px solid var(--pulse-border);
  background: #f7f9fc;
}

.pulse-admin-table th {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 11px 16px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-admin-table td {
  border-bottom: 1px solid var(--pulse-border);
  font-size: 13px;
  padding: 12px 16px;
  vertical-align: middle;
}

.pulse-admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.pulse-admin-table tbody tr:hover {
  background: #f5f9ff;
}

.pulse-admin-td-primary {
  color: var(--pulse-navy);
  font-weight: 800;
}

.pulse-admin-td-sub {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  margin-top: 2px;
}

.pulse-admin-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pulse-admin-act-btn {
  align-items: center;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
  justify-content: center;
  min-height: 28px;
  padding: 5px 11px;
}

.pulse-admin-act-btn:hover {
  opacity: .84;
}

.pulse-admin-act-btn--edit {
  background: #fef3c7;
  color: #92400e;
}

.pulse-admin-act-btn--inactive {
  background: #fee2e2;
  color: #991b1b;
}

.pulse-admin-act-btn--active {
  background: #d1fae5;
  color: #065f46;
}

.pulse-admin-audit-panel {
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  background: var(--pulse-surface);
  overflow: hidden;
}

.pulse-admin-audit-panel[hidden] {
  display: none;
}

.pulse-admin-audit-header {
  align-items: center;
  border-bottom: 1px solid var(--pulse-border);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.pulse-admin-audit-title {
  color: var(--pulse-navy);
  font-size: 14px;
  font-weight: 850;
  margin: 0;
}

.pulse-admin-audit-scroll {
  max-height: 260px;
  overflow: auto;
}

.pulse-master-data-panel .pulse-panel__body {
  display: grid;
  gap: 14px;
}

.pulse-admin-users-panel .pulse-panel__body {
  border-bottom: 1px solid var(--pulse-border);
  padding-bottom: 14px;
}

.pulse-master-data-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-master-data-tab {
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  background: #fff;
  color: var(--pulse-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  padding: 8px 13px;
}

.pulse-master-data-tab:hover {
  border-color: var(--pulse-cyan);
  color: var(--pulse-navy);
}

.pulse-master-data-tab.is-active {
  border-color: var(--pulse-navy);
  background: var(--pulse-navy);
  color: #fff;
}

.pulse-master-data-toolbar {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.pulse-master-data-description {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 650;
  margin: 5px 0 0;
}

.pulse-master-data-table td {
  white-space: normal;
}

.pulse-master-data-table td strong {
  overflow-wrap: anywhere;
}

.pulse-master-data-modal {
  width: 640px;
}

.pulse-admin-user-modal {
  width: 640px;
}

.pulse-master-data-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-admin-user-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-master-data-form-grid label {
  display: grid;
  gap: 6px;
}

.pulse-admin-user-form-grid label {
  display: grid;
  gap: 6px;
}

.pulse-master-data-form-grid label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-master-data-form-grid input[readonly] {
  background: #f3f7fb;
  color: var(--pulse-muted-strong);
  cursor: default;
}

.pulse-admin-user-form-grid label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-master-data-form-grid label.is-full {
  grid-column: 1 / -1;
}

.pulse-master-data-autocomplete {
  position: relative;
}

.pulse-master-data-autocomplete .pulse-filter {
  width: 100%;
}

.pulse-master-data-suggestions {
  background: #ffffff;
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(10, 20, 40, 0.10);
  left: 0;
  max-height: 184px;
  overflow: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 430;
}

.pulse-master-data-suggestion {
  align-items: flex-start;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--pulse-border);
  color: var(--pulse-navy);
  cursor: pointer;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.pulse-master-data-suggestion:last-child {
  border-bottom: 0;
}

.pulse-master-data-suggestion:hover,
.pulse-master-data-suggestion:focus-visible {
  background: var(--pulse-cyan-soft);
}

.pulse-master-data-suggestion strong {
  font-size: 12px;
  font-weight: 800;
}

.pulse-master-data-suggestion span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pulse-master-data-suggestion.is-empty {
  cursor: default;
}

.pulse-master-data-suggestion.is-empty:hover {
  background: #ffffff;
}

.pulse-master-data-auto-note {
  background: var(--pulse-cyan-soft);
  border: 1px solid rgba(54, 188, 232, 0.35);
  border-radius: 10px;
  color: var(--pulse-navy);
  font-size: 12px;
  font-weight: 650;
  grid-column: 1 / -1;
  line-height: 1.4;
  margin: 0;
  padding: 10px 12px;
}

.pulse-trip-import-upload {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pulse-trip-import-upload .pulse-filter {
  flex: 1 1 260px;
}

.pulse-trip-import-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.pulse-trip-import-summary span {
  background: var(--pulse-surface-soft);
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  color: var(--pulse-muted);
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 3px;
  padding: 10px;
}

.pulse-trip-import-summary strong {
  color: var(--pulse-navy);
  font-size: 14px;
}

.pulse-trip-import-results {
  display: grid;
  gap: 10px;
}

.pulse-trip-import-row {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
}

.pulse-trip-import-row--warning {
  border-color: rgba(225, 167, 64, 0.42);
  background: rgba(225, 167, 64, 0.08);
}

.pulse-trip-import-row--error {
  border-color: rgba(217, 75, 75, 0.34);
  background: rgba(217, 75, 75, 0.08);
}

.pulse-trip-import-row__header,
.pulse-trip-import-row__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
}

.pulse-trip-import-row__header span,
.pulse-trip-import-row__meta {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 700;
}

.pulse-trip-import-row__header strong,
.pulse-trip-import-row__meta strong {
  color: var(--pulse-navy);
}

.pulse-trip-import-issues {
  color: var(--pulse-muted);
  display: grid;
  font-size: 11px;
  font-weight: 650;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.pulse-trip-import-no-issues {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  margin: 0;
}

.pulse-trip-import-confirm {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface-soft);
  padding: 12px;
}

.pulse-trip-import-confirm-result {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pulse-trip-import-confirm-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-trip-import-confirm-summary span {
  background: #fff;
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 10px;
}

.pulse-trip-import-confirm-summary strong {
  color: var(--pulse-navy);
}

.pulse-trip-import-confirm-list {
  display: grid;
  gap: 6px;
}

.pulse-trip-import-confirm-list > strong {
  color: var(--pulse-navy);
  font-size: 12px;
}

.pulse-trip-import-confirm-item {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  color: var(--pulse-muted);
  display: grid;
  font-size: 11px;
  font-weight: 650;
  gap: 4px;
  padding: 8px 10px;
}

.pulse-trip-import-confirm-item--created {
  border-color: rgba(48, 160, 116, 0.36);
  background: rgba(48, 160, 116, 0.08);
}

.pulse-trip-import-confirm-item--skipped {
  border-color: rgba(217, 75, 75, 0.34);
  background: rgba(217, 75, 75, 0.08);
}

.pulse-trip-import-confirm-item strong {
  color: var(--pulse-navy);
}

.pulse-trip-wizard-steps {
  align-items: flex-start;
  display: flex;
  gap: 0;
  margin: 0 0 28px;
}

.pulse-trip-wizard-step {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--pulse-muted);
  cursor: pointer;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  font-family: inherit;
  gap: 4px;
  min-width: 0;
  padding: 0;
  position: relative;
}

.pulse-trip-wizard-step__line {
  background: var(--pulse-border);
  height: 2px;
  left: 50%;
  position: absolute;
  right: -50%;
  top: 15px;
  z-index: 0;
}

.pulse-trip-wizard-step:last-child .pulse-trip-wizard-step__line {
  display: none;
}

.pulse-trip-wizard-step__circle {
  align-items: center;
  background: var(--pulse-surface);
  border: 2px solid var(--pulse-border);
  border-radius: 50%;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  height: 30px;
  justify-content: center;
  position: relative;
  transition: border-color 0.16s, background 0.16s, color 0.16s;
  width: 30px;
  z-index: 1;
}

.pulse-trip-wizard-step__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pulse-trip-wizard-step.is-active .pulse-trip-wizard-step__circle {
  background: var(--pulse-cyan);
  border-color: var(--pulse-cyan);
  color: var(--pulse-navy);
}

.pulse-trip-wizard-step.is-active .pulse-trip-wizard-step__label {
  color: var(--pulse-cyan);
}

.pulse-trip-wizard-step.is-complete .pulse-trip-wizard-step__circle,
.pulse-trip-wizard-step.is-complete .pulse-trip-wizard-step__line {
  background: var(--pulse-green);
  border-color: var(--pulse-green);
  color: #fff;
}

.pulse-trip-wizard-step.is-complete .pulse-trip-wizard-step__label {
  color: var(--pulse-green);
}

.pulse-trip-wizard-pane {
  display: none;
}

.pulse-trip-wizard-pane.is-active {
  display: block;
}

.pulse-trip-wizard-pane.pulse-create-plan-options {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.pulse-trip-wizard-pane .pulse-create-plan-grid {
  gap: 16px 18px;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  padding: 0;
}

.pulse-trip-wizard-modal .pulse-filter {
  border: 1.5px solid var(--pulse-border);
  border-radius: 6px;
  background: #fff;
  color: var(--pulse-text);
  font-size: 13px;
  font-weight: 650;
  padding: 9px 12px;
}

.pulse-trip-wizard-modal .pulse-filter:focus {
  border-color: var(--pulse-cyan);
}

.pulse-trip-master-copy {
  border-left: 3px solid var(--pulse-cyan);
  padding-left: 10px;
}

.pulse-trip-plan-block {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface-soft);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.pulse-trip-plan-block + .pulse-trip-plan-block,
.pulse-trip-plan-block + .pulse-create-plan-grid {
  margin-top: 18px;
}

.pulse-trip-plan-block__header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.pulse-trip-plan-block__header h4 {
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 850;
  margin: 0;
}

.pulse-trip-plan-block .pulse-create-plan-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.pulse-trip-plan-block .pulse-create-plan-grid > label:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 420px;
  width: 100%;
}

.pulse-trip-plan-mode {
  background: transparent;
  border: 0;
  color: var(--pulse-cyan);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  padding: 0;
}

.pulse-trip-master-field {
  position: relative;
}

.pulse-trip-municipality-field {
  position: relative;
}

.pulse-trip-master-status {
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  color: var(--pulse-muted);
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
  width: fit-content;
}

.pulse-trip-master-status[hidden] {
  display: none !important;
}

.pulse-trip-master-mode {
  align-items: center;
  color: var(--pulse-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.pulse-trip-master-mode span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.pulse-trip-master-mode button {
  background: transparent;
  border: 0;
  color: var(--pulse-cyan);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0;
}

.pulse-trip-master-mode button:hover,
.pulse-trip-master-mode button:focus-visible,
.pulse-trip-plan-mode:hover,
.pulse-trip-plan-mode:focus-visible {
  text-decoration: underline;
}

.pulse-trip-master-status--official {
  background: var(--pulse-cyan-soft);
  border-color: rgba(54, 188, 232, 0.42);
  color: var(--pulse-navy);
}

.pulse-trip-master-status--free {
  background: #fff;
}

.pulse-trip-master-status--empty {
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.pulse-trip-master-suggestions {
  background: #fff;
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(10, 20, 40, 0.10);
  max-height: 180px;
  overflow: auto;
  position: static;
  z-index: 470;
}

.pulse-trip-master-suggestions[hidden] {
  display: none !important;
}

.pulse-trip-master-suggestion {
  align-items: flex-start;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--pulse-border);
  color: var(--pulse-navy);
  cursor: pointer;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.pulse-trip-master-suggestion:last-child {
  border-bottom: 0;
}

.pulse-trip-master-suggestion:hover,
.pulse-trip-master-suggestion:focus-visible {
  background: var(--pulse-cyan-soft);
}

.pulse-trip-master-suggestion strong {
  font-size: 12px;
  font-weight: 850;
}

.pulse-trip-master-suggestion span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pulse-trip-master-suggestion--official span {
  color: var(--pulse-navy);
}

.pulse-trip-master-suggestion--empty {
  color: var(--pulse-muted);
  cursor: default;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.pulse-trip-master-suggestion--empty:hover {
  background: #fff;
}

.pulse-create-field-full {
  grid-column: 1 / -1;
}

.pulse-trip-wizard-choice {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface-soft);
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 12px 14px;
}

.pulse-trip-wizard-choice--accent {
  border-color: rgba(54, 188, 232, 0.34);
  background: rgba(54, 188, 232, 0.08);
}

.pulse-trip-wizard-choice strong {
  color: var(--pulse-navy);
  font-size: 12px;
  font-weight: 850;
}

.pulse-trip-wizard-choice span {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.pulse-trip-wizard-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.pulse-trip-summary-section {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface-soft);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.pulse-trip-summary-section h4 {
  color: var(--pulse-navy);
  font-size: 12px;
  font-weight: 850;
  margin: 0;
}

.pulse-trip-summary-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-trip-summary-grid div {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.pulse-trip-summary-grid span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-trip-summary-grid strong {
  color: var(--pulse-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.pulse-trip-summary-source {
  align-self: flex-start;
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  color: var(--pulse-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .06em;
  padding: 4px 7px;
  text-transform: uppercase;
  width: fit-content;
}

.pulse-trip-summary-source--official {
  background: var(--pulse-cyan-soft);
  border-color: rgba(54, 188, 232, 0.42);
  color: var(--pulse-navy);
}

.pulse-trip-readiness {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface-soft);
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.pulse-trip-readiness--ready {
  border-color: rgba(48, 160, 116, 0.36);
  background: rgba(48, 160, 116, 0.08);
}

.pulse-trip-readiness--partial {
  border-color: rgba(225, 167, 64, 0.38);
  background: rgba(225, 167, 64, 0.08);
}

.pulse-trip-readiness--incomplete {
  border-color: rgba(217, 75, 75, 0.34);
  background: rgba(217, 75, 75, 0.08);
}

.pulse-trip-readiness__status {
  color: var(--pulse-navy);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.pulse-trip-readiness__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.pulse-trip-readiness__group {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: #fff;
  color: var(--pulse-muted);
  display: grid;
  font-size: 11px;
  font-weight: 650;
  gap: 5px;
  line-height: 1.35;
  padding: 9px 10px;
}

.pulse-trip-readiness__group strong {
  color: var(--pulse-navy);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pulse-trip-readiness__group ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 16px;
}

.pulse-trip-duplicate-check {
  border: 1px solid rgba(225, 167, 64, 0.42);
  border-radius: 8px;
  background: rgba(225, 167, 64, 0.1);
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.pulse-trip-duplicate-check[hidden] {
  display: none !important;
}

.pulse-trip-duplicate-check__status {
  color: var(--pulse-navy);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.pulse-trip-duplicate-check__list {
  color: var(--pulse-muted);
  display: grid;
  font-size: 11px;
  font-weight: 650;
  gap: 4px;
  line-height: 1.35;
  margin: 0;
  padding-left: 18px;
}

.pulse-trip-wizard-actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), #fff 32%);
  border-top: 1px solid var(--pulse-border);
  bottom: 0;
  margin: 20px -32px 0;
  padding: 16px 32px 24px;
  position: sticky;
  z-index: 20;
}

.pulse-trip-wizard-actions [hidden] {
  display: none !important;
}

.pulse-trip-wizard-actions .pulse-action:not(.pulse-action--secondary),
.pulse-trip-exit-confirm__actions .pulse-action:not(.pulse-action--secondary) {
  background: var(--pulse-cyan);
  color: var(--pulse-navy);
}

.pulse-trip-start-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.pulse-trip-start-options h4 {
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 850;
  margin: 0;
}

.pulse-trip-exit-confirm {
  z-index: 460;
}

.pulse-trip-exit-confirm__modal {
  border-radius: 18px;
  max-width: 520px;
  width: min(520px, calc(100vw - 32px));
}

.pulse-trip-exit-confirm__body {
  display: grid;
  gap: 8px;
  padding: 22px 24px 10px;
}

.pulse-trip-exit-confirm__body span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-trip-exit-confirm__body strong {
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.pulse-trip-exit-confirm__actions {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding: 4px 24px 24px;
}

.pulse-trip-exit-confirm__actions .pulse-action {
  flex: 1 1 170px;
  min-height: 46px;
}

.pulse-operational-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pulse-operational-summary__item {
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  background: var(--pulse-surface-soft);
  padding: 12px;
}

.pulse-operational-summary__item span {
  display: block;
  margin-bottom: 4px;
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-operational-summary__item strong {
  color: var(--pulse-navy);
  font-size: 13px;
}

.pulse-device-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pulse-device-summary__item {
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  background: var(--pulse-surface-soft);
  padding: 12px;
}

.pulse-device-summary__item span {
  display: block;
  margin-bottom: 4px;
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-device-summary__item strong {
  color: var(--pulse-navy);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.pulse-technical-details {
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  background: var(--pulse-surface-soft);
  padding: 0;
}

.pulse-technical-details summary {
  align-items: center;
  color: var(--pulse-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 13px 15px;
}

.pulse-technical-details summary::-webkit-details-marker {
  display: none;
}

.pulse-technical-details summary::after {
  align-items: center;
  background: var(--pulse-navy);
  border-radius: 999px;
  color: #fff;
  content: "+";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 850;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.pulse-technical-details[open] summary::after {
  content: "-";
}

.pulse-technical-details summary span {
  display: grid;
  gap: 3px;
}

.pulse-technical-details summary strong {
  font-size: 12px;
  font-weight: 850;
}

.pulse-technical-details summary small {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.pulse-technical-details .pulse-filters,
.pulse-technical-details .pulse-detail-list {
  margin: 0 14px 14px;
}

.pulse-map-popup {
  width: min(320px, calc(100vw - 80px));
  color: var(--pulse-muted-strong);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.pulse-map-popup__title {
  display: block;
  margin-bottom: 4px;
  color: var(--pulse-navy);
  font-size: 14px;
  font-weight: 850;
}

.pulse-map-popup__route {
  margin: 0 0 10px;
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 700;
}

.pulse-map-popup__reference {
  margin: -2px 0 6px;
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 750;
}

.pulse-map-popup__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.pulse-map-popup__badge {
  border: 1px solid var(--pulse-border);
  border-radius: 999px;
  background: #f7fbfe;
  color: var(--pulse-muted-strong);
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
}

.pulse-map-popup__badge--ok {
  border-color: rgba(24, 165, 88, 0.22);
  background: var(--pulse-green-soft);
  color: #12663c;
}

.pulse-map-popup__badge--attention {
  border-color: rgba(242, 163, 24, 0.26);
  background: var(--pulse-amber-soft);
  color: #8a4e08;
}

.pulse-map-popup__badge--critical {
  border-color: rgba(217, 75, 75, 0.24);
  background: var(--pulse-red-soft);
  color: #991b1b;
}

.pulse-map-popup__meta {
  display: grid;
  gap: 6px;
}

.pulse-map-popup__row {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 92px minmax(0, 1fr);
}

.pulse-map-popup__label {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-map-popup__value {
  color: var(--pulse-text);
  font-size: 11px;
  font-weight: 750;
}

.pulse-map-popup__action {
  display: inline-flex;
  margin-top: 12px;
  color: var(--pulse-navy);
  font-weight: 800;
  text-decoration: none;
}

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

.pulse-timeline__item {
  position: relative;
  padding-left: 24px;
}

.pulse-timeline__item::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--pulse-cyan);
  border-radius: 999px;
  background: var(--pulse-surface);
  content: "";
}

.pulse-timeline__item strong {
  display: block;
  color: var(--pulse-text);
  font-size: 13px;
}

.pulse-timeline__item span {
  color: var(--pulse-muted);
  font-size: 12px;
}

.pulse-detail-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.pulse-detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pulse-border);
}

.pulse-detail-list dt {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-detail-list dd {
  margin: 0;
  color: var(--pulse-text);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.pulse-plan-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.pulse-trip-plan-form {
  display: grid;
  gap: 14px;
}

.pulse-plan-group {
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  background: var(--pulse-surface-soft);
  padding: 14px;
}

.pulse-plan-group h3 {
  margin: 0 0 10px;
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 850;
}

.pulse-plan-group label {
  display: grid;
  gap: 6px;
}

.pulse-plan-group label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pulse-plan-actions .pulse-placeholder {
  flex: 1 1 260px;
  margin: 0;
}

.pulse-tracking-invite-form {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.pulse-tracking-invite-form__intro,
.pulse-tracking-invite-form__technical {
  margin: 0;
}

.pulse-tracking-invite-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pulse-tracking-invite-form__grid label {
  display: grid;
  gap: 6px;
}

.pulse-tracking-invite-form__grid label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-tracking-invite-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pulse-login-body {
  background:
    radial-gradient(circle at 18% 16%, rgba(58, 191, 235, 0.22), transparent 24rem),
    linear-gradient(135deg, #1b3966 0%, #102944 58%, #17365c 100%);
  min-height: 100vh;
}

.pulse-login-shell {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 420px);
  justify-content: center;
  min-height: 100vh;
  padding: 44px;
}

.pulse-login-hero {
  color: #ffffff;
  max-width: 620px;
}

.pulse-login-brand {
  align-items: flex-start;
  display: inline-grid;
  gap: 12px;
  margin-bottom: 48px;
}

.pulse-login-brand__logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.pulse-login-brand__product {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(58, 191, 235, 0.28);
  border-radius: 999px;
  background: rgba(58, 191, 235, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.pulse-login-copy h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.pulse-login-copy p:last-child {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.pulse-login-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pulse-login-highlights span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 750;
  padding: 7px 12px;
}

.pulse-login-card {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(5, 19, 38, 0.36);
  padding: 34px;
}

.pulse-login-card__header h2 {
  margin: 0;
  color: var(--pulse-navy);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.pulse-login-card__header p:last-child {
  margin: 7px 0 24px;
  color: var(--pulse-muted);
  font-size: 13px;
}

.pulse-login-form {
  display: grid;
  gap: 16px;
}

.pulse-login-form label {
  display: grid;
  gap: 7px;
}

.pulse-login-form label span {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-login-form input {
  width: 100%;
  border: 1.5px solid var(--pulse-border);
  border-radius: 10px;
  color: var(--pulse-text);
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pulse-login-form input:focus {
  border-color: var(--pulse-cyan);
  box-shadow: 0 0 0 3px rgba(54, 188, 232, 0.14);
}

.pulse-login-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--pulse-cyan);
  color: var(--pulse-navy);
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 850;
  margin-top: 4px;
  padding: 13px 16px;
  transition: opacity 0.15s, transform 0.15s;
}

.pulse-login-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.pulse-login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.pulse-login-feedback {
  border: 1px solid var(--pulse-border);
  border-radius: 10px;
  background: var(--pulse-surface-soft);
  color: var(--pulse-muted-strong);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  margin-top: 16px;
  padding: 11px 13px;
}

.pulse-login-feedback.is-error {
  border-color: rgba(217, 75, 75, 0.34);
  background: var(--pulse-red-soft);
  color: #991b1b;
}

.pulse-login-logout {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--pulse-muted);
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
  padding: 8px;
}

.pulse-login-logout:hover {
  color: var(--pulse-navy);
}

.pulse-login-debug {
  border-top: 1px solid var(--pulse-border);
  margin-top: 18px;
  padding-top: 12px;
}

.pulse-login-debug summary {
  color: var(--pulse-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.pulse-login-debug dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.pulse-login-debug div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--pulse-border);
  padding-top: 8px;
}

.pulse-login-debug dt {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-login-debug dd {
  margin: 0;
  color: var(--pulse-text);
  font-size: 11px;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}

.pulse-login-footer {
  margin-top: 18px;
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

.pulse-toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.pulse-toast {
  border: 1px solid rgba(18, 32, 47, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 32, 47, 0.14);
  background: #ffffff;
  color: var(--pulse-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  padding: 12px 14px;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pulse-toast--ok {
  border-color: rgba(27, 154, 89, 0.26);
  background: #f0fbf5;
  color: #12663c;
}

.pulse-toast--error {
  border-color: rgba(217, 75, 75, 0.3);
  background: var(--pulse-red-soft);
  color: #991b1b;
}

.pulse-toast--attention {
  border-color: rgba(217, 143, 36, 0.3);
  background: #fff8eb;
  color: #8a4e08;
}

.pulse-toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

.pulse-alert-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pulse-alert-summary-card {
  background: var(--pulse-surface);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 8px;
  box-shadow: var(--pulse-shadow-soft);
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  position: relative;
}

.pulse-alert-summary-card::before {
  border-radius: 8px 0 0 8px;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.pulse-alert-summary-card--critical::before,
.pulse-alert-card--critical::before {
  background: #d94b4b;
}

.pulse-alert-summary-card--attention::before,
.pulse-alert-card--attention::before {
  background: #e6a700;
}

.pulse-alert-summary-card--treatment::before,
.pulse-alert-card--treatment::before {
  background: #2563eb;
}

.pulse-alert-summary-card--resolved::before,
.pulse-alert-card--resolved::before,
.pulse-alert-card--ok::before {
  background: #22a06b;
}

.pulse-alert-summary-card span,
.pulse-alert-card__body span,
.pulse-alert-card__head span,
.pulse-alert-card__meta {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 700;
}

.pulse-alert-summary-card strong {
  color: var(--pulse-text);
  font-size: 34px;
  line-height: 1;
}

.pulse-alert-summary-card small {
  color: var(--pulse-muted);
  font-size: 12px;
  line-height: 1.45;
}

.pulse-alert-toolbar {
  align-items: center;
  background: var(--pulse-surface);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 8px;
  box-shadow: var(--pulse-shadow-soft);
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
}

.pulse-alert-search {
  display: grid;
  flex: 1 1 320px;
  gap: 6px;
}

.pulse-alert-search span {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 700;
}

.pulse-alert-quick-filters {
  display: flex;
  flex: 2 1 420px;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pulse-alert-filter-chip {
  background: #fff;
  border: 1px solid rgba(30, 64, 175, 0.14);
  border-radius: 999px;
  color: var(--pulse-muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 13px;
}

.pulse-alert-filter-chip.is-active {
  background: var(--pulse-navy);
  border-color: var(--pulse-navy);
  color: #fff;
}

.pulse-alert-card-list {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.pulse-alert-card {
  background: #fff;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 8px;
  box-shadow: var(--pulse-shadow-soft);
  cursor: pointer;
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  position: relative;
}

.pulse-alert-card::before {
  border-radius: 8px 0 0 8px;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}

.pulse-alert-card.is-selected {
  border-color: rgba(37, 99, 235, 0.46);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10), var(--pulse-shadow-soft);
}

.pulse-alert-card__head,
.pulse-alert-card__meta,
.pulse-alert-card__actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.pulse-alert-card__head div {
  display: grid;
  gap: 3px;
}

.pulse-alert-card__head strong {
  color: var(--pulse-text);
  font-size: 18px;
}

.pulse-alert-card__body {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pulse-alert-card__body div {
  background: rgba(30, 64, 175, 0.04);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 10px;
}

.pulse-alert-card__body strong {
  color: var(--pulse-text);
  font-size: 13px;
  line-height: 1.35;
}

.pulse-alert-card__actions {
  border-top: 1px solid rgba(30, 64, 175, 0.10);
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-top: 12px;
}

.trip-detail-v2-page .pulse-content {
  gap: 14px;
}

.trip-detail-v2 {
  display: grid;
}

.trip-detail-v2__state[hidden] {
  display: none;
}

.trip-detail-v2__hero,
.trip-detail-v2__panel,
.trip-detail-v2__technical {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface);
  box-shadow: none;
}

.trip-detail-v2__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 20px;
  border-left: 4px solid var(--pulse-amber);
  padding: 22px 24px;
}

.trip-detail-v2__hero h1 {
  margin: 0;
  color: var(--pulse-navy);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
}

.trip-detail-v2__route {
  margin: 10px 0 0;
  color: var(--pulse-navy);
  font-size: 15px;
  font-weight: 750;
}

.trip-detail-v2__meta {
  margin: 7px 0 0;
  color: var(--pulse-muted-strong);
  font-size: 13px;
  font-weight: 650;
}

.trip-detail-v2__hero-side {
  align-content: space-between;
  display: grid;
  gap: 14px;
  justify-items: end;
}

.trip-detail-v2__badges,
.trip-detail-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.trip-detail-v2__actions .pulse-action {
  min-height: 34px;
  padding: 8px 12px;
}

.trip-detail-v2__cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-detail-v2__card {
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: var(--pulse-surface);
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 15px 16px;
}

.trip-detail-v2__card span,
.trip-detail-v2__facts dt {
  color: var(--pulse-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trip-detail-v2__card strong {
  color: var(--pulse-navy);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.trip-detail-v2__card small {
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.trip-detail-v2__body {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.trip-detail-v2__left,
.trip-detail-v2__right,
.trip-detail-v2__secondary {
  display: grid;
  gap: 14px;
}

.trip-detail-v2__panel {
  overflow: hidden;
}

.trip-detail-v2__panel header {
  border-bottom: 1px solid var(--pulse-border);
  padding: 15px 16px 11px;
}

.trip-detail-v2__panel h2 {
  margin: 0;
  color: var(--pulse-navy);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.trip-detail-v2__panel > p,
.trip-detail-v2__next-action p,
.trip-detail-v2__map-status {
  color: var(--pulse-muted-strong);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  margin: 12px 16px 16px;
}

.trip-detail-v2__facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 2px 16px 16px;
}

.trip-detail-v2__facts div {
  border-bottom: 1px solid rgba(122, 139, 162, 0.16);
  display: grid;
  gap: 4px;
  min-height: 42px;
  padding: 10px 0;
}

.trip-detail-v2__facts dd {
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 760;
  margin: 0;
  overflow-wrap: anywhere;
}

.trip-detail-v2__facts--compact {
  grid-template-columns: 1fr;
}

.trip-detail-v2__map {
  height: 300px;
  min-height: 280px;
  margin: 16px 16px 0;
  overflow: hidden;
  border: 1px solid var(--pulse-border);
  border-radius: 8px;
  background: #eef5f9;
}

.trip-detail-v2__map.leaflet-container {
  height: 300px;
  min-height: 280px;
}

.trip-detail-v2__next-action {
  border-color: rgba(24, 165, 88, 0.26);
  background: rgba(24, 165, 88, 0.06);
}

.trip-detail-v2__timeline {
  display: grid;
  gap: 12px;
  list-style: none;
  max-height: 300px;
  margin: 0;
  overflow-y: auto;
  padding: 16px;
}

.trip-detail-v2__timeline li {
  border-left: 2px solid rgba(47, 185, 229, 0.28);
  display: grid;
  gap: 4px;
  padding: 0 0 12px 12px;
}

.trip-detail-v2__timeline strong {
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 820;
}

.trip-detail-v2__timeline span {
  color: var(--pulse-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.trip-detail-v2__technical {
  padding: 0;
}

.trip-detail-v2__technical summary {
  color: var(--pulse-navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
  padding: 15px 16px;
}

.trip-detail-v2__technical summary::-webkit-details-marker {
  display: none;
}

.trip-detail-v2__technical[open] summary {
  border-bottom: 1px solid var(--pulse-border);
}

.trip-detail-v2-page {
  background: #f3f6fa;
}

.trip-detail-v2-page .trip-detail-v2-app {
  min-height: 100vh;
  background: #f3f6fa;
}

.trip-detail-v2-topbar {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(120px, 1fr);
  min-height: 48px;
  background: #183a63;
  color: #fff;
  padding: 0 22px;
}

.trip-detail-v2-brand,
.trip-detail-v2-nav {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.trip-detail-v2-brand {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.trip-detail-v2-brand__mark {
  align-items: center;
  background: #35bde8;
  border-radius: 6px;
  display: inline-flex;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.trip-detail-v2-brand small {
  color: #59d4ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.trip-detail-v2-nav {
  justify-content: center;
}

.trip-detail-v2-nav a {
  border-radius: 7px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 750;
  padding: 7px 11px;
  text-decoration: none;
}

.trip-detail-v2-nav a.is-active {
  background: rgba(53, 189, 232, .18);
  color: #fff;
}

.trip-detail-v2-user {
  align-items: center;
  background: #35bde8;
  border-radius: 999px;
  color: #113456;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  height: 28px;
  justify-content: center;
  justify-self: end;
  width: 28px;
}

.trip-detail-v2-workspace {
  display: grid;
  gap: 12px;
  padding: 16px 22px 28px;
}

.trip-detail-v2-breadcrumb {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
  min-height: 25px;
}

.trip-detail-v2-breadcrumb strong {
  color: #0f2f52;
  font-weight: 850;
}

.trip-detail-v2-page .trip-detail-v2 {
  display: grid;
  gap: 12px;
}

.trip-detail-v2-page .trip-detail-v2__hero {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  min-height: 82px;
  padding: 16px 18px;
}

.trip-detail-v2__eyebrow {
  color: #173b64;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.trip-detail-v2-page .trip-detail-v2__hero h1 {
  color: #0f2f52;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.trip-detail-v2-page .trip-detail-v2__route {
  color: #42617e;
  font-size: 13px;
  font-weight: 750;
  margin: 7px 0 0;
}

.trip-detail-v2-page .trip-detail-v2__meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  margin: 4px 0 0;
}

.trip-detail-v2-page .trip-detail-v2__hero-side {
  align-content: center;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.trip-detail-v2-page .trip-detail-v2__badges,
.trip-detail-v2-page .trip-detail-v2__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.trip-detail-v2__pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  min-height: 24px;
  padding: 5px 11px;
}

.trip-detail-v2__pill--ok {
  background: #e7f7ed;
  color: #12653d;
}

.trip-detail-v2__pill--attention {
  background: #fff3dd;
  color: #865404;
}

.trip-detail-v2__pill--critical {
  background: #fdeceb;
  color: #912c2c;
}

.trip-detail-v2__pill--neutral {
  background: #edf5fb;
  color: #173b64;
}

.trip-detail-v2__button {
  align-items: center;
  background: #183a63;
  border: 1px solid #183a63;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  text-decoration: none;
}

.trip-detail-v2__button--ghost {
  background: #fff;
  border-color: #d8e2ec;
  color: #173b64;
}

.trip-detail-v2__button--danger {
  background: #fff;
  border-color: #f2c7c7;
  color: #9b2f2f;
}

.trip-detail-v2__button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.trip-detail-v2-page .trip-detail-v2__cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-detail-v2-page .trip-detail-v2__card {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 13px 14px;
}

.trip-detail-v2-page .trip-detail-v2__card span,
.trip-detail-v2-page .trip-detail-v2__facts dt {
  color: #65758b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trip-detail-v2-page .trip-detail-v2__card strong {
  color: #0f2f52;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.trip-detail-v2-page .trip-detail-v2__card small {
  color: #65758b;
  font-size: 11px;
  font-weight: 650;
}

.trip-detail-v2-page .trip-detail-v2__body {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
}

.trip-detail-v2-page .trip-detail-v2__left,
.trip-detail-v2-page .trip-detail-v2__right,
.trip-detail-v2-page .trip-detail-v2__secondary {
  display: grid;
  gap: 12px;
}

.trip-detail-v2-page .trip-detail-v2__panel,
.trip-detail-v2-page .trip-detail-v2__technical {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.trip-detail-v2-page .trip-detail-v2__panel header {
  border-bottom: 1px solid #e6edf3;
  padding: 14px 16px 10px;
}

.trip-detail-v2-page .trip-detail-v2__panel h2 {
  color: #0f2f52;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0;
}

.trip-detail-v2-page .trip-detail-v2__facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0 16px 14px;
}

.trip-detail-v2-page .trip-detail-v2__facts div {
  border-bottom: 1px solid #eef2f6;
  display: grid;
  gap: 3px;
  min-height: 38px;
  padding: 9px 0;
}

.trip-detail-v2-page .trip-detail-v2__facts dd {
  color: #0f2f52;
  font-size: 13px;
  font-weight: 760;
  margin: 0;
  overflow-wrap: anywhere;
}

.trip-detail-v2-page .trip-detail-v2__facts--compact {
  grid-template-columns: 1fr;
}

.trip-detail-v2-page .trip-detail-v2__map {
  background: #e7eff6;
  border: 1px solid #cad8e6;
  border-radius: 7px;
  height: 280px;
  margin: 14px 14px 0;
  min-height: 260px;
  overflow: hidden;
}

.trip-detail-v2-page .trip-detail-v2__map.leaflet-container {
  height: 280px;
  min-height: 260px;
}

.trip-detail-v2-page .trip-detail-v2__map-status,
.trip-detail-v2-page .trip-detail-v2__next-action p {
  color: #4e6681;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  margin: 10px 14px 14px;
}

.trip-detail-v2-page .trip-detail-v2__next-action {
  background: #f7fcf9;
  border-color: #c7ead4;
}

.trip-detail-v2-page .trip-detail-v2__timeline {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  max-height: 240px;
  overflow-y: auto;
  padding: 14px 16px;
}

.trip-detail-v2-page .trip-detail-v2__timeline li {
  border-left: 2px solid #dfe9f2;
  display: grid;
  gap: 3px;
  padding: 0 0 9px 12px;
}

.trip-detail-v2-page .trip-detail-v2__timeline strong {
  color: #0f2f52;
  font-size: 13px;
  font-weight: 820;
}

.trip-detail-v2-page .trip-detail-v2__timeline span {
  color: #65758b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.38;
}

.trip-detail-v2-page .trip-detail-v2__technical summary {
  color: #173b64;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
  padding: 14px 16px;
}

.trip-detail-v2-page .trip-detail-v2__technical[open] summary {
  border-bottom: 1px solid #e6edf3;
}

.trip-detail-v2-shell {
  gap: 12px;
}

.trip-detail-v2-shell .trip-detail-v2 {
  display: grid;
  gap: 12px;
}

.trip-detail-v2-shell .trip-detail-v2__hero {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  min-height: 82px;
  padding: 16px 18px;
}

.trip-detail-v2-shell .trip-detail-v2__hero h1 {
  color: #0f2f52;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.trip-detail-v2-shell .trip-detail-v2__route {
  color: #42617e;
  font-size: 13px;
  font-weight: 750;
  margin: 7px 0 0;
}

.trip-detail-v2-shell .trip-detail-v2__meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  margin: 4px 0 0;
}

.trip-detail-v2__codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.trip-detail-v2-shell .trip-detail-v2__hero-side {
  align-content: center;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.trip-detail-v2-shell .trip-detail-v2__badges,
.trip-detail-v2-shell .trip-detail-v2__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.trip-detail-v2-shell .trip-detail-v2__badges .pulse-status {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  min-height: 24px;
  padding: 5px 11px;
}

.trip-detail-v2-shell .trip-detail-v2__actions .pulse-action {
  border-radius: 7px;
  min-height: 32px;
  padding: 7px 12px;
}

.trip-detail-v2__danger-action {
  border-color: #f2c7c7;
  color: #9b2f2f;
}

.trip-detail-v2__feedback {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  margin: 0;
  max-width: 520px;
  text-align: right;
}

.trip-detail-v2-shell .trip-detail-v2__cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trip-detail-v2-shell .trip-detail-v2__card {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 13px 14px;
}

.trip-detail-v2-shell .trip-detail-v2__card span,
.trip-detail-v2-shell .trip-detail-v2__facts dt {
  color: #65758b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trip-detail-v2-shell .trip-detail-v2__card strong {
  color: #0f2f52;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.trip-detail-v2-shell .trip-detail-v2__card small {
  color: #65758b;
  font-size: 11px;
  font-weight: 650;
}

.trip-detail-v2-shell .trip-detail-v2__body {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
}

.trip-detail-v2-shell .trip-detail-v2__left,
.trip-detail-v2-shell .trip-detail-v2__right,
.trip-detail-v2-shell .trip-detail-v2__secondary {
  display: grid;
  gap: 12px;
}

.trip-detail-v2-shell .trip-detail-v2__panel,
.trip-detail-v2-shell .trip-detail-v2__technical {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.trip-detail-v2-shell .trip-detail-v2__panel header {
  align-items: flex-start;
  border-bottom: 1px solid #e6edf3;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.trip-detail-v2-shell .trip-detail-v2__panel h2 {
  color: #0f2f52;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0;
}

.trip-detail-v2-shell .trip-detail-v2__facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0 16px 14px;
}

.trip-detail-v2-shell .trip-detail-v2__facts div {
  border-bottom: 1px solid #eef2f6;
  display: grid;
  gap: 3px;
  min-height: 38px;
  padding: 9px 0;
}

.trip-detail-v2-shell .trip-detail-v2__facts dd {
  color: #0f2f52;
  font-size: 13px;
  font-weight: 760;
  margin: 0;
  overflow-wrap: anywhere;
}

.trip-detail-v2-shell .trip-detail-v2__facts--compact {
  grid-template-columns: 1fr;
}

.trip-detail-v2-shell .trip-detail-v2__map {
  background: #e7eff6;
  border: 1px solid #cad8e6;
  border-radius: 7px;
  height: 280px;
  margin: 14px 14px 0;
  min-height: 260px;
  overflow: hidden;
}

.trip-detail-v2-shell .trip-detail-v2__map.leaflet-container {
  height: 280px;
  min-height: 260px;
}

.trip-detail-v2-shell .trip-detail-v2__map-status,
.trip-detail-v2-shell .trip-detail-v2__next-action p {
  color: #4e6681;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  margin: 10px 14px 14px;
}

.trip-detail-v2-shell .trip-detail-v2__next-action {
  background: #f7fcf9;
  border-color: #c7ead4;
}

.trip-detail-v2__inline-status {
  padding: 0 14px 14px;
}

.trip-detail-v2__alert-body {
  padding: 14px 16px 16px;
}

.trip-detail-v2-shell .trip-detail-v2__timeline {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  max-height: 240px;
  overflow-y: auto;
  padding: 14px 16px;
}

.trip-detail-v2-shell .trip-detail-v2__timeline li {
  border-left: 2px solid #dfe9f2;
  display: grid;
  gap: 3px;
  padding: 0 0 9px 12px;
}

.trip-detail-v2-shell .trip-detail-v2__timeline strong {
  color: #0f2f52;
  font-size: 13px;
  font-weight: 820;
}

.trip-detail-v2-shell .trip-detail-v2__timeline span {
  color: #65758b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.38;
}

.trip-detail-v2-shell .trip-support-stack {
  margin-top: 2px;
}

.trip-detail-v2__notice {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  color: #4e6681;
  padding: 14px 16px;
}

.trip-detail-v2__notice strong {
  color: #0f2f52;
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.trip-detail-v2__notice p {
  font-size: 12px;
  font-weight: 650;
  margin: 0;
}

@media (max-width: 1180px) {
  .trip-detail-v2__hero,
  .trip-detail-v2__body {
    grid-template-columns: 1fr;
  }

  .trip-detail-v2__hero-side,
  .trip-detail-v2__badges,
  .trip-detail-v2__actions {
    justify-items: start;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .pulse-toast-region {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }

  .pulse-panel__header {
    flex-direction: column;
  }

  .trip-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .trip-hero__side,
  .trip-hero__actions {
    justify-items: stretch;
    justify-content: flex-start;
  }

  .trip-inline-feedback {
    max-width: none;
    text-align: left;
  }

  .trip-hero__actions .pulse-action,
  .trip-action-card {
    width: 100%;
  }

  .trip-action-card {
    align-items: stretch;
    flex-direction: column;
  }

  .trip-status-strip,
  .trip-detail-board {
    grid-template-columns: 1fr;
  }

  .trip-map-card .pulse-trip-detail-map,
  .trip-map-card .pulse-trip-detail-map.leaflet-container {
    height: 260px;
    min-height: 240px;
  }

  .pulse-card--metric {
    min-height: auto;
  }

  .pulse-filters {
    flex-direction: column;
  }

  .pulse-filter-grid {
    grid-template-columns: 1fr;
  }

  .pulse-cycle-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulse-plan-summary {
    grid-template-columns: 1fr;
  }

  .trip-technical-details__grid {
    grid-template-columns: 1fr;
  }

  .pulse-alert-summary-grid,
  .pulse-alert-card__body {
    grid-template-columns: 1fr;
  }

  .trip-detail-v2__cards,
  .trip-detail-v2__facts {
    grid-template-columns: 1fr;
  }

  .trip-detail-v2__actions .pulse-action {
    width: 100%;
  }

  .trip-detail-v2__map,
  .trip-detail-v2__map.leaflet-container {
    height: 250px;
    min-height: 240px;
  }

  .pulse-alert-toolbar,
  .pulse-alert-card__head,
  .pulse-alert-card__meta {
    align-items: stretch;
    flex-direction: column;
  }

  .pulse-alert-quick-filters {
    justify-content: flex-start;
  }

  .pulse-tracking-invite-form__grid {
    grid-template-columns: 1fr;
  }

  .pulse-device-summary {
    grid-template-columns: 1fr;
  }

  .pulse-create-plan-grid {
    grid-template-columns: 1fr;
  }

  .pulse-filter {
    width: 100%;
  }

  .pulse-table-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .pulse-table-controls,
  .pulse-table-pagination {
    align-items: stretch;
    width: 100%;
  }

  .pulse-table-controls label {
    flex: 1 1 100%;
  }

  .pulse-table-pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pulse-admin-page-tabs {
    flex-direction: column;
  }

  .pulse-admin-mini-summary,
  .pulse-admin-mini-summary.is-three {
    grid-template-columns: 1fr;
  }

  .pulse-admin-section-header,
  .pulse-admin-toolbar,
  .pulse-admin-audit-header {
    align-items: stretch;
    flex-direction: column;
  }

  .pulse-admin-primary-action {
    width: 100%;
  }

  .pulse-pagination-summary,
  .pulse-pagination-page {
    grid-column: 1 / -1;
  }

  .pulse-map-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .pulse-map-support--expanded {
    inset: 10px;
    max-height: calc(100vh - 20px);
  }

  .pulse-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    padding: 12px 18px;
  }

  .pulse-topbar__right,
  .pulse-topbar__meta-group,
  .pulse-topbar__actions {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }

  .pulse-topbar__meta {
    max-width: 100%;
  }

  .pulse-topbar__actions .pulse-action {
    flex: 1 1 170px;
  }

  .pulse-page-compact-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .pulse-page-compact-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .pulse-admin-user-form-grid,
  .pulse-master-data-form-grid,
  .pulse-create-required-grid,
  .pulse-modal .pulse-create-plan-grid {
    grid-template-columns: 1fr;
  }

  .pulse-modal {
    width: 100%;
  }

  .pulse-modal-actions {
    justify-content: stretch;
  }

  .pulse-modal-actions .pulse-action {
    width: 100%;
  }

  .pulse-trip-import-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulse-trip-wizard-steps {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .pulse-trip-wizard-body {
    max-height: calc(100vh - 120px);
    padding: 22px 18px 0;
  }

  .pulse-trip-wizard-step {
    flex: 0 0 92px;
  }

  .pulse-trip-plan-block {
    padding: 15px;
  }

  .pulse-trip-plan-block .pulse-create-plan-grid > label:nth-child(3) {
    max-width: none;
  }

  .pulse-trip-wizard-summary {
    grid-template-columns: 1fr;
  }

  .pulse-trip-wizard-actions {
    margin: 18px -18px 0;
    padding: 14px 18px 20px;
  }

  .pulse-login-shell {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 18px;
  }

  .pulse-login-brand {
    margin-bottom: 28px;
  }

  .pulse-login-card {
    padding: 26px 22px;
  }
}

@media (max-width: 860px) {
  .trip-detail-v2-topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 14px;
  }

  .trip-detail-v2-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .trip-detail-v2-workspace {
    padding: 14px;
  }

  .trip-detail-v2-page .trip-detail-v2__hero,
  .trip-detail-v2-page .trip-detail-v2__body {
    grid-template-columns: 1fr;
  }

  .trip-detail-v2-page .trip-detail-v2__hero-side,
  .trip-detail-v2-page .trip-detail-v2__badges,
  .trip-detail-v2-page .trip-detail-v2__actions {
    justify-items: start;
    justify-content: flex-start;
  }

  .trip-detail-v2-page .trip-detail-v2__cards,
  .trip-detail-v2-page .trip-detail-v2__facts {
    grid-template-columns: 1fr;
  }
}
