/* ───────────────────────── hero */ .hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 80% 0%, var(--hero-ink-2) 0%, var(--hero-ink) 60%); color: var(--hero-text); margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); } .hero__art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } .hero__edge { fill: none; stroke: #5598e7; stroke-width: 1; opacity: 0.35; } .hero__halo { fill: #2a78d6; opacity: 0.06; } .hero__dot--0 { fill: #86b6ef; } .hero__dot--1 { fill: #3987e5; } .hero__dot--2 { fill: #b7d3f6; opacity: 0.8; } .hero__dot--3 { fill: #eb6834; opacity: 0.85; } .hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-ink) 18%, color-mix(in srgb, var(--hero-ink) 55%, transparent) 55%, transparent 85%); pointer-events: none; } .hero__inner { position: relative; z-index: 1; max-width: var(--page-max); margin: 0 auto; padding: clamp(56px, 9vw, 104px) var(--gutter) clamp(64px, 9vw, 112px); } .hero__copy { max-width: 680px; } .eyebrow--hero { color: #86b6ef; } .hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; } .hero__em { background: linear-gradient(90deg, #86b6ef, #eb9a74); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero__lede { margin: 20px 0 28px; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--hero-muted); max-width: 60ch; } .hero__examples { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--hero-muted); } .hero__examples .chip { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #dbe7f6; } .hero__examples .chip:hover { border-color: #86b6ef; color: #fff; } /* ───────────────────────── home */ .statstrip { margin: -56px 0 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; } .statstrip__item { padding: 20px 20px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; } .statstrip__item:last-child { border-right: 0; } .statstrip__value { margin: 0; font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; } .statstrip__label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 4px; } .statstrip__note { font-size: 12px; color: var(--muted); } @media (max-width: 1080px) { .statstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .statstrip__item:nth-child(3n) { border-right: 0; } .statstrip__item:nth-child(-n + 3) { border-bottom: 1px solid var(--line); } } @media (max-width: 560px) { .statstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .statstrip__item { border-right: 0; border-bottom: 1px solid var(--line); } .statstrip__item:nth-child(odd) { border-right: 1px solid var(--line); } .statstrip__item:nth-last-child(-n + 2) { border-bottom: 0; } } .concept { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px 48px; padding: 40px 0 8px; } .concept__intro h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; } .concept__intro p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); line-height: 1.65; } .concept__intro em { font-style: normal; font-weight: 600; color: var(--ink); } .concept__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; } .concept__steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; } .concept__steps li:not(:last-child)::after { content: ''; position: absolute; top: 38px; right: -13px; width: 10px; height: 10px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); } .concept__icon { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 14px; } .concept__icon svg { width: 18px; height: 18px; } .concept__steps h3 { font-size: 15px; margin-bottom: 6px; } .concept__steps p { font-size: 13.5px; color: var(--muted); line-height: 1.55; } .fidelity-scale { grid-column: 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; } .fidelity-scale__title { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; } .fidelity-scale ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; } .fidelity-scale li { display: flex; flex-direction: column; gap: 8px; } .fidelity-scale li .swatch { width: 100%; height: 10px; border-radius: 2px; } .fidelity-scale li:first-child .swatch { border-radius: 5px 2px 2px 5px; } .fidelity-scale li:last-child .swatch { border-radius: 2px 5px 5px 2px; } .fidelity-scale li span { display: flex; flex-direction: column; font-size: 13px; } .fidelity-scale small { color: var(--muted); font-size: 12px; } @media (max-width: 960px) { .concept { grid-template-columns: 1fr; } .fidelity-scale { grid-column: 1; } } @media (max-width: 640px) { .concept__steps { grid-template-columns: 1fr; } .concept__steps li::after { display: none; } .fidelity-scale ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; } } .block { padding-top: 24px; } .block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; } .block__head h2 { font-size: clamp(22px, 2.3vw, 26px); letter-spacing: -0.02em; } .feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; } .feature { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; color: var(--ink); text-decoration: none !important; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; } .feature:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); } .feature__glyph { flex-shrink: 0; width: 72px; height: 72px; border-radius: 14px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; } .feature__glyph svg { width: 64px; height: 64px; } .glyph__edge { stroke: var(--line-strong); stroke-width: 1; } .glyph__halo { fill: var(--accent); opacity: 0.08; } .glyph__dot--0 { fill: var(--fid-low); } .glyph__dot--1 { fill: var(--fid-high); } .glyph__dot--2 { fill: var(--holo); } .feature__body { min-width: 0; flex: 1; } .feature h3 { font-size: 15.5px; } .feature p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; } .feature__meta { display: flex; gap: 10px; font-size: 12px; color: var(--faint); margin-top: 10px; } .feature__nums { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 8px; } .feature__nums b { color: var(--ink); font-weight: 650; } .feature__arrow { position: absolute; right: 16px; top: 18px; width: 16px; height: 16px; color: var(--faint); transition: transform 0.15s, color 0.15s; } .feature:hover .feature__arrow { transform: translateX(3px); color: var(--accent-strong); } .glance { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; } .glance .card__kicker { margin-bottom: 14px; } .glance__split { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); } .glance__split .card__title { margin-bottom: 12px; } @media (max-width: 900px) { .glance { grid-template-columns: 1fr; } } .cta { margin-top: 24px; display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--hero-ink) 0%, var(--hero-ink-2) 100%); color: var(--hero-muted); flex-wrap: wrap; } .cta__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(134, 182, 239, 0.14); color: #86b6ef; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .cta__icon svg { width: 26px; height: 26px; } .cta__text { flex: 1 1 320px; } .cta h2 { color: #fff; font-size: 21px; } .cta p { margin-top: 6px; } .cta code { color: #dbe7f6; background: rgba(255, 255, 255, 0.08); padding: 1px 6px; border-radius: 5px; font-size: 0.9em; } .cta__actions { display: flex; gap: 10px; flex-wrap: wrap; } .cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.2); } .cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); } /* ───────────────────────── page heads */ .page-head { padding-top: 8px; } .page-head h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; } .page-head__sub { margin-top: 10px; color: var(--muted); max-width: 72ch; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .page-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .section-title { font-size: 18px; margin-top: 16px; } .crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--faint); flex-wrap: wrap; } .crumbs a { color: var(--muted); } .crumbs span:last-child { color: var(--ink-2); } .filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); } .filters__reset { margin-bottom: 3px; } /* ───────────────────────── entity head (sequence / chain) */ .entity-head { display: flex; gap: 24px; align-items: stretch; justify-content: space-between; flex-wrap: wrap; } .entity-head__main { flex: 1 1 480px; min-width: 0; } .entity-head h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; } .entity-head__chain { font-size: 0.6em; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; } .entity-head__desc { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 80ch; min-height: 1.5em; } .entity-head__links { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; } .kpis { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; align-self: flex-start; } .kpis > div { background: var(--surface); padding: 14px 16px; } .kpis dt { font-size: 12px; color: var(--muted); } .kpis dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; } .kpi-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; } .kpi-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; } .kpi-grid dt { font-size: 12.5px; color: var(--muted); } .kpi-grid dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; } .family-card { flex: 0 1 300px; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none !important; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; align-self: flex-start; } @media (max-width: 700px) { .family-card { flex-basis: 100%; } } .family-card:hover { border-color: var(--accent); box-shadow: var(--shadow); } .family-card .eyebrow { margin: 0; } .family-card__id { font-size: 20px; font-weight: 700; color: var(--ink); } .family-card__nums { display: flex; gap: 16px; font-size: 14px; } .family-card__nums b { color: var(--ink); } .family-card__state { font-size: 13px; color: var(--muted); } .family-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: 13.5px; color: var(--accent-strong); } .family-card__go svg { width: 15px; height: 15px; } .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; } .grid-2--single { grid-template-columns: 1fr; } .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; } @media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr 1fr; } } @media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } } .details-text { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.55; background: var(--surface-2); border-radius: var(--radius); padding: 10px 12px; overflow-wrap: anywhere; } .binders { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .binder { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 10px 5px 6px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--holo) 35%, var(--line)); background: color-mix(in srgb, var(--holo) 7%, var(--surface)); color: var(--ink-2); font-size: 12.5px; text-decoration: none !important; } .binder__id { font-weight: 700; color: var(--ink); background: var(--surface); border-radius: 5px; padding: 1px 6px; } .binder__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .page-foot-note { text-align: center; } /* ───────────────────────── states */ .landscape__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 460px; overflow-y: auto; padding: 2px; } .state-tile { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; } .state-tile:hover { border-color: var(--line-strong); background: var(--surface-2); } .state-tile.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .state-tile.is-home { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); } .state-tile__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .state-tile__name { font-weight: 600; font-size: 13px; } .state-tile__n { font-size: 12px; color: var(--muted); } .state-tile__dots { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; } .state-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--apo); } .state-dot.is-holo { background: var(--holo); } .state-dot.is-hi { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); } .legend-dot { background: var(--apo); } .state-tile__more { font-size: 11px; color: var(--muted); margin-left: 2px; } .landscape__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; } .landscape__foot .legend { margin-top: 12px; } .heatmap { position: relative; overflow-x: auto; } .heatmap svg { display: block; margin: 0 auto; } .heatmap__cell { cursor: pointer; transition: opacity 0.12s; } .heatmap__scale { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; font-size: 12px; color: var(--muted); } .heatmap__step { display: inline-flex; align-items: center; gap: 5px; } /* ───────────────────────── chain page */ .neighbourhood { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; } .neighbourhood__side { display: flex; flex-direction: column; gap: 14px; padding-left: 24px; border-left: 1px solid var(--line); } @media (max-width: 900px) { .neighbourhood { grid-template-columns: 1fr; } .neighbourhood__side { padding-left: 0; border-left: 0; } } .scatter__pt { cursor: pointer; transition: r 0.12s; } .scatter__pt:hover { r: 6.5; } .scatter__pt.is-sel { stroke: var(--ink) !important; stroke-width: 2.5 !important; } .callout { padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); } .callout .eyebrow { margin-bottom: 4px; } .callout__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 13px; text-align: left; } .callout__btn span:last-child { color: var(--muted); } .callout__btn:hover .mono { color: var(--accent-strong); } .compare { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 0 4px var(--accent-soft); scroll-margin-top: calc(var(--header-h) + 24px); } .compare__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; } .compare__head h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .compare__arrow { width: 18px; height: 18px; color: var(--faint); } .compare__actions { display: flex; gap: 8px; flex-wrap: wrap; } .compare__metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; } .metric { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); } .metric > span:first-child { font-size: 12px; color: var(--muted); } .metric b { font-size: 18px; font-weight: 700; } .metric small { font-size: 12px; color: var(--muted); } .compare__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; } @media (max-width: 860px) { .compare__body { grid-template-columns: 1fr; } } .compare__sub { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; } .table--compare th[scope='row'] { position: static; background: transparent; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--muted); } .table--compare thead th { font-size: 12.5px; color: var(--ink); } .compare__viewers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; } @media (max-width: 760px) { .compare__viewers { grid-template-columns: 1fr; } } .deltas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .deltas li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; align-items: center; gap: 10px; font-size: 13px; } .deltas__label { color: var(--ink-2); } .deltas__track { position: relative; height: 12px; background: var(--surface-2); border-radius: 3px; } .deltas__mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--axis); } .deltas__bar { position: absolute; top: 0; bottom: 0; } .deltas__bar.is-up { background: var(--pos); border-radius: 0 3px 3px 0; } .deltas__bar.is-down { background: var(--neg); border-radius: 3px 0 0 3px; } .deltas__val { text-align: right; font-weight: 600; } .viewer { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); } .viewer__canvas { position: absolute; inset: 0; } .viewer__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; background: var(--surface); } .viewer__overlay svg { width: 18px; height: 18px; } .viewer__label { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 12px; font-family: var(--font-mono); padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); pointer-events: none; } /* ───────────────────────── functions & sequence */ .fnlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .fnlist__item { display: grid; grid-template-columns: 22px minmax(0, 1fr) 96px; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; } .fnlist__item:last-child { border-bottom: 0; } .fnlist__rank { font-size: 12px; color: var(--faint); padding-top: 1px; } .fnlist__text { color: var(--ink-2); line-height: 1.5; } .fnlist__score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--muted); } .fnlist__bar { width: 100%; height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; } .fnlist__bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; } .seqtrack__bar { display: flex; justify-content: flex-end; margin: -6px 0 10px; } .seqtrack__actions { display: flex; gap: 8px; } .coverage-track { position: relative; height: 8px; border-radius: 4px; background: var(--surface-3); margin-bottom: 22px; } .coverage-track__seg { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; } .coverage-track__labels { position: absolute; top: 12px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); } .seqtrack__body { background: var(--surface-2); border-radius: var(--radius); padding: 12px 14px; font-size: 12.5px; line-height: 1.8; overflow-x: auto; } .seqtrack__line { display: flex; gap: 14px; white-space: nowrap; } .seqtrack__num { width: 36px; text-align: right; color: var(--faint); user-select: none; flex-shrink: 0; } .seqtrack__res { display: flex; gap: 10px; color: var(--ink); letter-spacing: 0.04em; } .res-off { color: var(--faint); opacity: 0.55; } .seqtrack__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; font-size: 12.5px; } .res-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--surface-3); vertical-align: -1px; margin-right: 4px; } /* ───────────────────────── statistics */ .chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .chart-card { margin: 0; } .chart-card figcaption { margin-bottom: 14px; } .chart-card--wide { grid-column: span 2; } @media (max-width: 860px) { .chart-grid { grid-template-columns: 1fr; } .chart-card--wide { grid-column: auto; } } /* ───────────────────────── docs */ .docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; } .docs__toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; font-size: 13px; } .docs__toc-link { color: var(--muted); padding: 4px 10px; border-left: 2px solid var(--line); } .docs__toc-link--3 { padding-left: 22px; font-size: 12.5px; } .docs__toc-link:hover { color: var(--ink); text-decoration: none; } .docs__toc-link.is-active { color: var(--accent-strong); border-left-color: var(--accent); font-weight: 600; } @media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .docs__toc { display: none; } } .markdown { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 40px); font-size: 15px; line-height: 1.7; color: var(--ink-2); min-width: 0; } .markdown > :first-child { margin-top: 0; } .markdown h1 { font-size: 28px; margin: 0 0 16px; } .markdown h2 { font-size: 22px; margin: 40px 0 14px; padding-top: 8px; position: relative; } .markdown h3 { font-size: 17px; margin: 28px 0 10px; position: relative; } .markdown .anchor { position: absolute; left: -20px; color: var(--faint); opacity: 0; text-decoration: none; } .markdown h2:hover .anchor, .markdown h3:hover .anchor { opacity: 1; } .markdown p, .markdown ul, .markdown ol { margin: 0 0 14px; } .markdown hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; } .markdown strong { color: var(--ink); } .markdown code { font-size: 0.86em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; color: var(--ink); } .markdown pre { background: var(--hero-ink); color: #dbe7f6; padding: 16px 18px; border-radius: var(--radius); overflow-x: auto; font-size: 13px; line-height: 1.6; margin: 0 0 18px; } .markdown pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; } .markdown table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0 0 18px; } .markdown th, .markdown td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .markdown th { background: var(--surface-2); font-size: 12.5px; color: var(--muted); font-weight: 600; } .markdown td:first-child code { white-space: nowrap; } .not-found { padding-top: 80px; padding-bottom: 80px; } .not-found h1 { font-size: 32px; margin-bottom: 12px; } /* ───────────────────────── identifiers & domains */ .idlist { margin: 0; display: flex; flex-direction: column; } .idlist__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .idlist__row:last-child { border-bottom: 0; } .idlist__row dt { color: var(--muted); } .idlist__row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; min-width: 0; } .idstack { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .idchip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .idchip__name { color: var(--ink-2); font-size: 13px; } .idchip__more { font-size: 12px; } @media (max-width: 520px) { .idlist__row { grid-template-columns: 1fr; gap: 2px; } } /* ───────────────────────── order / disorder */ .order-cell { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .order-cell__plus { color: var(--ink); font-weight: 600; } .order-cell__minus { color: var(--muted); } .evid { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 5px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); text-transform: capitalize; } .evid--high { background: color-mix(in srgb, var(--ord) 18%, var(--surface)); border-color: color-mix(in srgb, var(--ord) 50%, var(--line)); color: var(--ink); } .evid--medium { background: color-mix(in srgb, var(--ord) 9%, var(--surface)); color: var(--ink-2); } .orderview { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); } .orderview__stats { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-2); align-items: center; } .orderview__stats > span { display: inline-flex; align-items: center; gap: 6px; } .order-track { position: relative; height: 12px; border-radius: 4px; background: var(--surface-3); margin: 16px 0 24px; } .order-track__seg { position: absolute; top: 0; bottom: 0; border-radius: 2px; } .order-track__seg--ord { background: var(--ord); } .order-track__seg--dis { background: var(--disord); } .order-track__labels { position: absolute; top: 16px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); } .orderview__ranges { overflow-wrap: anywhere; } .neighbour-link { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; text-decoration: none !important; } .neighbour-link:hover { background: var(--accent-soft); } .neighbour-link .eyebrow { margin: 0; } /* ───────────────────────── knowledge graph */ .block__sub { margin-top: 8px; color: var(--muted); max-width: 88ch; line-height: 1.6; } .kg { display: flex; flex-direction: column; gap: 14px; } .kg__picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .kg__picks .chip { cursor: pointer; } .chip.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); } .kg__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } @media (max-width: 960px) { .kg__panels { grid-template-columns: 1fr; } } .kg__panel { display: flex; flex-direction: column; min-width: 0; } .kg__head { margin-bottom: 10px; } .kg__head .eyebrow { margin-bottom: 2px; } .kg__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; } .kg__foot:only-of-type { justify-content: flex-end; } .legend-line { display: inline-block; width: 16px; height: 3px; border-radius: 2px; } .swatch--sel { background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--holo); } .chart-tip__wrap { white-space: normal; max-width: 260px; color: var(--muted); font-size: 12px; margin: 2px 0 6px; } /* live force graph */ .fg { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 1px 1px, var(--grid) 1px, transparent 0) 0 0 / 18px 18px, var(--surface); touch-action: none; user-select: none; } .fg svg { display: block; } .fg__node { stroke: var(--surface); stroke-width: 1.5; cursor: grab; transition: r 0.15s; } .fg__node:active { cursor: grabbing; } .fg__node.is-ring { stroke: var(--holo); stroke-width: 3.5; } .fg__hull { fill-opacity: 0.1; stroke-opacity: 0.45; stroke-width: 1.2; stroke-dasharray: 4 3; pointer-events: none; } .fg__hull-label { font-size: 11px; font-weight: 600; fill: var(--muted); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; pointer-events: none; } .fact-note { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } /* ───────────────────────── structure comparison */ .sdiff { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; } .sdiff__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; } .sdiff__stats { flex: 1 1 320px; margin: 0; } .sdiff__legend { margin-top: 0; } .sdiff__track { display: flex; height: 16px; border-radius: 4px; overflow: hidden; background: var(--surface-2); } .sdiff__cell { flex: 1 1 0; min-width: 0; } .sdiff__cell.is-empty { background: transparent; } .sdiff__cell:hover { outline: 1.5px solid var(--ink); outline-offset: -1px; } .sdiff__axis { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--faint); margin-top: -6px; } /* full per-residue order track: both / ordered / disordered / neither */ .order-track--full { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); } .order-track__seg--both, .order-key--both { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); } .order-track__seg--ord { background: var(--ord); } .order-track__seg--dis { background: var(--disord); } .order-track__seg--none { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line) 3px 4px); } .order-key--none { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); } .order-legend { margin: -8px 0 6px; } /* ───────────────────────── binding partners */ .pchips { display: inline-flex; flex-wrap: nowrap; gap: 4px; align-items: center; } .pchip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); } .pchip--self { background: transparent; color: var(--muted); border-style: dashed; } .pchip--protein { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; } .pchip--dna, .pchip--rna, .pchip--hybrid { background: color-mix(in srgb, var(--holo) 14%, transparent); color: var(--ink); border-color: transparent; } .pchip.is-gained { box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 600; } .pchip--more { background: transparent; } .pchip--lost { background: transparent; color: var(--pos); border-color: color-mix(in srgb, var(--pos) 40%, transparent); } .partner-name { display: inline-flex; align-items: baseline; gap: 8px; } .partner-name__text { font-weight: 550; color: var(--ink); } .partner-name__ids { display: flex; gap: 10px; margin-top: 2px; font-size: 12px; } .ptype { font-size: 10.5px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; } .ptype--dna, .ptype--rna, .ptype--hybrid { background: color-mix(in srgb, var(--holo) 16%, transparent); color: var(--ink); } .ptype-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; flex: none; background: var(--accent); } .ptype-dot--self { background: transparent; border: 1.5px dashed var(--muted); } .ptype-dot--dna, .ptype-dot--rna, .ptype-dot--hybrid { background: var(--holo); } .pkind { font-size: 12px; font-weight: 550; white-space: nowrap; } .pkind--bio { color: var(--accent-strong); } .pkind--homo { color: var(--ink-2); } .pkind--weak { color: var(--faint); } tr.is-dim td { color: var(--muted); } .istrip { position: relative; display: block; min-width: 220px; height: 12px; border-radius: 3px; background: var(--surface-3); overflow: hidden; } .istrip__seg { position: absolute; top: 0; bottom: 0; background: var(--accent); } tr.is-dim .istrip__seg { background: var(--faint); } .partners-toggle { margin-top: 10px; } .pmatrix-wrap { overflow-x: auto; } .pmatrix { border-collapse: separate; border-spacing: 2px; font-size: 12.5px; } .pmatrix th { font-weight: 550; color: var(--muted); text-align: center; } .pmatrix tbody th { text-align: left; } .pmatrix__corner { text-align: left !important; font-size: 11.5px; } .pmatrix__partner, .pmatrix__state { border: 0; background: transparent; font: inherit; color: var(--ink-2); cursor: pointer; padding: 3px 6px; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: center; } .pmatrix__partner:hover, .pmatrix__state:hover { background: var(--surface-2); } .pmatrix__partner.is-on, .pmatrix__state.is-on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; } .pmatrix__cell { min-width: 34px; height: 26px; text-align: center; border-radius: 4px; font-variant-numeric: tabular-nums; color: var(--ink); } .seq-bg-0 { background: var(--surface-2); } .seq-bg-1 { background: var(--seq-1); } .seq-bg-2 { background: var(--seq-2); } .seq-bg-3 { background: var(--seq-3); color: #fff; } .seq-bg-4 { background: var(--seq-4); color: #fff; } .seq-bg-5 { background: var(--seq-5); color: #fff; } .pmatrix__label { display: inline-block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; } .pmatrix__acc { margin-left: 6px; font-size: 11px; color: var(--muted); } .barlist--wide .barlist__row { grid-template-columns: minmax(120px, 260px) minmax(0, 1fr) auto; } .binding__summary { margin-top: 4px; } .binding__text { font-size: 15px !important; } .binding__sub { margin: 22px 0 10px; font-size: 14px; font-weight: 650; color: var(--ink); } .binding__sub span { margin-left: 8px; font-size: 12.5px; font-weight: 400; color: var(--muted); } /* Two-column card flow: each column stacks independently, so a short card does not leave a gap beside a tall one. */ .masonry { columns: 2; column-gap: 20px; margin-bottom: -20px; } .masonry > * { break-inside: avoid; margin: 0 0 20px; display: block; width: 100%; } @media (max-width: 800px) { .masonry { columns: 1; } } /* superposed comparison: our hover line names the real chain and its Cα deviation, so hide Mol*'s generic first line (file URL, model, chain A/B) */ .sdiff .msp-highlight-simple-row:first-child:not(:last-child) { display: none; } .pchips--stacked { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; } .pchips--stacked .pchip { height: auto; min-height: 20px; padding: 2px 8px; white-space: normal; line-height: 1.35; max-width: 100%; } /* long partner names wrap inside the comparison table instead of spilling into the energy column */ .table--compare td { overflow-wrap: anywhere; }