@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --alpha29-bg: transparent;
  --alpha29-surface: transparent;
  --alpha29-card: #ffffff;
  --alpha29-text: #0f172a;
  --alpha29-muted: #64748b;
  --alpha29-border: #e2e8f0;
  --alpha29-blue: #00709e;
  --alpha29-orange: #00709e;
  --alpha29-cyan: #e0f3fc;
  --alpha29-yellow: #e0f3fc;
  --alpha29-purple: #f1f5f9;
}

body {
  background: #f8fafc !important;
}


html.layout-menu-fixed .layout-page {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

@media (hover: none) and (pointer: coarse) {
  html.layout-menu-fixed .layout-page {
    min-height: auto;
  }
}

html.layout-menu-fixed .content-wrapper {
  justify-content: flex-start;
  overflow: visible;
}

.alpha29-dashboard {
  margin: 0;
  padding: 0 0 20px;
  background: var(--alpha29-bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.alpha29-card,
.alpha29-kpi {
  transition: box-shadow 220ms ease, border-color 180ms ease;
}

.alpha29-is-loading {
  position: relative;
  overflow: hidden;
}

.alpha29-is-loading::after {
  content: none;
}

.alpha29-is-loading > :not(header) {
  opacity: 1;
  filter: none;
}

.alpha29-is-ready > :not(header) {
  animation: none;
}

.alpha29-soft-refresh {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .alpha29-is-ready > :not(header) {
    animation: none;
  }
}

.alpha29-shell {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px;
  background: var(--alpha29-surface);
  border-radius: 0;
}

.alpha29-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.alpha29-search {
  width: 280px;
  max-width: 100%;
  height: 40px;
  border: 1px solid var(--alpha29-border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  background: #fff;
}

.alpha29-search input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: #4d4f52;
  font-size: 14px;
  font-weight: 500;
}

.alpha29-search input::placeholder {
  color: #7f8284;
}

.alpha29-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alpha29-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1f2122;
  font-size: 20px;
}

.alpha29-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.alpha29-user-name {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--alpha29-text);
}

.alpha29-user-role {
  margin: 0;
  font-size: 11px;
  line-height: 14px;
  color: var(--alpha29-muted);
}

.alpha29-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #d9d9d9;
  position: relative;
}

.alpha29-avatar-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #30cc7a;
  border: 2px solid #fff;
  position: absolute;
  right: 0;
  bottom: 0;
}

