/* Case-study shell, matched to the homepage.
   Every case study renders through older layers (shell, evolution, architecture, spatial and
   per-project inline styles). This file loads last and only restyles the shell: background,
   hero, labels, buttons and panels. Content, layout and media are left alone.
   The repeated id beats the older layers' own high-specificity overrides. */

html body #pg-cs#pg-cs#pg-cs#pg-cs{
  --hero-bg:var(--ed-bg)!important;--hero-fg:#f5f5f7!important;--hero-muted:#e4e2ea!important;
  --cs-surface:#17161f;--cs-line:#ffffff14;--cs-act:var(--ed-action,#f6dc8c);--cs-act-hi:#fae7ad;--cs-act-ink:#1f1806;
}

/* One background everywhere: the homepage's near-black, no tinted panels */
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-root,.cv4-body,.do67-body,.vt-body,.vt-lane){background-color:var(--ed-bg)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-hero,.do67-hero,.vt-hero){background:var(--ed-bg)!important;border-bottom:1px solid var(--cs-line)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-learning,.cv4-summary-box,.vt-try){background:var(--cs-surface)!important;border-color:var(--cs-line)!important}

/* Labels: the homepage eyebrow, not tiny tracked capitals */
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-kicker,.do67-kicker,.vt-kicker){font:600 14px/1.4 var(--ed-sans)!important;letter-spacing:-.005em!important;text-transform:none!important;color:#e4e2ea!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv4-summary-label{color:var(--ed-accent)!important}

/* Actions: butter for the main action, a soft glass pill for the rest */
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv20-prototype-cta{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:48px!important;padding:0 22px!important;border:0!important;border-radius:999px!important;
  background:#ffffff14!important;color:#f5f5f7!important;
  font:600 15px/1 var(--ed-sans)!important;letter-spacing:-.01em!important;text-decoration:none!important;
  box-shadow:none!important;transition:background-color .3s ease,transform .5s cubic-bezier(.32,.72,0,1)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv20-prototype-cta:hover{background:#ffffff21!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-hero,.do67-hero,.vt-hero) .cv20-prototype-cta:first-of-type{background:var(--cs-act)!important;color:var(--cs-act-ink)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-hero,.do67-hero,.vt-hero) .cv20-prototype-cta:first-of-type:hover{background:var(--cs-act-hi)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv20-prototype-cta:active{transform:scale(.96)!important;transition-duration:.12s!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv20-prototype-cta *{color:inherit!important}

/* Video play controls: one butter pill instead of a different colour per project */
html body #pg-cs#pg-cs#pg-cs#pg-cs .v44-evidence-control{
  background:var(--cs-act)!important;color:var(--cs-act-ink)!important;border:0!important;border-radius:999px!important;
  box-shadow:0 6px 20px #0000003d!important;transition:background-color .3s ease,transform .5s cubic-bezier(.32,.72,0,1)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .v44-evidence-control *{color:inherit!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .v44-evidence-control:hover{background:var(--cs-act-hi)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .v44-evidence-control:active{transform:scale(.96)!important;transition-duration:.12s!important}

/* Next project card: the homepage's quiet surface and hairline */
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv4-next-link{background:var(--cs-surface)!important;border:1px solid var(--cs-line)!important;border-radius:24px!important;transition:border-color .3s ease,background-color .3s ease!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv4-next-link:hover{background:#1c1b25!important;border-color:#ffffff26!important}

/* VistARa renders its own hero (vt-*): same label, button and text colours as the rest */
html body #pg-cs#pg-cs#pg-cs#pg-cs .vt-eyebrow{font:600 14px/1.4 var(--ed-sans)!important;letter-spacing:-.005em!important;text-transform:none!important;color:#e4e2ea!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .vt-intro{color:#f5f5f7!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.vt-hero-description,.vt-hero dt,.vt-hero p){color:#e4e2ea!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .vt-link{
  display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:48px!important;padding:0 22px!important;
  border:0!important;border-radius:999px!important;background:var(--cs-act)!important;color:var(--cs-act-ink)!important;
  font:600 15px/1 var(--ed-sans)!important;letter-spacing:-.01em!important;text-decoration:none!important;
  transition:background-color .3s ease,transform .5s cubic-bezier(.32,.72,0,1)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .vt-link *{color:inherit!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .vt-link:hover{background:var(--cs-act-hi)!important}

/* SamePage's live status: a quiet glass pill with a green dot instead of a solid green block */
html body #pg-cs#pg-cs#pg-cs#pg-cs .v52-live-badge{display:inline-flex!important;align-items:center!important;gap:7px!important;background:#ffffff14!important;color:#f5f5f7!important;border:0!important;border-radius:999px!important;padding:5px 11px!important;font:600 12px/1 var(--ed-sans)!important;letter-spacing:.02em!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs .v52-live-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#5fd38d;box-shadow:0 0 0 3px #5fd38d2e}

/* The remaining warm or near-black panels move onto the same page colour and surface */
html body #pg-cs#pg-cs#pg-cs#pg-cs,html body #pg-cs#pg-cs#pg-cs#pg-cs>div{background-color:var(--ed-bg)!important}
html body #pg-cs#pg-cs#pg-cs#pg-cs :is(.cv4-prototype,.do67-surface,.do67-state-item,.vt-next>a,a.vt-next-link){background-color:var(--cs-surface)!important;border-color:var(--cs-line)!important}

/* Klariq's phone screenshots were width:auto, so they had no box until the file arrived.
   Their frame is at most 260px wide, so the 720px height cap never applies: full width is the same result. */
html body #pg-cs#pg-cs#pg-cs#pg-cs .cv4-root[data-project="klariq"] .cv7-preframed img{width:100%!important}
