.tracking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .7fr);
  gap: 16px;
}

.tracking-layout .fleet-card { min-height: 660px; }

.summary-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.summary-strip span { padding-right: 12px; border-right: 1px solid var(--line); }
.summary-strip span:last-child { border: 0; }
.summary-strip strong { color: var(--ink); font-size: 15px; }
.setup-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding: 15px 17px; border: 1px solid #f0c49f; border-radius: 14px; background: #fff4e9; }
.setup-banner[hidden] { display: none; }
.setup-banner div { display: grid; gap: 3px; }
.setup-banner b { color: #843d16; font-size: 13px; }
.setup-banner span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.person-cell { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.person-cell .avatar { width: 34px; height: 34px; font-size: 11px; }
.cell-note { display: block; color: var(--muted); margin-top: 4px; max-width: 360px; }
.row-actions { display: flex; gap: 7px; white-space: nowrap; }
.compact { min-height: 34px; padding: 0 10px; border-radius: 9px; font-size: 12px; }
.danger { color: #a33831; border-color: #efcbc7; background: #fff9f8; }
.empty-cell { text-align: center !important; color: var(--muted); padding: 34px !important; }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.45; }
.assignment-summary { display: grid; gap: 4px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf6; }
.assignment-summary b { font-size: 13px; }
.assignment-summary span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.data-table td .tag { white-space: nowrap; }
.courier-table { min-width: 900px; }
button:disabled { cursor: not-allowed; opacity: .5; }

@media (max-width: 1100px) {
  .tracking-layout { grid-template-columns: 1fr; }
  .tracking-layout .fleet-card { min-height: 0; }
}

@media (max-width: 650px) {
  .summary-strip { overflow: auto; }
  .setup-banner { align-items: flex-start; flex-direction: column; }
  .topbar { align-items: flex-start; }
  .top-actions { flex-wrap: wrap; justify-content: flex-end; }
}
