/* v521: scope strictly to the existing assistant, no global overrides. */
[data-xan-customer-ai] .mx521-quick-actions {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px; padding:7px 9px; margin:0;
  border-bottom:1px solid #d8e5ea; background:#fff;
  width:100%; max-width:100%; min-width:0; box-sizing:border-box;
  flex:0 0 auto;
}
[data-xan-customer-ai] .mx521-quick-actions > button {
  display:inline-flex; align-items:center; justify-content:center;
  width:100%; min-width:0; min-height:44px; padding:7px 8px;
  border:1px solid #b7cdd6; border-radius:10px;
  background:#f7fafb; color:#073848; -webkit-text-fill-color:#073848;
  text-align:center; font-size:12px; line-height:1.25; font-weight:600;
  cursor:pointer; touch-action:manipulation; box-sizing:border-box;
  white-space:normal; overflow-wrap:anywhere;
}
[data-xan-customer-ai] .mx521-quick-actions > button:first-child {
  background:#ffd64b; color:#073848; -webkit-text-fill-color:#073848;
  border-color:#dfb628;
}
[data-xan-customer-ai] .mx521-quick-actions > button:focus-visible {
  outline:3px solid #03475d; outline-offset:2px;
}
[data-xan-customer-ai] .mx521-quick-actions > button:active {
  background:#03475d; color:white; -webkit-text-fill-color:white;
}
@media (max-width:620px) {
  [data-xan-customer-ai] .mx521-quick-actions {
    grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:6px;
  }
}
@media (max-height:580px) and (max-width:620px) {
  [data-xan-customer-ai] .mx521-quick-actions {
    display:flex; overflow-x:auto; overscroll-behavior-inline:contain;
    scrollbar-width:thin;
  }
  [data-xan-customer-ai] .mx521-quick-actions > button {
    flex:0 0 45%; width:45%;
  }
}
@media (prefers-reduced-motion:reduce) {
  [data-xan-customer-ai] .mx521-quick-actions > button {transition:none;}
}
