/* Partner product whitepaper styles for /theramab/ and /therasik/ on inlightbio.com
   Follows the InLight NewCo report layout (/newco/report/) with TheraSik mint-teal palette. */

:root{
  --teal:#0D9488;
  --teal-dark:#0F766E;
  --heading:#111827;
  --ink:#374151;
  --muted:#6B7280;
  --caption:#6B7280;
  --callout:#F0FAF8;
  --callout-alt:#ECFDF5;
  --amber:#FEF3C7;
  --amber-text:#78350F;
  --rule:#E5E7EB;
  --bg:#f5f7f6;
  --surface:#ffffff;
  --line:#d6dedb;
  --sidebar:280px;
  --body:720px;
  --gap:32px;
  --display:"Noto Serif",Georgia,"Times New Roman",serif;
  --sans:"Noto Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.wp-page{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
body.wp-page > nav{position:static;max-height:none}
body.wp-page > nav{position:static!important;height:auto!important;max-height:none!important}
body.wp-page > nav .nav-in{height:auto!important;max-height:none!important}
body.wp-page nav.report-box{position:static!important;top:auto!important;z-index:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;background:var(--surface)!important;backdrop-filter:none!important;border:1px solid var(--line)!important}
body.wp-page .site-nav{height:auto!important;max-height:none!important}
body.wp-page .site-nav .nav-in{height:auto!important;max-height:none!important}
body.wp-page img{max-width:100%;height:auto;display:block}
body.wp-page a{color:var(--teal-dark);text-decoration:none}
body.wp-page a:hover{text-decoration:underline}
body.wp-page a:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:3px}

/* Override InLight global nav link hover/active specificity if needed */
.il-partner{
  background:#0d4a44;
  color:#ecfdf8;
  font-size:12.5px;
  letter-spacing:.02em;
  text-align:center;
  padding:6px 12px;
  margin:0;
  max-width:none;
  font-weight:700;
}

