/* EMSWIM 360 · V64.0 — ortak işlem butonu görsel katmanı.
   Sadece görünüm: form, izin ve click davranışlarına müdahale etmez. */
:root {
 --em-action-primary:#166aa5;--em-action-add:#168a62;--em-action-edit:#2875d0;
 --em-action-delete:#cb3c49;--em-action-view:#7352c5;
 --em-action-approve:#0c9699;--em-action-report:#d28427;
 --em-action-shadow:0 3px 9px rgba(12,51,84,.13);
}
:where(button:not(.em-visual-skip), input[type="submit"], input[type="button"], input[type="reset"], a.em-action, .btn.em-action, .button.em-action) {
  border-radius:11px;
  transition:background-color .18s ease,box-shadow .18s ease,filter .18s ease,transform .18s ease;
}
:where(button:not(.em-visual-skip), input[type="submit"], input[type="button"], input[type="reset"], a.em-action, .btn.em-action, .button.em-action):not(:disabled):not([aria-disabled="true"]):hover {
  filter:brightness(1.055);box-shadow:0 5px 13px rgba(12,51,84,.18);transform:translateY(-1px);
}
:where(button:not(.em-visual-skip), input[type="submit"], input[type="button"], input[type="reset"], a.em-action, .btn.em-action, .button.em-action):not(:disabled):active {transform:translateY(0);filter:brightness(.96)}
:where(button,a,input).em-action:focus-visible {outline:3px solid #f0ac52;outline-offset:3px}
:where(button,a,input).em-action:disabled,:where(button,a,input).em-action[aria-disabled="true"] {opacity:.57;cursor:not-allowed;box-shadow:none}
/* Explicit priority over old per-module button colors; classes are added only to functional actions. */
:where(button,a,input).em-action[data-em-action="add"] {background:#168a62!important;border:1px solid #11734f!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action[data-em-action="edit"] {background:#2875d0!important;border:1px solid #1c5ea9!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action[data-em-action="delete"] {background:#cb3c49!important;border:1px solid #ad2d39!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action[data-em-action="view"] {background:#7352c5!important;border:1px solid #6042a8!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action[data-em-action="approve"] {background:#0c9699!important;border:1px solid #097c80!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action[data-em-action="report"] {background:#d28427!important;border:1px solid #b46b18!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action[data-em-action="default"] {background:#166aa5!important;border:1px solid #105681!important;color:#fff!important;box-shadow:var(--em-action-shadow)}
:where(button,a,input).em-action:not(:disabled):not([aria-disabled="true"]):hover {filter:brightness(1.09);box-shadow:0 5px 14px rgba(12,51,84,.21)}
/* Do not repaint navigation menus, tabs, badges, small icon-only controls or checkbox/switch UI. */
@media (prefers-reduced-motion:reduce) {
 :where(button,a,input).em-action, button {transition:none!important}
 :where(button,a,input).em-action:hover,button:hover {transform:none!important}
}
@media (max-width:640px) {
 :where(button,a,input).em-action {max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
@media print { :where(button,a,input).em-action {box-shadow:none!important;transform:none!important} }
