/* ==========================================================================
   Cloud Renames — Modern Airy Consumer-Grade Stylesheet
   Typography: Plus Jakarta Sans (Headings), Inter (UI/Body), JetBrains Mono
   Brand Accents: Google Blue #4285F4, Red #EA4335, Yellow #FBBC05, Green #34A853
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Surfaces & Backgrounds — Airy, soft consumer-grade feel */
  --bg-page: #f7f9fc;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f1f5f9;
  --bg-surface-muted: #f8fafc;
  --bg-surface-hover: #f3f7fe;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Borders & Dividers */
  --border-subtle: #e5eaf2;
  --border-default: #d8e0ec;
  --border-strong: #cbd5e1;
  --border-focus: #4285f4;

  /* Google Signature Semantic Palette */
  --gcp-blue: #2563eb;
  --gcp-blue-brand: #4285f4;
  --gcp-blue-soft: #eff6ff;
  --gcp-blue-border: #bfdbfe;
  --gcp-blue-text: #1d4ed8;

  --gcp-green: #16a34a;
  --gcp-green-brand: #34a853;
  --gcp-green-soft: #f0fdf4;
  --gcp-green-border: #bbf7d0;
  --gcp-green-text: #15803d;

  --gcp-yellow: #d97706;
  --gcp-yellow-brand: #fbbc05;
  --gcp-yellow-soft: #fffbeb;
  --gcp-yellow-border: #fde68a;
  --gcp-yellow-text: #b45309;

  --gcp-red: #dc2626;
  --gcp-red-brand: #ea4335;
  --gcp-red-soft: #fef2f2;
  --gcp-red-border: #fecaca;
  --gcp-red-text: #b91c1c;

  --gcp-teal-soft: #f0fdfa;
  --gcp-teal-border: #99f6e4;
  --gcp-teal-text: #0f766e;

  --gcp-slate-soft: #f1f5f9;
  --gcp-slate-border: #cbd5e1;
  --gcp-slate-text: #475569;

  /* Match Highlight — Crisp Mint/Emerald (distinct from Legacy Gray, Intermediate Yellow, Current Blue, Deprecated Red) */
  --match-bg: #dcfce7;
  --match-text: #14532d;
  --match-ring: #22c55e;

  /* Category Accent Colors (Distinct from Timeline Stage Colors: Grey, Amber, Blue, Red) */
  --cat-ai-color: #8b5cf6;
  --cat-data-color: #10b981;
  --cat-infra-color: #0891b2;

  /* Shadows — Soft consumer-grade layered depth */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 40px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-drawer: -12px 0 40px rgba(15, 23, 42, 0.16);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Clean Slate Dark Theme (Zero purple/neon; neutral charcoal & crisp Google accents) */
[data-theme="dark"] {
  --bg-page: #0c1117;
  --bg-surface: #141b24;
  --bg-surface-soft: #1b2430;
  --bg-surface-muted: #111720;
  --bg-surface-hover: #1c2635;
  --bg-elevated: #1c2532;
  --bg-glass: rgba(20, 27, 36, 0.9);

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --border-subtle: #1f2937;
  --border-default: #283548;
  --border-strong: #384961;
  --border-focus: #60a5fa;

  --gcp-blue: #60a5fa;
  --gcp-blue-brand: #4285f4;
  --gcp-blue-soft: rgba(66, 133, 244, 0.14);
  --gcp-blue-border: rgba(96, 165, 250, 0.32);
  --gcp-blue-text: #93c5fd;

  --gcp-green: #4ade80;
  --gcp-green-brand: #34a853;
  --gcp-green-soft: rgba(52, 168, 83, 0.14);
  --gcp-green-border: rgba(74, 222, 128, 0.3);
  --gcp-green-text: #86efac;

  --gcp-yellow: #fbbf24;
  --gcp-yellow-brand: #fbbc05;
  --gcp-yellow-soft: rgba(251, 188, 5, 0.14);
  --gcp-yellow-border: rgba(251, 191, 36, 0.32);
  --gcp-yellow-text: #fde68a;

  --gcp-red: #f87171;
  --gcp-red-brand: #ea4335;
  --gcp-red-soft: rgba(234, 67, 53, 0.15);
  --gcp-red-border: rgba(248, 113, 113, 0.34);
  --gcp-red-text: #fca5a5;

  --gcp-teal-soft: rgba(20, 184, 166, 0.14);
  --gcp-teal-border: rgba(45, 212, 191, 0.3);
  --gcp-teal-text: #5eead4;

  --gcp-slate-soft: rgba(148, 163, 184, 0.12);
  --gcp-slate-border: rgba(148, 163, 184, 0.25);
  --gcp-slate-text: #cbd5e1;

  --match-bg: rgba(34, 197, 94, 0.22);
  --match-text: #bbf7d0;
  --match-ring: #22c55e;

  --cat-ai-color: #a78bfa;
  --cat-data-color: #34d399;
  --cat-infra-color: #22d3ee;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 28px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 44px -8px rgba(0, 0, 0, 0.6);
  --shadow-drawer: -12px 0 44px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   1. Base Reset & Typography
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
}

