﻿.od-profile-modal-backdrop {
  padding: 18px;
}

.od-profile-modal {
  width: min(1400px, 96vw) !important;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 28px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 36%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.98), rgba(5, 9, 18, 0.98));
  box-shadow: 0 28px 80px rgba(3, 7, 18, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: "Bahnschrift", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

.od-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.od-profile-head .modal-title {
  font-family: "Segoe UI Variable Display", "Bahnschrift", sans-serif;
  font-size: 1.16rem;
  letter-spacing: 0.04em;
}

.od-profile-head .modal-sub {
  color: rgba(191, 219, 254, 0.68);
}

.od-profile-modal .badge-light {
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #e2f3ff;
}

#custBackdrop .card-body,
#drvBackdrop .card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 24px;
}

.od-profile-foot {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(5, 9, 18, 0.18), rgba(5, 9, 18, 0.98) 34%);
}

.od-profile-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #e6eef9;
}

.od-profile-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(11, 19, 35, 0.96), rgba(8, 13, 24, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 44px rgba(2, 6, 23, 0.34);
}

.od-profile-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -35%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0) 62%);
  pointer-events: none;
}

.od-profile-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.od-profile-hero__identity {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.od-profile-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(14, 165, 233, 0.16));
  color: #f8fbff;
  font-family: "Segoe UI Variable Display", "Bahnschrift", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px rgba(2, 6, 23, 0.34);
  overflow: hidden;
}

.od-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.od-profile-kicker {
  margin-bottom: 8px;
  color: rgba(125, 211, 252, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.od-profile-hero h2 {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Bahnschrift", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2.24rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.od-profile-hero__sub {
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.8);
  max-width: 760px;
}

.od-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.od-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: #dbeafe;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.od-badge.is-success {
  border-color: rgba(74, 222, 128, 0.24);
  background: rgba(22, 101, 52, 0.3);
  color: #bbf7d0;
}

.od-badge.is-warning {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(120, 53, 15, 0.28);
  color: #fde68a;
}

.od-badge.is-danger {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.3);
  color: #fecaca;
}

.od-badge.is-info {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(14, 116, 144, 0.24);
  color: #bae6fd;
}

.od-badge.is-muted {
  color: #cbd5e1;
}

.od-profile-hero__meta {
  display: grid;
  gap: 10px;
}

.od-meta-chip {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 12, 22, 0.76);
}

.od-meta-chip__label {
  display: block;
  margin-bottom: 4px;
  color: rgba(148, 163, 184, 0.84);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.od-meta-chip__value {
  display: block;
  font-weight: 700;
  color: #f8fbff;
  overflow-wrap: anywhere;
}

.od-profile-hero__spotlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.od-spotlight {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(10, 15, 28, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.od-spotlight__label {
  display: block;
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.od-spotlight__value {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fbff;
}

.od-spotlight__meta {
  display: block;
  margin-top: 6px;
  color: rgba(191, 219, 254, 0.68);
  font-size: 0.82rem;
}

.od-profile-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.od-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(9, 14, 24, 0.74);
  color: #dce8f8;
  min-height: 46px;
}

.od-alert-pill.is-success {
  border-color: rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
}

.od-alert-pill.is-warning {
  border-color: rgba(251, 191, 36, 0.26);
  color: #fde68a;
}

.od-alert-pill.is-danger {
  border-color: rgba(248, 113, 113, 0.26);
  color: #fecaca;
}

.od-alert-pill.is-info {
  border-color: rgba(56, 189, 248, 0.24);
  color: #bae6fd;
}

.od-profile-tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 4px 4px;
  margin: -4px -4px 0;
  background: linear-gradient(180deg, rgba(5, 9, 18, 0.98), rgba(5, 9, 18, 0.78), rgba(5, 9, 18, 0));
  backdrop-filter: blur(14px);
}

.od-profile-tab {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(10, 15, 28, 0.72);
  color: #b8c7da;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.od-profile-tab:hover,
.od-profile-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.28);
  color: #eff6ff;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18);
}

.od-profile-tab.is-active {
  border-color: rgba(56, 189, 248, 0.34);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.92), rgba(7, 89, 133, 0.84));
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 30px rgba(8, 47, 73, 0.22);
}

