.pr-main { max-width: 1100px; margin: 0 auto; padding: 1rem; }
.pr-cabecera { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; background: inherit; padding: 0.3rem 0; }
.pr-cabecera h1 { margin: 0; font-size: 1.5rem; }
.pr-hueco { flex: 1; }
#pr-org { width: auto; display: inline-block; min-width: 12rem; }
.pr-ayuda { margin: 0.6rem 0; }
.pr-extremo { text-align: center; border: 2px dashed #cbd2d9; border-radius: 12px; padding: 0.5rem; color: #52606d; margin: 0.6rem 0; }
.pr-banda { border: 2px solid var(--c, #64748b); border-radius: 12px; margin: 0.6rem 0; overflow: hidden; background: rgba(255,255,255,0.7); }
.pr-banda > header { background: var(--c, #64748b); color: #fff; padding: 0.4rem 0.8rem; display: flex; align-items: center; gap: 0.6rem; font-weight: 600; letter-spacing: 0.02em; }
.pr-banda > header .pr-hueco { flex: 1; }
.pr-banda > header button { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.5); border-radius: 8px; padding: 2px 10px; cursor: pointer; font: inherit; font-weight: 400; }
.pr-macros { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0.6rem; min-height: 2.2rem; }
.pr-macro { border: 1px solid #cbd2d9; border-radius: 10px; background: #fff; padding: 0.5rem 0.6rem; min-width: 210px; flex: 0 1 260px; }
.pr-macro h3 { margin: 0 0 0.3rem; font-size: 1rem; display: flex; gap: 0.3rem; align-items: center; }
.pr-macro ul { list-style: none; margin: 0; padding: 0; }
.pr-macro li { display: flex; align-items: center; gap: 0.3rem; padding: 2px 0; }
.pr-nombre { cursor: pointer; border-bottom: 1px dashed transparent; flex: 1; }
.pr-puede .pr-nombre:hover { border-bottom-color: #9aa5b1; }
.pr-mini { background: none; border: 0; cursor: pointer; padding: 0 3px; opacity: 0.55; font: inherit; }
.pr-mini:hover { opacity: 1; }
.pr-mas { background: none; border: 1px dashed #9aa5b1; border-radius: 8px; padding: 1px 8px; cursor: pointer; font: inherit; color: #52606d; margin-top: 0.3rem; }
.pr-version { font-size: 0.75rem; color: #52606d; background: #eef2f6; border-radius: 6px; padding: 0 5px; }
.pr-vacio { color: #7b8794; font-style: italic; padding: 0.2rem 0.4rem; }
.pr-no-puede .pr-mini, .pr-no-puede .pr-mas, .pr-no-puede .pr-banda > header button { display: none; }
.pr-bandas-caja { position: relative; }
.pr-bandas { position: absolute; right: 0; top: 2.2rem; z-index: 20; min-width: 240px; padding: 0.6rem 0.8rem; }
.pr-bandas label { display: flex; gap: 0.5rem; align-items: center; padding: 3px 0; cursor: pointer; font-weight: 400; }
.pr-bandas .pr-muestra { width: 12px; height: 12px; border-radius: 3px; background: var(--c); display: inline-block; }
.pr-ocultas { font-size: 0.85rem; color: #7b8794; text-align: center; margin: 0.4rem 0; }
/* 5/11/2026: flujo de izquierda a derecha — columnas laterales verticales y bandas en flecha */
.pr-flujo { display: flex; gap: 0.6rem; align-items: stretch; margin: 0.6rem 0; }
.pr-centro { flex: 1; min-width: 0; }
.pr-lateral { flex: 0 0 3.2rem; border: 2px dashed #9aa5b1; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.6); color: #3e4c59; font-weight: 600; margin: 0.6rem 0; }
.pr-lateral span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; letter-spacing: 0.03em; }
.pr-flecha { border: 0; border-radius: 12px 0 0 12px; background: color-mix(in srgb, var(--c) 10%, white); padding-right: 30px;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%); }
.pr-flecha > header { margin-right: -30px; padding-right: 40px; }
.pr-flecha > header button { margin-right: 6px; }
/* 5/11/2026: proceso → abre su lienzo; catálogo 🧩 de grupos de tareas */
.pr-abrir { flex: 1; color: inherit; text-decoration: none; border-bottom: 1px dashed transparent; }
.pr-abrir:hover { border-bottom-color: #2563eb; color: #1d4ed8; }
.pr-grupos-caja { position: relative; }
.pr-grupos { min-width: 300px; }
.pr-lista-grupos { list-style: none; margin: 0; padding: 0; }
.pr-lista-grupos li { display: flex; align-items: center; gap: 0.3rem; padding: 3px 0; }
.pr-no-puede .pr-mini { display: none; }
.pr-componen { font-size: 0.8rem; color: #616e7c; padding-left: 1.6rem !important; display: block !important; }
/* 5/11/2026: catálogo 🧩 como panel lateral que aparta el mapa (no lo tapa) */
.pr-grupos { position: fixed !important; right: 1rem; top: 6.5rem; left: auto !important; width: 300px; max-height: calc(100vh - 8rem); overflow: auto; z-index: 20; }
.pr-grupos-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.3rem; }
body.pr-con-grupos .pr-main { margin-right: 330px; }
@media (max-width: 800px) { body.pr-con-grupos .pr-main { margin-right: auto; } .pr-grupos { width: auto; left: 1rem !important; } }
