/* CiCC-DOE & Virtual Catapult Lab v1.2.0 — Studio Glassmorphism & Precision Lab UI */
html body.cicc-product-dark-page.cicc-doe-app-page,
html[data-theme="light"] body.cicc-product-dark-page.cicc-doe-app-page,
html[data-theme="dark"] body.cicc-product-dark-page.cicc-doe-app-page {
  background: #070510 !important;
  color: #f8fafc !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
}

.cdoe-page-wrap {
  padding-top: 68px;
  min-height: 100vh;
  overflow-x: clip;
  color: #f8fafc;
  background-color: #070510;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, 0.16) 0%, transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(14, 165, 233, 0.12) 0%, transparent 36%),
    radial-gradient(rgba(167, 139, 250, 0.11) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

.cdoe-bar {
  position: sticky;
  top: 104px;
  z-index: 880;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
  background: rgba(14, 10, 30, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(139, 92, 246, 0.34);
  padding: 9px clamp(14px, 3vw, 48px) 10px;
  display: block;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
body:has(#site-header.header-hidden) .cdoe-bar,
body.cdoe-header-hidden .cdoe-bar {
  top: 36px !important;
}
.cdoe-bar-inner {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cdoe-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cdoe-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.cdoe-brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 60%, #0ea5e9 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.cdoe-brand-text strong {
  display: block;
  font-size: 14px;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.cdoe-brand-text span {
  display: block;
  font-size: 10.5px;
  color: #c4b5fd !important;
  white-space: nowrap;
}

.cdoe-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.cdoe-tab-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(24, 18, 51, 0.72);
  color: #cbd5e1 !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 8px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cdoe-tab-btn:hover {
  border-color: #a78bfa;
  color: #ffffff !important;
  background: rgba(139, 92, 246, 0.22);
  transform: translateY(-1px);
}
.cdoe-tab-btn.is-active {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border-color: #c4b5fd;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cdoe-bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cdoe-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(24, 18, 51, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #ddd6fe !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.cdoe-bar-link:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.2);
  color: #ffffff !important;
}

.cdoe-container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 24px clamp(14px, 3vw, 48px) 96px;
  box-sizing: border-box;
}
.cdoe-container *,
.cdoe-container *::before,
.cdoe-container *::after {
  box-sizing: border-box;
}

.cdoe-hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(139, 92, 246, 0.26), transparent 55%),
    radial-gradient(circle at 88% 80%, rgba(14, 165, 233, 0.16), transparent 50%),
    linear-gradient(160deg, rgba(22, 16, 46, 0.96) 0%, rgba(12, 9, 26, 0.98) 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 22px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-width: 0;
  max-width: 100%;
}
html body.cicc-product-dark-page .site-main .cdoe-hero-strip h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 85%, #7dd3fc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
html body.cicc-product-dark-page .site-main .cdoe-hero-strip p {
  font-size: 13.5px;
  color: #cbd5e1 !important;
  margin: 0;
}

.cdoe-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cdoe-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #3c2b75;
  background: rgba(24, 18, 51, 0.9);
  color: #ede9fe !important;
  white-space: nowrap;
}
.cdoe-pill.acc { background: rgba(139, 92, 246, 0.22); border-color: #8b5cf6; color: #ddd6fe !important; }
.cdoe-pill.green { background: rgba(16, 185, 129, 0.18); border-color: rgba(16, 185, 129, 0.5); color: #34d399 !important; }
.cdoe-pill.amber { background: rgba(245, 158, 11, 0.18); border-color: rgba(251, 191, 36, 0.5); color: #fbbf24 !important; }
.cdoe-pill.rose { background: rgba(244, 63, 94, 0.22); border-color: rgba(251, 113, 133, 0.52); color: #fda4af !important; }
.cdoe-pulse-pill {
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

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

.cdoe-panel {
  display: none;
}
.cdoe-panel.is-active {
  display: block;
  animation: cdoeFadeUp 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.cdoe-grid-catapult {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.cdoe-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cdoe-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cdoe-grid-catapult > *,
.cdoe-grid-2 > *,
.cdoe-grid-3 > *,
.cdoe-kpi-grid > *,
.cdoe-kpi-grid-4 > * {
  min-width: 0;
}
.cdoe-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.cdoe-kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cdoe-card {
  background: linear-gradient(165deg, rgba(24, 18, 51, 0.92) 0%, rgba(14, 10, 30, 0.96) 100%) !important;
  border: 1px solid rgba(167, 139, 250, 0.22) !important;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  min-width: 0;
  max-width: 100%;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.cdoe-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
html body.cicc-product-dark-page .site-main .cdoe-card-head h2,
html body.cicc-product-dark-page .site-main .cdoe-card-head h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
}

.cdoe-kpi-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(20, 15, 42, 0.95), rgba(11, 8, 24, 0.98));
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 13px;
  padding: 13px 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cdoe-kpi-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #38bdf8);
}
.cdoe-kpi-grid > :nth-child(2)::before,
.cdoe-kpi-grid-4 > :nth-child(2)::before {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}
.cdoe-kpi-grid > :nth-child(3)::before,
.cdoe-kpi-grid-4 > :nth-child(3)::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.cdoe-kpi-grid > :nth-child(4)::before,
.cdoe-kpi-grid-4 > :nth-child(4)::before {
  background: linear-gradient(90deg, #f43f5e, #fb7185);
}
.cdoe-kpi-grid > :nth-child(5)::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.cdoe-kpi-box:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.45);
}
.cdoe-kpi-box small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #c4b5fd !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cdoe-kpi-box strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff !important;
  margin: 4px 0 2px;
  font-variant-numeric: tabular-nums;
}
.cdoe-kpi-box span {
  font-size: 11.5px;
  color: #94a3b8 !important;
}

.cdoe-canvas-box {
  background: #06040d;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: inset 0 0 32px rgba(139, 92, 246, 0.08);
}
.cdoe-canvas-box canvas {
  display: block;
  width: 100%;
  height: auto;
}

.cdoe-slider-row {
  background: rgba(13, 10, 28, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 10px;
  transition: border-color 0.18s ease;
}
.cdoe-slider-row:hover {
  border-color: rgba(167, 139, 250, 0.45);
}
.cdoe-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.cdoe-factor-lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-weight: 700;
}
.cdoe-fchip {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 900;
  color: #ffffff !important;
  flex-shrink: 0;
}
.cdoe-fchip-A { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.cdoe-fchip-B { background: linear-gradient(135deg, #f59e0b, #d97706); }
.cdoe-fchip-C { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.cdoe-fchip-D { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.cdoe-fchip-E { background: linear-gradient(135deg, #10b981, #059669); }

.cdoe-slider-val {
  font-family: monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #ddd6fe !important;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12.5px;
}

.cdoe-slider-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6 0%, #38bdf8 var(--pct, 50%), #241b47 var(--pct, 50%), #241b47 100%);
  outline: none;
  cursor: pointer;
}
.cdoe-slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.28), 0 3px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.14s ease;
}
.cdoe-slider-row input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.14);
}
.cdoe-slider-row input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.28);
  cursor: pointer;
}

.cdoe-quick-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.cdoe-mini-btn {
  appearance: none;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(24, 18, 51, 0.9);
  color: #cbd5e1 !important;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.cdoe-mini-btn:hover {
  border-color: #8b5cf6;
  color: #ffffff !important;
  background: rgba(139, 92, 246, 0.2);
}
.cdoe-mini-btn.is-selected {
  border-color: #a78bfa;
  background: rgba(139, 92, 246, 0.28);
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.cdoe-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.cdoe-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #c4b5fd !important;
  margin-bottom: 4px;
}
.cdoe-field select,
.cdoe-field input[type="number"],
.cdoe-field input[type="text"] {
  width: 100%;
  background: #090614 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(167, 139, 250, 0.28) !important;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.cdoe-field select:focus,
.cdoe-field input:focus {
  outline: none;
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.cdoe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.cdoe-btn {
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(24, 18, 51, 0.92);
  color: #f8fafc !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.cdoe-btn:hover {
  border-color: #a78bfa;
  background: rgba(139, 92, 246, 0.24);
  transform: translateY(-1px);
}
.cdoe-btn:active {
  transform: translateY(0);
}
.cdoe-btn.primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border-color: #c4b5fd;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.cdoe-btn.primary:hover {
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.58);
}
.cdoe-btn.emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #6ee7b7;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.cdoe-btn.danger {
  border-color: rgba(244, 63, 94, 0.45);
  color: #fda4af !important;
}
.cdoe-btn.danger:hover {
  background: rgba(244, 63, 94, 0.18);
  border-color: #fb7185;
}

.cdoe-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 12px;
  background: rgba(10, 7, 20, 0.9);
}
.cdoe-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
html body.cicc-product-dark-page .site-main .cdoe-table th {
  background: rgba(28, 20, 60, 0.96) !important;
  color: #c4b5fd !important;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.26) !important;
  white-space: nowrap;
}
html body.cicc-product-dark-page .site-main .cdoe-table td {
  background: transparent !important;
  color: #e2e8f0 !important;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.cdoe-table tbody tr:hover td {
  background: rgba(139, 92, 246, 0.08) !important;
}
.cdoe-y-input {
  width: 92px;
  background: #06040d !important;
  color: #34d399 !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  border-radius: 7px;
  padding: 5px 8px;
  font-family: monospace;
  font-weight: 700;
  font-size: 12.5px;
}

.cdoe-eq-box {
  background: linear-gradient(135deg, rgba(16, 12, 34, 0.96), rgba(9, 7, 20, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-left: 4px solid #8b5cf6;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: monospace;
  font-size: 13px;
  color: #ede9fe !important;
  margin-bottom: 16px;
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cdoe-gauge-wrap {
  background: rgba(10, 7, 20, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.cdoe-gauge-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd !important;
  margin-bottom: 8px;
}
.cdoe-gauge-track {
  height: 10px;
  border-radius: 999px;
  background: #1d153b;
  overflow: hidden;
}
.cdoe-gauge-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f43f5e 0%, #f59e0b 45%, #10b981 100%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cdoe-conf-banner {
  border-radius: 11px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(24, 18, 51, 0.7);
  color: #cbd5e1 !important;
}
.cdoe-conf-banner.is-pass {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7 !important;
}
.cdoe-conf-banner.is-warn {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a !important;
}

.cdoe-lab-card {
  background: linear-gradient(165deg, rgba(24, 18, 51, 0.94), rgba(14, 10, 30, 0.98));
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cdoe-lab-card:hover {
  transform: translateY(-3px);
  border-color: #8b5cf6;
}
.cdoe-lab-card h3 {
  margin: 0;
  font-size: 16.5px;
  color: #ffffff !important;
}
.cdoe-lab-card p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1 !important;
  flex: 1;
}

.cdoe-toast {
  position: fixed;
  top: 168px;
  right: 24px;
  z-index: 950;
  background: rgba(16, 12, 34, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #8b5cf6;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.cdoe-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}
.cdoe-toast.is-green { border-color: #34d399; color: #6ee7b7 !important; }
.cdoe-toast.is-amber { border-color: #fbbf24; color: #fde68a !important; }

.cdoe-footer-note {
  margin-top: 24px;
  background: rgba(16, 12, 34, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 12.5px;
  color: #94a3b8 !important;
}

/* Tab 6: Case Studies & Tab 7: Guide */
.cdoe-case-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(24, 18, 51, 0.95) 0%, rgba(13, 9, 28, 0.98) 100%);
  border: 1px solid rgba(167, 139, 250, 0.26);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cdoe-case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #0ea5e9, #10b981);
}
.cdoe-case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.55);
}
.cdoe-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
html body.cicc-product-dark-page .site-main .cdoe-case-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff !important;
}
.cdoe-case-card p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1 !important;
}
.cdoe-case-factors {
  background: rgba(9, 7, 20, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 12.2px;
  color: #ddd6fe !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.cdoe-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 2px;
}

.cdoe-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.cdoe-step-card {
  background: rgba(11, 8, 24, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 13px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cdoe-step-num {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.24);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #ddd6fe !important;
}
html body.cicc-product-dark-page .site-main .cdoe-step-card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff !important;
}
.cdoe-step-card p {
  margin: 0;
  font-size: 12.3px;
  color: #94a3b8 !important;
  flex: 1;
}
.cdoe-step-card .cdoe-btn {
  padding: 7px 11px;
  font-size: 12px;
  justify-content: center;
}

.cdoe-guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cdoe-guide-list li {
  background: rgba(10, 7, 20, 0.78);
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12.8px;
  color: #e2e8f0 !important;
}
.cdoe-guide-list li strong {
  color: #c4b5fd !important;
}

@media (max-width: 1180px) {
  .cdoe-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .cdoe-tab-btn {
    width: auto;
    flex: 1 1 auto;
    padding: 7px 11px;
  }
}

@media (max-width: 1024px) {
  .cdoe-grid-catapult,
  .cdoe-grid-2,
  .cdoe-grid-3 {
    grid-template-columns: 1fr;
  }
  .cdoe-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cdoe-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cdoe-kpi-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cdoe-bar {
    padding: 8px 12px 9px;
  }
  .cdoe-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cdoe-bar {
    position: relative;
    top: 0 !important;
    padding: 10px 12px;
  }
  body:has(#site-header.header-hidden) .cdoe-bar,
  body.cdoe-header-hidden .cdoe-bar {
    top: 0 !important;
  }
  .cdoe-bar-top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cdoe-brand-text span {
    white-space: normal;
  }
  .cdoe-bar-links {
    display: flex;
    width: 100%;
    gap: 6px;
  }
  .cdoe-bar-link {
    flex: 1 1 0;
    justify-content: center;
    font-size: 11.5px;
    padding: 6px 8px;
  }
  .cdoe-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 7px;
  }
  .cdoe-tab-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    font-size: 11.5px;
    padding: 7px 8px;
  }
  .cdoe-step-grid {
    grid-template-columns: 1fr;
  }
  .cdoe-container {
    padding: 16px 12px 84px;
  }
  html body.cicc-product-dark-page .site-main .cdoe-hero-strip h1 {
    font-size: 20px;
  }
  .cdoe-toast {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 78px;
  }
}
