@media (min-width: 768px) {
  body.thream-intention-v4 { background:#f4f7fb; }
  body.thream-intention-v4 #root > div { background:#f4f7fb!important; }

  /* Collapsible desktop navigation — preserve the existing collapse control and behavior. */
  body.thream-intention-v4 #root aside:first-of-type {
    background:#061a36!important;
    border-right-color:#123358!important;
    color:#eaf4ff;
    box-shadow:18px 0 48px rgba(3,20,43,.08);
  }
  body.thream-intention-v4 #root aside:first-of-type > button {
    background:#0d2d55!important;
    border-color:#25466a!important;
    color:#d9ecff!important;
  }
  body.thream-intention-v4 #root aside:first-of-type nav button {
    color:#c7d7eb!important;
    border:1px solid transparent;
  }
  body.thream-intention-v4 #root aside:first-of-type nav button:hover {
    background:#0d2d55!important;
    color:#fff!important;
  }
  body.thream-intention-v4 #root aside:first-of-type nav button[class*="bg-[#155eef]"] {
    background:#1264f6!important;
    color:#fff!important;
    box-shadow:0 12px 26px rgba(18,100,246,.26);
  }
  body.thream-intention-v4 #root aside:first-of-type > div,
  body.thream-intention-v4 #root aside:first-of-type [class*="border-slate-100"] { border-color:#173a60!important; }
  body.thream-intention-v4 #root aside:first-of-type [class*="bg-slate-50"] { background:#0b284d!important; }
  body.thream-intention-v4 #root aside:first-of-type [class*="text-slate-500"],
  body.thream-intention-v4 #root aside:first-of-type [class*="text-slate-600"],
  body.thream-intention-v4 #root aside:first-of-type [class*="text-slate-700"] { color:#b8cce4!important; }

  /* Top product bar */
  body.thream-intention-v4 #root header:first-of-type {
    background:rgba(255,255,255,.96)!important;
    border-bottom-color:#dce5ef!important;
    box-shadow:0 8px 24px rgba(15,23,42,.035);
  }
  body.thream-intention-v4 #root header:first-of-type input {
    height:42px!important;
    border-radius:14px!important;
    background:#f5f8fc!important;
    border-color:#dbe5f0!important;
  }

  /* Main page density */
  body.thream-intention-v4 [data-intention-v4-page] {
    max-width:1380px!important;
    margin:0 auto;
  }
  body.thream-intention-v4 [data-intention-v4-hero] {
    position:relative;
    overflow:hidden!important;
    border:0!important;
    border-radius:26px!important;
    background:#071f43!important;
    box-shadow:0 22px 50px rgba(3,24,55,.15)!important;
  }
  body.thream-intention-v4 [data-intention-v4-hero]::before {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
      radial-gradient(circle at 77% 18%, rgba(20,184,220,.38), transparent 22%),
      radial-gradient(circle at 64% 84%, rgba(37,99,235,.34), transparent 28%),
      linear-gradient(120deg,#071f43 0%,#082f64 62%,#075a83 100%);
  }
  body.thream-intention-v4 [data-intention-v4-hero] > div { position:relative; z-index:1; }
  body.thream-intention-v4 [data-intention-v4-hero] > div > div:first-child {
    background:transparent!important;
    padding:30px 34px!important;
  }
  body.thream-intention-v4 [data-intention-v4-hero] h1 {
    max-width:690px;
    font-size:34px!important;
    letter-spacing:-.035em;
  }
  body.thream-intention-v4 [data-intention-v4-hero] p { max-width:720px; }
  body.thream-intention-v4 [data-intention-v4-hero] button {
    border-radius:13px!important;
    padding:11px 18px!important;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
  }
  body.thream-intention-v4 [data-intention-v4-hero] > div > div:last-child {
    gap:1px!important;
    background:rgba(255,255,255,.14)!important;
    backdrop-filter:blur(14px);
  }
  body.thream-intention-v4 [data-intention-v4-hero] > div > div:last-child > div {
    background:rgba(5,31,67,.62)!important;
    color:white!important;
    padding:20px!important;
  }
  body.thream-intention-v4 [data-intention-v4-hero] > div > div:last-child strong { color:white!important; }
  body.thream-intention-v4 [data-intention-v4-hero] > div > div:last-child span { color:#bdd5ef!important; }

  /* Stories */
  body.thream-intention-v4 [data-intention-v4-stories] {
    padding:14px 18px!important;
    border-radius:22px!important;
    border-color:#dce6f1!important;
    box-shadow:0 10px 28px rgba(15,23,42,.035)!important;
  }
  body.thream-intention-v4 [data-intention-v4-stories] img { box-shadow:0 0 0 2px #fff; }

  /* Compact posting composer */
  body.thream-intention-v4 [data-intention-v4-composer] {
    border-radius:22px!important;
    padding:14px 16px!important;
    border-color:#dce6f1!important;
    box-shadow:0 12px 30px rgba(15,23,42,.045)!important;
  }
  body.thream-intention-v4 [data-intention-v4-composer] > button:first-child {
    min-height:52px;
  }
  body.thream-intention-v4 [data-intention-v4-composer] > button:first-child span {
    padding-top:11px!important;
    padding-bottom:11px!important;
    background:#f6f8fc!important;
  }
  body.thream-intention-v4 [data-intention-v4-composer] > div:last-child {
    margin-top:9px!important;
    gap:8px!important;
  }
  body.thream-intention-v4 [data-intention-v4-composer] > div:last-child button {
    padding:8px 10px!important;
    border:1px solid #e2eaf3;
    background:#f8fafd!important;
  }

  /* Feed and right rail */
  body.thream-intention-v4 [data-intention-v4-feedgrid] {
    grid-template-columns:minmax(0,1fr) 310px!important;
    align-items:start;
  }
  body.thream-intention-v4 [data-intention-v4-activity] > section:first-child {
    border-radius:22px!important;
    border-color:#dce6f1!important;
    box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
    padding:18px!important;
  }
  body.thream-intention-v4 [data-intention-v4-activity] > section:first-child h2::before {
    content:"";
    display:inline-block;
    width:8px;height:8px;border-radius:999px;
    margin-right:8px;background:#13b8a6;
    box-shadow:0 0 0 4px rgba(19,184,166,.12);
  }
  body.thream-intention-v4 [data-intention-v4-activity] > section:nth-child(2) { display:none!important; }

  body.thream-intention-v4 [data-intention-v4-page] article {
    border-radius:22px!important;
    border-color:#dce6f1!important;
    box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
  }
  body.thream-intention-v4 [data-intention-v4-page] article:hover {
    border-color:#c9d9ea!important;
    box-shadow:0 16px 36px rgba(15,23,42,.065)!important;
  }

  /* Make Spotlight prominent without duplicating or faking content. */
  body.thream-intention-v4 [data-intention-v4-spotlight-link] {
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    margin-bottom:14px;
    border:1px solid #ccebdd;
    background:#f1fbf7;
    border-radius:18px;
    padding:13px 16px;
    color:#075e54;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
  }
  body.thream-intention-v4 [data-intention-v4-spotlight-link] span:last-child {
    color:#1264f6;
  }
}
