.rule-auto-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:4px 0 18px}.rule-auto-title{display:flex;align-items:flex-start;gap:13px}.rule-auto-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:6px;background:#172f36;color:#fff}.rule-auto-icon svg{width:21px}.rule-auto-title h2{margin:4px 0 6px;font-size:22px}.rule-auto-title p{margin:0;color:#667085;font-size:12px}.rule-auto-state{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:5px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:700;white-space:nowrap}.rule-auto-state i,.rule-executed i{width:7px;height:7px;border-radius:50%;background:#98a2b3}.rule-auto-state.success{background:#ecfdf3;color:#067647}.rule-auto-state.success i,.rule-executed i{background:#12b76a}.rule-auto-state.failed{background:#fef3f2;color:#b42318}.rule-auto-state.failed i{background:#f04438}
.rule-auto-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e4e7ec;border-radius:7px;margin-bottom:14px;overflow:hidden}.rule-auto-summary article{display:grid;gap:5px;padding:16px 18px;border-right:1px solid #e4e7ec}.rule-auto-summary article:last-child{border-right:0}.rule-auto-summary span{font-size:12px;color:#667085}.rule-auto-summary strong{font-size:25px;color:#101828}.rule-auto-summary small{font-size:11px;color:#98a2b3}.rule-auto-summary .danger strong{color:#b42318}.rule-auto-summary .waiting strong{color:#b54708}
.rule-auto-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e4e7ec;border-radius:7px;margin-bottom:18px;overflow:hidden}.rule-auto-categories button{min-width:0;border:0;border-right:1px solid #e4e7ec;background:#fff;padding:13px 15px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;text-align:left;color:#344054}.rule-auto-categories button:last-child{border-right:0}.rule-auto-categories button:hover,.rule-auto-categories button.active{background:#f7faf9}.rule-auto-categories button.active{box-shadow:inset 0 -3px #e5484d}.rule-auto-categories svg{width:18px;color:#667085}.rule-auto-categories span{display:grid;gap:3px;min-width:0}.rule-auto-categories b{font-size:12px}.rule-auto-categories small{font-size:10px;color:#98a2b3}.rule-auto-categories strong{font-size:17px;color:#101828}
.rule-auto-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.rule-auto-toolbar h2{margin:4px 0 0;font-size:18px}.rule-auto-toolbar label{width:240px;height:38px;position:relative;display:flex;align-items:center}.rule-auto-toolbar label svg{position:absolute;left:11px;width:15px;color:#98a2b3}.rule-auto-toolbar input{box-sizing:border-box;width:100%;height:100%;border:1px solid #dbe1e8;border-radius:6px;padding:0 12px 0 34px;background:#fff;color:#1d2939}.rule-auto-table-panel{padding:0;overflow:hidden}.rule-auto-table{min-width:1160px}.rule-auto-table th{white-space:nowrap}.rule-auto-table td{font-size:12px;vertical-align:middle;line-height:1.55}.rule-auto-table td:first-child{min-width:190px}.rule-auto-table td:nth-child(3){min-width:260px;color:#667085}.rule-auto-table td:nth-child(4){min-width:260px}.rule-auto-table td strong,.rule-auto-table td small{display:block}.rule-auto-table td small{margin-top:4px;color:#98a2b3}.rule-category{display:inline-flex;padding:5px 8px;border-radius:4px;font-weight:700}.rule-category.blue{background:#eff8ff;color:#175cd3}.rule-category.amber{background:#fffaeb;color:#b54708}.rule-category.red{background:#fef3f2;color:#b42318}.rule-executed{display:flex;align-items:center;gap:6px;color:#067647;font-weight:700}.rule-platform.waiting{color:#b54708!important}.rule-auto-foot{height:44px;padding:0 16px;border-top:1px solid #e4e7ec;display:flex;align-items:center;justify-content:space-between;color:#667085;font-size:11px}.rule-auto-foot small{color:#98a2b3}
@media(max-width:980px){.rule-auto-summary,.rule-auto-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-auto-summary article:nth-child(2),.rule-auto-categories button:nth-child(2){border-right:0}.rule-auto-summary article:nth-child(-n+2),.rule-auto-categories button:nth-child(-n+2){border-bottom:1px solid #e4e7ec}}@media(max-width:620px){.rule-auto-head,.rule-auto-toolbar{align-items:stretch;flex-direction:column}.rule-auto-state{align-self:flex-start}.rule-auto-summary,.rule-auto-categories{grid-template-columns:1fr 1fr}.rule-auto-summary article,.rule-auto-categories button{padding:12px}.rule-auto-summary strong{font-size:21px}.rule-auto-categories button{grid-template-columns:24px 1fr}.rule-auto-categories button strong{grid-column:2}.rule-auto-toolbar label{width:100%}.rule-auto-foot{align-items:flex-start;height:auto;padding:12px;flex-direction:column;gap:4px}}
