/* ============================================
   CRITICAL START DESIGN TOKENS
   ============================================
   Source: D19 Option B "Textured Light" prototype
   Reference: D16 Component Library, D1 Brand Guidelines, D18 Interaction Specs

   These tokens are imported by every component's CSS module.
   Since code components run in Shadow DOM, tokens must be
   explicitly imported — they do not cascade from the page.
   ============================================ */

:host, :host {
  /* Backgrounds — Cool Steel palette (approved 2026-04-21)
     Body and alt-section surfaces carry a subtle blue tint that reads more
     technical/platform-leaning than the previous neutral near-whites. */
  --bg-primary: #F4F8FD;       /* Cool Steel body (was #FAFAFA) */
  --bg-white: #FFFFFF;
  --bg-muted: #EAF1F9;         /* Cool Steel alt-section (was #F4F4F5) */
  --bg-dark: #1E1E1E;
  --bg-charcoal: #121820;      /* Cool Steel near-black (was #343741) — StatRow, Footer, Outcomes, Transparency, dark accordions all inherit */
  --bg-navy: #004C97;
  --dark-section-bg: linear-gradient(135deg, #003A73 0%, #00264A 100%); /* Cool Steel deep-navy band — Final CTA etc. */

  /* Section background recipes (2026-04-29) — the canonical Two-Container Rule
     surfaces. Use these on every <section>: alternate light/dark for the
     dark→light→dark→light scroll rhythm Cameron likes from stripe.com.
     Light: subtle white→cool-steel gradient, almost imperceptible. Dark:
     deep navy gradient. Page bodies prepend the Ambient Background which
     sits over both. */
  --bg-light-section: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
  --bg-dark-section: linear-gradient(135deg, #003A73 0%, #00264A 100%); /* Alias of --dark-section-bg, keep both for back-compat */

  /* Text */
  --text-primary: #1E1E1E;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --text-inverse: #FFFFFF;
  --text-faint: #A1A1AA;
  --text-inverse-muted: rgba(255, 255, 255, 0.55);

  /* Brand blues — consolidated 3-blue palette (2026-04-27)
     Replaces the earlier 5-blue brand set. Three roles:
       --blue-primary  workhorse for CTAs, links, fills, borders, focus on light bg
       --blue-bright   accent + on-dark text. Wordmark, gradient highlight, dark surfaces.
       --blue-deep     navy anchor for gradient endpoints and deep-navy section bands. */
  --blue-bright: #009CDE;          /* Brand blue. AA text on charcoal (5.96:1 on #121820). */
  --blue-primary: #0072B5;         /* AA text on white (5.15:1) and on muted (4.69:1). */
  --blue-primary-hover: #005A91;   /* Hover state for --blue-primary on light surfaces. */
  --blue-deep: #004C97;            /* Navy. Gradient endpoint, dark section accents. */
  --brand-red: #EF3340;
  --brand-red-accessible: #E22C3F;        /* 4.50:1 on white. WCAG AA text. */
  --brand-gradient: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-deep) 100%);

  /* Accent — CTAs */
  --cta-orange: #FA6614;                  /* 3.01:1 on white — WCAG AA large text */
  --cta-orange-hover: #E55D0F;

  /* Typography */
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Typography Scale — Desktop */
  --display-size: 56px;
  --display-weight: 700;
  --display-line-height: 1.1;

  /* HeroSplit variant — deliberately tighter than --display-size (the
     centered HeroStandard pattern). 2026-04-30: extracted from inline
     font-size declarations so the responsive overrides (44/36 → 40/32)
     are part of the token system, not bespoke @media in the component. */
  --hero-split-display-size: 54px;

  --h2-size: 40px;
  --h2-weight: 700;
  --h2-line-height: 1.2;

  --h3-size: 28px;
  --h3-weight: 600;
  --h3-line-height: 1.25;

  --h4-size: 20px;
  --h4-weight: 600;
  --h4-line-height: 1.3;

  --body-size: 16px;
  --body-weight: 400;
  --body-line-height: 1.6;

  --body-large-size: 18px;
  --body-large-weight: 400;
  --body-large-line-height: 1.6;

  --small-size: 14px;
  --micro-size: 12px;

  /* Spacing */
  --section-pad: 96px;
  --section-pad-tablet: 64px;
  --section-pad-mobile: 48px;
  --container: 1200px;       /* DEFAULT — most sections, body grids */
  --container-narrow: 960px; /* Articles, legal, narrow forms */
  --container-wide: 1440px;  /* Hero rows that benefit from extra breathing room */
  --container-padding: 32px;
  --container-padding-mobile: 20px;

  /* Button geometry (2026-04-29 codification) — three sizes only.
     Compact = pill-shaped header CTAs and inline navigation actions.
     Default = body CTAs (CtaSection, hero primary, form submits).
     Large = reserved for the homepage hero showpiece if needed.
     Pill radius for compact (signals "always-available"); md radius for
     body buttons (signals "deliberate action"). */
  --btn-pad-compact: 7px 14px;
  --btn-pad-default: 14px 32px;
  --btn-pad-large: 18px 40px;
  --btn-radius-pill: 100px;
  --btn-radius-default: var(--radius-sm);
  --btn-font-compact: 14px;
  --btn-font-default: var(--body-size);
  --btn-shadow-orange-rest: 0 1px 2px rgba(250, 102, 20, 0.18);
  --btn-shadow-orange-hover: 0 4px 12px rgba(250, 102, 20, 0.28);

  /* Motion (D18 tokens) */
  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-gentle: 800ms;
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);

  /* Borders — cooler neutral to match Cool Steel palette */
  --border-light: #D6DEE8;     /* Cool Steel (was #E4E4E7) */
  --border-muted: #C4CEDE;     /* Cool Steel (was #D4D4D8) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows — legacy single-layer (kept for back-compat) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Modern multi-layer elevation system (2026-04-28)
     Stripe-inspired stacked shadows in navy tint. Each elevation level
     uses 2-4 stacked shadows that compound into real-feeling depth. The
     navy tint (rgba 0, 76, 151) makes the shadows feel like part of the
     brand instead of generic gray. Use these in place of --shadow-* on
     all card/container surfaces. */
  --elev-1:
    0 1px 2px rgba(0, 76, 151, 0.04),
    0 4px 12px rgba(0, 76, 151, 0.04);
  --elev-2:
    0 2px 4px rgba(0, 76, 151, 0.06),
    0 8px 20px rgba(0, 76, 151, 0.07),
    0 16px 32px rgba(0, 76, 151, 0.05);
  --elev-3:
    0 4px 8px rgba(0, 76, 151, 0.06),
    0 12px 24px rgba(0, 76, 151, 0.08),
    0 24px 48px rgba(0, 76, 151, 0.10);

  /* Dark variants — for cards on charcoal/navy section backgrounds */
  --elev-1-dark:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 38, 74, 0.18);
  --elev-2-dark:
    0 2px 4px rgba(0, 0, 0, 0.14),
    0 8px 20px rgba(0, 38, 74, 0.24),
    0 16px 32px rgba(0, 38, 74, 0.20);

  /* Inset highlight for the top edge of cards — the "object catching
     light" detail. Pair with one of the --elev-* shadows. */
  --elev-inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --elev-inset-dark: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Standard transition timing for hover states. cubic-bezier(0.4, 0, 0.2, 1)
     is the "natural" feel — quick start, gentle settle. */
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);

  /* Interactive card surfaces — Cool Steel gradient (approved 2026-04-21)
     Cooler/more saturated than the prior V2 tokens — pairs with the new
     Cool Steel body tint above. Applied to "selectable" cards that sit on
     the light body surface: Bento Grid tiles, Threat Intelligence Callout
     cards, and (in Phase 2) Industry / Solution / Partner Benefits /
     Related Resources / Differentiator / Threat / Step cards. Do NOT
     apply to Service Portfolio (already dark), Stat Row, Outcomes Ticker,
     Leadership Grid, Integration Logo Bar, or Footer. */
  --gradient-card-rest:      linear-gradient(135deg, #E3EEFB 0%, #C4D8F0 100%);
  --gradient-card-hover:     linear-gradient(135deg, #D4E4F7 0%, #AFC8EA 100%);
  --border-card-blue:        rgba(0, 114, 181, 0.32);
  --border-card-blue-hover:  rgba(0, 114, 181, 0.52);
  --shadow-card-hover:       0 8px 24px rgba(0, 76, 151, 0.14);
}

/* Mobile typography overrides */
@media (max-width: 767px) {
  :host, :host {
    --display-size: 36px;
    --hero-split-display-size: 32px;
    --h2-size: 28px;
    --h3-size: 22px;
    --h4-size: 18px;
    --body-large-size: 17px;
    --section-pad: var(--section-pad-mobile);
    --container-padding: var(--container-padding-mobile);
  }
}

/* Tablet typography overrides */
@media (min-width: 768px) and (max-width: 1199px) {
  :host, :host {
    --display-size: 44px;
    --hero-split-display-size: 40px;
    --h2-size: 34px;
    --h3-size: 24px;
    --section-pad: var(--section-pad-tablet);
  }
}

/* ============================================
   INTEGRATION CATALOG
   ============================================
   Searchable / filterable catalog of CORR platform integrations.
   Converted from inline style objects in preview/IntegrationsPage.tsx.
   ============================================ */

/* Catalog section — full-bleed dark; cards stay white per Cameron */
.IntegrationCatalog-module__catalog--wb6Hu {
  padding: var(--section-pad) var(--container-padding);
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg-charcoal);
}

