/* ── MyBioTech Broadcast theme ─────────────────────────────────────
 * Extracted from 07-SESSION-2026-05-24-INSILICO-LAB-DASHBOARD.html
 * and 06-STRUCTURE-STATUS-DASHBOARD.html as the canonical palette.
 * One source of truth — referenced by every post.html / index.html.
 * ────────────────────────────────────────────────────────────────── */

:root {
  --bg: #0b0d14;
  --panel: #141823;
  --panel-2: #1b2030;
  --panel-3: #232a3d;
  --ink: #ecedf2;
  --ink-soft: #b6bccc;
  --ink-mute: #7a8398;
  --rule: #262c3d;
  --pink: #ff5470;
  --yellow: #ffd166;
  --green: #06d6a0;
  --cyan: #4cc9f0;
  --purple: #c77dff;
  --orange: #ff8c42;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(76,201,240,.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(199,125,255,.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(6,214,160,.10), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 40px 28px 80px; }

/* ── Hero ───────────────────────────────────────────────────────── */
header.hero { border-bottom: 1px solid var(--rule); padding-bottom: 24px; margin-bottom: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--ink-mute); font-weight: 700; }
h1 {
  font-family: "Iowan Old Style", "Georgia", serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.05;
  margin: 14px 0 6px;
  letter-spacing: -0.015em;
  background: linear-gradient(90deg, #4cc9f0, #c77dff 50%, #06d6a0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.post-hero h1 { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); font-size: 38px; }
.subtitle { font-size: 16px; color: var(--ink-soft); max-width: 880px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--ink-mute); }
.tag { display: inline-block; padding: 2px 8px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 999px; }
.tag strong { color: var(--ink); font-weight: 600; }
.status-draft { color: var(--yellow); font-weight: 600; }

/* ── Sections ──────────────────────────────────────────────────── */
section { margin-bottom: 44px; }
h2 {
  font-family: "Iowan Old Style","Georgia",serif;
  font-weight: 600; font-size: 22px; letter-spacing: -.01em;
  margin: 0 0 18px 0; color: var(--ink);
}
h3 {
  font-family: "Iowan Old Style","Georgia",serif;
  font-weight: 600; font-size: 18px;
  margin: 20px 0 10px 0; color: var(--ink);
}

/* ── Index: post list ──────────────────────────────────────────── */
.post-list { display: grid; gap: 12px; }
.post-row {
  display: block;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, transform .15s;
  box-shadow: var(--shadow);
}
.post-row:hover { border-color: var(--cyan); transform: translateY(-1px); }
.post-row.draft { border-left: 3px solid var(--yellow); }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--ink-mute); margin-bottom: 6px; flex-wrap: wrap; }
.post-date { font-family: "JetBrains Mono","Menlo","Consolas",monospace; }
.post-type {
  padding: 1px 7px; border-radius: 4px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.post-type.type-html { background: rgba(76,201,240,.15); color: var(--cyan); }
.post-type.type-markdown { background: rgba(6,214,160,.15); color: var(--green); }
.post-type.type-slides { background: rgba(255,84,112,.15); color: var(--pink); }
.post-type.type-notebook { background: rgba(199,125,255,.15); color: var(--purple); }
.post-status { color: var(--yellow); font-weight: 600; }
.post-author { color: var(--ink-soft); }
.post-title { font-family: "Iowan Old Style","Georgia",serif; font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.post-abstract { font-size: 13px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.post-tags { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.post-tag { font-size: 10.5px; padding: 1px 6px; background: var(--panel-3); color: var(--ink-mute); border-radius: 3px; font-family: "JetBrains Mono","Menlo","Consolas",monospace; }

/* ── Post nav (back link) ──────────────────────────────────────── */
.post-nav { margin-bottom: 20px; }
.post-nav .back { color: var(--cyan); text-decoration: none; font-size: 13px; }
.post-nav .back:hover { color: var(--purple); }

/* ── Post body (markdown / notebook rendered) ─────────────────── */
.post-body {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.post-body h1, .post-body h2, .post-body h3 { color: var(--ink); }
.post-body h1 { font-size: 28px; margin-top: 0; background: none; -webkit-text-fill-color: var(--ink); }
.post-body h2 { font-size: 22px; margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 20px; }
.post-body h3 { font-size: 17px; margin-top: 20px; }
.post-body p { margin: 12px 0; }
.post-body a { color: var(--cyan); }
.post-body a:hover { color: var(--purple); }
.post-body code {
  font-family: "JetBrains Mono","Menlo","Consolas",monospace;
  font-size: 12.5px;
  background: var(--panel-2);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--cyan);
}
.post-body pre {
  background: var(--panel-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}
.post-body pre code { background: none; padding: 0; }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
}
.post-body th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
  font-weight: 700;
}
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin: 4px 0; }
.post-body blockquote {
  border-left: 3px solid var(--purple);
  margin: 16px 0;
  padding: 4px 16px;
  color: var(--ink-soft);
  background: var(--panel-2);
  border-radius: 4px;
}

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state {
  background: var(--panel);
  border: 1px dashed var(--rule);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}
.empty-state h2 { margin-top: 0; }
.empty-state p { color: var(--ink-soft); }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer a { color: var(--cyan); text-decoration: none; }
.discuss-link {
  display: inline-block;
  padding: 8px 14px;
  background: var(--panel-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: border-color .15s, color .15s;
}
.discuss-link:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-meta { font-size: 11.5px; color: var(--ink-mute); }

/* ── Small screens ────────────────────────────────────────────── */
@media (max-width: 700px) {
  .wrap { padding: 28px 18px 60px; }
  h1 { font-size: 32px; }
  .post-body { padding: 24px 20px; }
  footer { flex-direction: column; align-items: flex-start; }
}
