
:root{ --shell-bg:#0b1220; --shell-border:rgba(255,255,255,0.08); --shell-accent:#7dd3fc; --shell-text:#e5e7eb; }
html, body { height: 100%; }
#app-shell { display:flex; flex-direction:column; min-height:100%; background:var(--shell-bg); }
#app-header { display:flex; align-items:center; gap:.75rem; padding:.75rem 1rem; border-bottom:1px solid var(--shell-border); position:sticky; top:0; z-index:100; backdrop-filter:saturate(120%) blur(6px); }
#brand { font-weight:600; letter-spacing:.04em; color:var(--shell-text); opacity:.9; }
#brand small{ opacity:.78; margin-left:.1rem; font-weight:500; text-transform: lowercase; }
#brand .brand-mark {
  display: inline-flex;
  align-items: center;
  margin-right: .55rem;
  color: #f8d977;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(248, 217, 119, .34);
  vertical-align: -0.02em;
}
#brand .brand-wordmark {
  display: inline-flex;
  align-items: center;
}
#app-tabs { margin-left:auto; display:flex; gap:.5rem; }
.app-tab { appearance:none; border:1px solid var(--shell-border); background:transparent; color:var(--shell-text); padding:.35rem .75rem; border-radius:.5rem; cursor:pointer; font-size:.95rem; }
.app-tab.active { border-color:var(--shell-accent); color:white; box-shadow:0 0 0 1px var(--shell-accent) inset; }
#app-content { flex:1; display:block; }
.app-pane { display:none; }
.app-pane.active { display:block; }

#app-header { gap: 1rem; }
#app-controls { margin-left:auto; display:flex; align-items:center; gap:.5rem; }
#app-controls select, #app-controls input { background:transparent; color:var(--shell-text); border:1px solid var(--shell-border); border-radius:.5rem; padding:.3rem .5rem; }
#app-controls input::placeholder { color:rgba(229,231,235,.5); }
#app-controls #collapse-btn { border:1px solid var(--shell-border); background:transparent; color:var(--shell-text); padding:.3rem .6rem; border-radius:.5rem; cursor:pointer; }
#app-controls #collapse-btn:hover { border-color:var(--shell-accent); }

/* Header-only controls (Version & Stage) aligned right */
#app-header { display:flex; align-items:center; gap:.75rem; }
#header-controls { margin-left:auto; display:flex; align-items:center; gap:.5rem; }
#header-controls select { background:transparent; color:var(--shell-text); border:1px solid var(--shell-border); border-radius:.5rem; padding:.3rem .5rem; }
/* Keep search row styling minimal; align +/- to right edge of the tree column via inline layout in that row */
#collapse-btn { margin-left:.5rem; border:1px solid var(--shell-border); background:transparent; color:var(--shell-text); padding:.3rem .6rem; border-radius:.5rem; cursor:pointer; }
#collapse-btn:hover { border-color:var(--shell-accent); }

/* DATA patch: controls mount sizing */
#evidence-viewer-pane header.header #controls-mount {
  width: 100%;
}
#evidence-viewer-pane header.header #controls-mount #controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* DATA patch: EV controls bar inside pane */
#evidence-viewer-pane #ev-controls-mount {
  width: 100%;
  display: block;
  padding: 6px 8px;
}
#evidence-viewer-pane #ev-controls-mount #controls {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}
/* v1.41 brand + header layout */
#brand small {
    opacity: .9;
    margin-left: .5rem;
    font-weight: 600;
    font-size: large;
}
#brand {
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--shell-text);
    opacity: .9;
    font-size: large;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.header-left { display: flex; width:100%;}
.header-inner { display: flex; }
#header-controls {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
    width:100%; 
}

#version,
#stage,
#search,
#hypfilter,
.treectl-toggle {
    border-width: 3px !important;
    border-color: skyblue !important;
    border-style: solid !important;
    border-radius: 6px !important;  /* optional */
    padding: 4px 8px !important;    /* optional */
}
#stage{width:65%;}
#hypfilter{width:20%;}
#version{width:15%;}
#header-left{width:100%;} 

#evidence-viewer-pane .container {
  display: grid !important;
  grid-template-columns: minmax(340px, 26vw) minmax(0, 1fr) !important;
}

/* Evidence tree rows: keep collapsed/expanded headers on the same grid. */
#tree .section-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content 22px;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  width: 100%;
  padding: 8px 10px;
}
#tree .section-header > .section-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
#tree .section-header > .count {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
#tree .section-header > .section-control {
  grid-column: 3 !important;
  grid-row: 1 !important;
}
#tree .section-header::before,
#tree .section-header::after {
  content: none !important;
}
#tree .section-caret,
#tree .section-control {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
}
#tree .section-caret {
  display: none;
}
#tree .section-control::before {
  content: "+";
  color: var(--muted);
  font-weight: 700;
  line-height: 1;
}
#tree .section.open > .section-header .section-control::before {
  content: "-";
  color: var(--text);
}
#tree .section-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin: 0;
  color: inherit;
  font: inherit;
}
#tree .section-header .count {
  min-width: 3.8ch;
  margin: 0;
  justify-self: end;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
#tree .section-body {
  padding-left: 10px;
  padding-right: 6px;
}
#tree .section.sub {
  margin-left: 10px;
}
#tree .section.sub .section-header {
  grid-template-columns: minmax(0, 1fr) max-content 22px;
}
#tree .section-header .stage-spacer {
  display: none !important;
}

#tree .item {
  min-width: 0;
}
#tree .item h4 {
  overflow-wrap: anywhere;
  display: block !important;
  margin: 0 0 8px !important;
  color: #e5e7eb;
}
#tree .tree-empty {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: #0f172a;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
#tree .tree-empty strong {
  color: var(--text);
}
.taxonomy-meta {
  margin-bottom: 8px;
}
.support-layer-note {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(125, 211, 252, .38);
  border-radius: 8px;
  background: rgba(125, 211, 252, .10);
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.35;
}
.empty-bf-row td {
  color: var(--muted);
  font-style: italic;
}
#tree .item .badges .badge {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
}
#tree .item .badges .badge.bf {
  padding: 3px 8px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}
#tree .item .badges .badge.pending {
  border-color: rgba(148, 163, 184, .65);
  background: rgba(148, 163, 184, .14);
  color: #cbd5e1;
}
#tree .item .badges .badge.ctx {
  border-color: rgba(125, 211, 252, .65);
  background: rgba(125, 211, 252, .14);
  color: #bae6fd;
}
#tree .item .badges .badge.meta-chip {
  border-color: rgba(94, 234, 212, .45);
  background: rgba(94, 234, 212, .12);
  color: #ccfbf1;
}
#tree .item .badges .badge.status {
  border-color: rgba(196, 181, 253, .45);
  background: rgba(196, 181, 253, .12);
  color: #e9d5ff;
}
#tree .item .badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  clear: both;
  padding-top: 7px;
  border-top: 1px solid rgba(148, 163, 184, .18);
}
#tree .item .meta {
  margin-top: 4px;
  display: block;
}