.od-profile-panels {
  display: flex;
  flex-direction: column;
}

.od-profile-panel {
  display: none;
}

.od-profile-panel.is-active {
  display: block;
  animation: odProfileFade 0.18s ease;
}

.od-panel-shell {
  display: grid;
  gap: 14px;
}

.od-panel-shell--split {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.92fr);
  align-items: start;
}

.od-panel-card,
.od-info-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.92), rgba(8, 12, 22, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.od-panel-card {
  padding: 18px;
}

.od-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.od-panel-head h3 {
  margin: 4px 0 0;
  font-family: "Segoe UI Variable Display", "Bahnschrift", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.od-panel-head p {
  margin: 0;
  color: rgba(191, 219, 254, 0.66);
  font-size: 0.86rem;
}

.od-panel-kicker {
  display: block;
  color: rgba(125, 211, 252, 0.86);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

.od-kpi-card {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(12, 18, 32, 0.88);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.od-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.2);
  box-shadow: 0 18px 28px rgba(2, 6, 23, 0.18);
}

.od-kpi-card__label {
  display: block;
  color: rgba(148, 163, 184, 0.84);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.od-kpi-card__value {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #f8fbff;
  overflow-wrap: anywhere;
}

.od-kpi-card__meta {
  display: block;
  margin-top: 6px;
  color: rgba(191, 219, 254, 0.66);
  font-size: 0.84rem;
}

.od-panel-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.od-alert-list,
.od-stack-list {
  display: grid;
  gap: 10px;
}

.od-alert-row,
.od-stack-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(9, 14, 24, 0.68);
}

.od-alert-row__body,
.od-stack-row__body {
  min-width: 0;
}

.od-alert-row__body strong,
.od-stack-row__body strong {
  display: block;
  color: #f8fbff;
}

.od-alert-row__body span,
.od-stack-row__body span {
  display: block;
  margin-top: 4px;
  color: rgba(191, 219, 254, 0.68);
  font-size: 0.84rem;
}

.od-info-stack {
  display: grid;
  gap: 12px;
}

.od-info-card {
  padding: 14px 15px;
}

.od-info-card__title {
  margin-bottom: 12px;
  color: rgba(248, 250, 252, 0.94);
  font-size: 0.9rem;
  font-weight: 700;
}

.od-kv-list {
  display: grid;
  gap: 10px;
}

.od-kv-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.82fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.od-kv-row dt {
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.od-kv-row dd {
  margin: 0;
  color: #f8fbff;
  overflow-wrap: anywhere;
}

.od-profile-modal .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px;
}

.od-profile-modal .field {
  min-width: 0;
}

.od-profile-modal .field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(148, 163, 184, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.od-profile-modal input,
.od-profile-modal select,
.od-profile-modal textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 12, 22, 0.82);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.od-profile-modal input:focus,
.od-profile-modal select:focus,
.od-profile-modal textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
  background: rgba(9, 15, 27, 0.92);
}

.od-note-field {
  width: 100%;
}

.od-note-field textarea {
  min-height: 220px !important;
  resize: vertical;
}

#drv_profilePreview {
  width: 88px !important;
  height: 88px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(125, 211, 252, 0.16) !important;
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.24);
}

.od-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(7, 12, 22, 0.76);
}

.od-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.od-table th,
.od-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}

.od-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(8, 13, 24, 0.94);
  color: rgba(191, 219, 254, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.od-table tbody tr {
  transition: background 0.18s ease, transform 0.18s ease;
}

.od-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.76);
}

.od-table .js-open-order,
.od-table .od-rowlink {
  cursor: pointer;
}

.od-route {
  display: grid;
  gap: 4px;
  min-width: 240px;
}

