/* Process mining report (Power BI-style frame) */
.pmr{position:relative;margin-top:22px;border:1px solid #DCE3EC;border-radius:12px;background:#F3F5F8;box-shadow:0 18px 46px rgba(11,42,82,.08);overflow:hidden;font-family:"Segoe UI",Inter,system-ui,sans-serif;color:#252423}
.pmr-crumb{display:flex;justify-content:space-between;align-items:center;padding:7px 14px;background:#fff;border-bottom:1px solid #E1DFDD;font-size:12px;color:#605E5C}
.pmr-crumb b{color:#252423;font-weight:600}
.pmr-crumb .tag{font-size:11px;color:#8A8886}
.pmr-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px 8px}
.pmr-head h3{margin:0;font:600 17px/1.25 "Segoe UI",Inter,sans-serif;color:#252423}
.pmr-head p{margin:2px 0 0;font-size:12px;color:#605E5C}
.pmr-slicer{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#605E5C;font-weight:600}
.pmr-slicer button{min-height:28px;padding:0 10px;border:1px solid #C8C6C4;border-radius:4px;background:#fff;color:#252423;font:500 12px "Segoe UI",Inter,sans-serif;text-transform:none;letter-spacing:0;cursor:pointer}
.pmr-slicer button[aria-pressed=true]{background:#0F4C81;border-color:#0F4C81;color:#fff}
.pmr-tools{display:flex;gap:8px;align-items:center}
.pmr-btn{min-height:28px;padding:0 10px;border:1px solid #C8C6C4;border-radius:4px;background:#fff;color:#252423;font:500 12px "Segoe UI",Inter,sans-serif;cursor:pointer}
.pmr-body{display:grid;grid-template-columns:minmax(0,1fr) 0;transition:grid-template-columns .25s}
.pmr.is-filters .pmr-body{grid-template-columns:minmax(0,1fr) 240px}
.pmr-canvas{padding:4px 14px 14px;min-height:560px}
.pmr-filters{overflow:hidden;background:#fff;border-left:1px solid #E1DFDD}
.pmr-filters>div{width:240px;padding:12px 14px;box-sizing:border-box}
.pmr-filters h4{margin:0 0 8px;font:600 13px "Segoe UI",Inter,sans-serif}
.pmr-filters h5{margin:12px 0 6px;font:600 11px "Segoe UI",Inter,sans-serif;color:#605E5C;text-transform:uppercase;letter-spacing:.06em}
.pmr-filters label{display:flex;gap:6px;align-items:center;font-size:12px;margin:3px 0}
.pmr-filters select,.pmr-filters input[type=search]{width:100%;min-height:28px;border:1px solid #C8C6C4;border-radius:4px;padding:3px 6px;font:12px "Segoe UI",Inter,sans-serif;margin-bottom:6px}
.pmr-ftab{position:absolute;right:0;top:96px;writing-mode:vertical-rl;padding:10px 4px;border:1px solid #E1DFDD;border-right:0;border-radius:6px 0 0 6px;background:#fff;color:#252423;font:600 12px "Segoe UI",Inter,sans-serif;cursor:pointer;z-index:2}
.pmr.is-filters .pmr-ftab{right:240px}
.pmr-pages{display:flex;gap:2px;padding:0 10px;background:#fff;border-top:1px solid #E1DFDD}
.pmr-pages button{position:relative;padding:9px 14px;border:0;background:none;font:500 12.5px "Segoe UI",Inter,sans-serif;color:#605E5C;cursor:pointer}
.pmr-pages button[aria-selected=true]{color:#252423;font-weight:600}
.pmr-pages button[aria-selected=true]::after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:3px;background:#F2C811;border-radius:2px}
.pmr-note-foot{margin:0;padding:8px 14px;background:#fff;border-top:1px solid #EDEBE9;font-size:11.5px;color:#605E5C}

.pmr-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:6px 0 10px}
.pmr-kpi{background:#fff;border:1px solid #E1DFDD;border-radius:6px;padding:9px 12px}
.pmr-kpi small{display:block;font-size:10.5px;color:#605E5C;text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.pmr-kpi b{display:block;margin-top:3px;font:600 20px/1.15 "Segoe UI",Inter,sans-serif;color:#252423}
.pmr-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:10px}
.pmr-grid-map{grid-template-columns:minmax(0,3fr) minmax(220px,1fr)}
.pmr-col{display:flex;flex-direction:column;gap:10px;min-width:0}
.pmr-vis{background:#fff;border:1px solid #E1DFDD;border-radius:6px;padding:10px 12px;min-width:0}
.pmr-vt{font:600 13px "Segoe UI",Inter,sans-serif;color:#252423;margin-bottom:6px}
.pmr-vt small{display:block;font-weight:400;font-size:11px;color:#605E5C}
.pmr-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center}
.pmr-counts small{display:block;font-size:10.5px;color:#605E5C;text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.pmr-counts b{font:600 22px "Segoe UI",Inter,sans-serif}
.pmr-bar{display:grid;grid-template-columns:78px minmax(0,1fr) 62px;align-items:center;gap:8px;width:100%;padding:3px 2px;border:0;background:none;font:12px "Segoe UI",Inter,sans-serif;color:#252423;text-align:left;cursor:pointer;border-radius:4px}
.pmr-bar:hover:not(:disabled){background:#F3F2F1}
.pmr-bar:disabled{cursor:default;color:#252423}
.pmr-bar .t{height:14px;background:#F3F2F1;border-radius:2px;overflow:hidden}.pmr-bar .t i{display:block;height:100%;background:#2B6CB0}
.pmr-bar .v{text-align:right;font-variant-numeric:tabular-nums}
.pmr-bar.is-dim{opacity:.4}.pmr-bar.is-on .l{font-weight:700}
.pmr-line{display:block;width:100%;height:auto;max-height:190px}.pmr-ax{font:10.5px "Segoe UI",Inter,sans-serif;fill:#605E5C}

/* process map visual */
.pmr-mapbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}
.pmr-sel{min-height:28px;border:1px solid #C8C6C4;border-radius:4px;background:#fff;font:12px "Segoe UI",Inter,sans-serif;padding:0 6px}
.pmr-pct{min-width:30px;min-height:28px;border:1px solid #C8C6C4;border-radius:4px;background:#fff;font:600 12px "Segoe UI",Inter,sans-serif;cursor:pointer}
.pmr-pct[aria-pressed=true]{background:#0F4C81;color:#fff;border-color:#0F4C81}
.pmr-sliders{display:flex;gap:12px;margin-left:auto;font-size:11.5px;color:#605E5C}
.pmr-sliders label{display:flex;align-items:center;gap:6px}.pmr-sliders input{width:90px;accent-color:#0F4C81}
.pmr-mapwrap{background:#FAFAFA;border:1px solid #EDEBE9;border-radius:4px;overflow:auto}
.pmr-map{display:block;width:100%;height:auto;max-height:640px;margin:0 auto}
.pmr-map.is-compact{max-height:560px}
.pmr-nbox{fill:#fff;stroke:#8A8886;stroke-width:1.2}
.pmr-node{cursor:pointer}.pmr-node:hover .pmr-nbox,.pmr-node:focus .pmr-nbox,.pmr-node.is-sel .pmr-nbox{stroke:#0F4C81;stroke-width:2.2}
.pmr-node:focus{outline:none}
.pmr-nname{font:600 12.5px "Segoe UI",Inter,sans-serif;fill:#252423}
.pmr-nval{font:12px "Segoe UI",Inter,sans-serif;fill:#605E5C}
.pmr-edge{cursor:pointer}.pmr-edge.is-sel path:nth-child(2){stroke:#0F4C81}
.pmr-node.is-dim,.pmr-edge.is-dim{opacity:.35}
.pmr-elabel{font:600 11px "Segoe UI",Inter,sans-serif;fill:#3B3A39;paint-order:stroke;stroke:#FAFAFA;stroke-width:4px}
.pmr-se{fill:#fff;stroke:#605E5C;stroke-width:2}.pmr-se-l{font:600 11px "Segoe UI",Inter,sans-serif;fill:#605E5C}
.pmr-mapfoot{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:11px;color:#605E5C}
.pmr-mapfoot i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.pmr-mapfoot i.g{background:#16A34A}.pmr-mapfoot i.r{background:#DC2626}
.pmr-detail h5{margin:12px 0 4px;font:600 11px "Segoe UI",Inter,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:#605E5C}
.pmr-detail dl{display:grid;grid-template-columns:1fr auto;gap:3px 10px;margin:0;font-size:12.5px}.pmr-detail dd{margin:0;font-weight:600;text-align:right}
.pmr-note{font-size:12px;color:#605E5C;line-height:1.5}
.pmr-dna .pmr-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:4px 0 10px;font-size:11.5px}
.pmr-dna i,.pmr-legend i{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;padding:0 3px;border-radius:3px;color:#fff;font:700 10px "Segoe UI",Inter,sans-serif;font-style:normal;margin-right:4px}
.pmr-dnarow{display:grid;grid-template-columns:80px minmax(0,1fr) 150px 70px;gap:10px;align-items:center;width:100%;padding:5px 4px;border:0;border-top:1px solid #F3F2F1;background:none;text-align:left;font:12px "Segoe UI",Inter,sans-serif;color:#252423;cursor:pointer}
.pmr-dnarow:hover{background:#F8F8F8}.pmr-dnarow.is-on{background:#EFF6FC}
.pmr-dnarow .s{display:flex;flex-wrap:wrap;gap:2px}.pmr-dnarow .s i{margin:0}
.pmr-dnarow .c,.pmr-dnarow .d{text-align:right;color:#605E5C}
.pmr-tip{position:absolute;pointer-events:none;max-width:250px;padding:8px 10px;border-radius:4px;background:#fff;border:1px solid #C8C6C4;box-shadow:0 6px 18px rgba(0,0,0,.16);font:12px/1.45 "Segoe UI",Inter,sans-serif;color:#252423;opacity:0;z-index:5}
.pmr-tip b{display:block;margin-bottom:2px}
@media(max-width:1000px){.pmr-kpis{grid-template-columns:repeat(3,1fr)}.pmr-grid,.pmr-grid-map{grid-template-columns:1fr}.pmr-sliders{margin-left:0}}
@media(max-width:560px){.pmr-kpis{grid-template-columns:repeat(2,1fr)}.pmr-dnarow{grid-template-columns:70px minmax(0,1fr);}.pmr-dnarow .c,.pmr-dnarow .d{display:none}.pmr.is-filters .pmr-body{grid-template-columns:minmax(0,1fr) 0}}