.results-panel {
  padding: 22px;
  display: grid;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}
.results-hero,
.results-card,
.results-stats > div,
.results-disclosure {
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.82));
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.36);
}
.results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  padding: 18px;
  align-items: start;
}
.results-kicker {
  margin: 0 0 4px;
  color: #9bdaf6;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.results-hero h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
}
.results-warning,
.results-caveat {
  margin: 6px 0;
  line-height: 1.4;
}
.results-warning {
  color: #fef08a;
  font-weight: 700;
}
.results-caveat,
.results-generated {
  color: #9ca3af;
}
.results-generated {
  white-space: nowrap;
  font-size: 12px;
  margin-top: 4px;
}
.results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.results-stats > div {
  padding: 12px;
  background: rgba(2, 6, 23, 0.36);
}
.results-stats span {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  letter-spacing: .03em;
}
.results-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  color: #f8fafc;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
}
.results-card {
  padding: 16px;
  overflow: hidden;
}
.results-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}
.results-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.results-section-head h3 {
  margin-bottom: 0;
}
.results-summary-note p,
.results-note {
  margin: 7px 0 10px;
  color: #cbd5e1;
  line-height: 1.4;
}
.results-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 14px;
}
.results-family-card {
  background: rgba(2, 6, 23, 0.28);
}
.results-synthesis-v3 {
  display: grid;
  gap: 14px;
}
.results-synthesis-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 14px;
}
.results-synthesis-main {
  background: linear-gradient(160deg, rgba(14, 116, 144, 0.22), rgba(2, 6, 23, 0.6));
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 12px;
  padding: 16px;
}
.results-synthesis-score {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 800;
  color: #a7f3d0;
  margin: 8px 0 10px;
}
.results-synthesis-subline {
  margin: 0 0 10px;
  font-size: 16px;
  color: #f8fafc;
}
.results-synthesis-caveat {
  margin: 0 0 8px;
  color: #fef08a;
  font-weight: 650;
}
.results-synthesis-meta {
  display: grid;
  gap: 8px;
}
.results-pathway {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.results-path-step {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.42);
  padding: 10px;
  display: grid;
  gap: 5px;
}
.results-path-step strong {
  font-size: 24px;
  color: #f8fafc;
}
.results-path-step small,
.results-path-step .step-label {
  color: #9ca3af;
  line-height: 1.3;
}
.results-path-step .step-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #93c5fd;
}
.results-path-step-final {
  border-color: rgba(250, 204, 21, 0.52);
  background: linear-gradient(155deg, rgba(250, 204, 21, 0.18), rgba(2, 6, 23, 0.58));
}
.results-path-arrow {
  display: grid;
  place-items: center;
  color: #cbd5e1;
  font-size: 22px;
}
.results-conditioning-card {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.42);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: 12px;
  align-items: center;
}
.results-conditioning-card h4 {
  margin: 0;
  font-size: 20px;
}
.results-conditioning-values {
  display: grid;
  gap: 10px;
}
.results-conditioning-values > div {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.58);
}
.results-conditioning-values span {
  display: block;
  color: #9ca3af;
  font-size: 12px;
}
.results-conditioning-values strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 32px;
}
.synthesis-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.synthesis-card {
  background: rgba(15, 23, 42, .52);
}
.results-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.results-metric {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 8px;
  padding: 10px;
  background: rgba(2, 6, 23, .34);
}
.results-metric span,
.results-metric small {
  display: block;
  color: #9ca3af;
  font-size: 12px;
}
.results-metric strong {
  display: block;
  margin: 2px 0;
  font-size: 21px;
  color: #f8fafc;
}
.results-components {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.results-components li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #9ca3af;
  font-size: 12px;
}
.results-components strong {
  color: #f8fafc;
  white-space: nowrap;
}
.results-table-wrap {
  overflow-x: auto;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.results-table th,
.results-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
}
.results-table th {
  color: #cbd5e1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}
.results-table td {
  color: #e5e7eb;
}
.results-table td:first-child span {
  display: block;
  margin-top: 2px;
  color: #9ca3af;
}
.results-table .positive td:nth-child(2) {
  color: #86efac;
}
.results-table .negative td:nth-child(2) {
  color: #fca5a5;
}
.results-delta-down {
  color: #fca5a5;
}
.results-delta-up {
  color: #86efac;
}
.results-contrib {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}
.results-contrib strong {
  display: inline-block;
  min-width: 4.5ch;
  color: #bfdbfe;
}
.results-contrib code {
  color: #bae6fd;
}
.results-disclosure {
  overflow: hidden;
}
.results-disclosure > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.results-disclosure > summary::-webkit-details-marker {
  display: none;
}
.results-disclosure > summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #9ca3af;
  font-weight: 700;
}
.results-disclosure[open] > summary::before {
  content: "-";
  color: #f8fafc;
  border-color: rgba(125, 211, 252, 0.52);
}
.results-disclosure > section {
  padding: 14px;
}
.results-disclosure > section > .results-card {
  background: rgba(2, 6, 23, 0.26);
}
.results-page-intro {
  border-color: rgba(125, 211, 252, 0.25);
}
.results-loading,
.results-error {
  padding: 18px;
  color: #cbd5e1;
}