.hidden {
  display: none !important;
}

button,
input,
select {
  font-family: inherit;
  color: inherit;
}

a {
  color: var(--gcp-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-surface-soft);
  padding: 0.15em 0.42em;
  border-radius: 5px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   2. Top Signature Strip & Minimal Sticky Header
   ========================================================================== */
.gcp-signature-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 4px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 60;
}
.gcp-signature-bar .bar-blue { background: var(--gcp-blue-brand); }
.gcp-signature-bar .bar-red { background: var(--gcp-red-brand); }
.gcp-signature-bar .bar-yellow { background: var(--gcp-yellow-brand); }
.gcp-signature-bar .bar-green { background: var(--gcp-green-brand); }

.site-header {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 4px;
  z-index: 50;
  padding: 12px 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-default);
}

.brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Hyperscaler Provider Switcher (Google Cloud active default; AWS & Azure ready) */
.provider-switcher {
  display: inline-flex;
  align-items: center;
  height: 38px;
  gap: 4px;
  padding: 3px 4px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-default);
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  gap: 7px;
  padding: 0 15px;
  min-width: 82px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  white-space: nowrap;
}

.provider-pill[data-provider="gcp"] {
  padding: 0 18px;
}

.provider-pill.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--gcp-blue-border);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.provider-pill.is-soon {
  opacity: 0.85;
}

.provider-pill.is-soon:hover {
  opacity: 1;
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.provider-logo-svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.provider-logo-svg.logo-gcp {
  width: 16px;
  height: 16px;
}

.provider-logo-svg.logo-aws {
  width: 18px;
  height: 18px;
}

.provider-logo-svg.logo-azure {
  width: 15px;
  height: 15px;
}

[data-theme="dark"] .provider-logo-svg.logo-aws .aws-wordmark {
  fill: #f1f5f9;
}

.provider-soon-tag {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bg-surface-soft);
  color: var(--text-muted);
  border: 1px solid var(--border-default);
}

.header-meta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  gap: 6px;
  padding: 0 13px;
  font-size: 0.79rem;
  line-height: 1;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: var(--gcp-green-brand); }
.dot-blue { background: var(--gcp-blue-brand); }
.dot-yellow { background: var(--gcp-yellow-brand); }
.dot-red { background: var(--gcp-red-brand); }
.dot-teal { background: #14b8a6; }
.dot-slate { background: #64748b; }
.dot-cat-ai { background: var(--cat-ai-color); }
.dot-cat-data { background: var(--cat-data-color); }
.dot-cat-infra { background: var(--cat-infra-color); }
.dot-all {
  background: conic-gradient(
    var(--gcp-blue-brand) 0deg 90deg,
    var(--gcp-red-brand) 90deg 180deg,
    var(--gcp-yellow-brand) 180deg 270deg,
    var(--gcp-green-brand) 270deg 360deg
  );
}

.btn-utility,
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  gap: 6px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-utility:hover,
.btn-theme-toggle:hover {
  background: var(--bg-surface-soft);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

/* Top-Right GitHub Issue / PR Submission Button */
.btn-submit-issue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  gap: 6px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1;
  background: var(--gcp-blue-brand);
  border: 1px solid var(--gcp-blue-brand);
  color: #ffffff !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(66, 133, 244, 0.25);
  transition: all 0.16s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-submit-issue:hover {
  background: #2b71e8;
  border-color: #2b71e8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.35);
  text-decoration: none !important;
}

[data-theme="dark"] .btn-submit-issue {
  background: #3b82f6;
  border-color: #60a5fa;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .btn-submit-issue:hover {
  background: #2563eb;
  border-color: #93c5fd;
}

[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: inline-block; }
[data-theme="dark"] .icon-sun { display: inline-block; color: var(--gcp-yellow); }
[data-theme="dark"] .icon-moon { display: none; }

/* ==========================================================================
   3. Main Workspace & Central Hero Search Stage
   ========================================================================== */
.main-workspace {
  flex: 1;
  padding-top: 20px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

/* Central Hero Brand & Full-Width Search Stage */
.hero-search-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 44px 0 30px;
  z-index: 5;
}

/* Subtle atmospheric radial spotlight behind central hero */
.hero-search-stage::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 1180px);
  height: 260px;
  background: radial-gradient(
    ellipse 62% 58% at 50% 42%,
    rgba(217, 119, 6, 0.035) 0%,
    rgba(66, 133, 244, 0.025) 48%,
    transparent 76%
  );
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .hero-search-stage::before {
  background: radial-gradient(
    ellipse 62% 58% at 50% 42%,
    rgba(245, 158, 11, 0.055) 0%,
    rgba(59, 130, 246, 0.03) 50%,
    transparent 76%
  );
}

.hero-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  width: 100%;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  padding: 4px 10px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-brand-lockup:hover {
  transform: translateY(-1px);
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px -2px rgba(66, 133, 244, 0.14), var(--shadow-xs);
  flex-shrink: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-brand-lockup:hover .hero-logo-badge {
  box-shadow: 0 6px 18px -2px rgba(66, 133, 244, 0.22), var(--shadow-sm);
}

.hero-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hero-site-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-primary) !important;
  margin: 0;
}

.hero-site-tagline {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  margin: 0;
}

.hero-brand-center .provider-switcher {
  margin-top: 8px;
  box-shadow: var(--shadow-xs);
}

/* Full-Width Search Container with Mild Ambient Gold Glow (matches timeline width) */
.hero-search-container {
  width: 100%;
  max-width: 100%;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Soft, toned-down champagne-gold halo behind the search pill */
.search-input-wrapper::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    rgba(66, 133, 244, 0.28),
    rgba(26, 115, 232, 0.24),
    rgba(52, 168, 83, 0.16),
    rgba(66, 133, 244, 0.28)
  );
  filter: blur(12px);
  opacity: 0.65;
  z-index: -1;
  transition: opacity 0.25s ease, filter 0.25s ease;
  pointer-events: none;
}