.od-route span {
  color: rgba(191, 219, 254, 0.8);
  font-size: 0.84rem;
}

.od-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.od-doc-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.94), rgba(8, 13, 24, 0.86));
}

.od-doc-card__top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.od-doc-card__preview {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-weight: 700;
}

.od-doc-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.od-doc-card__title {
  font-weight: 700;
  color: #f8fbff;
}

.od-doc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: rgba(191, 219, 254, 0.66);
  font-size: 0.82rem;
}

.od-doc-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.od-progress {
  display: grid;
  gap: 8px;
}

.od-progress__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.88);
}

.od-progress__track {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
}

.od-progress__track span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.84), rgba(59, 130, 246, 0.92));
}

.od-critical {
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.od-timeline {
  display: grid;
  gap: 12px;
}

.od-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
}

.od-timeline-item__rail {
  position: relative;
}

.od-timeline-item__rail::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12);
}

.od-timeline-item__rail::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: -12px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0));
}

.od-timeline-item:last-child .od-timeline-item__rail::after {
  display: none;
}

.od-timeline-item.is-warning .od-timeline-item__rail::before {
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12);
}

.od-timeline-item.is-danger .od-timeline-item__rail::before {
  background: #f87171;
  box-shadow: 0 0 0 6px rgba(248, 113, 113, 0.12);
}

.od-timeline-item__body {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(8, 13, 24, 0.8);
}

.od-timeline-item__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.od-timeline-item__body h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #f8fbff;
}

.od-timeline-item__body p {
  margin: 8px 0 0;
  color: rgba(191, 219, 254, 0.72);
}

.od-empty {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.2);
  background: rgba(8, 13, 24, 0.54);
  color: rgba(191, 219, 254, 0.72);
}

.od-skeleton {
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.66), rgba(15, 23, 42, 0.88));
  background-size: 200% 100%;
  animation: odProfilePulse 1.1s linear infinite;
}

.od-skeleton--line {
  height: 16px;
}

.od-skeleton--line.sm {
  width: 38%;
}

.od-skeleton--line.md {
  width: 56%;
}

.od-skeleton--line.lg {
  width: 84%;
}

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

.od-skeleton-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(9, 14, 24, 0.76);
}

.od-profile-modal .btn {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(13, 20, 34, 0.82);
  color: #eff6ff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.od-profile-modal .btn:hover,
.od-profile-modal .btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.26);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18);
}

.od-profile-modal .btn.primary {
  border-color: rgba(56, 189, 248, 0.28);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.9), rgba(14, 116, 144, 0.88));
}

.od-profile-modal .btn.danger {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.68);
}

.od-profile-modal .btn.small {
  padding: 8px 12px;
  font-size: 0.78rem;
}

@keyframes odProfileFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes odProfilePulse {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 1180px) {
  .od-profile-hero__top,
  .od-panel-shell--split {
    grid-template-columns: 1fr;
  }

  .od-profile-hero__spotlights,
  .od-metric-grid,
  .od-metric-grid--compact,
  .od-skeleton-grid,
  .od-panel-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .od-profile-modal-backdrop {
    padding: 10px;
  }

  .od-profile-modal {
    width: min(100vw, 100vw) !important;
    max-height: 96vh;
    border-radius: 20px;
  }

  #custBackdrop .card-body,
  #drvBackdrop .card-body {
    padding: 16px;
  }

  .od-profile-head,
  .od-profile-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .od-profile-hero,
  .od-panel-card {
    padding: 16px;
  }

  .od-profile-modal .form-grid,
  .od-profile-hero__spotlights,
  .od-metric-grid,
  .od-metric-grid--compact,
  .od-skeleton-grid,
  .od-panel-split,
  .od-doc-grid {
    grid-template-columns: 1fr !important;
  }

  .od-kv-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .od-profile-foot {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .od-profile-tab,
  .od-kpi-card,
  .od-profile-modal .btn,
  .od-table tbody tr,
  .od-skeleton {
    transition: none !important;
    animation: none !important;
  }
}