.landing-page {
  --landing-line: rgba(148, 163, 184, .28);
  --landing-cyan: #7dd3fc;
  --landing-gold: #facc15;
  --landing-green: #86efac;
  min-height: calc(100vh - 70px);
  color: var(--shell-text);
  background:
    linear-gradient(180deg, rgba(6, 12, 28, .96), rgba(11, 18, 32, 1) 52%, rgba(10, 14, 24, 1));
}
.landing-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  overflow: hidden;
  border-bottom: 1px solid var(--shell-border);
  background:
    linear-gradient(90deg, rgba(125, 211, 252, .12), transparent 34%),
    linear-gradient(180deg, rgba(250, 204, 21, .08), transparent 36%),
    #07101f;
}
.landing-signal-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .9;
}
.landing-signal-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--landing-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--landing-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 72%, transparent 100%);
}
.landing-signal-field::after {
  content: "";
  position: absolute;
  inset: 16% -10% auto 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .72), rgba(250, 204, 21, .58), transparent);
  transform: rotate(-17deg);
  transform-origin: center;
}
.signal-line {
  position: absolute;
  height: 1px;
  background: rgba(148, 163, 184, .45);
  transform-origin: left center;
}
.line-a { left: 8%; top: 28%; width: 72%; transform: rotate(11deg); }
.line-b { left: 12%; top: 62%; width: 64%; transform: rotate(-9deg); }
.line-c { left: 46%; top: 18%; width: 38%; transform: rotate(47deg); }
.signal-node,
.signal-core {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(226, 232, 240, .72);
  background: #0b1220;
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(125, 211, 252, .08);
}
.node-a { left: 10%; top: 26%; }
.node-b { left: 34%; top: 56%; border-color: rgba(134, 239, 172, .82); }
.node-c { right: 20%; top: 30%; border-color: rgba(250, 204, 21, .84); }
.node-d { right: 12%; bottom: 28%; border-color: rgba(196, 181, 253, .82); }
.signal-core {
  width: 28px;
  height: 28px;
  right: 28%;
  top: 48%;
  border-color: rgba(125, 211, 252, .9);
  box-shadow: 0 0 0 8px rgba(125, 211, 252, .08), 0 0 34px rgba(125, 211, 252, .28);
}
.landing-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 42px;
}
.landing-kicker {
  margin: 0 0 10px;
  color: var(--landing-cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.landing-hero h1 {
  margin: 0;
  font-size: clamp(48px, 10vw, 118px);
  line-height: .92;
  letter-spacing: 0;
}
.landing-subtitle {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.12;
  color: #f8fafc;
}
.landing-lede {
  max-width: 760px;
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.6;
}
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.landing-btn {
  border: 1px solid rgba(226, 232, 240, .18);
  background: rgba(15, 23, 42, .72);
  color: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 42px;
  font-weight: 750;
  cursor: pointer;
  white-space: normal;
}
.landing-btn:hover {
  border-color: var(--landing-cyan);
  background: rgba(14, 116, 144, .22);
}
.landing-btn.primary {
  color: #06111f;
  background: var(--landing-cyan);
  border-color: var(--landing-cyan);
}
.landing-btn.compact {
  margin-top: 8px;
}
.landing-hero-status {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}
.landing-hero-status div,
.landing-result-main,
.landing-result-copy,
.landing-card-grid article,
.path-card {
  border: 1px solid rgba(226, 232, 240, .12);
  background: rgba(15, 23, 42, .68);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}
.landing-hero-status div {
  padding: 12px;
}
.landing-hero-status span,
.landing-result-main span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}
.landing-hero-status strong,
.landing-result-main strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  color: #f8fafc;
}
.landing-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0;
  border-bottom: 1px solid rgba(226, 232, 240, .08);
}
.landing-section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.landing-section h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.06;
}
.landing-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.landing-copy-grid p,
.landing-result-copy p,
.path-card p,
.landing-card-grid p,
.landing-caveats li,
.landing-question-note {
  color: #cbd5e1;
  line-height: 1.55;
}
.landing-path {
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.path-card {
  padding: 14px;
}
.path-card span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, .14);
  border: 1px solid rgba(125, 211, 252, .42);
  color: #bae6fd;
  font-weight: 800;
}
.path-card h3,
.landing-card-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.path-card p,
.landing-card-grid p {
  margin: 0;
  font-size: 14px;
}
.landing-results-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
}
.landing-result-main,
.landing-result-copy {
  padding: 18px;
}
.landing-result-main strong {
  color: var(--landing-green);
  font-size: clamp(36px, 7vw, 72px);
}
.landing-result-main p {
  margin: 12px 0 0;
  color: #f8fafc;
  line-height: 1.45;
}
.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.landing-card-grid.six {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.landing-card-grid article {
  padding: 16px;
}
.landing-card-grid article:nth-child(2n) {
  border-color: rgba(134, 239, 172, .22);
}
.landing-card-grid article:nth-child(3n) {
  border-color: rgba(250, 204, 21, .22);
}
.landing-question-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.landing-question-grid button {
  min-height: 58px;
  text-align: left;
  border: 1px solid rgba(226, 232, 240, .12);
  background: rgba(15, 23, 42, .62);
  color: #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  line-height: 1.35;
  cursor: pointer;
}
.landing-question-grid button:hover {
  border-color: var(--landing-gold);
}
.landing-question-note {
  margin: 14px 0 0;
}
.landing-caveats ul {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 20px;
}
.landing-caveats li {
  break-inside: avoid;
  margin: 0 0 8px;
}

/* Landing identity upgrade */
.landing-page {
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 1), rgba(8, 13, 25, 1) 45%, rgba(7, 11, 20, 1));
}
.landing-hero {
  min-height: min(760px, calc(100vh - 70px));
  align-content: center;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, .14), transparent 32%),
    linear-gradient(180deg, rgba(250, 204, 21, .10), transparent 34%),
    linear-gradient(135deg, #050b16, #081326 54%, #060a13);
}
.landing-signal-field::before {
  opacity: .42;
  background-size: 84px 84px;
}
.landing-signal-field::after {
  opacity: .72;
}
.signal-line {
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .58), transparent);
}
.signal-node,
.signal-core {
  background: #060b14;
}
.landing-hero-copy {
  padding: 82px 0 68px;
}
.landing-hero h1 {
  max-width: 880px;
  font-size: clamp(58px, 12vw, 138px);
  text-shadow: 0 18px 46px rgba(0, 0, 0, .36);
}
.landing-subtitle {
  max-width: 940px;
  font-size: clamp(25px, 3.7vw, 46px);
  color: #f8fafc;
}
.landing-lede {
  max-width: 850px;
  color: #d9e2ee;
  font-size: 18px;
}
.landing-lede-secondary {
  max-width: 900px;
  color: #b7c4d5;
}
.landing-actions {
  margin-top: 30px;
}
.landing-btn {
  border-radius: 10px;
  padding: 11px 16px;
  min-height: 46px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
}
.landing-btn.primary {
  background: linear-gradient(135deg, #7dd3fc, #86efac);
  border-color: rgba(186, 230, 253, .95);
}
.landing-section {
  padding: 58px 0;
}
.landing-section-head {
  margin-bottom: 22px;
}
.landing-section h2 {
  max-width: 940px;
}
.landing-copy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
.landing-copy-grid p {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(125, 211, 252, .28);
}
.landing-path {
  grid-template-columns: repeat(7, minmax(180px, 1fr));
}
.path-card,
.landing-card-grid article,
.landing-result-main,
.landing-result-copy,
.landing-hero-status div {
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(15, 23, 42, .82), rgba(2, 6, 23, .72));
  border-color: rgba(148, 163, 184, .20);
}
.path-card {
  min-height: 210px;
  display: grid;
  align-content: start;
}
.path-card span {
  background: rgba(125, 211, 252, .12);
}
.path-card:nth-child(2n) span {
  border-color: rgba(134, 239, 172, .46);
  color: #bbf7d0;
  background: rgba(134, 239, 172, .10);
}
.path-card:nth-child(3n) span {
  border-color: rgba(250, 204, 21, .48);
  color: #fef08a;
  background: rgba(250, 204, 21, .10);
}
.landing-results-grid {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
}
.landing-result-main {
  border-color: rgba(134, 239, 172, .28);
}
.landing-result-main strong {
  color: #a7f3d0;
}
.landing-result-copy {
  border-color: rgba(125, 211, 252, .22);
}
.landing-corpus-status {
  position: static;
  width: 100%;
  margin: 16px 0 0;
}
.landing-card-grid article {
  min-height: 144px;
}
.landing-card-grid h3,
.path-card h3 {
  color: #f8fafc;
}
.landing-question-grid button {
  min-height: 70px;
  background: linear-gradient(160deg, rgba(15, 23, 42, .78), rgba(2, 6, 23, .72));
}
.landing-caveats {
  border-bottom: 0;
}

