/* DPostal Tracking & Admin Styles
 * Single source of truth: matches homepage (dpostal-theme.css & welcome-rebrand.css)
 * Palette: #16A34A (Primary), #22C55E (Accent), #1F2937 (Charcoal), #ECFDF5 (Mint), #FFFFFF (White)
 * Font: Inter exclusively (no monospace override)
 */

.dp-page,
.dp-page *,
.dp-modal-backdrop,
.dp-modal-backdrop *,
.dp-toast-stack,
.dp-toast-stack * {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.dp-page {
  background: #ffffff;
  color: #1f2937;
  min-height: 580px;
  padding: 36px 0 72px;
}

.dp-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.dp-page .is-hidden,
.is-hidden {
  display: none !important;
}

.dp-tabular,
.mono {
  font-family: "Inter", sans-serif !important;
  font-variant-numeric: tabular-nums;
}

/* Override homepage .button--primary fixed min-width / top-margin inside tracking & admin toolbars */
.dp-page .button--primary,
.dp-page .button--secondary,
.dp-modal-backdrop .button--primary,
.dp-modal-backdrop .button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 40px;
  line-height: 1.25;
  margin: 0;
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  padding: 9px 16px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.dp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dp-btn-primary {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.dp-btn-primary:hover:not(:disabled),
.dp-btn-primary:focus:not(:disabled) {
  background-color: #1f2937;
  border-color: #1f2937;
  color: #ffffff;
  text-decoration: none;
}

.dp-btn-secondary {
  background-color: #ffffff;
  border-color: #16a34a;
  color: #16a34a;
}

.dp-btn-secondary:hover:not(:disabled),
.dp-btn-secondary:focus:not(:disabled) {
  background-color: #ecfdf5;
  border-color: #1f2937;
  color: #1f2937;
  text-decoration: none;
}

.dp-btn-danger {
  background-color: #ffffff;
  border-color: #dc2626;
  color: #b91c1c;
}

.dp-btn-danger:hover:not(:disabled),
.dp-btn-danger:focus:not(:disabled) {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}

.dp-btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: #16a34a;
  padding: 7px 10px;
}

.dp-btn-ghost:hover:not(:disabled) {
  background-color: #ecfdf5;
  color: #1f2937;
}

.dp-btn-sm {
  font-size: 13px;
  padding: 6px 12px;
}

/* Status & Source Tags (crisp 3px postal badges) */
.dp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid rgba(22, 163, 74, 0.25);
  background: #ecfdf5;
  color: #1f2937;
  white-space: nowrap;
}

.dp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.dp-badge-pending,
.dp-badge-processing {
  background: #f3f4f6;
  color: #1f2937;
  border-color: #d1d5db;
}

.dp-badge-dispatched,
.dp-badge-in_transit,
.dp-badge-customs {
  background: #ecfdf5;
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.35);
}

.dp-badge-out_for_delivery,
.dp-badge-delivered {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.dp-badge-delayed {
  background: #faf3d1;
  color: #92400e;
  border-color: #e5b82e;
}

.dp-badge-exception {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.dp-badge-estimated {
  background: #faf3d1;
  color: #92400e;
  border-color: #e5b82e;
}

.dp-badge-verified {
  background: #ecfdf5;
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.35);
}

/* --- Homepage-Matched Search & Header Band (exact match to search.astro & quicktools) --- */
.dp-search-band {
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 3px;
  padding: 28px 30px;
  margin-bottom: 28px;
}

.dp-search-band h1 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 700;
  color: #16a34a;
  margin: 0 0 10px;
}

.dp-search-band p {
  font-size: 16px;
  line-height: 22px;
  color: #1f2937;
  margin: 0 0 18px;
  max-width: 680px;
}

.dp-track-search-form {
  display: flex;
  max-width: 720px;
}

.dp-track-search-input {
  flex: 1 1 auto;
  height: 46px;
  padding: 0 15px;
  border: 1px solid #16a34a;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: #ffffff;
  color: #1f2937;
  font-size: 16px;
  font-weight: 500;
}

.dp-track-search-input:focus {
  outline: 2px solid #22c55e;
  outline-offset: -1px;
}

