.business-page { min-width: 0; }
.business-tabs { display: flex; flex-wrap: wrap; gap: .6rem; }
.business-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 1rem; margin-top: 1rem; }
.business-card { padding: 1rem; border: 1px solid var(--line,#dce4ee); border-radius: 14px; min-width: 0; background: var(--surface,#fff); overflow-wrap: anywhere; }
.business-card h3, .business-card p { margin: 0; }
.business-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.business-checks { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; }
.business-text { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; font: inherit; }
.business-media { display: flex; flex-wrap: wrap; gap: .6rem; }
.business-media img { width: 120px; height: 120px; border-radius: 10px; object-fit: contain; background: #f1f4f9; }
.business-page .table-wrap { margin-top: .8rem; }
.business-page td { max-width: 420px; overflow-wrap: anywhere; }
.business-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .6rem; }
.business-metrics > div { display: flex; flex-direction: column; gap: .3rem; }
.business-metrics strong { font-size: 1.5rem; color: #416bc6; }
.customer-message-list { display: flex; flex-direction: column; gap: .8rem; max-height: 540px; overflow-y: auto; margin-block: 1rem; }
.customer-message { padding: 1rem; border-radius: 12px; background: #f2f5f9; max-width: 90%; overflow-wrap: anywhere; }
.customer-message.agent { align-self: flex-end; background: #eaf1ff; }
.organization-map-wrap { overflow: auto; border: 1px solid #dce4ee; border-radius: 14px; background: #f6f8fc; }
.organization-map-canvas { width: 100%; min-width: 400px; display: block; }
.map-road { stroke: #abb8cd; stroke-width: 5; }
.map-road.closed { stroke: #bf6670; stroke-dasharray: 9 5; }
.map-route { stroke: #306fe1; stroke-width: 9; stroke-linejoin: round; }
.map-place { fill: #244c90; stroke: white; stroke-width: 2; }
.map-place-label { font: 18px sans-serif; fill: #183859; stroke: #fff; stroke-width: 3px; paint-order: stroke; }
@media (max-width: 600px) {
  .business-form-grid { grid-template-columns: minmax(0,1fr); }
  .business-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .business-tabs .button { padding: .5rem .7rem; }
  .customer-message { max-width: 100%; }
}
