/* Компактный счётчик записей (patients-counter).
   Перенесено из инлайнового <style> шаблона widgets/patients_counter.blade.php. */
.pc26 { position: relative; display: inline-block; max-width: 100%; font-family: inherit; }
.pc26__toggle { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border: 1px solid #E1E9EF; border-radius: 10px; box-shadow: 0 8px 24px rgba(18, 48, 63, .08); cursor: pointer; text-align: left; line-height: 1.2; transition: border-color .2s, box-shadow .2s; }
.pc26__toggle:hover { border-color: #1BA3D5; box-shadow: 0 12px 30px rgba(27, 163, 213, .18); }
.pc26__pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #1BA3D5; }
.pc26__pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(27, 163, 213, .45); animation: pc26Pulse 2s infinite; }
@keyframes pc26Pulse { 0% { transform: scale(.6); opacity: .9; } 70% { transform: scale(1.4); opacity: 0; } 100% { transform: scale(1.4); opacity: 0; } }
.pc26__label { font-size: 13px; color: #4A5A67; }
.pc26__value { font-size: 20px; font-weight: 700; color: #1BA3D5; }
.pc26__chev { flex: none; width: 8px; height: 8px; margin-left: 2px; border-right: 2px solid #8996A1; border-bottom: 2px solid #8996A1; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.pc26.is-open .pc26__chev { transform: rotate(225deg) translateY(-2px); }
/* Компактный вариант «только число» (шапка на мобильных) */
.pc26--chip { flex: 0 0 auto; }
.pc26--chip .pc26__toggle { padding: 0 12px; min-width: 40px; height: 38px; justify-content: center; border-radius: 8px; box-shadow: none; background: #F2F8FB; }
.pc26--chip .pc26__value { font-size: 16px; }
.pc26__panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 1080; width: 320px; max-width: calc(100vw - 32px); padding: 18px 20px; background: #fff; border-radius: 14px; box-shadow: 0 20px 55px rgba(18, 48, 63, .22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.pc26__panel--right { left: auto; right: 0; }
.pc26.is-open .pc26__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.pc26__panel-head { margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: #4A5A67; }
.pc26__panel-number { font-size: 22px; font-weight: 700; color: #1BA3D5; }
.pc26__list { list-style: none; margin: 0; padding: 0; }
.pc26__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #EDF2F6; font-size: 13px; color: #4A5A67; }
.pc26__list li:last-child { border-bottom: 0; }
.pc26__list b { flex: none; font-size: 15px; font-weight: 700; color: #1C3343; white-space: nowrap; }
.pc26__note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #8996A1; }
@media (max-width: 480px) {
    .pc26__toggle { padding: 10px 14px; gap: 8px; }
    .pc26__label { font-size: 12px; }
    .pc26__value { font-size: 18px; }
    .pc26--chip .pc26__toggle { padding: 0 10px; min-width: 36px; height: 34px; }
}