.alpha29-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.alpha29-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.alpha29-kpi {
  min-height: 110px;
  border-radius: 14px;
  padding: 12px;
  position: relative;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.alpha29-kpi::before,
.alpha29-kpi::after {
  content: none;
}

.alpha29-kpi-blue {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
}
.alpha29-kpi-orange {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
}

.alpha29-kpi h3 {
  margin: 14px 0 2px;
  color: #0f172a;
  font-size: 44px;
  line-height: 44px;
  font-weight: 700;
}

.alpha29-kpi p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.alpha29-kpi .alpha29-dots-btn {
  right: 10px;
  top: 8px;
  width: 24px;
  height: 16px;
  padding: 0;
  line-height: 1;
}

.alpha29-kpi .alpha29-dots-btn i {
  display: none;
}

.alpha29-kpi .alpha29-dots-btn::before {
  content: "";
  display: block;
  width: 18px;
  height: 6px;
  margin-left: 1px;
  background-repeat: no-repeat;
  background-size: 18px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%3Ccircle cx='2' cy='3' r='1.35' fill='none' stroke='%2364748b' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='3' r='1.35' fill='none' stroke='%2364748b' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='3' r='1.35' fill='none' stroke='%2364748b' stroke-width='1.2'/%3E%3C/svg%3E");
}

.alpha29-badge {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  max-width: max-content;
  white-space: nowrap;
  flex: 0 0 auto;
}

.alpha29-badge i {
  display: none !important;
}

.alpha29-dots-btn-soft {
  position: static;
  width: 22px;
  height: 22px;
  color: #9aa0a6;
}

.alpha29-dots-btn-soft::before {
  content: "";
  display: block;
  width: 18px;
  height: 6px;
  margin-left: 1px;
  background-repeat: no-repeat;
  background-size: 18px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%3Ccircle cx='2' cy='3' r='1.35' fill='none' stroke='%239aa0a6' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='3' r='1.35' fill='none' stroke='%239aa0a6' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='3' r='1.35' fill='none' stroke='%239aa0a6' stroke-width='1.2'/%3E%3C/svg%3E");
}

.alpha29-dots-btn-soft i {
  display: none !important;
}

.alpha29-badge::before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: 0 0 12px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 8.5L4.7 5.8L6.6 7.3L10 4' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.6 4H10V5.4' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.alpha29-badge-down::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 3.5L4.7 6.2L6.6 4.7L10 8' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.6 8H10V6.6' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.alpha29-badge-up   { color: #374151; background: #f8fafc; }
.alpha29-badge-down { color: #374151; background: #f8fafc; }

.alpha29-badge-solid {
  font-size: 14px;
  margin-top: 0;
}


.alpha29-small-cards .alpha29-badge {
  padding: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  gap: 8px;
  line-height: 18px;
  font-size: 12px;
  font-weight: 700;
}

.alpha29-small-cards .alpha29-badge::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 5px;
  display: inline-block;
  line-height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.alpha29-small-cards .alpha29-badge-up {
  color: #00709e;
}

.alpha29-small-cards .alpha29-badge-up::before {
  background: #00709e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 8.5L4.7 5.8L6.6 7.3L10 4' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.6 4H10V5.4' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.alpha29-small-cards .alpha29-badge-down {
  color: #64748b;
}

.alpha29-small-cards .alpha29-badge-down::before {
  background: #64748b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 3.5L4.7 6.2L6.6 4.7L10 8' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.6 8H10V6.6' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.alpha29-dots-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 20px;
  height: 20px;
  color: #a7a9aa;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alpha29-row-2 {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.alpha29-lite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.alpha29-dashboard-lite .alpha29-main-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: stretch;
}

.alpha29-dashboard-lite .alpha29-shell {
  max-width: 1360px;
  margin: 0 auto;
}

.alpha29-dashboard-lite .alpha29-row-2 {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
  width: 100%;
}

.alpha29-dashboard-lite .alpha29-left,
.alpha29-dashboard-lite .alpha29-right {
  min-width: 0;
}

.alpha29-dashboard-lite .alpha29-calendar,
.alpha29-dashboard-lite .a29-funnel-card {
  min-height: 520px;
}

.alpha29-dashboard-lite .alpha29-calendar {
  height: 520px;
}

.alpha29-dashboard-lite .a29-cal-split {
  grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
}

.alpha29-dashboard-lite .a29-funnel-card {
  height: 520px;
}

.alpha29-dashboard-lite .alpha29-lite-grid .alpha29-calendar,
.alpha29-dashboard-lite .alpha29-lite-grid .a29-funnel-card {
  min-height: 520px;
  height: 520px;
}

.alpha29-dashboard-lite .alpha29-lite-grid .a29-cal-split {
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
}

.alpha29-card {
  border-radius: 14px;
  background: var(--alpha29-card);
  overflow: hidden;
  border: 1px solid #e8ecf2;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.alpha29-workload {
  min-height: 360px;
  padding: 14px 14px 12px;
  position: relative;
  background: #ffffff;
  overflow: visible;
}

.alpha29-workload header,
.alpha29-active-shipments header,
.alpha29-global-profit header,
.alpha29-calendar header,
.alpha29-suppliers header,
.a29-ops-single-card header,
.a29-funnel-card header,
.alpha29-services header,
.alpha29-clients header,
.alpha29-top5 header,
.a29-status-dist-card header,
.a29-load-vol-card header,
.a29-ops-kpis-card header,
.alpha29-clients-pct header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alpha29-workload h3,
.alpha29-active-shipments h3,
.alpha29-global-profit h3,
.alpha29-calendar h3,
.alpha29-suppliers h3,
.a29-ops-single-card h3,
.a29-funnel-card h3,
.alpha29-services h3,
.alpha29-clients h3,
.alpha29-top5 h3,
.a29-status-dist-card h3,
.a29-load-vol-card h3,
.a29-ops-kpis-card h3,
.alpha29-clients-pct h3 {
  margin: 0;
  color: #384551;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.alpha29-workload-subtitle {
  margin: 6px 0 0;
  color: #8a8d8e;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
}


.a29-wl-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
  flex: 1;
}

.a29-wl-donut-wrap  { width: 100%; height: auto; margin: 4px 0 0; overflow: visible; }

.a29-wl-donut-svg {
  width: min(100%, 460px);
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}


.a29-wl-leg-row {
  display: grid;
  grid-template-columns: 8px 1fr auto auto;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.a29-wl-leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.a29-wl-leg-name {
  font-size: 11px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a29-wl-leg-cnt {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}
.a29-wl-leg-pct {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  min-width: 34px;
  text-align: right;
}

.a29-wl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}


.a29-wl-summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 12px;
}
.a29-wl-total-num {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
  line-height: 1;
}
.a29-wl-total-lbl {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}
.a29-wl-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.a29-wl-item {
  display: grid;
  grid-template-columns: 68px 1fr 28px;
  align-items: center;
  gap: 8px;
}
.a29-wl-name {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a29-wl-bar-wrap {
  height: 5px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.a29-wl-bar {
  height: 100%;
  background: #00709e;
  border-radius: 999px;
  transition: width 0.4s ease;
  min-width: 3px;
}
.a29-wl-cnt {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}
.a29-wl-empty {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}

.alpha29-legend-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.alpha29-workload .alpha29-dots-btn {
  position: static;
  width: 24px;
  height: 16px;
  padding: 0;
  line-height: 1;
}

.alpha29-workload .alpha29-dots-btn i {
  display: none;
}

.alpha29-workload .alpha29-dots-btn::before {
  content: "";
  display: block;
  width: 18px;
  height: 6px;
  margin-left: 1px;
  background-repeat: no-repeat;
  background-size: 18px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%3Ccircle cx='2' cy='3' r='1.35' fill='none' stroke='rgba(160,164,168,0.95)' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='3' r='1.35' fill='none' stroke='rgba(160,164,168,0.95)' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='3' r='1.35' fill='none' stroke='rgba(160,164,168,0.95)' stroke-width='1.2'/%3E%3C/svg%3E");
}

.alpha29-legend-blue   { background: #00709e; }
.alpha29-legend-yellow { background: #3d9fc8; }
.alpha29-legend-orange { background: #0082b5; }
.alpha29-legend-slate  { background: #94a3b8; }
.alpha29-legend-purple { background: #e2e8f0; }
.alpha29-workload .alpha29-legend-blue  { background: #00709e; }
.alpha29-workload .alpha29-legend-orange { background: #0082b5; }
.alpha29-workload .alpha29-legend-slate  { background: #94a3b8; }

.alpha29-active-shipments {
  min-height: 360px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.alpha29-header-tools { display: flex; gap: 6px; }

.alpha29-pill {
  height: 30px;
  border: 0;
  background: #ececec;
  border-radius: 8px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #989b9c;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #e1e3e5;
}

.alpha29-pill i {
  font-size: 16px;
}

.alpha29-select-pill {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23989b9c' d='M7 10l5 5l5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.alpha29-inline-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #57595a;
  font-size: 13px;
  margin-top: 8px;
  line-height: 16px;
  font-weight: 600;
  opacity: 1;
}

.alpha29-inline-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 6px;
}

.alpha29-active-shipments .alpha29-inline-legend {
  font-size: 10px;
  line-height: 12px;
  font-weight: 500;
  opacity: 0.82;
  gap: 12px;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 2px;
}

.alpha29-active-shipments .alpha29-inline-legend i {
  width: 7px;
  height: 7px;
  margin-right: 4px;
}

.alpha29-active-shipments .alpha29-inline-legend > span {
  display: inline-flex;
  align-items: center;
}

.alpha29-bars-chart {
  position: relative;
  margin-top: 10px;
  height: 236px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  padding-bottom: 30px;
}

.alpha29-bars-chart-live {
  display: block;
  height: 248px;
  padding-bottom: 34px;
  overflow: hidden;
}

.alpha29-bars-live-wrap {
  position: absolute;
  z-index: 2;
  left: 56px;
  right: 0;
  bottom: 34px;
  top: 8px;
  display: block;
  padding: 0;
  overflow: hidden;
}

.alpha29-active-yaxis {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 8px;
  bottom: 34px;
  width: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  color: #8f9192;
  font-size: 14px;
  line-height: 1;
  padding-right: 8px;
}

.alpha29-bars-grid {
  position: absolute;
  inset: 8px 0 34px 56px;
  border-top: 1px dashed #d4d6d8;
  border-bottom: 1px dashed #d4d6d8;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 41px,
    rgba(212, 214, 216, 0.45) 41px,
    rgba(212, 214, 216, 0.45) 42px
  );
}

.alpha29-bar-set {
  position: relative;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
}

.alpha29-bar-set .y,
.alpha29-bar-set .b {
  width: 14px;
  border-radius: 7px;
  display: block;
}

.alpha29-bar-set .y { background: #ecd468; }
.alpha29-bar-set .b { background: #b2dbe9; }

.alpha29-bars-days {
  position: absolute;
  left: 56px;
  right: 0;
  bottom: 2px;
  display: grid;
  grid-template-columns: repeat(5, minmax(52px, 1fr));
  text-align: center;
  color: #8f9192;
  font-size: 14px;
}

.alpha29-bars-days.is-dense {
  font-size: 10px;
}

.alpha29-bars-days span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.alpha29-stack-col {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.alpha29-stack-bar {
  position: relative;
  width: 18px;
  height: 100%;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(233, 236, 238, 0.35);
}

.alpha29-stack-seg {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 2px;
}

.alpha29-wave-canvas {
  width: 100%;
  height: 100%;
}

.alpha29-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.alpha29-chart-tooltip {
  position: absolute;
  top: 8px;
  left: calc(50% - 34px);
  width: 68px;
  height: 50px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10);
  display: grid;
  place-items: center;
  z-index: 6;
  pointer-events: none;
}

.alpha29-chart-tooltip strong {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.alpha29-chart-tooltip strong {
  font-size: 20px;
  line-height: 20px;
  color: var(--alpha29-text);
}

.alpha29-chart-tooltip small {
  margin-top: -6px;
  font-size: 10px;
  color: var(--alpha29-muted);
  line-height: 11px;
  display: block;
  width: 100%;
  text-align: center;
}

.alpha29-row-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 14px;
  align-items: stretch;
  height: 370px;
}

.alpha29-global-profit {
  min-height: 0;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.alpha29-global-profit .alpha29-inline-legend { margin: 0; }
.alpha29-global-profit header { position: relative; }
.alpha29-profit-dot-revenue { background: #00709e; }
.alpha29-profit-dot-cost    { background: #64748b; }

#alpha29ProfitFilterBtn {
  position: static;
  width: 24px;
  height: 16px;
  padding: 0;
  line-height: 1;
  color: #a0a4a8;
}

#alpha29ProfitFilterBtn i {
  display: none;
}

#alpha29ProfitFilterBtn::before {
  content: "";
  display: block;
  width: 18px;
  height: 6px;
  background-repeat: no-repeat;
  background-size: 18px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%3Ccircle cx='2' cy='3' r='1.35' fill='none' stroke='%23a0a4a8' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='3' r='1.35' fill='none' stroke='%23a0a4a8' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='3' r='1.35' fill='none' stroke='%23a0a4a8' stroke-width='1.2'/%3E%3C/svg%3E");
}

.alpha29-lines-chart {
  margin-top: 12px;
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.alpha29-profit-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  border-top: 1px dashed #d2d4d6;
  border-bottom: 1px dashed #d2d4d6;
}

.alpha29-lines-chart .alpha29-profit-canvas {
  flex: 0 0 auto;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
}

.alpha29-lines-chart .alpha29-profit-canvas .alpha29-wave-svg {
  width: 100%;
  height: 100%;
}

.alpha29-profit-tooltip {
  position: absolute;
  width: 160px;
  min-height: 72px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.09);
  padding: 8px 10px;
  pointer-events: none;
  z-index: 4;
}

.alpha29-profit-tooltip h6 {
  margin: 0 0 6px;
  color: #303538;
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
}

.alpha29-profit-tooltip .tip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.alpha29-profit-tooltip .tip-row:last-child {
  margin-bottom: 0;
}

.alpha29-profit-tooltip .tip-row span {
  color: #7b8186;
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
}

.alpha29-profit-tooltip .tip-row b {
  color: #2a3033;
  font-size: 11px;
  line-height: 13px;
  font-weight: 700;
}

.alpha29-profit-days {
  margin-top: 8px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 14px;
  color: #8f9192;
  text-align: center;
  grid-template-columns: repeat(var(--profit-cols, 7), minmax(0, 1fr));
}

.alpha29-profit-days span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.alpha29-small-cards {
  display: grid;
  gap: 14px;
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
}

.alpha29-stat-card {
  min-height: 0;
  height: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.alpha29-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  min-height: 32px;
}

.alpha29-stat-icon { width: 32px; height: 32px; }

.alpha29-stat-icon.bx {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 28px;
  color: #5ea2be;
}

.alpha29-stat-iconify {
  width: 32px;
  height: 32px;
  font-size: 32px;
  color: #8f9193;
  display: inline-block;
}

.alpha29-stat-icon-modern {
  width: 32px;
  height: 32px;
  font-size: 30px;
  line-height: 32px;
  color: #8f9193 !important;
  display: inline-block;
}

.alpha29-stat-card .bx.bx-doughnut-chart {
  color: #475569 !important;
}
.alpha29-stat-card .bx.bx-timer {
  color: #475569 !important;
}

.alpha29-stat-card h3 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 34px;
  color: var(--alpha29-text);
}

.alpha29-stat-card p {
  margin: 3px 0 0;
  color: var(--alpha29-muted);
  font-size: 14px;
}

.alpha29-calendar {
  min-height: 360px;
  padding: 14px;
  position: relative;
}

.alpha29-calendar header button {
  border: none;
  background: transparent;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #8f9498;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alpha29-calendar .alpha29-days-pairs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.alpha29-calendar .day-col {
  height: 56px;
  border-radius: 8px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  place-items: center;
  border: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
  padding: 0;
}

.alpha29-calendar .day-col .w {
  color: #b0b2b3;
  font-size: 13px;
  line-height: 16px;
}

.alpha29-calendar .day-col .n {
  color: var(--alpha29-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.alpha29-calendar .day-col.is-active {
  background: var(--alpha29-blue);
  border-radius: 10px;
}

.alpha29-calendar .day-col.is-active .w {
  color: rgba(255, 255, 255, 0.82);
}

.alpha29-calendar .day-col.is-active .n {
  color: #ffffff;
  font-weight: 700;
}

.alpha29-calendar .day-col.is-today:not(.is-active) {
  background: #f3f5f7;
}

.alpha29-calendar h4 {
  margin: 14px 0 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--alpha29-text);
}

.alpha29-calendar-subheader {
  margin-top: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.alpha29-calendar-subheader h4 {
  margin: 0;
}

.alpha29-calendar-more {
  border: 0;
  background: transparent;
  color: #8f9498;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.alpha29-cal-actions {
  display: inline-flex;
  align-items: center;
}

.alpha29-exec-select {
  height: 30px;
  min-width: 128px;
  max-width: 176px;
  border: 1px solid #e1e3e5;
  background: #ececec;
  border-radius: 8px;
  color: #989b9c;
  font-size: 14px;
  font-weight: 600;
  padding: 0 8px;
  outline: 0;
  cursor: pointer;
}

.alpha29-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.alpha29-mode-toggle .mode-label {
  font-size: 10px;
  font-weight: 600;
  color: #9aa0a6;
  line-height: 1;
}

.alpha29-mode-toggle .mode-label.is-active {
  color: #3c4043;
}

.alpha29-toggle-switch {
  width: 34px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: #d3d8dd;
  position: relative;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.alpha29-toggle-switch .alpha29-toggle-knob {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.alpha29-toggle-switch.is-delivery {
  background: #00709e;
}

.alpha29-toggle-switch.is-delivery .alpha29-toggle-knob {
  transform: translateX(16px);
}

.alpha29-delivery-list {
  display: grid;
  gap: 8px;
}

.alpha29-calendar-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alpha29-cal-link-btn {
  border: 0;
  background: transparent;
  color: #7f878d;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 0;
  cursor: pointer;
}

.alpha29-cal-link-btn:hover {
  color: #4f565b;
}

.d-item {
  min-height: 66px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.d-item .d-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.d-item .d-time { color: #2b2f30; font-size: 12px; font-weight: 600; line-height: 14px; }
.d-item .d-aol { color: #54595a; font-size: 10px; font-weight: 500; line-height: 12px; }
.d-item .d-right {
  border-left: 2px solid rgba(255, 255, 255, 0.6);
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.d-item .d-client {
  margin: 0;
  color: #1b1e1f;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d-item .d-route {
  color: #626668;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d-item.d-empty { visibility: hidden; border-color: transparent; background: transparent !important; }

.d-purple { background: #deeefa; }
.d-yellow { background: #e0f3fc; }
.d-blue { background: #c8e5f4; }

.alpha29-suppliers {
  margin-top: 14px;
  min-height: 0;
  height: 438px;
  padding: 14px;
  position: relative;
}

.alpha29-clients-movements {
  min-height: 260px;
  padding: 14px;
  position: relative;
}

.alpha29-clients-movements header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alpha29-clients-movements h3 {
  margin: 0;
  color: #384551;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.alpha29-suppliers a,
.alpha29-services a,
.alpha29-top5 a {
  color: #9ca0a2;
  font-size: 13px;
  text-decoration: none;
}

.alpha29-more-btn {
  border: 0;
  background: transparent;
  color: #a0a4a8;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.alpha29-more-btn i {
  font-size: 20px;
  line-height: 1;
}

.alpha29-supplier-filter {
  position: relative;
}

.alpha29-filter-dots-btn {
  width: 24px;
  height: 16px;
  padding: 0;
  line-height: 1;
  color: #a0a4a8;
}

.alpha29-filter-dots-btn i {
  display: none;
}

.alpha29-filter-dots-btn::before {
  content: "";
  display: block;
  width: 18px;
  height: 6px;
  background-repeat: no-repeat;
  background-size: 18px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6' viewBox='0 0 18 6'%3E%3Ccircle cx='2' cy='3' r='1.35' fill='none' stroke='%23a0a4a8' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='3' r='1.35' fill='none' stroke='%23a0a4a8' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='3' r='1.35' fill='none' stroke='%23a0a4a8' stroke-width='1.2'/%3E%3C/svg%3E");
}

.alpha29-supplier-filter-menu {
  position: absolute;
  top: 26px;
  right: 0;
  z-index: 8;
  min-width: 108px;
  background: #ffffff;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  padding: 6px;
  display: grid;
  gap: 4px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

.alpha29-supplier-filter-menu button {
  border: 0;
  background: transparent;
  color: #5d6266;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 16px !important;
  text-align: left;
  border-radius: 7px;
  padding: 6px 8px;
  cursor: pointer;
  width: 100%;
  height: auto;
  display: block;
}

.alpha29-supplier-filter-menu button:hover {
  background: #f2f5f7;
}

.alpha29-supplier-filter-menu button.is-active {
  background: #deeefa;
  color: #00709e;
}

.alpha29-supplier-list {
  margin-top: 8px;
  display: grid;
  gap: 0;
}

.alpha29-supplier-list article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.alpha29-supplier-list .avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #c7ccd1;
  color: #2f3437;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.alpha29-supplier-list h5 { margin: 0; color: var(--alpha29-text); font-size: 14px; font-weight: 700; }
.alpha29-supplier-list p { margin: 0; color: #8f9193; font-size: 12px; }
.alpha29-supplier-list time { color: #8f9193; font-size: 12px; }

.alpha29-supplier-meta {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.alpha29-active-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
}

.alpha29-overdue {
  display: inline-flex;
  align-items: center;
  height: 20px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.alpha29-overdue.is-bad {
  background: #f1f5f9;
  color: #64748b;
}

.alpha29-overdue.is-good {
  background: #f1f5f9;
  color: #475569;
}

.alpha29-supplier-empty {
  border: 1px dashed #d7dadd !important;
  border-radius: 10px !important;
  padding: 12px !important;
  color: #8f9193;
  font-size: 12px;
  text-align: center;
  width: 100%;
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.alpha29-bottom-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.alpha29-services,
.alpha29-top5 {
  min-height: 320px;
  padding: 14px;
}

.alpha29-service-list {
  margin-top: 12px;
  display: grid;
  gap: 18px;
}

.alpha29-service-list article {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.alpha29-service-list .ic { width: 22px; height: 22px; border-radius: 999px; }
.alpha29-service-list .ic.blue { background: #caecfb; }
.alpha29-service-list .ic.purple { background: #f1f5f9; }
.alpha29-service-list .ic.yellow { background: #e0f3fc; }
.alpha29-service-list .ic.rank {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #c5c8cb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.alpha29-service-list h5 {
  margin: 0;
  color: #1f2223;
  font-size: 14px;
  line-height: 19px;
  font-weight: 600;
}

.alpha29-service-list b {
  margin-top: 6px;
  display: inline-block;
  color: #2a2d2e;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}

.alpha29-service-pct-pill {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}

.alpha29-service-pct-pill.is-up {
  background: #f1f5f9;
  color: #475569;
}

.alpha29-service-pct-pill.is-down {
  background: #f1f5f9;
  color: #64748b;
}

.alpha29-service-list small {
  margin-top: 6px;
  display: inline-block;
  color: #9fa1a2;
  background: #e7e8e9;
  border-radius: 999px;
  font-size: 11px;
  padding: 4px 8px;
}

.alpha29-clients {
  min-height: 320px;
  padding: 14px;
}

.alpha29-clients > header > button {
  border: 0;
  background: transparent;
  width: 20px;
  height: 20px;
  color: #8f9498;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alpha29-client-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.alpha29-master-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.alpha29-master-list article {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 7px 10px;
}

.alpha29-master-list .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c5c8cb;
}

.alpha29-master-list h5 {
  margin: 0;
  color: #2a2d2e;
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpha29-master-list .qty {
  color: #6a6f74;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
}

.alpha29-client-list article {
  display: grid;
  grid-template-columns: 32px 1fr 86px 1fr 34px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.alpha29-client-list .logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #b8b8b8;
}

.alpha29-client-list h5 {
  margin: 0;
  font-size: 14px;
  color: var(--alpha29-text);
}

.alpha29-client-list b {
  height: 24px;
  border-radius: 999px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #475569;
  font-weight: 800;
}

.alpha29-client-list p {
  margin: 0;
  color: #4c4f50;
  font-size: 13px;
}

.alpha29-client-list p small { color: #9ea0a2; }
.alpha29-client-list .qty { color: #7d7f80; font-size: 13px; text-align: right; }

.alpha29-top5 h4 {
  margin: 8px 0;
  color: var(--alpha29-text);
  font-size: 16px;
}

.alpha29-timeline { display: grid; gap: 10px; }

.alpha29-timeline article {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.alpha29-timeline .dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #b9b9b9;
}

.alpha29-timeline h5 {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: #2a2d2e;
  font-weight: 700;
}

.alpha29-timeline h5 small { color: #808384; font-weight: 500; }
.alpha29-timeline h5 strong { color: #232526; }
.alpha29-timeline p { margin: 0; color: #9fa2a3; font-size: 12px; }

.alpha29-profitable-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.alpha29-profitable-list article {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 10px;
}

.alpha29-profitable-list .dot {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #c5c8cb;
}

.alpha29-profitable-list h5 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #2a2d2e;
  font-size: 13px;
  line-height: 17px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpha29-profitable-list b {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  color: #2a2d2e;
  font-size: 13px;
  line-height: 17px;
  font-weight: 700;
}

.alpha29-profitable-list .alpha29-service-pct-pill {
  grid-column: 2;
  grid-row: 2;
}

.alpha29-footer {
  margin: 14px 0 0;
  text-align: center;
  color: #7e8285;
  font-size: 13px;
}


.alpha29-service-list article:nth-child(1) .rank,
.alpha29-service-list article:nth-child(1) .ic.rank,
.alpha29-profitable-list article:nth-child(1) .rank {
  background: linear-gradient(135deg, #00709e 0%, #004c6d 100%);
  color: #fff;
}
.alpha29-service-list article:nth-child(2) .rank,
.alpha29-service-list article:nth-child(2) .ic.rank,
.alpha29-profitable-list article:nth-child(2) .rank {
  background: linear-gradient(135deg, #cbd5e1 0%, #64748b 100%);
  color: #fff;
}
.alpha29-service-list article:nth-child(3) .rank,
.alpha29-service-list article:nth-child(3) .ic.rank,
.alpha29-profitable-list article:nth-child(3) .rank {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: #fff;
}


.alpha29-master-list article:nth-child(3n+1) .dot { background: #00709e; }
.alpha29-master-list article:nth-child(3n+2) .dot { background: #3d9fc8; }
.alpha29-master-list article:nth-child(3n+3) .dot { background: #94a3b8; }


.alpha29-supplier-list article:nth-child(1) .avatar {
  background: linear-gradient(135deg, #00709e 0%, #004c6d 100%);
  color: #fff;
}
.alpha29-supplier-list article:nth-child(2) .avatar {
  background: linear-gradient(135deg, #cbd5e1 0%, #64748b 100%);
  color: #fff;
}
.alpha29-supplier-list article:nth-child(3) .avatar {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: #fff;
}
.alpha29-supplier-list article:nth-child(4) .avatar { background: #e2e8f0; color: #475569; }
.alpha29-supplier-list article:nth-child(5) .avatar { background: #e2e8f0; color: #475569; }


.alpha29-service-list article { border-left-width: 3px; }
.alpha29-service-list article:nth-child(1) { border-left-color: #00709e; }
.alpha29-service-list article:nth-child(2) { border-left-color: #94a3b8; }
.alpha29-service-list article:nth-child(3) { border-left-color: #475569; }
.alpha29-service-list article:nth-child(n+4) { border-left-color: #e2e8f0; }


.alpha29-small-cards .alpha29-stat-card:nth-child(1) {
  border-top: 3px solid #334155;
}
.alpha29-small-cards .alpha29-stat-card:nth-child(2) {
  border-top: 3px solid #64748b;
}


.alpha29-profit-canvas {
  background: linear-gradient(180deg, #fafbff 0%, #f6f8fc 100%);
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .alpha29-main-grid {
    grid-template-columns: 1fr;
  }

  .alpha29-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .alpha29-suppliers {
    margin-top: 0;
    height: auto;
    min-height: 360px;
  }

  .alpha29-dashboard-lite .alpha29-main-grid {
    grid-template-columns: 1fr;
  }

  .alpha29-dashboard-lite .alpha29-calendar,
  .alpha29-dashboard-lite .a29-funnel-card {
    height: auto;
    min-height: 360px;
  }

  .alpha29-dashboard-lite .alpha29-lite-grid .alpha29-calendar,
  .alpha29-dashboard-lite .alpha29-lite-grid .a29-funnel-card {
    height: auto;
    min-height: 360px;
  }

  .alpha29-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .alpha29-lite-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .alpha29-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha29-kpi h3 {
    font-size: 36px;
  }

  .alpha29-row-2,
  .alpha29-row-3 {
    grid-template-columns: 1fr;
  }

  .alpha29-row-3 {
    height: auto;
  }

  .alpha29-small-cards {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    height: auto;
  }

  .alpha29-calendar {
    height: auto;
  }

  .alpha29-search {
    width: 100%;
  }

  .alpha29-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .alpha29-top-actions {
    justify-content: flex-end;
  }
}




.alpha29-supplier-list article,
.alpha29-service-list article,
.alpha29-master-list article {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 11px 4px !important;
}
.alpha29-supplier-list article:last-child,
.alpha29-service-list article:last-child,
.alpha29-master-list article:last-child {
  border-bottom: none !important;
}


.alpha29-service-list .ic.rank,
.alpha29-service-list article:nth-child(1) .rank,
.alpha29-service-list article:nth-child(1) .ic.rank,
.alpha29-service-list article:nth-child(2) .rank,
.alpha29-service-list article:nth-child(2) .ic.rank,
.alpha29-service-list article:nth-child(3) .rank,
.alpha29-service-list article:nth-child(3) .ic.rank {
  background: transparent !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}


.alpha29-service-list article,
.alpha29-service-list article:nth-child(1),
.alpha29-service-list article:nth-child(2),
.alpha29-service-list article:nth-child(3),
.alpha29-service-list article:nth-child(n+4) {
  border-left: none !important;
}


.alpha29-service-pct-pill,
.alpha29-service-pct-pill.is-up,
.alpha29-service-pct-pill.is-down {
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  margin-top: 1px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
.alpha29-service-pct-pill.is-up   { color: #00709e !important; }
.alpha29-service-pct-pill.is-down { color: #64748b !important; }


.alpha29-active-pill {
  background: transparent !important;
  color: #00709e !important;
  padding: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}
.alpha29-overdue {
  padding: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
.alpha29-overdue.is-bad  { background: transparent !important; color: #64748b !important; }
.alpha29-overdue.is-good { background: transparent !important; color: #00709e !important; }


.alpha29-supplier-list article:nth-child(1) .avatar,
.alpha29-supplier-list article:nth-child(2) .avatar,
.alpha29-supplier-list article:nth-child(3) .avatar,
.alpha29-supplier-list article:nth-child(4) .avatar,
.alpha29-supplier-list article:nth-child(5) .avatar {
  background: #e0f3fc !important;
  color: #00709e !important;
  font-weight: 700 !important;
}


.alpha29-small-cards .alpha29-stat-card:nth-child(1),
.alpha29-small-cards .alpha29-stat-card:nth-child(2) {
  border-top: none !important;
}
.alpha29-stat-card h3 {
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  color: #0f172a !important;
}
.alpha29-stat-card p {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}


.alpha29-profit-canvas {
  background: none !important;
  border-radius: 0 !important;
}


.alpha29-master-list .dot {
  width: 7px !important;
  height: 7px !important;
}


.alpha29-master-list .qty {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}


.alpha29-supplier-list h5 {
  font-size: 13px !important;
}
.alpha29-supplier-list p {
  font-size: 11px !important;
  color: #94a3b8 !important;
}


.alpha29-service-list h5 {
  font-size: 13px !important;
  color: #0f172a !important;
}
.alpha29-service-list b {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}


.alpha29-profitable-list article {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 4px !important;
}
.alpha29-profitable-list article:last-child { border-bottom: none !important; }
.alpha29-profitable-list article:nth-child(1) .rank,
.alpha29-profitable-list article:nth-child(2) .rank,
.alpha29-profitable-list article:nth-child(3) .rank {
  background: transparent !important;
  color: #94a3b8 !important;
}


.alpha29-suppliers header,
.alpha29-services header,
.alpha29-clients header,
.alpha29-top5 header,
.a29-status-dist-card header,
.a29-load-vol-card header,
.a29-ops-kpis-card header,
.alpha29-clients-pct header {
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}


.alpha29-pill {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 12px !important;
}


.alpha29-supplier-meta {
  gap: 3px !important;
}




.a29-bar-wrap {
  height: 3px;
  background: #f1f5f9;
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
  width: 100%;
}
.a29-bar-fill {
  height: 100%;
  background: #334155;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.a29-bar-fill.a29-bar-amber { background: #64748b; }
.a29-bar-fill.a29-bar-slate { background: #94a3b8; }


.a29-sup-bar-wrap {
  height: 2px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
  margin-bottom: 2px;
}
.a29-sup-bar-fill {
  height: 100%;
  background: #334155;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}


.a29-profit-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.a29-profit-stat { display: flex; flex-direction: column; gap: 1px; }
.a29-ps-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.a29-ps-value {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.a29-ps-value-rev  { color: #00709e; }
.a29-ps-value-cost { color: #64748b; }
.a29-ps-value-profit-pos { color: #00709e; }
.a29-ps-value-profit-neg { color: #64748b; }


.a29-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #475569;
  font-size: 15px;
  margin-right: 8px;
  flex-shrink: 0;
}
.alpha29-workload h3,
.alpha29-active-shipments h3,
.alpha29-global-profit h3,
.alpha29-suppliers h3,
.a29-ops-single-card h3,
.a29-funnel-card h3,
.alpha29-services h3,
.alpha29-clients h3,
.alpha29-top5 h3,
.a29-status-dist-card h3,
.a29-load-vol-card h3,
.a29-ops-kpis-card h3,
.alpha29-clients-pct h3 {
  display: block !important;
  color: #384551 !important;
  font-weight: 600 !important;
}


.d-item {
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-left-width: 3px !important;
}


.alpha29-master-list article > div {
  min-width: 0;
  overflow: hidden;
}




.alpha29-metrics-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.alpha29-metric-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 360px;
}

.a29-status-dist-card,
.a29-load-vol-card,
.a29-ops-kpis-card,
.a29-funnel-card,
.alpha29-clients-movements {
  padding: 16px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.alpha29-metric-stack .a29-load-vol-card,
.alpha29-metric-stack .a29-ops-split {
  min-height: 0;
  height: 100%;
}


.a29-status-body {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex: 1;
}

.a29-status-donut-wrap {
  flex-shrink: 0;
  width: 144px;
  height: 144px;
}

.a29-status-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.a29-sdist-item {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 6px;
}

.a29-sdist-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.a29-sdist-name {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a29-sdist-count {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}


.a29-volume-chart {
  margin-top: 8px;
  flex: 1;
  height: 128px;
  overflow: hidden;
}

.a29-load-vol-card .a29-volume-chart {
  height: 156px;
}

.a29-ops-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
}

.a29-ops-single-card {
  padding: 12px !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.a29-ops-single-body {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
}

.a29-ops-single-body h4 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0f172a;
  line-height: 1;
  margin: 0 0 3px;
}

.a29-ops-single-body p {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin: 0 0 2px;
}

.a29-ops-single-body small {
  font-size: 10px;
  color: #94a3b8;
}

.a29-funnel-card {
  justify-content: flex-start;
}

.a29-logs-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
  align-content: flex-start;
  max-height: 320px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.a29-logs-list::-webkit-scrollbar { width: 3px; }
.a29-logs-list::-webkit-scrollbar-track { background: transparent; }
.a29-logs-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 3px; }

.a29-log-item {
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
}

.a29-log-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.a29-log-top strong {
  font-size: 12px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

.a29-log-top time {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
}

.a29-log-item p {
  margin: 4px 0;
  font-size: 11px;
  line-height: 1.35;
  color: #475569;
}

.a29-log-item small {
  font-size: 10px;
  color: #94a3b8;
}

.a29-log-empty {
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  padding: 18px 10px;
  border: 1px dashed #e2e8f0;
  border-radius: 10px;
}

.alpha29-client-movements-list .a29-cm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.alpha29-client-movements-list .a29-cm-head h5 {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.alpha29-client-movements-list .a29-cm-metrics {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.alpha29-client-movements-list .a29-cm-metrics b {
  margin: 0;
}

.alpha29-client-movements-list .a29-cm-metrics .alpha29-service-pct-pill {
  margin-top: 0;
}

.a29-year-tag {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 4px;
  background: #f1f5f9;
  padding: 1px 7px;
  border-radius: 999px;
  vertical-align: middle;
}


.a29-ops-body {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.a29-ops-kpi {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  flex: 1;
}

.a29-ops-kpi h4 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0f172a;
  line-height: 1;
  margin: 0 0 3px;
}

.a29-ops-kpi p {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin: 0 0 2px;
}

.a29-ops-kpi small {
  font-size: 11px;
  color: #94a3b8;
}

.a29-ops-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.a29-ops-icon.a29-ops-icon-amber {
  background: #f1f5f9;
  color: #475569;
}

.a29-ops-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0;
  flex-shrink: 0;
}


.alpha29-clients-pct {
  min-height: 320px;
  padding: 14px;
}

.alpha29-clients-pct .alpha29-master-list {
  margin-top: 12px;
}

.alpha29-clients-pct .alpha29-master-list article {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 9px 4px !important;
}

.alpha29-clients-pct .alpha29-master-list article:last-child {
  border-bottom: none !important;
}


@media (max-width: 1100px) {
  .a29-wl-donut-svg {
    width: min(100%, 360px);
  }

  .alpha29-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .alpha29-metric-stack {
    min-height: 0;
    grid-template-rows: auto auto;
  }
  .a29-ops-split {
    grid-template-columns: 1fr;
  }
  .alpha29-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha29-workload,
  .alpha29-suppliers,
  .a29-status-dist-card,
  .a29-load-vol-card,
  .a29-ops-kpis-card,
  .a29-funnel-card,
  .alpha29-clients-movements,
  .alpha29-services,
  .alpha29-clients,
  .alpha29-top5,
  .alpha29-clients-pct {
    min-height: 260px;
    height: auto;
  }

  .a29-logs-list {
    max-height: 220px;
  }

  .alpha29-small-cards .alpha29-stat-card {
    justify-content: flex-start;
    padding-top: 12px;
  }

  .alpha29-small-cards .alpha29-stat-top {
    position: static;
    margin-bottom: 4px;
    min-height: 0;
  }

  .alpha29-small-cards .alpha29-stat-card h3 {
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .alpha29-right {
    grid-template-columns: 1fr;
  }

  .alpha29-metrics-row {
    grid-template-columns: 1fr;
  }
  .alpha29-bottom-grid {
    grid-template-columns: 1fr;
  }

  .alpha29-kpi h3 {
    font-size: 30px;
  }

  
  .alpha29-calendar {
    height: auto;
  }

  .a29-cal-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .a29-cal-month-panel {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .a29-cal-list-panel {
    max-height: 240px;
  }

  
  .a29-cal-header {
    flex-wrap: wrap;
    gap: 6px;
  }

  .a29-cal-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .alpha29-exec-select {
    flex: 1;
  }

  
  .alpha29-workload {
    min-height: auto;
  }

  
  .alpha29-global-profit {
    min-height: auto;
  }

  
  .alpha29-stat-card {
    justify-content: flex-start;
    padding: 10px 10px;
    gap: 2px;
  }

  .alpha29-stat-top {
    position: static;
    margin-bottom: 2px;
  }

  .alpha29-stat-icon-modern {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
  }

  .alpha29-stat-card h3 {
    font-size: 20px !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
    line-height: 1.1 !important;
  }

  .alpha29-stat-card p {
    font-size: 10px !important;
    margin: 1px 0 0 !important;
  }

  .alpha29-badge-solid {
    font-size: 10px;
    margin-top: 3px;
  }
}


.a29-global-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.a29-gf-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.a29-gf-pills {
  display: flex;
  gap: 4px;
}

.a29-gf-btn {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.a29-gf-btn:hover {
  background: #f0f9fd;
  border-color: #a8d8ef;
  color: #00709e;
}

.a29-gf-btn.a29-gf-active {
  background: #00709e;
  border-color: #00709e;
  color: #fff;
}


.a29-cat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}


.a29-svc-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-bottom: 2px;
}
.a29-svc-name-row h5 {
  margin: 0 !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha29-service-list article > div {
  min-width: 0;
}

@media (max-width: 1200px) {
  .a29-svc-name-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
  }

  .a29-svc-name-row .a29-cat-tag {
    justify-self: start;
    white-space: normal;
  }
}


.a29-cat-tag-block {
  display: block;
  margin-bottom: 3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: none;
  padding: 0;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 500;
}


.alpha29-services,
.alpha29-clients,
.alpha29-top5,
.alpha29-clients-pct {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.alpha29-service-list {
  gap: 10px !important;
  margin-top: 10px !important;
  flex: 1;
}

.alpha29-service-list article {
  padding: 8px 6px !important;
}

.alpha29-master-list {
  gap: 9px !important;
  margin-top: 10px !important;
  flex: 1;
}

.alpha29-master-list article {
  padding: 7px 6px !important;
}


.alpha29-service-list b {
  margin-top: 3px !important;
}
.alpha29-service-list small {
  margin-top: 1px !important;
}
.alpha29-service-list .a29-bar-wrap {
  margin-top: 4px !important;
}


.a29-sup-op-pct {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  opacity: 0.85;
}


.a29-wl-cnt {
  display: flex;
  align-items: baseline;
  gap: 3px;
  justify-content: flex-end;
}
.a29-wl-pct {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1;
}


.a29-wl-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.a29-wl-donut-wrap > svg {
  width: min(100%, 460px);
  height: auto;
  flex-shrink: 0;
}
.a29-wl-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.a29-wl-donut-leg {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 6px;
}
.a29-wl-donut-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.a29-wl-donut-lname {
  font-size: 11px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a29-wl-donut-lpct {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}


.alpha29-calendar {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 360px;
}

.a29-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 1px solid #f1f5f9;
  gap: 8px;
  flex-shrink: 0;
}

.a29-cal-header-left,
.a29-cal-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a29-cal-split {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.a29-cal-month-panel {
  border-right: 1px solid #f1f5f9;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fafbfc;
  overflow: hidden;
}

.a29-cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin-bottom: 4px;
}

.a29-cal-month-nav h3 {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #384551 !important;
  text-align: center;
  flex: 1;
  margin: 0;
}

.a29-cal-month-nav button {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 2px 4px;
  line-height: 1;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
}
.a29-cal-month-nav button:hover { background: #e0f3fc; color: #00709e; }

.a29-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 1px;
}

.a29-cal-weekdays span {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 2px 0;
}

.a29-cal-today-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 2px;
}

.a29-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  flex: 1;
  align-content: start;
}

.a29-cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  min-height: 24px;
  transition: background 0.12s;
  padding: 1px 0;
}
.a29-cal-cell:hover:not(.a29-cal-empty) { background: #e0f3fc; }
.a29-cal-cell.a29-cal-empty { cursor: default; pointer-events: none; }

.a29-cal-cell.is-today .a29-cal-dn { color: #00709e; font-weight: 700; }
.a29-cal-cell.is-active { background: #00709e !important; border-radius: 5px; }
.a29-cal-cell.is-active .a29-cal-dn { color: #ffffff; font-weight: 700; }
.a29-cal-cell.is-active .a29-cal-dot { background: rgba(255,255,255,0.8); }

.a29-cal-dn {
  font-size: 10px;
  font-weight: 400;
  color: #374151;
  line-height: 1.2;
}

.a29-cal-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #334155;
  margin-top: 1px;
  flex-shrink: 0;
}

.a29-cal-list-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.a29-cal-list-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px 5px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
  gap: 4px;
}

.a29-cal-list-date-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}

.a29-cal-list-count-lbl {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}

.a29-cal-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.a29-cal-list-scroll::-webkit-scrollbar { width: 3px; }
.a29-cal-list-scroll::-webkit-scrollbar-track { background: transparent; }
.a29-cal-list-scroll::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 3px; }

.a29-cal-empty-msg {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  padding: 24px 0;
}


.d-item2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.d2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.d2-time {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}
.d2-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 99px;
  background: #f1f5f9;
  white-space: nowrap;
}
.d2-client {
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d2-meta {
  font-size: 10px;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.d2-aol-link {
  color: #00709e;
  text-decoration: underline;
  text-underline-offset: 2px;
}


@media (max-width: 480px) {
  .a29-wl-donut-svg {
    width: min(100%, 260px);
  }

  .content-wrapper {
    justify-content: flex-start;
  }

  .alpha29-lines-chart .alpha29-profit-canvas {
    height: 170px;
    min-height: 170px;
  }

  .alpha29-shell {
    padding: 10px 8px;
  }

  
  .alpha29-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .alpha29-kpi {
    min-height: 90px;
    padding: 10px;
  }

  .alpha29-kpi h3 {
    font-size: 26px;
    margin: 10px 0 2px;
  }

  .alpha29-kpi p {
    font-size: 12px;
  }

  
  .a29-global-filter-bar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .a29-gf-pills {
    flex-wrap: wrap;
  }

  .alpha29-stat-card h3 {
    font-size: 22px !important;
    letter-spacing: -0.5px !important;
  }

  .alpha29-stat-card p {
    font-size: 11px !important;
  }

  
  .alpha29-top-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  
  .alpha29-bottom-grid {
    grid-template-columns: 1fr;
  }

  
  .a29-cal-month-nav h3 {
    font-size: 10px !important;
  }

  
  .a29-profit-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  
  .alpha29-card {
    padding: 12px;
  }

  
  .a29-wl-total-num {
    font-size: 24px;
  }
}

@media (max-width: 1200px) {
  .alpha29-main-grid {
    grid-template-columns: 1fr;
  }

  .alpha29-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .alpha29-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .alpha29-clients-movements {
    grid-column: 1 / -1;
  }

  .alpha29-metric-stack {
    min-height: 0;
    height: auto;
    grid-template-rows: auto auto;
  }

  .alpha29-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha29-workload,
  .alpha29-suppliers,
  .a29-status-dist-card,
  .a29-load-vol-card,
  .a29-ops-kpis-card,
  .a29-funnel-card,
  .alpha29-clients-movements,
  .alpha29-services,
  .alpha29-clients,
  .alpha29-top5,
  .alpha29-clients-pct {
    min-height: 0 !important;
    height: auto !important;
  }

  .a29-logs-list {
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .alpha29-right,
  .alpha29-metrics-row,
  .alpha29-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (pointer: coarse) and (min-width: 769px) and (max-width: 1366px) {
  .alpha29-main-grid {
    grid-template-columns: 1fr;
  }

  .alpha29-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .alpha29-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .alpha29-clients-movements {
    grid-column: 1 / -1;
  }

  .alpha29-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha29-workload,
  .alpha29-suppliers,
  .a29-status-dist-card,
  .a29-load-vol-card,
  .a29-ops-kpis-card,
  .a29-funnel-card,
  .alpha29-clients-movements,
  .alpha29-services,
  .alpha29-clients,
  .alpha29-top5,
  .alpha29-clients-pct {
    min-height: 0 !important;
    height: auto !important;
  }

  .alpha29-small-cards .alpha29-stat-card {
    justify-content: flex-start;
    padding-top: 12px;
  }

  .alpha29-small-cards .alpha29-stat-top {
    position: static;
    margin-bottom: 4px;
    min-height: 0;
  }

  .alpha29-small-cards .alpha29-stat-card h3 {
    margin-top: 0 !important;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 768px) and (max-width: 820px) and (min-height: 900px) {
  .alpha29-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha29-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .alpha29-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha29-clients-movements {
    grid-column: 1 / -1;
  }

  .alpha29-row-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
  }
}

html[data-bs-theme="dark"] body {
  background: var(--bs-body-bg) !important;
}

html[data-bs-theme="dark"] .alpha29-dashboard {
  --alpha29-bg: transparent;
  --alpha29-surface: transparent;
  --alpha29-card: var(--bs-paper-bg);
  --alpha29-text: var(--bs-body-color);
  --alpha29-muted: var(--bs-secondary-color);
  --alpha29-border: var(--bs-border-color);
}

html[data-bs-theme="dark"] .alpha29-card,
html[data-bs-theme="dark"] .alpha29-kpi,
html[data-bs-theme="dark"] .d-item2,
html[data-bs-theme="dark"] .a29-log-item {
  background: var(--bs-paper-bg) !important;
  border-color: var(--bs-border-color) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .alpha29-kpi-blue,
html[data-bs-theme="dark"] .alpha29-kpi-orange {
  background: var(--bs-paper-bg) !important;
  border-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .alpha29-kpi h3,
html[data-bs-theme="dark"] .alpha29-workload h3,
html[data-bs-theme="dark"] .alpha29-active-shipments h3,
html[data-bs-theme="dark"] .alpha29-global-profit h3,
html[data-bs-theme="dark"] .alpha29-calendar h3,
html[data-bs-theme="dark"] .alpha29-suppliers h3,
html[data-bs-theme="dark"] .a29-ops-single-card h3,
html[data-bs-theme="dark"] .a29-funnel-card h3,
html[data-bs-theme="dark"] .alpha29-services h3,
html[data-bs-theme="dark"] .alpha29-clients h3,
html[data-bs-theme="dark"] .alpha29-top5 h3,
html[data-bs-theme="dark"] .a29-status-dist-card h3,
html[data-bs-theme="dark"] .a29-load-vol-card h3,
html[data-bs-theme="dark"] .a29-ops-kpis-card h3,
html[data-bs-theme="dark"] .alpha29-clients-pct h3,
html[data-bs-theme="dark"] .alpha29-stat-card h3,
html[data-bs-theme="dark"] .a29-ops-single-body h4,
html[data-bs-theme="dark"] .a29-ops-kpi h4,
html[data-bs-theme="dark"] .a29-wl-total-num,
html[data-bs-theme="dark"] .alpha29-master-list .qty,
html[data-bs-theme="dark"] .a29-log-top strong,
html[data-bs-theme="dark"] .d2-client,
html[data-bs-theme="dark"] .d2-time {
  color: var(--bs-body-color) !important;
}

html[data-bs-theme="dark"] .alpha29-kpi p,
html[data-bs-theme="dark"] .alpha29-stat-card p,
html[data-bs-theme="dark"] .a29-ops-single-body p,
html[data-bs-theme="dark"] .a29-ops-single-body small,
html[data-bs-theme="dark"] .a29-log-item p,
html[data-bs-theme="dark"] .a29-log-item small,
html[data-bs-theme="dark"] .d2-meta,
html[data-bs-theme="dark"] .a29-sdist-name,
html[data-bs-theme="dark"] .a29-cal-list-date-lbl,
html[data-bs-theme="dark"] .a29-cal-list-count-lbl,
html[data-bs-theme="dark"] .a29-cal-dn,
html[data-bs-theme="dark"] .a29-cal-weekdays span,
html[data-bs-theme="dark"] .a29-ps-label,
html[data-bs-theme="dark"] .a29-wl-total-lbl {
  color: var(--bs-secondary-color) !important;
}

html[data-bs-theme="dark"] .a29-cal-month-panel {
  background: var(--bs-paper-bg) !important;
  border-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .a29-cal-list-hdr,
html[data-bs-theme="dark"] .a29-cal-header,
html[data-bs-theme="dark"] .alpha29-suppliers header,
html[data-bs-theme="dark"] .alpha29-services header,
html[data-bs-theme="dark"] .alpha29-clients header,
html[data-bs-theme="dark"] .alpha29-top5 header,
html[data-bs-theme="dark"] .a29-status-dist-card header,
html[data-bs-theme="dark"] .a29-load-vol-card header,
html[data-bs-theme="dark"] .a29-ops-kpis-card header,
html[data-bs-theme="dark"] .alpha29-clients-pct header {
  border-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .a29-cal-cell:hover:not(.a29-cal-empty) {
  background: color-mix(in srgb, var(--bs-body-bg) 86%, var(--bs-body-color) 14%) !important;
}

html[data-bs-theme="dark"] .a29-cal-cell.is-active {
  background: var(--bs-primary) !important;
}

html[data-bs-theme="dark"] .a29-cal-cell.is-active .a29-cal-dn {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .alpha29-profit-canvas,
html[data-bs-theme="dark"] .alpha29-bars-grid {
  border-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .alpha29-profit-tooltip,
html[data-bs-theme="dark"] .alpha29-chart-tooltip {
  background: var(--bs-paper-bg) !important;
  border-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .alpha29-service-list article,
html[data-bs-theme="dark"] .alpha29-master-list article,
html[data-bs-theme="dark"] .alpha29-supplier-list article,
html[data-bs-theme="dark"] .alpha29-profitable-list article {
  border-bottom-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .a29-bar-wrap,
html[data-bs-theme="dark"] .a29-sup-bar-wrap,
html[data-bs-theme="dark"] .a29-wl-bar-wrap {
  background: color-mix(in srgb, var(--bs-body-bg) 84%, var(--bs-body-color) 16%) !important;
}

html[data-bs-theme="dark"] .alpha29-master-list h5,
html[data-bs-theme="dark"] .alpha29-service-list h5,
html[data-bs-theme="dark"] .alpha29-profitable-list h5,
html[data-bs-theme="dark"] .alpha29-client-list h5 {
  color: var(--bs-body-color) !important;
}

html[data-bs-theme="dark"] .alpha29-master-list .qty,
html[data-bs-theme="dark"] .alpha29-service-list b,
html[data-bs-theme="dark"] .alpha29-profitable-list b,
html[data-bs-theme="dark"] .a29-sup-op-pct,
html[data-bs-theme="dark"] .a29-cat-tag,
html[data-bs-theme="dark"] .a29-cat-tag-block {
  color: var(--bs-secondary-color) !important;
}