[data-theme="dark"] .search-input-wrapper::before {
  background: linear-gradient(
    90deg,
    rgba(96, 165, 250, 0.36),
    rgba(59, 130, 246, 0.32),
    rgba(74, 222, 128, 0.2)
  );
  filter: blur(14px);
  opacity: 0.75;
}

.search-input-wrapper:hover {
  transform: translateY(-1px);
}

.search-input-wrapper:hover::before {
  opacity: 0.9;
  filter: blur(14px);
}

.search-input-wrapper:focus-within {
  transform: translateY(-1px);
}

.search-input-wrapper:focus-within::before {
  opacity: 1;
  filter: blur(16px);
}

.search-icon {
  position: absolute;
  left: 20px;
  color: var(--gcp-blue);
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.search-input-wrapper:focus-within .search-icon {
  opacity: 1;
  transform: scale(1.05);
}

.omni-search-input {
  width: 100%;
  height: 50px;
  padding: 0 108px 0 48px;
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(26, 115, 232, 0.28);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow:
    0 4px 20px -2px rgba(26, 115, 232, 0.14),
    0 8px 24px -6px rgba(15, 23, 42, 0.06),
    0 0 0 3px rgba(26, 115, 232, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

[data-theme="dark"] .omni-search-input {
  border-color: rgba(96, 165, 250, 0.34);
  box-shadow:
    0 6px 24px -2px rgba(59, 130, 246, 0.24),
    0 10px 28px -6px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(96, 165, 250, 0.08);
}

.omni-search-input::placeholder {
  color: var(--text-subtle);
  font-weight: 400;
}

.omni-search-input::-webkit-search-decoration,
.omni-search-input::-webkit-search-cancel-button,
.omni-search-input::-webkit-search-results-button,
.omni-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none !important;
}

.omni-search-input:hover {
  border-color: rgba(26, 115, 232, 0.48);
  box-shadow:
    0 6px 24px -2px rgba(26, 115, 232, 0.2),
    0 10px 28px -6px rgba(15, 23, 42, 0.08),
    0 0 0 3px rgba(26, 115, 232, 0.09);
}

[data-theme="dark"] .omni-search-input:hover {
  border-color: rgba(96, 165, 250, 0.52);
}

.omni-search-input:focus {
  outline: none;
  background: var(--bg-surface);
  border-color: var(--gcp-blue);
  box-shadow:
    0 8px 28px -2px rgba(26, 115, 232, 0.25),
    0 0 0 4px rgba(26, 115, 232, 0.16);
}

.search-right-controls {
  position: absolute;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-search-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-search-clear:hover {
  background: var(--gcp-red-soft);
  border-color: var(--gcp-red-border);
  color: var(--gcp-red-text);
}

.search-shortcut-kbd {
  display: none !important;
}

/* Quick Lookup Chips (Centered under Search Bar) */
.quick-try-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-try-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.quick-try-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.quick-chip {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-chip:hover,
.quick-chip.active {
  background: var(--gcp-blue-soft);
  border-color: var(--gcp-blue-border);
  color: var(--gcp-blue-text);
  transform: translateY(-1px);
}

/* ==========================================================================
   4. Directory Zone & Launch Small-Fade -> Scroll / Hover Unfade
   ========================================================================== */
.search-browse-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 8px;
  position: relative;
  z-index: 26;
}

.search-browse-divider::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-default) 22%,
    var(--border-default) 100%
  );
  opacity: 0.85;
}

.search-browse-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--border-default) 0%,
    var(--border-default) 78%,
    transparent 100%
  );
  opacity: 0.85;
}

.btn-divider-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 27px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-divider-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-default);
  background: var(--bg-surface-soft);
  box-shadow: var(--shadow-sm);
}