.dp-track-search-submit {
  height: 46px;
  padding: 0 28px;
  border: 1px solid #16a34a;
  border-radius: 0 3px 3px 0;
  background: #16a34a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.dp-track-search-submit:hover,
.dp-track-search-submit:focus {
  background: #1f2937;
  border-color: #1f2937;
  color: #ffffff;
}

.dp-sample-links {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #1f2937;
}

.dp-sample-link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: #16a34a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.dp-sample-link-btn:hover {
  color: #1f2937;
  text-decoration: none;
}

/* --- Alerts (matches homepage .inpage-alert left bar) --- */
.dp-alert {
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 22px;
  border-radius: 3px;
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-left: 8px solid #16a34a;
  color: #1f2937;
}

.dp-alert-warning {
  background: #faf3d1;
  border-color: #e5b82e;
  border-left: 8px solid #d97706;
  color: #1f2937;
}

.dp-alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  border-left: 8px solid #dc2626;
  color: #991b1b;
}

/* --- Tracking Result Card (matches search.astro & homepage panels) --- */
.dp-panel {
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 3px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 100%;
}

.dp-panel-accent {
  border-top: 4px solid #16a34a;
}

.dp-panel-header {
  padding: 16px 22px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dp-panel-header h2,
.dp-panel-header h3 {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #1f2937;
}

.dp-panel-body {
  padding: 22px;
}

.dp-tracking-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 18px;
}

.dp-tracking-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dp-tracking-code {
  margin: 0;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.02em;
}

.dp-tracking-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dp-notice-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 3px;
}

.dp-notice-bar.is-estimated {
  background: #faf3d1;
  border-left: 6px solid #d97706;
  color: #1f2937;
}

.dp-notice-bar.is-verified {
  background: #ecfdf5;
  border-left: 6px solid #16a34a;
  color: #1f2937;
}

/* Progress Steps (matches DPostal tracking progress bars) */
.dp-progress-wrap {
  margin-bottom: 22px;
}

.dp-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 15px;
  color: #1f2937;
}

.dp-progress-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.dp-progress-fill {
  height: 100%;
  background: #16a34a;
  transition: width 300ms ease;
}

.dp-progress-fill.is-delayed {
  background: #d97706;
}

.dp-stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 8px;
}

.dp-stage-step {
  border-top: 6px solid #d8d8d8;
  padding-top: 8px;
  font-size: 13px;
  line-height: 18px;
  color: #6b7280;
}

.dp-stage-step.is-complete {
  border-top-color: #16a34a;
  color: #16a34a;
  font-weight: 700;
}

.dp-stage-step.is-current {
  border-top-color: #22c55e;
  color: #1f2937;
  font-weight: 700;
}

/* Metadata Grid */
.dp-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
}

.dp-meta-cell {
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 3px;
  padding: 12px 14px;
}

.dp-meta-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 4px;
}

.dp-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  word-break: break-word;
}

/* Split Map + History */
.dp-track-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dp-map-canvas {
  width: 100%;
  height: 430px;
  background: #ecfdf5;
}

.dp-map-canvas-compact {
  height: 300px;
}

.dp-map-legend {
  padding: 12px 18px;
  border-top: 1px solid #e5e7eb;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #1f2937;
}

.dp-legend-items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dp-legend-swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dp-swatch-origin {
  background: #16a34a;
}

.dp-swatch-dest {
  background: #1f2937;
}

.dp-swatch-est {
  background: #d97706;
}

.dp-swatch-ver {
  background: #22c55e;
}

.dp-map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(31, 41, 55, 0.3);
}

.dp-map-pin-origin {
  width: 26px;
  height: 26px;
  background: #16a34a;
}

.dp-map-pin-destination {
  width: 26px;
  height: 26px;
  background: #1f2937;
}

.dp-map-pin-hub {
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 3px solid #16a34a;
}

.dp-map-pin-checkpoint {
  width: 14px;
  height: 14px;
  background: #16a34a;
  border: 2.5px solid #ffffff;
}

.dp-map-pin-package {
  width: 34px;
  height: 34px;
  background: #16a34a;
  border: 3px solid #ffffff;
}

