/* Consecuencias (Core 1.34). Variables de panel.css / diseno.css; claro y oscuro. */
#con-editor .con-cuerpo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px; align-items: start; }
@media (max-width: 1000px) { #con-editor .con-cuerpo { grid-template-columns: 1fr; } }
#con-form .tarjeta, #con-res-caja { margin-bottom: 12px; }
#con-res-caja { position: sticky; top: 8px; }
@media (max-width: 1000px) { #con-res-caja { position: static; } }
.con-ficha { font-size: 12.5px; overflow-wrap: anywhere; }
.con-marca { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.con-cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
@media (max-width: 560px) { .con-cifras { grid-template-columns: 1fr 1fr; } }
.con-cifras div { border: 1px solid var(--borde); border-radius: 10px; padding: 6px 10px; background: var(--sup2); display: grid; }
.con-cifras span { font-size: 12px; color: var(--sutil, inherit); opacity: .8; }
.con-cifras strong { font-size: 15px; }
.con-mal { color: var(--rojo); }
.con-pasos, .con-avisos { margin: 6px 0 10px; padding-left: 18px; font-size: 13px; display: grid; gap: 3px; }
.con-avisos li { color: var(--ambar); }
.con-avisos li:first-child { color: inherit; opacity: .85; }
.con-tabla { width: 100%; border-collapse: collapse; font-size: 13px; margin: 4px 0 10px; }
.con-tabla th, .con-tabla td { padding: 5px 7px; text-align: left; border-bottom: 1px solid var(--borde); }
.con-tabla th { text-transform: none; }
.con-tabla tr.con-aegl-3 td:nth-child(2) { color: var(--rojo); font-weight: 650; }
.con-tabla tr.con-aegl-2 td:nth-child(2) { color: #EA580C; font-weight: 650; }
.con-tabla tr.con-aegl-1 td:nth-child(2) { color: var(--ambar); font-weight: 650; }
.con-ex { font-size: 13.5px; padding: 8px 10px; border-left: 3px solid var(--azul); background: var(--sup2); border-radius: 8px; }
.con-fig { margin: 8px 0 12px; }
.con-croquis { width: 100%; max-width: 440px; height: auto; display: block; background: var(--sup2); border: 1px solid var(--borde); border-radius: 12px; }
.con-anillo { fill: none; stroke: var(--borde); stroke-dasharray: 3 4; }
.con-fuente { fill: var(--violeta); stroke: var(--sup); stroke-width: 2; }
.con-flecha { stroke: var(--cian); stroke-width: 3; stroke-linecap: round; }
.con-n { font: 600 13px system-ui, sans-serif; fill: currentColor; }
.con-esc { font: 11px system-ui, sans-serif; fill: currentColor; opacity: .7; }
.con-z-aegl-1 { fill: #FACC15; fill-opacity: .35; stroke: #CA8A04; }
.con-z-aegl-2 { fill: #FB923C; fill-opacity: .45; stroke: #EA580C; }
.con-z-aegl-3 { fill: #EF4444; fill-opacity: .55; stroke: #B91C1C; }
.con-z-lii { fill: #8B5CF6; fill-opacity: .35; stroke: #6D28D9; }
.con-c-fuego { fill: none; stroke: #DC2626; stroke-width: 2; stroke-dasharray: 6 3; }
.con-c-ex { fill: none; stroke: var(--azul); stroke-width: 2; }
.con-ley { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 6px 0; font-size: 12.5px; }
.con-ley i { display: inline-block; width: 14px; height: 10px; margin-right: 5px; border-radius: 3px; vertical-align: middle; border: 1.5px solid currentColor; }
.con-ley i.con-z-aegl-1 { background: #FACC15; border-color: #CA8A04; } .con-ley i.con-z-aegl-2 { background: #FB923C; border-color: #EA580C; }
.con-ley i.con-z-aegl-3 { background: #EF4444; border-color: #B91C1C; } .con-ley i.con-z-lii { background: #8B5CF6; border-color: #6D28D9; }
.con-ley i.con-c-fuego { border: 2px dashed #DC2626; } .con-ley i.con-c-ex { border: 2px solid var(--azul); }
#con-error { margin: 4px 0 8px; }
@media (min-width: 1001px) { #con-form .p-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } #con-form .p-grilla .p-ancho { grid-column: 1 / -1; } }
@media (min-width: 600px) and (max-width: 1000px) { #con-form .p-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.con-zoom { display: flex; gap: 6px; margin-bottom: 6px; }
.con-zoom button { padding: 4px 12px; font-size: 13px; }
.con-croquis { overflow: hidden; }

/* B2 / máximo del mapa */
.con-max { fill: #b91c1c; stroke: #fff; stroke-width: 2; }
.con-max-txt { font-size: 11px; fill: #7f1d1d; font-weight: 700; }
.con-traz { margin-top: 10px; }
.con-gas-fuente { border-left: 3px solid #9a3412; padding: 5px 8px; background: #fff7ed; margin: 6px 0; }
