/* VisionChat. Laden na de huidige homepage- en mediumkiezerstijlen. */
#mediums.section-shell.section-space {
  padding-block: clamp(2.1rem, 4.6vw, 4.45rem);
}

#mediums > .section-heading {
  align-items: end;
  gap: clamp(1rem, 3.7vw, 3.5rem);
  margin-block-end: clamp(1.15rem, 2.5vw, 2rem);
}

#mediums > .section-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-block: 0 .65rem;
  color: #664b72;
  font-size: .73rem;
  line-height: 1.4;
  letter-spacing: .16em;
}

#mediums > .section-heading .eyebrow::before {
  content: "";
  width: 1.45rem;
  height: 1px;
  flex: 0 0 auto;
  background: #a8793c;
}

#mediums #mediums-title {
  margin: 0;
  color: #302139;
  font-size: clamp(2.15rem, 4.3vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

#mediums .section-heading-aside {
  padding-block-end: .12rem;
  color: #5f5267;
}

#mediums .section-heading-aside p {
  margin-block: 0 .78rem;
  color: #5f5267;
}

#mediums .section-heading-aside .text-link {
  color: #56366c;
  text-decoration-color: #bd975e;
}

#mediums .vc-kiezer-kader {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e6dae7;
  border-radius: 1.3rem;
  background: #fbf7fb;
  box-shadow: 0 .85rem 2.4rem rgba(64, 37, 76, .09);
}

#mediums #vc-kiezer {
  display: block;
  width: 100%;
  height: clamp(550px, 72vh, 690px);
  height: clamp(550px, 72svh, 690px);
  border: 0;
}

/* De app deelt dezelfde stylesheet met de homepage, ook binnen het iframe. */
#market-shell.market {
  --vc-parel: #fffdfb;
  --vc-lavendel: #f5eef7;
  --vc-papier: #fbf7fb;
  --vc-inkt: #33223c;
  --vc-lijn: #e9dfeb;
  --vc-goud: #9b6f37;
  --vc-maanlicht: url("visionchat-maanlicht.webp");
}

#market-shell .market-grid {
  outline: 1px solid #e8dce8;
  background: var(--vc-parel);
  box-shadow: 0 .85rem 2.1rem rgba(61, 38, 74, .10);
}

html.ingesloten:has(#market-shell),
html.ingesloten:has(#market-shell) body {
  margin: 0;
  background: #fbf7fb;
}

html.ingesloten #market-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-width: none;
}

html.ingesloten #market-shell .masthead,
html.ingesloten #market-shell .hero-content [data-act="highlight"],
html.ingesloten #market-shell .market-footer[data-preview] {
  display: none;
}

html.ingesloten #market-shell .market-grid {
  margin: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
}

#market-shell .inbox {
  background: var(--vc-parel);
  border-color: var(--vc-lijn);
}

#market-shell .inbox-top {
  position: relative;
  isolation: isolate;
  padding: 1.15rem 1.1rem .85rem;
  background:
    radial-gradient(ellipse at 95% 4%, #efe3f4 0%, transparent 66%),
    linear-gradient(180deg, #fbf6fb 0%, #fffdfb 100%);
  border-bottom: 1px solid #eee5ee;
}

#market-shell .market-title {
  gap: .5rem;
  margin: .15rem 0 .86rem;
}

#market-shell .market-title h1 {
  margin: 0;
  color: var(--vc-inkt);
  font-size: clamp(1.93rem, 3.05vw, 2.38rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

#market-shell .market-title > span {
  color: #654e70;
  font-size: .72rem;
  white-space: nowrap;
}

#market-shell .search {
  min-height: 43px;
  background: #faf5fb;
  border: 1px solid #e9deed;
  border-radius: .72rem;
  color: #654b72;
}

#market-shell .search input::placeholder {
  color: #66586d;
}

#market-shell .filter {
  min-height: 36px;
  border: 1px solid #e9dfea;
  border-radius: .6rem;
  background: #fffcfe;
  color: #5c4568;
  text-decoration: none;
}

#market-shell .filter[aria-pressed="true"] {
  border-color: #dac8e3;
  background: #eadef0;
  color: #472954;
}

#market-shell .filter:hover,
#market-shell .filter[aria-pressed="true"]:hover {
  background: #e9dced;
}

#market-shell .inbox-items {
  padding-block-start: .4rem;
  scrollbar-color: #cec0d3 transparent;
  scrollbar-width: thin;
}

#market-shell .contact-row {
  min-height: 62px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  border-radius: .74rem;
  color: var(--vc-inkt);
  transition: background-color .16s ease, border-color .16s ease;
}

#market-shell .contact-row > img,
#market-shell .contact-row > .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  outline: 1px solid #c8a16a5c;
  outline-offset: 1px;
}

#market-shell .contact-row small {
  color: #62536b;
}

#market-shell .contact-row:hover {
  border-color: #eee1ed;
  background-color: #faf3f8;
}

#market-shell .contact-row[aria-current="true"] {
  border-color: #e1cfeb;
  background-color: #f0e6f5;
}

#market-shell .market-chat {
  background:
    radial-gradient(ellipse at 92% 2%, #f2e7f6 0%, transparent 70%),
    #faf6fa;
}

#market-shell .market-welcome {
  gap: .8rem;
  padding: clamp(.85rem, 1.9vw, 1.55rem);
}

