/* Contrato visual DataPlan aprobado: cabecera blanca, navegación azul y contenido compacto. */
.dp-desktop-app{--dp-blue:#0759c9;--dp-blue-dark:#073d91;--dp-navy:#082a68;--dp-line:#d4dfed;--dp-ink:#09245a;--dp-muted:#536783;grid-template-columns:190px minmax(0,1fr);height:100vh;min-height:640px;background:#fff;color:var(--dp-ink);overflow:hidden;font-family:"Segoe UI",Arial,sans-serif}
.dp-desktop-sidebar{height:100vh;padding:72px 10px 42px;position:relative;top:auto;background:linear-gradient(180deg,var(--dp-blue-dark),#0054bd);color:#fff;overflow-y:auto;overflow-x:hidden}
.dp-desktop-brand{position:absolute;z-index:2;top:0;left:0;width:190px;height:64px;box-sizing:border-box;padding:0 17px;gap:10px;background:#fff;color:var(--dp-ink);font-size:17px;border-right:1px solid var(--dp-line);border-bottom:1px solid var(--dp-line)}
.dp-desktop-logo{width:31px;height:36px;border-radius:4px;background:#fff;color:var(--dp-blue);border:2px solid var(--dp-blue);font-size:18px;box-shadow:none}
.dp-suite-return{border:1px solid #ffffff55;background:#ffffff12;color:#fff;border-radius:5px;padding:8px 10px;font-size:11px}
.dp-desktop-sidebar h5{margin:15px 9px 6px;color:#bed5fa;font-size:9px;letter-spacing:.11em}
.dp-desktop-sidebar>button:not(.dp-suite-return){min-height:38px;margin:2px 0;padding:9px 10px;border-radius:4px;color:#fff;font-size:12px;gap:9px}
.dp-desktop-sidebar>button:not(.dp-suite-return):hover{background:#ffffff16}
.dp-desktop-sidebar>button.active{background:#fff!important;color:var(--dp-blue-dark)!important;font-weight:800}
.dp-desktop-sidebar>button:not(.dp-suite-return)>span{width:16px;font-size:14px}
.dp-desktop-main{height:100vh;display:grid;grid-template-rows:64px minmax(0,1fr) 32px;background:#fff;overflow:hidden}
.dp-desktop-topbar{height:64px;position:relative;top:auto;z-index:5;padding:0 18px;background:#fff;border-bottom:1px solid var(--dp-line);gap:12px;justify-content:flex-start}
.dp-module-search{width:min(330px,36vw);height:34px;margin-right:auto;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--dp-line);border-radius:5px;color:#70819a;background:#fff}
.dp-module-search input{min-width:0;width:100%;height:100%;border:0;outline:0;background:transparent;color:var(--dp-ink);font:inherit;font-size:12px}
.dp-header-tools{display:flex;align-items:center;gap:6px}.dp-header-tools button{position:relative;width:31px;height:31px;border:0;background:#fff;color:var(--dp-ink);border-radius:50%;font-weight:800}.dp-header-tools button:hover{background:#edf4ff}.dp-header-tools sup{position:absolute;top:0;right:0;min-width:14px;height:14px;border-radius:9px;background:#e42e3d;color:#fff;font-size:8px;display:grid;place-items:center}
.dp-desktop-user{gap:8px;font-size:12px}.dp-desktop-user small{font-size:10px}.dp-desktop-user .desktop-profile-trigger{width:34px;height:34px;border:0;border-radius:50%;background:#6ca6e8;color:#fff;font-weight:800}.dp-online{font-size:10px;padding:4px 7px}
.dp-desktop-content{min-height:0;padding:16px 18px 18px;background:#fff;overflow:auto}
.dp-desktop-content h1,.dp-desktop-content h2,.dp-desktop-content h3{color:var(--dp-ink)}
.dp-desktop-content .section-title,.dp-dashboard-heading{margin-bottom:12px}.dp-desktop-content .section-title h2,.dp-dashboard-heading h2{font-size:20px}.dp-source-spread h1{font-size:20px}
.dp-desktop-content .panel,.dp-desktop-content .kpi,.dp-desktop-content .table-wrap,.dp-report-filters{border:1px solid var(--dp-line);border-radius:6px;box-shadow:none;background:#fff}
.dp-desktop-content .panel{padding:14px}.dp-desktop-content .kpi{padding:13px}.dp-desktop-content .desk-kpis{gap:10px}.dp-desktop-content .kpi b{color:var(--dp-ink)}
.dp-desktop-content .btn{border-radius:4px;min-height:34px}.dp-desktop-content .btn.primary{background:linear-gradient(180deg,#0870db,var(--dp-blue));border-color:var(--dp-blue)}.dp-desktop-content .btn.soft{background:#fff;color:var(--dp-blue);border:1px solid #a9c8ef}
.dp-desktop-content input,.dp-desktop-content select,.dp-desktop-content textarea{border-radius:4px!important;border-color:var(--dp-line)!important}.dp-source-tabs{margin-bottom:13px}.dp-source-tabs button{padding:9px 12px;font-size:12px}.dp-source-tabs button.active{color:var(--dp-blue);border-color:var(--dp-blue)}
.dp-dashboard-grid,.dp-editor-grid,.dp-general-grid,.dp-report-chart-grid{gap:10px}.dp-dashboard-order,.dp-dashboard-alert,.dp-indicator,.dp-order-preview{border-radius:5px;box-shadow:none}.dp-report-page{gap:10px}.dp-report-head h2{font-size:22px}.dp-report-filters{border-radius:6px}.dp-indicator-grid{gap:8px}
.dp-desktop-status{height:32px;box-sizing:border-box;padding:0 14px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;background:linear-gradient(90deg,var(--dp-blue-dark),#0065cf);color:#fff;font-size:9px}.dp-desktop-status span:nth-child(2){text-align:center}.dp-desktop-status span:last-child{text-align:right}.dp-desktop-status i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#6cda71;border:1px solid #fff}
@media(max-width:900px){.dp-desktop-app{grid-template-columns:64px minmax(0,1fr)}.dp-desktop-sidebar{display:block;height:100vh;padding:72px 7px 42px}.dp-desktop-brand{width:64px;padding:0 15px}.dp-desktop-brand>span:last-child,.dp-desktop-sidebar h5,.dp-suite-return{display:none}.dp-desktop-sidebar>button:not(.dp-suite-return){width:100%!important;min-width:0!important;justify-content:center;font-size:0}.dp-desktop-sidebar>button:not(.dp-suite-return)>span{font-size:15px}.dp-desktop-main{grid-column:2}.dp-desktop-user>div:last-child,.dp-online{display:none}.dp-desktop-content{padding:12px}.dp-desktop-status{grid-template-columns:1fr 1fr}.dp-desktop-status span:last-child{display:none}}
@media(max-width:650px){.dp-module-search{width:100%}.dp-header-tools{display:none}.dp-desktop-status{grid-template-columns:1fr}.dp-desktop-status span:nth-child(2){display:none}.dp-report-head{align-items:flex-start}.dp-desktop-app{min-height:100dvh}}
@media print{body.dp-print-report .dp-desktop-status{display:none!important}}
