Jump to content

User:Udays108/common.css: Difference between revisions

From BioMicro Center
Udays108 (talk | contribs)
 
Udays108 (talk | contribs)
No edit summary
 
(79 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ============================================================
/* ============================================================
   MIT BioMicro Center — MediaWiki Custom Styles
   BioMicro Center Wiki CSS-only modern UI
  Skin: Vector-2022
   Paste into: User:USERNAME/common.css
   Scope: User:USERNAME/common.css (personal preview only)
  Targets: MediaWiki Vector (legacy) skin
   Promote to MediaWiki:Common.css for site-wide deployment
   Mimics: about.html design without requiring JavaScript
   ============================================================ */
   ============================================================ */


/* ── Base & Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }


/* ── 1. Design Tokens ───────────────────────────────────────── */
/* Universal sans-serif — covers every element MW might leave in a serif/system font */
:root {
body.bmc-active, body.bmc-active * { font-family: 'Helvetica Neue', Arial, sans-serif !important; }
  --bmc-crimson:        #a31f34;
body.bmc-active code, body.bmc-active pre, body.bmc-active kbd,
  --bmc-crimson-dark:   #7a1626;
body.bmc-active tt, body.bmc-active samp { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important; }
  --bmc-crimson-light:  #fde8ec;
 
  --bmc-text:          #1a1a1a;
body, html {
  --bmc-text-muted:     #666;
   font-family: 'Helvetica Neue', Arial, sans-serif !important;
   --bmc-bg:             #fff;
   color: #1a1a1a !important;
  --bmc-bg-card:        #f9f9f9;
   background: #f4f4f4 !important;
   --bmc-border:         #e8e8e8;
   line-height: 1.6 !important;
   --bmc-border-hover:   #c8a0a8;
   font-size: 16px !important;
   --bmc-shadow-card:   0 2px 10px rgba(163, 31, 52, 0.07);
   margin: 0 !important;
   --bmc-header-height: 68px;
   padding: 0 !important;
   --bmc-max-width:     1140px;
   --bmc-font:           'Helvetica Neue', Arial, sans-serif;
}
}


a { color: #750014 !important; text-decoration: none !important; }
a:hover { text-decoration: underline !important; color: #5c0010 !important; }


/* ── 2. Base Typography ─────────────────────────────────────── */
/* ── Contact topbar (CSS pseudo-element, decorative) ─────────── */
body {
/* Shows contact info as a red strip above the header */
   font-family: var(--bmc-font) !important;
#mw-page-base {
   color: var(--bmc-text);
   background: #750014 !important;
   line-height: 1.6;
  height: 32px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
   right: 0 !important;
   z-index: 200 !important;
}
}


.mw-body-content,
#mw-page-base::after {
.mw-parser-output {
  content: "biomicro@mit.edu  ·  617-715-4533  ·  Building 68-322";
   font-family: var(--bmc-font);
  display: block;
   font-size: 0.9rem;
   text-align: right;
   color: #333;
  color: rgba(255,255,255,0.9);
   line-height: 1.6;
   font-size: 0.72rem;
   font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 7px 28px;
   letter-spacing: 0.02em;
}
}


/* ── Header (#mw-head) ──────────────────────────────────────── */
#mw-head {
  background: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
  height: 60px !important;
  top: 32px !important; /* sit below the red topbar */
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 150 !important;
}


/* ── 3. Link Colors ─────────────────────────────────────────── */
#mw-head-base {
/* Scope to body content — avoids clobbering UI chrome links */
   height: 92px !important; /* 32px topbar + 60px header */
.mw-body a,
   background: #fff !important;
.mw-body-content a,
.mw-parser-output a {
   color: var(--bmc-crimson);
   text-decoration: none;
}
}


.mw-body a:visited,
/* Page tabs (Read / Edit / History) */
.mw-body-content a:visited {
#left-navigation {
   color: var(--bmc-crimson);
  margin-left: 0 !important;
}
#left-navigation li a,
#right-navigation li a {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: #555 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  transition: background 0.15s, color 0.15s !important;
}
#left-navigation li.selected a,
#left-navigation li a:hover,
#right-navigation li a:hover {
  background: #f5f5f5 !important;
   color: #750014 !important;
  border: none !important;
}
}


.mw-body a:hover,
/* Search box in header */
.mw-body-content a:hover,
#p-search {
.mw-parser-output a:hover {
  margin-top: 14px !important;
   color: var(--bmc-crimson-dark);
}
   text-decoration: underline;
#searchInput {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  padding: 5px 10px !important;
  font-size: 0.83rem !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #333 !important;
  width: 180px !important;
  outline: none !important;
  transition: border-color 0.15s !important;
  background: #fff !important;
}
#searchInput:focus { border-color: #750014 !important; }
#searchButton, #mw-searchButton {
  background: #750014 !important;
  border: none !important;
  border-radius: 4px !important;
   color: #fff !important;
  font-size: 0.83rem !important;
  padding: 5px 10px !important;
  cursor: pointer !important;
   margin-left: 4px !important;
}
}


/* External link icon inherits color */
/* Personal tools (login/logout) */
.mw-parser-output a.external {
#p-personal li a {
   color: var(--bmc-crimson);
  font-size: 0.8rem !important;
   color: #666 !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}
}
#p-personal li a:hover { color: #750014 !important; }


/* ── Logo & Sidebar container (#mw-navigation) ──────────────── */
#mw-navigation {
  background: #fff !important;
  border-right: 1px solid #e8e8e8 !important;
  top: 92px !important; /* below topbar + header */
  position: fixed !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 180px !important;
  overflow-y: auto !important;
  z-index: 100 !important;
}


/* ── 4. Header ──────────────────────────────────────────────── */
/* Logo area */
.vector-header {
#p-logo {
   background: var(--bmc-bg) !important;
   position: static !important;
   border-bottom: 1px solid #e0e0e0 !important;
  width: auto !important;
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07) !important;
  height: auto !important;
  margin: 0 !important;
   padding: 20px 16px 16px !important;
   border-bottom: 1px solid #e8e8e8 !important;
}
}


/* Remove Vector-2022's default colored top border if present */
/* Hide the actual logo image; replace with CSS text badge */
.vector-header::before {
#p-logo a {
   display: none;
  background-image: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  height: auto !important;
  width: auto !important;
   float: none !important;
}
}


/* Logo area */
#p-logo a::before {
.mw-logo {
  content: "BMC";
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 12px;
   justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #750014;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  letter-spacing: -0.5px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
}


.mw-logo-wordmark {
#p-logo a::after {
   font-family: var(--bmc-font) !important;
  content: "MIT BioMicro Center";
   color: var(--bmc-text) !important;
  display: block;
   font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Helvetica Neue', Arial, sans-serif;
   line-height: 1.3;
  letter-spacing: -0.1px;
}
}


.mw-logo-tagline {
/* ── Sidebar navigation portlets (#mw-panel) ─────────────────── */
   font-size: 0.72rem;
#mw-panel {
   color: var(--bmc-text-muted);
   position: static !important;
  width: auto !important;
  float: none !important;
  padding: 12px 0 !important;
   background: transparent !important;
}
}


.portlet,
.mw-portlet {
  margin: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  background: transparent !important;
}


/* ── 5. Navigation ──────────────────────────────────────────── */
/* Portlet headings */
/* Vector-2022 left sidebar navigation */
.portlet h3,
.vector-main-menu-action > a,
.mw-portlet-heading,
.vector-main-menu .mw-list-item a,
div.portlet h3 {
#p-navigation .mw-list-item a {
   font-family: 'Helvetica Neue', Arial, sans-serif !important;
   font-family: var(--bmc-font);
   font-size: 0.68rem !important;
   font-size: 0.85rem;
   font-weight: 700 !important;
   font-weight: 500;
   text-transform: uppercase !important;
   color: #333;
   letter-spacing: 0.08em !important;
   border-radius: 4px;
  color: #999 !important;
   padding: 6px 10px;
   padding: 10px 16px 4px !important;
   transition: background 0.15s, color 0.15s;
   margin: 0 !important;
   text-decoration: none;
  border: none !important;
   background: none !important;
}
}


.vector-main-menu .mw-list-item a:hover,
/* Portlet links */
#p-navigation .mw-list-item a:hover {
.portlet li,
   background: #f5f5f5;
.mw-portlet-body li {
   color: var(--bmc-crimson);
  padding: 0 !important;
   text-decoration: none;
  margin: 0 !important;
  list-style: none !important;
  border: none !important;
}
.portlet li a,
.mw-portlet-body li a {
  display: block !important;
   padding: 5px 16px !important;
   font-size: 0.82rem !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #444 !important;
  border-radius: 4px !important;
  margin: 0 6px !important;
  transition: background 0.12s, color 0.12s !important;
   text-decoration: none !important;
}
}
 
.portlet li a:hover,
/* Active nav item (set by JS) */
.mw-portlet-body li a:hover {
.mw-list-item.bmc-active > a,
   background: #f0e8ea !important;
.mw-list-item.bmc-active > a:visited {
   color: #750014 !important;
   background: #f5f5f5;
   text-decoration: none !important;
   color: var(--bmc-crimson);
   font-weight: 600;
}
}


/* Portal section headings in sidebar */
/* ── Main content area (#content) ───────────────────────────── */
.vector-main-menu .mw-portlet-nav-logo,
#content,
.vector-menu-heading {
#mw-content-wrapper {
   font-size: 0.7rem;
  margin-left: 180px !important; /* match sidebar width */
   font-weight: 700;
  margin-top: 92px !important;  /* topbar 32 + header 60 */
   text-transform: uppercase;
  margin-right: 0 !important;
   letter-spacing: 0.08em;
   margin-bottom: 0 !important;
   color: #999;
   padding: 0 !important;
  background: #fff !important;
  border: none !important;
   box-shadow: none !important;
   border-radius: 0 !important;
  float: none !important;
   min-height: calc(100vh - 92px) !important;
}
}


/* Hide MediaWiki "From bmcwiki..." subtitle */
#siteSub,
#contentSub { display: none !important; }


