/* 6.31.51 — focused Support Centre product UI. */
.nsp-private-workspace .nsw-support-centre{
  --sup-bg:#fff;--sup-soft:#f5f8f6;--sup-ink:#17231d;--sup-muted:#66766d;--sup-line:#dce6e0;
  --sup-line-strong:#c9d8d0;--sup-accent:#087f50;--sup-accent-strong:#06653f;--sup-accent-soft:#eaf7ef;
  --sup-danger:#b42318;--sup-shadow:0 12px 34px rgba(20,48,34,.08);
  max-width:980px;margin:0 auto;padding:0 0 36px;color:var(--sup-ink)
}
html[data-theme="dark"] .nsp-private-workspace .nsw-support-centre{
  --sup-bg:#0e1b16;--sup-soft:#13231d;--sup-ink:#f2f7f4;--sup-muted:#b4c3bb;--sup-line:#294237;
  --sup-line-strong:#365548;--sup-accent:#48c486;--sup-accent-strong:#78dda5;--sup-accent-soft:#153326;
  --sup-shadow:0 18px 42px rgba(0,0,0,.28)
}
.nsp-private-workspace .nsw-support-centre *{box-sizing:border-box}
.nsp-private-workspace .nsw-support-centre [hidden]{display:none!important}

/* Compact page heading */
.nsp-private-workspace .nsw-support-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:4px 0 20px;border-bottom:1px solid var(--sup-line)}
.nsp-private-workspace .nsw-support-header h1{margin:0!important;color:var(--sup-ink)!important;font-size:clamp(1.65rem,2.6vw,2.2rem)!important;line-height:1.12;letter-spacing:-.03em}
.nsp-private-workspace .nsw-support-header p{margin:6px 0 0!important;color:var(--sup-muted)!important;font-size:.9rem;line-height:1.5}
.nsp-private-workspace .nsw-support-header-status{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.nsp-private-workspace .nsw-support-live-chip,.nsp-private-workspace .nsw-support-priority-chip{display:inline-flex;align-items:center;gap:7px;min-height:31px;padding:6px 10px;border:1px solid var(--sup-line);background:var(--sup-bg);color:var(--sup-muted);font-size:.72rem;font-weight:800;white-space:nowrap}
.nsp-private-workspace .nsw-support-live-chip i{width:7px;height:7px;border-radius:50%;background:#8b9991}
.nsp-private-workspace .nsw-support-live-chip i[data-state="live"]{background:#2eaf72;box-shadow:0 0 0 3px rgba(46,175,114,.12)}
.nsp-private-workspace .nsw-support-live-chip i[data-state="checking"]{background:#d9a020;animation:nspSupportPulse 1s ease-in-out infinite}
.nsp-private-workspace .nsw-support-live-chip i[data-state="offline"],.nsp-private-workspace .nsw-support-live-chip i[data-state="error"]{background:#d92d20}
.nsp-private-workspace .nsw-support-priority-chip{border-color:color-mix(in srgb,var(--sup-accent) 36%,var(--sup-line));background:var(--sup-accent-soft);color:var(--sup-accent-strong)}
.nsp-private-workspace .nsw-support-priority-chip svg{width:14px;height:14px}
@keyframes nspSupportPulse{50%{opacity:.38;transform:scale(.82)}}

/* Minimal tabs: only two jobs exist here. */
.nsp-private-workspace .nsw-support-tabs{display:flex;gap:4px;padding:18px 0 14px;border-bottom:1px solid var(--sup-line)}
.nsp-private-workspace .nsw-support-tabs button{appearance:none;border:0;background:transparent;color:var(--sup-muted);display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 13px;font:800 .82rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;border-bottom:2px solid transparent}
.nsp-private-workspace .nsw-support-tabs button:hover{color:var(--sup-ink);background:var(--sup-soft)}
.nsp-private-workspace .nsw-support-tabs button:focus-visible{outline:2px solid var(--sup-accent);outline-offset:2px}
.nsp-private-workspace .nsw-support-tabs button.is-active{color:var(--sup-accent-strong);border-bottom-color:var(--sup-accent);background:transparent}
.nsp-private-workspace .nsw-support-tabs svg{width:16px;height:16px}
.nsp-private-workspace .nsw-support-tabs b{min-width:19px;height:19px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:var(--sup-soft);color:var(--sup-muted);font-size:.64rem}
.nsp-private-workspace .nsw-support-tabs .is-active b{background:var(--sup-accent-soft);color:var(--sup-accent-strong)}

/* Request composer */
.nsp-private-workspace .nsw-support-panel{padding:22px 0 0}
.nsp-private-workspace .nsw-support-new form{max-width:760px}
.nsp-private-workspace .nsw-support-field{display:flex;flex-direction:column;gap:7px;margin:0 0 15px}
.nsp-private-workspace .nsw-support-field label{font-size:.78rem;font-weight:800;color:var(--sup-ink)}
.nsp-private-workspace .nsw-support-field input,.nsp-private-workspace .nsw-support-field select,.nsp-private-workspace .nsw-support-field textarea,.nsp-private-workspace .nsw-support-reply textarea{
  width:100%;min-height:44px;border:1px solid var(--sup-line-strong)!important;background:var(--sup-bg)!important;color:var(--sup-ink)!important;border-radius:8px!important;padding:10px 12px!important;font:inherit;box-shadow:none!important
}
.nsp-private-workspace .nsw-support-field textarea,.nsp-private-workspace .nsw-support-reply textarea{resize:vertical;line-height:1.55}
.nsp-private-workspace .nsw-support-field input::placeholder,.nsp-private-workspace .nsw-support-field textarea::placeholder,.nsp-private-workspace .nsw-support-reply textarea::placeholder{color:color-mix(in srgb,var(--sup-muted) 82%,transparent)}
.nsp-private-workspace .nsw-support-field input:focus,.nsp-private-workspace .nsw-support-field select:focus,.nsp-private-workspace .nsw-support-field textarea:focus,.nsp-private-workspace .nsw-support-reply textarea:focus{outline:2px solid var(--sup-accent)!important;outline-offset:1px;border-color:var(--sup-accent)!important}
.nsp-private-workspace .nsw-support-field small{display:flex;align-items:center;gap:6px;color:var(--sup-muted);font-size:.72rem;line-height:1.4}
.nsp-private-workspace .nsw-support-field small svg{width:14px;height:14px;flex:0 0 auto}
.nsp-private-workspace .nsw-support-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nsp-private-workspace .nsw-support-context-preview{display:flex;align-items:center;gap:9px;min-height:40px;margin:-3px 0 15px;padding:9px 11px;border:1px solid var(--sup-line);border-left:3px solid var(--sup-line-strong);background:var(--sup-soft);color:var(--sup-muted);font-size:.76rem}
.nsp-private-workspace .nsw-support-context-preview.is-priority{border-left-color:var(--sup-accent);background:var(--sup-accent-soft);color:var(--sup-accent-strong)}
.nsp-private-workspace .nsw-support-context-preview strong{color:inherit}
.nsp-private-workspace .nsw-support-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:2px}
.nsp-private-workspace .nsw-support-attach-button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 10px;border:1px solid var(--sup-line-strong);background:var(--sup-bg);color:var(--sup-ink);font-size:.76rem;font-weight:800;cursor:pointer;border-radius:7px;max-width:50%}
.nsp-private-workspace .nsw-support-attach-button:hover{border-color:var(--sup-accent);color:var(--sup-accent-strong)}
.nsp-private-workspace .nsw-support-attach-button input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.nsp-private-workspace .nsw-support-attach-button svg{width:15px;height:15px;flex:0 0 auto}
.nsp-private-workspace .nsw-support-attach-button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nsp-private-workspace .nsw-support-form-status{display:block;min-height:18px;margin-top:8px;color:var(--sup-muted);font-size:.72rem}

/* Conversations */
.nsp-private-workspace .nsw-support-case-list{display:grid;gap:9px;max-width:900px}
.nsp-private-workspace .nsw-support-case{border:1px solid var(--sup-line);background:var(--sup-bg);border-radius:9px;overflow:hidden}
.nsp-private-workspace .nsw-support-case.is-selected{border-color:var(--sup-accent);box-shadow:0 0 0 1px var(--sup-accent)}
.nsp-private-workspace .nsw-support-case-head{width:100%;appearance:none;border:0;background:transparent;color:inherit;text-align:left;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 15px;cursor:pointer;font:inherit}
.nsp-private-workspace .nsw-support-case-head:hover{background:var(--sup-soft)}
.nsp-private-workspace .nsw-support-case-head:focus-visible{outline:2px solid var(--sup-accent);outline-offset:-2px}
.nsp-private-workspace .nsw-support-case-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.nsp-private-workspace .nsw-support-case-key{font-size:.64rem;text-transform:uppercase;letter-spacing:.06em;color:var(--sup-muted);font-weight:800}
.nsp-private-workspace .nsw-support-case-main strong{color:var(--sup-ink);font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nsp-private-workspace .nsw-support-case-main small{color:var(--sup-muted);font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nsp-private-workspace .nsw-support-case-badges{display:flex;gap:6px;align-items:center;flex:0 0 auto}
.nsp-private-workspace .nsw-support-case-badges b{font-size:.64rem;padding:5px 7px;border-radius:5px;background:var(--sup-soft);color:var(--sup-muted)}
.nsp-private-workspace .nsw-support-case-badges .is-priority{background:var(--sup-accent-soft);color:var(--sup-accent-strong)}
.nsp-private-workspace .nsw-support-case-badges svg{width:15px;height:15px;transition:transform .16s ease}
.nsp-private-workspace .nsw-support-case-head[aria-expanded="true"] .nsw-support-case-badges svg{transform:rotate(180deg)}
.nsp-private-workspace .nsw-support-case-body{border-top:1px solid var(--sup-line);padding:16px}
.nsp-private-workspace .nsw-support-linked-order{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 11px;background:var(--sup-soft);margin-bottom:14px;border-radius:7px}
.nsp-private-workspace .nsw-support-linked-order div{display:flex;flex-direction:column;min-width:0}
.nsp-private-workspace .nsw-support-linked-order span{font-size:.62rem;text-transform:uppercase;letter-spacing:.04em;color:var(--sup-muted);font-weight:800}
.nsp-private-workspace .nsw-support-linked-order strong{font-size:.8rem;color:var(--sup-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nsp-private-workspace .nsw-support-linked-order small{font-size:.68rem;color:var(--sup-muted)}
.nsp-private-workspace .nsw-support-thread{display:flex;flex-direction:column;gap:9px;margin:0 0 16px}
.nsp-private-workspace .nsw-support-message{max-width:82%;padding:10px 12px;background:var(--sup-soft);border:1px solid var(--sup-line);border-radius:8px}
.nsp-private-workspace .nsw-support-message.is-student{align-self:flex-end;background:var(--sup-accent-soft);border-color:color-mix(in srgb,var(--sup-accent) 24%,var(--sup-line))}
.nsp-private-workspace .nsw-support-message.is-admin{align-self:flex-start;background:var(--sup-bg)}
.nsp-private-workspace .nsw-support-message.is-system{align-self:center;max-width:92%;background:var(--sup-soft);color:var(--sup-muted)}
.nsp-private-workspace .nsw-support-message-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px}
.nsp-private-workspace .nsw-support-message-meta strong{font-size:.7rem;color:var(--sup-ink)}
.nsp-private-workspace .nsw-support-message-meta span{font-size:.63rem;color:var(--sup-muted)}
.nsp-private-workspace .nsw-support-message-copy p{margin:0 0 7px!important;color:var(--sup-ink)!important;font-size:.82rem;line-height:1.55}
.nsp-private-workspace .nsw-support-message-copy p:last-child{margin-bottom:0!important}
.nsp-private-workspace .nsw-support-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.nsp-private-workspace .nsw-support-attachments a{display:inline-flex;gap:5px;align-items:center;padding:5px 7px;border:1px solid var(--sup-line-strong);border-radius:6px;color:var(--sup-accent-strong);text-decoration:none;font-size:.68rem;font-weight:800;background:var(--sup-bg)}
.nsp-private-workspace .nsw-support-attachments svg{width:13px;height:13px}
.nsp-private-workspace .nsw-support-reply{border-top:1px solid var(--sup-line);padding-top:14px}
.nsp-private-workspace .nsw-support-reply>label>span{display:block;margin-bottom:6px;font-size:.74rem;font-weight:800;color:var(--sup-ink)}
.nsp-private-workspace .nsw-support-reply-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:8px}
.nsp-private-workspace .nsw-support-file-button{display:inline-flex;align-items:center;gap:6px;color:var(--sup-accent-strong);font-size:.72rem;font-weight:800;cursor:pointer}
.nsp-private-workspace .nsw-support-file-button input{position:absolute;width:1px;height:1px;opacity:0}
.nsp-private-workspace .nsw-support-file-button svg{width:14px;height:14px}
.nsp-private-workspace .nsw-support-resolve-link{margin-top:10px;border:0;background:transparent;color:var(--sup-accent-strong);text-decoration:underline;font-weight:800;font-size:.72rem;cursor:pointer;padding:3px 0}
.nsp-private-workspace .nsw-support-closed-note{padding:11px;background:var(--sup-soft);color:var(--sup-muted);font-size:.78rem;border-radius:7px}
.nsp-private-workspace .nsw-support-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;border:1px dashed var(--sup-line-strong);border-radius:9px;color:var(--sup-muted);padding:26px}
.nsp-private-workspace .nsw-support-empty>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--sup-soft);color:var(--sup-accent-strong)}
.nsp-private-workspace .nsw-support-empty svg{width:19px;height:19px}.nsp-private-workspace .nsw-support-empty strong{color:var(--sup-ink);font-size:.9rem}.nsp-private-workspace .nsw-support-empty p{margin:0!important;color:var(--sup-muted)!important;font-size:.78rem}.nsp-private-workspace .nsw-support-empty button{border:0;background:transparent;color:var(--sup-accent-strong);font-weight:800;cursor:pointer;text-decoration:underline}

/* Safe refresh banner only appears when a draft blocks auto-refresh. */
.nsp-private-workspace .nsw-support-live-banner{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:11px 12px;border:1px solid var(--sup-line-strong);border-left:3px solid var(--sup-accent);background:var(--sup-bg);color:var(--sup-ink);border-radius:8px;box-shadow:var(--sup-shadow)}
.nsp-private-workspace .nsw-support-live-banner>span{color:var(--sup-accent-strong);display:grid;place-items:center}.nsp-private-workspace .nsw-support-live-banner svg{width:17px;height:17px}
.nsp-private-workspace .nsw-support-live-banner>div{display:flex;flex:1;min-width:0;flex-direction:column}.nsp-private-workspace .nsw-support-live-banner strong{font-size:.78rem}.nsp-private-workspace .nsw-support-live-banner small{font-size:.69rem;color:var(--sup-muted)}
.nsp-private-workspace .nsw-support-live-banner button{border:1px solid var(--sup-accent);background:var(--sup-accent);color:#fff;padding:7px 10px;border-radius:6px;font:800 .7rem/1.1 inherit;cursor:pointer}

/* Existing Need Support card is the only persistent Support Centre entry. */
.nsp-private-workspace .nsp-nav .nsp-nav-item[data-page="support"],.nsp-private-workspace .nsw-mobile-directory [data-goto="support"]{display:none!important}
body.nsp-private-workspace #nsp-app .nsw-sidebar-help{position:relative;width:calc(100% - 24px);margin:10px 12px 4px;padding:11px 10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);color:#f3f8f5;display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:9px;text-align:left;border-radius:8px;cursor:pointer;font:inherit}
body.nsp-private-workspace #nsp-app .nsw-sidebar-help:hover,body.nsp-private-workspace #nsp-app .nsw-sidebar-help:focus-visible{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28);outline:2px solid rgba(129,226,170,.75);outline-offset:2px}
body.nsp-private-workspace #nsp-app .nsw-sidebar-help>span{width:30px;height:30px;display:grid;place-items:center;background:rgba(255,255,255,.08)}
body.nsp-private-workspace #nsp-app .nsw-sidebar-help>span svg{width:16px;height:16px}
body.nsp-private-workspace #nsp-app .nsw-sidebar-help>div{display:flex;flex-direction:column;min-width:0}.nsw-sidebar-help strong{font-size:.78rem;color:#fff}.nsw-sidebar-help small{font-size:.66rem;color:#aebdb5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nsw-sidebar-help>svg{width:15px;height:15px;color:#aebdb5}
body.nsp-private-workspace #nsp-app .nsw-sidebar-help.has-support-unread{border-color:rgba(75,207,133,.55);background:rgba(75,207,133,.1)}
.nsw-sidebar-support-badge{position:absolute;right:28px;top:6px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;display:grid;place-items:center;background:#d92d20;color:#fff!important;font-size:.6rem;line-height:1;font-weight:900;box-shadow:0 0 0 2px var(--nsp-sidebar,#07140e)}
.nsw-sidebar-support-badge[hidden]{display:none!important}

/* Header Support Centre notifications. */
.nsw-support-inbox-wrap{position:relative;display:inline-flex}.nsw-support-button{position:relative}.nsw-support-button>svg{width:19px;height:19px}
.nsw-support-unread-dot{position:absolute;z-index:3;top:-4px;right:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#d92d20;color:#fff;display:grid;place-items:center;font-size:.62rem;font-weight:900;line-height:1;box-shadow:0 0 0 2px var(--nsp-topbar-bg,var(--nsp-paper,#fff))}.nsw-support-unread-dot[hidden]{display:none!important}
.nsw-support-live-dot{position:absolute;right:4px;bottom:4px;width:7px;height:7px;border-radius:50%;background:#84938b;border:1px solid var(--nsp-topbar-bg,#fff);pointer-events:none}.nsw-support-live-dot[data-state="live"]{background:#2fb176;box-shadow:0 0 0 3px rgba(47,177,118,.12)}.nsw-support-live-dot[data-state="checking"]{background:#e0a82e;animation:nspSupportPulse 1s ease-in-out infinite}.nsw-support-live-dot[data-state="offline"],.nsw-support-live-dot[data-state="error"]{background:#d92d20}
.nsw-support-inbox-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:1200;width:min(390px,calc(100vw - 28px));max-height:min(620px,calc(100dvh - 92px));display:flex;flex-direction:column;background:var(--nsp-card,#fff);color:var(--nsp-ink,#17231d);border:1px solid var(--nsp-line,#d9e4de);border-radius:11px;box-shadow:0 22px 54px rgba(8,29,18,.2);overflow:hidden}.nsw-support-inbox-panel[hidden]{display:none!important}
.nsw-support-inbox-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:13px 14px;border-bottom:1px solid var(--nsp-line,#d9e4de);background:var(--nsp-card,#fff)}.nsw-support-inbox-head>div{display:flex;flex-direction:column;gap:3px}.nsw-support-inbox-head strong{font-size:.86rem;color:var(--nsp-ink,#17231d)}.nsw-support-inbox-head small{display:flex;align-items:center;gap:6px;font-size:.66rem;color:var(--nsp-muted,#66766d)}.nsw-support-inbox-head small i{width:7px;height:7px;border-radius:50%;background:#87968e}.nsw-support-inbox-head small i[data-state="live"]{background:#2fb176}.nsw-support-inbox-head small i[data-state="checking"]{background:#e0a82e}.nsw-support-inbox-head small i[data-state="offline"],.nsw-support-inbox-head small i[data-state="error"]{background:#d92d20}.nsw-support-inbox-head>button{width:30px;height:30px;border:0;background:transparent;color:var(--nsp-muted,#66766d);display:grid;place-items:center;border-radius:6px;cursor:pointer}
.nsw-support-inbox-list{overflow:auto;overscroll-behavior:contain;background:var(--nsp-card,#fff)}.nsw-support-inbox-item{width:100%;border:0;border-bottom:1px solid var(--nsp-line,#e1e9e5);background:transparent;color:inherit;text-align:left;padding:11px 14px;display:flex;flex-direction:column;gap:3px;cursor:pointer;font:inherit}.nsw-support-inbox-item:hover,.nsw-support-inbox-item:focus-visible{background:var(--nsp-soft,#f4f8f5);outline:0}.nsw-support-inbox-item.is-unread{background:rgba(8,127,80,.07)}.nsw-support-inbox-item-top{display:flex;align-items:center;gap:6px}.nsw-support-inbox-item-top strong{flex:1;min-width:0;font-size:.78rem;color:var(--nsp-ink,#17231d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nsw-support-inbox-item-top b{font-size:.55rem;letter-spacing:.03em;text-transform:uppercase;padding:3px 5px;border-radius:4px;color:#075f3d;background:#e8f7ee}.nsw-support-inbox-item-top i{min-width:18px;height:18px;border-radius:10px;padding:0 4px;display:grid;place-items:center;background:#d92d20;color:#fff;font-size:.58rem;font-style:normal;font-weight:900}.nsw-support-inbox-item small{font-size:.64rem;color:var(--nsp-muted,#66766d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nsw-support-inbox-item>span:last-child{font-size:.7rem;color:var(--nsp-muted,#66766d);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.nsw-support-inbox-empty{padding:22px 16px;text-align:center;color:var(--nsp-muted,#66766d);font-size:.73rem}.nsw-support-inbox-empty strong{display:block;color:var(--nsp-ink,#17231d);font-size:.82rem;margin-bottom:4px}.nsw-support-inbox-foot{padding:9px;border-top:1px solid var(--nsp-line,#d9e4de);background:var(--nsp-card,#fff)}.nsw-support-inbox-foot button{width:100%;min-height:37px;border:1px solid var(--nsp-accent,#087f50);border-radius:7px;background:var(--nsp-accent,#087f50);color:#fff;font:800 .73rem/1.1 inherit;cursor:pointer}
html[data-theme="dark"] .nsw-support-inbox-panel,html[data-theme="dark"] .nsw-support-inbox-head,html[data-theme="dark"] .nsw-support-inbox-list,html[data-theme="dark"] .nsw-support-inbox-foot{background:#0e1b16;color:#f1f7f3;border-color:#2b4639}html[data-theme="dark"] .nsw-support-inbox-panel{box-shadow:0 24px 64px rgba(0,0,0,.5)}html[data-theme="dark"] .nsw-support-inbox-head strong,html[data-theme="dark"] .nsw-support-inbox-item-top strong,html[data-theme="dark"] .nsw-support-inbox-empty strong{color:#f1f7f3!important}html[data-theme="dark"] .nsw-support-inbox-head small,html[data-theme="dark"] .nsw-support-inbox-item small,html[data-theme="dark"] .nsw-support-inbox-item>span:last-child,html[data-theme="dark"] .nsw-support-inbox-empty{color:#b7c7be!important}html[data-theme="dark"] .nsw-support-inbox-item{border-color:#2b4639}html[data-theme="dark"] .nsw-support-inbox-item:hover{background:#14251f}html[data-theme="dark"] .nsw-support-inbox-item.is-unread{background:#153126}html[data-theme="dark"] .nsw-support-inbox-item-top b{background:#173c2c;color:#78e4ad}

.nsw-order-detail-top-actions{display:flex;align-items:center;gap:9px}.nsw-order-support-button svg,.nsw-order-support-quick svg{width:15px;height:15px}

@media(max-width:760px){
  .nsp-private-workspace .nsw-support-centre{padding-bottom:24px}.nsp-private-workspace .nsw-support-header{align-items:flex-start;flex-direction:column;padding-bottom:15px}.nsp-private-workspace .nsw-support-header-status{justify-content:flex-start}.nsp-private-workspace .nsw-support-tabs{padding-top:14px}.nsp-private-workspace .nsw-support-tabs button{flex:1;justify-content:center;padding:0 8px}.nsp-private-workspace .nsw-support-panel{padding-top:17px}.nsp-private-workspace .nsw-support-grid-2{grid-template-columns:1fr}.nsp-private-workspace .nsw-support-actions{align-items:stretch;flex-direction:column-reverse}.nsp-private-workspace .nsw-support-attach-button{max-width:100%;justify-content:center}.nsp-private-workspace .nsw-support-actions .nsw-primary-button{width:100%;justify-content:center}.nsp-private-workspace .nsw-support-case-main small{max-width:58vw}.nsp-private-workspace .nsw-support-case-badges .is-status{display:none}.nsp-private-workspace .nsw-support-case-body{padding:13px}.nsp-private-workspace .nsw-support-message{max-width:91%}.nsp-private-workspace .nsw-support-linked-order{align-items:flex-start;flex-direction:column}.nsp-private-workspace .nsw-support-linked-order .nsw-secondary-button{width:100%}.nsp-private-workspace .nsw-support-live-banner{align-items:flex-start;flex-wrap:wrap}.nsp-private-workspace .nsw-support-live-banner button{margin-left:27px}.nsw-support-inbox-panel{position:fixed;left:12px;right:12px;top:72px;width:auto;max-height:calc(100dvh - 88px)}
}
@media(prefers-reduced-motion:reduce){.nsw-support-live-dot,.nsp-private-workspace .nsw-support-live-chip i{animation:none!important;transition:none!important}}


/* 6.31.52 — support composer polish, unified attention centre, and mobile header safety. */

/* File picker: keep the native input entirely out of layout and present one clear control. */
.nsp-private-workspace .nsw-support-file-picker{min-width:0;flex:1;max-width:520px}
.nsp-private-workspace .nsw-support-file-picker-row{display:flex;align-items:center;gap:9px;min-height:42px;min-width:0}
.nsp-private-workspace .nsw-support-file-input[hidden]{display:none!important}
.nsp-private-workspace .nsw-support-attach-button,
.nsp-private-workspace .nsw-support-file-button{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;
  padding:8px 12px!important;border:1px solid var(--sup-line-strong)!important;border-radius:7px!important;
  background:var(--sup-bg)!important;color:var(--sup-ink)!important;font:800 .76rem/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  cursor:pointer;white-space:nowrap;max-width:none!important;box-shadow:none!important
}
.nsp-private-workspace .nsw-support-attach-button:hover,
.nsp-private-workspace .nsw-support-file-button:hover{border-color:var(--sup-accent)!important;color:var(--sup-accent-strong)!important;background:var(--sup-accent-soft)!important}
.nsp-private-workspace .nsw-support-attach-button:focus-visible,
.nsp-private-workspace .nsw-support-file-button:focus-visible,
.nsp-private-workspace .nsw-support-file-clear:focus-visible{outline:2px solid var(--sup-accent)!important;outline-offset:2px}
.nsp-private-workspace .nsw-support-attach-button svg,
.nsp-private-workspace .nsw-support-file-button svg{width:15px;height:15px;flex:0 0 auto}
.nsp-private-workspace .nsw-support-file-meta{min-width:0;color:var(--sup-muted)!important;font-size:.69rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nsp-private-workspace .nsw-support-file-clear{appearance:none;border:0;background:transparent!important;color:var(--sup-accent-strong)!important;font:800 .68rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;padding:7px 2px}
.nsp-private-workspace .nsw-support-file-clear[hidden]{display:none!important}
.nsp-private-workspace .nsw-support-file-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.nsp-private-workspace .nsw-support-file-chips[hidden]{display:none!important}
.nsp-private-workspace .nsw-support-file-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 7px;border:1px solid var(--sup-line);border-radius:6px;background:var(--sup-soft);color:var(--sup-ink);font-size:.67rem}
.nsp-private-workspace .nsw-support-file-chip b{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit!important;font-size:inherit}
.nsp-private-workspace .nsw-support-file-chip small{color:var(--sup-muted)!important;font-size:.62rem;white-space:nowrap}
.nsp-private-workspace .nsw-support-actions{align-items:flex-start}
.nsp-private-workspace .nsw-support-actions>.nsw-primary-button{flex:0 0 auto;min-height:42px}

/* Reply composer uses the same picker without forcing a second visual language. */
.nsp-private-workspace .nsw-support-reply-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.nsp-private-workspace .nsw-support-file-picker.is-compact{max-width:68%}

/* One header attention control now owns support + ordinary portal notifications. */
.nsw-support-aggregate-dot{position:absolute!important;z-index:3;top:-4px!important;right:-5px!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:10px!important;background:#b42318!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:.62rem!important;font-weight:900!important;line-height:1!important;box-shadow:0 0 0 2px var(--nsp-topbar-bg,var(--nsp-paper,#fff))!important}
.nsw-support-aggregate-dot[hidden]{display:none!important}
.nsw-unified-attention-panel{overflow:auto!important}
.nsw-attention-section{display:block;background:var(--nsp-card,#fff);border-top:1px solid var(--nsp-line,#d9e4de)}
.nsw-attention-section:first-of-type{border-top:0}
.nsw-attention-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;background:var(--nsp-soft,#f5f8f6);border-bottom:1px solid var(--nsp-line,#d9e4de)}
.nsw-attention-section-head strong{font-size:.68rem;text-transform:uppercase;letter-spacing:.055em;color:var(--nsp-muted,#66766d)!important}
.nsw-attention-section-head button{appearance:none;border:0;background:transparent!important;color:var(--nsp-accent,#087f50)!important;font:800 .68rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;padding:4px 0}
.nsw-unified-attention-panel .nsw-notification-list{position:static!important;width:auto!important;max-height:none!important;border:0!important;box-shadow:none!important;background:var(--nsp-card,#fff)!important}
.nsw-unified-attention-panel .nsw-notification-list>a,
.nsw-unified-attention-panel .nsw-notification-list>button{border-radius:0!important}
html[data-theme="dark"] .nsw-attention-section,
html[data-theme="dark"] .nsw-attention-section-head,
html[data-theme="dark"] .nsw-unified-attention-panel .nsw-notification-list{background:#0e1b16!important;border-color:#2b4639!important}
html[data-theme="dark"] .nsw-attention-section-head{background:#13231d!important}

/* The theme owns the appearance switch. Once its canonical toggle exists,
 * the Workspace JS moves it into this action row so it cannot overlap avatar UI. */
body.nsp-private-workspace .nsw-topbar-actions>.ns-portal-theme-toggle.nsw-integrated-theme-toggle{
  position:relative!important;inset:auto!important;right:auto!important;top:auto!important;z-index:auto!important;
  width:40px!important;height:40px!important;min-width:40px!important;margin:0!important;padding:0!important;
  background:transparent!important;border:1px solid var(--nsp-line,#c8d0ca)!important;box-shadow:none!important
}
body.nsp-private-workspace .nsw-topbar-actions>.ns-portal-theme-toggle.nsw-integrated-theme-toggle:hover{background:var(--nsp-surface-2,#edf1ed)!important}
html[data-theme="dark"] body.nsp-private-workspace .nsw-topbar-actions>.ns-portal-theme-toggle.nsw-integrated-theme-toggle{background:transparent!important;color:#eef4f0!important;border-color:#405248!important}
html[data-theme="dark"] body.nsp-private-workspace .nsw-topbar-actions>.ns-portal-theme-toggle.nsw-integrated-theme-toggle:hover{background:#19261f!important}

/* Safety net while the theme toggle is being moved: never let a fixed portal
 * appearance control sit over the mobile account button. */
@media(max-width:760px){
  body.nsp-private-workspace>.ns-portal-theme-toggle:not(.nsw-integrated-theme-toggle){right:58px!important;top:12px!important}
  body.nsp-private-workspace .nsw-topbar-actions>.ns-portal-theme-toggle.nsw-integrated-theme-toggle{width:38px!important;height:38px!important;min-width:38px!important}
  .nsp-private-workspace .nsw-support-actions{align-items:stretch;flex-direction:column}
  .nsp-private-workspace .nsw-support-file-picker,.nsp-private-workspace .nsw-support-file-picker.is-compact{max-width:none;width:100%}
  .nsp-private-workspace .nsw-support-file-picker-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}
  .nsp-private-workspace .nsw-support-actions>.nsw-primary-button{width:100%;justify-content:center}
  .nsp-private-workspace .nsw-support-reply-actions{align-items:stretch;flex-direction:column}
  .nsp-private-workspace .nsw-support-reply-actions>.nsw-primary-button{width:100%;justify-content:center}
  .nsp-private-workspace .nsw-support-file-chip b{max-width:58vw}
}
@media(max-width:420px){
  .nsp-private-workspace .nsw-support-file-picker-row{grid-template-columns:1fr auto}
  .nsp-private-workspace .nsw-support-file-meta{grid-column:1/-1;grid-row:2}
}
