/* Product page, miniature SaaS dashboard previews (real dashboard UI, static) */

.hm-page--product .hm-prod-check__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  overflow: visible;
}

.hm-page--product .hm-prod-check--flip .hm-prod-check__preview {
  justify-content: flex-start;
}

.hm-page--product .hm-prod-check:not(.hm-prod-check--flip) .hm-prod-check__preview {
  justify-content: flex-end;
}

/* Preview window, compact */
.hm-page--product .hm-saas-preview {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hm-page--product .hm-saas-preview__glow {
  position: absolute;
  inset: -10% -8%;
  background: radial-gradient(ellipse at 50% 58%, rgba(37, 99, 235, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.hm-page--product .hm-prod-check:hover .hm-saas-preview__glow {
  opacity: 1;
}

.hm-page--product .hm-saas-preview--focal .hm-saas-preview__glow {
  inset: -8% -6%;
  background: radial-gradient(ellipse at 50% 62%, rgba(59, 130, 246, 0.1) 0%, rgba(129, 140, 248, 0.05) 45%, transparent 72%);
  opacity: 0.65;
}

.hm-page--product .hm-prod-check:hover .hm-saas-preview--focal .hm-saas-preview__glow {
  opacity: 0.9;
}

.hm-page--product .hm-saas-preview__window {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.hm-page--product .hm-saas-preview__accent {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 50%, #818cf8 100%);
}

.hm-page--product .hm-saas-preview--focal .hm-saas-preview__window {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 14px 36px rgba(59, 130, 246, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.hm-page--product .hm-saas-preview--focal .hm-saas-preview__accent {
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #818cf8 50%, #c4b5fd 100%);
  opacity: 0.9;
}

.hm-page--product .hm-prod-check:hover .hm-saas-preview--focal .hm-saas-preview__window {
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.05),
    0 20px 44px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.92) inset;
}

.hm-page--product .hm-prod-check:hover .hm-saas-preview__window {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 22px 52px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.hm-page--product .hm-saas-preview__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.55rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.54rem;
}

.hm-page--product .hm-saas-preview__dots {
  display: flex;
  gap: 0.32rem;
  flex-shrink: 0;
}

.hm-page--product .hm-saas-preview__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  font-style: normal;
}

.hm-page--product .hm-saas-preview__dots i:nth-child(1) { background: #ef4444; }
.hm-page--product .hm-saas-preview__dots i:nth-child(2) { background: #eab308; }
.hm-page--product .hm-saas-preview__dots i:nth-child(3) { background: #22c55e; }

.hm-page--product .hm-saas-preview__url {
  flex: 1;
  min-width: 0;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-page--product .hm-saas-preview__live {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  font-size: 0.5rem;
  white-space: nowrap;
}

.hm-page--product .hm-saas-preview__viewport {
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #0f172a;
  --text-secondary: #64748b;
  --nexus-circ: 703.716;
  --nexus-color: #2563eb;
  --viz-brand: #2563eb;
  --viz-brand-mid: #3b82f6;
  --viz-brand-light: #60a5fa;
  --viz-brand-deep: #1d4ed8;
  --viz-bg: #f8fafc;
  --viz-tint: #eff6ff;
  --viz-surface: #ffffff;
  --viz-muted: #64748b;
  --viz-text-soft: #334155;
  --viz-line: #e2e8f0;
  --viz-soft: rgba(37, 99, 235, 0.1);
  --viz-border: rgba(37, 99, 235, 0.18);
  --viz-ok-bg: rgba(239, 246, 255, 0.95);
  --viz-ok-text: #1d4ed8;
  --viz-warn-bg: rgba(241, 245, 249, 0.98);
  --viz-warn-text: #475569;
  --viz-warn-border: rgba(100, 116, 139, 0.28);
  --viz-sev-1: #1d4ed8;
  --viz-sev-2: #2563eb;
  --viz-sev-3: #3b82f6;
  --viz-sev-4: #93c5fd;

  position: relative;
  height: 228px;
  overflow: hidden;
  padding: 0;
  font-family: "Outfit", "Poppins", system-ui, sans-serif;
  font-size: 8.75px;
  line-height: 1.45;
  color: var(--text);
  background: #eef2f7;
}

.hm-page--product .hm-saas-preview__viewport::after {
  display: none;
}

/* Focal previews - refined slate base with restrained accent color */
.hm-page--product .hm-saas-preview--focal .hm-saas-preview__viewport--focal {
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --nexus-color: #3b82f6;
  --viz-brand: #3b82f6;
  --viz-brand-mid: #60a5fa;
  --viz-brand-light: #93c5fd;
  --viz-brand-deep: #1e40af;
  --viz-bg: #f1f5f9;
  --viz-tint: #f8fafc;
  --viz-surface: #ffffff;
  --viz-muted: #64748b;
  --viz-text-soft: #334155;
  --viz-line: #e2e8f0;
  --viz-soft: rgba(59, 130, 246, 0.1);
  --viz-border: rgba(148, 163, 184, 0.28);
  --viz-ok-bg: rgba(16, 185, 129, 0.1);
  --viz-ok-text: #047857;
  --viz-warn-bg: rgba(245, 158, 11, 0.12);
  --viz-warn-text: #b45309;
  --viz-warn-border: rgba(245, 158, 11, 0.28);
  --viz-sev-1: #e11d48;
  --viz-sev-2: #f59e0b;
  --viz-sev-3: #8b5cf6;
  --viz-sev-4: #94a3b8;
  --viz-pass: #10b981;
  --viz-caution: #f59e0b;

  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 52%, #f1f5f9 100%);
}

.hm-page--product .hm-saas-preview--focal .hm-viz {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.hm-page--product .hm-saas-preview .hm-viz--focal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.hm-page--product .hm-saas-preview .hm-viz-focal__card {
  width: 100%;
  max-width: 100%;
}

.hm-page--product .hm-saas-preview--focal .hm-viz-focal__frame {
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.hm-page--product .hm-saas-preview--focal .hm-viz-focal__frame::before,
.hm-page--product .hm-saas-preview--focal .hm-viz-focal__frame::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(59, 130, 246, 0.35);
  border-style: solid;
}

.hm-page--product .hm-saas-preview--focal .hm-viz-focal__frame::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.hm-page--product .hm-saas-preview--focal .hm-viz-focal__frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

/* Uptime focal - live monitor + sparkline */
.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__monitor {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.45rem 0.5rem 0.4rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__head span {
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__head em {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.62em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--viz-ok-text);
  padding: 0.14rem 0.32rem;
  border-radius: 999px;
  background: var(--viz-ok-bg);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__head em i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--viz-pass);
  font-style: normal;
  animation: hm-saas-live-pulse 2s ease-in-out infinite;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.28rem;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__kpi {
  padding: 0.28rem 0.22rem;
  border-radius: 6px;
  text-align: center;
  background: var(--viz-soft);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__kpi strong {
  display: block;
  font-size: 1.05em;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--viz-brand-deep);
  line-height: 1.1;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__kpi strong span {
  font-size: 0.62em;
  font-weight: 800;
  color: var(--viz-brand);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__kpi em {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.58em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__spark {
  width: 100%;
  height: 28px;
  display: block;
  border-radius: 5px;
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__spark-line {
  fill: none;
  stroke: var(--viz-brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__strip {
  display: flex;
  gap: 2px;
  height: 8px;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__strip i {
  flex: 1;
  border-radius: 2px;
  font-style: normal;
  background: var(--viz-line);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__strip .is-up {
  background: linear-gradient(180deg, #34d399, #10b981);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__strip .is-slow {
  background: linear-gradient(180deg, #fcd34d, #f59e0b);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__probes {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.05rem;
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__probes span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz--uptime.hm-viz--focal .hm-viz-uptime__probes i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  font-style: normal;
  background: var(--viz-pass);
}

/* SSL focal - shield card + expiry timeline */
.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__shield {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  padding: 0.45rem 0.5rem 0.4rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__hero {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__shield-icon {
  flex-shrink: 0;
  width: 36px;
  height: 40px;
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__shield-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(37, 99, 235, 0.22));
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__hero-copy {
  min-width: 0;
  flex: 1;
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65em;
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  font-size: 0.82em;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--viz-brand-deep), var(--viz-brand));
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__domain {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chips span {
  padding: 0.12rem 0.32rem;
  border-radius: 999px;
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--viz-brand-deep);
  background: var(--viz-soft);
  border: 1px solid rgba(59, 130, 246, 0.14);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chips .is-valid {
  color: var(--viz-ok-text);
  background: var(--viz-ok-bg);
  border-color: rgba(16, 185, 129, 0.22);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__expiry {
  padding: 0.35rem 0.38rem;
  border-radius: 6px;
  background: var(--viz-soft);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__expiry-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--viz-line);
  overflow: hidden;
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__expiry-fill {
  display: block;
  height: 100%;
  width: var(--pct, 68%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--viz-brand-deep), var(--viz-brand-light));
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__expiry-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.28rem;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__expiry-meta strong {
  font-size: 1.08em;
  font-weight: 800;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chain span {
  padding: 0.16rem 0.3rem;
  border-radius: 999px;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--viz-muted);
  background: #fff;
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chain .is-leaf {
  color: var(--viz-brand-deep);
  background: var(--viz-soft);
  border-color: rgba(59, 130, 246, 0.2);
}

.hm-page--product .hm-viz--ssl.hm-viz--focal .hm-viz-ssl__chain i {
  flex: 1;
  max-width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--viz-brand-light), var(--viz-brand));
  font-style: normal;
}

/* Headers focal */
.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic {
  width: 100%;
  padding: 0.5rem;
  padding-right: 0.5rem;
  margin-top: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.15rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid var(--viz-line);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__head span {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viz-text-soft);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__head em {
  font-size: 0.68em;
  font-weight: 700;
  font-style: normal;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic span.is-pass,
.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic span.is-warn {
  min-height: 2.35em;
  font-size: 0.8em;
  position: relative;
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic .is-pass::before,
.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic .is-warn::before {
  content: "";
  position: absolute;
  top: 0.28rem;
  right: 0.28rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic .is-pass::before {
  background: var(--viz-pass);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic .is-warn::before {
  background: var(--viz-caution);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic .is-pass {
  color: var(--viz-ok-text);
  background: var(--viz-ok-bg);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.hm-page--product .hm-viz--headers.hm-viz--focal .hm-viz-headers__mosaic .is-warn {
  color: var(--viz-warn-text);
  background: var(--viz-warn-bg);
  border: 1px solid var(--viz-warn-border);
}

/* DNS focal */
.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__flow {
  width: 100%;
  padding: 0.7rem 0.55rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node--mail {
  background: linear-gradient(135deg, var(--viz-brand-deep), var(--viz-brand));
  border-color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__wire.is-ok {
  background: linear-gradient(90deg, var(--viz-brand), var(--viz-brand-light));
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__wire.is-warn {
  background: linear-gradient(90deg, var(--viz-caution), #fcd34d);
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node.is-warn {
  border-color: var(--viz-warn-border);
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node.is-ok::after,
.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node.is-warn::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 0.12rem auto 0;
  border-radius: 50%;
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node.is-ok::after {
  background: var(--viz-pass);
}

.hm-page--product .hm-viz--dns.hm-viz--focal .hm-viz-dns__node.is-warn::after {
  background: var(--viz-caution);
}

/* Exposure focal */
.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__term--mono {
  min-height: 150px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-left: 3px solid var(--viz-brand);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  color: #cbd5e1;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__bar {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.32rem 0.45rem;
  background: rgba(59, 130, 246, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
  font-style: normal;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__bar i:nth-child(1) { background: #f87171; }
.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__bar i:nth-child(2) { background: #fbbf24; }
.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__bar i:nth-child(3) { background: #34d399; }

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__bar span {
  margin-left: auto;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__prompt {
  padding: 0.35rem 0.45rem 0;
  color: #94a3b8;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__prompt span {
  color: var(--viz-brand-light);
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__log {
  padding: 0 0.45rem;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__log li {
  color: #e2e8f0;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__log .ok {
  color: #6ee7b7;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__log .warn {
  color: #fcd34d;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__summary {
  margin-top: auto;
  padding: 0.35rem 0.45rem;
  border-top-color: rgba(148, 163, 184, 0.15);
  color: #fcd34d;
}

.hm-page--product .hm-viz--exposure.hm-viz--focal .hm-viz-exposure__summary .warn {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

/* Defacement focal */
.hm-page--product .hm-viz--deface.hm-viz--focal {
  flex-direction: column;
}

.hm-page--product .hm-viz--deface.hm-viz--focal .hm-viz-deface__panel {
  position: relative;
  width: 100%;
  padding: 0.65rem 0.55rem 0.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
  overflow: hidden;
}

.hm-page--product .hm-viz--deface.hm-viz--focal .hm-viz-deface__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 2.8em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(59, 130, 246, 0.06);
  pointer-events: none;
  user-select: none;
}

.hm-page--product .hm-viz--deface.hm-viz--focal .hm-saas-nexus {
  width: 92px;
  --nexus-color: var(--viz-brand);
}

.hm-page--product .hm-viz--deface.hm-viz--focal .deface-nexus__stage {
  width: 92px;
  height: 92px;
}

.hm-page--product .hm-viz--deface.hm-viz--focal .deface-nexus__value {
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--deface.hm-viz--focal .hm-viz-deface__label {
  color: var(--viz-text-soft);
}

/* Threat intel focal */
.hm-page--product .hm-viz--csti.hm-viz--focal {
  flex-direction: column;
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 168px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.38rem 0.45rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 70%, transparent 100%);
  border-bottom: none;
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__head span {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viz-text-soft);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__head em {
  font-size: 0.64em;
  font-weight: 700;
  font-style: normal;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
  background:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse at 28% 18%, rgba(129, 140, 248, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 72% 78%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    var(--viz-tint);
  background-size: 18% 18%, 18% 18%, 100% 100%, 100% 100%, 100% 100%;
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat span {
  position: absolute;
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-critical,
.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-high,
.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-medium,
.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-low {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 10px rgba(59, 130, 246, 0.15);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-critical {
  background: var(--viz-sev-1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 12px rgba(225, 29, 72, 0.35);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-high {
  background: var(--viz-sev-2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 10px rgba(245, 158, 11, 0.3);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-medium {
  background: var(--viz-sev-3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 8px rgba(139, 92, 246, 0.28);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-low {
  background: var(--viz-sev-4);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-critical::after,
.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__heat .is-high::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: hm-saas-map-ping 2.4s ease-in-out infinite;
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__labels li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.64em;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__labels .is-critical {
  color: var(--viz-sev-1);
  border-color: rgba(225, 29, 72, 0.22);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__labels .is-high {
  color: var(--viz-sev-2);
  border-color: rgba(245, 158, 11, 0.28);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__labels .is-medium {
  color: var(--viz-sev-3);
  border-color: rgba(139, 92, 246, 0.25);
}

.hm-page--product .hm-viz--csti.hm-viz--focal .hm-viz-csti__labels .is-low { color: var(--viz-sev-4); }

/* Domain focal */
.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal {
  width: 100%;
  padding: 0.55rem 0.6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.07);
}

.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal-head span {
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal-head em {
  color: var(--viz-brand);
}

.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.2rem;
}

.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal-week i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal-grid i {
  font-size: 0.82em;
}

.hm-page--product .hm-viz--domain.hm-viz--focal .hm-viz-domain__cal-grid .is-expiry {
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--viz-brand-deep), var(--viz-brand));
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.hm-page--product .hm-viz-csti__labels {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Mini app shell */
.hm-page--product .hm-saas-app {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hm-page--product .hm-saas-app__topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.88em;
  flex-shrink: 0;
}

.hm-page--product .hm-saas-app__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.hm-page--product .hm-saas-app__brand i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  font-style: normal;
}

.hm-page--product .hm-saas-app__crumb {
  flex: 1;
  min-width: 0;
  font-size: 0.82em;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-page--product .hm-saas-app__avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0;
  flex-shrink: 0;
}

.hm-page--product .hm-saas-app__body {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.hm-page--product .hm-saas-app__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  width: 22px;
  padding: 0.4rem 0.2rem;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  flex-shrink: 0;
}

.hm-page--product .hm-saas-app__rail i {
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  font-style: normal;
}

.hm-page--product .hm-saas-app__rail i.is-active {
  width: 14px;
  background: #3b82f6;
}

.hm-page--product .hm-saas-app__content {
  flex: 1;
  min-width: 0;
  padding: 0.5rem;
  background: #f8fafc;
  display: flex;
  align-items: stretch;
}

/* Compact snapshot card */
.hm-page--product .hm-saas-preview .hm-saas-snap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  padding: 0.5rem;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hm-page--product .hm-saas-preview .hm-saas-snap__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
}

.hm-page--product .hm-saas-preview .hm-saas-snap__kicker {
  margin: 0 0 0.1rem;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.hm-page--product .hm-saas-preview .hm-saas-snap__title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.hm-page--product .hm-saas-preview .hm-saas-snap__note {
  margin: 0;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 600;
  background: rgba(254, 243, 199, 0.55);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #92400e;
}

.hm-page--product .hm-saas-preview .hm-saas-snap__gauge-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: center;
}

.hm-page--product .hm-saas-preview__viewport::-webkit-scrollbar {
  display: none;
}

/* ─── Shared dashboard components (miniature) ─── */
.hm-page--product .hm-saas-preview .panel-card {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  padding: 0.85rem;
  margin: 0;
}

.hm-page--product .hm-saas-preview .panel-card.full-width,
.hm-page--product .hm-saas-preview .hm-saas-panel {
  width: 100%;
}

.hm-page--product .hm-saas-preview .panel-title {
  margin: 0 0 0.75rem;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hm-page--product .hm-saas-preview .check-summary-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.65rem;
  margin-bottom: 0.55rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(191, 219, 254, 0.55);
}

.hm-page--product .hm-saas-preview .check-summary-card h2 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hm-page--product .hm-saas-preview .meta-sup {
  margin: 0;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.hm-page--product .hm-saas-preview .muted {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.55;
}

.hm-page--product .hm-saas-preview .check-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.hm-page--product .hm-saas-preview .tag-badge,
.hm-page--product .hm-saas-preview .status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-page--product .hm-saas-preview .tag-badge.green,
.hm-page--product .hm-saas-preview .status-pill.green {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
}

.hm-page--product .hm-saas-preview .tag-badge.yellow,
.hm-page--product .hm-saas-preview .status-pill.yellow,
.hm-page--product .hm-saas-preview .status-pill.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.hm-page--product .hm-saas-preview .tag-badge.red,
.hm-page--product .hm-saas-preview .status-pill.red,
.hm-page--product .hm-saas-preview .status-pill.critical {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

.hm-page--product .hm-saas-preview .check-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.hm-page--product .hm-saas-preview .check-card:last-child {
  margin-bottom: 0;
}

.hm-page--product .hm-saas-preview .check-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.hm-page--product .hm-saas-preview .check-card-header h3 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 700;
}

.hm-page--product .hm-saas-preview .check-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92em;
}

.hm-page--product .hm-saas-preview .check-section {
  display: grid;
  gap: 0.2rem;
}

.hm-page--product .hm-saas-preview .check-section.two-columns {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.hm-page--product .hm-saas-preview .check-section p {
  margin: 0;
  line-height: 1.5;
}

.hm-page--product .hm-saas-preview .section-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .expiry-value {
  font-size: 1.35em;
  font-weight: 700;
  color: var(--brand-strong);
}

.hm-page--product .hm-saas-preview .hm-saas-code,
.hm-page--product .hm-saas-preview code {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 5px;
  background: #f3f4f6;
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  word-break: break-all;
}

/* Headers module */
.hm-page--product .hm-saas-preview .header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.hm-page--product .hm-saas-preview .header-section h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95em;
  font-weight: 700;
}

.hm-page--product .hm-saas-preview .header-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.35rem 0.45rem;
  margin-bottom: 0.3rem;
  border-radius: 7px;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.12);
  font-size: 0.92em;
}

.hm-page--product .hm-saas-preview .header-chip.missing {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.12);
}

.hm-page--product .hm-saas-preview .header-chip strong {
  font-weight: 700;
}

/* DNS module */
.hm-page--product .hm-saas-preview .record-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.hm-page--product .hm-saas-preview .record-card {
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.hm-page--product .hm-saas-preview .record-card--ok {
  background: rgba(220, 252, 231, 0.85);
  border-left-color: var(--success);
}

.hm-page--product .hm-saas-preview .record-card--ok h4,
.hm-page--product .hm-saas-preview .record-card--ok p {
  color: #166534;
}

.hm-page--product .hm-saas-preview .record-card--fail {
  background: rgba(254, 226, 226, 0.85);
  border-left-color: var(--danger);
}

.hm-page--product .hm-saas-preview .record-card--fail h4,
.hm-page--product .hm-saas-preview .record-card--fail p {
  color: #991b1b;
}

.hm-page--product .hm-saas-preview .record-card h4 {
  margin: 0;
  font-size: 0.95em;
  font-weight: 700;
}

.hm-page--product .hm-saas-preview .record-card p {
  margin: 0.15rem 0 0;
  font-size: 0.88em;
}

.hm-page--product .hm-saas-preview .callout-warning {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 251, 235, 0.95);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #92400e;
}

.hm-page--product .hm-saas-preview .issue-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.92em;
  line-height: 1.5;
}

/* Exposure scan grid */
.hm-page--product .hm-saas-preview .hm-saas-scan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hm-page--product .hm-saas-preview .hm-saas-scan-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.28rem 0.35rem;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.hm-page--product .hm-saas-preview .hm-saas-scan-grid code {
  padding: 0;
  background: none;
  font-size: 0.85em;
}

/* ─── Defacement dashboard (premium) ─── */
.hm-page--product .hm-saas-preview .deface-dash {
  display: grid;
  gap: 0.45rem;
}

.hm-page--product .hm-saas-preview .deface-dash__hero {
  position: relative;
  padding: 0.65rem !important;
  overflow: hidden;
}

.hm-page--product .hm-saas-preview .deface-dash__hero[data-tier="excellent"] {
  --nexus-color: #16a34a;
}

.hm-page--product .hm-saas-preview .deface-dash__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 50%, rgba(22, 163, 74, 0.08) 0%, transparent 52%);
  pointer-events: none;
}

.hm-page--product .hm-saas-preview .deface-dash__hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.hm-page--product .hm-saas-preview .deface-dash__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.hm-page--product .hm-saas-preview .deface-dash__hero-title {
  margin: 0;
  font-size: 1.35em;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hm-page--product .hm-saas-preview .deface-dash__hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
}

.hm-page--product .hm-saas-preview .deface-dash__status-badge {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hm-page--product .hm-saas-preview .deface-dash__status-badge--healthy {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
}

.hm-page--product .hm-saas-preview .deface-dash__scan-time {
  margin: 0.35rem 0 0;
  font-size: 0.9em;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .deface-dash__kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.hm-page--product .hm-saas-preview .deface-dash__kpi {
  padding: 0.32rem 0.35rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.hm-page--product .hm-saas-preview .deface-dash__kpi-label {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .deface-dash__kpi-value {
  font-size: 1.05em;
  font-weight: 800;
  color: var(--text);
}

.hm-page--product .hm-saas-preview .deface-dash__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.hm-page--product .hm-saas-preview .deface-dash__section-title {
  margin: 0;
  font-size: 1.05em;
  font-weight: 700;
}

.hm-page--product .hm-saas-preview .deface-dash__badge--monitoring {
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.hm-page--product .hm-saas-preview .deface-dash__overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.hm-page--product .hm-saas-preview .deface-dash__overview-stat {
  text-align: center;
  padding: 0.35rem;
  border-radius: 7px;
  background: #f8fafc;
}

.hm-page--product .hm-saas-preview .deface-dash__overview-value {
  display: block;
  font-size: 1.35em;
  font-weight: 800;
}

.hm-page--product .hm-saas-preview .deface-dash__overview-value--success {
  color: var(--success);
}

.hm-page--product .hm-saas-preview .deface-dash__overview-value--warning {
  color: var(--warning);
}

.hm-page--product .hm-saas-preview .deface-dash__overview-label {
  display: block;
  font-size: 0.72em;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.hm-page--product .hm-saas-preview .deface-dash__progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.88em;
  margin-bottom: 0.25rem;
}

.hm-page--product .hm-saas-preview .deface-dash__progress-track {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.hm-page--product .hm-saas-preview .deface-dash__progress-fill--brand {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
}

/* Nexus gauge (static) */
.hm-page--product .hm-saas-preview .hm-saas-nexus {
  --nexus-color: var(--viz-brand, #2563eb);
  width: 64px;
}

.hm-page--product .hm-saas-preview .hm-saas-nexus[data-tier="warning"] {
  --nexus-color: var(--viz-brand-mid, #3b82f6);
}

.hm-page--product .hm-saas-preview .deface-nexus__stage {
  position: relative;
  width: 64px;
  height: 64px;
}

.hm-page--product .hm-saas-preview .deface-nexus__svg {
  width: 100%;
  height: 100%;
}

.hm-page--product .hm-saas-preview .deface-nexus__track {
  stroke: #e2e8f0;
}

.hm-page--product .hm-saas-preview .deface-nexus__progress {
  stroke: var(--nexus-color);
  stroke-dasharray: 703.716;
}

.hm-page--product .hm-saas-preview .deface-nexus__disc {
  fill: #fff;
}

.hm-page--product .hm-saas-preview .deface-nexus__core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hm-page--product .hm-saas-preview .deface-nexus__value-row {
  display: flex;
  align-items: baseline;
  gap: 0.05rem;
  line-height: 1;
}

.hm-page--product .hm-saas-preview .deface-nexus__value {
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hm-page--product .hm-saas-preview .deface-nexus__unit {
  font-size: 0.85em;
  font-weight: 700;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .deface-nexus__label {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

/* ─── Threat intel dashboard (premium) ─── */
.hm-page--product .hm-saas-preview .csti-dash {
  display: grid;
  gap: 0.45rem;
}

.hm-page--product .hm-saas-preview .csti-dash__hero {
  position: relative;
  padding: 0.65rem !important;
}

.hm-page--product .hm-saas-preview .csti-dash__hero[data-tier="elevated"] {
  --nexus-color: #f59e0b;
}

.hm-page--product .hm-saas-preview .csti-dash__hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.hm-page--product .hm-saas-preview .csti-dash__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.hm-page--product .hm-saas-preview .csti-dash__hero-title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hm-page--product .hm-saas-preview .csti-dash__hero-desc {
  margin: 0.25rem 0 0;
  font-size: 0.88em;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hm-page--product .hm-saas-preview .csti-dash__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68em;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.hm-page--product .hm-saas-preview .csti-dash__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

.hm-page--product .hm-saas-preview .csti-penalty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.hm-page--product .hm-saas-preview .csti-penalty-card {
  padding: 0.32rem 0.35rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.hm-page--product .hm-saas-preview .csti-penalty-card__label {
  display: block;
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .csti-penalty-card__value {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.05em;
  font-weight: 800;
}

.hm-page--product .hm-saas-preview .csti-penalty-card--critical {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.04);
}

.hm-page--product .hm-saas-preview .csti-penalty-card--critical .csti-penalty-card__value {
  color: var(--danger);
}

.hm-page--product .hm-saas-preview .csti-penalty-card--high {
  border-color: rgba(249, 115, 22, 0.2);
  background: rgba(249, 115, 22, 0.04);
}

.hm-page--product .hm-saas-preview .csti-penalty-card--high .csti-penalty-card__value {
  color: #c2410c;
}

.hm-page--product .hm-saas-preview .csti-penalty-card--medium .csti-penalty-card__value {
  color: #a16207;
}

.hm-page--product .hm-saas-preview .csti-dash__kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.hm-page--product .hm-saas-preview .csti-dash__kpi {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.hm-page--product .hm-saas-preview .csti-dash__kpi-label {
  display: block;
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .csti-dash__kpi-value {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.2em;
  font-weight: 800;
}

.hm-page--product .hm-saas-preview .csti-dash__kpi--critical .csti-dash__kpi-value {
  color: var(--danger);
}

.hm-page--product .hm-saas-preview .hm-saas-feed {
  display: grid;
  gap: 0.3rem;
}

.hm-page--product .hm-saas-preview .csti-feed-card {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 0.35rem;
  align-items: center;
  padding: 0.32rem 0.38rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85em;
}

.hm-page--product .hm-saas-preview .csti-feed-card strong {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.hm-page--product .hm-saas-preview .csti-feed-card span:last-child {
  color: var(--text-secondary);
  font-size: 0.9em;
}

.hm-page--product .hm-saas-preview .csti-feed-card__stripe {
  width: 3px;
  height: 100%;
  min-height: 28px;
  border-radius: 2px;
}

.hm-page--product .hm-saas-preview .csti-feed-card--critical .csti-feed-card__stripe {
  background: var(--danger);
}

.hm-page--product .hm-saas-preview .csti-feed-card--high .csti-feed-card__stripe {
  background: #f97316;
}

/* ─── Rich viz components ─── */
.hm-page--product .hm-saas-preview .hm-saas-viz {
  padding: 0.55rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hm-page--product .hm-saas-preview .hm-saas-viz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-sparkline {
  position: relative;
  height: 36px;
  margin-bottom: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  overflow: hidden;
}

.hm-page--product .hm-saas-preview .hm-saas-sparkline__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 100% 25%, 20% 100%;
  opacity: 0.6;
}

.hm-page--product .hm-saas-preview .hm-saas-sparkline__area {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.02) 100%);
  clip-path: polygon(
    0% 72%, 7% 58%, 14% 64%, 21% 44%, 28% 52%, 35% 38%, 42% 46%,
    49% 32%, 56% 40%, 63% 28%, 70% 36%, 77% 24%, 84% 32%, 91% 22%, 100% 28%,
    100% 100%, 0% 100%
  );
  animation: hm-saas-spark-pulse 4s ease-in-out infinite;
}

.hm-page--product .hm-saas-preview .hm-saas-sparkline__line {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 52' preserveAspectRatio='none'%3E%3Cpolyline fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' points='0,37 14,30 28,33 42,23 56,27 70,20 84,24 98,17 112,21 126,15 140,19 154,13 168,17 182,11 200,15'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0.95;
}

.hm-page--product .hm-saas-preview .hm-saas-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.hm-page--product .hm-saas-preview .hm-saas-stat-row > div {
  padding: 0.28rem 0.32rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hm-page--product .hm-saas-preview .hm-saas-stat-row em {
  display: block;
  font-size: 0.72em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.15rem;
}

.hm-page--product .hm-saas-preview .hm-saas-stat-row strong {
  display: block;
  font-size: 1.2em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hm-page--product .hm-saas-preview .hm-saas-stat-row strong span {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-stat-row .is-ok { color: var(--success); }
.hm-page--product .hm-saas-preview .hm-saas-stat-row .is-warn { color: #b45309; }

.hm-page--product .hm-saas-preview .hm-saas-probe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.hm-page--product .hm-saas-preview .hm-saas-probe-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 600;
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.hm-page--product .hm-saas-preview .hm-saas-probe-row span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  font-style: normal;
  animation: hm-saas-live-pulse 2s ease-in-out infinite;
}

.hm-page--product .hm-saas-preview .hm-saas-hero-strip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.6) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.hm-page--product .hm-saas-preview .hm-saas-grade-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 1.15em;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
  flex-shrink: 0;
}

.hm-page--product .hm-saas-preview .hm-saas-hero-strip__title {
  margin: 0.1rem 0 0.2rem;
  font-size: 1.25em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hm-page--product .hm-saas-preview .hm-saas-hero-strip > div {
  flex: 1;
  min-width: 0;
}

.hm-page--product .hm-saas-preview .hm-saas-meter-block {
  margin-bottom: 0;
}

.hm-page--product .hm-saas-preview .hm-saas-meter {
  height: 5px;
}

.hm-page--product .hm-saas-preview .hm-saas-chain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.32rem 0.4rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-chain span.is-active {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-strong);
}

.hm-page--product .hm-saas-preview .hm-saas-snap .muted {
  margin: 0.1rem 0 0;
  font-size: 0.88em;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-meter-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
  font-size: 0.88em;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-meter-block__head strong {
  color: var(--text);
  font-weight: 800;
}

.hm-page--product .hm-saas-preview .hm-saas-meter {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.hm-page--product .hm-saas-preview .hm-saas-meter span {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  animation: hm-saas-meter-grow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hm-page--product .hm-saas-preview .hm-saas-meter.is-warn span {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.hm-page--product .hm-saas-preview .hm-saas-score-layout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
}

.hm-page--product .hm-saas-preview .hm-saas-score-ring {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(#4f46e5 0deg 313deg, #e2e8f0 313deg 360deg);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.18);
}

.hm-page--product .hm-saas-preview .hm-saas-score-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.hm-page--product .hm-saas-preview .hm-saas-score-ring__val {
  position: relative;
  z-index: 1;
  font-size: 1.25em;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #4f46e5;
  line-height: 1;
}

.hm-page--product .hm-saas-preview .hm-saas-score-ring__lbl {
  position: relative;
  z-index: 1;
  font-size: 0.62em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-score-layout__copy h2 {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.2em;
  font-weight: 800;
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0;
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list > span {
  display: grid;
  grid-template-columns: 3.5em 1fr auto;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88em;
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list em {
  font-style: normal;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.9em;
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
  font-style: normal;
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list i.is-warn::after {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list b {
  width: 16px;
  text-align: center;
  font-size: 0.9em;
}

.hm-page--product .hm-saas-preview .hm-saas-bar-list b.is-ok { color: var(--success); }
.hm-page--product .hm-saas-preview .hm-saas-bar-list b.is-warn { color: #b45309; }

.hm-page--product .hm-saas-preview .hm-saas-checklist {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}

.hm-page--product .hm-saas-preview .hm-saas-checklist span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9em;
  font-weight: 500;
}

.hm-page--product .hm-saas-preview .hm-saas-checklist span i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-style: normal;
  flex-shrink: 0;
  position: relative;
}

.hm-page--product .hm-saas-preview .hm-saas-checklist .is-ok i {
  background: rgba(22, 163, 74, 0.15);
  border: 1.5px solid var(--success);
}

.hm-page--product .hm-saas-preview .hm-saas-checklist .is-ok i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid var(--success);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.hm-page--product .hm-saas-preview .hm-saas-checklist .is-warn i {
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid var(--warning);
}

.hm-page--product .hm-saas-preview .hm-saas-checklist .is-warn {
  color: #92400e;
}

.hm-page--product .hm-saas-preview .hm-saas-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.38rem 0.45rem;
  margin-bottom: 0;
  border-radius: 7px;
  font-size: 0.88em;
}

.hm-page--product .hm-saas-preview .hm-saas-alert-banner.is-warn {
  background: rgba(255, 251, 235, 0.95);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #92400e;
}

.hm-page--product .hm-saas-preview .hm-saas-alert-banner strong {
  font-weight: 800;
}

.hm-page--product .hm-saas-preview .hm-saas-split-viz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.hm-page--product .hm-saas-preview .hm-saas-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.hm-page--product .hm-saas-preview .hm-saas-donut {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(#16a34a 0deg 306deg, #e2e8f0 306deg 360deg);
  position: relative;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.hm-page--product .hm-saas-preview .hm-saas-donut__hole {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}

.hm-page--product .hm-saas-preview .hm-saas-donut-legend {
  display: grid;
  gap: 0.2rem;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--text-secondary);
}

.hm-page--product .hm-saas-preview .hm-saas-donut-legend span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hm-page--product .hm-saas-preview .hm-saas-donut-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  font-style: normal;
}

.hm-page--product .hm-saas-preview .hm-saas-donut-legend i.is-ok { background: var(--success); }
.hm-page--product .hm-saas-preview .hm-saas-donut-legend i.is-warn { background: var(--warning); }

.hm-page--product .hm-saas-preview .hm-saas-map {
  position: relative;
  min-height: 72px;
  border-radius: 9px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  overflow: hidden;
  border: 1px solid #334155;
}

.hm-page--product .hm-saas-preview .hm-saas-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 25% 25%;
}

.hm-page--product .hm-saas-preview .hm-saas-map__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: hm-saas-map-ping 2.5s ease-in-out infinite;
}

.hm-page--product .hm-saas-preview .hm-saas-map__dot.is-critical {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
}

.hm-page--product .hm-saas-preview .hm-saas-map__dot.is-high {
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35);
  animation-delay: 0.6s;
}

.hm-page--product .hm-saas-preview .hm-saas-map__dot.is-medium {
  background: var(--warning);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
  animation-delay: 1.2s;
}

.hm-page--product .hm-saas-preview .csti-feed-card__body {
  display: grid;
  gap: 0.1rem;
}

.hm-page--product .hm-saas-preview .hm-saas-countdown-banner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  margin-bottom: 0;
  border-radius: 0;
  background: none;
  border: none;
}

.hm-page--product .hm-saas-preview .hm-saas-countdown-banner__ring {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(#f59e0b 0deg 65deg, #fde68a 65deg 360deg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-page--product .hm-saas-preview .hm-saas-countdown-banner__ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.hm-page--product .hm-saas-preview .hm-saas-countdown-banner__val {
  position: relative;
  z-index: 1;
  font-size: 1.35em;
  font-weight: 900;
  color: #b45309;
  line-height: 1;
}

.hm-page--product .hm-saas-preview .hm-saas-milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin-bottom: 0;
}

.hm-page--product .hm-saas-preview .hm-saas-milestones span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.25rem 0.2rem;
  border-radius: 5px;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--text-secondary);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hm-page--product .hm-saas-preview .hm-saas-milestones span.is-done {
  color: #166534;
  background: rgba(220, 252, 231, 0.5);
  border-color: rgba(22, 163, 74, 0.2);
}

.hm-page--product .hm-saas-preview .hm-saas-milestones span.is-active {
  color: #b45309;
  background: rgba(254, 243, 199, 0.6);
  border-color: rgba(251, 191, 36, 0.35);
}

.hm-page--product .hm-saas-preview .hm-saas-milestones span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  font-style: normal;
  flex-shrink: 0;
}

.hm-page--product .hm-saas-preview .deface-nexus__ring--ghost {
  stroke: rgba(148, 163, 184, 0.15);
  stroke-width: 1;
}

@keyframes hm-saas-spark-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes hm-saas-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes hm-saas-meter-grow {
  from { width: 0; }
}

@keyframes hm-saas-map-ping {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.35); opacity: 0.7; }
}

/* ─── Unique module illustrations (unified Kosmonel theme) ─── */
.hm-page--product .hm-saas-app__content--uptime,
.hm-page--product .hm-saas-app__content--ssl,
.hm-page--product .hm-saas-app__content--headers,
.hm-page--product .hm-saas-app__content--dns_security,
.hm-page--product .hm-saas-app__content--sensitive_data,
.hm-page--product .hm-saas-app__content--defacement,
.hm-page--product .hm-saas-app__content--client_threat_intel,
.hm-page--product .hm-saas-app__content--domain_expiry {
  background: linear-gradient(165deg, var(--viz-tint) 0%, var(--viz-bg) 100%);
}

.hm-page--product .hm-saas-preview .hm-viz {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hm-page--product .hm-saas-preview .hm-viz-surface {
  padding: 0.42rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.06);
}

.hm-page--product .hm-saas-preview .hm-viz-label {
  margin: 0;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--viz-brand-deep);
}

/* Uptime, pulse monitor + probe lanes */
.hm-page--product .hm-viz--uptime { gap: 0.32rem; }

.hm-page--product .hm-viz-uptime__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  padding: 0.22rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viz-brand-deep);
  background: var(--viz-soft);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-uptime__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--viz-brand-mid);
  font-style: normal;
  animation: hm-saas-live-pulse 2s ease-in-out infinite;
}

.hm-page--product .hm-viz-uptime__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.25rem 0;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-uptime__arc {
  position: absolute;
  width: 76px;
  height: 38px;
  overflow: hidden;
}

.hm-page--product .hm-viz-uptime__arc span {
  display: block;
  position: relative;
  width: 76px;
  height: 38px;
  background:
    conic-gradient(from 270deg at 50% 100%, var(--viz-brand) 0deg, var(--viz-brand-light) 135deg, var(--viz-line) 135deg 180deg, transparent 180deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 27px, #000 28px);
  mask: radial-gradient(circle at 50% 100%, transparent 27px, #000 28px);
}

.hm-page--product .hm-viz-uptime__metric {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hm-page--product .hm-viz-uptime__metric strong {
  display: block;
  font-size: 2em;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--viz-brand-deep);
  line-height: 1;
}

.hm-page--product .hm-viz-uptime__metric strong span {
  font-size: 0.55em;
  font-weight: 800;
  color: var(--viz-brand-mid);
}

.hm-page--product .hm-viz-uptime__metric em {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-uptime__lanes {
  display: grid;
  gap: 0.22rem;
  padding: 0.38rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-uptime__lanes span {
  display: grid;
  grid-template-columns: 3.2em 1fr 2.2em;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82em;
}

.hm-page--product .hm-viz-uptime__lanes b {
  font-weight: 700;
  color: var(--viz-text-soft);
}

.hm-page--product .hm-viz-uptime__lanes i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--viz-line);
  position: relative;
  overflow: hidden;
  font-style: normal;
}

.hm-page--product .hm-viz-uptime__lanes i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--viz-brand), var(--viz-brand-light));
}

.hm-page--product .hm-viz-uptime__lanes em {
  text-align: right;
  font-style: normal;
  font-weight: 600;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-uptime__chart {
  height: 30px;
  margin-top: auto;
  border-radius: 6px;
  border: 1px solid var(--viz-border);
}

/* SSL, certificate document */
.hm-page--product .hm-viz--ssl { gap: 0.35rem; }

.hm-page--product .hm-viz-ssl__doc {
  position: relative;
  flex: 1;
  padding: 0.55rem 0.6rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--viz-surface) 0%, var(--viz-tint) 100%);
  border: 1.5px solid var(--viz-border);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  text-align: center;
}

.hm-page--product .hm-viz-ssl__doc::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--viz-border);
  border-radius: 5px;
  pointer-events: none;
}

.hm-page--product .hm-viz-ssl__seal {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--viz-brand), var(--viz-brand-light));
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.hm-page--product .hm-viz-ssl__lock {
  width: 18px;
  height: 20px;
  margin: 0 auto 0.25rem;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, var(--viz-brand-light), var(--viz-brand));
  position: relative;
}

.hm-page--product .hm-viz-ssl__lock::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 10px;
  border: 3px solid var(--viz-brand);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.hm-page--product .hm-viz-ssl__issuer {
  margin: 0;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-ssl__domain {
  margin: 0.12rem 0;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-ssl__proto {
  margin: 0 0 0.35rem;
  font-size: 0.78em;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-ssl__stack {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  text-align: left;
}

.hm-page--product .hm-viz-ssl__stack span {
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  font-size: 0.72em;
  font-weight: 600;
  border-left: 3px solid var(--viz-line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-ssl__stack .is-leaf {
  border-left-color: var(--viz-brand);
  color: var(--viz-ok-text);
  background: var(--viz-ok-bg);
}

.hm-page--product .hm-viz-ssl__timeline {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  font-size: 0.7em;
  font-weight: 700;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-ssl__timeline span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}

.hm-page--product .hm-viz-ssl__timeline i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--viz-line);
  font-style: normal;
}

.hm-page--product .hm-viz-ssl__timeline .is-past i { background: var(--viz-brand-light); }
.hm-page--product .hm-viz-ssl__timeline .is-now { color: var(--viz-brand-deep); }
.hm-page--product .hm-viz-ssl__timeline .is-now i {
  background: var(--viz-brand);
  box-shadow: 0 0 0 3px var(--viz-soft);
}

/* Headers, security mosaic grid */
.hm-page--product .hm-viz--headers {
  position: relative;
  padding-top: 0;
}

.hm-page--product .hm-viz--headers .hm-viz-label {
  padding-right: 48px;
}

.hm-page--product .hm-viz-headers__score {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35em;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--viz-brand-deep), var(--viz-brand-mid));
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

.hm-page--product .hm-viz-headers__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.28rem;
  padding-right: 48px;
  margin-top: 0.15rem;
}

.hm-page--product .hm-viz-headers__mosaic span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 7px;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.hm-page--product .hm-viz-headers__mosaic .is-pass {
  color: var(--viz-ok-text);
  background: var(--viz-ok-bg);
  border-color: var(--viz-border);
}

.hm-page--product .hm-viz-headers__mosaic .is-warn {
  color: var(--viz-warn-text);
  background: var(--viz-warn-bg);
  border-color: var(--viz-warn-border);
}

.hm-page--product .hm-viz-headers__legend {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-headers__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hm-page--product .hm-viz-headers__legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  font-style: normal;
}

.hm-page--product .hm-viz-headers__legend i.is-pass { background: var(--viz-brand); }
.hm-page--product .hm-viz-headers__legend i.is-warn { background: var(--viz-muted); }

/* DNS, authentication pipeline */
.hm-page--product .hm-viz--dns { gap: 0.35rem; }

.hm-page--product .hm-viz-dns__flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
  padding: 0.35rem 0.25rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-dns__node {
  padding: 0.28rem 0.35rem;
  border-radius: 6px;
  font-size: 0.72em;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  background: var(--viz-ok-bg);
  color: var(--viz-ok-text);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-dns__node--mail {
  background: var(--viz-brand);
  color: #fff;
  border-color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-dns__node.is-ok {
  background: var(--viz-ok-bg);
  color: var(--viz-ok-text);
  border-color: var(--viz-border);
}

.hm-page--product .hm-viz-dns__node.is-warn {
  background: var(--viz-warn-bg);
  color: var(--viz-warn-text);
  border-color: var(--viz-warn-border);
}

.hm-page--product .hm-viz-dns__wire {
  flex: 1;
  height: 2px;
  min-width: 6px;
  border-radius: 999px;
  background: var(--viz-line);
  font-style: normal;
  position: relative;
}

.hm-page--product .hm-viz-dns__wire.is-ok { background: linear-gradient(90deg, var(--viz-brand), var(--viz-brand-light)); }
.hm-page--product .hm-viz-dns__wire.is-warn { background: linear-gradient(90deg, var(--viz-muted), var(--viz-line)); }

.hm-page--product .hm-viz-dns__records {
  display: grid;
  gap: 0.22rem;
}

.hm-page--product .hm-viz-dns__records code {
  display: block;
  padding: 0.28rem 0.38rem;
  border-radius: 5px;
  font-family: ui-monospace, monospace;
  font-size: 0.72em;
  color: var(--viz-brand-deep);
  background: var(--viz-ok-bg);
  border: 1px solid var(--viz-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-page--product .hm-viz-dns__alert {
  margin: 0;
  margin-top: auto;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--viz-warn-text);
  background: var(--viz-warn-bg);
  border: 1px solid var(--viz-warn-border);
}

/* Exposure, scan inspector panel */
.hm-page--product .hm-viz--exposure {
  padding: 0;
  gap: 0;
}

.hm-page--product .hm-viz-exposure__term {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
  border-left: 3px solid var(--viz-brand);
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.06);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.hm-page--product .hm-viz-exposure__prompt {
  margin: 0 0 0.35rem;
  font-size: 0.78em;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-exposure__prompt span {
  color: var(--viz-brand);
  font-weight: 700;
}

.hm-page--product .hm-viz-exposure__log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.18rem;
  flex: 1;
}

.hm-page--product .hm-viz-exposure__log li {
  font-size: 0.78em;
  color: var(--viz-text-soft);
}

.hm-page--product .hm-viz-exposure__log .ok {
  color: var(--viz-brand-deep);
  font-weight: 700;
}

.hm-page--product .hm-viz-exposure__log .warn {
  color: var(--viz-warn-text);
  font-weight: 700;
}

.hm-page--product .hm-viz-exposure__summary {
  margin: 0.35rem 0 0;
  padding-top: 0.3rem;
  border-top: 1px solid var(--viz-line);
  font-size: 0.75em;
  font-weight: 600;
  color: var(--viz-warn-text);
}

.hm-page--product .hm-viz-exposure__summary .warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-right: 0.2rem;
  border-radius: 3px;
  background: var(--viz-warn-bg);
  border: 1px solid var(--viz-warn-border);
  color: var(--viz-warn-text);
  font-weight: 800;
}

/* Defacement, fingerprint + integrity panel */
.hm-page--product .hm-viz--deface {
  flex-direction: row;
  gap: 0.4rem;
  align-items: stretch;
}

.hm-page--product .hm-viz--deface .hm-saas-nexus {
  --nexus-color: var(--viz-brand);
}

.hm-page--product .hm-viz-deface__fp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 52px;
  flex-shrink: 0;
  padding: 0.35rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-deface__fp span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: #dbeafe;
}

.hm-page--product .hm-viz-deface__fp span:nth-child(3n) { background: #bfdbfe; }
.hm-page--product .hm-viz-deface__fp span:nth-child(5n) { background: #93c5fd; }
.hm-page--product .hm-viz-deface__fp span:nth-child(7n) { background: #eff6ff; }

.hm-page--product .hm-viz-deface__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-deface__label {
  margin: 0;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-deface__compare {
  display: flex;
  gap: 0.3rem;
  width: 100%;
}

.hm-page--product .hm-viz-deface__compare span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border-radius: 5px;
  font-size: 0.68em;
  font-weight: 700;
}

.hm-page--product .hm-viz-deface__compare i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  font-style: normal;
}

.hm-page--product .hm-viz-deface__compare .is-ref {
  background: var(--viz-warn-bg);
  color: var(--viz-muted);
  border: 1px solid var(--viz-line);
}

.hm-page--product .hm-viz-deface__compare .is-ref i { background: var(--viz-muted); }

.hm-page--product .hm-viz-deface__compare .is-match {
  background: var(--viz-ok-bg);
  color: var(--viz-ok-text);
  border: 1px solid var(--viz-border);
}

.hm-page--product .hm-viz-deface__compare .is-match i { background: var(--viz-brand); }

/* Threat intel, SOC heatmap panel */
.hm-page--product .hm-viz--csti {
  flex-direction: row;
  gap: 0.35rem;
  color: var(--viz-text-soft);
}

.hm-page--product .hm-viz-csti__heat {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--viz-surface) 0%, var(--viz-tint) 100%);
  background-size: 20% 20%, 20% 20%, 100% 100%;
  border: 1px solid var(--viz-border);
  overflow: hidden;
}

.hm-page--product .hm-viz-csti__heat span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hm-page--product .hm-viz-csti__heat .is-critical {
  width: 12px;
  height: 12px;
  background: var(--viz-sev-1);
  box-shadow: 0 0 12px rgba(29, 78, 216, 0.45);
  animation: hm-saas-map-ping 2.2s ease-in-out infinite;
}

.hm-page--product .hm-viz-csti__heat .is-high {
  width: 10px;
  height: 10px;
  background: var(--viz-sev-2);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  animation: hm-saas-map-ping 2.2s ease-in-out infinite 0.5s;
}

.hm-page--product .hm-viz-csti__heat .is-medium {
  width: 8px;
  height: 8px;
  background: var(--viz-sev-3);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}

.hm-page--product .hm-viz-csti__heat .is-low {
  width: 6px;
  height: 6px;
  background: var(--viz-sev-4);
  opacity: 0.85;
}

.hm-page--product .hm-viz-csti__soc {
  width: 48%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hm-page--product .hm-viz-csti__score {
  padding: 0.35rem 0.4rem;
  border-radius: 7px;
  background: var(--viz-ok-bg);
  border: 1px solid var(--viz-border);
  text-align: center;
}

.hm-page--product .hm-viz-csti__score strong {
  display: block;
  font-size: 1.65em;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--viz-brand-deep);
  line-height: 1;
}

.hm-page--product .hm-viz-csti__score em {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-csti__ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
  flex: 1;
}

.hm-page--product .hm-viz-csti__ladder li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.35rem;
  border-radius: 5px;
  font-size: 0.72em;
  font-weight: 600;
  border-left: 3px solid transparent;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
  border-left-width: 3px;
}

.hm-page--product .hm-viz-csti__ladder b {
  min-width: 1.1em;
  font-weight: 900;
}

.hm-page--product .hm-viz-csti__ladder .is-critical {
  border-left-color: var(--viz-sev-1);
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-csti__ladder .is-high {
  border-left-color: var(--viz-sev-2);
  color: var(--viz-brand);
}

.hm-page--product .hm-viz-csti__ladder .is-medium {
  border-left-color: var(--viz-sev-3);
  color: var(--viz-brand-mid);
}

/* Domain expiry, calendar + alert track */
.hm-page--product .hm-viz--domain { gap: 0.32rem; }

.hm-page--product .hm-viz-domain__cal {
  padding: 0.4rem;
  border-radius: 8px;
  background: var(--viz-surface);
  border: 1px solid var(--viz-border);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}

.hm-page--product .hm-viz-domain__cal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.hm-page--product .hm-viz-domain__cal-head span {
  font-size: 0.88em;
  font-weight: 800;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-domain__cal-head em {
  font-size: 0.72em;
  font-weight: 700;
  font-style: normal;
  color: var(--viz-brand);
}

.hm-page--product .hm-viz-domain__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.hm-page--product .hm-viz-domain__cal-grid i {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 3px;
  font-size: 0.65em;
  font-weight: 700;
  font-style: normal;
  color: var(--viz-line);
  background: var(--viz-bg);
}

.hm-page--product .hm-viz-domain__cal-grid i:not(:empty) {
  color: var(--viz-muted);
}

.hm-page--product .hm-viz-domain__cal-grid .is-expiry {
  color: #fff;
  background: linear-gradient(135deg, var(--viz-brand-deep), var(--viz-brand-mid));
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.hm-page--product .hm-viz-domain__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.15rem;
}

.hm-page--product .hm-viz-domain__track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 5px;
  height: 3px;
  border-radius: 999px;
  background: var(--viz-line);
}

.hm-page--product .hm-viz-domain__track span {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--viz-line);
  border: 2px solid var(--viz-surface);
  box-shadow: 0 0 0 1px var(--viz-line);
}

.hm-page--product .hm-viz-domain__track .is-done {
  background: var(--viz-brand-light);
  box-shadow: 0 0 0 1px var(--viz-border);
}

.hm-page--product .hm-viz-domain__track .is-active {
  background: var(--viz-brand);
  box-shadow: 0 0 0 1px var(--viz-border), 0 0 0 4px var(--viz-soft);
  transform: scale(1.15);
}

.hm-page--product .hm-viz-domain__track label {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  display: flex;
  justify-content: space-between;
  padding: 0 0.05rem;
  font-size: 0.65em;
  font-weight: 700;
  color: var(--viz-brand-deep);
}

.hm-page--product .hm-viz-domain__meta {
  margin: 0;
  margin-top: auto;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--viz-muted);
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hm-page--product .hm-saas-preview {
    max-width: 100%;
  }

  .hm-page--product .hm-prod-check:hover .hm-saas-preview__window {
    transform: none;
  }

  .hm-page--product .hm-saas-preview__viewport {
    height: 210px;
  }

  .hm-page--product .hm-saas-preview .hm-viz--deface,
  .hm-page--product .hm-saas-preview .hm-viz--csti {
    flex-direction: column;
  }

  .hm-page--product .hm-viz-csti__soc {
    width: 100%;
  }

  .hm-page--product .hm-viz-csti__heat {
    min-height: 72px;
  }

  .hm-page--product .hm-saas-preview .header-grid {
    grid-template-columns: 1fr;
  }

  .hm-page--product .hm-saas-preview .record-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-page--product .hm-prod-check:hover .hm-saas-preview__window {
    transform: none;
  }

  .hm-page--product .hm-saas-preview .hm-saas-sparkline__area,
  .hm-page--product .hm-saas-preview .hm-viz-uptime__live i,
  .hm-page--product .hm-saas-preview .hm-viz-csti__heat span,
  .hm-page--product .hm-saas-preview .hm-saas-meter span {
    animation: none;
  }
}