.dp-map-pin-package.is-estimated {
  background: #d97706;
  box-shadow: 0 0 0 7px rgba(217, 119, 6, 0.22), 0 2px 6px rgba(31, 41, 55, 0.25);
}

/* Timeline */
.dp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dp-timeline-item {
  position: relative;
  padding-left: 22px;
  padding-bottom: 18px;
  border-left: 2px solid #16a34a;
  margin-left: 6px;
}

.dp-timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.dp-timeline-node {
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #16a34a;
}

.dp-timeline-item.is-estimated .dp-timeline-node {
  border-color: #d97706;
}

.dp-timeline-item.is-latest .dp-timeline-node {
  background: #16a34a;
}

.dp-timeline-item.is-latest.is-estimated .dp-timeline-node {
  background: #d97706;
}

.dp-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.dp-timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.dp-timeline-loc {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 2px;
}

.dp-timeline-desc {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
}

.dp-timeline-time {
  font-size: 13px;
  color: #6b7280;
}

/* --- Admin Sign-In Box (inside UspsHomeLayout) --- */
.dp-login-wrap {
  max-width: 480px;
  margin: 24px auto 40px;
}

.dp-login-wrap h1 {
  font-size: 28px;
  line-height: 34px;
  color: #16a34a;
  margin: 0 0 8px;
}

.dp-login-sub {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 22px;
  color: #4b5563;
}

/* --- Admin Dashboard Header & Mint Tab Navigation (Homepage Language) --- */
.dp-admin-header {
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 3px;
  padding: 22px 26px 0;
  margin-bottom: 24px;
}

.dp-admin-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.dp-admin-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
  color: #16a34a;
}

.dp-admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dp-admin-user-label {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 3px;
}

.dp-admin-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(22, 163, 74, 0.2);
  padding-top: 8px;
}

.dp-nav-item {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 16px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dp-nav-item:hover {
  color: #16a34a;
  background: rgba(255, 255, 255, 0.7);
}

.dp-nav-item.is-active {
  background: #ffffff;
  color: #16a34a;
  border-bottom-color: #16a34a;
}

.dp-tab-count {
  font-size: 12px;
  font-weight: 700;
  background: #ffffff;
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 3px;
  padding: 1px 6px;
}

/* KPI Grid */
.dp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.dp-kpi-card {
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-top: 4px solid #16a34a;
  border-radius: 3px;
  padding: 16px 18px;
}

.dp-kpi-card.is-delayed {
  border-top-color: #d97706;
}

.dp-kpi-label {
  font-size: 13px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 6px;
}

.dp-kpi-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: #1f2937;
  font-variant-numeric: tabular-nums;
}

.dp-kpi-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

/* Charts Grid */
.dp-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.dp-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Forms */
.dp-form-section-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #16a34a;
  margin: 22px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}

.dp-form-section-title:first-of-type {
  margin-top: 0;
}

.dp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dp-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

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

.dp-label {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.dp-input,
.dp-select,
.dp-textarea {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #9ca3af;
  border-radius: 3px;
  padding: 9px 12px;
}

.dp-input:focus,
.dp-select:focus,
.dp-textarea:focus {
  border-color: #16a34a;
  outline: 2px solid #22c55e;
  outline-offset: 0;
}

.dp-textarea {
  min-height: 84px;
  resize: vertical;
}

.dp-help {
  font-size: 13px;
  color: #4b5563;
}

/* Tables & Filters */
.dp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.dp-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dp-pill-btn {
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #1f2937;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.dp-pill-btn:hover {
  background: #ecfdf5;
  color: #16a34a;
}

.dp-pill-btn.is-active {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.dp-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dp-table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  background: #ecfdf5;
  border-bottom: 2px solid rgba(22, 163, 74, 0.25);
  white-space: nowrap;
}

.dp-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
  color: #1f2937;
}

.dp-table tbody tr:hover {
  background: #f9fafb;
}

.dp-mini-bar {
  width: 72px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.dp-mini-bar-fill {
  height: 100%;
  background: #16a34a;
}

.dp-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dp-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dp-milestone-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1.4fr) 90px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  background: #f9fafb;
}

/* Modals & Toasts */
.dp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
}

