/* H4BF CEMIS public institutional dashboard */
.h4bf-cemis-public{--h4bf-ink:#17364a;--h4bf-muted:#657887;--h4bf-line:#e3eaf0;--h4bf-green:#16765f;--h4bf-bg:#f5f8fa;color:var(--h4bf-ink);font-family:inherit;width:100%;box-sizing:border-box}
.h4bf-cemis-public *{box-sizing:border-box}
.h4bf-cemis-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px 30px;background:linear-gradient(120deg,#123a53,#176b61);border-radius:16px;color:#fff;margin:0 0 18px}
.h4bf-cemis-head h2{font-size:clamp(25px,3vw,36px);line-height:1.15;margin:7px 0 8px;color:#fff;font-weight:750}
.h4bf-cemis-head p{margin:0;color:rgba(255,255,255,.82);font-size:15px}
.h4bf-kicker{display:block;font-size:10px;letter-spacing:1.5px;font-weight:800;color:#77cdb5;text-transform:uppercase}
.h4bf-cemis-period{min-width:135px;text-align:right;border-left:1px solid rgba(255,255,255,.25);padding-left:22px}
.h4bf-cemis-period span{display:block;font-size:11px;color:rgba(255,255,255,.75);text-transform:uppercase;letter-spacing:.8px}
.h4bf-cemis-period strong{display:block;font-size:21px;color:#fff;margin-top:4px}
.h4bf-cemis-filters{display:grid;grid-template-columns:1fr 1.7fr 2fr auto;gap:12px;align-items:end;padding:16px;background:#fff;border:1px solid var(--h4bf-line);border-radius:12px;margin-bottom:14px}
.h4bf-cemis-filters label{display:block;color:var(--h4bf-muted);font-size:12px;font-weight:700}
.h4bf-cemis-filters select{display:block;width:100%;height:42px;margin-top:6px;border:1px solid #d3dee6;border-radius:7px;background:#fff;color:var(--h4bf-ink);padding:0 10px;font-size:13px}
.h4bf-cemis-filters button{height:42px;border:1px solid #cdd9e1;background:#f7fafb;color:var(--h4bf-ink);border-radius:7px;padding:0 15px;font-weight:700;cursor:pointer}
.h4bf-cemis-filters button:hover{background:#edf4f3}
.h4bf-cemis-statline{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 27px}
.h4bf-cemis-statline>div{background:#f3f7f8;border:1px solid #e3ecee;border-radius:10px;padding:13px 16px}
.h4bf-cemis-statline strong{display:block;font-size:23px;line-height:1.2;color:var(--h4bf-ink)}
.h4bf-cemis-statline span{display:block;color:var(--h4bf-muted);font-size:11px;margin-top:4px}
.h4bf-cemis-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 12px}
.h4bf-cemis-section-title h3,.h4bf-panel h3{font-size:20px;margin:4px 0 0;color:var(--h4bf-ink);font-weight:750}
.h4bf-selection-label,.h4bf-panel-note{font-size:11px;color:var(--h4bf-muted);font-weight:600}
.h4bf-programme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.h4bf-programme-card{background:#fff;border:1px solid var(--h4bf-line);border-radius:12px;padding:17px;min-width:0;box-shadow:0 2px 8px rgba(24,54,74,.035)}
.h4bf-programme-card-head{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--h4bf-line);padding-bottom:12px;margin-bottom:4px}
.h4bf-programme-id{display:inline-flex;align-items:center;justify-content:center;background:#e8f3f0;color:#146d59;border-radius:6px;font-size:11px;font-weight:800;padding:5px 7px}
.h4bf-programme-card-head h4{font-size:15px;line-height:1.3;margin:0;color:var(--h4bf-ink);font-weight:750}
.h4bf-metric{padding:12px 1px 10px;border-bottom:1px solid #edf1f4}
.h4bf-metric:last-child{border-bottom:0;padding-bottom:3px}
.h4bf-metric-top{display:flex;justify-content:space-between;gap:8px;align-items:center}
.h4bf-indicator-code{font-size:10px;color:#6a7d89;font-weight:800;letter-spacing:.5px}
.h4bf-unit{font-size:10px;color:#6a7d89;background:#f1f5f7;padding:3px 6px;border-radius:4px}
.h4bf-metric-name{font-size:12px;line-height:1.4;color:#526775;margin:5px 0 2px;min-height:17px}
.h4bf-metric-value{font-size:27px;line-height:1.2;font-weight:800;color:#123d54;font-variant-numeric:tabular-nums}
.h4bf-metric-foot{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#738490;margin-top:4px}
.h4bf-progress{height:5px;background:#edf2f3;border-radius:8px;overflow:hidden;margin-top:9px}
.h4bf-progress span{display:block;height:100%;background:#218a70;border-radius:8px}
.h4bf-cemis-panels{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:14px;margin:0 0 16px}
.h4bf-panel{background:#fff;border:1px solid var(--h4bf-line);border-radius:12px;padding:17px;min-width:0}
.h4bf-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px}
.h4bf-chart-wrap{height:280px;position:relative}
.h4bf-map{height:280px;width:100%;border-radius:8px;background:#eef3f4;overflow:hidden}
.h4bf-map-note{font-size:10px;line-height:1.45;color:#758692;margin:9px 0 0}
.h4bf-results-table{margin-bottom:12px}
.h4bf-table-scroll{overflow-x:auto}
.h4bf-results-table table{width:100%;border-collapse:collapse;font-size:12px}
.h4bf-results-table th{background:#f5f8f9;color:#5d707d;font-size:10px;text-transform:uppercase;letter-spacing:.45px;text-align:left;padding:10px 9px;white-space:nowrap}
.h4bf-results-table td{padding:11px 9px;border-bottom:1px solid #edf1f4;color:#334e5e;vertical-align:top}
.h4bf-results-table .h4bf-right{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.h4bf-public-note{font-size:10px;color:#71818b;line-height:1.5;padding:10px 2px}
.h4bf-empty{padding:20px;color:#6a7d89}
@media(max-width:850px){.h4bf-cemis-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.h4bf-programme-grid{grid-template-columns:1fr}.h4bf-cemis-panels{grid-template-columns:1fr}}
@media(max-width:560px){.h4bf-cemis-head{padding:22px 18px;display:block}.h4bf-cemis-period{text-align:left;border-left:0;padding:14px 0 0;margin-top:14px;border-top:1px solid rgba(255,255,255,.2)}.h4bf-cemis-filters{grid-template-columns:1fr}.h4bf-cemis-statline{grid-template-columns:repeat(2,1fr)}.h4bf-cemis-section-title{align-items:flex-start;display:block}.h4bf-selection-label{display:block;margin-top:6px}.h4bf-panel{padding:13px}.h4bf-panel-head{display:block}.h4bf-panel-note{display:block;margin-top:6px}.h4bf-chart-wrap,.h4bf-map{height:240px}}


/* H4BF CEMIS v12.1 – institutional public and administration layouts */
.h4bf-cemis-public{--h4bf-green:#07532f;--h4bf-green2:#0a7b3f;--h4bf-lime:#65bd38;--h4bf-ink:#14271d;--h4bf-muted:#66786e;--h4bf-line:#dce8df;display:grid;grid-template-columns:178px minmax(0,1fr);width:100%;max-width:100%;margin:0 auto;background:#f4f8f5;color:var(--h4bf-ink);border:1px solid #d7e3da;border-radius:16px;overflow:hidden;box-shadow:0 12px 38px rgba(0,43,22,.10);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.h4bf-cemis-public *{box-sizing:border-box}
.h4bf-public-sidebar{background:linear-gradient(180deg,#003c24,#002b1c 70%,#001f17);color:#fff;padding:18px 12px;display:flex;flex-direction:column;min-height:100%;gap:25px}
.h4bf-brand{display:flex;align-items:center;gap:9px;padding:0 5px 15px;border-bottom:1px solid rgba(255,255,255,.18);font-weight:850;font-size:20px;line-height:1}
.h4bf-brand img{width:55px;height:55px;object-fit:contain}
.h4bf-brand small{font-size:12px;color:#a7ed7b;letter-spacing:2px}
.h4bf-public-sidebar nav{display:grid;gap:7px}
.h4bf-public-sidebar nav a{display:block;color:#eaf5ee;text-decoration:none;font-size:12px;font-weight:650;padding:11px 12px;border-radius:8px;border-left:3px solid transparent}
.h4bf-public-sidebar nav a:hover,.h4bf-public-sidebar nav a.active{background:linear-gradient(90deg,#159a43,#087b3b);border-left-color:#a7ed62;color:#fff}
.h4bf-side-foot{margin-top:auto;color:#b7d6c2;font-size:10px;line-height:1.6;padding:12px 8px;border-top:1px solid rgba(255,255,255,.16)}
.h4bf-public-main{min-width:0;padding:0 16px 18px;background:#f6f9f7}
.h4bf-public-header{margin:0 -16px 12px;padding:17px 22px 16px;background:linear-gradient(105deg,#003d25,#075b34 62%,#00341f);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;overflow:hidden}
.h4bf-public-header:after{content:"";position:absolute;width:190px;height:190px;right:13%;top:-115px;border:1px solid rgba(157,230,112,.25);border-radius:50%;box-shadow:0 0 0 24px rgba(157,230,112,.05),0 0 0 48px rgba(157,230,112,.04)}
.h4bf-public-header h2{font-size:clamp(21px,2.2vw,31px);line-height:1.12;color:#fff;margin:3px 0 5px;font-weight:850;letter-spacing:-.6px}
.h4bf-public-header p{color:#d5e9dc;font-size:12px;margin:0}
.h4bf-kicker{display:block;color:#19874b;font-size:9px;letter-spacing:1.4px;font-weight:850;text-transform:uppercase}
.h4bf-public-header .h4bf-kicker{color:#a5e47b}
.h4bf-header-right{display:flex;align-items:center;gap:12px;z-index:1;white-space:nowrap}
.h4bf-version{font-size:11px;color:#d9eadf}
.h4bf-public-pill{background:#087d39;border:1px solid #75d34a;border-radius:22px;padding:8px 13px;font-size:11px;font-weight:750;color:#fff}
.h4bf-filterbar{display:grid;grid-template-columns:1.2fr 1fr 1.1fr .9fr auto;gap:10px;align-items:end;background:#fff;border:1px solid var(--h4bf-line);border-radius:11px;padding:11px 13px;margin-bottom:9px;box-shadow:0 3px 10px rgba(0,50,25,.04)}
.h4bf-filterbar label{display:grid;gap:5px;color:#405449;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.4px}
.h4bf-filterbar select{width:100%;height:37px;border:1px solid #cbd9cf;border-radius:7px;background:#fbfdfb;color:#243b2d;font-size:12px;padding:0 10px;min-width:0}
.h4bf-filterbar button{height:37px;padding:0 15px;border:1px solid #c9d9cf;border-radius:7px;background:#f4f8f5;color:#07552f;font-size:11px;font-weight:800;cursor:pointer}
.h4bf-source-ribbon{display:flex;align-items:center;gap:7px;font-size:10px;color:#476153;padding:5px 3px 9px}
.h4bf-source-ribbon strong{font-size:13px;color:#075b32}
.h4bf-source-ribbon>span:last-child{color:#7b8b80}
.h4bf-source-dot,.h4bf-status-dot{display:inline-block;width:8px;height:8px;background:#2aa34e;border-radius:50%;box-shadow:0 0 0 3px rgba(42,163,78,.13)}
.h4bf-global-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:17px}
.h4bf-global-kpis article{min-height:78px;background:#fff;border:1px solid #d7e5db;border-radius:10px;padding:12px 13px;display:flex;align-items:center;gap:12px;box-shadow:0 3px 10px rgba(0,40,20,.04)}
.h4bf-global-kpis article:nth-child(1){border-top:3px solid #168c49}
.h4bf-global-kpis article:nth-child(2){border-top:3px solid #0b8d83}
.h4bf-global-kpis article:nth-child(3){border-top:3px solid #d69b2b}
.h4bf-global-kpis article:nth-child(4){border-top:3px solid #67ad36}
.h4bf-kpi-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:#e8f5eb;color:#08743c;font-size:28px;font-weight:800}
.h4bf-global-kpis strong{display:block;color:#064b2a;font-size:clamp(19px,2vw,27px);line-height:1.1;font-weight:850;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.h4bf-global-kpis small{display:block;color:#627468;font-size:10px;line-height:1.3;margin-top:4px}
.h4bf-budget-card .h4bf-global-budget{font-size:16px;letter-spacing:0}
.h4bf-section-head,.h4bf-admin-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:5px 0 10px}
.h4bf-section-head h3{font-size:19px;color:#153d27;margin:3px 0 0;font-weight:850}
.h4bf-selection-label{font-size:10px;color:#708276;font-weight:700}
.h4bf-programme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}
.h4bf-programme-card{background:#fff;border:1px solid #d7e5db;border-radius:11px;padding:12px 13px;min-width:0;box-shadow:0 4px 12px rgba(0,44,20,.05);border-top:3px solid #168a43}
.h4bf-programme-card:nth-child(2){border-top-color:#168e83}
.h4bf-programme-card:nth-child(3){border-top-color:#3984c7}
.h4bf-programme-card:nth-child(4){border-top-color:#72a934}
.h4bf-programme-card-head{display:flex;align-items:flex-start;gap:8px;border-bottom:1px solid #e7eee9;padding-bottom:9px;margin-bottom:0;min-height:47px}
.h4bf-programme-id{flex:0 0 auto;background:#e5f4e8;color:#076331;border-radius:6px;font-size:10px;font-weight:850;padding:5px 7px}
.h4bf-programme-card-head h3{font-size:12px;line-height:1.25;margin:2px 0 0;color:#173b26;font-weight:800}
.h4bf-metric{padding:9px 1px 8px;border-bottom:1px solid #edf2ee}
.h4bf-metric:last-child{border-bottom:0;padding-bottom:2px}
.h4bf-metric-top{display:flex;align-items:center;justify-content:space-between;gap:7px}
.h4bf-indicator-code{font-size:9px;color:#178249;font-weight:850;letter-spacing:.4px}
.h4bf-unit{font-size:9px;background:#f0f6f1;color:#687b6e;padding:3px 5px;border-radius:4px}
.h4bf-metric-name{font-size:10px;line-height:1.35;color:#5b6d61;margin:5px 0 2px;min-height:26px}
.h4bf-metric-value{font-size:23px;line-height:1.1;color:#074d2b;font-weight:850;font-variant-numeric:tabular-nums}
.h4bf-metric-foot{display:flex;justify-content:space-between;gap:6px;font-size:9px;color:#76877b;margin-top:4px}
.h4bf-metric-source{font-size:8px;color:#87958b;margin-top:4px}
.h4bf-no-data{font-size:9px;color:#9a6b19;margin-top:5px}
.h4bf-lower-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.9fr) minmax(230px,.9fr);gap:10px;margin:0 0 12px}
.h4bf-panel{background:#fff;border:1px solid #dce7df;border-radius:11px;padding:13px;min-width:0;box-shadow:0 3px 11px rgba(0,40,20,.035)}
.h4bf-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:9px}
.h4bf-panel-head h3{font-size:14px;color:#163e28;margin:3px 0 0;font-weight:850}
.h4bf-panel-note{font-size:9px;color:#7a897f}
.h4bf-chart-wrap{height:210px;position:relative}
.h4bf-chart-empty{font-size:11px;color:#8a6b35;background:#fff9eb;border:1px solid #f0dfb6;border-radius:8px;padding:14px;margin-top:10px}
.h4bf-map{height:190px;border-radius:8px;background:#eef4ef;overflow:hidden}
.h4bf-map-note{font-size:9px;line-height:1.4;color:#77877c;margin:8px 0 0}
.h4bf-inclusion-summary{min-height:100px}
.h4bf-inclusion-callout{font-size:11px;line-height:1.55;color:#42594a;background:#f1f7f2;border:1px solid #dceade;border-radius:8px;padding:12px}
.h4bf-inclusion-meta{font-size:9px;line-height:1.5;color:#78877d;margin-top:8px}
.h4bf-sdg-strip{margin-top:11px;border-top:1px solid #e6eee8;padding-top:10px}
.h4bf-sdg-strip strong{font-size:11px;color:#17442a}
.h4bf-sdg-strip p{font-size:9px;line-height:1.45;color:#78877d;margin:5px 0 0}
.h4bf-results-table{margin-bottom:10px}
.h4bf-table-scroll{overflow-x:auto}
.h4bf-results-table table{width:100%;border-collapse:collapse;font-size:10px}
.h4bf-results-table th{background:#07532f;color:#fff;text-align:left;padding:8px 9px;font-weight:750;white-space:nowrap}
.h4bf-results-table td{padding:8px 9px;border-bottom:1px solid #e7eee9;color:#405348;vertical-align:top}
.h4bf-results-table tr:nth-child(even) td{background:#f8fbf8}
.h4bf-right{text-align:right;font-variant-numeric:tabular-nums}
.h4bf-public-note{font-size:9px;line-height:1.55;color:#7a897e;padding:8px 3px 2px}
.h4bf-empty{padding:15px;color:#748278;font-size:12px}

/* Admin dashboard */
.h4bf-cemis-admin{max-width:none!important;margin-right:18px!important}
.h4bf-view-overview>h1,.h4bf-view-overview>.description{display:none}
.h4bf-view-overview>.nav-tab-wrapper{display:none}
.h4bf-cemis-admin .h4bf-admin-alert{margin:10px 0 12px;padding:9px 12px;border-left:4px solid #2d9b4d;background:#f0f8f1;color:#34533e}
.h4bf-admin-dashboard{margin-top:12px;color:#183323}
.h4bf-admin-topline{background:linear-gradient(105deg,#003d25,#075b34 66%,#00341f);border-radius:12px 12px 0 0;padding:17px 21px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px}
.h4bf-admin-topline h2{color:#fff;font-size:24px;font-weight:850;margin:3px 0 4px}
.h4bf-admin-topline p{margin:0;color:#d5e8dc;font-size:11px}
.h4bf-admin-kicker{font-size:9px;color:#a5e47b;letter-spacing:1.3px;font-weight:850}
.h4bf-admin-status{display:flex;align-items:center;gap:8px;color:#e7f5e9;font-size:10px;white-space:nowrap}
.h4bf-admin-status b{padding:5px 8px;border:1px solid rgba(255,255,255,.25);border-radius:5px}
.h4bf-admin-shell{display:grid;grid-template-columns:205px minmax(0,1fr);background:#f4f8f5;border:1px solid #d7e3da;border-top:0;border-radius:0 0 12px 12px;overflow:hidden;box-shadow:0 9px 30px rgba(0,40,20,.08)}
.h4bf-admin-sidebar{background:linear-gradient(180deg,#003b24,#002b1c);padding:13px 10px;display:flex;flex-direction:column;gap:5px}
.h4bf-admin-brand{display:flex;align-items:center;gap:8px;padding:3px 6px 13px;margin-bottom:7px;border-bottom:1px solid rgba(255,255,255,.17);color:#fff;font-size:14px;font-weight:850}
.h4bf-admin-brand img{width:42px;height:42px;object-fit:contain}
.h4bf-admin-brand small{display:block;font-size:9px;color:#a9df92;font-weight:550;margin-top:2px}
.h4bf-admin-sidebar>a{display:block;padding:9px 10px;color:#e5f2e8;text-decoration:none;font-size:11px;font-weight:650;border-radius:6px;border-left:3px solid transparent}
.h4bf-admin-sidebar>a:hover,.h4bf-admin-sidebar>a.active{background:linear-gradient(90deg,#159a43,#087b3b);border-left-color:#a7ed62;color:#fff}
.h4bf-admin-main{min-width:0;padding:12px;background:#f7faf8}
.h4bf-admin-status-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:#fff;border:1px solid #dce8df;border-radius:8px;padding:9px;margin-bottom:10px}
.h4bf-admin-status-strip>div{padding:3px 10px;border-right:1px solid #e4ece6}
.h4bf-admin-status-strip>div:last-child{border:0}
.h4bf-admin-status-strip span{display:block;font-size:9px;color:#718176;margin-bottom:4px}
.h4bf-admin-status-strip b{display:block;font-size:12px;color:#17452a}
.h4bf-admin-status-strip .h4bf-status-dot{margin-right:5px}
.h4bf-admin-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:10px}
.h4bf-admin-kpis article{border-radius:8px;padding:11px;color:#fff;min-width:0;box-shadow:0 3px 8px rgba(0,40,20,.08)}
.h4bf-admin-kpis article.green{background:linear-gradient(135deg,#178b3e,#075b2c)}
.h4bf-admin-kpis article.teal{background:linear-gradient(135deg,#1aa393,#087268)}
.h4bf-admin-kpis article.blue{background:linear-gradient(135deg,#287cc2,#14518c)}
.h4bf-admin-kpis article.purple{background:linear-gradient(135deg,#8a53c7,#5d2e92)}
.h4bf-admin-kpis article.amber{background:linear-gradient(135deg,#e2a02e,#ad6a12)}
.h4bf-admin-kpis article.lime{background:linear-gradient(135deg,#78b83a,#397b24)}
.h4bf-admin-kpis article>span{display:block;font-size:21px;opacity:.9}
.h4bf-admin-kpis article>b{display:block;font-size:22px;line-height:1.1;font-weight:850;margin:4px 0}
.h4bf-admin-kpis article>small{display:block;font-size:9px;line-height:1.3;color:rgba(255,255,255,.88)}
.h4bf-admin-content-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.8fr);gap:9px}
.h4bf-admin-panel{background:#fff;border:1px solid #dce7df;border-radius:9px;padding:12px;min-width:0;box-shadow:0 2px 8px rgba(0,40,20,.035)}
.h4bf-admin-panel-head{margin:0 0 9px}
.h4bf-admin-panel-head span{display:block;color:#138047;font-size:8px;letter-spacing:1.1px;font-weight:850}
.h4bf-admin-panel-head h3{font-size:14px;color:#173d27;margin:3px 0 0;font-weight:850}
.h4bf-admin-panel-head small,.h4bf-admin-panel-head>a{font-size:9px;color:#77877b}
.h4bf-admin-programme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.h4bf-admin-programme-card{border:1px solid #e1ebe3;border-radius:8px;padding:9px;min-width:0}
.h4bf-admin-programme-card h4{font-size:11px;line-height:1.35;color:#17452a;margin:0 0 5px;display:flex;align-items:center;gap:6px}
.h4bf-admin-programme-card h4 em{font-style:normal;background:#e7f4e9;color:#08713b;padding:4px 6px;border-radius:4px}
.h4bf-admin-indicator{padding:7px 0;border-top:1px solid #edf2ee}
.h4bf-admin-indicator>div:first-child{display:flex;justify-content:space-between;font-size:8px;color:#7b897f}
.h4bf-admin-indicator>div:first-child b{color:#138047}
.h4bf-admin-indicator strong{display:block;font-size:19px;color:#064b2a;line-height:1.1;margin:3px 0}
.h4bf-admin-indicator p{font-size:9px;color:#586b5e;margin:0 0 4px;line-height:1.35}
.h4bf-admin-indicator small{font-size:8px;color:#7c8b80}
.h4bf-admin-bar{height:5px;background:#edf3ee;border-radius:5px;overflow:hidden;margin:5px 0 3px}
.h4bf-admin-bar i{display:block;height:100%;background:linear-gradient(90deg,#0a7d3d,#79c43b);border-radius:5px}
.h4bf-admin-alert-row{display:grid;grid-template-columns:30px 1fr auto;gap:7px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2ee}
.h4bf-admin-alert-row>b{background:#edf6ef;color:#086332;border-radius:6px;text-align:center;padding:5px;font-size:14px}
.h4bf-admin-alert-row span{font-size:10px;color:#42584a}
.h4bf-admin-alert-row a{font-size:9px;color:#08733c;text-decoration:none;font-weight:750}
.h4bf-admin-alert-note{font-size:8px;line-height:1.5;color:#8a7650;background:#fff9ed;border:1px solid #f1e4c5;border-radius:6px;padding:8px;margin-top:8px}
.h4bf-admin-quality{grid-column:1}
.h4bf-quality-row{display:grid;grid-template-columns:35px 1fr auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #eef2ef}
.h4bf-quality-row b{font-size:13px;color:#17452a}
.h4bf-quality-row span{font-size:9px;color:#52675a}
.h4bf-quality-row em{font-size:8px;font-style:normal;padding:3px 6px;border-radius:12px;background:#e7f5ea;color:#16703a}
.h4bf-quality-row em.warn{background:#fff3d8;color:#94600e}
.h4bf-admin-quick{grid-column:2;grid-row:2}
.h4bf-admin-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.h4bf-admin-module-grid a{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-decoration:none;color:#315440;border:1px solid #e0ebe3;border-radius:7px;padding:8px;font-size:8px;font-weight:750;background:#fbfdfb}
.h4bf-admin-module-grid a span{font-size:18px;color:#0b8343}
.h4bf-admin-module-grid a b{display:none}
.h4bf-admin-module-grid a:hover{border-color:#7dbd8a;background:#f1f8f2}
.h4bf-admin-activity{grid-column:1 / -1}
.h4bf-admin-table-wrap{overflow-x:auto}
.h4bf-admin-table-wrap table{width:100%;border-collapse:collapse;font-size:9px}
.h4bf-admin-table-wrap th{background:#07532f;color:#fff;text-align:left;padding:7px}
.h4bf-admin-table-wrap td{padding:7px;border-bottom:1px solid #e8efea;color:#465a4c}
.h4bf-admin-table-wrap tr:nth-child(even) td{background:#f7faf7}
.h4bf-admin-quick-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.h4bf-admin-quick-actions a{background:#075c32;color:#fff;text-decoration:none;padding:8px 11px;border-radius:6px;font-size:9px;font-weight:750}
.h4bf-admin-data-entry{margin-top:12px;background:#fff;border:1px solid #dce7df;border-radius:8px;padding:12px}
.h4bf-admin-data-entry summary{cursor:pointer;color:#075c32;font-weight:800;font-size:12px}
.h4bf-admin-data-entry .h4bf-admin-form-grid{margin-top:12px}
.h4bf-admin-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.h4bf-admin-cards>div{background:#fff;border:1px solid #dce7df;border-radius:8px;padding:13px}
.h4bf-admin-cards b{display:block;font-size:22px;color:#075b32}
.h4bf-admin-cards span{font-size:10px;color:#697a6e}
@media(max-width:1250px){.h4bf-programme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.h4bf-lower-grid{grid-template-columns:1fr 1fr}.h4bf-impact-panel{grid-column:1/-1}.h4bf-admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.h4bf-cemis-public{grid-template-columns:1fr}.h4bf-public-sidebar{min-height:0;padding:8px 12px;gap:8px}.h4bf-brand{padding-bottom:7px}.h4bf-public-sidebar nav{display:flex;overflow:auto}.h4bf-public-sidebar nav a{white-space:nowrap;padding:8px}.h4bf-side-foot{display:none}.h4bf-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.h4bf-global-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.h4bf-admin-shell{grid-template-columns:1fr}.h4bf-admin-sidebar{display:flex;flex-direction:row;overflow:auto}.h4bf-admin-brand{display:none}.h4bf-admin-sidebar>a{white-space:nowrap}.h4bf-admin-status-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.h4bf-public-main{padding:0 9px 12px}.h4bf-public-header{margin:0 -9px 9px;padding:14px}.h4bf-header-right{display:none}.h4bf-filterbar{grid-template-columns:1fr 1fr;padding:9px}.h4bf-global-kpis{gap:6px}.h4bf-global-kpis article{padding:9px;gap:8px}.h4bf-kpi-icon{width:32px;height:32px;flex-basis:32px;font-size:21px}.h4bf-programme-grid{grid-template-columns:1fr}.h4bf-lower-grid{grid-template-columns:1fr}.h4bf-impact-panel{grid-column:auto}.h4bf-chart-wrap{height:190px}.h4bf-admin-topline{align-items:flex-start;flex-direction:column}.h4bf-admin-status-strip{grid-template-columns:repeat(2,1fr)}.h4bf-admin-kpis{grid-template-columns:repeat(2,1fr)}.h4bf-admin-content-grid{grid-template-columns:1fr}.h4bf-admin-quality,.h4bf-admin-quick,.h4bf-admin-activity{grid-column:1;grid-row:auto}.h4bf-admin-programme-grid{grid-template-columns:1fr}.h4bf-admin-module-grid{grid-template-columns:repeat(3,1fr)}.h4bf-admin-cards{grid-template-columns:repeat(2,1fr)}}
.h4bf-inclusion-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}
.h4bf-inclusion-stat{display:flex;flex-direction:column;gap:3px;background:#f4faf5;border:1px solid #dceade;border-radius:9px;padding:9px;min-width:0}
.h4bf-inclusion-stat strong{font-size:19px;line-height:1.1;color:#087a45}
.h4bf-inclusion-stat span{font-size:10px;line-height:1.25;color:#234332;font-weight:700}
.h4bf-inclusion-stat small{font-size:9px;color:#728277}
.h4bf-inclusion-note{font-size:9px;line-height:1.45;color:#78877d;margin:6px 0 10px}
@media(max-width:760px){.h4bf-inclusion-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* H4BF GEMIS v13.2 public dashboard — brand-led, responsive reporting interface */
.h4bf-public-v132{--g:#07552f;--g2:#0a7b3f;--lime:#78c83f;--ink:#173326;--muted:#66786d;--line:#dce8df;--wash:#f4f8f5;max-width:1440px;margin:20px auto;padding:0 18px 24px;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#f6f9f7;border:1px solid #dbe7de;border-radius:16px;overflow:hidden;box-shadow:0 12px 38px rgba(0,43,22,.08)}
.h4bf-public-v132 *{box-sizing:border-box}.h4bf-pub-header{display:flex;align-items:center;gap:22px;padding:15px 22px;background:#002b1b;color:#fff;margin:0 -18px 0;min-height:82px}.h4bf-pub-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:205px}.h4bf-pub-brand img{width:57px;height:57px;object-fit:contain}.h4bf-pub-brand b{display:block;font-size:20px;letter-spacing:.4px}.h4bf-pub-brand small{display:block;color:#a6e67a;font-size:9px;letter-spacing:1.7px;font-weight:800;margin-top:3px}.h4bf-pub-header nav{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,25px);flex:1}.h4bf-pub-header nav a{color:#e5f2e9;text-decoration:none;font-size:12px;font-weight:650}.h4bf-pub-header nav a:hover{color:#a9ec72}.h4bf-pub-partner,.h4bf-pub-contact{display:inline-flex;align-items:center;gap:12px;padding:11px 15px;background:#78c83f;color:#062c18!important;border-radius:7px;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap}.h4bf-pub-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.5fr);align-items:center;gap:25px;padding:44px clamp(22px,5vw,66px);background:linear-gradient(112deg,#f5fbf5,#e6f4e8 70%,#d9f0d8);border-bottom:1px solid #d4e7d6}.h4bf-pub-eyebrow,.h4bf-pub-section-head>div>span,.h4bf-pub-lower>div>span{font-size:10px;letter-spacing:1.6px;font-weight:850;color:#168044}.h4bf-pub-hero h1{font-size:clamp(32px,4vw,54px);line-height:1.06;letter-spacing:-1.6px;color:#073c24;margin:13px 0 14px;font-weight:850}.h4bf-pub-hero h1 em{font-style:normal;color:#159344}.h4bf-pub-hero p{max-width:760px;color:#4b6253;font-size:15px;line-height:1.7;margin:0}.h4bf-pub-status{display:flex;align-items:center;gap:9px;margin-top:20px;font-size:11px;font-weight:750;color:#315b3d}.h4bf-pub-status i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#21964c;box-shadow:0 0 0 4px #d5efd9}.h4bf-pub-status span{color:#91a99a}.h4bf-pub-hero-mark{display:flex;justify-content:center;align-items:center}.h4bf-pub-hero-mark img{width:min(100%,245px);height:auto;object-fit:contain;filter:drop-shadow(0 10px 14px rgba(0,50,20,.12))}.h4bf-pub-filters{margin:18px 0 14px;padding:17px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 15px rgba(0,40,20,.035)}.h4bf-pub-filter-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.h4bf-pub-filter-head b{display:block;font-size:16px;color:#17442a}.h4bf-pub-filter-head small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.h4bf-pub-filter-head>a{font-size:11px;color:#08743b;font-weight:800;text-decoration:none}.h4bf-pub-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.h4bf-pub-filter-grid label{display:grid;gap:5px;font-size:10px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:#4c6253}.h4bf-pub-filter-grid select{height:40px;min-width:0;width:100%;border:1px solid #cfddd2;border-radius:7px;background:#fbfdfb;padding:0 10px;color:#1e3b29;font-size:12px;text-transform:none;letter-spacing:0}.h4bf-pub-filter-note{font-size:10px;color:#738176;line-height:1.5;margin:11px 0 0}.h4bf-pub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 22px}.h4bf-pub-kpis article{background:#fff;border:1px solid var(--line);border-top:3px solid #168b45;border-radius:10px;padding:14px 16px;min-height:105px}.h4bf-pub-kpis article:nth-child(2){border-top-color:#168c80}.h4bf-pub-kpis article:nth-child(3){border-top-color:#9acb45}.h4bf-pub-kpis article:nth-child(4){border-top-color:#d2a23a}.h4bf-pub-kpis small{display:block;color:#687a6d;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.5px}.h4bf-pub-kpis b{display:block;color:#07552f;font-size:29px;line-height:1.15;margin:7px 0 4px;font-weight:850;font-variant-numeric:tabular-nums}.h4bf-pub-kpis span{font-size:10px;color:#748278}.h4bf-pub-section{margin:0 0 16px;padding:23px;background:#fff;border:1px solid var(--line);border-radius:12px}.h4bf-pub-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:15px}.h4bf-pub-section-head h2,.h4bf-pub-lower h2{font-size:23px;line-height:1.2;color:#123e25;margin:6px 0;font-weight:850}.h4bf-pub-section-head p,.h4bf-pub-lower p{font-size:12px;color:#68796e;line-height:1.6;margin:0}.h4bf-pub-section-head>small{font-size:10px;color:#718176;white-space:nowrap}.h4bf-pub-table-wrap{overflow-x:auto}.h4bf-pub-table{width:100%;border-collapse:collapse;min-width:800px;font-size:12px}.h4bf-pub-table th{background:#edf5ee;color:#47624e;text-align:left;padding:11px 10px;font-size:9px;text-transform:uppercase;letter-spacing:.6px;white-space:nowrap}.h4bf-pub-table td{padding:12px 10px;border-bottom:1px solid #edf2ee;color:#385443;vertical-align:top}.h4bf-pub-table td b{color:#17452b}.h4bf-pub-table td small{display:block;color:#829087;font-size:9px;line-height:1.45;margin-top:4px}.h4bf-pub-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.h4bf-pub-empty{background:#f5f9f5;border:1px dashed #cbdccc;border-radius:9px;padding:19px;color:#48604e;font-size:12px;line-height:1.6}.h4bf-pub-empty b{color:#17462a}.h4bf-pub-empty p{margin:6px 0 0}.h4bf-pub-lower{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:20px}.h4bf-pub-lower>div:first-child{min-width:0}.h4bf-pub-lower .h4bf-pub-empty{font-size:11px}.h4bf-pub-contact{margin-top:13px}.h4bf-pub-footer{display:flex;align-items:center;gap:12px;padding:15px 8px;color:#607566;font-size:11px}.h4bf-pub-footer img{width:43px;height:34px;object-fit:contain}.h4bf-pub-footer small{margin-left:auto;font-size:9px;color:#829087;text-align:right}
@media(max-width:900px){.h4bf-pub-header{flex-wrap:wrap}.h4bf-pub-header nav{order:3;flex-basis:100%;justify-content:flex-start;overflow-x:auto;padding:5px 0}.h4bf-pub-hero{grid-template-columns:1fr .35fr}.h4bf-pub-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.h4bf-pub-lower{grid-template-columns:1fr}.h4bf-pub-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.h4bf-public-v132{margin:8px auto;padding:0 10px 15px;border-radius:9px}.h4bf-pub-header{margin:0 -10px;padding:12px;gap:10px}.h4bf-pub-brand{min-width:0;flex:1}.h4bf-pub-brand img{width:43px;height:43px}.h4bf-pub-brand b{font-size:16px}.h4bf-pub-partner{font-size:10px;padding:9px}.h4bf-pub-header nav{gap:16px}.h4bf-pub-header nav a{font-size:11px}.h4bf-pub-hero{grid-template-columns:1fr;padding:27px 17px}.h4bf-pub-hero-mark{display:none}.h4bf-pub-hero h1{font-size:35px}.h4bf-pub-hero p{font-size:13px}.h4bf-pub-filter-grid{grid-template-columns:1fr}.h4bf-pub-filter-head{align-items:flex-start}.h4bf-pub-kpis{gap:7px}.h4bf-pub-kpis article{padding:11px;min-height:90px}.h4bf-pub-kpis b{font-size:23px}.h4bf-pub-section{padding:14px}.h4bf-pub-section-head{display:block}.h4bf-pub-section-head>small{display:block;margin-top:8px}.h4bf-pub-footer{flex-wrap:wrap}.h4bf-pub-footer small{flex-basis:100%;margin-left:0;text-align:left}}

/* v13.2.1 controlled public dashboard corrections */
.h4bf-public-controlled .h4bf-pub-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.h4bf-public-controlled .h4bf-pub-kpis-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.h4bf-public-controlled .h4bf-pub-evidence-status{display:inline-block;color:#315b3d;font-size:10px;line-height:1.5}
.h4bf-public-controlled .h4bf-pub-table{min-width:720px}
.h4bf-public-controlled .h4bf-pub-lower{grid-template-columns:1fr}
.h4bf-public-controlled .h4bf-pub-section p+p{margin-top:10px}
@media(max-width:900px){.h4bf-public-controlled .h4bf-pub-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.h4bf-public-controlled .h4bf-pub-filter-grid,.h4bf-public-controlled .h4bf-pub-kpis-compact{grid-template-columns:1fr}}
/* Public dashboard multilingual selector */
#h4bf-public-dashboard .h4bf-pub-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
#h4bf-public-dashboard .h4bf-language-label{font-size:11px;font-weight:700;color:#42614e}
#h4bf-public-dashboard .h4bf-language-select{min-height:38px;border:1px solid #d3e0d7;border-radius:8px;padding:6px 28px 6px 10px;background:#fff;color:#214431;font-size:12px;font-weight:700;max-width:130px}
#h4bf-public-dashboard .h4bf-pub-header-actions .h4bf-pub-partner{white-space:nowrap}
@media(max-width:900px){#h4bf-public-dashboard .h4bf-pub-header-actions{order:2;margin-left:auto}#h4bf-public-dashboard .h4bf-pub-header nav{display:none}}
@media(max-width:560px){#h4bf-public-dashboard .h4bf-pub-header-actions{width:100%;justify-content:flex-end}#h4bf-public-dashboard .h4bf-language-label{display:none}#h4bf-public-dashboard .h4bf-pub-header-actions .h4bf-pub-partner{font-size:10px;padding:8px}}
