
:root {
  --mhub-green: #244b25;
  --mhub-green-2: #2f6a31;
  --mhub-dark: #111111;
  --mhub-muted: #687076;
  --mhub-soft: #f5f8f4;
  --mhub-card: #ffffff;
  --mhub-line: rgba(18, 22, 26, 0.08);
}
* { box-sizing: border-box; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7f8f6;
  color: var(--mhub-dark);
}
a { text-decoration: none; }
.btn-success, .bg-success {
  background-color: var(--mhub-green) !important;
  border-color: var(--mhub-green) !important;
}
.btn-outline-dark:hover { color: #fff; }
.mhub-navbar { backdrop-filter: saturate(180%) blur(12px); }
.brand-logo { height: 46px; width: auto; }
.footer-logo { height: 52px; width: auto; filter: brightness(0) invert(1); }
.navbar .nav-link { font-size: .93rem; font-weight: 600; color: #253127; }
.navbar .nav-link:hover { color: var(--mhub-green); }
.hero-shell {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(90deg, rgba(247,248,246,.94) 0%, rgba(247,248,246,.88) 32%, rgba(247,248,246,.2) 58%, rgba(17,17,17,.05) 100%), url('../images/hero-community.jpg') center/cover no-repeat;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  overflow: hidden;
}
.hero-kicker, .section-kicker {
  display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px;
  padding: .45rem .9rem; background: rgba(36,75,37,.08); color: var(--mhub-green); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
}
.hero-title { font-size: clamp(2.4rem, 4.3vw, 4.8rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; max-width: 760px; }
.hero-copy { max-width: 650px; color: #495057; font-size: 1.06rem; }
.panel-card, .stat-card, .feature-card, .content-card, .dash-card {
  background: var(--mhub-card); border-radius: 1.25rem; border: 1px solid var(--mhub-line); box-shadow: 0 16px 44px rgba(18,22,26,.06);
}
.hero-mini-card { max-width: 460px; }
.impact-strip { margin-top: -52px; position: relative; z-index: 10; }
.impact-card { background: linear-gradient(135deg, var(--mhub-green), #1c351d); color: #fff; border-radius: 1.4rem; box-shadow: 0 18px 50px rgba(36,75,37,.28); }
.impact-item strong { display:block; font-size: clamp(1.65rem, 2vw, 2.2rem); line-height:1; margin-bottom:.35rem; }
.section-space { padding: 5rem 0; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.section-copy { color: var(--mhub-muted); max-width: 700px; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.about-grid { min-height: 460px; }
.about-photo { border-radius: 1.5rem; overflow: hidden; min-height: 100%; }
.service-card .icon-wrap, .community-badge { width: 52px; height: 52px; border-radius: 1rem; display:flex; align-items:center; justify-content:center; background: rgba(36,75,37,.09); color: var(--mhub-green); font-weight: 800; }
.service-card h5, .program-card h5, .spotlight-card h5, .event-card h5 { font-weight: 700; }
.program-card .program-thumb, .event-card .event-thumb, .gallery-card .gallery-thumb, .spotlight-card .spotlight-thumb { border-radius: 1rem; overflow:hidden; }
.program-card .program-thumb { height: 210px; }
.gallery-card .gallery-thumb { height: 210px; }
.spotlight-card .spotlight-thumb { height: 220px; }
.event-card .event-thumb { height: 180px; }
.metric-pill { display:inline-flex; padding:.35rem .75rem; border-radius:999px; background: rgba(36,75,37,.08); color: var(--mhub-green); font-size:.78rem; font-weight:700; }
.signature-band { background: linear-gradient(135deg, #132614, #244b25); color: #fff; border-radius: 1.75rem; overflow:hidden; }
.signature-band .metric-pill { background: rgba(255,255,255,.15); color: #fff; }
.logo-cloud img { max-height: 28px; opacity: .9; }
.site-footer { background: #101713; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-links li { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.portal-shell, .admin-shell { min-height: 100vh; }
.portal-sidebar, .admin-sidebar {
  min-height: 100vh; background: linear-gradient(180deg, #173118 0%, #244b25 62%, #183019 100%); color: #fff; position: sticky; top: 0;
}
.portal-logo, .admin-logo { height: 42px; width: auto; filter: brightness(0) invert(1); }
.side-nav a {
  display:flex; align-items:center; gap:.75rem; padding:.82rem 1rem; border-radius: .95rem; color: rgba(255,255,255,.85); font-weight:600; font-size:.95rem;
}
.side-nav a.active, .side-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.side-dot { width: 10px; height:10px; border-radius: 50%; background: rgba(255,255,255,.7); }
.dashboard-topbar { background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border-bottom:1px solid var(--mhub-line); }
.dashboard-metric .value { font-size: 2rem; font-weight:800; line-height:1; }
.small-muted { color: var(--mhub-muted); }
.list-clean { list-style:none; padding-left:0; margin-bottom:0; }
.list-clean li + li { margin-top: .95rem; }
.progress-thin { height: .55rem; background:#e9ecef; border-radius:999px; overflow:hidden; }
.progress-thin > span { display:block; height:100%; background: linear-gradient(90deg, var(--mhub-green), #4d8d4f); }
.table-lite td, .table-lite th { padding: .85rem 0; border-color: var(--mhub-line); }
.admin-chart-bars { display:flex; align-items:flex-end; gap:.6rem; height:140px; }
.admin-chart-bars span { display:block; flex:1; background: linear-gradient(180deg, #85b587, var(--mhub-green)); border-radius:.75rem .75rem .35rem .35rem; }
.map-card { min-height: 240px; background: linear-gradient(160deg, rgba(36,75,37,.08), rgba(36,75,37,.16)); }
@media (max-width: 991.98px) {
  .hero-shell { min-height: auto; padding-bottom: 4rem; border-radius: 0 0 1.25rem 1.25rem; }
  .impact-strip { margin-top: 2rem; }
  .portal-sidebar, .admin-sidebar { min-height: auto; position: relative; }
}


.widget-ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--mhub-green) var(--deg,220deg), #e9ecef 0);}
.widget-ring-inner{width:84px;height:84px;border-radius:50%;background:#fff;display:grid;place-items:center;font-weight:800;color:var(--mhub-green);}
.mini-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:.6rem;}
.calendar-day{background:#fff;border:1px solid var(--mhub-line);border-radius:1rem;padding:.8rem;min-height:120px;}
.calendar-day .date{font-weight:700;font-size:.9rem;margin-bottom:.35rem;}
.calendar-slot{display:block;background:rgba(36,75,37,.08);color:var(--mhub-green);border-radius:.75rem;padding:.35rem .5rem;font-size:.72rem;font-weight:700;margin-bottom:.35rem;}
.bulk-bar{background:#fff;border:1px solid var(--mhub-line);border-radius:1rem;padding:1rem;}

.timeline-item{position:relative}.timeline-item:before{content:"";position:absolute;left:-7px;top:4px;width:10px;height:10px;border-radius:50%;background:#244b25}.timeline-stack .timeline-item:last-child{margin-bottom:0}.preview-frame{border:1px solid rgba(0,0,0,.08);border-radius:16px;overflow:hidden;background:#fff}.mini-preview-card{border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:12px;background:#fff;height:100%}

.side-group summary{list-style:none;cursor:pointer;}
.side-group summary::-webkit-details-marker{display:none;}
.side-group{border-top:1px solid rgba(255,255,255,.08);padding-top:.35rem;}
.side-group[open] summary{color:#fff;}
.table-lite td,.table-lite th{font-size:.92rem;}


.public-nav-main .dropdown-menu{border:1px solid rgba(0,0,0,.08);border-radius:1rem;box-shadow:0 18px 40px rgba(18,22,26,.10);min-width:340px;}
.public-dropdown .dropdown-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .5rem;}
.public-dropdown .small-grid{grid-template-columns:repeat(1,minmax(0,1fr));min-width:220px;}
.public-dropdown .dropdown-item{font-weight:600;color:#253127;padding:.55rem .75rem;border-radius:.7rem;white-space:normal;}
.public-dropdown .dropdown-item:hover{background:rgba(36,75,37,.08);color:var(--mhub-green);}
@media (min-width: 1200px){
  .public-nav-main .dropdown:hover > .dropdown-menu{display:block;margin-top:0;}
}
@media (max-width: 1199.98px){
  .public-nav-main{align-items:stretch !important;padding-top:1rem;}
  .public-nav-main .nav-item{width:100%;}
  .public-nav-main .dropdown-menu{min-width:100%;box-shadow:none;border-radius:.85rem;background:#f8faf7;}
  .public-dropdown .dropdown-grid{grid-template-columns:1fr;}
}


body{background:linear-gradient(180deg,#f6f8f5 0%,#eef3ed 100%);} 
.hero-shell:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right, rgba(36,75,37,.18), transparent 28%), radial-gradient(circle at bottom left, rgba(126,160,130,.18), transparent 32%);pointer-events:none;}
.navbar .nav-link{position:relative}
.navbar .nav-link:after{content:'';position:absolute;left:.75rem;right:.75rem;bottom:.3rem;height:2px;background:var(--mhub-green);transform:scaleX(0);transform-origin:left;transition:.25s ease}
.navbar .nav-link:hover:after,.navbar .nav-link.active:after{transform:scaleX(1)}
.public-nav-main .btn{border-radius:999px;font-weight:700}
.panel-card,.stat-card,.feature-card,.content-card,.dash-card{box-shadow:0 18px 60px rgba(18,22,26,.07)}
.section-kicker,.hero-kicker{backdrop-filter: blur(8px)}
.dashboard-topbar{position:sticky;top:0;z-index:20}
.dash-card{transition:transform .18s ease, box-shadow .18s ease}
.dash-card:hover,.feature-card:hover,.content-card:hover{transform:translateY(-2px);box-shadow:0 22px 64px rgba(18,22,26,.09)}
.form-control,.form-select{border-radius:.9rem;padding:.8rem .95rem;border-color:rgba(18,22,26,.12)}
.btn{border-radius:.9rem}
.admin-shell .table-responsive,.portal-shell .table-responsive{border-radius:1rem}
.side-nav .text-uppercase{letter-spacing:.08em}
.site-footer{background:linear-gradient(180deg,#102012 0%,#0d1711 100%)}


.hero-shell{box-shadow:inset 0 -120px 120px rgba(255,255,255,.02),0 25px 80px rgba(18,22,26,.08)}
.public-dropdown .dropdown-grid{min-width:420px}
.site-shell-accent{position:relative}
.feature-card h5,.content-card h3,.section-title{letter-spacing:-.02em}
.admin-shell main,.portal-shell main{background:linear-gradient(180deg,#f8faf7 0%,#eef4ee 100%)}
.dashboard-topbar{box-shadow:0 10px 30px rgba(18,22,26,.05)}
.side-nav a{border:1px solid transparent}
.side-nav a.active,.side-nav a:hover{border-color:rgba(255,255,255,.12)}
.table-lite tbody tr:hover{background:rgba(36,75,37,.03)}
.hero-mini-card{background:rgba(255,255,255,.82);backdrop-filter:blur(10px)}
@media (min-width:1200px){.navbar .dropdown-menu.public-dropdown{margin-top:.5rem}}


.public-nav-main .dropdown-toggle.has-menu{display:flex;align-items:center;gap:.35rem;}
.public-nav-main .dropdown-toggle.has-menu .menu-hint{font-size:.64rem;letter-spacing:.06em;text-transform:uppercase;color:#6b7b6c;font-weight:800;background:rgba(36,75,37,.07);padding:.2rem .45rem;border-radius:999px;}
.public-nav-main .dropdown-toggle::after{display:inline-block !important;margin-left:.15rem;vertical-align:.1rem;border-top:.35em solid currentColor;border-right:.35em solid transparent;border-left:.35em solid transparent;}
@media (max-width:1199.98px){.public-nav-main .dropdown-toggle.has-menu{justify-content:space-between}.public-nav-main .dropdown-toggle.has-menu .menu-hint{margin-left:auto;margin-right:.35rem;}}

/* V24 international polish */
:root{
  --mhub-green-deep:#19361d;
  --mhub-surface:#ffffff;
  --mhub-surface-2:#f8fbf8;
  --mhub-shadow-lg:0 24px 70px rgba(16,24,18,.10);
  --mhub-shadow-md:0 14px 40px rgba(16,24,18,.08);
}
body{
  min-height:100vh;
  background:
    radial-gradient(circle at top right, rgba(36,75,37,.06), transparent 26%),
    radial-gradient(circle at bottom left, rgba(36,75,37,.05), transparent 28%),
    linear-gradient(180deg,#f7faf7 0%,#eef4ef 100%);
}
.container, .container-fluid{position:relative;z-index:1}
.top-utility-bar{
  background:linear-gradient(90deg,var(--mhub-green-deep),var(--mhub-green));
  color:#fff;
  font-size:.84rem;
}
.top-utility-bar a{color:#fff;opacity:.92}
.top-utility-bar a:hover{opacity:1}
.mhub-navbar{
  background:rgba(255,255,255,.84)!important;
  border-bottom:1px solid rgba(15,23,20,.06);
  box-shadow:0 10px 36px rgba(15,23,20,.06);
}
.public-nav-main .nav-link{
  padding:.92rem .82rem!important;
  display:flex;align-items:center;gap:.35rem;
  border-radius:.8rem;
}
.public-nav-main .nav-link:hover{background:rgba(36,75,37,.05)}
.public-nav-main .dropdown-toggle::after{margin-left:.2rem;vertical-align:.05rem}
.navbar .nav-link:after{left:.85rem;right:.85rem;bottom:.45rem}
.hero-shell{
  min-height:86vh;
  border-bottom-left-radius:2.5rem;
  border-bottom-right-radius:2.5rem;
}
.hero-shell .container{padding-top:2rem;padding-bottom:3rem}
.hero-kicker,.section-kicker{box-shadow:inset 0 0 0 1px rgba(36,75,37,.05)}
.panel-card,.stat-card,.feature-card,.content-card,.dash-card,.impact-card{
  box-shadow:var(--mhub-shadow-md);
}
.feature-card,.content-card,.dash-card{background:rgba(255,255,255,.92)}
.feature-card,.content-card{backdrop-filter:blur(10px)}
.feature-card:hover,.content-card:hover,.dash-card:hover{transform:translateY(-4px)}
.section-space{padding:5.5rem 0}
.section-title{max-width:860px}
.small-muted{line-height:1.65}
.program-card,.spotlight-card,.event-card,.gallery-card{overflow:hidden}
.program-card .program-thumb img,.event-card .event-thumb img,.gallery-card .gallery-thumb img,.spotlight-card .spotlight-thumb img{transition:transform .45s ease}
.program-card:hover .program-thumb img,.event-card:hover .event-thumb img,.gallery-card:hover .gallery-thumb img,.spotlight-card:hover .spotlight-thumb img{transform:scale(1.04)}
.metric-pill{font-size:.73rem;letter-spacing:.02em}
.site-footer{
  margin-top:4rem;
  position:relative;
  overflow:hidden;
}
.site-footer:before{
  content:'';position:absolute;inset:auto -10% 65% auto;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle, rgba(126,160,130,.16), transparent 68%);
}
.footer-panel{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:1.25rem;
  padding:1.1rem;
}
.footer-links a{transition:padding-left .18s ease, color .18s ease}
.footer-links a:hover{padding-left:.15rem}
.admin-sidebar,.portal-sidebar{
  box-shadow:inset -1px 0 0 rgba(255,255,255,.05);
}
.side-nav a{position:relative;overflow:hidden}
.side-nav a:before{
  content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:999px;background:transparent;transition:.2s ease;
}
.side-nav a.active:before,.side-nav a:hover:before{background:#fff}
.dashboard-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding-top:1rem!important;padding-bottom:1rem!important;
  background:rgba(255,255,255,.78);
}
.dashboard-title-block h1{letter-spacing:-.02em}
.dash-card h5{letter-spacing:-.01em}
.dashboard-metric{
  position:relative;
  overflow:hidden;
}
.dashboard-metric:after{
  content:'';position:absolute;right:-26px;top:-26px;width:86px;height:86px;border-radius:50%;background:rgba(36,75,37,.05);
}
.dashboard-metric .value{font-size:2.15rem}
.dashboard-actions .btn{min-width:132px}
.data-table-shell{
  background:#fff;border:1px solid rgba(15,23,20,.08);border-radius:1.15rem;overflow:hidden;
}
.data-table-shell .table{margin-bottom:0}
.badge-soft{display:inline-flex;align-items:center;padding:.45rem .72rem;border-radius:999px;background:rgba(36,75,37,.08);color:var(--mhub-green);font-weight:700;font-size:.76rem}
.profile-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}
.form-section-title{font-size:1.02rem;font-weight:800;letter-spacing:-.01em;margin-bottom:.8rem}
.form-card{background:#fff;border:1px solid rgba(15,23,20,.07);border-radius:1.2rem;box-shadow:var(--mhub-shadow-md)}
.empty-state{padding:2rem;border:1px dashed rgba(36,75,37,.18);border-radius:1rem;background:rgba(255,255,255,.65);color:var(--mhub-muted)}
.admin-toolbar,.portal-toolbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;margin-bottom:1.25rem}
.table-lite thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#6c757d;border-bottom-width:1px}
.table-lite tbody tr:hover{background:rgba(36,75,37,.03)}
.public-section-header{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap}
.calendar-shell .calendar-day{box-shadow:0 8px 24px rgba(16,24,18,.06)}
@media (max-width:991.98px){
  .top-utility-bar{display:none}
  .hero-shell{min-height:auto}
  .dashboard-topbar{align-items:flex-start;flex-direction:column}
}


.public-nav-main .dropdown-toggle.has-menu{font-weight:700}
.public-nav-main .dropdown-toggle.has-menu .menu-hint{display:inline-flex;align-items:center;gap:.25rem}
.public-nav-main .dropdown-toggle.has-menu .menu-hint::after{content:'▾';font-size:.72rem;line-height:1;color:var(--mhub-green)}
@media (min-width:1200px){
  .public-nav-main .dropdown-toggle.has-menu::after{display:none !important;}
}
.public-nav-main .dropdown-toggle.has-menu .menu-hint{border:1px solid rgba(36,75,37,.14)}
.hero-mini-card .h4{font-size:1.35rem}
.sector-card{border-top:4px solid rgba(36,75,37,.14)}
.sector-card h5{font-size:1.08rem}

.public-dropdown .nav-link.dropdown-toggle::after{display:none!important;}
.menu-caret{display:inline-flex;align-items:center;justify-content:center;margin-left:.35rem;font-size:.95rem;font-weight:800;color:var(--mhub-green,#244b25);}
.menu-hint{display:inline-flex;align-items:center;justify-content:center;margin-left:.45rem;padding:.18rem .45rem;border-radius:999px;background:#eef4ee;color:#244b25;font-size:.65rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;}
.dropdown-menu .small.text-uppercase{letter-spacing:.08em;}

.menu-caret{display:inline-flex;align-items:center;justify-content:center;margin-left:.28rem;font-size:.9rem;color:var(--mhub-green);font-weight:800;}
.menu-hint{display:none!important;}
.sector-link{display:block;color:inherit}
.sector-card{position:relative;overflow:hidden}
.sector-card:after{content:'';position:absolute;inset:auto 0 0 0;height:4px;background:linear-gradient(90deg,var(--mhub-green),#7ea082);transform:scaleX(0);transform-origin:left;transition:.22s ease}
.sector-link:hover .sector-card:after{transform:scaleX(1)}
.sector-more{font-weight:700;color:var(--mhub-green)}
.sector-thumb{height:220px;border-radius:1rem;overflow:hidden}
.page-hero{background:linear-gradient(180deg,#f7faf6 0%,#eef4ee 100%);border-bottom:1px solid var(--mhub-line)}
.page-hero-sm{padding-top:1rem}
.admin-hero-panel,.portal-hero-panel{position:relative;overflow:hidden;border-radius:1.6rem;padding:1.6rem 1.6rem;background:linear-gradient(135deg,#183018 0%,#244b25 55%,#3d6f3f 100%);color:#fff;box-shadow:0 22px 64px rgba(36,75,37,.22)}
.admin-hero-panel:before,.portal-hero-panel:before{content:'';position:absolute;right:-40px;top:-40px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08)}
.admin-hero-panel .muted-light,.portal-hero-panel .muted-light{color:rgba(255,255,255,.78)}
.dashboard-metric.premium-metric{background:linear-gradient(180deg,#fff 0%,#fbfcfb 100%);border:1px solid rgba(36,75,37,.08)}
.dashboard-metric .metric-icon{width:46px;height:46px;border-radius:14px;background:rgba(36,75,37,.08);color:var(--mhub-green);display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:.85rem}
.dashboard-metric .label{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:#6c757d;font-weight:700}
.dashboard-metric .subtext{font-size:.82rem;color:#6c757d}
.chart-shell{background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);border:1px solid rgba(18,22,26,.06);border-radius:1.25rem;padding:1.15rem}
.data-table-shell{background:linear-gradient(180deg,#ffffff 0%,#fcfdfc 100%);border:1px solid rgba(18,22,26,.05);border-radius:1.1rem;padding:0 1rem}
.profile-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.badge-soft{background:rgba(36,75,37,.08);color:var(--mhub-green);padding:.45rem .75rem;border-radius:999px;font-weight:700;font-size:.78rem}
@media (max-width:767.98px){.profile-stat-grid{grid-template-columns:1fr}.public-dropdown .dropdown-grid{min-width:100%}.admin-hero-panel,.portal-hero-panel{padding:1.25rem}}


.menu-caret{display:inline-block;margin-left:.28rem;font-size:.72rem;opacity:.85;transform:translateY(-1px);}
.navbar .dropdown-toggle::after{display:none!important;}
.dropdown-menu{border:1px solid rgba(0,0,0,.06);border-radius:1rem;box-shadow:0 28px 60px rgba(16,24,40,.14);}
.dropdown-item{padding:.8rem .95rem;border-radius:.8rem;font-weight:600;color:#243126;}
.dropdown-item:hover{background:#f4f7f3;color:#1e4d24;}

.sector-hero{background:linear-gradient(135deg,#f7faf6 0%,#eef5ee 45%,#ffffff 100%);}
.sector-visual-card{background:#fff;border-radius:1.5rem;padding:.75rem;box-shadow:0 24px 60px rgba(18,24,26,.10);}
.sector-visual-card img{border-radius:1rem;min-height:340px;object-fit:cover;width:100%;}
.mini-metric-card{background:rgba(255,255,255,.92);border:1px solid rgba(36,75,37,.08);border-radius:1rem;padding:1rem 1.05rem;box-shadow:0 12px 30px rgba(17,17,17,.06);}
.mini-metric-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:#6c757d;font-weight:700;margin-bottom:.35rem;}
.mini-metric-value{font-size:1.35rem;font-weight:800;color:#111;}
.sector-detail-tile{display:flex;align-items:center;gap:.85rem;background:#f8fbf8;border:1px solid rgba(36,75,37,.08);border-radius:1rem;padding:1rem;}
.sector-detail-dot{width:.75rem;height:.75rem;border-radius:999px;background:linear-gradient(135deg,#244b25,#3f7a42);flex:0 0 auto;box-shadow:0 0 0 6px rgba(36,75,37,.08);}
.support-list-item{display:flex;align-items:flex-start;gap:.85rem;background:#fff;border:1px solid rgba(36,75,37,.08);border-radius:1rem;padding:1rem;}
.support-check{display:inline-flex;align-items:center;justify-content:center;width:1.7rem;height:1.7rem;border-radius:999px;background:#244b25;color:#fff;font-weight:700;flex:0 0 auto;}
.empty-state-card{background:#f9faf9;border:1px dashed rgba(36,75,37,.18);border-radius:1rem;padding:1.25rem;color:#667085;}
.logo-chip{width:2.25rem;height:2.25rem;border-radius:.7rem;object-fit:cover;border:1px solid rgba(0,0,0,.06);background:#fff;padding:.2rem;}
.portfolio-callout{background:linear-gradient(180deg,#f6faf5 0%,#ffffff 100%);}

.executive-hero{background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);color:#fff;border-radius:1.5rem;padding:1.35rem 1.4rem;box-shadow:0 28px 60px rgba(21,34,22,.24);}
.executive-hero .hero-copy{color:rgba(255,255,255,.86);}
.executive-hero .metric-pill{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.14);}
.premium-stat-grid .dash-stat{background:#fff;border:1px solid rgba(17,17,17,.05);border-radius:1.2rem;padding:1.15rem;box-shadow:0 16px 34px rgba(17,17,17,.06);}
.premium-stat-grid .stat-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#667085;font-weight:700;}
.premium-stat-grid .stat-value{font-size:1.95rem;font-weight:800;line-height:1;color:#101828;margin:.35rem 0;}
.premium-stat-grid .stat-sub{color:#667085;font-size:.9rem;}
.dashboard-panel{background:#fff;border:1px solid rgba(17,17,17,.05);border-radius:1.35rem;box-shadow:0 18px 42px rgba(17,17,17,.06);}
.dashboard-panel .panel-head{padding:1.1rem 1.2rem;border-bottom:1px solid rgba(17,17,17,.06);}
.dashboard-panel .panel-body{padding:1.2rem;}


/* V28 responsive sidebars + directory/profile polish */
.sidebar-toggle-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.7rem 1rem;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#fff;font-weight:700;box-shadow:0 10px 22px rgba(0,0,0,.10);}
.sidebar-toggle-btn .sidebar-caret{transition:transform .2s ease;}
.mobile-logo{width:44px;height:auto;}
@media (max-width: 991.98px){
  .admin-sidebar,.portal-sidebar{padding:1rem!important;min-height:auto!important;border-radius:0 0 1rem 1rem;position:sticky;top:0;z-index:30;box-shadow:0 10px 20px rgba(0,0,0,.08);overflow:visible;}
  .admin-sidebar .side-nav,.portal-sidebar .side-nav{display:none!important;position:fixed;top:72px;left:12px;right:12px;max-height:72vh;overflow:auto;background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);padding:1rem;border-radius:1rem;box-shadow:0 18px 46px rgba(0,0,0,.28);z-index:200;}
  .admin-sidebar .side-nav.mobile-open,.portal-sidebar .side-nav.mobile-open{display:grid!important;gap:.65rem!important;}
  .admin-sidebar .text-uppercase,.portal-sidebar .text-uppercase{font-size:.7rem!important;}
  .admin-sidebar .small.text-white-50,.portal-sidebar .small.text-white-50{display:block!important;}
  .side-nav>div{display:block;}
  .side-nav a{display:flex!important;align-items:center;justify-content:flex-start;padding:.85rem 1rem!important;border-radius:1rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10)!important;color:#fff;}
  .side-nav a.active{background:rgba(255,255,255,.18);}
  .side-nav .side-dot{display:inline-block!important;}
  .dashboard-topbar{position:relative;top:auto;}
}
@media (min-width: 992px){
  .sidebar-mobile-header{display:none!important;}
  .sidebar-toggle-btn{display:none!important;}
  .admin-sidebar .side-nav,.portal-sidebar .side-nav{display:grid!important;}
}
.member-card{border:1px solid rgba(18,22,26,.08);border-radius:1.25rem;background:#fff;padding:1.1rem;height:100%;box-shadow:0 14px 40px rgba(16,24,18,.06);}
.member-card .avatar{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#244b25,#6f9471);color:#fff;font-weight:800;font-size:1.1rem;}
.member-meta{display:flex;flex-wrap:wrap;gap:.45rem;}
.member-meta span,.resource-chip{display:inline-flex;align-items:center;padding:.35rem .7rem;border-radius:999px;background:rgba(36,75,37,.08);color:#244b25;font-size:.78rem;font-weight:700;}
.directory-filters .form-select,.directory-filters .form-control{background:#fff;}
.resource-card{border:1px solid rgba(18,22,26,.08);border-radius:1rem;background:#fff;padding:1rem;height:100%;box-shadow:0 10px 26px rgba(16,24,18,.05);}
.resource-card .resource-type{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#6d7b6d;font-weight:800;}
.profile-hero-card{border-radius:1.5rem;background:linear-gradient(135deg,#102512,#244b25 55%,#457147);color:#fff;overflow:hidden;box-shadow:0 24px 70px rgba(16,24,18,.16);}
.profile-hero-card .metric-badge{display:inline-flex;align-items:center;padding:.45rem .8rem;border-radius:999px;background:rgba(255,255,255,.12);font-weight:700;font-size:.78rem;}
.profile-section-card{border:1px solid rgba(18,22,26,.08);border-radius:1.25rem;background:#fff;padding:1.25rem;box-shadow:0 12px 34px rgba(16,24,18,.06);}
.member-profile-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid rgba(255,255,255,.25);box-shadow:0 16px 36px rgba(0,0,0,.18);background:#fff;}
.member-profile-avatar-placeholder{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);color:#fff;font-size:2rem;font-weight:800;border:4px solid rgba(255,255,255,.18);box-shadow:0 16px 36px rgba(0,0,0,.18);}


/* V29 investor-ready public portfolio */
.investor-hero{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg,#112314 0%,#244b25 48%,#4e7d4f 100%);
  color:#fff;
}
.investor-hero .section-kicker{background:rgba(255,255,255,.12);color:#fff}
.investor-hero .section-title,.investor-hero .section-copy{color:#fff}
.portfolio-showcase-card{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.14);
  border-radius:1.5rem;
  box-shadow:0 24px 70px rgba(11,21,12,.18);
  backdrop-filter:blur(8px);
}
.portfolio-mini-stack{display:grid;gap:.85rem}
.portfolio-mini-item{display:flex;align-items:center;gap:.85rem;padding:.75rem;border-radius:1rem;background:rgba(255,255,255,.06);color:#fff}
.portfolio-mini-item:hover{background:rgba(255,255,255,.11);color:#fff}
.portfolio-mini-item img{width:56px;height:56px;object-fit:cover;border-radius:.85rem}
.portfolio-card{display:flex;flex-direction:column}
.portfolio-card-media{position:relative;height:230px;border-radius:1.1rem;overflow:hidden}
.portfolio-card-overlay{position:absolute;left:1rem;right:1rem;top:1rem;display:flex;gap:.5rem;flex-wrap:wrap}
.portfolio-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.portfolio-kpi-grid div{background:#f7faf7;border:1px solid rgba(36,75,37,.08);border-radius:.95rem;padding:.8rem .7rem;text-align:center}
.portfolio-kpi-grid strong{display:block;font-size:1.2rem;line-height:1.1;font-weight:800;color:#122214}
.portfolio-kpi-grid span{display:block;font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;color:#708074;font-weight:700;margin-top:.25rem}
.portfolio-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.portfolio-investor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.portfolio-investor-grid div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:1rem;padding:1rem}
.portfolio-investor-grid strong{display:block;font-size:1.45rem;line-height:1;font-weight:800;color:#fff}
.portfolio-investor-grid span{display:block;font-size:.74rem;text-transform:uppercase;letter-spacing:.07em;color:rgba(255,255,255,.72);font-weight:700;margin-top:.35rem}
.portfolio-solution-card .program-thumb{height:190px}
.portfolio-profile-card .program-thumb{height:260px}
@media (max-width: 767.98px){
  .portfolio-kpi-grid,.portfolio-investor-grid,.portfolio-stat-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 575.98px){
  .portfolio-kpi-grid,.portfolio-investor-grid,.portfolio-stat-grid{grid-template-columns:1fr}
}

/* V31 profile, notifications, program spaces, and timeline */
.member-profile-avatar--xl,.member-profile-avatar-placeholder.member-profile-avatar--xl{width:132px;height:132px;font-size:2.3rem}
.profile-hero-card--premium{position:relative;overflow:hidden}
.profile-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.profile-summary-item{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);border-radius:1rem;padding:.95rem 1rem}
.profile-summary-item .label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.68);font-weight:700;margin-bottom:.35rem}
.profile-summary-item strong{font-size:1.15rem;color:#fff}
.profile-summary-shell{background:linear-gradient(180deg,#fff 0%,#fbfcfb 100%);border:1px solid rgba(17,17,17,.06)}
.profile-check-row{display:flex;justify-content:space-between;align-items:center;padding:.9rem 1rem;background:#f7faf7;border:1px solid rgba(36,75,37,.08);border-radius:1rem}
.profile-check-row strong{font-size:.9rem;color:#244b25}
.active-program-link{background:#f7faf7!important;border-left:3px solid #244b25!important}
.program-class-card,.resource-list-card,.feed-post-card{background:#fff;border:1px solid rgba(18,22,26,.08);border-radius:1rem;padding:1rem;box-shadow:0 10px 26px rgba(16,24,18,.05)}
.resource-list-card{display:block;color:inherit;text-decoration:none}
.resource-list-card:hover{border-color:rgba(36,75,37,.18);transform:translateY(-1px)}
.resource-type-pill{display:inline-flex;align-items:center;padding:.35rem .65rem;border-radius:999px;background:rgba(36,75,37,.08);color:#244b25;font-weight:700;font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}
.feed-avatar,.feed-avatar-placeholder{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#244b25,#6f9471);color:#fff;font-weight:800;object-fit:cover}
@media (max-width: 767.98px){.profile-summary-grid{grid-template-columns:1fr}.member-profile-avatar--xl,.member-profile-avatar-placeholder.member-profile-avatar--xl{width:110px;height:110px}}

.member-thumb{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid rgba(36,75,37,.12);display:block;}
.timeline-photo{width:100%;max-height:340px;object-fit:cover;border-radius:1rem;border:1px solid rgba(17,17,17,.06);}


.public-mobile-drawer{max-width:340px;border-radius:1.2rem 0 0 1.2rem}.public-mobile-nav .nav-link{padding:.85rem 0;font-weight:700}.public-mobile-nav .dropdown-item{padding:.55rem .25rem;border-radius:.6rem}.mobile-nav-accordion details summary{display:flex;align-items:center;list-style:none;cursor:pointer}.mobile-nav-accordion summary::-webkit-details-marker{display:none}
.timeline-photo--contained{object-fit:contain;background:#f3f5f4;max-height:420px}.story-preview summary{cursor:pointer;color:var(--mhub-green);font-weight:700;margin-top:.35rem}.rich-preview-text a{word-break:break-word}.premium-chat-card{border:1px solid rgba(36,75,37,.08);box-shadow:0 12px 30px rgba(18,22,26,.04)}.chat-convo-card{border-radius:1rem;border:1px solid rgba(0,0,0,.06)}.chat-bubble-me{background:linear-gradient(135deg,#244b25,#2f6a31);color:#fff;border-radius:1rem 1rem .2rem 1rem}.chat-bubble-other{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:1rem 1rem 1rem .2rem}.feed-avatar,.feed-avatar-placeholder{width:44px;height:44px;border-radius:50%;flex:0 0 44px}.feed-avatar{object-fit:cover}.feed-avatar-placeholder{display:grid;place-items:center;background:rgba(36,75,37,.1);font-weight:800;color:var(--mhub-green)}
@media (max-width:767.98px){.portal-sidebar,.admin-sidebar{padding:1rem!important}.member-card{padding:1rem}.member-thumb{width:48px;height:48px}.feed-avatar,.feed-avatar-placeholder{width:38px;height:38px;flex-basis:38px}.public-mobile-drawer{max-width:85vw}.public-mobile-nav .nav-link{font-size:1rem}.dashboard-topbar{padding-left:1rem!important;padding-right:1rem!important}}


@media (max-width:1199.98px){
  .admin-sidebar,.portal-sidebar,.partner-sidebar{padding:.35rem 0 .15rem !important;border-radius:0;position:sticky;top:0;z-index:60;background:transparent;box-shadow:none;overflow:visible;}
  .sidebar-mobile-header{background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);border-radius:1rem;padding:.75rem .85rem;box-shadow:0 14px 34px rgba(0,0,0,.12);}
  .sidebar-mobile-header .small:last-child{display:none;}
  .admin-sidebar .side-nav,.portal-sidebar .side-nav,.partner-sidebar .side-nav{display:none!important;position:absolute;top:72px;left:0;right:0;width:auto;max-height:62vh;overflow:auto;background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);padding:.9rem;border-radius:1rem;box-shadow:0 22px 52px rgba(0,0,0,.22);z-index:200;}
  .admin-sidebar .side-nav.mobile-open,.portal-sidebar .side-nav.mobile-open,.partner-sidebar .side-nav.mobile-open{display:grid!important;gap:.65rem!important;}
  body.mobile-nav-open::before{display:none;content:none;}
}
.profile-check-row a{display:flex;justify-content:space-between;gap:1rem;text-decoration:none;color:inherit;padding:.35rem 0}.profile-check-row a:hover{color:#244b25}
.program-resource-item{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:.85rem 0;border-bottom:1px solid rgba(0,0,0,.08)}
.member-card .member-thumb,.member-list-avatar{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:0 0 58px}
.timeline-photo--contained{width:100%;max-height:420px;object-fit:contain;background:#f4f6f3;border-radius:1rem}
.timeline-content-preview{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.chat-search-box{background:#f8faf7;border:1px solid rgba(36,75,37,.12);border-radius:1rem;padding:1rem}
.chat-convo-card{border-radius:1rem!important;margin-bottom:.5rem;border:1px solid rgba(36,75,37,.08)!important}
.chat-bubble-me{background:#244b25;color:#fff;border-radius:1rem 1rem .25rem 1rem;box-shadow:0 8px 20px rgba(36,75,37,.18)}
.chat-bubble-other{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:1rem 1rem 1rem .25rem;box-shadow:0 8px 20px rgba(0,0,0,.05)}
.public-mobile-drawer .dropdown-item{white-space:normal}
.metric-card-link{text-decoration:none;color:inherit;display:block;height:100%}
.program-leads-list .resource-chip{margin:.15rem}


.public-mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;visibility:hidden;transition:.25s ease;z-index:1040}.public-mobile-overlay.is-open{opacity:1;visibility:visible}.public-mobile-drawer-shell{position:fixed;top:0;right:0;width:min(88vw,360px);height:100vh;z-index:1045;pointer-events:none}.public-mobile-drawer-card{background:#fff;height:100%;transform:translateX(100%);transition:.28s ease;border-radius:1.25rem 0 0 1.25rem;box-shadow:-16px 0 40px rgba(0,0,0,.18);display:flex;flex-direction:column}.public-mobile-drawer-shell.is-open .public-mobile-drawer-card{transform:translateX(0);pointer-events:auto}.public-mobile-header{padding:1rem 1rem .75rem}.public-mobile-body{padding:0 1rem 1rem;overflow:auto}.public-mobile-body .nav-link{padding:.9rem 0;font-weight:700;color:#17351a}.public-mobile-body .dropdown-item{padding:.55rem .1rem;color:#36503b}.public-mobile-actions{position:sticky;bottom:0;background:#fff;padding-bottom:1rem}.timeline-image-wrap{max-height:420px;overflow:hidden;border-radius:1rem}.timeline-image-wrap img{width:100%;height:auto;max-height:420px;object-fit:contain;background:#f4f6f4}.story-preview summary{display:inline-block;color:#244b25;font-weight:700;cursor:pointer;margin-bottom:.5rem}.story-preview .rich-preview-text{margin-bottom:.75rem}.public-mobile-drawer-shell .menu-caret{font-size:.9rem}.member-thumb img,.member-profile-avatar,.feed-avatar{object-fit:cover} @media (min-width:1200px){.public-mobile-overlay,.public-mobile-drawer-shell{display:none}}

/* V36 compact mobile navigation and richer social feed */
@media (max-width:1199.98px){
  .public-mobile-drawer-shell{top:72px;right:10px;width:min(78vw,320px);height:auto;max-height:calc(100vh - 84px);pointer-events:none}
  .public-mobile-drawer-card{height:auto;max-height:calc(100vh - 84px);border-radius:1rem;box-shadow:0 18px 40px rgba(0,0,0,.16)}
  .public-mobile-header{padding:.85rem .9rem .55rem;border-bottom:1px solid rgba(0,0,0,.06)}
  .public-mobile-body{padding:.35rem .9rem .9rem;overflow:auto}
  .public-mobile-body .nav-link{padding:.72rem 0;font-size:.98rem}
  .public-mobile-body .dropdown-item{padding:.45rem .2rem .45rem 1rem;font-size:.92rem}
  .mobile-nav-accordion details>summary{padding:.72rem 0}
  .mobile-nav-accordion details[open]{background:#f7faf7;border-radius:.8rem;padding:0 .65rem .45rem}
  .top-utility-bar{display:none}

  .admin-sidebar,.portal-sidebar,.partner-sidebar{min-height:auto!important;background:transparent!important;box-shadow:none!important;padding:.7rem 1rem .2rem!important}
  .admin-sidebar .side-nav,.portal-sidebar .side-nav,.partner-sidebar .side-nav{display:none!important;position:fixed;top:74px;right:10px;left:auto;width:min(78vw,320px);max-height:72vh;overflow:auto;background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);padding:.85rem;border-radius:1rem;box-shadow:0 18px 46px rgba(0,0,0,.24);z-index:300}
  .admin-sidebar .side-nav.mobile-open,.portal-sidebar .side-nav.mobile-open,.partner-sidebar .side-nav.mobile-open{display:grid!important;gap:.5rem!important}
  .sidebar-toggle-btn{padding:.55rem .85rem;font-size:.95rem}
  .side-nav a{padding:.78rem .9rem!important;font-size:.95rem}
}
.member-row-card{padding:.85rem 1rem;border:1px solid rgba(0,0,0,.07);border-radius:1rem;background:#fff;box-shadow:0 10px 24px rgba(17,17,17,.04)}
.timeline-post-card{overflow:hidden}
.timeline-actions .btn{border-radius:999px}
.timeline-comment-item{padding:.7rem .85rem;background:#f8faf7;border:1px solid rgba(36,75,37,.08);border-radius:.85rem}
.timeline-comments{border-top:1px dashed rgba(0,0,0,.08);padding-top:1rem}
.profile-hero-card--premium{background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);border:0;box-shadow:0 22px 55px rgba(19,38,20,.22)}
.resource-list-card{display:block;padding:1rem;border:1px solid rgba(36,75,37,.08);border-radius:1rem;background:#fff;box-shadow:0 10px 24px rgba(17,17,17,.04)}
.resource-list-card:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(17,17,17,.08)}

/* V37 compact mobile public menu */
@media (max-width:1199.98px){
  .mhub-navbar{padding-top:.85rem!important;padding-bottom:.85rem!important}
  .brand-logo{width:46px;height:auto}
  .navbar-brand > div small{font-size:.9rem}
  .public-mobile-panel{display:none;position:sticky;top:72px;z-index:1030}
  .public-mobile-panel.is-open{display:block}
  .public-mobile-panel .container{padding-top:.35rem}
  .public-mobile-panel-card{background:#fff;border:1px solid rgba(17,17,17,.06);border-radius:1rem;box-shadow:0 18px 40px rgba(0,0,0,.12);padding:.55rem .95rem .95rem;max-height:72vh;overflow:auto}
  .public-mobile-nav .nav-link{padding:.8rem 0;font-weight:700;color:#17351a}
  .mobile-nav-accordion details{border-bottom:1px solid rgba(0,0,0,.05)}
  .mobile-nav-accordion details:last-child{border-bottom:0}
  .mobile-nav-accordion details[open]{padding-bottom:.35rem}
  .mobile-nav-accordion details summary{list-style:none;cursor:pointer}
  .mobile-submenu{display:grid;gap:.15rem;padding:0 0 .35rem .85rem}
  .mobile-submenu .dropdown-item{padding:.45rem 0;color:#36503b;white-space:normal}
  body.mobile-panel-open .hero-shell, body.mobile-panel-open .page-hero{filter:none}
  .public-mobile-drawer-shell,.public-mobile-overlay{display:none!important}
}


/* V38 mobile sidebar and premium dashboard polish */
@media (max-width:1199.98px){
  .admin-sidebar .side-nav a,.portal-sidebar .side-nav a,.partner-sidebar .side-nav a{padding:.9rem 1rem;border-radius:1rem;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);font-weight:700;}
  .admin-sidebar .side-nav a.active,.portal-sidebar .side-nav a.active,.partner-sidebar .side-nav a.active{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);}
  .admin-sidebar .side-nav .side-dot,.portal-sidebar .side-nav .side-dot,.partner-sidebar .side-nav .side-dot{opacity:.8;}
  .dashboard-hero,.profile-hero-card--premium{border-radius:1.4rem;box-shadow:0 24px 56px rgba(20,52,26,.18);}
  .mini-metric-card,.stat-card,.dash-card,.content-card,.member-card{border-radius:1.15rem;}
}


/* V39 mobile helper visibility + deep consistency polish */
@media (max-width:1199.98px){
  .portal-sidebar > .small.text-white-50,
  .admin-sidebar > .small.text-white-50,
  .partner-sidebar > .small.text-white-50{display:none!important;}
  .sidebar-mobile-header{margin-bottom:.55rem!important;}
  .sidebar-mobile-header .small,
  .sidebar-mobile-header .small.text-white-50{color:rgba(255,255,255,.86)!important;display:block!important;line-height:1.25;}
  .sidebar-mobile-header .small:last-child{display:none!important;}
  .dashboard-panel,.profile-section-card,.member-card,.resource-card,.program-class-card,.resource-list-card,.feed-post-card,.timeline-post-card,.member-row-card{border-radius:1rem!important;box-shadow:0 12px 28px rgba(17,17,17,.05)!important;}
  .executive-hero,.profile-hero-card--premium{border-radius:1.2rem!important;box-shadow:0 18px 40px rgba(19,38,20,.16)!important;}
  .btn,.form-control,.form-select{border-radius:.9rem!important;}
}
.dashboard-panel,.profile-section-card,.member-card,.resource-card,.program-class-card,.resource-list-card,.feed-post-card,.timeline-post-card,.member-row-card{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.dashboard-panel:hover,.profile-section-card:hover,.member-card:hover,.resource-card:hover,.program-class-card:hover,.resource-list-card:hover,.feed-post-card:hover,.timeline-post-card:hover,.member-row-card:hover{transform:translateY(-1px);box-shadow:0 20px 38px rgba(17,17,17,.08)!important;border-color:rgba(36,75,37,.12)!important;}
.portal-shell .section-kicker,.admin-shell .section-kicker{background:rgba(36,75,37,.08);color:#244b25;}
.premium-stat-grid .dash-stat,.dashboard-panel,.profile-section-card,.member-card,.resource-card,.program-class-card,.resource-list-card,.feed-post-card,.timeline-post-card{backdrop-filter:saturate(130%) blur(2px);}
.timeline-actions .btn,.metric-card-link .dash-card,.member-card .btn,.resource-list-card .btn{font-weight:700;}
.portal-shell .btn-success,.admin-shell .btn-success{box-shadow:0 10px 24px rgba(36,75,37,.16);}
.portal-shell .btn-outline-dark,.admin-shell .btn-outline-dark{border-color:rgba(17,17,17,.18);}
.portal-shell h1,.portal-shell h2,.portal-shell h3,.admin-shell h1,.admin-shell h2,.admin-shell h3{letter-spacing:-.02em;}


/* V40 mobile helper cleanup + deep premium consistency */
@media (max-width:1199.98px){
  .portal-sidebar > .small,
  .admin-sidebar > .small,
  .partner-sidebar > .small,
  .portal-sidebar .d-none.d-xl-block,
  .admin-sidebar .d-none.d-xl-block,
  .partner-sidebar .d-none.d-xl-block{display:none!important;}

  .sidebar-mobile-header{position:relative;z-index:8;border-radius:1.1rem;padding:.8rem .9rem;background:linear-gradient(135deg,#153a1c 0%,#244b25 55%,#36723a 100%);box-shadow:0 16px 34px rgba(20,52,26,.16)!important;}
  .sidebar-mobile-header .small,
  .sidebar-mobile-header .small.text-white-50{display:block!important;color:rgba(255,255,255,.88)!important;line-height:1.18;}
  .sidebar-mobile-header .small:last-child{display:none!important;}
  .sidebar-toggle-btn{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(10px);box-shadow:none!important;}

  .admin-sidebar .side-nav,
  .portal-sidebar .side-nav,
  .partner-sidebar .side-nav{
    top:76px!important;
    right:12px!important;
    left:auto!important;
    width:min(72vw,300px)!important;
    max-height:68vh!important;
    padding:.75rem!important;
    border-radius:1.1rem!important;
    background:linear-gradient(145deg,#133318 0%,#214a24 50%,#2f6832 100%)!important;
    box-shadow:0 20px 44px rgba(0,0,0,.22)!important;
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
  }
  .admin-sidebar .side-nav.mobile-open,
  .portal-sidebar .side-nav.mobile-open,
  .partner-sidebar .side-nav.mobile-open{display:grid!important;gap:.45rem!important;}
  .admin-sidebar .side-nav a,
  .portal-sidebar .side-nav a,
  .partner-sidebar .side-nav a{
    padding:.82rem .95rem!important;
    font-size:.96rem!important;
    border-radius:.95rem!important;
    background:rgba(255,255,255,.06)!important;
    border:1px solid rgba(255,255,255,.08)!important;
  }
}

.dashboard-panel,.dash-card,.content-card,.member-card,.member-row-card,.resource-list-card,.program-class-card,.timeline-post-card,.profile-section-card,.chat-convo-card{
  border-radius:1.1rem!important;
  border:1px solid rgba(17,17,17,.06)!important;
  box-shadow:0 14px 32px rgba(17,17,17,.05)!important;
}

.dashboard-panel:hover,.dash-card:hover,.content-card:hover,.member-card:hover,.member-row-card:hover,.resource-list-card:hover,.program-class-card:hover,.timeline-post-card:hover,.profile-section-card:hover,.chat-convo-card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 44px rgba(17,17,17,.08)!important;
  border-color:rgba(36,75,37,.12)!important;
}

.metric-stat,.dash-stat strong,.timeline-count,.resource-type-pill{letter-spacing:-.01em;}

.timeline-post-card{
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);
}
.timeline-post-card .timeline-actions .btn{
  border-radius:999px!important;
  border:1px solid rgba(36,75,37,.10)!important;
  background:#fff;
}
.timeline-post-card .timeline-actions .btn:hover{background:#f7faf7;color:#244b25;}

.member-row-card{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  background:linear-gradient(180deg,#fff 0%,#fcfdfc 100%);
}
.member-row-card .member-thumb,
.member-row-card .member-list-avatar{box-shadow:0 8px 16px rgba(36,75,37,.08);}

.profile-section-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);
}
.profile-check-row{
  border-radius:1rem!important;
  background:#f8fbf8!important;
}

.chat-convo-card{
  background:linear-gradient(180deg,#ffffff 0%,#fcfdfc 100%);
}
.chat-bubble-me,.chat-bubble-other{padding:.85rem 1rem!important;line-height:1.45;}


.product-hero-card{border-radius:1.5rem;overflow:hidden;background:#fff;box-shadow:0 18px 60px rgba(18,22,26,.07)}
.product-logo-badge{border-radius:1rem;border:1px solid rgba(15,23,42,.08);background:#fff;display:flex;align-items:center;justify-content:center}
.product-meta-pill{display:inline-flex;align-items:center;padding:.45rem .8rem;border-radius:999px;background:#f6f8f7;border:1px solid rgba(36,75,37,.12);font-size:.85rem;font-weight:600;color:#244b25}


/* V49 premium public pages */
.page-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(242,247,242,.88));border-bottom:1px solid rgba(15,23,20,.06)}
.page-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right, rgba(36,75,37,.10), transparent 24%),radial-gradient(circle at bottom left, rgba(36,75,37,.06), transparent 30%);pointer-events:none}
.page-side-panel{background:linear-gradient(180deg,#fff,#f8fbf8)}
.mini-eyebrow{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--mhub-green)}
.story-stat-grid,.product-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.story-stat-grid div,.product-meta-grid div,.stat-tile{border:1px solid rgba(18,22,26,.08);border-radius:1rem;background:#fff;padding:1rem}
.story-stat-grid strong,.product-meta-grid strong,.stat-tile strong{display:block;font-size:1.35rem;font-weight:800;line-height:1.1;margin-bottom:.35rem}
.story-stat-grid span,.product-meta-grid span,.stat-tile span{display:block;color:var(--mhub-muted);font-size:.82rem}
.soft-tile{padding:1.15rem;border-radius:1rem;background:var(--mhub-surface-2);border:1px solid rgba(18,22,26,.06)}
.soft-tile h5{font-weight:700;margin-bottom:.55rem}
.service-steps{display:flex;gap:.55rem;flex-wrap:wrap}.service-steps span,.service-mini-list span{display:inline-flex;padding:.45rem .7rem;border-radius:999px;background:rgba(36,75,37,.08);color:var(--mhub-green);font-weight:700;font-size:.78rem}
.service-mini-list{display:flex;gap:.45rem;flex-wrap:wrap}
.partner-logo-shell{height:84px;border-radius:1rem;border:1px solid rgba(18,22,26,.08);background:#fff;display:flex;align-items:center;justify-content:center;padding:1rem}.partner-logo-shell img{max-width:100%;max-height:52px;object-fit:contain}.partner-logo-fallback{width:56px;height:56px;border-radius:1rem;background:rgba(36,75,37,.09);display:grid;place-items:center;color:var(--mhub-green);font-weight:800}
.contact-listing a{display:block;font-weight:600;color:#1f2a21;margin-bottom:.45rem}.contact-branch-card{padding:1rem;border-radius:1rem;background:#fff;border:1px solid rgba(18,22,26,.08)}
.innovation-badges{display:flex;gap:.45rem;flex-wrap:wrap}
.featured-story-image{min-height:420px}.featured-story-hero .content-card{box-shadow:0 22px 70px rgba(16,24,18,.08)}
.story-blog-card h5,.partner-premium-card h5,.premium-innovation-card h5,.premium-community-card h5,.premium-product-card h5{font-weight:700}
.story-detail-image{height:420px;border-radius:1.25rem;overflow:hidden}.story-rich-text{line-height:1.9;font-size:1rem;color:#314236}.story-side-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0!important}
.product-logo-stage{min-height:120px;border-radius:1rem;border:1px solid rgba(18,22,26,.08);background:#fff;display:flex;align-items:center;justify-content:center;padding:1rem}.product-logo-stage img{max-width:200px;max-height:80px;object-fit:contain}.product-cover-stage{min-height:460px}.product-cover-card{border-radius:1.4rem}.premium-product-card .program-thumb,.premium-community-card .program-thumb,.premium-innovation-card .program-thumb,.story-blog-card .program-thumb{height:220px}
@media (max-width:991.98px){.featured-story-image,.story-detail-image,.product-cover-stage{min-height:280px;height:280px}.story-stat-grid,.product-meta-grid{grid-template-columns:1fr 1fr}}
@media (max-width:575.98px){.story-stat-grid,.product-meta-grid{grid-template-columns:1fr}}

/* V50 homepage + detail sweep */
.premium-hero-side{box-shadow:0 22px 60px rgba(16,24,18,.08)}
.premium-detail-card{border-radius:1.35rem;background:linear-gradient(180deg,#fff 0%,#fbfcfb 100%);box-shadow:0 18px 46px rgba(16,24,18,.05)}
.premium-sticky-card{position:sticky;top:110px;border-radius:1.35rem;box-shadow:0 18px 46px rgba(16,24,18,.06)}
.premium-list-card{border-radius:1.2rem;box-shadow:0 14px 34px rgba(16,24,18,.05)}
.premium-thumb-lg{height:260px;border-radius:1rem;overflow:hidden}
.program-detail-cover,.project-detail-cover,.community-detail-cover{height:280px;border-radius:1.1rem;overflow:hidden}
.resource-rich-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border-radius:1rem;border:1px solid rgba(18,22,26,.08);background:#fff}
.resource-rich-item + .resource-rich-item{margin-top:.4rem}
.story-side-item{padding-bottom:.85rem;margin-bottom:.85rem;border-bottom:1px solid rgba(18,22,26,.08)}
.premium-story-slab{border-radius:1.1rem}
.public-section-header .section-copy{max-width:760px}
.home-trust-band{border-radius:1.4rem;background:linear-gradient(135deg,#16381c,#244b25 60%,#336d37);color:#fff;box-shadow:0 24px 70px rgba(15,23,20,.18)}
.home-trust-band .small-muted,.home-trust-band p{color:rgba(255,255,255,.82)!important}
.home-trust-band .metric-pill{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff}
.home-feature-grid .feature-card{height:100%}
@media (max-width:991.98px){.premium-sticky-card{position:static}.program-detail-cover,.project-detail-cover,.community-detail-cover{height:240px}.premium-thumb-lg{height:220px}}


/* V52 homepage consistency + stories + locations */
.impact-home-grid .col-xl{flex:1 0 0}
.impact-item--soft{height:100%;padding:1rem 1rem 1.1rem;border:1px solid rgba(255,255,255,.16);border-radius:1.1rem;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.community-home-link,.story-card-link{display:block;color:inherit;text-decoration:none}
.community-home-link:hover,.story-card-link:hover{color:inherit}
.premium-community-home-card{transition:transform .2s ease, box-shadow .2s ease,border-color .2s ease;border:1px solid rgba(16,24,18,.07)}
.premium-community-home-card:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(16,24,18,.09);border-color:rgba(36,75,37,.16)}
.community-arrow{font-size:1.15rem;font-weight:800;color:var(--mhub-green)}
.community-home-footer{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding-top:.75rem;border-top:1px solid rgba(16,24,18,.07)}
.community-home-panel{background:linear-gradient(180deg,#fff 0%,#f7faf7 100%);border:1px solid rgba(36,75,37,.08)}
.community-panel-stack{display:grid;gap:.8rem}
.community-mini-link{display:block;padding:1rem 1rem;border-radius:1rem;background:#fff;border:1px solid rgba(16,24,18,.07);text-decoration:none;color:inherit;box-shadow:0 12px 30px rgba(16,24,18,.04)}
.community-mini-link strong{display:block;margin-bottom:.2rem;color:#101828}
.community-mini-link span{display:block;color:#667085;font-size:.94rem}
.home-logo-cloud{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:flex-start}
.home-logo-chip{padding:.85rem 1rem;border-radius:999px;border:1px solid rgba(16,24,18,.07);background:#fff;box-shadow:0 12px 30px rgba(16,24,18,.04);font-weight:700;color:#244b25}
.compact-story-stat-grid{grid-template-columns:1fr 1fr}
.premium-location-card,.premium-location-mini{border:1px solid rgba(16,24,18,.07);box-shadow:0 14px 34px rgba(16,24,18,.05)}
.premium-map-placeholder{background:linear-gradient(180deg,#f8faf8 0%,#f1f5f1 100%)}
.story-blog-card:hover,.partner-premium-card:hover,.premium-product-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(16,24,18,.08)}
@media (max-width:1199.98px){.impact-home-grid .col-xl{flex:0 0 auto}}
@media (max-width:991.98px){.compact-story-stat-grid{grid-template-columns:1fr 1fr}.community-home-panel{margin-top:.25rem}}
@media (max-width:575.98px){.compact-story-stat-grid{grid-template-columns:1fr}.community-home-footer{flex-direction:column;align-items:flex-start}}


/* V53 public QA sweep */
img{max-width:100%;height:auto}
.program-thumb,.event-thumb,.gallery-thumb,.spotlight-thumb,.product-cover-stage,.product-logo-stage{overflow:hidden;border-radius:1rem;background:#f5f7f4}
.program-thumb img,.event-thumb img,.gallery-thumb img,.spotlight-thumb img,.product-cover-stage img{width:100%;height:100%;object-fit:cover;display:block}
.product-logo-stage{min-height:180px;display:flex;align-items:center;justify-content:center;padding:1.25rem}
.product-logo-stage img{max-width:180px;max-height:120px;object-fit:contain;display:block}
.premium-detail-card,.premium-location-card,.premium-product-card,.premium-community-home-card{border:1px solid rgba(15,23,20,.06)}
.home-community-grid .premium-community-home-card{transition:transform .2s ease, box-shadow .2s ease;border-radius:1.2rem}
.home-community-grid .premium-community-home-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(16,24,18,.09)}
.community-home-link{text-decoration:none;color:inherit;display:block}
.community-home-footer{display:flex;justify-content:space-between;gap:1rem;align-items:flex-end;border-top:1px solid rgba(15,23,20,.08);padding-top:.85rem;margin-top:auto}
.community-arrow{font-size:1.2rem;color:var(--mhub-green);font-weight:800}
.community-home-panel-strip{border-radius:1.4rem}
.community-panel-stack--row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.community-mini-link{display:block;text-decoration:none;color:inherit;border:1px solid rgba(15,23,20,.08);border-radius:1rem;padding:1rem;background:#fff}
.community-mini-link strong{display:block;margin-bottom:.25rem}
.community-mini-link span{display:block;color:#66736a;font-size:.92rem;line-height:1.5}
.hero-mini-card .h4{font-size:1.35rem}
.contact-branch-card,.branch-note-card{background:#fff}
.home-logo-cloud{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.home-logo-chip{background:#fff;border:1px solid rgba(15,23,20,.08);border-radius:999px;padding:.75rem 1rem;font-weight:600;text-align:center}
.story-card .program-thumb,.premium-community-card .program-thumb,.premium-product-card .program-thumb{aspect-ratio:16/10}
.premium-map-placeholder{background:linear-gradient(135deg, rgba(36,75,37,.06), rgba(36,75,37,.12))}
@media (max-width: 991.98px){
  .section-space{padding:4rem 0}
  .community-panel-stack--row{grid-template-columns:1fr}
  .home-logo-cloud{grid-template-columns:1fr 1fr}
  .page-hero .section-title,.hero-title{font-size:clamp(2rem,7vw,3rem)}
}
@media (max-width: 767.98px){
  .hero-shell .container{padding-top:1rem;padding-bottom:2rem}
  .section-copy{font-size:1rem}
  .impact-item strong{font-size:1.2rem}
  .home-logo-cloud{grid-template-columns:1fr}
  .community-home-footer{flex-direction:column;align-items:flex-start}
  .btn-lg{padding:.85rem 1rem;font-size:1rem}
}


/* V54 storytelling and content polish */
.premium-product-card .product-list-thumb{height:220px;border-radius:1rem;overflow:hidden}
.product-logo-chip{width:48px;height:48px;border-radius:16px;border:1px solid rgba(18,22,26,.08);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 48px}
.product-logo-chip img{max-width:32px;max-height:32px;object-fit:contain}
.product-logo-stage img{max-width:96px;max-height:96px;object-fit:contain}
.partner-premium-card p,.premium-product-card p,.premium-community-card p{line-height:1.7}
.compact-story-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.compact-story-stat-grid div{background:rgba(36,75,37,.04);border-radius:1rem;padding:.85rem}
.community-home-panel-strip,.premium-detail-card,.premium-community-card,.premium-product-card,.partner-premium-card{box-shadow:0 18px 50px rgba(18,22,26,.07)}
@media (max-width: 767.98px){
  .compact-story-stat-grid{grid-template-columns:1fr 1fr}
  .premium-product-card .product-list-thumb{height:200px}
}


/* V55 partners + premium dashboards */
.partner-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.partner-mosaic-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.1rem;border-radius:1.2rem;background:#fff;border:1px solid rgba(15,23,20,.08);box-shadow:0 14px 38px rgba(16,24,18,.05);text-decoration:none;color:inherit;min-height:110px}
.partner-mosaic-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(16,24,18,.08);color:inherit}
.partner-mosaic-logo{width:64px;height:64px;border-radius:18px;border:1px solid rgba(15,23,20,.08);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 64px}
.partner-mosaic-logo img{max-width:44px;max-height:44px;object-fit:contain}
.partner-mosaic-copy strong{display:block;color:#101828;line-height:1.35}
.partner-mosaic-copy span{display:block;font-size:.88rem;color:#667085;margin-top:.2rem}
.partner-spotlight-card{padding:1.25rem;border-radius:1.25rem;background:linear-gradient(180deg,#fff,#f8fbf8);border:1px solid rgba(15,23,20,.08);box-shadow:0 16px 42px rgba(16,24,18,.06);height:100%}
.partner-spotlight-card .partner-logo-shell{height:76px}
.dashboard-hero-premium{border-radius:1.5rem;background:linear-gradient(135deg,#16381c,#244b25 58%,#3f7b46);color:#fff;box-shadow:0 24px 70px rgba(15,23,20,.18);padding:2rem}
.dashboard-hero-premium .muted-light{color:rgba(255,255,255,.82)!important}
.dashboard-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.dashboard-quick-card{display:block;text-decoration:none;color:inherit;border-radius:1.2rem;background:#fff;border:1px solid rgba(15,23,20,.08);box-shadow:0 16px 40px rgba(16,24,18,.05);padding:1.1rem 1rem;height:100%}
.dashboard-quick-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(16,24,18,.08);color:inherit}
.dashboard-quick-card strong{display:block;color:#101828;margin-bottom:.25rem}
.dashboard-quick-card span{display:block;color:#667085;font-size:.92rem;line-height:1.55}
.dashboard-panel-title{font-size:1.05rem;font-weight:800;margin-bottom:.35rem;color:#101828}
.dashboard-note-strip{display:flex;flex-wrap:wrap;gap:.65rem}
.dashboard-note-pill{display:inline-flex;align-items:center;padding:.5rem .8rem;border-radius:999px;background:rgba(36,75,37,.08);color:#244b25;font-weight:700;font-size:.78rem}
.dashboard-list-card{padding:1rem;border-radius:1rem;border:1px solid rgba(15,23,20,.08);background:#fff;box-shadow:0 12px 30px rgba(16,24,18,.04)}
.dashboard-list-card + .dashboard-list-card{margin-top:.75rem}
.partner-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.location-real-note{background:linear-gradient(180deg,#fff,#f7faf7);border:1px solid rgba(15,23,20,.08);border-radius:1.2rem;padding:1.1rem}
@media (max-width:1199.98px){.partner-mosaic,.dashboard-quick-grid,.partner-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767.98px){.partner-mosaic,.dashboard-quick-grid,.partner-page-grid{grid-template-columns:1fr}.dashboard-hero-premium{padding:1.4rem}.partner-mosaic-card{min-height:unset}}

/* V56 premium internal modules */
.internal-hero{background:linear-gradient(135deg,rgba(36,75,37,.10),rgba(111,148,113,.06));border:1px solid rgba(36,75,37,.10);border-radius:1.35rem;padding:1.35rem 1.35rem 1.1rem;box-shadow:0 18px 48px rgba(18,22,26,.05)}
.internal-hero h1,.internal-hero h2,.internal-hero h3{letter-spacing:-.02em}
.internal-kicker{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#5f6f63;font-weight:800}
.metric-tile{border:1px solid rgba(18,22,26,.07);border-radius:1.1rem;background:#fff;padding:1rem 1rem .9rem;height:100%;box-shadow:0 14px 38px rgba(18,22,26,.05)}
.metric-tile .value{font-size:1.45rem;font-weight:800;letter-spacing:-.03em;color:#18261b}
.metric-tile .label{font-size:.86rem;color:#5f6f63}
.filter-shell{background:linear-gradient(180deg,#fff,#fbfcfb);border:1px solid rgba(18,22,26,.06);border-radius:1.1rem;padding:1rem;box-shadow:0 12px 30px rgba(18,22,26,.04)}
.directory-grid-premium .member-card,.listing-card{border:1px solid rgba(18,22,26,.08);border-radius:1.15rem;background:#fff;padding:1.05rem;box-shadow:0 12px 32px rgba(18,22,26,.05);height:100%}
.listing-card .avatar,.list-avatar{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#244b25,#6f9471);color:#fff;font-weight:800;overflow:hidden;flex:0 0 54px}
.list-avatar img{width:100%;height:100%;object-fit:cover}
.meta-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.36rem .65rem;border-radius:999px;background:rgba(36,75,37,.08);color:#244b25;font-size:.77rem;font-weight:700;margin:.2rem .2rem 0 0}
.meta-chip.muted{background:rgba(18,22,26,.06);color:#4d5a50}
.soft-divider{height:1px;background:linear-gradient(90deg,rgba(18,22,26,.08),rgba(18,22,26,0));margin:1rem 0}
.table-lite thead th{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:#607164;border-bottom-width:1px}
.table-lite tbody tr td{padding-top:.9rem;padding-bottom:.9rem}
.inline-stat{display:flex;gap:1rem;flex-wrap:wrap}
.inline-stat .item{display:flex;flex-direction:column}
.inline-stat .item strong{font-size:1.1rem;letter-spacing:-.02em}
.partner-mini-logo{width:52px;height:52px;border-radius:1rem;object-fit:cover;background:#f4f7f4;border:1px solid rgba(18,22,26,.06);padding:.35rem}
.partner-type-pill{display:inline-flex;padding:.32rem .65rem;border-radius:999px;background:rgba(36,75,37,.08);font-size:.76rem;font-weight:700;color:#244b25}
@media (max-width:767.98px){.internal-hero{padding:1rem}.metric-tile{padding:.9rem}.inline-stat{gap:.65rem}}


.section-title-sm{font-size:1rem;font-weight:800;letter-spacing:-.01em;margin-bottom:1rem;}
.internal-side-panel{top:1.25rem;}
.internal-help-list{padding-left:1.1rem;color:var(--mhub-muted);}
.internal-help-list li{margin-bottom:.65rem;}
.internal-meta-stack{display:grid;gap:1rem;}
.detail-block{padding:1rem 1.05rem;border:1px solid var(--mhub-line);border-radius:1rem;background:#fff;}
.admin-logo-preview{width:84px;height:84px;object-fit:contain;background:#fff;border:1px solid var(--mhub-line);border-radius:1rem;padding:.6rem;box-shadow:0 10px 25px rgba(18,22,26,.06);}
.admin-logo-preview.lg{width:96px;height:96px;}
.admin-cover-preview{width:100%;max-width:220px;height:120px;object-fit:cover;background:#fff;border:1px solid var(--mhub-line);border-radius:1rem;box-shadow:0 10px 25px rgba(18,22,26,.06);}
.list-avatar.lg{width:76px;height:76px;font-size:1.25rem;}
.list-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;}
.internal-list-stack{display:grid;gap:.8rem;}
.internal-list-item{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.9rem 1rem;border:1px solid var(--mhub-line);border-radius:1rem;background:#fff;}
.form-control-lg{min-height:3rem;}
@media (max-width: 991.98px){.internal-side-panel{position:static !important;}}


/* ===== CUMULATIVE PORTAL POLISH (V60-V62) ===== */

/* V60 notifications + chat + timeline premium polish */
.notification-card{display:block;background:#fff;border:1px solid rgba(36,75,37,.08);border-radius:1rem;padding:1rem 1.1rem;box-shadow:0 12px 30px rgba(17,17,17,.04);transition:transform .18s ease, box-shadow .18s ease,border-color .18s ease}
.notification-card:hover{transform:translateY(-1px);box-shadow:0 18px 38px rgba(17,17,17,.07);border-color:rgba(36,75,37,.16)}
.notification-time{min-width:110px}
.empty-state-premium{background:linear-gradient(180deg,#fbfcfb 0%,#f4f8f4 100%);border:1px dashed rgba(36,75,37,.14);border-radius:1.1rem}
.conversation-list-premium .list-group-item{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1rem}
.premium-chat-box{max-height:520px;overflow:auto;background:linear-gradient(180deg,#f8faf7,#eef4ee);border-radius:1rem;border:1px solid rgba(36,75,37,.08)}
.chat-header-premium{padding-bottom:.85rem;border-bottom:1px solid rgba(0,0,0,.06)}
.chat-compose-premium{padding-top:1rem;border-top:1px dashed rgba(0,0,0,.08)}
.timeline-composer-card{background:linear-gradient(180deg,#ffffff 0%,#f8fbf8 100%)}
.timeline-tips .form-card,.notification-tip-list .form-card{border-radius:1rem;border:1px solid rgba(36,75,37,.08);background:#fff}
.premium-feed-card .rich-preview-text{font-size:.98rem;line-height:1.7}
.premium-feed-card .timeline-actions{border-color:rgba(36,75,37,.10)!important}
@media (max-width: 991.98px){
  .notification-time{min-width:auto;text-align:left}
  .premium-chat-box{max-height:420px}
}

/* V61 portal premium polish */
.portal-premium-hero{background:linear-gradient(135deg,#244b25 0%,#1f3f20 65%,#0f1f10 100%);border-radius:26px;padding:2rem 2rem;color:#fff;box-shadow:0 16px 40px rgba(12,34,15,.18)}
.portal-section-kicker{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;opacity:.8;margin-bottom:.6rem}
.portal-premium-title{font-size:2rem;line-height:1.15;font-weight:800;margin-bottom:.75rem}
.portal-premium-text{font-size:1rem;line-height:1.7;color:rgba(255,255,255,.82)}
.portal-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.portal-hero-stat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);border-radius:18px;padding:1rem 1rem .95rem}
.portal-hero-stat span{display:block;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.72);margin-bottom:.35rem}
.portal-hero-stat strong{display:block;font-size:1.35rem;color:#fff}
.portal-mini-stat{background:#fff;border:1px solid rgba(36,75,37,.09);border-radius:20px;padding:1rem 1.1rem;box-shadow:0 10px 28px rgba(12,34,15,.06)}
.portal-mini-stat span{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;margin-bottom:.35rem}
.portal-mini-stat strong{font-size:1.35rem;color:#1f2937}
.portal-checklist{display:grid;gap:.8rem}
.portal-check-item{position:relative;padding-left:1.3rem;color:#4b5563;line-height:1.55}
.portal-check-item:before{content:'•';position:absolute;left:.15rem;top:-.05rem;color:#244b25;font-size:1.15rem;font-weight:900}
.portal-link-card{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.05rem;border-radius:18px;border:1px solid rgba(36,75,37,.1);background:#fff;color:#111827;text-decoration:none;transition:.2s ease;box-shadow:0 8px 24px rgba(17,24,39,.04)}
.portal-link-card span{font-size:.82rem;color:#6b7280}
.portal-link-card:hover,.portal-link-card.active{transform:translateY(-1px);border-color:rgba(36,75,37,.28);box-shadow:0 14px 30px rgba(17,24,39,.08);color:#111827}
.portal-empty-state{border:1px dashed rgba(36,75,37,.22);background:#fbfdfb;border-radius:22px;padding:1.6rem;text-align:center}
.portal-empty-state.compact{padding:1.1rem}
.program-space-hero{background:linear-gradient(135deg,#203b22 0%,#244b25 60%,#315f33 100%);border-radius:24px;padding:1.75rem 1.75rem 1.8rem;box-shadow:0 16px 34px rgba(12,34,15,.16)}
.portal-list-row{display:flex;justify-content:space-between;gap:1rem;padding:.95rem 1rem;border-radius:16px;background:#fff;border:1px solid rgba(17,24,39,.06)}
.portal-story-card{display:flex;gap:.9rem;padding:.7rem;border:1px solid rgba(17,24,39,.08);border-radius:18px;background:#fff;text-decoration:none;color:inherit;transition:.2s ease}
.portal-story-card:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(17,24,39,.08);color:inherit}
.portal-story-thumb{width:84px;min-width:84px;height:84px;border-radius:14px;overflow:hidden;background:#eef2f7}
.portal-story-thumb img{width:100%;height:100%;object-fit:cover}
.premium-resource-card{border-radius:20px;border:1px solid rgba(17,24,39,.06);box-shadow:0 10px 24px rgba(17,24,39,.05)}
@media (max-width:991.98px){.portal-premium-hero,.program-space-hero{padding:1.35rem}.portal-premium-title{font-size:1.55rem}.portal-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575.98px){.portal-hero-stats{grid-template-columns:1fr}.portal-premium-title{font-size:1.35rem}.portal-link-card{flex-direction:column;align-items:flex-start}}


/* V62 portal opportunities/trainings/events premium */
.portal-page-shell{padding:1.75rem 1.75rem 2rem}
.portal-page-hero{background:linear-gradient(135deg,#244b25 0%,#17351b 100%);border-radius:26px;padding:1.5rem 1.5rem 1.35rem;color:#fff;box-shadow:0 20px 40px rgba(15,23,42,.12)}
.portal-page-hero p{color:rgba(255,255,255,.82)}
.portal-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1rem}
.portal-stat-tile{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:1rem 1rem .9rem;backdrop-filter:blur(8px)}
.portal-stat-tile span{display:block;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72);margin-bottom:.35rem}
.portal-stat-tile strong{display:block;font-size:1.45rem;line-height:1.1}
.portal-filter-bar{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:1rem 1rem;box-shadow:0 10px 26px rgba(15,23,42,.05)}
.portal-chip{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;background:#eef4ef;color:#244b25;padding:.38rem .75rem;font-size:.82rem;font-weight:600}
.portal-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;box-shadow:0 12px 28px rgba(15,23,42,.05);overflow:hidden}
.portal-card-body{padding:1.1rem 1.1rem 1.15rem}
.portal-card-media{position:relative;aspect-ratio:16/9;background:#e8ece8;overflow:hidden}
.portal-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.portal-meta-list{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 0}
.portal-meta-pill{display:inline-flex;align-items:center;border-radius:999px;background:#f6f7f9;color:#44505f;padding:.32rem .7rem;font-size:.79rem}
.portal-section-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.portal-section-card .section-card-body{padding:1.2rem}
.portal-empty-state{background:#fff;border:1px dashed rgba(36,75,37,.24);border-radius:22px;padding:2rem 1.25rem;text-align:center;color:#64748b}
.portal-action-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between}
.portal-list-item{border-top:1px solid rgba(15,23,42,.07);padding:.9rem 0}
.portal-list-item:first-child{border-top:0;padding-top:0}
.portal-mini-heading{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:#64748b;font-weight:700;margin-bottom:.45rem}
@media (max-width:1199.98px){.portal-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575.98px){.portal-page-shell{padding:1rem}.portal-page-hero{padding:1.15rem}.portal-stat-grid{grid-template-columns:1fr}.portal-card-body{padding:1rem}}


/* ===== MEMBER JOURNEY POLISH (V63) ===== */

/* V63 member journey polish */
.portal-journey-hero{
  background:linear-gradient(135deg,#244b25 0%,#315f33 55%,#4a7a4d 100%);
  color:#fff;border-radius:1.5rem;padding:2rem;box-shadow:0 20px 55px rgba(18,22,26,.10);
}
.portal-journey-hero .muted-light{color:rgba(255,255,255,.82)!important}
.portal-journey-card,.portal-empty-card,.portal-search-card,.portal-settings-card{
  background:#fff;border:1px solid rgba(18,22,26,.08);border-radius:1.2rem;box-shadow:0 16px 50px rgba(18,22,26,.07);
}
.portal-empty-card{padding:1.35rem}
.portal-empty-illustration{
  width:56px;height:56px;border-radius:1rem;background:rgba(36,75,37,.08);display:grid;place-items:center;
  color:#244b25;font-weight:800;font-size:1.2rem;margin-bottom:.85rem;
}
.portal-checklist{display:grid;gap:.9rem}
.portal-check-item{
  display:flex;gap:.9rem;align-items:flex-start;padding:1rem;border-radius:1rem;background:#f8faf7;border:1px solid rgba(36,75,37,.08)
}
.portal-check-badge{
  width:2rem;height:2rem;border-radius:999px;display:grid;place-items:center;background:#244b25;color:#fff;font-size:.85rem;font-weight:800;flex:0 0 auto;
}
.portal-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.portal-step-card{
  background:#fff;border:1px solid rgba(18,22,26,.08);border-radius:1.15rem;padding:1.1rem;height:100%;box-shadow:0 12px 34px rgba(18,22,26,.05)
}
.portal-step-card .step-no{
  width:2rem;height:2rem;border-radius:999px;display:grid;place-items:center;background:rgba(36,75,37,.1);color:#244b25;font-weight:800;margin-bottom:.85rem;
}
.portal-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.portal-link-card{
  text-decoration:none;color:inherit;display:block;background:#fff;border:1px solid rgba(18,22,26,.08);border-radius:1.15rem;padding:1rem;box-shadow:0 12px 34px rgba(18,22,26,.05)
}
.portal-link-card:hover{transform:translateY(-2px);box-shadow:0 16px 42px rgba(18,22,26,.08)}
.portal-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .7rem;border-radius:999px;background:rgba(36,75,37,.08);color:#244b25;font-size:.77rem;font-weight:700}
.portal-settings-list{display:grid;gap:.85rem}
.portal-settings-row{
  display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:1rem 0;border-bottom:1px solid rgba(18,22,26,.08)
}
.portal-settings-row:last-child{border-bottom:none;padding-bottom:0}
.portal-search-result{
  padding:1rem 0;border-bottom:1px solid rgba(18,22,26,.08)
}
.portal-search-result:last-child{border-bottom:none;padding-bottom:0}
.portal-search-kicker{font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#244b25}
.portal-empty-stack{display:grid;gap:1rem}
.portal-cta-strip{
  background:linear-gradient(180deg,#ffffff 0%,#f4f8f4 100%);border:1px solid rgba(18,22,26,.08);border-radius:1.25rem;padding:1.2rem;
}
@media (max-width: 991.98px){
  .portal-step-grid,.portal-link-grid{grid-template-columns:1fr}
  .portal-settings-row{flex-direction:column}
}


/* V64 recovery fixes */
.investor-hero{position:relative;overflow:hidden;border-bottom-left-radius:2rem;border-bottom-right-radius:2rem}
.investor-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,18,10,.58) 0%,rgba(17,35,20,.28) 40%,rgba(36,75,37,.08) 100%);pointer-events:none}
.investor-hero .container{position:relative;z-index:1}
.investor-hero .section-title{max-width:820px;text-shadow:0 8px 30px rgba(0,0,0,.18)}
.investor-hero .section-copy{max-width:760px;color:rgba(255,255,255,.9)!important}
.portfolio-showcase-card--elevated{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.18)}
.portfolio-mini-item strong,.portfolio-mini-item span{color:#fff}
.portfolio-card .content-card{height:100%}
.partner-mosaic-card{transition:transform .18s ease, box-shadow .18s ease}
.partner-mosaic-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(18,22,26,.10)}








/* V81.10 regenerated universal mobile menu fix */
.mobile-menu-header,
.mobile-menu-panel,
.mobile-menu-backdrop {
  display: none;
}

.mobile-menu-trigger .mobile-menu-caret {
  display: inline-block;
  transition: transform .18s ease;
}

.mobile-menu-trigger[aria-expanded="true"] .mobile-menu-caret {
  transform: rotate(180deg);
}

@media (max-width: 1199.98px) {
  .portal-sidebar {
    display: none !important;
  }

  .mobile-menu-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 1rem 0 !important;
    padding: 1rem !important;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #14341a 0%, #244b25 55%, #336d36 100%);
    color: #fff;
    position: relative;
    z-index: 1300;
  }

  .mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
  }

  .mobile-menu-copy {
    min-width: 0;
  }

  .mobile-menu-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 44px;
    padding: .75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 700;
    line-height: 1;
    margin-left: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-panel[hidden] {
    display: none !important;
  }

  .mobile-menu-panel:not([hidden]) {
    display: block !important;
    position: absolute;
    top: calc(100% + .65rem);
    left: 1rem;
    right: 1rem;
    z-index: 1310;
  }

  .mobile-menu-panel-inner {
    display: grid;
    gap: .65rem;
    max-height: 72vh;
    overflow: auto;
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #14341a 0%, #244b25 55%, #336d36 100%);
    box-shadow: 0 18px 44px rgba(0,0,0,.22);
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }

  .mobile-menu-link .side-dot {
    display: inline-block !important;
  }

  .mobile-menu-backdrop[hidden] {
    display: none !important;
  }

  .mobile-menu-backdrop:not([hidden]) {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(7,12,9,.34);
    z-index: 1290;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}


/* V81.12 strict mobile menu render fix */
.mobile-menu-header,.mobile-menu-panel,.mobile-menu-backdrop{display:none}
.mobile-menu-trigger .mobile-menu-caret{display:inline-block;transition:transform .18s ease}
.mobile-menu-trigger[aria-expanded="true"] .mobile-menu-caret{transform:rotate(180deg)}
@media (max-width:1199.98px){
  .portal-sidebar,.admin-sidebar{display:none !important}
  .mobile-menu-header{display:flex !important;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 1rem 0 !important;padding:1rem !important;border-radius:1.25rem;background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);color:#fff;position:relative;z-index:1300}
  .mobile-menu-header.light-variant{background:linear-gradient(135deg,#1a1f2b 0%,#243247 55%,#314766 100%)}
  .mobile-menu-brand{display:flex;align-items:center;gap:.75rem;min-width:0}
  .mobile-menu-copy{min-width:0}
  .mobile-menu-trigger{display:inline-flex !important;align-items:center;justify-content:center;gap:.35rem;min-height:44px;padding:.75rem 1rem;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.12);color:#fff !important;font-weight:700;line-height:1;margin-left:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;position:relative;z-index:1315}
  .mobile-menu-panel[hidden]{display:none !important}
  .mobile-menu-panel:not([hidden]){display:block !important;position:fixed;top:84px;left:12px;right:12px;z-index:1310}
  .mobile-menu-panel-inner{display:grid !important;gap:.65rem;max-height:72vh;overflow:auto;border-radius:1rem;padding:1rem;background:linear-gradient(135deg,#14341a 0%,#244b25 55%,#336d36 100%);box-shadow:0 18px 44px rgba(0,0,0,.22)}
  .mobile-menu-panel.light-variant .mobile-menu-panel-inner{background:linear-gradient(135deg,#1a1f2b 0%,#243247 55%,#314766 100%)}
  a.mobile-menu-link,.mobile-menu-panel a{display:flex !important;align-items:center !important;gap:.6rem !important;width:100% !important;padding:.85rem 1rem !important;border-radius:1rem !important;background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.10) !important;color:#fff !important;text-decoration:none !important;font-weight:700 !important;line-height:1.25 !important}
  .mobile-menu-panel a span,.mobile-menu-link span{color:inherit !important}
  .mobile-menu-link .side-dot,.mobile-menu-panel a .side-dot{display:inline-block !important}
  .mobile-menu-panel .badge,.mobile-menu-link .badge{margin-left:auto !important}
  .mobile-menu-backdrop[hidden]{display:none !important}
  .mobile-menu-backdrop:not([hidden]){display:block !important;position:fixed;inset:0;background:rgba(7,12,9,.34);z-index:1290}
  body.mobile-nav-open{overflow:hidden}
}


/* V82.1C public desktop dropdown fix */
@media (min-width: 1200px){
  .public-nav-main .public-dropdown{
    position:relative;
  }
  .public-nav-main .public-dropdown > .dropdown-toggle{
    border:0;
    background:transparent;
    cursor:pointer;
  }
  .public-nav-main .public-dropdown > .dropdown-toggle:focus{
    outline:none;
    box-shadow:none;
  }
  .public-nav-main .public-dropdown > .dropdown-menu{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    min-width:280px;
    border:1px solid rgba(0,0,0,.06);
    border-radius:18px;
    box-shadow:0 18px 48px rgba(17,24,39,.10);
    background:#fff;
    z-index:1200;
  }
  .public-nav-main .public-dropdown.show > .dropdown-menu,
  .public-nav-main .public-dropdown:hover > .dropdown-menu{
    display:block;
  }
  .public-nav-main .public-dropdown .dropdown-grid{
    display:grid;
    gap:.5rem;
  }
  .public-nav-main .public-dropdown .dropdown-grid.small-grid{
    min-width:220px;
  }
  .public-nav-main .public-dropdown .dropdown-item{
    display:block;
    padding:.7rem .85rem;
    border-radius:12px;
    color:#1f2937;
    text-decoration:none;
  }
  .public-nav-main .public-dropdown .dropdown-item:hover{
    background:#f4f7f4;
    color:#163b1d;
  }
}


/* V82.1D public dropdown hard fix */
.mhub-navbar,
.mhub-navbar .container,
.mhub-navbar .navbar-collapse,
.public-nav-main,
.public-nav-main .public-dropdown{
  overflow: visible !important;
}

.mhub-navbar{
  position: relative;
  z-index: 1400;
}

@media (min-width: 1200px){
  .public-nav-main .public-dropdown{
    position: relative;
  }

  .public-nav-main .public-dropdown > .dropdown-toggle{
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .public-nav-main .public-dropdown > .dropdown-toggle:focus{
    outline: none;
    box-shadow: none;
  }

  .public-nav-main .public-dropdown > .dropdown-menu[hidden]{
    display: none !important;
  }

  .public-nav-main .public-dropdown.show > .dropdown-menu,
  .public-nav-main .public-dropdown > .dropdown-menu:not([hidden]){
    display: block !important;
  }

  .public-nav-main .public-dropdown > .dropdown-menu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(17,24,39,.10);
    background: #fff;
    z-index: 2000 !important;
  }

  .public-nav-main .public-dropdown .dropdown-grid{
    display: grid;
    gap: .5rem;
  }

  .public-nav-main .public-dropdown .dropdown-grid.small-grid{
    min-width: 220px;
  }

  .public-nav-main .public-dropdown .dropdown-item{
    display: block;
    padding: .7rem .85rem;
    border-radius: 12px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
  }

  .public-nav-main .public-dropdown .dropdown-item:hover{
    background: #f4f7f4;
    color: #163b1d;
  }
}


/* V82.1E public dropdown actual fix */
@media (min-width: 1200px){
  .public-nav-main{
    overflow: visible !important;
  }
  .public-nav-main .public-dropdown{
    position: relative !important;
  }
  .public-nav-main .public-dropdown > .dropdown-toggle{
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
  }
  .public-nav-main .public-dropdown > .dropdown-menu{
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    min-width: 260px !important;
    max-width: 520px !important;
    white-space: normal !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 48px rgba(17,24,39,.10) !important;
    background: #fff !important;
    z-index: 2500 !important;
  }
  .public-nav-main .public-dropdown > .dropdown-menu[hidden]{
    display: none !important;
  }
  .public-nav-main .public-dropdown.show > .dropdown-menu{
    display: block !important;
  }
  .public-nav-main .public-dropdown .dropdown-grid{
    display: grid !important;
    gap: .5rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .public-nav-main .public-dropdown .dropdown-grid.small-grid{
    grid-template-columns: 1fr !important;
    min-width: 220px !important;
  }
  .public-nav-main .public-dropdown .dropdown-item{
    display: block !important;
    padding: .72rem .9rem !important;
    border-radius: 12px !important;
    color: #1f2937 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
  }
  .public-nav-main .public-dropdown .dropdown-item:hover{
    background: #f4f7f4 !important;
    color: #163b1d !important;
  }
}


/* V82.1F public dropdown hover delay fix */
@media (min-width: 1200px){
  .public-nav-main .public-dropdown{
    position: relative !important;
    padding-bottom: 10px;
    margin-bottom: -10px;
  }
  .public-nav-main .public-dropdown > .dropdown-menu{
    top: calc(100% + 2px) !important;
  }
  .public-nav-main .public-dropdown > .dropdown-menu::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: transparent;
  }
}


/* V83.2 public rollout polish */
.hero-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
  max-width:980px;
}
.hero-stat-card{
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(8px);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:1rem 1.05rem;
  box-shadow:0 12px 28px rgba(17,24,39,.06);
}
.hero-stat-card strong{
  display:block;
  font-size:1.4rem;
  line-height:1.1;
  font-weight:800;
  color:#111827;
}
.hero-stat-card span{
  display:block;
  margin-top:.3rem;
  font-size:.92rem;
  color:#4b5563;
}
.pathway-card{
  text-decoration:none;
  color:inherit;
  display:block;
}
.pathway-card:hover{
  color:inherit;
}
@media (max-width: 991.98px){
  .hero-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 575.98px){
  .hero-stat-grid{
    grid-template-columns:1fr;
  }
}


/* homepage randomization polish */
.innovation-week-premium{
  background: linear-gradient(135deg, #1f3d21 0%, #244b25 45%, #111827 100%);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 28px 60px rgba(17,24,39,.18);
  overflow: hidden;
}
.innovation-week-panel{
  display: grid;
  gap: .9rem;
}
.week-stat{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}
.week-stat strong{
  display:block;
  color:#fff;
  font-size:1rem;
  margin-bottom:.2rem;
}
.week-stat span{
  color:rgba(255,255,255,.78);
  font-size:.92rem;
  line-height:1.4;
}
.story-card-link{
  display:block;
  text-decoration:none;
  color:inherit;
}
.story-card-link:hover{
  color:inherit;
}


/* why section redesign */
.why-mkh-redesign{
  background: linear-gradient(135deg, #16391b 0%, #244b25 48%, #2d6a33 100%);
  border-radius: 34px;
  padding: 2.2rem;
  box-shadow: 0 28px 60px rgba(17,24,39,.16);
  overflow: hidden;
}
.why-lead{
  color: rgba(255,255,255,.84);
  font-size: 1.02rem;
  line-height: 1.75;
}
.why-points{
  display: grid;
  gap: 1rem;
}
.why-point{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  backdrop-filter: blur(8px);
}
.why-point strong{
  display:block;
  color:#fff;
  margin-bottom:.35rem;
  font-size:1rem;
}
.why-point span{
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: .95rem;
}
.why-impact-panel{
  display:grid;
  gap:1rem;
}
.why-impact-card{
  background:#fff;
  border-radius:24px;
  padding:1.4rem;
  box-shadow: 0 20px 44px rgba(17,24,39,.12);
}
.why-impact-label{
  font-size:.86rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#244b25;
  font-weight:800;
  margin-bottom:.9rem;
}
.why-impact-list{
  margin:0;
  padding-left:1.1rem;
  display:grid;
  gap:.75rem;
  color:#334155;
}
.why-impact-list li{
  line-height:1.55;
}
.why-mini-metrics{
  display:grid;
  gap:.9rem;
}
.why-mini-metric{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1rem 1.05rem;
}
.why-mini-metric strong{
  display:block;
  color:#fff;
  margin-bottom:.25rem;
  font-size:1rem;
}
.why-mini-metric span{
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  font-size: .93rem;
}
@media (max-width: 767.98px){
  .why-mkh-redesign{
    padding: 1.35rem;
    border-radius: 24px;
  }
}


/* why exact fix patch */
.why-impact-panel{
  display:grid;
  gap:1rem;
}
.why-impact-card{
  background:#fff;
  border-radius:24px;
  padding:1.4rem;
  box-shadow:0 20px 44px rgba(17,24,39,.12);
}
.why-impact-label{
  font-size:.86rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#244b25;
  font-weight:800;
  margin-bottom:.9rem;
}
.why-impact-list{
  margin:0;
  padding-left:1.1rem;
  display:grid;
  gap:.75rem;
  color:#334155;
}
.why-impact-list li{
  line-height:1.55;
}
.why-mini-metrics{
  display:grid;
  gap:.9rem;
}
.why-mini-metric{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:1rem 1.05rem;
}
.why-mini-metric strong{
  display:block;
  color:#fff;
  margin-bottom:.25rem;
  font-size:1rem;
}
.why-mini-metric span{
  color:rgba(255,255,255,.78);
  line-height:1.5;
  font-size:.93rem;
}


.social-handle-chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.55rem .9rem;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  font-size:.92rem;
  transition:all .2s ease;
}
.social-handle-chip:hover{
  color:#fff;
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.2);
}
.footer-social-block{max-width:100%;}

.entity-name-chip{font-size:.98rem;font-weight:600;color:#3f5d46;}


.cop-chip{
  display:inline-flex;
  align-items:center;
  padding:.42rem .8rem;
  border-radius:999px;
  background:rgba(36,75,37,.08);
  color:#244b25;
  font-weight:700;
  font-size:.88rem;
}
