.support-center{--support-green:#166534;color:#17211b;display:flex;flex-direction:column;height:calc(100dvh - var(--app-content-top,80px) - var(--app-safe-bottom,0px) - 88px);min-height:360px;background:#fff;margin:0 12px 100px;border:1px solid #e4e9e3;border-radius:18px;overflow:hidden;font-size:13px}
.support-center *{box-sizing:border-box}.support-center button{cursor:pointer;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:10px 12px;border-radius:10px}.support-center button:disabled{opacity:.5;cursor:default}.support-center button:focus-visible{outline:3px solid #86efac;outline-offset:-3px}.support-center .support-primary{background:var(--support-green);color:#fff;min-height:44px}.support-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 14px;border-bottom:1px solid #e4e9e3;flex-shrink:0}.support-heading h2{margin:3px 0 0;font-size:20px;letter-spacing:-.5px}.support-eyebrow{margin:0;font-size:10px;letter-spacing:1.7px;color:#166534;font-weight:800}.support-workspace{display:flex;flex:1;min-height:0}.support-inbox{display:flex;flex-direction:column;width:100%;min-height:0}.support-inbox-tools{padding:14px;display:flex;flex-direction:column;gap:12px;border-bottom:1px solid #edf0ed}.support-center input,.support-center select,.support-center textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #dce3dc;border-radius:10px;background:#fff;color:#17211b;font:inherit;font-size:16px;min-height:44px;box-shadow:none;resize:vertical}.support-center input:focus,.support-center textarea:focus,.support-center select:focus{outline:2px solid #86efac;outline-offset:1px}.support-filters{display:flex;gap:4px}.support-filters button{flex:1;padding:8px 4px;font-size:12px;color:#697568}.support-filters button[aria-pressed=true]{background:#edf5ed;color:#166534}.support-filters span{font-size:10px;margin-left:5px}.support-ticket-list{overflow-y:auto;flex:1;min-height:0}.support-center .support-ticket{display:block;width:100%;padding:16px;text-align:left;border-radius:0;border-bottom:1px solid #edf0ed;font-weight:400}.support-ticket.is-selected{background:#f0f8ef;box-shadow:inset 3px 0 #166534}.support-ticket-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;gap:6px}.support-ticket strong{display:block;font-size:14px;margin:5px 0;overflow-wrap:anywhere}.support-ticket p{margin:5px 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#68736c}.support-center small{font-size:11px;color:#68736c}.support-status{display:inline-block;font-size:10px;line-height:1.4;padding:4px 7px;border-radius:6px;background:#fff3d9;color:#865b12;font-weight:700}.status-in_progress{background:#e8f1ff;color:#2359a8}.status-waiting_customer{background:#f1eaff;color:#6840a3}.status-resolved{background:#e9f5e9;color:#166534}.support-unread{font-size:10px;color:#166534;font-weight:800}.support-detail{display:none;flex-direction:column;flex:1;min-width:0;min-height:0}.support-detail-open .support-inbox{display:none}.support-detail-open .support-detail{display:flex}.support-detail-heading{display:flex;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #e4e9e3;flex-shrink:0}.support-detail-heading h3{font-size:15px;margin:4px 0;overflow-wrap:anywhere}.support-detail-heading p{font-size:11px;color:#68736c;margin:5px 0 9px}.support-center .support-thread-back{padding:0 0 8px;font-size:11px;color:#166534}.support-actions{display:flex;flex-wrap:wrap;align-content:start;gap:6px;max-width:130px}.support-actions button{border:1px solid #dce3dc;font-size:11px;padding:8px}.support-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px;display:flex;flex-direction:column;gap:16px;background:#f6f8f5}.support-message{align-self:flex-start;max-width:88%;padding:11px 13px;background:#fff;border:1px solid #e3e9df;border-radius:14px 14px 14px 3px;flex-shrink:0}.support-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 8px;font-size:13px;line-height:1.6}.support-message time{font-size:9px;opacity:.7}.support-message.is-mine{align-self:flex-end;background:#166534;color:#fff;border-color:#166534;border-radius:14px 14px 3px 14px}.support-message.is-mine small{color:#dbeddb}.support-event{text-align:center;color:#697568;font-size:10px;padding:5px;flex-shrink:0}.support-composer{display:flex;align-items:flex-end;gap:10px;padding:12px;border-top:1px solid #e4e9e3;flex-shrink:0;background:#fff}.support-composer textarea{resize:none;max-height:110px;flex:1}.support-empty{padding:28px 20px;text-align:center;margin:auto;color:#697568;line-height:1.6}.support-empty h3,.support-empty h2{color:#17211b;margin:8px 0}.support-empty p{max-width:320px;margin:8px auto 14px}.support-mark{font-size:30px;color:#166534}.support-new{overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:16px;flex:1}.support-new .support-detail-heading{padding:0 0 12px}.support-new p{margin:0;color:#68736c;line-height:1.6}.support-new label{display:flex;flex-direction:column;gap:7px;font-weight:700}.support-new .support-primary{align-self:stretch}.support-alert{background:#fff0ed;color:#9b3523;padding:10px 16px;font-size:12px}.support-resolved-note{padding:9px 14px;background:#edf5ed;color:#166534;font-size:11px}.support-admin{height:calc(100dvh - 140px);min-height:480px;margin:0}.support-admin .support-heading{padding:20px}.support-admin .support-workspace{min-height:0}@media(min-width:760px){.support-admin .support-inbox{display:flex!important;width:320px;flex-shrink:0;border-right:1px solid #e4e9e3}.support-admin .support-detail{display:flex}.support-admin .support-thread-back{display:none}}@media(max-width:380px){.support-heading{padding:12px}.support-heading h2{font-size:18px}.support-detail-heading{padding:10px}.support-center{margin-inline:8px}.support-composer{gap:7px;padding:9px}}
/* Full-page support, with its own safe-area header and composer. */
.support-center .support-ai-choice{flex-direction:row;align-items:center;gap:10px;font-size:12px;font-weight:500;line-height:1.5}.support-center input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:#166534}.support-optional,.support-thread-info{font-size:12px;color:#526357}.support-optional summary,.support-thread-info summary{cursor:pointer;padding:8px 0}.support-optional label{margin-top:12px}.support-chat-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-bottom:1px solid #edf0ed;background:white;font-size:12px;color:#506255;flex-shrink:0}.support-chat-status>span{display:flex;align-items:center;gap:7px}.support-chat-status button{font-size:11px!important;color:#166534!important;padding:6px!important}.support-ai-badge{font-size:9px;letter-spacing:.3px;padding:3px 5px;border-radius:5px;background:#e7f2e9;color:#166534}.support-center:not(.support-admin) .support-detail-heading{padding:7px 16px;border:0}.support-center:not(.support-admin) .support-thread-back{padding:4px 0}.support-center:not(.support-admin) .support-messages{background:#f8faf7;gap:12px}.support-center:not(.support-admin) .support-message{border:0;box-shadow:none;max-width:88%;padding:12px 14px}.support-center:not(.support-admin) .support-message p{font-size:14px;line-height:1.55}.support-center:not(.support-admin) .support-composer{padding:12px 14px}.support-center:not(.support-admin) .support-composer textarea{border-radius:22px;padding:12px 15px}.support-center:not(.support-admin) .support-composer button{border-radius:22px}.support-thread-info label{display:block;padding:8px 0}.support-new .support-optional{order:3}.support-new .support-primary{order:4}.support-new>small{order:5}
.support-center:not(.support-admin){position:fixed;z-index:12000;inset:var(--support-viewport-top,0px) 0 auto;width:100%;height:var(--support-viewport-height,100dvh);min-height:0;margin:0;border:0;border-radius:0;padding-bottom:var(--app-safe-bottom,0px);background:#fff;box-sizing:border-box}
.support-center:not(.support-admin) .support-heading{padding-top:calc(var(--app-safe-top,0px) + 16px);padding-left:max(18px,var(--app-safe-left,0px));padding-right:max(18px,var(--app-safe-right,0px));background:#166534;color:#fff;border:0}
.support-center:not(.support-admin) .support-eyebrow{color:#d3e8d6}
.support-identity{display:flex;align-items:center;gap:12px;min-width:0}
.support-identity h2{font-size:19px}
.support-avatar{width:52px;height:52px;object-fit:cover;border-radius:50%;flex-shrink:0;border:2px solid rgba(255,255,255,.65)}
.support-avatar-large{width:100px;height:100px;margin:0 auto 14px;display:block}
.support-message-identity{display:flex;align-items:center;gap:7px}
.support-message-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}
.support-assigned{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:8px;background:#eaf5e9;color:#166534;font-size:11px;font-weight:700;line-height:1.4}
.support-center .support-actions{max-width:165px}
.support-admin{border-radius:0;border:0}
@media(min-width:760px){.support-center:not(.support-admin) .support-inbox{display:flex!important;width:340px;flex-shrink:0;border-right:1px solid #e4e9e3}.support-center:not(.support-admin) .support-detail{display:flex}.support-center:not(.support-admin) .support-thread-back{display:none}.support-center:not(.support-admin) .support-new{max-width:680px;width:100%;margin:0 auto}.support-center:not(.support-admin) .support-messages{padding:24px max(24px,calc((100% - 760px)/2))}.support-center:not(.support-admin) .support-composer{padding-inline:max(18px,calc((100% - 760px)/2))}}
@media(max-width:380px){.support-identity{gap:9px}.support-identity h2{font-size:17px}.support-avatar{width:44px;height:44px}.support-avatar-large{width:88px;height:88px}.support-center .support-heading button{padding:8px}}
