.reorder-workspace{min-width:0}
.reorder-bar{display:flex;align-items:center;gap:5px;padding:5px 7px;margin-bottom:6px;border:1px solid var(--border,#d1dfec);border-radius:5px;background:#fff}
.reorder-bar .reorder-search{width:240px;max-width:29%;flex:0 1 240px}
.reorder-bar :is(input,select){height:29px;min-width:0;font-size:12px}
.reorder-bar select{width:145px;flex:0 1 145px}
.reorder-page-actions{display:flex;gap:5px;margin-inline-start:auto}
.reorder-table{width:100%;table-layout:fixed;min-width:850px}
.reorder-table th:nth-child(1){width:105px}.reorder-table th:nth-child(2){width:22%}.reorder-table th:nth-child(3){width:17%}
.reorder-table th:nth-child(4),.reorder-table th:nth-child(5){width:90px}.reorder-table th:nth-child(6){width:65px}.reorder-table th:last-child{width:66px}
.reorder-table :is(th,td){overflow-wrap:anywhere;padding:6px 5px;vertical-align:middle}
.reorder-table td small{display:block;font-size:10px;color:#637e94}
.reorder-table .register-column-sort{font:inherit;border:0;background:none;color:inherit;display:flex;gap:4px}
.reorder-rule-card{width:min(780px,calc(100vw - 24px));max-height:calc(100dvh - 28px);display:flex;flex-direction:column}
#reorder-rule-form{display:flex;min-height:0;flex-direction:column;overflow:hidden}
.reorder-rule-body{overflow:auto;min-height:0;padding:12px}
.reorder-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.reorder-form-grid strong{height:30px;display:flex;align-items:center;font-size:13px}
.reorder-help{margin:12px 0;font-size:12px;color:#526d81;line-height:1.7}
.reorder-rule-body h3{font-size:13px;margin:10px 0}
.reorder-rule-body table{width:100%;font-size:12px;border-collapse:collapse}
.reorder-rule-body :is(th,td){padding:6px;border-bottom:1px solid #d8e4ed;text-align:right}
.reorder-event{margin:0 0 12px;padding:8px;border:1px solid #c8deed;background:#f0f7fd;font-size:12px;line-height:1.8}
#reorder-rule-form>.form-message{margin:0 12px 8px}#reorder-rule-form>.modal-actions{flex-shrink:0}
@media(max-width:600px){.reorder-bar{display:grid;grid-template-columns:1fr 1fr}.reorder-bar .reorder-search{grid-column:1/-1;max-width:none;width:100%}.reorder-bar select{width:100%}.reorder-page-actions{grid-column:1/-1;margin-inline-start:auto}.reorder-form-grid{grid-template-columns:1fr}.reorder-rule-card{max-height:calc(100dvh - 16px)}}