#market-shell .market-hero {
  isolation: isolate;
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(1.3rem, 3.4vw, 3.7rem);
  border: 1px solid #e3d2e2;
  border-radius: 1.05rem;
  background: #faf5f5;
  color: var(--vc-inkt);
  box-shadow: 0 .55rem 1.25rem rgba(83, 53, 92, .075);
}

#market-shell .market-hero::before {
  background:
    linear-gradient(90deg, #faf5f5 0%, #faf5f5 23%, #faf5f5e8 38%, #faf5f55e 54%, transparent 76%),
    var(--vc-maanlicht) 88% 50% / cover no-repeat;
}

#market-shell .market-hero::after {
  inset: 0 0 0 43%;
  background: radial-gradient(ellipse at 61% 59%, #fff1cb8c 0%, transparent 59%);
  opacity: .31;
  animation: vc-maanlicht-gloed 3.9s ease-out both;
}

#market-shell .market-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: min(59%, 26rem);
  color: var(--vc-inkt);
}

#market-shell .market-hero .hero-content > img {
  width: 2.1rem;
  height: 2.5rem;
  margin-block-end: .82rem;
}

#market-shell .market-hero .hero-content h2 {
  margin: 0;
  color: #35233f;
  font-size: clamp(1.85rem, 4.05vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  text-shadow: none;
}

#market-shell .market-hero .hero-content p {
  max-width: 19rem;
  margin: 1rem 0 0;
  color: #5b4964;
  font-size: clamp(.89rem, 1.37vw, 1.04rem);
  line-height: 1.54;
}

#market-shell .market-hero .hero-content .action {
  margin-block-start: 1.25rem;
}

#market-shell .market-intro-services {
  padding: .52rem .25rem;
  border: 1px solid #e9ddeb;
  border-radius: .85rem;
  background: #fffcfe;
}

#market-shell .market-intro-services > span {
  min-height: 42px;
  color: #563961;
  border-color: #eee2ef;
}

#market-shell .market-intro-services .icon {
  color: #926630;
}

#market-shell .market-conversation .chat-header {
  background: #fffafd;
  border-color: var(--vc-lijn);
  color: var(--vc-inkt);
}

#market-shell .market-services {
  background: #faf2fa;
  border-color: var(--vc-lijn);
}

#market-shell .vc-paneel {
  background:
    radial-gradient(ellipse at 91% 1%, #f2e8f6 0%, transparent 67%),
    #fffdfc;
}

#market-shell .vc-paneel .vc-kop img {
  outline: 1px solid #bc92566b;
  outline-offset: 2px;
}

#market-shell .vc-paneel .vc-tag {
  background-color: #f3e9f5;
  color: #594162;
}

#market-shell .vc-paneel .vc-dienst {
  background-color: #fffdff;
  border-color: #e8ddea;
}

#market-shell .vc-paneel .vc-dienst:hover {
  background-color: #f8f0f9;
  border-color: #ccb6d3;
}

#market-shell .chat-stream {
  background:
    radial-gradient(ellipse at 87% 5%, #faf4ede8 0%, transparent 62%),
    #f2ebf6;
}

@keyframes vc-maanlicht-gloed {
  0% { opacity: .13; transform: translateX(-.75rem); }
  48% { opacity: .58; }
  100% { opacity: .31; transform: translateX(0); }
}

@media (max-width: 715px) {
  #mediums.section-shell.section-space {
    padding-block: 1.7rem 2.1rem;
  }

  #mediums > .section-heading {
    gap: .7rem;
    margin-block-end: .95rem;
  }

  #mediums > .section-heading .eyebrow {
    gap: .45rem;
    margin-block-end: .48rem;
    font-size: .6rem;
    letter-spacing: .13em;
  }

  #mediums > .section-heading .eyebrow::before {
    width: 1rem;
  }

  #mediums #mediums-title {
    font-size: clamp(1.82rem, 6.9vw, 2.45rem);
    letter-spacing: -.05em;
  }

  #mediums .section-heading-aside .text-link {
    font-size: .84rem;
  }

  #mediums .vc-kiezer-kader {
    border-radius: 1.05rem;
  }

  #mediums #vc-kiezer {
    height: clamp(510px, 72vh, 630px);
    height: clamp(510px, 72svh, 630px);
  }

  #market-shell .inbox-top {
    padding: 1rem .8rem .65rem;
  }

  #market-shell .inbox-top::before,
  #market-shell .inbox-top::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto 42%;
    height: 88px;
    pointer-events: none;
  }

  #market-shell .inbox-top::before {
    background:
      linear-gradient(90deg, #fbf6fb 0%, #fbf6fb75 37%, transparent 61%),
      var(--vc-maanlicht) 83% 52% / cover no-repeat;
    mask-image: linear-gradient(180deg, #000 60%, transparent);
  }

  #market-shell .inbox-top::after {
    background: radial-gradient(ellipse at 70% 50%, #fae5ad73 0%, transparent 62%);
    animation: vc-maanlicht-gloed 3.9s ease-out both;
  }

  #market-shell .market-title {
    display: grid;
    align-content: start;
    gap: .13rem;
    min-height: 53px;
    margin: 0 0 .66rem;
  }

  #market-shell .contact-row {
    min-height: 62px;
    gap: .57rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #market-shell .market-hero::after,
  #market-shell .inbox-top::after {
    animation: none;
    opacity: .31;
  }

  #market-shell .contact-row {
    transition: none;
  }
}

