.incident-type-heading,.incident-type-row,.incident-type-actions,.incident-type-name{display:flex;align-items:center;gap:12px}
.incident-type-heading,.incident-type-row{justify-content:space-between}
.incident-type-row{padding:14px 0;border-bottom:1px solid #dce5ee}
.incident-type-name{flex-wrap:wrap;overflow-wrap:anywhere;min-width:0}
.incident-type-identity{min-width:0}
.incident-types-admin #incident-type-add{grid-template-columns:minmax(180px,1fr) minmax(220px,2fr);align-items:start}
.incident-types-admin [data-targets-add]{grid-column:1/-1}
.incident-types-admin #incident-type-add>button{justify-self:start}
.incident-types-admin [hidden]{display:none!important}
.incident-type-targets{border:1px solid #cbd8e5;border-radius:10px;padding:12px 14px;margin:12px 0;min-width:0}
.incident-type-targets legend{padding:0 5px;font-weight:700;color:#25445f}
.incident-type-targets>p{margin:0 0 10px;font-size:.85rem;color:#536a80;line-height:1.6}
.incident-type-target-options{display:flex;flex-wrap:wrap;gap:8px}
.incident-type-target-options label{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;background:#fff;border:1px solid #d4dfeb;border-radius:8px;cursor:pointer;font-size:.88rem;line-height:1.35}
.incident-type-target-options label:has(input:checked){background:#eee5f8;border-color:#8b60ae;color:#512778}
.incident-type-target-options label:focus-within{outline:2px solid #512778;outline-offset:2px}
.incident-type-target-options input{width:17px!important;height:17px;flex:0 0 17px;margin:0!important;accent-color:#512778}
.incident-type-target-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.incident-type-target-badges span{display:inline-block;background:#eee5f8;color:#512778;border-radius:5px;padding:3px 7px;font-size:.75rem;font-weight:650;line-height:1.4}
.incident-type-target-badges .is-unassigned{background:#fff0d7;color:#845409}
.incident-type-filter{display:block;max-width:340px;margin:12px 0 6px}
.incident-type-actions{flex-wrap:wrap;flex-shrink:0}
.incident-type-row.is-editing{align-items:flex-start;background:#f5f8fc;padding:16px;border:1px solid #cbd8e5;border-radius:10px;margin:10px 0;flex-direction:column}
.incident-type-row form{width:100%;max-width:760px}
.incident-type-row p,.incident-type-protected{font-size:.85rem;color:#536a80;line-height:1.6;margin:8px 0}
.incident-types-removed{margin-top:24px;padding:16px;background:#f5f8fc;border:1px solid #dce5ee;border-radius:10px}
.incident-types-removed summary{cursor:pointer;font-weight:700}
.incident-types-admin [data-types-status]:empty{display:none}
@media(max-width:650px){.incident-type-row{align-items:stretch;flex-direction:column;gap:10px}.incident-type-actions button{flex:1 1 auto;min-height:42px}.incident-types-admin .form-grid,.incident-types-admin #incident-type-add{grid-template-columns:1fr}.incident-types-admin #incident-type-add>button{justify-self:stretch}.incident-type-heading{align-items:flex-start}.incident-type-heading h3{margin:0}.incident-type-actions{gap:8px}.incident-type-target-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.incident-type-target-options label{min-width:0;padding:10px 8px}.incident-type-targets{padding:10px}.incident-type-filter{max-width:none}}
