.pl-wrap{max-width:1200px;margin:0 auto}@keyframes pl-spin{to{transform:rotate(360deg)}}.pl-status-view{text-align:center;padding:3rem 1rem;color:var(--text-muted)}.pl-spin{font-size:22px;animation:pl-spin 1s linear infinite}.pl-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:1.25rem;flex-wrap:wrap}.pl-breadcrumb-sep{color:var(--text-muted)}.pl-breadcrumb-current{font-weight:700;color:var(--text)}.pl-breadcrumb-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--brand);background:var(--brand-soft);border:1px solid var(--border-strong);border-radius:4px;padding:3px 8px}.pl-grupos{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:.75rem}.pl-grupo-tab{font-family:inherit;font-size:12.5px;font-weight:600;color:var(--text-muted);background:var(--surface);border:1px solid var(--border-strong);border-radius:4px;padding:8px 14px;cursor:pointer}.pl-grupo-tab:hover{color:var(--text);border-color:var(--brand)}.pl-grupo-tab.active{color:var(--brand);border-color:var(--brand);background:var(--brand-soft)}.pl-grupo-tab--todos{font-weight:800}.pl-toolbar{display:flex;gap:8px;margin-bottom:1.25rem;flex-wrap:wrap}.pl-add-btn{display:inline-flex;align-items:center;gap:6px;font-family:inherit;font-size:13px;font-weight:700;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:4px;padding:10px 16px;cursor:pointer}.pl-add-btn:hover{border-color:var(--brand);color:var(--brand)}.pl-plantilla-wrap{position:relative}.pl-plantilla-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:20;width:min(360px,80vw);background:var(--surface);border:1px solid var(--border-strong);border-radius:4px;box-shadow:var(--shadow-md);padding:6px}.pl-plantilla-opcion{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;font-family:inherit;background:none;border:none;border-radius:4px;padding:10px 12px;cursor:pointer}.pl-plantilla-opcion:hover{background:var(--surface-2)}.pl-plantilla-opcion strong{font-size:13px;color:var(--text)}.pl-plantilla-opcion span{font-size:11.5px;color:var(--text-muted);line-height:1.4}.pl-plantilla-opcion em{font-size:10.5px;font-style:normal;color:var(--text-dim)}.pl-empty-note{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--text-muted);font-size:13px;padding:2.5rem 1rem;border:1px dashed var(--border-strong);border-radius:4px}.pl-table-scroll{overflow-x:auto;border:1px solid var(--border-strong);border-radius:4px}.pl-table{border-collapse:collapse;width:100%;min-width:640px;font-size:12.5px}.pl-table thead th{background:var(--surface-2);border-bottom:2px solid var(--border-strong);padding:10px 12px;text-align:left;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);white-space:nowrap}.pl-table td{border-bottom:1px solid var(--border);padding:8px 10px;vertical-align:middle}.pl-table tbody tr:hover{background:var(--surface-2)}.pl-th-elemento{min-width:200px;position:sticky;left:0;background:var(--surface-2);z-index:1}.pl-th-stage{position:relative;min-width:96px}.pl-stage-nombre{outline:none;border-bottom:1px dashed transparent}.pl-stage-nombre:hover,.pl-stage-nombre:focus{border-bottom-color:var(--border-strong)}.pl-th-del{position:absolute;top:6px;right:4px;background:none;border:none;color:var(--text-muted);cursor:pointer;opacity:0;padding:2px;font-size:11px}.pl-th-stage:hover .pl-th-del{opacity:1}.pl-th-del:hover{color:var(--danger)}.pl-th-calidad,.pl-th-avance{min-width:90px}.pl-th-acciones{width:36px}.pl-td-elemento{display:flex;align-items:center;gap:10px;position:sticky;left:0;background:var(--surface)}.pl-table tbody tr:hover .pl-td-elemento{background:var(--surface-2)}.pl-thumb{position:relative;width:40px;height:40px;flex-shrink:0;border-radius:4px;border:1px solid var(--border-strong);background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--text-muted);cursor:pointer;padding:0;overflow:hidden}.pl-thumb img{width:100%;height:100%;object-fit:cover;display:block}.pl-thumb:hover{border-color:var(--brand);color:var(--brand)}.pl-thumb-edit{position:absolute;bottom:-2px;right:-2px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--brand);border:1px solid var(--surface);border-radius:4px;cursor:pointer;font-size:9px;opacity:0;transition:opacity var(--duration) var(--ease)}.pl-thumb:hover .pl-thumb-edit{opacity:1}.pl-thumb-edit:hover{background:var(--brand-strong)}.pl-grupo-pill{display:inline-flex;font-size:11px;font-weight:600;color:var(--text-muted);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:4px;padding:3px 8px;cursor:pointer;white-space:nowrap}.pl-grupo-pill:hover{color:var(--brand);border-color:var(--brand)}.pl-rev-overlay{position:fixed;inset:0;z-index:300;background:#0009}.pl-rev-box{width:100vw;height:100vh;display:flex;flex-direction:column;background:var(--surface)}.pl-rev-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}.pl-rev-titulo{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--text)}.pl-rev-layout{flex:1;min-height:0}#pl-rev-canvas{position:absolute;inset:0;margin:auto;touch-action:none}#pl-rev-canvas.ast-canvas--dibujando{cursor:crosshair}.pl-rev-versiones{display:flex;gap:8px;overflow-x:auto;flex-shrink:0}.pl-rev-vthumb{position:relative;flex-shrink:0;width:76px;padding:0;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:4px;cursor:pointer;overflow:hidden}.pl-rev-vthumb img{display:block;width:100%;height:52px;object-fit:cover}.pl-rev-vthumb--activo{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}.pl-rev-vnum{display:block;font-size:10px;font-weight:700;color:var(--text-muted);padding:2px 4px;text-align:left;white-space:nowrap}.pl-rev-vbadge{position:absolute;top:3px;right:3px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:2px;font-size:12px;color:#fff}.pl-rev-vbadge--ok{background:var(--success)}.pl-rev-vbadge--cambios{background:var(--warn)}.pl-rev-estado{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pl-rev-estado-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 12px;font-size:12.5px;font-weight:600;color:var(--text-soft);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:4px;cursor:pointer}.pl-rev-estado-btn--ok:hover,.pl-rev-estado-btn--ok.active{color:#fff;background:var(--success);border-color:var(--success)}.pl-rev-estado-btn--cambios:hover,.pl-rev-estado-btn--cambios.active{color:#fff;background:var(--warn);border-color:var(--warn)}.pl-rev-usar{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;font-size:12px;color:var(--text-muted);background:none;border:1px dashed var(--border-strong);border-radius:4px;cursor:pointer}.pl-rev-usar:hover{color:var(--brand);border-color:var(--brand)}.pl-rev-etapa{font-family:inherit;font-size:12.5px;padding:8px 10px;border-radius:4px;border:1px solid var(--border-strong);background:var(--surface);color:var(--text)}.pl-rev-enviar{font-size:13px;padding:8px 18px}.pl-item-nombre{font-weight:600;color:var(--text);outline:none;border-bottom:1px dashed transparent;white-space:nowrap}.pl-item-nombre:hover,.pl-item-nombre:focus{border-bottom-color:var(--border-strong)}.pl-td-cell{text-align:center}.pl-cell-btn{width:30px;height:30px;border-radius:4px;border:1px solid var(--border-strong);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:14px}.pl-cell-btn--pendiente{color:var(--text-muted);background:var(--surface-2)}.pl-cell-btn--en_progreso{color:var(--warn);background:var(--warn-soft);border-color:#fbbf2459}.pl-cell-btn--hecho{color:var(--success);background:var(--success-soft);border-color:#34d39959}.pl-cell-btn--bloqueado{color:var(--danger);background:#f871711a;border-color:#f8717159}.pl-calidad-btn{width:34px;height:30px;border-radius:4px;border:1px solid var(--border-strong);font-weight:800;font-size:12px;cursor:pointer}.pl-calidad-btn--none{color:var(--text-muted);background:var(--surface-2)}.pl-calidad-btn--S{color:#8b5cf6;background:#8b5cf61f;border-color:#8b5cf666}.pl-calidad-btn--A{color:var(--success);background:var(--success-soft);border-color:#34d39959}.pl-calidad-btn--B{color:var(--warn);background:var(--warn-soft);border-color:#fbbf2459}.pl-calidad-btn--C{color:var(--danger);background:#f871711a;border-color:#f8717159}.pl-td-avance{display:flex;align-items:center;gap:8px;white-space:nowrap}.pl-avance-bar{width:56px;height:6px;border-radius:3px;background:var(--surface-3);overflow:hidden}.pl-avance-fill{height:100%;background:var(--brand)}.pl-avance-pct{font-size:11px;font-weight:700;color:var(--text-muted)}.pl-del-item{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:4px;font-size:15px}.pl-del-item:hover{color:var(--danger)}.pl-origen-resumen{margin:0 0 12px}.pl-origen-resumen:empty{display:none}.pl-td-elemento .ol-icono{margin-left:4px}