@media (max-width: 760px) {
  #app-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  #brand {
    flex: 1 1 100%;
  }
  #app-tabs {
    margin-left: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  #evidence-viewer-pane .header {
    position: static;
    padding: 10px;
  }
  #evidence-viewer-pane .header-left {
    flex-wrap: wrap;
    gap: 8px;
  }
  #evidence-viewer-pane #search {
    flex: 1 1 100%;
    min-width: 0;
  }
  #evidence-viewer-pane #collapse-btn {
    margin-left: 0;
    flex: 0 0 auto;
  }
  #evidence-viewer-pane #header-controls {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
    gap: 8px;
  }
  #evidence-viewer-pane #version,
  #evidence-viewer-pane #stage,
  #evidence-viewer-pane #hypfilter {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }
  #evidence-viewer-pane .container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
    padding: 10px;
  }
  #evidence-viewer-pane #tree {
    width: 100%;
    max-width: none;
    max-height: 46vh;
    overflow-y: auto;
  }
  #evidence-viewer-pane #detailpane {
    min-width: 0;
    width: 100%;
    min-height: 48vh;
  }
  .results-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-generated {
    white-space: normal;
  }
  .results-panel {
    padding: 12px;
    gap: 12px;
  }
  .results-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-synthesis-hero,
  .results-conditioning-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-pathway {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-path-arrow {
    min-height: 20px;
    font-size: 18px;
    transform: rotate(90deg);
  }
  .results-family-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .results-synthesis-score {
    font-size: clamp(42px, 15vw, 66px);
  }
  .results-disclosure > summary {
    font-size: 15px;
  }
  .landing-hero {
    min-height: auto;
  }
  .landing-hero-copy {
    padding: 48px 0 28px;
  }
  .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .landing-hero-status,
  .landing-copy-grid,
  .landing-results-grid {
    grid-template-columns: 1fr;
  }
  .landing-section {
    width: min(100% - 24px, 1120px);
    padding: 34px 0;
  }
  .landing-path {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }
  .landing-caveats ul {
    columns: 1;
  }
  #tree .section.sub {
    margin-left: 6px;
  }
  #tree .section-body {
    padding-left: 6px;
    padding-right: 4px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

.detail-intro .stage-badge{display:inline-block;margin-left:8px;padding:2px 8px;border:1px solid var(--border);border-radius:10px;font-size:12px;color:var(--muted)}
.detail-intro .lede{margin-top:2px;color:var(--muted)}
.detail-intro .stage-list{margin:8px 0 12px 18px}
.detail-intro .callout{background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.35);padding:8px;border-radius:8px}


/* --- Stage intro "cosmic Logos" styles --- */