/* Sticky section nav */
.site-nav{
  position:sticky;top:0;z-index:20;
  background:color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-nav .nav-in{
  max-width:1120px;margin:0 auto;
  padding:8px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:56px;max-height:none;
}
.site-nav .wp-brand{display:flex;align-items:baseline;gap:10px;color:var(--teal-dark);text-decoration:none;flex-shrink:0}
.site-nav .wp-brand:hover{text-decoration:none}
.site-nav .wp-brand .word{font-family:var(--display);font-weight:800;font-size:21px;letter-spacing:.01em;line-height:1}
.site-nav .wp-brand .tag{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.site-nav .nav-links{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.site-nav .nav-links a{
  font-size:13px;color:var(--muted);padding:6px 12px;height:auto;border-radius:999px;
  text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;
}
.site-nav .nav-links a:hover{background:#eef4ef;color:var(--teal-dark);text-decoration:none}
.site-nav .nav-links a.cta{
  background:var(--teal);color:#fff;font-weight:700;padding:7px 14px;
}
.site-nav .nav-links a.cta:hover{background:var(--teal-dark);color:#fff}

/* Page shell */
.report-site{
  max-width:1120px;
  margin:0 auto;
  padding:24px 20px 48px;
  display:grid;
  grid-template-columns:var(--sidebar) minmax(0,var(--body));
  gap:var(--gap);
  align-items:start;
}

/* Cover / hero */
.wp-cover{
  grid-column:1 / -1;
  position:relative;
  overflow:hidden;
  border-radius:16px;
  color:var(--heading);
  background:linear-gradient(135deg,#ffffff 0%,#EAF7F3 55%,#D7EFE8 100%);
  border:1px solid #cfe8e0;
  padding:36px 40px 32px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:24px;
  align-items:center;
  margin-bottom:8px;
}
.wp-cover::before{
  content:"";
  position:absolute;inset:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='92' height='80'><g fill='none' stroke='%230D9488' stroke-width='1' opacity='0.11'><polygon points='46,4 70,18 70,46 46,60 22,46 22,18'/></g><circle cx='46' cy='40' r='2.2' fill='%230D9488' opacity='0.12'/></svg>");
  background-size:92px 80px;
  pointer-events:none;
}
.cover-copy,.cover-art{position:relative;z-index:1}
.kicker{
  font-size:12px;font-weight:700;letter-spacing:.12em;
  color:var(--teal);margin:0 0 8px;text-transform:uppercase;
}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(13,148,136,.12);
  color:var(--teal-dark);
  font-weight:700;font-size:12.5px;
  padding:4px 12px 4px 8px;
  border-radius:999px;
  letter-spacing:.03em;
  margin-bottom:4px;
}
.pill .dot{
  width:20px;height:20px;border-radius:50%;
  background:var(--teal);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;
}
.wp-cover h1{
  font-family:var(--display);
  font-weight:800;
  font-size:clamp(26px,3.2vw,36px);
  line-height:1.22;
  color:var(--teal-dark);
  margin:10px 0 10px;
  text-wrap:balance;
}
.wp-cover .sub{
  font-size:15.5px;color:var(--ink);margin:0 0 16px;line-height:1.6;max-width:60ch;
}
.cover-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.chip{
  display:inline-flex;align-items:center;
  background:rgba(255,255,255,.82);
  border:1px solid var(--teal);
  color:var(--teal-dark);
  font-size:12px;font-weight:700;
  padding:4px 12px;border-radius:999px;
}
.wp-cover .byline{font-size:13px;color:var(--muted);margin:0}
.note-validate{
  background:var(--callout);
  border-left:4px solid var(--teal);
  border-radius:0 6px 6px 0;
  padding:10px 14px;
  font-size:13px;line-height:1.6;color:var(--teal-dark);
  margin:12px 0 0;max-width:60ch;
}
.cover-art img{
  width:100%;max-width:250px;margin:0 auto;border-radius:14px;
  filter:drop-shadow(0 10px 18px rgba(15,118,110,.18));
}
.cover-brand{
  position:absolute;right:28px;bottom:14px;
  font-size:11px;color:var(--teal-dark);opacity:.65;
  z-index:1;
}

/* Sidebar */
.report-sidebar{display:block;align-self:stretch;min-width:0}
.report-box{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  padding:14px 16px;
  font-size:13px;line-height:1.55;
  margin-bottom:14px;
}
.report-box:last-child{margin-bottom:0}
.report-box h2{
  font-family:var(--display);
  font-size:13.5px;color:var(--teal-dark);
  margin:0 0 10px;font-weight:800;
}
.report-box ol{list-style:none;padding:0;margin:0}
.report-box li{border-bottom:1px solid var(--rule);padding:7px 0}
.report-box li:last-child{border-bottom:0}
.report-box a{color:var(--ink);text-decoration:none;display:flex;gap:8px;align-items:baseline}
.report-box a:hover{color:var(--teal-dark);text-decoration:none}
.report-box .num{color:var(--teal);font-weight:700;flex:none;font-variant-numeric:tabular-nums}
.sidebar-sticky{position:sticky;top:72px;max-height:calc(100vh - 80px);overflow-y:auto}
.contact-box{border-top:4px solid var(--teal)}
.contact-box p{margin:0 0 10px;max-width:none;font-size:13px;line-height:1.55}
.contact-box .mail{
  display:inline-block;font-weight:700;color:var(--teal-dark);
  font-size:13.5px;margin-top:4px;word-break:break-word;
}

/* Article */
.report-content{min-width:0;max-width:var(--body)}
.article{font-size:16px;line-height:1.75}
.article p{margin:0 0 16px;text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;max-width:none}
.article h2{
  font-family:var(--display);
  font-size:21px;font-weight:800;color:var(--heading);
  border-left:4px solid var(--teal);
  border-bottom:1px solid var(--rule);
  padding:0 0 8px 12px;
  margin:36px 0 16px;line-height:1.35;
}
.article h2:first-child{margin-top:0}
.article h3{
  font-family:var(--display);
  font-size:17px;font-weight:700;color:var(--teal-dark);
  margin:26px 0 10px;line-height:1.4;
}
.article h2 .secno{color:var(--teal);margin-right:8px;font-weight:800}
.article ul,.article ol{margin:8px 0 20px;padding-left:1.35em}
.article li{margin:8px 0;line-height:1.7;text-align:justify;hyphens:auto;-webkit-hyphens:auto}
.article li p{margin:0;text-align:inherit}
.article li .shot{margin:12px 0 6px}
.article ol>li{padding-bottom:6px}

.callout{
  background:var(--callout);
  border-left:4px solid var(--teal);
  border-radius:4px;
  padding:14px 16px;
  margin:18px 0 22px;
}
.callout p,.callout li{color:var(--teal-dark);margin:0 0 8px}
.callout p:last-child,.callout li:last-child{margin-bottom:0}
.callout ol,.callout ul{margin:8px 0 0;padding-left:1.2em}
.callout .label{
  font-size:12px;font-weight:800;letter-spacing:.12em;
  color:var(--teal);margin:0 0 8px;text-transform:uppercase;
}

.amber{
  background:var(--amber);
  border-radius:6px;
  padding:12px 16px;
  margin:16px 0 22px;
  color:var(--amber-text);
}
.amber p{margin:0;color:var(--amber-text);font-size:14.5px;line-height:1.65;text-align:left}

.article h2,.article h3,figure.shot,.trial,#sec-disclaimer,#sec-demo{scroll-margin-top:72px}

/* Tables */
.table-scroll{
  overflow-x:auto;margin:0;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;scrollbar-color:#7dceba #EAF7F3;
}
.table-scroll::-webkit-scrollbar{height:8px}
.table-scroll::-webkit-scrollbar-thumb{background:#7dceba;border-radius:4px}
.table-scroll::-webkit-scrollbar-track{background:#EAF7F3;border-radius:4px}
.table-wrap{position:relative;margin:16px 0 24px}
.table-hint{display:none;font-size:11.5px;color:var(--muted);text-align:right;margin:0 0 6px}
@media (max-width:599px){
  .table-hint{display:block}
}
table{
  width:100%;border-collapse:collapse;
  font-size:14px;line-height:1.55;min-width:520px;
}
th,td{border:1px solid var(--rule);padding:9px 11px;vertical-align:top;text-align:left}
th:first-child,td:first-child{font-weight:600}
thead th{background:var(--teal-dark);color:#fff;font-weight:700;border-color:var(--teal-dark)}
tbody tr:nth-child(even){background:var(--callout)}
tbody tr:nth-child(odd){background:#fff}

/* Figures */
figure.shot{
  margin:18px auto 24px;
  background:var(--surface);
  border:1px solid var(--rule);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(15,118,110,.04);
}
figure.shot .frame-bar{
  height:3px;
  background:linear-gradient(90deg,#b7e8d6,#7dceba,#087f72);
}
figure.shot img{width:100%;height:auto;display:block;margin:0;background:#f3f6f5}
figcaption{
  text-align:center;
  color:var(--caption);
  font-size:13px;
  line-height:1.5;
  padding:8px 12px 12px;
  margin:0;
}

/* Multi-panel figure grids */
.fig-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.fig-grid-2 .span-2{grid-column:1 / -1}
.fig-grid-2 figure.shot{margin:0}
.seq-figs{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start;margin:16px 0 22px}
.seq-figs .map{grid-row:1 / span 2;grid-column:1}
.seq-figs figure.shot{margin:0}
.seq-figs figure.shot.narrow img{width:auto;max-width:100%;margin:0 auto}
@media (max-width:700px){
  .fig-grid-2,.seq-figs{grid-template-columns:1fr}
  .seq-figs .map{grid-row:auto}
}

/* Responsive grids for End-to-End and How It Works */
.dir-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 14px}
.dir-card{background:#F0FAF8;border:1px solid #E5E7EB;border-radius:12px;padding:16px 16px 18px;border-top:4px solid #0D9488;min-width:0}
.dir-card .n{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#0D9488;color:#fff;font-size:12px;font-weight:700;margin-right:8px;vertical-align:middle}
.dir-card h3{display:inline;font-size:16px;margin:0;color:#111827;font-weight:700;line-height:1.35}
.dir-card .st{display:inline-block;margin:10px 0 8px;font-size:12px;font-weight:700;color:#0F766E;border:1px solid #0D9488;border-radius:999px;padding:1px 10px;background:#fff}
.dir-card p{margin:0;font-size:14px;line-height:1.6;color:#374151;text-align:left}

.flow-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0 14px}
.flow-card{background:#F0FAF8;border:1px solid #E5E7EB;border-radius:12px;padding:14px 12px 16px;text-align:center;min-width:0}
.flow-card .n{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#0D9488;color:#fff;font-size:13px;font-weight:700;margin:0 0 8px}
.flow-card h3{margin:0 0 8px;font-size:14.5px;color:#111827;font-weight:700;line-height:1.3}
.flow-card p{margin:0;font-size:13px;line-height:1.55;color:#374151;text-align:left}

.split-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0 20px}
.split-card{background:#fff;border:1px solid var(--rule);border-radius:10px;padding:16px 18px}
.split-card h3{margin:0 0 8px;font-size:16px}
.split-card p{margin:0;font-size:15px;text-align:left}

@media (max-width:799px){
  .dir-grid,.flow-grid,.split-2{grid-template-columns:1fr}
  .flow-card{text-align:left}
  .flow-card .n{margin-right:8px;width:28px;height:28px;margin-bottom:6px}
  .flow-card h3{display:inline;vertical-align:middle}
}

/* Demo video */
.demo-video{margin:8px 0 28px}
.video-frame{
  background:var(--surface);
  border:1px solid var(--rule);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(15,118,110,.04);
  margin:14px 0 8px;
}
.video-wrap{position:relative;width:100%;aspect-ratio:16/9;background:#0b1f1b}
.video-wrap video{width:100%;height:100%;display:block;object-fit:contain;background:#0b1f1b}
.video-caption{
  text-align:center;
  color:var(--caption);
  font-size:13px;
  line-height:1.5;
  padding:8px 12px 12px;
  margin:0;
}

/* Buttons */
.btn-download{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;padding:0 18px;border-radius:999px;
  font-size:14px;font-weight:700;letter-spacing:.01em;
  text-decoration:none!important;color:#fff!important;
  background:var(--teal);border:1px solid var(--teal);
  white-space:nowrap;
}
.btn-download:hover{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff!important}
.btn-download:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.btn-invite{background:#fff;color:var(--teal-dark)!important;border:1px solid var(--teal)}
.btn-invite:hover{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff!important}
.btn-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 10px}

/* Trial / CTA box */
.trial{
  background:var(--surface);
  border:1px solid var(--line);
  border-top:4px solid var(--teal);
  border-radius:0 0 10px 10px;
  padding:22px 22px 20px;
  margin:32px 0 16px;
}
.trial h2{border:0;padding:0;margin:0 0 10px;color:var(--teal-dark)}
.trial .mail{font-size:17px;font-weight:800;color:var(--teal-dark)}

.disclaimer-block{
  margin:28px 0 8px;padding-top:16px;border-top:1px solid var(--line);
  font-size:13px;color:var(--muted);line-height:1.65;
}
.disclaimer-block h2{font-size:16px;border:0;padding:0;margin:0 0 8px}
.disclaimer-block p{text-align:left;color:var(--muted);font-size:13px}

.plat-rec-page{max-width:1080px;margin:0 auto 28px;padding:14px 16px 12px}
@media (max-width:1120px){
  .plat-rec-page{margin:0 16px 28px}
}

.partner-note-foot{
  max-width:1120px;margin:0 auto;padding:0 20px 14px;
  font-size:12.5px;color:var(--muted);
}

/* Responsive */
@media (max-width:1023px){
  .report-site{display:flex;flex-direction:column;padding:16px 16px 36px;gap:0}
  .wp-cover{order:1;grid-template-columns:1fr;padding:24px 20px 20px;margin-bottom:12px}
  .cover-art{order:-1;max-width:180px;margin:0 auto 4px}
  .cover-brand{position:static;display:block;text-align:right;margin-top:8px}
  .report-content{order:2;max-width:none;width:100%}
  .report-sidebar{order:3;width:100%;margin-top:28px}
  .sidebar-sticky{position:static;max-height:none;overflow:visible}
  .site-nav .nav-links a:not(.cta){display:none}
}
@media (max-width:599px){
  body.wp-page{font-size:15px}
  .site-nav .nav-in{padding:8px 12px}
  .site-nav .wp-brand .word{font-size:18px}
  .site-nav .wp-brand .tag{display:none}
  .wp-cover{padding:20px 16px 16px;border-radius:12px}
  .wp-cover h1{font-size:23px}
  .wp-cover .sub{font-size:14.5px}
  .article p,.article li{text-align:left;hyphens:manual;-webkit-hyphens:manual}
  .article h2{font-size:19px;margin-top:28px}
  table{font-size:13px;min-width:460px}
  .trial{padding:16px}
}
