/* One viewport anchor across every user route; leave the sticky save bar clear. */
.support-launch{position:fixed;right:24px;bottom:24px;z-index:40;min-width:188px;min-height:66px;border:1px solid #c6b2b1;border-radius:18px;background:#f0e8e8;color:#482927;padding:12px 17px;box-shadow:0 9px 28px #381e1c2b;font:600 14px system-ui;cursor:pointer;display:flex;align-items:center;gap:12px;text-align:left}
.support-launch:hover{background:#e9dbda;border-color:#a88e8c;box-shadow:0 11px 30px #381e1c38}
.support-launch:focus-visible{outline:3px solid #d34947;outline-offset:4px}
.support-launch-icon{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:11px;background:#d34947;color:#fff}
.support-launch-icon svg{width:24px;height:24px}
.support-launch-label{display:flex;flex-direction:column;gap:3px;white-space:nowrap}
.support-launch-label strong{font:700 15px/1.3 system-ui}
.support-launch-label small{font:400 10px/1.4 system-ui;color:#786563;letter-spacing:.03em}
.support-launch>.support-badge{position:absolute;top:-7px;right:-6px;border:2px solid #fffdfa;min-width:24px;height:24px}
.support-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff2525;color:white;font:600 11px system-ui}.support-badge[hidden],.support-user-window[hidden],.support-admin[hidden],.support-chat [hidden],#supportInbox[hidden],#supportContactUser[hidden]{display:none!important}.support-user-window{position:fixed;right:24px;bottom:104px;width:min(400px,calc(100vw - 32px));height:min(600px,calc(100dvh - 128px));z-index:45;border:1px solid #ded5d4;border-radius:18px;background:#fffdfa;box-shadow:0 16px 64px #2e1a1830;overflow:hidden}.support-chat{display:flex;flex-direction:column;min-width:0;min-height:0;color:#302624;font:14px/1.55 system-ui,-apple-system,sans-serif}.support-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;background:#f2eceb;border-bottom:1px solid #e4dcdb;color:var(--brand-ink);flex:none}.support-chat button{font:inherit;cursor:pointer}.support-close{border:1px solid #d7cdcd;border-radius:7px;background:#fffdfa;color:#604c4a;padding:5px 10px;font-size:12px!important}.support-older{align-self:center;margin:8px 0;border:0;background:none;color:var(--brand-ink);font-size:12px!important}.support-messages{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:18px;background:#f7f3f3;outline-offset:-3px}.support-empty{color:#8e8382;text-align:center;font-size:13px;line-height:1.9;margin:40px 8px}.support-row{display:flex;align-items:flex-start;flex-direction:column;gap:5px;margin:0 0 18px}.support-row:last-child{margin-bottom:0}.support-own{align-items:flex-end}.support-bubble{max-width:88%;border:1px solid #e6dedd;background:#fffdfa;border-radius:3px 13px 13px;padding:10px 13px;overflow-wrap:anywhere}.support-own .support-bubble{background:#ede0df;border-color:#e0cccb;border-radius:13px 3px 13px 13px}.support-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.support-time{color:#938786;font-size:10px}.support-image{display:block;padding:0;margin-top:5px;max-width:100%;border:0;background:none;color:#74615f;min-height:30px}.support-image img,.support-pending-image{display:block;max-width:100%;max-height:210px;border-radius:7px;object-fit:contain}.support-pending{opacity:.8}.support-retry{border:0;background:none;color:#b94d37;padding:0;font-size:12px!important}.support-new{border:0;background:#f1e0df;color:#634d4b;padding:7px;font-size:12px!important}.support-composer{flex:none;padding:12px 14px;background:#fffdfa;border-top:1px solid #e5dddc}.support-composer textarea{display:block;width:100%;resize:none;min-height:65px;max-height:120px;border:1px solid #ddd4d4;border-radius:8px;background:white;padding:10px;font:14px/1.6 system-ui;color:#302624}.support-composer textarea:focus{outline:2px solid #a28380;outline-offset:1px}.support-compose-tools{display:flex;align-items:center;gap:8px;margin-top:9px}.support-compose-tools small{color:#978a89;font-size:10px;flex:1}.support-attach{border:1px solid #e1d7d7;background:#fffdfa;color:#685250;border-radius:7px;padding:7px 10px}.support-send{border:0;border-radius:8px;background:#ffe3bb;color:#2f1c1a;padding:8px 17px;font-weight:700!important}.support-send:disabled{opacity:.5;cursor:wait}.support-error{margin:6px 0 0;font-size:12px;color:#b34b37;min-height:0}.support-error:empty{display:none}.support-preview{display:flex;align-items:center;gap:12px;margin-bottom:9px}.support-preview img{max-width:100px;max-height:75px;object-fit:contain;border-radius:7px}.support-preview button{border:0;background:none;color:#877a79;font-size:12px}.support-lightbox{border:0;border-radius:14px;padding:14px;background:#fffdfa;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.support-lightbox::backdrop{background:#1c0f0ec9}.support-lightbox .support-close{display:block;margin:0 0 12px auto}.support-lightbox img{display:block;max-width:calc(100vw - 60px);max-height:calc(100dvh - 110px);object-fit:contain}.support-admin{display:grid;grid-template-columns:300px minmax(0,1fr);height:min(740px,calc(100dvh - 150px));min-height:500px;border:1px solid #dcd3d3;border-radius:15px;background:#fffdfa;overflow:hidden}.support-inbox{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid #e2d9d9}.support-inbox-title{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:17px 16px}.support-inbox-title h2{margin:0;color:var(--brand-ink)}.support-inbox-title button{font-size:11px;padding:5px 8px}.support-inbox-filter{display:grid;grid-template-columns:1fr auto;gap:8px;padding:0 14px 14px;border-bottom:1px solid #e8e1e0}.support-inbox-filter input{grid-column:1/-1}.support-conversations{flex:1;min-height:0;overflow:auto}.support-conversation{display:block;width:100%;text-align:left;border:0;border-radius:0;border-bottom:1px solid #efe9e8;background:#fffdfa;padding:15px 17px}.support-conversation.selected{background:#f2e9e9;box-shadow:inset 3px 0 #d34947}.support-conversation:hover{background:#f4ebea}.support-conversation-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.support-conversation p{margin:6px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#706160;font-size:12px}.support-conversation small{color:#9a8b8a;font-size:11px}.support-admin-chat{min-height:0;height:100%}#supportInbox{display:flex;align-items:center;gap:8px;background:#ffffff12;color:white;border:1px solid #ffffff35;width:100%;margin-top:20px}
@media(max-width:760px){.support-user-window{right:12px;bottom:92px;width:calc(100vw - 24px);height:min(600px,calc(100dvh - 112px))}.support-launch{right:15px;bottom:18px;min-width:174px;min-height:60px;padding:10px 13px;border-radius:16px;gap:10px}.support-admin{height:auto;min-height:0;grid-template-columns:1fr}.support-inbox{height:270px;border-right:0;border-bottom:1px solid #e3d9d9}.support-admin-chat{height:570px}.support-chat-head{padding:13px}.support-compose-tools small{max-width:135px}.support-compose-tools{gap:6px}}

.support-send:hover{background:#c5837f}.support-lightbox{width:max-content}

.support-chat>.support-error{flex:none;margin:0;padding:6px 14px 12px}

/* The entry stays put; the optional sticky action bar clears its footprint. */
body:has(#supportLauncher) #settings .settings-save{bottom:108px}
@media(max-width:760px){body:has(#supportLauncher) #settings .settings-save{bottom:104px}}
