/* Admin U6 (admin/impact-warning.js, docs/impact-warning.md): impact lines in the confirm boxes and the corner notice. */
.impact-list{display:flex;flex-direction:column;gap:6px;margin:6px 0 2px;padding:10px 12px;border:1px solid #e3cfb4;border-radius:10px;background:#fffaf2;color:#5a4128;text-align:left}
.impact-list[data-level="warn"]{border-color:#d9a75a;background:#fff6e4}
.impact-list[data-level="high"]{border-color:#c3634e;background:#fdeee8}
.impact-head{margin:0;font-weight:700;font-size:14px}
.impact-list[data-level="high"] .impact-head{color:#9a3f2b}
.impact-lines{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;max-height:46vh;overflow:auto}
.impact-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:13px;line-height:1.5}
.impact-chip{flex:none;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:700;background:#efe4d4;color:#6b5236}
.impact-line[data-level="warn"] .impact-chip{background:#f7dfb0;color:#7a4d0d}
.impact-line[data-level="high"] .impact-chip{background:#c3634e;color:#fff}
.impact-name{overflow-wrap:anywhere}
.impact-text{flex:1 1 240px;min-width:0;overflow-wrap:anywhere}
.impact-muted{margin:0;font-size:12px;color:#6b5643;overflow-wrap:anywhere}
.impact-notice{position:fixed;top:auto;right:16px;bottom:16px;height:auto;margin:0;padding:0;z-index:9000;width:min(440px,calc(100vw - 32px));max-height:min(60vh,520px);overflow:auto;box-sizing:border-box;border-radius:12px;box-shadow:0 14px 40px rgba(60,40,20,.28);background:#fffaf2}
.impact-notice .impact-list{margin:0;padding-right:40px}
.impact-close{position:absolute;top:6px;right:6px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#6b5236;font-size:20px;line-height:1;cursor:pointer;box-shadow:none}
.impact-close:hover{background:#f3e6d3}
@media (max-width:520px){.impact-notice{right:8px;left:8px;bottom:8px;width:auto}}