.btn-divider-toggle.is-expanded {
  color: var(--text-primary);
  border-color: var(--border-default);
}

.divider-toggle-icon {
  opacity: 0.72;
  flex-shrink: 0;
}

.divider-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gcp-blue-brand);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
  flex-shrink: 0;
}

.divider-toggle-chevron {
  opacity: 0.72;
  flex-shrink: 0;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-divider-toggle:hover .divider-toggle-chevron {
  transform: translateY(1px);
}

.btn-divider-toggle.is-expanded .divider-toggle-chevron {
  transform: rotate(180deg);
}

.toolbar-collapsible-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  margin-bottom: -16px;
  transition:
    grid-template-rows 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    margin-bottom 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.toolbar-collapsible-inner {
  overflow: hidden;
  min-height: 0;
}

.toolbar-collapsible-panel.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
  margin-bottom: 0;
}

.toolbar-collapsible-panel.is-expanded .toolbar-collapsible-inner {
  overflow: visible;
}

.browse-directory-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
  opacity: 1;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

/* Mild initial fade at launch when at top of page; smoothly unfades to 1 on scroll or hover */
.browse-directory-zone.is-launch-faded {
  opacity: 0.55;
}

.browse-directory-zone.is-launch-faded:hover,
.browse-directory-zone.is-launch-faded:focus-within {
  opacity: 1;
}

/* Active Search Dimming (when user is actively typing a query) */
.browse-directory-zone.is-search-dimmed {
  opacity: 0.28 !important;
  filter: grayscale(0.75);
}

.browse-directory-zone.is-search-dimmed:hover,
.browse-directory-zone.is-search-dimmed:focus-within {
  opacity: 0.92 !important;
  filter: none;
}

.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 25;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.tag-filter-select {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tag-filter-select:hover,
.tag-filter-select:focus {
  border-color: var(--gcp-blue-brand);
  color: var(--text-primary);
}

/* Instant Legacy Name Match Disambiguation Banner (Full Width matching Timeline) */
.legacy-match-banner {
  width: 100%;
  max-width: 100%;
  margin-top: 22px;
  text-align: left;
  background: var(--gcp-blue-soft);
  border: 1px solid var(--gcp-blue-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: fadeSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.match-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-banner-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gcp-blue-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-match-banner-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gcp-blue-border);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-match-banner-close:hover {
  background: var(--gcp-red-soft);
  border-color: var(--gcp-red-border);
  color: var(--gcp-red-text);
  transform: scale(1.05);
}

.match-items-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.match-item-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.match-item-row:hover {
  border-color: var(--gcp-blue-border);
  background: var(--bg-surface-hover);
}

.match-item-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  flex: 1;
  min-width: 240px;
}

.match-item-lineage {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.match-item-summary {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.38;
}

.match-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.row-click-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-subtle);
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.swimlane-row-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.match-item-row:hover .row-click-chevron,
.evolution-card:hover .row-click-chevron {
  color: var(--gcp-blue-brand);
  transform: translateX(2px);
}

.swimlane-row:hover .swimlane-row-chevron {
  color: var(--gcp-blue-brand);
  transform: translate(2px, -50%);
}

/* Category Filter Pills */
.category-pills-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.79rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.16s ease;
}

.category-pill:hover {
  background: var(--bg-surface-soft);
  border-color: var(--border-default);
  color: var(--text-primary);
}

.category-pill.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-surface);
  box-shadow: var(--shadow-xs);
}

.cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.2);
}

.category-pill.active .cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

/* ==========================================================================
   5. View Switcher Bar & Segmented Control
   ========================================================================== */
.btn-reset-all {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gcp-blue-soft);
  border: 1px solid var(--gcp-blue-border);
  color: var(--gcp-blue-text);
  cursor: pointer;
}

.segmented-control {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}

.segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.81rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.16s ease;
}

.segment-btn:hover {
  color: var(--text-primary);
}

.segment-btn.active {
  background: var(--gcp-blue-brand);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   6. Distinct Label Tags & Lineage Chains (A → B → C)
   ========================================================================== */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px 2px 6px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  white-space: nowrap;
}

.tag-rebrand {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #d8b4fe;
  border-left: 3px solid #9333ea;
}

.tag-umbrella_split {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fdba74;
  border-left: 3px solid #ea580c;
}

.tag-consolidation {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-left: 3px solid #059669;
}

.tag-name_reversion {
  background: #cffafe;
  color: #155e75;
  border: 1px solid #67e8f9;
  border-left: 3px solid #0891b2;
}

.tag-deprecation_migration {
  background: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fda4af;
  border-left: 3px solid #e11d48;
}

.tag-scope_disambiguation,
.tag-terminology_shift {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-left: 3px solid #64748b;
}

[data-theme="dark"] .tag-rebrand {
  background: rgba(147, 51, 234, 0.18);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.35);
  border-left-color: #a855f7;
}

