/* NEMAZING V170 · PUBLIC FORUM USABILITY LAYER
   Цель: меньше мелкого текста и визуального шума, понятнее работа пользователям и команде,
   удобный форум на телефоне без изменения серверной логики. */

:root{
  --nmf170-purple:#6657f3;
  --nmf170-purple-soft:#f4f1ff;
  --nmf170-text:#202532;
  --nmf170-muted:#727b8c;
  --nmf170-line:#e4e8f0;
  --nmf170-bg:#f5f7fb;
  --nmf170-card:#fff;
  --nmf170-shadow:0 12px 36px rgba(31,38,52,.06);
}

.nmf170-body{background:var(--nmf170-bg)!important;color:var(--nmf170-text)!important}
.nmf170-body .nmf116-shell{width:min(1380px,calc(100% - 32px));margin-top:16px}
.nmf170-body .nmf116-main{margin-top:14px}
.nmf170-body .nmf161-bar{margin-bottom:12px;border-radius:18px;box-shadow:0 8px 28px rgba(28,35,50,.055)}

/* Больше нормального текста вместо прежних 7–10px */
.nmf170-body .eyebrow{font-size:10px!important;letter-spacing:.12em!important}
.nmf170-body .crumbs{font-size:12px!important;margin:5px 0 12px!important;overflow:auto;white-space:nowrap;padding:2px 1px 4px}
.nmf170-body .nmf116-pagehead h1,
.nmf170-body .topic-head h1,
.nmf170-body .nmf116-compose-card h1{font-size:clamp(25px,2.4vw,34px)!important}
.nmf170-body .nmf116-pagehead p,
.nmf170-body .nmf116-compose-card header p{font-size:13px!important;line-height:1.55!important}
.nmf170-body .btn{min-height:43px!important;padding:0 16px!important;font-size:12px!important;border-radius:12px!important}

/* Навигация форума */
.nmf170-body .nmf161-item{font-size:13px;min-height:46px}
.nmf170-body .nmf161-brand-copy strong{font-size:16px}
.nmf170-body .nmf161-brand-copy small{font-size:10px}
.nmf170-body .nmf161-menu b{font-size:13px}
.nmf170-body .nmf161-menu small{font-size:11px}
.nmf170-body .nmf161-manage{height:44px;font-size:12px}

