/* Shared support-only attachment controls; retain existing field borders. */
.support-attach { display:inline-grid!important; place-items:center; flex:0 0 32px; width:32px!important; height:34px; padding:6px!important; border:1px solid #cfd8d0!important; border-radius:10px!important; background:#ffffffa6!important; color:#546b5d!important; cursor:pointer; }
.support-attach svg { width:20px; height:20px; }
.support-file-tray { display:flex; flex-wrap:wrap; gap:6px; width:100%; max-height:110px; overflow:auto; }
.support-file-tray[hidden], .support-compose-quote[hidden] { display:none!important; }
.support-file-chip { display:flex; align-items:center; gap:6px; max-width:100%; padding:5px 8px; border:1px solid #d5dfd6; background:#f7faf5; border-radius:9px; font-size:12px; color:#405448; }
.support-file-chip img { width:32px; height:32px; object-fit:cover; border-radius:5px; }
.support-file-chip span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.support-file-chip button, .support-compose-quote button { flex-shrink:0; border:0; background:transparent; color:inherit; padding:3px 7px; cursor:pointer; }
.support-message-files { display:grid; gap:7px; min-width:0; margin-top:7px; }
.support-image { display:block; padding:0!important; background:transparent!important; border:1px solid #cdd8cd!important; border-radius:11px; overflow:hidden; cursor:zoom-in; width:min(460px,100%)!important; max-width:100%; }
.support-image img { display:block; max-width:100%; width:100%; height:auto; max-height:210px; object-fit:contain; }
.support-document { display:flex; align-items:center; gap:9px; padding:9px 11px; border:1px solid #ccd8cf; border-radius:10px; background:#ffffffa3; color:#385346; text-decoration:none; font-size:12px; }
.support-document span:nth-child(2) { min-width:0; overflow-wrap:anywhere; flex:1; }
.support-document small { white-space:nowrap; color:#69786e; }
.support-quote { display:grid; gap:3px; margin:7px 0; padding:7px 10px; border-left:3px solid #a1b391; border-radius:5px; background:#edf2eaa6; color:#52624f; font-size:12px; overflow-wrap:anywhere; }
.support-quote small { opacity:.8; }
.support-compose-quote { display:flex; align-items:center; justify-content:space-between; gap:7px; padding:7px 10px; border-left:3px solid #a1b391; background:#edf2eac9; border-radius:7px; width:100%; font-size:12px; overflow-wrap:anywhere; }
.support-message-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:5px; }
.support-message-actions button { border:0; background:transparent; padding:3px 5px; font-size:11px; color:#68796d; cursor:pointer; }
.support-message-actions button:hover { color:#2f503c; background:#e5ecdf; border-radius:5px; }
.support-lightbox { position:fixed; inset:0; margin:auto; padding:48px 16px 12px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border:1px solid #d3ded2; border-radius:18px; background:#f6f9f3; box-shadow:0 24px 90px #17291f70; color:#405346; z-index:2147483647; }
.support-lightbox::backdrop { background:#12271ed1; backdrop-filter:blur(5px); }
.support-lightbox img { display:block; max-width:calc(100vw - 60px); max-height:calc(100dvh - 155px); object-fit:contain; margin:auto; }
.support-lightbox p { margin:10px 0 0; font-size:12px; overflow-wrap:anywhere; }
.support-lightbox-close { position:absolute; right:9px; top:6px; width:34px; height:34px; border:1px solid #ccd7c9; border-radius:10px; font-size:24px; background:#fff; color:#425847; cursor:pointer; }
.support-drop-active { box-shadow:inset 0 0 0 2px #9aac85!important; }
.landing-support-composer { flex-wrap:wrap; }
.landing-support-composer > input[type=text] { flex:1; min-width:0; }
.st-compose-row > label { display:flex; align-items:center; gap:7px; }
.st-compose-row .st-input-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.support-attach:focus-visible, .support-image:focus-visible, .support-document:focus-visible, .support-lightbox button:focus-visible, .support-message-actions button:focus-visible { outline:2px solid #7e966a; outline-offset:2px; }
