.local-support{position:fixed;right:20px;bottom:20px;z-index:100010;font:15px/1.5 Arial,sans-serif;color:#281a39}
.support-launch{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:200px;height:56px;border:0;border-radius:30px;background:#281a39;color:#fff;padding:12px 24px;box-shadow:0 2px 8px #0002;cursor:pointer;font:17px/1.5 Arial,sans-serif}
.support-panel[hidden]{display:none}
.support-panel{position:absolute;right:0;bottom:76px;width:360px;max-width:calc(100vw - 32px);height:530px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 5px 28px #0003}
.support-panel header{display:flex;justify-content:space-between;align-items:center;background:#281a39;color:white;padding:14px 18px}
.support-panel header button{border:0;background:transparent;color:white;font-size:26px;cursor:pointer}
.support-notice{font-size:12px;line-height:1.5;margin:0;padding:10px 14px;background:#f6f3f8;color:#51495a}
.support-messages{overflow:auto;flex:1;padding:14px;min-height:80px;overscroll-behavior:contain}
.support-message{max-width:90%;margin:0 0 12px;padding:9px 12px;background:#f1edf5;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}
.support-message small,.support-message span{display:block}.support-message small{font-size:10px;margin-bottom:3px;color:#655b6b}
.support-visitor{margin-left:auto;background:#e8f4fc}
.support-panel form{padding:12px;border-top:1px solid #ddd}.support-panel label{display:block;font-size:12px;margin-bottom:5px}
.support-panel textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;font:inherit;border:1px solid #ccc;border-radius:5px;padding:8px;color:#281a39;background:white}
.support-panel form button{display:block;margin:8px 0 0 auto;background:#281a39;color:#fff;border:0;border-radius:5px;padding:8px 18px;cursor:pointer}
.support-error{font-size:12px;color:#9d2020;margin:4px 0 0}.support-error:empty{display:none}
.support-launch:focus-visible,.support-panel button:focus-visible{outline:3px solid #79abed;outline-offset:3px}
@media(max-width:600px){.local-support{right:16px;bottom:16px}.support-launch{padding:13px 25px}.support-panel{bottom:64px}}

.support-panel form{overflow:auto;max-height:70%;flex-shrink:0}.support-panel input{box-sizing:border-box;width:100%;min-height:34px;padding:6px 8px;border:1px solid #ccc;border-radius:5px;font:inherit;color:#281a39;background:white}.support-profile{margin-bottom:10px}.support-profile summary{cursor:pointer;font-weight:bold;font-size:13px}.support-profile label{margin-top:6px}.support-message .support-receipt{margin-top:5px;text-align:right;color:#4f5969}

.support-launch{position:relative}.support-badge{position:absolute;right:0;top:-12px;background:#b71930;color:#fff;border-radius:12px;padding:2px 8px;font-size:11px;white-space:nowrap}.support-badge:before{content:'';display:inline-block;width:6px;height:6px;background:#fff;border-radius:50%;margin-right:4px}.support-badge[hidden]{display:none}.migration-privacy-link{font:12px/1.5 sans-serif;text-align:center;padding:8px;margin:0}
.migration-privacy-link{background:transparent;color:inherit}.migration-privacy-link a{color:inherit;text-decoration:underline}

/* Keep only the middle region scrollable; the composer never leaves the sheet. */
.support-panel header{flex-shrink:0}
.support-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}
.support-messages{overflow:visible;flex:none;min-height:80px}
.support-profile{margin:0;padding:10px 14px;border-top:1px solid #eee}
.support-compose{flex-shrink:0!important;overflow:visible!important;max-height:none!important}
.support-compose textarea{max-height:110px;min-height:52px;resize:none}
@media(max-width:600px){.support-panel{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;border-radius:0}.support-compose{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
