:root {
  --ink: #102a34;
  --muted: #64757b;
  --teal: #087f79;
  --teal-dark: #075f5b;
  --mint: #c9f1e6;
  --cyan: #43c7c2;
  --orange: #f59c64;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: #dce7e3;
  --soft: #eef5f2;
  --shadow: 0 18px 55px rgba(25, 63, 67, 0.09);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.topbar {
  height: 68px;
  padding: 0 max(28px, calc((100vw - 1260px) / 2));
  display: flex;
  align-items: center;
  gap: 34px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 231, 227, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; font-size: 18px; }
.brand b { color: var(--teal); }
.brand-mark { width: 30px; height: 30px; position: relative; display: block; }
.brand-mark i { width: 9px; height: 9px; position: absolute; border-radius: 50%; background: var(--teal); }
.brand-mark i:nth-child(1) { top: 3px; left: 3px; }
.brand-mark i:nth-child(2) { top: 3px; right: 3px; background: var(--cyan); }
.brand-mark i:nth-child(3) { bottom: 3px; left: 3px; background: var(--cyan); }
.brand-mark i:nth-child(4) { bottom: 3px; right: 3px; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: #95d9d3; transform: rotate(45deg); }
.brand-mark::before { width: 2px; height: 22px; left: 14px; top: 4px; }
.brand-mark::after { width: 22px; height: 2px; left: 4px; top: 14px; }
nav { display: flex; gap: 28px; margin-left: 18px; }
nav a { color: #4e6269; font-size: 13px; font-weight: 650; }
nav a:hover { color: var(--teal); }
.privacy-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #486268; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.privacy-pill span { width: 7px; height: 7px; border-radius: 50%; background: #33aa7e; box-shadow: 0 0 0 4px #e2f7ef; }

.section-shell { max-width: 1320px; margin: 0 auto; padding-left: 30px; padding-right: 30px; }
.hero { min-height: 580px; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 60px; padding-top: 82px; padding-bottom: 90px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 30px; background-image: radial-gradient(#c7dcd5 0.7px, transparent 0.7px); background-size: 21px 21px; mask-image: linear-gradient(to right, rgba(0,0,0,.4), transparent 45%); pointer-events: none; opacity: .6; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-index, .card-kicker { color: var(--teal); font-size: 11px; letter-spacing: 0.15em; font-weight: 800; }
.hero h1 { max-width: 750px; font-size: clamp(42px, 5.1vw, 68px); line-height: 1.08; letter-spacing: -0.055em; margin: 19px 0 22px; font-weight: 790; }
.hero-copy > p { max-width: 630px; font-size: 18px; line-height: 1.8; color: #53676e; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 19px; border-radius: 11px; font-weight: 750; font-size: 13px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--teal); box-shadow: 0 10px 25px rgba(8, 127, 121, .22); }
.button.primary:hover { background: var(--teal-dark); }
.button.secondary { background: var(--white); border: 1px solid var(--line); color: #4b6268; }
.safe-note { color: #718087; font-size: 12px; }

.hero-visual { height: 390px; position: relative; }
.hero-visual::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(67,199,194,.2), rgba(201,241,230,.12) 50%, transparent 70%); }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed #9bcec9; border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-one { width: 260px; height: 150px; }
.orbit-two { width: 310px; height: 210px; transform: translate(-50%, -50%) rotate(52deg); }
.molecule-core, .atom { position: absolute; left: 50%; top: 50%; border-radius: 50%; display: grid; place-items: center; font-weight: 800; box-shadow: 0 15px 35px rgba(13, 97, 93, .22); }
.molecule-core { width: 92px; height: 92px; transform: translate(-50%, -50%); background: var(--teal); color: white; font-size: 26px; border: 10px solid rgba(255,255,255,.55); }
.atom { width: 49px; height: 49px; color: var(--teal-dark); background: white; border: 1px solid #c8e7e2; font-size: 13px; }
.atom-a { transform: translate(115px, -115px); }
.atom-b { transform: translate(-170px, 35px); }
.atom-c { transform: translate(86px, 83px); }
.flow-card { position: absolute; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.93); border-radius: 12px; padding: 9px 13px; box-shadow: 0 12px 35px rgba(17,59,62,.08); font-size: 11px; }
.flow-card b { color: var(--teal); font-size: 10px; }
.flow-card span { font-weight: 700; }
.card-a { left: 8%; top: 8%; }
.card-b { right: 0; top: 28%; }
.card-c { left: 2%; bottom: 8%; }
.disclaimer-strip { grid-column: 1 / -1; background: #eaf5f1; border: 1px solid #cee6de; border-radius: 12px; display: flex; align-items: center; gap: 14px; padding: 13px 16px; color: #4f696a; font-size: 12px; }
.disclaimer-strip strong { color: var(--teal-dark); background: #d2eee5; border-radius: 6px; padding: 5px 8px; white-space: nowrap; }

.explorer { padding-top: 82px; padding-bottom: 96px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { margin: 9px 0 0; font-size: 34px; letter-spacing: -0.04em; }
.pipeline { display: flex; align-items: center; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; margin-bottom: 20px; box-shadow: 0 8px 30px rgba(34,72,73,.04); }
.pipeline-step { flex: 0 1 auto; display: flex; align-items: center; gap: 10px; min-width: 150px; }
.pipeline-step > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #6d8182; background: var(--soft); font-size: 11px; font-weight: 800; }
.pipeline-step.active > span { color: white; background: var(--teal); }
.pipeline-step div { display: flex; flex-direction: column; gap: 2px; }
.pipeline-step b { font-size: 12px; }
.pipeline-step small { font-size: 10px; color: #8a999c; }
.pipeline > i { height: 1px; background: #dfeae7; flex: 1; margin: 0 14px; position: relative; }
.pipeline > i::after { content: ""; border: solid #afc2be; border-width: 0 1px 1px 0; padding: 3px; transform: rotate(-45deg); position: absolute; right: 0; top: -3px; }

.workbench { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.controls-panel, .result-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.controls-panel { overflow: hidden; position: sticky; top: 88px; }
.panel-heading { display: flex; align-items: center; gap: 12px; padding: 20px 21px 15px; }
.panel-number { width: 30px; height: 30px; border: 1px solid #badbd5; background: #e8f6f2; color: var(--teal); display: grid; place-items: center; border-radius: 9px; font-size: 12px; font-weight: 850; }
.panel-heading h3 { margin: 0 0 3px; font-size: 15px; }
.panel-heading p { margin: 0; font-size: 10px; color: #849296; }
.model-heading { border-top: 1px solid var(--line); }
.control-block { padding: 0 21px 20px; }
.control-label { display: block; color: #5a6d72; font-size: 11px; font-weight: 800; margin-bottom: 9px; }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sample-button { border: 1px solid var(--line); background: white; border-radius: 9px; padding: 9px 5px 8px; color: #4f6368; cursor: pointer; }
.sample-button b, .sample-button small { display: block; }
.sample-button b { font-size: 11px; }
.sample-button small { font-size: 8px; color: #94a0a2; margin-top: 3px; }
.sample-button.active { background: #e9f7f3; border-color: #7ccbc1; color: var(--teal-dark); box-shadow: inset 0 0 0 1px #8bd0c7; }
.smiles-box { margin-top: 8px; padding: 9px 10px; background: #f5f8f7; border-radius: 8px; }
.smiles-box span { display: block; font-size: 8px; color: #8a999a; margin-bottom: 4px; }
.smiles-box code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; line-height: 1.5; color: #547075; word-break: break-all; }
.label-row, .range-control > div, .range-ends { display: flex; justify-content: space-between; align-items: center; }
.label-row > span { font-size: 9px; color: var(--teal); }
.range-control { margin-top: 13px; }
.range-control:first-of-type { margin-top: 0; }
.range-control label { font-size: 10px; font-weight: 650; color: #4c6167; }
.range-control label em { color: #93a0a3; font-style: normal; font-weight: 500; margin-left: 3px; }
.range-control output { min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.range-control small { display: block; color: #98a3a5; line-height: 1.5; font-size: 8.5px; margin-top: 2px; }
input[type="range"] { appearance: none; width: 100%; height: 16px; background: transparent; margin: 5px 0 1px; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--teal) var(--fill, 50%), #dce7e3 var(--fill, 50%)); border-radius: 4px; }
input[type="range"]::-moz-range-track { height: 4px; background: #dce7e3; border-radius: 4px; }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--teal); border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; border-radius: 50%; background: white; border: 3px solid var(--teal); margin-top: -4.5px; box-shadow: 0 2px 8px rgba(8,127,121,.2); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: white; border: 3px solid var(--teal); cursor: pointer; }
.dual-range { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; background: #edf3f1; border-radius: 9px; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 7px 3px; color: #6a7d81; font-size: 9.5px; font-weight: 700; border-radius: 7px; cursor: pointer; }
.segmented input:checked + span { background: white; color: var(--teal-dark); box-shadow: 0 2px 9px rgba(38,73,73,.1); }
.range-ends { font-size: 8px; color: #9aa7a8; }
.fusion.disabled { opacity: .35; pointer-events: none; }
.model-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.toggle-row { grid-column: 1/-1; display: flex; align-items: center; position: relative; padding: 10px 0 0; border-top: 1px solid #edf2f0; margin-top: 7px; cursor: pointer; }
.toggle-row span { display: flex; flex-direction: column; gap: 2px; padding-right: 46px; }
.toggle-row b { font-size: 10px; }
.toggle-row small { color: #93a0a3; font-size: 8px; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-row i { margin-left: auto; width: 34px; height: 19px; border-radius: 12px; background: #c9d6d2; position: relative; transition: .2s; flex: 0 0 auto; }
.toggle-row i::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: white; position: absolute; left: 3px; top: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: .2s; }
.toggle-row input:checked + i { background: var(--teal); }
.toggle-row input:checked + i::after { transform: translateX(15px); }

.results-panel { display: grid; gap: 20px; }
.result-card { padding: 23px 25px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; gap: 20px; }
.card-heading h3 { margin: 5px 0 0; font-size: 17px; }
.mini-control { display: flex; align-items: center; gap: 8px; color: #718185; font-size: 9px; }
.mini-control select { border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--teal-dark); padding: 5px 24px 5px 8px; font-size: 10px; }
.representation-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 27px; }
.descriptor-side { border-left: 1px solid var(--line); padding-left: 27px; }
.subheading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.subheading b { font-size: 10px; }
.subheading span { font-size: 8px; color: #849497; }
.bit-grid { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; }
.bit { aspect-ratio: 1; border-radius: 3px; background: #e8efed; border: 1px solid #dee8e5; transition: background .25s, transform .25s, box-shadow .25s; position: relative; }
.bit.on { background: var(--teal); border-color: var(--teal); box-shadow: 0 2px 7px rgba(8,127,121,.25); transform: scale(1.04); }
.bit:hover::after { content: attr(data-bit); position: absolute; left: 50%; bottom: 130%; transform: translateX(-50%); background: #18393d; color: white; font-size: 8px; padding: 3px 5px; border-radius: 4px; z-index: 4; }
.legend { display: flex; gap: 14px; margin-top: 10px; color: #829093; font-size: 8px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 7px; height: 7px; border-radius: 2px; background: #e8efed; }
.legend i.on { background: var(--teal); }
.micro-note { margin: 10px 0 0; color: #839295; line-height: 1.55; font-size: 8.5px; }
.vector-chart { display: grid; gap: 7px; }
.vector-row { display: grid; grid-template-columns: 48px 1fr 33px; align-items: center; gap: 7px; }
.vector-row label, .vector-row span { font-size: 8.5px; }
.vector-row label { color: #607478; font-weight: 700; }
.vector-row span { text-align: right; font-variant-numeric: tabular-nums; color: #6a7d80; }
.vector-track { height: 8px; border-radius: 5px; background: #edf2f1; position: relative; overflow: hidden; }
.vector-track i { display: block; height: 100%; width: var(--width); margin-left: var(--start); background: var(--color, var(--teal)); border-radius: 5px; transition: .25s; }
.vector-track::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #b5c9c4; }
.current-input { display: flex; align-items: center; gap: 13px; margin-top: 19px; padding: 10px 12px; border-radius: 9px; background: #f0f6f4; }
.current-input span { color: var(--teal-dark); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.current-input code { color: #547075; font-size: 9px; }

.status-badge, .demo-badge { border-radius: 999px; padding: 6px 9px; font-size: 8px; font-weight: 750; }
.status-badge { color: var(--teal-dark); background: #e6f5f1; }
.status-badge i { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-right: 3px; }
.status-badge.off { color: #6f7e80; background: #edf1f0; }
.status-badge.off i { background: #9caaaa; }
.demo-badge { color: #9c5b35; background: #fff0e6; border: 1px solid #ffdcc5; }
.network-canvas { min-height: 183px; border-radius: 13px; background: #f4f8f6; display: flex; align-items: center; justify-content: center; padding: 25px 20px; overflow: hidden; }
.network-diagram { display: flex; align-items: center; width: 100%; justify-content: center; }
.layer { min-width: 68px; display: flex; flex-direction: column; align-items: center; position: relative; }
.layer-label { font-size: 8px; color: #738487; margin-bottom: 8px; font-weight: 700; }
.layer-box { width: 58px; height: 70px; border: 1px solid #cae0db; background: white; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; position: relative; z-index: 2; box-shadow: 0 5px 15px rgba(30,74,72,.06); }
.layer-box b { color: var(--teal-dark); font-size: 10px; }
.layer-box small { color: #95a2a4; font-size: 7px; }
.layer.input .layer-box, .layer.output .layer-box { background: #e5f5f1; border-color: #91cec5; }
.connector { flex: 1; max-width: 55px; height: 1px; background: #9fcac3; position: relative; min-width: 22px; }
.connector::after { content: ""; position: absolute; right: -1px; top: -3px; width: 5px; height: 5px; border-top: 1px solid #6faea5; border-right: 1px solid #6faea5; transform: rotate(45deg); }
.skip-line { position: absolute; height: 32px; border: 1px dashed var(--orange); border-bottom: 0; border-radius: 14px 14px 0 0; top: -12px; left: 31px; right: -47px; z-index: 1; }
.skip-line::after { content: "+"; width: 14px; height: 14px; background: white; color: #cf7240; border: 1px solid #f2b48e; border-radius: 50%; display: grid; place-items: center; position: absolute; right: -4px; bottom: -7px; font-size: 9px; font-weight: 800; }
.network-explanation { margin-top: 13px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px 12px; background: #fff7f1; border-left: 3px solid var(--orange); border-radius: 5px 9px 9px 5px; }
.network-explanation b { font-size: 9px; color: #9d5c36; white-space: nowrap; }
.network-explanation span { font-size: 8.5px; line-height: 1.55; color: #7a6e67; }

.prediction-layout { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.score-gauge { --score: 68; width: 140px; height: 140px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) calc(var(--score) * 1%), #e2ece9 0); position: relative; transition: background .25s; }
.score-gauge::before { content: ""; position: absolute; inset: 11px; background: white; border-radius: 50%; }
.score-gauge > div { position: relative; text-align: center; }
.score-gauge strong { display: block; font-size: 31px; letter-spacing: -.04em; }
.score-gauge span { display: block; font-size: 8px; color: #839194; margin-top: 2px; }
.score-label { display: inline-block; background: #eaf6f2; color: var(--teal-dark); border-radius: 5px; padding: 5px 7px; font-size: 8px; font-weight: 800; }
.score-copy h4 { margin: 11px 0 7px; font-size: 15px; }
.score-copy p { color: #758589; font-size: 9px; line-height: 1.65; margin: 0; max-width: 530px; }
.change-chip { display: inline-flex; margin-top: 12px; color: #657a7e; font-size: 8.5px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; }
.contribution-area { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 18px; }
.contribution-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 22px; }
.contribution-row { display: grid; grid-template-columns: 78px 1fr 30px; gap: 8px; align-items: center; }
.contribution-row label { font-size: 8.5px; color: #53696e; }
.contribution-track { height: 6px; background: #edf2f1; border-radius: 6px; overflow: hidden; }
.contribution-track i { display: block; width: var(--value); height: 100%; background: var(--bar); border-radius: 6px; transition: width .25s; }
.contribution-row span { font-size: 8px; color: #718285; text-align: right; }

.rag-lab { margin-top: 72px; scroll-margin-top: 88px; }
.rag-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 22px; }
.rag-heading h2 { margin: 8px 0 9px; font-size: 31px; letter-spacing: -.04em; }
.rag-heading p { max-width: 660px; margin: 0; color: #687b80; font-size: 12px; line-height: 1.7; }
.llm-state { display: flex; align-items: center; gap: 10px; border: 1px solid #f1d4bd; background: #fff8f2; padding: 10px 13px; border-radius: 11px; flex: 0 0 auto; }
.llm-state > i { width: 9px; height: 9px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px #ffeadb; }
.llm-state span { display: flex; flex-direction: column; gap: 2px; }
.llm-state b { color: #8b5737; font-size: 9px; }
.llm-state small { color: #9a806e; font-size: 7.5px; }
.llm-state.live { background: #eaf7f3; border-color: #c2e4db; }
.llm-state.live > i { background: var(--teal); box-shadow: 0 0 0 5px #d8f1ea; }
.llm-state.live b { color: var(--teal-dark); }
.llm-state.live small { color: #668781; }
.rag-pipeline { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px 15px 0 0; background: #12373b; color: white; }
.rag-pipeline > div { display: grid; grid-template-columns: 28px auto; column-gap: 9px; align-items: center; }
.rag-pipeline div > span { grid-row: 1/3; width: 28px; height: 28px; border: 1px solid #4e7477; border-radius: 8px; display: grid; place-items: center; color: #79d5cd; font-size: 8px; font-weight: 800; }
.rag-pipeline b { font-size: 9px; }
.rag-pipeline small { color: #a9c0c2; font-size: 7px; margin-top: 2px; }
.rag-pipeline > i { color: #66878a; font-style: normal; font-size: 12px; }
.rag-workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr) 245px; border: 1px solid var(--line); border-top: 0; background: white; min-height: 485px; }
.document-panel, .evidence-panel { padding: 18px; background: #f8faf9; }
.document-panel { border-right: 1px solid var(--line); }
.evidence-panel { border-left: 1px solid var(--line); }
.rag-panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.rag-panel-title span { font-size: 10px; font-weight: 800; }
.rag-panel-title small { font-size: 7.5px; color: #869598; }
.document-list { display: grid; gap: 7px; }
.document-item { display: grid; grid-template-columns: 29px 1fr auto; gap: 8px; align-items: center; border: 1px solid #e1eae7; border-radius: 9px; background: white; padding: 9px 8px; }
.document-icon { width: 29px; height: 31px; border-radius: 6px; display: grid; place-items: center; color: var(--teal); background: #e8f6f2; font-size: 7px; font-weight: 850; }
.document-item div:nth-child(2) { min-width: 0; }
.document-item b, .document-item small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.document-item b { font-size: 8px; color: #4b6267; }
.document-item small { font-size: 7px; color: #94a1a3; margin-top: 2px; }
.document-item button { border: 0; background: transparent; color: #a5b0b1; cursor: pointer; padding: 2px; font-size: 11px; }
.upload-button { display: flex; align-items: center; gap: 8px; margin-top: 10px; border: 1px dashed #9ecbc4; border-radius: 9px; padding: 9px; color: var(--teal-dark); cursor: pointer; background: #f3fbf8; }
.upload-button > span { font-size: 17px; font-weight: 300; }
.upload-button b, .upload-button small { display: block; }
.upload-button b { font-size: 8.5px; }
.upload-button small { margin-top: 2px; color: #819895; font-size: 7px; }
.upload-button input { display: none; }
.parser-note { margin: 14px 1px 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: 7.5px; line-height: 1.6; color: #819092; }
.parser-note b { color: #5c7476; }
.qa-panel { padding: 22px; min-width: 0; }
.question-box label { display: block; margin-bottom: 8px; color: #4e6469; font-size: 9px; font-weight: 800; }
.question-box textarea { resize: vertical; min-height: 68px; width: 100%; border: 1px solid #d8e4e1; border-radius: 10px; padding: 11px 12px; color: var(--ink); outline: none; font-size: 10px; line-height: 1.55; background: #fbfcfc; }
.question-box textarea:focus { border-color: #72c2b8; box-shadow: 0 0 0 3px #e4f4f0; }
.suggested-questions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.suggested-questions button { background: white; border: 1px solid var(--line); color: #698086; border-radius: 999px; padding: 4px 7px; font-size: 7.5px; cursor: pointer; }
.suggested-questions button:hover { color: var(--teal-dark); border-color: #95cbc3; }
.ask-button { width: 100%; height: 38px; margin-top: 11px; }
.rag-progress { display: flex; align-items: center; margin: 18px 0 13px; }
.rag-progress span { font-size: 7px; color: #9aa6a8; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.rag-progress span i { width: 16px; height: 16px; display: grid; place-items: center; font-style: normal; border-radius: 50%; border: 1px solid #d3dfdc; background: white; font-size: 7px; }
.rag-progress span.done { color: var(--teal-dark); }
.rag-progress span.done i { color: white; background: var(--teal); border-color: var(--teal); }
.rag-progress b { height: 1px; background: #dfe8e6; flex: 1; margin: 0 6px; }
.answer-box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.answer-heading { padding: 10px 12px; background: #f1f7f5; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.assistant-mark { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--teal); font-size: 8px; font-weight: 850; }
.answer-heading b, .answer-heading small { display: block; }
.answer-heading b { font-size: 8.5px; }
.answer-heading small { color: #88979a; font-size: 7px; margin-top: 2px; }
.answer-content { min-height: 126px; padding: 14px; color: #566c71; font-size: 9px; line-height: 1.75; }
.answer-content p { margin: 0 0 9px; }
.answer-content p:last-child { margin-bottom: 0; }
.answer-content strong { color: var(--ink); }
.answer-content .citation { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; color: var(--teal-dark); background: #def1ec; border-radius: 4px; font-size: 7px; font-weight: 800; }
.answer-warning { padding: 8px 9px; border-radius: 7px; background: #fff5ec; color: #8f654b; font-size: 7.5px; }
.evidence-list { display: grid; gap: 8px; }
.evidence-empty { text-align: center; padding: 60px 12px; color: #99a6a8; }
.evidence-empty span { display: block; font-size: 22px; color: #a8bab7; }
.evidence-empty p { font-size: 8px; line-height: 1.6; }
.evidence-card { background: white; border: 1px solid #dfe9e6; border-radius: 9px; padding: 10px; }
.evidence-card header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.evidence-card header span { font-size: 7.5px; color: var(--teal-dark); font-weight: 800; }
.evidence-card header b { font-size: 7px; color: #879597; }
.evidence-card p { margin: 0; color: #687b7f; font-size: 7.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.evidence-score { height: 3px; background: #eaf0ee; border-radius: 3px; margin-top: 9px; overflow: hidden; }
.evidence-score i { display: block; width: var(--score); height: 100%; background: var(--teal); }
.rag-boundary { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 15px 15px; background: #edf5f2; padding: 10px 15px; }
.rag-boundary b { font-size: 8px; color: var(--teal-dark); white-space: nowrap; }
.rag-boundary span { font-size: 7.5px; line-height: 1.5; color: #718486; }

.learn { padding-top: 70px; padding-bottom: 100px; }
.learn-heading > p { max-width: 475px; color: #65767c; line-height: 1.7; font-size: 13px; margin: 0; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.concept-grid article { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 24px; min-height: 265px; box-shadow: 0 12px 40px rgba(35,72,72,.05); }
.concept-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: #e9f6f2; color: var(--teal); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 800; margin-bottom: 28px; }
.descriptor-icon { background: #edf1fb; color: #586da3; font-size: 16px; }
.residual-icon { background: #fff0e7; color: #cf7040; font-size: 20px; }
.concept-grid article > small { color: #98a4a6; letter-spacing: .11em; font-size: 8px; font-weight: 800; }
.concept-grid h3 { font-size: 17px; margin: 8px 0; }
.concept-grid article > p { color: #6c7c80; font-size: 10px; line-height: 1.7; min-height: 51px; }
details { margin-top: 17px; border-top: 1px solid #e8efed; padding-top: 13px; }
summary { color: var(--teal-dark); font-size: 9px; font-weight: 800; cursor: pointer; }
details p { color: #758589; font-size: 9px; line-height: 1.6; margin-bottom: 0; }
.responsible-note { margin-top: 18px; background: #12373b; color: white; border-radius: 16px; padding: 20px 23px; display: flex; align-items: center; gap: 16px; }
.responsible-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #568185; color: #75d6cc; border-radius: 50%; font-weight: 800; flex: 0 0 auto; }
.responsible-note b { font-size: 11px; }
.responsible-note p { color: #b8cdcf; font-size: 9.5px; line-height: 1.6; margin: 5px 0 0; }
footer { max-width: 1260px; margin: 0 auto; padding: 26px 0 34px; border-top: 1px solid var(--line); color: #8a999b; font-size: 9px; display: flex; justify-content: space-between; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-visual { height: 320px; max-width: 550px; width: 100%; margin: -20px auto 0; }
  .workbench { grid-template-columns: 1fr; }
  .controls-panel { position: static; }
  .descriptor-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .descriptor-controls .label-row { grid-column: 1/-1; }
  .controls-panel .model-controls { grid-template-columns: repeat(3, 1fr); }
  .toggle-row { grid-column: auto; border: 0; }
  .rag-workspace { grid-template-columns: 190px 1fr; }
  .evidence-panel { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--line); }
  .evidence-list { grid-template-columns: repeat(3, 1fr); }
  .evidence-empty { grid-column: 1/-1; padding: 25px; }
}

@media (max-width: 700px) {
  .topbar { padding: 0 18px; height: 60px; }
  nav { display: none; }
  .section-shell { padding-left: 17px; padding-right: 17px; }
  .hero { padding-top: 48px; padding-bottom: 60px; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-visual { transform: scale(.9); }
  .disclaimer-strip { align-items: flex-start; }
  .section-heading, .learn-heading { align-items: flex-start; flex-direction: column; }
  .pipeline { overflow-x: auto; }
  .pipeline > i { min-width: 20px; }
  .descriptor-controls { display: block; }
  .controls-panel .model-controls { grid-template-columns: 1fr 1fr; }
  .toggle-row { grid-column: 1/-1; }
  .representation-layout { grid-template-columns: 1fr; }
  .descriptor-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .network-canvas { overflow-x: auto; justify-content: flex-start; }
  .network-diagram { min-width: 560px; }
  .prediction-layout { grid-template-columns: 1fr; }
  .score-gauge { margin: 0 auto; }
  .contribution-list { grid-template-columns: 1fr; }
  .concept-grid { grid-template-columns: 1fr; }
  .rag-heading { align-items: flex-start; flex-direction: column; }
  .rag-pipeline { overflow-x: auto; gap: 12px; }
  .rag-pipeline > div { min-width: 125px; }
  .rag-workspace { grid-template-columns: 1fr; }
  .document-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-panel { grid-column: auto; }
  .evidence-list { grid-template-columns: 1fr; }
  footer { margin: 0 17px; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero h1 { font-size: clamp(34px, 4vw, 52px); }
.research-lab {margin-top:65px;scroll-margin-top:90px;background:white;border:1px solid var(--line);border-radius:20px;padding:26px;}
.research-lab>p {font-size:13px;line-height:1.8;color:var(--muted);}
.research-form{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:22px 0 10px;}
.research-form>label:first-child{flex:1;min-width:180px;font-size:12px;font-weight:700;}
.research-form input:not([type=checkbox]){display:block;width:100%;padding:12px;border:1px solid #b5cec7;border-radius:8px;margin-top:8px;}
.check-label{font-size:12px;align-self:center;}
#researchStatus{padding:12px;background:#eef6f3;border-radius:9px;font-size:12px;line-height:1.8;overflow-wrap:anywhere;}
.research-columns{display:grid;grid-template-columns:1fr 1.3fr;gap:25px;margin-top:24px;}
.research-columns h3{font-size:17px;}.candidate-card,.paper-card{border:1px solid var(--line);padding:16px;border-radius:12px;margin-bottom:12px;}
.research-lab a{color:var(--teal);text-decoration:underline;}.candidate-card p,.paper-card p{font-size:12px;line-height:1.7;}.paper-card h4{font-size:14px;line-height:1.6;margin:0 0 6px;}.paper-card small{font-size:11px;color:var(--muted);}.paper-card details p{white-space:pre-wrap;}.candidate-card code{background:#edf7f3;padding:4px;border-radius:4px;}.atc-coverage p{font-size:12px;line-height:1.8;}.atc-coverage a{font-size:12px;}.research-help{font-size:11px!important;}.paper-card button{margin-top:10px;}
@media(max-width:750px){.research-columns{grid-template-columns:1fr;}.research-lab{padding:16px;}.research-form{align-items:stretch;flex-direction:column;}}
.chembl-panel{margin-top:28px;padding:20px;background:#f5f9f7;border:1px solid var(--line);border-radius:12px;scroll-margin-top:90px}.chembl-panel p{font-size:12px;line-height:1.7}.chembl-table{width:100%;font-size:11px;text-align:left;border-collapse:collapse}.chembl-table th,.chembl-table td{border-bottom:1px solid var(--line);padding:8px 4px}#chemblStatus{font-size:12px;margin:14px 0;color:var(--teal-dark)}
