/* Personal -> Reportes: estilos acotados a .yp-wr-hub (tarjeta de v8ReportList) */
.yp-wr-hub{border-color:#d6e2f0!important;color:#0f2744}
.yp-wr-hub .yp-wr-source{display:none!important}
.yp-wr-hub [hidden]{display:none!important}
.yp-wr-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.yp-wr-kpi{border:1px solid #d6e2f0;border-radius:12px;padding:10px 12px;background:#eef5ff;display:grid;gap:2px;min-width:0}
.yp-wr-kpi:nth-child(2){background:#fff7e6}.yp-wr-kpi:nth-child(3){background:#fff1f1}.yp-wr-kpi:nth-child(5){background:#ecfaf1}
.yp-wr-kpi b{font-size:.78rem;color:#2c4b73}.yp-wr-kpi strong{font-size:1.4rem;line-height:1.1}.yp-wr-kpi small{color:#5d7596;font-size:.72rem}
.yp-wr-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px;border-bottom:2px solid #d6e2f0}
.yp-wr-tabs button{min-height:42px;border:1px solid #d6e2f0;border-bottom:0;border-radius:10px 10px 0 0;background:#f4f8fd;color:#1d4f91;font-weight:700;padding:6px 14px}
.yp-wr-tabs button.on{background:#0f2744;color:#fff;border-color:#0f2744}
.yp-wr-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.yp-wr-chips button{min-height:38px;border:1px solid #bac9d7;border-radius:999px;background:#fff;color:#1d4f91;font-weight:700;padding:4px 14px}
.yp-wr-chips button.on{background:#1d4f91;color:#fff;border-color:#1d4f91}
.yp-wr-search{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:10px}
.yp-wr-search label{font-size:.8rem;font-weight:700;color:#2c4b73;display:grid;gap:4px}
.yp-wr-search input{min-height:44px;border:1px solid #bac9d7;border-radius:8px;padding:6px 10px;font-weight:400}
.yp-wr-search button{min-height:44px;border:1px solid #bac9d7;border-radius:8px;background:#fff;color:#1d4f91;font-weight:700;padding:6px 16px}
.yp-wr-filters{margin-top:10px;border:1px solid #d6e2f0;border-radius:10px;background:#f9fbff;padding:6px 12px}
.yp-wr-filters>summary{cursor:pointer;font-weight:700;color:#1d4f91;min-height:36px;display:flex;align-items:center}
.yp-wr-filters>div{margin-bottom:8px}
.yp-wr-note{font-size:.8rem;color:#4a6384;margin:10px 0 0}
.yp-wr-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px;margin-top:12px;align-items:start}
.yp-wr-card{border:1px solid #d6e2f0;border-radius:14px;background:#fff;padding:12px 14px;display:grid;gap:8px;min-width:0}
.yp-wr-card>header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.yp-wr-card h3{margin:0;font-size:1.02rem;color:#0f2744}
.yp-wr-card small{color:#5d7596}
.yp-wr-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:.8rem;color:#2c4b73}
.yp-wr-stats span{background:#f4f8fd;border-radius:8px;padding:6px 8px}
.yp-wr-stats span:last-child{grid-column:1/-1;background:#eef5ff}
.yp-wr-stats b{font-size:1rem;color:#0f2744}
.yp-wr-last{margin:0;font-size:.86rem;color:#2c4b73}
.yp-wr-chiprow{display:flex;gap:6px;flex-wrap:wrap}
.yp-wr-chip{border-radius:999px;padding:3px 10px;font-size:.74rem;font-weight:700;background:#e5eefb;color:#1d4f91}
.yp-wr-chip[data-s=ok]{background:#d9f4e3;color:#146c38}.yp-wr-chip[data-s=off]{background:#fde1e4;color:#a61b29}
.yp-wr-chip[data-s=wait]{background:#fff0cc;color:#8a5b00}.yp-wr-chip[data-s=paid]{background:#e3e8ff;color:#3340a0}.yp-wr-chip[data-s=price]{background:#ffe1d1;color:#9a3a00}
.yp-wr-open{min-height:44px;border:1px solid #1d4f91;border-radius:10px;background:#fff;color:#1d4f91;font-weight:700}
.yp-wr-open[aria-expanded=true]{background:#1d4f91;color:#fff}
.yp-wr-dots{min-width:44px;min-height:40px;border:1px solid #bac9d7;border-radius:10px;background:#fff;color:#0f2744;font-size:1.2rem;font-weight:700;line-height:1}
.yp-wr-detail{display:grid;gap:8px;max-height:60vh;overflow:auto;padding-right:2px}
.yp-wr-report{border:1px solid #e1eaf5;border-radius:10px;padding:6px}
.yp-wr-report .yp-report-card{border:0;margin:0;padding:6px}
.yp-wr-report .yp-report-card>header{display:flex;justify-content:space-between;gap:8px;align-items:center}
.yp-wr-report .yp-report-card>header .yp-wr-dots{margin-left:auto}
.yp-wr-empty{padding:16px;text-align:center;color:#4a6384;grid-column:1/-1}
.yp-wr-menu{position:fixed;z-index:60;min-width:220px;padding:6px;border:1px solid #bac9d7;border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(15,39,68,.22);display:grid;gap:2px}
.yp-wr-menu button{min-height:42px;text-align:left;border:0;border-radius:8px;background:#fff;color:#0f2744;font-weight:600;padding:8px 12px}
.yp-wr-menu button:hover,.yp-wr-menu button:focus-visible{background:#eef5ff}
.yp-wr-pane{margin-top:12px}
.yp-wr-hub .yp-wr-tabs button{--yp-action-bg:#f4f8fd!important;--yp-action-text:#1d4f91!important;--yp-action-border:#d6e2f0!important;--yp-action-hover:#e5eefb!important;box-shadow:none!important}
.yp-wr-hub .yp-wr-tabs button.on{--yp-action-bg:#0f2744!important;--yp-action-text:#fff!important;--yp-action-border:#0f2744!important;--yp-action-hover:#0f2744!important}
.yp-wr-hub .yp-wr-chips button,.yp-wr-hub .yp-wr-search button,.yp-wr-hub .yp-wr-open,.yp-wr-hub .yp-wr-dots{--yp-action-bg:#fff!important;--yp-action-text:#1d4f91!important;--yp-action-border:#bac9d7!important;--yp-action-hover:#eef5ff!important;box-shadow:none!important}
.yp-wr-hub .yp-wr-chips button.on,.yp-wr-hub .yp-wr-open[aria-expanded=true]{--yp-action-bg:#1d4f91!important;--yp-action-text:#fff!important;--yp-action-border:#1d4f91!important;--yp-action-hover:#1d4f91!important}
.yp-wr-menu button{--yp-action-bg:#fff!important;--yp-action-text:#0f2744!important;--yp-action-border:transparent!important;--yp-action-hover:#eef5ff!important}
@media(max-width:820px){.yp-wr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.yp-wr-groups{grid-template-columns:1fr}}
@media(max-width:520px){.yp-wr-tabs{flex-wrap:nowrap;overflow-x:auto}.yp-wr-tabs button{white-space:nowrap}.yp-wr-hub .yp-wr-tabs button{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;flex:0 0 auto}.yp-wr-search{grid-template-columns:1fr}.yp-wr-stats{grid-template-columns:1fr}}
/* Resumen y seguimiento administrativo, sin estilos del perfil del trabajador. */
.yp-wr-hub .yp-wr-intro{margin:.3rem 0 .7rem;color:#526787}
.yp-wr-hub .yp-wr-intro small{color:#235295;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.yp-wr-hub .yp-wr-review-links{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:.65rem 0}
.yp-wr-hub [hidden]{display:none!important}
.yp-wr-hub .yp-wr-filters{padding:.6rem;border:1px solid #d8e4f5;border-radius:10px;background:#f5f9ff}
.yp-wr-hub .yp-wr-tabs button.on,.yp-wr-hub .yp-wr-chips button[aria-pressed=true]{background:#0b3a82;color:white}
.yp-wr-hub .yp-wr-pages,.yp-wr-hub .yp-wh-history-pager,.yp-wr-hub .yp-wh-history-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.65rem 0}
.yp-wr-hub .yp-wr-history>label,.yp-wr-hub .yp-wh-history-filters label{display:grid;gap:.25rem;font-size:.83rem;font-weight:700;min-width:0}
.yp-wr-hub .yp-wh-history-filters{padding:.75rem;border:1px solid #d8e4f5;border-radius:10px;background:#f5f9ff;display:grid;gap:.6rem}
.yp-wr-hub .yp-wh-history-filters :is(input,select),.yp-wr-hub .yp-wr-history>label select{min-width:0;max-width:100%;border:1px solid #c9d9ef;border-radius:8px;padding:.45rem;background:white}
.yp-wr-hub .yp-wh-history-filters :is(.yp-wh-filter-grid,.yp-wh-history-actions){display:flex;align-items:end;gap:.6rem;flex-wrap:wrap}
.yp-wr-hub .yp-wh-report-record{border:1px solid #d8e4f5;border-radius:11px;background:white;margin:.6rem 0 0;padding:.75rem}
.yp-wr-hub .yp-wh-report-record h3{font-weight:750;color:#0f2447;overflow-wrap:anywhere}
.yp-wr-hub .yp-wh-status{display:inline-block;border-radius:999px;padding:.18rem .55rem;margin-right:.45rem;background:#eef3fb;color:#24436a;font-weight:700;font-size:.78rem}
.yp-wr-hub .yp-wh-status[data-tone=pending]{background:#fff3cf;color:#7a4c00}
.yp-wr-hub .yp-wh-status:is([data-tone=approved],[data-tone=paid]){background:#dff6e7;color:#166438}
.yp-wr-hub .yp-wh-status:is([data-tone=rejected],[data-tone=voided]){background:#ffe8ec;color:#9e2636}
.yp-wr-hub .yp-wr-history-actions{margin:0 0 .7rem;padding:.25rem .7rem .55rem}
