.team-message-widget {position:fixed;right:24px;bottom:max(20px,env(safe-area-inset-bottom));z-index:2500;color:var(--ink,#223033);font:inherit;}
.team-message-toggle,.team-message-submit,.team-message-new {min-height:46px;border:1px solid #9b702e;border-radius:8px;background:var(--gold,#d5a24d);color:#172a27;padding:11px 18px;font:inherit;font-weight:750;cursor:pointer;}
.team-message-toggle {box-shadow:0 8px 28px #173b3426;}
.team-message-backdrop {position:fixed;inset:0;background:#142c2866;z-index:0;}
.team-message-panel {position:fixed;right:24px;bottom:max(20px,env(safe-area-inset-bottom));z-index:1;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;background:var(--paper,#fbfaf6);border:1px solid var(--line,#d9e2dd);border-top:5px solid var(--gold,#d5a24d);border-radius:12px;padding:20px;box-shadow:0 16px 60px #122f2940;}
.team-message-panel [hidden],.team-message-widget>[hidden] {display:none!important;}
.team-message-header {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.team-message-header h2 {margin:0;font-size:1.25rem;line-height:1.3;color:var(--sage-dark,#17483f);}
.team-message-close {min-width:44px;min-height:44px;border:1px solid var(--line,#d9e2dd);border-radius:6px;background:var(--surface,#fff);color:var(--ink,#223033);font:inherit;cursor:pointer;}
.team-message-panel p {margin:14px 0;line-height:1.5;}
.team-message-form {display:grid;gap:8px;}
.team-message-form label {font-weight:700;}
.team-message-form input,.team-message-form textarea {box-sizing:border-box;width:100%;min-height:44px;border:1px solid #9aaea5;border-radius:6px;background:#fff;color:var(--ink,#223033);font:inherit;padding:10px 12px;}
.team-message-form textarea {resize:vertical;min-height:108px;max-height:240px;}
.team-message-submit {margin-top:8px;width:100%;}
.team-message-submit:disabled {opacity:.6;cursor:not-allowed;}
.team-message-honeypot {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.team-message-status {overflow-wrap:anywhere;}
.team-message-alternatives {display:flex;flex-wrap:wrap;gap:8px 18px;border-top:1px solid var(--line,#d9e2dd);padding-top:14px;margin-top:18px;font-size:.94rem;}
.team-message-alternatives a {min-height:32px;color:var(--sage-dark,#17483f);text-underline-offset:3px;}
.team-message-widget :focus-visible {outline:3px solid #805c22;outline-offset:3px;}
@media(max-width:620px) {
  .team-message-widget {right:16px;bottom:max(16px,env(safe-area-inset-bottom));}
  .team-message-panel {right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));padding:18px;}
}
@media(prefers-reduced-motion:reduce) {.team-message-widget * {scroll-behavior:auto;transition:none;animation:none;}}
