/* Minimal shared design for the eight analytics pages and catalog. */
.detail-page { background: #f4f6f3; color: #182b32; }
.detail-page .site-header { color: #f5f8fa; }
.detail-shell { width: min(calc(100% - 96px),1240px); margin-inline: auto; }
.detail-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4c8991; }
.breadcrumbs-detail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; font-size: 11px; color: #859397; }
.breadcrumbs-detail a { color: #667b82; }
.breadcrumbs-detail a:hover { color: #205b67; }
.detail-hero { padding: 35px 0 70px; border-bottom: 1px solid #dce5df; }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: 65px; }
.detail-hero h1 { font-size: clamp(46px,4.9vw,72px); letter-spacing: -.065em; line-height: 1.02; font-weight: 600; margin: 24px 0; }
.detail-hero-copy > p { max-width: 420px; color: #6c7e85; font-size: 17px; line-height: 1.65; margin: 0 0 27px; }
.detail-primary { color: #f3fbfb; background: #193944; border: 1px solid #193944; }
.detail-primary:hover { background: #285564; }
.detector-meta { border-top: 1px solid #d5e0dc; margin: 32px 0 0; font-size: 11px; }
.detector-meta > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #d5e0dc; }
.detector-meta dt { color: #839194; }
.detector-meta dd { margin: 0; color: #405b63; text-align: right; }
.detail-photo, .application-photo { margin: 0; min-width: 0; }
.gallery-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #16313b; cursor: zoom-in; }
.gallery-trigger svg { display: block; width: 100%; height: auto; }
.gallery-trigger img { width: 100%; height: auto; }
.photo-zoom { position: absolute; display: grid; place-items: center; bottom: 16px; right: 16px; width: 34px; height: 34px; color: #f3ffff; background: #12292baa; border: 1px solid #8acdd766; border-radius: 7px; font-size: 20px; transition: background .2s; }
.gallery-trigger:hover .photo-zoom { background: #275a65; }
.detail-photo figcaption { display: flex; justify-content: space-between; gap: 15px; margin: 13px 0 0; color: #7f9399; font-size: 10px; line-height: 1.5; }
.detail-photo figcaption > span:last-child { text-align: right; }
.detail-content { padding: 80px 0 90px; }
.detail-content-grid { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 85px; align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-height) + 45px); }
.detail-aside nav { display: grid; margin: 22px 0 27px; border-top: 1px solid #d5e0dc; }
.detail-aside nav a { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #d5e0dc; font-size: 13px; color: #627880; padding: 17px 0; }
.detail-aside nav a:hover { color: #174c5b; }
.detail-aside nav span { color: #70a5ac; }
.detail-back { font-size: 12px; color: #467d87; }
.detail-article h2 { font-size: clamp(32px,3.4vw,47px); font-weight: 550; line-height: 1.08; letter-spacing: -.05em; margin: 19px 0 24px; }
.detail-article p { font-size: 16px; color: #6a7e84; line-height: 1.75; margin: 0 0 20px; }
.detail-article .detail-lead { color: #354e57; font-size: 19px; line-height: 1.6; }
.detector-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; list-style: none; margin: 34px 0 0; padding: 25px 0; border-block: 1px solid #d5e0dc; }
.detector-benefits li > span { font-size: 10px; color: #4b8791; }
.detector-benefits p { font-size: 13px; line-height: 1.65; color: #516d76; margin: 18px 0 0; }
.application-block { margin-top: 70px; }
.application-photo { margin-top: 28px; }
.application-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.application-photo figcaption { font-size: 11px; color: #8a9a9f; line-height: 1.5; margin-top: 12px; }
.setup-block { margin-top: 60px; padding: 34px; border: 1px solid #d5e4e0; border-radius: 14px; background: #edf3ef; }
.detector-note { padding-top: 22px; margin-top: 24px; border-top: 1px solid #d1dfda; }
.detector-note > span { font-size: 11px; color: #49808a; font-weight: 700; }
.detector-note p { font-size: 13px; line-height: 1.7; margin: 9px 0 0; }
.detail-cta { background: #14272f; color: #eff8f9; padding: 64px 0; }
.detail-cta .detail-shell { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.detail-cta .detail-eyebrow { color: #83c5ce; }
.detail-cta h2 { font-size: clamp(34px,3.5vw,47px); font-weight: 550; line-height: 1.1; letter-spacing: -.05em; margin: 20px 0; }
.detail-cta p { max-width: 550px; margin: 0; font-size: 14px; color: #a7bdc6; line-height: 1.7; }
.detail-cta .button { flex: none; }
.adjacent-detectors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding-block: 45px; }
.adjacent-card { display: flex; align-items: center; gap: 20px; padding: 18px; border: 1px solid #d1ddd9; border-radius: 12px; transition: border-color .2s,background .2s; }
.adjacent-card:hover { border-color: #72999d; background: #edf4f0; }
.adjacent-card img { width: 82px; height: 82px; object-fit: cover; flex: none; border-radius: 7px; }
.adjacent-card strong { display: block; font-size: 18px; font-weight: 550; letter-spacing: -.025em; line-height: 1.2; margin: 7px 0 5px; }
.adjacent-card span, .adjacent-card small { font-size: 10px; color: #8a9da1; }
.adjacent-card b { margin-left: auto; font-size: 22px; font-weight: 400; color: #679a9f; }
.detail-page .site-footer .shell { align-items: center; flex-wrap: wrap; }
.detail-footer-brand { font-size: 23px; color: #f4f8f9; font-weight: 730; letter-spacing: -.045em; }
.detail-page .site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.detail-page .site-footer a:hover { color: #bbebf0; }

/* Catalog */
.catalog-section { padding: 35px 0 100px; }
.catalog-heading h1 { font-size: clamp(44px,5.3vw,77px); font-weight: 600; line-height: 1.04; letter-spacing: -.065em; margin: 24px 0; }
.catalog-heading h1 span { color: #68888d; }
.catalog-heading > p { max-width: 640px; color: #6e838a; font-size: 17px; line-height: 1.65; margin: 0 0 42px; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 20px; border-block: 1px solid #d5e1dc; }
.catalog-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.catalog-filters button { border: 1px solid transparent; border-radius: 8px; padding: 11px 12px; background: transparent; color: #6a8189; font-size: 12px; }
.catalog-filters button:hover { background: #e7eeeb; }
.catalog-filters button[aria-pressed="true"] { background: #173c47; color: #effafa; }
.catalog-search { display: flex; gap: 9px; align-items: center; padding: 11px 13px; border: 1px solid #d4dfdb; border-radius: 8px; background: #fbfcfa; }
.catalog-search svg { width: 16px; height: 16px; flex: none; color: #65929a; }
.catalog-search input { width: 140px; min-width: 0; background: transparent; border: 0; outline: none; color: #314f5a; font-size: 12px; }
.catalog-search:focus-within { outline: 2px solid #68b3bc; outline-offset: 2px; }
.catalog-count { margin: 20px 0; color: #879b9f; font-size: 11px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.catalog-card { overflow: hidden; border: 1px solid #d6e0dc; border-radius: 13px; background: #fcfdfa; transition: border-color .2s; }
.catalog-card:hover { border-color: #89afb1; }
.catalog-card-image { position: relative; overflow: hidden; }
.catalog-card-image > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.catalog-card:hover img { transform: scale(1.035); }
.catalog-card-image > span { position: absolute; top: 18px; left: 18px; border: 1px solid #72b0b8; border-radius: 30px; background: #112d35b8; color: #f4ffff; padding: 7px 10px; font-size: 10px; }
.catalog-card-copy { display: flex; flex-direction: column; padding: 24px; min-height: 245px; }
.catalog-card-copy > span { font-size: 9px; color: #74a0a6; letter-spacing: .07em; }
.catalog-card h2 { font-size: 25px; font-weight: 550; letter-spacing: -.04em; line-height: 1.1; margin: 18px 0 12px; }
.catalog-card p { color: #74898f; font-size: 13px; line-height: 1.65; margin: 0 0 24px; }
.catalog-card strong { display: flex; justify-content: space-between; color: #467b87; font-size: 11px; font-weight: 600; margin-top: auto; }
.catalog-card strong span { font-size: 18px; line-height: .7; }
.catalog-empty { padding: 55px 15px; text-align: center; }
.catalog-empty h2 { font-size: 28px; font-weight: 550; letter-spacing: -.03em; }
.catalog-empty p { color: #758b91; font-size: 14px; }
.catalog-empty .button { margin-top: 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Native image viewer keeps keyboard and focus handling. */
.detector-lightbox { width: min(calc(100% - 30px),1100px); max-height: 92vh; padding: 12px; border-radius: 13px; }
.lightbox-heading { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; }
.lightbox-heading > span { color: #b0cdd5; font-size: 11px; }
.lightbox-close { border: 1px solid #415d68; background: #21363f; color: #e6f9fc; border-radius: 6px; width: 34px; height: 34px; font-size: 22px; }
.lightbox-stage { display: grid; place-items: center; background: #0f1f27; border-radius: 7px; overflow: hidden; }
.lightbox-stage svg { width: 100%; height: min(65vh,750px); }
.lightbox-stage img { width: 100%; height: min(65vh,750px); object-fit: contain; }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 4px 2px; }
.lightbox-controls p { color: #a7c5cf; font-size: 11px; text-align: center; margin: 0; }
.lightbox-controls button { flex: none; width: 32px; height: 32px; border: 1px solid #415d68; border-radius: 7px; background: #21363f; color: #e6f9fc; }
@media (max-width: 1100px) {
  .detail-shell { width: min(calc(100% - 48px),1240px); }
  .detail-hero-grid { gap: 35px; }
  .detail-content-grid { grid-template-columns: 190px minmax(0,1fr); gap: 40px; }
  .catalog-tools { flex-direction: column; align-items: stretch; }
  .catalog-search input { width: 100%; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .detail-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-hero h1 { font-size: clamp(44px,8vw,65px); }
  .detail-hero-copy > p { max-width: 620px; }
  .detector-meta { max-width: 600px; }
  .detail-content-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .detail-aside nav { display: flex; gap: 25px; margin-bottom: 0; }
  .detail-aside nav a { flex: 1; font-size: 12px; }
  .detail-back { display: none; }
  .adjacent-detectors { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .detail-shell { width: calc(100% - 34px); }
  .detail-hero { padding: 24px 0 40px; }
  .breadcrumbs-detail { gap: 8px; margin-bottom: 32px; font-size: 10px; }
  .detail-hero-copy > p { font-size: 16px; }
  .detail-photo figcaption { flex-direction: column; gap: 4px; }
  .detail-photo figcaption > span:last-child { text-align: left; }
  .detail-content { padding: 40px 0 55px; }
  .detail-aside nav { gap: 14px; }
  .detail-aside nav span { display: none; }
  .detail-article .detail-lead { font-size: 17px; }
  .detail-article p { font-size: 15px; }
  .detector-benefits { grid-template-columns: 1fr; gap: 23px; }
  .detector-benefits li { display: flex; gap: 18px; }
  .detector-benefits li > span { margin-top: 4px; }
  .detector-benefits p { margin: 0; font-size: 14px; }
  .application-block { margin-top: 45px; }
  .setup-block { padding: 25px 20px; margin-top: 42px; }
  .detector-note p { font-size: 13px; }
  .detail-cta { padding: 50px 0; }
  .detail-cta .detail-shell { flex-direction: column; align-items: start; gap: 28px; }
  .adjacent-detectors { padding-block: 30px; }
  .adjacent-card { gap: 15px; }
  .adjacent-card strong { font-size: 17px; }
  .adjacent-card img { width: 65px; height: 65px; }
  .detail-page .site-footer .shell { flex-direction: column; align-items: start; gap: 14px; }
  .detail-page .site-footer nav { margin-left: 0; flex-wrap: wrap; }
  .catalog-section { padding: 25px 0 60px; }
  .catalog-heading h1 { font-size: clamp(40px,10vw,58px); }
  .catalog-heading > p { font-size: 15px; margin-bottom: 28px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card-copy { min-height: 0; }
  .catalog-filters button { font-size: 11px; padding: 10px; }
}
