
/* Hidden is a state, not only an HTML hint. Theme/optimisation CSS must never expose inactive chat screens. */
.nssh-widget [hidden]{display:none!important}
.nssh-widget{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;box-sizing:border-box}.nssh-widget *{box-sizing:border-box}.nssh-floating{position:fixed;right:24px;bottom:24px;z-index:999999}.nssh-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;padding:13px 18px;background:var(--nssh-brand);color:#fff;font-weight:700;box-shadow:0 12px 32px rgba(0,0,0,.22);cursor:pointer}.nssh-launcher .dashicons{font-size:22px}.nssh-launcher b{background:#fff;color:var(--nssh-brand);min-width:20px;height:20px;border-radius:20px;display:grid;place-items:center;font-size:11px}.nssh-panel{width:min(390px,calc(100vw - 24px));height:min(620px,calc(100vh - 100px));background:#fff;border:1px solid #e4e8ef;border-radius:18px;overflow:hidden;box-shadow:0 18px 60px rgba(21,31,50,.2)}.nssh-floating .nssh-panel{position:absolute;right:0;bottom:64px}.nssh-page-widget{max-width:820px;margin:24px auto}.nssh-page-widget .nssh-panel{width:100%;height:680px}.nssh-header{height:74px;padding:15px 18px;background:var(--nssh-brand);color:#fff;display:flex;align-items:center;justify-content:space-between}.nssh-header strong{display:block;font-size:17px}.nssh-header small{display:block;opacity:.85;margin-top:3px;max-width:285px}.nssh-header button{border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}.nssh-body{height:calc(100% - 74px);position:relative;background:#f6f8fb}.nssh-conversation-list,.nssh-empty,.nssh-new-form,.nssh-chat-view{height:100%}.nssh-conversation-list{overflow:auto;padding:14px}.nssh-conversation-item{width:100%;border:1px solid #e5e9f0;background:#fff;border-radius:12px;padding:13px;margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.nssh-conversation-item strong,.nssh-conversation-item small{display:block}.nssh-conversation-item small{color:#70798a;margin-top:4px}.nssh-conversation-item em{font-style:normal;font-size:11px;text-transform:uppercase;padding:4px 7px;border-radius:999px;background:#eef2f7}.nssh-status-open{color:#087f5b}.nssh-status-pending{color:#9c5b00}.nssh-status-closed{color:#596275}.nssh-new-list-button,.nssh-empty button,.nssh-new-form [type=submit],.nssh-reply-form button{border:0;border-radius:10px;background:var(--nssh-brand);color:#fff;padding:11px 14px;font-weight:700;cursor:pointer}.nssh-new-list-button{width:100%;margin-top:5px}.nssh-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.nssh-empty .dashicons{font-size:50px;width:50px;height:50px;color:var(--nssh-brand)}.nssh-empty p{max-width:300px;color:#596275;line-height:1.5}.nssh-new-form{padding:18px;overflow:auto;background:#fff}.nssh-new-form h3{margin:0 0 16px}.nssh-new-form label{display:block;margin-bottom:12px}.nssh-new-form label span{display:block;font-size:12px;font-weight:700;margin-bottom:5px}.nssh-new-form input,.nssh-new-form textarea,.nssh-reply-form textarea{width:100%;border:1px solid #d9dee8;border-radius:9px;padding:10px;font:inherit;resize:vertical}.nssh-form-actions{display:flex;justify-content:flex-end;gap:8px}.nssh-form-actions [type=button]{border:1px solid #d9dee8;background:#fff;border-radius:10px;padding:10px 14px}.nssh-chat-view{display:flex;flex-direction:column}.nssh-chat-toolbar{height:58px;background:#fff;border-bottom:1px solid #e4e8ef;display:flex;align-items:center;gap:10px;padding:8px 10px}.nssh-chat-toolbar button{border:0;background:#eef2f7;border-radius:9px;width:38px;height:38px;cursor:pointer}.nssh-chat-toolbar div{flex:1}.nssh-chat-toolbar strong,.nssh-chat-toolbar small{display:block}.nssh-chat-toolbar small{color:#70798a}.nssh-messages{flex:1;overflow:auto;padding:16px}.nssh-message{max-width:82%;margin:0 0 10px}.nssh-message div{padding:10px 12px;border-radius:13px;background:#fff;border:1px solid #e4e8ef;line-height:1.45}.nssh-message small{display:block;color:#7b8494;font-size:10px;margin-top:3px}.nssh-message-customer{margin-left:auto}.nssh-message-customer div{background:var(--nssh-brand);color:#fff;border-color:transparent}.nssh-message-customer small{text-align:right}.nssh-reply-form{display:flex;gap:8px;padding:10px;background:#fff;border-top:1px solid #e4e8ef}.nssh-reply-form textarea{min-height:44px;max-height:110px}.nssh-reply-form button{align-self:flex-end}.nssh-error{position:absolute;left:12px;right:12px;bottom:12px;background:#b42318;color:#fff;padding:10px;border-radius:9px;box-shadow:0 8px 24px rgba(0,0,0,.2)}@media(max-width:600px){.nssh-floating{right:12px;bottom:12px}.nssh-launcher span:not(.dashicons){display:none}.nssh-floating .nssh-panel{position:fixed;inset:8px;width:auto;height:auto;border-radius:14px}}
