:root {
  --ink: #0c1929;
  --ink-soft: #4a5b6f;
  --navy: #07111f;
  --navy-2: #0c1d30;
  --paper: #f5f7f4;
  --white: #ffffff;
  --line: #dce3df;
  --line-dark: rgba(255,255,255,.13);
  --cyan: #27d6c5;
  --cyan-dark: #087e76;
  --violet: #7667f7;
  --orange: #ff9f5a;
  --green: #13866f;
  --amber: #a66217;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 28px 80px rgba(16, 36, 54, .11);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: 10px; left: 12px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--navy);
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 76px; padding: 0 clamp(20px, 4vw, 64px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: #edf8f7; background: rgba(7, 17, 31, .9); border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: inherit; text-decoration: none; }
.brand strong { display: block; font-size: 15px; letter-spacing: .01em; }
.brand small { display: block; margin-top: 2px; font-size: 10px; color: #91a6b9; letter-spacing: .1em; text-transform: uppercase; }
.brand-mark { position: relative; width: 38px; height: 38px; display: inline-grid; place-items: center; }
.brand-mark.small { width: 32px; height: 32px; }
.brand-orbit { position: absolute; width: 32px; height: 15px; border: 1.4px solid rgba(39,214,197,.75); border-radius: 50%; }
.brand-mark.small .brand-orbit { width: 28px; height: 13px; }
.orbit-a { transform: rotate(28deg); }
.orbit-b { transform: rotate(-28deg); }
.brand-core { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.top-nav { display: flex; align-items: center; gap: 34px; }
.top-nav a { position: relative; color: #a9b9c6; text-decoration: none; font-size: 13px; font-weight: 600; }
.top-nav a::after { content:""; position:absolute; left:0; right:0; bottom:-10px; height:2px; border-radius:2px; background:var(--cyan); transform:scaleX(0); transition:transform .2s; }
.top-nav a:hover, .top-nav a:focus-visible, .top-nav a.is-current { color: #fff; }
.top-nav a.is-current::after { transform: scaleX(1); }
.header-status { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #bfd1d8; letter-spacing: .06em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(39,214,197,.11); }

.hero {
  position: relative; min-height: 680px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); align-items: center;
  padding: 90px clamp(24px, 7vw, 112px) 112px;
  color: #f4fbfb; background:
    radial-gradient(circle at 82% 20%, rgba(39,214,197,.14), transparent 28%),
    radial-gradient(circle at 35% 120%, rgba(118,103,247,.18), transparent 42%),
    linear-gradient(135deg, #07111f 0%, #0a1c2d 60%, #0a2430 100%);
}
.hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:70px; background:var(--paper); clip-path:polygon(0 76%,100% 0,100% 100%,0 100%); }
.hero-copy { position: relative; z-index: 2; min-width:0; max-width: 720px; }
.eyebrow { min-width:0; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #91d8d1; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; overflow-wrap:anywhere; }
.eyebrow span { width: 30px; height: 1px; background: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 26px; font-size: clamp(44px, 5.5vw, 80px); line-height: 1.04; letter-spacing: -.045em; font-weight: 650; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 620px; margin-bottom: 34px; color: #aebfcc; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { border: 0; border-radius: 999px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid #f4c95d; outline-offset: 3px; }
.button-primary { color: var(--navy); background: var(--cyan); box-shadow: 0 12px 36px rgba(39,214,197,.24); }
.button-quiet { color: #d9e7eb; background: transparent; border: 1px solid rgba(255,255,255,.2); }
.button-quiet:hover { background: rgba(255,255,255,.07); }
.hero-facts { display: flex; gap: 34px; margin: 54px 0 0; }
.hero-facts div { min-width:0; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.17); }
.hero-facts dt { color: #71889a; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts dd { margin: 7px 0 0; color: #dbe8eb; font-size: 13px; font-weight: 650; overflow-wrap:anywhere; }

.hero-art { position: relative; z-index:1; width:min(46vw, 560px); aspect-ratio:1; justify-self:end; display:grid; place-items:center; perspective:900px; }
.art-halo { position:absolute; border:1px solid rgba(107,222,211,.15); border-radius:50%; }
.halo-one { inset: 5%; animation: orbit 18s linear infinite; }
.halo-two { inset: 17%; border-style:dashed; animation: orbit 13s linear infinite reverse; }
.halo-one::before, .halo-two::after { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:var(--cyan); box-shadow:0 0 18px var(--cyan); }
.halo-one::before { top:12%; left:15%; }.halo-two::after { right:8%; bottom:24%; background:var(--violet); box-shadow:0 0 18px var(--violet); }
@keyframes orbit { to { transform: rotate(360deg); } }
.host-shell { position:absolute; width:65%; height:34%; border:24px solid rgba(72,210,204,.2); border-left-color:rgba(118,103,247,.35); border-right-color:rgba(39,214,197,.42); border-radius:50%; transform:rotateX(66deg) rotateZ(-8deg); box-shadow:0 0 50px rgba(39,214,197,.08), inset 0 0 24px rgba(7,17,31,.9); }
.host-shell::before { content:""; position:absolute; inset:-17px; border:1px dashed rgba(204,255,248,.37); border-radius:50%; }
.host-shell-back { transform:translateY(-72px) rotateX(66deg) rotateZ(-8deg); opacity:.78; }
.host-shell-front { transform:translateY(72px) rotateX(66deg) rotateZ(-8deg); }
.guest-stick { position:absolute; width:240px; height:34px; display:flex; align-items:center; justify-content:space-between; transform:rotate(-35deg); }
.guest-stick::before { content:""; position:absolute; left:14px; right:14px; height:3px; background:linear-gradient(90deg,#ff9f5a,#ffe0a7,#ff9f5a); box-shadow:0 0 20px rgba(255,159,90,.55); }
.guest-stick i { position:relative; z-index:1; width:18px; height:18px; border:3px solid #ffb36f; border-radius:50%; background:#402719; box-shadow:0 0 18px rgba(255,159,90,.28); }
.guest-stick i:first-child, .guest-stick i:last-child { width:25px; height:25px; background:#f8e8c8; }
.axis-line { position:absolute; width:70%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent); transform:rotate(-35deg); }
.art-label { position:absolute; display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid rgba(255,255,255,.13); border-radius:999px; background:rgba(7,17,31,.55); color:#cfe0e5; font-size:10px; backdrop-filter:blur(10px); }
.art-label span { width:6px; height:6px; border-radius:50%; }
.label-host { right:1%; top:30%; }.label-host span { background:var(--cyan); }
.label-guest { left:7%; bottom:24%; }.label-guest span { background:var(--orange); }

.builder-section, .results-section, .evidence-section { padding: 98px clamp(24px, 7vw, 112px); scroll-margin-top: 72px; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; max-width:1380px; margin:0 auto 38px; }
.section-heading > div:first-child { max-width:760px; }
.section-index { display:block; margin-bottom:15px; color:var(--cyan-dark); font:700 11px/1 var(--font-mono); letter-spacing:.15em; }
.section-heading h2 { margin-bottom:12px; font-size:clamp(30px,4vw,50px); line-height:1.08; letter-spacing:-.035em; }
.section-heading p { margin-bottom:0; color:var(--ink-soft); line-height:1.75; }
.mode-badge { align-self:center; display:flex; align-items:center; gap:9px; padding:9px 13px; border:1px solid var(--line); border-radius:999px; color:#5a6d7c; font-size:11px; background:rgba(255,255,255,.55); }
.mode-badge span { width:7px; height:7px; border-radius:50%; background:#e2a84d; box-shadow:0 0 0 4px rgba(226,168,77,.12); }
.step-rail { max-width:1380px; margin:0 auto 26px; padding:0; list-style:none; display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-radius:16px; overflow:hidden; background:rgba(255,255,255,.56); }
.step-rail li { position:relative; padding:18px 22px; display:grid; grid-template-columns:32px 1fr; grid-template-rows:auto auto; column-gap:10px; border-right:1px solid var(--line); }
.step-rail li:last-child { border-right:0; }
.step-rail li::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--cyan); transform:scaleX(0); transform-origin:left; }
.step-rail li.is-active::after { transform:scaleX(1); }
.step-rail li > span { grid-row:1/3; align-self:center; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#e7ece9; color:#7a898f; font:700 11px/1 var(--font-mono); }
.step-rail li.is-active > span { background:var(--navy); color:var(--cyan); }
.step-rail strong { font-size:12px; }.step-rail small { margin-top:3px; color:#87959d; font-size:9px; letter-spacing:.11em; text-transform:uppercase; }

.selector-grid { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:1.12fr .88fr; gap:20px; }
.selector-panel { min-width:0; padding:28px; border:1px solid var(--line); border-radius:var(--radius-lg); background:rgba(255,255,255,.78); box-shadow:0 10px 50px rgba(35,54,64,.04); }
.panel-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:24px; }
.panel-kicker { display:block; margin-bottom:7px; color:#70828e; font:700 9px/1 var(--font-mono); letter-spacing:.16em; }
.panel-header h3 { margin:0; font-size:23px; letter-spacing:-.02em; }
.selection-state { padding:7px 10px; border-radius:999px; color:var(--green); background:#e9f6f2; font-size:10px; font-weight:750; }
.source-tabs { display:flex; padding:4px; margin-bottom:20px; border-radius:12px; background:#edf1ef; }
.source-tabs button { flex:1; border:0; border-radius:9px; padding:10px 8px; color:#697982; background:transparent; font-size:11px; font-weight:700; cursor:pointer; }
.source-tabs button[aria-selected="true"] { color:var(--navy); background:#fff; box-shadow:0 4px 12px rgba(18,35,47,.07); }
.molecule-card { position:relative; width:100%; min-height:158px; padding:22px; display:grid; grid-template-columns:120px 1fr 28px; gap:20px; align-items:center; text-align:left; color:var(--ink); border:1px solid #bddad5; border-radius:18px; background:linear-gradient(135deg,#f8fffd,#f7f8ff); cursor:pointer; }
.molecule-card.is-selected { box-shadow:inset 0 0 0 1px var(--cyan-dark),0 14px 36px rgba(8,126,118,.08); }
.molecule-sketch { position:relative; height:90px; display:grid; place-items:center; }
.hexagon { width:60px; height:52px; border:3px solid #344f5f; clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.bond { position:absolute; width:30px; height:3px; background:#344f5f; top:44px; }.bond-left { left:5px; }.bond-right { right:5px; }
.ion { position:absolute; top:32px; width:25px; height:25px; display:grid; place-items:center; border-radius:50%; color:#7a3d10; background:#ffe1c8; font:bold 15px/1 var(--font-mono); font-style:normal; }.ion-left { left:-7px; }.ion-right { right:-7px; }
.molecule-name { display:block; margin-bottom:4px; font-size:18px; font-weight:750; }.molecule-alias { display:block; color:#70808a; font-size:11px; line-height:1.5; }
.molecule-meta { display:flex; gap:9px; align-items:center; flex-wrap:wrap; margin-top:18px; color:#50616c; font-size:10px; }.molecule-meta b { color:var(--ink); }.molecule-meta i { width:3px; height:3px; border-radius:50%; background:#9cadb4; }
.checkmark { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--green); font-size:12px; }
.identity-strip { display:flex; gap:10px; align-items:center; margin-top:14px; padding:0 4px; min-width:0; }.identity-strip code { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#53636d; font:10px/1.5 var(--font-mono); }
.status-tag { display:inline-flex; align-items:center; width:fit-content; padding:6px 9px; border-radius:999px; font-size:9px; font-weight:800; white-space:nowrap; letter-spacing:.02em; }
.status-pass { color:#0e6a59; background:#e3f4ef; }.status-progress { color:#6b4ab1; background:#eeeafa; }.status-large { padding:9px 13px; font-size:10px; }
.field-label { display:block; margin-bottom:9px; font-size:11px; font-weight:750; }
textarea { width:100%; resize:vertical; min-height:108px; padding:15px; border:1px solid #cbd5d1; border-radius:13px; color:var(--ink); background:#fff; font:12px/1.6 var(--font-mono); }
.field-note { display:flex; gap:9px; margin-top:13px; color:#697a84; font-size:10px; line-height:1.6; }.field-note > span { color:var(--amber); }
.upload-zone { min-height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:1px dashed #9eb5b0; border-radius:16px; color:#5b6d76; background:#f8fbfa; cursor:pointer; }
.upload-zone:hover { border-color:var(--cyan-dark); background:#f3fffc; }.upload-zone strong { color:var(--ink); font-size:13px; }.upload-zone span { font-size:10px; }.upload-zone input { position:absolute; width:1px; height:1px; opacity:0; }.upload-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:var(--cyan-dark); background:#e1f4f0; font-size:18px !important; }

.host-options { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.host-card { position:relative; min-width:0; padding:17px 10px 13px; display:flex; flex-direction:column; align-items:center; gap:10px; border:1px solid var(--line); border-radius:16px; color:var(--ink); background:#f8faf8; cursor:pointer; }
.host-card.is-selected { border-color:var(--cyan-dark); background:#f2fffc; box-shadow:inset 0 0 0 1px var(--cyan-dark); }
.host-card[aria-disabled="true"] { cursor:not-allowed; opacity:.5; }.host-card > span:nth-child(2) { text-align:center; }.host-card strong { display:block; font-size:17px; }.host-card small { display:block; margin-top:3px; color:#73838c; font-size:9px; }.host-card b { font-size:8px; color:#7c8d94; }.host-card b.available { color:var(--green); }
.host-icon { position:relative; width:62px; height:45px; border:8px solid #a6b8bf; border-left-color:#7667f7; border-right-color:#27bbae; border-radius:50%; transform:rotateX(62deg); }.host-icon i { position:absolute; inset:-4px; border:1px dashed #fff; border-radius:50%; }.host-7 { width:68px; }.host-8 { width:74px; }
.host-details { margin-top:18px; padding:17px; border-radius:16px; background:#eef2f0; }
.detail-row { display:flex; justify-content:space-between; gap:16px; padding:8px 0; border-bottom:1px solid rgba(112,130,142,.16); font-size:10px; }.detail-row span { color:#6d7c84; }.detail-row strong { text-align:right; }.text-pass { color:var(--green) !important; }.text-unverified { color:var(--amber) !important; }
.host-details p { margin:13px 0 0; color:#697980; font-size:9px; line-height:1.65; }

.combination-bar { max-width:1380px; margin:20px auto 0; padding:17px 18px; display:grid; grid-template-columns:82px minmax(230px,1fr) minmax(330px,1.2fr) auto; align-items:center; gap:18px; border-radius:20px; color:#eaf5f5; background:var(--navy); box-shadow:var(--shadow); }
.combination-visual { height:58px; display:flex; align-items:center; justify-content:center; gap:7px; border-radius:13px; background:rgba(255,255,255,.05); }.combination-visual b { color:#7f95a3; font-size:11px; }
.mini-host { width:34px; height:18px; border:5px solid var(--cyan); border-radius:50%; transform:rotateX(55deg); }.mini-guest { width:25px; height:4px; border-radius:4px; background:var(--orange); transform:rotate(-35deg); }
.combination-copy strong { display:block; margin:3px 0; font-size:16px; }.combination-copy small { color:#8298a7; font-size:9px; }
.combination-checks { display:flex; gap:16px; flex-wrap:wrap; color:#aabcc6; font-size:9px; }.combination-checks i { display:inline-grid; place-items:center; width:16px; height:16px; margin-right:5px; border-radius:50%; color:var(--cyan); background:rgba(39,214,197,.12); font-style:normal; }
.button-generate { min-width:182px; padding:14px 18px; color:var(--navy); background:var(--cyan); }.button-generate i { font-style:normal; font-size:17px; transition:transform .2s; }.button-generate:hover i { transform:translateX(4px); }
.builder-message { min-height:22px; max-width:1380px; margin:10px auto 0; color:#8b5818; font-size:11px; text-align:right; }

.results-section { color:#eef7f6; background:var(--navy); }
.results-heading { color:#f3fbfa; }.results-heading p { color:#8da2af; }
.results-heading .section-index { color:var(--cyan); }
.result-shell { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr); border:1px solid var(--line-dark); border-radius:var(--radius-lg); overflow:hidden; background:#0a1727; box-shadow:0 40px 90px rgba(0,0,0,.22); }
.viewer-column { min-width:0; border-right:1px solid var(--line-dark); }.viewer-topbar { min-height:58px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid var(--line-dark); color:#859aa7; font-size:9px; }.viewer-topbar > div { display:flex; align-items:center; gap:8px; color:#aebfc7; }
.viewer-dot { width:7px; height:7px; margin-left:10px; border-radius:50%; }.viewer-dot:first-child { margin-left:0; }.host-color { background:var(--cyan); }.guest-color { background:var(--orange); }
.molecule-viewer { position:relative; min-height:520px; background:radial-gradient(circle at 50% 48%,rgba(39,214,197,.08),transparent 35%),linear-gradient(150deg,#081525,#0b1b2b); overflow:hidden; }
.molecule-viewer::before { content:""; position:absolute; inset:0; opacity:.3; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:28px 28px; mask-image:radial-gradient(circle,#000,transparent 80%); }
#molecule-canvas { position:absolute; inset:0; width:100%; height:100%; cursor:grab; touch-action:none; }.molecule-viewer:active #molecule-canvas { cursor:grabbing; }
.viewer-badge { position:absolute; top:18px; left:18px; display:flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid rgba(255,255,255,.12); border-radius:999px; color:#a9bdc5; background:rgba(4,12,22,.55); font-size:9px; backdrop-filter:blur(10px); }.viewer-badge span { width:6px; height:6px; border-radius:50%; background:var(--green); }
.viewer-controls { position:absolute; right:18px; bottom:18px; display:flex; gap:7px; }.viewer-controls button { min-width:47px; padding:8px; border:1px solid rgba(255,255,255,.12); border-radius:10px; color:#d5e2e5; background:rgba(4,12,22,.68); cursor:pointer; }.viewer-controls span { display:block; margin-top:3px; color:#8398a4; font-size:7px; }
.viewer-controls button[aria-pressed="true"] { color:var(--navy); background:var(--cyan); }.viewer-controls button[aria-pressed="true"] span { color:var(--navy); }
.viewer-caption { min-height:44px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line-dark); color:#6e8493; font-size:8px; }.viewer-caption button { border:0; padding:0; color:#92cfc9; background:none; cursor:pointer; font-size:8px; }
.result-column { min-width:0; padding:22px; }
.candidate-switcher { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:24px; }.candidate-switcher button { min-width:0; padding:13px; display:grid; grid-template-columns:auto 1fr; column-gap:9px; text-align:left; border:1px solid var(--line-dark); border-radius:13px; color:#8095a2; background:transparent; cursor:pointer; }.candidate-switcher button[aria-selected="true"] { color:#e8f2f1; border-color:rgba(39,214,197,.55); background:rgba(39,214,197,.08); }.candidate-switcher span { grid-row:1/3; color:var(--cyan); font:700 9px/1.4 var(--font-mono); }.candidate-switcher strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }.candidate-switcher small { margin-top:3px; font-size:8px; color:#6f8592; }
.summary-title { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }.summary-title h3 { margin:6px 0 0; font-size:23px; letter-spacing:-.02em; }.rank-pill { padding:7px 9px; border-radius:8px; color:#ffc897; background:rgba(255,159,90,.11); font:700 8px/1 var(--font-mono); white-space:nowrap; }
.candidate-summary > p { margin:18px 0 20px; color:#94a8b3; font-size:11px; line-height:1.75; }
.metric-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:0; }.metric-grid > div { min-width:0; padding:14px; border:1px solid var(--line-dark); border-radius:13px; background:rgba(255,255,255,.025); }.metric-grid dt { margin-bottom:7px; color:#6f8492; font-size:8px; }.metric-grid dd { margin:0; color:#eaf3f3; font:650 20px/1.2 var(--font-mono); letter-spacing:-.04em; }.metric-grid small { display:block; margin-top:6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#617785; font-size:7px; }
.interpretation-box { margin-top:12px; padding:14px; display:grid; grid-template-columns:24px 1fr; gap:10px; border-radius:13px; color:#92a5af; background:rgba(118,103,247,.09); font-size:9px; line-height:1.65; }.interpretation-box > span { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; color:#c8c1ff; border:1px solid rgba(151,137,255,.35); font:700 10px/1 serif; }.interpretation-box p { margin:0; }.interpretation-box strong { color:#c9d7dc; }

.evidence-section { background:#eef2ef; }
.text-link { color:var(--cyan-dark); font-size:11px; font-weight:750; text-decoration:none; }.text-link:hover { text-decoration:underline; }
.pipeline { max-width:1380px; margin:0 auto 24px; padding:18px; display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap:8px; align-items:center; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.72); }
.pipeline > article { min-width:0; display:grid; grid-template-columns:34px 1fr; gap:10px; align-items:center; }.pipeline article > span { grid-row:1/3; width:32px; height:32px; display:grid; place-items:center; border-radius:9px; color:var(--cyan-dark); background:#e3f5f1; font:700 8px/1 var(--font-mono); }.pipeline strong,.pipeline small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.pipeline strong { font-size:10px; }.pipeline small { margin-top:4px; color:#7b8b92; font-size:7px; }.pipeline article > b { grid-column:2; width:fit-content; margin-top:5px; color:var(--green); font:700 7px/1 var(--font-mono); }.pipeline > i { color:#aab7b4; font-style:normal; font-size:13px; }
.evidence-grid { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.evidence-card { min-width:0; min-height:150px; padding:22px; display:grid; grid-template-columns:42px 1fr; grid-template-rows:1fr auto; gap:14px; border:1px solid var(--line); border-radius:20px; background:#fff; }.evidence-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; color:var(--navy); background:linear-gradient(145deg,#aaf0e7,#d7d3ff); font:800 14px/1 var(--font-mono); }.evidence-card h3 { margin:2px 0 7px; font-size:14px; }.evidence-card p { margin:0; color:#687982; font-size:9px; line-height:1.7; }.evidence-card > .status-tag { grid-column:2; }
.scope-note { max-width:1380px; margin:14px auto 0; padding:24px; display:grid; grid-template-columns:minmax(0,1.3fr) minmax(440px,.7fr); gap:28px; align-items:center; border-radius:20px; color:#dbe7e8; background:var(--navy); }.scope-note > div { display:grid; grid-template-columns:46px 1fr; gap:14px; }.scope-symbol { width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(39,214,197,.3); border-radius:50%; color:var(--cyan); font-size:20px; }.scope-note strong { font-size:13px; }.scope-note p { margin:6px 0 0; color:#879ca8; font-size:9px; line-height:1.7; }.scope-note dl { margin:0; display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; }.scope-note dl div { display:flex; justify-content:space-between; gap:10px; padding-bottom:7px; border-bottom:1px solid var(--line-dark); font-size:8px; }.scope-note dt { color:#78909e; }.scope-note dd { margin:0; font-weight:750; }

.site-footer { min-height:124px; padding:28px clamp(24px,7vw,112px); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; color:#8499a6; background:#050d18; font-size:9px; }.footer-brand { display:flex; align-items:center; gap:10px; }.footer-brand strong,.footer-brand span { display:block; }.footer-brand strong { color:#dce8e9; font-size:12px; }.footer-brand span { margin-top:3px; }.site-footer p { margin:0; text-align:center; }.site-footer > a { justify-self:end; color:#acd8d4; text-decoration:none; }
.toast { position:fixed; z-index:400; left:50%; bottom:24px; max-width:min(460px,calc(100vw - 32px)); padding:13px 17px; border-radius:12px; color:#eaf4f3; background:#122536; box-shadow:0 16px 50px rgba(0,0,0,.26); font-size:11px; line-height:1.5; opacity:0; transform:translate(-50%,20px); pointer-events:none; transition:opacity .2s,transform .2s; }.toast.is-visible { opacity:1; transform:translate(-50%,0); }

/* v2: real SDF-derived molecular structures and general task workspace */
.hero-structure {
  aspect-ratio: 1.28;
  align-self: center;
  overflow: hidden;
  border-radius: 30px;
  background:radial-gradient(circle at 50% 45%,rgba(39,214,197,.13),transparent 42%),linear-gradient(145deg,#071522,#0c2637);
  filter: drop-shadow(0 32px 70px rgba(0,0,0,.28));
}
.hero-structure::before {
  content:""; position:absolute; inset:-12%; z-index:-1; border-radius:50%;
  background:radial-gradient(circle,rgba(39,214,197,.14),transparent 68%);
}
.interactive-viewer { position:relative; min-width:0; user-select:none; }
.interactive-viewer canvas { position:absolute; inset:0; width:100%; height:100%; display:block; cursor:grab; touch-action:none; }
.interactive-viewer canvas:active { cursor:grabbing; }
.viewer-toolbar { position:absolute; right:14px; bottom:14px; z-index:4; display:flex; gap:7px; }
.viewer-toolbar button { width:38px; height:38px; padding:0; display:grid; place-items:center; border:1px solid rgba(255,255,255,.16); border-radius:10px; color:#eef8f7; background:rgba(4,14,25,.72); font-size:19px; line-height:1; cursor:pointer; backdrop-filter:blur(10px); }
.viewer-toolbar button:hover { color:var(--navy); background:var(--cyan); }

.molecule-card { grid-template-columns:132px 1fr 28px; }
.molecule-structure { width:132px; height:94px; display:block; overflow:hidden; border-radius:14px; background:#071522; }
.molecule-structure canvas { border-radius:14px; }

.host-structure-preview { position:relative; height:220px; margin:0 0 16px; overflow:hidden; border-radius:18px; color:#dcebea; background:#071522; }
.host-structure-preview > div { height:100%; display:grid; place-items:center; align-content:center; gap:10px; background:radial-gradient(circle at 50% 42%,rgba(39,214,197,.16),transparent 34%),linear-gradient(145deg,#071522,#0c2637); }
.host-structure-preview > .host-3d-viewer { display:block; }
.host-structure-preview > div strong { display:grid; place-items:center; width:86px; height:86px; border:1px solid rgba(39,214,197,.45); border-radius:50%; color:var(--cyan); font:800 23px/1 var(--font-mono); box-shadow:inset 0 0 30px rgba(39,214,197,.08); }
.host-structure-preview > div span { color:#89a0ab; font-size:10px; }
.host-card .host-icon { width:54px; height:42px; display:grid; place-items:center; border:1px solid rgba(12,25,41,.12); border-radius:13px; color:#657783; background:#eef2f0; transform:none; }
.host-card .host-icon i { display:none; }
.host-card .host-icon::after { font:800 10px/1 var(--font-mono); }
.host-card[data-host="CB6"] .host-icon::after { content:"n=6"; }
.host-card[data-host="CB7"] .host-icon::after { content:"n=7"; }
.host-card[data-host="CB8"] .host-icon::after { content:"n=8"; }
.host-card.is-selected .host-icon { color:var(--cyan); border-color:rgba(39,214,197,.36); background:rgba(39,214,197,.09); }
.host-card:not(.is-selected) b { color:#7b8b93; }

.environment-options { margin:16px 0 0; padding:0; border:0; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.environment-options legend { margin-bottom:9px; color:#70828e; font:700 9px/1 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; }
.environment-options label { position:relative; cursor:pointer; }
.environment-options input { position:absolute; opacity:0; pointer-events:none; }
.environment-options label > span { min-height:58px; padding:11px; display:flex; flex-direction:column; justify-content:center; border:1px solid var(--line); border-radius:13px; background:#f6f8f6; transition:border-color .2s,background .2s; }
.environment-options strong,.environment-options small { display:block; }.environment-options strong { font-size:10px; }.environment-options small { margin-top:5px; color:#829097; font-size:7px; line-height:1.35; }
.environment-options input:checked + span { border-color:var(--cyan-dark); background:#e8f7f3; box-shadow:inset 0 0 0 1px var(--cyan-dark); }
.environment-options input:focus-visible + span { outline:3px solid #f4c95d; outline-offset:3px; }

.configuration-receipt { max-width:1380px; margin:14px auto 0; padding:24px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:var(--shadow); }
.configuration-receipt > div { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }.configuration-receipt > div > span { color:var(--cyan-dark); font:700 9px/1 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; }.configuration-receipt > div strong { font-size:17px; }.configuration-receipt > div small { color:#7c8c94; }
.configuration-receipt ol { margin:22px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }.configuration-receipt li { min-width:0; padding:15px; display:flex; gap:11px; border-radius:15px; background:#f1f4f2; }.configuration-receipt li b { color:var(--cyan-dark); font:800 10px/1.4 var(--font-mono); }.configuration-receipt li span { font-size:10px; font-weight:700; }.configuration-receipt li small { display:block; margin-top:5px; color:#7b8b92; font-size:8px; font-weight:500; line-height:1.5; }.configuration-receipt > p { margin:15px 0 0; color:#855b22; font-size:10px; }

.platform-grid { max-width:1380px; margin:0 auto 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.platform-grid article { min-height:164px; padding:21px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.74); }
.platform-grid article > span { color:var(--cyan-dark); font:800 9px/1 var(--font-mono); letter-spacing:.12em; }.platform-grid h3 { margin:26px 0 8px; font-size:14px; }.platform-grid p { margin:0; color:#687982; font-size:9px; line-height:1.7; }

/* larger interface typography */
.brand strong { font-size:16px; }.brand small { font-size:12px; }
.top-nav a { font-size:14px; }.header-status { font-size:12px; }
.eyebrow { font-size:13px; }.hero-lead { font-size:17px; }.hero-facts dt { font-size:12px; }.hero-facts dd { font-size:15px; }
.section-index { font-size:12px; }.section-heading p { font-size:16px; }
.step-rail strong { font-size:14px; }
.panel-kicker { font-size:11px; }.panel-header h3 { font-size:25px; }.selection-state { font-size:12px; }
.source-tabs button { font-size:13px; }.molecule-name { font-size:20px; }.molecule-alias { font-size:13px; }.molecule-meta { font-size:12px; }
.identity-strip code,.status-tag { font-size:12px; }.field-label { font-size:13px; }.upload-zone strong { font-size:15px; }.upload-zone span { font-size:12px; }
.host-card small { font-size:12px; }.host-card b { font-size:12px; }.detail-row { font-size:13px; }
.environment-options legend { font-size:12px; }.environment-options strong { font-size:13px; }
.combination-copy strong { font-size:18px; }.combination-copy small,.combination-checks { font-size:12px; }.builder-message { font-size:13px; }
.configuration-receipt > div > span { font-size:12px; }.configuration-receipt > div small { font-size:12px; }.configuration-receipt li b,.configuration-receipt li span { font-size:13px; }
.viewer-topbar { font-size:13px; }.viewer-badge { font-size:12px; }
.candidate-switcher span { font-size:12px; }.candidate-switcher strong { font-size:14px; }.summary-title h3 { font-size:25px; }.rank-pill { font-size:12px; }
.candidate-summary > p { font-size:13px; }.metric-grid dt { font-size:12px; }.metric-grid dd { font-size:21px; }
.text-link { font-size:13px; }.pipeline article > span { font-size:11px; }.pipeline strong { font-size:13px; }.pipeline small { font-size:12px; }.pipeline article > b { font-size:11px; }
.platform-grid article > span { font-size:12px; }.platform-grid h3,.evidence-card h3 { font-size:16px; }.platform-grid p,.evidence-card p { font-size:13px; }
.scope-note strong { font-size:15px; }.scope-note p { font-size:13px; }.scope-note dl div { font-size:12px; }.site-footer { font-size:12px; }.footer-brand strong { font-size:14px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns:1fr auto; }.top-nav { display:none; }
  .hero { grid-template-columns:1fr; min-height:auto; padding-top:80px; }.hero-copy { max-width:760px; }.hero-art { width:min(620px,90vw); justify-self:center; margin-top:28px; }
  .selector-grid { grid-template-columns:1fr; }.combination-bar { grid-template-columns:72px 1fr auto; }.combination-checks { display:none; }
  .result-shell { grid-template-columns:1fr; }.viewer-column { border-right:0; border-bottom:1px solid var(--line-dark); }
  .pipeline { grid-template-columns:1fr; }.pipeline > i { transform:rotate(90deg); justify-self:center; }.pipeline > article { grid-template-columns:40px 1fr auto; }.pipeline article > b { grid-column:3; grid-row:1/3; }
  .scope-note { grid-template-columns:1fr; }.evidence-grid { grid-template-columns:1fr; }
  .platform-grid { grid-template-columns:1fr 1fr; }
  .configuration-receipt ol { grid-template-columns:1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { height:66px; padding:0 18px; }.brand small { display:none; }.header-status { font-size:0; }.header-status::after { content:"平台"; font-size:12px; }
  .hero { width:100%; padding:64px 20px 90px; }.hero h1 { font-size:42px; }.hero-lead { font-size:16px; }.eyebrow { align-items:flex-start; font-size:12px; line-height:1.55; letter-spacing:.12em; }.eyebrow span { flex:0 0 30px; margin-top:7px; }.hero-facts { width:100%; gap:12px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }.hero-facts div { padding-left:9px; }.hero-facts dd { font-size:13px; }
  .hero-art { width:100%; min-width:0; margin-left:0; transform:none; }.art-label { display:none; }.hero-structure { margin-top:54px; }.hero-structure > p { bottom:-44px; }
  .builder-section,.results-section,.evidence-section { padding:74px 16px; }.section-heading { align-items:flex-start; flex-direction:column; }.section-heading h2 { font-size:34px; }.mode-badge { align-self:flex-start; }
  .step-rail { grid-template-columns:repeat(4,1fr); }.step-rail li { display:flex; justify-content:center; padding:12px 6px; border-right:0; }.step-rail li > span { width:27px; height:27px; }.step-rail strong,.step-rail small { display:none; }
  .selector-panel { padding:20px; border-radius:22px; }.molecule-card { min-height:0; grid-template-columns:82px 1fr 24px; gap:12px; padding:12px; }.molecule-structure { width:82px; height:70px; }.molecule-name { font-size:17px; }.molecule-alias { font-size:12px; }.molecule-meta { display:none; }
  .host-options { grid-template-columns:1fr 1fr 1fr; }.host-card { padding:13px 4px; }.host-card .host-icon { width:40px; height:34px; }.host-card small { display:none; }.host-structure-preview { height:180px; }.environment-options { grid-template-columns:1fr; }
  .combination-bar { grid-template-columns:54px 1fr; padding:14px; }.combination-visual { height:52px; }.button-generate { grid-column:1/3; width:100%; }.combination-copy strong { font-size:16px; }
  .result-column { padding:17px; }.molecule-viewer { min-height:390px; }.viewer-topbar > span { display:none; }.metric-grid { grid-template-columns:1fr 1fr; }.metric-grid dd { font-size:19px; }
  .scope-note { padding:19px; }.scope-note dl { grid-template-columns:1fr; }.scope-note > div { grid-template-columns:34px 1fr; }.scope-symbol { width:34px; height:34px; }
  .platform-grid,.configuration-receipt ol { grid-template-columns:1fr; }.configuration-receipt { padding:18px; }
  .site-footer { grid-template-columns:1fr; text-align:center; }.footer-brand { justify-content:center; }.site-footer > a { justify-self:center; }.site-footer p { order:3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