[data-theme="dark"] .tag-umbrella_split {
  background: rgba(234, 88, 12, 0.18);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.35);
  border-left-color: #f97316;
}

[data-theme="dark"] .tag-consolidation {
  background: rgba(5, 150, 105, 0.18);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
  border-left-color: #10b981;
}

[data-theme="dark"] .tag-name_reversion {
  background: rgba(8, 145, 178, 0.18);
  color: #67e8f9;
  border-color: rgba(6, 182, 212, 0.35);
  border-left-color: #06b6d4;
}

[data-theme="dark"] .tag-deprecation_migration {
  background: rgba(225, 29, 72, 0.18);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.35);
  border-left-color: #f43f5e;
}

[data-theme="dark"] .tag-scope_disambiguation,
[data-theme="dark"] .tag-terminology_shift {
  background: rgba(100, 116, 139, 0.22);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
  border-left-color: #94a3b8;
}

/* Full Lineage Chain (A → B → C) Component */
.lineage-chain-box,
.lineage-chain-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lineage-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.lineage-step-pill.step-current {
  background: var(--gcp-blue-soft);
  border-color: var(--gcp-blue-border);
  color: var(--gcp-blue-text);
  font-weight: 700;
}

.lineage-step-pill.step-deprecated {
  background: var(--gcp-red-soft);
  border-color: var(--gcp-red-border);
  color: var(--gcp-red-text);
}

.lineage-step-pill.step-matched {
  background: var(--match-bg) !important;
  color: var(--match-text) !important;
  border-color: var(--match-ring) !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22);
  font-weight: 700;
}

.step-name-text {
  min-width: 0;
}

.step-date-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.78;
  white-space: nowrap;
  flex-shrink: 0;
}

.step-url-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.7;
  font-size: 0.75rem;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.step-url-link:hover {
  opacity: 1;
  transform: translate(1px, -1px);
}

.lineage-arrow {
  display: inline-block;
  color: var(--text-subtle);
  font-size: 0.85rem;
  user-select: none;
  animation: inlineArrowFlow 2.8s ease-in-out infinite;
  transition: color 0.18s ease, transform 0.18s ease;
}

.evolution-card:hover .lineage-arrow,
.match-item-row:hover .lineage-arrow {
  color: var(--gcp-blue-brand);
}

mark.search-highlight {
  background: var(--match-bg);
  color: var(--match-text);
  padding: 0;
  margin: 0;
  border-radius: 2px;
  font-weight: inherit;
}

.step-matched mark.search-highlight,
.stage-matched mark.search-highlight {
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   7. VIEW 1: Visual Evolution Timeline (Swimlane Chart)
   ========================================================================== */
.view-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Inline Stage Legend Pill (Unified inside .toolbar-right) */
.toolbar-legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-muted);
  position: relative;
  z-index: 25;
  flex-shrink: 0;
}

.legend-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: help;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.legend-item:hover,
.legend-item:focus-visible {
  background: var(--bg-surface);
  border-color: var(--border-default);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  outline: none;
}

.legend-tooltip-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 236px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.legend-item:last-child .legend-tooltip-popup {
  left: auto;
  right: 0;
  transform: translateY(-4px);
}

.legend-tooltip-popup strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.legend-item:hover .legend-tooltip-popup,
.legend-item:focus-visible .legend-tooltip-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.legend-item:last-child:hover .legend-tooltip-popup,
.legend-item:last-child:focus-visible .legend-tooltip-popup {
  transform: translateY(0);
}

.legend-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.node-origin {
  background: var(--bg-surface);
  border: 2.5px solid var(--text-muted);
}

.node-intermediate {
  background: var(--gcp-yellow-brand);
}

.node-current {
  background: var(--gcp-blue-brand);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
}

.node-deprecated {
  background: var(--gcp-red-brand);
}

/* Swimlane Scroll & Table Structure */
.swimlane-scroll-container {
  width: 100%;
  overflow-x: auto;
}

.swimlane-header-row {
  display: flex;
  align-items: stretch;
  min-width: 1040px;
  background: var(--bg-surface-muted);
  border-bottom: 1px solid var(--border-default);
  position: sticky;
  top: 0;
  z-index: 10;
}

