
/* NEMAZING V160 · approved glossy PNG icons from the generated icon sheets */
.nmf153-node-icon{
  width:62px!important;height:62px!important;padding:0!important;
  border:0!important;background:transparent!important;overflow:visible!important;
  box-shadow:none!important
}
.nmf153-node-icon img{
  width:62px!important;height:62px!important;display:block!important;object-fit:contain!important;
  border-radius:16px!important;filter:drop-shadow(0 5px 7px rgba(31,37,70,.14))
}
.nmf153-sub-icon{
  width:52px!important;height:52px!important;padding:0!important;
  border:0!important;background:transparent!important;overflow:visible!important
}
.nmf153-sub-icon img{
  width:52px!important;height:52px!important;object-fit:contain!important;border-radius:14px!important;
  filter:drop-shadow(0 4px 6px rgba(31,37,70,.13))
}
.nmf160-real-icon-picker{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px
}
.nmf160-real-icon-picker button{
  min-height:108px;display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;
  padding:10px;border:1px solid #e1e5ed;border-radius:16px;background:#fff;color:#4d5665;
  text-align:left;cursor:pointer;transition:.16s ease
}
.nmf160-real-icon-picker button:hover,.nmf160-real-icon-picker button.active{
  transform:translateY(-2px);border-color:#d3caff;background:#f7f4ff;
  box-shadow:0 12px 28px rgba(86,70,204,.10)
}
.nmf160-real-icon-picker img{
  width:72px;height:72px;display:block;object-fit:contain;border-radius:17px;
  filter:drop-shadow(0 5px 7px rgba(44,43,89,.14))
}
.nmf160-real-icon-picker small{font-size:7px;font-weight:900;line-height:1.3}