.dp-modal {
  background: #ffffff;
  border-radius: 3px;
  border-top: 4px solid #16a34a;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dp-modal-sm {
  max-width: 460px;
}

.dp-modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid #e5e7eb;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dp-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

.dp-modal-body {
  padding: 22px;
  overflow-y: auto;
}

.dp-modal-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #16a34a;
  margin: 20px 0 10px;
}

.dp-modal-footer {
  padding: 14px 22px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dp-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.dp-toast {
  background: #1f2937;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  border-left: 5px solid #22c55e;
}

.dp-toast.is-error {
  border-left-color: #dc2626;
}

.dp-code-block {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
  color: #1f2937;
}

/* Responsive */
@media (max-width: 1024px) {
  .dp-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dp-track-split,
  .dp-charts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Tracking Portal Layout (Matches tracking.jpg on Desktop & Mobile, DPostal Green Theme) --- */
.dp-fdx-page {
  background: #ffffff;
  padding: 0 0 84px;
}

.dp-fdx-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.dp-fdx-subbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.dp-fdx-subbar-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dp-fdx-subbar-title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #4b5563;
}

.dp-fdx-reg {
  font-size: 11px;
  vertical-align: super;
  margin-left: 1px;
}

.dp-fdx-subbar-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dp-fdx-subbar-link {
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.dp-fdx-subbar-link:hover,
.dp-fdx-subbar-link:focus {
  color: #1f2937;
  text-decoration: underline;
}

.dp-fdx-main {
  padding-top: 34px;
}

.dp-track-form-band {
  background: #ecfdf5;
  border-bottom: 1px solid rgba(22, 163, 74, 0.18);
  padding: 72px 0 80px;
}

.dp-track-form-band .quicktools-featured {
  padding: 0 !important;
}

.dp-track-form-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.dp-track-form-inner h2 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  color: #1f2937;
  text-align: center !important;
}

.dp-home-input-group {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-shadow: 0 6px 20px rgba(31, 41, 55, 0.06);
  border-radius: 4px;
}

.dp-home-input-group input#tracking-code-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 68px !important;
  padding: 0 24px !important;
  font-size: 20px !important;
  font-weight: 500;
  background: #ffffff;
  color: #1f2937;
  border: 2px solid #16a34a !important;
  border-right: 0 !important;
  border-radius: 4px 0 0 4px !important;
  box-shadow: none;
}

.dp-home-input-group .input-group-append {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #16a34a !important;
  border-left: 0 !important;
  border-radius: 0 4px 4px 0 !important;
}

.dp-home-input-group button.input--search.btn {
  width: 74px !important;
  height: 64px !important;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("/global-elements/images/tracking.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 38px 38px !important;
  cursor: pointer;
}

.dp-home-input-group button.input--search.btn:hover,
.dp-home-input-group button.input--search.btn:focus {
  background-color: #ecfdf5;
}

.dp-track-loading {
  font-size: 15px;
  color: #4b5563;
  padding: 14px 0;
  text-align: center;
}

/* Desktop 2-Area Split Grid (Left Summary + Always-Visible Map + Accordions | Right Vertical Spine) */
.dp-fdx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 56px;
  align-items: start;
}

.dp-fdx-summary-grid {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  padding-bottom: 28px;
}

.dp-fdx-map-section {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 28px;
}

.dp-fdx-map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dp-fdx-map-title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #1f2937;
}

.dp-fdx-accordions {
  grid-column: 1;
  grid-row: 3;
}

.dp-fdx-right {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.dp-fdx-mobile {
  display: none;
}

/* Eyebrows & Delivery Date Column */
.dp-fdx-eyebrow {
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b5563;
  margin-bottom: 6px;
}

.dp-fdx-weekday {
  margin: 2px 0 8px;
  font-size: 38px;
  line-height: 44px;
  font-weight: 300;
  color: #1f2937;
  letter-spacing: -0.015em;
}

.dp-fdx-date-line {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #4b5563;
}

.dp-fdx-estimate-line {
  margin-top: 4px;
  font-size: 13px;
  line-height: 19px;
  color: #6b7280;
}

.dp-fdx-service-line {
  margin-top: 14px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: #1f2937;
}

.dp-fdx-pill-wrap {
  margin-top: 14px;
}

.dp-fdx-pill {
  display: inline-block;
  padding: 3px 13px;
  border-radius: 999px;
  border: 1.5px solid #16a34a;
  color: #16a34a;
  background: #ffffff;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dp-fdx-pill.is-delivered {
  background: #16a34a;
  color: #ffffff;
}

.dp-fdx-pill.is-delayed {
  border-color: #d97706;
  color: #b45309;
}

.dp-fdx-pill.is-exception {
  border-color: #dc2626;
  color: #b91c1c;
}

/* Delivery Status Column */
.dp-fdx-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
}

