/* Dynamic fields added to the rule editor. */
.rule-modal-ref .history-switch{grid-template-columns:92px auto;justify-content:start}
.rule-modal-ref .history-switch .switch{width:43px;height:22px;border:0;border-radius:20px;background:#c9cdd4;padding:2px;cursor:pointer}
.rule-modal-ref .history-switch .switch i{display:block;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}
.rule-modal-ref .history-switch .switch.on{background:#00a870}
.rule-modal-ref .history-switch .switch.on i{margin-left:19px}
.rule-modal-ref .history-duration{grid-column:1/-1;display:grid;grid-template-columns:92px minmax(0,1fr) 94px;align-items:center;gap:8px;color:#263044}
.rule-modal-ref .history-duration>span{text-align:right;white-space:nowrap}
.rule-modal-ref .history-duration>input,.rule-modal-ref .history-duration>select{min-width:0}
.rule-modal-ref .history-duration.hidden{display:none!important}
