/*
Theme Name: MedInfoBase
Theme URI: https://medinfobase.com/
Author: MedInfoBase
Description: Theme 5 palette frontend for MedInfoBase — navy, teal, seafoam, cream and red; search-first, data-first, with clickable pharmaceutical company profiles and logo navigation. MedInfoBase Core remains separate.
Version: 1.6.4
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: medinfobase
*/

:root {
  --mib-navy-950:#082f2a;
  --mib-navy-900:#102c3a;
  --mib-navy-800:#174b47;
  --mib-blue:#138a72;
  --mib-blue-600:#0f766e;
  --mib-teal:#138a72;
  --mib-teal-600:#16a085;
  --mib-purple:#256d5e;
  --mib-orange:#b7791f;
  --mib-green:#2f855a;
  --mib-red:#b91c1c;
  --mib-ink:#17332f;
  --mib-muted:#60756f;
  --mib-soft:#91a49f;
  --mib-line:#dce9e4;
  --mib-line-2:#edf5f1;
  --mib-bg:#f3fbf7;
  --mib-surface:#ffffff;
  --mib-surface-2:#eef8f3;
  --mib-radius:14px;
  --mib-radius-sm:10px;
  --mib-shadow:0 10px 30px rgba(15,23,42,.06);
  --mib-shadow-sm:0 3px 14px rgba(15,23,42,.05);
  --mib-container:1440px;
  --mib-header-h:72px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mib-bg);color:var(--mib-ink);font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--mib-blue);text-decoration:none}
