/* Monaqasa, over the invoice dashboard.
   Every number below was read off monaqasa.org with getComputedStyle, not
   eyeballed: strip 36px #1e3a5f / #cbd7e6, header 64px, logo 140x47, links
   13.5px 600 #475569 at 8px 9.2px with a 4px gap, active #0c9fc1 under a 2px
   rule, nav shadow 0 3px 14px rgba(16,24,40,.06), content inset 64px; the
   administration cards: white, 1px #eef2f6, radius 18, shadow
   0 1px 3px rgba(16,24,40,.05), padding 18, name 16/700, stat tiles #f8f9fa at
   radius 8 with a 9px/600 #666 label over an 11px/700 navy figure, and a cyan
   call to action at radius 12 with shadow 0 4px 12px rgba(12,159,193,.14). */
:root{
  --page:#ffffff; --surface-1:#ffffff; --surface-2:#f8fafc;
  --border:#e2e8f0; --grid:#f1f5f9; --baseline:#e2e8f0;
  --navy:#1e3a5f; --text-primary:#1e3a5f; --text-secondary:#475569; --muted:#64748b;
  --accent:#0c9fc1; --accent-ink:#0a7284; --accent-tint:#e8f4f8; --brand-tint:#e8f4f8;
  --stripe:#f8fafc;
}
body{background:#fff}

/* ---------------------------------------------------------------- their navbar */
.mq-strip{background:#1e3a5f;color:#cbd7e6}
.mq-in{padding:0 64px;display:flex;align-items:center;gap:16px}
.mq-strip .mq-in{height:36px;gap:14px;justify-content:flex-end}
.mq-soc{color:#cbd7e6;display:flex;align-items:center;opacity:.85}
.mq-soc svg{width:13px;height:13px;display:block}
.mq-soc:hover{opacity:1;color:#fff}
.mq-div{width:1px;height:16px;background:rgba(255,255,255,.2);display:block}
.mq-lang{background:none;border:0;color:#cbd7e6;font-family:inherit;font-size:13px;font-weight:600;
  cursor:pointer;padding:0 8px;height:30px;line-height:30px}
.mq-lang:hover{color:#fff}
.mq-head{background:#fff;position:sticky;top:0;z-index:40;box-shadow:0 3px 14px rgba(16,24,40,.06)}
.mq-head .mq-in{height:64px;justify-content:space-between}
.mq-logo{display:flex;align-items:center;flex:none}
.mq-logo img{height:47px;width:auto;display:block}
.mq-nav{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.mq-nav[hidden]{display:none}   /* an author display rule outranks the UA's [hidden] */
.mq-nav::-webkit-scrollbar{display:none}
.mq-link{font-size:13.5px;font-weight:600;color:#475569;text-decoration:none;padding:8px 9.2px;
  position:relative;white-space:nowrap;line-height:26px}
.mq-link:hover{color:#0c9fc1}
.mq-link.on{color:#0c9fc1}
.mq-link.on::after{content:"";position:absolute;inset-inline-start:9.2px;bottom:2px;
  width:calc(100% - 18.4px);height:2px;background:#0c9fc1;border-radius:2px}
.mq-burger{display:none;width:40px;height:40px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;
  cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:0;flex:none}
.mq-burger span{display:block;width:17px;height:2px;background:#1e3a5f;border-radius:2px}
.mq-drawer{display:none;flex-direction:column;border-top:1px solid #eef2f6;background:#fff;padding:6px 14px 12px}
.mq-drawer a{font-size:13.5px;font-weight:600;color:#475569;text-decoration:none;padding:11px 2px;
  border-bottom:1px solid #f1f5f9}
.mq-drawer a.on{color:#0c9fc1}
.mq-drawer a:last-child{border-bottom:0}

/* ---------------------------------------------------------------- the page, their frame */
.mq-cont{padding:0 64px}
.mq-top{padding-top:24px}
.mq-crumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;font-size:13px;
  color:#64748b;margin-bottom:16px}
.mq-crumb a{color:#64748b;text-decoration:none;font-weight:500;cursor:pointer}
.mq-crumb a:hover{color:#0c9fc1}
.mq-crumb i{font-style:normal;color:#cbd5e1}
.mq-crumb .cur{color:#0c9fc1;font-weight:600}
/* the breadcrumb and the lit tab already say where the reader is, so the page
   card and the group stand-first are dropped rather than repeated */
.grouphead{display:none!important}

/* the sub-navigation: their tab idiom, inside the page */
.mq-subnav{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:16px;overflow:hidden}
.mq-subnav .mq-tabs{display:flex;align-items:center;gap:4px;padding:0 10px;overflow-x:auto;
  scrollbar-width:none;border-bottom:1px solid #eef2f6}
.mq-subnav .mq-tabs::-webkit-scrollbar{display:none}
.mq-tab{font-family:inherit;font-size:13.5px;font-weight:600;color:#475569;background:none;border:0;
  cursor:pointer;padding:14px 9.2px 12px;white-space:nowrap;position:relative}
.mq-tab:hover{color:#0c9fc1}
.mq-tab.on{color:#0c9fc1}
.mq-tab.on::after{content:"";position:absolute;inset-inline-start:9.2px;bottom:0;
  width:calc(100% - 18.4px);height:2px;background:#0c9fc1}
.mq-report{font-family:inherit;font-size:12.5px;font-weight:700;color:#fff;background:#0c9fc1;border:0;
  border-radius:9px;padding:8px 13px;cursor:pointer;white-space:nowrap;margin-inline-start:auto;
  display:flex;align-items:center;gap:7px;box-shadow:0 4px 12px rgba(12,159,193,.14)}
.mq-report:hover{filter:brightness(1.06)}
.mq-report .ri{display:flex}.mq-report svg{width:15px;height:15px}
.mq-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;background:#f8fafc}
.mq-chip{font-family:inherit;font-size:12.5px;font-weight:600;color:#475569;background:#fff;
  border:1px solid #e2e8f0;border-radius:999px;padding:7px 14px;cursor:pointer}
.mq-chip:hover{border-color:#0c9fc1;color:#0c9fc1}
.mq-chip.on{background:#0c9fc1;border-color:#0c9fc1;color:#fff}
.mq-pick{font-family:inherit;font-size:12.5px;font-weight:600;color:#1e3a5f;background:#fff;
  border:1px solid #e2e8f0;border-radius:999px;padding:7px 14px;cursor:pointer;max-width:340px}

/* ---------------------------------------------------------------- the landing */
.mq-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px 24px 24px;margin-bottom:8px}
.mq-ph{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.mq-ph::before{content:"";width:3px;height:18px;border-radius:2px;background:#0c9fc1;flex:none}
.mq-ph b{font-size:17px;font-weight:800;color:#1e3a5f}
.mq-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.mq-stat{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 12px;
  display:flex;align-items:center;gap:10px;min-height:92px}
.mq-stat .si{width:42px;height:42px;border-radius:10px;flex:none;display:flex;align-items:center;
  justify-content:center;color:var(--sc,#0c9fc1);background:color-mix(in srgb,var(--sc,#0c9fc1) 8%,#fff)}
.mq-stat .si svg{width:20px;height:20px}
.mq-stat .sb{min-width:0}
.mq-stat .sn{font-size:22px;font-weight:800;color:var(--sc,#0c9fc1);line-height:1.3}
.mq-stat .sn .usd{display:block;font-size:11px;font-weight:600;color:#94a3b8}
.mq-stat .sl{font-size:11px;font-weight:600;color:#64748b;line-height:1.35}
/* the six areas, five to a row; the sixth runs the width rather than sit alone */
.mq-areas{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:24px}
.mqcard{grid-column:span 1;background:#fff;border:1px solid #eef2f6;border-radius:18px;
  box-shadow:0 1px 3px rgba(16,24,40,.05);padding:18px;cursor:pointer;font-family:inherit;color:inherit;
  text-align:start;display:flex;flex-direction:column;gap:10px;transition:box-shadow .16s,border-color .16s}
.mqcard:hover{box-shadow:0 10px 26px rgba(16,24,40,.10);border-color:var(--ac,#0c9fc1)}
.mqcard .mc-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  color:var(--ac,#0c9fc1);background:color-mix(in srgb,var(--ac,#0c9fc1) 10%,#fff);flex:none}
.mqcard .mc-ico svg{width:22px;height:22px}
.mqcard .mc-body{flex:1;display:flex;flex-direction:column;gap:7px;min-width:0}
.mqcard .mc-t{font-size:15.5px;font-weight:800;color:#1e3a5f;line-height:1.4}
.mqcard .mc-fig{background:#f8f9fa;border-radius:8px;padding:8px 10px}
.mqcard .mc-fig b{display:block;font-size:20px;font-weight:800;color:var(--ac,#0c9fc1);line-height:1.25}
.mqcard .mc-fig span{display:block;font-size:10.5px;font-weight:600;color:#666;line-height:1.4;margin-top:1px}
.mqcard .mc-d{font-size:12.5px;font-weight:400;color:#64748b;line-height:1.65}
.mqcard .mc-cta{font-size:13px;font-weight:700;color:#fff;background:var(--ac,#0c9fc1);border-radius:12px;
  padding:9px 14px;text-align:center;box-shadow:0 4px 12px rgba(12,159,193,.14)}
.mqcard.wide{grid-column:1 / -1;flex-direction:row;align-items:center;gap:18px}
.mqcard.wide .mc-body{flex-direction:row;align-items:center;gap:22px}
.mqcard.wide .mc-t{flex:none;width:200px}
.mqcard.wide .mc-fig{flex:none;min-width:220px}
.mqcard.wide .mc-d{flex:1}
.mqcard.wide .mc-cta{flex:none;align-self:center}

/* ---------------------------------------------------------------- the bodies, their cards */
.mq-admgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:12px}
.mqadm{background:#fff;border:1px solid #eef2f6;border-radius:18px;box-shadow:0 1px 3px rgba(16,24,40,.05);
  padding:18px;cursor:pointer;font-family:inherit;color:inherit;text-align:start;display:flex;
  flex-direction:column;gap:9px;transition:box-shadow .16s,border-color .16s}
.mqadm:hover{box-shadow:0 10px 26px rgba(16,24,40,.10);border-color:var(--ac,#0c9fc1)}
/* the logo sits in the middle of the card, a fifth larger than the 44px tile
   used elsewhere; `.blogo` is the badge itself, so the wrapper only centres it */
.mqadm .ma-logo{display:flex;justify-content:center;flex:none;margin-bottom:2px}
.mqadm .ma-logo .blogo{width:53px;height:53px;border-radius:14px;padding:5px}
.mqadm .ma-logo .blogo svg{width:26px;height:26px}
.mqadm .ma-logo img{max-width:100%;max-height:100%;object-fit:contain}
.mqadm .ma-name{font-size:14.5px;font-weight:700;color:#231f20;line-height:1.45;min-height:42px}
.mqadm .ma-cls{font-size:11px;font-weight:600;color:#94a3b8}
.mqadm .ma-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:2px}
.mqadm .ma-s{background:#f8f9fa;border-radius:8px;padding:6px 8px;min-width:0}
.mqadm .ma-s .l{display:block;font-size:9px;font-weight:600;color:#666;line-height:1.5}
.mqadm .ma-s b{display:block;font-size:11.5px;font-weight:700;color:#1e3a5f;line-height:1.4;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mqadm .ma-s.flag b{color:#c62828}
.mqadm .ma-cta{margin-top:auto;font-size:13px;font-weight:600;color:#fff;background:#0c9fc1;border-radius:12px;
  padding:9px 14px;text-align:center;box-shadow:0 4px 12px rgba(12,159,193,.14)}

/* ---------------------------------------------------------------- the report reader */
.mq-modal{position:fixed;inset:0;z-index:200;background:rgba(15,28,45,.55);display:flex;align-items:center;
  justify-content:center;padding:28px}
.mq-modal[hidden]{display:none}
.mq-mbox{background:#fff;border-radius:16px;width:min(1080px,100%);height:100%;display:flex;
  flex-direction:column;overflow:hidden;box-shadow:0 24px 70px rgba(16,24,40,.35)}
.mq-mhead{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid #eef2f6}
.mq-mhead b{font-size:15px;font-weight:800;color:#1e3a5f;flex:1;min-width:0}
.mq-mact{display:flex;align-items:center;gap:10px;flex:none}
.mq-mact a{font-size:12.5px;font-weight:700;color:#fff;background:#0c9fc1;border-radius:9px;padding:9px 15px;
  text-decoration:none;box-shadow:0 4px 12px rgba(12,159,193,.14)}
.mq-mact a:hover{filter:brightness(1.06)}
.mq-mact button{font-family:inherit;font-size:14px;color:#475569;background:#fff;border:1px solid #e2e8f0;
  border-radius:9px;width:34px;height:34px;cursor:pointer}
.mq-mact button:hover{border-color:#0c9fc1;color:#0c9fc1}
.mq-mframe,#mq-mframe{flex:1;width:100%;border:0;background:#f1f5f9}

/* ---------------------------------------------------------------- no vertical menu, no footer */
nav.side,.side-show,.subbar{display:none!important}
.wrap{display:block;max-width:none;margin:0;padding:0 64px 64px;grid-template-columns:none}
#ppa-app main{max-width:none;padding:0}

/* ---------------------------------------------------------------- their components */
.card,.portal-card,.idea,.acc,.facts,.bodycard,.hero,.mcard,.step,.jump,.tblwrap,.kpi,.chart-box,.grouphead{
  border-radius:12px}
.card{background:#fff;border:1px solid #e2e8f0;box-shadow:none;padding:24px}
.portal-card,.step,.mcard,.bodycard,.idea,.acc,.grouphead{background:#fff;border:1px solid #e2e8f0;box-shadow:none}
.portal-card{border-radius:18px;box-shadow:0 1px 3px rgba(16,24,40,.05)}
.portal-card:hover,.step:hover,.mcard:hover,.bodycard:hover,.idea:hover{
  border-color:#0c9fc1;box-shadow:0 10px 26px rgba(16,24,40,.10)}
.portal-card .stripe{display:none}
/* five to a row, and a short row spreads rather than leaving a hole */
.portal-grid{display:flex;flex-wrap:wrap;gap:16px;grid-template-columns:none}
.portal-grid>*{flex:1 1 calc(20% - 13px);min-width:210px}
.portal-card .ico,.idea .im,.acc .am{border-radius:10px;border:0;width:42px;height:42px;
  background:color-mix(in srgb,var(--pc,var(--ic,var(--ac,#0c9fc1))) 10%,#fff);
  color:var(--pc,var(--ic,var(--ac,#0c9fc1)))}
/* their stat box: tile, 11px label, 22px figure in the tile's colour */
.kpi{background:#fff;border:1px solid #e2e8f0;box-shadow:none;border-radius:12px;padding:14px 12px;
  display:flex;align-items:center;gap:10px;min-height:102px;position:relative}
.kpi::before{content:"";width:42px;height:42px;border-radius:10px;flex:none;
  background:color-mix(in srgb,var(--kc2,#0c9fc1) 8%,#fff)}
.kpi .val{font-size:22px;font-weight:800;color:var(--kc2,#0c9fc1);line-height:1.3}
.kpi .lbl{color:#64748b;font-size:11px;font-weight:600;line-height:1.3}
.kpi.c1{--kc2:#0d47a1}.kpi.c2{--kc2:#e65100}.kpi.c3{--kc2:#22c55e}.kpi.c4{--kc2:#f59e0b}
.kpi.c5{--kc2:#8b5cf6}.kpi.c6{--kc2:#0a7f9c}.kpi.c7{--kc2:#1e3a5f}.kpi.c8{--kc2:#ef4444}
.kpi.crit{--kc2:#ef4444}.kpi.warn{--kc2:#f59e0b}.kpi.good{--kc2:#22c55e}.kpi.brand{--kc2:#0c9fc1}
/* section rules read as their panel headings: a cyan bar, then navy 17/700 */
.sec-h{font-size:17px;font-weight:800;color:#1e3a5f;letter-spacing:0;text-transform:none;
  border-bottom:0;margin:28px 0 14px;padding:0;display:flex;align-items:center;gap:10px}
.sec-h::before{content:"";width:3px;height:18px;border-radius:2px;background:#0c9fc1;flex:none}
/* tables */
.tblwrap{border:1px solid #e2e8f0;box-shadow:none;background:#fff}
table.dv th{background:#f8fafc;color:#1e3a5f;font-weight:800;border-bottom:1px solid #e2e8f0}
table.dv td{border-bottom:1px solid #f1f5f9;color:#334155}
table.dv tbody tr:nth-child(even) td{background:#f8fafc}
table.dv tbody tr:hover td{background:#e8f4f8}
.tctl input,.tctl select,.pager button,.pager select{border-radius:8px;border-color:#e2e8f0}
.tctl button.mini,.jump button,.mini-chips .chip{border-radius:999px}

@media(max-width:1280px){.mq-areas,.mq-admgrid,.mq-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mqcard.wide{grid-column:1 / -1}}
@media(max-width:1100px){.mq-in,.mq-cont,.wrap{padding-left:24px;padding-right:24px}
  .wrap{padding-bottom:48px}}
@media(max-width:900px){
  .mq-nav{display:none!important}.mq-burger{display:flex}
  .mq-drawer:not([hidden]){display:flex}
  .mqcard.wide{flex-direction:column;align-items:stretch}
  .mqcard.wide .mc-body{flex-direction:column;align-items:stretch;gap:7px}
  .mqcard.wide .mc-t,.mqcard.wide .mc-fig{width:auto;min-width:0}}
@media(max-width:820px){
  .mq-head .mq-in{height:58px}.mq-logo img{height:38px}
  .mq-in,.mq-cont,.wrap{padding-left:14px;padding-right:14px}
  .mq-areas,.mq-admgrid,.mq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mq-crumb{padding:6px 2px;font-size:12px}
  .mq-modal{padding:0}.mq-mbox{border-radius:0}
  .mq-report{margin-inline-start:8px}}
@media(max-width:560px){.mq-areas,.mq-admgrid,.mq-stats{grid-template-columns:minmax(0,1fr)}}
