
/* Dashboard cliente v1.36.4: conserva navegación y modifica únicamente el resumen. */
#dashboardPage .manifest-chart-card{background:transparent;border:0;box-shadow:none;padding:0}
#dashboardPage .manifest-chart-heading{display:flex!important;align-items:center!important;justify-content:space-between;gap:12px;margin-bottom:12px;padding:0 2px}
#dashboardPage .manifest-chart-heading>div:first-child h3{font-size:18px;margin:0;color:#17365f}
#dashboardPage .manifest-chart-heading>div:first-child p{display:none}
#dashboardPage .manifest-chart-heading label:has(#dashboardSupplier){display:none!important}
#dashboardPage .manifest-chart-heading .dashboard-date-filter{width:170px!important;min-width:170px!important;gap:4px!important}
#dashboardPage .manifest-chart-heading .dashboard-date-filter span{font-size:10px!important;color:#71839a!important;text-transform:none!important}
#dashboardPage .manifest-chart-heading .dashboard-date-filter input{height:36px!important;border-radius:9px!important;padding:0 10px!important;font-size:13px!important;font-weight:700!important}
#dashboardPage .manifest-distribution{display:block}
.client-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.client-dashboard-card{min-width:0;border:1px solid #dbe6f2;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(16,48,82,.07);overflow:hidden}
.client-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px 10px;border-bottom:1px solid #edf2f7}
.client-card-header h3{margin:0 0 3px;font-size:17px;color:#12345b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-card-header span{font-size:12px;font-weight:700;color:#71839a}
.client-card-date{display:flex;align-items:flex-end;flex-direction:column;gap:1px;flex:0 0 auto;padding:5px 8px;border-radius:8px;background:#f5f8fc}
.client-card-date small{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#8796aa}
.client-card-date b{font-size:11px;color:#35506f}
.client-card-tabs{display:flex;gap:5px;padding:9px 14px 0;overflow:auto}
.client-card-tabs button{border:0;border-radius:8px;background:#edf3f9;color:#526b86;padding:7px 10px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}
.client-card-tabs button.active{background:#0b63b6;color:#fff}
.client-card-body{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:10px;padding:12px 14px 15px}
.client-donut-panel{min-width:0;border:1px solid #edf2f7;border-radius:13px;background:#fbfdff;padding:11px}
.client-donut-panel h4{margin:0 0 9px;font-size:10px;letter-spacing:.055em;color:#58708b;text-align:center}
.client-donut{width:150px;height:150px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;position:relative}
.client-donut:after{content:"";position:absolute;inset:23px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #edf2f7}
.client-donut>div{position:relative;z-index:1;text-align:center;max-width:105px}
.client-donut strong{display:block;font-size:20px;line-height:1.05;color:#12345b;overflow:hidden;text-overflow:ellipsis}
.client-donut b{display:block;margin-top:4px;font-size:9px;letter-spacing:.07em;color:#657990}
.client-donut small{display:block;margin-top:3px;font-size:9px;color:#8796aa}
.client-donut-wide{width:190px;height:190px}
.client-donut-wide:after{inset:27px}
.client-donut-wide strong{font-size:25px}
.client-manifest-legend{max-height:118px;overflow:auto;padding-right:3px}
.client-manifest-legend>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center;padding:5px 2px;border-top:1px solid #edf2f7}
.client-manifest-legend span{display:flex;align-items:center;min-width:0;gap:6px}
.client-manifest-legend i{width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.client-manifest-legend b{font-size:10px;color:#35506f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.client-manifest-legend strong{font-size:10px;color:#12345b}
.client-manifest-legend small{grid-column:1/-1;padding-left:14px;font-size:9px;color:#8796aa}
.pedimento-flow-legend{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.pedimento-flow-legend span{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:5px;padding:6px;border-radius:8px;background:#fff;font-size:9px;color:#62758b}
.pedimento-flow-legend i{width:8px;height:8px;border-radius:50%}.flow-pending{background:#ef4444}.flow-process{background:#f59e0b}.flow-paid{background:#2563eb}.flow-doda{background:#10b981}
.pedimento-flow-legend b{font-size:10px;color:#17365f}
@media(max-width:1050px){.client-dashboard-grid{grid-template-columns:1fr}.client-card-body{grid-template-columns:1fr 1fr}}
@media(max-width:650px){#dashboardPage .manifest-chart-heading{align-items:flex-end!important}.client-card-body{grid-template-columns:1fr}.client-donut-wide{width:175px;height:175px}}