.swimlane-service-col {
  width: 300px;
  min-width: 300px;
  padding: 16px 20px 16px 22px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.swimlane-col-header {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.swimlane-track-col {
  flex: 1;
  min-width: 760px;
  position: relative;
}

.swimlane-axis-ticks {
  height: 44px;
  display: flex;
  align-items: center;
}

.axis-tick-label {
  position: absolute;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Swimlane Row */
.swimlane-row {
  display: flex;
  align-items: stretch;
  min-width: 1040px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.swimlane-row:last-child {
  border-bottom: none;
}

.swimlane-row:hover {
  background: var(--bg-surface-hover);
}

.swimlane-row:hover .swimlane-current-name {
  color: var(--gcp-blue-brand);
}

.swimlane-row:hover .swimlane-node-group.stage-current .swimlane-node-pill {
  box-shadow: 0 2px 10px -2px rgba(66, 133, 244, 0.25);
  transform: translate(var(--pill-shift, -50%), -1px);
}

.swimlane-row:hover .swimlane-node-group.stage-current.label-above .swimlane-node-pill {
  transform: translate(var(--pill-shift, -50%), 1px);
}

/* Category Left Indicator Bar */
.swimlane-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transition: width 0.18s ease;
}
.swimlane-row:hover::before {
  width: 5px;
}
.swimlane-row[data-cat="ai-genai-agents"]::before { background: var(--cat-ai-color); }
.swimlane-row[data-cat="data-analytics-bi"]::before { background: var(--cat-data-color); }
.swimlane-row[data-cat="compute-storage-security-infra"]::before { background: var(--cat-infra-color); }

.swimlane-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.swimlane-current-name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.swimlane-legacy-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.38;
}

/* Mobile-only inline lineage & chevron inside .swimlane-service-col (hidden on desktop) */
.swimlane-mobile-lineage,
.swimlane-mobile-chevron {
  display: none !important;
}

/* Swimlane Track Canvas */
.swimlane-track-canvas {
  min-height: 122px;
  padding: 14px 0;
  position: relative;
}

.track-connector-line {
  position: absolute;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    var(--border-strong) 0%,
    var(--gcp-blue-brand) 48%,
    #93c5fd 62%,
    var(--gcp-blue-brand) 78%,
    var(--border-strong) 100%
  );
  background-size: 220% 100%;
  border-radius: 3px;
  z-index: 1;
  animation: trackFlowPulse 3.2s linear infinite;
}

.track-connector-line::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translate(0, -50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--gcp-blue-brand);
  animation: arrowHeadPulse 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.swimlane-row:hover .track-connector-line {
  animation-duration: 1.8s;
}

.swimlane-row:hover .track-connector-line::after {
  filter: drop-shadow(0 0 4px rgba(66, 133, 244, 0.45));
}

.track-connector-line.is-deprecated {
  background: linear-gradient(
    90deg,
    var(--border-strong) 0%,
    var(--gcp-red-brand) 48%,
    #fca5a5 62%,
    var(--gcp-red-brand) 78%,
    var(--border-strong) 100%
  );
  background-size: 220% 100%;
}

.track-connector-line.is-deprecated::after {
  border-left-color: var(--gcp-red-brand);
}

.swimlane-row:hover .track-connector-line.is-deprecated::after {
  filter: drop-shadow(0 0 4px rgba(234, 67, 53, 0.45));
}

.swimlane-node-group {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swimlane-node-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--text-muted);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}

.swimlane-node-group.stage-intermediate .swimlane-node-dot {
  background: var(--gcp-yellow-brand);
  border-color: var(--bg-surface);
  box-shadow: 0 0 0 2px var(--gcp-yellow-brand);
}

.swimlane-node-group.stage-current .swimlane-node-dot {
  width: 15px;
  height: 15px;
  background: var(--gcp-blue-brand);
  border-color: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.28);
  animation: currentNodeHalo 2.8s ease-in-out infinite;
}

.swimlane-node-group.stage-deprecated .swimlane-node-dot {
  background: var(--gcp-red-brand);
  border-color: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.28);
  animation: deprecatedNodeHalo 2.8s ease-in-out infinite;
}

@keyframes trackFlowPulse {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes arrowHeadPulse {
  0%, 100% {
    transform: translate(-1px, -50%);
  }
  50% {
    transform: translate(2px, -50%);
  }
}

@keyframes currentNodeHalo {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.24);
  }
  50% {
    box-shadow: 0 0 0 5.5px rgba(66, 133, 244, 0.12);
  }
}

@keyframes deprecatedNodeHalo {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.24);
  }
  50% {
    box-shadow: 0 0 0 5.5px rgba(234, 67, 53, 0.12);
  }
}

@keyframes inlineArrowFlow {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.72;
  }
  50% {
    transform: translateX(2px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .track-connector-line,
  .track-connector-line::after,
  .swimlane-node-group.stage-current .swimlane-node-dot,
  .swimlane-node-group.stage-deprecated .swimlane-node-dot,
  .lineage-arrow {
    animation: none !important;
  }
}

.swimlane-node-group:hover .swimlane-node-dot {
  transform: scale(1.25);
}

.swimlane-node-pill {
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  transform: translateX(var(--pill-shift, -50%));
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  white-space: nowrap;
  width: max-content;
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.node-pill-name {
  white-space: nowrap;
}

/* Alternate label above/below dot when multiple stages exist to maximize breathing room */
.swimlane-node-group.label-above .swimlane-node-pill {
  top: auto;
  bottom: calc(100% + 7px);
}

.swimlane-node-group.stage-current .swimlane-node-pill {
  background: var(--gcp-blue-soft);
  border-color: var(--gcp-blue-border);
  color: var(--gcp-blue-text);
  font-weight: 700;
}

.swimlane-node-group.stage-deprecated .swimlane-node-pill {
  background: var(--gcp-red-soft);
  border-color: var(--gcp-red-border);
  color: var(--gcp-red-text);
}

.swimlane-node-group.stage-matched .swimlane-node-pill {
  background: var(--match-bg);
  border-color: var(--match-ring);
  color: var(--match-text);
  font-weight: 700;
}

.node-pill-date {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.75;
}

/* ==========================================================================
   8. VIEW 2: Product Evolution Cards (Lightweight, Airy Consumer-Grade Grid)
   ========================================================================== */
.cards-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
  gap: 20px;
}

.evolution-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.evolution-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.card-badges-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cat-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-soft);
}

