/* The footer remains the single place for these shared policy links. */
html .sf-navigation .sf-policy-links{display:none!important}
body.sf-chat-clean-layout #mainContent .main-header .sf-chat-redundant-header-logo{display:none!important}
body.sf-chat-clean-layout .main-header .header-icons-list{margin-inline-start:auto}
body.sf-chat-clean-layout .sf-chat-retired-gif{display:none!important}
body.sf-chat-clean-layout .sf-chat-action-row{align-items:center!important;gap:8px!important;min-width:0}
body.sf-chat-clean-layout .sf-chat-action-row>.chat-form{flex:1 1 0%;width:auto!important;min-width:44px}
body.sf-chat-clean-layout .sf-chat-action-row>.sf-ex-toolbar{display:flex;flex:0 0 auto;align-items:center;margin:0!important;gap:0}
body.sf-chat-clean-layout .sf-chat-action-row>.sf-ex-toolbar button{min-height:40px;white-space:nowrap;padding:7px 9px;line-height:1.2;border-radius:12px;font-size:12px}
body.sf-chat-clean-layout .sf-chat-send-slot{flex:0 0 auto;display:flex;align-items:center}
body.sf-chat-clean-layout .sf-chat-send-slot .send-message-btn{min-height:40px;min-width:40px}
body.sf-chat-clean-layout .sf-ex-toolbar button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* Narrow screens keep a full-width draft, then attachments, picker and Send on one row. */
@media(max-width:540px){
 body.sf-chat-clean-layout .sf-chat-action-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:8px!important}
 body.sf-chat-clean-layout .sf-chat-action-row>.chat-form{grid-column:1/-1;grid-row:1;margin-inline-start:0!important;width:100%!important}
 body.sf-chat-clean-layout .sf-chat-action-row>.sf-chat-attachments{position:static!important;grid-column:1;grid-row:2;align-self:center!important;min-width:0;flex-wrap:wrap;height:auto!important}
 body.sf-chat-clean-layout .sf-chat-action-row>.sf-ex-toolbar{grid-column:2;grid-row:2}
 body.sf-chat-clean-layout .sf-chat-action-row>.sf-chat-send-slot{grid-column:3;grid-row:2}
}