.detail-intro.cosmic{
 background-color:#0b1220 !important;position:relative; overflow:hidden; background: radial-gradient(1200px 600px at 10% 0%,
    rgba(59,130,246,.25), rgba(17,24,39,.0) 60%), linear-gradient(180deg, rgba(30,58,138,.20), rgba(2,6,23,.0) 55%);
  border:1px solid var(--border); border-radius:14px; padding:18px; box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.detail-intro .cosmic-bg::before, .detail-intro .cosmic-bg::after{
  content:""; position:absolute; inset:-20%; background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.6), transparent 60%);
  opacity:.35; pointer-events:none;
}
.intro-hero{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; margin-bottom:8px; }
.brand{ display:flex; gap:12px; align-items:center; }
.brand .glyph{ color:#7dd3fc; filter: drop-shadow(0 2px 6px rgba(59,130,246,.35)); }
.brand .logotype .site{ font-weight:700; letter-spacing:.5px; }
.brand .logotype .subtitle{ color:var(--muted); font-size:12px; margin-top:-2px; }
.intro-title{ display:flex; align-items:center; gap:10px; }
.detail-intro .stage-badge{ display:inline-block; padding:4px 10px; border:1px solid var(--border); border-radius:999px; font-size:12px; color:var(--muted); }
.john11{ margin:8px 0 0; padding-left:10px; border-left:3px solid rgba(125,211,252,.65); color:#cbd5e1; }
.john11 .ref{ font-weight:700; margin-right:8px; color:#93c5fd; }

.intro-body .lede{ color:#cbd5e1; margin:10px 0 12px; }
.explainer{ display:grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap:12px; }
.explainer .panel{ background: rgba(15,23,42,.55); border:1px solid var(--border); border-radius:12px; padding:12px; }
.explainer .callout{ margin-top:8px; background: rgba(59,130,246,.12); border:1px solid rgba(59,130,246,.35); padding:8px; border-radius:8px; }

.grid-title{ margin:14px 0 6px; }
.intro-grid{ display:grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap:10px; }
.intro-card{ background: rgba(17,24,39,.65); border:1px solid var(--border); border-radius:12px; padding:10px; display:flex; align-items:center; gap:10px; }
.intro-card span{ display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--border); font-weight:700; color:#93c5fd; }
.intro-card.verdict{ outline:1px solid rgba(59,130,246,.35); box-shadow: inset 0 0 12px rgba(59,130,246,.25); }

.howto{ margin-top:10px; }
.verdict-tease{ margin-top:10px; color:#cbd5e1; }

@media (max-width: 920px){
  .explainer{ grid-template-columns: 1fr; }
  .intro-grid{ grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}



.detail-intro .therefore-glyph{
  font-size: 42px;
  font-weight: bold;
  color:#93c5fd;
  text-shadow: 0 0 6px rgba(147,197,253,.7);
}
.detail-intro .logos-explain{margin-top:8px;color:#cbd5e1;}
.frameworks{margin:6px 0 12px 20px;}
.frameworks li{margin-bottom:4px;}
.subtitle2{font-size:14px;color:var(--muted);margin-left:6px;}



.intro-card .num{
  display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--border); font-weight:700; color:#93c5fd; margin-right:8px;
}



/* Stage cards polishing */
.intro-card{
  display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid var(--border);
  border-radius:12px; background: rgba(17,24,39,.65);
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s ease;
}
.intro-card:hover{ transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.intro-card.active{ border-color: rgba(147,197,253,.6); box-shadow: 0 0 0 2px rgba(147,197,253,.25) inset; }
.intro-card .num{
  display:inline-flex; min-width:28px; height:28px; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--border); font-weight:700; color:#93c5fd; margin-top:2px;
}
.card-text{ display:flex; flex-direction:column; gap:4px; }
.card-title{ font-weight:600; }
.card-desc{ color:#cbd5e1; font-size:13px; line-height:1.35; }



/* Hypotheses by stage */
.hyp-grid{ display:grid; grid-template-columns: 1fr; gap:10px; margin:8px 0 12px; }
.hyp-row{ background: rgba(17,24,39,.65); border:1px solid var(--border); border-radius:12px; padding:10px; }
.hyp-stage{ font-weight:600; margin-bottom:6px; }
.hyp-list{ margin-left:18px; }
.hyp-list li{ margin:2px 0; }
@media (min-width: 960px){
  .hyp-grid{ grid-template-columns: 1fr 1fr; } /* show two columns on wide screens */
}



.hyp-badge{
  margin-left:8px; padding:1px 6px; border:1px solid var(--border); border-radius:999px;
  font-size:11px; color:#93c5fd; background: rgba(15,23,42,.6);
}



/* Stage cards polishing + active highlight */
.intro-card{
  display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid var(--border);
  border-radius:12px; background: rgba(17,24,39,.65);
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s ease;
}
.intro-card:hover{ transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.intro-card.active{ border-color: rgba(147,197,253,.6); box-shadow: 0 0 0 2px rgba(147,197,253,.25) inset; }
.intro-card .num{
  display:inline-flex; min-width:28px; height:28px; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--border); font-weight:700; color:#93c5fd; margin-top:2px;
}
.card-text{ display:flex; flex-direction:column; gap:4px; }
.card-title{ font-weight:600; }
.card-desc{ color:#cbd5e1; font-size:13px; line-height:1.35; }

/* Special Stage 7 visuals */
.intro-card.stage7-card {
  background: linear-gradient(135deg, rgba(30,41,59,.85) 0%, rgba(253,224,71,.12) 100%);
  border-color: rgba(253,224,71,.6);
  box-shadow: 0 0 12px rgba(253,224,71,.35);
  flex-wrap: nowrap;
  width: fit-content;

  /* Center in its own merged row */
  grid-column: 1 / -1;   /* span all columns of the grid */
  justify-self: center;  /* center horizontally */
}
/* Centered verse block below the grid */
.stage7-verse-block{
  grid-column: 1 / -1;
  text-align: center;
  margin: 16px auto 6px;
  font-style: italic;
  font-size: 15px;
  color: #facc15;
  text-shadow: 0 0 6px rgba(250,204,21,.6);
  max-width: 640px;
}



/* Keep Stage 7 title on one line and preserve glow */
.intro-card.stage7-card{ 
  background: linear-gradient(135deg, rgba(30,41,59,.85) 0%, rgba(253,224,71,.12) 100%);
  border-color: rgba(253,224,71,.6);
  box-shadow: 0 0 12px rgba(253,224,71,.35);
  flex-wrap: nowrap;
}
.intro-card.stage7-card {
    background: linear-gradient(135deg, rgba(30,41,59,.85) 0%, rgba(253,224,71,.12) 100%);
    border-color: rgba(253,224,71,.6);
    box-shadow: 0 0 12px rgba(253,224,71,.35);
    flex-wrap: nowrap;
    margin: 20px;
    height: 100px;
    align-content: center;
    align-items: center;
    margin-bottom: 0px;
}
/* Stage overview bullets */
.stage-bullets{ margin: 8px 0 0 18px; }
.stage-bullets li{ margin: 2px 0; }


/* DATA: Hypothesis tree on landing */
.hyp-landing{margin-top:24px}
.hyp-landing .hyp-title{margin:0 0 8px 0;opacity:.9}
.hyp-landing .hyp-tree{border:1px solid var(--border,#1f2937);border-radius:12px;padding:12px;background:rgba(17,24,39,.35)}

/* DATA: Static Hypothesis Tree on landing */
.hyp-landing { margin-top: 20px; }
.hyp-title { margin: 0 0 10px; opacity: .92; letter-spacing: .2px; }
.hyp-tree-static { list-style: none; padding-left: 0; margin: 0; }
.hyp-tree-static ul { list-style: none; padding-left: 18px; margin: 6px 0; }
.hyp-tree-static .hyp-id { opacity: .6; font-weight: 500; margin-left: 4px; }
.hyp-tree-static .st { opacity: .7; font-style: normal; margin-left: 8px; font-weight: 500; }
.hyp-tree-static li { margin: 4px 0; line-height: 1.35; }
.hyp-tree-static strong { font-weight: 600; }
body.beta-gate-pending {
  overflow: hidden;
  background: #05070d;
}

body.beta-gate-pending #app-shell {
  filter: grayscale(1) blur(8px) brightness(0.34) contrast(0.82);
  opacity: 0.62;
  pointer-events: none;
  user-select: none;
}

.beta-access-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(200, 210, 224, 0.16), transparent 32%),
    rgba(4, 6, 12, 0.78);
  background-size: 42px 42px, 42px 42px, auto, auto;
  backdrop-filter: blur(16px) grayscale(1);
}

body.beta-gate-pending .beta-access-gate {
  display: grid;
}

.beta-access-card {
  position: relative;
  width: min(100%, 480px);
  border: 1px solid rgba(226, 232, 240, 0.36);
  border-radius: 18px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(145deg, rgba(9, 12, 20, 0.98), rgba(18, 23, 34, 0.96));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f3f6fb;
  overflow: hidden;
}

.beta-access-card::before,
.beta-access-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.95) 0 18px,
    rgba(17, 24, 39, 0.9) 18px 30px
  );
}

.beta-access-card::before {
  top: 0;
}

.beta-access-card::after {
  bottom: 0;
}

.beta-access-stamp {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 158, 11, 0.72);
  border-radius: 999px;
  padding: 4px 12px;
  color: #fbbf24;
  background: rgba(120, 53, 15, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.beta-access-kicker {
  margin: 0 0 10px;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beta-access-card h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.beta-access-card p {
  color: rgba(226, 232, 240, 0.82);
}

.beta-access-label {
  display: block;
  margin: 22px 0 8px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
}

.beta-access-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.beta-access-row input {
  min-width: 0;
  border: 1px solid rgba(203, 213, 225, 0.32);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.42);
  color: #f8fafc;
  font-size: 1rem;
  outline: none;
}

.beta-access-row input:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.16);
}

.beta-access-row button {
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}

.beta-access-row button:hover {
  filter: brightness(1.04);
}

.beta-access-error {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: #fecaca !important;
  font-weight: 700;
}

.beta-access-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: rgba(203, 213, 225, 0.68) !important;
}

@media (max-width: 520px) {
  .beta-access-card {
    padding: 22px;
  }

  .beta-access-row {
    grid-template-columns: 1fr;
  }

  .beta-access-row button {
    min-height: 44px;
  }
}

/* Product polish pass: evidence tree, dossier detail, and synthesis results */
#evidence-viewer-pane {
  --ui-accent: #7dd3fc;
  --ui-accent-2: #fbbf24;
  --ui-good: #8fd8b7;
  --ui-caution: #dcc48a;
  --ui-neg: #d7a1ad;
  --ui-support: #b5bad9;
  --ui-surface: rgba(16, 24, 40, 0.62);
  --ui-surface-2: rgba(8, 14, 26, 0.36);
  --ui-line: rgba(152, 168, 192, 0.14);
  background:
    radial-gradient(circle at 72% 0%, rgba(120, 180, 220, 0.055), transparent 38%),
    linear-gradient(180deg, #08101d 0%, #091020 56%, #060b14 100%);
}

#evidence-viewer-pane .container {
  gap: 16px !important;
  padding: 14px !important;
  grid-template-columns: minmax(340px, 28vw) minmax(0, 1fr) !important;
}

#evidence-viewer-pane .tree {
  gap: 8px;
  padding: 2px;
}

