/* Общий модуль действий сущности: позвонить / написать / поделиться / просмотры */
.entity-actions {
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:10px;
margin:0;
}

.entity-actions__secondary {
display:none;
}

.entity-action {
position:relative;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:7px;
min-height:82px;
border:0;
border-radius:14px;
background:#f2f4f7;
color:#101828;
padding:12px 8px;
text-decoration:none;
cursor:pointer;
font:inherit;
}

.entity-action:hover {
background:#e8ebf0;
}

.entity-action:active {
transform:translateY(1px);
}

.entity-action:focus-visible {
outline:2px solid #111;
outline-offset:2px;
}

.entity-action--info {
cursor:default;
pointer-events:none;
}

.entity-action--info:hover {
background:#f2f4f7;
}

.entity-action__icon {
width:28px;
height:28px;
display:flex;
align-items:center;
justify-content:center;
color:inherit;
}

.entity-action__icon svg {
width:26px;
height:26px;
display:block;
fill:currentColor;
}

.entity-action__label {
position:absolute;
width:1px;
height:1px;
padding:0;
margin:-1px;
overflow:hidden;
clip:rect(0,0,0,0);
white-space:nowrap;
border:0;
}

.entity-stat-count {
display:block;
min-width:0;
height:auto;
padding:0;
border-radius:0;
background:transparent;
font-size:15px;
font-weight:700;
line-height:1;
color:inherit;
}

.entity-action--light .entity-stat-count {
background:transparent;
color:inherit;
}

.entity-share-modal[hidden] {
display:none!important;
}

.entity-share-modal {
position:fixed;
inset:0;
z-index:9998;
display:flex;
align-items:center;
justify-content:center;
padding:18px;
background:#0f172a8c;
backdrop-filter:blur(8px);
}

.entity-share-modal__card {
width:min(420px,100%);
border-radius:20px;
background:#fff;
box-shadow:0 28px 80px #0f172a47;
padding:18px;
}

.entity-share-modal__head {
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
margin-bottom:14px;
}

.entity-share-modal__head h2 {
margin:0;
font-size:22px;
line-height:1.2;
font-weight:500;
color:#101828;
}

.entity-share-modal__close {
width:34px;
height:34px;
border:0;
border-radius:999px;
background:#f2f4f7;
color:#101828;
font-size:22px;
line-height:1;
cursor:pointer;
}

.entity-share-modal__actions {
display:grid;
gap:8px;
}

.entity-share-modal__action {
display:flex;
align-items:center;
justify-content:center;
min-height:40px;
border:0;
border-radius:999px;
background:#f2f4f7;
color:#101828;
font:inherit;
font-size:14px;
font-weight:600;
text-decoration:none;
cursor:pointer;
}

.entity-share-modal__status {
min-height:18px;
margin:12px 0 0;
color:#64748b;
font-size:13px;
line-height:1.35;
}

@media (max-width:840px) {
    .entity-actions { gap: 8px; }
    .entity-action { min-height: 76px; padding: 10px 6px; border-radius: 12px; }
    .entity-action__icon { width: 25px; height: 25px; }
    .entity-action__icon svg { width: 24px; height: 24px; }
    .entity-stat-count { font-size: 14px; }
    .entity-share-modal { padding: 10px; }
}

@media (max-width:420px) {
    .entity-actions { gap: 6px; }
    .entity-action { min-height: 70px; padding: 9px 4px; }
    .entity-stat-count { font-size: 13px; }
}
