/* Reporte 13 — visão executiva de milestones */
#report-milestones { color: #19314f; }
#report-milestones [hidden] { display: none !important; }
.pf-ms-report { max-width: 1800px; margin: 0 auto; }
.pf-ms-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding: 28px 32px; color: #fff; border-radius: 20px; background: radial-gradient(circle at 84% -80%, #4074b3 0, transparent 45%), linear-gradient(120deg, #092044, #143860 75%, #1d496a); box-shadow: 0 18px 32px rgba(9,32,68,.16); }
.pf-ms-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #74cae7; }
.pf-ms-hero h2 { margin: 10px 0 5px; font-size: clamp(23px, 2.6vw, 36px); font-weight: 760; letter-spacing: -.035em; line-height: 1.1; }
.pf-ms-hero p { margin: 0; font-size: 13px; color: #d5e4f3; }
.pf-ms-hero-meta { min-width: 175px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); text-align: right; }
.pf-ms-hero-meta span, .pf-ms-hero-meta small { display: block; font-size: 10px; color: #b6d0e9; letter-spacing: .04em; }
.pf-ms-hero-meta strong { display: block; margin: 5px 0; font-size: 19px; font-variant-numeric: tabular-nums; }
.pf-ms-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 16px 0 20px; }
.pf-ms-summary > div { display: flex; flex-direction: column; justify-content: center; min-height: 86px; padding: 16px 20px; background: #fff; border: 1px solid #dde7f1; border-radius: 14px; box-shadow: 0 5px 14px rgba(15,42,90,.035); }
.pf-ms-summary span { font-size: 10px; font-weight: 800; color: #627992; letter-spacing: .1em; }
.pf-ms-summary strong { margin: 5px 0 1px; color: #0d315b; font-size: 29px; line-height: 1; font-variant-numeric: tabular-nums; }
.pf-ms-summary small { color: #71849a; font-size: 11px; }
.pf-ms-summary .is-risk { border-color: #f0d4d0; background: #fffaf9; }
.pf-ms-summary .is-risk strong { color: #ad4439; }
.pf-ms-summary em { color: #cbb6b2; font-style: normal; font-weight: 400; }
.pf-ms-viewbar { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #dbe6ef; padding: 0 5px; margin-bottom: 16px; }
.pf-ms-view-tab { border: 0; border-bottom: 3px solid transparent; background: transparent; color: #607791; padding: 12px 18px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pf-ms-view-tab:hover { color: #123c68; background: #eaf2f9; }
.pf-ms-view-tab.is-active { color: #123c68; border-bottom-color: #1887b6; }
.pf-ms-viewbar > span { margin-left: auto; color: #708399; font-size: 11px; }
.pf-ms-panel { background: #fff; border: 1px solid #dce6ef; border-radius: 16px; overflow: hidden; box-shadow: 0 7px 23px rgba(19,47,80,.045); }
.pf-ms-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px 17px; }
.pf-ms-panel-head h3 { margin: 0 0 4px; color: #0c3159; font-size: 18px; letter-spacing: -.02em; }
.pf-ms-panel-head p { margin: 0; color: #70849a; font-size: 12px; }
.pf-ms-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 13px; max-width: 550px; }
.pf-ms-legend span { display: inline-flex; align-items: center; gap: 5px; color: #637890; font-size: 10px; white-space: nowrap; }
.pf-ms-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.pf-ms-dot--completed { background: #16a34a; }
.pf-ms-dot--attention { background: #f59e0b; }
.pf-ms-dot--delayed { background: #dc2626; }
.pf-ms-dot--blocked { background: #7c3aed; }
.pf-ms-dot--cancelled { background: #94a3b8; }
.pf-ms-scroll { overflow: auto; max-height: 860px; scrollbar-width: thin; border-top: 1px solid #e7eef5; }
.pf-ms-matrix { display: grid; grid-template-columns: 250px 118px var(--pf-ms-width); width: max-content; position: relative; }
.pf-ms-axis-project, .pf-ms-axis-metrics, .pf-ms-axis-chart { height: 62px; box-sizing: border-box; border-bottom: 1px solid #d9e6f1; background: #f3f8fc; color: #536f8c; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.pf-ms-axis-project, .pf-ms-axis-metrics { display: flex; align-items: center; padding: 0 17px; position: sticky; z-index: 7; top: 0; }
.pf-ms-axis-project { left: 0; }
.pf-ms-axis-metrics { left: 250px; border-right: 1px solid #dce7f0; }
.pf-ms-axis-chart { position: sticky; top: 0; z-index: 5; }
.pf-ms-tick { position: absolute; top: 20px; height: 42px; padding: 3px 0 0 7px; box-sizing: border-box; border-left: 1px solid #e1eaf2; color: #6c829a; font-size: 10px; letter-spacing: 0; white-space: nowrap; }
.pf-ms-tick.is-year { color: #174a74; font-weight: 800; border-left-color: #c2d7e8; }
.pf-ms-project-cell, .pf-ms-metrics-cell, .pf-ms-chart-cell { box-sizing: border-box; height: 76px; border-bottom: 1px solid #edf2f7; background: #fff; }
.pf-ms-project-cell { position: sticky; left: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; min-width: 0; }
.pf-ms-project-cell a { display: block; max-width: 218px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #143d66; font-size: 12px; font-weight: 750; text-decoration: none; }
.pf-ms-project-cell a:hover, .pf-ms-table a:hover { color: #087eaf; text-decoration: underline; }
.pf-ms-project-cell small { color: #8596a7; margin-top: 5px; font-size: 10px; }
.pf-ms-metrics-cell { position: sticky; left: 250px; z-index: 4; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 16px; border-right: 1px solid #e0e9f0; }
.pf-ms-metrics-cell > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #738aa0; font-size: 10px; font-weight: 800; }
.pf-ms-indicator { display: inline-flex; justify-content: center; min-width: 40px; padding: 3px 6px; border-radius: 6px; font-size: 11px; font-variant-numeric: tabular-nums; }
.pf-ms-indicator--good { color: #117b48; background: #e6f7ed; }
.pf-ms-indicator--watch { color: #9d6508; background: #fff5d8; }
.pf-ms-indicator--risk { color: #b73535; background: #ffebeb; }
.pf-ms-indicator--unknown { color: #697c91; background: #eef2f6; }
.pf-ms-chart-cell { position: relative; background-image: linear-gradient(90deg,rgba(228,237,245,.65) 1px, transparent 1px); background-size: var(--pf-ms-month-width) 100%; }
.pf-ms-track { position: absolute; top: 30px; height: 7px; border-radius: 10px; background: #7aa7c4; box-shadow: inset 0 0 0 1px #547d9d; }
.pf-ms-today { position: absolute; top: 0; bottom: 0; z-index: 2; border-left: 2px dashed #e1534c; pointer-events: none; }
.pf-ms-today-label { position: absolute; top: 9px; left: 0; transform: translateX(-50%); padding: 3px 6px; border-radius: 4px; color: #b83b35; background: #fff0ed; font-size: 9px; letter-spacing: .05em; white-space: nowrap; }
.pf-ms-node { position: absolute; top: 22px; z-index: 3; width: 26px; height: 32px; padding: 0; transform: translateX(-50%); border: 0; background: transparent; cursor: pointer; }
.pf-ms-node__mark { display: block; width: 16px; height: 16px; margin: 0 auto; border: 3px solid #fff; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 1px rgba(29,70,105,.22), 0 2px 5px rgba(10,43,71,.18); }
.pf-ms-node--completed .pf-ms-node__mark { background: #16a34a; }
.pf-ms-node--attention .pf-ms-node__mark { background: #f59e0b; }
.pf-ms-node--delayed .pf-ms-node__mark { background: #dc2626; }
.pf-ms-node--blocked .pf-ms-node__mark { background: #7c3aed; }
.pf-ms-node--cancelled .pf-ms-node__mark { background: #94a3b8; }
.pf-ms-node:hover .pf-ms-node__mark, .pf-ms-node:focus-visible .pf-ms-node__mark { box-shadow: 0 0 0 4px rgba(48,138,179,.22); transform: scale(1.16); }
.pf-ms-node__code { position: absolute; left: 50%; top: 23px; transform: translateX(-50%); max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #58718a; font-size: 9px; font-weight: 800; }
.pf-ms-no-dates { position: absolute; top: 26px; left: 24px; color: #9aabba; font-size: 11px; font-style: italic; }
.pf-ms-matrix-empty { grid-column: 1 / 4; padding: 28px; color: #71849a; font-size: 13px; }
.pf-ms-footnote { margin: 0; padding: 13px 22px; color: #788ca1; background: #fafcff; border-top: 1px solid #edf2f6; font-size: 10px; line-height: 1.5; }
.pf-ms-controls { display: flex; gap: 12px; padding: 0 22px 18px; }
.pf-ms-controls label { display: flex; flex-direction: column; gap: 6px; color: #647b94; font-size: 11px; font-weight: 700; }
.pf-ms-controls label:first-child { flex: 1; max-width: 390px; }
.pf-ms-controls input, .pf-ms-controls select { padding: 9px 12px; border: 1px solid #d1e0ed; border-radius: 8px; background: #fff; color: #1c3956; font: inherit; font-size: 12px; }
.pf-ms-controls input:focus-visible, .pf-ms-controls select:focus-visible, .pf-ms-view-tab:focus-visible, .pf-ms-node:focus-visible { outline: 2px solid #167fb2; outline-offset: 2px; }
.pf-ms-count { color: #3975a0; background: #edf6fc; border-radius: 999px; padding: 6px 11px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.pf-ms-table-scroll { overflow: auto; max-height: min(55vh, 600px); }
.pf-ms-table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 11px; }
.pf-ms-table th { position: sticky; top: 0; z-index: 1; background: #f4f8fc; color: #5e7891; text-align: left; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.pf-ms-table th, .pf-ms-table td { padding: 11px 14px; border-bottom: 1px solid #e9f0f6; vertical-align: middle; }
.pf-ms-table tbody tr:hover { background: #f8fbfe; }
.pf-ms-table a { color: #16456d; font-weight: 750; text-decoration: none; }
.pf-ms-table strong { color: #254762; font-weight: 700; }
.pf-ms-table small { display: block; margin-top: 3px; color: #8598a9; font-size: 10px; }
.pf-ms-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: #13794c; background: #e9f8ef; border-radius: 999px; white-space: nowrap; font-weight: 700; font-size: 10px; }
.pf-ms-status--attention { color: #986106; background: #fff4d8; }
.pf-ms-status--delayed { color: #b93636; background: #ffeded; }
.pf-ms-status--blocked { color: #693db2; background: #f2ebff; }
.pf-ms-status--cancelled { color: #64748b; background: #edf1f5; }
.pf-ms-table-empty, .pf-ms-filter-empty { color: #738aa0; padding: 20px; font-size: 12px; }
.pf-ms-detail { position: fixed; z-index: 200; width: 312px; box-sizing: border-box; padding: 18px; border: 1px solid #d8e5ef; border-radius: 13px; background: #fff; box-shadow: 0 18px 45px rgba(7,35,69,.22); }
.pf-ms-detail .pf-ms-eyebrow { color: #4784ad; padding-right: 24px; line-height: 1.5; }
.pf-ms-detail h4 { margin: 8px 0 10px; color: #153e65; font-size: 15px; }
.pf-ms-detail-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: #668098; font-size: 23px; cursor: pointer; }
.pf-ms-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 0; }
.pf-ms-detail dt { color: #8296a7; font-size: 10px; }
.pf-ms-detail dd { margin: 3px 0 0; color: #234363; font-size: 11px; font-weight: 700; }
.pf-ms-state { padding: 40px 20px; text-align: center; color: #70849a; background: #fff; border: 1px solid #e4ebf2; border-radius: 14px; }
.pf-ms-state.is-error { color: #a82e2e; background: #fff8f7; }
@media (max-width: 920px) { .pf-ms-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .pf-ms-panel-head { align-items: flex-start; flex-direction: column; } .pf-ms-legend { justify-content: flex-start; } }
@media (max-width: 620px) { .pf-ms-hero { padding: 22px; flex-direction: column; align-items: flex-start; } .pf-ms-hero-meta { padding-left: 0; border: 0; text-align: left; } .pf-ms-summary { gap: 8px; } .pf-ms-summary > div { padding: 12px; min-height: 78px; } .pf-ms-summary strong { font-size: 24px; } .pf-ms-viewbar { flex-wrap: wrap; } .pf-ms-viewbar > span { flex-basis: 100%; margin: 0 0 9px 12px; } .pf-ms-controls { flex-wrap: wrap; } .pf-ms-scroll { max-height: 75vh; } .pf-ms-matrix { grid-template-columns: 142px 70px var(--pf-ms-width); } .pf-ms-axis-project, .pf-ms-axis-metrics { padding: 0 8px; font-size: 8px; } .pf-ms-axis-metrics, .pf-ms-metrics-cell { left: 142px; } .pf-ms-project-cell { padding: 9px 8px; } .pf-ms-project-cell a { max-width: 126px; font-size: 10px; } .pf-ms-project-cell small { font-size: 8px; } .pf-ms-metrics-cell { padding: 5px; } .pf-ms-metrics-cell > span { font-size: 8px; gap: 2px; } .pf-ms-indicator { min-width: 24px; padding: 3px; font-size: 9px; } }
@media print { .pf-ms-scroll, .pf-ms-table-scroll { max-height: none; overflow: visible; } .pf-ms-matrix { transform-origin: left top; } .pf-ms-viewbar, .pf-ms-controls { display: none; } }