.card-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-current-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card-current-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.card-short-name {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-soft);
  color: var(--text-secondary);
}

/* Lightweight 1-sentence summary */
.card-summary-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Copyable Technical Identifier Pills (used inside Detail Drawer) */
.api-chips-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.copy-mono-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.14s ease;
}

.copy-mono-pill:hover {
  background: var(--gcp-blue-soft);
  border-color: var(--gcp-blue-border);
  color: var(--gcp-blue-text);
}

/* ==========================================================================
   9. Slide-Over Service Evolution Detail Drawer / Modal (Progressive Disclosure)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  animation: fadeIn 0.18s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 620px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-default);
  box-shadow: var(--shadow-drawer);
  z-index: 100;
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-surface-muted);
}

.drawer-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-drawer-close:hover {
  background: var(--bg-surface-soft);
  color: var(--text-primary);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.drawer-title-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-service-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.drawer-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Vertical Timeline in Drawer */
.drawer-vertical-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 22px;
}

.v-timeline-step {
  position: relative;
  padding-bottom: 20px;
}

.v-timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 22px;
  bottom: -16px;
  width: 2px;
  background: var(--border-default);
}

.v-timeline-step:last-child {
  padding-bottom: 0;
}

.v-step-dot {
  position: absolute;
  left: -22px;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--text-muted);
  z-index: 1;
}

.v-timeline-step.is-current .v-step-dot {
  background: var(--gcp-blue-brand);
  border-color: var(--gcp-blue-soft);
  box-shadow: 0 0 0 2px var(--gcp-blue-brand);
}

.v-step-card {
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-timeline-step.is-current .v-step-card {
  background: var(--gcp-blue-soft);
  border-color: var(--gcp-blue-border);
}

.v-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.v-step-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.v-step-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v-step-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

.v-step-note {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Drawer Technical Grid */
.drawer-tech-box {
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-row-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-row-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Disambiguation Notes List */
.drawer-notes-box {
  background: var(--gcp-yellow-soft);
  border: 1px solid var(--gcp-yellow-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--gcp-yellow-text);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-notes-box p {
  padding-left: 14px;
  text-indent: -14px;
}

/* Sources & Links in Drawer */
.drawer-links-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-drawer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--gcp-blue-brand);
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: var(--shadow-xs);
}

.btn-drawer-link.secondary {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-default);
  color: var(--text-primary) !important;
}

.sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  color: var(--text-primary);
  text-decoration: none !important;
}

.source-item-link:hover {
  border-color: var(--gcp-blue-border);
  background: var(--gcp-blue-soft);
}

/* ==========================================================================
   10. Floating Tooltip, Empty State, Toast & Footer
   ========================================================================== */
.timeline-tooltip {
  position: fixed;
  z-index: 120;
  max-width: 330px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.81rem;
}

.tooltip-stage-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.tooltip-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--gcp-blue-text);
}

.tooltip-note {
  color: var(--text-secondary);
  line-height: 1.45;
}

.empty-state-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-primary-reset {
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--gcp-blue-brand);
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-scroll-top:hover {
  transform: translateY(-2px);
  border-color: var(--gcp-blue-brand);
  color: var(--gcp-blue-brand);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.scroll-top-icon {
  transition: transform 0.18s ease;
}

.btn-scroll-top:hover .scroll-top-icon {
  transform: translateY(-1.5px);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-msg {
  background: var(--text-primary);
  color: var(--bg-surface);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp 0.2s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 22px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-subtle);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.footer-social-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface-muted);
  border-color: var(--border-default);
  transform: translateY(-1px);
}

/* ==========================================================================
   11. Responsive Breakpoints (Tablet & Mobile <= 860px, <= 768px, <= 640px)
   ========================================================================== */
@media (hover: none) {
  .search-shortcut-kbd,
  .timeline-tooltip {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }
  .hero-search-stage {
    padding: 18px 0 18px;
  }
  .hero-site-title {
    font-size: 1.65rem;
  }
  .cards-grid-container {
    grid-template-columns: 1fr;
  }
  .omni-search-input {
    height: 48px;
    font-size: 0.9rem;
    padding: 0 88px 0 46px;
  }
}

