.dp2-app{--dpr-blue:#0756d9;--dpr-navy:#061b45;--dpr-line:#d7e1ef;--dpr-text:#102453}.dp2-app .dp-desktop-content{background:#f6f9fd;padding:16px;overflow:auto}.dpr-title,.dpr-panel header,.dpr-elements-head,.dpr-element-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dpr-title{margin-bottom:14px}.dpr-title h1,.dpr-section h2,.dpr-panel h2{color:#0647bd;font-size:15px;margin:0 0 4px}.dpr-title p,.dpr-panel p,.dpr-section p{color:#60708f;margin:0}.dpr-title>span{background:#fff;border:1px solid var(--dpr-line);border-radius:8px;padding:8px 12px}.dpr-section{margin-bottom:14px}.dpr-plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}.dpr-plan-cards>button{align-items:center;background:#fff;border:1px solid var(--dpr-line);border-radius:9px;color:var(--dpr-text);display:flex;gap:10px;min-height:86px;padding:11px;text-align:left}.dpr-plan-cards>button.active{border-color:#1769eb;box-shadow:0 0 0 2px #d9e9ff}.dpr-plan-cards span{display:grid;gap:3px;min-width:0}.dpr-plan-cards small,.dpr-plan-cards em{color:#61708c;font-size:11px;font-style:normal}.dpr-icon{height:30px;width:30px;flex:0 0 auto}.dpr-dashboard-grid,.dpr-report-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);gap:12px}.dpr-panel{background:#fff;border:1px solid var(--dpr-line);border-radius:10px;box-shadow:0 2px 9px #12335b0c;padding:13px}.dpr-panel header{border-bottom:1px solid #e5ebf4;margin:-3px -3px 8px;padding:3px 3px 10px}.dpr-element-table{overflow:auto}.dpr-table{overflow:auto}.dpr-table table,.dpr-element-table table{border-collapse:collapse;min-width:100%;width:100%}.dpr-table th,.dpr-table td,.dpr-element-table th,.dpr-element-table td{border-bottom:1px solid #e7edf5;font-size:11px;padding:9px 8px;text-align:left;vertical-align:middle}.dpr-table th,.dpr-element-table th{color:#496080;font-size:10px;text-transform:uppercase}.dpr-table td small,.dpr-table td b{display:block}.dpr-element-table tr{cursor:pointer}.dpr-element-table tr.selected{background:#eef6ff}.dpr-element-table td:first-child{align-items:center;display:flex;gap:7px}.dpr-element-table .dpr-icon,.dpr-table .dpr-icon{height:23px;width:23px}.dpr-chart{height:270px;width:100%}.dpr-chart polyline{fill:none;stroke:#13844a;stroke-width:2}.dpr-chart circle{fill:#fff;stroke:#13844a;stroke-width:2}.dpr-chart circle.danger{fill:#fff;stroke:#e5363f}.dpr-range-band{fill:#dcf7e5}.dpr-limit line{stroke:#ff4b55;stroke-dasharray:5 4}.dpr-limit text{fill:#b32730;font-size:10px}.dpr-state-timeline{display:flex;flex-wrap:wrap;gap:8px;padding:20px}.dpr-state-timeline span{border:1px solid #b7ddc5;border-radius:7px;padding:8px}.dpr-state-timeline span.danger{border-color:#f0a3a8}.dpr-state-timeline small{display:block}.dpr-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dpr-kpis span{background:#f7f9fc;border-radius:8px;padding:9px;text-align:center}.dpr-kpis b{display:block;font-size:18px}.dpr-status{border-radius:5px;display:inline-block;font-size:10px;font-weight:700;padding:3px 6px}.dpr-status.ok{background:#e7f8ec;color:#19703a}.dpr-status.danger{background:#ffe7e8;color:#bd202c}.dpr-status.neutral{background:#eef2f7;color:#53627c}.dpr-person{background:#eef4ff;border-radius:99px;display:inline-block;margin:1px;padding:3px 7px}.dpr-readonly{color:#71809a}.dpr-toolbar{align-items:end;background:#fff;border:1px solid var(--dpr-line);border-radius:9px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;padding:9px}.dpr-toolbar label{color:#53627c;display:grid;font-size:10px;gap:3px}.dpr-toolbar input,.dpr-toolbar select,.dpr-form-grid input,.dpr-form-grid select,.dpr-form-grid textarea{background:#fff;border:1px solid #cbd7e8;border-radius:6px;color:#15284f;min-height:34px;padding:7px}.dpr-record-filters>*{min-width:125px}.alert-row{background:#fff8f8}.dpr-wizard{padding:0}.dpr-wizard-steps{border-bottom:1px solid var(--dpr-line);display:grid;grid-template-columns:repeat(5,1fr)}.dpr-wizard-steps button{align-items:center;background:#fff;border:0;color:#667794;display:flex;gap:7px;padding:12px;text-align:left}.dpr-wizard-steps button b{align-items:center;background:#e7edf6;border-radius:50%;display:flex;height:23px;justify-content:center;width:23px}.dpr-wizard-steps button.active{color:#0756d9}.dpr-wizard-steps button.active b,.dpr-wizard-steps button.done b{background:#0756d9;color:#fff}.dpr-wizard-content{padding:16px}.dpr-wizard>footer,.dpr-element-editor>footer{border-top:1px solid var(--dpr-line);display:flex;justify-content:flex-end;gap:8px;padding:12px 16px}.dpr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.dpr-form-grid>label{color:#425675;display:grid;font-size:11px;font-weight:650;gap:4px}.dpr-form-grid .wide,.dpr-form-grid fieldset.wide{grid-column:1/-1}.dpr-form-grid fieldset{border:1px solid var(--dpr-line);border-radius:7px;display:flex;gap:12px}.dpr-selected-icon{align-items:center;border:1px solid var(--dpr-line);border-radius:7px;display:flex;gap:8px;padding:8px}.dpr-icon-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:6px}.dpr-icon-gallery button{align-items:center;background:#fff;border:1px solid var(--dpr-line);border-radius:7px;display:grid;justify-items:center;min-height:65px;padding:5px}.dpr-icon-gallery button.selected{border-color:#0756d9;box-shadow:0 0 0 2px #dbe9ff}.dpr-icon-gallery small{font-size:9px}.dpr-elements-head{margin-bottom:10px}.dpr-element-list{display:grid;gap:6px}.dpr-element-list article{align-items:center;border:1px solid var(--dpr-line);border-radius:8px;display:flex;gap:9px;padding:8px}.dpr-element-list article>div{flex:1}.dpr-element-list small{display:block;color:#687894}.dpr-element-editor{background:#f7faff;border:1px solid #bfd4f1;border-radius:10px;margin-top:12px;padding:12px}.dpr-template-help{background:#eef5ff;border-radius:7px;margin:10px 0;padding:9px}.dpr-template-help code{background:#fff;border:1px solid #cfdbeb;border-radius:4px;display:inline-block;margin:2px;padding:3px}.dpr-email-preview{background:#fff;border:1px solid #c9d8e9;border-radius:8px;margin:10px 0;padding:12px}.dpr-people{display:grid;grid-template-columns:1fr 2fr;gap:12px}.dpr-people article,.dpr-people section{border:1px solid var(--dpr-line);border-radius:9px;padding:13px}.dpr-people section>label{align-items:center;border-top:1px solid #e7edf5;display:grid;grid-template-columns:auto 1fr 1fr;gap:8px;padding:8px}.dpr-summary-card{align-items:start;display:grid;grid-template-columns:auto 1fr 1fr;gap:16px}.dpr-summary-card dl,.dpr-report-grid dl{display:grid;grid-template-columns:1fr auto;margin:0}.dpr-summary-card dt,.dpr-summary-card dd,.dpr-report-grid dt,.dpr-report-grid dd{border-bottom:1px solid #e7edf5;margin:0;padding:7px}.dpr-error{background:#ffe9eb;color:#a51e2a;margin:10px 16px 0;padding:9px}.dpr-empty{color:#71809a;padding:28px;text-align:center}.dp2-sidebar nav button span{font-weight:650}@media(max-width:1100px){.dpr-dashboard-grid,.dpr-report-grid{grid-template-columns:1fr}.dpr-wizard-steps span{display:none}.dpr-people{grid-template-columns:1fr}}@media(max-width:760px){.dpr-form-grid{grid-template-columns:1fr}.dpr-form-grid .wide{grid-column:auto}.dpr-summary-card{grid-template-columns:1fr}.dpr-plan-cards{grid-template-columns:1fr}}
.dpr-validation-choice{display:grid!important;padding:10px 12px 12px}.dpr-validation-choice legend{color:#425675;font-size:11px;font-weight:700;padding:0 5px}.dpr-validation-choice>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dpr-validation-choice label{align-items:center;background:#fff;border:1px solid #ccd8e8;border-radius:8px;cursor:pointer;display:flex;gap:9px;padding:10px 12px}.dpr-validation-choice label.selected{background:#edf5ff;border-color:#1769eb;box-shadow:0 0 0 1px #1769eb}.dpr-validation-choice input{accent-color:#0756d9;height:17px!important;min-height:0!important;padding:0!important;width:17px!important}.dpr-validation-choice span{display:grid;gap:2px}.dpr-validation-choice b{color:#142951;font-size:12px}.dpr-validation-choice small{color:#657590;font-size:10px}.dpr-option-editor>label{color:#425675;display:block;font-size:11px;font-weight:650;margin-bottom:4px}.dpr-option-entry{display:flex;gap:8px}.dpr-option-entry input{flex:1}.dpr-option-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.dpr-option-tags>span{align-items:center;background:#eaf2ff;border:1px solid #bed3f2;border-radius:99px;color:#12376e;display:inline-flex;font-size:11px;font-weight:650;gap:6px;padding:6px 9px}.dpr-option-tags button{background:transparent;border:0;color:#a51e2a;cursor:pointer;font-size:16px;font-weight:800;line-height:1;padding:0}.dpr-option-tags small{color:#71809a}@media(max-width:760px){.dpr-validation-choice>div{grid-template-columns:1fr}}
.dpr-material-picker{background:#fff;border:1px solid #c7d6ea;border-radius:9px;display:grid;gap:10px;padding:12px}.dpr-material-picker-title{align-items:start;display:flex;justify-content:space-between}.dpr-material-picker-title>div{display:grid;gap:2px}.dpr-material-picker-title b{color:#1a315c;font-size:12px}.dpr-material-picker-title small{color:#657590;font-size:10px}.dpr-material-selected{align-items:center;background:#edf8f1;border:1px solid #a9d8bb;border-radius:8px;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;padding:10px}.dpr-material-selected>span{align-items:center;background:#168348;border-radius:50%;color:#fff;display:flex;font-weight:800;height:28px;justify-content:center;width:28px}.dpr-material-selected>div,.dpr-material-results article>div{display:grid;gap:2px;min-width:0}.dpr-material-selected small,.dpr-material-results small{color:#47617e;font-size:9px;font-weight:750;letter-spacing:.03em}.dpr-material-selected b,.dpr-material-results b{color:#122a54;font-size:12px;overflow-wrap:anywhere}.dpr-material-selected em,.dpr-material-results em{color:#61718c;font-size:10px;font-style:normal;overflow-wrap:anywhere}.dpr-material-search{display:grid;gap:4px}.dpr-material-search>label{color:#425675;font-size:11px;font-weight:700}.dpr-material-search>div{display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto}.dpr-material-search input{font-size:12px;width:100%}.dpr-material-search>small{color:#687894;font-size:10px}.dpr-material-results{display:grid;gap:6px;max-height:215px;overflow:auto}.dpr-material-results article{align-items:center;border:1px solid #d6e0ed;border-radius:7px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;padding:9px}.dpr-material-results article[aria-selected="true"]{background:#edf5ff;border-color:#3a7bdf}.dpr-material-message{background:#f5f8fc;border-radius:7px;color:#667793;font-size:11px;padding:12px;text-align:center}.dpr-material-message.error{background:#fff0f1;color:#a51e2a}@media(max-width:760px){.dpr-material-selected,.dpr-material-results article{grid-template-columns:auto minmax(0,1fr)}.dpr-material-selected .btn,.dpr-material-results .btn{grid-column:1/-1}.dpr-material-search>div{grid-template-columns:1fr}.dpr-material-search .btn{width:100%}}

/* Contrato transversal de interacción DataPlan: la caja visual completa pertenece al control. */
.dp2-app button:not(:disabled),
.dp2-app [role="button"]:not([aria-disabled="true"]),
#dataplan-admin-dialog button:not(:disabled),
#dataplan-confirm-dialog button:not(:disabled){cursor:pointer}
.dp2-app button:disabled,
#dataplan-admin-dialog button:disabled,
#dataplan-confirm-dialog button:disabled{cursor:not-allowed}
.dp2-app button>*,
#dataplan-admin-dialog button>*,
#dataplan-confirm-dialog button>*{pointer-events:none}
.dp2-app [role="button"]:focus-visible{outline:3px solid #75a7eb;outline-offset:-3px}

/* El pie del asistente debe quedar por encima de cualquier contrato legado de barra inferior. */
.dp2-app .dp-desktop-main::after{content:none!important;display:none!important;pointer-events:none!important}
.dpr-plan-editor-page .dpr-wizard>footer{position:relative;z-index:30;isolation:isolate;background:#fff;pointer-events:auto!important}
.dpr-plan-editor-page .dpr-wizard>footer .btn{position:relative;z-index:1;min-height:44px;pointer-events:auto!important}

.dpr-report-actions{display:flex;flex-wrap:wrap;gap:8px}.dpr-report-filters{align-items:end}.dpr-report-scope-note{align-self:stretch;display:flex;align-items:center;max-width:390px;padding:8px 12px;border:1px solid #bed3f2;border-radius:7px;background:#edf5ff;color:#315279;font-size:11px}.dpr-report-document{display:grid;gap:12px}.dpr-report-cover{align-items:center;display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--dpr-line);border-radius:10px;background:linear-gradient(120deg,#fff,#edf5ff)}.dpr-report-cover>div{align-items:center;display:flex;gap:12px}.dpr-report-cover small{color:#0756d9;font-size:10px;font-weight:850;letter-spacing:.08em}.dpr-report-cover h2{margin:2px 0;color:#102453;font-size:22px}.dpr-report-cover p{margin:0;color:#60708f}.dpr-report-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.dpr-report-kpis article{display:grid;gap:5px;padding:13px;border:1px solid var(--dpr-line);border-radius:9px;background:#fff}.dpr-report-kpis small{color:#60708f;font-size:10px;font-weight:750;text-transform:uppercase}.dpr-report-kpis b{color:#102453;font-size:20px}.dpr-report-kpis .danger{background:#fff1f2;border-color:#efb5bb}.dpr-report-kpis .danger b{color:#b4233c}.dpr-report-kpis .ok{background:#effaf3;border-color:#b9dfc7}.dpr-report-kpis .ok b{color:#168348}.dpr-report-summary-table{margin:0}.dpr-report-summary-table td:first-child{align-items:center;display:flex;gap:6px}.dpr-report-section-title{margin:5px 0}.dpr-report-section-title h2{margin:0;color:#0647bd;font-size:15px}.dpr-report-section-title p{margin:3px 0;color:#60708f}.dpr-report-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dpr-report-element-chart{min-width:0}.dpr-report-element-chart header{align-items:center}.dpr-report-element-chart header>div{align-items:center;display:flex;gap:8px}.dpr-report-element-chart header span{min-width:0}.dpr-report-element-chart header h2{margin:0}.dpr-report-element-chart header small{white-space:nowrap}.dpr-report-reading-table{margin:0}.dpr-report-reading-table td:nth-child(3){white-space:nowrap}@media(max-width:1200px){.dpr-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dpr-report-chart-grid{grid-template-columns:1fr}}@media(max-width:760px){.dpr-report-actions{width:100%}.dpr-report-actions .btn{flex:1}.dpr-report-cover{align-items:flex-start;flex-direction:column}.dpr-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dpr-report-scope-note{max-width:none}.dpr-report-chart-grid{grid-template-columns:1fr}}
.dp2-app .dp-desktop-content:has(>.dpr-plan-editor-page){overflow:hidden}.dpr-plan-editor-page{display:grid;gap:8px;grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0}.dpr-plan-editor-page>.dpr-title{align-items:center;margin:0}.dpr-plan-editor-page>.dpr-title h1{margin-bottom:2px}.dpr-plan-editor-page>.dpr-title .btn{min-height:36px;padding-block:7px}.dpr-plan-editor-page>.dpr-plan-management{margin:0;padding:8px 12px}.dpr-plan-editor-page .dpr-plan-actions .btn{min-height:36px;padding-block:7px}.dpr-plan-editor-page>.dpr-wizard{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden}.dpr-plan-editor-page .dpr-wizard-steps button{min-height:44px;padding:8px 12px}.dpr-plan-editor-page .dpr-wizard-content{min-height:0;overflow:auto;padding:12px 16px}.dpr-plan-editor-page .dpr-wizard>footer{padding:8px 16px}.dpr-schedule-grid{gap:8px 12px}.dpr-schedule-grid input,.dpr-schedule-grid select{min-height:36px!important}.dpr-schedule-times{display:grid;gap:5px;min-width:0}.dpr-schedule-times>label,.dpr-time-entry label,.dpr-schedule-days legend{color:#425675;font-size:13px;font-weight:650}.dpr-time-entry{align-items:end;display:grid;gap:8px;grid-template-columns:minmax(120px,220px) auto}.dpr-time-entry label{display:grid;gap:4px}.dpr-time-tags{display:flex;flex-wrap:wrap;gap:6px;min-height:28px}.dpr-time-tags .dpr-person{align-items:center;display:inline-flex;gap:6px;margin:0;padding:5px 9px}.dpr-time-tags button{background:transparent;border:0;color:#a51e2a;cursor:pointer;font-size:16px;font-weight:800;line-height:1;padding:0}.dpr-schedule-days{align-content:start;align-items:center;display:flex!important;flex-wrap:wrap;gap:9px 14px!important;margin:0;min-width:0;padding:8px 12px}.dpr-schedule-days legend{padding:0 5px}.dpr-schedule-days label{align-items:center;display:flex;gap:5px;white-space:nowrap}.dpr-schedule-days input{min-height:0!important;padding:0}@media(max-width:900px){.dp2-app .dp-desktop-content:has(>.dpr-plan-editor-page){overflow:auto}.dpr-plan-editor-page{height:auto}.dpr-plan-editor-page>.dpr-wizard{overflow:visible}.dpr-plan-editor-page .dpr-wizard-content{overflow:visible}.dpr-schedule-times,.dpr-schedule-days{grid-column:1/-1}}

.dpr-take-schedule{margin-top:14px;padding:14px;border:1px solid #cedbed;border-radius:10px;background:#f8fbff}.dpr-take-schedule h4{margin:0 0 4px}.dpr-take-schedule>p{margin:0 0 12px;color:#5b6f91}.dpr-take-schedule .dpr-time-entry{margin-top:12px}.dpr-take-schedule>label{display:block;margin-top:12px;max-width:280px}

.dpr-time-tags{display:flex;flex-wrap:wrap;gap:8px}.dpr-take-time-row{display:flex!important;align-items:center;gap:6px;padding:6px;border:1px solid #cfdaea;border-radius:10px;background:#fff}.dpr-take-time-row input{width:112px!important}.dpr-take-time-row button{min-height:38px;border:0;border-radius:7px;padding:0 10px;background:#fff0f0;color:#b4232a;font-weight:700;cursor:pointer}
.dpr-take-time-row.dpr-plan-time{background:#eef6ff;border-color:#9fc3ef}.dpr-take-time-row.dpr-plan-time span{color:#31577f;font-size:13px;font-weight:700}.dpr-take-time-row.dpr-plan-time input{opacity:1;color:#0b3c78}
/* Horarios históricos integrados en las columnas del plan y del elemento. */
.dpr-saved-time{display:block!important;margin-top:5px;color:#526681;font-size:11px;line-height:1.35;white-space:normal}
.dpr-timing-status{display:inline-block;margin-top:5px;padding:3px 6px;border-radius:5px;font-size:11px;font-weight:750;line-height:1.35;background:#edf1f6;color:#61718c;white-space:normal}
.dpr-timing-status.on_time{background:#eaf8ef;color:#137746}
.dpr-timing-status.early,.dpr-timing-status.late{background:#fff3df;color:#8b5000}
.dpr-timing-report{padding:12px;border:1px solid #d7e1ef;border-radius:8px;background:#f7faff;margin:10px 0}
.dpr-timing-report h2{font-size:13px;margin:0}.dpr-timing-report p{margin:6px 0}.dpr-timing-report small{color:#536783;line-height:1.4}
.dpr-chart-timing-legend{font-size:11px;color:#536783;line-height:1.4}
.dpr-chart circle[data-timing="LATE"],.dpr-chart circle[data-timing="EARLY"]{paint-order:stroke;stroke:#d57a00;stroke-width:6}
.dpr-chart circle.danger{fill:#dc3545}
.dpr-records-table td.dpr-record-actions{display:table-cell;vertical-align:middle}
.dpr-report-document .dpr-report-summary-table td:first-child{display:table-cell}
.dpr-report-summary-table{min-width:0}.dpr-report-summary-table table{table-layout:fixed;width:100%;min-width:0}.dpr-report-summary-table th,.dpr-report-summary-table td{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;padding:8px;line-height:20px}.dpr-report-summary-table th{font-size:12px}.dpr-report-summary-table td{font-size:14px;height:57px}.dpr-report-summary-table .dpr-summary-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-height:40px;line-height:20px;white-space:normal;overflow-wrap:anywhere}.dpr-summary-element{display:flex;align-items:center;gap:7px;min-width:0;font-weight:700}.dpr-summary-element .dpr-icon{flex-shrink:0}.dpr-summary-value{font-size:17px!important;font-weight:750}.dpr-summary-empty{color:#60708f}.dpr-summary-incident{color:#b4233c}.dpr-report-summary-table .dpr-report-photos{height:40px}.dpr-report-summary-table .dpr-report-photos a{height:40px;box-sizing:border-box}.dpr-report-summary-table .dpr-report-photos img{width:48px;height:38px}.dpr-summary-sparkline{display:block;width:100%;height:40px;overflow:hidden}.dpr-summary-sparkline polyline{fill:none;stroke:#0756d9;stroke-width:1.8}.dpr-summary-sparkline circle{fill:#0756d9;stroke:white;stroke-width:.7}.dpr-summary-sparkline circle.danger{fill:#bd202c}.dpr-report-summary-table th:nth-child(1){width:23%}.dpr-report-summary-table th:nth-child(2){width:12%}.dpr-report-summary-table th:nth-child(3){width:10%}.dpr-report-summary-table th:nth-child(4){width:20%}.dpr-report-summary-table th:nth-child(5){width:20%}.dpr-report-summary-table th:nth-child(6){width:15%}
.dpr-report-summary-table td small{display:block}
.dpr-chart-point-label{pointer-events:none}.dpr-chart-point-label text{font-size:14px;font-weight:750;fill:#102453;stroke:#fff;stroke-width:4px;paint-order:stroke;stroke-linejoin:round}.dpr-chart-point-label line{stroke:#71809a;stroke-width:.7}

/* Evolución cronológica: el desbordamiento pertenece a la gráfica, nunca al informe. */
.dpr-chart-frame,.dpr-summary-chart-frame,.dpr-summary-chart-scroll{max-width:100%;min-width:0;overflow:hidden}
.dpr-chart-frame .dpr-chart{display:block;height:auto;width:100%}.dpr-chart-frame.wide{width:100%}.dpr-chart-frame.wide .dpr-chart{min-height:250px}
.dpr-day-group rect{fill:#f4f8fd}.dpr-day-group.alternate rect{fill:#e9f2ff}.dpr-day-group text{fill:#405978;font-size:11px;font-weight:750}.dpr-day-group text tspan:last-child{font-size:10px;font-weight:700}
.dpr-chart-axis{stroke:#93a4ba;stroke-width:1}.dpr-point-guide,.dpr-summary-guide{stroke:#9aabc0;stroke-width:.8;stroke-dasharray:3 4;opacity:.8}
.dpr-point-value{fill:#102453;font-size:12px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.dpr-point-state-icon{fill:#8b3b00;font-size:12px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:3px}.dpr-range-band{opacity:.62}
.dpr-inclusive-range-note{border-left:4px solid #d43b47;background:#fff3f4;color:#78212a;margin-bottom:9px}

.dpr-summary-heading{align-items:end;display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.dpr-summary-heading h2{margin:0}.dpr-summary-heading label{color:#425675;display:grid;font-size:11px;font-weight:700;gap:3px}.dpr-summary-heading select{border:1px solid #cbd7e8;border-radius:6px;min-height:32px;padding:5px 8px;background:#fff;color:#15284f}
.dpr-report-summary-table td{height:108px}.dpr-summary-evolution{align-items:center;display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:7px;min-width:0}.dpr-summary-chart-scroll{min-width:0}.dpr-summary-sparkline{display:block;height:96px;max-width:none}.dpr-summary-sparkline .dpr-summary-area{fill:#cfe1ff;opacity:.68}.dpr-summary-sparkline polyline{fill:none;stroke:#168348;stroke-width:2.2}.dpr-summary-sparkline circle{fill:#168348;stroke:#fff;stroke-width:1}.dpr-summary-sparkline circle.danger{fill:#bd202c}.dpr-summary-sparkline circle[data-timing="LATE"],.dpr-summary-sparkline circle[data-timing="EARLY"]{paint-order:stroke;stroke:#d57a00;stroke-width:3}.dpr-summary-state{fill:#7c3300;font-size:8px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:2px}.dpr-summary-scale{fill:#4c617d;font-size:8px}.dpr-summary-date{fill:#536783;font-size:8px}.dpr-summary-delta{display:grid;gap:2px;text-align:right}.dpr-summary-delta>b{color:#102453;font-size:16px}.dpr-summary-delta span{font-size:11px;font-weight:800}.dpr-summary-delta .up{color:#0756d9}.dpr-summary-delta .down{color:#a72532}.dpr-summary-delta .equal{color:#536783}.dpr-summary-delta small{color:#536783;font-size:9px}
.dpr-report-summary-table th:nth-child(1){width:18%}.dpr-report-summary-table th:nth-child(2){width:10%}.dpr-report-summary-table th:nth-child(3){width:9%}.dpr-report-summary-table th:nth-child(4){width:14%}.dpr-report-summary-table th:nth-child(5){width:16%}.dpr-report-summary-table th:nth-child(6){width:33%}
@media(max-width:1000px){.dpr-summary-evolution{grid-template-columns:minmax(0,1fr) 78px}.dpr-report-summary-table th:nth-child(1){width:17%}.dpr-report-summary-table th:nth-child(6){width:34%}}
@media print{.dpr-chart-scroll,.dpr-summary-chart-scroll{overflow:visible}.dpr-chart-scroll .dpr-chart,.dpr-summary-sparkline{max-width:100%;width:100%!important}}

/* Las gráficas se escalan siempre dentro de su panel: nunca generan scroll propio. */
.dpr-report-chart-grid{grid-template-columns:minmax(0,1fr)}
.dpr-summary-chart-scroll{overflow:hidden}.dpr-summary-sparkline{max-width:100%;width:100%!important}
@media print{.dpr-chart-frame,.dpr-summary-chart-scroll{overflow:hidden}.dpr-report-chart-grid{grid-template-columns:minmax(0,1fr)!important}}
.dpr-report-photos{display:flex;flex-wrap:wrap;gap:5px}.dpr-report-photos a{display:block;max-width:100%;border:1px solid #cfdaea;border-radius:5px;overflow:hidden}.dpr-report-photos img{display:block;width:56px;height:48px;max-width:100%;object-fit:contain;background:#f4f7fb}.dpr-report-no-photo{color:#71809a;font-size:11px}.dpr-report-comment,.dpr-report-incident small{white-space:pre-wrap;overflow-wrap:anywhere}.dpr-report-incident small{margin-top:6px;line-height:1.4}
.dpr-chart polyline{stroke:#f2bd24;stroke-width:2.6}
.dpr-chart circle{fill:#52bd72;stroke:#fff;stroke-width:2}
.dpr-chart circle.danger{fill:#ef6a71;stroke:#fff}
.dpr-option-evolution{display:grid;gap:12px}.dpr-option-chart{min-height:220px}.dpr-option-lane rect{fill:#f6f8fb;stroke:#e1e8f2;stroke-width:1}.dpr-option-lane:nth-child(even) rect{fill:#eef3f9}.dpr-option-lane text,.dpr-option-day{fill:#445a7a;font-size:11px;font-weight:700}.dpr-option-point circle{fill:#1769eb;stroke:#fff;stroke-width:2}.dpr-option-point circle.danger{fill:#e53b47}.dpr-option-history{border-top:1px solid #e1e8f2;padding-top:10px}.dpr-option-history h3{color:#102453;font-size:13px;margin:0 0 8px}.dpr-option-history ol{display:grid;gap:5px;list-style:none;margin:0;max-height:210px;overflow:auto;padding:0}.dpr-option-history li{align-items:center;background:#f7f9fc;border-left:4px solid #1769eb;border-radius:6px;display:grid;gap:8px;grid-template-columns:minmax(120px,1fr) auto auto;padding:7px 9px}.dpr-option-history li.danger{border-left-color:#e53b47}.dpr-option-history li span,.dpr-option-history li small{color:#5e708c}@media(max-width:760px){.dpr-option-history li{grid-template-columns:1fr}.dpr-option-history li span,.dpr-option-history li small{display:block}}
.dpr-level-grid line{stroke:#dce6f2;stroke-width:.8}.dpr-level-grid text{fill:#71809a;font-size:9px}
.dpr-range-band{fill:#fff0f2}
.dpr-day-group rect{fill:#f5f6f8}.dpr-day-group.alternate rect{fill:#eef1f5}.dpr-day-group text{fill:#102453;font-size:11px;font-weight:850}
.dpr-report-reading-table col:nth-child(1){width:11%}.dpr-report-reading-table col:nth-child(2){width:13%}.dpr-report-reading-table col:nth-child(3){width:15%}.dpr-report-reading-table col:nth-child(4){width:20%}.dpr-report-reading-table col:nth-child(5){width:6%}.dpr-report-reading-table col:nth-child(6){width:7%}.dpr-report-reading-table col:nth-child(7){width:8%}.dpr-report-reading-table col:nth-child(8){width:9%}.dpr-report-reading-table col:nth-child(9){width:11%}
.dpr-report-reading-table th{font-size:11px}.dpr-report-reading-table td{font-size:13px;vertical-align:middle}
.dpr-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dpr-admin-grid article{display:grid;align-content:start;gap:9px}.dpr-admin-grid article>small{color:#536783;font-weight:800}.dpr-admin-grid article>b{color:#0756d9;font-size:30px}.dpr-admin-grid article .btn{justify-self:start;margin-top:5px}
@media(max-width:1000px){.dpr-admin-grid{grid-template-columns:1fr}}
.dpr-admin-manager{display:grid;gap:12px}.dpr-manager-count{align-items:center;color:#526681;display:flex;font-weight:700}.dpr-admin-incident-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dpr-admin-incident{border-left:5px solid #168348;display:grid;gap:8px}.dpr-admin-incident.open{border-left-color:#d23b47}.dpr-admin-incident header,.dpr-admin-incident footer{align-items:center;display:flex;gap:8px;justify-content:space-between}.dpr-admin-incident h2,.dpr-admin-incident p{margin:0}.dpr-admin-incident dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}.dpr-admin-incident dl div{background:#f5f8fc;border-radius:7px;padding:8px}.dpr-admin-incident dt,.dpr-admin-incident dd{margin:0}.dpr-admin-incident dt{color:#62738e;font-size:10px;font-weight:700}.dpr-admin-incident dd{font-weight:750}.dpr-admin-resolution{background:#edf8f1;border-radius:8px;display:grid;gap:3px;padding:9px}.dpr-admin-resolution small{color:#536783}.dpr-photo-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dpr-photo-manager-card{display:grid;gap:10px;grid-template-columns:128px minmax(0,1fr)}.dpr-photo-manager-card>a{background:#f3f6fa;border-radius:8px;height:112px;overflow:hidden}.dpr-photo-manager-card img{height:100%;object-fit:contain;width:100%}.dpr-photo-manager-card h2,.dpr-photo-manager-card p{margin:0}.dpr-photo-manager-card>div{display:grid;gap:4px;min-width:0}.dpr-photo-manager-card small{color:#536783;overflow-wrap:anywhere}.dpr-photo-manager-card footer{display:flex;flex-wrap:wrap;gap:6px;grid-column:1/-1}.dpr-retention-intro{align-items:center;display:flex;gap:20px;justify-content:space-between}.dpr-retention-intro h2,.dpr-retention-intro p{margin:0}.dpr-retention-intro p{margin-top:5px;max-width:900px}.dpr-retention-table table{table-layout:fixed;width:100%}.dpr-retention-table th:nth-child(1){width:19%}.dpr-retention-table th:nth-child(2){width:14%}.dpr-retention-table th:nth-child(3){width:17%}.dpr-retention-table th:nth-child(4){width:18%}.dpr-retention-table th:nth-child(5){width:14%}.dpr-retention-table th:nth-child(6){width:18%}.dpr-retention-table td{vertical-align:middle}.dpr-retention-table td small{color:#60708f;display:block;margin-top:4px}.dpr-retention-table select{max-width:100%;width:100%}.dpr-incident-editor{width:min(720px,calc(100vw - 32px))}.dpr-incident-editor form{display:grid;gap:12px;padding:16px}.dpr-incident-editor form>label,.dpr-incident-editor .dpr-form-grid label{color:#425675;display:grid;font-size:12px;font-weight:700;gap:5px}.dpr-incident-editor select,.dpr-incident-editor textarea{border:1px solid #c7d5e8;border-radius:7px;font:inherit;padding:8px;width:100%}.dpr-incident-editor textarea{min-height:82px;resize:vertical}.dpr-incident-editor-data{background:#f3f7fc;border-radius:8px;display:grid;gap:4px;padding:10px}.dpr-incident-editor footer{display:flex;gap:8px;justify-content:flex-end}@media(max-width:1200px){.dpr-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dpr-photo-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.dpr-admin-grid,.dpr-admin-incident-list,.dpr-photo-manager-grid{grid-template-columns:1fr}.dpr-retention-intro{align-items:flex-start;flex-direction:column}.dpr-retention-table{overflow:auto}.dpr-photo-manager-card{grid-template-columns:92px minmax(0,1fr)}}
.dpr-record-reading-actions{display:flex;justify-content:flex-end;margin-top:10px}.dpr-record-edit-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 32px)}.dpr-record-edit-dialog form{display:grid;gap:12px;padding:16px;overflow:auto}.dpr-record-edit-dialog form>label{color:#425675;display:grid;font-size:12px;font-weight:700;gap:5px}.dpr-record-edit-dialog input,.dpr-record-edit-dialog select,.dpr-record-edit-dialog textarea{background:#fff;border:1px solid #c7d5e8;border-radius:7px;color:#15284f;font:inherit;min-height:38px;padding:8px;width:100%}.dpr-record-edit-dialog textarea{min-height:78px;resize:vertical}.dpr-record-edit-dialog fieldset{border:1px solid #d5dfed;border-radius:9px;display:grid;gap:8px;margin:0;padding:10px}.dpr-record-edit-dialog legend{color:#425675;font-size:12px;font-weight:800;padding:0 5px}.dpr-record-edit-photo{align-items:center;background:#f7faff;border:1px solid #dbe4ef;border-radius:8px;display:grid;gap:10px;grid-template-columns:72px minmax(0,1fr);padding:8px}.dpr-record-edit-photo img{background:#fff;border-radius:6px;height:58px;object-fit:contain;width:72px}.dpr-record-edit-photo span{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.dpr-record-edit-photo small{align-items:center;color:#a02531;display:flex;font-weight:700;gap:7px}.dpr-record-edit-photo input[type="checkbox"]{min-height:0;width:auto}.dpr-record-edit-dialog footer{display:flex;gap:8px;justify-content:flex-end;margin-top:2px}@media(max-width:620px){.dpr-record-edit-dialog{width:calc(100vw - 18px)}.dpr-record-edit-photo{grid-template-columns:56px minmax(0,1fr)}.dpr-record-edit-photo img{height:48px;width:56px}}

/* Jerarquía común: el valor es siempre más visible que sus datos de contexto. */
.dpr-element-table tbody td:nth-child(3),
.dpr-summary-value,
.dpr-admin-incident dl>div:first-child dd{color:#061d49;font-size:19px!important;font-weight:400;letter-spacing:.01em;line-height:1.15}
.dpr-element-table tbody td:nth-child(3){background:#eef6ff}
.dpr-admin-incident dl>div:first-child{background:#eaf3ff;border:1px solid #a9c9f5}
.dpr-summary-value{font-size:18px!important;font-weight:400}
.dpr-point-value{font-size:13px;font-weight:400!important}
.dpr-summary-delta>b{font-size:17px;font-weight:400}
.dpr-option-history li>b,.dpr-state-timeline span>b{color:#061d49;font-size:17px;font-weight:400}
.dpr-text-value{font-size:15px!important;font-weight:400!important;letter-spacing:normal!important;line-height:1.35!important}