a:hover{color:var(--mib-blue-600)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
::selection{background:#d7f5e4;color:var(--mib-navy-950)}

.mib-container{width:min(calc(100% - 40px),var(--mib-container));margin-inline:auto}
.mib-main{min-height:60vh}
.mib-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header */
.mib-site-header{position:sticky;top:0;z-index:1000;background:linear-gradient(90deg,rgba(5,53,43,.99),rgba(9,66,65,.99));color:#fff;border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:saturate(150%) blur(14px)}
.admin-bar .mib-site-header{top:32px}
.mib-header-inner{min-height:var(--mib-header-h);display:flex;align-items:center;gap:28px}
.mib-brand{display:flex;align-items:center;gap:11px;min-width:250px;color:#fff}
.mib-brand:hover{color:#fff}
.mib-brand-mark{width:38px;height:42px;display:grid;place-items:center;flex:0 0 auto}
.mib-brand-copy{display:flex;flex-direction:column;line-height:1.1}
.mib-brand-name{font-size:22px;font-weight:780;letter-spacing:-.4px}
.mib-brand-name span{color:#4ade80}
.mib-brand-tag{margin-top:4px;font-size:10.5px;font-weight:600;color:#cbd5e1;letter-spacing:.02em}
.mib-primary-nav{margin-left:auto}
.mib-primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:6px}
.mib-primary-nav a{display:flex;align-items:center;padding:11px 12px;border-radius:9px;color:#e5edf7;font-size:14px;font-weight:650}
.mib-primary-nav a:hover,.mib-primary-nav .current-menu-item>a{background:rgba(255,255,255,.08);color:#fff}
.mib-header-actions{display:flex;align-items:center;gap:8px;padding-left:8px;border-left:1px solid rgba(255,255,255,.16)}
.mib-icon-btn{width:42px;height:42px;border:0;border-radius:10px;background:transparent;color:#fff;display:grid;place-items:center}
.mib-icon-btn:hover{background:rgba(255,255,255,.09)}
.mib-menu-toggle{display:none}

/* Mobile menu */
.mib-mobile-panel{display:none;background:#073b32;border-top:1px solid rgba(255,255,255,.08)}
.mib-mobile-panel.is-open{display:block}
.mib-mobile-panel .mib-container{padding:12px 0 18px}
.mib-mobile-panel a{display:block;color:#edf4fb;padding:12px 4px;border-bottom:1px solid rgba(255,255,255,.07);font-weight:650}

/* Hero */
.mib-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbfdff 65%,var(--mib-bg) 100%);border-bottom:1px solid var(--mib-line-2)}
.mib-hero:before,.mib-hero:after{content:"";position:absolute;width:380px;height:380px;border-radius:50%;filter:blur(0);opacity:.35;pointer-events:none}
.mib-hero:before{left:-250px;top:-210px;border:1px solid #dbeafe;box-shadow:0 0 0 35px rgba(219,234,254,.18),0 0 0 70px rgba(204,251,241,.10)}
.mib-hero:after{right:-260px;top:-180px;border:1px solid #ccfbf1;box-shadow:0 0 0 40px rgba(204,251,241,.12),0 0 0 82px rgba(219,234,254,.11)}
.mib-hero-inner{position:relative;z-index:1;padding:56px 0 42px;text-align:center}
.mib-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #d9e5f2;border-radius:999px;background:#fff;color:var(--mib-teal);font-size:12px;font-weight:760;letter-spacing:.02em}
.mib-eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--mib-teal)}
.mib-hero h1{margin:13px 0 0;color:var(--mib-navy-950);font-size:clamp(42px,5vw,60px);line-height:1.05;letter-spacing:-2.1px}
.mib-hero h1 span{color:var(--mib-teal)}
.mib-hero-subtitle{margin:8px auto 0;font-size:clamp(20px,2.2vw,28px);line-height:1.3;font-weight:680;color:var(--mib-navy-950)}
.mib-hero-copy{max-width:720px;margin:10px auto 0;color:#4b6380;font-size:14px}

.mib-search-shell{max-width:820px;margin:24px auto 0}
.mib-search-form{display:flex;align-items:center;background:#fff;border:1px solid #dce6f0;border-radius:14px;box-shadow:0 12px 30px rgba(15,23,42,.08);overflow:hidden;text-align:left}
.mib-search-icon{width:52px;display:grid;place-items:center;color:#64748b;flex:0 0 52px}
.mib-search-form input[type="search"]{width:100%;min-width:0;height:58px;border:0;outline:0;background:transparent;color:var(--mib-navy-950);font-size:15px}
.mib-search-form input::placeholder{color:#8493a7}
.mib-search-submit{height:58px;min-width:62px;border:0;background:linear-gradient(135deg,#34d399,#4ade80);color:#073b32;display:grid;place-items:center;transition:.2s ease}
.mib-search-submit:hover{background:#6ee7a1;color:#073b32}
.mib-search-help{margin-top:8px;color:var(--mib-muted);font-size:12px}

.mib-stat-row{display:grid;grid-template-columns:repeat(5,1fr);max-width:860px;margin:22px auto 0;background:transparent}
.mib-stat{display:flex;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:7px 15px;border-right:1px solid var(--mib-line)}
.mib-stat:last-child{border-right:0}
.mib-stat-icon{width:27px;height:27px;display:grid;place-items:center;color:var(--mib-teal)}
.mib-stat:nth-child(2) .mib-stat-icon{color:var(--mib-blue)}
.mib-stat:nth-child(4) .mib-stat-icon{color:var(--mib-purple)}
.mib-stat-value{font-size:15px;font-weight:800;color:var(--mib-navy-950);line-height:1.2;text-align:left}
.mib-stat-label{font-size:11px;color:var(--mib-muted);line-height:1.2;text-align:left;margin-top:2px}

.mib-entity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:930px;margin:24px auto 0}
.mib-entity-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:128px;padding:20px;background:#fff;border:1px solid var(--mib-line);border-radius:var(--mib-radius);box-shadow:var(--mib-shadow-sm);color:var(--mib-navy-950);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.mib-entity-card:hover{transform:translateY(-2px);border-color:#c7d7e8;box-shadow:var(--mib-shadow);color:var(--mib-navy-950)}
.mib-entity-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin-bottom:10px;background:#e7f7f5;color:var(--mib-teal)}
.mib-entity-card:nth-child(2) .mib-entity-icon{background:#eaf1ff;color:var(--mib-blue)}
.mib-entity-card:nth-child(4) .mib-entity-icon{background:#f2ebff;color:var(--mib-purple)}
.mib-entity-title{font-size:15px;font-weight:780}
.mib-entity-sub{margin-top:2px;font-size:11.5px;color:var(--mib-muted)}

/* Sections */
.mib-section{padding:36px 0}
.mib-section + .mib-section{padding-top:8px}
.mib-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.mib-section-head h2{margin:0;font-size:20px;letter-spacing:-.35px;color:var(--mib-navy-950)}
.mib-section-head p{margin:4px 0 0;color:var(--mib-muted);font-size:13px}
.mib-link-arrow{font-size:13px;font-weight:720;white-space:nowrap}

.mib-explore-strip{display:grid;grid-template-columns:160px repeat(4,1fr);align-items:stretch;background:#f1f7fb;border:1px solid #dfebf3;border-radius:var(--mib-radius);overflow:hidden}
.mib-explore-label{padding:20px;font-size:16px;font-weight:800;line-height:1.15;color:var(--mib-navy-950);display:flex;align-items:center}
.mib-explore-item{display:flex;align-items:center;gap:12px;padding:16px;border-left:1px solid #d9e5ee;color:var(--mib-navy-950)}
.mib-explore-item:hover{background:#fff;color:var(--mib-navy-950)}
.mib-explore-item svg{flex:0 0 auto;color:var(--mib-blue)}
.mib-explore-title{font-size:13px;font-weight:760;line-height:1.2}
.mib-explore-sub{font-size:10.5px;color:var(--mib-muted);margin-top:3px;line-height:1.25}
.mib-explore-chevron{margin-left:auto;color:var(--mib-blue)}

.mib-insight-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mib-insight-card{min-height:176px;background:#fff;border:1px solid var(--mib-line);border-radius:var(--mib-radius);padding:18px;box-shadow:var(--mib-shadow-sm);display:flex;flex-direction:column}
.mib-insight-top{display:flex;align-items:flex-start;gap:11px}
.mib-mini-icon{width:37px;height:37px;border-radius:9px;background:#edf4ff;color:var(--mib-blue);display:grid;place-items:center;flex:0 0 auto}
.mib-insight-card:nth-child(2) .mib-mini-icon{background:#eaf8f5;color:var(--mib-teal)}
.mib-insight-card:nth-child(3) .mib-mini-icon{background:#f4edff;color:var(--mib-purple)}
.mib-insight-card:nth-child(4) .mib-mini-icon{background:#fff2e8;color:var(--mib-orange)}
.mib-insight-title{font-size:13px;font-weight:790;color:var(--mib-navy-950);line-height:1.25}
.mib-insight-copy{margin-top:4px;color:var(--mib-muted);font-size:11.5px;line-height:1.45}
.mib-sparkline{margin:18px 0 8px;width:100%;height:30px;color:var(--mib-blue);opacity:.72}
.mib-insight-card:nth-child(2) .mib-sparkline{color:var(--mib-teal)}
.mib-insight-card:nth-child(3) .mib-sparkline{color:var(--mib-purple)}
.mib-insight-card:nth-child(4) .mib-sparkline{color:var(--mib-orange)}
.mib-insight-link{margin-top:auto;font-size:11.5px;font-weight:720}

/* Data tables */
.mib-table-card{background:#fff;border:1px solid var(--mib-line);border-radius:var(--mib-radius);overflow:hidden;box-shadow:var(--mib-shadow-sm)}
.mib-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table,.mib-table{width:100%;border-collapse:collapse;background:#fff}
th,.mib-table th{text-align:left;padding:12px 14px;background:#f8fafc;color:#4c6078;font-size:11px;font-weight:780;letter-spacing:.015em;border-bottom:1px solid var(--mib-line)}
td,.mib-table td{padding:13px 14px;border-bottom:1px solid var(--mib-line-2);vertical-align:top;font-size:13px}
tr:last-child td,.mib-table tr:last-child td{border-bottom:0}
tbody tr:hover td{background:#fbfdff}
.mib-badge{display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:3px 8px;border-radius:999px;background:#eaf8f5;color:var(--mib-teal);font-size:10.5px;font-weight:760;white-space:nowrap}
.mib-badge--blue{background:#eaf1ff;color:var(--mib-blue)}
.mib-badge--purple{background:#f2ebff;color:var(--mib-purple)}
.mib-badge--orange{background:#fff1e8;color:var(--mib-orange)}
.mib-badge--green{background:#ecfdf3;color:var(--mib-green)}
.mib-badge--red{background:#fef2f2;color:var(--mib-red)}

/* Generic content / Core compatibility */
.mib-content-shell,.entry-content,.mib-core-shell,.mib-page-shell{color:var(--mib-ink)}
.mib-page{padding:36px 0 56px}
.mib-page-card{background:#fff;border:1px solid var(--mib-line);border-radius:var(--mib-radius);padding:clamp(22px,4vw,40px);box-shadow:var(--mib-shadow-sm)}
.mib-page-title,.entry-title{margin:0 0 10px;color:var(--mib-navy-950);font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-1px}
.entry-content h2,.entry-content h3,.entry-content h4,.mib-core-shell h2,.mib-core-shell h3{color:var(--mib-navy-950);line-height:1.25;letter-spacing:-.3px}
.entry-content h2,.mib-core-shell h2{margin-top:34px;font-size:24px}
.entry-content h3,.mib-core-shell h3{margin-top:26px;font-size:19px}
.entry-content p{max-width:82ch}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content blockquote{margin:24px 0;padding:15px 18px;border-left:3px solid var(--mib-teal);background:#f3faf9;color:#38516e}
.entry-content code{padding:2px 5px;background:#eef2f7;border-radius:5px;font-size:.9em}

/* Style likely MedInfoBase Core output without coupling to its logic */
[class^="mib-"] input[type="text"],[class^="mib-"] input[type="search"],[class^="mib-"] input[type="email"],[class^="mib-"] input[type="number"],[class^="mib-"] select,[class^="mib-"] textarea,
[class*=" mib-"] input[type="text"],[class*=" mib-"] input[type="search"],[class*=" mib-"] select{border:1px solid #d8e2ec;border-radius:10px;background:#fff;color:var(--mib-ink);min-height:42px;padding:9px 11px;outline:0}
[class^="mib-"] input:focus,[class^="mib-"] select:focus,[class^="mib-"] textarea:focus{border-color:#93b4e8;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.mib-card,.mib-panel,.mib-result-card,.mib-company-card,.mib-generic-card,.mib-brand-card{background:#fff;border:1px solid var(--mib-line);border-radius:var(--mib-radius);box-shadow:none}
.mib-btn,.mib-button,.entry-content .button,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;border:1px solid transparent;border-radius:10px;background:var(--mib-blue);color:#fff;font-weight:730;font-size:13px}
.mib-btn:hover,.mib-button:hover,.entry-content .button:hover,.wp-element-button:hover{background:var(--mib-blue-600);color:#fff}

/* Entity header component */
.mib-entity-header{background:#fff;border-bottom:1px solid var(--mib-line);padding:30px 0}
.mib-entity-kicker{display:flex;align-items:center;gap:8px;color:var(--mib-teal);font-size:12px;font-weight:780;text-transform:uppercase;letter-spacing:.06em}
.mib-entity-header h1{margin:8px 0 4px;color:var(--mib-navy-950);font-size:clamp(32px,5vw,48px);line-height:1.08;letter-spacing:-1.2px}
.mib-entity-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px;color:var(--mib-muted);font-size:12px}
.mib-sticky-tabs{position:sticky;top:var(--mib-header-h);z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--mib-line);backdrop-filter:blur(12px)}
.admin-bar .mib-sticky-tabs{top:calc(var(--mib-header-h) + 32px)}
.mib-tabs{display:flex;gap:4px;overflow-x:auto;padding:8px 0;scrollbar-width:none}
.mib-tabs::-webkit-scrollbar{display:none}
.mib-tabs a{padding:8px 10px;border-radius:8px;color:#536981;font-size:12px;font-weight:700;white-space:nowrap}
.mib-tabs a:hover,.mib-tabs a.is-active{background:#eef5ff;color:var(--mib-blue)}

/* Search */
.mib-search-page{padding:40px 0 60px}
.mib-search-title{margin:0 0 20px;color:var(--mib-navy-950);font-size:32px;letter-spacing:-.7px}
.mib-search-result{padding:18px 0;border-bottom:1px solid var(--mib-line)}
.mib-search-result:last-child{border-bottom:0}
.mib-search-result h2{margin:0 0 5px;font-size:18px}
.mib-search-result p{margin:0;color:var(--mib-muted);font-size:13px}

/* Footer */
.mib-footer{margin-top:40px;background:var(--mib-navy-950);color:#b9c8d7}
.mib-footer-main{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:40px;padding:46px 0 34px}
.mib-footer h3{margin:0 0 13px;color:#fff;font-size:13px;letter-spacing:.03em;text-transform:uppercase}
.mib-footer p{margin:9px 0 0;max-width:420px;color:#aebdca;font-size:12.5px}
.mib-footer-links{list-style:none;padding:0;margin:0}
.mib-footer-links li{margin:7px 0}
.mib-footer-links a{color:#c7d3de;font-size:12.5px}
.mib-footer-links a:hover{color:#fff}
.mib-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:18px 0 24px;border-top:1px solid rgba(255,255,255,.10);font-size:11px;color:#8fa3b5}
.mib-data-note{display:flex;align-items:center;gap:7px}

/* Empty state */
.mib-empty{padding:28px;border:1px dashed #cbd8e6;border-radius:var(--mib-radius);background:#fbfdff;text-align:center;color:var(--mib-muted)}
.mib-empty strong{display:block;color:var(--mib-navy-950);margin-bottom:4px}

/* Pagination */
.navigation.pagination{margin-top:26px}
.nav-links{display:flex;gap:6px;flex-wrap:wrap}
.page-numbers{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--mib-line);border-radius:8px;background:#fff;color:var(--mib-ink);font-size:12px;font-weight:700}
.page-numbers.current,.page-numbers:hover{background:var(--mib-blue);border-color:var(--mib-blue);color:#fff}

/* Responsive */
@media (max-width:1024px){
  .mib-brand{min-width:auto}
  .mib-primary-nav{display:none}
  .mib-menu-toggle{display:grid;margin-left:auto}
  .mib-header-actions{margin-left:0}
  .mib-explore-strip{grid-template-columns:1fr 1fr}
  .mib-explore-label{grid-column:1/-1;border-bottom:1px solid #d9e5ee}
  .mib-explore-item{border-left:0;border-top:1px solid #d9e5ee}
  .mib-explore-item:nth-of-type(even){border-left:1px solid #d9e5ee}
  .mib-insight-grid{grid-template-columns:1fr 1fr}
  .mib-footer-main{grid-template-columns:1.3fr 1fr 1fr}
  .mib-footer-main>div:last-child{grid-column:2/-1}
}
@media (max-width:782px){.admin-bar .mib-site-header{top:46px}.admin-bar .mib-sticky-tabs{top:calc(var(--mib-header-h) + 46px)}}
@media (max-width:760px){
  :root{--mib-header-h:64px}
  .mib-container{width:min(calc(100% - 28px),var(--mib-container))}
  .mib-header-inner{min-height:64px;gap:8px}
  .mib-brand-mark{width:32px;height:36px}
  .mib-brand-name{font-size:18px}
  .mib-brand-tag{font-size:8.5px;max-width:160px}
  .mib-header-actions{border-left:0;padding-left:0}
  .mib-header-actions .mib-search-trigger{display:none}
  .mib-icon-btn{width:38px;height:38px}
  .mib-hero-inner{padding:38px 0 28px}
  .mib-eyebrow{font-size:10.5px}
  .mib-hero h1{font-size:40px;letter-spacing:-1.4px}
  .mib-hero-subtitle{font-size:20px;max-width:340px}
  .mib-hero-copy{font-size:12.5px;max-width:360px}
  .mib-search-shell{margin-top:20px}
  .mib-search-icon{width:44px;flex-basis:44px}
  .mib-search-form input[type="search"]{height:52px;font-size:13px}
  .mib-search-submit{height:52px;min-width:54px}
  .mib-stat-row{grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--mib-line);border-radius:12px;box-shadow:var(--mib-shadow-sm);margin-top:18px}
  .mib-stat{padding:10px 4px;gap:4px;flex-direction:column;border-right:1px solid var(--mib-line);min-height:72px}
  .mib-stat:nth-child(4){border-right:0}
  .mib-stat:nth-child(5){display:none}
  .mib-stat-icon{width:20px;height:20px}
  .mib-stat-value,.mib-stat-label{text-align:center}
  .mib-stat-value{font-size:11px}
  .mib-stat-label{font-size:9px}
  .mib-entity-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
  .mib-entity-card{min-height:108px;padding:15px}
  .mib-entity-icon{width:40px;height:40px;margin-bottom:7px}
  .mib-entity-sub{display:none}
  .mib-section{padding:28px 0}
  .mib-section-head{align-items:center}
  .mib-section-head h2{font-size:18px}
  .mib-section-head p{display:none}
  .mib-explore-strip{display:block;border-radius:12px}
  .mib-explore-label{padding:15px;border-bottom:1px solid #d9e5ee}
  .mib-explore-item,.mib-explore-item:nth-of-type(even){border:0;border-bottom:1px solid #d9e5ee;padding:13px 14px;background:#fff}
  .mib-explore-item:last-child{border-bottom:0}
  .mib-insight-grid{grid-template-columns:1fr;gap:10px}
  .mib-insight-card{min-height:135px}
  .mib-sparkline{height:22px;margin-top:10px}
  .mib-footer-main{grid-template-columns:1fr 1fr;gap:28px;padding-top:34px}
  .mib-footer-main>div:first-child{grid-column:1/-1}
  .mib-footer-main>div:last-child{grid-column:auto}
  .mib-footer-bottom{display:block}
  .mib-footer-bottom>div+div{margin-top:7px}
  td,.mib-table td{white-space:nowrap}
}
@media (max-width:480px){
  .mib-brand-tag{display:none}
  .mib-footer-main{grid-template-columns:1fr}
  .mib-footer-main>div:first-child,.mib-footer-main>div:last-child{grid-column:auto}
  .mib-page{padding-top:24px}
}

/* WordPress menu dropdowns */
.mib-primary-nav li{position:relative}
.mib-primary-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;padding:8px;background:var(--mib-navy-950);border:1px solid rgba(255,255,255,.1);border-radius:10px;box-shadow:0 16px 36px rgba(0,0,0,.18)}
.mib-primary-nav li:hover>.sub-menu,.mib-primary-nav li:focus-within>.sub-menu{display:block}
.mib-primary-nav .sub-menu li{display:block}
.mib-primary-nav .sub-menu a{display:block;padding:9px 10px}
.mib-brand-mark img{display:block;max-height:42px;width:auto}


/* ========================================================================
   Healthcare Green v1.1.0
   ===================================================================== */
.mib-hg-hero{background:linear-gradient(135deg,#073b32 0%,#0a4b47 54%,#0d5560 100%);border-bottom:0;color:#fff}
.mib-hg-hero:before{width:520px;height:520px;left:auto;right:-180px;top:-250px;border:1px solid rgba(74,222,128,.22);box-shadow:0 0 0 52px rgba(74,222,128,.045),0 0 0 105px rgba(255,255,255,.03)}
.mib-hg-hero:after{width:340px;height:340px;left:-170px;right:auto;top:120px;border:1px solid rgba(255,255,255,.10);box-shadow:0 0 0 44px rgba(255,255,255,.025),0 0 0 88px rgba(74,222,128,.03)}
.mib-hg-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);gap:44px;align-items:center;padding:58px 0 76px}
.mib-hg-hero-copy{text-align:left}
.mib-hg-hero .mib-eyebrow{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#bff8d5}
.mib-hg-hero .mib-eyebrow-dot{background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.13)}
.mib-hg-hero h1{margin:16px 0 0;color:#fff;font-size:clamp(42px,5.2vw,66px);line-height:1.02;letter-spacing:-2.3px}
.mib-hg-hero h1 span{color:#67e8a0}
.mib-hg-hero .mib-hero-copy{margin:16px 0 0;max-width:700px;color:#d7ebe5;font-size:15px}
.mib-hg-hero .mib-search-shell{margin:25px 0 0;max-width:760px}
.mib-hg-hero .mib-search-help{color:#b9d7cf}
.mib-hg-hero .mib-search-form{border-color:rgba(255,255,255,.16);box-shadow:0 18px 48px rgba(0,25,20,.24)}
.mib-hg-hero-visual{position:relative;min-height:330px;display:grid;place-items:center}
.mib-hg-cross{position:relative;z-index:3;width:116px;height:116px;border-radius:32px;display:grid;place-items:center;background:linear-gradient(145deg,#4ade80,#2dd4bf);color:#073b32;font-size:86px;line-height:1;font-weight:400;box-shadow:0 28px 70px rgba(0,0,0,.24),0 0 0 12px rgba(255,255,255,.035)}
.mib-hg-orbit{position:absolute;border:1px solid rgba(144,255,187,.22);border-radius:50%}
.mib-hg-orbit--1{width:250px;height:250px}.mib-hg-orbit--2{width:330px;height:330px;border-style:dashed;opacity:.65}
.mib-hg-data-node{position:absolute;width:12px;height:12px;border-radius:50%;background:#67e8a0;box-shadow:0 0 0 7px rgba(103,232,160,.09),0 0 24px rgba(103,232,160,.55)}
.mib-hg-data-node--1{top:48px;left:72px}.mib-hg-data-node--2{right:48px;top:130px}.mib-hg-data-node--3{bottom:42px;left:120px}
.mib-hg-data-bars{position:absolute;right:8px;bottom:14px;height:82px;display:flex;gap:8px;align-items:end;opacity:.42}
.mib-hg-data-bars i{display:block;width:13px;border-radius:4px 4px 0 0;background:#67e8a0}.mib-hg-data-bars i:nth-child(1){height:26px}.mib-hg-data-bars i:nth-child(2){height:42px}.mib-hg-data-bars i:nth-child(3){height:38px}.mib-hg-data-bars i:nth-child(4){height:64px}.mib-hg-data-bars i:nth-child(5){height:80px}
.mib-hg-stat-row{position:relative;z-index:4;max-width:none;margin:-30px auto 0;background:#fff;border:1px solid rgba(217,233,226,.95);border-radius:18px;box-shadow:0 18px 40px rgba(5,48,39,.12);overflow:hidden}
.mib-hg-stat-row .mib-stat{min-height:76px}
.mib-hg-stat-row .mib-stat-icon{width:40px;height:40px;border-radius:50%;background:#e9f8ef;color:#138a72}
.mib-hg-stat-row .mib-stat:nth-child(2) .mib-stat-icon,.mib-hg-stat-row .mib-stat:nth-child(4) .mib-stat-icon{color:#138a72}
.mib-hg-stat-row .mib-stat-value{font-size:17px;color:#123b32}
.mib-hg-stat-row .mib-stat-label{color:#60756f}
.mib-hg-categories{padding-top:54px}
.mib-hg-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.mib-hg-category-card{min-height:160px;padding:20px 17px;background:#fff;border:1px solid var(--mib-line);border-radius:15px;color:var(--mib-ink);box-shadow:0 4px 15px rgba(5,48,39,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.mib-hg-category-card:hover{transform:translateY(-3px);border-color:#a9d8c5;box-shadow:0 14px 30px rgba(5,48,39,.08);color:var(--mib-ink)}
.mib-hg-category-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#eaf8f1;color:#138a72;margin-bottom:16px}
.mib-hg-category-card strong{display:block;color:#123b32;font-size:14px}
.mib-hg-category-card>span:last-child{display:block;margin-top:6px;color:#6b7e79;font-size:11.5px;line-height:1.45}
.mib-hg-company-section{padding-top:18px}
.mib-company-logo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.mib-company-logo-card{position:relative;min-height:142px;padding:17px 12px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid var(--mib-line);border-radius:15px;color:var(--mib-ink);box-shadow:0 3px 13px rgba(5,48,39,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.mib-company-logo-card:hover{transform:translateY(-3px);border-color:#9fd2bd;box-shadow:0 14px 30px rgba(5,48,39,.075);color:var(--mib-ink)}
.mib-company-logo-media{width:100%;height:58px;display:flex;align-items:center;justify-content:center;margin-bottom:9px}
.mib-company-logo-media img{display:block;max-width:132px;max-height:50px;object-fit:contain;filter:saturate(.92)}
.mib-company-monogram{width:54px;height:54px;border-radius:15px;background:linear-gradient(145deg,#123b32,#138a72);color:#fff;display:grid;place-items:center;font-size:18px;font-weight:820;letter-spacing:.02em}
.mib-company-logo-name{max-width:100%;font-size:12px;font-weight:760;text-align:center;line-height:1.25;color:#183b34;overflow:hidden;text-overflow:ellipsis}
.mib-company-logo-open{margin-top:6px;font-size:10.5px;font-weight:720;color:#138a72;opacity:.84}
.mib-company-logo-note{margin:11px 0 0;color:#7b8d88;font-size:10.5px;text-align:center}
.mib-hg-intelligence-section .mib-insight-card{border-color:#dce9e4}
.mib-hg-intelligence-section .mib-mini-icon{background:#eaf8f1;color:#138a72}
.mib-hg-intelligence-section .mib-insight-card:nth-child(n) .mib-sparkline{color:#138a72}
.mib-hg-trust-section{padding-top:10px}
.mib-hg-trust-band{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d8e8e1;border-radius:16px;background:linear-gradient(135deg,#f7fcf9,#eef8f3);overflow:hidden}
.mib-hg-trust-band>div{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;padding:20px;border-right:1px solid #dce9e4}
.mib-hg-trust-band>div:last-child{border-right:0}
.mib-hg-trust-icon{grid-row:1/3;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#dff5e8;color:#138a72}
.mib-hg-trust-band strong{font-size:12.5px;color:#123b32}.mib-hg-trust-band small{margin-top:2px;color:#6d817b;font-size:10.5px;line-height:1.35}
.mib-footer{background:linear-gradient(135deg,#062f28,#0a3e3e)}
.mib-link-arrow,.mib-insight-link,a{color:#138a72}.mib-link-arrow:hover,.mib-insight-link:hover,a:hover{color:#0f766e}
.mib-badge{background:#e7f7ee;color:#0f766e}.mib-badge--blue,.mib-badge--purple{background:#e7f7ee;color:#0f766e}
.mib-btn,.mib-button,.entry-content .button,.wp-element-button{background:#138a72}.mib-btn:hover,.mib-button:hover,.entry-content .button:hover,.wp-element-button:hover{background:#0f766e}
.page-numbers.current,.page-numbers:hover{background:#138a72;border-color:#138a72}

@media (max-width:1100px){
  .mib-hg-category-grid,.mib-company-logo-grid{grid-template-columns:repeat(3,1fr)}
  .mib-hg-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}
}
@media (max-width:820px){
  .mib-hg-hero-grid{grid-template-columns:1fr;padding:42px 0 62px}.mib-hg-hero-copy{text-align:center}.mib-hg-hero .mib-hero-copy{margin-left:auto;margin-right:auto}.mib-hg-hero .mib-search-shell{margin-left:auto;margin-right:auto}.mib-hg-hero-visual{display:none}
  .mib-hg-stat-row{grid-template-columns:repeat(2,1fr);margin-top:-24px}.mib-hg-stat-row .mib-stat{border-right:1px solid var(--mib-line);border-bottom:1px solid var(--mib-line)}.mib-hg-stat-row .mib-stat:nth-child(even){border-right:0}.mib-hg-stat-row .mib-stat:last-child{grid-column:1/-1;border-bottom:0;border-right:0}
  .mib-hg-trust-band{grid-template-columns:1fr 1fr}.mib-hg-trust-band>div:nth-child(2){border-right:0}.mib-hg-trust-band>div:nth-child(-n+2){border-bottom:1px solid #dce9e4}
}
@media (max-width:620px){
  .mib-hg-hero h1{font-size:40px;letter-spacing:-1.5px}.mib-hg-hero .mib-hero-copy{font-size:13px}.mib-hg-categories{padding-top:44px}
  .mib-hg-category-grid,.mib-company-logo-grid{grid-template-columns:repeat(2,1fr)}.mib-hg-category-card{min-height:145px;padding:16px 14px}
  .mib-company-logo-card{min-height:130px}.mib-company-logo-media img{max-width:108px;max-height:44px}
  .mib-hg-trust-band{grid-template-columns:1fr}.mib-hg-trust-band>div{border-right:0;border-bottom:1px solid #dce9e4}.mib-hg-trust-band>div:last-child{border-bottom:0}
}


/* ========================================================================
   MedInfoBase Core v0.5.5 — Healthcare Green skin
   Preserves Core intelligence/data, changes presentation only.
   ===================================================================== */
.mib-intelligence-home-template{background:linear-gradient(180deg,#f3fbf7 0,#f8fcfa 42%,#f3f8f6 100%);padding:26px 0 54px}
.mib-intelligence-home-shell{width:min(calc(100% - 40px),1180px);margin:0 auto}
.mib-home-intelligence{--home-ink:#123b32!important;--home-muted:#667d76!important;--home-teal:#138a72!important;--home-line:#dce9e4!important;gap:18px!important}
.mib-home-hero{position:relative;overflow:hidden;grid-template-columns:minmax(0,1.48fr) minmax(310px,.72fr)!important;gap:26px!important;padding:38px!important;border:0!important;border-radius:26px!important;background:radial-gradient(circle at 78% 14%,rgba(74,222,128,.16),transparent 28%),radial-gradient(circle at 100% 100%,rgba(45,212,191,.12),transparent 32%),linear-gradient(135deg,#073b32 0%,#0a4b47 56%,#0d5560 100%)!important;box-shadow:0 24px 60px rgba(5,48,39,.16)!important}
.mib-home-hero:before{content:"";position:absolute;right:-95px;top:-130px;width:390px;height:390px;border-radius:50%;border:1px solid rgba(126,255,171,.15);box-shadow:0 0 0 42px rgba(126,255,171,.025),0 0 0 85px rgba(255,255,255,.025);pointer-events:none}
.mib-home-hero-copy,.mib-home-live-panel{position:relative;z-index:2}
.mib-home-hero .mib-kicker{display:inline-flex;padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.07);color:#bff8d5!important;font-size:.67rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.mib-home-hero h1{max-width:780px!important;margin:13px 0 13px!important;color:#fff!important;font-size:clamp(2.35rem,4.6vw,4.45rem)!important;line-height:1.01!important;letter-spacing:-.05em!important}
.mib-home-hero-copy>p{max-width:760px!important;margin-bottom:20px!important;color:#d5ebe4!important;font-size:.98rem!important}
.mib-home-hero .mib-search-shell{padding:10px!important;border-color:rgba(255,255,255,.16)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 18px 42px rgba(2,35,31,.24)!important}
.mib-home-hero .mib-search-row{grid-template-columns:minmax(0,1fr) 170px auto!important;gap:8px!important}
.mib-home-hero .mib-search-row input,.mib-home-hero .mib-search-row select{min-height:48px!important;border-color:#d6e7df!important;background:#fff!important}
.mib-home-hero .mib-search-row .mib-btn{min-height:48px!important;border-radius:11px!important;background:linear-gradient(135deg,#34d399,#4ade80)!important;color:#073b32!important;font-weight:850!important;box-shadow:none!important}
.mib-home-hero .mib-search-hint{color:#6f827d!important}
.mib-home-shortcuts{gap:7px!important}.mib-home-shortcuts a{border-color:rgba(255,255,255,.15)!important;background:rgba(255,255,255,.08)!important;color:#dcf6e8!important}.mib-home-shortcuts a:hover{border-color:rgba(103,232,160,.42)!important;background:rgba(255,255,255,.13)!important;color:#fff!important}
.mib-home-live-panel{padding:22px!important;border:1px solid rgba(167,243,208,.20)!important;border-radius:20px!important;background:rgba(3,45,39,.58)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 16px 42px rgba(0,27,23,.16)!important;backdrop-filter:blur(8px)}
.mib-home-live-panel .mib-eyebrow{color:#82efae!important}.mib-home-live-panel>strong{color:#fff!important;font-size:1.15rem!important}.mib-home-live-grid>div{border-color:rgba(255,255,255,.10)!important;background:rgba(255,255,255,.055)!important}.mib-home-live-grid b{color:#72f0a6!important}.mib-home-live-grid span{color:#cae2db!important}.mib-home-live-panel>small{color:#b5d3cb!important}
.mib-home-section{padding:22px!important;border-color:#dce9e4!important;border-radius:19px!important;background:#fff!important;box-shadow:0 5px 18px rgba(5,48,39,.035)}
.mib-home-section-head h2{color:#123b32!important}.mib-home-section .mib-eyebrow{color:#138a72!important}.mib-home-head-link{color:#138a72!important}.mib-home-method-note{color:#738780!important}
.mib-home-pulse{background:linear-gradient(180deg,#fff,#f8fcfa)!important}.mib-home-pulse-card{border-color:#e0ece7!important;background:#fbfefc!important}.mib-home-pulse-card>strong{color:#123b32!important}.mib-home-pulse-highlight{border-color:#b8e0cc!important;background:#effaf4!important}.mib-home-pulse-highlight>strong{color:#138a72!important}
.mib-home-price-card{border-color:#dce9e4!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#fbfefc)!important;color:#173b34!important}.mib-home-price-card:hover{border-color:#9ed4bd!important;box-shadow:0 12px 28px rgba(5,48,39,.075)!important}.mib-home-price-title strong{color:#123b32!important}.mib-home-price-values>div{background:#f1f8f4!important}.mib-home-price-values>div:first-child b{color:#138a72!important}
.mib-home-company-section{background:linear-gradient(180deg,#fff,#f8fcfa)!important}
.mib-home-company-grid{gap:12px!important}
.mib-home-company-card{grid-template-columns:78px minmax(0,1fr)!important;gap:13px!important;padding:16px!important;border-color:#dce9e4!important;border-radius:16px!important;background:#fff!important;color:#173b34!important;box-shadow:0 3px 14px rgba(5,48,39,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.mib-home-company-card:hover{transform:translateY(-3px);border-color:#9bd0b9!important;background:#fff!important;box-shadow:0 14px 30px rgba(5,48,39,.075)!important}
.mib-home-company-mark{width:78px!important;height:58px!important;border:1px solid #dce9e4!important;border-radius:13px!important;background:#eff9f3!important;color:#138a72!important;font-size:.84rem!important}
.mib-home-company-mark.has-company-logo{padding:7px;background:#fff!important}
.mib-home-company-mark.has-company-logo img{display:block;max-width:64px;max-height:44px;width:auto;height:auto;object-fit:contain}
.mib-home-company-card>div>strong{color:#123b32!important;font-size:.79rem!important;line-height:1.35}.mib-home-company-card>div>small{color:#7a8d86!important}.mib-home-company-card dl>div{background:#f3f9f6!important}.mib-home-company-card dt{color:#748880!important}.mib-home-company-card dd{color:#173b34!important}
.mib-home-activity-row{color:#173b34!important}.mib-home-activity-row:hover{background:#f8fcfa!important}.mib-home-activity-badge.is-change{background:#e6f7ed!important;color:#137253!important}.mib-home-activity-name strong,.mib-home-activity-price>strong{color:#173b34!important}
.mib-home-therapy-grid>a{border-color:#dce9e4!important;background:#fbfefc!important;color:#173b34!important}.mib-home-therapy-grid>a:hover{border-color:#9ed4bd!important;background:#f6fcf8!important}.mib-home-therapy-dot{background:#138a72!important}.mib-home-therapy-share{background:#e7f7ee!important;color:#138a72!important}
.mib-home-chart-section{background:linear-gradient(180deg,#f8fcfa,#fff)!important}
.mib-home-explore-grid>a{border-color:#dce9e4!important;color:#173b34!important}.mib-home-explore-grid>a:hover{border-color:#9ed4bd!important;background:#f8fcfa!important}.mib-home-explore-grid>a>span{background:#e7f7ee!important;color:#138a72!important}
.mib-home-pharma-cta{border-radius:20px!important;background:linear-gradient(135deg,#073b32,#0b4b48)!important;box-shadow:0 16px 36px rgba(5,48,39,.12)}.mib-home-pharma-cta .mib-eyebrow{color:#74e6a1!important}.mib-home-cta-actions .mib-btn{border-color:#65e59a!important;background:#e8fff0!important;color:#0b5e4b!important}
.mib-home-trust{background:#f8fcfa!important}.mib-home-trust-grid>div{border-color:#dce9e4!important}.mib-home-policy-links a{color:#2b6659!important}

/* Company logos in the Companies directory are injected from Core logo_url. */
.mib-directory-card[href*="/company/"]{position:relative;min-height:104px;padding:15px!important;border-color:#dce9e4!important;background:#fff!important}
.mib-directory-card[href*="/company/"].has-company-logo{display:grid;grid-template-columns:70px minmax(0,1fr);grid-template-rows:auto auto;column-gap:13px;align-items:center}
.mib-hg-directory-logo{grid-row:1/3;width:70px;height:58px;padding:6px;border:1px solid #e0ebe6;border-radius:12px;background:#fff;display:grid;place-items:center}
.mib-hg-directory-logo img{display:block;max-width:58px;max-height:44px;width:auto;height:auto;object-fit:contain}
.mib-directory-card[href*="/company/"].has-company-logo strong{align-self:end}.mib-directory-card[href*="/company/"].has-company-logo span:not(.mib-hg-directory-logo){align-self:start}

/* Core company profile logo and green intelligence shell */
.mib-company-hero{border-color:#d8e8e1!important;background:linear-gradient(135deg,#fff 0%,#f8fcfa 65%,#edf8f2 100%)!important;box-shadow:0 12px 32px rgba(5,48,39,.055)!important}
.mib-company-logo-box{flex-basis:104px!important;width:104px!important;height:82px!important;border-color:#dce9e4!important;border-radius:16px!important;background:#fff!important}.mib-company-logo-box img{max-width:92px!important;max-height:66px!important}.mib-company-logo-fallback{color:#138a72!important}
.mib-company-titlecopy h1,.mib-company-intelligence-page h2{color:#123b32!important}.mib-company-source-line .mib-data-badge,.mib-company-site-link,.mib-company-intelligence-page .mib-eyebrow{color:#138a72!important}.mib-company-claim-card{border-color:#cfe5da!important;background:#eff9f3!important}.mib-company-kpi-icon{background:#e7f7ee!important;color:#138a72!important}

@media(max-width:1050px){
  .mib-home-hero{grid-template-columns:1fr!important}.mib-home-live-panel{max-width:none!important}.mib-home-company-card{grid-template-columns:72px minmax(0,1fr)!important}.mib-home-company-mark{width:72px!important}
}
@media(max-width:760px){
  .mib-intelligence-home-template{padding:14px 0 40px}.mib-intelligence-home-shell{width:min(calc(100% - 24px),1180px)}
  .mib-home-hero{padding:22px!important;border-radius:20px!important}.mib-home-hero h1{font-size:clamp(2.05rem,10vw,3.25rem)!important}.mib-home-hero-copy>p{font-size:.9rem!important}.mib-home-hero .mib-search-row{grid-template-columns:1fr!important}.mib-home-live-panel{padding:17px!important}
  .mib-home-company-grid{grid-template-columns:1fr 1fr!important}.mib-home-company-card{grid-template-columns:62px minmax(0,1fr)!important;padding:13px!important}.mib-home-company-mark{width:62px!important;height:54px!important}.mib-home-company-mark.has-company-logo img{max-width:52px;max-height:40px}
}
@media(max-width:520px){
  .mib-home-company-grid{grid-template-columns:1fr!important}.mib-home-company-card{grid-template-columns:72px minmax(0,1fr)!important}.mib-home-company-mark{width:72px!important}
  .mib-directory-card[href*="/company/"].has-company-logo{grid-template-columns:60px minmax(0,1fr)}.mib-hg-directory-logo{width:60px;height:52px}.mib-hg-directory-logo img{max-width:50px;max-height:38px}
}

/* ========================================================================
   Healthcare Green v1.2.0 — reference-matched homepage
   ===================================================================== */
body.mib-healthcare-green{background:#f5faf7}
.mib-hg-home{padding:34px 0 18px;background:linear-gradient(180deg,#f3faf6 0,#fff 43%,#f7faf8 100%)}
.mib-hg-home-shell{width:min(calc(100% - 48px),1680px);margin:0 auto}

.mib-hg-mock-hero{position:relative;min-height:430px;padding:44px 48px 72px;overflow:hidden;border-radius:26px;background:linear-gradient(105deg,#063b31 0%,#06473d 53%,#0c5556 100%);box-shadow:0 22px 52px rgba(5,48,39,.13);color:#fff}
.mib-hg-mock-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 68% 45%,rgba(74,222,128,.08),transparent 26%),linear-gradient(90deg,rgba(2,49,40,.28),transparent 55%);pointer-events:none}
.mib-hg-hero-art{position:absolute;z-index:0;right:-1.5%;top:0;width:min(49%,760px);height:100%;object-fit:cover;object-position:center;opacity:.72;mix-blend-mode:screen;filter:saturate(.82) contrast(1.03)}
.mib-hg-mock-copy{position:relative;z-index:2;width:min(58%,860px)}
.mib-hg-kicker{display:inline-flex;align-items:center;min-height:28px;padding:5px 12px;border:1px solid rgba(170,245,204,.27);border-radius:999px;background:rgba(255,255,255,.065);color:#bdf5d1;font-size:11px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}
.mib-hg-mock-hero h1{max-width:720px;margin:16px 0 8px;color:#fff;font-size:clamp(42px,3.2vw,58px);line-height:1.03;letter-spacing:-.035em;font-weight:820}
.mib-hg-title-rule{display:block;width:44px;height:3px;margin:14px 0 14px;border-radius:99px;background:#4ade80}
.mib-hg-mock-hero p{max-width:700px;margin:0 0 18px;color:#d3e8e0;font-size:14px;line-height:1.55}
.mib-hg-search-wrap{max-width:760px}
.mib-hg-search-wrap .mib-search-shell{margin:0;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none}
.mib-hg-search-wrap .mib-search-row{grid-template-columns:112px minmax(0,1fr) auto;gap:0;display:grid;background:#fff;border:1px solid rgba(255,255,255,.28);border-radius:10px;overflow:hidden}
.mib-hg-search-wrap .mib-search-row input{order:2;min-height:48px;border:0!important;border-radius:0!important;padding:0 15px!important;box-shadow:none!important;background:#fff!important;font-size:13px}
.mib-hg-search-wrap .mib-search-row select{order:1;min-height:48px;border:0!important;border-right:1px solid #e0ebe6!important;border-radius:0!important;padding:0 12px!important;box-shadow:none!important;background:#fff!important;font-size:12px}
.mib-hg-search-wrap .mib-search-row .mib-btn{order:3;min-height:48px;padding:0 24px;border:0;border-radius:0;background:#4ade80;color:#063b31;font-size:12px;font-weight:850}
.mib-hg-search-wrap .mib-search-row .mib-btn:hover{background:#72e79b;color:#063b31}
.mib-hg-search-wrap .mib-search-hint{display:none}
.mib-hg-search-wrap .mib-search-results{left:0;right:0;top:53px;text-align:left}
.mib-hg-popular{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px;color:#d4e6df;font-size:10px}
.mib-hg-popular>span{font-weight:760}
.mib-hg-popular a{padding:4px 9px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.07);color:#edf9f3;font-size:9px}
.mib-hg-popular a:hover{background:rgba(74,222,128,.18);color:#fff}

.mib-hg-overlap-stats{position:relative;z-index:5;width:calc(100% - 56px);margin:-42px auto 0;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid #e0ebe6;border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(5,48,39,.1)}
.mib-hg-statbox{display:flex;align-items:center;gap:15px;min-height:96px;padding:16px 24px;border-right:1px solid #e7efeb;color:#17332f}
.mib-hg-statbox:last-child{border-right:0}
.mib-hg-statbox:hover{background:#fbfefc;color:#17332f}
.mib-hg-statcircle{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border-radius:50%;background:#16876f;color:#fff}
.mib-hg-statcircle.is-navy{background:#0f4c5c}.mib-hg-statcircle.is-mint{background:#43b77a}.mib-hg-statcircle.is-deep{background:#123d52}
.mib-hg-statbox b{display:block;color:#133a34;font-size:21px;line-height:1;font-weight:850;letter-spacing:-.02em}
.mib-hg-statbox strong{display:block;margin-top:5px;color:#17332f;font-size:12px;line-height:1.1}
.mib-hg-statbox small{display:block;margin-top:4px;color:#7b8c87;font-size:9.5px;line-height:1.2}

.mib-hg-block,.mib-hg-company-strip,.mib-hg-dashboard-row,.mib-hg-recent-block{margin-top:28px}
.mib-hg-sectionline{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}
.mib-hg-sectionline h2{margin:0;color:#17332f;font-size:18px;line-height:1.2;letter-spacing:-.02em}
.mib-hg-sectionline p{margin:4px 0 0;color:#758680;font-size:11px}
.mib-hg-sectionline>a,.mib-hg-sectionline>span{color:#137a66;font-size:10px;font-weight:760;white-space:nowrap}

.mib-hg-six-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.mib-hg-browse-card{position:relative;min-height:126px;padding:18px 16px;border:1px solid #e0e9e5;border-radius:12px;background:#fff;color:#17332f;box-shadow:0 4px 14px rgba(5,48,39,.035);transition:.18s ease}
.mib-hg-browse-card:hover{transform:translateY(-2px);border-color:#a9d4c2;box-shadow:0 12px 25px rgba(5,48,39,.07);color:#17332f}
.mib-hg-browse-card>span{width:36px;height:36px;display:grid;place-items:center;margin-bottom:12px;color:#138a72}
.mib-hg-browse-card strong{display:block;font-size:12px;line-height:1.15}
.mib-hg-browse-card small{display:block;margin-top:6px;color:#778985;font-size:9.5px;line-height:1.35}
.mib-hg-browse-card:after{content:"→";position:absolute;right:13px;bottom:10px;color:#20a17f;font-size:13px}

.mib-hg-company-strip{padding:18px;border:1px solid #e0eae6;border-radius:16px;background:#fbfefc}
.mib-hg-company-strip .mib-hg-sectionline{margin-bottom:14px}
.mib-hg-logo-row{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.mib-hg-logo-tile{min-height:106px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e2ebe7;border-radius:12px;background:#fff;color:#17332f;text-align:center;box-shadow:0 2px 8px rgba(5,48,39,.025)}
.mib-hg-logo-tile:hover{border-color:#a8d3c1;box-shadow:0 10px 22px rgba(5,48,39,.06);color:#17332f}
.mib-hg-logo-media{height:44px;display:flex;align-items:center;justify-content:center;margin-bottom:7px}
.mib-hg-logo-media img{max-width:118px;max-height:40px;object-fit:contain}
.mib-hg-logo-monogram{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#123b32,#138a72);color:#fff;font-size:14px;font-weight:850}
.mib-hg-logo-tile strong{max-width:100%;font-size:10.5px;line-height:1.2}
.mib-hg-logo-tile small{margin-top:3px;color:#7a8d87;font-size:8.5px}

.mib-hg-dashboard-row{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}
.mib-hg-explore-panel,.mib-hg-snapshot-panel{min-width:0}
.mib-hg-explore-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.mib-hg-explore-cards>a{position:relative;min-height:150px;padding:18px 14px;overflow:hidden;border-radius:10px;color:#fff;box-shadow:0 8px 20px rgba(5,48,39,.08)}
.mib-hg-explore-cards>a:hover{transform:translateY(-2px);color:#fff}
.mib-hg-explore-cards .is-green{background:linear-gradient(145deg,#07533e,#08705a)}
.mib-hg-explore-cards .is-blue{background:linear-gradient(145deg,#0c5365,#0d6a76)}
.mib-hg-explore-cards .is-mint{background:linear-gradient(145deg,#17aa72,#2bc786)}
.mib-hg-explore-cards .is-navy{background:linear-gradient(145deg,#123d52,#154c65)}
.mib-hg-explore-cards strong{display:block;font-size:12px;line-height:1.2}
.mib-hg-explore-cards small{display:block;margin-top:8px;max-width:100px;color:rgba(255,255,255,.78);font-size:8.5px;line-height:1.35}
.mib-hg-explore-cards>a>span{position:absolute;right:12px;bottom:10px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);color:#0b6654}

.mib-hg-snapshot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.mib-hg-snapshot-grid>a{min-height:150px;padding:16px 14px;border:1px solid #e1e9e5;border-radius:10px;background:#fff;color:#17332f;box-shadow:0 4px 14px rgba(5,48,39,.035)}
.mib-hg-snapshot-grid>a:hover{border-color:#abd4c3;color:#17332f}
.mib-hg-snap-icon{width:32px;height:32px;display:grid;place-items:center;margin-bottom:12px;border-radius:50%;background:#eaf7f0;color:#138a72}
.mib-hg-snap-icon.is-star{font-size:18px;color:#44b56f}
.mib-hg-snapshot-grid small{display:block;color:#758780;font-size:8.5px;line-height:1.2}
.mib-hg-snapshot-grid b{display:block;margin-top:7px;color:#17332f;font-size:13px;line-height:1.25}
.mib-hg-snapshot-grid em{display:block;margin-top:7px;color:#198b67;font-size:8.5px;font-style:normal;font-weight:750}

.mib-hg-recent-block{margin-bottom:24px}
.mib-hg-recent-table-wrap{overflow:hidden;border:1px solid #dfe8e4;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(5,48,39,.03)}
.mib-hg-recent-table{width:100%;min-width:740px;border-collapse:collapse}
.mib-hg-recent-table th{padding:10px 13px;background:#f8fbf9;color:#61756f;font-size:9px;text-transform:none;letter-spacing:0}
.mib-hg-recent-table td{padding:10px 13px;color:#536963;font-size:10px;vertical-align:middle}
.mib-hg-recent-table tbody tr:hover td{background:#fbfefc}
.mib-hg-recent-table td strong{color:#17332f;font-size:10.5px}
.mib-hg-type-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e9f7ef;color:#14775d;font-size:8px;font-weight:800;white-space:nowrap}.mib-hg-type-pill.is-change{background:#e8f4fb;color:#236c8e}
.mib-hg-updated-date{color:#758680!important;font-weight:600!important}
.mib-hg-empty-row{text-align:center;padding:24px!important;color:#7a8b86!important}
.mib-hg-identification-note{margin:8px 0 0;color:#83938e;font-size:9.5px;text-align:center}

/* Make the global header match the compact reference and use the wide canvas. */
.mib-header-inner{min-height:64px;gap:18px}
.mib-brand{min-width:230px}
.mib-brand-name{font-size:20px}.mib-brand-tag{font-size:9.5px}
.mib-primary-nav a{padding:9px 11px;font-size:12px}
.mib-site-header .mib-container{width:min(calc(100% - 48px),1680px)}

@media (max-width:1200px){
  .mib-hg-home-shell{width:min(calc(100% - 36px),1680px)}
  .mib-hg-mock-copy{width:64%}.mib-hg-hero-art{width:52%;right:-5%}
  .mib-hg-six-grid{grid-template-columns:repeat(3,1fr)}
  .mib-hg-logo-row{grid-template-columns:repeat(3,1fr)}
  .mib-hg-dashboard-row{grid-template-columns:1fr}
}
@media (max-width:900px){
  .mib-hg-home{padding-top:18px}
  .mib-hg-mock-hero{min-height:auto;padding:34px 30px 70px}
  .mib-hg-mock-copy{width:72%}.mib-hg-hero-art{width:58%;right:-12%;opacity:.55}
  .mib-hg-mock-hero h1{font-size:42px}
  .mib-hg-overlap-stats{width:calc(100% - 32px);grid-template-columns:1fr 1fr}
  .mib-hg-statbox:nth-child(2){border-right:0}.mib-hg-statbox:nth-child(-n+2){border-bottom:1px solid #e7efeb}
  .mib-hg-explore-cards,.mib-hg-snapshot-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
  .mib-hg-home-shell{width:min(calc(100% - 20px),1680px)}
  .mib-hg-mock-hero{padding:28px 20px 62px;border-radius:18px}
  .mib-hg-mock-copy{width:100%}.mib-hg-hero-art{width:88%;right:-36%;opacity:.30}
  .mib-hg-kicker{font-size:9px}.mib-hg-mock-hero h1{max-width:430px;font-size:34px;line-height:1.06}.mib-hg-mock-hero p{max-width:430px;font-size:12px}
  .mib-hg-search-wrap .mib-search-row{grid-template-columns:1fr}.mib-hg-search-wrap .mib-search-row select,.mib-hg-search-wrap .mib-search-row input,.mib-hg-search-wrap .mib-search-row .mib-btn{order:initial;border:0!important;border-bottom:1px solid #e6eeea!important;border-radius:0!important}.mib-hg-search-wrap .mib-search-row .mib-btn{border-bottom:0!important}
  .mib-hg-popular{display:none}
  .mib-hg-overlap-stats{margin-top:-34px;grid-template-columns:1fr 1fr;border-radius:14px}.mib-hg-statbox{min-height:82px;padding:12px;gap:9px}.mib-hg-statcircle{width:40px;height:40px;flex-basis:40px}.mib-hg-statbox b{font-size:16px}.mib-hg-statbox strong{font-size:10px}.mib-hg-statbox small{display:none}
  .mib-hg-block,.mib-hg-company-strip,.mib-hg-dashboard-row,.mib-hg-recent-block{margin-top:22px}
  .mib-hg-six-grid{grid-template-columns:repeat(2,1fr);gap:8px}.mib-hg-browse-card{min-height:112px;padding:14px 12px}
  .mib-hg-logo-row{display:flex;overflow-x:auto;gap:8px;padding-bottom:5px;scroll-snap-type:x mandatory}.mib-hg-logo-tile{flex:0 0 142px;scroll-snap-align:start}
  .mib-hg-sectionline{align-items:center}.mib-hg-sectionline h2{font-size:16px}.mib-hg-sectionline p{display:none}.mib-hg-sectionline>a,.mib-hg-sectionline>span{font-size:9px}
  .mib-hg-explore-cards>a,.mib-hg-snapshot-grid>a{min-height:130px}
  .mib-hg-recent-table-wrap{overflow-x:auto}
  .mib-site-header .mib-container{width:min(calc(100% - 20px),1680px)}
}
@media (max-width:420px){
  .mib-hg-overlap-stats{width:calc(100% - 16px)}
  .mib-hg-statbox{padding:10px 8px}.mib-hg-statcircle{width:34px;height:34px;flex-basis:34px}.mib-hg-statcircle svg{width:20px;height:20px}
  .mib-hg-six-grid{grid-template-columns:1fr 1fr}.mib-hg-browse-card strong{font-size:11px}.mib-hg-browse-card small{font-size:8.5px}
  .mib-hg-explore-cards,.mib-hg-snapshot-grid{grid-template-columns:1fr 1fr}
}

/* ========================================================================
   THEME 5 — MEDINFOBASE PALETTE 1.4.0
   User-selected palette sampled directly from the supplied reference:
   Navy #1C2230 · Teal #207975 · Seafoam #71AF96 · Cream #DFDCA7 · Red #D24033
   ===================================================================== */
:root{
  --mib-navy-950:#1C2230;
  --mib-navy-900:#243040;
  --mib-navy-800:#334252;
  --mib-blue:#207975;
  --mib-blue-600:#176864;
  --mib-teal:#207975;
  --mib-teal-600:#176864;
  --mib-purple:#71AF96;
  --mib-orange:#B89A49;
  --mib-green:#71AF96;
  --mib-red:#D24033;
  --mib-ink:#182638;
  --mib-muted:#667783;
  --mib-soft:#91A19F;
  --mib-line:#E3E9E6;
  --mib-line-2:#EFF3F1;
  --mib-bg:#F7FAF8;
  --mib-surface:#FFFFFF;
  --mib-surface-2:#EFF6F3;
  --mib-p5-navy:#1C2230;
  --mib-p5-teal:#207975;
  --mib-p5-mint:#71AF96;
  --mib-p5-cream:#DFDCA7;
  --mib-p5-red:#D24033;
  --mib-p5-light:#F7FAF8;
  --mib-radius:10px;
  --mib-radius-sm:8px;
  --mib-shadow:0 12px 28px rgba(28,34,48,.08);
  --mib-shadow-sm:0 3px 14px rgba(28,34,48,.055);
  --mib-container:1440px;
  --mib-header-h:64px;
}

body.mib-theme5-palette{background:#fff;color:var(--mib-ink)}
body.mib-theme5-palette a{transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
body.mib-theme5-palette ::selection{background:var(--mib-p5-cream);color:var(--mib-p5-navy)}

/* Header — exact visual direction from approved mockup */
body.mib-theme5-palette .mib-site-header{background:var(--mib-p5-navy);border-bottom:0;box-shadow:none;backdrop-filter:none}
body.mib-theme5-palette .mib-header-inner{min-height:64px;width:min(calc(100% - 56px),1440px);gap:24px}
body.mib-theme5-palette .mib-brand{min-width:300px;gap:10px}
body.mib-theme5-palette .mib-brand-mark{width:39px;height:44px}
body.mib-theme5-palette .mib-brand-name{font-size:25px;font-weight:800;letter-spacing:-.7px}
body.mib-theme5-palette .mib-brand-name span{color:var(--mib-p5-mint)}
body.mib-theme5-palette .mib-brand-tag{font-size:10px;color:#E0E9E7;margin-top:3px}
body.mib-theme5-palette .mib-primary-nav a{padding:10px 15px;color:#fff;font-size:13px;font-weight:750;border-radius:6px}
body.mib-theme5-palette .mib-primary-nav a:hover,body.mib-theme5-palette .mib-primary-nav .current-menu-item>a{background:rgba(113,175,150,.14);color:#fff}
body.mib-theme5-palette .mib-header-actions{border-left:1px solid rgba(255,255,255,.18);padding-left:14px}
body.mib-theme5-palette .mib-icon-btn{width:38px;height:38px;border-radius:6px}
body.mib-theme5-palette .mib-mobile-panel{background:#252E3D}

/* Home page shell */
.mib-p5-home{background:#fff;min-height:70vh;overflow-x:clip}
.mib-p5-shell{width:min(calc(100% - 56px),1440px);margin-inline:auto}
.mib-p5-content{position:relative;z-index:1;padding:0 0 18px}

/* Hero */
.mib-p5-hero{position:relative;z-index:3;overflow:visible;background:
  radial-gradient(circle at 79% 20%,rgba(113,175,150,.12),transparent 26%),
  linear-gradient(90deg,#F7FBF9 0%,#F4FAF7 45%,#F7FAF8 100%);border-bottom:1px solid #EDF1EF}
.mib-p5-hero-grid{position:relative;min-height:390px;display:grid;grid-template-columns:minmax(470px,42%) 1fr;align-items:start;padding:32px 0 46px}
.mib-p5-hero-copy{position:relative;z-index:4;max-width:610px;padding-top:8px}
.mib-p5-kicker{display:inline-flex;align-items:center;min-height:25px;padding:4px 12px;border-radius:999px;background:#E5F2ED;color:#176864;font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.mib-p5-hero h1{margin:15px 0 8px;color:var(--mib-p5-navy);font-size:clamp(38px,3.2vw,52px);line-height:.99;letter-spacing:-2.15px;font-weight:820}
.mib-p5-hero h1 span{color:var(--mib-p5-teal)}
.mib-p5-hero-copy>p{max-width:560px;margin:0 0 12px;color:#455A69;font-size:13px;line-height:1.5}
.mib-p5-hero-visual{position:absolute;z-index:1;right:-5px;top:10px;width:58%;height:300px;pointer-events:none;overflow:hidden}
.mib-p5-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center bottom;mix-blend-mode:multiply;opacity:.96}
.mib-p5-hero:after{content:"";position:absolute;z-index:2;left:0;right:0;bottom:0;height:62px;background:linear-gradient(180deg,rgba(247,250,248,0),#F7FAF8 86%);pointer-events:none}

/* Core live search restyled to match the mockup */
.mib-p5-search-wrap{position:relative;z-index:1000;max-width:625px;margin-top:13px}
.mib-p5-search-wrap .mib-search-shell{position:relative;z-index:1000;max-width:none;margin:0;overflow:visible}
.mib-p5-search-wrap .mib-search-row{display:grid;grid-template-columns:88px minmax(0,1fr) 110px;min-height:42px;background:#fff;border:1px solid #DDE6E2;border-radius:8px;box-shadow:0 8px 18px rgba(28,34,48,.05);overflow:hidden}
.mib-p5-search-wrap .mib-search-row select{grid-column:1;grid-row:1;border:0!important;border-right:1px solid #E3EAE6!important;border-radius:0!important;min-height:42px!important;padding:0 12px!important;background:#fff;color:var(--mib-p5-navy);font-size:12px;font-weight:700;box-shadow:none!important}
.mib-p5-search-wrap .mib-search-row input[type="search"]{grid-column:2;grid-row:1;border:0!important;border-radius:0!important;min-height:42px!important;padding:0 15px!important;background:#fff;font-size:12.5px;box-shadow:none!important;outline:0}
.mib-p5-search-wrap .mib-search-row .mib-btn{grid-column:3;grid-row:1;min-height:42px;border:0;border-radius:0;background:var(--mib-p5-teal);color:#fff;font-size:12px;font-weight:800}
.mib-p5-search-wrap .mib-search-row .mib-btn:hover{background:#176864}
.mib-p5-search-wrap .mib-search-hint{margin:7px 0 0;color:#6A7A84;font-size:10.5px}
.mib-p5-search-wrap .mib-search-results{position:absolute;left:0;right:0;top:49px;z-index:1100;max-height:360px;background:#fff;border:1px solid #DDE5E2;border-radius:8px;box-shadow:0 16px 30px rgba(28,34,48,.16);overflow-x:hidden;overflow-y:auto}
.mib-p5-search-wrap .mib-search-results:empty{display:none}

/* Floating stat card */
.mib-p5-live-card{position:absolute;z-index:6;right:36px;bottom:48px;width:min(760px,51%);display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #E2E7E5;border-radius:10px;box-shadow:0 12px 28px rgba(28,34,48,.09);overflow:hidden}
.mib-p5-live-item{display:flex;align-items:center;gap:12px;min-height:88px;padding:15px 17px;color:var(--mib-p5-navy);border-right:1px solid #EEF1EF}
.mib-p5-live-item:last-child{border-right:0}
.mib-p5-live-item:hover{background:#FAFCFB;color:var(--mib-p5-navy)}
.mib-p5-live-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:var(--mib-p5-navy)}
.mib-p5-live-item.is-teal .mib-p5-live-icon{background:var(--mib-p5-teal)}
.mib-p5-live-item.is-mint .mib-p5-live-icon{background:var(--mib-p5-mint);color:#18362F}
.mib-p5-live-item.is-cream .mib-p5-live-icon{background:var(--mib-p5-cream);color:#574F28}
.mib-p5-live-item span:last-child{display:flex;flex-direction:column;min-width:0;line-height:1.1}
.mib-p5-live-item b{font-size:18px;font-weight:850;color:var(--mib-p5-navy)}
.mib-p5-live-item strong{font-size:10.5px;margin-top:5px;font-weight:800;color:#253647}
.mib-p5-live-item small{font-size:9.5px;color:#7A898F;margin-top:3px}
.mib-p5-observation{position:absolute;z-index:6;right:44px;bottom:13px;display:flex;align-items:center;gap:5px;color:#52616A;font-size:9.5px}
.mib-p5-observation strong{font-weight:700;color:#40515B}

/* Reusable page sections */
.mib-p5-section{padding:15px 0 0}
.mib-p5-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 8px}
.mib-p5-section-head h2{margin:0;color:var(--mib-p5-navy);font-size:14px;font-weight:820;letter-spacing:-.25px}
.mib-p5-section-head a{font-size:10px;font-weight:800;color:#176864;white-space:nowrap}
.mib-p5-section-head a:hover{color:var(--mib-p5-red)}

/* Browse categories */
.mib-p5-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.mib-p5-category-card{display:flex;align-items:center;gap:13px;min-height:78px;padding:13px 15px;background:#fff;border:1px solid #E4E9E7;border-radius:9px;color:var(--mib-p5-navy);box-shadow:0 4px 12px rgba(28,34,48,.045)}
.mib-p5-category-card:hover{transform:translateY(-2px);border-color:#D3DEDA;box-shadow:0 10px 22px rgba(28,34,48,.075);color:var(--mib-p5-navy)}
.mib-p5-category-icon{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--mib-p5-navy);color:#fff}
.mib-p5-category-card.c2 .mib-p5-category-icon{background:var(--mib-p5-teal)}
.mib-p5-category-card.c3 .mib-p5-category-icon,.mib-p5-category-card.c4 .mib-p5-category-icon{background:var(--mib-p5-mint);color:#204339}
.mib-p5-category-card.c5 .mib-p5-category-icon{background:var(--mib-p5-cream);color:#5C5428}
.mib-p5-category-card.c6 .mib-p5-category-icon{background:var(--mib-p5-red);color:#fff}
.mib-p5-category-card>span:last-child{display:flex;flex-direction:column;line-height:1.18;min-width:0}
.mib-p5-category-card strong{font-size:11px;font-weight:820}
.mib-p5-category-card small{margin-top:4px;color:#6F7E86;font-size:9.5px}

/* Company + Explore panels */
.mib-p5-middle-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:12px;margin-top:13px}
.mib-p5-lower-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:12px;margin-top:12px}
.mib-p5-panel{background:#fff;border:1px solid #E3E9E6;border-radius:9px;padding:10px 11px;box-shadow:0 3px 12px rgba(28,34,48,.04);min-width:0}
.mib-p5-company-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.mib-p5-company-card{min-width:0;color:var(--mib-p5-navy)}
.mib-p5-company-logo{height:55px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #E5EAE8;border-radius:7px;padding:7px;overflow:hidden}
.mib-p5-company-logo img{max-width:100%;max-height:38px;object-fit:contain;filter:none}
.mib-p5-company-monogram{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#E6F1ED;color:#176864;font-size:13px;font-weight:850}
.mib-p5-company-card>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;padding:0 3px;font-size:9.2px;font-weight:720;color:#354551;text-align:left}
.mib-p5-company-card:hover .mib-p5-company-logo{border-color:#BFD7CE;box-shadow:0 5px 12px rgba(32,121,117,.08)}

.mib-p5-explore-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.mib-p5-explore-grid>a{position:relative;overflow:hidden;min-height:102px;padding:14px 13px;border-radius:8px;color:#fff;display:flex;flex-direction:column}
.mib-p5-explore-grid>a:after{content:"";position:absolute;right:-25px;bottom:-35px;width:95px;height:95px;border-radius:50%;border:1px solid rgba(255,255,255,.11)}
.mib-p5-explore-grid .x1{background:linear-gradient(145deg,#1C2230,#233D4B)}
.mib-p5-explore-grid .x2{background:linear-gradient(145deg,#207975,#2B8F89)}
.mib-p5-explore-grid .x3{background:linear-gradient(145deg,#71AF96,#8AC6AF);color:#17372F}
.mib-p5-explore-grid .x4{background:linear-gradient(145deg,#DFDCA7,#E9E2AE);color:#393620}
.mib-p5-explore-grid strong{font-size:12px;line-height:1.05;font-weight:820}
.mib-p5-explore-grid small{margin-top:8px;font-size:8.7px;line-height:1.25;opacity:.86}
.mib-p5-explore-grid span{margin-top:auto;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#24423B;font-size:13px;font-weight:800}
.mib-p5-explore-grid>a:hover{transform:translateY(-2px);color:inherit}

/* Snapshot */
.mib-p5-snapshot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.mib-p5-snapshot-grid>a{min-width:0;display:grid;grid-template-columns:31px 1fr;grid-template-rows:auto auto auto;column-gap:8px;padding:7px 8px;color:var(--mib-p5-navy);border-right:1px solid #EEF1EF}
.mib-p5-snapshot-grid>a:last-child{border-right:0}
.mib-p5-snapshot-grid .si{grid-row:1/4;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#EEF3F1;color:var(--mib-p5-navy);font-size:12px}
.mib-p5-snapshot-grid .s2{background:#E4F1EC;color:#176864}
.mib-p5-snapshot-grid .s3{background:#F4F0D7;color:#766A27}
.mib-p5-snapshot-grid .s4{background:#FAE6E3;color:var(--mib-p5-red)}
.mib-p5-snapshot-grid small{font-size:8.7px;font-weight:750;color:#445762;line-height:1.15;white-space:normal}
.mib-p5-snapshot-grid b{display:block;margin-top:4px;font-size:14px;line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mib-p5-snapshot-grid em{margin-top:3px;font-size:8.3px;font-style:normal;color:#718087;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Recent updates */
.mib-p5-recent-wrap{overflow-x:auto}
.mib-p5-recent-table{width:100%;border-collapse:collapse;background:#fff}
.mib-p5-recent-table th{padding:5px 7px;background:#fff;border-bottom:1px solid #DDE5E1;color:#42535E;font-size:8.5px;font-weight:800}
.mib-p5-recent-table td{padding:6px 7px;border-bottom:1px solid #EEF1EF;color:#45545D;font-size:9px;vertical-align:middle}
.mib-p5-recent-table tr:last-child td{border-bottom:0}
.mib-p5-recent-table tbody tr:hover td{background:#FAFCFB}
.mib-p5-recent-table td:nth-child(2){min-width:150px}
.mib-p5-recent-table td:nth-child(2) a{color:#263846;font-weight:650}
.mib-p5-type{display:inline-flex;align-items:center;justify-content:center;min-width:47px;padding:3px 7px;border-radius:999px;background:var(--mib-p5-navy);color:#fff;font-size:7.7px;font-weight:800;line-height:1}
.mib-p5-type.is-red{background:var(--mib-p5-red)}
.mib-p5-row-arrow{width:20px;height:20px;border:1px solid #D6DFDB;border-radius:50%;display:grid;place-items:center;color:#5B6C74;font-weight:800}
.mib-p5-empty{text-align:center;color:#839096!important;padding:16px!important}
.mib-p5-identification-note{margin:9px 2px 0;color:#82908F;font-size:8.7px;line-height:1.4}

/* Footer — matches approved multi-colour composition */
.mib-p5-footer{margin-top:0;background:var(--mib-p5-navy);color:#fff}
.mib-p5-footer-grid{display:grid;grid-template-columns:1.28fr .85fr .84fr .84fr 1.45fr .78fr;width:100%;min-height:100px}
.mib-p5-footer-grid>div{padding:20px 22px}
.mib-p5-footer-brand{background:#132638}
.mib-p5-footer-brand .mib-brand{min-width:0}
.mib-p5-footer-brand .mib-brand-name{font-size:19px}
.mib-p5-footer-brand .mib-brand-tag{font-size:8px}
.mib-p5-footer-brand p{margin:7px 0 0;color:#D1DBDD;font-size:9px}
.mib-p5-footer-col{display:flex;flex-direction:column;background:#173647}
.mib-p5-footer-col.teal{background:#184D58}
.mib-p5-footer-col.mint{background:#28776F}
.mib-p5-footer-col h3,.mib-p5-footer-subscribe h3,.mib-p5-footer-social h3{margin:0 0 7px;color:inherit;font-size:10px;font-weight:820;text-transform:none;letter-spacing:0}
.mib-p5-footer-col a{margin:2px 0;color:#fff;font-size:8.8px;line-height:1.25}
.mib-p5-footer-col a:hover{text-decoration:underline;color:#fff}
.mib-p5-footer-subscribe{background:linear-gradient(135deg,#F0E9BF,#DFDCA7);color:#2E332B}
.mib-p5-footer-subscribe p{margin:0 0 9px;color:#525844;font-size:8.8px}
.mib-p5-footer-subscribe form{display:grid;grid-template-columns:1fr 84px;min-height:30px;border-radius:5px;overflow:hidden;background:#fff}
.mib-p5-footer-subscribe input{min-height:30px!important;height:30px;border:0!important;border-radius:0!important;padding:0 9px!important;font-size:8.5px!important;box-shadow:none!important}
.mib-p5-footer-subscribe button{border:0;background:var(--mib-p5-red);color:#fff;font-size:8px;font-weight:800}
.mib-p5-footer-social{background:linear-gradient(135deg,#C92E28,#D24033);color:#fff}
.mib-p5-social-icons{display:flex;gap:7px;margin-top:13px}
.mib-p5-social-icons span{width:27px;height:27px;border:1px solid rgba(255,255,255,.8);border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:800}
.mib-p5-footer-bottom{min-height:28px;padding:7px 36px;display:flex;align-items:center;justify-content:center;gap:140px;background:#142332;color:#E1E7E8;font-size:8px}
.mib-p5-footer-bottom>span:last-child{display:flex;align-items:center;gap:9px}
.mib-p5-footer-bottom a{color:#E1E7E8}
.mib-p5-footer-bottom i{width:1px;height:10px;background:rgba(255,255,255,.4)}

/* Global/Core pages receive the same selected palette */
body.mib-theme5-palette .mib-page-card,body.mib-theme5-palette .mib-card,body.mib-theme5-palette .mib-panel,body.mib-theme5-palette .mib-result-card,body.mib-theme5-palette .mib-company-card,body.mib-theme5-palette .mib-generic-card,body.mib-theme5-palette .mib-brand-card{border-color:#E0E7E3;border-radius:9px}
body.mib-theme5-palette .mib-btn,body.mib-theme5-palette .mib-button,body.mib-theme5-palette .entry-content .button,body.mib-theme5-palette .wp-element-button{background:var(--mib-p5-teal);border-radius:7px}
body.mib-theme5-palette .mib-btn:hover,body.mib-theme5-palette .mib-button:hover,body.mib-theme5-palette .entry-content .button:hover,body.mib-theme5-palette .wp-element-button:hover{background:#176864}
body.mib-theme5-palette .mib-page-title,body.mib-theme5-palette .entry-title,body.mib-theme5-palette .mib-entity-header h1{color:var(--mib-p5-navy)}
body.mib-theme5-palette .mib-entity-kicker,body.mib-theme5-palette .mib-link-arrow{color:var(--mib-p5-teal)}
body.mib-theme5-palette .mib-badge{background:#E6F2ED;color:#176864}
body.mib-theme5-palette .mib-badge--orange{background:#F2EDCD;color:#756A31}
body.mib-theme5-palette .mib-badge--red{background:#FBE8E6;color:var(--mib-p5-red)}
body.mib-theme5-palette table th,body.mib-theme5-palette .mib-table th{background:#F5F7F6;color:#4E5D65}
body.mib-theme5-palette tbody tr:hover td{background:#FAFCFB}
body.mib-theme5-palette [class^="mib-"] input:focus,body.mib-theme5-palette [class^="mib-"] select:focus,body.mib-theme5-palette [class^="mib-"] textarea:focus{border-color:#71AF96;box-shadow:0 0 0 3px rgba(113,175,150,.14)}

/* Tablets */
@media (max-width:1200px){
  body.mib-theme5-palette .mib-header-inner,.mib-p5-shell{width:min(calc(100% - 40px),1440px)}
  .mib-p5-hero-grid{grid-template-columns:46% 54%;min-height:395px}
  .mib-p5-hero h1{font-size:42px}
  .mib-p5-live-card{right:0;width:54%}
  .mib-p5-category-grid{grid-template-columns:repeat(3,1fr)}
  .mib-p5-company-grid{grid-template-columns:repeat(4,1fr)}
  .mib-p5-middle-grid,.mib-p5-lower-grid{grid-template-columns:1fr}
  .mib-p5-footer-grid{grid-template-columns:1.2fr repeat(3,1fr)}
  .mib-p5-footer-subscribe{grid-column:1/4}
  .mib-p5-footer-social{grid-column:4}
}

/* Mobile */
@media (max-width:820px){
  :root{--mib-header-h:60px}
  body.mib-theme5-palette .mib-header-inner{width:calc(100% - 28px);min-height:60px}
  body.mib-theme5-palette .mib-brand{min-width:0}
  body.mib-theme5-palette .mib-brand-name{font-size:20px}
  body.mib-theme5-palette .mib-brand-tag{font-size:8px;max-width:185px}
  body.mib-theme5-palette .mib-primary-nav{display:none}
  body.mib-theme5-palette .mib-menu-toggle{display:grid}
  body.mib-theme5-palette .mib-header-actions{margin-left:auto}
  .mib-p5-shell{width:calc(100% - 24px)}
  .mib-p5-hero-grid{display:block;min-height:auto;padding:24px 0 18px}
  .mib-p5-hero-copy{max-width:none;padding:0}
  .mib-p5-kicker{font-size:9px;min-height:22px;padding:3px 9px}
  .mib-p5-hero h1{font-size:34px;line-height:1.02;letter-spacing:-1.4px;margin-top:11px}
  .mib-p5-hero-copy>p{font-size:12px;max-width:95%}
  .mib-p5-hero-visual{position:relative;right:auto;top:auto;width:100%;height:150px;margin-top:-4px;opacity:.8}
  .mib-p5-hero-visual img{object-position:center bottom}
  .mib-p5-search-wrap{margin-top:12px}
  .mib-p5-search-wrap .mib-search-row{grid-template-columns:80px 1fr;grid-template-rows:42px 42px}
  .mib-p5-search-wrap .mib-search-row select{grid-column:1;grid-row:1}
  .mib-p5-search-wrap .mib-search-row input[type="search"]{grid-column:2;grid-row:1}
  .mib-p5-search-wrap .mib-search-row .mib-btn{grid-column:1/3;grid-row:2;border-top:1px solid #E3EAE6}
  .mib-p5-live-card{position:relative;right:auto;bottom:auto;width:100%;grid-template-columns:repeat(2,1fr);margin-top:8px}
  .mib-p5-live-item{min-height:70px;padding:10px;border-bottom:1px solid #EEF1EF}
  .mib-p5-live-item:nth-child(2){border-right:0}
  .mib-p5-live-item:nth-child(3),.mib-p5-live-item:nth-child(4){border-bottom:0}
  .mib-p5-live-icon{width:34px;height:34px}
  .mib-p5-live-item b{font-size:15px}
  .mib-p5-live-item strong{font-size:9.5px}
  .mib-p5-live-item small{font-size:8.5px}
  .mib-p5-observation{position:relative;right:auto;bottom:auto;justify-content:center;margin-top:8px;font-size:8.5px}
  .mib-p5-content{padding-bottom:8px}
  .mib-p5-section{padding-top:13px}
  .mib-p5-category-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .mib-p5-category-card{min-height:68px;padding:10px;gap:10px}
  .mib-p5-category-icon{width:36px;height:36px}
  .mib-p5-category-card strong{font-size:10px}
  .mib-p5-category-card small{font-size:8.5px}
  .mib-p5-middle-grid,.mib-p5-lower-grid{grid-template-columns:1fr;gap:9px;margin-top:9px}
  .mib-p5-company-grid{grid-template-columns:repeat(4,1fr)}
  .mib-p5-company-logo{height:50px}
  .mib-p5-company-card>strong{font-size:8px}
  .mib-p5-explore-grid{grid-template-columns:repeat(2,1fr)}
  .mib-p5-explore-grid>a{min-height:98px}
  .mib-p5-snapshot-grid{grid-template-columns:repeat(2,1fr)}
  .mib-p5-snapshot-grid>a{border-right:0;border-bottom:1px solid #EEF1EF;padding:8px}
  .mib-p5-snapshot-grid>a:nth-child(3),.mib-p5-snapshot-grid>a:nth-child(4){border-bottom:0}
  .mib-p5-recent-table th:nth-child(3),.mib-p5-recent-table td:nth-child(3){display:none}
  .mib-p5-footer-grid{grid-template-columns:1fr 1fr}
  .mib-p5-footer-brand{grid-column:1/3}
  .mib-p5-footer-subscribe{grid-column:1/3}
  .mib-p5-footer-social{grid-column:1/3}
  .mib-p5-footer-grid>div{padding:16px}
  .mib-p5-footer-bottom{padding:9px 14px;gap:7px;flex-direction:column;text-align:center}
}

@media (max-width:480px){
  .mib-p5-hero h1{font-size:30px}
  .mib-p5-category-grid{grid-template-columns:1fr 1fr}
  .mib-p5-company-grid{grid-template-columns:repeat(2,1fr)}
  .mib-p5-footer-col{min-height:130px}
}


/* ========================================================================
   Theme 5 Palette v1.4.0 — clarity & hierarchy refinement
   ===================================================================== */
body.mib-theme5-palette{
  font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#263746;
}
body.mib-theme5-palette h1,
body.mib-theme5-palette h2,
body.mib-theme5-palette h3,
body.mib-theme5-palette .mib-brand-name,
body.mib-theme5-palette .mib-p5-category-card strong,
body.mib-theme5-palette .mib-p5-explore-grid strong,
body.mib-theme5-palette .mib-p5-live-item b,
body.mib-theme5-palette .mib-p5-live-item strong{
  font-family:"Manrope","Inter",ui-sans-serif,system-ui,sans-serif;
}

/* More controlled desktop canvas: spacious, but no stretched dashboard effect. */
body.mib-theme5-palette .mib-header-inner,
.mib-p5-shell{
  width:min(calc(100% - 56px),1440px);
}
.mib-p5-content{padding:8px 0 28px}

/* Stronger, easier-to-scan section hierarchy. */
.mib-p5-section{padding:26px 0 0}
.mib-p5-section-head{margin:0 0 14px;gap:20px;align-items:center}
.mib-p5-section-head h2{
  font-family:"Manrope","Inter",sans-serif;
  font-size:19px;
  line-height:1.2;
  letter-spacing:-.45px;
  font-weight:800;
}
.mib-p5-section-head a{font-size:12px;font-weight:700}

/* Browse category cards: larger type, fewer visual micro-details. */
.mib-p5-category-grid{gap:14px}
.mib-p5-category-card{
  min-height:94px;
  gap:14px;
  padding:17px 18px;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(28,34,48,.035);
}
.mib-p5-category-icon{width:46px;height:46px}
.mib-p5-category-card strong{font-size:14px;line-height:1.25;font-weight:800}
.mib-p5-category-card small{margin-top:5px;font-size:11.25px;line-height:1.35;color:#71808A}

/* Main homepage module rows: clearer separation and breathing room. */
.mib-p5-middle-grid{
  grid-template-columns:1.08fr .92fr;
  gap:18px;
  margin-top:24px;
}
.mib-p5-lower-grid{
  grid-template-columns:.94fr 1.06fr;
  gap:18px;
  margin-top:18px;
}
.mib-p5-panel{
  padding:18px 20px 20px;
  border-radius:12px;
  border-color:#E1E7E4;
  box-shadow:0 5px 18px rgba(28,34,48,.035);
}

/* Company navigation: six readable profiles instead of eight cramped tiles. */
.mib-p5-company-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.mib-p5-company-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:0;
  border-radius:10px;
}
.mib-p5-company-logo{
  height:72px;
  padding:10px;
  border-radius:10px;
  background:#FBFCFC;
}
.mib-p5-company-logo img{max-height:48px;max-width:132px}
.mib-p5-company-monogram{
  width:46px;
  height:46px;
  border-radius:12px;
  font-size:15px;
}
.mib-p5-company-card>strong{
  margin-top:8px;
  padding:0 2px;
  font-size:11.5px;
  line-height:1.3;
  font-weight:650;
  color:#344654;
  text-align:center;
}

/* Explore cards: retain palette identity, but make copy calm and readable. */
.mib-p5-explore-grid{gap:12px}
.mib-p5-explore-grid>a{
  min-height:132px;
  padding:18px 16px 15px;
  border-radius:11px;
}
.mib-p5-explore-grid strong{font-size:14px;line-height:1.12;font-weight:800;letter-spacing:-.15px}
.mib-p5-explore-grid small{margin-top:9px;font-size:10.5px;line-height:1.4;opacity:.9}
.mib-p5-explore-grid span{width:27px;height:27px;font-size:14px}

/* Intelligence Snapshot: four distinct, readable mini-cards. */
.mib-p5-snapshot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mib-p5-snapshot-grid>a{
  display:block;
  min-height:132px;
  padding:15px 14px;
  border:1px solid #E7ECEA;
  border-radius:10px;
  background:#FBFCFC;
  color:var(--mib-p5-navy);
  box-shadow:0 2px 8px rgba(28,34,48,.025);
}
.mib-p5-snapshot-grid>a:hover{border-color:#C9DBD5;background:#fff;transform:translateY(-1px)}
.mib-p5-snapshot-grid .si{
  width:38px;
  height:38px;
  margin-bottom:12px;
  border-radius:11px;
}
.mib-p5-snapshot-grid small{
  display:block;
  font-size:11px;
  line-height:1.3;
  font-weight:700;
  color:#596A75;
}
.mib-p5-snapshot-grid b{
  display:block;
  margin-top:7px;
  font-family:"Manrope","Inter",sans-serif;
  font-size:19px;
  line-height:1.18;
  font-weight:800;
  color:#1C2B39;
  white-space:normal;
  overflow:visible;
}
.mib-p5-snapshot-grid em{
  display:block;
  margin-top:6px;
  font-size:10px;
  line-height:1.3;
  color:#7A8991;
  white-space:normal;
}

/* Recent updates: still compact, but no 8–9px dashboard text. */
.mib-p5-recent-table th{
  padding:10px 11px;
  background:#F6F8F7;
  font-size:10.5px;
  letter-spacing:.01em;
}
.mib-p5-recent-table td{
  padding:10px 11px;
  font-size:11.5px;
  line-height:1.35;
}
.mib-p5-recent-table td:nth-child(2){min-width:175px}
.mib-p5-recent-table td:nth-child(2) a{font-size:11.75px;font-weight:700;color:#263846}
.mib-p5-type{min-width:54px;padding:5px 9px;font-size:9px}
.mib-p5-row-arrow{width:26px;height:26px}
.mib-p5-identification-note{margin:14px 2px 0;font-size:10px;line-height:1.5}

/* Make the rest of the selected theme use the same crisp type hierarchy. */
body.mib-theme5-palette .mib-page-title,
body.mib-theme5-palette .entry-title,
body.mib-theme5-palette .mib-entity-header h1{font-family:"Manrope","Inter",sans-serif;font-weight:800}
body.mib-theme5-palette .mib-btn,
body.mib-theme5-palette .mib-button,
body.mib-theme5-palette button{font-weight:700}

/* Footer was also too tiny in v1.3. */
.mib-p5-footer-col h3,.mib-p5-footer-subscribe h3,.mib-p5-footer-social h3{font-size:11.5px}
.mib-p5-footer-col a{font-size:10px;line-height:1.35}
.mib-p5-footer-brand p,.mib-p5-footer-subscribe p{font-size:10px;line-height:1.4}
.mib-p5-footer-bottom{font-size:9.5px}

@media (max-width:1200px){
  body.mib-theme5-palette .mib-header-inner,.mib-p5-shell{width:min(calc(100% - 40px),1440px)}
  .mib-p5-middle-grid,.mib-p5-lower-grid{grid-template-columns:1fr}
  .mib-p5-company-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .mib-p5-explore-grid>a{min-height:118px}
}
@media (max-width:900px){
  .mib-p5-company-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mib-p5-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  .mib-p5-section{padding-top:20px}
  .mib-p5-section-head h2{font-size:17px}
  .mib-p5-section-head a{font-size:10.5px}
  .mib-p5-panel{padding:15px}
  .mib-p5-company-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  .mib-p5-company-logo{height:62px}
  .mib-p5-company-card>strong{font-size:10px}
  .mib-p5-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mib-p5-explore-grid>a{min-height:118px}
  .mib-p5-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mib-p5-recent-table th{font-size:9.5px}
  .mib-p5-recent-table td{font-size:10.5px}
}
@media (max-width:480px){
  .mib-p5-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mib-p5-snapshot-grid{grid-template-columns:1fr 1fr}
  .mib-p5-snapshot-grid>a{min-height:120px;padding:13px}
  .mib-p5-snapshot-grid b{font-size:16px}
}


/* ========================================================================
   v1.5 — Premium dosage-form selector (theme-only; Core remains untouched)
   Core supplies: form label, icon, product count, active state and filter URL.
   Theme supplies: layout, colors, typography, descriptions and responsive UI.
   ======================================================================== */
body.mib-theme5-palette .mib-form-availability{
  margin:28px 0 8px!important;
  padding:22px!important;
  border:1px solid #dfe7e5!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfc 100%)!important;
  box-shadow:0 8px 28px rgba(28,34,48,.045)!important;
}
body.mib-theme5-palette .mib-form-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-bottom:16px!important;
}
body.mib-theme5-palette .mib-form-head .mib-eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  min-height:27px!important;
  padding:4px 11px!important;
  border:1px solid #d9e7e3!important;
  border-radius:999px!important;
  background:#f7fbfa!important;
  color:#207975!important;
  font:800 11px/1 "Inter",sans-serif!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
body.mib-theme5-palette .mib-form-head h2{
  margin:7px 0 0!important;
  color:#172536!important;
  font:800 22px/1.15 "Manrope","Inter",sans-serif!important;
  letter-spacing:-.025em!important;
}
body.mib-theme5-palette .mib-form-head>small{
  padding-bottom:3px!important;
  color:#74838d!important;
  font:500 12px/1.35 "Inter",sans-serif!important;
}
body.mib-theme5-palette .mib-form-chips{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
body.mib-theme5-palette .mib-form-chip{
  --mib-df-bg:#1C2230;
  --mib-df-text:#ffffff;
  --mib-df-muted:#d9e1ea;
  --mib-df-accent:#71AF96;
  position:relative!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) 38px!important;
  grid-template-rows:auto auto 1fr!important;
  column-gap:14px!important;
  row-gap:3px!important;
  min-width:0!important;
  min-height:154px!important;
  padding:18px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:17px!important;
  background:var(--mib-df-bg)!important;
  color:var(--mib-df-text)!important;
  box-shadow:0 8px 22px rgba(28,34,48,.10)!important;
  text-decoration:none!important;
  transform:none!important;
  isolation:isolate!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body.mib-theme5-palette .mib-form-chip::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:155px;
  height:155px;
  right:-55px;
  bottom:-78px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  box-shadow:0 0 0 22px rgba(255,255,255,.025),0 0 0 44px rgba(255,255,255,.018);
}
body.mib-theme5-palette .mib-form-chip:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(255,255,255,.36)!important;
  box-shadow:0 15px 32px rgba(28,34,48,.16)!important;
  color:var(--mib-df-text)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active{
  border-color:#38a99c!important;
  box-shadow:0 0 0 2px rgba(32,121,117,.18),0 14px 30px rgba(28,34,48,.15)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active::before{
  content:"✓";
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  color:#207975;
  font:800 13px/1 "Inter",sans-serif;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
}
body.mib-theme5-palette .mib-form-chip-icon{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  width:54px!important;
  height:54px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.10)!important;
  color:var(--mib-df-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
body.mib-theme5-palette .mib-form-chip-icon svg{
  width:26px!important;
  height:26px!important;
  stroke-width:1.75!important;
}
body.mib-theme5-palette .mib-form-chip-copy{
  grid-column:2!important;
  grid-row:1 / span 3!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-self:start!important;
}
body.mib-theme5-palette .mib-form-chip-copy strong{
  display:block!important;
  margin-top:1px!important;
  color:var(--mib-df-text)!important;
  font:800 18px/1.12 "Manrope","Inter",sans-serif!important;
  letter-spacing:-.025em!important;
}
body.mib-theme5-palette .mib-form-chip-copy small{
  order:3!important;
  display:block!important;
  margin-top:10px!important;
  color:var(--mib-df-accent)!important;
  font:750 13px/1.2 "Inter",sans-serif!important;
  white-space:normal!important;
}
body.mib-theme5-palette .mib-form-chip-desc{
  order:2;
  display:block;
  min-height:35px;
  margin-top:7px;
  color:var(--mib-df-muted);
  font:500 11px/1.42 "Inter",sans-serif;
}
body.mib-theme5-palette .mib-form-chip-arrow{
  grid-column:3;
  grid-row:3;
  align-self:end;
  justify-self:end;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#172536;
  font:700 18px/1 "Inter",sans-serif;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* Semantic palette. The layout remains consistent no matter how many forms Core returns. */
body.mib-theme5-palette .mib-form-tablet{--mib-df-bg:linear-gradient(135deg,#172232 0%,#21394a 100%);--mib-df-text:#fff;--mib-df-muted:#d5e1e9;--mib-df-accent:#79c8bf}
body.mib-theme5-palette .mib-form-capsule{--mib-df-bg:linear-gradient(135deg,#dedaa2 0%,#eee9bb 100%);--mib-df-text:#253341;--mib-df-muted:#59625d;--mib-df-accent:#8b8122}
body.mib-theme5-palette .mib-form-suspension,
body.mib-theme5-palette .mib-form-syrup,
body.mib-theme5-palette .mib-form-solution,
body.mib-theme5-palette .mib-form-emulsion{--mib-df-bg:linear-gradient(135deg,#16726f 0%,#27948c 100%);--mib-df-text:#fff;--mib-df-muted:#e1f4f1;--mib-df-accent:#8ce0c6}
body.mib-theme5-palette .mib-form-injection,
body.mib-theme5-palette .mib-form-infusion,
body.mib-theme5-palette .mib-form-vaccine{--mib-df-bg:linear-gradient(135deg,#b9332b 0%,#d64e40 100%);--mib-df-text:#fff;--mib-df-muted:#ffe8e5;--mib-df-accent:#ffd0ca}
body.mib-theme5-palette .mib-form-cream,
body.mib-theme5-palette .mib-form-ointment,
body.mib-theme5-palette .mib-form-gel,
body.mib-theme5-palette .mib-form-lotion,
body.mib-theme5-palette .mib-form-shampoo,
body.mib-theme5-palette .mib-form-mouthwash{--mib-df-bg:linear-gradient(135deg,#69a991 0%,#8bc6ad 100%);--mib-df-text:#17362f;--mib-df-muted:#315a4e;--mib-df-accent:#184d40}
body.mib-theme5-palette .mib-form-drops,
body.mib-theme5-palette .mib-form-inhalation,
body.mib-theme5-palette .mib-form-spray{--mib-df-bg:linear-gradient(135deg,#265d72 0%,#43879a 100%);--mib-df-text:#fff;--mib-df-muted:#dcedf2;--mib-df-accent:#9ddce4}
body.mib-theme5-palette .mib-form-powder,
body.mib-theme5-palette .mib-form-sachet,
body.mib-theme5-palette .mib-form-granules{--mib-df-bg:linear-gradient(135deg,#c4a85c 0%,#dfcb86 100%);--mib-df-text:#2f352f;--mib-df-muted:#54574f;--mib-df-accent:#716117}
body.mib-theme5-palette .mib-form-patch,
body.mib-theme5-palette .mib-form-implant,
body.mib-theme5-palette .mib-form-suppository,
body.mib-theme5-palette .mib-form-pessary{--mib-df-bg:linear-gradient(135deg,#62628c 0%,#8583ad 100%);--mib-df-text:#fff;--mib-df-muted:#efeff8;--mib-df-accent:#dad8ff}

/* Fallback palette cycle for new/unknown forms. */
body.mib-theme5-palette .mib-form-chip:nth-of-type(4n+1){--mib-df-bg:linear-gradient(135deg,#172232,#21394a)}
body.mib-theme5-palette .mib-form-chip:nth-of-type(4n+2){--mib-df-bg:linear-gradient(135deg,#16726f,#27948c)}
body.mib-theme5-palette .mib-form-chip:nth-of-type(4n+3){--mib-df-bg:linear-gradient(135deg,#69a991,#8bc6ad);--mib-df-text:#17362f;--mib-df-muted:#315a4e;--mib-df-accent:#184d40}
body.mib-theme5-palette .mib-form-chip:nth-of-type(4n+4){--mib-df-bg:linear-gradient(135deg,#dedaa2,#eee9bb);--mib-df-text:#253341;--mib-df-muted:#59625d;--mib-df-accent:#8b8122}
/* semantic selectors above need to win over fallback cycle */
body.mib-theme5-palette .mib-form-tablet{--mib-df-bg:linear-gradient(135deg,#172232,#21394a);--mib-df-text:#fff;--mib-df-muted:#d5e1e9;--mib-df-accent:#79c8bf}
body.mib-theme5-palette .mib-form-capsule{--mib-df-bg:linear-gradient(135deg,#dedaa2,#eee9bb);--mib-df-text:#253341;--mib-df-muted:#59625d;--mib-df-accent:#8b8122}
body.mib-theme5-palette .mib-form-suspension,
body.mib-theme5-palette .mib-form-syrup,
body.mib-theme5-palette .mib-form-solution,
body.mib-theme5-palette .mib-form-emulsion{--mib-df-bg:linear-gradient(135deg,#16726f,#27948c);--mib-df-text:#fff;--mib-df-muted:#e1f4f1;--mib-df-accent:#8ce0c6}
body.mib-theme5-palette .mib-form-injection,
body.mib-theme5-palette .mib-form-infusion,
body.mib-theme5-palette .mib-form-vaccine{--mib-df-bg:linear-gradient(135deg,#b9332b,#d64e40);--mib-df-text:#fff;--mib-df-muted:#ffe8e5;--mib-df-accent:#ffd0ca}
body.mib-theme5-palette .mib-form-cream,
body.mib-theme5-palette .mib-form-ointment,
body.mib-theme5-palette .mib-form-gel,
body.mib-theme5-palette .mib-form-lotion,
body.mib-theme5-palette .mib-form-shampoo,
body.mib-theme5-palette .mib-form-mouthwash{--mib-df-bg:linear-gradient(135deg,#69a991,#8bc6ad);--mib-df-text:#17362f;--mib-df-muted:#315a4e;--mib-df-accent:#184d40}
body.mib-theme5-palette .mib-form-drops,
body.mib-theme5-palette .mib-form-inhalation,
body.mib-theme5-palette .mib-form-spray{--mib-df-bg:linear-gradient(135deg,#265d72,#43879a);--mib-df-text:#fff;--mib-df-muted:#dcedf2;--mib-df-accent:#9ddce4}
body.mib-theme5-palette .mib-form-powder,
body.mib-theme5-palette .mib-form-sachet,
body.mib-theme5-palette .mib-form-granules{--mib-df-bg:linear-gradient(135deg,#c4a85c,#dfcb86);--mib-df-text:#2f352f;--mib-df-muted:#54574f;--mib-df-accent:#716117}
body.mib-theme5-palette .mib-form-patch,
body.mib-theme5-palette .mib-form-implant,
body.mib-theme5-palette .mib-form-suppository,
body.mib-theme5-palette .mib-form-pessary{--mib-df-bg:linear-gradient(135deg,#62628c,#8583ad);--mib-df-text:#fff;--mib-df-muted:#efeff8;--mib-df-accent:#dad8ff}

body.mib-theme5-palette .mib-form-more{display:none!important}
body.mib-theme5-palette .mib-form-clear{
  grid-column:1/-1!important;
  min-height:42px!important;
  justify-content:center!important;
  border:1px dashed #d9c7c4!important;
  border-radius:11px!important;
  background:#fff8f7!important;
  color:#a4473e!important;
  font:700 11px/1 "Inter",sans-serif!important;
}
body.mib-theme5-palette .mib-form-clear:hover{background:#fff2ef!important;border-color:#d7a9a3!important;color:#8e352c!important}

@media(max-width:1299px){
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:899px){
  body.mib-theme5-palette .mib-form-availability{padding:18px!important}
  body.mib-theme5-palette .mib-form-head{align-items:flex-start!important}
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.mib-theme5-palette .mib-form-chip{min-height:145px!important;padding:16px!important;grid-template-columns:48px minmax(0,1fr) 34px!important;column-gap:12px!important}
  body.mib-theme5-palette .mib-form-chip-icon{width:48px!important;height:48px!important}
  body.mib-theme5-palette .mib-form-chip-copy strong{font-size:16px!important}
}
@media(max-width:579px){
  body.mib-theme5-palette .mib-form-head{display:block!important}
  body.mib-theme5-palette .mib-form-head>small{display:block!important;margin-top:7px!important}
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:1fr!important}
  body.mib-theme5-palette .mib-form-chip{min-height:132px!important}
  body.mib-theme5-palette .mib-form-chip-desc{min-height:auto!important}
}


/* ========================================================================
   v1.5.1 — Compact premium dosage-form selector
   Same theme-only enhancement, reduced scale for a denser premium UI.
   ======================================================================== */
body.mib-theme5-palette .mib-form-availability{
  margin:24px 0 8px!important;
  padding:16px!important;
  border-radius:16px!important;
  box-shadow:0 5px 18px rgba(28,34,48,.04)!important;
}
body.mib-theme5-palette .mib-form-head{
  margin-bottom:12px!important;
  gap:14px!important;
}
body.mib-theme5-palette .mib-form-head .mib-eyebrow{
  min-height:24px!important;
  padding:4px 10px!important;
  font-size:10.5px!important;
}
body.mib-theme5-palette .mib-form-head h2{
  margin-top:6px!important;
  font-size:20px!important;
}
body.mib-theme5-palette .mib-form-head>small{
  font-size:11.5px!important;
}
body.mib-theme5-palette .mib-form-chips{
  gap:11px!important;
}
body.mib-theme5-palette .mib-form-chip{
  grid-template-columns:42px minmax(0,1fr) 30px!important;
  grid-template-rows:auto auto auto!important;
  column-gap:11px!important;
  row-gap:1px!important;
  min-height:112px!important;
  padding:13px 13px 12px!important;
  border-radius:14px!important;
  box-shadow:0 5px 14px rgba(28,34,48,.085)!important;
}
body.mib-theme5-palette .mib-form-chip::after{
  width:112px!important;
  height:112px!important;
  right:-42px!important;
  bottom:-58px!important;
  box-shadow:0 0 0 17px rgba(255,255,255,.022),0 0 0 34px rgba(255,255,255,.014)!important;
}
body.mib-theme5-palette .mib-form-chip:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 9px 20px rgba(28,34,48,.12)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active{
  box-shadow:0 0 0 2px rgba(32,121,117,.16),0 8px 18px rgba(28,34,48,.11)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active::before{
  top:8px!important;
  right:8px!important;
  width:21px!important;
  height:21px!important;
  font-size:11px!important;
}
body.mib-theme5-palette .mib-form-chip-icon{
  width:42px!important;
  height:42px!important;
}
body.mib-theme5-palette .mib-form-chip-icon svg{
  width:21px!important;
  height:21px!important;
}
body.mib-theme5-palette .mib-form-chip-copy strong{
  margin-top:0!important;
  font-size:16.5px!important;
  line-height:1.12!important;
}
body.mib-theme5-palette .mib-form-chip-desc{
  min-height:0!important;
  margin-top:4px!important;
  font-size:10.2px!important;
  line-height:1.3!important;
  display:-webkit-box!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.mib-theme5-palette .mib-form-chip-copy small{
  margin-top:7px!important;
  font-size:11.5px!important;
  line-height:1.1!important;
}
body.mib-theme5-palette .mib-form-chip-arrow{
  width:30px!important;
  height:30px!important;
  font-size:15px!important;
  box-shadow:0 3px 9px rgba(0,0,0,.07)!important;
}
body.mib-theme5-palette .mib-form-clear{
  min-height:36px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
}
@media(min-width:1600px){
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(min-width:1300px) and (max-width:1599px){
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:1299px){
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.mib-theme5-palette .mib-form-chip{min-height:108px!important}
}
@media(max-width:899px){
  body.mib-theme5-palette .mib-form-availability{padding:14px!important}
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.mib-theme5-palette .mib-form-chip{min-height:104px!important;padding:12px!important;grid-template-columns:40px minmax(0,1fr) 28px!important;column-gap:10px!important}
  body.mib-theme5-palette .mib-form-chip-icon{width:40px!important;height:40px!important}
  body.mib-theme5-palette .mib-form-chip-copy strong{font-size:15.5px!important}
}
@media(max-width:579px){
  body.mib-theme5-palette .mib-form-chips{grid-template-columns:1fr!important}
  body.mib-theme5-palette .mib-form-chip{min-height:96px!important}
  body.mib-theme5-palette .mib-form-chip-desc{-webkit-line-clamp:1!important}
}

/* ========================================================================
   v1.5.2 — One-line premium dosage-form selector
   Theme-only. Core remains authoritative for labels, counts, URLs and state.
   ======================================================================== */
body.mib-theme5-palette .mib-form-availability{
  margin:22px 0 8px!important;
  padding:14px 14px 15px!important;
  border-radius:15px!important;
  overflow:hidden!important;
}
body.mib-theme5-palette .mib-form-head{
  margin-bottom:10px!important;
  align-items:flex-end!important;
}
body.mib-theme5-palette .mib-form-head h2{
  font-size:19px!important;
  line-height:1.12!important;
}
body.mib-theme5-palette .mib-form-head>small{
  font-size:11px!important;
}
body.mib-theme5-palette .mib-form-chips{
  display:flex!important;
  flex-wrap:nowrap!important;
  grid-template-columns:none!important;
  gap:9px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:1px 1px 5px!important;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:#c8d8d3 transparent;
}
body.mib-theme5-palette .mib-form-chips::-webkit-scrollbar{height:5px}
body.mib-theme5-palette .mib-form-chips::-webkit-scrollbar-track{background:transparent}
body.mib-theme5-palette .mib-form-chips::-webkit-scrollbar-thumb{background:#c8d8d3;border-radius:99px}
body.mib-theme5-palette .mib-form-chip{
  flex:1 0 188px!important;
  width:auto!important;
  min-width:188px!important;
  max-width:245px!important;
  min-height:76px!important;
  height:76px!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 29px!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:0!important;
  padding:11px 11px 11px 12px!important;
  border-radius:13px!important;
  box-shadow:0 4px 12px rgba(28,34,48,.075)!important;
  scroll-snap-align:start;
}
body.mib-theme5-palette .mib-form-chip::after{
  width:78px!important;
  height:78px!important;
  right:-32px!important;
  bottom:-44px!important;
  box-shadow:0 0 0 14px rgba(255,255,255,.018)!important;
}
body.mib-theme5-palette .mib-form-chip:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 7px 16px rgba(28,34,48,.105)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active{
  border-color:#31a69a!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px rgba(32,121,117,.13),0 6px 15px rgba(28,34,48,.09)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active::before{display:none!important}
body.mib-theme5-palette .mib-form-chip-icon{
  grid-column:1!important;
  grid-row:1!important;
  width:48px!important;
  height:48px!important;
  border-width:1px!important;
  background:rgba(255,255,255,.13)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 2px 8px rgba(0,0,0,.045)!important;
}
body.mib-theme5-palette .mib-form-chip-icon svg{
  width:27px!important;
  height:27px!important;
  stroke-width:2.15!important;
}
body.mib-theme5-palette .mib-form-chip-copy{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  align-self:center!important;
}
body.mib-theme5-palette .mib-form-chip-copy strong{
  display:block!important;
  max-width:100%!important;
  margin:0!important;
  color:var(--mib-df-text)!important;
  font:800 15.5px/1.05 "Manrope","Inter",sans-serif!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.mib-theme5-palette .mib-form-chip-desc{display:none!important}
body.mib-theme5-palette .mib-form-chip-copy small{
  order:initial!important;
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  margin:0!important;
  padding:3px 7px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.09)!important;
  color:var(--mib-df-accent)!important;
  font:750 10.5px/1 "Inter",sans-serif!important;
  white-space:nowrap!important;
}
body.mib-theme5-palette .mib-form-chip-arrow{
  grid-column:3!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:end!important;
  width:29px!important;
  height:29px!important;
  font-size:14px!important;
  box-shadow:0 2px 7px rgba(0,0,0,.065)!important;
}
body.mib-theme5-palette .mib-form-clear{
  margin-top:8px!important;
  min-height:32px!important;
  font-size:10.5px!important;
}
@media(max-width:899px){
  body.mib-theme5-palette .mib-form-head{display:block!important}
  body.mib-theme5-palette .mib-form-head>small{display:block!important;margin-top:5px!important}
  body.mib-theme5-palette .mib-form-chip{
    flex-basis:180px!important;
    min-width:180px!important;
    height:72px!important;
    min-height:72px!important;
    grid-template-columns:44px minmax(0,1fr) 27px!important;
    padding:10px!important;
  }
  body.mib-theme5-palette .mib-form-chip-icon{width:44px!important;height:44px!important}
  body.mib-theme5-palette .mib-form-chip-icon svg{width:25px!important;height:25px!important}
  body.mib-theme5-palette .mib-form-chip-copy strong{font-size:15px!important}
}
@media(max-width:579px){
  body.mib-theme5-palette .mib-form-availability{padding:12px!important}
  body.mib-theme5-palette .mib-form-chip{
    flex-basis:172px!important;
    min-width:172px!important;
    max-width:190px!important;
    height:70px!important;
    min-height:70px!important;
  }
}



/* ========================================================================
   v1.5.3 — Unified cream dosage-form palette
   Theme-only. All dosage-form selector cards use the same premium cream/gold
   treatment requested by the site owner; Core labels/counts/URLs stay intact.
   ======================================================================== */
body.mib-theme5-palette .mib-form-chip{
  --mib-df-bg:linear-gradient(135deg,#e8e3aa 0%,#f1edc1 54%,#e6dfa0 100%)!important;
  --mib-df-text:#1c2a38!important;
  --mib-df-muted:#665f3f!important;
  --mib-df-accent:#8c7912!important;
  border-color:rgba(147,126,20,.14)!important;
  box-shadow:0 4px 12px rgba(85,72,12,.08)!important;
}
body.mib-theme5-palette .mib-form-chip::after{
  border-color:rgba(255,255,255,.30)!important;
  box-shadow:0 0 0 14px rgba(255,255,255,.10)!important;
}
body.mib-theme5-palette .mib-form-chip-icon{
  background:rgba(255,255,255,.24)!important;
  border-color:rgba(255,255,255,.34)!important;
  color:#1c2a38!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 2px 8px rgba(85,72,12,.05)!important;
}
body.mib-theme5-palette .mib-form-chip-copy strong{
  color:#1c2a38!important;
}
body.mib-theme5-palette .mib-form-chip-copy small{
  color:#8c7912!important;
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.24)!important;
}
body.mib-theme5-palette .mib-form-chip-arrow{
  background:#fff!important;
  color:#1c2a38!important;
  box-shadow:0 3px 9px rgba(85,72,12,.10)!important;
}
body.mib-theme5-palette .mib-form-chip:hover{
  border-color:rgba(151,126,11,.28)!important;
  box-shadow:0 7px 16px rgba(85,72,12,.12)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active{
  border-color:#c5a91c!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 0 0 2px rgba(197,169,28,.14),0 6px 15px rgba(85,72,12,.10)!important;
}
body.mib-theme5-palette .mib-form-chip.is-active .mib-form-chip-icon{
  background:rgba(255,255,255,.34)!important;
}


/* -------------------------------------------------------
   v1.5.5 — Clean generic header metadata + compact tools
   Theme-only enhancement; MedInfoBase Core remains unchanged.
-------------------------------------------------------- */
body.mib-theme5-palette .mib-drug-page .mib-entity-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:32px;
  align-items:start;
  margin:12px 0 20px;
}
body.mib-theme5-palette .mib-drug-page .mib-entity-head h1{
  margin:12px 0 12px;
  font-family:"Manrope","Inter",sans-serif;
  font-size:clamp(48px,5vw,68px);
  line-height:1;
  letter-spacing:-1.8px;
  color:var(--mib-p5-navy,#1C2230);
}
body.mib-theme5-palette .mib-drug-page .mib-kicker{
  display:block;
  margin:0 0 4px;
  color:#31465a;
  font-size:.98rem;
  font-weight:500;
}
body.mib-theme5-palette .mib-drug-page .mib-lead{
  margin:0;
  color:#617386;
  font-size:1rem;
}
body.mib-theme5-palette .mib-generic-meta-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin-top:18px;
  color:#52687b;
  font-size:.86rem;
  font-weight:650;
}
body.mib-theme5-palette .mib-generic-meta-line span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
body.mib-theme5-palette .mib-generic-meta-line span+span::before{
  content:"";
  width:4px;
  height:4px;
  margin:0 12px;
  border-radius:50%;
  background:#b5c3cd;
}
body.mib-theme5-palette .mib-generic-meta-line i{
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--mib-p5-teal,#207975);
  box-shadow:0 0 0 3px rgba(32,121,117,.08);
}
body.mib-theme5-palette .mib-drug-page .mib-generic-actions{
  display:grid;
  gap:12px;
  min-width:0;
  max-width:none;
}
body.mib-theme5-palette .mib-drug-page .mib-verify-box{
  min-width:0;
  max-width:none;
  padding:18px 20px;
  border-radius:18px;
  background:#f6fbfb;
  border-color:#cfe3e3;
  box-shadow:none;
}
body.mib-theme5-palette .mib-drug-page .mib-verify-box strong{
  display:block;
  margin-bottom:5px;
  font-family:"Manrope","Inter",sans-serif;
  font-size:1rem;
  color:var(--mib-p5-navy,#1C2230);
}
body.mib-theme5-palette .mib-drug-page .mib-verify-box span{
  color:#63778a;
  font-size:.82rem;
  line-height:1.45;
}
body.mib-theme5-palette .mib-generic-top-tools{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
body.mib-theme5-palette .mib-generic-top-tools > *{
  margin:0!important;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-inline-print-primary,
body.mib-theme5-palette .mib-generic-top-tools .mib-share-menu>summary,
body.mib-theme5-palette .mib-generic-top-tool-link{
  min-height:42px;
  border:1px solid #d8e2e8;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 10px rgba(28,34,48,.035);
}
body.mib-theme5-palette .mib-generic-top-tools .mib-inline-print-primary{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  color:#20384d;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-inline-print-primary .mib-inline-print-icon{
  width:28px;
  height:28px;
  border-radius:8px;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-inline-print-primary strong{
  font-size:.78rem;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-inline-print-primary small{
  display:none;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-share-menu>summary{
  min-height:42px;
  padding:5px 9px;
  box-shadow:none;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-share-menu>summary small{
  display:none;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-share-summary-icon{
  width:28px;
  height:28px;
}
body.mib-theme5-palette .mib-generic-top-tools .mib-share-options{
  right:0;
  left:auto;
  top:48px;
}
body.mib-theme5-palette .mib-generic-top-tool-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 11px;
  color:#a8463b;
  font-size:.78rem;
  font-weight:750;
}
body.mib-theme5-palette .mib-generic-top-tool-link svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.mib-theme5-palette .mib-generic-top-tool-link:hover{
  background:#fff9f8;
  border-color:#e2bbb5;
  color:#9e352b;
}
body.mib-theme5-palette .mib-drug-page .mib-mini-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:18px 0 24px;
}
body.mib-theme5-palette .mib-drug-page .mib-mini-stats>div{
  padding:16px 16px 14px;
  background:#fff;
  border:1px solid #dce5eb;
  border-radius:16px;
  box-shadow:none;
}
body.mib-theme5-palette .mib-drug-page .mib-mini-stats strong{
  font-family:"Manrope","Inter",sans-serif;
  font-size:1.3rem;
  color:var(--mib-p5-navy,#1C2230);
}
body.mib-theme5-palette .mib-drug-page .mib-mini-stats span{
  font-size:.78rem;
  color:#718195;
}
@media (max-width:1050px){
  body.mib-theme5-palette .mib-drug-page .mib-entity-head{grid-template-columns:minmax(0,1fr) 320px;gap:22px}
}
@media (max-width:820px){
  body.mib-theme5-palette .mib-drug-page .mib-entity-head{grid-template-columns:1fr}
  body.mib-theme5-palette .mib-generic-top-tools{margin-top:0}
}
@media (max-width:620px){
  body.mib-theme5-palette .mib-drug-page .mib-entity-head h1{font-size:clamp(38px,12vw,52px)}
  body.mib-theme5-palette .mib-generic-meta-line{gap:8px 0;align-items:flex-start}
  body.mib-theme5-palette .mib-generic-meta-line span{white-space:normal}
  body.mib-theme5-palette .mib-drug-page .mib-mini-stats{grid-template-columns:1fr}
  body.mib-theme5-palette .mib-generic-top-tools{display:grid;grid-template-columns:1fr 1fr}
  body.mib-theme5-palette .mib-generic-top-tool-link{grid-column:1/-1;justify-content:center}
  body.mib-theme5-palette .mib-generic-top-tools .mib-inline-print-primary,
  body.mib-theme5-palette .mib-generic-top-tools .mib-share-menu>summary{width:100%;justify-content:center}
}


/* ==========================================================================
   v1.5.6 — Price Intelligence PRO commercial entry points
   ========================================================================== */
.mib-nav-pro-badge,.mib-inline-pro{
  display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
  margin-left:5px;padding:2px 6px;border-radius:999px;background:#f4c96b;color:#17332f;
  font:800 9px/1.25 "Inter",sans-serif;letter-spacing:.08em;font-style:normal;
}
.mib-primary-nav .mib-menu-pro>a{
  color:#fff;background:rgba(244,201,107,.11);border:1px solid rgba(244,201,107,.28);
}
.mib-primary-nav .mib-menu-pro>a:hover{background:rgba(244,201,107,.18);border-color:rgba(244,201,107,.5)}
.mib-mobile-pro-link .mib-nav-pro-badge{position:relative;top:-1px}

.mib-p5-pro-band{
  position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.65fr);
  gap:36px;align-items:center;margin:4px 0 34px;padding:32px 36px;border-radius:22px;
  color:#fff;background:linear-gradient(118deg,#082f2a 0%,#0d5f54 58%,#14856f 100%);
  box-shadow:0 18px 48px rgba(8,47,42,.16);
}
.mib-p5-pro-band::after{
  content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-110px;top:-150px;
  border:46px solid rgba(255,255,255,.055);pointer-events:none;
}
.mib-p5-pro-band-copy,.mib-p5-pro-band-action{position:relative;z-index:1}
.mib-p5-pro-kicker{display:flex;align-items:center;gap:9px;margin-bottom:10px;color:#d7efe6;font-size:12px;font-weight:750;letter-spacing:.075em;text-transform:uppercase}
.mib-p5-pro-kicker b{padding:4px 8px;border-radius:999px;background:#f4c96b;color:#17332f;font-size:10px;letter-spacing:.09em}
.mib-p5-pro-band h2{max-width:760px;margin:0;color:#fff;font:800 clamp(26px,3vw,38px)/1.12 "Manrope","Inter",sans-serif;letter-spacing:-.035em}
.mib-p5-pro-band p{max-width:780px;margin:12px 0 0;color:#d9eee8;font-size:15px;line-height:1.7}
.mib-p5-pro-features{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px;color:#edf9f5;font-size:12px;font-weight:650}
.mib-p5-pro-features span{white-space:nowrap}
.mib-p5-pro-band-action{padding-left:30px;border-left:1px solid rgba(255,255,255,.18)}
.mib-p5-pro-lock{display:block;margin-bottom:10px;color:#bbddd3;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.075em}
.mib-p5-pro-band-action>a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-radius:12px;background:#fff;color:#0b5d50;font-size:14px;font-weight:800;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.mib-p5-pro-band-action>a:hover{transform:translateY(-1px);color:#08493f;background:#f5fffb}
.mib-p5-pro-band-action>a span{font-size:20px;line-height:1}
.mib-p5-pro-band-action small{display:block;margin-top:9px;color:#bddbd3;font-size:11px}
.mib-p5-category-card.is-pro{border-color:#b8ddd0;background:linear-gradient(145deg,#fff,#f1fbf7)}
.mib-p5-category-card.is-pro:hover{border-color:#76bda6}

@media (max-width:900px){
  .mib-p5-pro-band{grid-template-columns:1fr;gap:24px;padding:28px}
  .mib-p5-pro-band-action{padding-left:0;padding-top:22px;border-left:0;border-top:1px solid rgba(255,255,255,.16)}
}
@media (max-width:600px){
  .mib-p5-pro-band{margin-top:0;padding:24px 20px;border-radius:17px}
  .mib-p5-pro-band h2{font-size:28px}
  .mib-p5-pro-features{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
  .mib-p5-pro-band-action>a{font-size:13px}
}

/* v1.5.8 launch governance */
.mib-p5-footer-contact{display:inline-flex;align-items:center;font-weight:700}.mib-p5-footer-note{max-width:300px;line-height:1.6}.mib-menu-pro .mib-nav-pro-badge,.mib-inline-pro{display:none!important}


/* =========================================================
   v1.5.9 — Pakistan-integrated MedInfoBase production branding
   ========================================================= */
.mib-brand--image{min-width:0!important;width:276px;max-width:276px;flex:0 0 276px;gap:0!important;line-height:0}
.mib-brand-logo{display:block;width:100%;line-height:0}
.mib-brand-logo img{display:block;width:100%;height:auto;max-height:54px;object-fit:contain;object-position:left center}
body.mib-theme5-palette .mib-brand--image{min-width:0;width:276px;max-width:276px;flex-basis:276px}
body.mib-theme5-palette .mib-header-inner{min-height:66px}
.mib-p5-footer-brand .mib-brand--image{width:248px;max-width:248px;flex-basis:248px}
.mib-p5-footer-brand .mib-brand-logo img{max-height:49px}
@media (max-width:1100px){
  .mib-brand--image,body.mib-theme5-palette .mib-brand--image{width:244px;max-width:244px;flex-basis:244px}
  .mib-brand-logo img{max-height:48px}
  body.mib-theme5-palette .mib-primary-nav a{padding-left:10px;padding-right:10px}
}
@media (max-width:820px){
  body.mib-theme5-palette .mib-header-inner{min-height:60px}
  .mib-brand--image,body.mib-theme5-palette .mib-brand--image{width:214px;max-width:214px;flex-basis:214px}
  .mib-brand-logo img{max-height:43px}
}
@media (max-width:420px){
  .mib-brand--image,body.mib-theme5-palette .mib-brand--image{width:190px;max-width:190px;flex-basis:190px}
  .mib-brand-logo img{max-height:38px}
  body.mib-theme5-palette .mib-header-inner{width:calc(100% - 20px);gap:6px}
  body.mib-theme5-palette .mib-header-actions{gap:2px;padding-left:4px}
  body.mib-theme5-palette .mib-icon-btn{width:36px;height:36px}
}


/* ======================================================================
   v1.6.2 — Theme-native Brand / Product page
   Core owns product data and markup. Theme owns the complete visual system.
   Scoped to /brand/ only via MIB_Routes body class; no global shell hacks.
   ====================================================================== */
body.mib-theme5-palette.mib-public-brand-active{
  background:#fff;
}
body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template{
  background:#F7FAF8;
  color:var(--mib-p5-navy,#1C2230);
  overflow-x:clip;
}
body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template>.mib-container{
  width:min(calc(100% - 56px),1440px)!important;
  max-width:1440px!important;
  padding:24px 0 42px!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template .mib-content{
  width:100%;
  max-width:none!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-breadcrumb{
  margin:0 0 12px;
  color:#728087;
  font-size:11px;
  font-weight:650;
}
body.mib-theme5-palette.mib-public-brand-active .mib-breadcrumb a{color:#55716e}
body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-entity-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:28px!important;
  align-items:stretch!important;
  margin:0 0 16px!important;
  padding:28px 30px!important;
  border:1px solid #DFE8E4;
  border-radius:18px;
  background:
    radial-gradient(circle at 86% 8%,rgba(113,175,150,.16),transparent 30%),
    linear-gradient(135deg,#fff 0%,#F8FCFA 58%,#F2F8F5 100%);
  box-shadow:0 8px 24px rgba(28,34,48,.045);
}
body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-kicker{
  display:inline-flex!important;
  width:max-content;
  margin:0 0 10px!important;
  padding:5px 9px;
  border-radius:999px;
  background:#E5F2ED;
  color:#176864!important;
  font-size:10px!important;
  line-height:1.2;
  font-weight:850!important;
  letter-spacing:.055em;
  text-transform:uppercase;
}
body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-entity-head h1{
  margin:0 0 8px!important;
  max-width:900px;
  color:var(--mib-p5-navy,#1C2230)!important;
  font-family:"Manrope","Inter",sans-serif!important;
  font-size:clamp(34px,3.6vw,52px)!important;
  line-height:1.04!important;
  letter-spacing:-1.35px!important;
  font-weight:800!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-lead{
  margin:0!important;
  color:#5D707A!important;
  font-size:14px!important;
  line-height:1.5;
}
body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-lead a{
  color:#176864;
  font-weight:750;
}
body.mib-theme5-palette.mib-public-brand-active .mib-brand-share-row{margin-top:13px}
body.mib-theme5-palette.mib-public-brand-active .mib-brand-share-row .mib-share-menu>summary{
  min-height:38px;
  border-color:#D8E3DE;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2{
  align-self:stretch;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:20px!important;
  border:0!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,#1C2230,#233D4B)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(28,34,48,.12)!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2 .mib-price-kicker{
  color:#C8D5D8!important;
  font-size:10px!important;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.045em;
}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2 .mib-price-dot{
  background:#71AF96!important;
  color:#17372F!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2>strong{
  margin:10px 0 4px!important;
  color:#fff!important;
  font-family:"Manrope","Inter",sans-serif;
  font-size:30px!important;
  line-height:1.05;
}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2>small{color:#C7D3D7!important;font-size:11px!important}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2 .mib-unit-primary{
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid rgba(255,255,255,.14);
  color:#DDE9E6!important;
  font-size:14px;
}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2 .mib-unit-primary span{color:#AFC4C4!important}
body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2 .mib-price-verified{
  margin-top:9px;
  color:#AEE1CE!important;
  font-size:10px!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-price-intelligence{
  margin:0 0 16px!important;
  padding:20px!important;
  border:1px solid #DFE7E4!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 4px 16px rgba(28,34,48,.035)!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-price-intelligence .mib-eyebrow{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#207975!important;
  font-size:10px!important;
  text-transform:uppercase;
  letter-spacing:.055em;
}
body.mib-theme5-palette.mib-public-brand-active .mib-price-intelligence h2,
body.mib-theme5-palette.mib-public-brand-active .mib-section-heading h2{
  margin:3px 0 0!important;
  color:var(--mib-p5-navy,#1C2230)!important;
  font-family:"Manrope","Inter",sans-serif;
  font-size:20px!important;
  letter-spacing:-.45px;
}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-basis{
  border-color:#E0E7E3!important;
  background:#F7FAF8!important;
  color:#64757B!important;
  font-size:10px!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-pro-link{
  border-color:#BFDAD1!important;
  background:#F2FAF7!important;
  color:#176864!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-public-summary{
  gap:9px!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-public-summary>div{
  border-color:#E1E8E5!important;
  border-radius:11px!important;
  background:#FAFCFB!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-public-summary small{color:#748288!important}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-public-summary strong{color:#263846!important}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-public-summary strong.is-low{color:#176B58!important}
body.mib-theme5-palette.mib-public-brand-active .mib-pi-public-summary strong.is-high{color:#B34B42!important}
body.mib-theme5-palette.mib-public-brand-active .mib-grid-2{
  gap:12px!important;
  margin:0 0 16px;
}
body.mib-theme5-palette.mib-public-brand-active .mib-info-card{
  padding:19px 20px!important;
  border:1px solid #E0E7E3!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 3px 14px rgba(28,34,48,.03)!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-info-card h3{
  margin:0 0 13px!important;
  color:#273846!important;
  font:800 16px/1.25 "Manrope","Inter",sans-serif!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-info-card dl{gap:8px 14px!important}
body.mib-theme5-palette.mib-public-brand-active .mib-info-card dt{
  color:#78868C!important;
  font-size:10px!important;
  text-transform:uppercase;
  letter-spacing:.035em;
}
body.mib-theme5-palette.mib-public-brand-active .mib-info-card dd{color:#30444E!important;font-size:12px!important}
body.mib-theme5-palette.mib-public-brand-active .mib-company-big{color:#176864!important;font-size:15px!important}
body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template section:not(.mib-price-intelligence){
  margin-top:16px!important;
  padding:18px 20px;
  border:1px solid #E1E8E5;
  border-radius:13px;
  background:#fff;
}
body.mib-theme5-palette.mib-public-brand-active .mib-section-heading{margin-bottom:11px!important}
body.mib-theme5-palette.mib-public-brand-active .mib-section-heading .mib-eyebrow{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#207975!important;
  font-size:9.5px!important;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body.mib-theme5-palette.mib-public-brand-active .mib-table th{
  padding:9px 10px!important;
  background:#F5F7F6!important;
  color:#52636B!important;
  font-size:9px!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-table td{
  padding:10px!important;
  color:#40525B;
  font-size:11px!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-directory-grid{gap:9px!important}
body.mib-theme5-palette.mib-public-brand-active .mib-directory-card{
  padding:13px!important;
  border:1px solid #E1E7E4!important;
  border-radius:10px!important;
  background:#FAFCFB!important;
  box-shadow:none!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-directory-card:hover{
  transform:translateY(-1px);
  border-color:#BBD6CC!important;
  background:#fff!important;
}
body.mib-theme5-palette.mib-public-brand-active .mib-directory-card strong{color:#2B3C47;font-size:12px}
body.mib-theme5-palette.mib-public-brand-active .mib-directory-card span{color:#75848A;font-size:10px}
body.mib-theme5-palette.mib-public-brand-active .mib-disclaimer{
  margin:16px 0 0!important;
  padding:13px 15px!important;
  border:1px solid #E8DFC3!important;
  border-radius:10px!important;
  background:#FBF8E9!important;
  color:#665F3C!important;
  font-size:10.5px;
}
/* Explicitly preserve the exact site shell/footer used by the homepage. */
body.mib-theme5-palette.mib-public-brand-active .mib-site-header,
body.mib-theme5-palette.mib-public-brand-active .mib-p5-footer{width:100%;max-width:none;margin-left:0;margin-right:0}
body.mib-theme5-palette.mib-public-brand-active .mib-p5-footer{margin-top:0!important}

@media (max-width:1200px){
  body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template>.mib-container{width:min(calc(100% - 40px),1440px)!important}
}
@media (max-width:900px){
  body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-entity-head{grid-template-columns:1fr!important}
  body.mib-theme5-palette.mib-public-brand-active .mib-current-price-v2{max-width:none!important}
}
@media (max-width:720px){
  body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template>.mib-container{width:calc(100% - 28px)!important;padding:16px 0 30px!important}
  body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-entity-head{padding:20px!important;border-radius:14px}
  body.mib-theme5-palette.mib-public-brand-active .mib-drug-page .mib-entity-head h1{font-size:clamp(30px,10vw,42px)!important}
  body.mib-theme5-palette.mib-public-brand-active .mib-price-intelligence,
  body.mib-theme5-palette.mib-public-brand-active .mib-info-card,
  body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template section:not(.mib-price-intelligence){padding:14px!important}
  body.mib-theme5-palette.mib-public-brand-active .mib-grid-2{grid-template-columns:1fr!important}
}
@media (max-width:420px){
  body.mib-theme5-palette.mib-public-brand-active .mib-public-entity-template>.mib-container{width:calc(100% - 20px)!important}
}