/* NMA189 COMPLAINTS START */
/* V189 complaints redesign */
body.nma189-complaints, body[data-nma-module="complaints"] {
  --nma-panel:#ffffff;
  --nma-soft:#f5f7fc;
  --nma-line:#e6eaf3;
  --nma-text:#20273a;
  --nma-muted:#74809a;
  --nma-accent:#6f5cff;
  --nma-accent-soft:#f1eeff;
  --nma-green:#2f9d68;
  --nma-green-soft:#ebfbf3;
  --nma-red:#e25363;
  --nma-red-soft:#fff0f2;
}
body.nma189-complaints .nma189-complaints-shell{display:grid!important;grid-template-columns:320px minmax(480px,1fr) 310px!important;gap:18px!important;align-items:stretch!important;min-height:calc(100vh - 220px)!important;}
body.nma189-complaints .nma189-list,
body.nma189-complaints .nma189-chat,
body.nma189-complaints .nma189-side{background:var(--nma-panel)!important;border:1px solid var(--nma-line)!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(39,47,74,.05)!important;overflow:hidden!important;min-height:0!important;}
body.nma189-complaints .nma189-list{display:flex!important;flex-direction:column!important;}
body.nma189-complaints .nma189-list-head{padding:18px 18px 14px!important;border-bottom:1px solid var(--nma-line)!important;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;}
body.nma189-complaints .nma189-list-title{font-size:30px!important;font-weight:900!important;line-height:1.05!important;color:var(--nma-text)!important;margin:0 0 6px!important;}
body.nma189-complaints .nma189-list-sub{font-size:13px!important;color:var(--nma-muted)!important;line-height:1.5!important;margin:0 0 14px!important;}
body.nma189-complaints .nma189-search{width:100%!important;min-height:44px!important;border-radius:14px!important;border:1px solid var(--nma-line)!important;background:#fbfcff!important;padding:0 14px!important;font-size:13px!important;color:var(--nma-text)!important;}
body.nma189-complaints .nma189-tabs{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-top:12px!important;}
body.nma189-complaints .nma189-tab{min-height:42px!important;border-radius:14px!important;border:1px solid var(--nma-line)!important;background:var(--nma-soft)!important;color:#566079!important;font-size:13px!important;font-weight:800!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;cursor:pointer!important;}
body.nma189-complaints .nma189-tab.is-active{background:var(--nma-accent-soft)!important;border-color:#d8d2ff!important;color:var(--nma-accent)!important;box-shadow:inset 0 0 0 1px rgba(111,92,255,.06)!important;}
body.nma189-complaints .nma189-kpis{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-top:12px!important;}
body.nma189-complaints .nma189-kpi{padding:12px!important;border-radius:14px!important;background:#fbfcff!important;border:1px solid var(--nma-line)!important;}
body.nma189-complaints .nma189-kpi b{display:block!important;font-size:24px!important;line-height:1!important;color:var(--nma-text)!important;margin-bottom:4px!important;}
body.nma189-complaints .nma189-kpi span{font-size:11px!important;color:var(--nma-muted)!important;}
body.nma189-complaints .nma189-items{padding:10px!important;overflow:auto!important;min-height:0!important;}
body.nma189-complaints .nma189-item{border:1px solid var(--nma-line)!important;border-radius:16px!important;padding:12px!important;background:#fff!important;margin-bottom:10px!important;cursor:pointer!important;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease!important;}
body.nma189-complaints .nma189-item:hover{transform:translateY(-1px)!important;box-shadow:0 10px 24px rgba(42,52,77,.06)!important;}
body.nma189-complaints .nma189-item.is-active{background:#faf8ff!important;border-color:#d8d2ff!important;box-shadow:0 12px 26px rgba(111,92,255,.08)!important;}
body.nma189-complaints .nma189-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;}
body.nma189-complaints .nma189-id{font-size:12px!important;font-weight:900!important;color:var(--nma-accent)!important;}
body.nma189-complaints .nma189-time{font-size:11px!important;color:var(--nma-muted)!important;white-space:nowrap!important;}
body.nma189-complaints .nma189-subject{font-size:18px!important;font-weight:900!important;color:var(--nma-text)!important;margin:8px 0 6px!important;line-height:1.25!important;}
body.nma189-complaints .nma189-preview{font-size:12px!important;color:var(--nma-muted)!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
body.nma189-complaints .nma189-badges{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:10px!important;}
body.nma189-complaints .nma189-badge{padding:0 10px!important;min-height:26px!important;border-radius:999px!important;font-size:11px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
body.nma189-complaints .nma189-badge.status-work{background:var(--nma-green-soft)!important;color:var(--nma-green)!important;}
body.nma189-complaints .nma189-badge.status-history{background:#f3f4f8!important;color:#687286!important;}
body.nma189-complaints .nma189-badge.priority-normal{background:#fdf7eb!important;color:#b07216!important;}
body.nma189-complaints .nma189-chat{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:0!important;}
body.nma189-complaints .nma189-chat-head{padding:18px 18px 12px!important;border-bottom:1px solid var(--nma-line)!important;background:#fff!important;}
body.nma189-complaints .nma189-chat-id{font-size:12px!important;font-weight:900!important;color:var(--nma-accent)!important;margin-bottom:8px!important;}
body.nma189-complaints .nma189-chat-title{font-size:34px!important;font-weight:900!important;line-height:1.08!important;color:var(--nma-text)!important;margin:0 0 8px!important;}
body.nma189-complaints .nma189-chat-meta{display:flex!important;flex-wrap:wrap!important;gap:10px!important;color:var(--nma-muted)!important;font-size:12px!important;}
body.nma189-complaints .nma189-chat-status{margin-left:auto!important;}
body.nma189-complaints .nma189-messages{padding:18px!important;overflow:auto!important;min-height:0!important;background:#fbfcff!important;display:flex!important;flex-direction:column!important;gap:14px!important;}
body.nma189-complaints .nma189-msg{max-width:min(86%,740px)!important;padding:14px 16px!important;border-radius:18px!important;background:#fff!important;border:1px solid var(--nma-line)!important;box-shadow:0 8px 18px rgba(40,49,73,.04)!important;}
body.nma189-complaints .nma189-msg.is-admin{align-self:flex-end!important;background:#f7f4ff!important;border-color:#ddd5ff!important;}
body.nma189-complaints .nma189-msg-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:8px!important;}
body.nma189-complaints .nma189-msg-author{font-size:14px!important;font-weight:900!important;color:var(--nma-text)!important;}
body.nma189-complaints .nma189-msg-date{font-size:11px!important;color:var(--nma-muted)!important;white-space:nowrap!important;}
body.nma189-complaints .nma189-msg-text{font-size:15px!important;line-height:1.58!important;color:#293247!important;white-space:pre-wrap!important;word-break:break-word!important;}
body.nma189-complaints .nma189-composer{padding:16px 18px 18px!important;border-top:1px solid var(--nma-line)!important;background:#fff!important;}
body.nma189-complaints .nma189-composer textarea{width:100%!important;min-height:126px!important;border:1px solid var(--nma-line)!important;border-radius:18px!important;background:#fbfcff!important;padding:16px!important;font-size:15px!important;line-height:1.55!important;resize:vertical!important;color:var(--nma-text)!important;}
body.nma189-complaints .nma189-composer-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:12px!important;}
body.nma189-complaints .nma189-composer-note{font-size:12px!important;color:var(--nma-muted)!important;}
body.nma189-complaints .nma189-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 18px!important;border-radius:14px!important;border:1px solid var(--nma-line)!important;background:#fff!important;color:#34405b!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important;}
body.nma189-complaints .nma189-btn.primary{background:linear-gradient(135deg,#6f5cff,#8f7bff)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 14px 26px rgba(111,92,255,.2)!important;}
body.nma189-complaints .nma189-side{padding:16px!important;overflow:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:12px!important;}
body.nma189-complaints .nma189-card{border:1px solid var(--nma-line)!important;border-radius:16px!important;background:#fff!important;padding:14px!important;}
body.nma189-complaints .nma189-card-title{font-size:13px!important;font-weight:900!important;color:#303a54!important;margin:0 0 10px!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
body.nma189-complaints .nma189-facts{display:grid!important;grid-template-columns:1fr auto!important;row-gap:9px!important;column-gap:12px!important;font-size:13px!important;}
body.nma189-complaints .nma189-facts span{color:var(--nma-muted)!important;}
body.nma189-complaints .nma189-facts b{color:var(--nma-text)!important;text-align:right!important;}
body.nma189-complaints .nma189-field{display:flex!important;flex-direction:column!important;gap:6px!important;margin-bottom:10px!important;}
body.nma189-complaints .nma189-field label{font-size:12px!important;font-weight:800!important;color:#4c5670!important;}
body.nma189-complaints .nma189-field select,
body.nma189-complaints .nma189-field textarea,
body.nma189-complaints .nma189-field input[type="text"]{width:100%!important;min-height:44px!important;border-radius:14px!important;border:1px solid var(--nma-line)!important;background:#fbfcff!important;padding:10px 14px!important;font-size:14px!important;color:var(--nma-text)!important;}
body.nma189-complaints .nma189-field textarea{min-height:120px!important;resize:vertical!important;}
body.nma189-complaints .nma189-check{display:flex!important;align-items:center!important;gap:8px!important;font-size:13px!important;color:var(--nma-text)!important;margin-top:2px!important;}
body.nma189-complaints .nma189-actions{display:flex!important;flex-direction:column!important;gap:10px!important;}
body.nma189-complaints .nma189-empty{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:40px 24px!important;color:var(--nma-muted)!important;font-size:14px!important;}
body.nma189-complaints .nma189-hidden{display:none!important;}
body.nma189-complaints .nma189-module-fallback > *{display:none!important;}
body.nma189-complaints .nma189-module-fallback .nma189-complaints-shell{display:grid!important;}
@media (max-width: 1320px){body.nma189-complaints .nma189-complaints-shell{grid-template-columns:300px minmax(0,1fr)!important;}body.nma189-complaints .nma189-side{grid-column:1 / -1!important;grid-row:3!important;}}
@media (max-width: 980px){body.nma189-complaints .nma189-complaints-shell{grid-template-columns:1fr!important;min-height:auto!important;}body.nma189-complaints .nma189-list{max-height:420px!important;}body.nma189-complaints .nma189-chat{min-height:740px!important;}body.nma189-complaints .nma189-chat-title{font-size:26px!important;}body.nma189-complaints .nma189-msg{max-width:100%!important;}body.nma189-complaints .nma189-side{grid-column:auto!important;grid-row:auto!important;}}

/* NMA189 COMPLAINTS END */

/* NMA192 TOPIC COMPACT START */
/* V192 compact move/delete topic block */
body.nma192-topic-compact{
  --nma192-line:#e7ebf5;
  --nma192-soft:#fafbff;
  --nma192-text:#27324a;
  --nma192-muted:#7a859e;
  --nma192-accent:#6f5cff;
  --nma192-accent-soft:#f3f0ff;
  --nma192-danger:#e35b6d;
  --nma192-danger-soft:#fff5f6;
}
body.nma192-topic-compact .nma192-topic-transfer-card{border-radius:16px!important;overflow:hidden!important;border:1px solid #dddffd!important;box-shadow:none!important;background:#fff!important;margin-top:14px!important;}
body.nma192-topic-compact .nma192-topic-transfer-card > *{box-shadow:none!important;}
body.nma192-topic-compact .nma192-topic-transfer-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important;background:linear-gradient(180deg,#fbfaff 0%,#f8f6ff 100%)!important;border-bottom:1px solid #e5e0ff!important;cursor:pointer!important;}
body.nma192-topic-compact .nma192-topic-transfer-title{margin:0!important;font-size:16px!important;font-weight:900!important;color:var(--nma192-accent)!important;line-height:1.2!important;}
body.nma192-topic-compact .nma192-topic-transfer-sub{margin:4px 0 0!important;font-size:12px!important;color:var(--nma192-muted)!important;line-height:1.4!important;}
body.nma192-topic-compact .nma192-topic-transfer-toggle{width:34px!important;height:34px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--nma192-line)!important;background:#fff!important;color:#7d6eff!important;font-size:15px!important;font-weight:900!important;flex:0 0 34px!important;}
body.nma192-topic-compact .nma192-topic-transfer-body{padding:14px 16px 16px!important;background:#fff!important;}
body.nma192-topic-compact .nma192-topic-transfer-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 420px!important;gap:12px!important;align-items:stretch!important;}
body.nma192-topic-compact .nma192-topic-panel{border:1px solid var(--nma192-line)!important;border-radius:14px!important;background:var(--nma192-soft)!important;padding:12px!important;min-height:0!important;}
body.nma192-topic-compact .nma192-topic-panel.is-danger{background:var(--nma192-danger-soft)!important;border-color:#f0cfd5!important;}
body.nma192-topic-compact .nma192-topic-panel-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 8px!important;}
body.nma192-topic-compact .nma192-topic-panel-title b{font-size:14px!important;font-weight:900!important;color:var(--nma192-text)!important;}
body.nma192-topic-compact .nma192-topic-panel-title .danger{color:var(--nma192-danger)!important;}
body.nma192-topic-compact .nma192-topic-panel-text{margin:0 0 12px!important;font-size:12px!important;color:var(--nma192-muted)!important;line-height:1.45!important;}
body.nma192-topic-compact .nma192-topic-controls{display:flex!important;align-items:center!important;gap:10px!important;}
body.nma192-topic-compact .nma192-topic-controls select,
body.nma192-topic-compact .nma192-topic-controls .select,
body.nma192-topic-compact .nma192-topic-controls input[type="text"]{flex:1 1 auto!important;min-width:0!important;min-height:42px!important;border-radius:12px!important;border:1px solid #dce2ef!important;background:#fff!important;padding:0 12px!important;font-size:13px!important;color:var(--nma192-text)!important;}
body.nma192-topic-compact .nma192-topic-controls .btn,
body.nma192-topic-compact .nma192-topic-controls button,
body.nma192-topic-compact .nma192-topic-panel .btn,
body.nma192-topic-compact .nma192-topic-panel button{
  min-height:42px!important;padding:0 16px!important;border-radius:12px!important;font-size:13px!important;font-weight:900!important;box-shadow:none!important;
}
body.nma192-topic-compact .nma192-topic-controls .btn-primary,
body.nma192-topic-compact .nma192-topic-controls .btn--primary,
body.nma192-topic-compact .nma192-topic-controls button.primary,
body.nma192-topic-compact .nma192-topic-controls button[type="submit"],
body.nma192-topic-compact .nma192-topic-controls .accent,
body.nma192-topic-compact .nma192-topic-move-button{
  background:linear-gradient(135deg,#6f5cff,#8a77ff)!important;color:#fff!important;border:0!important;
}
body.nma192-topic-compact .nma192-topic-delete-wrap{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
body.nma192-topic-compact .nma192-topic-delete-wrap .btn,
body.nma192-topic-compact .nma192-topic-delete-wrap button{min-width:116px!important;border-color:#f0cfd5!important;background:#fff!important;color:var(--nma192-danger)!important;}
body.nma192-topic-compact .nma192-topic-transfer-card.is-collapsed .nma192-topic-transfer-body{display:none!important;}
body.nma192-topic-compact .nma192-topic-transfer-card.is-collapsed .nma192-topic-transfer-toggle{transform:rotate(180deg)!important;}
@media (max-width: 1120px){
  body.nma192-topic-compact .nma192-topic-transfer-grid{grid-template-columns:1fr!important;}
}
@media (max-width: 760px){
  body.nma192-topic-compact .nma192-topic-transfer-head{padding:12px 14px!important;}
  body.nma192-topic-compact .nma192-topic-transfer-body{padding:12px 14px 14px!important;}
  body.nma192-topic-compact .nma192-topic-controls,
  body.nma192-topic-compact .nma192-topic-delete-wrap{flex-direction:column!important;align-items:stretch!important;}
  body.nma192-topic-compact .nma192-topic-delete-wrap .btn,
  body.nma192-topic-compact .nma192-topic-delete-wrap button{width:100%!important;}
}

/* NMA192 TOPIC COMPACT END */

/* NMA201 SIDEBAR COLLAPSE START */
/* V201 - collapsible ACP sidebar */
body.nma201-acp-ready{
  --nma201-sidebar-width: 250px;
  --nma201-sidebar-gap: 0px;
  --nma201-sidebar-hidden-shift: calc(var(--nma201-sidebar-width) + 28px);
  --nma201-top-gap: 16px;
}

body.nma201-acp-ready .nma201-sidebar-toggle,
body.nma201-acp-ready .nma201-sidebar-reopen{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #d9def0;
  background:#ffffff;
  color:#5f52e9;
  border-radius:14px;
  min-height:42px;
  min-width:42px;
  padding:0 14px;
  font-size:13px;
  font-weight:900;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(39,45,74,.08);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
  z-index:1201;
}
body.nma201-acp-ready .nma201-sidebar-toggle:hover,
body.nma201-acp-ready .nma201-sidebar-reopen:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(39,45,74,.12);
}

body.nma201-acp-ready .nma201-sidebar-toggle .label,
body.nma201-acp-ready .nma201-sidebar-reopen .label{
  white-space:nowrap;
}

body.nma201-acp-ready .nma201-sidebar-reopen{
  position:fixed;
  left:12px;
  top:14px;
  opacity:0;
  pointer-events:none;
}
body.nma201-acp-ready.nma201-sidebar-collapsed .nma201-sidebar-reopen{
  opacity:1;
  pointer-events:auto;
}

body.nma201-acp-ready .nma201-is-sidebar{
  transition:transform .22s ease, opacity .22s ease !important;
  will-change:transform;
}
body.nma201-acp-ready.nma201-sidebar-collapsed .nma201-is-sidebar{
  transform:translateX(calc(-1 * var(--nma201-sidebar-hidden-shift))) !important;
  opacity:.96 !important;
}

body.nma201-acp-ready .nma201-has-sidebar-space{
  transition:margin-left .22s ease, padding-left .22s ease, width .22s ease !important;
}
body.nma201-acp-ready.nma201-sidebar-collapsed .nma201-has-sidebar-space{
  margin-left:0 !important;
  padding-left:0 !important;
  width:100% !important;
  max-width:100% !important;
}

body.nma201-acp-ready.nma201-sidebar-collapsed .nma201-hide-when-collapsed{
  opacity:0;
  pointer-events:none;
}

@media (max-width: 980px){
  body.nma201-acp-ready .nma201-sidebar-toggle .label,
  body.nma201-acp-ready .nma201-sidebar-reopen .label{
    display:none;
  }
  body.nma201-acp-ready .nma201-sidebar-reopen{top:10px;left:10px;min-width:40px;min-height:40px;padding:0 10px;}
}

/* NMA201 SIDEBAR COLLAPSE END */
