/* Executive views build on the existing community identity. */
.mifos-entry{margin:19px 4px 0}.mifos-entry .mifos-button{width:100%;white-space:normal;font-size:11px;background:#ffffff08;color:#d3e6b9;border-color:#557268;padding:11px 8px;line-height:1.5}.exec-scope{display:flex;align-items:center;gap:24px;padding:17px 21px;margin-bottom:22px;background:#fff;border:1px solid var(--line);border-radius:12px;flex-wrap:wrap}.exec-scope .field{min-width:215px}.exec-scope p{font-size:12px;line-height:1.8}.exec-scope p span{color:var(--muted);font-size:11px}.exec-scope>.tag{margin-left:auto}.exec-hero{margin-bottom:23px}.exec-hero .hero-copy p{max-width:560px}.exec-stats .stat-foot{line-height:1.6;min-height:29px}.exec-stats{row-gap:15px}.source-panel{margin-top:6px}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 23px 22px;gap:22px}.source-grid article{border-top:1px solid var(--line);padding-top:17px;min-width:0}.source-grid strong{font-size:12px}.source-grid small{display:block;margin-top:9px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.source-grid p{font-size:11px;line-height:1.7;margin-top:9px;color:var(--amber)}.exec-bar{margin:0 0 18px;font-size:12px}.exec-bar progress{height:9px;width:100%;border:0;border-radius:12px;overflow:hidden;appearance:none;margin-top:12px;accent-color:var(--green)}.exec-bar progress::-webkit-progress-bar{background:#eef1e9}.exec-bar progress::-webkit-progress-value{background:var(--green);border-radius:12px}.exec-bar.in progress::-webkit-progress-value{background:#b9cd91}.month-block h3{margin-bottom:20px;font-size:13px}.month-block+.month-block{border-top:1px solid var(--line);padding-top:18px}.month-block .inline-note{margin-top:-5px;margin-bottom:20px}.methodology{padding:20px 24px;font-size:12px;line-height:1.8}.methodology summary{font-weight:600;cursor:pointer}.methodology p{margin-top:13px;color:var(--muted)}.currency-label{display:block;color:var(--muted);font-size:9px;margin-top:5px}.card{min-width:0}.exec-stats .stat-value.currency{font-size:28px}.exec-stats .stat-label{min-height:30px}.heading-actions{flex-wrap:wrap}.table-wrap td{max-width:280px}.table-wrap td p{overflow-wrap:anywhere}.table-footer{flex-wrap:wrap;line-height:1.7}.sidebar{overflow-y:auto}.sidebar-footer{flex-shrink:0}.group-card h2{line-height:1.4}.page-heading p{max-width:620px}.exec-hero h2{max-width:450px}
@media(max-width:1100px){.exec-stats .stat-value.currency{font-size:24px}.exec-scope>.tag{margin-left:0}.source-grid{grid-template-columns:1fr 1fr}}
@media(max-width:740px){.exec-scope{padding:16px;gap:12px}.exec-scope .field{width:100%;min-width:0}.exec-scope p{font-size:11px}.source-grid{grid-template-columns:1fr}.exec-stats .stat-value.currency{font-size:23px}.exec-stats .stat-label{font-size:10px}.exec-stats .stat-foot{font-size:10px}.heading-actions .button{flex:1;white-space:normal;font-size:11px}.hero.exec-hero{min-height:190px}.exec-hero h2{font-size:23px}.exec-hero p{line-height:1.7}.source-grid .spaced{flex-wrap:wrap}.exec-bar .spaced{flex-wrap:wrap}.table-wrap{max-width:100%;overflow-x:auto}.card-head{flex-wrap:wrap;gap:12px}}

.exec-compact th,.exec-compact td{padding:15px 12px}.exec-compact .person small{font-size:10px}.exec-compact th{font-size:9px}.exec-compact .avatar{width:30px;height:30px}.exec-compact .person{gap:9px}
.funds-panel{overflow:visible}.fund-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 22px 18px}.fund-card{border:1px solid #edf0e8;border-radius:10px;padding:14px;min-width:0}.fund-card .stat-value{font-size:22px;margin-top:10px}.fund-card>small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.funds-body{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px;padding:21px 22px;border-top:1px solid var(--line)}.funds-column{min-width:0}.funds-column h3{font-size:12px;margin-bottom:17px}.fund-bar{margin-bottom:18px}.fund-bar progress{height:8px;width:100%;border:0;border-radius:8px;appearance:none;overflow:hidden;margin-top:9px;accent-color:var(--green)}.fund-bar progress::-webkit-progress-bar{background:#eef1e9}.fund-bar progress::-webkit-progress-value{background:#9fbf7a;border-radius:8px}.fund-bar small{display:block;color:var(--muted);font-size:9px;margin-top:6px}.fund-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:9px 0;border-bottom:1px solid #edf0e8;font-size:11px;align-items:center}.fund-line strong{font-variant-numeric:tabular-nums}.fund-line small{grid-column:1/-1;color:var(--muted);font-size:9px}.funds-footnote{padding:0 22px 19px;margin-top:0}
.funds-details{border-top:1px solid var(--line);padding:21px 22px}.funds-details h3{font-size:12px}.funds-details .table-wrap{border:1px solid #edf0e8;border-radius:8px}.funds-details .empty{padding:24px 16px}
dialog.wide-modal{width:min(960px,calc(100vw - 30px));}
@media(max-width:740px){dialog.wide-modal{width:calc(100vw - 20px);}}
.fund-account-panel{margin:0 0 24px;padding:15px;border:1px solid #edf0e8;border-radius:10px;background:#fbfcf8}.fund-account-panel .table-wrap{margin-top:12px}.fund-account-panel td,.fund-account-panel th{font-size:10px;padding:9px 10px}.fund-account-panel .inline-note{margin-top:12px}.funds-evidence{margin-top:12px;font-size:10px}.history-source{grid-column:1/-1;border-top:1px dashed #dfe5d7;padding-top:6px}
.fund-bar-group{margin-bottom:18px}.fund-bar-group>h4{font-size:11px;margin:0 0 10px}.fund-bar{margin-bottom:12px}.fund-bar.expected{opacity:.82}.fund-bar.expected progress::-webkit-progress-value{background:#b9cd91}
.fund-allocation{margin-bottom:24px;padding:15px;border:1px solid #edf0e8;border-radius:10px;background:#fbfcf8}.fund-allocation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.fund-allocation-grid>div{display:grid;gap:5px}.fund-allocation-grid span,.fund-allocation-grid small{font-size:10px;color:var(--muted)}.fund-allocation-grid strong{font-size:16px}.fund-allocation .inline-note{margin-top:13px}
.funds-history{border-top:1px solid var(--line);padding:21px 22px}.history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.history-head h3{font-size:12px}.history-head p{font-size:10px;color:var(--muted);margin-top:7px}.history-chart{display:flex;align-items:flex-end;gap:10px;margin-top:20px;padding:0 4px 14px;border-bottom:1px solid var(--line);overflow-x:auto}.history-period{display:flex;flex:1;min-width:72px;flex-direction:column;align-items:stretch;gap:5px}.history-bars{display:flex;flex-direction:column;justify-content:flex-end;gap:5px;width:100%}.history-bar{display:block;width:100%;height:10px;border:0;border-radius:4px;appearance:none;overflow:hidden;accent-color:#9fbf7a}.history-bar::-webkit-progress-bar{background:#eef1e9;border-radius:4px}.history-bar::-webkit-progress-value{background:#9fbf7a;border-radius:4px}.history-bar.payments{accent-color:#b9cd91}.history-bar.payments::-webkit-progress-value{background:#b9cd91}.history-bar.expected{accent-color:#d6e0c3}.history-bar.expected::-webkit-progress-value{background:#d6e0c3}.history-period strong{font-size:10px;font-weight:600}.history-period small{font-size:8px;color:var(--muted);white-space:nowrap}.history-legend{display:flex;gap:18px;margin-top:12px;color:var(--muted);font-size:10px;flex-wrap:wrap}.history-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#9fbf7a}.history-dot.payments{background:#b9cd91}.history-dot.expected{background:#d6e0c3}.history-snapshots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.history-snapshot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;margin:0;padding:10px;border:1px solid #edf0e8;border-radius:8px;background:#fbfcf8}.history-snapshot>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;min-width:0}.history-snapshot dt,.history-snapshot dd{font-size:9px}.history-snapshot dd{margin:0;font-weight:600;white-space:nowrap}.history-snapshot small{grid-column:1/-1;color:var(--muted);font-size:8px}.history-drilldown{margin-top:18px}.history-drilldown summary{cursor:pointer;font-size:11px;font-weight:600}.history-drilldown .table-wrap{margin-top:12px;border:1px solid #edf0e8;border-radius:8px}.history-drilldown td,.history-drilldown th{font-size:10px;padding:9px 10px}
.history-period{border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0}.history-period:hover,.history-period.selected,.history-period:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:5px}
@media(max-width:740px){
  .topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:12px 18px;gap:12px}
  .topbar .header-tools{width:100%;min-width:0}
  .topbar .searchbox{display:flex;flex:1;min-width:0}
  .topbar .searchbox input{width:100%;min-width:0}
  .exec-compact table,.exec-compact tbody{display:block;white-space:normal}
  .exec-compact thead{display:none}
  .exec-compact tr{display:grid;grid-template-columns:minmax(0,1fr) 40px;padding:14px 17px;border-bottom:1px solid var(--line)}
  .exec-compact td{display:block;padding:5px 0;border:0}
  .exec-compact td:nth-child(1){grid-column:1;grid-row:1}
  .exec-compact td:nth-child(2){grid-column:1;grid-row:2;padding-left:39px}
  .exec-compact td:nth-child(3){grid-column:1;grid-row:3;padding-left:39px}
  .exec-compact td:last-child{grid-column:2;grid-row:1/4;align-self:center}
  .exec-compact .currency-label{display:inline;margin-left:6px}
  .fund-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px 16px}.funds-body{grid-template-columns:1fr;padding:18px 16px}.funds-details{padding:18px 16px}.funds-history{padding:18px 16px}.history-period{min-width:82px}.history-bar{width:11px}.history-snapshots{grid-template-columns:repeat(2,minmax(0,1fr))}.funds-footnote{padding:0 16px 16px}.fund-allocation-grid{grid-template-columns:1fr}
}
