body { min-width: 320px; }
button, input, select, textarea { outline: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 3px rgba(47, 99, 62, .2); }
.field { width: 100%; height: 2.75rem; border: 1px solid #dce6de; border-radius: .5rem; background: #fff; padding: 0 .75rem; font-size: .875rem; color: #26312a; }
.field:focus { border-color: #2f633e; box-shadow: 0 0 0 3px rgba(47, 99, 62, .12); }
.label { display: block; margin-bottom: .45rem; font-size: .75rem; font-weight: 600; color: #64706a; }
.button-primary, .button-secondary { display: inline-flex; height: 2.5rem; align-items: center; justify-content: center; gap: .45rem; border-radius: .5rem; padding: 0 .85rem; font-size: .8125rem; font-weight: 600; transition: background-color .15s, border-color .15s, color .15s; }
.button-primary { background: #2f633e; color: white; }
.button-primary:hover { background: #285634; }
.button-secondary { border: 1px solid #dce6de; background: white; color: #4d5b53; }
.button-secondary:hover { border-color: #2f633e; color: #2f633e; }
.table-wrap { overflow-x: auto; }
.table-wrap table { min-width: 760px; }
.modal-backdrop { background: rgba(24, 35, 28, .48); }
.modal-panel { max-height: min(90vh, 42rem); overflow-y: auto; }
.empty-state > svg { display: block; margin-inline: auto; }
.sidebar-link.active { background: #eaf3ec; color: #2f633e; font-weight: 600; }
.rule-switch input:checked + .rule-switch-track { background: #2f633e; }
.rule-switch input:checked + .rule-switch-track .rule-switch-thumb { transform: translateX(1.25rem); }
.rule-table { min-width: 680px; border-collapse: separate; border-spacing: 0; }
.rule-table th, .rule-table td { border-bottom: 1px solid #edf1ee; vertical-align: top; }
.rule-table tbody tr:last-child > * { border-bottom: 0; }
[data-save-rule]:disabled { cursor: wait; opacity: .6; }
.skeleton { background: linear-gradient(90deg, #eef2ef 25%, #f8faf8 37%, #eef2ef 63%); background-size: 400% 100%; animation: loading 1.4s ease infinite; }
@keyframes loading { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