#tree .section {
  border: 1px solid rgba(152, 168, 192, 0.11);
  border-radius: 12px;
  background: rgba(12, 19, 34, 0.44);
  box-shadow: none;
}

#tree .section-header {
  grid-template-columns: minmax(0, 1fr) max-content 22px !important;
  gap: 8px !important;
  min-height: 38px;
  padding: 8px 11px !important;
  border-bottom: 0 !important;
  background: rgba(15, 24, 41, 0.62) !important;
  color: #dbe5f3;
}

#tree .section.open > .section-header {
  background: rgba(19, 30, 49, 0.72) !important;
}

#tree .section:not(.sub) > .section-header {
  border-bottom: 1px solid rgba(152, 168, 192, 0.12);
}

#tree .section.sub > .section-header {
  background: rgba(13, 20, 34, 0.48) !important;
  color: #ced8e8;
  border-bottom: 1px solid rgba(152, 168, 192, 0.08);
}

#tree .section-caret { display: none !important; }

#tree .section-control {
  grid-column: 3 !important;
  display: inline-grid !important;
  place-items: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
}

#tree .section-title {
  grid-column: 1 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  font-size: 0.96rem;
  font-weight: 670;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

#tree .section-header[title="Anthropology"] > .section-title,
#tree .section-header[title="Archaeology"] > .section-title,
#tree .section-header[title="History"] > .section-title,
#tree .section-header[title="Science"] > .section-title,
#tree .section-header[title="Philosophy"] > .section-title,
#tree .section-header[title="Scripture / Text"] > .section-title,
#tree .section-header[title="World Religions"] > .section-title,
#tree .section-header[title="Mathematics / Logic"] > .section-title,
#tree .section-header[title="Methodology / Signal Core"] > .section-title {
  min-width: 18ch !important;
}

#tree .section-header .count {
  grid-column: 2 !important;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 1px 7px;
  background: rgba(2, 6, 23, 0.32);
  color: #b8c4d4;
  font-size: 0.74rem;
}

#tree .section-body {
  padding: 3px 7px 8px 11px !important;
}

#tree .section.sub {
  margin: 8px 0 0 8px !important;
  border-color: rgba(152, 168, 192, 0.08);
  background: rgba(6, 12, 23, 0.2);
}

#tree .item {
  position: relative;
  margin: 6px 0;
  border: 1px solid rgba(152, 168, 192, 0.08);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(10, 16, 28, 0.42);
  box-shadow: none;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

#tree .item:hover {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(14, 22, 38, 0.62);
}

#tree .item.selected {
  border-color: rgba(125, 211, 252, 0.38);
  background: linear-gradient(90deg, rgba(24, 52, 78, 0.56) 0%, rgba(12, 22, 38, 0.74) 42%, rgba(10, 16, 28, 0.6) 100%);
  box-shadow: inset 2px 0 0 rgba(125, 211, 252, 0.86), 0 0 0 1px rgba(125, 211, 252, 0.08);
}

#tree .item h4 {
  margin: 0 !important;
  color: #e9eff8;
  font-size: 0.91rem !important;
  font-weight: 620;
  line-height: 1.3 !important;
  letter-spacing: 0;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

#tree .tree-item-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  min-width: 0;
}

#tree .tree-status-pill,
.detail-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  padding: 2px 7px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
  color: #bfccd9;
  font-size: 0.7rem;
  font-weight: 680;
  white-space: nowrap;
}

#tree .tree-status-pill.scored,
.detail-status-pill.scored {
  border-color: rgba(143, 216, 183, 0.36);
  background: rgba(90, 158, 126, 0.14);
  color: #cdecdc;
}

#tree .tree-status-pill.strong,
.detail-status-pill.strong {
  border-color: rgba(220, 196, 138, 0.4);
  background: rgba(168, 136, 73, 0.16);
  color: #f0e2be;
}

#tree .tree-status-pill.support,
.detail-status-pill.support {
  border-color: rgba(181, 186, 217, 0.34);
  background: rgba(102, 112, 148, 0.18);
  color: #d7dbf2;
}

#tree .tree-status-pill.pending,
.detail-status-pill.pending,
.detail-status-pill.subtle {
  border-color: rgba(220, 196, 138, 0.34);
  background: rgba(150, 124, 76, 0.14);
  color: #e8dcbf;
}

#tree .tree-status-pill.context,
.detail-status-pill.context,
#tree .tree-status-pill.unweighted,
.detail-status-pill.unweighted {
  border-color: rgba(168, 140, 96, 0.3);
  background: rgba(109, 88, 56, 0.12);
  color: #d6c8a9;
}

#tree .tree-ref-count {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8fa1b7;
  font-size: 0.71rem;
}

#tree .item .badges {
  display: none !important;
}

#evidence-viewer-pane .detail {
  border: 1px solid rgba(152, 168, 192, 0.12);
  border-radius: 16px;
  padding: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(125, 211, 252, 0.06), transparent 30%),
    rgba(8, 13, 24, 0.68);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.detail-dossier {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.detail-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 34%);
  gap: 14px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 14px;
  padding: 15px 16px;
  background:
    radial-gradient(circle at 72% 8%, rgba(154, 210, 214, 0.1), transparent 34%),
    linear-gradient(156deg, rgba(18, 44, 72, 0.46), rgba(10, 18, 34, 0.78) 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.detail-kicker {
  margin: 0 0 5px;
  color: #9fd7eb;
  font-size: 0.7rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#evidence-viewer-pane .detail .detail-hero-card h2 {
  margin: 0;
  color: #f3f8ff !important;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

#evidence-viewer-pane #detailpane .detail-hero-card h2,
#evidence-viewer-pane #detailScrollFix .detail-hero-card h2,
#evidence-viewer-pane .detail .detail-dossier .detail-hero-card h2 {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f8fafc !important;
  text-align: left !important;
  text-shadow: none;
}

.detail-breadcrumb {
  margin-top: 7px;
  color: #9fadc0;
  font-size: 0.84rem;
  line-height: 1.4;
}

.detail-thesis {
  max-width: 70ch;
  margin: 12px 0 0;
  color: #dde7f4;
  font-size: 0.99rem;
  line-height: 1.68;
}

.detail-hero-side {
  display: grid;
  align-content: start;
  gap: 8px;
}

.detail-id-chip {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(152, 168, 192, 0.16);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(5, 10, 22, 0.38);
}

.detail-id-chip span {
  color: #97a8bd;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.detail-id-chip code {
  color: #e0f2fe;
  white-space: normal;
  overflow-wrap: anywhere;
}

#evidence-viewer-pane .ev-id-chip {
  vertical-align: middle;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: rgba(2, 6, 23, 0.52) !important;
  color: #cbd5e1 !important;
}