/* Панель команды прямо на публичном форуме */
.nmf170-adminbar{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:10px 12px;border:1px solid #ddd8ff;border-radius:16px;background:linear-gradient(135deg,#fbfaff,#f4f1ff);box-shadow:0 8px 26px rgba(91,74,210,.07);position:relative}
.nmf170-adminbar-title{display:flex;align-items:center;gap:10px;min-width:225px}
.nmf170-admin-dot{width:10px;height:10px;border-radius:50%;background:#6a59f4;box-shadow:0 0 0 5px rgba(106,89,244,.1)}
.nmf170-adminbar-title small{display:block;font-size:9px;font-weight:900;letter-spacing:.1em;color:#7768e8}
.nmf170-adminbar-title strong{display:block;margin-top:2px;font-size:12px;color:#35394a}
.nmf170-admin-actions{display:flex;align-items:center;gap:6px;min-width:0;overflow:auto;scrollbar-width:none}
.nmf170-admin-actions::-webkit-scrollbar{display:none}
.nmf170-admin-actions a{flex:0 0 auto;height:36px;padding:0 11px;display:flex;align-items:center;border:1px solid #e4e0fb;border-radius:10px;background:#fff;color:#5e6575;font-size:11px;font-weight:800;text-decoration:none}
.nmf170-admin-actions a:hover{border-color:#cfc6ff;color:#5f50df;background:#fff}
.nmf170-admin-actions a.primary{background:#6657f3;border-color:#6657f3;color:#fff;box-shadow:0 7px 18px rgba(102,87,243,.18)}
.nmf170-adminbar-toggle{display:none;margin-left:auto;border:0;background:transparent;color:#7768e8;width:34px;height:34px;border-radius:10px}

/* Главная — разделы читаются как рабочий список */
.nmf170-body .nmf116-home-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px}
.nmf170-body .nmf116-groups{gap:16px}
.nmf170-body .nmf116-group,
.nmf170-body .side-card,
.nmf170-body .nmf116-thread-card,
.nmf170-body .nmf116-subnodes,
.nmf170-body .nmf116-compose-card,
.nmf170-body .reply-card,
.nmf170-body .profile-card{border-radius:18px!important;border-color:var(--nmf170-line)!important;box-shadow:var(--nmf170-shadow)!important}
.nmf170-body .nmf116-group>header{padding:16px 18px!important;background:linear-gradient(180deg,#fff,#fcfdff)}
.nmf170-body .nmf116-group>header h2{font-size:16px!important}
.nmf170-body .nmf116-group>header p{font-size:11px!important;line-height:1.45!important}
.nmf170-body .nmf116-node{grid-template-columns:50px minmax(0,1fr) 72px 88px 220px;gap:12px;min-height:86px;padding:13px 16px;transition:.15s ease}
.nmf170-body .nmf116-node:hover{background:#faf9ff;transform:translateY(-1px)}
.nmf170-body .node-icon{width:44px;height:44px;border-radius:13px}
.nmf170-body .node-copy strong{font-size:14px!important;line-height:1.25}
.nmf170-body .node-copy small{font-size:11px!important;line-height:1.35;margin-top:5px!important}
.nmf170-body .node-stat b{font-size:13px!important}
.nmf170-body .node-stat small{font-size:9px!important;margin-top:2px}
.nmf170-body .node-last strong{font-size:11px!important}
.nmf170-body .node-last small{font-size:9px!important;margin-top:4px}
.nmf170-body .side-card h3{font-size:14px!important}
.nmf170-body .stats-grid b{font-size:20px!important}
.nmf170-body .stats-grid span{font-size:10px!important}
.nmf170-body .online-list a{font-size:10px!important;padding:7px 8px!important}

/* Страница раздела и темы */
.nmf170-body .nmf116-pagehead{padding:22px 24px;min-height:116px}
.nmf170-body .nmf116-subnodes>header{padding:15px 17px!important}
.nmf170-body .nmf116-subnodes h2{font-size:15px!important}
.nmf170-body .nmf146-subnote{font-size:11px!important}
.nmf170-body .nmf116-subnodes a{min-height:68px;padding:13px 15px!important}
.nmf170-body .nmf116-subnodes a strong{font-size:12px!important}
.nmf170-body .nmf116-subnodes a small{font-size:10px!important;line-height:1.35}
.nmf170-body .thread-list-head{padding:14px 16px}
.nmf170-body .thread-list-head h2{font-size:16px!important}
.nmf170-body .thread-list-head span{font-size:10px!important}
.nmf170-body .thread-list-head form{height:40px;border-radius:11px}
.nmf170-body .thread-list-head input{width:230px;font-size:12px!important}
.nmf170-body .thread-list-head button{font-size:10px!important;padding:0 13px}
.nmf170-body .thread-row{grid-template-columns:38px minmax(0,1fr) 70px 80px 180px;min-height:72px;padding:11px 15px;gap:10px}
.nmf170-body .thread-state{width:34px;height:34px;border-radius:10px}
.nmf170-body .thread-title strong{font-size:13px!important;line-height:1.3}
.nmf170-body .thread-title em,.nmf170-body .thread-title i{font-size:9px!important}
.nmf170-body .thread-copy small{font-size:10px!important;margin-top:5px!important}
.nmf170-body .thread-num b{font-size:12px!important}
.nmf170-body .thread-num small{font-size:9px!important}
.nmf170-body .thread-last strong{font-size:10px!important}
.nmf170-body .thread-last small{font-size:9px!important}

/* Тема: сообщение выглядит как сообщение, а не таблица */
.nmf170-body .topic-head{padding:18px 20px!important;border-radius:18px!important}
.nmf170-body .topic-head p{font-size:11px!important;color:var(--nmf170-muted)}
.nmf170-body .post-card{grid-template-columns:170px minmax(0,1fr)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 8px 26px rgba(28,34,48,.045)!important}
.nmf170-body .post-author{padding:18px 14px!important;background:#fbfcff!important}
.nmf170-body .post-avatar{width:64px!important;height:64px!important;border-radius:18px!important}
.nmf170-body .post-name{font-size:13px!important;margin-top:10px!important}
.nmf170-body .post-role{font-size:9px!important;margin-top:5px!important}
.nmf170-body .post-author dt,.nmf170-body .post-author dd{font-size:9px!important}
.nmf170-body .post-main{padding:0 18px 14px!important;min-width:0}
.nmf170-body .post-main>header{min-height:48px!important;padding:0!important}
.nmf170-body .post-main>header time,.nmf170-body .post-main>header a{font-size:10px!important}
.nmf170-body .post-body{font-size:14px!important;line-height:1.72!important;min-height:72px;overflow-wrap:anywhere}
.nmf170-body .post-body img,.nmf170-body .post-body video{max-width:100%;height:auto}
.nmf170-body .post-main>footer{margin-top:18px!important;padding-top:12px!important}
.nmf170-body .post-actions button,.nmf170-body .post-actions a{font-size:11px!important;min-height:34px!important;padding:0 9px!important}
.nmf170-body .nmf16410-reaction{min-height:32px!important;font-size:11px!important}
.nmf170-body .reaction-row{gap:5px!important;flex-wrap:wrap}

/* Создание темы / ответ */
.nmf170-body .nmf116-compose-card,.nmf170-body .reply-card{overflow:visible!important}
.nmf170-body .nmf165-compose>header{padding:18px 20px!important}
.nmf170-body .nmf165-compose>header h2{font-size:18px!important}
.nmf170-body .nmf165-draft-status{font-size:10px}
.nmf170-body .nmf165-compose form{padding:18px 20px!important}
.nmf170-body .form-grid label>span,.nmf170-body .nmf165-compose label>span{font-size:11px!important;font-weight:800}
.nmf170-body .nmf165-compose input,.nmf170-body .nmf165-compose select{min-height:44px;font-size:12px}
.nmf170-body .nmf165-editor textarea{font-size:14px!important;line-height:1.6!important;min-height:180px!important}
.nmf170-body .nmf165-toolbar{gap:6px!important;padding:8px!important;background:#f8f9fc;border-radius:13px 13px 0 0}
.nmf170-body .nmf165-toolbar button,.nmf170-body .nmf165-toolbar select{min-height:34px!important;font-size:11px!important}
.nmf170-body .nmf165-dropzone{padding:16px!important}
.nmf170-body .nmf165-dropzone b{font-size:12px!important}
.nmf170-body .nmf165-dropzone span{font-size:10px!important}
.nmf170-body .compose-footer{position:sticky;bottom:12px;z-index:15;margin-top:14px;padding:10px 12px!important;border:1px solid #e2e6ee;border-radius:14px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(31,38,52,.09)}
.nmf170-body .compose-footer>span{font-size:10px!important}

/* Пагинация */
.nmf170-body .pagination{gap:6px!important;display:flex;flex-wrap:wrap;justify-content:center;margin:16px 0}
.nmf170-body .pagination a{min-width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font-size:11px!important}

/* Mobile dock */
.nmf170-mobile-dock{display:none}

/* Плавающий ответ / наверх */
.nmf170-fab-wrap{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:20px;z-index:80;display:flex;flex-direction:column;gap:9px;align-items:flex-end}
.nmf170-fab{height:44px;min-width:44px;padding:0 13px;border:1px solid #dedaf8;border-radius:14px;background:#fff;color:#5f54d8;box-shadow:0 12px 32px rgba(31,38,52,.13);font-size:11px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:7px}
.nmf170-fab.primary{background:#6657f3;border-color:#6657f3;color:#fff;box-shadow:0 12px 30px rgba(102,87,243,.25)}
.nmf170-fab[data-nmf170-top]{opacity:0;pointer-events:none;transform:translateY(6px);transition:.16s ease}
.nmf170-fab[data-nmf170-top].show{opacity:1;pointer-events:auto;transform:none}

/* Планшет */
@media(max-width:1050px){
  .nmf170-body .nmf116-home-grid{grid-template-columns:1fr}
  .nmf170-body .nmf116-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));position:static!important}
  .nmf170-body .nmf116-node{grid-template-columns:48px minmax(0,1fr) 68px 82px}
  .nmf170-body .node-last{display:none}
  .nmf170-body .thread-row{grid-template-columns:36px minmax(0,1fr) 68px 78px}
  .nmf170-body .thread-last{display:none}
  .nmf170-adminbar-title{min-width:190px}
}

/* Телефон: полноценный отдельный режим, а не ужатый desktop */
@media(max-width:760px){
  body.nmf170-body{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  .nmf170-body .nmf116-shell{width:100%!important;margin:8px auto 24px!important;padding:0 10px}
  .nmf170-body .nmf116-main{margin-top:10px}

  /* верх форума компактный; основная навигация снизу */
  .nmf170-body .nmf161-bar{margin:6px 0 10px;padding:8px 9px;border-radius:16px;flex-wrap:nowrap!important;position:relative;z-index:70}
  .nmf170-body .nmf161-brand{padding:2px 4px;min-width:0}
  .nmf170-body .nmf161-brand-icon{width:38px;height:38px}
  .nmf170-body .nmf161-brand-copy strong{font-size:14px}
  .nmf170-body .nmf161-brand-copy small{display:none}
  .nmf170-body .nmf161-nav{display:none!important}
  .nmf170-body .nmf165-nav-tools{margin-left:auto;gap:6px}
  .nmf170-body .nmf165-nav-tool{width:38px;height:38px;border-radius:12px}
  .nmf170-body .nmf161-manage{width:38px;height:38px;padding:0;justify-content:center;margin-left:0}
  .nmf170-body .nmf161-manage b{display:none}
  .nmf170-body .nmf165-notification-popover{position:fixed;left:10px;right:10px;top:84px;width:auto;max-height:calc(100dvh - 170px)}

  .nmf170-mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));z-index:1000;padding:6px;border:1px solid rgba(220,225,235,.95);border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 18px 50px rgba(24,31,46,.18);backdrop-filter:blur(18px)}
  .nmf170-mobile-dock>a,.nmf170-mobile-dock>button{position:relative;min-width:0;height:52px;border:0;border-radius:15px;background:transparent;color:#7a8292;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;font:inherit}
  .nmf170-mobile-dock>a.active{background:#f2efff;color:#6253e8}
  .nmf170-mobile-dock span{width:21px;height:21px;display:grid;place-items:center}
  .nmf170-mobile-dock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .nmf170-mobile-dock b{font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .nmf170-mobile-dock i{position:absolute;right:9px;top:5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#ef5362;color:#fff;font-size:8px;font-weight:900;font-style:normal;line-height:17px;text-align:center}

  /* команда: компактная горизонтальная панель */
  .nmf170-adminbar{padding:9px 10px;gap:8px;border-radius:14px;display:block}
  .nmf170-adminbar-title{min-width:0;padding-right:38px}
  .nmf170-admin-actions{margin-top:9px;padding-bottom:1px}
  .nmf170-admin-actions a{height:36px;font-size:10px}
  .nmf170-adminbar-toggle{display:grid;place-items:center;position:absolute;right:7px;top:7px}
  .nmf170-adminbar.collapsed .nmf170-admin-actions{display:none}
  .nmf170-adminbar.collapsed .nmf170-adminbar-toggle{transform:rotate(180deg)}

  .nmf170-body .crumbs{font-size:10px!important;margin:5px 2px 9px!important}
  .nmf170-body .nmf116-pagehead{min-height:0!important;padding:17px!important;border-radius:16px!important;gap:14px!important}
  .nmf170-body .nmf116-pagehead h1,.nmf170-body .topic-head h1,.nmf170-body .nmf116-compose-card h1{font-size:24px!important}
  .nmf170-body .nmf116-pagehead p{font-size:11px!important}
  .nmf170-body .nmf116-head-actions{width:100%}
  .nmf170-body .nmf116-head-actions .btn{width:100%}

  /* главная */
  .nmf170-body .nmf116-home-grid{display:block!important;margin-top:10px}
  .nmf170-body .nmf116-group{margin-bottom:10px;border-radius:16px!important}
  .nmf170-body .nmf116-group>header{padding:14px!important}
  .nmf170-body .nmf116-group>header h2{font-size:14px!important}
  .nmf170-body .nmf116-node{grid-template-columns:42px minmax(0,1fr)!important;min-height:72px!important;padding:11px 12px!important;gap:10px!important}
  .nmf170-body .node-icon{width:40px;height:40px}
  .nmf170-body .node-copy strong{font-size:13px!important}
  .nmf170-body .node-copy small{font-size:10px!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .nmf170-body .node-stat,.nmf170-body .node-last{display:none!important}
  .nmf170-body .nmf116-sidebar{display:grid!important;grid-template-columns:1fr!important;margin-top:10px!important}
  .nmf170-body .side-card{border-radius:16px!important}

  /* подразделы */
  .nmf170-body .nmf116-subnodes{border-radius:16px!important}
  .nmf170-body .nmf116-subnodes>div{grid-template-columns:1fr!important}
  .nmf170-body .nmf116-subnodes a{min-height:64px!important;border-right:0!important}

  /* темы раздела как мобильные карточки */
  .nmf170-body .nmf116-thread-card{border-radius:16px!important;overflow:hidden}
  .nmf170-body .thread-list-head{display:block;padding:13px!important}
  .nmf170-body .thread-list-head>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
  .nmf170-body .thread-list-head form{width:100%;height:40px}
  .nmf170-body .thread-list-head input{width:auto!important;flex:1;min-width:0}
  .nmf170-body .thread-row{grid-template-columns:34px minmax(0,1fr)!important;min-height:70px!important;padding:11px 12px!important;gap:9px!important}
  .nmf170-body .thread-state{width:32px;height:32px}
  .nmf170-body .thread-title{align-items:flex-start;flex-wrap:wrap;gap:4px}
  .nmf170-body .thread-title strong{width:100%;white-space:normal!important;font-size:12px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .nmf170-body .thread-copy small{font-size:9px!important}
  .nmf170-body .thread-num,.nmf170-body .thread-last{display:none!important}

  /* сообщения */
  .nmf170-body .topic-head{padding:15px!important;border-radius:16px!important;align-items:flex-start}
  .nmf170-body .topic-labels{flex-wrap:wrap}
  .nmf170-body .posts-list{gap:10px!important}
  .nmf170-body .post-card{grid-template-columns:1fr!important;border-radius:16px!important}
  .nmf170-body .post-author{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:2px!important;padding:11px 12px!important;text-align:left!important;border-right:0!important;border-bottom:1px solid #edf0f4!important;align-items:center}
  .nmf170-body .post-avatar{grid-row:1/3!important;width:44px!important;height:44px!important;margin:0!important;border-radius:13px!important}
  .nmf170-body .post-name{grid-column:2!important;margin:0!important;font-size:12px!important}
  .nmf170-body .post-role{grid-column:2!important;margin:0!important;justify-self:start!important;font-size:8px!important}
  .nmf170-body .post-author dl{display:none!important}
  .nmf170-body .post-main{padding:0 12px 12px!important}
  .nmf170-body .post-main>header{min-height:40px!important}
  .nmf170-body .post-body{font-size:13px!important;line-height:1.65!important;min-height:44px}
  .nmf170-body .post-main>footer{display:block!important;margin-top:14px!important}
  .nmf170-body .post-actions{margin-top:9px!important;justify-content:flex-end}
  .nmf170-body .nmf165-attachment-gallery{grid-template-columns:1fr!important}

  /* редактор не ломается по ширине */
  .nmf170-body .nmf165-compose>header{display:block!important;padding:14px!important}
  .nmf170-body .nmf165-draft-status{display:inline-flex;margin-top:8px}
  .nmf170-body .nmf165-compose form{padding:14px!important}
  .nmf170-body .form-grid{grid-template-columns:1fr!important}
  .nmf170-body .nmf165-toolbar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding:7px!important;scrollbar-width:none}
  .nmf170-body .nmf165-toolbar::-webkit-scrollbar{display:none}
  .nmf170-body .nmf165-toolbar button,.nmf170-body .nmf165-toolbar select,.nmf170-body .nmf165-toolbar label{flex:0 0 auto}
  .nmf170-body .nmf165-editor textarea{min-height:160px!important;font-size:16px!important} /* без auto-zoom iOS */
  .nmf170-body .nmf165-dropzone{display:block!important;padding:13px!important}
  .nmf170-body .nmf165-dropzone .btn{width:100%;margin-top:10px}
  .nmf170-body .nmf165-upload-row,.nmf170-body .nmf165-upload-row:has(>img){grid-template-columns:36px minmax(0,1fr)!important}
  .nmf170-body .nmf165-upload-row progress,.nmf170-body .nmf165-upload-row>span{grid-column:2}
  .nmf170-body .compose-footer{bottom:78px!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:8px!important}
  .nmf170-body .compose-footer>span{display:none}
  .nmf170-body .compose-footer .btn{width:100%;height:46px}

  .nmf170-fab-wrap{right:14px;bottom:86px}
  .nmf170-fab{height:42px}
}

@media(max-width:420px){
  .nmf170-mobile-dock{left:5px;right:5px;bottom:max(5px,env(safe-area-inset-bottom));border-radius:18px}
  .nmf170-mobile-dock>a,.nmf170-mobile-dock>button{height:50px}
  .nmf170-mobile-dock b{font-size:8px}
  .nmf170-body .nmf116-shell{padding:0 7px}
  .nmf170-body .nmf165-nav-tool.nmf165-mail{display:none}
}
@media(hover:none) and (min-width:761px){.nmf161-drop.nmf170-open>.nmf161-menu{display:block}.nmf161-drop.nmf170-open>.nmf161-item{color:#5d50dd;background:#f5f2ff;border-color:#e9e3ff}}


/* NMF171 HOTFIX START */

/* на всякий случай скрываем старую панель команды, если где-то осталась */
.nmf170-adminbar{
  display:none!important;
}

/* общий контейнер и базовые размеры */
.nmf170-body .nmf116-shell{
  width:min(1320px,calc(100% - 40px))!important;
  margin-top:14px!important;
}

.nmf170-body .nmf116-main{
  margin-top:12px!important;
}

.nmf170-body .nmf161-bar{
  border-radius:16px!important;
  padding:10px 12px!important;
}

.nmf170-body .btn{
  min-height:42px!important;
  padding:0 15px!important;
  font-size:12px!important;
  border-radius:12px!important;
}

.nmf170-body .eyebrow{
  font-size:10px!important;
}

.nmf170-body .crumbs{
  font-size:11px!important;
}

.nmf170-body .nmf116-pagehead h1,
.nmf170-body .topic-head h1,
.nmf170-body .nmf116-compose-card h1{
  font-size:clamp(24px,2.1vw,31px)!important;
}

.nmf170-body .nmf116-pagehead p,
.nmf170-body .topic-head p,
.nmf170-body .nmf116-compose-card header p{
  font-size:12px!important;
  line-height:1.55!important;
}

/* верхнее меню форума */
.nmf170-body .nmf161-item{
  min-height:44px!important;
  font-size:12px!important;
}

.nmf170-body .nmf161-brand-copy strong{
  font-size:15px!important;
}

.nmf170-body .nmf161-brand-copy small{
  font-size:10px!important;
}

.nmf170-body .nmf161-menu b{
  font-size:12px!important;
}

.nmf170-body .nmf161-menu small{
  font-size:10px!important;
}

/* главная форума */
.nmf170-body .nmf116-home-grid{
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:16px!important;
}

.nmf170-body .nmf116-group>header h2{
  font-size:15px!important;
}

.nmf170-body .nmf116-group>header p{
  font-size:10px!important;
}

.nmf170-body .nmf116-node{
  grid-template-columns:46px minmax(0,1fr) 66px 78px 190px!important;
  min-height:78px!important;
  padding:12px 14px!important;
}

.nmf170-body .node-copy strong{
  font-size:13px!important;
}

.nmf170-body .node-copy small{
  font-size:10px!important;
}

.nmf170-body .node-stat b{
  font-size:12px!important;
}

.nmf170-body .node-stat small,
.nmf170-body .node-last small{
  font-size:9px!important;
}

.nmf170-body .node-last strong{
  font-size:10px!important;
}

/* список тем */
.nmf170-body .thread-list-head{
  padding:13px 15px!important;
}

.nmf170-body .thread-list-head h2{
  font-size:15px!important;
}

.nmf170-body .thread-list-head span{
  font-size:10px!important;
}

.nmf170-body .thread-list-head form{
  height:38px!important;
}

.nmf170-body .thread-list-head input{
  font-size:12px!important;
}

.nmf170-body .thread-row{
  grid-template-columns:36px minmax(0,1fr) 64px 78px 165px!important;
  min-height:68px!important;
  padding:10px 13px!important;
}

.nmf170-body .thread-title strong{
  font-size:12px!important;
}

.nmf170-body .thread-copy small{
  font-size:9px!important;
}

.nmf170-body .thread-num b{
  font-size:11px!important;
}

.nmf170-body .thread-last strong{
  font-size:10px!important;
}

/* тема и сообщения */
.nmf170-body .topic-head{
  padding:16px 18px!important;
  border-radius:16px!important;
}

.nmf170-body .post-card{
  grid-template-columns:155px minmax(0,1fr)!important;
  border-radius:16px!important;
}

.nmf170-body .post-author{
  padding:16px 12px!important;
}

.nmf170-body .post-avatar{
  width:58px!important;
  height:58px!important;
  border-radius:16px!important;
}

.nmf170-body .post-name{
  font-size:12px!important;
}

.nmf170-body .post-role{
  font-size:8px!important;
}

.nmf170-body .post-author dt,
.nmf170-body .post-author dd{
  font-size:8.5px!important;
}

.nmf170-body .post-main{
  padding:0 16px 12px!important;
}

.nmf170-body .post-main>header time,
.nmf170-body .post-main>header a{
  font-size:10px!important;
}

.nmf170-body .post-body{
  font-size:13px!important;
  line-height:1.65!important;
}

.nmf170-body .post-actions button,
.nmf170-body .post-actions a{
  min-height:32px!important;
  font-size:10px!important;
}

/* редактор */
.nmf170-body .nmf165-compose>header{
  padding:16px 18px!important;
}

.nmf170-body .nmf165-compose>header h2{
  font-size:17px!important;
}

.nmf170-body .nmf165-compose form{
  padding:16px 18px!important;
}

.nmf170-body .form-grid label>span,
.nmf170-body .nmf165-compose label>span{
  font-size:10px!important;
}

.nmf170-body .nmf165-compose input,
.nmf170-body .nmf165-compose select{
  min-height:42px!important;
  font-size:12px!important;
}

.nmf170-body .nmf165-editor textarea{
  min-height:170px!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* уведомления — делаем нормальными */
.nmf170-body .nmf165-notification-popover{
  width:min(420px,calc(100vw - 24px))!important;
  max-height:min(72vh,720px)!important;
  border-radius:18px!important;
  overflow:hidden!important;
}

.nmf170-body .nmf165-notification-popover > header{
  padding:14px 16px!important;
}

.nmf170-body .nmf165-notification-popover > header b{
  font-size:13px!important;
}

.nmf170-body .nmf165-notification-popover > header button{
  font-size:11px!important;
}

.nmf170-body [data-notification-list]{
  max-height:50vh!important;
  overflow:auto!important;
}

.nmf170-body .nmf165-notification-popover footer{
  padding:12px 16px!important;
}

.nmf170-body .nmf165-notification-popover footer a{
  font-size:11px!important;
}

.nmf170-body .nmf165-notification-popover article,
.nmf170-body .nmf165-notification-popover .nmf165-notification-item,
.nmf170-body .nmf165-notification-popover [data-notification-list] > div,
.nmf170-body .nmf165-notification-popover [data-notification-list] > a,
.nmf170-body .nmf165-notification-popover [data-notification-list] > button{
  font-size:12px!important;
}

/* планшет */
@media(max-width:1050px){
  .nmf170-body .nmf116-home-grid{
    grid-template-columns:1fr!important;
  }

  .nmf170-body .nmf116-sidebar{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .nmf170-body .nmf116-node{
    grid-template-columns:46px minmax(0,1fr) 64px 74px!important;
  }

  .nmf170-body .node-last{
    display:none!important;
  }

  .nmf170-body .thread-row{
    grid-template-columns:34px minmax(0,1fr) 60px 74px!important;
  }

  .nmf170-body .thread-last{
    display:none!important;
  }
}

/* телефон */
@media(max-width:760px){
  body.nmf170-body{
    padding-bottom:calc(76px + env(safe-area-inset-bottom))!important;
  }

  .nmf170-body .nmf116-shell{
    width:100%!important;
    margin:8px auto 24px!important;
    padding:0 10px!important;
  }

  .nmf170-body .nmf161-bar{
    margin:6px 0 10px!important;
    padding:8px 9px!important;
    border-radius:15px!important;
  }

  .nmf170-body .nmf165-notification-popover{
    left:10px!important;
    right:10px!important;
    top:82px!important;
    width:auto!important;
    max-height:calc(100dvh - 150px)!important;
  }

  .nmf170-body .nmf116-pagehead,
  .nmf170-body .topic-head{
    padding:14px!important;
    border-radius:15px!important;
  }

  .nmf170-body .nmf116-pagehead h1,
  .nmf170-body .topic-head h1,
  .nmf170-body .nmf116-compose-card h1{
    font-size:22px!important;
  }

  .nmf170-body .nmf116-node{
    grid-template-columns:40px minmax(0,1fr)!important;
    min-height:68px!important;
    padding:10px 11px!important;
  }

  .nmf170-body .thread-row{
    grid-template-columns:32px minmax(0,1fr)!important;
    min-height:66px!important;
    padding:10px 11px!important;
  }

  .nmf170-body .post-card{
    grid-template-columns:1fr!important;
  }

  .nmf170-body .post-body{
    font-size:13px!important;
    line-height:1.62!important;
  }

  .nmf170-body .compose-footer{
    bottom:78px!important;
  }
}

/* очень узкие экраны */
@media(max-width:420px){
  .nmf170-body .nmf116-shell{
    padding:0 7px!important;
  }
}
/* NMF171 HOTFIX END */

/* 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 */
