/* Isolated preview shell. Only the explicit preview-template pages use these styles. */
body.molg-refresh-standalone{margin:0;padding:0;background:#f7f1e5;color:#183629;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
body.molg-refresh-standalone *,body.molg-refresh-standalone *::before,body.molg-refresh-standalone *::after{box-sizing:border-box}
body.molg-refresh-standalone .mr-site-shell{min-height:100vh;display:flex;flex-direction:column;overflow:clip}
body.molg-refresh-standalone .mr-site-shell a{text-decoration:none}
body.molg-refresh-standalone .mr-shell-container{width:min(100% - 44px,1230px);margin-inline:auto}
body.molg-refresh-standalone .mr-screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.molg-refresh-standalone .mr-skip-link{position:fixed;z-index:99999;left:14px;top:-100px;background:white;color:#183629;border-radius:5px;padding:10px 18px}
body.molg-refresh-standalone .mr-skip-link:focus{top:12px}
body.molg-refresh-standalone .mr-site-shell :is(a,button,input,summary):focus-visible{outline:3px solid #deb34f;outline-offset:3px}
.mr-utility-bar{background:#eadfc7;border-bottom:1px solid #dfd2b6;font-size:12px;color:#3d5241}
.mr-utility-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;min-height:34px}
.mr-official{display:inline-flex;align-items:center;gap:10px;font-weight:620}
.mr-flag-swatch{display:inline-block;height:12px;width:20px;border-radius:1px;background:linear-gradient(to bottom,#141414 0 33%,#e9c433 33% 66%,#b7272c 66% 100%);flex:none}
.mr-utility-links{display:flex;align-items:center;gap:21px}
.mr-utility-links a{color:#395441;font-weight:620}
.mr-utility-links a:hover{text-decoration:underline}
.mr-global-header{background:#fffdf8;position:relative;z-index:150;box-shadow:0 2px 8px rgba(33,45,30,.045)}
.mr-brand-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:112px;padding-block:14px}
.mr-brand{display:flex;align-items:center;gap:16px;min-width:0;color:#183629}
.mr-brand img{height:73px;width:auto;max-width:88px;object-fit:contain}
.mr-brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.mr-brand-kicker{text-transform:uppercase;letter-spacing:.115em;font-weight:750;font-size:10px;color:#987123}
.mr-brand-text strong{font-weight:790;font-size:clamp(19px,2.15vw,28px);line-height:1.12;letter-spacing:-.03em;color:#1a3f2b}
.mr-brand-tagline{font-size:12px;color:#647365;font-weight:550}
.mr-brand-right{display:flex;align-items:center;gap:22px}
.mr-header-contact{text-align:right;display:flex;flex-direction:column;gap:2px}
.mr-header-small{font-size:10px;letter-spacing:.075em;text-transform:uppercase;color:#a07d35;font-weight:800}
.mr-header-contact a{color:#26503a;font-size:12px;font-weight:650}
.mr-header-contact a:hover{text-decoration:underline}
.mr-navigation-bar{background:linear-gradient(110deg,#173b2b 0%,#24543a 58%,#1e4733 100%);color:#fff8e6;border-top:3px solid #d9b35a;box-shadow:0 5px 16px rgba(14,46,30,.1)}
.mr-navigation-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:54px}
.mr-global-nav{display:flex;align-items:stretch;gap:2px;min-height:54px}
.mr-global-nav > a,.mr-nav-group > summary{font-size:13px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;color:#fff9e9;font-weight:700;min-height:54px;white-space:nowrap;cursor:pointer;list-style:none;border-radius:0}
.mr-global-nav > a:hover,.mr-nav-group > summary:hover,.mr-nav-group[open] > summary{background:#315f43;color:#f6d687}
.mr-global-nav > .is-current{background:#edc971;color:#183927;font-weight:800}
.mr-nav-group{position:relative}
.mr-nav-group > summary::-webkit-details-marker{display:none}
.mr-nav-submenu{position:absolute;top:100%;left:0;z-index:200;min-width:260px;width:max-content;max-width:340px;background:#fffdf8;border:1px solid #e5dbc7;box-shadow:0 18px 40px rgba(10,36,21,.16);padding:9px;border-radius:0 0 12px 12px}
.mr-nav-submenu a{display:block;padding:11px 13px;border-radius:7px;font-size:13px;font-weight:620;color:#244833}
.mr-nav-submenu a:hover,.mr-nav-submenu a:focus-visible{background:#f3e7c8;color:#183d29}
.mr-nav-search{display:flex;align-items:center;min-width:180px;width:min(250px,23vw);height:35px;border:1px solid #60806c;border-radius:7px;background:#fffef9;overflow:hidden}
.mr-nav-search input{font-family:inherit;border:0;min-width:0;flex:1;outline:none;background:transparent;color:#1c3c2a;font-size:12px;padding:8px 11px}
.mr-nav-search button{height:100%;width:39px;display:grid;place-items:center;cursor:pointer;color:#1c3c2a;background:#e4b54b;border:0}
.mr-mobile-menu-button{display:none;background:transparent;border:1px solid #b7c8b8;border-radius:9px;width:42px;height:42px;cursor:pointer;align-items:center;justify-content:center;gap:5px;flex-direction:column;padding:9px}
.mr-menu-bar{height:2px;width:20px;display:block;background:#19422c;border-radius:2px}
.mr-main-content{flex:1;min-height:300px}
.mr-main-content .molg-redesign{max-width:1260px;padding-top:28px;padding-bottom:98px}
.mr-global-footer{background:#123b29;color:#e6efe7;line-height:1.5;font-size:14px;position:relative}
.mr-footer-accent{height:5px;background:linear-gradient(90deg,#151515 0 32%,#ebc335 32% 67%,#b72c31 67% 100%)}
.mr-footer-top{padding:58px 0 51px;display:grid;grid-template-columns:minmax(230px,1.65fr) minmax(135px,.85fr) minmax(145px,.9fr) minmax(195px,1.2fr);gap:clamp(18px,3.8vw,56px)}
.mr-footer-brand{display:flex;align-items:center;gap:13px}
.mr-footer-brand img{width:auto;height:60px;object-fit:contain}
.mr-footer-brand div{display:flex;flex-direction:column;gap:4px}
.mr-footer-brand span{color:#d8c99f;font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:650}
.mr-footer-brand strong{color:#fff;font-size:19px;line-height:1.2;letter-spacing:-.018em}
.mr-footer-identity p{margin:19px 0 22px;max-width:285px;font-size:13px;color:#c3d3c7;line-height:1.7}
.mr-report-link{max-width:308px;display:flex;gap:11px;align-items:center;padding:13px 14px;border-radius:11px;background:#21543b;color:#fff;border:1px solid #3a7353;transition:background .2s}
.mr-report-link:hover{background:#2b6045}
.mr-report-link > span:first-child{width:31px;height:31px;border-radius:50%;background:#cba64b;color:#173c27;font-size:23px;font-weight:900;display:grid;place-items:center;flex:none}
.mr-report-link > span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}
.mr-report-link strong{font-size:13px}.mr-report-link small{font-size:11px;color:#d2dfd2}
.mr-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.mr-footer-column h2{color:#f3e1b5;font-size:14px;font-weight:780;margin:4px 0 7px;letter-spacing:.025em}
.mr-footer-column a{font-size:13px;color:#dce8dd;line-height:1.35}
.mr-footer-column a:hover{text-decoration:underline;color:#ffdf9c}
.mr-footer-contact p{font-size:13px;color:#c5d7c9;margin:0;line-height:1.65}
.mr-footer-column .mr-footer-contact-cta{margin-top:4px;font-weight:720;color:#f0cb71}
.mr-footer-bottom{border-top:1px solid rgba(236,245,232,.16);display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:69px;font-size:11px;color:#b8cebe}
.mr-footer-bottom-links{display:flex;gap:20px;flex-wrap:wrap}
.mr-footer-bottom-links a{color:#c7d9c8}
@media(max-width:1050px){.mr-global-nav>a,.mr-nav-group>summary{padding:0 9px;font-size:12px}.mr-nav-search{min-width:130px;width:180px}.mr-footer-top{grid-template-columns:1.4fr 1fr 1fr;gap:28px}.mr-footer-contact{grid-column:2 / 4}.mr-footer-identity{grid-row:span 2}}
@media(max-width:790px){
 .mr-brand-row{min-height:94px}.mr-brand img{height:64px}.mr-brand-text strong{font-size:21px}.mr-header-contact{display:none}.mr-mobile-menu-button{display:flex}
 .mr-navigation-bar{background:linear-gradient(180deg,#214e36,#173d2b)}.mr-navigation-inner{display:block;min-height:0;padding-top:8px;padding-bottom:8px}.mr-global-nav{display:none;flex-direction:column;min-height:0;padding-bottom:9px;max-height:75vh;overflow-y:auto}.mr-global-nav.is-open{display:flex}
 .mr-global-nav>a,.mr-nav-group>summary{min-height:43px;padding:12px 10px;font-size:14px;width:100%;justify-content:space-between;border-radius:7px}
 .mr-nav-group{width:100%}.mr-nav-submenu{position:static;max-width:none;width:100%;border:0;background:#24543b;border-radius:8px;box-shadow:none;padding:5px}
 .mr-nav-submenu a{color:#fff7e1;padding:10px 14px}.mr-nav-submenu a:hover{background:#356a4c}
 .mr-nav-search{width:100%;min-width:0;max-width:none;height:40px;margin:1px 0}.mr-nav-search input{font-size:14px}
 .mr-footer-top{grid-template-columns:repeat(2,minmax(0,1fr));padding:42px 0;gap:34px 24px}.mr-footer-identity{grid-column:1/-1;grid-row:auto}.mr-footer-contact{grid-column:auto}.mr-footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding:18px 0;gap:10px}
}
@media(max-width:530px){
 body.molg-refresh-standalone .mr-shell-container{width:min(100% - 30px,1230px)}
 .mr-utility-bar{font-size:10px}.mr-utility-inner{min-height:30px}.mr-utility-links{gap:11px}.mr-utility-links a:first-child{display:none}.mr-official{font-size:10px;line-height:1.2;gap:7px}
 .mr-brand-row{padding:14px 0;min-height:86px}.mr-brand{gap:10px}.mr-brand img{height:58px;max-width:61px}.mr-brand-kicker{font-size:9px;letter-spacing:.06em}.mr-brand-text strong{font-size:17px;letter-spacing:-.02em}.mr-brand-tagline{font-size:10px}.mr-brand-right{gap:8px}
 .mr-footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 20px}.mr-footer-contact{grid-column:1 / -1}.mr-footer-column h2{font-size:14px}
 .mr-global-footer{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.mr-report-link,.mr-global-header *{transition:none !important}}

/* Navigation refinement v0.3.0: clear gold active state + comfortable hover contrast. */
.mr-global-nav > a,.mr-nav-group > summary{transition:background-color .16s ease,color .16s ease}
.mr-global-nav > a:focus-visible,.mr-nav-group > summary:focus-visible{background:#eed089!important;color:#153d2b!important;border-radius:4px}
.mr-nav-group[open] > summary{color:#ffe4a7}
@media(max-width:790px){.mr-global-nav > .is-current{background:#e9c373;color:#153b2b}.mr-nav-submenu{background:#2d6043}.mr-nav-submenu a{color:#fff9e7}}

/* v0.5: tight Ministry-specific masthead, same seven primary navigation entries as the previous site. */
html:has(body.molg-refresh-standalone){margin-top:0!important;padding-top:0!important;scroll-padding-top:0}
body.molg-refresh-standalone{margin:0!important;padding:0!important;inset-block-start:0!important}
body.molg-refresh-standalone .mr-site-shell{margin-top:0!important;padding-top:0!important}
body.molg-refresh-standalone .mr-utility-bar{margin-top:0!important}
body.molg-refresh-standalone .mr-global-header{margin-top:0!important}
body.molg-refresh-standalone .mr-brand-row{min-height:99px;padding-block:10px}
body.molg-refresh-standalone .mr-header-contact{max-width:500px;gap:4px}
body.molg-refresh-standalone .mr-header-address{font-size:12px;color:#3f5c49;line-height:1.35;font-weight:630}
body.molg-refresh-standalone .mr-header-contact-ways{display:flex;gap:15px;justify-content:flex-end;flex-wrap:wrap}
body.molg-refresh-standalone .mr-navigation-inner{justify-content:flex-start}
body.molg-refresh-standalone .mr-global-nav{justify-content:space-between;flex:1}
body.molg-refresh-standalone .mr-nav-submenu{max-height:68vh;overflow-y:auto}
@media(max-width:790px){body.molg-refresh-standalone .mr-global-nav{justify-content:flex-start}}
@media(max-width:530px){body.molg-refresh-standalone .mr-brand-row{min-height:79px}body.molg-refresh-standalone .mr-utility-links a:last-child{display:none}}

/* v0.7 — centre the original seven-item desktop navigation without squeezing mobile menus. */
@media (min-width:791px){
 body.molg-refresh-standalone .mr-navigation-inner{justify-content:center!important}
 body.molg-refresh-standalone .mr-global-nav{flex:0 1 auto!important;justify-content:center!important;gap:clamp(3px,0.55vw,12px);width:max-content;max-width:100%}
 body.molg-refresh-standalone .mr-global-nav > a,
 body.molg-refresh-standalone .mr-nav-group > summary{padding-inline:clamp(11px,1.1vw,19px)}
}

/* v0.8.2: pointer-hover dropdown menus on desktop; generous touch spacing on phones. */
@media (min-width:791px) and (hover:hover) and (pointer:fine) {
 body.molg-refresh-standalone .mr-nav-group:hover > summary {background:#315f43;color:#f6d687}
 body.molg-refresh-standalone .mr-nav-group[open] > .mr-nav-submenu {display:block}
}
@media (max-width:790px) {
 body.molg-refresh-standalone .mr-global-nav.is-open {gap:5px;padding-block:9px 14px}
 body.molg-refresh-standalone .mr-nav-group[open] > summary {background:#315f43;color:#ffe6a7}
 body.molg-refresh-standalone .mr-nav-group[open] > .mr-nav-submenu {display:grid;gap:4px;margin:8px 3px 13px 13px;padding:10px 9px 10px 14px;border-left:2px solid #e4c579;border-radius:0 9px 9px 0}
 body.molg-refresh-standalone .mr-nav-submenu a {padding:12px 11px;line-height:1.4;border-radius:6px}
 body.molg-refresh-standalone .mr-nav-group > summary {min-height:49px;padding-inline:13px}
}


/* v0.9.3: Citizen feedback entry within the footer, just above the Uganda-colour band. */
.mr-footer-feedback-cta{background:#f2e9d6;color:#173d29;border-top:1px solid #e3d3b5}
.mr-footer-feedback-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:36px 0}
.mr-footer-feedback-copy{min-width:0}
.mr-footer-feedback-kicker{display:block;color:#8b6a2b;text-transform:uppercase;letter-spacing:.12em;font-weight:800;font-size:11px;margin-bottom:7px}
.mr-footer-feedback-copy h2{font-size:clamp(1.28rem,2vw,1.75rem);font-weight:820;letter-spacing:-.028em;margin:0 0 7px;color:#183d2a}
.mr-footer-feedback-copy p{color:#5e6a5f;font-size:.86rem;max-width:660px;margin:0;line-height:1.55}
.mr-footer-feedback-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;background:#16432d;color:#fff!important;border-radius:12px;padding:15px 19px;font-size:.86rem;font-weight:770;white-space:nowrap;min-height:47px;transition:background .2s,transform .2s}
.mr-footer-feedback-button:hover{background:#235d3f;transform:translateY(-1px)}
@media(max-width:760px){.mr-footer-feedback-inner{flex-direction:column;align-items:stretch;gap:20px;padding:29px 0}.mr-footer-feedback-button{width:100%;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.mr-footer-feedback-button{transition:none}}


/* v0.9.4 — premium *light* feedback strip, centred and isolated above footer flag. */
body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-cta{
  background:radial-gradient(circle at 50% 0,rgba(221,180,88,.14),transparent 43%),#f9f5eb;
  color:#1b4230; border-top:1px solid #e7dac1; text-align:center;
}
body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-inner{
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  gap:19px; padding:clamp(38px,5vw,64px) 18px;
  max-width:880px; margin:0 auto;
}
body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-copy{
  width:100%; display:flex; flex-direction:column; align-items:center;
}
body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-kicker{
  color:#9a722d; font-size:11px; letter-spacing:.16em;
  text-transform:uppercase; font-weight:850; margin:0 0 14px;
}
body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-copy h2{
  font-size:clamp(1.45rem,2.85vw,2.3rem); font-weight:820;
  color:#153c29; line-height:1.18; letter-spacing:-.035em;
  margin:0 0 13px; text-wrap:balance;
}
body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-copy p{
  color:#586e5f; max-width:630px; font-size:clamp(.85rem,1.2vw,1rem);
  line-height:1.7; margin:0 auto; text-wrap:pretty;
}
body.molg-refresh-standalone .mr-global-footer a.mr-footer-feedback-button{
  display:inline-flex; align-items:center; justify-content:center;
  width:auto; max-width:100%; min-height:49px;
  border:1px solid #17432f; border-radius:999px;
  background:#17432f; color:#fff!important; padding:14px 24px;
  font-weight:760; font-size:clamp(.78rem,1vw,.89rem);
  box-shadow:0 7px 19px rgba(20,62,38,.14); text-decoration:none!important;
  text-align:center;
}
body.molg-refresh-standalone .mr-global-footer a.mr-footer-feedback-button:hover{
  background:#285b3e; color:#fff!important; transform:translateY(-2px);
}
body.molg-refresh-standalone .mr-global-footer a.mr-footer-feedback-button:focus-visible{
 outline:3px solid #d5ab50; outline-offset:3px;
}
@media(max-width:600px){
 body.molg-refresh-standalone .mr-global-footer .mr-footer-feedback-inner{
   padding:36px 18px 42px; gap:19px;
 }
 body.molg-refresh-standalone .mr-global-footer a.mr-footer-feedback-button{
   width:100%; max-width:330px; padding:13px 15px;
 }
}

/* v0.10.4: eliminate accidental whitespace before footer across all refresh
   preview templates. The content itself retains deliberate card spacing. */
body.molg-refresh-standalone .mr-main-content{min-height:0;background:#f5efe2;}
body.molg-refresh-standalone .mr-main-content > .molg-redesign,
body.molg-refresh-standalone .mr-main-content > .mn-page{
  padding-bottom:clamp(18px,2.2vw,32px)!important;
  margin-bottom:0!important;
}
body.molg-refresh-standalone .mr-main-content > :last-child{margin-bottom:0!important;}
body.molg-refresh-standalone .mr-main-content > :last-child > :last-child{margin-bottom:0!important;}
body.molg-refresh-standalone .mr-global-footer{margin-top:0!important;}
@media(max-width:790px){
 body.molg-refresh-standalone .mr-main-content > .molg-redesign,
 body.molg-refresh-standalone .mr-main-content > .mn-page{padding-bottom:18px!important;}
}

/* v0.10.5: shared canvas for subpages; the preview page is never a
   pale full-width white sheet inside a gold background. */
body.molg-refresh-standalone .mr-main-content:has(> .molg-redesign.mrsp-page) {
  background:#d4b982!important;
}
