/* Кнопка связи (nb-contact-button.php, №142): внизу справа, по нажатию — каналы школы */
.nb-cb { position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-family: inherit; }
.nb-cb-btn { width: 56px; height: 56px; border: 0; border-radius: 50%; background: #1877f2; color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .15s; }
.nb-cb-btn:hover { transform: scale(1.06); }
.nb-cb-btn svg { width: 26px; height: 26px; }
.nb-cb-x { display: none; }
.nb-cb.is-open .nb-cb-x { display: flex; } .nb-cb.is-open .nb-cb-open { display: none; }
.nb-cb-panel { position: absolute; right: 0; bottom: 70px; width: 270px; background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.nb-cb-panel[hidden] { display: none; }
.nb-cb-head { background: #1877f2; color: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.nb-cb-head span { font-size: 13px; opacity: .9; line-height: 1.35; }
.nb-cb-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.nb-cb-item { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; color: #1f2937; text-decoration: none; font-size: 15px; }
.nb-cb-item:hover { background: #f3f4f6; }
.nb-cb-ico { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.nb-cb-whatsapp .nb-cb-ico { background: #25d366; } .nb-cb-messenger .nb-cb-ico { background: #0084ff; }
.nb-cb-email .nb-cb-ico { background: #6b7280; } .nb-cb-instagram .nb-cb-ico { background: #e1306c; }
@media print { .nb-cb { display: none; } }