/* ── 6. Page Title (h1) ─────────────────────────────────────── */
/* ── Page Hero: style #firstHeading as the about.html hero ───── */
h1.firstHeading,
#firstHeading,
.mw-first-heading {
.mw-first-heading {
   font-family: var(--bmc-font) !important;
  background: linear-gradient(135deg, #750014 0%, #5c0010 100%) !important;
   font-size: 2rem !important;
  color: #fff !important;
   font-family: 'Helvetica Neue', Arial, sans-serif !important;
   font-size: 1.9rem !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
   color: var(--bmc-text) !important;
   letter-spacing: -0.5px !important;
   letter-spacing: -0.5px;
  padding: 36px 40px 32px !important;
   border-bottom: 2px solid var(--bmc-crimson) !important;
   margin: 0 !important;
   padding-bottom: 12px !important;
   border: none !important;
   margin-bottom: 24px !important;
   width: 100% !important;
   display: block !important;
}
}


/* Breadcrumb "Home ›" before the title */
#firstHeading::before {
  content: "Home  ›";
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  letter-spacing: 0;
}


/* ── 7. Content Headings ────────────────────────────────────── */
/* ── Body content area ──────────────────────────────────────── */
.mw-parser-output h2,
#bodyContent {
.mw-body-content h2 {
   padding: 36px 40px 60px !important;
  font-size: 1.35rem;
   max-width: 860px !important;
  font-weight: 700;
   background: #fff !important;
  color: var(--bmc-text);
   padding-bottom: 10px;
   border-bottom: 2px solid var(--bmc-crimson) !important;
   margin: 48px 0 18px;
  letter-spacing: -0.2px;
  scroll-margin-top: 88px;
}
}


.mw-parser-output h2:first-child,
/* ── Typography ─────────────────────────────────────────────── */
.mw-body-content h2:first-child {
.mw-parser-output {
   margin-top: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
   color: #333 !important;
}
}


/* Remove Vector-2022's default h2 styling */
.mw-parser-output h2 {
.mw-parser-output h2 .mw-headline,
  font-size: 1.35rem !important;
.mw-body-content h2 .mw-headline {
  font-weight: 700 !important;
   border: none;
  color: #1a1a1a !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #750014 !important;
  border-left: none !important;
  border-top: none !important;
   border-right: none !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 40px 0 16px !important;
  letter-spacing: -0.2px !important;
  scroll-margin-top: 100px !important;
}
}
.mw-parser-output h2:first-child { margin-top: 0 !important; }


.mw-parser-output h3,
.mw-parser-output h3 {
.mw-body-content h3 {
   font-size: 1rem !important;
   font-size: 1rem;
   font-weight: 600 !important;
   font-weight: 600;
   color: #1a1a1a !important;
   color: var(--bmc-text);
   margin: 24px 0 8px !important;
   margin: 28px 0 10px;
  scroll-margin-top: 88px;
}
}


.mw-parser-output h4,
.mw-parser-output h4 {
.mw-body-content h4 {
   font-size: 0.88rem !important;
   font-size: 0.88rem;
   font-weight: 700 !important;
   font-weight: 700;
   color: #1a1a1a !important;
   color: #444;
   margin: 16px 0 6px !important;
   margin: 20px 0 8px;
  letter-spacing: -0.1px !important;
}
}


.mw-parser-output p {
.mw-parser-output p {
   font-size: 0.9rem;
   margin-bottom: 14px !important;
   color: #333;
   color: #333 !important;
  margin-bottom: 14px;
}
}


.mw-parser-output ul,
.mw-parser-output ol {
  margin: 0 0 14px 22px !important;
  color: #333 !important;
}
.mw-parser-output li { margin-bottom: 4px !important; }


/* ── 8. Table of Contents (Vector-2022) ─────────────────────── */
/* ── TOC (Table of Contents) ────────────────────────────────── */
/* Vector-2022 renders TOC in .vector-toc / #mw-panel-toc */
#toc, .toc {
.vector-toc,
   background: #f9f9f9 !important;
#mw-panel-toc .vector-toc {
   border: 1px solid #e8e8e8 !important;
   background: var(--bmc-bg-card) !important;
   border: 1px solid var(--bmc-border) !important;
   border-radius: 8px !important;
   border-radius: 8px !important;
   padding: 20px !important;
   padding: 18px 20px !important;
   box-shadow: none !important;
   display: inline-block !important;
}
  min-width: 200px !important;
 
   font-size: 0.82rem !important;
/* TOC title: "Contents" / "On this page" */
   float: none !important;
.vector-toc .vector-toc-title,
   margin: 0 0 28px !important;
.vector-toc-title-bar {
   border-bottom: 1px solid var(--bmc-border) !important;
   padding-bottom: 10px !important;
   margin-bottom: 10px !important;
}
}
 
.toctitle h2,
.vector-toc .vector-toc-title-text {
#toc .toctitle h2 {
   font-size: 0.78rem !important;
   font-size: 0.78rem !important;
   font-weight: 700 !important;
   font-weight: 700 !important;
Line 226: Line 377:
   letter-spacing: 0.08em !important;
   letter-spacing: 0.08em !important;
   color: #999 !important;
   color: #999 !important;
  margin-bottom: 10px !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
}
 
#toc ul, .toc ul {
/* TOC toggle button */
   list-style: none !important;
.vector-toc-toggle {
  margin: 0 !important;
   display: none; /* Remove toggle button for cleaner look */
  padding: 0 !important;
}
}
 
#toc ul li, .toc ul li { margin: 0 0 2px !important; }
/* TOC links */
#toc ul li a, .toc ul li a {
.vector-toc .vector-toc-link {
   font-size: 0.82rem !important;
   font-size: 0.82rem;
   color: #444 !important;
   color: #444;
   padding: 3px 8px !important;
   padding: 4px 8px;
   display: block !important;
   display: block;
   border-radius: 4px !important;
   border-radius: 4px;
  text-decoration: none !important;
   transition: background 0.12s, color 0.12s;
   transition: background 0.12s, color 0.12s !important;
  text-decoration: none;
}
}
 
#toc ul li a:hover, .toc ul li a:hover {
.vector-toc .vector-toc-link:hover {
   background: #f0e8ea !important;
   background: #f0e8ea;
   color: #750014 !important;
   color: var(--bmc-crimson);
   text-decoration: none !important;
   text-decoration: none;
}
}
 
/* Sub-items */
/* Active section highlight (Vector-2022 applies this on scroll) */
#toc ul ul li a, .toc ul ul li a {
.vector-toc-list-item-active > .vector-toc-link,
   padding-left: 18px !important;
.vector-toc-list-item-active > .vector-toc-link:visited {
   font-size: 0.78rem !important;
   color: var(--bmc-crimson);
   color: #666 !important;
   font-weight: 600;
   background: #fdf5f6;
}
}


