/* Ochtendpad comps — intro chrome; art sized to fill the viewport like a slide */

body.ix-body--comp {
  /* Match Lieven slide ground (#f5f5f5) so the blue road composition sits flush */
  background: #f5f5f5;
  min-height: 100vh;
  min-height: 100dvh;
}

.ix-comp {
  /* Fill remaining viewport under sticky header */
  min-height: calc(100dvh - var(--ix-header, 4.1rem));
  padding: calc(var(--ix-header, 4.1rem) + 1.35rem) 0.75rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.ix-comp-shell {
  /* Prefer filling available height/width at 16:9 (2000×1125) — road stays edge-true */
  --comp-ar: 2000 / 1125;
  --comp-max-h: calc(100dvh - var(--ix-header, 4.1rem) - 3.5rem);
  width: min(100%, calc(var(--comp-max-h) * var(--comp-ar)));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ix-comp-note {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.3rem;
  background: rgba(7, 19, 28, 0.06);
  color: var(--ix-ink-soft, #143042);
  font-size: 0.86rem;
  text-align: center;
}

.ix-comp-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--comp-ar, 2000 / 1125);
  background: #f5f5f5;
  overflow: hidden;
}

.ix-comp-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* never crop the road / icons */
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

/* Taller comps (e.g. Smart Forecasting / Dag Context): scroll instead of shrinking */
body.ix-body--comp.ix-comp-tall .ix-comp,
.ix-comp:has(.ix-comp-shell--tall) {
  min-height: auto;
  align-items: flex-start;
}

body.ix-body--comp.ix-comp-tall .ix-comp-shell,
.ix-comp-shell--tall {
  --comp-ar: 2220 / 1637;
  width: min(100%, 1100px);
  max-width: 100%;
}

body.ix-body--comp.ix-comp-tall .ix-comp-stage,
.ix-comp-shell--tall .ix-comp-stage {
  aspect-ratio: var(--comp-ar);
  height: auto;
}

body.ix-body--comp.ix-comp-tall .ix-comp-art,
.ix-comp-shell--tall .ix-comp-art {
  height: auto;
  max-height: none;
}

.vf-page--tall .ix-comp-stage {
  --comp-ar: 2220 / 1637;
  aspect-ratio: var(--comp-ar);
  width: min(100%, 1100px);
  margin-inline: auto;
  height: auto;
}
.vf-page--tall .ix-comp-art {
  height: auto;
}

/* Hotspots — invisible hit targets over locked art */
.syr-v2__hot {
  position: absolute;
  display: block;
  z-index: 2;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}
.syr-v2__hot:focus-visible {
  outline: 3px solid var(--ix-aqua, #2f8fad);
  outline-offset: 2px;
  text-indent: 0;
  color: transparent;
}

/* Live copy patches over locked Lieven comps (keeps PNG art intact) */
.syr-v2__copy-patch {
  position: absolute;
  z-index: 3;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #1f1f1f;
  font-family: var(--ix-display, "Space Grotesk", sans-serif);
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}
.syr-v2__copy-patch p {
  margin: 0;
}
.syr-v2__copy-patch--p03-b1 {
  left: 10.9%;
  top: 30.6%;
  width: 26%;
  height: 23.5%;
  padding: 0.15em 0.2em 0.35em;
  font-size: clamp(0.62rem, 1.15vw, 0.95rem);
}
.syr-v2__copy-patch--p05-b3 {
  left: 10.2%;
  top: 72.6%;
  width: 26.2%;
  height: 12.2%;
  padding: 0.2em 0.25em 0.4em;
  font-size: clamp(0.62rem, 1.15vw, 0.95rem);
}

/* Smart Forecasting — clean card over baked art + ghost strip */
/* Covers only the dark artifact tucked under the card’s left edge */
.syr-v2__sf-ghost-mask {
  position: absolute;
  z-index: 2;
  left: 57.4%;
  top: 13%;
  width: 2.2%;
  height: 56%;
  background: #fff;
  pointer-events: none;
}
/* Extra plate covers original card shadow / title bleed on the right */
.syr-v2__sf-card-plate {
  position: absolute;
  z-index: 2;
  left: 57.6%;
  top: 12%;
  width: 40.6%;
  height: 59%;
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 8px 24px rgba(7, 19, 28, 0.1);
  pointer-events: none;
}
.syr-v2__sf-card {
  position: absolute;
  z-index: 3;
  left: 58%;
  top: 12.6%;
  width: 39.4%;
  height: 57.6%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.2em 1.15em 1.05em 1.05em;
  background: #fff;
  border-radius: 0.9em;
  box-shadow: 0 10px 28px rgba(7, 19, 28, 0.14);
  color: #1c1c1c;
  font-family: var(--ix-display, "Space Grotesk", sans-serif);
  pointer-events: none;
  overflow: hidden;
}
.syr-v2__sf-card__title {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0.45em 0.85em;
  background: #0f5c5a;
  color: #fff;
  font-size: clamp(0.7rem, 1.35vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 0 0.85em 0 0.65em;
  line-height: 1.2;
}
.syr-v2__sf-card__list {
  list-style: none;
  margin: 2.4em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05em;
  counter-reset: sf;
}
.syr-v2__sf-card__list li {
  position: relative;
  margin: 0;
  padding-left: 2.35em;
  font-size: clamp(0.62rem, 1.2vw, 0.98rem);
  font-weight: 600;
  line-height: 1.35;
  counter-increment: sf;
}
.syr-v2__sf-card__list li::before {
  content: counter(sf);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: #0f5c5a;
  color: #fff;
  font-size: 0.92em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ix-comp-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0 0;
}
.ix-comp-pager--sticky {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0));
  background: rgba(245, 245, 245, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(7, 19, 28, 0.08);
  box-shadow: 0 -6px 18px rgba(7, 19, 28, 0.06);
}
.ix-comp-pager a {
  min-width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--ix-display, "Space Grotesk", sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ix-ink-soft, #143042);
  border: 1px solid rgba(7, 19, 28, 0.12);
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.92);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ix-comp-pager a:hover {
  border-color: var(--ix-aqua-deep, #176a84);
  color: var(--ix-aqua-deep, #176a84);
}
.ix-comp-pager a[aria-current="page"] {
  background: var(--ix-aqua, #2f8fad);
  border-color: var(--ix-aqua, #2f8fad);
  color: #fff;
}
.ix-comp-pager__step {
  min-width: 2.6rem !important;
  padding: 0 0.45rem;
  font-size: 0.78rem !important;
}

/* Visitor-flow embedded stages also go wider */
.vf-pages .vf-page,
.vf-pages .ix-comp-stage {
  width: min(100%, calc((100dvh - 8rem) * 2000 / 1125), 1400px);
}
.vf-pages .vf-page {
  margin-inline: auto;
}
.vf-pages .ix-comp-stage {
  width: 100%;
}

.syr-v2__chrome-bakery {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.syr-v2__chrome-bakery img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0a0a0a;
}
.syr-v2__chrome-bakery.is-disabled,
.syr-v2__chrome-lang .is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 720px) {
  .ix-comp {
    padding-inline: 0.4rem;
  }
}
