/* Общая основа всех кнопок CRM, включая элементы без primary/secondary.
   Модульные стили подключаются после этого файла и задают компактные варианты. */
button {
    appearance: none;
    box-sizing: border-box;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid #d4e2ec;
    border-radius: 7px;
    background: #ffffff;
    color: #42647d;
    font-family: inherit;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.35;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: filter 120ms ease;
    -webkit-tap-highlight-color: transparent;
}
button:hover:not(:disabled) {
    filter: brightness(0.97);
}
button:active:not(:disabled) {
    filter: brightness(0.93);
}
button:focus-visible {
    outline: 3px solid #96c9e8;
    outline-offset: 2px;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
a.primary,
a.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}
@media (prefers-reduced-motion: reduce) {
    button {
        transition: none;
    }
}
