:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --page-gutter: 20px;
  --content-width: 1180px;
  --reading-width: 960px;
  --form-width: 440px;
  --nav-height: 76px;
  --ink: #0b1523;
  --muted: #5a6e85;
  --line: #e1e8ef;
  --paper: #f8fafc;
  --white: #ffffff;
  --teal: #0284c7;
  --teal-dark: #0369a1;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #091528;
  --navy-deep: #050b14;
  --gold: #d97706;
  --gold-light: #fbbf24;
  --emerald: #059669;
  --emerald-dark: #047857;
  --lime: #10b981;
  --orange: #ea580c;
  --shadow: 0 20px 45px -10px rgba(9, 21, 40, 0.12), 0 8px 20px -6px rgba(9, 21, 40, 0.08);
  --shadow-lg: 0 25px 60px -12px rgba(9, 21, 40, 0.18);
  --grad-blue-teal: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #059669 100%);
  --grad-trillion: linear-gradient(135deg, #091528 0%, #0c2340 50%, #0a3a40 100%);
  --grad-gold: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
  --accent-blue: #0284c7;
  --accent-slate: #0f172a;
  --text-secondary: #5a6e85;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.55;
}

a { color: var(--teal-dark); transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--blue); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0; }
.admin-dashboard-container { width: min(1380px, calc(100% - 32px)); padding: 16px 0; }
.dashboard-function-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:10px; margin:0 0 18px; }
.dashboard-function-tile { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; aspect-ratio:auto; min-height:148px; padding:14px; overflow:hidden; color:var(--ink); background:#fff; border:1px solid #d8e1e6; border-top:3px solid var(--accent-blue); border-radius:4px; box-shadow:0 5px 16px rgba(15,23,42,.05); text-decoration:none; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.dashboard-function-tile::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(145deg, rgba(248,251,252,.98), rgba(238,246,247,.82)); }
.dashboard-function-tile:hover { color:var(--ink); transform:translateY(-3px); border-color:#8aa9b5; box-shadow:0 16px 28px rgba(15,23,42,.13); }
.dashboard-function-tile strong { display:block; width:100%; margin-top:auto; padding-top:12px; color:#102a36; font-size:13px; line-height:1.22; overflow-wrap:anywhere; }
.dashboard-function-tile small { display:block; width:100%; min-height:2.4em; margin-top:5px; color:#607783; font-size:10px; line-height:1.3; overflow-wrap:anywhere; }
.tile-icon { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; color:white; background:var(--accent-blue); border-radius:6px; font-size:18px; line-height:1; box-shadow:0 4px 10px rgba(15,23,42,.12); }
.tile-add { border-top-color:#16a34a; } .tile-add .tile-icon { background:#16a34a; }
.tile-bulk { border-top-color:#1287a1; } .tile-bulk .tile-icon { background:#1287a1; }
.tile-category { border-top-color:#6c5ce7; } .tile-category .tile-icon { background:#6c5ce7; }
.tile-research { border-top-color:#00a884; } .tile-research .tile-icon { background:#00a884; }
.tile-vendor { border-top-color:#d97706; } .tile-vendor .tile-icon { background:#d97706; }
.tile-users { border-top-color:#64748b; } .tile-users .tile-icon { background:#64748b; }
.tile-export { border-top-color:#475569; } .tile-export .tile-icon { background:#475569; }
.tile-proposal { border-top-color:#f97316; } .tile-proposal .tile-icon { background:#f97316; }
.tile-catalog { border-top-color:#0f766e; } .tile-catalog .tile-icon { background:#0f766e; }
.tile-quotes { border-top-color:#c2410c; } .tile-quotes .tile-icon { background:#c2410c; }
.tile-inquiries { border-top-color:#2563eb; } .tile-inquiries .tile-icon { background:#2563eb; }
.tile-discovery { border-top-color:#7c3aed; } .tile-discovery .tile-icon { background:#7c3aed; }
.dashboard-section-card { scroll-margin-top:96px; }
.dashboard-section-card { display:none; }
.dashboard-section-card.is-open { display:block; }
.dashboard-function-tile { position:relative; overflow:hidden; }
.dashboard-function-tile::after { content:''; position:absolute; inset:auto 0 0; height:3px; background:currentColor; opacity:.08; transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.dashboard-function-tile:hover::after { transform:scaleX(1); }
.dashboard-function-tile:nth-child(3n) { transform-origin:center bottom; }
.bg-light { background: #f1f5f9; }

#main-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: blur(20px);
  transition: box-shadow .25s ease, background .25s ease;
}
#main-nav.nav-scrolled { box-shadow: 0 10px 30px -5px rgba(9, 21, 40, .10); background: rgba(255,255,255,.99); }
.nav-content { width: min(1280px, calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 22px; }
.nav-logo { color: var(--navy); font-size: 24px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; margin-right: 12px; display: inline-flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; color: #334155; padding: 10px 12px; font-size: 13px; font-weight: 650; text-decoration: none; border-radius: 7px; transition: all .15s ease; }
.nav-link:hover { color: var(--blue); background: #f1f5f9; }
.nav-caret { font-size: 17px; line-height: 1; transform: rotate(90deg); opacity: .7; }
.nav-item { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 12px); left: 0; width: 340px; padding: 18px; background: white; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 20px 35px -5px rgba(9, 21, 40, 0.15), 0 10px 10px -5px rgba(9, 21, 40, 0.04); opacity: 0; pointer-events: none; transform: translateY(-5px); transition: .2s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1000; }
.dropdown-panel-wide { width: 560px; }
.nav-item.open .dropdown-panel, .nav-item:hover .dropdown-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-header-block { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; }
.dropdown-section-title { color: var(--navy); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dropdown-section-tagline { color: #94a3b8; font-size: 11px; margin-top: 2px; }
.dropdown-subcategories { display: grid; gap: 1px 10px; }
.dropdown-subcategories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dropdown-subcategory { display: block; padding: 8px 10px; color: var(--navy); border-radius: 8px; text-decoration: none; transition: all .15s ease; }
.dropdown-subcategory:hover { background: #f1f5f9; color: var(--blue); transform: translateX(2px); }
.dropdown-subcategory .d-sub-name { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.dropdown-subcategory:hover .d-sub-name { color: var(--blue); }
.dropdown-subcategory .d-sub-desc { display: block; font-size: 10.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.dp-viewall { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f1f5f9; color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: none; transition: color .15s ease; }
.dp-viewall:hover { color: var(--blue-dark); text-decoration: underline; }
.nav-search-wrap { flex: 1; max-width: 270px; margin-left: auto; }
.nav-search-form, .search-form { display: flex; gap: 8px; }
.nav-search-form { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px; padding: 3px 5px 3px 12px; transition: border-color .2s; }
.nav-search-form:focus-within { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.nav-search-form input { min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; font-size: 12.5px; color: var(--ink); }
.nav-search-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 6px; color: white; background: var(--blue); transition: background .2s ease; }
.nav-search-btn:hover { background: var(--blue-dark); }
.nav-divider { width: 1px; height: 28px; background: var(--line); margin: 0 5px; }
.nav-cta, .nav-cta-outline { padding: 8px 15px; border-radius: 7px; font-weight: 700; font-size: 12.5px; }
.nav-cta { color: white; background: linear-gradient(135deg, #0284c7, #2563eb); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25); }
.nav-cta:hover { color: white; background: linear-gradient(135deg, #0369a1, #1d4ed8); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35); }
.nav-cta-outline { color: var(--navy); border: 1px solid #cbd5e1; background: white; }
.nav-cta-outline:hover { border-color: var(--blue); color: var(--blue); background: #f8fafc; }
.nav-signout { color: #dc2626; }
.nav-hamburger { display: none; margin-left: auto; border: 0; background: transparent; padding: 8px; }
.nav-hamburger span { display: block; width: 23px; height: 2px; background: var(--ink); margin: 5px; }

.page-banner { position: relative; min-height: 240px; display: grid; place-items: center; overflow: hidden; color: white; }
.page-banner.banner-compact { min-height: 170px; }
.banner-bg { position: absolute; inset: 0; background-position: center; background-size: cover; filter: saturate(.75) brightness(.7); }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(9, 21, 40, .94) 0%, rgba(12, 35, 64, .82) 55%, rgba(10, 58, 64, .65) 100%); }
.banner-text { position: relative; width: min(1180px, calc(100% - 40px)); padding: 32px 0 20px; }
.banner-title { max-width: 780px; font-size: clamp(28px, 4.5vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.banner-tagline { max-width: 650px; margin: 10px 0 0; font-size: 15px; opacity: .9; color: #cbd5e1; }
.banner-transition { height: 4px; background: linear-gradient(90deg, #2563eb 0%, #0284c7 40%, #059669 80%, #d97706 100%); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }

h1, h2, h3, h4 { color: var(--accent-slate); line-height: 1.15; }
h1 { font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: 32px; letter-spacing: -.035em; }
h3 { font-size: 20px; }
p { color: var(--muted); }
.btn, .btn-search, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px; color: white; background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%); font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2); }
.btn:hover, .btn-search:hover { color: white; background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%); box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32); transform: translateY(-1px); }
.btn-outline { color: var(--blue); background: white; border-color: #cbd5e1; box-shadow: none; }
.btn-outline:hover { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25); }
.badge-gradient, .badge { display: inline-block; padding: 5px 12px; border-radius: 99px; background: rgba(37, 99, 235, 0.08); color: var(--blue-dark); border: 1px solid rgba(37, 99, 235, 0.18); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.gradient-line { width: 70px; height: 3px; margin: 16px 0 22px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 18px; }
.card { overflow: hidden; min-width: 0; background: white; border: 1px solid #dce5e8; border-radius: 8px; box-shadow: 0 3px 14px rgba(15, 23, 42, .045); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(15, 23, 42, .09); border-color: #b8cbd1; }
.card > img { display: block; width: 100%; height: 160px; object-fit: cover; background: #e2e8f0; }
.card-body, .card-content { padding: 18px; }
.card h3 { margin: 10px 0 8px; }
.card p { margin: 0; }
.card-meta { margin-top: 14px; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.card-price { margin-top: 14px; color: var(--navy); font-size: 20px; font-weight: 800; }
.price-gate { margin-top: 14px; color: var(--gold); font-size: 12px; font-weight: 700; }
.card-category-pill, .ncbi-badge { display: inline-block; margin-right: 5px; padding: 4px 8px; border-radius: 5px; background: #f1f5f9; color: var(--navy); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ncbi-badge { background: linear-gradient(135deg, #0284c7, #2563eb); color: white; }
.category-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; margin: 8px 0 16px; }
.category-panel { min-width: 0; padding: 16px 18px 13px; border-left: 4px solid var(--blue); background: linear-gradient(145deg, #fff 0%, #f5f9fa 100%); border-radius: 8px; border-top: 1px solid #dce5e8; border-right: 1px solid #dce5e8; border-bottom: 1px solid #dce5e8; box-shadow: 0 3px 13px rgba(15,23,42,.045); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.category-panel:hover, .category-panel:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b8cbd3; outline: 0; }
.category-panel:nth-child(2) { border-left-color: var(--emerald); }
.category-panel:nth-child(3) { border-left-color: var(--gold); }
.category-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #7b8c96; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.category-index { color: var(--blue); font-size: 13px; }
.category-count { color: #64748b; }
.category-panel h2 { margin: 0; font-size: 24px; }
.category-panel p { min-height: 0; margin: 8px 0 0; color: #64748b; font-size: 13px; line-height: 1.55; }
.sub-categories { display: flex; flex-wrap: wrap; align-content: start; gap: 6px; margin-top: 12px; }
.category-panel-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 8px; border-top: 1px solid #e8eef2; color: var(--blue); font-size: 12px; font-weight: 750; }
.category-panel-footer span:last-child { font-size: 18px; line-height: 1; transition: transform .18s ease; }
.category-panel:hover .category-panel-footer span:last-child, .category-panel:focus-visible .category-panel-footer span:last-child { transform: translateX(4px); }
.category-convert-form { display:flex; align-items:flex-end; flex-wrap:wrap; gap:10px; padding:11px 12px; margin:0 0 12px; background:#f3f8f8; border:1px solid #dce7e8; border-left:3px solid var(--teal); border-radius:6px; }
.category-convert-form label { display:grid; flex:1; min-width:210px; gap:4px; color:var(--muted); font-size:12px; font-weight:600; }
.category-convert-form select { min-width:0; }
.category-row-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:5px; }
.taxonomy-category-heading { display:flex; align-items:center; gap:8px; min-width:0; }
.taxonomy-drag-handle { display:inline-grid; place-items:center; flex:0 0 30px; width:30px; height:30px; padding:0; color:#60777f; background:#f3f7f8; border:1px solid #dce5e8; border-radius:5px; cursor:grab; }
.taxonomy-drag-handle:hover { color:var(--accent-blue); background:#eaf4f5; border-color:#b7d0d5; }
.taxonomy-drag-handle:active { cursor:grabbing; }
.taxonomy-dropzone { display:none; align-items:center; justify-content:center; min-height:50px; padding:10px 14px; color:#45656e; background:#f3f8f8; border:1px dashed #92b5bc; border-radius:6px; font-size:12px; font-weight:600; text-align:center; }
.taxonomy-promote-dropzone { margin:0 0 16px; }
body.taxonomy-dragging-category .taxonomy-category-card:not(.taxonomy-drag-source) .taxonomy-category-dropzone,
body.taxonomy-dragging-category .taxonomy-node-dropzone,
body.taxonomy-dragging-subcategory .taxonomy-category-card .taxonomy-category-dropzone,
body.taxonomy-dragging-subcategory .taxonomy-node-dropzone,
body.taxonomy-dragging-subcategory .taxonomy-promote-dropzone { display:flex; }
body.taxonomy-dragging-category .taxonomy-node-dropzone,
body.taxonomy-dragging-subcategory .taxonomy-category-card:not(.taxonomy-drag-source) .taxonomy-category-dropzone,
body.taxonomy-dragging-subcategory .taxonomy-subcategory-row:not(.taxonomy-drag-source) .taxonomy-node-dropzone,
body.taxonomy-dragging-subcategory .taxonomy-promote-dropzone { display:flex; }
.taxonomy-category-card.taxonomy-drag-source .taxonomy-category-dropzone,
.taxonomy-subcategory-row.taxonomy-drag-source .taxonomy-node-dropzone { display:none !important; }
.taxonomy-subcategory-row td:first-child { padding-left:calc(10px + var(--taxonomy-depth,0) * 18px) !important; }
.taxonomy-node-dropzone { min-height:36px; margin:4px 0; font-size:10px; }
.taxonomy-undo-form { margin-left:auto; }
.category-directory-item { padding-left:calc(18px + var(--tree-depth,0) * 16px); }
.taxonomy-dropzone.is-drop-active { color:#0f6576; background:#e5f4f4; border:1px solid #368b98; box-shadow:inset 0 0 0 2px rgba(54,139,152,.08); }
.taxonomy-drag-source { opacity:.5; }
.category-row-actions form { margin:0; }
.category-row-actions .btn { min-height:30px; padding:5px 9px; font-size:11px; }
.category-notice { margin:0 0 16px; }
.sub-category-tag { padding: 5px 9px; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe; border-radius: 5px; font-size: 11.5px; font-weight: 600; text-decoration: none; transition: all .15s ease; }
.sub-category-tag:hover { background: var(--blue); color: white; border-color: var(--blue); }
.category-intro { max-width: 680px; margin: 0 auto 28px; }
.category-intro h2 { margin: 12px 0 8px; }
.category-intro p { margin: 0; }
.subcategory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; width: 100%; margin: 0 0 28px 0; text-align: left; }
.subcategory-card { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: var(--ink); background: white; border: 1px solid #dce5e8; border-radius: 8px; box-shadow: 0 3px 14px rgba(15,23,42,.04); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; overflow: hidden; min-height: 140px; }
.subcategory-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: 0; transition: opacity .2s ease; }
.subcategory-card:hover { border-color: #b8cbd1; box-shadow: 0 9px 22px rgba(15,23,42,.08); transform: translateY(-2px); }
.subcategory-card:hover::before { opacity: 1; }
.subcategory-card .sub-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.subcategory-card .sub-title { color: var(--navy); font-size: 15.5px; font-weight: 750; line-height: 1.3; }
.subcategory-card .sub-desc { color: #64748b; font-size: 12.5px; line-height: 1.5; margin-bottom: 16px; flex: 1; }
.subcategory-card .sub-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #f1f5f9; font-size: 11.5px; margin-top: auto; }
.subcategory-card .sub-count { color: #64748b; font-weight: 600; font-size: 11.5px; }
.subcategory-card .sub-action { color: var(--blue); font-weight: 750; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; transition: transform .15s ease; }
.subcategory-card:hover .sub-action { transform: translateX(3px); color: var(--blue-dark); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb strong { color: var(--accent-slate); }
.subcategory-hero-copy { max-width: 710px; margin-bottom: 34px; }
.subcategory-hero-copy h1 { margin: 14px 0 8px; font-size: clamp(34px, 5vw, 56px); }
.subcategory-hero-copy p { max-width: 620px; margin: 0; font-size: 16px; }
.subcategory-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.subcategory-toolbar a { font-size: 12px; font-weight: 700; text-decoration: none; text-transform: none; letter-spacing: 0; }
.empty-subcategory { grid-column: 1 / -1; padding: 58px 28px; text-align: center; background: white; border: 1px dashed #aec6c4; border-radius: 8px; }
.empty-subcategory-mark { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 15px; color: white; background: var(--teal); border-radius: 50%; font-size: 28px; font-weight: 300; }
.empty-subcategory h3 { margin: 0 0 7px; }
.empty-subcategory p { max-width: 430px; margin: auto; font-size: 13px; }
.search-count { margin: 20px 0; font-size: 13px; }
.catalog-intro-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 14px; }
.catalog-intro-row h1 { margin: 6px 0 5px; font-size: clamp(30px, 4vw, 46px); }
.catalog-intro-row p { max-width: 570px; margin: 0; font-size: 14px; }
.catalog-kicker { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.catalog-stat { display: grid; min-width: 150px; padding: 14px 18px; border-left: 2px solid var(--gold); background: #fff; color: var(--muted); }
.catalog-stat strong { color: var(--navy); font-size: 24px; line-height: 1; }
.catalog-stat span { margin-top: 5px; font-size: 11px; }
.catalog-view-controls { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 4px; border: 1px solid #dce5e9; border-radius: 9px; background: #fff; }
.catalog-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog-results-toolbar .search-count { margin: 0; }
.catalog-view-label { margin: 0 5px 0 8px; color: #82929a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.view-option { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.view-option:hover, .view-option.is-active { color: var(--navy); background: #edf5f6; }
.view-icon { display: grid; width: 14px; height: 14px; gap: 2px; }
.view-icon i { display: block; border-radius: 1px; background: currentColor; }
.view-icon-grid { grid-template-columns: repeat(2, 1fr); }
.view-icon-list { grid-template-rows: repeat(3, 1fr); }
.view-icon-list i { position: relative; margin-left: 5px; }
.view-icon-list i::before { content: ''; position: absolute; left: -5px; width: 3px; height: 100%; border-radius: 1px; background: currentColor; }
.catalog-results.view-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.catalog-results.view-list .card { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 170px; }
.catalog-results.view-list .card > img { width: 170px; height: 100%; min-height: 170px; }
.catalog-results.view-list .card-body, .catalog-results.view-list .product-card-content { grid-column: 2; }
.catalog-results.view-list .card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto; column-gap: 24px; padding: 18px 22px; }
.catalog-results.view-list .card h3, .catalog-results.view-list .card p, .catalog-results.view-list .card-meta { grid-column: 1; }
.catalog-results.view-list .card h3 { margin: 8px 0 5px; }
.catalog-results.view-list .card p { max-width: 700px; }
.catalog-results.view-list .card-price, .catalog-results.view-list .price-gate { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 3px; text-align: right; }
.catalog-results.view-list .card-meta { grid-row: 4; align-self: end; margin-top: 10px; }
.catalog-results.view-list .card-body > div:last-child { grid-column: 2; grid-row: 4; margin-top: 10px !important; text-align: right; }
.catalog-results.view-list .product-card > .product-card-actions { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
.search-form { max-width: 680px; margin: 0 auto 28px; }
.search-form input, .form-input { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; outline: 0; background: white; color: var(--ink); font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.search-form input:focus, .form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.hero-search-form input { min-width: 0; }
.hero-search-form button { flex: 0 0 auto; white-space: nowrap; }
textarea.form-input { resize: vertical; }
.form-label { display: grid; gap: 7px; color: var(--accent-slate); font-size: 12px; font-weight: 750; }
.approval-check { display: flex; align-items: flex-start; gap: 9px; padding: 13px 15px; color: var(--accent-slate); background: #fff8f6; border: 1px solid #e7b7ae; border-left: 4px solid #a83f4a; border-radius: 6px; font-size: 12px; line-height: 1.45; }
.approval-check input { margin-top: 2px; accent-color: #a83f4a; }
.product-description { margin: 20px 0 28px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--blue); border-radius: 10px; border-top: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 18px rgba(15,23,42,.04); }
.product-description h3 { margin: 0 0 8px; font-size: 17px; }
.product-description p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.65; }
.form-error, .form-success { padding: 11px 14px; margin-bottom: 16px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.form-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.form-success { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; }
.ncbi-review-box { padding: 16px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; }
.product-name-lookup { display: flex; gap: 8px; align-items: stretch; }
.product-name-lookup .form-input { flex: 1; }
.product-name-lookup .btn { white-space: nowrap; }
.ncbi-review-box strong { display: block; color: var(--navy); font-size: 14px; }
.ncbi-review-box > span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.vendor-discovery-box { padding: 16px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; }
.vendor-discovery-box > strong { display: block; color: #92400e; font-size: 14px; }
.vendor-discovery-box > span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.vendor-list { display: grid; gap: 7px; margin-top: 14px; }
.vendor-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: white; border: 1px solid #e2e8f0; border-radius: 8px; }
.vendor-option > span { flex: 1; }
.vendor-option strong, .vendor-option small { display: block; }
.vendor-option strong { color: var(--accent-slate); font-size: 13px; }
.vendor-option small { color: var(--muted); font-size: 11px; }
.vendor-option a { color: var(--blue); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.vendor-main { min-width: 180px; }
.vendor-fields { display: grid; grid-template-columns: repeat(4, minmax(75px, 1fr)); gap: 6px; flex: 1.5; }
.vendor-fields input { width: 100%; min-width: 0; padding: 8px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 11px; }
.vendor-actions { display: flex; gap: 8px; margin-top: 12px; }
.ncbi-lookup-row { display: flex; gap: 8px; margin-top: 13px; }
.ncbi-lookup-row .form-input { background: white; }
.ncbi-lookup-status { min-height: 18px; margin: 8px 0 0; color: var(--navy); font-size: 12px; font-weight: 600; }
.reference-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reference-list a { padding: 5px 9px; color: var(--blue); background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; transition: all .15s ease; }
.reference-list a:hover { background: var(--blue); color: white; border-color: var(--blue); }
.pubmed-results { display: grid; gap: 8px; margin-top: 10px; }
.pubmed-result, .pubmed-selected-references li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 12px; background: white; border: 1px solid #dbe5ed; border-radius: 7px; }
.pubmed-result > div { display: grid; gap: 4px; min-width: 0; }
.pubmed-result a { color: var(--blue); font-size: 13px; font-weight: 650; }
.pubmed-result small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.pubmed-result button, .pubmed-selected-references button { flex: 0 0 auto; padding: 6px 9px; white-space: nowrap; }
.pubmed-reference-editor h4 { margin: 16px 0 0; color: var(--navy); font-size: 12px; }
.pubmed-selected-references { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.pubmed-selected-references li { align-items: center; color: var(--ink); font-size: 12px; }
.pubmed-selected-references li span { min-width: 0; overflow-wrap: anywhere; }
.scientific-metadata { margin: 24px 0 28px; padding: 22px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; }
.scientific-metadata h3 { margin: 0 0 14px; font-size: 17px; }
.scientific-metadata section { padding-top: 12px; margin-top: 12px; border-top: 1px solid #e2e8f0; }
.scientific-metadata h4 { margin: 0 0 4px; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 750; }
.scientific-metadata p { margin: 0; white-space: normal; font-size: 12.5px; line-height: 1.6; }
.research-profile { margin: 22px 0 28px; padding: 22px; background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid var(--blue); border-radius: 10px; }
.research-profile h3 { margin: 0 0 10px; font-size: 17px; }
.research-profile h4 { margin: 16px 0 7px; color: var(--blue); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 750; }
.research-profile p { margin: 0; font-size: 13px; line-height: 1.6; }
.research-profile ul { margin: 0; padding-left: 18px; }
.research-profile li { margin: 6px 0; color: var(--muted); font-size: 12px; }
.research-profile li a { font-weight: 700; color: var(--blue); }
.research-profile li small { margin-left: 4px; color: #64748b; }
.vendor-source-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 24px; border-bottom: 3px solid #0f172a; }
.vendor-source-toolbar h1 { margin: 12px 0 5px; }
.vendor-source-toolbar p { margin: 0; }
.vendor-source-notice { display: flex; gap: 10px; align-items: center; margin: 18px 0; padding: 12px 15px; border-left: 4px solid var(--blue); background: #f8fafc; border: 1px solid #e2e8f0; font-size: 12px; border-radius: 6px; }
.vendor-source-notice strong { color: var(--navy); white-space: nowrap; }
.vendor-source-frame { display: block; width: 100%; height: 680px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); border-radius: 10px; }
.vendor-detail-panel { margin: 22px 0 28px; padding: 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid var(--navy); border-radius: 10px; }
.vendor-detail-panel h3 { margin: 0 0 16px; font-size: 17px; }
.vendor-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.vendor-detail-grid span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.vendor-detail-grid strong { display: block; margin-top: 3px; color: var(--accent-slate); font-size: 13px; }

.research-container { margin: 25px 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.research-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; background: #f8fafc; }
.research-iframe { display: block; width: 100%; min-height: 470px; border: 0; }
.admin-stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; background: linear-gradient(135deg, #091528 0%, #0c2340 50%, #0a3a40 100%); color: white; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 25px rgba(9,21,40,0.2); }
.admin-stat-item { padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.08); }
.admin-stat-value { display: block; color: #38bdf8; font-size: 22px; font-weight: 800; line-height: 1.1; }
.admin-stat-label { display: block; margin-top: 4px; color: #94a3b8; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 750; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-card { overflow: hidden; background: white; border: 1px solid #dce5e8; border-radius: 8px; box-shadow: 0 3px 12px rgba(15,23,42,.035); }
.admin-card.span-full { grid-column: 1 / -1; }
.admin-card.span-2 { grid-column: span 2; }
.admin-card.is-expanded { grid-column: 1 / -1; box-shadow: 0 14px 36px rgba(15,23,42,.10); }
.admin-card.is-expanded .admin-table-wrap { max-height: none !important; }
.panel-pages .admin-card.is-expanded .admin-table-wrap { overflow: visible !important; }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid #e3eaec; background: #f4f8f8; flex-wrap: wrap; gap: 6px; }
.section-header-actions { display:flex; align-items:center; gap:10px; }
.section-expand { border:1px solid #cbd5e1; border-radius:6px; padding:5px 9px; color:var(--accent-blue); background:white; font-size:11px; font-weight:700; cursor:pointer; }
.section-expand:hover { color:white; background:var(--accent-blue); border-color:var(--accent-blue); }
.dashboard-actions-menu { position:relative; font-size:11px; }
.dashboard-actions-menu summary { cursor:pointer; list-style:none; padding:5px 9px; color:var(--accent-blue); background:white; border:1px solid #cbd5e1; border-radius:6px; font-weight:700; }
.dashboard-actions-menu summary::-webkit-details-marker { display:none; }
.dashboard-actions-menu > div { position:absolute; right:0; top:34px; z-index:20; display:grid; min-width:180px; padding:6px; background:white; border:1px solid var(--line); border-radius:7px; box-shadow:0 10px 24px rgba(15,23,42,.12); }
.dashboard-actions-menu a { padding:7px 9px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.dashboard-actions-menu a:hover { background:#f1f5f9; color:var(--accent-blue); }
.dashboard-proposal-link { color:#a65308; background:#fff7ed; border:1px solid #fed7aa; border-radius:6px; padding:5px 9px; font-size:11px; font-weight:700; text-decoration:none; }
.dashboard-section-footnote { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:9px 16px; border-top:1px solid #eef2f4; color:#526774; font-size:11px; }
.attention-dot { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#94a3b8; }
.attention-dot.is-alert { background:#f59e0b; box-shadow:0 0 0 3px #fef3c7; }
.footnote-muted { margin-left:auto; color:#94a3b8; }
.admin-card-title { margin: 0; font-size: 14px; font-weight: 750; color: var(--navy); }
.admin-table-wrap { overflow: visible; max-height: none; }
.admin-table-wrap.catalog-scroll { max-height: none; overflow: visible; }
.admin-dashboard-container table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.admin-dashboard-container th { padding: 8px 10px; font-size: 9.5px; background: #f1f5f9; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: left; font-weight: 750; border-bottom: 1px solid #e2e8f0; }
.admin-dashboard-container td { padding: 7px 10px; font-size: 11.5px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

/* Text Wrap Support */
.admin-dashboard-container table.table-wrapped td,
.admin-dashboard-container table.table-wrapped th {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.admin-tabs { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.admin-tab-btn { background: #eef2f5; border: 1px solid #dce4e8; color: #4a5568; font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 6px; cursor: pointer; transition: all .15s ease; }
.admin-tab-btn:hover { background: #e2e8f0; }
.admin-tab-btn.active { background: var(--teal); color: white; border-color: var(--teal); }
.storage-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 4px; line-height: 1.2; }
.storage-frozen-80 { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.storage-frozen-20 { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.storage-refrig { background: #fef9c3; color: #a16207; border: 1px solid #fef08a; }
.storage-ambient { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }
.review-status { display:inline-flex; align-items:center; padding:3px 7px; border-radius:999px; font-size:10px; font-weight:700; white-space:nowrap; }
.review-approved { color:#166534; background:#dcfce7; }
.review-pending { color:#92400e; background:#fef3c7; }
.duplicate-review-panel { display:grid; gap:8px; padding:14px 16px; background:#fffaf0; border-top:1px solid #f4dfb0; }
.duplicate-review-panel > div { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.duplicate-review-panel > div strong { color:#92400e; font-size:12px; }
.duplicate-review-panel > div span { color:#8a6d3b; font-size:11px; }
.duplicate-review-panel form { display:flex; align-items:center; gap:10px; padding:8px 10px; background:white; border:1px solid #f1dfb9; border-radius:6px; }
.duplicate-review-panel form span { flex:1; min-width:0; color:#475569; font-size:11px; }
.quote-restore-panel { max-width:560px; margin:20px auto; padding:14px 18px; text-align:left; color:#166534; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:8px; }
.quote-restore-panel ul { margin:8px 0 0; padding-left:18px; }
.quote-restore-panel li { margin:5px 0; font-size:12px; }
.quote-restore-panel a, .quote-restore-item { color:#15803d; font-weight:700; text-decoration:none; }
.quote-restore-item { display:inline-block; margin:12px 10px 0 0; padding:6px 9px; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:5px; font-size:11px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { color: var(--muted); background: #f5f9f8; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
th, td { padding: 10px 12px; border-bottom: 1px solid #edf1f1; white-space: nowrap; }
footer { margin-top: 30px; padding: 24px 0; border-top: 1px solid var(--line); background: #eaf2f0; }
footer .container { padding: 0; text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: rise .6s ease both; }

@media (max-width: 1050px) {
  .nav-links { gap: 0; }
  .nav-link { padding-inline: 8px; }
  .nav-search-wrap { max-width: 210px; }
}
@media (max-width: 900px) {
  .nav-hamburger { display: block; }
  .nav-links { position: absolute; top: var(--nav-height); left: 0; right: 0; display: none; padding: 12px 20px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.nav-open { display: block; }
  .nav-item, .nav-link { display: block; width: 100%; }
  .nav-link { padding: 12px 8px; }
  .dropdown-panel { position: static; display: none; width: 100%; margin: 2px 0 7px; box-shadow: none; }
  .nav-item.open .dropdown-panel { display: block; opacity: 1; transform: none; }
  .nav-search-wrap { max-width: none; margin: 10px 0; }
  .nav-divider { display: none; }
  .category-panels, .admin-grid { grid-template-columns: 1fr; }
  .dashboard-function-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .subcategory-grid { grid-template-columns: 1fr; }
  .admin-stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .dashboard-function-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .container, .nav-content, .banner-text { width: min(100% - 28px, 1180px); }
  .container { padding: 36px 0; }
  .page-banner { min-height: 260px; }
  .page-banner.banner-compact { min-height: 190px; }
  .banner-title { font-size: 34px; }
  .banner-tagline { font-size: 14px; }
  .grid { grid-template-columns: 1fr; }
  .card > img { height: 145px; }
  .dashboard-function-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-function-tile { min-height:136px; padding:14px; }
  .dashboard-function-tile strong { padding-top:12px; font-size:13px; }
  .dashboard-function-tile small { font-size:10px; }
  .dashboard-function-tile .tile-icon { width:32px; height:32px; flex-basis:32px; font-size:18px; }
  .subcategory-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .admin-stats-bar { grid-template-columns: 1fr 1fr; }
  .admin-stat-item { padding: 14px 11px; }
  .search-form { display: block; }
  .search-form .btn-search { width: 100%; margin-top: 8px; }
  .hero-search-form { display: block !important; padding: 6px !important; }
  .hero-search-form input { display: block; width: 100%; }
  .hero-search-form button { width: 100%; margin-top: 6px; }
  .ncbi-lookup-row { display: block; }
  .ncbi-lookup-row .btn { width: 100%; margin-top: 8px; }
  .product-name-lookup { display: block; }
  .product-name-lookup .btn { width: 100%; margin-top: 8px; }
  .vendor-actions { display: block; }
  .vendor-actions .btn { width: 100%; margin-top: 8px; }
  .vendor-option { align-items: stretch; flex-wrap: wrap; }
  .vendor-main, .vendor-fields { flex-basis: 100%; }
  .vendor-fields { grid-template-columns: repeat(2, 1fr); }
  .vendor-source-toolbar { align-items: flex-start; flex-direction: column; }
  .vendor-source-toolbar .btn { width: 100%; }
  .vendor-source-frame { height: 520px; }
  .footer-links { flex-wrap: wrap; gap: 12px !important; }
  .vendor-detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .dashboard-function-tile { padding:10px; }
  .dashboard-function-tile strong { padding-top:8px; font-size:11.5px; }
  .dashboard-function-tile small { min-height:2em; font-size:9px; line-height:1.25; }
  .dashboard-function-tile .tile-icon { width:27px; height:27px; flex-basis:27px; font-size:16px; }
}
@media (max-width: 270px) {
  .dashboard-function-tiles { grid-template-columns:1fr; }
  .dashboard-function-tile { padding:7px; }
  .dashboard-function-tile strong { padding-top:5px; font-size:10px; }
  .dashboard-function-tile small { min-height:2em; font-size:8px; }
  .dashboard-function-tile .tile-icon { width:23px; height:23px; flex-basis:23px; font-size:14px; }
}

/* ── 3D Molecular & Protein Viewer ── */
.mol-viewer-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(11, 113, 128, 0.08);
  border: 1px solid rgba(8, 127, 140, 0.14);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.mol-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mol-viewer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-slate);
}

.mol-viewer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.btn-mol-tool {
  background: #f0f4f7;
  color: var(--accent-slate);
  border: 1px solid #d5dfe6;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-mol-tool:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.btn-mol-tool.active {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  box-shadow: 0 2px 8px rgba(23, 105, 170, 0.25);
}

.mol-viewport {
  position: relative;
  width: 100%;
  height: 480px;
  background: #0b131e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
  border: 1px solid #1a2938;
}

.mol-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.mol-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a8d5e2;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
  background: rgba(11, 19, 30, 0.88);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.mol-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(8, 127, 140, 0.2);
  border-top-color: #087f8c;
  border-right-color: #9cbd4b;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mol-viewer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f4f7;
  font-size: 12px;
  color: var(--muted);
}

.mol-lookup-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
  background: #f8fafb;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8ec;
}

.mol-lookup-input {
  flex: 1;
  border: 1px solid #ccd8e0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  background: white;
}

.mol-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: linear-gradient(135deg, #087f8c, #1e64b7);
  color: white;
  letter-spacing: 0.5px;
}


/* Catalog workspace: taller inventory and visible follow-up actions. */
.workspace-jumps { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.workspace-jumps a { padding:10px 16px; background:#eaf4f5; color:#164c58; border:1px solid #c9e0e3; border-radius:8px; font-weight:600; text-decoration:none; }
.admin-dashboard-container [id] { scroll-margin-top:100px; }
.catalog-scroll thead { position:sticky; top:0; z-index:2; }
.admin-grid { gap:18px; }
.activity-card { border-top:4px solid #16879a; transition:box-shadow .2s; }
.activity-card:hover, .activity-card:focus-within { box-shadow:0 8px 24px #17475222; }
.activity-card .admin-card-header { padding:16px; background:#edf7f8; }
.activity-card .admin-card-title { font-size:17px; }
.activity-summary { margin:0; padding:14px 16px; font-weight:600; color:#176273; border-bottom:1px solid #dbe9eb; }
.activity-card td { padding:12px 14px !important; font-size:12px; }
.quick-quote-form { display:grid; grid-template-columns:2fr .6fr 1fr auto; align-items:end; gap:14px; padding:18px; }
.quick-quote-form label { display:grid; gap:7px; font-size:12px; font-weight:600; min-width:0; }
.quick-quote-form .form-input { width:100%; box-sizing:border-box; }
.quick-quote { border:1px solid #9bcbd0; }
@media(max-width:760px) { .quick-quote-form { grid-template-columns:1fr; } .admin-table-wrap.catalog-scroll { max-height:650px; } }

/* Focused inventory controls and consistent product metadata. */
.catalog-controls { display:flex; align-items:end; gap:12px; padding:16px; background:#f8fbfc; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.catalog-controls label { display:grid; gap:6px; flex:1; min-width:220px; font-size:12px; font-weight:600; }
.catalog-secondary { display:block; color:#526774; line-height:1.5; margin-top:5px; }
.quote-filter { display:grid; gap:6px; padding:12px 16px; font-size:12px; font-weight:600; }
.admin-dashboard-container :is(a,button,input,select):focus-visible { outline:3px solid #147f9a; outline-offset:3px; }
.admin-dashboard-container tr[hidden] { display:none; }
@media(max-width:600px) { .catalog-controls > * { width:100%; } }


/* Shared type roles: editorial pages, application headings, data, and controls. */
:root { --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --text-body:16px; --text-ui:14px; --text-meta:12px; --ink:#182b36; --muted:#536572; --paper:#f7f9fa; --line:#dce3e7; --accent-blue:#146d82; --accent-slate:#182b36; --blue:#146d82; --blue-dark:#10596b; --teal:#146d82; --teal-dark:#10596b; }
h1,h2,h3,h4 { font-family:var(--font-ui); font-weight:600; letter-spacing:-.025em; line-height:1.25; }
h1 { font-size:clamp(30px,4vw,44px); }
h2 { font-size:28px; }
h3 { font-size:20px; }
h4 { font-size:16px; }
p { line-height:1.65; }
small,.breadcrumb,.card-meta,.catalog-secondary,.search-count { font-size:var(--text-meta); line-height:1.5; }
strong { font-weight:600; }
button,input,select,textarea { font-family:var(--font-ui); }
.form-input,.search-form input { font-size:var(--text-ui); line-height:1.5; padding:11px 12px; }
.form-label,label { font-size:var(--text-ui); line-height:1.5; }
.btn,.btn-search,.btn-outline,.nav-cta { font-size:var(--text-ui); font-weight:600; line-height:1.3; background:var(--blue); box-shadow:none; }
.btn-outline { color:var(--blue); background:white; border-color:#c8d5dc; }
.btn:hover,.btn-search:hover { background:var(--blue-dark); box-shadow:none; transform:none; }
.card h3,.card-body h3,.card-content h3 { font-size:18px; line-height:1.35; }
.card p,.card-body p,.card-content p { font-size:14px; }
.card-price,.price { font-size:20px; font-weight:600; font-variant-numeric:tabular-nums; }
.badge,.ncbi-badge,.mol-badge,.storage-pill,.sub-category-tag { font-size:12px; font-weight:600; letter-spacing:0; }
.banner-title { font-size:clamp(30px,4vw,44px); font-weight:600; }
.banner-compact { min-height:140px !important; }
.banner-compact .banner-title { font-size:30px; }
.banner-transition { height:1px; background:var(--line); box-shadow:none; }
.admin-card-title { font-size:18px; font-weight:600; }
.admin-card p,.admin-card td,.admin-card input,.admin-card select,.admin-card textarea { font-size:14px; }
.admin-card small { font-size:12px; }
.admin-dashboard-container { width:min(1440px,calc(100% - 40px)); padding-top:28px; }
.workspace-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.workspace-heading h1 { font-size:30px; margin:0; }
.workspace-heading p { font-size:14px; margin:6px 0 0; }
.admin-dashboard-container .admin-stats-bar { gap:8px; background:transparent; border:0; box-shadow:none; border-radius:0; margin-bottom:18px; overflow:visible; }
.admin-dashboard-container .admin-stat-item { position:relative; min-width:0; padding:12px 16px; border:1px solid #dce5e8; border-top:3px solid var(--bucket-accent); border-radius:7px; background:var(--bucket-wash); box-shadow:0 2px 7px rgba(15,23,42,.04); }
.admin-dashboard-container a.admin-stat-item { display:block; color:inherit; text-decoration:none; cursor:pointer; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.admin-dashboard-container a.admin-stat-item:hover { transform:translateY(-2px); border-color:var(--bucket-accent); box-shadow:0 7px 15px rgba(15,23,42,.1); }
.admin-dashboard-container .admin-stat-item:nth-child(1) { --bucket-accent:#167b9a; --bucket-wash:#eef8fb; }
.admin-dashboard-container .admin-stat-item:nth-child(2) { --bucket-accent:#168274; --bucket-wash:#eff9f5; }
.admin-dashboard-container .admin-stat-item:nth-child(3) { --bucket-accent:#477a50; --bucket-wash:#f2f8ef; }
.admin-dashboard-container .admin-stat-item:nth-child(4) { --bucket-accent:#bd7018; --bucket-wash:#fff7e9; }
.admin-dashboard-container .admin-stat-value { font-size:24px; color:var(--bucket-accent); font-weight:700; font-variant-numeric:tabular-nums; }
.admin-dashboard-container .admin-stat-label { margin-top:3px; color:#52636b; font-size:11.5px; letter-spacing:0; text-transform:none; font-weight:600; line-height:1.25; }
.admin-dashboard-container .admin-stat-item>span:last-child { display:none !important; }
@media (max-width:400px) {
  .admin-dashboard-container .admin-stat-item { padding:10px 12px; }
  .admin-dashboard-container .admin-stat-value { font-size:20px; }
}
@media (max-width:360px) {
  .admin-dashboard-container .admin-stat-item { padding:9px 10px; }
  .admin-dashboard-container .admin-stat-value { font-size:16px; }
}
.workspace-toolbar,.workspace-primary { display:flex; align-items:center; gap:10px; }
.workspace-toolbar { justify-content:space-between; margin-bottom:18px; }
.workspace-tools { position:relative; font-size:14px; }
.workspace-tools summary { cursor:pointer; padding:10px 14px; border:1px solid var(--line); border-radius:7px; background:white; }
.workspace-tools>div { position:absolute; right:0; top:48px; z-index:10; width:220px; padding:8px; background:white; border:1px solid var(--line); box-shadow:0 8px 24px #182b3614; border-radius:8px; }
.workspace-tools a { display:block; padding:10px; text-decoration:none; }
.workspace-tools a:hover { background:#f1f5f7; }
.admin-dashboard-container .admin-card { border-radius:8px; box-shadow:none; }
.admin-dashboard-container .admin-card-header { padding:16px 18px; background:white; }
.admin-dashboard-container .admin-card-title { font-size:18px; }
.admin-dashboard-container .admin-tab-btn { font-size:12px; font-weight:500; padding:8px 10px; }
.admin-dashboard-container td { font-size:14px; line-height:1.45; }
.admin-dashboard-container td strong { font-size:14px; }
.admin-dashboard-container th { font-size:12px; text-transform:none; letter-spacing:0; font-weight:600; }
.admin-dashboard-container td .btn { font-size:12px; min-height:32px; }
.admin-dashboard-container .activity-card { border-top:1px solid var(--line); }
.admin-dashboard-container .activity-summary { font-size:14px; font-weight:400; }
.admin-dashboard-container .activity-card td { font-size:14px; }
.admin-dashboard-container .quick-quote { border-color:var(--line); }
.admin-dashboard-container .catalog-controls { background:#f7f9fa; }
#quote-doc,#packingslip-doc { font-family:var(--font-ui); font-size:14px; }
#quote-doc h1,#packingslip-doc h1 { font-size:26px; }
#quote-doc h3 { font-size:18px; }
#quote-doc th,#packingslip-doc th { font-size:12px; }
#quote-doc input,#quote-doc select,#quote-doc textarea { font-size:14px; }
:where(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #146d82; outline-offset:3px; }
@media(max-width:800px) { .admin-stats-bar { grid-template-columns:repeat(2,minmax(0,1fr)); } .workspace-heading { align-items:flex-start; } }
@media(max-width:600px) { .workspace-heading { flex-direction:column; } .workspace-toolbar { flex-wrap:wrap; } .form-input,input,select,textarea { font-size:16px; } #quote-doc,#packingslip-doc { padding:22px 16px !important; } .admin-dashboard-container { width:calc(100% - 24px); } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none !important; transition:none !important; } }

/* Dashboard proportions: compact single-row density with wrap text toggle support. */
.admin-dashboard-container #admin-inventory-table { table-layout:fixed; min-width:0 !important; width:100%; }
.admin-dashboard-container #admin-inventory-table :is(th,td) { padding:6px 7px !important; vertical-align:middle; white-space:normal !important; overflow-wrap:anywhere; word-break:break-word; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(1) { width:8%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(2) { width:24%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(3) { width:8%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(4) { width:9%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(5) { width:10%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(6) { width:9%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(7) { width:6%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(8) { width:5%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(9) { width:8%; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(10) { width:13%; }
@media(min-width:701px) {
  .admin-dashboard-container #admin-inventory-table :is(th,td) { white-space:nowrap !important; overflow:hidden; text-overflow:ellipsis; }
  .admin-dashboard-container #admin-inventory-table .catalog-row-actions { overflow:visible; }
}
.admin-dashboard-container #admin-inventory-table.table-wrapped :is(th,td) { white-space:normal !important; overflow-wrap:anywhere; word-break:break-word; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(3) { text-align:right; font-variant-numeric:tabular-nums; }
.admin-dashboard-container #admin-inventory-table :is(th,td):nth-child(7) { text-align:center; font-variant-numeric:tabular-nums; }
.admin-dashboard-container #admin-inventory-table td:first-child { font-size:11px; font-weight:700; }
.admin-dashboard-container #admin-inventory-table .storage-pill { white-space:nowrap; line-height:1.2; padding:3px 6px; }
.admin-dashboard-container #admin-inventory-table.table-wrapped .storage-pill { white-space:normal; }
.catalog-row-actions { display:flex; flex-wrap:nowrap; align-items:center; gap:3px; }
.admin-dashboard-container #admin-inventory-table .catalog-row-actions .btn { width:auto; min-height:22px; padding:2px 5px !important; font-size:10px; line-height:16px; white-space:nowrap; border-radius:4px; }
.catalog-row-actions form { margin:0; display:inline; }
.catalog-product-cell strong { line-height:1.3; }
.admin-dashboard-container .admin-grid { gap:20px; align-items:start; grid-template-columns:repeat(3,minmax(0,1fr)); }
.admin-dashboard-container .activity-card { min-width:0; }
.admin-dashboard-container .activity-card .admin-card-header { min-height:64px; gap:10px; }
.admin-dashboard-container .activity-summary { padding:12px 18px; min-height:48px; margin:0; }
.admin-dashboard-container .activity-card table { table-layout:fixed; }
.admin-dashboard-container .activity-card td { overflow-wrap:anywhere; white-space:normal !important; }
.admin-dashboard-container .activity-card td:last-child { width:116px; }
.admin-dashboard-container .activity-card td .btn { margin:2px 0; }
.admin-dashboard-container .quick-quote-form { grid-template-columns:minmax(220px,2fr) 88px minmax(180px,1fr) auto; padding:18px; gap:16px; }
.dashboard-section-picker { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
.dashboard-section-picker select { width:auto; padding:8px 10px; }
.workspace-toolbar { flex-wrap:wrap; gap:12px; }
.workspace-toolbar .workspace-tools { margin-left:auto; }
.admin-dashboard-container :is(#catalog,#quick-quote,#quotes,#inquiries,#research) { scroll-margin-top:calc(var(--nav-height) + 20px); }
.admin-dashboard-container :is(#catalog,#quick-quote,#quotes,#inquiries,#research):focus { outline:2px solid var(--blue); outline-offset:4px; }
@media(max-width:1100px) { .admin-dashboard-container .admin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .admin-dashboard-container #research { grid-column:1 / -1; } .admin-dashboard-container .quick-quote-form { grid-template-columns:minmax(0,1fr) 100px; } }
@media(max-width:700px) { .admin-dashboard-container .admin-grid { grid-template-columns:minmax(0,1fr); } .admin-dashboard-container .quick-quote-form { grid-template-columns:minmax(0,1fr); } .dashboard-section-picker { width:100%; } .dashboard-section-picker select { flex:1; min-width:0; } }

/* All dashboard tools stay visible; compact actions wrap as space requires. */
.dashboard-tools { display:flex; flex-wrap:wrap; gap:6px; flex:1; }
.dashboard-tools .btn { min-height:32px; padding:6px 10px; font-size:12px; white-space:nowrap; }
.workspace-toolbar { align-items:center; }
.workspace-toolbar .dashboard-section-picker { order:2; margin-left:auto; }
.admin-dashboard-container #admin-inventory-table td { font-size:13px; line-height:1.35; }
.admin-dashboard-container #admin-inventory-table td strong { font-size:13px; }
.admin-dashboard-container #admin-inventory-table .catalog-secondary { font-size:11px; line-height:1.35; margin-top:3px; }
@media(max-width:700px) { .dashboard-tools { flex-basis:100%; } }

.page-context { display:flex; gap:20px; flex-wrap:wrap; padding-top:16px; padding-bottom:0; font-size:13px; }
.page-context a { text-decoration:none; }
@media(max-width:600px) { .footer-links { flex-wrap:wrap; gap:16px !important; } }

/* Full-height list panels in app.py; paginate after 20 matching rows. */
.panel-pages .admin-table-wrap { height:auto !important; max-height:none !important; overflow:visible !important; }
.panel-pages .admin-table-wrap.catalog-scroll { max-height:none !important; overflow:visible !important; }
.panel-pages .admin-card.is-expanded .admin-table-wrap,
.panel-pages .admin-card.is-expanded .admin-table-wrap.catalog-scroll { max-height:none !important; overflow-y:visible !important; }
.panel-pages .pagination-hidden { display:none !important; }
.panel-pages .list-pagination { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px; padding:14px 18px; border-top:1px solid var(--line); font-size:13px; }
.panel-pages .list-pagination[hidden] { display:none; }
.panel-pages .list-pagination button { padding:6px 12px; min-height:32px; border:1px solid var(--line); border-radius:6px; background:white; color:var(--ink); font-size:13px; }
.panel-pages .list-pagination button:disabled { opacity:.45; cursor:default; }
.panel-pages .admin-table-wrap table { width:100%; }
.panel-pages .admin-table-wrap :is(td,th) { white-space:normal; overflow-wrap:anywhere; }

/* Compact dashboard data columns in app.py. */
.panel-pages #admin-inventory-table th:nth-child(3) { width:72px !important; }
.panel-pages #admin-inventory-table th:nth-child(4) { width:96px !important; }
.panel-pages #admin-inventory-table th:nth-child(5) { width:104px !important; }
.panel-pages #admin-inventory-table th:nth-child(6) { width:60px !important; }
.panel-pages #admin-inventory-table th:nth-child(7) { width:48px !important; }
.panel-pages #admin-inventory-table th:last-child { width:200px !important; }
.panel-pages #admin-inventory-table :is(th,td):nth-child(n+3):nth-child(-n+7) { padding-left:5px !important; padding-right:5px !important; }

/* Research lists use the same compact, readable proportions as inventory. */
.research-workspace { width:min(1440px,calc(100% - 40px)); }
.research-products-table { table-layout:fixed; min-width:680px; }
.research-workspace .admin-table-wrap :is(th,td) { padding:6px 8px !important; font-size:13px; line-height:1.4; vertical-align:middle; }
.research-workspace .admin-table-wrap th { background:#f1f5f7; font-size:12px; font-weight:600; }
.research-products-table :is(th,td):nth-child(3) { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.research-row-actions { display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
.research-workspace .admin-table-wrap .btn { min-height:26px; padding:3px 6px !important; font-size:11px !important; line-height:18px; border-radius:4px; }
.research-row-actions form { margin:0; }
.research-workspace .admin-table-wrap small { font-size:12px; }

/* Product names receive remaining width; compact numeric columns retain theirs. */
.panel-pages #admin-inventory-table .inventory-name-heading { width:auto !important; }
.panel-pages #admin-inventory-table .inventory-product-name { max-width:none; }
.panel-pages #admin-inventory-table .inventory-name-link { display:block; color:var(--ink); font-size:13px; font-weight:600; text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.panel-pages #admin-inventory-table.table-wrapped .inventory-name-link,
.panel-pages #admin-inventory-table .inventory-name-link:focus { white-space:normal; overflow-wrap:anywhere; }
.panel-pages #admin-inventory-table .inventory-name-link:hover { color:var(--blue); text-decoration:underline; }
.panel-pages #admin-inventory-table td:last-child { white-space:normal; overflow:visible; }

/* Consistent section headings and compact single-line inventory actions. */
.panel-pages .admin-card .admin-card-header .admin-card-title { font-family:var(--font-ui); font-size:16px; font-weight:600; line-height:1.35; letter-spacing:-.015em; }
.panel-pages #admin-inventory-table td:last-child { white-space:nowrap; }
.panel-pages #admin-inventory-table td:last-child .btn { min-height:26px; padding:3px 5px !important; font-size:11px !important; line-height:18px; }
.panel-pages #admin-inventory-table td:last-child form { margin:0; }
.panel-pages #admin-inventory-table .inventory-product-name { position:relative; }
.panel-pages #admin-inventory-table .inventory-product-name:hover .inventory-name-link { white-space:normal; overflow-wrap:anywhere; }

.activity-view { display:flex; gap:8px; align-items:center; padding:12px 16px; flex-wrap:wrap; }
.activity-view select { padding:6px; border:1px solid var(--line); border-radius:5px; font-size:13px; }
.activity-help { padding:0 16px; font-size:12px; }

/* Category landing pages share one taxonomy and a restrained catalog layout. */
.category-landing .breadcrumb { margin-bottom:20px; }
.category-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.category-heading h1 { margin:0 0 8px; font-size:34px; }
.category-heading p { margin:0; max-width:650px; }
.category-switcher { display:flex; flex-wrap:wrap; gap:8px; padding:22px 0; margin-bottom:24px; border-bottom:1px solid var(--line); }
.category-switcher a { padding:8px 14px; border:1px solid var(--line); border-radius:6px; text-decoration:none; font-size:14px; }
.category-switcher a[aria-current] { background:var(--blue); color:white; border-color:var(--blue); }
.category-landing h2 { font-size:20px; margin:0 0 16px; }
.category-directory { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:24px; }
.category-directory-item { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; border:1px solid var(--line); border-radius:8px; background:white; text-decoration:none; }
.category-directory-item strong { font-size:14px; color:var(--ink); }
.category-directory-item>span { font-size:12px; white-space:nowrap; color:var(--muted); }
.category-directory-item:hover { border-color:var(--blue); background:#f1f7f8; }
/* Category landing pages: readable names, quiet counts and a clear browse cue. */
@media screen{
  .category-landing .subcategory-browser .category-directory{gap:12px}
  body .site-content .category-landing .subcategory-browser .category-directory-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:12px 54px 12px calc(16px + var(--tree-depth,0)*12px);border-radius:12px;background:linear-gradient(125deg,#fff 55%,#edf6f4);box-shadow:inset 0 1px 0 #fff,var(--finish-depth)!important}
  .category-landing .subcategory-browser .category-directory-item strong{font-size:14px;line-height:1.4;font-weight:600;color:#244b58;overflow-wrap:anywhere}
  .category-landing .subcategory-browser .category-directory-item>span{justify-self:start;padding:2px 7px;border-radius:5px;background:#eaf3f1;color:#4c6e76;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.5}
  .category-landing .subcategory-browser .category-directory-item>span>span{position:absolute;right:15px;top:50%;display:grid;place-items:center;width:28px;height:28px;transform:translateY(-50%);border:1px solid #d4e5e1;border-radius:50%;background:#fff;color:var(--teal);font-size:16px;line-height:1}
  .category-landing .subcategory-browser .category-directory-item:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
}
@media screen and (hover:hover){
  body .site-content .category-landing .subcategory-browser .category-directory-item:hover{background:linear-gradient(125deg,#fff,#e5f2ee);border-color:#8bb7b2!important;box-shadow:var(--finish-depth-hover)!important;transform:translateY(-2px)}
  .category-landing .subcategory-browser .category-directory-item:hover>span>span{background:var(--teal);border-color:var(--teal);color:#fff}
}
@media screen and (prefers-reduced-motion:reduce){
  .category-landing .subcategory-browser .category-directory-item{transition:none}
  body .site-content .category-landing .subcategory-browser .category-directory-item:hover{transform:none}
}
.category-results-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.category-results-header h2 { margin:0; }
.category-results-header h2 span { color:var(--muted); font-size:16px; font-weight:400; }
.category-results-header .search-form { margin:0; max-width:520px; flex:1; flex-wrap:wrap; }
.category-search-label { width:100%; font-size:12px; }
.category-results-header input { min-width:120px; flex:1; }
.category-empty { grid-column:1 / -1; padding:32px; border:1px solid var(--line); border-radius:8px; background:white; }
.category-pagination { display:flex; gap:16px; justify-content:center; align-items:center; margin-top:24px; }
#category-results { scroll-margin-top:96px; }
@media(max-width:900px) { .category-directory { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .category-directory { grid-template-columns:1fr; } .category-heading { align-items:flex-start; flex-direction:column; } .category-results-header .search-form { flex-basis:100%; } }

/* Final layout pass: keep major surfaces aligned and visually grouped. */
.home-section > .container { width: min(1180px, calc(100% - 40px)); }
.home-spotlight > .container > div,
.home-capabilities > .container > div { max-width: 1120px; margin-left: auto; margin-right: auto; }
.home-spotlight > .container > div { padding: 16px 20px !important; gap: 16px !important; }
.home-capabilities > .container > div > div:last-child { align-items: stretch; }
.home-capabilities > .container > div > div:last-child > div { min-height: 100%; }
.catalog-search-row { max-width: 980px; margin: 0 auto 18px !important; }
.catalog-search-row .search-form { max-width: none; }
.catalog-search-row .btn-search { min-width: 104px; }
.admin-dashboard-toolbar { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-dashboard-toolbar .admin-toolbar { flex: 1; min-width: 0; }
.admin-dashboard-toolbar > .btn { flex: 0 0 auto; }
.admin-dashboard-container .admin-card-header > * { min-width: 0; }
.admin-dashboard-container .admin-card-header .admin-tabs { justify-content: flex-end; }
@media(max-width:700px) {
  .home-spotlight > .container > div { padding: 16px 20px !important; }
  .catalog-search-row { display: block !important; margin-bottom: 24px !important; }
  .catalog-search-row .search-form { width: 100%; }
  .catalog-search-row .btn-search { width: 100%; }
  .admin-dashboard-toolbar { align-items: stretch !important; }
  .admin-dashboard-toolbar > .btn { width: 100%; }
  .admin-dashboard-container .admin-card-header .admin-tabs { justify-content: flex-start; }
}

/* Inquiry milestones reuse the dashboard's compact surfaces. */
.inquiry-workflow { min-width:150px; padding:6px 0; text-align:left; }
.workflow-status { display:block; font-size:11px; margin-bottom:8px; color:var(--accent-slate); }
.workflow-timeline { list-style:none; margin:0; padding:0; }
.workflow-step { position:relative; display:flex; align-items:flex-start; gap:8px; padding:0 0 13px; font-size:11px; line-height:1.3; font-weight:600; }
.workflow-step:not(:last-child)::after { content:'↓'; position:absolute; left:5px; top:20px; color:#94a3b8; font-size:11px; line-height:12px; }
.workflow-step:last-child { padding-bottom:0; }
.workflow-marker { display:grid; place-items:center; flex:0 0 20px; height:20px; border:1px solid currentColor; border-radius:50%; font-size:12px; }
.workflow-step small { display:block; font-size:9px; font-weight:400; margin-top:2px; }
.workflow-complete { color:#15803d; }
.workflow-complete .workflow-marker { background:#dcfce7; }
.workflow-current { color:#854d0e; }
.workflow-current .workflow-marker { background:#fef08a; }
.workflow-pending { color:#b91c1c; }
.workflow-pending .workflow-marker { background:#fee2e2; }
.workflow-closed { color:#b91c1c; font-size:11px; max-width:190px; }
.workflow-help { font-size:12px; line-height:1.6; color:#657383; }


/* =====================================================================
   CellQore design system v2 — polish layer
   Appended after the original rules so every existing class keeps
   working; this layer refines tokens, typography and components.
   ===================================================================== */
:root {
  --font-ui: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-body: 16px; --text-ui: 14px; --text-meta: 13px;
  --ink: #0f1f2e; --muted: #4d5f6b; --faint: #7a8b94;
  --paper: #f4f7f6; --surface: #ffffff;
  --line: #dce4e2; --line-strong: #c3d0cd;
  --teal: #0e6f74; --teal-dark: #0a565a; --teal-wash: #e6f1f0; --teal-glow: #7fe0d3;
  --amber: #a86a12; --amber-wash: #fbf2e2;
  --band: #0c1c29; --band-2: #12293a; --band-text: #b6c7cd;
  --navy: var(--ink); --accent-slate: var(--ink); --text-secondary: var(--muted);
  --accent-blue: var(--teal); --blue: var(--teal); --blue-dark: var(--teal-dark);
  --emerald: #2f7d4f; --gold: var(--amber);
  --radius-s: 6px; --radius: 10px; --radius-l: 14px;
  --hero-mint:#7fe0d3; --hero-blue:#8cc8ff; --hero-gold:#ffd17b;
  --control-hover-border:#93b4b6; --surface-disabled:#edf2f2;
  --shadow: 0 1px 2px rgba(15,31,46,.05);
  --shadow-lg: 0 18px 40px -18px rgba(15,31,46,.35);
  --shadow-hover: 0 12px 30px -16px rgba(15,31,46,.35);
  --nav-height: 72px;
}

/* ── Base ─────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-ui); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: #cfe6e3; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-ui); color: var(--ink); font-weight: 600; letter-spacing: -.018em; }
h1 { letter-spacing: -.028em; }
p { color: var(--muted); }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
strong { font-weight: 600; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ── Navigation ───────────────────────────────────────────────────── */
#main-nav { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
#main-nav.nav-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 6px 24px -18px rgba(15,31,46,.5); }
.nav-content { width: min(1240px, calc(100% - 40px)); gap: 18px; }
.nav-logo { color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: -.035em; gap: 9px; }
.nav-logo::before { content: ""; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px;
  background: radial-gradient(circle at 30% 30%, var(--teal-glow) 0 3px, transparent 3.5px),
              radial-gradient(circle at 70% 30%, #3aa9a3 0 3px, transparent 3.5px),
              radial-gradient(circle at 30% 70%, #1f7f83 0 3px, transparent 3.5px),
              radial-gradient(circle at 70% 70%, #2f9894 0 3px, transparent 3.5px), var(--band); }
@media (forced-colors: none) {
  #main-nav .nav-logo {
    color: transparent;
    font-size: 25.2px;
    gap: 10.8px;
    background: left center / contain no-repeat url("cellqore-soft-core-plum-coral.png");
  }
  #main-nav .nav-logo::before { flex-basis: 26.4px; background: none; }
}
@media (forced-colors: none) and (prefers-reduced-motion: no-preference) {
  #main-nav .nav-logo {
    position: relative;
    /* Match the enlarged icon slot and wordmark gap in the static logo. */
    padding-inline-start: 37.2px;
    background: none;
  }
  #main-nav .nav-logo::before,
  #main-nav .nav-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: left center / contain no-repeat url("cellqore-soft-core-plum-coral.png");
    pointer-events: none;
  }
  #main-nav .nav-logo::before {
    clip-path: inset(0 75% 0 0);
    transform-origin: 12% center;
    animation: cellqore-logo-spin 2.8s cubic-bezier(.45, .05, .55, .95);
  }
  #main-nav .nav-logo::after { clip-path: inset(0 0 0 25%); }
}
@keyframes cellqore-logo-spin {
  from { transform: perspective(100px) rotateY(0deg); filter: brightness(1); }
  50% { filter: brightness(.83); }
  to { transform: perspective(100px) rotateY(360deg); filter: brightness(1); }
}
.nav-link { color: #2b3d4a; font-size: 14px; font-weight: 500; padding: 9px 11px; border-radius: 8px; }
.nav-link:hover { color: var(--teal-dark); background: var(--teal-wash); }
.nav-caret { opacity: .5; font-size: 15px; }
.dropdown-panel { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  box-shadow: 0 24px 48px -24px rgba(15,31,46,.4), 0 2px 6px rgba(15,31,46,.05); }
.dropdown-header-block { margin-bottom: 4px; padding-bottom: 4px; border-bottom-color: var(--line); }
.dropdown-section-title { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--teal-dark); }
.dropdown-subcategory { padding: 4px 8px; min-height: 30px; align-content: center; border-radius: 5px; box-shadow: inset 0 -1px #e6efee; }
.dropdown-subcategory:hover { background: var(--teal-wash); transform: none; }
.dropdown-subcategory .d-sub-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.dropdown-subcategory:hover .d-sub-name { color: var(--teal-dark); }
.dp-viewall { margin-top: 4px; padding: 5px 8px; border: 0; border-radius: 6px; background: var(--teal-wash); color: var(--teal-dark); font-size: 13px; font-weight: 600; }
@media (max-width: 900px) {
  .dropdown-subcategory { min-height: 44px; }
}
.nav-search-form { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.nav-search-form:focus-within { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(14,111,116,.16); }
.nav-search-form input { font-size: 13.5px; }
.nav-search-btn { background: var(--teal); border-radius: 7px; }
.nav-search-btn:hover { background: var(--teal-dark); }
.nav-divider { background: var(--line); }
.nav-cta, .nav-cta-outline { font-size: 14px !important; font-weight: 600; padding: 8px 14px; border-radius: 8px; }
.nav-cta { background: var(--teal) !important; color: #fff !important; box-shadow: none; }
.nav-cta:hover { background: var(--teal-dark) !important; transform: none; box-shadow: none; }
.nav-cta-outline { color: var(--ink); border: 1px solid var(--line-strong); }
.nav-cta-outline:hover { color: var(--teal-dark); border-color: var(--teal); background: var(--teal-wash); }
.nav-pill { color: var(--ink); }
.nav-signout { color: #a33a3a; }

/* ── Page banners: deep ink band ─────────────────────────────────── */
.page-banner { min-height: 210px; place-items: end start; background: var(--band); color: #fff; isolation: isolate; }
.page-banner.banner-compact { min-height: 168px !important; }
.banner-bg { background-image: var(--banner-img); background-size: cover; background-position: center;
  opacity: .16; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 90%); mask-image: linear-gradient(90deg, transparent 30%, #000 90%); }
.banner-overlay { background: linear-gradient(180deg, rgba(12,28,41,0) 0%, rgba(12,28,41,.55) 100%); }
.banner-text { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 34px; text-align: left; }
.banner-compact .banner-text { padding: 34px 0 28px; }
.banner-title { max-width: 720px; color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 600;
  letter-spacing: -.028em; line-height: 1.12; text-shadow: none; }
.banner-compact .banner-title { font-size: clamp(26px, 3vw, 34px); }
.banner-tagline { max-width: 620px; margin: 10px 0 0; color: var(--band-text); font-size: 16px; line-height: 1.55; opacity: 1; }
.page-banner .badge-gradient { margin-bottom: 14px; background: rgba(127,224,211,.12); color: var(--teal-glow);
  border: 1px solid rgba(127,224,211,.28); box-shadow: none; }
.banner-transition { height: 0; background: none; box-shadow: none; }

/* ── Labels, badges, dividers ─────────────────────────────────────── */
.badge-gradient, .badge { padding: 4px 10px; border: 0; border-radius: 999px; background: var(--teal-wash);
  color: var(--teal-dark); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ncbi-badge { background: var(--teal); color: #fff; border-radius: 5px; font-size: 12px; font-weight: 500;
  letter-spacing: 0; text-transform: none; padding: 3px 8px; }
.mol-badge { background: var(--band); color: var(--teal-glow); font-size: 12px; font-weight: 500;
  letter-spacing: 0; border-radius: 5px; padding: 3px 8px; }
.gradient-line { display: none; }
.card-category-pill { padding: 0; margin: 0 0 2px; background: none; color: var(--teal); font-size: 13px;
  font-weight: 500; letter-spacing: 0; text-transform: none; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn, .btn-search, .btn-outline { min-height: 40px; padding: 9px 16px; border-radius: 8px; font-size: 14px;
  font-weight: 600; letter-spacing: 0; box-shadow: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.btn, .btn-search { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn:hover, .btn-search:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: none; box-shadow: none; }
.btn:active, .btn-search:active, .btn-outline:active { transform: translateY(1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-outline:hover { background: var(--teal-wash); color: var(--teal-dark); border-color: var(--teal); box-shadow: none; }

/* ── Cards & product grid ─────────────────────────────────────────── */
.grid { gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: none; background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.card:hover { transform: none; border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.card > img { height: 176px; background: #e7eeec; border-bottom: 1px solid var(--line); }
.card-body, .card-content { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3, .card-body h3, .card-content h3 { margin: 6px 0 8px; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.012em; }
.card-body > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.55; }
.card-meta { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.card-price { margin-top: auto; padding-top: 14px; color: var(--ink); font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-gate { margin-top: auto; padding-top: 14px; color: var(--amber); font-size: 13px; font-weight: 500; }
.card-body .btn { align-self: flex-start; min-height: 0; padding: 0 !important; background: none; border: 0; color: var(--teal); font-size: 14px !important; }
.card:hover .card-body .btn { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; background: none; }

/* ── Catalog page ─────────────────────────────────────────────────── */
.catalog-kicker { color: var(--teal); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.catalog-intro-row h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
.catalog-stat { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.catalog-stat strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.category-panels { gap: 16px; }
.category-panel { border: 1px solid var(--line) !important; border-radius: var(--radius-l); background: #fff;
  box-shadow: none; padding: 20px 22px 16px; }
.category-panel:hover, .category-panel:focus-visible { transform: none; border-color: var(--line-strong) !important; box-shadow: var(--shadow-hover); }
.category-panel-top { margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--faint); }
.category-index { display: none; }
.category-panel h2 { font-size: 22px; font-weight: 600; }
.category-panel p { font-size: 14px; }
.sub-category-tag { padding: 5px 10px; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: 7px; font-size: 13px; font-weight: 500; }
.sub-category-tag:hover { background: var(--teal-wash); color: var(--teal-dark); border-color: var(--teal); }
.category-panel-footer { border-top-color: var(--line); color: var(--teal); font-size: 14px; font-weight: 600; }
.catalog-results-toolbar { border-color: var(--line); }
.catalog-view-label { text-transform: none; letter-spacing: 0; font-weight: 500; }
.view-option:hover, .view-option.is-active { background: var(--teal-wash); color: var(--teal-dark); }
.search-count { color: var(--muted); }

/* Category landing pages */
.category-heading h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; }
.category-switcher { border-bottom-color: var(--line); }
.category-switcher a { border-color: var(--line); border-radius: 8px; color: var(--ink); font-weight: 500; background: #fff; }
.category-switcher a:hover { border-color: var(--teal); color: var(--teal-dark); }
.category-switcher a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.category-directory-item { border-color: var(--line); border-radius: var(--radius); }
.category-directory-item:hover { border-color: var(--teal); background: var(--teal-wash); }
.category-directory-item strong { font-weight: 500; }
.category-empty, .empty-subcategory { border: 1px dashed var(--line-strong); border-radius: var(--radius-l); background: #fff; }

/* ── Forms ────────────────────────────────────────────────────────── */
.form-input, .search-form input { border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 13px;
  font-size: 15px; background: #fff; color: var(--ink); }
.form-input::placeholder, .search-form input::placeholder { color: #8a9aa2; }
.form-input:focus, .search-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,111,116,.16); }
.form-label, label { color: var(--ink); }
.form-error { color: #9b2c2c; background: #fdf1f1; border-color: #f2c9c9; }
.form-success { color: #1f6b45; background: #eef8f2; border-color: #c4e6d1; }
.approval-check { border-left-width: 1px; border-color: #ecc8a4; background: var(--amber-wash); }
.approval-check input { accent-color: var(--teal); }

/* ── Product page ─────────────────────────────────────────────────── */
.product-description, .scientific-metadata, .research-profile, .vendor-detail-panel {
  border: 1px solid var(--line) !important; border-radius: var(--radius-l); background: #fff; box-shadow: none; }
.product-description h3, .scientific-metadata h3, .research-profile h3, .vendor-detail-panel h3 { font-size: 16px; font-weight: 600; }
.product-description p { color: var(--ink); font-size: 16px; }
.scientific-metadata h4, .research-profile h4, .vendor-detail-grid span { font-size: 13px; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--faint); }
.vendor-detail-grid strong { font-weight: 500; }
.price-gate a { color: var(--amber); font-weight: 600; }
.mol-viewer-card { border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: none; padding: 24px; }
.mol-viewer-header { border-bottom-color: var(--line); }
.mol-viewer-title { font-size: 16px; font-weight: 600; }
.btn-mol-tool { background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.btn-mol-tool:hover { background: var(--teal-wash); color: var(--teal-dark); border-color: var(--teal); }
.btn-mol-tool.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.mol-viewport { background: var(--band); border-color: #1d3546; border-radius: 12px; box-shadow: none; }
.mol-loading-overlay { background: rgba(12,28,41,.9); color: var(--band-text); }
.mol-spinner { border-color: rgba(127,224,211,.18); border-top-color: var(--teal-glow); border-right-color: var(--teal-glow); }
.mol-lookup-bar { background: var(--paper); border-color: var(--line); }
.mol-lookup-input { border-color: var(--line-strong); border-radius: 7px; padding: 8px 12px; font-size: 13px; }
.research-container { border-color: var(--line); border-radius: var(--radius-l); box-shadow: none; }
.research-header { background: var(--paper); border-bottom-color: var(--line); }

/* ── Breadcrumbs ──────────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--faint); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: #b3c0c5; }

/* ── Footer: closes every page on the ink band ────────────────────── */
footer { margin-top: 56px; padding: 34px 0 30px; background: var(--band); border-top: 0; }
footer .container { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
footer p { color: #7f939b !important; font-size: 13px !important; margin: 18px 0 0; }
footer .footer-links { margin-top: 0 !important; gap: 26px !important; }
footer .footer-links a { color: #d3dfe3 !important; font-size: 14px !important; font-weight: 500 !important; }
footer .footer-links a:hover { color: var(--teal-glow) !important; }

/* ── Home hero ───────────────────────────────────────────────────── */
.hero-biotech { position: relative; overflow: hidden; background: var(--band); color: #fff; padding: 72px 0 60px; }
.hero-inner { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero-copy { max-width: 620px; }
.hero-title { margin: 18px 0 16px; color: #fff; font-size: clamp(32px, 3.7vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -.032em; }
.hero-title span { display: block; }
.hero-title .hero-highlight{color:var(--hero-mint);font-weight:inherit}
.hero-title .hero-highlight-blue{color:var(--hero-blue)}
.hero-title .hero-highlight-gold{color:var(--hero-gold)}
.hero-lede { max-width: 560px; margin: 0 0 28px; color: var(--band-text); font-size: 17px; line-height: 1.6; }
.hero-search { display: flex; gap: 6px; max-width: 600px; padding: 6px; background: #fff; border-radius: 12px;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.7); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 12px; font-size: 15px; color: var(--ink); background: transparent; }
.hero-search .btn { padding: 10px 20px; }
.hero-trending { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-block: 2px;
  overflow-x: auto; white-space: nowrap; font-size: 12px; color: #fff; }
.hero-trending a { flex: 0 0 auto; color: #fff; background: var(--band); text-decoration: none; padding: 4px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.hero-trending a:hover { color: #fff; border-color: var(--teal-glow); background: var(--band-2); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; padding-top: 22px; max-width: 620px; }
.hero-stats > div { flex: 1 1 160px; padding-right: 20px; }
.hero-stats strong { display: block; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.hero-stats span { color: var(--band-text); font-size: 12px; }

.home-section { padding: 64px 0; background: transparent; border: 0; }
.home-section.bg-light { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 0 28px; }
.section-head .badge-gradient { background: none; padding: 0; color: var(--teal); }
.section-head h2 { margin: 6px 0 8px; font-size: clamp(24px, 2.6vw, 32px); }
.section-head p { margin: 0; font-size: 16px; }

.spotlight-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); }
.spotlight-card h3 { margin: 10px 0 6px; font-size: 21px; }
.spotlight-card p { margin: 0 0 12px; font-size: 15px; max-width: 660px; }
.spotlight-details { min-width: 0; }
.spotlight-labels { display: flex; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap; }
.spotlight-labels > span { flex: 0 0 auto; }
.spotlight-labels:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.spotlight-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--muted); }
.spotlight-meta b { font-weight: 500; color: var(--ink); }
.spotlight-meta .in-stock { color: var(--emerald); font-weight: 500; }
.spotlight-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.division-card { color: inherit; text-decoration: none; }
.division-card .card-body { text-align: left; }
.division-examples { display: block; }
.division-card h3 { font-size: 19px; margin-top: 0; }
.division-card .mol-badge { align-self: flex-start; margin-top: auto; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.capability { padding: 28px 28px 8px 0; }
.capability + .capability { padding-left: 28px; border-left: 1px solid var(--line); }
.capability-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  color: var(--teal); background: var(--teal-wash); margin-bottom: 16px; }
.capability h4 { margin: 0 0 8px; font-size: 17px; }
.capability p { margin: 0; font-size: 15px; line-height: 1.6; }
.home-capabilities > .container > div > div:last-child > div { min-height: 0; }
.home-spotlight > .container > div, .home-capabilities > .container > div { max-width: none; }
.icon-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  color: var(--teal); background: var(--teal-wash); }

/* ── Admin console: same system, denser ───────────────────────────── */
.admin-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.admin-card-header { background: #fff; border-bottom-color: var(--line); }
.admin-dashboard-container .admin-stat-item { border: 1px solid var(--line); border-top: 2px solid var(--bucket-accent); border-radius: var(--radius); background: #fff; box-shadow: none; }
.admin-dashboard-container .admin-stat-value { font-weight: 600; }
.dashboard-function-tile { border-right-color: var(--line); border-bottom-color: var(--line); border-left-color: var(--line);
  border-top-width: 2px; border-radius: var(--radius); box-shadow: none; min-height: 132px; }
.dashboard-function-tile::before { background: #fff; }
.dashboard-function-tile:hover { transform: none; border-right-color: var(--line-strong); border-bottom-color: var(--line-strong); border-left-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.dashboard-function-tile strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.dashboard-function-tile small { color: var(--muted); font-size: 12px; }
.tile-icon { border-radius: 8px; box-shadow: none; }
.admin-tab-btn { background: #fff; border-color: var(--line); color: var(--muted); border-radius: 7px; }
.admin-tab-btn:hover { background: var(--teal-wash); color: var(--teal-dark); }
.admin-tab-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
th { background: var(--paper); color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12.5px; }
.admin-dashboard-container th { background: var(--paper); }
th, td { border-bottom-color: #e9efed; }
.section-expand { border-color: var(--line-strong); color: var(--teal); border-radius: 7px; }
.section-expand:hover { background: var(--teal); border-color: var(--teal); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
}
@media (max-width: 900px) {
  .nav-links { border-radius: 0 0 14px 14px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability, .capability + .capability { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .spotlight-card { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero-biotech { padding: 48px 0 40px; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .hero-stats { margin-top: 32px; }
  .home-section { padding: 44px 0; }
  .page-banner, .page-banner.banner-compact { min-height: 150px !important; }
}
@media print { .page-banner, footer, #main-nav { display: none !important; } }

/* =====================================================================
   Spacing pass — one rhythm (8px base) and no space that does no work
   ===================================================================== */
:root { --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 48px; }

/* Hero: copy on the left, the search (the page's main job) fills the right */
.hero-biotech { padding: 52px 0 40px; }
.hero-copy { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  column-gap: 56px; align-items: end; }
.hero-copy > * { grid-column: 1; }
.hero-title { margin: 14px 0 12px; font-size: clamp(32px, 3.5vw, 46px); }
.hero-lede { margin: 0; font-size: 16.5px; }
.hero-catalog {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 0;
  padding: 14px;
}
.hero-catalog label {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-shadow: 0 1px 5px var(--band);
}
.hero-search { max-width: none; }
.hero-search:focus-within { outline: 2px solid var(--hero-mint); outline-offset: 3px; }
.hero-search .btn { white-space: nowrap; }
.hero-trending { flex-wrap: wrap; overflow: visible; margin-top: 9px; }
.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 850px;
  margin-top: 32px;
  padding-top: 18px;
}
.hero-stats > div { padding-right: 0; }
.hero-stats > div + div { padding-left: 16px; }
.hero-stats strong { font-size: 16px; }

/* Home sections */
.home-section { padding: 48px 0; }
.home-section.home-spotlight { padding: 12px 0; }
.section-head { margin-bottom: 22px; }
.section-head h2 { margin: 4px 0 6px; }
.spotlight-card { padding: 16px 20px; }
.home-spotlight > .container > div { padding: 16px 20px !important; }
.capability { padding-top: 22px; padding-bottom: 0; }
.capability-icon { margin-bottom: 12px; }

/* Banners: shorter, and lighter still on compact pages */
.page-banner { min-height: 176px; }
.page-banner.banner-compact { min-height: 128px !important; }
.banner-text { padding: 36px 0 28px; }
.banner-compact .banner-text { padding: 24px 0 20px; }
.banner-compact .banner-title { font-size: clamp(24px, 2.6vw, 30px); }
.banner-compact .banner-tagline { margin-top: 6px; font-size: 15px; }
.page-banner .badge-gradient { margin-bottom: 10px; }

/* Admin is a work tool: a slim title strip instead of a marketing banner */
.is-admin .page-banner, .is-admin .page-banner.banner-compact { min-height: 0 !important; }
.is-admin .banner-text { padding: 18px 0 16px; }
.is-admin .banner-title { font-size: 22px; }
.is-admin .banner-tagline { margin-top: 2px; font-size: 14px; }
.is-admin .page-banner .badge-gradient, .is-admin .banner-bg { display: none; }
.is-admin .admin-dashboard-container { padding-top: 20px; }

/* Page containers directly under a banner */
.container { padding: 24px 0; }
.category-landing .breadcrumb, .breadcrumb { margin-bottom: 14px; }
.catalog-intro-row { margin-bottom: 12px; }
.catalog-intro-row h1 { margin: 4px 0 4px; }
.catalog-search-row { margin-bottom: 18px !important; }
.category-panels { margin: 0 0 16px; }
.catalog-results-toolbar { margin-bottom: 14px; }

/* Category & subcategory pages: the banner already names the page, so the
   repeated heading stays for search engines and screen readers only */
.category-landing .category-heading > div:first-child { position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.category-landing .category-heading { justify-content: flex-end; gap: 10px; }
.category-landing .category-heading:not(:has(> a)) { display: none; }
.category-switcher { padding: 4px 0 18px; margin-bottom: 22px; }
.category-landing h2 { margin-bottom: 12px; }
.category-directory { margin-bottom: 24px; }
.subcategory-children { margin: 18px 0 8px; }

/* Product page */
.product-page { padding-top: 20px; }
.product-page > div:first-child { margin-bottom: 16px !important; }
.product-photo { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 420px; object-fit: cover;
  border-radius: var(--radius-l) !important; border: 1px solid var(--line); box-shadow: none !important; background: #e7eeec; }
.product-kicker { margin: 0 0 6px; color: var(--teal); font-size: 14px; font-weight: 500; }
.product-page h1 { font-size: clamp(28px, 3vw, 36px) !important; margin: 0 0 12px !important; }
.product-description, .scientific-metadata, .research-profile, .vendor-detail-panel { margin: 16px 0; padding: 18px 20px; }
.mol-viewer-card { margin-top: 28px; }

/* Cards & footer */
.card > img { height: 160px; }
footer { margin-top: 40px; padding: 26px 0 24px; }
footer p { margin-top: 12px; }


/* Refinements */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > nav + div { flex: 1 0 auto; }                       /* footer sits at the bottom on short pages */
.hero-title { font-size: clamp(30px, 3.1vw, 42px); }
.home-section.home-capabilities { padding-bottom: 32px; }
footer { margin-top: 24px; }
.category-landing .card-category-pill { display: none; }  /* the page already names the category */
.category-directory { gap: 10px; }
.category-directory-item { padding: 14px 16px; }
.subcategory-children .category-directory-item { padding: 14px 16px; }
/* Product page: the photo stays in view while the details column scrolls past */
@media (min-width: 761px) {
  .product-page > div:nth-child(2) > div:first-child { position: sticky; top: calc(var(--nav-height) + 16px); align-self: flex-start; }
}
.product-photo { max-height: 380px; }
.product-page div[style*="background:#f5f5f7"] { background: #fff !important; border: 1px solid var(--line);
  border-radius: var(--radius-l) !important; padding: 14px 20px !important; margin: 16px 0 20px !important; }
.mol-viewport { height: 420px; }
/* Admin: title strip shares the dashboard's edges; tiles drop dead space */
.is-admin:has(.admin-dashboard-container, .research-workspace) .banner-text { width: min(1440px, calc(100% - 40px)); }
.dashboard-function-tile { min-height: 112px; padding: 12px 14px; }
.dashboard-function-tile strong { padding-top: 10px; }
.dashboard-function-tiles { margin-bottom: 16px; }
.admin-dashboard-container .admin-stats-bar { margin-bottom: 12px; }

/* Coming-soon pipeline */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none !important; }
.section-head-row > div { max-width: 640px; }
.section-head-row .btn { flex: 0 0 auto; }
.home-section.home-pipeline { padding: 48px 0; }
.pipeline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pipeline-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.pipeline-item:hover { border-color: var(--teal); box-shadow: var(--shadow-hover); }
.pipeline-item strong { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
.pipeline-item > span:last-child { color: var(--muted); font-size: 13px; }
.pipeline-tag { align-self: flex-start; display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--amber-wash);
  color: var(--amber); font-size: 12px; font-weight: 500; }
.card-body .pipeline-tag { margin: 0 0 4px; }
@media (max-width: 900px) { .pipeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-head-row { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .pipeline-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   v3 — type scale, admin workspace, quote builder & documents
   ===================================================================== */
:root { --fs-body: 16px; --fs-ui: 14px; --fs-meta: 13px; --fs-label: 12px; }
body { font-size: var(--fs-body); line-height: 1.6; }
small, .muted, .cell-sub, .side-note, .doc-sub { font-size: var(--fs-meta); }
.muted, .cell-sub, .side-note, .doc-sub { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: var(--fs-meta); letter-spacing: 0; }
.warn { color: #a3372c !important; }

/* Buttons: sizes and variants used across admin */
.btn-sm { min-height: 32px !important; padding: 5px 11px !important; font-size: 13px !important; border-radius: 7px; }
.btn-lg { min-height: 48px; padding: 12px 24px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-danger { background: #fff; color: #a3372c; border: 1px solid #e7c3bd; }
.btn-danger:hover { background: #fbeeec; color: #8a2c22; border-color: #a3372c; }
.link-btn { padding: 0; border: 0; background: none; color: var(--teal); font-size: var(--fs-meta); font-weight: 500; cursor: pointer; }
.link-btn:hover { color: #a3372c; text-decoration: underline; }
.chip { margin: 4px 6px 0 0; padding: 4px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-size: var(--fs-meta); cursor: pointer; }
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: var(--fs-label); font-weight: 500; white-space: nowrap; border: 1px solid var(--line); }
.pill-green { background: #eaf5ee; color: #24683f; border-color: #cfe7d8; }
.pill-red { background: #fbeeec; color: #9b3429; border-color: #f0d2cd; }
.pill-amber { background: var(--amber-wash); color: var(--amber); border-color: #f0dcb5; }
.pill-blue { background: #eaf2fb; color: #255b8f; border-color: #d0e0f2; }
.pill-violet { background: #f2eefb; color: #5b3d99; border-color: #e0d7f3; }
.ops .admin-stat-item > span:last-child { display: block !important; }
.ops td.num, .ops .row-actions, .doc-lines .num { white-space: nowrap !important; }
.ops td:first-child a strong { white-space: nowrap; }
.panel-pages .ops #admin-inventory-table td.num { white-space: nowrap !important; }
.catalog-stat span, .catalog-view-label, .view-option { font-size: var(--fs-meta) !important; }

/* Flash confirmation bar */
.flash-bar { background: #eaf5ee; border-bottom: 1px solid #cfe7d8; }
.flash-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 12px 0; color: #1f5c38; font-size: var(--fs-ui); font-weight: 500; }
.is-admin .flash-inner { width: min(1440px, calc(100% - 40px)); }

/* Admin navigation: quote counter always visible */
.nav-quote { gap: 6px; }
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 600; }

/* Operations dashboard */
.ops { padding-top: 28px !important; }
.ops-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.ops-head h1 { margin: 0; font-size: 28px; }
.ops-head p { margin: 4px 0 0; font-size: var(--fs-ui); }
.ops-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ops .admin-stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; }
.ops .admin-stat-item { --bucket-accent: var(--teal); padding: 16px 18px !important; border-top-width: 1px !important; border: 1px solid var(--line) !important; background: #fff !important; }
.ops .admin-stat-item:hover { border-color: var(--teal) !important; }
.ops .admin-stat-value { color: var(--ink) !important; font-size: 26px !important; font-weight: 600 !important; letter-spacing: -.02em; }
.ops .admin-stat-label { margin-top: 2px; color: var(--muted) !important; font-size: var(--fs-meta) !important; font-weight: 500 !important; }
.ops-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 28px; }
.flow-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); }
.flow-card-accent { border-color: #b9d8d6; box-shadow: 0 1px 0 rgba(14,111,116,.06), inset 0 3px 0 var(--teal); }
.flow-head { display: flex; align-items: center; gap: 10px; }
.flow-head h2 { margin: 0; font-size: 17px; flex: 1; }
.flow-head a { font-size: var(--fs-meta); font-weight: 500; }
.flow-step { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.flow-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: var(--fs-ui); }
.flow-list li:first-child { border-top: 0; }
.flow-list li > div { display: flex; flex-direction: column; min-width: 0; }
.flow-list li > div > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-list li.muted { display: block; color: var(--muted); font-size: var(--fs-meta); }
.flow-meta { margin: 0; font-size: var(--fs-ui); color: var(--muted); }
.flow-empty { margin: 0; }
.ops-sections { grid-template-columns: 1fr !important; gap: 20px !important; }
.ops .dashboard-section-card { display: block !important; }
.ops .admin-card-header { padding: 14px 18px !important; }
.ops .admin-card-title { font-size: 17px !important; }
.ops .title-group { display: flex; align-items: baseline; gap: 10px; }
.ops .admin-table-wrap { overflow-x: auto !important; }
.ops table { font-size: var(--fs-ui) !important; }
.ops th { padding: 10px 14px !important; font-size: var(--fs-meta) !important; font-weight: 600 !important; color: var(--muted) !important; background: var(--paper) !important; text-transform: none !important; letter-spacing: 0 !important; white-space: nowrap; }
.ops td { padding: 12px 14px !important; font-size: var(--fs-ui) !important; vertical-align: top; border-bottom: 1px solid #e9efed; }
.ops td.num, .ops th.num, .num { text-align: right; font-variant-numeric: tabular-nums; }
.ops .nowrap { white-space: nowrap; }
.ops .empty-cell { padding: 22px 14px !important; text-align: center; color: var(--muted); }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions > * { margin-left: 4px; }
.row-actions form { display: inline; margin: 0; }
.ops .activity-view { padding: 0; }
.ops .activity-view label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--muted); }
.ops .activity-view select { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: var(--fs-meta); background: #fff; }
.ops .admin-tabs { gap: 6px; }
.ops .admin-tab-btn { padding: 6px 12px !important; font-size: var(--fs-meta) !important; font-weight: 500 !important; }
/* Inventory table: columns for the new layout (overrides the old 10-column widths) */
.panel-pages .ops #admin-inventory-table { table-layout: auto !important; }
.panel-pages .ops #admin-inventory-table :is(th, td) { width: auto !important; white-space: normal !important; overflow: visible !important; padding: 12px 14px !important; }
.panel-pages .ops #admin-inventory-table td:first-child { font-size: var(--fs-meta) !important; font-weight: 500 !important; white-space: nowrap !important; }
.panel-pages .ops #admin-inventory-table .inventory-name-link { font-size: var(--fs-ui) !important; white-space: normal !important; }
.panel-pages .ops #admin-inventory-table td:last-child { white-space: nowrap !important; }
.panel-pages .ops #admin-inventory-table :is(th,td):nth-child(3) { text-align: right; }
.ops .storage-pill { font-size: var(--fs-label) !important; padding: 3px 8px !important; }
.ops-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; font-size: var(--fs-ui); }
.ops-tools span { color: var(--muted); font-weight: 600; }

/* Inquiry progress inside tables */
.ops .inquiry-workflow { min-width: 0; padding: 0; }
.ops .workflow-status { font-size: var(--fs-meta); }
.ops .workflow-step { font-size: var(--fs-label); padding-bottom: 6px; }
.ops .workflow-step small { display: none; }
.ops .workflow-step:not(:last-child)::after { display: none; }
.ops .workflow-marker { flex-basis: 16px; height: 16px; font-size: 10px; }

/* Quote builder, saved quote and packing slip */
.quote-page { padding-top: 24px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.quote-main { display: grid; gap: 20px; }
.side-card { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); }
.side-card.sticky { position: sticky; top: calc(var(--nav-height) + 16px); display: grid; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; font-size: 18px; }
.side-card .card-head { margin-bottom: 4px; }
.side-label { font-size: var(--fs-meta); color: var(--muted); }
.side-status { margin: 6px 0 12px; }
.side-form { display: grid; gap: 8px; }
.side-actions { display: grid; gap: 8px; margin-top: 16px; }
.side-actions .btn { width: 100%; }
.add-line { display: grid; grid-template-columns: minmax(0, 1fr) 88px auto; gap: 8px; margin-bottom: 14px; }
.qty-input { width: 88px; text-align: right; padding: 8px 10px !important; }
.pct-input { width: 76px; text-align: right; padding: 6px 8px !important; display: inline-block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.form-label { display: grid; gap: 6px; font-size: var(--fs-meta) !important; font-weight: 500 !important; color: var(--muted) !important; }
.totals { margin: 0; display: grid; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-ui); }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { padding-top: 10px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 600; }
.totals .grand dt { color: var(--ink); }
.removed-lines { margin-top: 12px; }
.empty-row td { padding: 22px 12px !important; text-align: center; color: var(--muted); }
.doc-lines { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); }
.doc-lines th { padding: 10px 12px; background: var(--paper); color: var(--muted); font-size: var(--fs-meta); font-weight: 600; text-transform: none; letter-spacing: 0; text-align: left; border-bottom: 1px solid var(--line); }
.doc-lines td { padding: 12px; border-bottom: 1px solid #e9efed; vertical-align: top; white-space: normal; }
.doc-lines .num { text-align: right; white-space: nowrap; }
.doc-lines tfoot td { border-bottom: 0; padding: 8px 12px; color: var(--muted); }
.doc-lines tfoot .doc-total td { padding-top: 14px; border-top: 2px solid var(--ink); color: var(--ink); font-size: 18px; font-weight: 600; }
.quote-doc { padding: 40px 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); color: var(--ink); }
.doc-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.doc-brand { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.doc-meta { text-align: right; font-size: var(--fs-ui); line-height: 1.7; }
.doc-title { font-size: 18px; font-weight: 600; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.doc-parties h3, .doc-notes h3 { margin: 0 0 6px; font-size: var(--fs-meta); font-weight: 600; color: var(--muted); }
.doc-parties p, .doc-notes p { margin: 0; color: var(--ink); font-size: var(--fs-ui); line-height: 1.6; }
.doc-notes { margin-top: 24px; padding: 14px 16px; background: var(--paper); border-radius: var(--radius); }
.doc-terms ul { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 20px; color: var(--ink); font-size: var(--fs-meta); line-height: 1.55; }
.doc-product-description { max-width: 620px; margin-top: 5px; color: var(--muted); font-size: var(--fs-meta); line-height: 1.5; }
.doc-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-meta); }
.doc-actions { display: flex; gap: 10px; margin-top: 16px; }
@media print {
  #main-nav, footer, .page-banner, .flash-bar, .no-print, .quote-side, .breadcrumb { display: none !important; }
  body, .quote-page { background: #fff !important; padding: 0 !important; }
  body > nav + div { margin-top: 0 !important; }
  .quote-layout { display: block; }
  .quote-doc { border: 0; padding: 0; }
}
@media (max-width: 1100px) {
  .ops-flow { grid-template-columns: 1fr 1fr; }
  .ops-sections { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; }
  .side-card.sticky { position: static; }
  .ops .admin-stats-bar { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 700px) {
  .ops-flow { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; }
  .add-line { grid-template-columns: 1fr 80px; } .add-line .btn { grid-column: span 2; }
  .quote-doc { padding: 24px 18px; }
  .doc-head, .doc-parties { display: block; } .doc-meta { text-align: left; margin-top: 12px; }
}

/* Public pages: consistent reading sizes */
.card-body > p, .category-panel p, .section-head p, .capability p, .spotlight-card p { font-size: 15px; }
.breadcrumb { font-size: var(--fs-meta); }
.card-meta { font-size: var(--fs-label); }
.price-gate { font-size: var(--fs-meta); }
.btn, .btn-search, .btn-outline { font-size: var(--fs-ui); }
.product-page .btn-lg { margin-right: 8px; }

/* Home: less space between sections (previous design kept as is) */
.hero-biotech { padding: 54px 0 39px; }
.hero-stats { margin-top: 20px; padding-top: 12px; }
.home-section { padding: 18px 0; }
.home-section.home-spotlight { padding: 10px 0; }
.home-section.home-pipeline { padding: 18px 0; }
.home-section.home-capabilities { padding: 18px 0; }
.section-head { margin-bottom: 12px; }
.section-head h2 { margin: 2px 0 4px; }
.capability { padding-top: 16px; }
.capability-icon { margin-bottom: 10px; }
body:has(.hero-biotech) footer { margin-top: 0; }
@media (max-width: 700px) {
  .home-section, .home-section.home-pipeline { padding: 20px 0; }
  .home-section.home-spotlight { padding: 10px 0; }
}

/* =====================================================================
   Home: 3D molecular backdrop
   ===================================================================== */
/* PubChem CID 16760391, rendered with the catalog viewer's 3Dmol library. */
.hero-art { position: absolute; z-index: 1; top: 20px; right: max(12px, calc((100% - 1280px) / 2)); width: clamp(375px, 40vw, 565px);
  aspect-ratio: 352 / 240; opacity: .86; pointer-events: none;
  transform: translateX(-20%);
  filter: saturate(1.42) brightness(1.12);
  mask-image: linear-gradient(to bottom, #000 0 67%, transparent 100%); }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / contain no-repeat var(--hero-still);
}
.hero-art video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  visibility: hidden;
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero-art.has-video-frame::before { visibility: hidden; }
  .hero-art.has-video-frame video { visibility: visible; }
}
.hero-inner { position: relative; z-index: 2; }

/* Featured compound: molecule medallion */
.spotlight-card { grid-template-columns: auto minmax(0, 1fr); }
.spotlight-art { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; color: var(--teal);
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--teal-wash) 70%); box-shadow: inset 0 0 0 1px #cfe6e3; }

/* Divisions: emblem medallion sitting on the photo edge */
.division-media { position: relative; }
.division-media img { display: block; width: 100%; height: 150px; object-fit: cover; background: #e7eeec; }
.division-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,28,41,0) 45%, rgba(12,28,41,.35) 100%); }
.division-emblem { position: absolute; z-index: 1; left: 18px; bottom: -26px; display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 50%; color: var(--teal); background: #fff; box-shadow: 0 0 0 4px #fff, 0 10px 22px -10px rgba(15,31,46,.45); }

/* Coming soon: an illustration for each research area */
.pipeline-item { position: relative; padding-right: 70px; }
.pipeline-art { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  color: var(--amber); background: var(--amber-wash); }
.pipeline-item:hover .pipeline-art { color: #8a5609; }

/* Capabilities: larger illustrated tiles */
.capability-icon { width: 64px; height: 64px; border-radius: 18px; color: var(--teal);
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, var(--teal-wash) 75%); box-shadow: inset 0 0 0 1px #cfe6e3; }

@media (max-width: 900px) {
  .hero-art {
    top: auto;
    right: 12px;
    bottom: 88px;
    width: min(330px, 78%);
    opacity: .38;
    transform: none;
  }
  .spotlight-card { grid-template-columns: 1fr; }
  .spotlight-art { display: none; }
}

/* =====================================================================
   Home: themed "coming soon" rail and capabilities bento grid
   (same card language as the division cards)
   ===================================================================== */
.art-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); text-decoration: none; color: inherit; transition: border-color .18s ease, box-shadow .18s ease; }
.art-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.art-band { position: relative; flex: 0 0 auto; height: 128px; background:
  radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 55%),
  linear-gradient(135deg, var(--tone-a), var(--tone-b)); }
.art-band::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.art-band-figure { position: absolute; right: -14px; top: -16px; width: 160px; height: 160px; color: rgba(255,255,255,.55); stroke-width: 1.1;
  transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.art-card:hover .art-band-figure { transform: rotate(-6deg) scale(1.05); }
.art-band .division-emblem { color: var(--tone-a); }
.art-card-body { display: flex; flex-direction: column; gap: 6px; padding: 36px 20px 20px; flex: 1; }

/* Coming soon themes rail */
.rail-controls { display: flex; align-items: center; gap: 8px; }
.rail-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); font-size: 16px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.rail-btn:hover { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-dark); }
.theme-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0; padding: 2px 2px 8px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.theme-rail:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.theme-card { scroll-snap-align: start; }
.theme-card h3 { margin: 4px 0 0; font-size: 18px; }
.theme-card p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.theme-card .pipeline-tag { align-self: flex-start; }
.theme-products { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); }
.theme-products li { border-bottom: 1px solid var(--line); }
.theme-products a { display: block; padding: 8px 0; color: var(--ink); font-size: 14px; text-decoration: none; }
.theme-products a::after { content: " \2192"; color: var(--faint); }
.theme-products a:hover { color: var(--teal-dark); }
.theme-products .theme-more { padding: 8px 0; color: var(--muted); font-size: 13px; border-bottom: 0; }

/* Capabilities bento grid */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bento-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); text-decoration: none; color: inherit; transition: border-color .18s ease, box-shadow .18s ease; }
.bento-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.bento-hero { grid-row: span 2; }
.bento-art-dark { flex: 1 1 auto; min-height: 250px; display: grid; place-items: center; padding: 16px 24px 0;
  background: radial-gradient(ellipse 70% 80% at 50% 40%, #13324a 0%, var(--band) 75%); }
.bento-band { height: 120px; }
.bento-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 22px; }
.bento-band + .bento-body { padding-top: 36px; }
.bento-hero .bento-body { padding: 22px 28px 26px; }
.bento-body h4 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.bento-hero .bento-body h4 { font-size: 22px; }
.bento-body p { margin: 0; font-size: 15px; line-height: 1.55; }
.bento-link { margin-top: 6px; color: var(--teal); font-size: 14px; font-weight: 600; }
.bento-tile:hover .bento-link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) { .theme-rail { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 760px) {
  .theme-rail { grid-auto-columns: 82%; }
  .rail-controls .rail-btn { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-hero { grid-row: auto; }
  .bento-art-dark { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .art-band-figure { transition: none; } }

/* =====================================================================
   Home: illustrated scene cards (Coming soon + Built for research labs)
   ===================================================================== */
.section-link { flex: 0 0 auto; font-size: 14px; font-weight: 600; text-decoration: none; }
.section-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 20px; }
.scene-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); color: inherit; text-decoration: none; box-shadow: 0 3px 14px rgba(15,23,42,.045); transition: border-color .18s ease, box-shadow .18s ease; }
.scene-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.home-section :is(.division-card, .scene-card) { box-shadow: 0 3px 14px rgba(15,23,42,.045); }
.home-section :is(.division-card, .scene-card):hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.scene-media { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: var(--paper); }
.scene-media .scene { display: block; width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.scene-card:hover .scene { transform: scale(1.035); }
.scene-body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 18px 20px 20px; }
.scene-body h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.scene-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.scene-links { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.scene-links li { border-bottom: 1px solid var(--line); }
.scene-links a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--ink); font-size: 14px; text-decoration: none; }
.scene-links a::after { content: "\2192"; color: var(--faint); transition: transform .15s ease, color .15s ease; }
.scene-links a:hover { color: var(--teal-dark); }
.scene-links a:hover::after { color: var(--teal); transform: translateX(3px); }
.scene-cta { display: inline-flex; align-self: flex-start; margin-top: auto; padding-top: 8px; color: var(--teal); font-size: 14px; font-weight: 600; text-align: left; }
.scene-card-link:hover .scene-cta { text-decoration: underline; text-underline-offset: 3px; }
.home-section.home-divisions, .home-section.home-pipeline, .home-section.home-capabilities {
  --home-card-media-height: 170px;
  display: flex;
  min-height: 0;
}
.home-divisions > .container, .home-pipeline > .container, .home-capabilities > .container {
  display: flex;
  flex: 1;
  flex-direction: column;
}
:is(.home-divisions,.home-pipeline,.home-capabilities) .section-head { min-height: 76px; margin-bottom: 16px; }
.home-divisions .grid, .home-pipeline .scene-grid, .home-capabilities .scene-grid { flex: 0 0 auto; align-content: start; }
.home-divisions .division-card, .home-pipeline .scene-card, .home-capabilities .scene-card { height: auto; }
.home-divisions .division-media,
.home-pipeline .scene-media, .home-capabilities .scene-media {
  flex: 0 0 var(--home-card-media-height);
  height: var(--home-card-media-height);
  aspect-ratio: auto;
}
.home-divisions .division-media img { height: 100%; }
.home-section.home-capabilities {
  background: #f8fbfb;
  border-top: 1px solid var(--line);
}
.home-capabilities .scene-media {
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #edf6f5, #e6eff2);
}
.home-capabilities .scene-media .scene {
  width: auto;
  max-width: 100%;
  aspect-ratio: 5 / 3;
}
.home-section.home-divisions .division-card .card-body, .home-section.home-pipeline .scene-card .scene-body,
.home-section.home-capabilities .scene-card .scene-body {
  gap: 8px;
  padding: 14px 16px 16px;
}
.home-section.home-divisions .division-card h3, .home-section.home-pipeline .scene-card .scene-body h3,
.home-section.home-capabilities .scene-card .scene-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.home-section.home-divisions .division-card .card-body > p, .home-section.home-pipeline .scene-card .scene-body p,
.home-section.home-capabilities .scene-card .scene-body p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.home-divisions .division-examples {
  margin-top: 5px;
  color: var(--teal-dark);
}
.home-section.home-divisions .division-card .mol-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: auto;
  box-sizing: border-box;
  background: var(--teal-wash);
  color: var(--teal-dark);
}
.home-section.home-pipeline .scene-card .scene-cta, .home-section.home-capabilities .scene-card .scene-cta {
  align-items: center;
  min-height: 28px;
  margin-top: auto;
  padding-top: 0;
  font-size: 14px;
}
@media (min-width: 701px) { .home-pipeline .section-head-row { flex-direction: row; align-items: flex-end; } }
@media (min-width: 701px) {
  .home-section.home-divisions, .home-section.home-pipeline, .home-section.home-capabilities { padding: 18px 0; }
  .home-divisions > .container, .home-pipeline > .container, .home-capabilities > .container {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    flex: 0 1 auto;
    margin-left: auto;
    margin-right: auto;
  }
  .home-divisions .grid, .home-pipeline .scene-grid, .home-capabilities .scene-grid {
    min-height: 0;
    grid-auto-rows: auto;
  }
  .home-divisions > .container > .section-head, .home-pipeline > .container > .section-head,
  .home-capabilities > .container > .section-head, .home-divisions > .container > .grid,
  .home-pipeline > .container > .scene-grid, .home-capabilities > .container > .scene-grid {
    width: 100%;
    max-width: none !important;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 700px) {
  .home-section.home-divisions, .home-section.home-pipeline, .home-section.home-capabilities { display: block; min-height: 0; }
  .home-pipeline .section-head-row { gap: 12px; }
}
@media (max-width: 560px) { .scene-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .scene-media .scene { transition: none; } }

/* Coming soon: one-row belt (auto-scrolls right to left, arrows step through) */
.belt { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; margin: 0 -2px; padding: 2px; }
.belt::-webkit-scrollbar { display: none; }
.belt-track { display: flex; gap: 20px; width: max-content; }
.belt-card { flex: 0 0 auto; width: calc((min(1180px, 100vw - 40px) - 40px) / 3); }
.spotlight-area { color: var(--muted); font-size: 13px; }
@media (max-width: 1024px) { .belt-card { width: calc((100vw - 40px - 20px) / 2); } }
@media (max-width: 640px) { .belt-card { width: calc(100vw - 72px); } .rail-controls .rail-btn { display: grid; } }

/* Home: static 3D depth on cards (no hover motion) */
.home-section .tilt { position: relative; border-color: var(--line) !important;
  box-shadow: 0 3px 12px rgb(20 47 59 / 8%) !important; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
  background: linear-gradient(160deg, rgba(255,255,255,.28) 0%, transparent 28%); }
.home-section .tilt:is(:hover, :focus-visible) {
  box-shadow: 0 6px 18px rgb(20 47 59 / 14%) !important;
}
.home-section .tilt:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.tilt:hover { transform: none !important; }
.tilt:hover .scene, .tilt:hover .division-media img, .tilt:hover > img { transform: none !important; }
.scene-media img.scene { object-fit: cover; background: #dfe8e6; }
.scene-media:has(img.scene)::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,28,41,0) 50%, rgba(12,28,41,.32) 100%); }

@media (max-width: 900px) {
  .hero-biotech { padding: 61px 0 45px; }
  .hero-copy { grid-template-columns: 1fr; }
  .hero-catalog { grid-column: 1; grid-row: auto; margin-top: 20px; }
}
@media (max-width: 700px) {
  .hero-biotech {
    /* Wrapped content needs more breathing room on narrower screens. */
    --hero-extra-padding: clamp(23.5px, 37.5px - 2vw, 31.1px);
    padding: calc(34px + var(--hero-extra-padding)) 0 calc(22px + var(--hero-extra-padding));
  }
  .hero-stats { margin-top: 24px; }
  .hero-stats { gap: 8px; }
  .hero-stats strong { font-size: 13px; line-height: 1.2; }
  .hero-stats span { line-height: 1.35; display: block; margin-top: 4px; }
  .hero-stats > div + div { padding-left: 8px; }
  .hero-search { flex-direction: row; }
  .hero-search input { width: 0; padding-inline: 6px; }
  .hero-search .btn { width: auto; padding-inline: 12px; }
  .home-section { padding: 24px 0; }
  .home-section.home-spotlight { padding: 10px 0; }
  .page-banner, .page-banner.banner-compact { min-height: 0 !important; }
  .banner-text, .banner-compact .banner-text { padding: 20px 0 16px; }
  .container { padding: 18px 0; }
  .product-page { padding-top: 14px; }
}
/* Operations workspace — unified compact enterprise interface. */
.is-admin:has(.ops) { background:#f3f5f7; }
.is-admin .admin-dashboard-container.ops {
  --ink:#18212e; --muted:#4d5969; --line:#d5dce5;
  --teal:#1760c2; --teal-dark:#124b98; --blue:#1760c2; --blue-dark:#124b98;
  --accent-blue:#1760c2; --accent-slate:#20252c;
  --shadow:none; --shadow-hover:0 2px 8px rgba(22,33,48,.06);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  width:min(1480px,calc(100% - 40px)); padding-top:20px !important;
  font-size:13px; font-variant-numeric:tabular-nums; text-rendering:optimizeLegibility;
}
.ops :is(button,input,select,textarea) { font-family:inherit; }
.ops :is(a,button,input,select):focus-visible { outline:2px solid #1760c2; outline-offset:3px; }
.ops .ops-head { align-items:center; gap:12px; margin-bottom:16px; }
.ops .ops-head h1 { font-size:26px; font-weight:600; letter-spacing:-.035em; }
.ops .ops-head p { margin:4px 0 0; color:#536173; font-size:12px; }
.ops .ops-actions { gap:6px; }
.ops .btn { border:1px solid #1760c2; border-radius:6px; background:#1760c2; color:white; box-shadow:none; min-height:32px; padding:6px 11px; font-size:12px; font-weight:550; transition:background .15s,border-color .15s; }
.ops .btn:hover { background:#124b98; border-color:#124b98; box-shadow:none; transform:none; }
.ops .btn-outline { color:#39424e; background:white; border-color:#d4d9e0; }
.ops .btn-outline:hover { color:#20252c; background:#f0f3f7; border-color:#aeb8c5; }
.ops .btn-danger { color:#b32d35; background:white; border-color:#e4cdd0; }
.ops .btn-danger:hover { color:#a1252d; background:#fff1f1; border-color:#d9a6ab; }
.ops .admin-stats-bar { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:0 !important; margin:0 0 12px; border:1px solid var(--line); border-radius:8px; background:white; overflow:hidden; }
.ops .admin-stat-item:nth-child(n) { padding:12px 16px !important; border:0 !important; border-right:1px solid var(--line) !important; border-radius:0; background:white !important; box-shadow:none; transform:none; }
.ops .admin-stat-item:last-child { border-right:0 !important; }
.ops .admin-stat-item:hover { background:#f8fafc !important; box-shadow:inset 0 -2px #1760c2; }
.ops .admin-stat-value { color:#20252c !important; font-size:26px !important; font-weight:600 !important; letter-spacing:-.035em; line-height:1.25; }
.ops .admin-stat-label { display:flex !important; align-items:center; gap:6px; margin-top:4px; color:#4d5969 !important; font-size:12px !important; font-weight:500 !important; }
.ops .admin-stat-label::before { content:""; flex:0 0 5px; height:5px; border-radius:50%; background:#65748c; }
.ops .admin-stat-item:nth-child(1) .admin-stat-label::before { background:#a66b13; }
.ops .admin-stat-item:nth-child(2) .admin-stat-label::before { background:#7557aa; }
.ops .admin-stat-item:nth-child(3) .admin-stat-label::before { background:#24785d; }
.ops .admin-stat-item:nth-child(4) .admin-stat-label::before { background:#bd454d; }
.ops .tone-products, .ops #catalog-section { --action-color:#24785d; --action-wash:#f0f7f3; }
.ops .tone-quotes, .ops #quotes-section { --action-color:#7557aa; --action-wash:#f6f3fa; }
.ops .tone-inquiries, .ops #inquiries-section { --action-color:#966418; --action-wash:#fcf7ed; }
.ops .tone-discovery, .ops #discovery-section { --action-color:#286ba0; --action-wash:#f0f6fb; }
.ops .dashboard-action-bar { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:10px 0 14px; }
.ops .action-group { min-width:0; padding:10px 11px; background:white; border:1px solid var(--line); border-radius:7px; }
.ops .action-group strong { display:flex; align-items:center; gap:6px; margin-bottom:7px; font-size:11px; font-weight:600; color:#4d5663; }
.ops .action-group strong::before { content:""; width:6px; height:6px; background:var(--action-color); border-radius:2px; }
.ops .action-group>div, .ops .panel-action-bar nav { display:flex; align-items:center; flex-wrap:wrap; gap:4px; }
.ops .action-group a, .ops .action-group button, .ops .panel-action-bar nav a, .ops .panel-action-bar nav button { display:inline-flex; align-items:center; justify-content:center; min-height:28px; padding:4px 7px; background:var(--action-wash); border:1px solid transparent; border-radius:4px; color:var(--action-color); font-size:12px; font-weight:500; line-height:1.35; text-decoration:none; }
.ops .action-group :is(a,button):hover, .ops .panel-action-bar nav :is(a,button):hover { border-color:var(--action-color); background:white; }
.ops .action-group form, .ops .panel-action-bar form { display:inline-flex; margin:0; }
.ops .workspace-shelf { margin:0 0 14px; }
.ops .workspace-shelf-heading { margin-bottom:7px; }
.ops .workspace-shelf-heading h2 { margin:0; color:#4d5969; font-size:11px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
.ops .workspace-eyebrow, .ops .workspace-shelf-hint { display:none; }
.ops .workspace-tool-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.ops .workspace-tool { position:relative; min-width:0; display:grid; grid-template-columns:28px minmax(0,1fr); align-content:center; align-items:center; gap:5px 9px; min-height:88px; padding:12px; border:1px solid var(--line); border-radius:7px; color:#263446; text-decoration:none; background:white; transition:border-color .15s,background .15s; }
.ops .workspace-tool:last-child { border-right:1px solid var(--line); }
.ops .workspace-tool:hover { color:#1760c2; border-color:#9db9e0; background:#f8faff; }
.ops .workspace-tool-top { grid-column:1; grid-row:1 / 3; }
.ops .workspace-tool-icon { display:grid; place-items:center; width:28px; height:32px; border-radius:6px; background:color-mix(in srgb,var(--tool-color) 8%,white); color:var(--tool-color); }
.ops .workspace-tool-icon svg { display:block; width:20px; height:20px; stroke-width:1.7; }
.ops .workspace-tool strong { font-size:13px; font-weight:500; line-height:1.35; }
.ops .workspace-tool strong { grid-column:2; font-weight:600; }
.ops .workspace-tool-description { display:block; grid-column:2; color:#57667a; font-size:11px; line-height:1.4; }
.ops .workspace-tool-meta, .ops .workspace-tool-arrow { display:none; }
.ops .ops-flow { gap:10px; margin:0 0 16px; align-items:stretch; }
.ops .flow-card { min-width:0; padding:12px; gap:8px; background:white; border:1px solid var(--line); border-radius:7px; box-shadow:none; }
.ops .flow-card-accent { border-color:#b8ccec; background:#fcfdff; }
.ops .flow-head { gap:7px; flex-wrap:wrap; }
.ops .flow-head h2 { font-size:14px; font-weight:600; }
.ops .flow-head a { margin-left:auto; font-size:11px; }
.ops .flow-step { width:20px; height:20px; flex-shrink:0; border:1px solid #d5dce5; border-radius:5px; color:#6a7481; background:#f6f7f9; font-size:10px; font-weight:600; }
.ops .flow-list { max-height:150px; overflow-y:auto; scrollbar-width:thin; }
.ops .flow-list li { padding:5px 0; gap:8px; font-size:12px; }
.ops .flow-list li.muted, .ops .flow-meta, .ops .flow-empty { font-size:12px; line-height:1.5; }
.ops .flow-list strong { font-weight:550; }
.ops .flow-card .btn { min-height:28px; padding:4px 8px; font-size:11px; }
.ops .ops-sections { gap:14px !important; }
.ops .dashboard-section-card { border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:none; }
.ops .admin-card-header { padding:11px 13px !important; gap:8px; min-height:45px; background:white; }
.ops .admin-card-title { display:flex; align-items:center; gap:7px; font-size:15px !important; font-weight:600; letter-spacing:-.015em; }
.ops .admin-card-title::before { content:""; width:7px; height:7px; border-radius:2px; background:var(--action-color); }
.ops .title-group { display:flex; align-items:baseline; gap:9px; flex-wrap:wrap; font-size:11px; }
.ops .activity-view select { min-height:28px; padding:4px 7px; border-radius:5px; font-size:11px; }
.ops .admin-tabs { gap:2px; }
.ops .admin-tab-btn { padding:5px 8px !important; border-radius:4px; font-size:12px !important; color:#4d5b6d; }
.ops .admin-tab-btn.active { color:#104c9a; background:#e7effc; box-shadow:inset 0 0 0 1px #bfd1ef; font-weight:600; }
.ops .panel-action-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; padding:6px 12px; border-block:1px solid #e0e5ec; background:#f8fafc; }
.ops .panel-action-bar nav :is(a,button) { background:transparent; }
.ops .panel-action-bar .section-expand { margin-left:auto; min-height:28px; padding:4px 8px; border:1px solid #d9dfe7; border-radius:4px; background:white; color:#44546a; font-size:12px; font-weight:500; }
.ops .panel-action-bar .section-expand:hover { background:#edf3fc; color:#1760c2; border-color:#a9c2e8; }
.ops .admin-table-wrap { max-height:300px; overflow:auto !important; scrollbar-width:thin; }
.panel-pages .ops .admin-table-wrap.catalog-scroll { max-height:400px !important; overflow:auto !important; }
.ops .admin-table-wrap thead { position:sticky; top:0; z-index:2; }
.ops th, .panel-pages .ops #admin-inventory-table th { padding:8px 10px !important; background:#f0f3f7 !important; color:#435268 !important; border-bottom:1px solid #dde2e8; font-size:11px !important; font-weight:600 !important; }
.ops td, .panel-pages .ops #admin-inventory-table td { padding:8px 10px !important; font-size:13px !important; line-height:1.4; vertical-align:middle; border-bottom:1px solid #e2e7ee; }
.ops tbody tr:nth-child(even) td { background:#fafbfd; }
.ops tbody tr:hover td { background:#edf3fc; }
.ops td strong, .panel-pages .ops #admin-inventory-table .inventory-name-link { font-size:13px !important; font-weight:600; }
.ops .cell-sub { margin-top:2px; color:#57667a; font-size:11px; line-height:1.35; }
.ops td .btn { min-height:27px; padding:4px 7px; font-size:11px; }
.ops .empty-cell { padding:18px 10px !important; color:#5a687a; }
.ops .storage-pill, .ops .pill { padding:2px 6px !important; font-size:11px !important; font-weight:500; border-radius:4px; }
.panel-pages .ops .dashboard-section-card.is-expanded .admin-table-wrap,
.panel-pages .ops .dashboard-section-card.is-expanded .admin-table-wrap.catalog-scroll { max-height:70vh !important; overflow:auto !important; }
.ops .dashboard-section-card.is-expanded { border-color:#adc5e7; box-shadow:0 3px 16px rgba(28,56,96,.08); }
.ops .list-pagination { padding:7px 12px; gap:8px; color:#526176; background:#fafbfc; font-size:11px; }
.ops .list-pagination button { min-height:27px; padding:4px 8px; border-radius:4px; font-size:11px; }
@media(max-width:1100px) {
  .ops .dashboard-action-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ops .workspace-tool-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .is-admin .admin-dashboard-container.ops { width:calc(100% - 24px); padding-top:14px !important; }
  .ops .admin-stats-bar { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .ops .admin-stat-item:nth-child(-n+2) { border-bottom:1px solid var(--line) !important; }
  .ops .admin-stat-value { font-size:23px !important; }
  .ops .ops-head { align-items:flex-start; }
  .ops .ops-actions { width:100%; }
  .ops .ops-actions .btn, .ops td .btn { min-height:34px; }
  .ops .admin-card-header { flex-wrap:wrap; }
  .ops .admin-tabs { flex-wrap:wrap; }
  .ops .admin-tab-btn { min-height:32px; }
  .ops .workspace-tool { padding:9px; }
  .ops .workspace-tool strong { font-size:11px; }
  .ops .action-group a, .ops .action-group button, .ops .panel-action-bar nav a, .ops .panel-action-bar nav button { min-height:32px; }
}
@media(max-width:380px) { .ops .dashboard-action-bar { grid-template-columns:1fr; } .ops .workspace-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ops .workspace-tool { border:1px solid var(--line); } }
@media(prefers-reduced-motion:reduce) { .ops .btn { transition:none; } }

/* Dashboard review: keyboard navigation and narrow-screen table clarity. */
.ops .dashboard-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.ops .catalog-empty { margin:0; padding:16px; color:var(--muted); font-size:13px; }
.ops .catalog-empty[hidden] { display:none; }
.ops .admin-table-wrap:focus-visible { outline-offset:-3px; }
.panel-pages .ops #admin-inventory-table { min-width:860px !important; }
.ops .admin-table-wrap table { min-width:580px; }
.ops #discovery-section table { min-width:440px; }
.ops .workspace-tool-grid .workspace-tool:last-child { border-right:1px solid var(--line); }
@media(max-width:600px) { .ops .panel-action-bar .section-expand { min-height:34px; } }

/* Summaries share their destination panel's workflow color. */
.ops .flow-inquiries { --summary-color:#966418; }
.ops .flow-quotes { --summary-color:#7557aa; }
.ops .flow-card-accent { --summary-color:#1760c2; }
.ops .flow-card { border-top:2px solid var(--summary-color,#d5dce5); }
.ops .summary-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; padding:2px 5px; margin-left:4px; border-radius:4px; background:#eef1f5; color:var(--summary-color,var(--action-color,#4d5969)); font-size:11px; font-weight:600; line-height:1.2; font-variant-numeric:tabular-nums; }
.ops .flow-card .flow-step { color:var(--summary-color); }

/* A working draft is part of Quotes, rather than a separate dashboard card. */
.ops .quote-working-draft { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; padding:9px 12px; border-bottom:1px solid #e0e5ec; background:#f7f9fd; color:#536173; font-size:12px; }
.ops .quote-working-draft strong { color:#334969; font-weight:600; }

/* Workload heat uses review counts; neutral tiles are navigation tools. */
.ops .workspace-tool-grid { grid-template-columns:repeat(auto-fit,minmax(175px,1fr)); gap:6px; }
.ops .workspace-tool { min-height:74px; padding:9px 10px; gap:3px 8px; border-radius:6px; }
.ops .workspace-tool strong { font-size:12px; }
.ops .workspace-tool-description { font-size:11px; }
.ops [data-heat="clear"] { --heat-ink:#28664c; --heat-bg:#f1f8f3; --heat-border:#c9dfd0; }
.ops [data-heat="low"] { --heat-ink:#245f88; --heat-bg:#f0f6fc; --heat-border:#c8dced; }
.ops [data-heat="medium"] { --heat-ink:#8a5a12; --heat-bg:#fff7e8; --heat-border:#ecd5a4; }
.ops [data-heat="high"] { --heat-ink:#a23d33; --heat-bg:#fff0ec; --heat-border:#eabdb6; }
.ops .workspace-tool:not([data-heat="neutral"]) { background:var(--heat-bg); border-color:var(--heat-border); }
.ops .tile-heat-label { grid-column:2; color:var(--heat-ink); font-size:10px; font-weight:600; }
.ops .heat-legend { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0 0 8px; font-size:10px; color:#566476; }
.ops .heat-legend span { display:inline-flex; align-items:center; gap:4px; padding:2px 5px; border:1px solid var(--heat-border); border-radius:4px; color:var(--heat-ink); background:var(--heat-bg); }
.ops .expanded-workspace { display:none; }
.ops .is-expanded .expanded-workspace { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; padding:10px 12px; background:#f8fafc; border-bottom:1px solid var(--line); }
.ops .expanded-workspace p { flex:1 1 280px; margin:0; font-size:12px; line-height:1.4; }
.ops .expanded-workspace label { display:flex; align-items:center; flex-wrap:wrap; gap:7px; font-size:11px; font-weight:500; }
.ops .expanded-workspace input { width:230px; max-width:100%; padding:7px 9px; border:1px solid #bfcbd9; border-radius:5px; background:white; color:var(--ink); font-size:12px; }
.ops .expanded-workspace [role="status"] { font-size:11px; color:#566476; }
.ops .is-expanded .admin-card-header { background:#f3f7fd; }
@media(max-width:600px) { .ops .workspace-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ops .expanded-workspace label, .ops .expanded-workspace input { width:100%; } }
/* Keep an active search visible when returning to the compact panel. */
.ops .dashboard-section-card .expanded-workspace:has(input:not(:placeholder-shown)) { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; padding:10px 12px; border-bottom:1px solid var(--line); background:#f8fafc; }

/* Related tools stay together across desktop and mobile layouts. */
.ops .grouped-tools { display:flex; flex-direction:column; gap:8px; }
.ops .tool-family { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:start; gap:12px; padding:9px 10px; border:1px solid #dce3eb; border-radius:8px; background:rgba(255,255,255,.7); }
.ops .tool-family h3 { margin:0; padding:10px 0; color:#526174; font-size:11px; font-weight:600; letter-spacing:.01em; line-height:1.4; }
.ops .tool-family .workspace-tool-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
.ops .tool-family .workspace-tool { min-height:66px; padding:9px; border:1px solid #dce3eb; border-radius:6px; box-shadow:0 1px 2px rgba(22,35,54,.025); transition:border-color .15s,box-shadow .15s; }
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) { background:white; border-color:#dce3eb; }
.ops .tool-family .workspace-tool:hover { border-color:#a6bddc; background:#f9fbfe; box-shadow:0 2px 7px rgba(22,35,54,.07); }
.ops .tool-family .workspace-tool strong { font-size:12px; font-weight:600; }
.ops .tool-family .workspace-tool-description { color:#5b6879; font-size:11px; }
.ops .tool-family .tile-heat-label { justify-self:start; padding:2px 5px; border:1px solid var(--heat-border); border-radius:3px; background:var(--heat-bg); color:var(--heat-ink); font-size:10px; }
.ops .tool-family .workspace-tool-icon { background:color-mix(in srgb,var(--tool-color) 6%,white); }
.ops .heat-legend { justify-content:flex-end; margin-bottom:9px; }
.ops .workspace-shelf { margin-bottom:16px; }
@media(max-width:1100px) { .ops .tool-family .workspace-tool-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .ops .tool-family { grid-template-columns:1fr; gap:6px; } .ops .tool-family h3 { padding:0; } .ops .tool-family .workspace-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ops .heat-legend { justify-content:flex-start; } }
@media(max-width:360px) { .ops .tool-family .workspace-tool-grid { grid-template-columns:1fr; } }

/* Modern workspace palette: slate, teal, violet, cyan and indigo. */
.is-admin:has(.ops) { background:#f1f4f9; }
.is-admin .admin-dashboard-container.ops { --ink:#17243a; --muted:#53647c; --line:#dce4ef; padding-top:12px !important; }
.ops .ops-head { margin-bottom:9px; }
.ops .ops-head h1 { color:#172b4d; }
.ops .admin-stats-bar { margin-bottom:9px; border-color:#d7e2ef; box-shadow:0 2px 8px rgba(35,60,100,.035); }
.ops .admin-stat-item:nth-child(n) { padding:9px 14px !important; }
.ops .admin-stat-item:nth-child(1) { background:#fffaf0 !important; }
.ops .admin-stat-item:nth-child(2) { background:#f7f3ff !important; }
.ops .admin-stat-item:nth-child(3) { background:#effaf6 !important; }
.ops .admin-stat-item:nth-child(4) { background:#fff4f1 !important; }
.ops .admin-stat-value { font-size:24px !important; }
.ops .workspace-shelf { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:6px 12px; margin-bottom:12px; }
.ops .workspace-shelf-heading { margin:0; }
.ops .workspace-shelf-heading h2 { color:#405574; }
.ops .workspace-shelf .heat-legend { justify-content:flex-end; margin:0; gap:4px; }
.ops .grouped-tools { grid-column:1 / -1; gap:6px; }
.ops .tool-family:has(#tools-inventory) { --family-accent:#087f75; --family-wash:#eaf8f4; --family-border:#c9e7de; }
.ops .tool-family:has(#tools-commercial) { --family-accent:#7150ba; --family-wash:#f3effc; --family-border:#ded4f2; }
.ops .tool-family:has(#tools-research) { --family-accent:#087da0; --family-wash:#eaf7fc; --family-border:#c9e6f0; }
.ops .tool-family:has(#tools-admin) { --family-accent:#4e60ad; --family-wash:#eef1fc; --family-border:#d5ddf1; }
.ops .tool-family { gap:10px; padding:7px 9px; border-color:var(--family-border); border-left:3px solid var(--family-accent); background:var(--family-wash); }
.ops .tool-family h3 { color:var(--family-accent); font-size:11px; padding-top:9px; }
.ops .tool-family .workspace-tool { min-height:62px; padding:8px 9px; border-color:color-mix(in srgb,var(--family-accent) 16%,white); box-shadow:0 1px 2px rgba(30,50,85,.035); background:#ffffff; }
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) { border-color:color-mix(in srgb,var(--family-accent) 16%,white); }
.ops .tool-family .workspace-tool:hover { border-color:var(--family-accent); background:#fff; box-shadow:0 3px 9px rgba(30,50,85,.09); }
.ops .tool-family .workspace-tool-icon { color:var(--family-accent); background:var(--family-wash); }
.ops .tool-family .workspace-tool strong { color:#223650; }
.ops .dashboard-section-card { border-color:#d7e2ef; }
.ops .dashboard-section-card .admin-card-header { border-top:2px solid var(--action-color); }
.ops .is-expanded .admin-card-header { background:color-mix(in srgb,var(--action-color) 5%,white); }
@media(max-width:700px) {
  .ops .workspace-shelf { grid-template-columns:1fr; }
  .ops .workspace-shelf .heat-legend { justify-content:flex-start; }
  .ops .tool-family h3 { padding-top:0; }
}

/* Home palette carried into the compact operations workspace. */
.is-admin:has(.ops) { background:#f0f5f5; background-image:radial-gradient(ellipse at 90% 0,rgba(127,224,211,.13),transparent 55%); }
.is-admin .admin-dashboard-container.ops { --ink:#182b36; --muted:#536572; --line:#d6e2e3; --teal:#0e6f74; --teal-dark:#0a565a; --blue:#0e6f74; --blue-dark:#0a565a; --accent-blue:#0e6f74; padding-top:9px !important; }
.ops .ops-head { min-height:58px; margin-bottom:7px; padding:11px 15px; border:1px solid #193648; border-radius:8px; background:radial-gradient(ellipse at 95% 20%,rgba(127,224,211,.13),transparent 60%),#0c1c29; }
.ops .ops-head h1 { color:#f3fbfa; font-size:22px; letter-spacing:-.025em; }
.ops .ops-head p { margin-top:3px; color:#b6c7cd; font-size:11px; }
.ops .admin-stats-bar { margin-bottom:7px; border-color:#d5e2e1; box-shadow:none; }
.ops .admin-stat-item:nth-child(n) { padding:7px 12px !important; background:#ffffff !important; border-right-color:#dce7e6 !important; }
.ops .admin-stat-item:nth-child(1) { background:#fcf7ec !important; }
.ops .admin-stat-item:nth-child(2) { background:#eef6f8 !important; }
.ops .admin-stat-item:nth-child(3) { background:#edf8f4 !important; }
.ops .admin-stat-item:nth-child(4) { background:#fff3ed !important; }
.ops .admin-stat-value { font-size:22px !important; color:#182b36 !important; }
.ops .admin-stat-label { margin-top:2px; font-size:11px !important; }
.ops .workspace-shelf { gap:5px 10px; margin-bottom:9px; }
.ops .workspace-shelf-heading h2 { color:#37545f; font-size:10px; letter-spacing:.1em; }
.ops .grouped-tools { gap:5px; }
.ops .tool-family:has(#tools-inventory) { --family-accent:#0e6f74; --family-wash:#eaf5f2; --family-border:#c8e0da; --tile-surface:#dcefeb; }
.ops .tool-family:has(#tools-commercial) { --family-accent:#285471; --family-wash:#edf3f7; --family-border:#ccdae4; --tile-surface:#e0ebf3; }
.ops .tool-family:has(#tools-research) { --family-accent:#29765d; --family-wash:#edf6ef; --family-border:#ccdfd1; --tile-surface:#e0efe4; }
.ops .tool-family:has(#tools-admin) { --family-accent:#976317; --family-wash:#faf5e9; --family-border:#e7dabd; --tile-surface:#f4ebd5; }
.ops .tool-family { grid-template-columns:100px minmax(0,1fr); gap:8px; padding:6px 8px; border-radius:7px; border-left-width:2px; background:var(--family-wash); }
.ops .tool-family h3 { padding:8px 0; font-size:10px; letter-spacing:.025em; }
.ops .tool-family .workspace-tool-grid { gap:5px; }
.ops .tool-family .workspace-tool,
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) { min-height:58px; padding:7px 8px; gap:2px 7px; background:var(--tile-surface); border-color:color-mix(in srgb,var(--family-accent) 20%,white); border-radius:5px; box-shadow:0 1px 0 rgba(255,255,255,.7) inset; }
.ops .tool-family .workspace-tool:hover { background:color-mix(in srgb,var(--tile-surface) 65%,white); border-color:var(--family-accent); box-shadow:0 2px 6px rgba(12,28,41,.08); }
.ops .tool-family .workspace-tool strong { color:#193440; font-size:12px; }
.ops .tool-family .workspace-tool-description { color:#435d68; font-size:10px; line-height:1.35; }
.ops .tool-family .workspace-tool-icon { width:26px; height:28px; color:var(--family-accent); background:rgba(255,255,255,.6); border-radius:5px; }
.ops .tool-family .workspace-tool-icon svg { width:18px; height:18px; }
.ops .tool-family .tile-heat-label { padding:1px 4px; font-size:9px; }
.ops .tone-products, .ops #catalog-section { --action-color:#0e6f74; --action-wash:#eaf5f2; }
.ops .tone-quotes, .ops #quotes-section { --action-color:#285471; --action-wash:#edf3f7; }
.ops .tone-inquiries, .ops #inquiries-section { --action-color:#976317; --action-wash:#faf5e9; }
.ops .tone-discovery, .ops #discovery-section { --action-color:#29765d; --action-wash:#edf6ef; }
.ops .ops-sections { gap:9px !important; }
.ops .dashboard-section-card { border-color:#d1dfe0; border-radius:7px; }
.ops .dashboard-section-card .admin-card-header { min-height:37px; padding:7px 10px !important; background:color-mix(in srgb,var(--action-color) 4%,white); border-top-width:2px; }
.ops .admin-card-title { font-size:13px !important; }
.ops .panel-action-bar { padding:4px 9px; background:#f7faf9; border-color:#e0e9e7; }
.ops th, .panel-pages .ops #admin-inventory-table th { padding:6px 9px !important; background:#eff5f4 !important; color:#49616a !important; }
.ops td, .panel-pages .ops #admin-inventory-table td { padding:6px 9px !important; border-color:#e4edeb; }
.ops .admin-tabs .admin-tab-btn.active { color:#0a565a; background:#dcefeb; box-shadow:inset 0 0 0 1px #afd2cb; }
.ops .btn { background:#0e6f74; border-color:#0e6f74; }
.ops .btn:hover { background:#0a565a; border-color:#0a565a; }
.ops .btn-outline { color:#38535e; background:white; border-color:#c8d8d8; }
.ops .btn-danger { color:#a53c35; background:white; border-color:#e2c7c2; }
.ops .list-pagination { padding:5px 9px; background:#f7faf9; }
.ops .is-expanded .expanded-workspace { padding:8px 10px; background:#f2f8f6; }
@media(max-width:700px) { .ops .tool-family { grid-template-columns:1fr; } .ops .tool-family h3 { padding:0; } .ops .ops-head { padding:10px 12px; } }
@media(max-width:600px) { .ops .panel-action-bar .section-expand, .ops td .btn { min-height:34px; } }

/* Interactive panel workspaces: readable overview and deeper expanded views. */
.ops .panel-help { display:none; margin:0; padding:10px 12px 0; color:#536b73; font-size:12px; line-height:1.5; }
.ops .is-expanded .panel-help { display:block; }
.ops .panel-workspace-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:7px 10px; background:#fbfdfc; border-bottom:1px solid #e1eae8; }
.ops .panel-search { display:flex; align-items:center; gap:8px; flex:1 1 280px; max-width:520px; }
.ops .panel-search>span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.ops .panel-search input { width:100%; min-width:0; padding:7px 10px; min-height:32px; border:1px solid #c9dbd8; border-radius:6px; background:white; color:#183640; font-size:12px; }
.ops .panel-search input::placeholder { color:#647e86; }
.ops .panel-clear { min-height:30px; padding:5px 9px; border:1px solid #d6e3e0; border-radius:5px; color:#416268; background:white; font-size:11px; }
.ops .panel-clear[hidden] { display:none; }
.ops .panel-result-count { margin-left:auto; color:#587078; font-size:11px; font-variant-numeric:tabular-nums; }
.ops .panel-metrics { display:flex; flex-wrap:wrap; gap:0; padding:8px 10px; border-bottom:1px solid #e0eae7; background:#f5faf8; }
.ops .panel-metrics>div { display:flex; align-items:baseline; gap:5px; margin-right:15px; padding-right:15px; border-right:1px solid #d9e6e1; }
.ops .panel-metrics>div:last-child { margin-right:0; padding-right:0; border-right:0; }
.ops .panel-metrics strong { font-size:13px; font-weight:600; color:#234d50; font-variant-numeric:tabular-nums; }
.ops .panel-metrics span { color:#5c7378; font-size:10px; }
.ops .is-expanded .panel-metrics { padding:12px; gap:8px; background:white; }
.ops .is-expanded .panel-metrics>div { flex:1 1 120px; flex-direction:column; align-items:flex-start; gap:3px; border:1px solid #dce8e4; border-radius:6px; padding:10px; margin:0; background:#f5faf8; }
.ops .is-expanded .panel-metrics strong { color:var(--action-color); font-size:21px; line-height:1.25; }
.ops .is-expanded .panel-metrics span { font-size:11px; }
.ops .table-sort { display:inline-flex; align-items:center; gap:7px; padding:0; border:0; background:transparent; color:inherit; font-size:inherit; font-weight:600; text-align:inherit; white-space:nowrap; }
.ops .table-sort::after { content:'↕'; color:#8a9ea4; font-size:12px; }
.ops th[aria-sort="ascending"] .table-sort::after { content:'↑'; color:#0e6f74; }
.ops th[aria-sort="descending"] .table-sort::after { content:'↓'; color:#0e6f74; }
.ops .panel-no-results { margin:0; padding:18px 12px; font-size:12px; color:#5b7079; background:#fafdfb; }
.ops .panel-no-results[hidden] { display:none; }
.ops .list-pagination label { display:flex; align-items:center; gap:5px; margin-right:auto; font-size:11px; }
.ops .list-pagination select { width:auto; min-height:28px; padding:3px 22px 3px 7px; border:1px solid #cddcd9; border-radius:4px; background:white; color:#335159; font-size:11px; }
.ops .is-expanded .admin-table-wrap { scrollbar-gutter:stable; }
.ops .is-expanded .inventory-name-link { white-space:normal !important; }
@media(max-width:600px) { .ops .panel-metrics { gap:6px; } .ops .panel-metrics>div { margin-right:0; padding-right:8px; } .ops .panel-result-count { margin-left:0; } .ops .list-pagination { justify-content:flex-start; } .ops .list-pagination label { width:100%; } }

/* Color finish for the grouped dashboard tools. */
.ops .workspace-shelf { padding:12px; border:1px solid #d4e3e2; border-radius:12px; background:linear-gradient(145deg,#ffffff 0%,#f6fbfa 100%); box-shadow:0 4px 18px -12px rgba(12,46,54,.22); }
.ops .workspace-shelf-heading h2 { font-size:11px; color:#264b55; letter-spacing:.08em; }
.ops .tool-family:has(#tools-inventory) { --family-accent:#087d79; --family-wash:#e9f7f3; --family-border:#bde1d8; --tile-surface:#d8f0e9; }
.ops .tool-family:has(#tools-commercial) { --family-accent:#335d90; --family-wash:#edf3fc; --family-border:#c6d7ed; --tile-surface:#dfeafa; }
.ops .tool-family:has(#tools-research) { --family-accent:#477b49; --family-wash:#eef7ea; --family-border:#cfe1c6; --tile-surface:#e2f0d9; }
.ops .tool-family:has(#tools-admin) { --family-accent:#a16b19; --family-wash:#fff8e9; --family-border:#ead8ae; --tile-surface:#f9edcf; }
.ops .tool-family { background:linear-gradient(100deg,var(--family-wash),#ffffff); border-color:var(--family-border); border-left-width:3px; border-radius:8px; }
.ops .tool-family h3 { font-weight:650; color:var(--family-accent); }
.ops .tool-family .workspace-tool,
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) { position:relative; overflow:hidden; background:linear-gradient(125deg,color-mix(in srgb,var(--tile-surface) 65%,white),var(--tile-surface)); border-color:color-mix(in srgb,var(--family-accent) 23%,white); border-radius:7px; box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 2px 5px -4px rgba(20,55,66,.22); transition:border-color .16s,box-shadow .16s,background .16s; }
.ops .tool-family .workspace-tool::after { content:'↗'; position:absolute; right:7px; top:5px; color:var(--family-accent); opacity:.5; font-size:11px; line-height:1; }
.ops .tool-family .workspace-tool:hover { background:linear-gradient(125deg,#ffffff,var(--tile-surface)); border-color:var(--family-accent); box-shadow:0 4px 12px -6px color-mix(in srgb,var(--family-accent) 35%,transparent); }
.ops .tool-family .workspace-tool:hover::after { opacity:1; }
.ops .tool-family .workspace-tool strong { padding-right:7px; color:#193945; }
.ops .tool-family .workspace-tool-icon { width:28px; height:30px; color:white; background:var(--family-accent); border-radius:7px; box-shadow:0 2px 4px rgba(12,42,50,.1); }
.ops .tool-family .workspace-tool-icon svg { stroke-width:1.7; }
.ops .tool-family .workspace-tool-description { color:#49616a; }
.ops .tool-family .tile-heat-label { border-radius:4px; background:var(--heat-bg); font-weight:600; }
.ops .heat-legend span { border-radius:4px; }
.ops .admin-stat-item:nth-child(1) .admin-stat-value { color:#946218 !important; }
.ops .admin-stat-item:nth-child(2) .admin-stat-value { color:#335d90 !important; }
.ops .admin-stat-item:nth-child(3) .admin-stat-value { color:#087d79 !important; }
.ops .admin-stat-item:nth-child(4) .admin-stat-value { color:#a24d38 !important; }
.ops .is-expanded .panel-metrics>div { background:linear-gradient(125deg,#ffffff,var(--action-wash)); border-color:color-mix(in srgb,var(--action-color) 20%,white); }
@media(max-width:600px) { .ops .workspace-shelf { padding:9px; border-radius:9px; } }
@media(prefers-reduced-motion:reduce) { .ops .tool-family .workspace-tool { transition:none; } }

/* Final visual treatment: deep ink, luminous accents and quiet surfaces. */
.is-admin:has(.ops) { background-color:#edf3f4; background-image:radial-gradient(ellipse at 0 0,rgba(102,192,174,.12),transparent 42%),radial-gradient(ellipse at 100% 30%,rgba(117,157,195,.1),transparent 50%); background-attachment:fixed; }
.ops .ops-head { position:relative; overflow:hidden; padding:13px 17px; border-color:#1e4250; border-radius:11px; background:radial-gradient(ellipse at 88% 0,rgba(127,224,211,.22),transparent 55%),linear-gradient(115deg,#0c1c29,#133742); box-shadow:0 5px 15px -10px rgba(12,28,41,.55); }
.ops .ops-head::after { content:''; position:absolute; right:28px; top:-40px; width:180px; height:180px; border:1px solid rgba(127,224,211,.12); border-radius:50%; box-shadow:0 0 0 25px rgba(127,224,211,.035),0 0 0 50px rgba(127,224,211,.025); pointer-events:none; }
.ops .ops-head h1 { font-weight:600; letter-spacing:-.035em; }
.ops .ops-head p { color:#bad5d6; }
.ops .admin-stats-bar { margin-top:8px; border-radius:9px; border-color:#d2e1e3; }
.ops .admin-stat-item:nth-child(n) { box-shadow:inset 0 1px rgba(255,255,255,.9); }
.ops .workspace-shelf { margin-top:9px; padding:13px; border-color:#d4e2e4; border-radius:12px; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,252,251,.94)); box-shadow:0 3px 5px -4px rgba(19,50,58,.12),0 14px 36px -28px rgba(19,50,58,.3); }
.ops .workspace-shelf-heading h2 { font-weight:650; letter-spacing:.11em; }
.ops .grouped-tools { gap:7px; }
.ops .tool-family { padding:8px; border-left-width:0; border:1px solid var(--family-border); background:linear-gradient(110deg,var(--family-wash),rgba(255,255,255,.7)); border-radius:9px; }
.ops .tool-family h3 { display:flex; align-items:center; gap:6px; letter-spacing:0; font-size:11px; }
.ops .tool-family h3::before { content:''; flex:0 0 4px; height:16px; border-radius:3px; background:var(--family-accent); opacity:.7; }
.ops .tool-family .workspace-tool-grid { gap:7px; }
.ops .tool-family .workspace-tool,
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) { border-color:color-mix(in srgb,var(--family-accent) 19%,white); background:linear-gradient(145deg,color-mix(in srgb,var(--tile-surface) 44%,white),var(--tile-surface)); box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 2px 4px -3px rgba(25,56,65,.18); border-radius:8px; padding:9px; }
.ops .tool-family .workspace-tool:hover { border-color:var(--family-accent); background:linear-gradient(145deg,#ffffff,var(--tile-surface)); box-shadow:0 5px 13px -7px color-mix(in srgb,var(--family-accent) 36%,transparent); }
.ops .tool-family .workspace-tool strong { font-weight:600; letter-spacing:-.01em; }
.ops .tool-family .workspace-tool-icon { width:29px; height:31px; border:1px solid rgba(255,255,255,.3); background:linear-gradient(145deg,color-mix(in srgb,var(--family-accent) 80%,white),var(--family-accent)); box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 5px -3px color-mix(in srgb,var(--family-accent) 50%,transparent); border-radius:8px; }
.ops .tool-family .tile-heat-label { border-color:color-mix(in srgb,var(--heat-ink) 18%,white); background:color-mix(in srgb,var(--heat-bg) 65%,white); }
.ops .heat-legend { color:#6c8188; }
.ops .heat-legend span { padding:2px 6px; font-weight:500; }
.ops .dashboard-section-card { border-radius:10px; box-shadow:0 2px 4px -3px rgba(21,52,61,.1); }
.ops .dashboard-section-card .admin-card-header { background:linear-gradient(100deg,color-mix(in srgb,var(--action-color) 6%,white),white); }
.ops .panel-workspace-toolbar { background:#fcfefd; }
.ops .panel-search input { box-shadow:0 1px 2px rgba(20,50,60,.025) inset; }
.ops .panel-search input:focus { border-color:#5b9f9b; box-shadow:0 0 0 3px rgba(14,111,116,.08); }
.ops .is-expanded .panel-metrics>div { border-radius:8px; box-shadow:inset 0 1px 0 rgba(255,255,255,.9); }
.ops tbody tr:hover td { background:#eef7f5; }
@media(max-width:700px) { .ops .tool-family h3::before { height:12px; } .ops .workspace-shelf { padding:10px; } }

/* Expanded workspaces expose view-level actions with clear scope. */
.ops .panel-download { min-height:30px; padding:5px 9px; border:1px solid #c8dbd6; border-radius:5px; color:#205d5b; background:#eef7f3; font-size:11px; font-weight:500; }
.ops .panel-download:hover { border-color:#0e6f74; background:#e1f0e9; }
.ops .panel-download:disabled { opacity:.5; cursor:default; }
.ops .panel-help { border-left:3px solid var(--action-color); margin:8px 10px; padding:5px 9px; background:var(--action-wash); border-radius:0 5px 5px 0; }
.ops .panel-workspace-toolbar { gap:7px; }
@media(max-width:600px) { .ops .panel-download, .ops .panel-clear { min-height:34px; } }

/* Breathing room and lab imagery, with protected reading surfaces. */
.ops .ops-sections { gap:24px !important; }
.ops .workspace-shelf { margin-bottom:24px; }
.ops .grouped-tools { gap:10px; }
.ops .ops-head { min-height:74px; margin-bottom:12px; background-image:linear-gradient(90deg,rgba(12,28,41,.98) 0%,rgba(12,38,48,.92) 48%,rgba(12,38,48,.72) 100%),url('/static/banner-home.jpg'); background-size:cover; background-position:center,center 46%; }
.ops .ops-head h1 { color:#ffffff; }
.ops .ops-head p { color:#d0e4e4; }
.ops .workspace-shelf { background-image:linear-gradient(115deg,rgba(255,255,255,.99),rgba(246,252,250,.95)),url('/static/banner-home.jpg'); background-size:cover; background-position:center; }
.ops .dashboard-section-card { box-shadow:0 3px 6px -4px rgba(17,53,64,.13),0 12px 28px -24px rgba(17,53,64,.25); border-color:#cbdedc; }
.ops .dashboard-section-card .admin-card-header { min-height:49px; padding:10px 12px !important; border-top-width:3px; background-image:linear-gradient(90deg,#ffffff 0%,color-mix(in srgb,var(--action-wash) 98%,transparent) 52%,rgba(248,252,251,.9) 100%),url('/static/banner-home.jpg'); background-size:cover; background-position:center,center 55%; }
.ops .dashboard-section-card .admin-card-title { color:#193c46; }
.ops #inquiries-section { border-top-color:#c59b52; }
.ops #quotes-section { border-top-color:#739aba; }
.ops #catalog-section { border-top-color:#5faaa0; }
.ops #discovery-section { border-top-color:#80a878; }
.ops .dashboard-section-card .admin-card-header :is(select,.admin-tabs) { background-color:#ffffff; }
.ops .panel-workspace-toolbar, .ops .admin-table-wrap, .ops .list-pagination { background-color:#ffffff; }
.ops .tool-family:has(#tools-inventory) { background-image:linear-gradient(100deg,rgba(233,247,243,.98),rgba(255,255,255,.95)),url('/static/banner-home.jpg'); background-size:cover; background-position:center; }
.ops .tool-family:has(#tools-research) { background-image:linear-gradient(100deg,rgba(238,247,234,.98),rgba(255,255,255,.95)),url('/static/banner-home.jpg'); background-size:cover; background-position:center 65%; }
@media(max-width:700px) { .ops .ops-sections { gap:18px !important; } .ops .workspace-shelf { margin-bottom:18px; } .ops .ops-head { min-height:68px; } }
@media print { .ops .ops-head, .ops .workspace-shelf, .ops .tool-family, .ops .dashboard-section-card .admin-card-header { background-image:none; } }

/* Explicit vertical section separation, independent of inherited grid gaps. */
.ops .admin-grid.ops-sections {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0 !important;
  padding-top:8px;
}
.ops .admin-grid.ops-sections > .dashboard-section-card {
  flex:0 0 auto;
  width:100%;
  min-width:0;
  margin:0;
}
.ops .admin-grid.ops-sections > .dashboard-section-card + .dashboard-section-card {
  margin-top:32px;
}
@media(max-width:700px) {
  .ops .admin-grid.ops-sections > .dashboard-section-card + .dashboard-section-card { margin-top:24px; }
}

/* Contextual actions are available inside expanded workspaces. */
.ops .expanded-panel-actions { display:none !important; }
.ops .is-expanded .expanded-panel-actions { display:flex !important; }
.inquiry-entry-form { display:grid; gap:16px; margin-top:18px; }

/* Dashboard shortcuts follow their work sequence within each tool family. */
.ops .workspace-shelf-hint { display:block; color:#607681; font-size:11px; line-height:1.4; }
.ops .tool-family .workspace-tool-grid { display:flex; align-items:stretch; gap:6px; min-width:0; }
.ops .workspace-tool-stage { display:flex; flex:1 1 0; flex-direction:column; gap:4px; min-width:0; }
.ops .workspace-tool-stage-choices { flex:2 1 0; }
.ops .workspace-tool-stage > .workspace-tool { flex:1; width:100%; min-width:0; }
.ops .workspace-tool-choices { display:grid; flex:1; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; min-width:0; }
.ops .workspace-tool-choices .workspace-tool { height:100%; min-width:0; }
.ops .workspace-flow-arrow { display:grid; flex:0 0 20px; place-items:center; align-self:center; color:var(--family-accent); font-size:20px; font-weight:700; }
.ops .tool-family .workspace-tool::after { content:none; }
@media(max-width:700px) {
  .ops .workspace-shelf-hint { margin-top:3px; }
  .ops .tool-family .workspace-tool-grid { flex-direction:column; }
  .ops .workspace-tool-stage, .ops .workspace-tool-stage-choices { flex:none; }
  .ops .workspace-flow-arrow { flex-basis:18px; height:18px; transform:rotate(90deg); }
}
@media(max-width:360px) {
  .ops .workspace-tool-choices { grid-template-columns:1fr; }
}

/* Keep workflow cards dense while preserving room for additional stages. */
.ops .workspace-shelf { padding:8px; margin-bottom:10px; }
.ops .workspace-shelf-heading { margin-bottom:5px; }
.ops .grouped-tools { gap:4px; }
.ops .tool-family { grid-template-columns:minmax(0,1fr); gap:3px; padding:5px; }
.ops .tool-family-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 8px; min-width:0; }
.ops .tool-family h3 { margin:0; padding:0; }
.ops .tool-family-hint { margin:0; color:#607681; font-size:10px; line-height:1.3; }
.ops .workspace-flow-step { display:none; }
.ops .tool-family:has(#tools-admin) .workspace-flow-arrow { display:none; }
.ops .tool-family .workspace-tool-grid { gap:3px; overflow-x:auto; padding-bottom:1px; scrollbar-width:thin; }
.ops .workspace-tool-stage { flex:0 0 auto; width:max-content; max-width:260px; gap:0; }
.ops .workspace-tool-stage-choices { flex:0 0 auto; width:max-content; max-width:500px; }
.ops .workspace-tool-stage > .workspace-tool { flex:none; width:max-content; min-width:108px; max-width:250px; }
.ops .workspace-tool-choices { grid-template-columns:repeat(2,max-content); gap:3px; }
.ops .workspace-tool-choices .workspace-tool { width:max-content; min-width:108px; max-width:220px; }
.ops .workspace-flow-arrow { position:relative; z-index:1; flex-basis:14px; font-size:14px; }
.ops .workspace-flow-arrow::before { content:''; position:absolute; z-index:-1; left:-3px; right:-3px; top:50%; height:2px; transform:translateY(-50%); background:var(--family-accent); }
.ops .tool-family .workspace-tool { min-height:46px; grid-template-columns:22px minmax(0,1fr); gap:1px 5px; padding:4px 5px; }
.ops .tool-family .workspace-tool-icon { width:22px; height:22px; border-radius:5px; }
.ops .tool-family .workspace-tool-icon svg { width:16px; height:16px; }
.ops .tool-family .workspace-tool strong { font-size:10px; line-height:1.2; }
.ops .tool-family .workspace-tool-description { font-size:9px; line-height:1.2; }
.ops .tool-family .tile-heat-label { padding:1px 3px; font-size:8px; }
@media(max-width:700px) {
  .ops .workspace-tool-grid { overflow:visible; }
  .ops .workspace-tool-stage, .ops .workspace-tool-stage-choices { flex:none; }
  .ops .workspace-flow-arrow { width:16px; height:14px; }
  .ops .tool-family .workspace-tool { min-height:44px; }
}

.ops .workspace-shelf-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; margin-bottom:5px; }
.ops .workspace-shelf-heading > div { display:flex; align-items:center; }
.ops .workspace-shelf-heading h2 { display:flex; align-items:center; gap:7px; margin:0; color:#21414a; font-size:13px; font-weight:650; letter-spacing:-.015em; line-height:1.2; text-transform:none; }
.ops .workspace-shelf-heading h2::before { content:""; flex:0 0 4px; width:4px; height:15px; border-radius:4px; background:#0e6f74; }
.ops .workspace-shelf-hint { display:block; margin:0; padding-left:9px; border-left:1px solid #d7e3e4; color:#667c82; font-size:10px; font-weight:500; line-height:1.25; }
@media(max-width:700px) {
  .ops .workspace-shelf-heading { align-items:flex-start; flex-direction:column; gap:3px; }
  .ops .workspace-shelf-hint { margin-left:11px; padding-left:0; border-left:0; }
  .ops .workspace-tool-stage, .ops .workspace-tool-stage-choices { width:100%; max-width:none; }
  .ops .workspace-tool-stage > .workspace-tool, .ops .workspace-tool-choices .workspace-tool { width:100%; max-width:none; }
  .ops .workspace-tool-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.ops .tool-family .workspace-tool,
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) {
  border-color:color-mix(in srgb,var(--family-accent) 32%,var(--tile-surface));
  background:transparent;
  box-shadow:0 2px 7px rgba(21,48,58,.15);
}
.ops .tool-family .workspace-tool:hover {
  border-color:var(--family-accent);
  background:rgba(255,255,255,.28);
  box-shadow:0 5px 12px rgba(21,48,58,.22);
}
.ops .tool-family .workspace-tool-content { display:grid; grid-column:2; grid-template-rows:auto auto; align-content:center; gap:1px; width:max-content; max-width:100%; min-width:0; }
.ops .tool-family .workspace-tool-content strong { grid-column:auto; white-space:nowrap; }
.ops .tool-family .workspace-tool-details { display:flex; align-items:center; gap:4px; width:max-content; max-width:100%; min-width:0; white-space:nowrap; }
.ops .tool-family .workspace-tool-description { grid-column:auto; white-space:nowrap; }
.ops .tool-family .tile-heat-label { grid-column:auto; justify-self:start; align-self:center; margin:0; padding:1px 4px; border:1px solid var(--heat-border); border-radius:999px; background:var(--heat-bg); color:var(--heat-ink); font-size:8px; font-weight:700; white-space:nowrap; }

/* Shared page rhythm. Keep document printing and the compact operations tables
   independent; public pages and tool forms use the same type and spacing roles. */
@media screen {
  .site-content { min-width:0; }
  .site-content > .container {
    width:min(var(--content-width),calc(100% - 2 * var(--page-gutter)));
    padding-block:20px !important;
    margin-top:0 !important;
  }
  .site-content > .admin-dashboard-container,
  .site-content > .research-workspace { width:min(1440px,calc(100% - 2 * var(--page-gutter))); }
  .page-reading .site-content > .container { max-width:var(--reading-width) !important; }
  .site-content > .container > .container { width:100%; padding:0; }
  .banner-text { width:min(var(--content-width),calc(100% - 2 * var(--page-gutter))); padding-block:22px; }
  .page-banner.banner-compact { min-height:136px; }
  .banner-compact .banner-title { font-size:clamp(26px,3vw,32px); line-height:1.25; }
  .banner-tagline { margin-top:var(--space-2); font-size:15px; line-height:1.6; }
  .site-content :is(.breadcrumb,.page-context) { gap:var(--space-2); line-height:1.6; flex-wrap:wrap; }
  .site-content .breadcrumb { margin-top:0; margin-bottom:var(--space-2); }
  .page-reading .site-content h1 { font-size:clamp(26px,3vw,32px) !important; line-height:1.25; }
  .page-reading .site-content h2 { font-size:22px !important; line-height:1.35; margin-top:var(--space-6); margin-bottom:var(--space-3); }
  .page-reading .site-content h3 { font-size:18px !important; line-height:1.4; }
  .page-reading .site-content p { font-size:15px !important; line-height:1.7; }
  .page-reading .site-content > .container:has(.badge-gradient) > div:first-child,
  .page-reading .site-content > .container:has(.badge-gradient) > div:nth-child(2) { margin-bottom:24px !important; }
  .site-content .search-top { margin-top:24px !important; padding-top:16px !important; }
  .site-content .product-page .research-container { margin-top:20px !important; }
  .site-content .profile-layout > div:nth-child(2) > div:nth-of-type(2) { margin-top:24px !important; }
  .site-content :is(.admin-card,.card,.side-card,.category-panel) { border-radius:var(--radius); }
  .site-content .admin-card-header { gap:var(--space-3); flex-wrap:wrap; }
  .site-content :is(.form-label,.form-input) { line-height:1.5; }
  .site-content .form-input { min-width:0; max-width:100%; padding:10px 12px; font-size:var(--fs-ui); border-radius:var(--radius-s); }
  .site-content textarea.form-input { min-height:104px; resize:vertical; }
  .site-content .btn:not(.ops .btn):not(.card-body .btn):not(:where(.home-spotlight .spotlight-actions .btn)),
  .auth-card .btn { min-height:40px; padding:10px 16px; font-size:var(--fs-ui) !important; line-height:1.4; white-space:normal; text-align:center; }
  .site-content :is(.form-error,.form-success) { padding:var(--space-3) var(--space-4); border-radius:var(--radius-s); font-size:var(--fs-ui); line-height:1.6; }
  .site-content :is(.form-error,.form-success):empty { display:none; }
  .site-content .error-page { min-height:260px; padding:var(--space-8) var(--page-gutter); }
  .site-content .error-page h1 { margin:0 0 var(--space-3); font-size:40px; }
  .site-content .error-page h2 { font-size:24px; line-height:1.35; }
  .site-content .error-page p { max-width:600px; margin:var(--space-4) auto var(--space-6); }
  .page-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:var(--space-3); }
  .contact-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-6); align-items:start; }
  .profile-layout { display:flex; flex-wrap:wrap; gap:var(--space-6); }
  .profile-layout > div { min-width:min(280px,100%) !important; }
  .product-entry-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-4); padding:var(--space-6); }
  .product-entry-form > * { min-width:0; }
  .footer-links { flex-wrap:wrap; gap:var(--space-4) var(--space-6) !important; margin-top:var(--space-4) !important; }
}

/* Account pages share one card size and one spacing scale, including recovery. */
.auth-section { display:flex; justify-content:center; align-items:flex-start; width:100%; padding:20px var(--page-gutter); }
.auth-card { width:100%; max-width:var(--form-width); padding:var(--space-8); border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.auth-card h1 { font-size:26px !important; line-height:1.3; margin:0 0 var(--space-3); }
.auth-card p { font-size:var(--fs-ui) !important; line-height:1.6; }
.auth-card form { display:grid !important; gap:var(--space-4) !important; }
.auth-card label { display:grid; gap:var(--space-2); font-size:var(--fs-ui) !important; font-weight:600; line-height:1.5; }
.auth-card .form-input { width:100%; min-height:44px; padding:10px 12px; font-size:var(--fs-ui); }
.auth-card form .btn { width:100%; margin-top:var(--space-2); }
.auth-links { display:flex; flex-wrap:wrap; gap:var(--space-3); margin-top:var(--space-6); font-size:var(--fs-ui); }
.recovery-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:var(--space-4); width:min(var(--content-width),calc(100% - 2 * var(--page-gutter))); margin:0 auto; padding:var(--space-6) 0; border-bottom:1px solid var(--line); font-size:var(--fs-ui); }
.recovery-page > main { flex:1; }
.recovery-footer { display:flex; justify-content:center; flex-wrap:wrap; gap:var(--space-6); padding:var(--space-6); margin-top:0; font-size:var(--fs-ui); }
.skip-link { position:fixed; left:var(--space-4); top:-100px; z-index:2000; padding:12px 16px; border-radius:var(--radius-s); background:var(--surface); color:var(--ink); }
.skip-link:focus { top:var(--space-4); }
#page-content { scroll-margin-top:calc(var(--nav-height) + 16px); }
#page-content:focus { outline:none; }

@media screen and (max-width:700px) {
  :root { --page-gutter:16px; }
  .site-content > .container { padding-block:14px !important; }
  .contact-layout { grid-template-columns:minmax(0,1fr); }
  .profile-layout > div { padding:var(--space-6) !important; }
  .product-entry-form { grid-template-columns:minmax(0,1fr); padding:24px; }
  .product-entry-form > * { grid-column:1 !important; }
  .auth-card { padding:var(--space-6); }
  .site-content :is(input,select,textarea), .auth-card .form-input { font-size:16px; }
  .auth-section { padding-block:14px; }
  .banner-text { padding-block:20px; }
  .site-content .category-results-header { gap:var(--space-4); }
}
@media print { .skip-link, .recovery-header, .recovery-footer { display:none !important; } }

/* Content must shrink within its layout; long scientific names wrap naturally. */
@media screen {
  .product-overview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-8); align-items:start; }
  .product-overview > div { min-width:0 !important; }
  .product-page :is(h1,p,li,.product-kicker,.mol-viewer-footer) { overflow-wrap:anywhere; }
  .mol-viewer-card, .mol-viewer-header, .mol-viewer-footer > div { min-width:0; max-width:100%; }
  .mol-viewer-header, .mol-lookup-bar { flex-wrap:wrap; }
  .mol-lookup-input { min-width:0; flex:1 1 220px; }
  .mol-viewer-footer > div { overflow-wrap:anywhere; }
  .catalog-stat { min-width:0; }
  .inquiry-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:var(--space-6); align-items:start; }
  .inquiry-layout > div { min-width:0; overflow-wrap:anywhere; padding:var(--space-6) !important; }
  .inquiry-layout :is(form,select,textarea) { min-width:0; max-width:100%; }
  .inquiry-layout div[style*="display:flex"] { flex-wrap:wrap; gap:var(--space-2); }
  .inquiry-layout div[style*="display:flex"] > div { min-width:0; }
  .quote-layout > *, .quote-main, .quote-side, .quote-doc, .side-card { min-width:0; }
  .quote-doc { overflow-wrap:anywhere; }
  .card-head, .doc-actions { flex-wrap:wrap; gap:var(--space-3); }
}
@media screen and (max-width:900px) {
  .product-overview, .inquiry-layout, .quote-layout { grid-template-columns:minmax(0,1fr); }
}
@media screen and (max-width:700px) {
  .site-content .quote-doc { padding:var(--space-6) var(--space-4); }
  .quote-doc .doc-lines, .side-card > .doc-lines { display:block; max-width:100%; overflow-x:auto; }
  .add-line { grid-template-columns:minmax(0,1fr) 64px; }
  .add-line .qty-input { width:64px; }
  .add-line .btn { grid-column:1 / -1; }
  .side-card { padding:var(--space-4); }
  .mol-lookup-bar > span { flex-basis:100%; }
  .mol-lookup-input { flex-basis:100%; width:100%; }
  .catalog-stat { padding:var(--space-3); }
}

.viewer-content { flex:1; min-height:0; }
.viewer-content .viewer-iframe { display:block; width:100%; height:calc(100dvh - 60px); border:0; }
@media(max-width:600px) {
  .viewer-header { height:auto; min-height:60px; flex-wrap:wrap; gap:8px; padding:12px 16px; }
  .viewer-header > div { display:none; }
}

.mol-viewer-card button:disabled { cursor:default; opacity:.5; }
.mol-loading-overlay [role="status"] { max-width:42ch; padding:0 16px; text-align:center; line-height:1.6; }

.table-scroll-hint { display:none; }
@media screen and (max-width:700px) {
  .table-scroll-hint { display:block; margin:0 0 12px; font-size:13px; line-height:1.5; color:var(--muted); }
}

/* Outline dashboard cards: the page background shows through every surface. */
@media screen {
  .ops {
    --dashboard-ink:#34404e;
    --dashboard-muted:#687382;
    --dashboard-outline:#c5cdd6;
  }
  .ops .tool-family {
    --family-accent:#566273 !important;
    --family-wash:transparent !important;
    --family-border:var(--dashboard-outline) !important;
    --tile-surface:transparent !important;
    padding:10px;
  }
  .ops .dashboard-section-card {
    --action-color:#566273 !important;
    --action-wash:transparent !important;
  }
  .ops :is(.ops-head,.workspace-shelf,.tool-family,.workspace-tool,
    .admin-stat-item,.dashboard-section-card,.panel-metrics > div) {
    background:transparent !important;
    background-image:none !important;
    border:1px solid var(--dashboard-outline) !important;
    box-shadow:none !important;
    border-radius:10px;
  }
  .ops :is(.admin-stats-bar,.admin-card-header,.panel-action-bar,
    .panel-workspace-toolbar,.panel-metrics,.admin-table-wrap,.list-pagination,
    .panel-help,.admin-tabs,.expanded-workspace,.workspace-tool-icon,
    .summary-count,.tile-heat-label,.heat-legend span) {
    background:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
  }
  .ops .workspace-shelf { padding:14px; }
  .ops .grouped-tools { gap:12px; }
  .ops .tool-family .workspace-tool-grid { gap:7px; padding:4px; }
  .ops .admin-stats-bar { gap:12px !important; overflow:visible; }
  .ops .ops-head :is(h1,p),
  .ops .admin-stat-item:nth-child(n) .admin-stat-value,
  .ops .tool-family h3,
  .ops .tool-family .workspace-tool strong { color:var(--dashboard-ink) !important; }
  .ops :is(.tool-family-hint,.workspace-shelf-hint,.workspace-tool-description,
    .heat-legend,.workspace-tool-icon,.tile-heat-label,.heat-legend span) { color:var(--dashboard-muted) !important; }
  .ops .workspace-shelf-hint { border:0; }
  .ops :is(.workspace-shelf-heading h2,.tool-family h3)::before,
  .ops .workspace-flow-arrow::before,
  .ops .ops-head::before,.ops .ops-head::after { display:none; }
  .ops :is(th,td), .panel-pages .ops #admin-inventory-table :is(th,td) {
    background:transparent !important;
    border:0 !important;
  }
  .ops .panel-metrics > div { padding:6px 8px; }
  .ops .panel-metrics :is(strong,b) { color:#465365; }
  .ops .tool-family .workspace-tool:hover,
  .ops a.admin-stat-item:hover { border-color:#8895a5 !important; }
  .ops .btn-outline { background:transparent; color:#4d5a6b; }
}

@media screen {
  .ops .admin-stat-item:nth-child(n) {
    background:transparent !important;
    border:1px solid var(--dashboard-outline) !important;
    box-shadow:none !important;
  }
}

/* Clear section outlines and two-line shortcut content. */
@media screen {
  .ops { --dashboard-outline:#98a5b5; }
  .ops :is(.workspace-shelf,.tool-family,.dashboard-section-card) { border-color:#8998aa !important; }
  .ops .tool-family .workspace-tool {
    grid-template-rows:auto;
    align-items:center;
    min-height:48px;
    padding:8px;
  }
  .ops .tool-family .workspace-tool-top { grid-row:1; align-self:center; }
  .ops .tool-family .workspace-tool-content {
    grid-row:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:3px;
  }
  .ops .tool-family .workspace-tool-content strong { display:block; margin:0; line-height:1.3; }
  .ops .tool-family .workspace-tool-details { display:flex; flex-wrap:nowrap; align-items:center; gap:5px; line-height:1.3; }
  .ops .tool-family .workspace-tool-description,
  .ops .tool-family .tile-heat-label { display:inline; white-space:nowrap; }
  .ops .workspace-tool-stage,
  .ops .workspace-tool-stage-choices,
  .ops .workspace-tool-stage > .workspace-tool,
  .ops .workspace-tool-choices .workspace-tool { max-width:none; }
}
@media screen and (max-width:480px) {
  .ops .workspace-tool-choices { grid-template-columns:minmax(0,1fr); }
}

/* Preserve the workflow card accents and status colors after the outline reset. */
.ops .tool-family:has(#tools-inventory) { --family-accent:#0e6f74 !important; }
.ops .tool-family:has(#tools-commercial) { --family-accent:#285471 !important; }
.ops .tool-family:has(#tools-research) { --family-accent:#29765d !important; }
.ops .tool-family:has(#tools-admin) { --family-accent:#976317 !important; }
.ops .tool-family .workspace-tool,
.ops .tool-family .workspace-tool:not([data-heat="neutral"]) {
  border-color:color-mix(in srgb,var(--family-accent) 42%,white) !important;
  box-shadow:0 2px 7px rgba(21,48,58,.15) !important;
}
.ops .tool-family .workspace-tool:hover {
  border-color:var(--family-accent) !important;
  box-shadow:0 5px 12px rgba(21,48,58,.22) !important;
}
.ops .tool-family .tile-heat-label {
  border:1px solid var(--heat-border) !important;
  background:var(--heat-bg) !important;
  color:var(--heat-ink) !important;
}

/* Dashboard finishing pass: quiet typography, precise outlines, subtle depth. */
@media screen {
  body.is-admin:has(.ops) {
    background:radial-gradient(ellipse at 12% 0,rgba(221,228,234,.48),transparent 48%),#f5f7f9;
  }
  .ops {
    --dashboard-ink:#2d3948;
    --dashboard-muted:#667386;
    --dashboard-outline:#bdc7d3;
    color:var(--dashboard-ink);
  }
  .ops .ops-head {
    padding:20px 22px;
    margin-bottom:16px;
    border-radius:14px;
    border-color:#aebac8 !important;
  }
  .ops .ops-head h1 { font-size:26px; font-weight:600; letter-spacing:-.035em; line-height:1.2; }
  .ops .ops-head p { margin-top:6px; font-size:12px; letter-spacing:.01em; }
  .ops .admin-stat-item:nth-child(n) {
    padding:13px 16px !important;
    border-radius:12px;
    border-color:#bcc7d4 !important;
    transition:border-color .18s ease,transform .18s ease;
  }
  .ops .admin-stat-value { font-variant-numeric:tabular-nums; letter-spacing:-.025em; }
  .ops .admin-stat-label { margin-top:5px; font-size:11px; line-height:1.45; }
  .ops :is(.workspace-shelf,.tool-family,.dashboard-section-card) { border-color:#b2becd !important; }
  .ops .workspace-shelf { padding:16px; border-radius:14px; margin-bottom:24px; }
  .ops .workspace-shelf-heading { margin-bottom:12px; gap:8px 16px; }
  .ops .workspace-shelf-heading h2 { font-size:14px; letter-spacing:-.015em; color:#334154; }
  .ops .tool-family { padding:12px; border-radius:12px; }
  .ops .tool-family-heading { gap:5px 12px; margin-bottom:5px; }
  .ops .tool-family h3 { font-size:12px; font-weight:650; letter-spacing:.02em; }
  .ops .tool-family-hint { font-size:11px; line-height:1.5; }
  .ops .tool-family .workspace-tool-grid { gap:9px; padding:5px 3px; }
  .ops .tool-family .workspace-tool,
  .ops .tool-family .workspace-tool:not([data-heat="neutral"]) {
    min-height:58px;
    padding:10px 11px;
    border-radius:10px;
    border-color:#bac6d3 !important;
    box-shadow:0 2px 4px -2px rgba(30,45,65,.12),0 6px 12px -8px rgba(30,45,65,.18) !important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  }
  .ops .tool-family .workspace-tool:hover {
    transform:translateY(-2px);
    border-color:#7f92aa !important;
    box-shadow:0 4px 6px -3px rgba(30,45,65,.13),0 10px 18px -10px rgba(30,45,65,.22) !important;
  }
  .ops .tool-family .workspace-tool:active { transform:translateY(0); }
  .ops .tool-family .workspace-tool-content { gap:4px; }
  .ops .tool-family .workspace-tool strong { font-size:12px; font-weight:600; line-height:1.35; letter-spacing:-.01em; }
  .ops .tool-family .workspace-tool-description { font-size:10px; line-height:1.4; }
  .ops .tool-family .workspace-tool-icon { width:24px; height:26px; color:#65768a !important; }
  .ops .tool-family .workspace-tool-icon svg { width:19px; height:19px; }
  .ops .workspace-flow-arrow { color:#8898ac; font-size:16px; }
  .ops .tool-family .tile-heat-label { font-size:9px; font-weight:500; padding:2px 5px; }
  .ops .dashboard-section-card { border-radius:14px; }
  .ops .dashboard-section-card .admin-card-header { padding:14px 16px !important; }
  .ops .dashboard-section-card .admin-card-title { font-size:14px !important; font-weight:600; letter-spacing:-.015em; }
  .ops .panel-workspace-toolbar { padding:10px 12px; gap:8px; }
  .ops .panel-search input { border-radius:8px; padding:9px 11px; }
  .ops .panel-metrics { gap:8px; padding:8px 12px; }
  .ops .panel-metrics > div { border-color:#c2ccd8 !important; border-radius:8px; padding:7px 9px; }
  .ops .panel-metrics strong { font-variant-numeric:tabular-nums; }
  .ops :is(.btn,.section-expand,.panel-clear,.panel-download,.admin-tab-btn) { border-radius:7px; }
  .ops :is(th,td) { line-height:1.5; }
  .ops .list-pagination { padding:12px; }
  .ops :is(a,button,input,select):focus-visible { outline:2px solid #52768d; outline-offset:3px; }
}
@media screen and (max-width:700px) {
  .ops .ops-head { padding:16px; }
  .ops .ops-head h1 { font-size:24px; }
  .ops .workspace-shelf { padding:12px; }
  .ops .tool-family { padding:10px; }
  .ops .workspace-shelf-heading { align-items:flex-start; }
  .ops .tool-family .workspace-tool { padding:9px; }
}

/* Site-aligned dashboard: navy and teal, with softly elevated color families. */
@media screen {
  body.is-admin:has(.ops) {
    background:radial-gradient(ellipse at 8% 0,rgba(14,111,116,.07),transparent 45%),#f3f6f7;
  }
  .ops {
    --dashboard-ink:#213744;
    --dashboard-muted:#627784;
    --dashboard-depth:0 3px 8px rgba(15,40,50,.07),0 18px 34px -14px rgba(15,40,50,.28);
    --dashboard-lift:0 2px 5px rgba(15,40,50,.06),0 10px 20px -8px rgba(15,40,50,.22);
  }
  .ops .ops-head:nth-child(n) {
    border:0 !important;
    background:radial-gradient(ellipse at 95% 0,rgba(127,224,211,.16),transparent 52%),linear-gradient(115deg,#0c1c29,#15454b) !important;
    box-shadow:0 8px 22px -12px rgba(12,28,41,.45) !important;
  }
  .ops .ops-head h1 { color:#fff !important; }
  .ops .ops-head p { color:#bfd3d8 !important; }
  .ops .workspace-shelf:nth-child(n) {
    border:0 !important;
    background:rgba(255,255,255,.65) !important;
    box-shadow:var(--dashboard-depth) !important;
  }
  .ops .admin-stat-item:nth-child(n) {
    border:0 !important;
    background:linear-gradient(140deg,#fff,#edf6f5) !important;
    box-shadow:var(--dashboard-lift) !important;
  }
  .ops .admin-stat-item:nth-child(2) { background:linear-gradient(140deg,#fff,#edf3f9) !important; }
  .ops .admin-stat-item:nth-child(3) { background:linear-gradient(140deg,#fff,#eef6f1) !important; }
  .ops .admin-stat-item:nth-child(4) { background:linear-gradient(140deg,#fff,#fbf4e9) !important; }
  .ops .admin-stat-item:nth-child(1) .admin-stat-value { color:#0e6f74 !important; }
  .ops .admin-stat-item:nth-child(2) .admin-stat-value { color:#335d7b !important; }
  .ops .admin-stat-item:nth-child(3) .admin-stat-value { color:#357354 !important; }
  .ops .admin-stat-item:nth-child(4) .admin-stat-value { color:#996b26 !important; }
  .ops .tool-family:has(#tools-research) { --family-accent:#327956 !important; --family-wash:#edf6ef !important; }
  .ops .tool-family:has(#tools-inventory) { --family-accent:#0e6f74 !important; --family-wash:#eaf5f3 !important; }
  .ops .tool-family:has(#tools-commercial) { --family-accent:#365d7c !important; --family-wash:#edf3f9 !important; }
  .ops .tool-family:has(#tools-admin) { --family-accent:#956b2e !important; --family-wash:#faf4e9 !important; }
  .ops .tool-family:nth-child(n) {
    border:0 !important;
    background:linear-gradient(115deg,var(--family-wash),rgba(255,255,255,.9)) !important;
    box-shadow:var(--dashboard-lift) !important;
  }
  .ops .tool-family:nth-child(n) h3 { color:var(--family-accent) !important; }
  .ops .tool-family .workspace-tool,
  .ops .tool-family .workspace-tool:not([data-heat="neutral"]) {
    border:0 !important;
    background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--family-wash) 65%,white)) !important;
    box-shadow:0 1px 0 rgba(255,255,255,.9) inset,var(--dashboard-lift) !important;
  }
  .ops .tool-family .workspace-tool:hover {
    border:0 !important;
    background:#fff !important;
    box-shadow:0 4px 7px -3px rgba(15,40,50,.12),0 12px 22px -9px color-mix(in srgb,var(--family-accent) 28%,transparent) !important;
  }
  .ops .tool-family .workspace-tool-icon {
    color:var(--family-accent) !important;
    background:var(--family-wash) !important;
    box-shadow:0 1px 2px rgba(15,40,50,.05) !important;
    border-radius:7px;
  }
  .ops .dashboard-section-card:nth-child(n) {
    border:0 !important;
    background:#fff !important;
    box-shadow:var(--dashboard-depth) !important;
  }
  .ops .dashboard-section-card .admin-card-header {
    border:0 !important;
    background:linear-gradient(100deg,#f0f7f6,#fff) !important;
  }
  .ops #quotes-section .admin-card-header { background:linear-gradient(100deg,#eef3f9,#fff) !important; }
  .ops #discovery-section .admin-card-header { background:linear-gradient(100deg,#eef6ef,#fff) !important; }
  .ops .panel-metrics > div {
    border:0 !important;
    background:#f1f7f6 !important;
    box-shadow:0 2px 5px -2px rgba(15,40,50,.12) !important;
  }
  .ops #quotes-section .panel-metrics > div { background:#f1f5fa !important; }
  .ops #discovery-section .panel-metrics > div { background:#f1f7f1 !important; }
  .ops tbody tr:hover td, .panel-pages .ops #admin-inventory-table tbody tr:hover td { background:#f0f7f6 !important; }
  .ops .admin-tabs .admin-tab-btn.active { color:#0a565a; background:#e6f1f0; box-shadow:none; }
}

/* Keep form controls and supporting cards consistent without changing page layouts. */
:root {
  --control-height:42px;
  --control-radius:8px;
  --form-gap:16px;
}
@media screen {
  .site-content:not(:has(.ops,.research-workspace)) :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea
  ):not(.qty-input):not(.pct-input),
  .auth-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea
  ) {
    min-height:var(--control-height);
    padding:10px 12px;
    border:1px solid var(--line-strong);
    border-radius:var(--control-radius);
    background:var(--surface);
    color:var(--ink);
    font-size:var(--fs-ui);
    line-height:1.45;
  }
  .site-content:not(:has(.ops,.research-workspace)) textarea,
  .auth-card textarea { min-height:112px; resize:vertical; }
  .site-content:not(:has(.ops,.research-workspace)) :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea
  ):not(.qty-input):not(.pct-input):focus-visible,
  .auth-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea
  ):focus-visible {
    border-color:var(--teal);
    box-shadow:0 0 0 3px rgba(14,111,116,.14);
  }
  .site-content:not(:has(.ops,.research-workspace)) .form-grid { gap:var(--form-gap); }
  .site-content:not(:has(.ops,.research-workspace)) .form-label { gap:6px; font-weight:600 !important; }
  .auth-card { border-radius:var(--radius-l); box-shadow:var(--page-depth); }
  .auth-card form { gap:var(--form-gap) !important; }
  .contact-layout { gap:var(--space-3); }
  .contact-layout > div {
    padding:24px !important;
    border:1px solid var(--line) !important;
    border-radius:var(--radius-l) !important;
    box-shadow:var(--page-depth) !important;
  }
  .site-content .contact-layout form { gap:var(--form-gap) !important; }
  .site-content:not(:has(.ops,.research-workspace)) :is(.form-error,.form-success) {
    padding:12px 16px;
    border-radius:var(--control-radius);
  }
}
@media screen and (max-width:700px) {
  .site-content:not(:has(.ops,.research-workspace)) :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea
  ):not(.qty-input):not(.pct-input),
  .auth-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
    select,
    textarea
  ) { font-size:16px; }
}

.product-card > img { height:148px; }
.product-card .card-body,
.product-card .card-content { padding:14px 16px 16px; }
.product-card .product-card-title { margin:4px 0 5px !important; font-size:15px; line-height:1.3; }
.product-card .product-card-description {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0 !important;
  color:var(--muted);
  font-size:13px;
  line-height:1.42;
}
.product-card .card-price,
.product-card .price-gate { margin:8px 0 0; padding-top:0; }
.product-card .card-price { font-size:16px; }
.product-card .price { margin:8px 0 0 !important; }
.product-card .card-meta { margin-top:8px; }
.product-card hr { margin:8px 0 !important; }
.product-card-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:8px; }
.product-card > .product-card-actions { padding:0 16px 14px; margin-top:8px; }
.product-card:has(> .product-card-actions) .product-card-content { padding-bottom:0; }
.product-card .product-card-actions :is(.btn,.btn-search,.btn-outline) {
  min-height:32px;
  padding:6px 10px !important;
  font-size:12px !important;
}

/* Color and elevation for interior pages; the homepage has no matching rules. */
@media screen {
  body:not(.page-home):not(:has(.ops)) {
    --page-depth:0 2px 4px rgba(15,40,50,.035),0 14px 28px -16px rgba(15,40,50,.2);
    --page-depth-hover:0 4px 8px rgba(15,40,50,.055),0 18px 32px -16px rgba(15,40,50,.24);
    --page-teal-wash:#edf6f5;
    --page-blue-wash:#eff4f9;
    --page-sage-wash:#f0f6f0;
    background:radial-gradient(ellipse at 8% 0,rgba(14,111,116,.065),transparent 48%),#f4f7f7;
  }
  body:not(.page-home):not(:has(.ops)) :is(.card,.category-panel,.category-directory-item,
    .admin-card,.auth-card,.side-card,.quote-doc,.sm-card,.sm-page,.sm-stat,
    .product-description,.scientific-metadata,.research-profile,.vendor-detail-panel,
    .mol-viewer-card,.vendor-source-notice,.category-empty,.empty-subcategory) {
    border-color:rgba(39,88,101,.09) !important;
    box-shadow:var(--page-depth) !important;
  }
  body:not(.page-home):not(:has(.ops)) :is(.card,.category-panel,.category-directory-item,.sm-page) {
    transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
  }
  body:not(.page-home):not(:has(.ops)) :is(.card,.category-panel,.category-directory-item,.sm-page):hover {
    box-shadow:var(--page-depth-hover) !important;
    border-color:rgba(14,111,116,.2) !important;
  }
  body:not(.page-home):not(:has(.ops)) :is(.category-panel,.auth-card,.side-card,.admin-card) {
    background:linear-gradient(135deg,#fff 60%,var(--page-teal-wash));
  }
  body:not(.page-home):not(:has(.ops)) .category-panel:nth-child(3n + 2),
  body:not(.page-home):not(:has(.ops)) .sm-card:nth-child(3n + 2) {
    background:linear-gradient(135deg,#fff 55%,var(--page-blue-wash));
  }
  body:not(.page-home):not(:has(.ops)) .category-panel:nth-child(3n),
  body:not(.page-home):not(:has(.ops)) .sm-card:nth-child(3n) {
    background:linear-gradient(135deg,#fff 55%,var(--page-sage-wash));
  }
  body:not(.page-home):not(:has(.ops)) :is(.admin-card-header,.mol-viewer-header) {
    background:linear-gradient(105deg,var(--page-teal-wash),#fff);
    border-bottom-color:rgba(39,88,101,.07);
  }
  body:not(.page-home):not(:has(.ops)) .contact-layout > div,
  body:not(.page-home):not(:has(.ops)) .profile-layout > div:first-child,
  body.page-reading .site-content div:has(> .icon-tile) {
    box-shadow:var(--page-depth) !important;
    border-color:rgba(39,88,101,.09) !important;
    background:linear-gradient(135deg,#fff 55%,var(--page-teal-wash)) !important;
  }
  body.page-reading .site-content div:has(> .icon-tile):nth-child(2) {
    background:linear-gradient(135deg,#fff 55%,var(--page-blue-wash)) !important;
  }
  body.page-reading .site-content div:has(> .icon-tile):nth-child(3) {
    background:linear-gradient(135deg,#fff 55%,var(--page-sage-wash)) !important;
  }
  body:not(.page-home):not(:has(.ops)) :is(.product-description,.vendor-detail-panel) {
    background:linear-gradient(135deg,#fff 65%,var(--page-teal-wash));
  }
  body:not(.page-home):not(:has(.ops)) .scientific-metadata {
    background:linear-gradient(135deg,#fff 65%,var(--page-blue-wash));
  }
  body:not(.page-home):not(:has(.ops)) .research-profile {
    background:linear-gradient(135deg,#fff 65%,var(--page-sage-wash));
  }
  body:not(.page-home):not(:has(.ops)) :is(.card-category-pill,.subcategory-count,.category-index) {
    color:#0a6267;
    background:#e6f2f0;
  }
  body:not(.page-home):not(:has(.ops)) .category-directory-item {
    background:linear-gradient(120deg,#fff,var(--page-teal-wash));
  }
  body:not(.page-home):not(:has(.ops)) .auth-card h1 { color:#164b55; }
  body:not(.page-home):not(:has(.ops)) .auth-card { background:linear-gradient(155deg,#fff 68%,var(--page-teal-wash)); }
  body:not(.page-home):not(:has(.ops)) .cq-legal { border-radius:14px; box-shadow:0 12px 28px -24px rgba(15,40,50,.25); }
  body:not(.page-home):not(:has(.ops)) .cq-legal h2 { color:#175e67; }
  body:not(.page-home):not(:has(.ops)) .cq-legal a { color:#0e6f74; }
  body:not(.page-home):not(:has(.ops)) :is(.doc-head,.card-head) h2 { color:#175e67; }
  body:not(.page-home):not(:has(.ops)) .quote-doc { background:#fff; }
  body:not(.page-home):not(:has(.ops)) .doc-lines th { background:#edf5f4; color:#345f65; }
  body:not(.page-home):not(:has(.ops)) .doc-notes { background:#f0f6f5; }
  body:not(.page-home):not(:has(.ops)) .vendor-source-notice {
    background:linear-gradient(110deg,#faf4e9,#fff);
  }
  body:not(.page-home):not(:has(.ops)) .viewer-header {
    background:linear-gradient(115deg,#0c1c29,#15454b);
    box-shadow:0 4px 14px rgba(12,28,41,.16);
    color:#d3e5e7;
  }
  body:not(.page-home):not(:has(.ops)) .recovery-header {
    border-bottom-color:rgba(39,88,101,.12);
  }
}

/* Product presentation polish: preserve the existing columns and section order. */
@media screen {
  body:not(.page-home) .product-page {
    --product-shadow:0 2px 4px rgba(16,48,60,.035),0 18px 32px -20px rgba(16,48,60,.24);
    --product-title:#173644;
  }
  body:not(.page-home) .product-page .product-photo {
    object-fit:contain;
    border-color:rgba(52,104,119,.1);
    border-radius:18px !important;
    background:radial-gradient(ellipse at 35% 25%,#fff 0%,#f1f7f7 65%,#e9f1f3 100%);
    box-shadow:0 3px 7px rgba(16,48,60,.04),0 20px 36px -22px rgba(16,48,60,.28) !important;
  }
  body:not(.page-home) .product-page h1 {
    color:var(--product-title);
    font-weight:600;
    letter-spacing:-.035em;
    line-height:1.2;
    text-wrap:pretty;
  }
  body:not(.page-home) .product-page .product-kicker {
    margin-bottom:12px;
    font-size:12px;
    line-height:1.8;
    color:#69818c;
  }
  body:not(.page-home) .product-page .product-kicker a {
    display:inline-block;
    margin-bottom:4px;
    padding:3px 9px;
    border-radius:6px;
    background:#e6f1f0;
    color:#25616a;
    text-decoration:none;
    font-weight:500;
  }
  body:not(.page-home) .product-page :is(.product-description,.scientific-metadata,.research-profile,.vendor-detail-panel) {
    border-radius:14px;
    border-color:rgba(52,104,119,.08) !important;
    box-shadow:var(--product-shadow) !important;
  }
  body:not(.page-home) .product-page :is(.product-description,.scientific-metadata,.research-profile,.vendor-detail-panel) h3 {
    display:flex;
    align-items:center;
    gap:9px;
    color:#244b58;
    font-size:16px;
    font-weight:600;
    letter-spacing:-.015em;
    line-height:1.4;
  }
  body:not(.page-home) .product-page :is(.product-description,.scientific-metadata,.research-profile,.vendor-detail-panel) h3::before {
    content:'';
    flex:0 0 6px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#65a79e;
    box-shadow:0 0 0 3px rgba(101,167,158,.1);
  }
  body:not(.page-home) .product-page .scientific-metadata h3::before { background:#749bb5; box-shadow:0 0 0 3px rgba(116,155,181,.1); }
  body:not(.page-home) .product-page .research-profile h3::before { background:#82a47a; box-shadow:0 0 0 3px rgba(130,164,122,.1); }
  body:not(.page-home) .product-page .product-description p { font-size:15px; line-height:1.75; color:#405a67; }
  body:not(.page-home) .product-page :is(.scientific-metadata,.research-profile) p { line-height:1.75; color:#526b78; }
  body:not(.page-home) .product-page :is(.scientific-metadata,.research-profile) h4 { color:#356273; font-size:12px; font-weight:600; letter-spacing:.025em; }
  body:not(.page-home) .product-overview > div:last-child > div[style*="background:#f5f5f7"] {
    border:1px solid rgba(52,104,119,.08) !important;
    border-radius:14px;
    background:linear-gradient(120deg,#fff,#edf6f5) !important;
    box-shadow:var(--product-shadow);
  }
  body:not(.page-home) .product-page .mono { color:#315d6a; font-size:12px; }
  body:not(.page-home) .product-overview > div:last-child > .btn:not(.btn-outline) {
    background:linear-gradient(120deg,#0e6f74,#195566);
    box-shadow:0 3px 6px rgba(14,111,116,.12),0 10px 20px -10px rgba(14,111,116,.4);
    border-radius:9px;
  }
  body:not(.page-home) .product-overview > div:last-child > .btn:hover { transform:translateY(-1px); }
  body:not(.page-home) .product-page .btn-outline {
    border-color:#ccdcdf;
    border-radius:8px;
    box-shadow:0 2px 4px rgba(16,48,60,.03);
  }
  body:not(.page-home) .product-page .mol-viewer-card { border-radius:16px; overflow:hidden; }
  body:not(.page-home) .product-page .mol-viewer-header { background:linear-gradient(110deg,#eaf4f3,#f3f7fa); }
  body:not(.page-home) .product-page .mol-lookup-bar { background:#f0f6f6; border-color:rgba(52,104,119,.1); }
  body:not(.page-home) .product-card { border-radius:14px; background:#fff; }
  body:not(.page-home) .product-card > img {
    object-fit:contain;
    background:radial-gradient(ellipse at 40% 30%,#fff,#eef5f5);
  }
  body:not(.page-home) .product-card .product-card-title { font-size:16px; color:#214451; line-height:1.4; letter-spacing:-.015em; }
  body:not(.page-home) .product-card .card-category-pill { font-size:10px; font-weight:600; letter-spacing:.025em; padding:4px 8px; border-radius:5px; }
  body:not(.page-home) .product-card .card-meta { color:#748b96; font-size:11px; letter-spacing:.01em; }
  body:not(.page-home) .product-card .price-gate { color:#2c6b70; font-weight:500; }
  body:not(.page-home) .product-card:hover .product-card-title { color:#0e6f74; }
  body:not(.page-home):not(:has(.ops)) :is(.auth-card,.sm-card,.side-card,.category-directory-item) { border-radius:14px; }
  body:not(.page-home):not(:has(.ops)) :is(.form-input,.search-form input):focus {
    border-color:#68a39f;
    box-shadow:0 0 0 3px rgba(14,111,116,.1);
  }
}
@media screen and (prefers-reduced-motion:reduce) {
  body:not(.page-home) .product-overview > div:last-child > .btn:hover { transform:none; }
}

/* Compact product cards, shared across catalog, search, and home features. */
@media screen {
  .product-card :is(.card-body,.card-content) { padding:14px 16px 16px; }
  .product-card h3.product-card-title {
    margin:3px 0 4px !important;
    font-size:14px !important;
    line-height:1.3;
    letter-spacing:-.01em;
  }
  .product-card p.product-card-description {
    margin:0 !important;
    font-size:12px !important;
    line-height:1.4;
    -webkit-line-clamp:2;
  }
  .product-card :is(.card-price,.price-gate,.card-meta,.product-card-actions) { margin-top:6px; }
  .product-card .card-price { font-size:15px; }
  .product-card .price-gate { font-size:12px; line-height:1.35; }
  .product-card .card-meta { font-size:10px; line-height:1.4; }
  .product-card .product-card-actions { gap:6px; }
  .product-card > .product-card-actions { padding:0 16px 14px; }
  .product-card .product-card-actions :is(.btn,.btn-search,.btn-outline) { min-height:28px; padding:4px 8px !important; font-size:11px !important; }
  .product-card.spotlight-card { padding:16px 20px !important; gap:16px; }
  .product-card .spotlight-meta { margin-top:6px; gap:4px 12px; font-size:11px; }
  .product-card .spotlight-actions { gap:6px; }
  a.scene-card[href^="/product/"] .scene-body { padding:18px 20px 20px; gap:4px; }
  a.scene-card[href^="/product/"] .scene-body h3 { font-size:14px; line-height:1.3; }
  a.scene-card[href^="/product/"] .scene-body p { font-size:12px; line-height:1.4; }
}

@media screen {
  .product-card h3.product-card-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
}

/* Show product images at full card width and their natural proportions. */
@media screen {
  .product-card > img,
  .product-card > div > img,
  body:not(.page-home) .product-page .product-photo {
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    padding:0;
  }
  .catalog-results.view-list .product-card > img {
    width:170px;
    height:auto;
    min-height:0;
    max-height:none;
    align-self:start;
    object-fit:contain;
  }
}

/* Wider catalog cards give each product image more horizontal room. */
@media screen {
  body.page-catalog .grid:has(> .product-card):not(.view-list) {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
    gap:20px;
  }
}
@media screen and (min-width:901px) {
  .catalog-results.view-list .product-card { grid-template-columns:240px minmax(0,1fr); }
  .catalog-results.view-list .product-card > img { width:240px; }
}

/* Consistent product-card dimensions, with uncropped images in matching frames. */
@media screen {
  .grid:not(.view-list):has(> .product-card) {
    grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));
    align-items:stretch;
    grid-auto-rows:1fr;
  }
  body.page-catalog .grid:has(> .product-card):not(.view-list) {
    grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));
  }
  .product-card > img, .product-card > div > img {
    width:100%;
    height:180px;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    align-self:start;
  }
  .product-card:not(.spotlight-card) :is(.card-body,.card-content) { padding:14px 16px 16px; }
  .product-card-labels { display:flex; align-items:center; flex-wrap:wrap; gap:5px; min-height:24px; }
  .product-card-labels > * { margin:0 !important; }
  .product-card h3.product-card-title { height:2.6em; min-height:2.6em; font-size:14px !important; line-height:1.3; }
  .home-spotlight .product-card h3.product-card-title { height:auto; min-height:0; }
  .product-card p.product-card-description { height:2.8em; min-height:2.8em; font-size:12px !important; line-height:1.4; }
  .product-card :is(.card-price,.price-gate) { min-height:24px; display:flex; align-items:center; }
  .product-card .card-meta { min-height:14px; line-height:1.4; }
  .product-card .product-card-actions { min-height:28px; }
  .catalog-results.view-list .product-card > img { height:180px; aspect-ratio:auto; }
}

@media screen {
  .product-card-labels .category { font-size:10px; line-height:1.4; font-weight:500; color:#4c6b78; }
  .grid:not(.view-list) > .product-card :is(.card-body,.card-content) > .product-card-actions { margin-top:auto; padding-top:6px; }
  .grid:not(.view-list) > .product-card > .product-card-actions { margin-top:auto; }
}

/* Four desktop cards per row; product images fill their frames edge to edge. */
@media screen {
  .grid:not(.view-list):has(> .product-card) { --product-columns:1; }
  .grid:not(.view-list):has(> .product-card),
  body.page-catalog .grid:has(> .product-card):not(.view-list) {
    grid-template-columns:repeat(var(--product-columns,1),minmax(0,1fr));
  }
  .product-card > img, .product-card > div > img {
    object-fit:cover !important;
    object-position:center;
    padding:0 !important;
    margin:0 !important;
    border:0;
  }
}
@media screen and (min-width:700px) {
  .grid:not(.view-list):has(> .product-card) { --product-columns:2; }
}
@media screen and (min-width:1024px) {
  .grid:not(.view-list):has(> .product-card) { --product-columns:4; }
}

/* Representative artwork is identified without changing card dimensions. */
.product-card { position:relative; }
.product-image-note {
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  padding:3px 6px;
  border-radius:5px;
  background:rgba(255,255,255,.93);
  color:#415b66;
  font-size:9px;
  font-weight:500;
  line-height:1.4;
  pointer-events:none;
}
.product-image-caption { margin:10px 2px 0; color:#6a808b; font-size:12px; line-height:1.5; }
@media print { .product-image-note { display:none; } }

/* Product catalog: add hierarchy and align category cards without changing structure. */
@media screen {
  .catalog-intro-row {
    align-items:center;
    padding-bottom:16px;
    margin-bottom:18px;
    border-bottom:1px solid var(--line);
  }
  .catalog-intro-row h1 {
    font-size:clamp(30px,3vw,38px);
    line-height:1.15;
    letter-spacing:-.035em;
  }
  .catalog-kicker {
    display:inline-flex;
    align-items:center;
    padding:4px 9px;
    border-radius:999px;
    background:var(--teal-wash);
    color:var(--teal-dark);
    font-size:11px;
    font-weight:650;
  }
  .catalog-stat {
    min-width:164px;
    padding:13px 16px;
    border:1px solid var(--line);
    border-radius:12px;
    background:linear-gradient(135deg,#fff 60%,var(--teal-wash));
    box-shadow:0 6px 18px rgba(15,40,50,.06);
  }
  .catalog-search-row {
    max-width:900px;
    padding:5px;
    border:1px solid #d5e2e1;
    border-radius:12px;
    background:#fff;
    box-shadow:0 8px 22px -16px rgba(15,40,50,.35);
  }
  .catalog-search-row .search-form { align-items:center; gap:8px; }
  .catalog-search-row input:not([type="hidden"]) {
    min-height:44px;
    padding:10px 14px;
    border:0;
    background:transparent;
    box-shadow:none;
    font-size:14px;
  }
  .catalog-search-row input:not([type="hidden"]):focus {
    outline:0;
    border:0;
    box-shadow:none;
  }
  .catalog-search-row .btn-search { min-height:44px; border-radius:8px; }
  .category-panels {
    align-items:stretch;
    gap:12px;
    margin-bottom:16px;
  }
  body.page-catalog .category-panel {
    display:flex;
    flex-direction:column;
    height:100%;
    padding:16px;
    border:1px solid var(--line) !important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  }
  body.page-catalog .category-panel:hover,
  body.page-catalog .category-panel:focus-visible {
    transform:translateY(-2px);
    border-color:var(--line-strong) !important;
  }
  .category-panel-top { align-items:center; margin-bottom:8px; }
  .category-index {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    border-radius:7px;
    background:var(--teal-wash);
    color:var(--teal-dark);
    font-size:11px;
    font-weight:700;
  }
  .category-count {
    padding:3px 7px;
    border-radius:999px;
    background:#f2f7f7;
    color:var(--muted);
    font-size:10px;
    font-weight:600;
  }
  .category-panel h2 { font-size:18px; line-height:1.25; }
  .category-panel p {
    display:-webkit-box;
    min-height:0;
    margin-top:4px;
    overflow:hidden;
    font-size:12px;
    line-height:1.4;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .sub-categories {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    margin-top:8px;
  }
  .sub-category-card {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:7px;
    min-width:0;
    min-height:36px;
    padding:6px 8px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    color:var(--ink);
    text-decoration:none;
    box-shadow:0 1px 3px rgba(15,40,50,.04);
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  }
  .sub-category-card strong {
    display:-webkit-box;
    min-width:0;
    overflow:hidden;
    color:var(--ink);
    font-size:10.5px;
    font-weight:600;
    line-height:1.3;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .sub-category-card > span {
    display:flex;
    flex-shrink:0;
    align-items:center;
    gap:4px;
    color:var(--muted);
    font-size:8.5px;
    white-space:nowrap;
  }
  .sub-category-card > span > span {
    color:var(--teal);
    font-size:14px;
    line-height:1;
  }
  .sub-category-card:hover,
  .sub-category-card:focus-visible {
    transform:translateY(-1px);
    border-color:var(--line-strong);
    background:#fff;
    color:var(--ink);
    box-shadow:0 4px 9px rgba(15,40,50,.08);
    outline:0;
  }
  .category-panel-footer { margin-top:auto; padding-top:8px; font-size:13px; }
  .catalog-results-toolbar {
    align-items:center;
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:rgba(255,255,255,.82);
  }
  .catalog-view-controls { border:0; background:#f2f7f7; }
  .view-option.is-active { background:var(--teal-wash); }
  .catalog-results .product-card { border-radius:14px; }
  .catalog-results .product-card:hover { transform:translateY(-2px); }
}

@media screen and (max-width:700px) {
  .catalog-intro-row { align-items:flex-start; flex-direction:column; gap:12px; }
  .catalog-stat { min-width:0; }
  .catalog-search-row { max-width:none; }
  .catalog-search-row .search-form { flex-direction:column; align-items:stretch; }
  .catalog-search-row input:not([type="hidden"]), .catalog-search-row .btn-search { width:100%; }
  .catalog-results-toolbar { align-items:flex-start; flex-wrap:wrap; }
  .category-panel p { min-height:0; }
}

/* Borrow the category cards' soft color and layered elevation for the catalog. */
@media screen {
  .catalog-stat,
  .catalog-search-row,
  .catalog-results-toolbar {
    box-shadow:0 3px 8px rgba(15,40,50,.06),0 14px 26px -18px rgba(15,40,50,.28);
  }
  body.page-catalog .category-panels .category-panel {
    background:linear-gradient(145deg,#fff 62%,var(--teal-wash));
    box-shadow:0 2px 6px rgba(15,40,50,.06),0 14px 28px -18px rgba(15,40,50,.3) !important;
  }
  body.page-catalog .category-panels .category-panel:hover,
  body.page-catalog .category-panels .category-panel:focus-visible {
    transform:translateY(-3px);
    border-color:var(--line-strong) !important;
    box-shadow:0 7px 14px rgba(15,40,50,.1),0 24px 36px -18px rgba(15,40,50,.36) !important;
  }
  body.page-catalog .catalog-results .product-card {
    border:1px solid var(--line) !important;
    border-radius:14px;
    background:linear-gradient(145deg,#fff 70%,var(--teal-wash));
    box-shadow:0 2px 6px rgba(15,40,50,.06),0 14px 28px -18px rgba(15,40,50,.3) !important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  }
  body.page-catalog .catalog-results .product-card:hover,
  body.page-catalog .catalog-results .product-card:focus-visible {
    transform:translateY(-3px);
    border-color:var(--line-strong) !important;
    box-shadow:0 7px 15px rgba(15,40,50,.1),0 24px 38px -18px rgba(15,40,50,.38) !important;
  }
  .catalog-results .product-card .card-category-pill {
    padding:4px 9px;
    border-radius:999px;
    background:var(--teal-wash);
    color:var(--teal-dark);
  }
  .ops a.admin-stat-item:hover {
    transform:translateY(-2px);
    box-shadow:0 5px 10px rgba(15,40,50,.09),0 16px 24px -10px rgba(15,40,50,.28) !important;
  }
  .ops .dashboard-section-card:hover {
    box-shadow:0 7px 16px rgba(15,40,50,.09),0 22px 36px -16px rgba(15,40,50,.3) !important;
  }
}

/* Finishing pass: surface treatments only; retain existing geometry and print styles. */
@media screen {
  body {
    --finish-depth:0 1px 2px rgba(16,47,57,.035),0 6px 16px -10px rgba(16,47,57,.16),0 18px 30px -24px rgba(16,47,57,.24);
    --finish-depth-hover:0 2px 4px rgba(16,47,57,.045),0 10px 22px -12px rgba(16,47,57,.2),0 24px 36px -25px rgba(16,47,57,.28);
  }
  body:not(.page-home):not(:has(.ops)) {
    --page-depth:var(--finish-depth);
    --page-depth-hover:var(--finish-depth-hover);
    background:radial-gradient(ellipse at 4% 0,rgba(14,111,116,.055),transparent 48%),
      radial-gradient(ellipse at 100% 65%,rgba(73,110,146,.035),transparent 50%),#f5f8f8;
  }
  #main-nav {
    box-shadow:0 1px 0 rgba(28,71,80,.045),0 6px 22px -16px rgba(15,40,50,.22);
  }
  .nav-link:hover, .nav-link:focus-visible {
    color:var(--teal-dark);
    background:rgba(14,111,116,.065);
  }
  :is(.nav-search-form,.search-form):focus-within {
    box-shadow:0 0 0 3px rgba(14,111,116,.1),0 6px 18px -12px rgba(15,40,50,.2);
  }
  :is(.card,.category-panel,.category-directory-item,.auth-card,.side-card,
      .admin-card,.sm-card,.sm-page,.product-description,.scientific-metadata,
      .research-profile,.vendor-detail-panel,.mol-viewer-card) {
    box-shadow:var(--finish-depth) !important;
  }
  :is(.card,.category-panel,.category-directory-item,.sm-page):hover {
    box-shadow:var(--finish-depth-hover) !important;
  }
  body.page-catalog .catalog-results .product-card {
    background:linear-gradient(145deg,#fff 75%,#f0f7f6);
    box-shadow:var(--finish-depth) !important;
  }
  body.page-catalog .catalog-results .product-card:hover {
    box-shadow:var(--finish-depth-hover) !important;
  }
  .product-card :is(.card-category-pill,.ncbi-badge) {
    box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
  }
  :is(.btn,.btn-search,.nav-search-btn):not(:disabled):not([aria-disabled="true"]) {
    box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 7px -4px rgba(10,62,68,.32);
  }
  :is(.btn,.btn-search,.nav-search-btn):not(:disabled):not([aria-disabled="true"]):hover {
    box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 5px 12px -5px rgba(10,62,68,.38);
  }
  :is(.auth-card,.contact-layout,.admin-card,.profile-layout) :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus {
    border-color:#468d91;
    outline:2px solid rgba(14,111,116,.15);
    outline-offset:2px;
  }
  :is(a,button,summary):focus-visible {
    outline:2px solid #287c83;
    outline-offset:3px;
  }
  .admin-table-wrap tbody tr:hover > td {
    background-color:rgba(14,111,116,.035);
  }
  .ops :is(.workspace-shelf,.dashboard-section-card) {
    box-shadow:var(--finish-depth) !important;
  }
  .ops .tool-family .workspace-tool:hover {
    box-shadow:var(--finish-depth-hover) !important;
  }
  .footer-links a:hover { color:#b9e8e4; }
}

/* Catalog taxonomy: compact browse chips instead of miniature list rows. */
@media screen {
  body.page-catalog .category-panels .category-panel {
    padding:14px;
    cursor:default;
  }
  body.page-catalog .category-panel h2 a {
    color:inherit;
    text-decoration:none;
  }
  body.page-catalog .category-panel h2 a:hover { color:var(--teal-dark); }
  body.page-catalog .category-panel .sub-categories {
    display:flex;
    flex-wrap:wrap;
    align-content:flex-start;
    gap:6px;
    margin-top:10px;
  }
  body.page-catalog .sub-category-card {
    flex:0 1 auto;
    max-width:100%;
    min-height:30px;
    gap:6px;
    padding:5px 8px;
    border-color:rgba(34,102,110,.1);
    border-radius:9px;
    background:rgba(255,255,255,.85);
    box-shadow:0 1px 2px rgba(15,40,50,.035);
  }
  body.page-catalog .sub-category-card strong {
    display:block;
    overflow:visible;
    font-size:11px;
    line-height:1.35;
    overflow-wrap:anywhere;
  }
  body.page-catalog .sub-category-card .subcategory-chip-count {
    justify-content:center;
    min-width:18px;
    padding:1px 4px;
    border-radius:5px;
    background:#edf4f3;
    color:#416b70;
    font-size:10px;
    line-height:1.4;
    font-variant-numeric:tabular-nums;
  }
  body.page-catalog .sub-category-card:hover {
    background:#edf7f5;
    border-color:rgba(34,102,110,.25);
  }
  body.page-catalog .category-panel-footer {
    color:var(--teal-dark);
    text-decoration:none;
    font-weight:600;
  }
  body.page-catalog .category-panel-footer:hover { text-decoration:underline; }
}
@media screen and (pointer:coarse) {
  body.page-catalog .sub-category-card { min-height:36px; }
}

/* Compact division cards; the full taxonomy remains one click away. */
/* Older open previews may retain the former image-cover markup. */
.category-explorer-tile .category-explorer-visual > img { display:none !important; }
@media screen {
  .category-explorer-tile .category-explorer-visual {
    display:block;
    height:auto;
    padding:10px 12px 0;
    color:#1b3441;
    background:transparent;
    text-decoration:none;
  }
  .category-explorer-visual .category-explorer-number { float:left; }
  .category-explorer-visual .category-explorer-count { float:right; }
  .category-explorer-visual .category-explorer-caption { clear:both; padding-top:10px; }
  .category-explorer-visual .category-explorer-caption h2 { color:#1b3441; font-size:16px; }
  .category-explorer-visual .category-explorer-caption p { color:#506575; font-size:11px; }
  .category-explorer-visual .category-explorer-entry { display:none; }
  body.page-catalog .category-panels { align-items:start; gap:12px; }
  body.page-catalog .category-panels .category-explorer-tile {
    --division-accent:#146c72;
    --division-wash:#def0e9;
    display:block;
    position:relative;
    height:auto;
    padding:0;
    overflow:hidden;
    border:0 !important;
    border-radius:14px;
    background:radial-gradient(ellipse at 100% 0,var(--division-wash),transparent 75%),linear-gradient(160deg,#fff 30%,#f8fbfb);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -2px 3px rgba(18,48,58,.045),0 3px 5px -2px rgba(18,48,58,.14),0 12px 20px -13px rgba(18,48,58,.35) !important;
  }
  body.page-catalog .category-explorer-tile::before {
    content:'';
    position:absolute;
    inset:0 14px auto;
    height:2px;
    border-radius:0 0 4px 4px;
    background:linear-gradient(90deg,var(--division-accent),transparent);
    opacity:.5;
    pointer-events:none;
  }
  body.page-catalog .category-explorer-tile:nth-child(2) {
    --division-accent:#365e95;
    --division-wash:#e4ebfb;
  }
  body.page-catalog .category-explorer-tile:nth-child(3) {
    --division-accent:#6d587f;
    --division-wash:#eee5f4;
  }
  body.page-catalog .category-panels .category-explorer-tile:hover {
    box-shadow:0 3px 7px rgba(18,48,58,.08),0 23px 36px -20px rgba(18,48,58,.4) !important;
  }
  .category-explorer-heading {
    display:block;
    padding:10px 12px 0;
    text-decoration:none;
  }
  .category-explorer-meta {
    display:grid;
    grid-template-columns:30px minmax(0,1fr) auto;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:6px;
  }
  .category-explorer-number {
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:9px;
    color:var(--division-accent);
    background:var(--division-wash);
    font-size:10px;
    font-weight:700;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 3px 6px -3px rgba(18,48,58,.2);
  }
  .category-explorer-number svg { width:19px; height:19px; }
  .category-explorer-count {
    color:var(--division-accent);
    background:rgba(255,255,255,.8);
    padding:3px 6px;
    border-radius:6px;
    box-shadow:inset 0 0 0 1px rgba(35,73,79,.06);
    font-size:9px;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
  body.page-catalog .category-explorer-heading h2 {
    color:#1b3441;
    font-size:15px;
    font-weight:650;
    line-height:1.25;
    letter-spacing:-.02em;
  }
  body.page-catalog .category-explorer-heading p {
    margin-top:3px;
    color:#506575;
    font-size:11px;
    line-height:1.5;
  }
  body.page-catalog .category-explorer-heading:hover h2 {
    color:var(--division-accent);
  }
  .category-explorer-body { padding:8px 12px; }
  .category-explorer-browse { margin:0; }
  .category-explorer-browse summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:32px;
    padding:5px 9px;
    border-radius:8px;
    background:linear-gradient(180deg,#fff,rgba(255,255,255,.65));
    box-shadow:inset 0 1px 0 #fff,0 2px 3px rgba(18,48,58,.06);
    color:var(--division-accent);
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    list-style:none;
  }
  .category-explorer-browse summary::-webkit-details-marker { display:none; }
  .category-explorer-browse summary > span {
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--division-wash);
    box-shadow:inset 0 1px 2px rgba(18,48,58,.08),0 1px 0 #fff;
    font-size:17px;
    line-height:1;
  }
  .category-explorer-browse[open] summary > span { transform:rotate(45deg); }
  .category-explorer-browse summary:hover {
    box-shadow:inset 0 0 0 1px rgba(35,73,79,.16);
  }
  body.page-catalog .category-explorer-browse .sub-categories {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    margin-top:10px;
  }
  body.page-catalog .category-explorer-browse .sub-category-card {
    min-height:40px;
    border:0;
    border-radius:8px;
    background:#f5f8f8;
    box-shadow:none;
  }
  body.page-catalog .category-explorer-browse .sub-category-card:hover {
    background:var(--division-wash);
    box-shadow:inset 0 0 0 1px rgba(35,73,79,.12);
  }
  body.page-catalog .category-explorer-browse .subcategory-chip-count {
    background:#fff;
    color:var(--division-accent);
  }
  body.page-catalog .category-explorer-tile .category-panel-footer {
    margin-top:5px;
    padding-top:3px;
    border:0;
    color:var(--division-accent);
    font-size:11px;
    font-weight:600;
  }
}
/* Dashboard contrast: preserve every measurement, position and status color. */
.product-copy-sources { margin-top:12px; padding:10px 12px; background:#edf5f3; border-radius:8px; font-size:12px; }
.product-copy-sources p { margin:4px 0 !important; font-size:12px !important; }
.product-copy-sources small { color:#465f6e; line-height:1.5; }
.analytics-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.analytics-heading h1 { margin:0; }
.analytics-heading p { margin:5px 0 0; color:#465f6e; }
.analytics-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.analytics-metric { padding:16px 18px; background:linear-gradient(135deg,#fff,#edf5f4); }
.analytics-metric span { display:block; color:#435969; font-size:12px; }
.analytics-metric strong { display:block; margin-top:6px; color:#193d49; font-size:28px; }
.analytics-status { padding:20px; margin-bottom:16px; }
.analytics-status h2 { margin-top:0; font-size:18px; }
.analytics-note { color:#465f6e; font-size:12px; }
.analytics-status code { overflow-wrap:anywhere; }
.analytics-checks { list-style:none; padding:0; }
.analytics-checks li { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 16px; padding:8px 0; }
.analytics-checks span { color:#465f6e; }
@media screen and (max-width:480px) {
  .analytics-metrics { gap:6px; }
  .analytics-metric { padding:12px 8px; }
  .analytics-metric strong { font-size:23px; }
  .analytics-status { padding:16px; }
}
.catalog-review-intro { margin-bottom:20px; max-width:860px; }
.catalog-review-item { margin-bottom:10px; padding:14px 16px; }
.catalog-review-item summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; cursor:pointer; color:#193641; }
.catalog-review-item summary strong { flex:1 1 280px; min-width:0; overflow-wrap:anywhere; }
.catalog-review-item summary::after { content:'+'; color:#146c72; font-size:18px; }
.catalog-review-item[open] summary::after { content:'−'; }
.catalog-review-item summary span,.catalog-review-note { color:#465f6e; font-size:12px; }
.catalog-review-item summary + p { overflow-wrap:anywhere; }
.catalog-review-item textarea { width:100%; resize:vertical; }
.catalog-review-item .page-actions { flex-wrap:wrap; }
.catalog-reference-identity { padding:10px 12px; background:#edf5f3; border-radius:8px; overflow-wrap:anywhere; }
@media screen {
  .ops {
    --dashboard-ink:#192f3c;
    --dashboard-muted:#435969;
    --muted:#435969;
    color:var(--dashboard-ink);
  }
  .ops :is(.workspace-shelf-heading h2,.admin-card-title,.workspace-tool strong,
      .panel-metrics strong,.panel-metrics b) {
    color:#192f3c !important;
  }
  .ops :is(.admin-stat-label,.tool-family-hint,.workspace-shelf-hint,
      .workspace-tool-description,.heat-legend,.heat-legend span,
      .panel-result-count,.list-pagination,.panel-metrics > div,
      .panel-help,.summary-count,.muted,.activity-view label) {
    color:#435969 !important;
  }
  .ops :is(th,.table-sort) { color:#314c5c !important; }
  .ops td { color:#233d4c; }
  .ops td :is(small,.cell-sub) { color:#435969 !important; }
  .ops td a:not(.btn):not(.pill) { color:#145f69; }
  .ops :is(.panel-search input,.expanded-workspace input,select) { color:#243e4d; }
  .ops input::placeholder { color:#536b79; opacity:1; }
  .ops :is(.panel-clear,.section-expand,.btn-outline) { color:#344e60; }
  .ops .workspace-flow-arrow { color:#586f7f; }
  .ops .ops-head p { color:#e0edef !important; }
  .ops .tool-family .tile-heat-label { color:var(--heat-ink,#435969) !important; }
  .ops .tool-family .workspace-tool strong { color:#192f3c !important; }
  .ops .dashboard-section-card .admin-card-header {
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
  }
}

/* Dashboard polish: restore crisp bucket outlines and responsive surfaces. */
@media screen {
  .ops .admin-stats-bar {
    gap:10px !important;
    margin-bottom:14px;
    overflow:visible;
  }
  .ops .admin-stat-item:nth-child(1) { --metric-accent:#0e6f74; }
  .ops .admin-stat-item:nth-child(2) { --metric-accent:#335d7b; }
  .ops .admin-stat-item:nth-child(3) { --metric-accent:#357354; }
  .ops .admin-stat-item:nth-child(4) { --metric-accent:#996b26; }
  .ops .admin-stat-item:nth-child(n) {
    border:1px solid #d8e3e7 !important;
    border-top:3px solid var(--metric-accent) !important;
    border-radius:12px;
    box-shadow:0 2px 5px rgba(24,52,63,.05),0 12px 22px -18px rgba(24,52,63,.3) !important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  }
  .ops a.admin-stat-item:hover {
    transform:translateY(-2px);
    border-color:var(--metric-accent) !important;
    box-shadow:0 5px 12px -7px rgba(24,52,63,.28),0 14px 24px -16px rgba(24,52,63,.25) !important;
  }
  .ops .workspace-shelf {
    border:1px solid #d5e1e4 !important;
    box-shadow:0 3px 8px rgba(24,52,63,.035),0 18px 34px -28px rgba(24,52,63,.3) !important;
  }
  .ops .tool-family:nth-child(n) {
    border:1px solid color-mix(in srgb,var(--family-accent) 30%,white) !important;
    border-radius:10px;
    box-shadow:0 2px 5px rgba(24,52,63,.035),0 12px 24px -22px rgba(24,52,63,.25) !important;
  }
  .ops .tool-family .workspace-tool,
  .ops .tool-family .workspace-tool:not([data-heat="neutral"]) {
    border:1px solid color-mix(in srgb,var(--family-accent) 34%,white) !important;
    background:rgba(255,255,255,.46) !important;
    box-shadow:0 1px 0 rgba(255,255,255,.65) inset,0 2px 5px -4px rgba(24,52,63,.24) !important;
  }
  .ops .tool-family .workspace-tool:hover {
    transform:translateY(-2px);
    border-color:var(--family-accent) !important;
    background:rgba(255,255,255,.82) !important;
    box-shadow:0 5px 12px -7px color-mix(in srgb,var(--family-accent) 42%,transparent) !important;
  }
  .ops .dashboard-section-card:nth-child(n) {
    border:1px solid #d8e2e7 !important;
    box-shadow:0 3px 9px -5px rgba(24,52,63,.15),0 18px 34px -30px rgba(24,52,63,.28) !important;
  }
  .ops .dashboard-section-card .admin-card-header {
    border-bottom:1px solid #e6edef !important;
  }
  .ops tbody tr:nth-child(even):not(:hover) td {
    background:#f9fbfc;
  }
  .ops tbody tr:hover td,
  .panel-pages .ops #admin-inventory-table tbody tr:hover td {
    background:#eef7f6 !important;
  }
}

@media screen and (min-width:701px) and (max-width:960px) {
  .ops .workspace-shelf {
    grid-template-columns:minmax(0,1fr);
    align-items:start;
  }
  .ops .workspace-shelf-heading {
    justify-content:space-between;
    flex-wrap:wrap;
  }
  .ops .workspace-shelf .heat-legend {
    justify-content:flex-start;
  }
}

/* Finish dashboard type and control details without changing its layout. */
@media screen {
  .ops .ops-head p {
    max-width:64ch;
    line-height:1.5;
    text-wrap:pretty;
  }
  .ops .workspace-shelf-heading h2 { font-size:12px; }
  .ops .workspace-shelf-hint { font-size:11px; line-height:1.45; text-wrap:pretty; }
  .ops .tool-family h3 { font-size:12px; }
  .ops .tool-family-hint { font-size:11px; line-height:1.45; }
  .ops .tool-family .workspace-tool strong { font-size:12px; line-height:1.35; }
  .ops .tool-family .workspace-tool-description { font-size:10px; line-height:1.4; }
  .ops .tool-family .tile-heat-label {
    padding:2px 6px;
    border-radius:999px;
    font-size:9px;
    font-weight:650;
  }
  .ops .heat-legend { font-size:10px; }
  .ops .heat-legend span {
    min-height:22px;
    padding:3px 8px;
    border-radius:999px;
    font-weight:600;
  }
  .ops .dashboard-section-card .admin-card-title { font-size:15px !important; }
  .ops .summary-count {
    min-width:22px;
    padding:3px 7px;
    border:1px solid color-mix(in srgb,var(--action-color) 20%,white);
    border-radius:999px;
    background:var(--action-wash);
    color:var(--action-color);
    line-height:1.2;
  }
  .ops .activity-view select {
    min-height:32px;
    padding:6px 10px;
    border-radius:8px;
  }
}

@media screen and (max-width:700px) {
  .ops .workspace-shelf .heat-legend { justify-content:center; }
  .ops .ops-head p { max-width:38ch; }
}

/* Compact shortcuts only; data panels and expanded workspaces keep their sizing. */
@media screen {
  .ops .workspace-shelf { padding-top:12px; padding-bottom:12px; }
  .ops .workspace-shelf-heading { margin-bottom:8px; }
  .ops .workspace-shelf .tool-family { padding-top:8px; padding-bottom:8px; }
  .ops .workspace-shelf .tool-family-heading { margin-bottom:3px; }
  .ops .workspace-shelf .workspace-tool-grid { padding-top:3px; padding-bottom:3px; }
  .ops .workspace-shelf .tool-family .workspace-tool,
  .ops .workspace-shelf .tool-family .workspace-tool:not([data-heat="neutral"]) {
    min-height:38px;
    padding:3px 8px;
    border-radius:8px;
    background:linear-gradient(140deg,rgba(255,255,255,.96),var(--family-wash)) !important;
    box-shadow:inset 0 1px 0 #fff,0 2px 4px -2px rgba(24,52,63,.18),0 7px 11px -9px rgba(24,52,63,.28) !important;
  }
  .ops .workspace-shelf .workspace-tool-content { gap:1px; }
  .ops .workspace-shelf .workspace-tool strong { line-height:1.25; }
  .ops .workspace-shelf .workspace-tool-description { line-height:1.25; }
  .ops .workspace-shelf .workspace-tool-icon { width:22px; height:22px; }
  .ops .workspace-shelf .workspace-tool-icon svg { width:17px; height:17px; }
  .ops .workspace-shelf .tool-family .tile-heat-label { padding:0 4px; }
  .ops .workspace-shelf .tool-family { padding-top:6px; padding-bottom:6px; }
  .ops .workspace-shelf .workspace-tool-grid { padding-top:2px; padding-bottom:2px; }
  .ops .workspace-shelf .workspace-tool:hover { background:#fff !important; }
  .ops .dashboard-analytics-panel { padding:16px; margin-top:18px; scroll-margin-top:90px; }
  .ops .dashboard-analytics-panel .analytics-heading h2 { margin:0; font-size:18px; color:#193641; }
  .ops .dashboard-analytics-panel .analytics-status { padding:14px; }
  .analytics-connection summary { cursor:pointer; font-weight:600; color:#193641; }
}
@media screen and (pointer:coarse) {
  .ops .workspace-shelf .tool-family .workspace-tool { min-height:44px; }
}

/* Refine the dashboard data surfaces while keeping their existing structure. */
@media screen {
  .ops .admin-table-wrap table {
    border-collapse:separate;
    border-spacing:0;
  }
  .ops .admin-table-wrap th {
    padding:10px 12px !important;
    border-bottom:1px solid #dfe7ea !important;
    background:#f3f7f8 !important;
    color:#4b626e !important;
    font-size:11px !important;
    font-weight:650 !important;
    letter-spacing:.02em;
  }
  .ops .admin-table-wrap td {
    padding:9px 12px !important;
    vertical-align:middle;
    border-bottom:1px solid #edf1f3 !important;
  }
  .ops .admin-table-wrap tbody tr:last-child td { border-bottom:0 !important; }
  .ops .admin-table-wrap td .cell-sub {
    margin-top:3px;
    font-size:11px;
    line-height:1.4;
  }
  .ops .panel-action-bar {
    padding:7px 12px;
    border-color:#e3eaed;
    background:linear-gradient(90deg,color-mix(in srgb,var(--action-wash) 42%,white),#fff);
  }
  .ops .panel-action-bar .section-expand {
    border-color:color-mix(in srgb,var(--action-color) 24%,white);
    color:var(--action-color);
    font-weight:600;
  }
  .ops .panel-action-bar .section-expand:hover {
    background:var(--action-wash);
    border-color:var(--action-color);
    color:var(--action-color);
  }
}

/* Scientific background uses the existing product image column. */
.product-scientific-references { margin-top:20px; padding:20px; border-radius:16px; background:linear-gradient(135deg,#f5faf9,#f7f8fc); box-shadow:0 6px 20px rgba(27,62,73,.08),0 1px 3px rgba(27,62,73,.06); }
.product-scientific-references h3 { margin:0 0 12px; font-size:16px; color:var(--ink); }
.product-scientific-references ul { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.product-scientific-references li { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.product-scientific-references a { color:#17655f; font-weight:600; }
.product-scientific-references small { display:block; color:var(--muted); font-size:12px; }
.product-scientific-references p { margin:14px 0 0; font-size:12px; line-height:1.5; color:var(--muted); }

.mol-canvas.zoom-active { outline:2px solid #58c4b5; outline-offset:-2px; }
.mol-canvas:focus-visible { outline:2px solid #58c4b5; outline-offset:-2px; }

/* Product details: a quieter scientific palette, clearer reading hierarchy. */
@media screen {
  body:not(.page-home) .product-page {
    --product-shadow:0 2px 5px rgba(20,52,65,.035),0 16px 34px -22px rgba(20,52,65,.3);
  }
  body:not(.page-home) .product-page h1 {
    font-size:clamp(25px,2.65vw,34px) !important;
    font-weight:650;
    letter-spacing:-.035em;
    color:#183c49;
  }
  body:not(.page-home) .product-page .product-kicker a {
    background:linear-gradient(135deg,#e7f3ef,#eef4f8);
    color:#245d65;
    border-radius:7px;
    box-shadow:0 2px 5px rgba(30,77,85,.045);
  }
  body:not(.page-home) .product-page :is(.product-description,.scientific-metadata,.research-profile,.vendor-detail-panel) {
    border:0 !important;
    background:linear-gradient(135deg,#fff 60%,#f4f8f8);
    padding:20px;
    box-shadow:var(--product-shadow) !important;
  }
  body:not(.page-home) .product-page .product-description > p {
    color:#304d5b;
    font-size:14px;
    line-height:1.75;
    margin-bottom:14px;
  }
  body:not(.page-home) .product-page :is(.scientific-metadata,.research-profile) p {
    color:#3d5967;
    font-size:14px;
  }
  body:not(.page-home) .product-page .product-copy-sources {
    padding:12px 14px;
    border-radius:10px;
    background:linear-gradient(125deg,#edf6f2,#eff4f8);
  }
  .product-page .product-copy-sources strong { color:#29575d; font-size:12px; }
  .product-page .product-copy-sources a { color:#176b67; text-underline-offset:3px; }
  .product-page .product-scientific-references {
    background:linear-gradient(135deg,#f0f7f5,#f6f8fc);
    border:0;
    padding:20px;
    box-shadow:0 2px 5px rgba(20,52,65,.04),0 18px 32px -22px rgba(20,52,65,.3);
  }
  .product-page .product-scientific-references h3 {
    display:flex; align-items:center; gap:9px;
    font-size:15px; color:#244b58; font-weight:650;
    margin-bottom:16px;
  }
  .product-page .product-scientific-references h3::before {
    content:''; width:7px; height:7px; flex:0 0 7px;
    border-radius:50%; background:#3f9388;
    box-shadow:0 0 0 4px rgba(63,147,136,.1);
  }
  .product-page .product-scientific-references ul { counter-reset:reference; gap:10px; }
  .product-page .product-scientific-references li {
    counter-increment:reference; position:relative; padding:12px 14px 12px 44px;
    background:rgba(255,255,255,.85); border-radius:10px;
    box-shadow:0 2px 6px rgba(25,61,73,.04);
  }
  .product-page .product-scientific-references li::before {
    content:counter(reference,decimal-leading-zero); position:absolute; left:12px; top:13px;
    color:#64858a; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums;
  }
  .product-page .product-scientific-references a { text-decoration:none; text-underline-offset:3px; }
  .product-page .product-scientific-references a:hover { color:#104f50; text-decoration:underline; }
  .product-page .product-scientific-references small { margin-top:3px; color:#526d78; }
  .product-page .product-scientific-references p { color:#526875; font-size:11.5px; line-height:1.6; }
  body:not(.page-home) .product-page .mol-viewer-card {
    border:0; padding:22px; box-shadow:var(--product-shadow);
    background:linear-gradient(145deg,#fff,#f6f9fa);
  }
  body:not(.page-home) .product-page .mol-viewer-header {
    border:0; border-radius:10px; padding:14px; gap:14px;
    background:linear-gradient(115deg,#e9f4ef,#eef3fa);
  }
  .product-page .mol-viewport { border-radius:12px; overflow:hidden; }
  .product-page .mol-viewer-footer { font-size:12px; line-height:1.65; color:#48616e; }
  .product-page .btn-mol-tool { box-shadow:0 2px 5px rgba(20,52,65,.06); }
  .product-page .btn-mol-tool[aria-pressed="true"] { color:#fff; background:#246e6b; border-color:#246e6b; }
  .product-page a:focus-visible, .product-page button:focus-visible { outline:2px solid #247d78; outline-offset:3px; }
}
@media screen and (max-width:600px) {
  body:not(.page-home) .product-page .mol-viewer-card { padding:14px; }
  .product-page .product-scientific-references { padding:16px; }
}

/* All Products: coordinated catalog surfaces without changing the grid. */
@media screen {
  body.page-catalog:has(.catalog-intro-row) {
    --catalog-depth:0 2px 5px rgba(22,54,66,.035),0 16px 30px -22px rgba(22,54,66,.3);
  }
  body.page-catalog .catalog-intro-row { border:0; padding-bottom:8px; gap:20px; }
  body.page-catalog .catalog-intro-row h1 { color:#193e4b; font-weight:650; letter-spacing:-.04em; }
  body.page-catalog .catalog-intro-row p { color:#506876; font-size:14px; line-height:1.6; }
  body.page-catalog .catalog-kicker {
    background:linear-gradient(125deg,#e3f1eb,#eaf2f7); color:#286466;
    font-size:10px; letter-spacing:.045em; padding:5px 10px;
  }
  body.page-catalog .catalog-stat {
    border:0; border-radius:14px; padding:12px 18px;
    background:linear-gradient(135deg,#eaf5ef,#eff3fb);
    box-shadow:var(--catalog-depth);
  }
  body.page-catalog .catalog-stat strong { color:#23585f; font-weight:650; font-variant-numeric:tabular-nums; }
  body.page-catalog .catalog-stat span { color:#526c76; }
  body.page-catalog .catalog-search-row {
    border:0; border-radius:14px; padding:6px; background:#fff;
    box-shadow:0 2px 5px rgba(22,54,66,.04),0 12px 26px -16px rgba(22,54,66,.24),0 0 0 1px rgba(33,91,96,.07);
  }
  body.page-catalog .catalog-search-row:focus-within {
    box-shadow:0 0 0 2px #428b86,0 12px 26px -16px rgba(22,54,66,.24);
  }
  body.page-catalog .catalog-search-row .btn-search {
    background:linear-gradient(120deg,#1a7772,#255c70); border:0; border-radius:10px;
    box-shadow:0 4px 10px -4px rgba(25,99,105,.4); font-weight:600;
  }
  body.page-catalog .catalog-search-row input::placeholder { color:#657985; }
  body.page-catalog:has(.catalog-intro-row) .category-panels .category-explorer-tile {
    border-radius:16px;
    background:radial-gradient(ellipse at 100% 0,var(--division-wash),transparent 85%),linear-gradient(145deg,#fff,#f8fafb);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 3px 7px -3px rgba(22,54,66,.12),0 18px 28px -22px rgba(22,54,66,.35) !important;
  }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-tile::before { display:none; }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-heading { padding:14px 14px 0; }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-body { padding:8px 14px 12px; }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-heading p { color:#45616f; }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-number {
    background:linear-gradient(140deg,rgba(255,255,255,.9),var(--division-wash));
    box-shadow:inset 0 1px 0 #fff,0 3px 7px -3px rgba(22,54,66,.24);
  }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-browse summary { background:rgba(255,255,255,.8); }
  body.page-catalog:has(.catalog-intro-row) .category-explorer-count { font-size:10px; }
  body.page-catalog .catalog-results-toolbar {
    border:0; border-radius:12px; padding:10px 14px;
    background:linear-gradient(115deg,#edf5f2,#f0f4f8);
    box-shadow:0 2px 5px rgba(22,54,66,.025);
  }
  body.page-catalog .catalog-results-toolbar .search-count { color:#45616f; font-size:12px; }
  body.page-catalog .catalog-view-controls { background:rgba(255,255,255,.65); border-radius:9px; }
  body.page-catalog .catalog-view-controls .view-option { border-radius:7px; color:#526976; }
  body.page-catalog .catalog-view-controls .view-option.is-active { background:#fff; color:#215f64; box-shadow:0 2px 5px rgba(22,54,66,.1); }
  body.page-catalog:has(.catalog-intro-row) .catalog-results .product-card {
    border:0; border-radius:15px; background:#fff;
    box-shadow:var(--catalog-depth) !important;
    transition:box-shadow .18s ease;
  }
  body.page-catalog:has(.catalog-intro-row) .catalog-results .product-card:hover {
    box-shadow:0 3px 8px rgba(22,54,66,.07),0 18px 30px -18px rgba(22,54,66,.32) !important;
  }
  body.page-catalog:has(.catalog-intro-row) .product-card .card-body { background:linear-gradient(150deg,#fff 65%,#f6f9fa); }
  body.page-catalog:has(.catalog-intro-row) .product-card-title { color:#213f4d; font-weight:650; }
  body.page-catalog:has(.catalog-intro-row) .product-card-description { color:#526b78; }
  body.page-catalog:has(.catalog-intro-row) .product-card .card-category-pill { background:#eaf4f0; color:#326862; border:0; }
  body.page-catalog:has(.catalog-intro-row) .product-card .price-gate { color:#28666b; font-size:12px; font-weight:600; }
  body.page-catalog:has(.catalog-intro-row) .product-card .card-meta { color:#627784; font-size:10px; }
  body.page-catalog:has(.catalog-intro-row) :is(a,button,summary):focus-visible { outline:2px solid #247d78; outline-offset:3px; }
}
@media (prefers-reduced-motion:reduce) {
  body.page-catalog:has(.catalog-intro-row) .catalog-results .product-card { transition:none; }
}

.product-page .product-pdf-download { display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:13px; vertical-align:middle; }

/* Product media remains full width; PDF viewing and saving are separate actions. */
@media screen {
  body:not(.page-home) .product-page .product-photo {
    width:100%; height:auto; aspect-ratio:auto; max-height:none;
    object-fit:contain; padding:0;
  }
  .product-page .product-pdf-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
  .product-page .product-pdf-actions .btn { margin:0; font-size:13px; min-height:40px; }
}

/* One action row, with equal-height controls even on narrow product pages. */
@media screen {
  .product-page .product-pdf-actions { flex-wrap:nowrap; align-items:stretch; gap:8px; }
  .product-page .product-pdf-actions > .btn {
    display:inline-flex !important; align-items:center; justify-content:center;
    min-width:0; padding:10px 12px !important; font-size:12px !important;
    line-height:1.35; border-radius:9px; text-align:center; white-space:normal;
  }
  .product-page .product-pdf-actions > .btn:not(.btn-outline) {
    background:linear-gradient(120deg,#0e6f74,#195566);
    box-shadow:0 3px 6px rgba(14,111,116,.12),0 10px 20px -10px rgba(14,111,116,.4);
  }
  :is(.home-divisions,.home-pipeline,.home-capabilities) .section-head .badge-gradient {
    color:var(--teal-dark); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  }
  :is(.home-divisions,.home-pipeline,.home-capabilities) .section-head h2 {
    font-size:clamp(22px,2.2vw,28px); line-height:1.2; letter-spacing:-.03em;
    color:#193e4b; font-weight:700; margin-block:4px 5px;
  }
  :is(.home-divisions,.home-pipeline,.home-capabilities) .section-head p {
    font-size:14px; line-height:1.6; color:var(--muted); max-width:62ch;
  }
}
@media screen and (max-width:480px) {
  .product-page .product-pdf-actions { gap:5px; }
  .product-page .product-pdf-actions > .btn { flex:1 1 0; padding:9px 5px !important; font-size:11px !important; }
}

/* Manuscript-style end notes and readable numbered scientific citations. */
.product-information-note{margin-top:32px;padding-top:16px;border-top:1px solid #dce7e9;color:#526570;font-size:12px;line-height:1.6}
.product-information-note h3{font-size:12px;margin:0 0 6px;font-weight:600}
.product-scientific-references ol{padding-left:22px;list-style:decimal}
.product-scientific-references ol li{display:list-item;margin-bottom:12px}
.product-description p,.scientific-metadata p,.research-profile p{line-height:1.75}
.product-description a,.scientific-metadata a,.research-profile a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}

/* Product detail: catalog overview, ordering facts, then full-width scientific sections. */
.product-page-structured .product-back-link{margin:0 0 16px;font-size:13px}
.product-page-structured .product-back-link a{color:#416976;text-decoration:none}
.product-page-structured .product-section-nav{display:flex;flex-wrap:wrap;gap:6px 18px;padding:14px 0;margin-bottom:26px;border-top:1px solid #dce7e9;border-bottom:1px solid #dce7e9}
.product-page-structured .product-section-nav a{padding:5px 0;color:#365d69;text-decoration:none;font-size:13px;font-weight:600}
.product-page-structured .product-section-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.product-page-structured .product-section-nav a:focus-visible{outline:2px solid #197b7d;outline-offset:4px}
.product-page-structured :is(section,footer)[id]{scroll-margin-top:110px}
.product-page-structured .product-overview{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:start;margin-bottom:24px}
.product-page-structured .product-visual{min-width:0;position:static!important}
.product-page-structured .product-photo{width:100%;height:auto!important;max-height:410px;aspect-ratio:1.15;object-fit:contain}
.product-page-structured .product-overview-copy{min-width:0}
body .product-page-structured .product-description{padding:0!important;margin:18px 0 24px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.product-page-structured .product-description h2{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:#59717b;margin:0 0 10px}
.product-page-structured .product-description p{margin:0 0 12px}
.product-page-structured .product-specifications{padding:22px;background:#f0f6f5;border:1px solid #d8e5e3;border-radius:12px}
.product-page-structured .product-specifications h2{font-size:16px;margin:0 0 16px;color:#244b58}
.product-page-structured .product-facts{margin:0 0 20px}
.product-page-structured .product-facts>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #dae5e4}
.product-page-structured .product-facts dt{color:#5b737d;font-size:13px}
.product-page-structured .product-facts dd{margin:0;font-size:14px;color:#254b58;font-weight:600;overflow-wrap:anywhere}
.product-page-structured .product-pdf-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.product-page-structured .product-pdf-actions .btn{margin:0}
.product-page-structured .product-content-section{margin-top:20px;min-width:0}
body .product-page-structured :is(.scientific-metadata,.research-profile){margin:0;padding:22px;background:#fff;border:1px solid #dce7e9;border-radius:12px}
.product-page-structured .scientific-metadata{display:block}
.product-page-structured .scientific-metadata>h3{grid-column:1/-1;margin:0}
.product-page-structured .scientific-metadata>section{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;margin:14px 0 0;padding:14px 0 0;border-top:1px solid #d8e7e5;min-width:0}
body .product-page-structured .scientific-metadata>section h4{margin:0 0 10px;font-size:14px;text-transform:none;letter-spacing:0}
body .product-page-structured :is(.scientific-metadata,.research-profile) p{font-size:14px;line-height:1.7}
.product-page-structured .research-profile p{max-width:none;margin-bottom:14px}
.product-page-structured .research-profile p:last-child{margin-bottom:0}
.product-page-structured .product-scientific-references{width:100%;box-sizing:border-box;padding:22px;margin:0;border:1px solid #dce7e9;border-radius:12px;background:#f8fafb}
.product-page-structured .product-scientific-references ol{columns:1;margin:14px 0 0;padding-left:24px}
.product-page-structured .product-scientific-references li{break-inside:avoid;padding:10px 4px;margin:0;border-bottom:1px solid #dfE8e8;border-radius:0;background:transparent;box-shadow:none}
.product-page-structured .product-scientific-references small{display:block;margin-top:5px;line-height:1.6}
@media(max-width:800px){
 .product-page-structured .product-overview{grid-template-columns:1fr;gap:24px}
 .product-page-structured .product-photo{max-height:300px}
 .product-page-structured .scientific-metadata{grid-template-columns:1fr;gap:18px}
 .product-page-structured .product-scientific-references ol{columns:1}
 .product-page-structured .product-section-nav{gap:5px 14px;margin-bottom:20px}
 body .product-page-structured :is(.scientific-metadata,.research-profile){padding:20px}
}
@media print{.product-page-structured .product-section-nav{display:none}.product-page-structured .product-scientific-references ol{columns:1}}

.inquiry-product-context{padding:18px 20px;margin-bottom:18px;background:#f1f7f6;border:1px solid #d8e6e3;border-radius:10px;color:#31535f}
.inquiry-product-context h4{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.inquiry-product-context p{font-size:14px;line-height:1.7;margin:10px 0}
.inquiry-product-context small{font-size:12px;color:#647b82}
.research-interest-panel{margin-bottom:24px}
.research-interest-panel>p{max-width:100ch;font-size:13px;line-height:1.7;color:#596e79}
.research-interest-panel table td{vertical-align:top}

/* Administrative catalog planning workspace. */
.catalog-planning{padding-top:30px;padding-bottom:45px}
.planning-header{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:28px}
.planning-header h1{margin:6px 0 12px;font-size:clamp(26px,3vw,36px);color:#203f4e;letter-spacing:-.025em}
.planning-header p{max-width:70ch;color:#627782;line-height:1.7}
.planning-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.planning-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.planning-metrics>div{padding:20px;background:#f0f6f5;border:1px solid #dce7e5;border-radius:10px}
.planning-metrics span{display:block;color:#5d7680;font-size:12px;margin-bottom:12px}
.planning-metrics strong{font-size:29px;font-weight:600;color:#205661}
.planning-import{margin-bottom:22px}
.planning-import summary,.planning-method summary{cursor:pointer;font-weight:600;color:#315f6c;padding:6px 0}
.planning-import p,.planning-method p{font-size:13px;line-height:1.75;color:#617680;max-width:110ch}
.planning-import-form,.planning-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:14px;align-items:end}
.planning-filters{margin:22px 0}
.catalog-planning label{display:grid;gap:7px;font-size:12px;color:#4b6673}
.catalog-planning .form-input{width:100%;box-sizing:border-box;min-width:0}
.catalog-planning .planning-table{min-width:1050px;width:100%}
.catalog-planning .planning-table th{font-size:12px;line-height:1.5;white-space:normal}
.catalog-planning .planning-table td{vertical-align:top;font-size:13px;line-height:1.6;padding:18px 14px}
.planning-table td:first-child{width:19%}
.planning-table small{display:block;color:#71848c;font-size:11px;line-height:1.6;margin:7px 0}
.planning-table td:last-child{width:25%}
.planning-table details{margin-top:12px}
.planning-table summary{cursor:pointer;color:#286d77;font-size:12px}
.planning-table details form{display:grid;gap:12px;margin-top:14px}
.market-estimates>div+div{border-top:1px solid #e2e9ec;padding-top:10px;margin-top:10px}
.planning-method{padding:18px 0;border-top:1px solid #e1e9ec;margin-top:25px}
@media(max-width:1000px){.planning-header{display:block}.planning-actions{margin-top:16px}.planning-import-form,.planning-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.planning-import-form,.planning-filters{grid-template-columns:1fr}.planning-metrics{gap:10px}.planning-metrics>div{padding:15px}}

.scientific-sourcing-results{padding-top:24px;margin-top:24px;border-top:1px solid #dce7e9}
.scientific-sourcing-results>p{max-width:95ch;line-height:1.7;color:#627780;font-size:14px;margin-bottom:24px}
.catalog-identity-label{font-size:12px;color:#456978;line-height:1.7;margin:12px 0}
.catalog-option-group>img{width:100%;object-fit:contain}
.catalog-option-group details{border-top:1px solid #e0e8e8;padding-top:14px;margin-top:16px}
.catalog-option-group summary{font-size:13px;font-weight:600;color:#24636b;cursor:pointer}
.catalog-option-note{font-size:12px;line-height:1.6;color:#697e85;margin:12px 0}
.catalog-option-list{list-style:none;padding:0;margin:0}
.catalog-option-list li{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #e0e8e8;padding:13px 0}
.catalog-option-list li>div{display:grid;gap:5px;min-width:0}
.catalog-option-list span{font-size:12px;color:#627881;overflow-wrap:anywhere}
.catalog-option-list .btn{font-size:12px;white-space:nowrap}

/* Guided scientific scan and identity review. */
.research-scan-workspace,.research-identify-workspace{padding-top:28px;padding-bottom:42px}
.research-scan-workspace>p,.research-identify-workspace p{max-width:100ch;line-height:1.75;color:#607781;font-size:14px}
.research-workflow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:24px 0 30px;grid-column:1/-1}
.research-workflow-steps li{display:flex;gap:10px;align-items:center;font-size:12px;color:#72858c;padding:13px;background:#f2f5f5;border:1px solid #e0e8e8;border-radius:8px}
.research-workflow-steps li[aria-current=step]{background:#e6f2ef;color:#1c6065;border-color:#a9cfca;font-weight:600}
.research-workflow-steps li>span{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#fff;border:1px solid #d4e3e0}
.research-workflow-steps a{color:inherit;text-decoration:none}
.research-scan-guidance{padding:18px 22px;background:#f1f7f7;border-left:3px solid #4c9395;margin:24px 0}
.research-scan-guidance p{font-size:13px;line-height:1.7;color:#607781;margin-bottom:0}
.research-scan-table{min-width:1000px}
.research-scan-table td{vertical-align:top;font-size:13px;line-height:1.65;max-width:350px}
.research-scan-table small{display:block;color:#71848c;font-size:11px;margin:7px 0}
.research-scan-table ul{padding-left:16px;margin:8px 0;font-size:12px}
.research-identify-workspace .product-facts>div{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:10px 0;border-bottom:1px solid #e1e9e9}
.research-identify-workspace .product-facts dt{color:#6b8189;font-size:12px}
.research-identify-workspace .product-facts dd{margin:0;color:#244b58;font-size:14px}
.product-entry-form .vendor-actions[hidden]{display:none!important}
@media(max-width:750px){.research-workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}

.supplier-visibility-control{display:grid;gap:7px;justify-items:start;max-width:290px}
.supplier-visibility-control p{font-size:12px;margin:0;color:#526d79}
.supplier-visibility-control small{font-size:11px;color:#768b94;line-height:1.5}

.review-navigation{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.product-pricing{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px;border:1px solid #d8e5e3;background:#f3f8f7;border-radius:10px;padding:18px;margin:4px 0}
.product-pricing legend{font-size:14px;color:#254f5b;font-weight:600;padding:0 7px}
.product-pricing label{display:grid;gap:8px;font-size:13px;color:#345966}
.product-pricing>p{grid-column:1/-1;font-size:12px;line-height:1.6;color:#607780;margin:0}
.product-pricing>.btn{justify-self:start;grid-column:1/-1}
.product-pricing input[aria-invalid=true]{border:2px solid #a84743}
@media(max-width:640px){.product-pricing{grid-template-columns:1fr}.admin-card-header:has(.review-navigation){flex-wrap:wrap;gap:16px}}

/* Discovery Activity: one clear row per topic, expandable catalog coverage. */
.ops #discovery-section .discovery-activity-table{table-layout:fixed;min-width:760px;width:100%}
.ops #discovery-section .discovery-col-topic{width:24%}
.ops #discovery-section .discovery-col-interest{width:16%}
.ops #discovery-section .discovery-col-coverage{width:28%}
.ops #discovery-section .discovery-col-date{width:15%}
.ops #discovery-section .discovery-col-actions{width:17%}
.ops #discovery-section .discovery-activity-table td{vertical-align:middle;padding-top:8px!important;padding-bottom:8px!important;white-space:normal;overflow-wrap:anywhere}
.ops #discovery-section .discovery-topic>strong{display:block;font-size:12px;line-height:1.35;color:#244b58}
.ops #discovery-section .discovery-interest>strong{display:inline;font-size:14px;line-height:1.3;color:#285c65}
.ops #discovery-section .discovery-interest small,.ops #discovery-section .discovery-interest>span,.ops #discovery-section .discovery-last-activity small{display:block;font-size:10px;line-height:1.35;color:#6c818a;margin-top:2px}
.ops #discovery-section .discovery-last-activity{font-size:12px;font-variant-numeric:tabular-nums}
.ops #discovery-section .discovery-coverage{display:inline-block;font-size:10px;line-height:1.35;padding:2px 6px;border-radius:6px}
.ops #discovery-section .discovery-coverage.has-matches{background:#eaf4ef;color:#346855}
.ops #discovery-section .discovery-coverage.needs-review{background:#f7f1e5;color:#82612f}
.ops #discovery-section .discovery-coverage-cell>.cell-sub{display:block;margin-top:8px}
.ops #discovery-section .discovery-catalog-matches{margin-top:4px}
.ops #discovery-section .discovery-catalog-matches summary{cursor:pointer;font-size:11px;color:#2a6a75;line-height:1.35}
.ops #discovery-section .discovery-catalog-matches ul{list-style:none;padding:0;margin:10px 0 0;max-height:220px;overflow-y:auto}
.ops #discovery-section .discovery-catalog-matches li{padding:6px 0;border-top:1px solid #e2eae9}
.ops #discovery-section .discovery-catalog-matches a{display:grid;gap:4px;font-size:12px;line-height:1.5;text-decoration:none}
.ops #discovery-section .discovery-catalog-matches .mono{font-size:10px;color:#71838a}
.ops #discovery-section .discovery-catalog-matches small{display:block;font-size:11px;color:#6d8189;margin-top:4px}
.ops #discovery-section .discovery-actions .btn{display:inline-flex;max-width:100%;font-size:11px;min-height:28px;padding:5px 8px;white-space:normal;text-align:center;justify-content:center}
.ops #discovery-section .discovery-review-link{display:block;margin-top:4px;font-size:10px;line-height:1.35;color:#3e6c78}
.ops #discovery-section .workflow-help{font-size:11px;line-height:1.5;margin:6px 12px;max-width:110ch}
.ops #discovery-section .discovery-table-wrap{max-height:300px}

.ops #discovery-section .discovery-interest>small{display:inline;margin-left:4px}
.ops #discovery-section .discovery-explanation summary{cursor:pointer;color:#5c747e;font-size:11px}
.ops #discovery-section .discovery-explanation p{margin:6px 0;font-size:11px;line-height:1.5}

.supplier-step-checklist{grid-column:1/-1;padding:20px;border:1px solid #bcd8d2;background:#edf6f3;border-radius:10px}
.supplier-step-checklist h2{font-size:16px;margin:0 0 8px;color:#285663}
.supplier-step-checklist p,.supplier-step-checklist li{font-size:13px;line-height:1.65;color:#4f6d77}
.supplier-step-checklist ul{padding-left:20px;margin:12px 0}
.supplier-step-checklist a{color:#246a73;text-decoration:underline;text-underline-offset:3px}
.supplier-step-checklist>.btn{margin-top:8px;margin-right:8px}

/* Use meaningful product help instead of empty columns and duplicated citation markers. */
.product-page-structured .product-enquiry-guide{margin-top:20px;padding:20px 22px;border:1px solid #d8e7e3;border-radius:12px;background:#edf5f2}
.product-page-structured .product-enquiry-guide h2{font-size:15px;margin:0 0 9px;color:#285461}
.product-page-structured .product-enquiry-guide p{font-size:13px;line-height:1.65;margin:0 0 10px;color:#617982}
.product-page-structured .product-enquiry-guide ul{padding-left:18px;margin:0 0 14px}
.product-page-structured .product-enquiry-guide li{font-size:13px;line-height:1.7;margin:4px 0;color:#3f616e}
.product-page-structured .product-enquiry-guide a{font-size:13px;font-weight:600;color:#216a70}
.product-page-structured .product-scientific-references li::before{content:none!important;display:none!important}
.product-page-structured .product-scientific-references li::marker{color:#47757b;font-weight:600;font-size:12px}
.product-page-structured .product-scientific-references li:last-child{border-bottom:0}
.product-page-structured .scientific-profile-copy{min-width:0}
.product-page-structured .scientific-profile-copy p+p{margin-top:10px}
.product-page-structured .mol-viewport{height:340px}
.product-page-structured .mol-viewport.is-unavailable{height:150px;min-height:150px}
.product-page-structured .mol-loading-overlay{padding:24px;box-sizing:border-box;text-align:center}
.product-page-structured .product-information-note{background:transparent!important;padding:16px 0 0!important;margin:22px 0 0;border-top:1px solid #dce7e9}
.product-page-structured .product-information-note h3{color:#607780;font-size:11px;margin:0 0 6px}
.product-page-structured .product-information-note p{color:#627982!important;font-size:11px!important;line-height:1.65;margin:0!important}
@media(max-width:800px){.product-page-structured .scientific-metadata>section{grid-template-columns:1fr;gap:6px}.product-page-structured .product-enquiry-guide{margin-top:16px;padding:18px}.product-page-structured .mol-viewport{height:280px}}

/* Image and ordering form one column; description and scientific context align alongside. */
.product-page-structured .product-overview{grid-template-areas:"image summary" "ordering science";row-gap:24px}
.product-page-structured .product-visual,.product-page-structured .product-overview-copy{display:contents}
.product-page-structured .product-image-block{grid-area:image;min-width:0}
.product-page-structured .product-summary{grid-area:summary;min-width:0;align-self:start}
.product-page-structured .product-specifications{grid-area:ordering;align-self:start}
.product-page-structured #product-science{grid-area:science;margin-top:0;align-self:start}
.product-page-structured .product-overview>.product-overview-copy>.product-enquiry-guide{grid-area:science;margin:0;align-self:start}
.product-page-structured .vendor-detail-panel{grid-column:1/-1}
@media(max-width:800px){
 .product-page-structured .product-overview{display:flex;flex-direction:column;gap:20px}
 .product-page-structured .product-summary{order:0;width:100%}
 .product-page-structured .product-image-block{order:1;width:100%}
 .product-page-structured .product-specifications{order:2;width:100%;box-sizing:border-box}
 .product-page-structured #product-science,.product-page-structured .product-enquiry-guide{order:3;width:100%;box-sizing:border-box}
 .product-page-structured .vendor-detail-panel{order:4;width:100%;box-sizing:border-box}
}

/* Product-page polish: preserve the established layout, palette and content. */
body:not(.page-home) .product-page.product-page-structured .product-summary .product-description{
 padding:18px 20px!important;margin:16px 0 0!important;background:#fff!important;
 border:1px solid #dce7e9!important;border-radius:12px;box-shadow:0 3px 12px rgba(22,54,66,.045)!important;
}
.product-page-structured .product-summary .product-description p:last-child{margin-bottom:0}
.product-page-structured .product-summary .product-description h2{font-size:12px;letter-spacing:.06em;margin-bottom:10px}
.product-page-structured .product-specifications h2{line-height:1.4}
.product-page-structured .product-facts dd{line-height:1.5;font-variant-numeric:tabular-nums}
.product-page-structured .product-pdf-actions .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;box-sizing:border-box}
.product-page-structured .product-content-section:target{scroll-margin-top:100px}
.product-page-structured .scientific-profile-copy p{margin-bottom:0}
.product-page-structured .product-scientific-references small{color:#526873;line-height:1.6}
.product-page-structured .product-information-note p{color:#526873!important}
.product-page-structured .product-information-note h3{color:#526873}
@media(hover:hover){.product-page-structured .product-section-nav a:hover{color:#176a70}}
@media(max-width:600px){
 .product-page-structured .product-pdf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .product-page-structured .product-pdf-actions>.btn:first-child{grid-column:1/-1}
 .product-page-structured .product-pdf-actions>.btn{width:100%;margin:0!important;min-height:44px;padding:10px 8px}
 .product-page-structured .product-section-nav a{display:inline-flex;align-items:center;min-height:36px;padding:4px 0}
 body:not(.page-home) .product-page.product-page-structured .product-summary .product-description{padding:16px!important}
}
@media(prefers-reduced-motion:reduce){.product-page-structured *{scroll-behavior:auto!important}}

/* Separate scientific specifications from purchasing information. */
.product-page-structured .product-detail-evidence{grid-area:science;min-width:0;align-self:start}
.product-page-structured .product-technical-specifications{padding:20px 22px;border:1px solid #dce7e9;border-radius:12px;background:#fff}
.product-page-structured .product-technical-specifications h2{font-size:16px;color:#244b58;margin:0 0 12px}
.product-page-structured .product-technical-specifications .product-facts{margin:0}
.product-page-structured .product-facts dd small{display:block;font-size:11px;font-weight:400;color:#526873;margin-top:3px}
.product-page-structured .product-detail-evidence #product-science{margin-top:16px}
.product-page-structured .ordering-checklist{font-size:13px;line-height:1.6;border-top:1px solid #d8e5e3;padding-top:12px;margin-top:14px;color:#405c65}
.product-page-structured .ordering-checklist summary{cursor:pointer;font-weight:600}
.product-page-structured .ordering-checklist p{margin:8px 0 0}
@media(max-width:800px){.product-page-structured .product-detail-evidence{order:3;width:100%;box-sizing:border-box}.product-page-structured .product-technical-specifications{padding:18px}}

/* Compact purchasing and specification panels without changing the visual theme. */
.product-page-structured :is(.product-specifications,.product-technical-specifications){padding:16px 18px}
.product-page-structured :is(.product-specifications,.product-technical-specifications) h2{font-size:15px;margin:0 0 8px}
.product-page-structured .product-facts{margin-bottom:12px}
.product-page-structured .product-facts>div{grid-template-columns:112px minmax(0,1fr);gap:10px;padding:6px 0}
.product-page-structured .product-facts>div:last-child{border-bottom:0}
.product-page-structured .product-facts :is(dt,dd){font-size:12px;line-height:1.45}
.product-page-structured .product-facts dd small{font-size:10px;line-height:1.4;margin-top:1px}
.product-page-structured .ordering-checklist{font-size:12px;margin-top:10px;padding-top:8px}
.product-page-structured .product-pdf-actions{gap:6px}
@media(max-width:800px){.product-page-structured :is(.product-specifications,.product-technical-specifications){padding:14px 16px}}

/* Product detail finishing: consistent surfaces, type rhythm and interaction states. */
.product-page-structured{
 --product-border:#d8e5e7;
 --product-shadow:0 3px 14px rgba(25,59,70,.045);
}
.product-page-structured .product-summary #product-title{
 font-size:clamp(22px,1.9vw,26px);line-height:1.3;letter-spacing:-.018em;
 color:#203f4e;margin:10px 0 0;text-wrap:balance;overflow-wrap:anywhere;
}
.product-page-structured .product-kicker{font-size:11px;line-height:1.6;margin:0;color:#526f78}
.product-page-structured .product-back-link{font-size:12px;margin-bottom:14px}
.product-page-structured .product-section-nav{padding:10px 0;gap:4px 20px;margin-bottom:24px}
.product-page-structured .product-section-nav a{font-size:12px;line-height:1.5;text-underline-offset:6px}
.product-page-structured .product-photo{
 display:block;box-sizing:border-box;border:1px solid var(--product-border);
 border-radius:12px;background:#fff;box-shadow:var(--product-shadow);
}
.product-page-structured .product-image-caption{font-size:11px;line-height:1.5;margin:8px 2px 0;color:#526f78}
body:not(.page-home) .product-page.product-page-structured .product-summary .product-description{
 border-color:var(--product-border)!important;box-shadow:var(--product-shadow)!important;
}
.product-page-structured .product-description p{font-size:14px;line-height:1.75;color:#3d5b68}
.product-page-structured :is(.product-specifications,.product-technical-specifications,.product-scientific-references){
 border-color:var(--product-border);box-shadow:var(--product-shadow);
}
body .product-page-structured :is(.scientific-metadata,.research-profile){
 border-color:var(--product-border);box-shadow:var(--product-shadow);
}
.product-page-structured :is(.scientific-metadata,.research-profile,.product-scientific-references)>h3{
 font-size:15px;line-height:1.4;color:#244b58;margin-top:0;margin-bottom:12px;letter-spacing:-.01em;
}
.product-page-structured .scientific-metadata>section{margin-top:12px;padding-top:12px}
body .product-page-structured .scientific-metadata>section h4{font-size:12px;font-weight:600;color:#32606c;line-height:1.6;margin-bottom:0}
.product-page-structured .product-facts dt{color:#526f78}
.product-page-structured .product-facts dd{font-weight:600}
.product-page-structured .product-facts dd small{font-weight:400;letter-spacing:.005em}
.product-page-structured .product-pdf-actions .btn{border-radius:8px;font-size:12px;padding:10px 14px}
.product-page-structured .product-pdf-actions .btn-outline{background:#fff;border-color:#bfd3d7;box-shadow:none}
.product-page-structured .product-scientific-references li{padding:10px 4px 10px 2px}
.product-page-structured .product-scientific-references li>a{font-weight:600;line-height:1.6;text-underline-offset:3px}
.product-page-structured :is(a,summary,button):focus-visible{outline:2px solid #197b7d;outline-offset:4px;border-radius:3px}
@media(hover:hover){
 .product-page-structured .product-pdf-actions .btn-outline:hover{background:#edf5f4;border-color:#8aafb1}
 .product-page-structured .ordering-checklist summary:hover{color:#176a70}
}
@media(max-width:800px){
 .product-page-structured .product-section-nav{gap:2px 14px;margin-bottom:20px}
 .product-page-structured .product-description p{font-size:13px;line-height:1.7}
 .product-page-structured .product-summary #product-title{font-size:22px;line-height:1.3}
}
@media print{
 .product-page-structured :is(.product-photo,.product-specifications,.product-technical-specifications,.scientific-metadata,.research-profile,.product-scientific-references){box-shadow:none}
}

/* Natural content flow: scientific sections widen as the left column ends. */
@media(min-width:801px){
 .product-page-structured .product-overview{display:flow-root}
 .product-page-structured .product-visual{display:block;float:left;width:41%;margin:0 24px 18px 0}
 .product-page-structured .product-visual :is(.product-specifications,.product-technical-specifications){margin-top:16px}
 .product-page-structured .product-summary{display:flow-root;margin-bottom:18px}
 .product-page-structured :is(.product-overview-copy,.product-detail-evidence,#product-science){display:contents}
 body .product-page-structured .scientific-metadata{display:contents}
 .product-page-structured .scientific-metadata>h3{display:flow-root;margin:0 0 12px;padding-top:2px}
 body .product-page-structured .scientific-metadata>section{
  display:grid;grid-template-columns:94px minmax(0,1fr);gap:16px;
  padding:16px 18px;margin:0 0 12px;border:1px solid var(--product-border);
  border-radius:12px;background:#fff;box-shadow:var(--product-shadow);
 }
 .product-page-structured .vendor-detail-panel{clear:both}
}
@media(max-width:800px){
 .product-page-structured .product-visual{display:block;order:1;width:100%;float:none;margin:0}
 .product-page-structured .product-visual :is(.product-specifications,.product-technical-specifications){margin-top:16px}
 .product-page-structured .product-detail-evidence{order:2}
}

/* Small catalog suggestions fill the available product sidebar space. */
.product-page-structured .product-recommendations{margin-top:16px;padding:14px 16px;border:1px solid var(--product-border);border-radius:12px;background:#fff;box-shadow:var(--product-shadow)}
.product-page-structured .product-recommendations h2{margin:0 0 8px;font-size:14px;color:#244b58}
.product-page-structured .product-recommendations ul{list-style:none;margin:0;padding:0}
.product-page-structured .product-recommendations li{margin:0;padding:0;border-bottom:1px solid #e2ebed}
.product-page-structured .product-recommendations li[hidden]{display:none!important}
.product-page-structured .product-recommendations li a{display:flex;gap:10px;align-items:center;padding:10px 0;min-height:58px;color:#244b58;text-decoration:none}
.product-page-structured .product-recommendations img{width:48px;height:48px;object-fit:cover;border-radius:7px;flex:none}
.product-page-structured .product-recommendations li a>span:not(.recommendation-arrow){flex:1;min-width:0}
.product-page-structured .product-recommendations small{display:block;font-size:10px;line-height:1.4;color:#526f78;margin-bottom:3px}
.product-page-structured .product-recommendations strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;font-weight:600}
.product-page-structured .recommendation-arrow{font-size:16px;color:#26777a;flex:none}
.product-page-structured .recommendations-browse{display:inline-block;margin-top:10px;color:#196d6b;font-size:11px;font-weight:600;text-underline-offset:3px}
@media(hover:hover){.product-page-structured .product-recommendations li a:hover strong{color:#13767b;text-decoration:underline;text-underline-offset:3px}}

/* Ordering and suggestions stay left; specifications return to the scientific column. */
@media(min-width:801px){
 .product-page-structured .product-detail-evidence>.product-technical-specifications{display:flow-root;margin:0 0 18px}
}
.product-page-structured .product-detail-evidence>.product-technical-specifications{margin-bottom:18px}

/* A concise master overview, with fuller copy available on demand. */
.product-page-structured .product-master-summary>p{margin:0 0 10px}
.product-page-structured .product-master-summary ul{padding-left:18px;margin:0}
.product-page-structured .product-master-summary li{padding-left:2px;margin:8px 0;color:#3d5b68;font-size:13px;line-height:1.65}
.product-page-structured .product-master-summary li:last-child{margin-bottom:0}
.product-page-structured .product-master-summary li::marker{color:#27757a}
.product-page-structured .product-master-summary li strong{font-weight:600;color:#244b58}
.product-page-structured .product-description-details{border-top:1px solid #dce7e9;margin-top:14px;padding-top:10px}
.product-page-structured .product-description-details summary{cursor:pointer;font-size:12px;font-weight:600;color:#32606c}
.product-page-structured .product-description-details>p{margin-top:10px}
.product-page-structured .product-feature-form { margin-top: 10px; }

/* Independent columns prevent recommendations from narrowing scientific content. */
.product-page-structured .product-recommendations[hidden]{display:none!important}
@media(min-width:801px){
 .product-page-structured .product-overview{display:grid;grid-template-columns:minmax(0,.41fr) minmax(0,.59fr);gap:24px;align-items:start}
 .product-page-structured .product-visual{display:block;float:none;width:auto;margin:0;grid-column:1;grid-row:1;min-width:0}
 .product-page-structured .product-main-content{display:block;grid-column:2;grid-row:1;min-width:0;align-self:start}
 .product-page-structured .product-main-content .product-summary{display:block}
 .product-page-structured .product-main-content .product-overview-copy{display:block}
 .product-page-structured .product-main-content .product-detail-evidence{display:block}
 .product-page-structured .product-main-content #product-science{display:block;margin-top:16px}
 body .product-page-structured .product-main-content .scientific-metadata{display:block}
 body .product-page-structured .product-main-content .scientific-metadata>section{padding:12px 0 0;margin:12px 0 0;border:0;border-top:1px solid var(--product-border);border-radius:0;background:transparent;box-shadow:none}
 .product-page-structured .product-main-content .scientific-metadata>h3{margin:0 0 12px;padding:0}
}
@media(max-width:800px){.product-page-structured .product-main-content{display:contents}}

/* Visible section links and right-aligned taxonomy share one product toolbar. */
.product-page-structured .product-page-toolbar{display:flex;align-items:center;gap:18px;padding:12px 0;margin-bottom:24px;border-top:1px solid var(--product-border);border-bottom:1px solid var(--product-border)}
.product-page-structured .product-page-toolbar .product-section-nav{flex:1;min-width:0;display:flex;justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:0;padding:0;border:0}
.product-page-structured .product-page-toolbar .product-section-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;box-sizing:border-box;border:1px solid #bdd3d5;border-radius:7px;background:#fff;color:#215663;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none}
.product-page-structured .product-category-path{flex:0 1 auto;max-width:30%;text-align:right;color:#526f78;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.product-page-structured .product-category-path a{color:#215c66;font-weight:500;text-decoration:none;text-underline-offset:3px}
.product-page-structured .product-category-path a:hover{text-decoration:underline}
.product-page-structured .product-summary #product-title{margin-top:0}
.product-page-structured .product-main-content .product-summary{padding-top:0;margin-top:0}
@media(hover:hover){.product-page-structured .product-page-toolbar .product-section-nav a:hover{background:#e5f1ef;border-color:#72a6aa;color:#154e57}}
@media(max-width:800px){
 .product-page-structured .product-page-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:20px}
 .product-page-structured .product-page-toolbar .product-section-nav{flex-basis:100%;gap:6px}
 .product-page-structured .product-page-toolbar .product-section-nav a{min-height:40px;padding:8px 10px;font-size:11px}
 .product-page-structured .product-category-path{max-width:100%;width:100%;font-size:11px}
}
@media print{.product-page-structured .product-page-toolbar{display:none}}

/* Tighter editorial rhythm; preserve the established page structure and theme. */
.site-content>.container.product-page-structured{padding-top:12px!important}
.site-content .product-page-structured>.product-back-link{margin-bottom:8px!important}
.product-page-structured .product-page-toolbar{padding:7px 0;margin-bottom:12px}
.product-page-structured .product-page-toolbar .product-section-nav a{min-height:36px;padding:6px 10px}
.product-page-structured .product-overview{gap:20px;margin-bottom:20px}
.product-page-structured .product-main-content .vendor-detail-panel{margin-bottom:0}
.product-page-structured .product-summary{margin-bottom:14px}
body:not(.page-home) .product-page.product-page-structured .product-summary .product-description{padding:12px 16px!important;margin-top:8px!important}
.product-page-structured .product-description p{line-height:1.65}
.product-page-structured .product-master-summary li{margin:6px 0;line-height:1.6}
.product-page-structured .product-description-details{margin-top:10px;padding-top:8px}
body .product-page-structured :is(.scientific-metadata,.research-profile){padding:18px}
.product-page-structured .product-scientific-references{padding:18px}
/* Scientific prose and annotations share typography, including generated lists. */
body:not(.page-home) .product-page.product-page-structured :is(.scientific-metadata,.research-profile) :is(p,ul,ol,li){font-size:14px;line-height:1.75;color:#3d5967}
body .product-page-structured .product-main-content .scientific-metadata>section{margin-top:10px;padding-top:10px}
.product-page-structured .product-content-section{margin-top:16px}
.product-page-structured .product-detail-evidence>.product-technical-specifications{margin-bottom:14px}
.product-page-structured .product-scientific-references li{padding-top:8px;padding-bottom:8px}
@media(max-width:800px){
 .product-page-structured .product-overview{gap:16px}
 .product-page-structured .product-page-toolbar{gap:7px;margin-bottom:10px}
 .product-page-structured .product-page-toolbar .product-section-nav a{min-height:40px;padding:7px 9px}
}

/* Compact ordering facts and a single desktop row for quote/edit/PDF actions. */
.product-page-structured #product-specifications{padding:14px 16px}
.product-page-structured #product-specifications h2{margin-bottom:6px;font-size:14px}
.product-page-structured #product-specifications .product-facts{margin-bottom:8px}
.product-page-structured #product-specifications .product-facts>div{padding:4px 0;gap:8px;grid-template-columns:100px minmax(0,1fr)}
.product-page-structured #product-specifications .product-pdf-actions{display:flex;flex-wrap:nowrap;gap:5px}
.product-page-structured #product-specifications .product-pdf-actions>.btn{flex:1 1 auto;min-width:0;width:auto;min-height:36px;padding:7px 8px!important;font-size:11px!important;line-height:1.3;border-radius:6px;white-space:nowrap;margin:0!important}
.product-page-structured #product-specifications .ordering-checklist{margin-top:8px;padding-top:6px}
.product-page-structured #product-specifications .product-order-price{font-size:19px;font-weight:600;line-height:1.3;color:var(--accent-blue);margin:0 0 10px}
@media(max-width:1100px) and (min-width:801px){
 .product-page-structured #product-specifications .product-pdf-actions>.btn{font-size:10px!important;padding:7px 5px!important}
}
@media(max-width:600px){
 .product-page-structured #product-specifications .product-pdf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .product-page-structured #product-specifications .product-pdf-actions>.btn{grid-column:auto;min-height:40px;width:100%;padding:8px 6px!important}
 .product-page-structured #product-specifications .product-pdf-actions>.btn:first-child:nth-last-child(3){grid-column:1/-1}
}
@media(min-width:801px) and (max-width:999px){
 .product-page-structured #product-specifications .product-pdf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Use every complete recommendation that fits and align the sidebar's bottom edge. */
.product-page-structured .product-recommendations{display:flex;flex-direction:column;box-sizing:border-box}
.product-page-structured .product-recommendations ul{display:flex;flex-direction:column;flex:1}
.product-page-structured .product-recommendations li{display:flex;flex:1}
.product-page-structured .product-recommendations li a{flex:1;min-width:0}
.product-page-structured .product-recommendations li a{padding-top:8px;padding-bottom:8px}
.product-page-structured .product-recommendations .recommendations-browse{margin-top:auto;padding-top:10px}

/* Short pages retain one compact recommendation inside the left column. */
.product-page-structured .product-recommendations{min-width:0;max-width:100%}

/* Species options always point to independently saved catalog records. */
.product-page-structured .species-variant-selector{margin:10px 0 12px;display:flex;flex-wrap:wrap;gap:6px}
.product-page-structured .species-variant-selector h3{flex-basis:100%;font-size:12px;margin:0 0 3px;color:#244b58}
.product-page-structured .species-variant-option{display:flex;flex-direction:column;gap:3px;padding:8px 10px;min-width:0;max-width:100%;border:1px solid #bfd3d7;border-radius:7px;background:#fff;text-decoration:none;color:#245b65}
.product-page-structured .species-variant-option strong{font-size:12px}
.product-page-structured .species-variant-option small{font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.product-page-structured .species-variant-option.is-current{border-color:#277a7c;background:#e9f4f1}
.product-page-structured .species-variant-option:hover{border-color:#277a7c;background:#f1f7f5}
.product-chemical-identifiers summary{cursor:pointer;color:var(--teal);font-size:13px;font-weight:600;line-height:1.6}
.product-chemical-identifiers[open] summary{margin-bottom:10px}
.product-chemical-identifiers p{overflow-wrap:anywhere}

/* Keep the supplier visibility control readable on the dark operations header. */
.ops .ops-head .btn-outline{color:#163b47;background:#f2fbfa;border-color:#c5e2df}
.ops .ops-head .btn-outline:hover{color:#163b47;background:#fff;border-color:#fff}
.ops .ops-head .supplier-visibility-control small{color:#d0e5e7}

/* Shared finishing details: content-led spacing, existing colors and layouts. */
@media screen {
  :is(.banner-title,.section-head h2,.auth-card h1,.page-reading h1){text-wrap:balance}
  .site-content :is(.admin-card-header,.category-results-header,.catalog-results-toolbar){row-gap:10px}
  .site-content :is(.card-body,.scene-body,.auth-card,.side-card)>p:last-child{margin-bottom:0}
  .contact-layout>div{padding:24px!important}
  .contact-layout>div>p{margin-bottom:18px!important}
  .page-reading .site-content div:has(>.icon-tile){padding:24px!important}
  .page-reading .site-content>.container>div:last-child:has(>.btn){display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
  .page-reading .site-content>.container>div:last-child>.btn{margin:0!important}
  .home-section :is(.division-card,.scene-card){border-color:#d7e4e5;border-radius:14px;box-shadow:var(--finish-depth)}
  .home-section :is(.division-card,.scene-card):hover{box-shadow:var(--finish-depth-hover)}
  .home-section :is(.card-body,.scene-body){row-gap:6px}
  .product-page-structured .scientific-profile-copy :is(ul,ol){margin-block:10px;padding-left:24px}
  .product-page-structured .scientific-profile-copy li+li{margin-top:4px}
  .ops :is(.panel-workspace-toolbar,.list-pagination){row-gap:8px}
  .ops .panel-search input::placeholder{color:#647d87;opacity:1}
  body>footer .container{padding-block:0}
  body>footer .footer-links{margin-top:0!important;gap:10px 24px!important}
  body>footer p:last-child{margin-bottom:0}
  .site-content :is(h1,h2,h3){text-wrap:pretty}
  .site-content :is(.breadcrumb,.admin-toolbar) a{text-decoration-thickness:1px;text-underline-offset:4px}
  .site-content :is(.admin-card-header,.card-head) :is(h2,h3){line-height:1.4}
  .site-content :is(.form-input,.panel-search input):not(:disabled){transition:border-color .16s ease,box-shadow .16s ease}
  .site-content :is(.form-input,.panel-search input):not(:disabled):not(:focus):hover{border-color:var(--control-hover-border)}
  .site-content .form-input:disabled{background:var(--surface-disabled);color:#62777f;cursor:not-allowed}
  .site-content :is(.btn,.btn-search):disabled{cursor:not-allowed;box-shadow:none;filter:saturate(.5)}
  .site-content :is(.btn,.btn-search)[aria-busy="true"]{cursor:progress}
  .site-content .form-input[aria-invalid="true"]{border-color:#b94b4b}
  .site-content .form-input[aria-invalid="true"]:focus-visible{outline:2px solid rgba(185,75,75,.3);outline-offset:2px}
  .site-content details>summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:4px}
  :is(.btn,.btn-search,.nav-search-btn):not(:disabled){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
  :is(.btn,.btn-search,.nav-search-btn):not(:disabled):active{box-shadow:inset 0 2px 4px rgba(12,40,48,.18)}
  .site-content :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--teal)}
  .site-content :is(.admin-table-wrap,.doc-lines){font-variant-numeric:tabular-nums}
  .site-content .admin-table-wrap th{border-bottom-color:#cddfdf}
  .site-content .admin-table-wrap tbody tr:last-child td{border-bottom:0}
  .site-content :is(.category-directory-item,.sm-page){text-decoration:none}
  .site-content :is(.category-directory-item,.sm-page):focus-visible{box-shadow:var(--finish-depth-hover)!important}
  .product-page-structured .product-facts>div{border-bottom-color:#e2ebeb}
  .product-page-structured .product-facts>div:last-child{border-bottom:0}
  .product-page-structured .product-scientific-references li>a{text-decoration-thickness:1px}
  .product-page-structured .product-scientific-references li:hover{background:rgba(230,241,240,.35)}
  .auth-card .auth-links a,.footer-links a{text-decoration-thickness:1px;text-underline-offset:4px}
  .supplier-directory .card-body>div>div{border:1px solid #e7eeee;background:#f5f9f8!important}
  .cq-sitemap summary::marker{color:var(--teal)}
  .cq-sitemap details[open]{border-color:#b9d3d2}
  /* Quiet highlights add depth without changing component dimensions. */
  :is(.page-banner,.hero-biotech){background-image:radial-gradient(ellipse at 85% 15%,rgba(127,224,211,.07),transparent 55%)}
  .page-banner{box-shadow:inset 0 -1px 0 rgba(127,224,211,.14)}
  .banner-title{letter-spacing:-.035em}
  #main-nav .dropdown-panel{background:linear-gradient(145deg,#fff 75%,#f3f8f7);border-color:#d3e2e1;box-shadow:0 6px 14px -8px rgba(16,47,57,.18),0 24px 48px -24px rgba(16,47,57,.32)}
  #main-nav .dropdown-header-block{border-bottom-color:#dce9e7}
  #main-nav .dropdown-subcategory:focus-visible{background:var(--teal-wash)}
  .site-content :is(.admin-card-header,.catalog-results-toolbar){background-image:linear-gradient(110deg,rgba(230,241,240,.45),rgba(255,255,255,.3));box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
  .site-content :is(.auth-card,.side-card,.contact-layout>div,.profile-layout>div:first-child){outline:1px solid rgba(255,255,255,.8);outline-offset:-2px}
  .site-content :is(.btn,.btn-search):not(.btn-outline){background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.035))}
  .site-content .btn-outline:not(:disabled):hover{background-color:#edf5f3;border-color:#83afad}
  .site-content :is(.form-success,.form-error){box-shadow:inset 3px 0 0 currentColor}
  .site-content :is(.category-empty,.empty-subcategory){background:linear-gradient(135deg,#fff,#f0f7f5)}
  .site-content :is(.category-empty,.empty-subcategory) h2{color:#285963}
  .site-content .category-directory-item{background-image:linear-gradient(120deg,rgba(255,255,255,.5),rgba(230,241,240,.22))}
  .product-page-structured .product-technical-specifications{background-image:linear-gradient(135deg,#fff 65%,#f4f9f8)}
  .product-page-structured .product-scientific-references{background-image:linear-gradient(145deg,#fff 75%,#f4f8fa)}
  .product-page-structured .product-page-toolbar .product-section-nav a{box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(16,47,57,.035)}
  .research-workflow-steps li[aria-current=step]{box-shadow:inset 0 2px 0 rgba(14,111,116,.18)}
  .ops .panel-metrics strong,.cq-sitemap .sm-stat strong{letter-spacing:-.025em}
  body>footer{box-shadow:inset 0 1px 0 rgba(127,224,211,.12)}
}
@media screen and (max-width:700px){
  .contact-layout{gap:18px}
  .contact-layout>div,.page-reading .site-content div:has(>.icon-tile){padding:20px!important}
  .auth-card{padding:22px}
  body>footer{padding-block:22px}
  body>footer .footer-links{gap:10px 18px!important}
}

/* Page-specific refinements; documents retain their separate print layout. */
@media screen{
  .bulk-import-page>.admin-card{padding:24px}
  .bulk-import-page h2{font-size:24px;margin:0 0 12px}
  .bulk-import-page textarea{display:block;min-height:240px;height:clamp(240px,36vh,360px);resize:vertical}
  .users-page table{min-width:640px}
  .users-page .table-scroll-hint{display:none}
  .users-page td:last-child{white-space:nowrap}
  .users-page td .btn{min-width:82px;white-space:nowrap!important;margin:3px 0}
  .supplier-directory .admin-toolbar{margin-bottom:16px}
  .supplier-directory .card-body>div{margin-top:14px!important}
  .supplier-directory .card-body>div>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px!important}
  .supplier-directory .card-body .btn{float:none!important;white-space:normal}
  .profile-layout{align-items:flex-start}
  .profile-layout>div:first-child{padding:24px!important;border-radius:14px!important}
  .profile-layout h2,.profile-layout h3{margin-top:0}
  .profile-layout>div:nth-child(2)>div:last-child{padding:22px!important;border-radius:14px!important;box-shadow:var(--finish-depth)!important}
  :is(.research-scan-workspace,.research-identify-workspace)>h1{font-size:clamp(26px,3vw,32px);line-height:1.25;margin:14px 0}
  :is(.research-scan-workspace,.research-identify-workspace)>.admin-toolbar{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px}
  .research-scan-workspace>.search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;max-width:760px;margin:20px 0;align-items:stretch}
  .research-scan-workspace>.search-form label{grid-column:1/-1;font-size:13px;font-weight:600}
  .research-scan-workspace>.search-form input{flex:1;min-width:0}
  .research-scan-workspace>.search-form .btn-search{flex:0 0 auto;white-space:nowrap;padding-inline:18px}
  .research-scan-guidance{margin:18px 0;padding:16px 18px;border-radius:0 10px 10px 0}
  .research-workspace>.admin-toolbar{gap:8px;margin-bottom:16px!important}
  .inquiry-layout>div{box-shadow:var(--finish-depth);background:#fff!important}
  .inquiry-layout h2{font-size:24px;line-height:1.3;margin:0 0 18px}
  .quote-page .quote-doc{padding:28px}
  .quote-page :is(.doc-head,.doc-parties){gap:20px}
  .quote-page .doc-foot{margin-top:20px}
  .site-content>.cq-legal{padding-inline:24px!important;background:rgba(255,255,255,.85);border:1px solid var(--line)}
  .cq-legal h2{margin-top:22px}
  .cq-legal li+li{margin-top:6px}
  .cq-sitemap .sm-intro{gap:18px;margin-bottom:20px;padding-bottom:18px}
  .cq-sitemap :is(.sm-jump,.sm-section){margin-bottom:24px}
  .cq-sitemap .sm-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
  .cq-sitemap .sm-card{padding:18px}
  .cq-sitemap details{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff}
  .cq-sitemap .sm-products{margin-top:12px}
  .cq-sitemap [id]{scroll-margin-top:calc(var(--nav-height) + 16px)}
}
@media screen and (max-width:700px){
  .users-page .table-scroll-hint{display:block;font-size:12px;color:var(--muted);margin:0;padding:10px 16px;background:var(--paper)}
  .bulk-import-page>.admin-card,.inquiry-layout>div{padding:18px!important}
  .quote-page .quote-doc{padding:20px 16px}
  .site-content>.cq-legal{padding-inline:18px!important}
  .research-scan-workspace>.search-form{grid-template-columns:minmax(0,1fr)}
  .research-scan-workspace>.search-form :is(input,.btn-search){width:100%;flex-basis:100%}
  .cq-sitemap .sm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px}
  .cq-sitemap .sm-stat{min-width:0;padding:8px}
  .cq-sitemap .sm-stat span{font-size:11px;letter-spacing:0}
}
@media screen and (prefers-reduced-motion:reduce){
  .site-content :is(.form-input,.panel-search input),:is(.btn,.btn-search,.nav-search-btn){transition:none}
}


/* Homepage and About positioning */
.positioning-panel {
  display: grid;
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  border: 1px solid #dce9eb;
  border-radius: 16px;
}
.positioning-panel h1, .positioning-panel h2, .positioning-contact h2 {
  margin: 0;
  color: var(--accent-slate);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  text-wrap: balance;
}
.positioning-panel p, .positioning-card p, .positioning-contact p {
  color: #415b66;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.positioning-panel p + p { margin-top: 10px; }
.positioning-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.positioning-about .positioning-panel h1 { margin-bottom: 12px; }
.positioning-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 14px; }
.positioning-card { background: #fff; border: 1px solid #dce9eb; border-radius: 14px; padding: clamp(16px, 2vw, 24px); }
.positioning-card .icon-tile { margin-bottom: 10px; }
.positioning-card h2 { font-size: 19px; line-height: 1.25; color: var(--accent-slate); margin: 0 0 8px; }
.positioning-contact { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: #eef8f7; border-radius: 14px; }
.positioning-contact h2 { font-size: 20px; margin-bottom: 4px; }
.positioning-contact .positioning-actions { margin-top: 0; }
@media (max-width: 820px) {
  .positioning-cards { grid-template-columns: 1fr; }
  .positioning-contact { align-items: flex-start; flex-direction: column; padding: 18px; }
}

.home-section.positioning-home { padding-block: 8px 4px; }

.positioning-about .positioning-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid #bad8d6;
  border-radius: 20px;
  box-shadow: 0 9px 24px rgb(19 63 74 / 10%), inset 0 1px 0 #fff;
  background: radial-gradient(ellipse at top left, #ddf4ed, transparent 70%), #f7fafd;
}
.positioning-about .positioning-panel h1 { max-width: 24ch; letter-spacing: -.025em; }
.positioning-workflow {
  margin: 0;
  min-width: 0;
  border-radius: 15px;
  overflow: hidden;
  color: #edf7fa;
  background: #102733;
  box-shadow: 0 8px 20px rgb(13 45 55 / 14%);
}
.positioning-workflow-photo {
  display: block;
  width: 100%;
  height: clamp(128px, 14vw, 174px);
  object-fit: cover;
  object-position: center 48%;
}
.positioning-workflow figcaption { padding: 14px 16px 0; font-size: 16px; font-weight: 650; }
.positioning-workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 12px 16px 16px;
  padding: 0;
}
.positioning-workflow-steps li {
  --stage-color: #80dec7;
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px 10px 0 0;
  border-top: 1px solid #50727d;
  font-size: 14px;
  line-height: 1.4;
}
.positioning-workflow-steps li + li { padding-left: 5px; }
.positioning-workflow-steps li:nth-child(2) { --stage-color: #a9d8ff; }
.positioning-workflow-steps li:nth-child(3) { --stage-color: #f1d899; }
.positioning-workflow-steps li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stage-color);
}
.positioning-workflow-steps strong { color: var(--stage-color); }
.positioning-workflow-steps span { color: #d6e5eb; }
@media (max-width: 480px) {
  .positioning-workflow-steps { grid-template-columns: 1fr; gap: 8px; }
  .positioning-workflow-steps li,
  .positioning-workflow-steps li + li { padding: 7px 0 0 12px; }
  .positioning-workflow-steps li::before { top: 14px; }
}
.positioning-about .positioning-card {
  background: linear-gradient(var(--card-tint), #fff 58%);
  box-shadow: 0 5px 16px rgb(18 47 58 / 8%);
}
.positioning-card:nth-child(1) {
  --card-accent: #20796b;
  --card-border: #bbded5;
  --card-tint: #eef9f5;
  --card-icon: #d6f1e9;
}
.positioning-card:nth-child(2) {
  --card-accent: #376da8;
  --card-border: #c5d9ef;
  --card-tint: #f0f6fd;
  --card-icon: #dceafa;
}
.positioning-card:nth-child(3) {
  --card-accent: #695394;
  --card-border: #d8ccec;
  --card-tint: #f7f2fc;
  --card-icon: #ece2f8;
}
.positioning-about .positioning-card .icon-tile {
  color: var(--card-accent);
  background: var(--card-icon);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.positioning-about .positioning-contact {
  border: 1px solid #c2ddd9;
  background: linear-gradient(105deg, #e7f6f2, #f5f9fe);
  box-shadow: 0 5px 16px rgb(18 47 58 / 7%);
}

.positioning-home > .container { padding-block: 0; }
.positioning-home .positioning-panel {
  gap: 7px;
  padding: 10px 14px;
  border-color: #dce2e5;
  border-radius: 12px;
  background: linear-gradient(115deg, #f4faf9, #fff 70%);
  box-shadow: 0 3px 10px rgb(20 47 59 / 7%);
}
.positioning-home .positioning-panel h2 { font-size: 19px; line-height: 1.2; color: var(--ink); }
.positioning-home .positioning-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.positioning-home .positioning-copy > div + div { padding-left: 14px; border-left: 1px solid #dce2e5; }
.positioning-home .positioning-copy h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}
.positioning-home .positioning-copy h3 svg { flex: 0 0 auto; color: var(--teal); }
.positioning-home .positioning-copy p { margin: 0; font-size: 14px; line-height: 1.35; }
.positioning-home .positioning-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #17636e;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 820px) {
  .positioning-about .positioning-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .positioning-home .positioning-copy { grid-template-columns: 1fr; gap: 8px; }
  .positioning-home .positioning-copy > div + div { padding: 8px 0 0; border-left: 0; border-top: 1px solid #dce2e5; }
}

.home-section.home-spotlight { padding-block: 5px 7px; }
.home-spotlight > .container > .spotlight-card {
  padding: 6px 12px !important;
  gap: 5px 9px !important;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgb(20 47 59 / 7%);
}
.home-spotlight .spotlight-art {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-wash);
  box-shadow: none;
}
.home-spotlight .spotlight-art .art-icon { width: 30px; height: 30px; }
.spotlight-header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.spotlight-header .spotlight-labels { min-width: 0; max-width: 100%; }
.spotlight-labels .badge-gradient {
  padding: 2px 8px;
  color: var(--teal);
  background: var(--teal-wash);
  font-weight: 650;
}
.spotlight-identifier {
  border-radius: 5px;
  padding: 1px 7px;
  background: #f4f7f8;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.home-spotlight .spotlight-card h3.product-card-title { margin-block: 3px 1px; }
.home-spotlight .spotlight-card p.product-card-description { height: auto; min-height: 0; }
.home-spotlight .spotlight-card .spotlight-meta { margin: 2px 0 0; }
.spotlight-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.spotlight-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.home-spotlight .spotlight-actions { flex-wrap: nowrap; margin-inline-start: auto; }
.home-spotlight .spotlight-actions .btn {
  min-height: 30px;
  padding: 3px 8px;
  background: #66255e;
  font-size: 12px;
  white-space: nowrap;
}
.home-spotlight .spotlight-actions .btn:hover { background: #531c50; }
@media (max-width: 900px) {
  .home-spotlight .spotlight-card { grid-template-columns: auto minmax(0, 1fr); }
  .home-spotlight .spotlight-art { width: 34px; height: 34px; }
  .home-spotlight .spotlight-art .art-icon { width: 25px; height: 25px; }
}
