/* Portal publico: identidad clara y fondo compartido, solo presentacion. */
@media screen {
 body.portal-office {
  --erp-blue:#527c9f;--erp-blue-dark:#365f82;--erp-gold:#b69b65;
  --erp-text:#243e55;--erp-muted:#60768a;--erp-line:#d2e0eb;
  background:linear-gradient(rgba(246,250,254,.40),rgba(246,250,254,.40)),url('../images/panel-office.png') center/cover fixed;
 }
 body.portal-office:before{height:3px;background:linear-gradient(90deg,#94b7d3,#b6dce6 70%,#e4d5ad)}
 body.portal-office .portal-top{background:rgba(255,255,255,.78);box-shadow:0 2px 8px rgba(35,64,90,.04)}
 body.portal-office .portal-top-inner{max-width:1600px;padding:15px 22px}
 body.portal-office .portal-brand strong{font-size:23px;color:#24455f}
 body.portal-office .portal-help{font-weight:500;max-width:450px}
 body.portal-office .portal-shell{width:min(100%,1600px);padding:24px 22px}
 body.portal-office .portal-hero{grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:stretch}
 body.portal-office .portal-card,body.portal-office .portal-hero>.portal-card:first-child{
  background:rgba(255,255,255,.78);border:1px solid rgba(190,211,228,.8);border-radius:17px;
  box-shadow:0 3px 12px rgba(35,64,90,.055);padding:20px;
 }
 body.portal-office .portal-title{font-size:24px;font-weight:700;color:#24455f;line-height:1.25}
 body.portal-office .portal-sub{font-weight:500;line-height:1.6;margin-top:5px}
 body.portal-office .portal-form{grid-template-columns:minmax(135px,.85fr) minmax(210px,1.35fr) minmax(115px,.7fr) 180px 105px;gap:10px;margin-top:22px}
 body.portal-office .field{min-width:0}
 body.portal-office .field label{color:#526d85;font-weight:700;font-size:10px;letter-spacing:.02em}
 body.portal-office .field input,body.portal-office .field select{height:36px;border-radius:8px;border-color:#c9dae8;background:rgba(255,255,255,.94);color:#29485f;font-size:13px;font-weight:500;padding:0 9px}
 body.portal-office .field input::placeholder{color:#8495a4;opacity:1}
 body.portal-office .field input:focus,body.portal-office .field select:focus{border-color:#8fb6d3;box-shadow:0 0 0 3px rgba(143,182,211,.16)}
 body.portal-office .portal-btn{height:36px;background:#dcebf6;border-color:#aec9de;color:#294f70;border-radius:8px;font-weight:700;box-shadow:none}
 body.portal-office .portal-btn:hover{background:#cde1ef}
 body.portal-office .portal-kpis{gap:10px}
 body.portal-office .portal-kpi{background:rgba(244,249,253,.85);border:1px solid #d5e3ee;border-left:3px solid #9dbdd6;border-radius:11px;min-height:74px;padding:12px}
 body.portal-office .portal-kpi:nth-child(even){border-left-color:#d6c59c}
 body.portal-office .portal-kpi span{font-weight:700;font-size:9px}
 body.portal-office .portal-kpi strong{color:#365f7e;font-size:24px;font-weight:650}
 body.portal-office .portal-table-card{margin-top:18px}
 body.portal-office .portal-table-head h2{color:#29485f;font-size:19px;font-weight:650}
 body.portal-office .portal-total{background:#eef5fa;border-color:#d5e3ee;color:#426480;font-weight:650}
 body.portal-office .portal-empty{padding:46px 20px;font-weight:500;line-height:1.6}
 body.portal-office .portal-table th{background:#edf4f9;color:#4d6d87;font-weight:700}
 body.portal-office .portal-action.main{background:#dcebf6;border-color:#aec9de;color:#294f70;box-shadow:none;font-weight:700}
 body.portal-office .portal-action.main:hover{background:#cde1ef;transform:none}
 body.portal-office .portal-footer{font-weight:500;color:#526c80;padding:10px}
}
@media screen and (max-width:1250px){body.portal-office .portal-form{grid-template-columns:1fr 1.4fr 1fr}body.portal-office .portal-btn{grid-column:auto}body.portal-office .portal-hero{grid-template-columns:minmax(0,1fr) 280px}}
@media screen and (max-width:980px){body.portal-office .portal-hero{grid-template-columns:1fr}body.portal-office .portal-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}body.portal-office .portal-form{grid-template-columns:1fr 1.4fr}body.portal-office .portal-btn{grid-column:auto}}
@media screen and (max-width:640px){body.portal-office{background-attachment:scroll}body.portal-office .portal-shell{padding:14px 12px}body.portal-office .portal-card,body.portal-office .portal-hero>.portal-card:first-child{padding:16px}body.portal-office .portal-form{grid-template-columns:1fr}body.portal-office .portal-kpis{grid-template-columns:1fr 1fr}body.portal-office .portal-title{font-size:21px}body.portal-office .portal-table-head{gap:10px}}
@media screen and (prefers-reduced-transparency:reduce){body.portal-office .portal-card,body.portal-office .portal-hero>.portal-card:first-child,body.portal-office .portal-top{background:#f8fbfd}}