#evidence-viewer-pane .ev-id-chip code {
  color: #e0f2fe !important;
}

.detail-status-strip,
.detail-bf-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-bf-chip {
  display: inline-grid;
  gap: 3px;
  min-width: 108px;
  border: 1px solid rgba(152, 168, 192, 0.18);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(4, 10, 20, 0.34);
  color: #bfccd9;
}

.detail-bf-chip strong {
  color: #f8fafc;
  font-size: 0.78rem;
}

.detail-bf-chip span {
  color: #90a2b8;
  font-size: 0.73rem;
}

.detail-bf-chip.positive {
  border-color: rgba(143, 216, 183, 0.34);
}

.detail-bf-chip.negative {
  border-color: rgba(215, 161, 173, 0.38);
}

.detail-bf-chip strong[class*="alt"],
.detail-bf-chip strong[class*="ALT"] {
  color: #ebc0cb;
}

.detail-mini-card,
.detail-evidence-card,
#evidence-viewer-pane .detail .article .detail-article-block,
#evidence-viewer-pane .detail .summary {
  max-width: 1040px;
  border: 1px solid rgba(152, 168, 192, 0.1) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.52), rgba(10, 16, 30, 0.5)) !important;
  color: #dbe5f2 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.016);
}

#evidence-viewer-pane .detail .article {
  display: grid;
  gap: 9px;
  max-width: 1000px;
  line-height: 1.74;
  color: #dce7f3;
}

#evidence-viewer-pane .detail .detail-section-heading {
  width: auto;
  margin: 12px 0 2px !important;
  border: 0;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #a8bbd2 !important;
  font-size: 0.73rem !important;
  font-weight: 720 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#evidence-viewer-pane .detail .article .detail-article-block {
  margin: 0 0 4px !important;
  padding: 16px 18px !important;
  font-size: 0.98rem !important;
}

#evidence-viewer-pane .detail .article .detail-article-block p {
  max-width: 76ch;
}

.detail-mini-card,
.detail-evidence-card {
  padding: 16px 18px;
}

.detail-evidence-card h3 {
  margin: 0 0 8px;
  color: #e9f0f8;
  font-size: 1.02rem;
  font-weight: 640;
}

.detail-bayes-card .table,
#evidence-viewer-pane .detail .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
}

#evidence-viewer-pane .detail .table th,
#evidence-viewer-pane .detail .table td {
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 10px 12px;
}

#evidence-viewer-pane .detail .table th {
  color: #c5d5ea;
  background: rgba(6, 12, 24, 0.54);
}

.scripture {
  max-width: 1040px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 15px;
  padding: 14px;
  background: rgba(41, 31, 12, 0.22);
}

.scripture h3 {
  margin: 0 0 10px;
  color: #fde68a;
}

.scripture-block {
  border-color: rgba(251, 191, 36, 0.18) !important;
  background: rgba(2, 6, 23, 0.36) !important;
}

#results-summary-root.results-panel {
  max-width: 1500px;
  padding: 26px;
  gap: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 211, 252, 0.1), transparent 34%),
    linear-gradient(180deg, #07101f, #080c16 62%, #05070d);
}

.results-card,
.results-hero,
.results-disclosure,
.results-stats > div {
  border-color: rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.54));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.025);
}

.results-synthesis-v3 {
  position: relative;
  border-color: rgba(125, 211, 252, 0.26);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(14, 116, 144, 0.14), rgba(2, 6, 23, 0.72)),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}

.results-synthesis-main {
  min-height: 360px;
  display: grid;
  align-content: center;
  border-radius: 22px;
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 78% 10%, rgba(134, 239, 172, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(12, 74, 110, 0.32), rgba(2, 6, 23, 0.78) 62%);
  border-color: rgba(125, 211, 252, 0.28);
}

.results-synthesis-main h3 {
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  max-width: 780px;
}

.results-synthesis-score {
  font-size: clamp(74px, 12vw, 156px);
  color: #ecfeff;
  text-shadow: 0 0 32px rgba(125, 211, 252, 0.22);
}

.results-synthesis-subline {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  max-width: 760px;
}

.results-synthesis-meta {
  align-content: stretch;
}

.results-metric {
  border-color: rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
}

.results-pathway {
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  padding: 4px;
}

.results-path-step {
  border-radius: 16px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.68);
}

.results-path-step strong {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.results-path-arrow {
  color: rgba(125, 211, 252, 0.74);
}

.results-conditioning-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.11), rgba(15, 23, 42, 0.68));
}

.results-family-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr));
}

.results-family-card {
  padding: 18px;
}

.results-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.24);
}

.results-table th,
.results-table td {
  border-bottom-color: rgba(148, 163, 184, 0.12);
  padding: 10px;
}

.results-table tr:hover td {
  background: rgba(125, 211, 252, 0.045);
}

.results-disclosure > summary {
  min-height: 58px;
  border-radius: 18px 18px 0 0;
  background: rgba(15, 23, 42, 0.52);
}

@media (max-width: 900px) {
  #evidence-viewer-pane .container {
    grid-template-columns: 1fr !important;
  }

  .detail-hero-card,
  .results-synthesis-hero,
  .results-conditioning-card {
    grid-template-columns: 1fr;
  }

  #tree .section-body {
    padding-left: 8px !important;
  }
}

@media (max-width: 760px) {
  .detail-dossier {
    padding: 12px;
  }

  .detail-hero-card {
    padding: 16px;
  }

  .results-pathway {
    grid-template-columns: 1fr;
  }
}

/* Focused UI/UX refinement: stronger hierarchy, quieter evidence map, premium dossier. */
#evidence-viewer-pane {
  --map-item: rgba(8, 14, 26, 0.42);
  --map-item-hover: rgba(13, 23, 39, 0.68);
  --map-selected: rgba(23, 57, 88, 0.72);
  --map-cyan: #7dd3fc;
  --map-green: #9be3bd;
  --map-amber: #e6ca85;
  --map-red: #e3a2af;
}

#evidence-viewer-pane .tree {
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 16px;
  padding: 10px 8px;
  background:
    linear-gradient(180deg, rgba(12, 20, 35, 0.52), rgba(5, 10, 20, 0.48)),
    rgba(2, 6, 23, 0.34);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.018);
}

