.modal-card.staff-order-card{width:min(900px,96vw);max-width:900px}
.staff-order-editor{min-width:0}.staff-order-editor h3{margin:6px 0 12px;font-size:27px}.staff-order-editor>p{line-height:1.6}
.staff-order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:52vh;overflow:auto;padding:3px;margin:22px 0 14px}
.staff-order-name{border:1px solid #d5e2ed;border-radius:15px;background:#f6f9fc;padding:14px;min-width:0}
.staff-order-label{display:flex;align-items:center;gap:10px;min-height:48px}.staff-order-label>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:9px;background:#dfeeea;color:#147463;font-size:12px;font-weight:800}.staff-order-label>b{font-size:19px;color:#132e44;overflow-wrap:anywhere}
.staff-order-drag{width:100%;border:0;border-radius:8px;padding:0;background:transparent;text-align:left;font:inherit;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.staff-order-drag:focus-visible{outline:3px solid #178673;outline-offset:4px}.staff-drag-grip{width:12px;height:20px;flex-shrink:0;margin-left:auto;fill:none;stroke:#8199a9;stroke-width:3;stroke-linecap:round}.staff-is-dragging{opacity:.3}.staff-order-name.staff-drop-target{border-color:#198d77;background:#e4f4ee;box-shadow:0 0 0 3px #198d7733}.staff-drag-active{cursor:grabbing}.staff-drag-ghost{position:fixed;z-index:10000;pointer-events:none;box-sizing:border-box;pointer-events:none;opacity:.96;box-shadow:0 18px 50px #102d4c40;border-color:#198d77;will-change:transform}.staff-drag-ghost .staff-order-drag{cursor:grabbing}
.staff-order-controls{display:flex;align-items:center;gap:7px;margin-top:12px}.staff-order-controls .btn{min-width:44px;min-height:44px;padding:8px;font-size:20px}.staff-order-controls label{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:11px;color:#597084}.staff-order-controls select{width:54px;min-height:44px;border:1px solid #c7d8e5;border-radius:9px;padding:5px;background:#fff;color:#17394c;font-size:15px}
.staff-order-editor [role=status]{min-height:24px;font-size:13px;color:#577185}.staff-order-editor .actions{border-top:1px solid #e1e9f0;padding-top:16px;justify-content:flex-end}.section-title:has(#arrangeStaffNames){flex-wrap:wrap;gap:12px}.section-title:has(#arrangeStaffNames) .button-row{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:700px){.staff-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-order-controls{flex-wrap:wrap}.staff-order-controls label{margin-left:0}}
@media(max-width:440px){.staff-order-grid{grid-template-columns:1fr}.staff-order-name{padding:10px 12px}.staff-order-label{min-height:32px}.staff-order-controls{margin-top:8px;flex-wrap:nowrap}.staff-order-controls label{margin-left:auto}}