.dp-fdx-status-text {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #4b5563;
}

.dp-fdx-status-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-fdx-status-circle.is-delayed {
  background: #d97706;
}

.dp-fdx-status-circle.is-exception {
  background: #dc2626;
}

.dp-fdx-status-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.dp-fdx-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  cursor: pointer;
}

.dp-fdx-action-link:hover {
  color: #1f2937;
  text-decoration: underline;
}

/* Right Column: Tracking ID + Copy Icon + 5-Stage Thick Vertical Spine */
.dp-fdx-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dp-fdx-id-value {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: #1f2937;
  letter-spacing: 0.02em;
}

.dp-fdx-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #16a34a;
  cursor: pointer;
}

.dp-fdx-copy-btn:hover {
  background: #ecfdf5;
  color: #1f2937;
}

.dp-vspine {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dp-vspine-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  align-items: stretch;
}

.dp-vspine-rail {
  position: relative;
  width: 44px;
  z-index: 2;
}

.dp-vspine-seg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  background: #e5e7eb;
}

.dp-vspine-seg.is-filled {
  background: #16a34a;
}

.dp-vspine-seg-top {
  top: 0;
  height: 12px;
}

.dp-vspine-seg-bottom {
  top: 12px;
  bottom: 0;
}

.dp-vspine-item.is-first .dp-vspine-seg-bottom {
  top: 2px;
  border-radius: 4px 4px 0 0;
}

.dp-vspine-item.is-last .dp-vspine-seg-top {
  height: 22px;
  border-radius: 0 0 4px 4px;
}

.dp-vspine-item.is-active .dp-vspine-seg-top {
  height: 36px;
}

.dp-vspine-item.is-active .dp-vspine-seg-bottom {
  top: 36px;
}

.dp-vspine-item.is-active.is-first .dp-vspine-seg-bottom {
  top: 36px;
  border-radius: 0;
}

.dp-vspine-item.is-active.is-last .dp-vspine-seg-top {
  height: 36px;
  border-radius: 0;
}

.dp-vspine-dot {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  z-index: 3;
}

.dp-vspine-dot.is-completed {
  background: #ffffff;
}

.dp-vspine-dot.is-upcoming {
  background: #6b7280;
}