#tree > .section {
  border: 1px solid rgba(148, 163, 184, 0.105);
  background: linear-gradient(180deg, rgba(15, 24, 41, 0.72), rgba(10, 17, 31, 0.58));
}

#tree > .section.open {
  border-color: rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.045), transparent 42%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.80), rgba(8, 15, 29, 0.62));
}

#tree .section-header {
  grid-template-columns: minmax(0, 1fr) max-content 24px !important;
  gap: 9px !important;
  min-height: 40px;
  border: 0 !important;
  border-radius: 11px;
  background: transparent !important;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

#tree .section.open:not(.sub) > .section-header {
  background: rgba(125, 211, 252, 0.045) !important;
}

#tree .section:not(.sub) > .section-header .section-title {
  color: #edf5ff;
  font-size: 0.98rem;
  font-weight: 730;
}

#tree .section.sub {
  margin: 8px 10px 8px 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.20);
}

#tree .section.sub > .section-header {
  min-height: 36px;
  background: rgba(8, 14, 26, 0.42) !important;
}

#tree .section.sub .section-title {
  color: #cbd7e7;
  font-size: 0.90rem;
  font-weight: 650;
}

#tree .section-title {
  letter-spacing: 0;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

#tree .section-header .count {
  justify-self: end;
  min-width: 3.2ch;
  padding: 1px 6px;
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.28);
  color: #9caabe;
  font-size: 0.70rem;
  font-weight: 650;
}

#tree .section-control {
  justify-self: end;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.18);
  color: #aebbc9;
}

#tree .section.open > .section-header .section-control {
  border-color: rgba(125, 211, 252, 0.23);
  background: rgba(125, 211, 252, 0.08);
  color: #d8f3ff;
}

#tree .section-body {
  padding: 2px 8px 9px 12px !important;
}

#tree .item {
  margin: 5px 0;
  border-color: rgba(148, 163, 184, 0.07);
  border-radius: 10px;
  padding: 8px 10px 8px 12px;
  background: var(--map-item);
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

#tree .item:hover {
  border-color: rgba(125, 211, 252, 0.18);
  background: var(--map-item-hover);
}

#tree .item.selected {
  border-color: rgba(125, 211, 252, 0.48);
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.16) 0, rgba(125, 211, 252, 0.07) 46%, rgba(6, 12, 23, 0.62) 100%),
    var(--map-selected);
  box-shadow:
    inset 4px 0 0 rgba(125, 211, 252, 0.95),
    0 0 0 1px rgba(125, 211, 252, 0.12),
    0 10px 26px rgba(2, 6, 23, 0.28);
}

#tree .item h4 {
  color: #dbe6f5;
  font-size: 0.86rem !important;
  font-weight: 610;
  line-height: 1.34 !important;
}

#tree .item.selected h4 {
  color: #f4f9ff;
}

#tree .tree-status-pill,
.detail-status-pill {
  min-height: 18px;
  padding: 1px 7px;
  font-size: 0.66rem;
}

#tree .tree-status-pill.scored,
.detail-status-pill.scored,
#tree .tree-status-pill.strong,
.detail-status-pill.strong {
  border-color: rgba(155, 227, 189, 0.32);
  background: rgba(72, 143, 111, 0.17);
  color: #d6f6e4;
}

#tree .tree-status-pill.pending,
.detail-status-pill.pending,
.detail-status-pill.subtle,
#tree .tree-status-pill.context,
.detail-status-pill.context,
#tree .tree-status-pill.unweighted,
.detail-status-pill.unweighted {
  border-color: rgba(230, 202, 133, 0.26);
  background: rgba(111, 86, 42, 0.14);
  color: #eadbb5;
}

#tree .tree-status-pill.support,
.detail-status-pill.support {
  border-color: rgba(181, 186, 217, 0.30);
  background: rgba(89, 98, 135, 0.17);
  color: #dce1f5;
}

#tree .tree-ref-count {
  color: #8495aa;
  font-size: 0.68rem;
}

#evidence-viewer-pane .detail {
  border-color: rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 74% 0%, rgba(125, 211, 252, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(9, 15, 28, 0.82), rgba(4, 9, 18, 0.72));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), inset 1px 0 0 rgba(255, 255, 255, 0.018);
}

.detail-dossier {
  gap: 16px;
  padding: 18px;
}

.detail-hero-card {
  border-color: rgba(125, 211, 252, 0.28);
  border-radius: 16px;
  padding: 18px;
  background:
    radial-gradient(circle at 78% 10%, rgba(125, 211, 252, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(18, 48, 78, 0.54), rgba(7, 14, 27, 0.86) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#evidence-viewer-pane .detail .detail-hero-card h2 {
  color: #f7fbff !important;
  font-size: clamp(1.35rem, 1.5vw, 1.82rem);
  line-height: 1.18;
}

.detail-breadcrumb {
  color: #9eb0c5;
  font-size: 0.82rem;
}

.detail-thesis {
  max-width: 78ch;
  color: #dce7f3;
  line-height: 1.72;
}

.detail-id-chip {
  border-color: rgba(125, 211, 252, 0.18);
  background: rgba(2, 6, 23, 0.34);
}

.detail-bf-chip {
  border-color: rgba(148, 163, 184, 0.15);
  background: rgba(2, 6, 23, 0.28);
}

.detail-bf-chip.positive {
  border-color: rgba(155, 227, 189, 0.30);
  background: rgba(45, 111, 82, 0.13);
}

.detail-bf-chip.negative {
  border-color: rgba(227, 162, 175, 0.34);
  background: rgba(116, 48, 62, 0.14);
}

.detail-mini-card,
.detail-evidence-card,
#evidence-viewer-pane .detail .article .detail-article-block,
#evidence-viewer-pane .detail .summary {
  border-color: rgba(148, 163, 184, 0.085) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(12, 20, 35, 0.54), rgba(6, 12, 24, 0.45)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

#evidence-viewer-pane .detail .article {
  gap: 11px;
  max-width: 1060px;
  color: #dde8f4;
  font-size: 1rem;
  line-height: 1.78;
}

#evidence-viewer-pane .detail .detail-section-heading {
  color: #9fbbd3 !important;
  font-size: 0.70rem !important;
  font-weight: 760 !important;
  letter-spacing: 0.10em;
}

#evidence-viewer-pane .detail .article .detail-article-block,
.detail-mini-card,
.detail-evidence-card {
  padding: 17px 20px !important;
}

.detail-evidence-card h3 {
  color: #eff6ff;
  font-size: 1rem;
}

@media (max-width: 760px) {
  #evidence-viewer-pane .tree {
    padding: 8px 6px;
  }

  #tree .section.sub {
    margin-left: 8px !important;
  }

  .detail-dossier {
    padding: 12px;
  }

  .detail-hero-card {
    padding: 15px;
  }
}
