/* LAKANA SOS v43 reviewer components.
   Page width and Proof Theater panel/terms contrast are owned by the page
   shell and v21 world-class stylesheets. */
:root{
  --v43-navy:#0A1625;
  --v43-component:#162A45;
  --v43-slate:#345275;
  --v43-teal:#0D7377;
  --v43-gold:#CF9D2A;
  --v43-paper:#F4F6F9;
  --v43-pale:#E8EDF2;
  --v43-ink:#0D1B2A;
  --v43-iris:#7244C4;
}

/* Stable-page badge and QA rail */
.v43-stability-strip{
  margin-top:18px;
}
.v43-stability-strip-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(207,157,42,.34);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(22,42,69,.92),rgba(10,22,37,.98));
  color:var(--v43-paper);
  padding:12px 14px;
  box-shadow:0 16px 44px rgba(0,0,0,.18);
}
.v43-stability-strip strong{
  color:#fff;
  letter-spacing:.02em;
}
.v43-stability-strip span{
  color:var(--v43-pale);
  font-size:.92rem;
}
.v43-version-pill{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid rgba(13,115,119,.55);
  background:linear-gradient(135deg,rgba(13,115,119,.24),rgba(114,68,196,.22));
  color:#fff!important;
  font-weight:900;
  padding:7px 10px;
  white-space:nowrap;
}

/* Reviewer lanes added below custody doctrine */
.v43-reviewer-lanes{
  margin-top:26px;
  margin-bottom:26px;
}
.v43-reviewer-lanes-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.v43-reviewer-lane{
  border-radius:22px;
  border:1px solid rgba(52,82,117,.36);
  background:linear-gradient(180deg,#fff,var(--v43-paper));
  padding:18px;
  color:var(--v43-ink);
  box-shadow:0 14px 36px rgba(10,22,37,.12);
}
.v43-reviewer-lane .kicker{
  color:var(--v43-gold);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.v43-reviewer-lane h3{
  color:var(--v43-component);
  margin:0 0 8px;
  font-size:1.08rem;
}
.v43-reviewer-lane p{
  color:var(--v43-slate);
  margin:0;
  line-height:1.48;
}

/* Lab reading guide and receipt shell */
.v43-lab-guide,
.v43-run-receipt{
  margin-top:18px;
  margin-bottom:18px;
}
.v43-lab-guide-card,
.v43-run-receipt-card{
  border-radius:22px;
  border:1px solid rgba(207,157,42,.28);
  background:linear-gradient(145deg,rgba(22,42,69,.96),rgba(10,22,37,.99));
  color:var(--v43-paper);
  padding:18px;
  box-shadow:0 18px 44px rgba(0,0,0,.22);
}
.v43-lab-guide-card h3,
.v43-run-receipt-card h3{
  margin:0 0 8px;
  color:#fff;
}
.v43-run-receipt-card>summary{
  cursor:pointer;
  list-style:none;
  color:#fff;
  font-weight:900;
  padding:16px 18px;
}
.v43-run-receipt-card>summary::-webkit-details-marker{display:none;}
.v43-run-receipt-card>summary::after{content:"Open";float:right;color:var(--v43-gold);font-size:.76rem;}
.v43-run-receipt-card[open]>summary::after{content:"Close";}
.v43-run-receipt-body{padding:0 18px 18px;}
.v43-lab-guide-card p,
.v43-run-receipt-card p{
  color:var(--v43-pale);
  line-height:1.55;
  margin:0 0 12px;
}
.v43-mini-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.v43-mini-grid div{
  border-radius:16px;
  background:rgba(232,237,242,.09);
  border:1px solid rgba(232,237,242,.14);
  padding:12px;
}
.v43-mini-grid b{
  color:#fff;
  display:block;
  margin-bottom:4px;
}
.v43-mini-grid span{
  color:var(--v43-pale);
  font-size:.88rem;
}

/* Visual QA: prevent old broad contrast rules from reintroducing unreadable cards. */
.sos-info-card,
.v25-custody-card,
.v25-release-board > div,
.v25-extended-grid article{
  text-shadow:none!important;
}
.v25-custody-doctrine .sos-section-title,
.v25-custody-doctrine .sos-section-lead,
.v25-extended-protocol .sos-section-title,
.v25-extended-protocol .sos-section-lead{
  text-shadow:none!important;
}

/* Mobile: menu scrolls with page; do not pin over content. */
@media(max-width:820px){
  .lakana-topbar,
  .lakana-menu,
  .lakana-menu-grid,
  header.lakana-topbar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  body,main,#sosV21Lab,#sosSafetySimulationLab{
    scroll-padding-top:0!important;
  }
  .v43-reviewer-lanes-grid,
  .v43-mini-grid{
    grid-template-columns:1fr!important;
  }
  .v43-stability-strip{
    margin-top:12px;
  }
}

@media(min-width:821px){
  .v43-lab-guide-card,
  .v43-run-receipt-card{
    padding:20px 22px;
  }
}