.dp-vspine-active-circle {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.dp-vspine-active-circle.is-delayed {
  background: #d97706;
}

.dp-vspine-active-circle.is-exception {
  background: #dc2626;
}

.dp-vspine-content {
  padding: 2px 0 24px;
  min-width: 0;
}

.dp-vspine-item.is-last .dp-vspine-content {
  padding-bottom: 4px;
}

.dp-vspine-item.is-active .dp-vspine-content {
  background: #f3f4f6;
  border-radius: 10px;
  margin-left: -26px;
  padding: 14px 18px 14px 36px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.dp-vspine-heading {
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1f2937;
}

.dp-vspine-item.is-upcoming .dp-vspine-heading {
  color: #6b7280;
}

.dp-vspine-detail {
  margin-top: 3px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: #1f2937;
}

.dp-vspine-place {
  margin-top: 2px;
  font-size: 12px;
  line-height: 17px;
  color: #4b5563;
}

.dp-vspine-item.is-upcoming .dp-vspine-place {
  color: #6b7280;
}

.dp-vspine-italic {
  margin-top: 8px;
  font-size: 12px;
  line-height: 17px;
  font-style: italic;
  color: #4b5563;
}

.dp-vspine-item.is-upcoming .dp-vspine-italic {
  color: #6b7280;
}

.dp-vspine-time {
  margin-top: 2px;
  font-size: 12px;
  line-height: 17px;
  color: #4b5563;
}

.dp-vspine-item.is-upcoming .dp-vspine-time {
  color: #6b7280;
}

.dp-vspine-est {
  margin-top: 5px;
  font-size: 11px;
  line-height: 15px;
  color: #6b7280;
}

/* Clean Horizontal-Divider Accordions (matches "Manage Delivery ⌄" in tracking.jpg) */
.dp-fdx-accordions {
  border-top: 1px solid #e5e7eb;
}

.dp-fdx-acc {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.dp-fdx-acc-trigger {
  width: 100%;
  background: #ffffff;
  border: 0;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.dp-fdx-acc-trigger:hover .dp-fdx-acc-title {
  color: #16a34a;
}

.dp-fdx-acc-trigger:focus:not(:focus-visible) {
  outline: none;
}

.dp-fdx-acc-trigger:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
  border-radius: 3px;
}

.dp-fdx-acc-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: #4b5563;
  transition: color 150ms ease;
}

.dp-fdx-acc-meta {
  font-size: 13px;
  color: #6b7280;
  margin-left: auto;
}

.dp-fdx-chevron {
  color: #4b5563;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.dp-fdx-acc-trigger[aria-expanded='true'] .dp-fdx-chevron {
  transform: rotate(180deg);
}

.dp-fdx-acc-panel {
  padding-bottom: 20px;
}

.dp-fdx-acc-pad {
  padding: 4px 4px 22px;
}

.dp-map-canvas-sleek {
  height: 340px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.dp-fdx-map-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 19px;
  color: #6b7280;
}

.dp-fdx-map-note.is-verified {
  color: #16a34a;
  font-weight: 500;
}

.dp-quick-stops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dp-quick-stop-btn {
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #1f2937;
  border-radius: 3px;
  padding: 5px 10px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.dp-quick-stop-btn:hover,
.dp-quick-stop-btn:focus {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.dp-inline-action {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  cursor: pointer;
  text-decoration: underline;
}

.dp-inline-action:hover {
  color: #1f2937;
  text-decoration: none;
}

/* Date-Grouped Travel History */
.dp-history-group {
  margin-bottom: 18px;
}

.dp-history-group:last-child {
  margin-bottom: 0;
}

.dp-history-date {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 10px;
}

.dp-history-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dp-history-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.dp-history-time {
  font-size: 13px;
  color: #6b7280;
}

.dp-history-event-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.dp-history-est-tag {
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}

.dp-history-loc {
  font-size: 13px;
  color: #4b5563;
  margin-top: 2px;
}

.dp-history-toggle-wrap {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

/* Shipment Facts Definition List */
.dp-facts-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.dp-fact-item {
  margin: 0;
}

.dp-fact-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  margin: 0 0 2px;
}

.dp-fact-value {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin: 0;
}

/* Mobile Phone Tracking Layout (< 768px — matches right-side phone mockup in tracking.jpg) */
.dp-mob-tendered {
  margin: 0 auto 24px;
  max-width: 310px;
  font-size: 19px;
  line-height: 27px;
  font-weight: 500;
  color: #1f2937;
}

.dp-mob-delivery {
  margin-bottom: 22px;
}

.dp-mob-pill-row {
  margin-top: 10px;
}

.dp-mob-refresh-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.dp-mob-delivery-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.dp-mob-delivery-date,
.dp-mob-delivery-window {
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
}

.dp-mob-provenance {
  margin: 8px auto 0;
  max-width: 300px;
  font-size: 12px;
  line-height: 17px;
  color: #6b7280;
}

.dp-mob-stepper {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 310px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.dp-mob-step {
  display: flex;
  align-items: center;
}

.dp-mob-line {
  flex: 1;
  height: 3px;
  background: #e5e7eb;
}

.dp-mob-line.is-filled {
  background: #16a34a;
}

.dp-mob-line.is-spacer {
  background: transparent;
}

.dp-mob-node-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e5e7eb;
  flex-shrink: 0;
}

.dp-mob-node-dot.is-filled {
  background: #16a34a;
}

.dp-mob-node-active {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-mob-node-active.is-delayed {
  background: #d97706;
}

.dp-mob-node-active.is-exception {
  background: #dc2626;
}

.dp-mob-status-box {
  background: #f3f4f6;
  border-radius: 4px;
  padding: 20px 18px;
  max-width: 320px;
  margin: 0 auto 16px;
}

.dp-mob-status-title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f2937;
}

.dp-mob-status-location {
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
}

.dp-mob-id-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

.dp-mob-id-value {
  font-weight: 600;
  color: #1f2937;
}

@media (max-width: 960px) {
  .dp-fdx-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 1fr);
    column-gap: 28px;
  }
  .dp-fdx-summary-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dp-fdx-weekday {
    font-size: 32px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .dp-track-form-band {
    padding: 42px 0 48px;
  }
  .dp-track-form-inner {
    padding: 0 16px;
  }
  .dp-track-form-inner h2 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 18px;
  }
  .dp-home-input-group input#tracking-code-input {
    height: 56px !important;
    font-size: 16px !important;
    padding: 0 14px !important;
  }
  .dp-home-input-group button.input--search.btn {
    width: 56px !important;
    height: 52px !important;
    background-size: 28px 28px !important;
  }
  .dp-fdx-container {
    padding: 0 16px;
  }
  .dp-fdx-subbar-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    row-gap: 6px;
  }
  .dp-fdx-subbar-title {
    font-size: 16px;
  }
  .dp-fdx-subbar-actions {
    gap: 14px;
  }
  .dp-fdx-subbar-link {
    font-size: 13px;
  }
  .dp-fdx-main {
    padding-top: 20px;
  }
  .dp-fdx-layout {
    display: block;
  }
  .dp-fdx-summary-grid,
  .dp-fdx-right {
    display: none;
  }
  .dp-fdx-mobile {
    display: block;
    text-align: center;
    padding: 8px 0 24px;
  }
  .dp-mob-id-row {
    flex-wrap: wrap;
    max-width: 100%;
    word-break: break-word;
  }
  .dp-map-canvas-sleek {
    height: 260px;
  }
  .dp-fdx-map-head {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .dp-fdx-acc-title {
    font-size: 17px;
  }
  .dp-fdx-acc-trigger {
    padding: 16px 2px;
  }
  .dp-facts-grid {
    grid-template-columns: 1fr;
  }
  .dp-fact-value,
  .dp-history-event-title,
  .dp-history-loc {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .dp-history-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
  }
  .dp-admin-header {
    padding: 16px 16px 0;
  }
  .dp-admin-header h1 {
    font-size: 24px;
    line-height: 28px;
  }
  .dp-admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dp-nav-item {
    padding: 9px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .dp-panel-header {
    padding: 14px 16px;
  }
  .dp-panel-header .dp-row-actions {
    width: 100%;
  }
  .dp-panel-header .dp-input,
  .dp-panel-header .dp-select {
    width: 100%;
    min-width: 0;
  }
  .dp-modal-backdrop {
    padding: 10px;
  }
  .dp-modal-header,
  .dp-modal-body {
    padding: 14px 16px;
  }
}

@media (max-width: 400px) {
  .dp-track-form-inner h2 {
    font-size: 24px;
    line-height: 30px;
  }
  .dp-mob-tendered {
    font-size: 17px;
    line-height: 24px;
  }
  .dp-fdx-container,
  .dp-container {
    padding: 0 14px;
  }
}

@media (max-width: 768px) {
  .dp-form-grid,
  .dp-form-grid-3 {
    grid-template-columns: 1fr;
  }
  .dp-milestone-row {
    grid-template-columns: 28px 1fr;
  }
  .dp-track-search-form {
    flex-direction: column;
    gap: 10px;
  }
  .dp-track-search-input {
    border-right: 1px solid #16a34a;
    border-radius: 3px;
  }
  .dp-track-search-submit {
    border-radius: 3px;
  }
}

@media (max-width: 560px) {
  .dp-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .dp-kpi-card {
    min-width: 0;
    padding: 14px;
  }
  .dp-kpi-value {
    font-size: 24px;
  }
  .dp-map-canvas {
    height: 300px;
  }
  .dp-search-band,
  .dp-panel-body {
    padding: 18px;
  }
}