.IntegrationCatalog-module__catalogHeading--bR0dA {
  font-size: var(--h3-size);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 20px;
}

/* Integration type filter pills */
.IntegrationCatalog-module__typePillRow--op8YH {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__typePill--oAynN {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-inverse-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.IntegrationCatalog-module__typePillActive--ovZro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  background: rgba(0, 156, 222, 0.16);
  border: 1px solid var(--blue-bright);
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
}

.IntegrationCatalog-module__pillCount--cAdFc {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

.IntegrationCatalog-module__pillCountActive--LHFML {
  background: rgba(0, 156, 222, 0.28);
  color: var(--blue-bright);
}

/* Filter bar */
.IntegrationCatalog-module__filterBar--MEy3k {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__searchWrap--wvSYS {
  position: relative;
  flex: 1 1 240px;
  max-width: 320px;
}

.IntegrationCatalog-module__searchIcon--gWopZ {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.IntegrationCatalog-module__searchInput--W86bD {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.IntegrationCatalog-module__searchInput--W86bD::placeholder {
  color: rgba(255, 255, 255, 0.40);
}

.IntegrationCatalog-module__filterSelect--SnWIf {
  padding: 9px 32px 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-inverse-muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  outline: none;
  appearance: auto;
  font-weight: 400;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.IntegrationCatalog-module__filterSelectActive--SbRfD {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  background: rgba(0, 156, 222, 0.16);
  font-weight: 600;
}

.IntegrationCatalog-module__clearButton--YAWxF {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.IntegrationCatalog-module__resultCount--ZRpXg {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

/* Grid & cards */
.IntegrationCatalog-module__scrollWrapper--vNEON {
  position: relative;
}

.IntegrationCatalog-module__scrollContainer--tWOqd {
  max-height: 560px;
  overflow-y: auto;
  overscroll-behavior: contain; /* Don't chain wheel events to the page */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.20) transparent;
}

/* Bottom fade: visual affordance that more content is below. Sits as a
   sibling above the scroll container so it stays pinned to the visible
   bottom edge regardless of scroll position. Hidden when the user has
   reached the bottom (toggled via data-hidden on the element). */
.IntegrationCatalog-module__scrollFade--HrCgO {
  position: absolute;
  left: 1px;      /* Clear the 1px border */
  right: 1px;
  bottom: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(18, 24, 32, 0) 0%, rgba(18, 24, 32, 0.85) 100%);
  pointer-events: none;
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.IntegrationCatalog-module__scrollFade--HrCgO[data-hidden="true"] {
  opacity: 0;
}

.IntegrationCatalog-module__grid--yGiO7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Filled card per Two-Container Rule (catalog grid tiles).
   2026-04-30: switched from --gradient-card-rest (blue gradient) to white
   per Cameron — blue cards on the near-blue scrollContainer bg created a
   washed-out monotone. White cards now read clearly as cards on color. */
.IntegrationCatalog-module__card--DwrpX {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--elev-1), var(--elev-inset-light);
  transition: background var(--duration-fast) var(--ease-hover),
              border-color var(--duration-fast) var(--ease-hover),
              box-shadow var(--duration-fast) var(--ease-hover),
              transform var(--duration-fast) var(--ease-hover);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.IntegrationCatalog-module__card--DwrpX:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
  border-color: var(--border-card-blue);
  box-shadow: var(--elev-2), var(--elev-inset-light);
  transform: translateY(-2px);
}

.IntegrationCatalog-module__cardHeader--Lqjrq {
  display: flex;
  align-items: center;
  gap: 12px;
}

.IntegrationCatalog-module__cardTitleWrap--ErEMX {
  text-align: left;
  flex: 1;
}

.IntegrationCatalog-module__logo--hJuvU {
  width: 40px;
  height: 40px;
  background: var(--bg-muted);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.IntegrationCatalog-module__logoImg--qCqp7 {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.IntegrationCatalog-module__cardName--kv9bX {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.IntegrationCatalog-module__cardVendor--psPRK {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.IntegrationCatalog-module__cardBadgeRow--vE0CX {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__domainBadge--HOgz9 {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  display: inline-block;
}

.IntegrationCatalog-module__directBadge--zCdsA {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #E0F5FF;
  color: #006494;
  display: inline-block;
}

.IntegrationCatalog-module__monitoringBadge--QLUVs {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #ECFDF5;
  color: #065F46;
  display: inline-block;
}

.IntegrationCatalog-module__cardServiceRow--bcHXA {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__serviceBadge--BfCJO {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.IntegrationCatalog-module__cardCapRow--SPurK {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__capBadge--Awasi {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 1px 6px;
  border-radius: 4px;
  background: #FAFAFA;
  border: 1px solid var(--border-light);
}

.IntegrationCatalog-module__actionsRow--uemcj {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.IntegrationCatalog-module__actionTag--Tf4yZ {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-weight: 500;
}

.IntegrationCatalog-module__actionTagMore--pXUm6 {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #E0F5FF;
  color: #006494;
  font-weight: 600;
}

.IntegrationCatalog-module__siemRow--xtTGd {
  display: flex;
  align-items: center;
  gap: 6px;
}

.IntegrationCatalog-module__siemLabel--Il77X {
  font-size: 11px;
  color: var(--text-faint);
  font-style: italic;
}

.IntegrationCatalog-module__siemValue--kjpca {
  font-size: 11px;
  font-weight: 600;
  color: #4F46E5;
}

.IntegrationCatalog-module__viewDetail--DzCVN {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}

.IntegrationCatalog-module__noResults--b8QD0 {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Detail panel — Frosted variant per Two-Container Rule.
   Sits above the Header (z-index 10000) on z-index 11000.
   High-opacity translucent white + backdrop-blur so dark text inside
   stays legible while the panel still reads as a glass surface. */
.IntegrationCatalog-module__overlay--ibx1L {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  z-index: 11000;
  display: flex;
  justify-content: flex-end;
  transition: opacity 0.25s ease;
}

.IntegrationCatalog-module__detailPanel--nX9Z2 {
  width: 560px;
  max-width: 92vw;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
          backdrop-filter: blur(40px) saturate(150%);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain; /* Don't chain wheel events to the page */
  padding: 32px 36px 48px;
  box-shadow:
    -2px 0 8px rgba(0, 0, 0, 0.08),
    -16px 0 48px rgba(0, 0, 0, 0.12),
    -32px 0 80px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.IntegrationCatalog-module__detailClose--aIWXY {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.15s ease;
  font-family: inherit;
}

.IntegrationCatalog-module__detailHeader--NO91r {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-right: 48px;
}

.IntegrationCatalog-module__detailLogoLarge--vRx71 {
  width: 56px;
  height: 56px;
  background: var(--bg-muted);
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
}

.IntegrationCatalog-module__detailLogoImg--rSQp6 {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.IntegrationCatalog-module__detailName--R0VRn {
  font-size: var(--h4-size);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.IntegrationCatalog-module__detailVendor--nWdxG {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

.IntegrationCatalog-module__detailBadgeRow--ct2QQ {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__directBadgeLarge--n2rea {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  background: #E0F5FF;
  color: #006494;
  display: inline-block;
}

.IntegrationCatalog-module__indirectBadgeLarge--xwhaY {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  background: #F0F0FF;
  color: #4F46E5;
  display: inline-block;
}

.IntegrationCatalog-module__categoryBadge--WANND {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  display: inline-block;
}

.IntegrationCatalog-module__detailServiceRow--dUHB2 {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.IntegrationCatalog-module__serviceBadgeLarge--pbe1d {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
}

.IntegrationCatalog-module__detailSection--_BqOl {
  margin-bottom: 24px;
}

.IntegrationCatalog-module__detailSectionTitle--LH40p {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.IntegrationCatalog-module__detailDescription--Ohw4t {
  font-size: 15px;
  line-height: 1.7;
  color: #3F3F46;
  margin: 0;
}

.IntegrationCatalog-module__detailMeta--xUQSs {
  font-size: 14px;
  color: #3F3F46;
  margin: 0;
  line-height: 1.5;
}

.IntegrationCatalog-module__detailTagGroup--cR1dL {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.IntegrationCatalog-module__detailTag--jx14e {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: #3F3F46;
  font-weight: 500;
}

.IntegrationCatalog-module__detailCapTag--bDjEa {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  color: #3F3F46;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.IntegrationCatalog-module__detailTagBlue--bdkFD {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #E0F5FF;
  color: #006494;
  font-weight: 500;
}

.IntegrationCatalog-module__detailTagOrange--kQLnG {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #FFF7ED;
  color: #C2410C;
  font-weight: 600;
}

.IntegrationCatalog-module__detailTagGreen--GyuZ4 {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #ECFDF5;
  color: #065F46;
  font-weight: 500;
}

.IntegrationCatalog-module__detailList--VUlQS {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.IntegrationCatalog-module__detailListItem--rHmlE {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3F3F46;
}

.IntegrationCatalog-module__guideLink--PfcN9 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: #FAFAFA;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.IntegrationCatalog-module__guidePlaceholder--FINrL {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  font-style: italic;
  padding: 10px 16px;
  border: 1px dashed var(--border-muted);
  border-radius: 8px;
  background: #FAFAFA;
}

.IntegrationCatalog-module__detailCta--tQuwv {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.IntegrationCatalog-module__detailCtaButton--crcIG {
  display: block;
  text-align: center;
  padding: 14px 24px;
  background: #E8521E;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.IntegrationCatalog-module__detailCtaSecondary--b5OTm {
  display: block;
  text-align: center;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-muted);
  transition: border-color 0.15s ease;
}

/* ============================================
   RESPONSIVE (added 2026-04-30)
   ============================================
   IntegrationCatalog had 720 LOC with zero @media rules. Below: three
   breakpoints handle mid-desktop → tablet → phone.

   - 1199px: drop grid 4→3, ease padding
   - 900px:  grid 3→2, search bar full-width, scroll container shorter
   - 767px:  grid 2→1, filter bar stacks, detail panel becomes a
             bottom-up full-screen drawer instead of a side panel
   ============================================ */

@media (max-width: 1199px) {
  .IntegrationCatalog-module__catalog--wb6Hu {
    padding: 64px 32px;
  }
  .IntegrationCatalog-module__grid--yGiO7 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .IntegrationCatalog-module__catalog--wb6Hu {
    padding: 56px 24px;
  }
  .IntegrationCatalog-module__catalogHeading--bR0dA {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .IntegrationCatalog-module__grid--yGiO7 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .IntegrationCatalog-module__scrollContainer--tWOqd {
    max-height: 640px;
    padding: 12px;
  }
  .IntegrationCatalog-module__searchWrap--wvSYS {
    flex: 1 1 100%;
    max-width: none;
  }
  .IntegrationCatalog-module__typePillRow--op8YH {
    gap: 8px;
  }
  .IntegrationCatalog-module__typePill--oAynN,
  .IntegrationCatalog-module__typePillActive--ovZro {
    padding: 7px 12px;
    font-size: 13px;
  }
  /* Detail panel: still side-drawer on tablet, but tighter */
  .IntegrationCatalog-module__detailPanel--nX9Z2 {
    width: 480px;
    padding: 28px 28px 40px;
  }
  .IntegrationCatalog-module__detailName--R0VRn {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .IntegrationCatalog-module__catalog--wb6Hu {
    padding: 40px 16px;
  }
  .IntegrationCatalog-module__catalogHeading--bR0dA {
    font-size: 22px;
  }
  .IntegrationCatalog-module__grid--yGiO7 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* Larger touch targets on phone */
  .IntegrationCatalog-module__card--DwrpX {
    padding: 16px;
  }
  .IntegrationCatalog-module__filterBar--MEy3k {
    gap: 8px;
  }
  .IntegrationCatalog-module__filterSelect--SnWIf,
  .IntegrationCatalog-module__clearButton--YAWxF {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
  .IntegrationCatalog-module__scrollContainer--tWOqd {
    max-height: 520px;
    padding: 10px;
    border-radius: 10px;
  }
  /* Detail panel: full-screen bottom-up drawer on phone.
     Side panel doesn't work in portrait — content gets crammed. */
  .IntegrationCatalog-module__overlay--ibx1L {
    align-items: flex-end;
    justify-content: stretch;
  }
  .IntegrationCatalog-module__detailPanel--nX9Z2 {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    height: auto;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px 16px 0 0;
    padding: 24px 20px 32px;
    box-shadow:
      0 -2px 8px rgba(0, 0, 0, 0.08),
      0 -16px 48px rgba(0, 0, 0, 0.12);
  }
  .IntegrationCatalog-module__detailHeader--NO91r {
    padding-right: 44px;
    margin-bottom: 16px;
  }
  .IntegrationCatalog-module__detailLogoLarge--vRx71,
  .IntegrationCatalog-module__detailLogoImg--rSQp6 {
    width: 48px;
    height: 48px;
  }
  .IntegrationCatalog-module__detailName--R0VRn {
    font-size: 18px;
  }
  .IntegrationCatalog-module__detailSection--_BqOl {
    margin-bottom: 20px;
  }
  .IntegrationCatalog-module__detailDescription--Ohw4t {
    font-size: 14px;
    line-height: 1.6;
  }
  .IntegrationCatalog-module__detailClose--aIWXY {
    top: 16px;
    right: 16px;
  }
}