@media (max-width: 768px) {
  /* Compact single-row mobile header */
  .site-header {
    padding: 9px 0;
  }
  .header-inner {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .brand-group {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo-link {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .brand-logo {
    width: 21px;
    height: 21px;
  }
  .header-meta-actions {
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .meta-pill,
  .theme-toggle-label {
    display: none !important;
  }
  .btn-theme-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  /* Hero & Search Bar on mobile */
  .main-workspace {
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 48px;
  }
  .hero-search-stage {
    padding: 20px 0 14px;
  }
  .hero-logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .hero-logo-img {
    width: 32px;
    height: 32px;
  }
  .hero-site-title {
    font-size: 1.95rem;
  }
  .hero-provider-badge {
    font-size: 0.72rem;
    padding: 3px 9px;
  }
  .hero-site-tagline {
    font-size: 0.83rem;
    padding: 0 8px;
  }
  .hero-search-container {
    margin-top: 16px;
    gap: 10px;
  }
  .search-icon {
    left: 16px;
    width: 18px;
    height: 18px;
  }
  .search-shortcut-kbd {
    display: none !important;
  }
  .omni-search-input {
    height: 46px;
    font-size: 0.86rem;
    padding: 0 74px 0 42px;
  }
  .search-right-controls {
    right: 10px;
  }
  .quick-try-bar {
    gap: 6px;
  }
  .quick-chip {
    font-size: 0.73rem;
    padding: 4px 10px;
  }

  /* Instant Match Banner on mobile */
  .legacy-match-banner {
    padding: 14px;
    margin-top: 16px;
  }
  .match-item-row {
    padding: 12px 14px;
    gap: 10px;
  }
  .match-item-main {
    min-width: 0;
    width: 100%;
  }

  /* Filter & View Toolbar on mobile */
  .toolbar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .toolbar-left {
    width: 100%;
    gap: 8px;
  }
  .category-pills-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 2px;
  }
  .category-pills-group::-webkit-scrollbar {
    display: none;
  }
  .category-pill {
    flex-shrink: 0;
    padding: 6px 11px;
    font-size: 0.78rem;
  }
  .tag-filter-select {
    flex: 1;
    min-width: 140px;
  }
  .toolbar-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .toolbar-legend-pill {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px 8px;
  }
  .segmented-control {
    width: 100%;
    display: flex;
  }
  .segment-btn {
    flex: 1;
    justify-content: center;
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  /* Native Mobile Timeline View (Full-width scannable rows with inline lineage chain, zero horizontal scroll) */
  .legend-item {
    padding: 3px 7px;
    gap: 5px;
    font-size: 0.72rem;
  }
  .swimlane-scroll-container {
    overflow-x: visible;
  }
  .swimlane-header-row,
  .swimlane-track-canvas {
    display: none !important;
  }
  .swimlane-row {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .swimlane-service-col {
    width: 100%;
    min-width: 0;
    border-right: none;
    padding: 14px 16px 14px 18px;
  }
  .swimlane-mobile-chevron {
    display: inline-flex !important;
  }
  .swimlane-mobile-lineage {
    display: block !important;
    margin-top: 10px;
  }
  .swimlane-mobile-lineage .lineage-step-pill {
    font-size: 0.76rem;
    padding: 4px 9px;
  }

  /* Cards Grid on mobile */
  .evolution-card {
    padding: 16px 18px;
    gap: 12px;
  }
  .card-current-name {
    font-size: 1.05rem;
  }
}

@media (max-width: 640px) {
  .provider-soon-tag {
    display: none !important;
  }
  .provider-switcher {
    height: 34px;
    padding: 2px 3px;
    gap: 2px;
  }
  .provider-pill,
  .provider-pill[data-provider="gcp"] {
    height: 28px;
    padding: 0 10px;
    min-width: 0;
    font-size: 0.75rem;
    gap: 5px;
  }
  .btn-submit-issue {
    height: 34px;
    padding: 0 11px;
    font-size: 0.74rem;
  }

  /* Full-width Slide-Over Detail Drawer on mobile */
  .detail-drawer {
    max-width: 100%;
    width: 100%;
    border-left: none;
  }
  .drawer-header {
    padding: 14px 16px;
  }
  .drawer-body {
    padding: 18px 16px 32px;
    gap: 20px;
  }
  .drawer-service-title {
    font-size: 1.28rem;
  }
  .copy-mono-pill {
    white-space: normal;
    word-break: break-all;
    text-align: left;
  }
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toast-msg {
    text-align: center;
  }
}

@media (max-width: 440px) {
  .btn-submit-issue span {
    display: none;
  }
  .btn-submit-issue {
    width: 34px;
    padding: 0;
  }
  .provider-pill,
  .provider-pill[data-provider="gcp"] {
    padding: 0 8px;
    font-size: 0.72rem;
  }
}
