/* Dashboard visual fidelity layer based on the approved BEGOS Finance reference.
   No external icon/font dependency: all icons are inline SVG in the Razor view. */

.dashboard-reference{max-width:1480px;margin:0 auto;padding-bottom:16px;position:relative;z-index:2}
.dashboard-reference .dashboard-ref-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:0 0 22px}
.dashboard-reference .dashboard-ref-title .eyebrow{font-size:10px;letter-spacing:.18em;font-weight:850;color:#5e7695;text-transform:uppercase}
.dashboard-reference .dashboard-ref-title h1{margin:5px 0 7px;color:#10213b;font-size:36px;line-height:1.02;letter-spacing:-.035em}
.dashboard-reference .dashboard-ref-title p{margin:0;color:#73839a;font-size:14px;line-height:1.5}
.dashboard-ref-meta{display:flex;align-items:center;gap:16px;padding-top:1px;white-space:nowrap}
.dashboard-date{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:750;color:#435a78}
.dashboard-date svg{width:18px;height:18px;fill:none;stroke:#5d7699;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dashboard-meta-divider{width:1px;height:30px;background:#dfe5ee}
.dashboard-greeting{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.93);border:1px solid #e0e6ef;border-radius:12px;padding:10px 14px;font-size:11px;font-weight:800;color:#314967;box-shadow:0 8px 24px rgba(19,42,73,.04)}
.dashboard-greeting .sun{width:22px;height:22px;color:#f1a100;display:grid;place-items:center}
.dashboard-greeting .sun svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.dashboard-ref-hero{display:grid;grid-template-columns:minmax(390px,1.18fr) minmax(0,2.3fr);gap:14px;margin-bottom:20px}
.ref-main-balance{background:linear-gradient(145deg,#10233f 0%,#163965 100%);border-radius:17px;min-height:226px;padding:24px 25px;color:#fff;display:flex;flex-direction:column;text-decoration:none;box-shadow:0 20px 48px rgba(16,38,69,.16);position:relative;overflow:hidden}
.ref-main-balance:after{content:"";position:absolute;right:-14px;bottom:-28px;width:190px;height:160px;background:url('../images/begos-logo-original.png') center/contain no-repeat;opacity:.085;pointer-events:none}
.ref-main-balance>*{position:relative;z-index:1}
.ref-main-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#0d8a75,#0ba48a);display:grid;place-items:center;margin-bottom:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
.ref-main-icon svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ref-main-balance>span{font-size:15px;font-weight:800;letter-spacing:-.01em}
.ref-main-balance>strong{font-size:37px;letter-spacing:-.035em;margin:6px 0 4px}
.ref-main-balance>p{font-size:11px;color:#d0dbe9;margin:0;line-height:1.45}
.ref-main-balance .ref-main-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.16);padding-top:13px;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#dce4ee}
.ref-main-balance .ref-main-foot b{font-size:13px;color:#fff}

.ref-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ref-kpi{min-height:106px;background:rgba(255,255,255,.95);border:1px solid #e2e8f1;border-radius:15px;padding:14px 15px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start;text-decoration:none;color:#10213b;box-shadow:0 10px 26px rgba(18,42,73,.04)}
.ref-kpi-content{min-width:0;display:grid;align-content:start}
.ref-kpi-content>span{font-size:10px;color:#637692;margin-bottom:4px}
.ref-kpi-content>strong{font-size:21px;letter-spacing:-.025em;line-height:1.15;white-space:nowrap}
.ref-kpi-content>small{font-size:9px;color:#8a97a9;margin-top:7px}
.ref-kpi-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center}
.ref-kpi-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ref-kpi.blue .ref-kpi-icon{color:#176ef0;background:#eaf3ff}.ref-kpi.green .ref-kpi-icon{color:#09945b;background:#e9f9f0}.ref-kpi.red .ref-kpi-icon{color:#e43b50;background:#fff0f2}.ref-kpi.purple .ref-kpi-icon{color:#704bc0;background:#f2edff}
.ref-kpi.green{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,253,250,.97))}.ref-kpi.blue{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,251,255,.97))}

.ref-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:9px}
.ref-section-head .eyebrow{font-size:9px;letter-spacing:.16em;font-weight:850;color:#607691}.ref-section-head h2{margin:3px 0 0;font-size:20px;color:#10213b}.ref-section-head>a{font-size:11px;color:#215cb2;font-weight:800;text-decoration:none}
.ref-cashflow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:rgba(255,255,255,.96);border:1px solid #e2e8f1;border-radius:14px;overflow:hidden;box-shadow:0 10px 26px rgba(18,42,73,.035)}
.ref-flow{padding:13px 15px;border-right:1px solid #edf1f5;min-width:0}.ref-flow:last-child{border-right:0;background:#f8fbff}.ref-flow-top{display:flex;align-items:center;gap:9px;margin-bottom:7px}.ref-flow-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex:0 0 auto}.ref-flow-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ref-flow-icon.green{background:#e9f9ef;color:#0b9b5e}.ref-flow-icon.red{background:#fff0f2;color:#e53d50}.ref-flow-icon.blue{background:#eaf3ff;color:#2170e7}.ref-flow-icon.purple{background:#f1edff;color:#7450c4}
.ref-flow span{font-size:9px;color:#697c94}.ref-flow strong{display:block;font-size:15px;line-height:1.15;letter-spacing:-.01em}.ref-flow small{font-size:8px;color:#98a3b1}.ref-flow .positive{color:#078d55}.ref-flow .negative{color:#df3348}.ref-flow.net strong{color:#0b7f50}
.ref-projection-note{font-size:10px;color:#7e662a;background:#fff9eb;border:1px solid #f1deb1;border-radius:9px;padding:8px 11px;margin-top:8px}

.ref-bottom-grid{display:grid;grid-template-columns:1.32fr .88fr .96fr;gap:14px;margin-top:18px}
.ref-panel{background:rgba(255,255,255,.95);border:1px solid #e2e8f1;border-radius:16px;box-shadow:0 12px 34px rgba(18,42,73,.045);overflow:hidden}
.ref-liquidity{border-left:4px solid #13a467;padding:17px 17px 14px;position:relative;min-height:270px}
.ref-liquidity-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.ref-liquidity-title{display:flex;align-items:flex-start;gap:11px}.ref-status-icon{width:42px;height:42px;border-radius:12px;background:#e9f9ef;color:#0c9b5d;display:grid;place-items:center;flex:0 0 auto}.ref-status-icon svg{width:21px;height:21px;fill:currentColor;stroke:currentColor;stroke-width:1.2}.ref-liquidity h3{margin:1px 0 2px;font-size:14px;color:#10213b}.ref-liquidity h2{margin:0;font-size:26px;color:#10213b;letter-spacing:-.02em}.ref-coverage{text-align:right}.ref-coverage span{display:block;font-size:9px;color:#73839a}.ref-coverage strong{display:block;font-size:23px;color:#10213b;letter-spacing:-.02em;margin-top:2px}.ref-liquidity-message{font-size:11px!important;color:#5b6e85!important;line-height:1.5;margin:12px 0 2px!important}
.ref-sparkline{width:100%;height:76px;display:block;margin:2px 0 0}.ref-sparkline .area{fill:url(#liqFill)}.ref-sparkline .line{fill:none;stroke:#5fd5a4;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.ref-sparkline .baseline{stroke:#dfeee7;stroke-width:1}
.ref-health-note{display:flex;align-items:center;gap:10px;background:#effaf4;border-radius:10px;padding:10px 11px;margin-top:2px}.ref-health-note-icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#16a164;color:#fff;flex:0 0 auto}.ref-health-note-icon svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.ref-health-note strong{display:block;font-size:9px;color:#167a4b}.ref-health-note span{display:block;font-size:8px;color:#779181;margin-top:2px;line-height:1.35}.ref-data-alert{font-size:9px;background:#fff7e9;color:#8c6426;border:1px solid #efd8aa;padding:8px 10px;border-radius:8px;margin-top:8px}

.ref-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid #edf1f5}.ref-card-title{display:flex;align-items:center;gap:9px}.ref-card-title .ref-head-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center}.ref-card-title .ref-head-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ref-head-icon.purple{background:#f1edff;color:#7450c4}.ref-head-icon.green{background:#e9f9ef;color:#0c985b}.ref-card-head h2{font-size:14px;margin:0;color:#10213b}.ref-card-head a{font-size:9px;text-decoration:none;color:#1b64c8;font-weight:800}
.ref-agenda-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 10px;gap:9px;align-items:center;padding:10px 14px;border-bottom:1px solid #eef2f6}.ref-agenda-row:last-child{border-bottom:0}.ref-agenda-badge{width:34px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:8px;font-weight:900}.ref-agenda-badge.pos{background:#e9f3ff;color:#236ccf}.ref-agenda-badge.payment{background:#fff0f2;color:#d93246}.ref-agenda-badge.receivable{background:#eaf9ef;color:#0d8e53}.ref-agenda-badge.term{background:#f1edff;color:#7149bd}.ref-agenda-copy{display:grid;min-width:0}.ref-agenda-copy small{font-size:8px;color:#8997a8}.ref-agenda-copy strong{font-size:10px;color:#263b57;margin-top:2px}.ref-agenda-amount{font-size:10px;color:#10213b;white-space:nowrap}.ref-agenda-arrow{font-size:16px;color:#9aa7b5}
.ref-receivable-head-row,.ref-receivable-row{display:grid;grid-template-columns:minmax(0,1fr) 82px 92px;gap:8px;align-items:center}.ref-receivable-head-row{padding:8px 14px;background:#f8fafc;font-size:8px;font-weight:800;color:#708097}.ref-receivable-row{padding:9px 14px;border-top:1px solid #eef2f6}.ref-receivable-row:first-of-type{border-top:0}.ref-receivable-row .name{font-size:9px;font-weight:800;color:#203550;line-height:1.35}.ref-receivable-row .date{font-size:8px;color:#5e728d}.ref-receivable-row .amount{font-size:9px;font-weight:850;color:#10213b;text-align:right;white-space:nowrap}.ref-receivable-footer{display:block;text-align:center;margin:8px 12px 12px;background:#eef5ff;color:#2366c6;border-radius:9px;padding:9px;font-size:9px;font-weight:850;text-decoration:none}.ref-empty{padding:20px;color:#8996a7;font-size:10px}
.dashboard-ref-footer{margin-top:14px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:8px;color:#8090a4}.dashboard-ref-footer .brand-note{display:flex;gap:9px;align-items:center}.dashboard-ref-footer .brand-note span+span:before{content:"|";margin-right:9px;color:#b4beca}.dashboard-ref-footer .green-sign{display:flex;align-items:center;gap:8px}.dashboard-ref-footer .green-sign:before{content:"";width:20px;height:3px;border-radius:999px;background:#20a968}

@media(max-width:1250px){
  .dashboard-ref-hero{grid-template-columns:1fr}.ref-main-balance{min-height:205px}.ref-kpi-grid{grid-template-columns:repeat(3,1fr)}
  .ref-bottom-grid{grid-template-columns:1fr 1fr}.ref-liquidity{grid-column:1/-1}.ref-cashflow{grid-template-columns:repeat(3,1fr)}.ref-flow:nth-child(3){border-right:0}.ref-flow:nth-child(-n+3){border-bottom:1px solid #edf1f5}
}
@media(max-width:900px){
  .dashboard-reference .dashboard-ref-head{display:grid}.dashboard-ref-meta{justify-content:flex-start}.ref-kpi-grid{grid-template-columns:repeat(2,1fr)}.ref-bottom-grid{grid-template-columns:1fr}.ref-liquidity{grid-column:auto}.ref-cashflow{grid-template-columns:repeat(2,1fr)}.ref-flow{border-bottom:1px solid #edf1f5}.ref-flow:nth-child(2n){border-right:0}.ref-flow:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:650px){
  .dashboard-ref-meta{gap:9px;align-items:flex-start;flex-wrap:wrap}.dashboard-meta-divider{display:none}.dashboard-reference .dashboard-ref-title h1{font-size:29px}.ref-kpi-grid{grid-template-columns:1fr}.ref-main-balance>strong{font-size:31px}.ref-cashflow{grid-template-columns:1fr}.ref-flow{border-right:0;border-bottom:1px solid #edf1f5!important}.ref-flow:last-child{border-bottom:0!important}.dashboard-ref-footer{display:none}
}