/* Sub-section indent */
/* ── Edit section links ──────────────────────────────────────── */
.vector-toc .vector-toc-list .vector-toc-list > li > .vector-toc-link {
.mw-editsection { display: inline !important; }
  padding-left: 20px;
.mw-editsection a {
   font-size: 0.78rem;
   font-size: 0.72rem !important;
   color: var(--bmc-text-muted);
   color: #999 !important;
  margin-left: 8px !important;
}
}
.mw-editsection a:hover { color: #750014 !important; }
.mw-editsection-bracket { color: #ddd !important; }


/* ── Tables ─────────────────────────────────────────────────── */
/* Scoped to .wikitable only — layout tables (no class) handled separately below */


/* ── 9. Tables (.wikitable) ─────────────────────────────────── */
.wikitable {
.wikitable {
  width: 100%;
   border-collapse: collapse !important;
   border-collapse: collapse !important;
   font-size: 0.83rem;
  width: 100% !important;
   font-family: var(--bmc-font);
  margin: 1em 0 !important;
  background: var(--bmc-bg);
   font-size: 0.875rem !important;
   border: 1px solid #e4e4e4 !important;
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
   border-radius: 8px;
   border: none !important;
   overflow: hidden;
   border-radius: 6px !important;
   margin-bottom: 26px;
   overflow: hidden !important;
   background: #fff !important;
  table-layout: auto !important;
}
}
 
.wikitable th {
/* Wrap table for horizontal scroll on mobile */
   background: #750014 !important;
.wikitable-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
  margin-bottom: 26px;
}
 
/* Dark header */
.wikitable > thead > tr > th,
.wikitable > tr > th {
   background: #1a1a1a !important;
   color: #fff !important;
   color: #fff !important;
  padding: 11px 14px !important;
   font-weight: 600 !important;
   font-weight: 600;
   font-size: 0.875rem !important;
   font-size: 0.78rem;
   padding: 13px 18px !important;
   text-align: left;
   text-align: left !important;
   letter-spacing: 0.03em;
  white-space: nowrap;
   border: none !important;
   border: none !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  line-height: 1.4 !important;
}
}
 
.wikitable td {
/* Body cells */
   padding: 12px 18px !important;
.wikitable > tbody > tr > td,
   border: none !important;
.wikitable > tr > td {
   border-bottom: 1px solid #e0e0e0 !important;
   padding: 10px 14px !important;
  vertical-align: top !important;
   vertical-align: top;
  color: #222 !important;
   border-bottom: 1px solid #f0f0f0 !important;
   font-size: 0.875rem !important;
   border-left: none !important;
  text-align: left !important;
   border-right: none !important;
  line-height: 1.5 !important;
   border-top: none !important;
   background: #fff !important;
   overflow-wrap: break-word !important;
}
}
 
/* Row separator */
.wikitable > tbody > tr:last-child > td {
.wikitable tr:last-child td { border-bottom: none !important; }
  border-bottom: none !important;
/* Section-description rows (colspan td used as sub-headers in Pricing tables) */
.wikitable td[colspan] {
  background: #f5f5f5 !important;
  color: #444 !important;
  font-size: 0.82rem !important;
  text-align: left !important;
  line-height: 1.5 !important;
}
}
/* Links inside table cells */
.wikitable td a { color: #750014 !important; }
.wikitable td a:hover { color: #750014 !important; text-decoration: underline !important; }


/* Hover row */
/* Images inside table cells */
.wikitable > tbody > tr:hover > td {
.wikitable td img {
   background: #fafafa;
   max-width: 160px !important;
  height: auto !important;
  display: block !important;
  margin: 6px 0 8px !important;
}
}


/* Section row (use class="wikitable-section-row" in wiki markup) */
/* Paragraphs inside table cells */
.wikitable .section-row > td {
.wikitable td p {
   background: #f5f5f5 !important;
   margin: 0 0 6px !important;
   font-weight: 600;
   font-size: 0.875rem !important;
   font-size: 0.8rem;
   line-height: 1.5 !important;
   color: #555;
   color: #222 !important;
  padding: 7px 14px !important;
}
}
.wikitable td p:last-child { margin-bottom: 0 !important; }


/* Price / number column alignment */
/* ── Code ───────────────────────────────────────────────────── */
.wikitable .price,
.mw-parser-output code,
.wikitable .col-right {
.mw-parser-output pre,
   text-align: right;
.mw-parser-output tt {
   font-variant-numeric: tabular-nums;
   font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
   font-weight: 500;
  background: #f4f4f4 !important;
   white-space: nowrap;
   border: 1px solid #e8e8e8 !important;
   border-radius: 4px !important;
   font-size: 0.85rem !important;
}
}
.mw-parser-output code,
.mw-parser-output tt { padding: 1px 5px !important; }
.mw-parser-output pre { padding: 12px 16px !important; overflow-x: auto !important; }


/* ── Component classes (wiki editors add these to markup) ────── */


/* ── 10. Note / Alert Boxes ─────────────────────────────────── */
.service-grid {
/* Usage in wiki: <div class="bmc-note"> ... </div>              */
   display: grid;
.bmc-note {
   grid-template-columns: repeat(2, 1fr);
   background: #fdf6f0;
   gap: 16px;
   border-left: 3px solid #e07b39;
   margin: 20px 0 28px;
   padding: 10px 14px;
}
   border-radius: 0 6px 6px 0;
.service-card {
   font-size: 0.82rem;
   background: #f9f9f9;
   color: #555;
   border: 1px solid #e8e8e8;
   margin: 12px 0 18px;
   border-radius: 8px;
   font-family: var(--bmc-font);
  padding: 20px 22px;
   transition: border-color 0.15s, box-shadow 0.15s;
}
}
.service-card:hover { border-color: #c8a0a8; box-shadow: 0 2px 10px rgba(117,0,20,0.07); }
.service-card h4 { font-size: 0.88rem !important; font-weight: 700 !important; color: #1a1a1a !important; margin-bottom: 6px !important; }
.service-card p { font-size: 0.82rem !important; color: #555 !important; margin: 0 !important; line-height: 1.5 !important; }


.bmc-note strong { color: #c0622a; }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.staff-card { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px 18px; }
.staff-card .staff-name { font-size: 0.88rem; font-weight: 700; color: #1a1a1a; display: block; }
.staff-card .staff-role { font-size: 0.78rem; color: #666; margin-top: 3px; line-height: 1.4; display: block; }
.staff-card.director { grid-column: 1 / -1; background: #fdf5f6; border-color: #d4a0a8; display: flex; align-items: center; gap: 18px; }
.director-badge { width: 44px; height: 44px; background: #750014; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.staff-card.director .staff-name { font-size: 1rem !important; }
.staff-card.director .staff-role { font-size: 0.82rem !important; color: #444 !important; font-weight: 500; }


.bmc-note-info {
.pub-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
  background: #f0f6ff;
.pub-list li { padding: 14px 0 !important; border-bottom: 1px solid #f0f0f0 !important; font-size: 0.85rem !important; }
  border-left-color: #3b7dd8;
.pub-list li:last-child { border-bottom: none !important; }
}
.pub-list .pub-lab { font-weight: 700; color: #1a1a1a; display: block; }
.pub-list .pub-desc { color: #444; margin-top: 3px; line-height: 1.5; display: block; }
.pub-list .pub-cite { display: inline-block; margin-top: 5px; font-size: 0.75rem; background: #f0f0f0; color: #555; padding: 2px 8px; border-radius: 10px; }


.bmc-note-warn {
.affil-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 24px; }
  background: #fff9e6;
.affil-card { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px 18px; }
  border-left-color: #d4a017;
.affil-card .affil-name { font-size: 0.85rem; font-weight: 700; color: #1a1a1a; display: block; }
}
.affil-card .affil-rep { font-size: 0.78rem; color: #666; margin-top: 4px; display: block; }


/* Map to existing MediaWiki notice boxes too */
.note { background: #fdf6f0; border-left: 3px solid #e07b39; padding: 10px 14px; border-radius: 0 6px 6px 0; font-size: 0.82rem; color: #555; margin: 12px 0 18px; }
.mw-message-box-notice {
.note strong { color: #1a1a1a; }
  border-left-color: #3b7dd8 !important;
.note.note-info { background: #f0f6ff; border-left-color: #3b7dd8; }
  border-radius: 0 6px 6px 0 !important;
}


.contact-block { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 22px 24px; display: flex; gap: 40px; flex-wrap: wrap; font-size: 0.85rem; }
.contact-item { display: flex; flex-direction: column; gap: 3px; }
.contact-item .label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #999; }
.contact-item .value { color: #1a1a1a; font-weight: 500; }
.contact-item a { color: #750014 !important; }


/* ── 11. Card Components ────────────────────────────────────── */
/* ── Footer ─────────────────────────────────────────────────── */
/* Usage in wiki: <div class="bmc-card"> ... </div>              */
#footer {
.bmc-card {
   background: #1a1a1a !important;
   background: var(--bmc-bg-card);
   color: #aaa !important;
   border: 1px solid var(--bmc-border);
  font-size: 0.82rem !important;
   border-radius: 8px;
   display: flex !important;
   padding: 20px 22px;
   gap: 32px !important;
   transition: border-color 0.15s, box-shadow 0.15s;
   padding: 40px 24px 0 !important;
   font-family: var(--bmc-font);
  margin-top: 48px !important;
   border-top: 3px solid #750014 !important;
}
}
#footer .bmc-footer-col { flex: 1 1 0; min-width: 0; }
#footer h4 { font-size: 0.75rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; color: #fff !important; margin: 0 0 12px !important; border: none !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
#footer ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#footer ul li { margin-bottom: 6px !important; padding: 0 !important; }
#footer a { color: #aaa !important; text-decoration: none !important; }
#footer a:hover { color: #fff !important; }


.bmc-card:hover {
/* ── Responsive ─────────────────────────────────────────────── */
   border-color: var(--bmc-border-hover);
@media (max-width: 860px) {
   box-shadow: var(--bmc-shadow-card);
   #mw-navigation {
    position: static !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
  }
  #content, #mw-content-wrapper {
    margin-left: 0 !important;
    margin-top: 0 !important;
   }
  #footer { margin-left: 0 !important; }
  .service-grid, .staff-grid, .affil-grid { grid-template-columns: 1fr !important; }
  .contact-block { flex-direction: column !important; gap: 16px !important; }
}
}


.bmc-card h4 {
/* ── Hide original MW chrome once the BMC wrapper is injected ── */
  font-size: 0.88rem;
/* common.js adds .bmc-active to <body> after injecting #bmc-wrapper,
  font-weight: 700;
  so this only fires on view pages, leaving edit/special pages intact.
  color: var(--bmc-crimson);
  The child selector hides ALL original MW elements regardless of skin
  margin-bottom: 6px;
  version (Vector legacy, Vector 2022, etc.) without needing to list
   letter-spacing: -0.1px;
  every possible ID.                                                   */
body.bmc-active > *:not(#bmc-wrapper):not(script):not(style) {
   display: none !important;
}
}


.bmc-card p {
/* ── BMC Shell (injected by common.js) ─────────────────────── */
   font-size: 0.82rem;
 
   color: #555;
#bmc-wrapper {
   margin: 0;
   font-family: 'Helvetica Neue', Arial, sans-serif;
   line-height: 1.5;
   color: #1a1a1a;
   background: #fff;
   line-height: 1.6;
}
}


/* Grid containers */
/* Topbar */
.bmc-grid-2 {
.bmc-topbar { background: #750014; color: rgba(255,255,255,0.9); font-size: 0.75rem; padding: 6px 0; text-align: right; }
  display: grid;
.bmc-topbar .inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
  grid-template-columns: repeat(2, 1fr);
.bmc-topbar a { color: rgba(255,255,255,0.85) !important; text-decoration: none !important; }
  gap: 16px;
.bmc-topbar a:hover { color: #fff !important; text-decoration: none !important; }
  margin: 20px 0 28px;
.bmc-topbar span { margin: 0 6px; opacity: 0.5; }
}
 
/* Header */
.bmc-header { background: #fff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.bmc-header-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.bmc-header-right { display: flex; align-items: center; gap: 16px; }


.bmc-grid-3 {
/* Logo */
  display: grid;
.bmc-logo { display: flex !important; align-items: center !important; text-decoration: none !important; }
  grid-template-columns: repeat(3, 1fr);
.bmc-logo-img { height: 56px !important; width: auto !important; display: block !important; }
  gap: 14px;
  margin: 20px 0 28px;
}


.bmc-grid-4 {
/* Nav */
  display: grid;
.bmc-nav { display: flex; align-items: center; }
  grid-template-columns: repeat(4, 1fr);
.bmc-nav > ul { list-style: none !important; display: flex !important; gap: 2px; margin: 0 !important; padding: 0 !important; }
  gap: 14px;
.bmc-nav > ul > li { position: relative; }
  margin: 20px 0 28px;
.bmc-nav > ul > li > a { display: block !important; padding: 8px 14px !important; font-size: 0.85rem !important; font-weight: 500 !important; color: #333 !important; border-radius: 4px !important; white-space: nowrap; transition: background 0.15s, color 0.15s; text-decoration: none !important; background: transparent !important; border: none !important; }
}
.bmc-nav > ul > li > a:hover { background: #f5f5f5 !important; color: #750014 !important; text-decoration: none !important; }
.bmc-nav > ul > li.bmc-active > a { background: transparent !important; color: #750014 !important; text-decoration: none !important; }
.bmc-nav > ul > li.bmc-active > a:hover { background: #f5f5f5 !important; }


/* Dropdown */
.bmc-dropdown { position: relative; }
.bmc-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; opacity: 0.6; }
.bmc-dropdown-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.10); min-width: 200px; padding: 6px 0; z-index: 200; }
.bmc-dropdown-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; background: transparent; }
.bmc-dropdown:hover .bmc-dropdown-menu { display: block; }
.bmc-dropdown-menu a { display: block !important; padding: 8px 18px !important; font-size: 0.83rem !important; color: #333 !important; white-space: nowrap; text-decoration: none !important; background: transparent !important; transition: background 0.12s; }
.bmc-dropdown-menu a:hover { background: #faf0f0 !important; color: #750014 !important; text-decoration: none !important; }
.bmc-divider { border-top: 1px solid #eee; margin: 4px 0; }
.bmc-group-label { padding: 6px 18px 2px; font-size: 0.7rem; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }


/* ── 12. Badges / Pills ─────────────────────────────────────── */
/* Logged-in username display */
/* Usage: <span class="bmc-badge bmc-badge-red">Label</span>    */
.bmc-user-info {
.bmc-badge {
   font-size: 0.8rem;
  display: inline-block;
   color: #555;
   font-size: 0.68rem;
   font-weight: 500;
  padding: 2px 7px;
   border-radius: 10px;
   font-weight: 600;
   white-space: nowrap;
   white-space: nowrap;
   font-family: var(--bmc-font);
   padding-left: 12px;
  border-left: 1px solid #e0e0e0;
  margin-left: 4px;
}
}


.bmc-badge-red {
/* Search form */
  background: var(--bmc-crimson-light);
.bmc-search-form { display: flex; align-items: center; gap: 4px; }
  color: var(--bmc-crimson);
.bmc-search-form input[type="search"] { border: 1px solid #e0e0e0; border-radius: 4px; padding: 5px 10px; font-size: 0.83rem; font-family: 'Helvetica Neue', Arial, sans-serif; color: #333; width: 180px; outline: none; background: #fff; }
}
.bmc-search-form input[type="search"]:focus { border-color: #750014; }
.bmc-search-form button { background: #750014; border: none; border-radius: 4px; color: #fff; font-size: 0.85rem; padding: 5px 10px; cursor: pointer; }
.bmc-search-form button:hover { background: #5c0010; }
 
/* Page hero */
.bmc-page-hero { background: linear-gradient(135deg, #750014 0%, #5c0010 100%); color: #fff; padding: 40px 0 36px; }
.bmc-page-hero .inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.bmc-breadcrumb { font-size: 0.78rem; margin-bottom: 10px; opacity: 0.75; }
.bmc-breadcrumb a { color: #fff !important; text-decoration: none !important; }
.bmc-breadcrumb .sep { margin: 0 6px; }
.bmc-page-hero h1 { font-size: 2rem !important; font-weight: 700 !important; letter-spacing: -0.5px !important; color: #fff !important; margin: 0 !important; border: none !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.bmc-hero-links { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; margin-top: 4px !important; }
.bmc-hero-link { color: #fff !important; background: rgba(255,255,255,0.15) !important; border: 1px solid rgba(255,255,255,0.38) !important; border-radius: 20px !important; padding: 6px 16px !important; font-size: 0.85rem !important; font-weight: 500 !important; text-decoration: none !important; transition: background 0.18s ease, border-color 0.18s ease !important; white-space: nowrap !important; }
.bmc-hero-link:hover { background: rgba(255,255,255,0.28) !important; border-color: rgba(255,255,255,0.65) !important; text-decoration: none !important; }


.bmc-badge-blue {
/* Page layout */
  background: #e8f4fd;
.bmc-page-layout { max-width: 1140px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
  color: #1a6fa8;
}


.bmc-badge-green {
/* Sidebar */
  background: #e8f9ef;
.bmc-sidebar { position: sticky; top: 84px; align-self: start; }
  color: #1a8042;
.bmc-toc { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 20px; }
}
.bmc-toc h3 { font-size: 0.78rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; color: #999 !important; margin-bottom: 12px !important; border: none !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.bmc-toc ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.bmc-toc ul li { margin-bottom: 2px !important; }
.bmc-toc ul li a { font-size: 0.82rem !important; color: #444 !important; padding: 4px 8px !important; display: block !important; border-radius: 4px !important; text-decoration: none !important; transition: background 0.12s, color 0.12s; }
.bmc-toc ul li a:hover { background: #f0e8ea !important; color: #750014 !important; text-decoration: none !important; }
.bmc-toc ul li.bmc-sub a { padding-left: 20px !important; color: #666 !important; font-size: 0.78rem !important; }


.bmc-badge-gray {
/* Content */
  background: #f0f0f0;
.bmc-content { min-width: 0; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.9rem; line-height: 1.6; color: #333; }
  color: #555;
.bmc-content h2 { font-size: 1.35rem !important; font-weight: 700 !important; color: #1a1a1a !important; padding-bottom: 10px !important; border-bottom: 2px solid #750014 !important; border-left: none !important; border-top: none !important; border-right: none !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; margin: 48px 0 18px !important; letter-spacing: -0.2px !important; scroll-margin-top: 88px !important; }
}
.bmc-content h2:first-child { margin-top: 0 !important; }
.bmc-content h3 { font-size: 1rem !important; font-weight: 600 !important; color: #1a1a1a !important; margin: 28px 0 10px !important; scroll-margin-top: 88px !important; }
.bmc-content p { margin-bottom: 14px; font-size: 0.9rem; color: #333; }
.bmc-content p:last-child { margin-bottom: 0; }
.bmc-content ul, .bmc-content ol { margin: 0 0 14px 22px; color: #333; }
.bmc-content li { margin-bottom: 4px; }


/* Edit bar — shown to logged-in users at top of content area */
.bmc-edit-bar { display: flex !important; gap: 12px !important; justify-content: flex-end !important; padding: 6px 0 10px !important; border-bottom: 1px solid #e8e8e8 !important; margin-bottom: 16px !important; }
.bmc-edit-bar a { font-size: 0.78rem !important; color: #750014 !important; text-decoration: none !important; font-weight: 500 !important; }
.bmc-edit-bar a:hover { text-decoration: underline !important; }


/* ── 13. Step List ──────────────────────────────────────────── */
/* Responsive (bmc shell) */
/* Usage: <div class="bmc-steps"><div class="bmc-step">...</div></div> */
@media (max-width: 860px) {
.bmc-steps {
  .bmc-page-layout { grid-template-columns: 1fr; }
   margin: 16px 0 24px;
  .bmc-sidebar { position: static; }
  #footer { flex-wrap: wrap; }
   #footer .bmc-footer-col { flex: 1 1 45%; }
}
}
 
@media (max-width: 580px) {
.bmc-step {
  #footer .bmc-footer-col { flex: 1 1 100%; }
  display: flex;
   .bmc-nav > ul { display: none !important; }
  gap: 16px;
   .bmc-page-hero h1 { font-size: 1.5rem !important; }
   padding: 14px 0;
   border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}
}


.bmc-step:last-child { border-bottom: none; }
/* ── Content overrides: clean up main-page legacy styling ─── */


.bmc-step-num {
/* Hide the BMC header/logo sticker images (JS handles this by src; CSS is a fallback) */
  flex-shrink: 0;
img[src*="BMC_Header"],
  width: 28px;
img[src*="bmc_logo_square"],
  height: 28px;
img[src*="Bmc_logo"] {
  background: var(--bmc-crimson);
   display: none !important;
  color: #fff;
  border-radius: 50%;
   display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}
}


.bmc-step-content { flex: 1; }
/* Keep header background even if inline style is present */
.bmc-step-content strong { font-size: 0.88rem; color: var(--bmc-text); }
.wikitable th[style*="background"] { background: #750014 !important; }
.bmc-step-content p { font-size: 0.82rem; color: #555; margin: 4px 0 0; }


/* ── Layout tables (non-wikitable): clean up legacy styling ──── */
/* The wiki uses plain tables (no .wikitable) for service grids and
  column layouts. Keep them as standard HTML tables — do NOT flex —
  but replace the legacy black borders with subtle card styling.      */


/* ── 14. Contact Block ──────────────────────────────────────── */
/* Outer layout table: remove legacy table-level border/background */
.bmc-contact-block {
.bmc-content .mw-parser-output > table:not(.wikitable):not(.navbox):not(.infobox) {
  background: var(--bmc-bg-card);
   border: none !important;
  border: 1px solid var(--bmc-border);
   background: transparent !important;
   border-radius: 8px;
   width: 100% !important;
   padding: 22px 24px;
   max-width: 100% !important;
   display: flex;
   border-collapse: separate !important;
   gap: 40px;
   border-spacing: 6px !important;
   flex-wrap: wrap;
   margin-bottom: 24px !important;
   font-size: 0.85rem;
   font-family: var(--bmc-font);
}
}


.bmc-contact-item { display: flex; flex-direction: column; gap: 3px; }
/* Layout cells with inline border (service grid cards) */
 
.bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"] {
.bmc-contact-item .label {
   border: 1px solid #e8e8e8 !important;
   font-size: 0.72rem;
   border-radius: 6px !important;
   font-weight: 700;
   padding: 18px 20px !important;
   text-transform: uppercase;
   vertical-align: top !important;
   letter-spacing: 0.07em;
   background: #ffffff !important;
   color: #999;
  transition: background 0.18s ease !important;
}
}


.bmc-contact-item .value {
/* Section-header cells (Assisted Services / Walkup / Informatics) — colspan rows */
   color: var(--bmc-text);
.bmc-content .mw-parser-output > table:not(.wikitable) td[colspan][style*="border"] {
   font-weight: 500;
   background: transparent !important;
  border-radius: 6px !important;
  padding: 10px 16px !important;
   text-align: left !important;
}
}


.bmc-contact-item a { color: var(--bmc-crimson); }
/* Inner nested tables inside service cards — strip borders (non-wikitable only) */
 
.bmc-content .mw-parser-output td > table:not(.wikitable) {
 
  border: none !important;
/* ── 15. Tab Panel System ───────────────────────────────────── */
   background: transparent !important;
/* Used on pricing page. JS activates these.                     */
   border-spacing: 0 !important;
/* Usage: wrap sections in <div class="tab-panel" id="tab-NAME"> */
   width: 100% !important;
 
.tab-bar-wrap {
   background: linear-gradient(135deg, var(--bmc-crimson) 0%, var(--bmc-crimson-dark) 100%);
   border-bottom: 3px solid rgba(0, 0, 0, 0.15);
   margin-bottom: 0;
}
}
 
.bmc-content .mw-parser-output td > table:not(.wikitable) td {
.tab-bar {
   border: none !important;
  max-width: var(--bmc-max-width);
   padding: 0 !important;
   margin: 0 auto;
   background: transparent !important;
   padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
   scrollbar-width: none;
}
}


.tab-bar::-webkit-scrollbar { display: none; }
/* Service card headings: wiki uses <big><b>title</b></big> */
 
.bmc-content .mw-parser-output big b,
.tab-btn {
.bmc-content .mw-parser-output big strong {
  flex-shrink: 0;
   font-size: 1.1rem !important;
  padding: 13px 22px;
   font-weight: 700 !important;
   font-size: 0.87rem;
   color: #1a1a1a !important;
   font-weight: 500;
   display: block !important;
   color: rgba(255, 255, 255, 0.7);
   margin-bottom: 6px !important;
  background: transparent;
   font-family: 'Helvetica Neue', Arial, sans-serif !important;
   border: none;
  border-bottom: 3px solid transparent;
   margin-bottom: -3px;
   cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  border-radius: 4px 4px 0 0;
  font-family: var(--bmc-font);
}
}


.tab-btn:hover {
/* Lists inside service cards */
   color: #fff;
.bmc-content .mw-parser-output > table:not(.wikitable) ul,
   background: rgba(255, 255, 255, 0.08);
.bmc-content .mw-parser-output > table:not(.wikitable) li {
  font-size: 1rem !important;
   color: #444 !important;
   margin-bottom: 3px !important;
}
}


.tab-btn.active {
/* Plain layout cells without border (e.g. News page columns) */
   color: #fff;
.bmc-content .mw-parser-output > table:not(.wikitable) td:not([style*="border"]) {
   font-weight: 600;
   border: none !important;
   background: rgba(255, 255, 255, 0.12);
   padding: 6px 8px !important;
   border-bottom-color: #fff;
   vertical-align: top !important;
   background: transparent !important;
}
}


.tab-panel { display: none; }
/* ── Home page: service card hover-to-reveal bullet lists ───────── */
.tab-panel.active { display: block; }


/* ▾ indicator on card headings — signals the heading is interactive */
.bmc-home .bmc-content .mw-parser-output big b::after,
.bmc-home .bmc-content .mw-parser-output big strong::after {
  content: ' ▾';
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover big b::after,
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover big strong::after {
  opacity: 0.75;
}


/* ── 16. Footer ─────────────────────────────────────────────── */
/* Grey background on hover for home page service cards */
.vector-footer,
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover {
#footer {
   background: #f0f0f0 !important;
  background: #1a1a1a !important;
  color: #aaa !important;
  padding: 40px 0 !important;
  font-size: 0.82rem;
  font-family: var(--bmc-font);
   border-top: none !important;
}
}


.vector-footer a,
/* No ▾ arrow on cards that have no expandable list */
#footer a {
.bmc-home .bmc-content .mw-parser-output big b.bmc-no-list::after,
   color: #aaa !important;
.bmc-home .bmc-content .mw-parser-output big strong.bmc-no-list::after {
  text-decoration: none;
   content: none !important;
}
}
 
/* No ▾ arrow on headings inside the service browser panels */
.vector-footer a:hover,
.bmc-panel-item big b::after,
#footer a:hover {
.bmc-panel-item big strong::after {
   color: #fff !important;
   content: none !important;
  text-decoration: none;
}
}


.vector-footer-container,
/* Hide bullet lists inside service cards by default */
#footer-info,
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"] ul {
#footer-places {
   max-height: 0 !important;
   max-width: var(--bmc-max-width) !important;
  overflow: hidden !important;
   margin: 0 auto !important;
  opacity: 0 !important;
   padding: 0 24px !important;
  margin-top: 0 !important;
   margin-bottom: 0 !important;
   transition: max-height 0.32s ease, opacity 0.25s ease !important;
}
}


/* Footer category headings */
/* Slide down and fade in on card hover */
.vector-footer h4,
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover ul {
.vector-footer .mw-portlet-lang > h3,
   max-height: 400px !important;
#footer h4 {
   opacity: 1 !important;
  font-size: 0.75rem;
   margin-top: 6px !important;
  font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.08em;
  color: #fff !important;
   margin-bottom: 12px;
}
}


/* Footer link lists */
/* Home page overview dropdown */
.vector-footer ul { list-style: none; }
.vector-footer ul li { margin-bottom: 6px; }


/* ── Home page: service browser ─────────────────────────── */
.bmc-service-browser {
  display: flex;
  gap: 20px;
  margin: 0 0 32px;
  align-items: flex-start;
  min-height: 220px;
}
.bmc-category-list {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* margin-left set by JS; transition added by JS after first paint */
}
.bmc-browser-active .bmc-category-list {
  flex-basis: 230px;
}
.bmc-category-btn {
  padding: 18px 22px !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  text-align: left !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  transition: background 0.15s, border-color 0.15s !important;
  width: 100% !important;
}
.bmc-category-btn:hover { background: #f0f0f0 !important; }
.bmc-category-btn.bmc-cat-active {
  border-color: #750014 !important;
  color: #750014 !important;
}
.bmc-category-panels {
  flex: 1;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.38s ease, opacity 0.28s ease 0.15s;
}
.bmc-browser-active .bmc-category-panels {
  max-width: 1000px;
  opacity: 1;
}
.bmc-category-panel { display: none; border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; }
.bmc-category-panel.bmc-panel-visible { display: block; }
.bmc-panel-items { padding: 4px 0 !important; }
.bmc-panel-item {
  padding: 10px 20px !important;
  border-bottom: 1px solid #f5f5f5 !important;
  font-size: 1rem !important;
  color: #333 !important;
}
.bmc-panel-item:last-child { border-bottom: none !important; }
/* Force uniform 1rem on every inline element inside panel items and sublists */
.bmc-panel-item *, .bmc-panel-sublist * {
  font-size: 1rem !important;
}
/* Reset block display from general big b rules so injected HTML renders inline */
.bmc-panel-item big, .bmc-panel-item b, .bmc-panel-item strong {
  display: inline !important;
  font-size: 1rem !important;
  margin: 0 !important;
}
.bmc-panel-item a {
  color: #333 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
.bmc-panel-item a:hover {
  color: #750014 !important;
  text-decoration: underline !important;
}.mw-parser-output .bmc-panel-sublist {
  margin: 0 !important;
  padding: 6px 0 4px 20px !important;
  list-style-type: disc !important;
  list-style-position: outside !important;
}
.mw-parser-output .bmc-panel-sublist li {
  font-size: 1rem !important;
  color: #555 !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  display: list-item !important;
  list-style-type: disc !important;
}
@media ( max-width: 640px ) {
  .bmc-service-browser { flex-direction: column !important; min-height: 0 !important; }
  .bmc-category-list { flex-basis: auto !important; width: 100% !important; margin-left: 0 !important; }
  .bmc-category-panels { max-width: 100% !important; opacity: 1 !important; }
}


/* ── 17. Responsive ─────────────────────────────────────────── */
/* ── Pricing page: flex-based table layout ──────────────────
@media screen and (max-width: 860px) {
  Converts every .wikitable on the Pricing page to a flex
   .bmc-grid-2,
  row model so header cells and data cells always align.
   .bmc-grid-3,
  colspan cells get flex-grow set by JS (step 11) to span
   .bmc-grid-4 {
  the correct number of columns proportionally.            */
     grid-template-columns: 1fr;
.bmc-pricing .wikitable {
   }
  display: block !important;
 
  overflow-x: auto !important;
   h1.firstHeading { font-size: 1.6rem !important; }
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-radius: 6px !important;
  border: 1px solid #e0e0e0 !important;
   margin: 1em 0 !important;
}
.bmc-pricing .wikitable thead,
.bmc-pricing .wikitable tbody,
.bmc-pricing .wikitable tfoot {
  display: block !important;
  width: 100% !important;
}
.bmc-pricing .wikitable tr {
  display: flex !important;
  width: 100% !important;
   border-bottom: 1px solid #e0e0e0 !important;
}
.bmc-pricing .wikitable tr:last-child {
   border-bottom: none !important;
}
.bmc-pricing .wikitable th,
.bmc-pricing .wikitable td {
  display: block !important;
  flex: 1 1 0% !important;     /* overridden per-cell by JS for colspan */
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: none !important;
  border-right: 1px solid rgba(255,255,255,0.18) !important;
  border-bottom: none !important;
  padding: 13px 18px !important;
  white-space: normal !important;
   overflow-wrap: break-word !important;
  word-break: normal !important;
   vertical-align: top !important;
}
.bmc-pricing .wikitable td {
  border-right-color: #f0f0f0 !important;
  background: #fff !important;
  font-size: 0.875rem !important;
  color: #222 !important;
  line-height: 1.5 !important;
}
.bmc-pricing .wikitable th:last-child,
.bmc-pricing .wikitable td:last-child {
  border-right: none !important;
}
}
 
/* Section-description spanning rows stay grey-tinted */
@media screen and (max-width: 580px) {
.bmc-pricing .wikitable td[colspan] {
   h1.firstHeading { font-size: 1.4rem !important; }
   background: #f5f5f5 !important;
 
   color: #444 !important;
   .bmc-contact-block {
   font-size: 0.82rem !important;
    flex-direction: column;
    gap: 16px;
   }
 
  .tab-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}
}

Latest revision as of 14:41, 24 June 2026

/* ============================================================
   BioMicro Center Wiki — CSS-only modern UI
   Paste into: User:USERNAME/common.css
   Targets: MediaWiki Vector (legacy) skin
   Mimics: about.html design without requiring JavaScript
   ============================================================ */

/* ── Base & Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* Universal sans-serif — covers every element MW might leave in a serif/system font */
body.bmc-active, body.bmc-active * { font-family: 'Helvetica Neue', Arial, sans-serif !important; }
body.bmc-active code, body.bmc-active pre, body.bmc-active kbd,
body.bmc-active tt, body.bmc-active samp { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important; }

body, html {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #1a1a1a !important;
  background: #f4f4f4 !important;
  line-height: 1.6 !important;
  font-size: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

a { color: #750014 !important; text-decoration: none !important; }
a:hover { text-decoration: underline !important; color: #5c0010 !important; }

/* ── Contact topbar (CSS pseudo-element, decorative) ─────────── */
/* Shows contact info as a red strip above the header */
#mw-page-base {
  background: #750014 !important;
  height: 32px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 200 !important;
}

#mw-page-base::after {
  content: "biomicro@mit.edu  ·  617-715-4533  ·  Building 68-322";
  display: block;
  text-align: right;
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 7px 28px;
  letter-spacing: 0.02em;
}

/* ── Header (#mw-head) ──────────────────────────────────────── */
#mw-head {
  background: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
  height: 60px !important;
  top: 32px !important; /* sit below the red topbar */
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 150 !important;
}

#mw-head-base {
  height: 92px !important; /* 32px topbar + 60px header */
  background: #fff !important;
}

/* Page tabs (Read / Edit / History) */
#left-navigation {
  margin-left: 0 !important;
}
#left-navigation li a,
#right-navigation li a {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: #555 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  transition: background 0.15s, color 0.15s !important;
}
#left-navigation li.selected a,
#left-navigation li a:hover,
#right-navigation li a:hover {
  background: #f5f5f5 !important;
  color: #750014 !important;
  border: none !important;
}

/* Search box in header */
#p-search {
  margin-top: 14px !important;
}
#searchInput {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  padding: 5px 10px !important;
  font-size: 0.83rem !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #333 !important;
  width: 180px !important;
  outline: none !important;
  transition: border-color 0.15s !important;
  background: #fff !important;
}
#searchInput:focus { border-color: #750014 !important; }
#searchButton, #mw-searchButton {
  background: #750014 !important;
  border: none !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-size: 0.83rem !important;
  padding: 5px 10px !important;
  cursor: pointer !important;
  margin-left: 4px !important;
}

/* Personal tools (login/logout) */
#p-personal li a {
  font-size: 0.8rem !important;
  color: #666 !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}
#p-personal li a:hover { color: #750014 !important; }

/* ── Logo & Sidebar container (#mw-navigation) ──────────────── */
#mw-navigation {
  background: #fff !important;
  border-right: 1px solid #e8e8e8 !important;
  top: 92px !important; /* below topbar + header */
  position: fixed !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 180px !important;
  overflow-y: auto !important;
  z-index: 100 !important;
}

/* Logo area */
#p-logo {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 20px 16px 16px !important;
  border-bottom: 1px solid #e8e8e8 !important;
}

/* Hide the actual logo image; replace with CSS text badge */
#p-logo a {
  background-image: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  height: auto !important;
  width: auto !important;
  float: none !important;
}

#p-logo a::before {
  content: "BMC";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #750014;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  letter-spacing: -0.5px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

#p-logo a::after {
  content: "MIT BioMicro Center";
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.3;
  letter-spacing: -0.1px;
}

/* ── Sidebar navigation portlets (#mw-panel) ─────────────────── */
#mw-panel {
  position: static !important;
  width: auto !important;
  float: none !important;
  padding: 12px 0 !important;
  background: transparent !important;
}

.portlet,
.mw-portlet {
  margin: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  background: transparent !important;
}

/* Portlet headings */
.portlet h3,
.mw-portlet-heading,
div.portlet h3 {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #999 !important;
  padding: 10px 16px 4px !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
}

/* Portlet links */
.portlet li,
.mw-portlet-body li {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border: none !important;
}
.portlet li a,
.mw-portlet-body li a {
  display: block !important;
  padding: 5px 16px !important;
  font-size: 0.82rem !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  color: #444 !important;
  border-radius: 4px !important;
  margin: 0 6px !important;
  transition: background 0.12s, color 0.12s !important;
  text-decoration: none !important;
}
.portlet li a:hover,
.mw-portlet-body li a:hover {
  background: #f0e8ea !important;
  color: #750014 !important;
  text-decoration: none !important;
}

/* ── Main content area (#content) ───────────────────────────── */
#content,
#mw-content-wrapper {
  margin-left: 180px !important; /* match sidebar width */
  margin-top: 92px !important;   /* topbar 32 + header 60 */
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  float: none !important;
  min-height: calc(100vh - 92px) !important;
}

/* Hide MediaWiki "From bmcwiki..." subtitle */
#siteSub,
#contentSub { display: none !important; }

/* ── Page Hero: style #firstHeading as the about.html hero ───── */
#firstHeading,
.mw-first-heading {
  background: linear-gradient(135deg, #750014 0%, #5c0010 100%) !important;
  color: #fff !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  padding: 36px 40px 32px !important;
  margin: 0 !important;
  border: none !important;
  width: 100% !important;
  display: block !important;
}

/* Breadcrumb "Home ›" before the title */
#firstHeading::before {
  content: "Home  ›";
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  letter-spacing: 0;
}

/* ── Body content area ──────────────────────────────────────── */
#bodyContent {
  padding: 36px 40px 60px !important;
  max-width: 860px !important;
  background: #fff !important;
}

/* ── Typography ─────────────────────────────────────────────── */
.mw-parser-output {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

.mw-parser-output h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #750014 !important;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 40px 0 16px !important;
  letter-spacing: -0.2px !important;
  scroll-margin-top: 100px !important;
}
.mw-parser-output h2:first-child { margin-top: 0 !important; }

.mw-parser-output h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 24px 0 8px !important;
}

.mw-parser-output h4 {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 16px 0 6px !important;
  letter-spacing: -0.1px !important;
}

.mw-parser-output p {
  margin-bottom: 14px !important;
  color: #333 !important;
}

.mw-parser-output ul,
.mw-parser-output ol {
  margin: 0 0 14px 22px !important;
  color: #333 !important;
}
.mw-parser-output li { margin-bottom: 4px !important; }

/* ── TOC (Table of Contents) ────────────────────────────────── */
#toc, .toc {
  background: #f9f9f9 !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  padding: 18px 20px !important;
  display: inline-block !important;
  min-width: 200px !important;
  font-size: 0.82rem !important;
  float: none !important;
  margin: 0 0 28px !important;
}
.toctitle h2,
#toc .toctitle h2 {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #999 !important;
  margin-bottom: 10px !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
#toc ul, .toc ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#toc ul li, .toc ul li { margin: 0 0 2px !important; }
#toc ul li a, .toc ul li a {
  font-size: 0.82rem !important;
  color: #444 !important;
  padding: 3px 8px !important;
  display: block !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background 0.12s, color 0.12s !important;
}
#toc ul li a:hover, .toc ul li a:hover {
  background: #f0e8ea !important;
  color: #750014 !important;
  text-decoration: none !important;
}
/* Sub-items */
#toc ul ul li a, .toc ul ul li a {
  padding-left: 18px !important;
  font-size: 0.78rem !important;
  color: #666 !important;
}

/* ── Edit section links ──────────────────────────────────────── */
.mw-editsection { display: inline !important; }
.mw-editsection a {
  font-size: 0.72rem !important;
  color: #999 !important;
  margin-left: 8px !important;
}
.mw-editsection a:hover { color: #750014 !important; }
.mw-editsection-bracket { color: #ddd !important; }

/* ── Tables ─────────────────────────────────────────────────── */
/* Scoped to .wikitable only — layout tables (no class) handled separately below */

.wikitable {
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 1em 0 !important;
  font-size: 0.875rem !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  border: none !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #fff !important;
  table-layout: auto !important;
}
.wikitable th {
  background: #750014 !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 13px 18px !important;
  text-align: left !important;
  border: none !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  line-height: 1.4 !important;
}
.wikitable td {
  padding: 12px 18px !important;
  border: none !important;
  border-bottom: 1px solid #e0e0e0 !important;
  vertical-align: top !important;
  color: #222 !important;
  font-size: 0.875rem !important;
  text-align: left !important;
  line-height: 1.5 !important;
  background: #fff !important;
  overflow-wrap: break-word !important;
}
/* Row separator */
.wikitable tr:last-child td { border-bottom: none !important; }
/* Section-description rows (colspan td used as sub-headers in Pricing tables) */
.wikitable td[colspan] {
  background: #f5f5f5 !important;
  color: #444 !important;
  font-size: 0.82rem !important;
  text-align: left !important;
  line-height: 1.5 !important;
}
/* Links inside table cells */
.wikitable td a { color: #750014 !important; }
.wikitable td a:hover { color: #750014 !important; text-decoration: underline !important; }

/* Images inside table cells */
.wikitable td img {
  max-width: 160px !important;
  height: auto !important;
  display: block !important;
  margin: 6px 0 8px !important;
}

/* Paragraphs inside table cells */
.wikitable td p {
  margin: 0 0 6px !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: #222 !important;
}
.wikitable td p:last-child { margin-bottom: 0 !important; }

/* ── Code ───────────────────────────────────────────────────── */
.mw-parser-output code,
.mw-parser-output pre,
.mw-parser-output tt {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
  background: #f4f4f4 !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 4px !important;
  font-size: 0.85rem !important;
}
.mw-parser-output code,
.mw-parser-output tt { padding: 1px 5px !important; }
.mw-parser-output pre { padding: 12px 16px !important; overflow-x: auto !important; }

/* ── Component classes (wiki editors add these to markup) ────── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}
.service-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card:hover { border-color: #c8a0a8; box-shadow: 0 2px 10px rgba(117,0,20,0.07); }
.service-card h4 { font-size: 0.88rem !important; font-weight: 700 !important; color: #1a1a1a !important; margin-bottom: 6px !important; }
.service-card p { font-size: 0.82rem !important; color: #555 !important; margin: 0 !important; line-height: 1.5 !important; }

.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.staff-card { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px 18px; }
.staff-card .staff-name { font-size: 0.88rem; font-weight: 700; color: #1a1a1a; display: block; }
.staff-card .staff-role { font-size: 0.78rem; color: #666; margin-top: 3px; line-height: 1.4; display: block; }
.staff-card.director { grid-column: 1 / -1; background: #fdf5f6; border-color: #d4a0a8; display: flex; align-items: center; gap: 18px; }
.director-badge { width: 44px; height: 44px; background: #750014; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.staff-card.director .staff-name { font-size: 1rem !important; }
.staff-card.director .staff-role { font-size: 0.82rem !important; color: #444 !important; font-weight: 500; }

.pub-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.pub-list li { padding: 14px 0 !important; border-bottom: 1px solid #f0f0f0 !important; font-size: 0.85rem !important; }
.pub-list li:last-child { border-bottom: none !important; }
.pub-list .pub-lab { font-weight: 700; color: #1a1a1a; display: block; }
.pub-list .pub-desc { color: #444; margin-top: 3px; line-height: 1.5; display: block; }
.pub-list .pub-cite { display: inline-block; margin-top: 5px; font-size: 0.75rem; background: #f0f0f0; color: #555; padding: 2px 8px; border-radius: 10px; }

.affil-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 24px; }
.affil-card { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px 18px; }
.affil-card .affil-name { font-size: 0.85rem; font-weight: 700; color: #1a1a1a; display: block; }
.affil-card .affil-rep { font-size: 0.78rem; color: #666; margin-top: 4px; display: block; }

.note { background: #fdf6f0; border-left: 3px solid #e07b39; padding: 10px 14px; border-radius: 0 6px 6px 0; font-size: 0.82rem; color: #555; margin: 12px 0 18px; }
.note strong { color: #1a1a1a; }
.note.note-info { background: #f0f6ff; border-left-color: #3b7dd8; }

.contact-block { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 22px 24px; display: flex; gap: 40px; flex-wrap: wrap; font-size: 0.85rem; }
.contact-item { display: flex; flex-direction: column; gap: 3px; }
.contact-item .label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #999; }
.contact-item .value { color: #1a1a1a; font-weight: 500; }
.contact-item a { color: #750014 !important; }

/* ── Footer ─────────────────────────────────────────────────── */
#footer {
  background: #1a1a1a !important;
  color: #aaa !important;
  font-size: 0.82rem !important;
  display: flex !important;
  gap: 32px !important;
  padding: 40px 24px 0 !important;
  margin-top: 48px !important;
  border-top: 3px solid #750014 !important;
}
#footer .bmc-footer-col { flex: 1 1 0; min-width: 0; }
#footer h4 { font-size: 0.75rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; color: #fff !important; margin: 0 0 12px !important; border: none !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
#footer ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#footer ul li { margin-bottom: 6px !important; padding: 0 !important; }
#footer a { color: #aaa !important; text-decoration: none !important; }
#footer a:hover { color: #fff !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  #mw-navigation {
    position: static !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
  }
  #content, #mw-content-wrapper {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
  #footer { margin-left: 0 !important; }
  .service-grid, .staff-grid, .affil-grid { grid-template-columns: 1fr !important; }
  .contact-block { flex-direction: column !important; gap: 16px !important; }
}

/* ── Hide original MW chrome once the BMC wrapper is injected ── */
/* common.js adds .bmc-active to <body> after injecting #bmc-wrapper,
   so this only fires on view pages, leaving edit/special pages intact.
   The child selector hides ALL original MW elements regardless of skin
   version (Vector legacy, Vector 2022, etc.) without needing to list
   every possible ID.                                                    */
body.bmc-active > *:not(#bmc-wrapper):not(script):not(style) {
  display: none !important;
}

/* ── BMC Shell (injected by common.js) ─────────────────────── */

#bmc-wrapper {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

/* Topbar */
.bmc-topbar { background: #750014; color: rgba(255,255,255,0.9); font-size: 0.75rem; padding: 6px 0; text-align: right; }
.bmc-topbar .inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.bmc-topbar a { color: rgba(255,255,255,0.85) !important; text-decoration: none !important; }
.bmc-topbar a:hover { color: #fff !important; text-decoration: none !important; }
.bmc-topbar span { margin: 0 6px; opacity: 0.5; }

/* Header */
.bmc-header { background: #fff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.bmc-header-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.bmc-header-right { display: flex; align-items: center; gap: 16px; }

/* Logo */
.bmc-logo { display: flex !important; align-items: center !important; text-decoration: none !important; }
.bmc-logo-img { height: 56px !important; width: auto !important; display: block !important; }

/* Nav */
.bmc-nav { display: flex; align-items: center; }
.bmc-nav > ul { list-style: none !important; display: flex !important; gap: 2px; margin: 0 !important; padding: 0 !important; }
.bmc-nav > ul > li { position: relative; }
.bmc-nav > ul > li > a { display: block !important; padding: 8px 14px !important; font-size: 0.85rem !important; font-weight: 500 !important; color: #333 !important; border-radius: 4px !important; white-space: nowrap; transition: background 0.15s, color 0.15s; text-decoration: none !important; background: transparent !important; border: none !important; }
.bmc-nav > ul > li > a:hover { background: #f5f5f5 !important; color: #750014 !important; text-decoration: none !important; }
.bmc-nav > ul > li.bmc-active > a { background: transparent !important; color: #750014 !important; text-decoration: none !important; }
.bmc-nav > ul > li.bmc-active > a:hover { background: #f5f5f5 !important; }

/* Dropdown */
.bmc-dropdown { position: relative; }
.bmc-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; opacity: 0.6; }
.bmc-dropdown-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.10); min-width: 200px; padding: 6px 0; z-index: 200; }
.bmc-dropdown-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; background: transparent; }
.bmc-dropdown:hover .bmc-dropdown-menu { display: block; }
.bmc-dropdown-menu a { display: block !important; padding: 8px 18px !important; font-size: 0.83rem !important; color: #333 !important; white-space: nowrap; text-decoration: none !important; background: transparent !important; transition: background 0.12s; }
.bmc-dropdown-menu a:hover { background: #faf0f0 !important; color: #750014 !important; text-decoration: none !important; }
.bmc-divider { border-top: 1px solid #eee; margin: 4px 0; }
.bmc-group-label { padding: 6px 18px 2px; font-size: 0.7rem; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }

/* Logged-in username display */
.bmc-user-info {
  font-size: 0.8rem;
  color: #555;
  font-weight: 500;
  white-space: nowrap;
  padding-left: 12px;
  border-left: 1px solid #e0e0e0;
  margin-left: 4px;
}

/* Search form */
.bmc-search-form { display: flex; align-items: center; gap: 4px; }
.bmc-search-form input[type="search"] { border: 1px solid #e0e0e0; border-radius: 4px; padding: 5px 10px; font-size: 0.83rem; font-family: 'Helvetica Neue', Arial, sans-serif; color: #333; width: 180px; outline: none; background: #fff; }
.bmc-search-form input[type="search"]:focus { border-color: #750014; }
.bmc-search-form button { background: #750014; border: none; border-radius: 4px; color: #fff; font-size: 0.85rem; padding: 5px 10px; cursor: pointer; }
.bmc-search-form button:hover { background: #5c0010; }

/* Page hero */
.bmc-page-hero { background: linear-gradient(135deg, #750014 0%, #5c0010 100%); color: #fff; padding: 40px 0 36px; }
.bmc-page-hero .inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.bmc-breadcrumb { font-size: 0.78rem; margin-bottom: 10px; opacity: 0.75; }
.bmc-breadcrumb a { color: #fff !important; text-decoration: none !important; }
.bmc-breadcrumb .sep { margin: 0 6px; }
.bmc-page-hero h1 { font-size: 2rem !important; font-weight: 700 !important; letter-spacing: -0.5px !important; color: #fff !important; margin: 0 !important; border: none !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.bmc-hero-links { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; margin-top: 4px !important; }
.bmc-hero-link { color: #fff !important; background: rgba(255,255,255,0.15) !important; border: 1px solid rgba(255,255,255,0.38) !important; border-radius: 20px !important; padding: 6px 16px !important; font-size: 0.85rem !important; font-weight: 500 !important; text-decoration: none !important; transition: background 0.18s ease, border-color 0.18s ease !important; white-space: nowrap !important; }
.bmc-hero-link:hover { background: rgba(255,255,255,0.28) !important; border-color: rgba(255,255,255,0.65) !important; text-decoration: none !important; }

/* Page layout */
.bmc-page-layout { max-width: 1140px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; }

/* Sidebar */
.bmc-sidebar { position: sticky; top: 84px; align-self: start; }
.bmc-toc { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 20px; }
.bmc-toc h3 { font-size: 0.78rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; color: #999 !important; margin-bottom: 12px !important; border: none !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.bmc-toc ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.bmc-toc ul li { margin-bottom: 2px !important; }
.bmc-toc ul li a { font-size: 0.82rem !important; color: #444 !important; padding: 4px 8px !important; display: block !important; border-radius: 4px !important; text-decoration: none !important; transition: background 0.12s, color 0.12s; }
.bmc-toc ul li a:hover { background: #f0e8ea !important; color: #750014 !important; text-decoration: none !important; }
.bmc-toc ul li.bmc-sub a { padding-left: 20px !important; color: #666 !important; font-size: 0.78rem !important; }

/* Content */
.bmc-content { min-width: 0; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 0.9rem; line-height: 1.6; color: #333; }
.bmc-content h2 { font-size: 1.35rem !important; font-weight: 700 !important; color: #1a1a1a !important; padding-bottom: 10px !important; border-bottom: 2px solid #750014 !important; border-left: none !important; border-top: none !important; border-right: none !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; margin: 48px 0 18px !important; letter-spacing: -0.2px !important; scroll-margin-top: 88px !important; }
.bmc-content h2:first-child { margin-top: 0 !important; }
.bmc-content h3 { font-size: 1rem !important; font-weight: 600 !important; color: #1a1a1a !important; margin: 28px 0 10px !important; scroll-margin-top: 88px !important; }
.bmc-content p { margin-bottom: 14px; font-size: 0.9rem; color: #333; }
.bmc-content p:last-child { margin-bottom: 0; }
.bmc-content ul, .bmc-content ol { margin: 0 0 14px 22px; color: #333; }
.bmc-content li { margin-bottom: 4px; }

/* Edit bar — shown to logged-in users at top of content area */
.bmc-edit-bar { display: flex !important; gap: 12px !important; justify-content: flex-end !important; padding: 6px 0 10px !important; border-bottom: 1px solid #e8e8e8 !important; margin-bottom: 16px !important; }
.bmc-edit-bar a { font-size: 0.78rem !important; color: #750014 !important; text-decoration: none !important; font-weight: 500 !important; }
.bmc-edit-bar a:hover { text-decoration: underline !important; }

/* Responsive (bmc shell) */
@media (max-width: 860px) {
  .bmc-page-layout { grid-template-columns: 1fr; }
  .bmc-sidebar { position: static; }
  #footer { flex-wrap: wrap; }
  #footer .bmc-footer-col { flex: 1 1 45%; }
}
@media (max-width: 580px) {
  #footer .bmc-footer-col { flex: 1 1 100%; }
  .bmc-nav > ul { display: none !important; }
  .bmc-page-hero h1 { font-size: 1.5rem !important; }
}

/* ── Content overrides: clean up main-page legacy styling ─── */

/* Hide the BMC header/logo sticker images (JS handles this by src; CSS is a fallback) */
img[src*="BMC_Header"],
img[src*="bmc_logo_square"],
img[src*="Bmc_logo"] {
  display: none !important;
}

/* Keep header background even if inline style is present */
.wikitable th[style*="background"] { background: #750014 !important; }

/* ── Layout tables (non-wikitable): clean up legacy styling ──── */
/* The wiki uses plain tables (no .wikitable) for service grids and
   column layouts. Keep them as standard HTML tables — do NOT flex —
   but replace the legacy black borders with subtle card styling.      */

/* Outer layout table: remove legacy table-level border/background */
.bmc-content .mw-parser-output > table:not(.wikitable):not(.navbox):not(.infobox) {
  border: none !important;
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 6px !important;
  margin-bottom: 24px !important;
}

/* Layout cells with inline border (service grid cards) */
.bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"] {
  border: 1px solid #e8e8e8 !important;
  border-radius: 6px !important;
  padding: 18px 20px !important;
  vertical-align: top !important;
  background: #ffffff !important;
  transition: background 0.18s ease !important;
}

/* Section-header cells (Assisted Services / Walkup / Informatics) — colspan rows */
.bmc-content .mw-parser-output > table:not(.wikitable) td[colspan][style*="border"] {
  background: transparent !important;
  border-radius: 6px !important;
  padding: 10px 16px !important;
  text-align: left !important;
}

/* Inner nested tables inside service cards — strip borders (non-wikitable only) */
.bmc-content .mw-parser-output td > table:not(.wikitable) {
  border: none !important;
  background: transparent !important;
  border-spacing: 0 !important;
  width: 100% !important;
}
.bmc-content .mw-parser-output td > table:not(.wikitable) td {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Service card headings: wiki uses <big><b>title</b></big> */
.bmc-content .mw-parser-output big b,
.bmc-content .mw-parser-output big strong {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  display: block !important;
  margin-bottom: 6px !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
}

/* Lists inside service cards */
.bmc-content .mw-parser-output > table:not(.wikitable) ul,
.bmc-content .mw-parser-output > table:not(.wikitable) li {
  font-size: 1rem !important;
  color: #444 !important;
  margin-bottom: 3px !important;
}

/* Plain layout cells without border (e.g. News page columns) */
.bmc-content .mw-parser-output > table:not(.wikitable) td:not([style*="border"]) {
  border: none !important;
  padding: 6px 8px !important;
  vertical-align: top !important;
  background: transparent !important;
}

/* ── Home page: service card hover-to-reveal bullet lists ───────── */

/* ▾ indicator on card headings — signals the heading is interactive */
.bmc-home .bmc-content .mw-parser-output big b::after,
.bmc-home .bmc-content .mw-parser-output big strong::after {
  content: ' ▾';
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover big b::after,
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover big strong::after {
  opacity: 0.75;
}

/* Grey background on hover for home page service cards */
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover {
  background: #f0f0f0 !important;
}

/* No ▾ arrow on cards that have no expandable list */
.bmc-home .bmc-content .mw-parser-output big b.bmc-no-list::after,
.bmc-home .bmc-content .mw-parser-output big strong.bmc-no-list::after {
  content: none !important;
}
/* No ▾ arrow on headings inside the service browser panels */
.bmc-panel-item big b::after,
.bmc-panel-item big strong::after {
  content: none !important;
}

/* Hide bullet lists inside service cards by default */
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"] ul {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition: max-height 0.32s ease, opacity 0.25s ease !important;
}

/* Slide down and fade in on card hover */
.bmc-home .bmc-content .mw-parser-output > table:not(.wikitable) td[style*="border"]:hover ul {
  max-height: 400px !important;
  opacity: 1 !important;
  margin-top: 6px !important;
}

/* Home page overview dropdown */

/* ── Home page: service browser ─────────────────────────── */
.bmc-service-browser {
  display: flex;
  gap: 20px;
  margin: 0 0 32px;
  align-items: flex-start;
  min-height: 220px;
}
.bmc-category-list {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* margin-left set by JS; transition added by JS after first paint */
}
.bmc-browser-active .bmc-category-list {
  flex-basis: 230px;
}
.bmc-category-btn {
  padding: 18px 22px !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  text-align: left !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  transition: background 0.15s, border-color 0.15s !important;
  width: 100% !important;
}
.bmc-category-btn:hover { background: #f0f0f0 !important; }
.bmc-category-btn.bmc-cat-active {
  border-color: #750014 !important;
  color: #750014 !important;
}
.bmc-category-panels {
  flex: 1;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.38s ease, opacity 0.28s ease 0.15s;
}
.bmc-browser-active .bmc-category-panels {
  max-width: 1000px;
  opacity: 1;
}
.bmc-category-panel { display: none; border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; }
.bmc-category-panel.bmc-panel-visible { display: block; }
.bmc-panel-items { padding: 4px 0 !important; }
.bmc-panel-item {
  padding: 10px 20px !important;
  border-bottom: 1px solid #f5f5f5 !important;
  font-size: 1rem !important;
  color: #333 !important;
}
.bmc-panel-item:last-child { border-bottom: none !important; }
/* Force uniform 1rem on every inline element inside panel items and sublists */
.bmc-panel-item *, .bmc-panel-sublist * {
  font-size: 1rem !important;
}
/* Reset block display from general big b rules so injected HTML renders inline */
.bmc-panel-item big, .bmc-panel-item b, .bmc-panel-item strong {
  display: inline !important;
  font-size: 1rem !important;
  margin: 0 !important;
}
.bmc-panel-item a {
  color: #333 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
.bmc-panel-item a:hover {
  color: #750014 !important;
  text-decoration: underline !important;
}.mw-parser-output .bmc-panel-sublist {
  margin: 0 !important;
  padding: 6px 0 4px 20px !important;
  list-style-type: disc !important;
  list-style-position: outside !important;
}
.mw-parser-output .bmc-panel-sublist li {
  font-size: 1rem !important;
  color: #555 !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  display: list-item !important;
  list-style-type: disc !important;
}
@media ( max-width: 640px ) {
  .bmc-service-browser { flex-direction: column !important; min-height: 0 !important; }
  .bmc-category-list { flex-basis: auto !important; width: 100% !important; margin-left: 0 !important; }
  .bmc-category-panels { max-width: 100% !important; opacity: 1 !important; }
}

/* ── Pricing page: flex-based table layout ──────────────────
   Converts every .wikitable on the Pricing page to a flex
   row model so header cells and data cells always align.
   colspan cells get flex-grow set by JS (step 11) to span
   the correct number of columns proportionally.             */
.bmc-pricing .wikitable {
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-radius: 6px !important;
  border: 1px solid #e0e0e0 !important;
  margin: 1em 0 !important;
}
.bmc-pricing .wikitable thead,
.bmc-pricing .wikitable tbody,
.bmc-pricing .wikitable tfoot {
  display: block !important;
  width: 100% !important;
}
.bmc-pricing .wikitable tr {
  display: flex !important;
  width: 100% !important;
  border-bottom: 1px solid #e0e0e0 !important;
}
.bmc-pricing .wikitable tr:last-child {
  border-bottom: none !important;
}
.bmc-pricing .wikitable th,
.bmc-pricing .wikitable td {
  display: block !important;
  flex: 1 1 0% !important;     /* overridden per-cell by JS for colspan */
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: none !important;
  border-right: 1px solid rgba(255,255,255,0.18) !important;
  border-bottom: none !important;
  padding: 13px 18px !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  vertical-align: top !important;
}
.bmc-pricing .wikitable td {
  border-right-color: #f0f0f0 !important;
  background: #fff !important;
  font-size: 0.875rem !important;
  color: #222 !important;
  line-height: 1.5 !important;
}
.bmc-pricing .wikitable th:last-child,
.bmc-pricing .wikitable td:last-child {
  border-right: none !important;
}
/* Section-description spanning rows stay grey-tinted */
.bmc-pricing .wikitable td[colspan] {
  background: #f5f5f5 !important;
  color: #444 !important;
  font-size: 0.82rem !important;
}