#duty-prerequisites-root { color:#173c34; min-width:0; }
.prerequisite-head { padding:20px; border-radius:18px; background:linear-gradient(120deg,#eaf5ee,#edf3fd 65%,#fff4df); }
.prerequisite-head h3,.prerequisite-head p { margin:6px 0; }
.prerequisite-card,.prerequisite-editor { padding:16px; margin:14px 0; border:1px solid #d8e5dd; border-radius:14px; background:#fbfdfb; overflow-wrap:anywhere; }
.prerequisite-card h4 { margin:6px 0; }
.prerequisite-card.waiting { border-left:4px solid #ceaa67; background:#fff9ef; }
.prerequisite-card.ready { border-left:4px solid #65a28b; background:#f2faf6; }
.prerequisite-card strong { display:block; margin-bottom:8px; }
.prerequisite-note { padding:12px; margin:12px 0; border-radius:10px; background:#edf5f0; overflow-wrap:anywhere; }
.prerequisite-state { display:inline-block; padding:7px 12px; border-radius:20px; font-size:12px; background:#e0f2e9; }
.prerequisite-state.waiting { background:#ffe7bf; }
.prerequisite-editor label { display:block; margin:12px 0; }
.prerequisite-editor label.check-field { display:flex; align-items:start; gap:8px; }
.prerequisite-editor input:not([type=checkbox]),.prerequisite-editor select,.prerequisite-editor textarea { width:100%; min-width:0; min-height:44px; box-sizing:border-box; padding:10px 12px; margin-top:6px; border:1px solid #b8cec2; border-radius:10px; background:#fff; color:#173c34; font:inherit; font-size:13px; }
.prerequisite-editor input[type=checkbox] { flex:0 0 auto; accent-color:#286953; margin-top:3px; }
.prerequisite-editor input:focus,.prerequisite-editor select:focus,.prerequisite-editor textarea:focus { outline:2px solid #8ab7a2; outline-offset:2px; }
.prerequisite-editor textarea { min-height:80px; }
#duty-prerequisites-root .inventory-row-actions { flex-wrap:wrap; }
@media(max-width:480px) { .prerequisite-head { padding:15px; } .prerequisite-card,.prerequisite-editor { padding:13px; } }
