/* PALUX 471 — quiet real-time typing state and phone-only Live Operations fit. */
.palux-chat-typing-indicator{box-sizing:border-box;min-height:22px;padding:2px 4px 5px;background:transparent;color:var(--muted,#6b7280);font-size:12px;font-weight:700;line-height:15px;pointer-events:none;user-select:none}
.palux-chat-typing-indicator[hidden]{display:block!important;visibility:hidden!important}.palux-chat-typing-indicator span{margin-right:5px}.palux-chat-typing-indicator i{display:inline-block;width:4px;height:4px;margin:0 1px;border-radius:50%;background:currentColor;vertical-align:middle;animation:paluxTypingDot 1.15s infinite ease-in-out}.palux-chat-typing-indicator i:nth-of-type(2){animation-delay:.14s}.palux-chat-typing-indicator i:nth-of-type(3){animation-delay:.28s}@keyframes paluxTypingDot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
body.dark .palux-chat-typing-indicator,body[data-theme="dark"] .palux-chat-typing-indicator{color:#aeb9c9}

@media(max-width:700px){
  .palux-live-operations-page,.palux-live-operations-page *{box-sizing:border-box}
  .palux-live-operations-page{width:100%;max-width:100%;min-width:0;overflow:clip}
  .palux-live-operations-page>.card,.palux-live-operations-page .palux-live-layout,.palux-live-operations-page .palux-route-panel,.palux-live-operations-page .palux-live-map-card,.palux-live-operations-page .palux-route-card{width:100%;max-width:100%;min-width:0}
  .palux-live-operations-page .palux-live-layout{display:flex!important;flex-direction:column;gap:14px;overflow:visible}
  .palux-live-operations-page .palux-route-panel{order:2;padding-right:0;overflow:visible}
  .palux-live-operations-page .palux-live-map-card{order:1;position:relative;inset:auto;overflow:hidden;border-radius:16px}
  .palux-live-operations-page .palux-route-card,.palux-live-operations-page .palux-route-card-main{overflow:hidden}
  .palux-live-operations-page .palux-route-card-main{display:block;width:100%;max-width:100%;padding:14px}
  .palux-live-operations-page .palux-route-card-head{flex-direction:column;align-items:stretch;gap:10px}
  .palux-live-operations-page .palux-route-driver-line{width:100%;max-width:100%;align-items:center}
  .palux-live-operations-page .palux-route-driver-line>div{min-width:0;flex:1}
  .palux-live-operations-page .palux-route-driver-line h4,.palux-live-operations-page .palux-route-driver-line p{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
  .palux-live-operations-page .palux-route-card-badges{justify-content:flex-start;max-width:100%}
  .palux-live-operations-page .palux-command-health,.palux-live-operations-page .palux-command-neutral{white-space:normal;text-align:center}
  .palux-live-operations-page .palux-address-watch-banner{width:100%;max-width:100%;overflow:hidden}
  .palux-live-operations-page .palux-address-watch-banner strong,.palux-live-operations-page .palux-address-watch-banner span{overflow-wrap:anywhere}
  .palux-live-operations-page .palux-route-card-date{align-items:flex-start;flex-wrap:wrap}
  .palux-live-operations-page .palux-route-card-date strong{max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .palux-live-operations-page .palux-route-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .palux-live-operations-page .palux-route-metrics>div{min-width:0;padding:10px}
  .palux-live-operations-page .palux-route-metrics>div:last-child{grid-column:1/-1}
  .palux-live-operations-page .palux-route-metrics strong{overflow-wrap:anywhere}
  .palux-live-operations-page .palux-route-command-summary{flex-direction:column;align-items:flex-start}
  .palux-live-operations-page .palux-route-command-summary strong{text-align:left;overflow-wrap:anywhere}
  .palux-live-operations-page .palux-route-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px 14px 14px}
  .palux-live-operations-page .palux-route-card-actions .palux-route-card-select{grid-column:1/-1;width:100%;margin:0}
  .palux-live-operations-page .palux-route-card-actions .secondary-btn{width:100%;min-width:0;white-space:normal}
  .palux-live-operations-page .palux-live-map-head{flex-direction:column;align-items:stretch;padding:14px;overflow:hidden}
  .palux-live-operations-page .palux-live-map-head>div{min-width:0}
  .palux-live-operations-page .palux-live-map-head h3,.palux-live-operations-page .palux-live-map-head p{overflow-wrap:anywhere}
  .palux-live-operations-page .palux-live-map-actions{display:grid;grid-template-columns:1fr;width:100%}
  .palux-live-operations-page .palux-live-map-actions>*{width:100%;min-width:0;white-space:normal}
  .palux-live-operations-page .palux-map-shell{width:100%;max-width:100%;min-width:0;height:clamp(390px,62vh,540px);overflow:hidden;contain:layout paint}
  .palux-live-operations-page .palux-map-tiles,.palux-live-operations-page .palux-map-overlay,.palux-live-operations-page .palux-map-line{max-width:100%;overflow:hidden}
  .palux-live-operations-page .palux-map-waiting-drivers{left:8px;top:54px;width:calc(100% - 72px);max-width:calc(100% - 72px);max-height:160px}
  .palux-live-operations-page .palux-map-station-note{left:8px;right:62px;top:54px;width:auto;max-width:none;transform:none}
  .palux-live-operations-page .palux-map-focus-note{left:8px;right:62px;width:auto;max-width:none}
  .palux-live-operations-page .palux-map-style-switch{max-width:calc(100% - 68px)}
  .palux-live-operations-page .palux-map-style-switch button{min-width:0;padding-inline:8px}
  .palux-live-operations-page .palux-map-controls{right:8px;top:8px}
  .palux-live-operations-page .palux-map-status-legend{left:8px;right:8px;bottom:22px;top:auto!important;width:auto;max-width:none;gap:5px;padding:6px 7px}
  .palux-live-operations-page .palux-map-attribution{right:0;bottom:0;max-width:100%}
  .palux-live-operations-page .palux-route-detail-strip{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;padding:12px 14px;gap:10px}
  .palux-live-operations-page .palux-route-detail-strip>div{min-width:0}
}
