body.site { background: var(--bg); }
.topbar.sticky { position: sticky; top: 0; backdrop-filter: blur(10px); }
.topbar nav a.cta { color: #0b1320; background: var(--accent); padding: 6px 12px; border-radius: 8px; font-weight: 600; }
.topbar nav a.cta:hover { background: var(--accent2); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.band { padding: 96px 0; border-top: 1px solid var(--line); }
.band.dark { background: var(--bg2); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; font-weight: 600; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; margin: 0 0 18px; }
h4 { margin: 0 0 6px; font-size: 16px; }
.lede { font-size: 18px; color: var(--muted); max-width: 760px; margin: 0 0 36px; }
.band p { color: #c9d3dd; }
.mt { margin-top: 28px; }
.btn.big { padding: 12px 18px; font-size: 15px; border-radius: 10px; display: inline-block; }
.btn.primary.big { color: #0b1320; }
a.btn:hover { text-decoration: none; }
.math { font-family: var(--serif); font-style: italic; color: var(--accent2); white-space: nowrap; }

/* hero */
.hero { position: relative; min-height: calc(100vh - 52px); display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(900px 600px at 75% 40%, rgba(47, 111, 235, .22), transparent 70%), var(--bg); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero.hero-narrow { align-items: flex-start; padding-bottom: var(--temple-band, 360px); }
.hero-text { position: relative; max-width: 1160px; margin: 0 auto; padding: 60px 24px; width: 100%; pointer-events: none; }
.hero-text > * { max-width: 600px; }
.hero-text a { pointer-events: auto; }
.hero-text > h1 { max-width: none; }
.hero h1 { font-size: clamp(32px, 6vw, 76px); line-height: 1.02; margin: 0 0 22px; }
.hero h1 em { font-style: italic; color: var(--accent2); white-space: nowrap; }
.hero .lead { font-size: 18.5px; color: #c9d3dd; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero-note { font-size: 13px; color: var(--dim); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gap { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: linear-gradient(180deg, var(--panel), var(--bg)); }
.gap .n { font-family: var(--serif); font-size: 30px; color: var(--accent); opacity: .8; }
.gap p, .mini p { font-size: 14px; color: var(--muted); margin: 0; }
.mini { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1.05fr 1fr; }
.ticks { list-style: none; padding: 0; margin: 18px 0; }
.ticks li { position: relative; padding: 0 0 12px 24px; color: #c9d3dd; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.steps { padding-left: 22px; color: #c9d3dd; }
.steps li { margin-bottom: 10px; }
.fig { margin: 0; }
.fig figcaption { font-size: 13px; color: var(--dim); margin-top: 10px; }
.diagram { width: 100%; height: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.diagram text { font-family: var(--sans); fill: var(--text); font-size: 13px; }
.diagram .lvl { font-size: 10.5px; letter-spacing: .14em; fill: var(--dim); font-weight: 600; }
.diagram .sep { stroke: var(--line); stroke-dasharray: 3 5; }
.diagram .cls rect { fill: rgba(240, 179, 90, .1); stroke: #f0b35a; }
.diagram .cls text, .diagram .obj text { text-anchor: middle; font-size: 12.5px; }
.diagram .obj rect { fill: rgba(86, 211, 100, .08); stroke: #56d364; }
.diagram .e-tax, .diagram .e-type { stroke: #f0b35a; stroke-width: 1.3; fill: none; stroke-dasharray: 4 3; }
.diagram .e-mer { stroke: #56d364; stroke-width: 1.6; fill: none; }
.diagram .e-con { stroke: #58a6ff; stroke-width: 1; fill: none; opacity: .55; }
.diagram .elab { font-size: 11px; }
.diagram .e { stroke: #58a6ff; stroke-width: 1.6; fill: none; }
.nlbox rect { fill: var(--bg2); stroke: var(--line); }
.nlbox rect.q { stroke: var(--accent); fill: var(--accent-soft); }
.nlbox rect.llm { stroke: #bc8cff; fill: rgba(188, 140, 255, .08); }
.nlbox rect.onto { stroke: #f0b35a; fill: rgba(240, 179, 90, .08); }
.nlbox rect.geqb { stroke: #56d364; fill: rgba(86, 211, 100, .07); }
.nlbox rect.sparql { fill: #0b0f14; }
.nlbox .t1 { text-anchor: middle; font-family: var(--serif); font-style: italic; font-size: 16px; }
.t2 { text-anchor: middle; font-weight: 600; font-size: 14px; }
.t3 { text-anchor: middle; font-size: 12px; fill: var(--muted) !important; }
.t3.l { text-anchor: start; }
.nlbox .code { font-family: var(--mono); font-size: 12px; fill: #79c0ff; white-space: pre; }
.arch rect { fill: var(--bg2); stroke: var(--line); }
.arch rect.br { stroke: var(--accent); fill: var(--accent-soft); }
.arch rect.faded { stroke-dasharray: 4 4; }
.arch + path, .diagram path.e { }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.flow .node { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--panel); }
.flow .node p { font-size: 13.5px; color: var(--muted); margin: 0; }
.flow .tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--warm); }
.flow .arrow { align-self: center; color: var(--accent); font-size: 22px; }

/* DSS mini demo */
.dss-demo { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.dss-demo .diagram { border: 0; background: none; }
.dss-ctrl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 6px 10px 6px; font-size: 12.5px; color: var(--muted); }
.dss-ctrl label { display: block; }
.d-legend { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text); min-height: 36px; }
.d-legend span { display: inline-flex; gap: 6px; align-items: center; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); transition: transform .15s, border-color .15s; color: var(--text); }
.proj:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
.proj .img { aspect-ratio: 16 / 10; background: #0b0f14 center / cover no-repeat; }
.proj .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj .body p { margin: 0; font-size: 13.5px; color: var(--muted); }
.proj .go { margin-top: auto; color: var(--accent2); font-size: 13.5px; font-weight: 600; }
.proj.soon { opacity: .55; }
.proj.soon .img { display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 13px; }

.pubs { list-style: none; padding: 0; margin: 0 0 20px; }
.pubs li { display: grid; grid-template-columns: 64px 1fr; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pubs li span { color: var(--accent); font-variant-numeric: tabular-nums; grid-row: span 2; }
.pubs li em { color: var(--dim); font-style: normal; font-size: 13px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.foot .row { justify-content: space-between; display: flex; gap: 16px; flex-wrap: wrap; }
.foot .row > * { flex: none; }

/* guide */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 48px; max-width: 1160px; margin: 0 auto; padding: 40px 24px 80px; }
.doc nav.toc { position: sticky; top: 72px; align-self: start; font-size: 13.5px; }
.doc nav.toc a { display: block; color: var(--muted); padding: 4px 0; }
.doc nav.toc a:hover { color: var(--text); text-decoration: none; }
.doc article { max-width: 780px; }
.doc article h1 { font-size: 44px; margin: 0 0 8px; }
.doc article h2 { font-size: 28px; margin: 54px 0 14px; padding-top: 10px; }
.doc article h3 { font-size: 18px; margin: 28px 0 8px; }
.doc article p, .doc article li { color: #c9d3dd; }
.doc article pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow: auto; }
.doc article code { color: var(--accent2); }
.doc article table { border-collapse: collapse; width: 100%; font-size: 13.5px; margin: 12px 0; }
.doc article th, .doc article td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.doc article th { color: var(--dim); font-weight: 600; }
.callout { border: 1px solid rgba(88, 166, 255, .4); background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.callout.warn { border-color: rgba(240, 179, 90, .45); background: rgba(240, 179, 90, .09); }
.tut { counter-reset: t; list-style: none; padding: 0; }
.tut > li { counter-increment: t; position: relative; padding: 0 0 18px 46px; }
.tut > li::before { content: counter(t); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #0b1320; font-weight: 700; }
.doc img.shot { width: 100%; border-radius: 12px; border: 1px solid var(--line); margin: 10px 0; }

@media (max-width: 900px) {
  .grid4, .grid3, .projects { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 28px; }
  .split.rev > figure { order: 2; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); justify-self: center; }
  .topbar nav a:not(.cta) { display: none; }
  .band { padding: 64px 0; }
  .doc { grid-template-columns: 1fr; }
  .doc nav.toc { position: static; }
  .hero-text > * { max-width: none; }
}

.hero-phase { position: absolute; right: 6%; bottom: 7%; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  max-width: 420px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; pointer-events: none; }
.hero-phase.on { opacity: 1; transform: none; }
.hero-phase b { font-family: var(--serif); font-size: 34px; color: var(--accent); line-height: 1; }
.hero-phase span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text); font-weight: 600; }
.hero-phase i { flex-basis: 100%; text-align: right; font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .hero-phase { right: 16px; bottom: 14px; } .hero-phase b { font-size: 26px; } }

/* NL-2-SPARQL animated figure (js/nl_anim.js) */
.nl-anim { transition: opacity .3s; }
.nl-anim rect { transition: filter .3s, stroke-width .3s; }
.nl-anim rect.lit { filter: url(#nlglow); stroke-width: 2; }
.nl-anim .nla-q { font-family: var(--serif); font-style: italic; font-size: 16px; fill: var(--text); }
.nl-anim .nla-tok { font-family: var(--serif); font-style: italic; font-size: 13px; fill: #bc8cff; }
.nl-anim .nla-parse { font-family: var(--mono); font-size: 11.5px; fill: #d2b8ff; }
.nl-anim .nla-edge { stroke: #3a4656; stroke-width: 1.3; transition: stroke .3s; }
.nl-anim .nla-edge.on { stroke: #56d364; stroke-width: 2.6; }
.nl-anim .nla-node circle { fill: #2a3340; stroke: #6b7785; transition: fill .3s, r .3s; }
.nl-anim .nla-node.on circle { fill: #f0b35a; stroke: #f0b35a; r: 6.5; filter: url(#nlglow); }
.nl-anim .nla-nl { font-size: 10px; text-anchor: middle; fill: var(--muted); }
.nl-anim .nla-node.on .nla-nl { fill: var(--text); }
.nl-anim .nla-map { fill: #f0b35a; font-family: var(--mono); font-size: 10px; }
.nl-anim .nla-temple circle { fill: #4f7fbf; transition: fill .25s; }
.nl-anim .nla-temple circle.hit { fill: #ff7850; filter: url(#nlglow); }
.nl-anim .nla-arrow { opacity: .35; transition: opacity .3s; }
.nl-anim .nla-arrow.on { opacity: 1; }

/* ---------- concept page figures (js/concept.js, 27/11/2026) ---------- */
.mt2 { margin-top: 64px; }
h3.sub { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 10px; }
h3.sub.big { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin-bottom: 16px; }
.h2s { max-width: 820px; }
.formula { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--accent2); margin: 6px 0; }
.diagram .cf-q { font-size: 12px; fill: var(--muted); font-style: italic; }
.diagram .cf-qmark { font-size: 13px; fill: var(--bad); font-weight: 700; }
.diagram .cf-ring { fill: none; stroke: #ffd666; stroke-width: 2; }
.diagram .cf-tipbox { fill: rgba(11, 15, 20, .94); stroke: #ffd666; }
.diagram .cf-tiptxt { font-family: var(--mono); font-size: 11px; fill: #e6edf3; }
.diagram .cf-tipnote { font-size: 11px; fill: var(--bad); font-style: italic; }
.cf-problem .cf-tip { transition: opacity .2s; pointer-events: none; }
.cf-gen, .cf-hyb, .cf-ins { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.cf-gen .diagram, .cf-hyb .diagram, .cf-ins .diagram { border: 0; background: none; }
.cf-gen-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 4px 8px; }
.cf-gen-bar button { background: var(--bg2); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.cf-gen-bar button.on { background: var(--accent); color: #0b1320; border-color: var(--accent); font-weight: 600; }
.cf-gen-txt { font-size: 13.5px; color: #c9d3dd; padding: 4px 8px 6px; min-height: 64px; }
.cf-gen-txt b { color: var(--accent2); }
.cf-gen-ctl { display: flex; gap: 6px; justify-content: flex-end; padding: 0 6px 4px; }
.cf-gen .cf-dot, .cf-ins .cf-dot { transition: fill .5s, opacity .35s; }
.cf-gen svg g[opacity] { transition: opacity .5s; }
.diagram .cf-bb rect { fill: none; stroke-width: 2; stroke-dasharray: 5 4; }
.diagram .cf-mer path { stroke: #56d364; stroke-width: 1.6; fill: none; }
.diagram .cf-tax rect { fill: rgba(240, 179, 90, .1); stroke: #f0b35a; }
.diagram .cf-tax text { text-anchor: middle; font-size: 10.5px; }
.diagram .cf-tax path { stroke: #f0b35a; stroke-width: 1.1; fill: none; stroke-dasharray: 4 3; }
.diagram .cf-node rect { fill: var(--bg2); stroke-width: 1.6; }
.diagram .cf-node text { text-anchor: middle; font-size: 10.5px; }
.diagram .cf-qt { font-size: 11.5px; fill: var(--text); }
.diagram .cf-qv { font-size: 10.5px; fill: var(--muted); }
.diagram .cf-qbg { fill: #2a3340; }
.diagram .cf-thr { stroke: #ffd666; stroke-width: 1.4; stroke-dasharray: 3 3; }
.diagram .cf-qres { font-size: 12px; fill: #56d364; font-weight: 600; }
.diagram .cf-pk { font-size: 12px; fill: var(--text); font-weight: 600; }
.diagram .cf-pv { font-size: 11.5px; fill: var(--muted); }
.cf-dual .e-con { stroke-dasharray: 6 5; animation: cfflow 1.4s linear infinite; }
@keyframes cfflow { to { stroke-dashoffset: -22; } }
.cf-dual[data-hl] .obj rect { opacity: .3; transition: opacity .2s; }
.cf-dual[data-hl="0"] .obj rect:nth-of-type(1), .cf-dual[data-hl="1"] .obj rect:nth-of-type(2), .cf-dual[data-hl="2"] .obj rect:nth-of-type(3) { opacity: 1; stroke-width: 2.5; }
.diagram .cf-core { fill: rgba(88, 166, 255, .06); stroke: var(--accent); }
.diagram .cf-obj { fill: rgba(86, 211, 100, .08); stroke: #56d364; }
.diagram .cf-sensor { fill: rgba(57, 210, 192, .1); stroke: #39d2c0; }
.diagram .cf-ot { text-anchor: middle; font-size: 11.5px; }
.diagram .cf-ot.dim { fill: var(--dim); font-size: 10.5px; }
.diagram .cf-l { stroke: #56d364; stroke-width: 1.3; fill: none; }
.diagram .cf-l.dash { stroke: #39d2c0; stroke-dasharray: 4 3; }
.diagram .cf-l.dim { stroke: #3a4656; stroke-dasharray: 2 4; }
.diagram .cf-pt { fill: #4f7fbf; transition: fill .6s; }
.diagram .cf-src rect { fill: var(--bg2); stroke-width: 1.4; transition: fill .3s; }
.diagram .cf-src.on rect { fill: rgba(255, 255, 255, .06); stroke-width: 2.4; }
.diagram .cf-sn { font-size: 12px; font-weight: 600; }
.diagram .cf-sk { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.diagram .cf-flowlab { font-family: var(--mono); font-size: 10.5px; fill: #ffd666; }
.diagram .cf-time { stroke: var(--line); stroke-width: 2; }
.diagram .cf-chip circle { fill: var(--bg2); stroke: #39d2c0; stroke-width: 2; transition: fill .3s, r .3s; }
.diagram .cf-chip.on circle { fill: #39d2c0; r: 9; }
.diagram .cf-cn { font-size: 11.5px; font-weight: 600; }
.diagram .cf-cd { font-size: 10.5px; fill: var(--muted); }
.cf-hyb-ctl { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px 16px; padding: 6px 10px 6px; font-size: 12.5px; color: var(--muted); }
.cf-hyb-ctl label { display: flex; flex-direction: column; gap: 4px; }
.cf-hyb-ctl input[type=color] { width: 100%; height: 32px; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.diagram .cf-hn rect { fill: var(--bg2); stroke: var(--line); stroke-width: 1.4; }
.diagram .cf-hn text { text-anchor: middle; font-size: 11.5px; }
.diagram .cf-hn.p rect { stroke: #58a6ff; } .diagram .cf-hn.m rect { stroke: #d7a16b; } .diagram .cf-hn.v rect { stroke: #6b7785; }
.diagram .cf-hn.r rect { stroke: #bc8cff; fill: rgba(188, 140, 255, .08); } .diagram .cf-hn.o rect { stroke: #ffd666; fill: rgba(255, 214, 102, .08); }
.diagram .cf-hn.o text { font-weight: 700; fill: #ffd666; }
.diagram .cf-he { stroke: #58a6ff; stroke-width: 1.5; fill: none; stroke-dasharray: 160; stroke-dashoffset: 160; }
.diagram .cf-he.run { transition: stroke-dashoffset .6s ease-out; stroke-dashoffset: 0; }
.diagram .cf-hel { fill: var(--muted); font-size: 10px; text-anchor: middle; }
.diagram .cf-formula { font-family: var(--serif); font-style: italic; font-size: 13px; fill: var(--accent2); }
.diagram .cf-gfill { transition: width .6s, fill .6s; }
.diagram .cf-grid { stroke: #1f2630; }
.diagram .cf-span { fill: rgba(255, 123, 114, .35); transition: width 1s ease-out, x 1s ease-out; }
.diagram .cf-mean { fill: #ff7b72; stroke: #e6edf3; stroke-width: 1.2; transition: cx 1s ease-out; }
.cf-tmp { cursor: pointer; }
.cf-ins { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.cf-ins .diagram { cursor: crosshair; }
.cf-ins-panel { font-size: 12px; padding: 8px 6px; align-self: center; min-height: 160px; }
.cf-ins-panel .h { font-family: var(--mono); color: #ffd666; margin-bottom: 8px; font-weight: 600; }
.cf-ins-panel .t { font-family: var(--mono); font-size: 11px; line-height: 1.45; padding: 3px 0; border-bottom: 1px solid var(--line); }
.cf-ins-panel .s { color: var(--text); } .cf-ins-panel .o { color: var(--accent2); }
.cf-ins-panel .con .p { color: #58a6ff; } .cf-ins-panel .typ .p { color: #f0b35a; } .cf-ins-panel .mer .p { color: #56d364; } .cf-ins-panel .dp .p { color: #bc8cff; }
.diagram .cf-orbit { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 6; }
.diagram .cf-arc { fill: none; stroke: #2a3340; stroke-width: 2.4; transition: stroke .4s; }
.diagram .cf-arc.on { stroke: var(--accent); }
.diagram .cf-corec { fill: rgba(88, 166, 255, .08); stroke: var(--accent); }
.diagram .cf-expert circle, .diagram .cf-expert path { fill: #ffd666; }
.diagram .cf-verb rect { fill: var(--bg2); stroke: var(--line); stroke-width: 1.4; transition: fill .4s, stroke .4s; }
.diagram .cf-verb.on rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.4; }
.diagram .cf-verb.on .t2 { fill: var(--accent2); }
@media (max-width: 900px) {
  .cf-ins { grid-template-columns: 1fr; }
  .cf-hyb-ctl { grid-template-columns: 1fr; }
  .mt2 { margin-top: 40px; }
}
.diagram .cf-small { font-size: 10.5px; }
.diagram .cf-lead { stroke: #ffd666; stroke-width: 1; stroke-dasharray: 3 3; opacity: .8; }
.diagram .cf-bbx { fill: none; stroke: #ffd666; stroke-width: 2.5; stroke-dasharray: 6 4; transition: opacity .4s; }
.diagram .cf-tyt { font-family: var(--mono); font-size: 9.5px; fill: #f0b35a; }
.diagram .cf-prt { font-family: var(--mono); font-size: 9.5px; fill: #bc8cff; white-space: pre; }
.cf-gen svg > g[opacity] { transition: opacity .5s; }
.cf-ins { grid-template-columns: 1fr; }
.cf-ins-panel { min-height: 0; }
.diagram .cf-pvh { font-size: 11px; fill: var(--text); font-weight: 600; letter-spacing: .02em; }
.diagram .cf-drt { font-family: var(--mono); font-size: 9.5px; fill: #ffd666; }
.diagram .cf-note { font-size: 9.5px; fill: var(--dim); font-style: italic; }
ol.cf-steps { margin: 10px 0 14px; padding-left: 22px; color: #c9d3dd; }
ol.cf-steps li { margin: 0 0 8px; padding-left: 4px; }
ol.cf-steps li::marker { color: var(--accent); font-weight: 700; }
.diagram .cf-lvlbox { fill: rgba(88, 166, 255, .05); stroke: #33414f; stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.diagram .cf-lvlbox.on { stroke: var(--accent); fill: rgba(88, 166, 255, .1); }
.diagram .cf-lvlt { font-size: 10px; letter-spacing: .14em; font-weight: 600; fill: var(--dim); }
.diagram .cf-ochip rect { fill: rgba(86, 211, 100, .08); stroke: #56d364; stroke-width: 1; transition: fill .3s, stroke-width .3s; }
.diagram .cf-ochip text { font-size: 10.5px; text-anchor: middle; }
.diagram .cf-ochip.on rect { fill: rgba(86, 211, 100, .3); stroke-width: 2.2; }
.diagram .cf-desc { fill: none; stroke-width: 1.6; opacity: .45; transition: opacity .3s, stroke-width .3s; }
.diagram .cf-desc.on { opacity: 1; stroke-width: 2.4; }
.diagram .cf-desct { font-size: 9.5px; text-anchor: middle; opacity: .8; }
.diagram .cf-rec { fill: none; stroke: #8b98a8; stroke-width: 1.4; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.diagram .cf-rec.on { opacity: 1; stroke-width: 2.2; }
.diagram .cf-rect { font-size: 9.5px; fill: #8b98a8; font-style: italic; }
.diagram .cf-acq rect { fill: rgba(139, 152, 168, .1); stroke: #8b98a8; stroke-width: 1.4; }
.diagram .cf-acqt { font-size: 11px; letter-spacing: .14em; font-weight: 700; text-anchor: middle; }
.diagram .cf-acqc { font-size: 10.5px; text-anchor: middle; fill: var(--muted); }
.diagram .cf-acqs { font-family: var(--mono); font-size: 10px; text-anchor: middle; fill: #ffd666; }
.diagram .cf-rin rect { fill: var(--bg2); stroke-width: 1.4; transition: fill .4s, stroke-width .4s; }
.diagram .cf-rin.on rect { fill: rgba(255, 255, 255, .06); stroke-width: 2.4; }
.diagram .cf-rint { font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.diagram .cf-rins { font-size: 11px; fill: var(--muted); }
.diagram .cf-rinx { font-family: var(--mono); font-size: 10.5px; fill: #ffd666; white-space: pre; }
.diagram .cf-rnote { font-size: 10px; fill: var(--dim); font-style: italic; }
.diagram .cf-rar { fill: none; stroke-width: 1.6; opacity: .4; transition: opacity .4s, stroke-width .4s; }
.diagram .cf-rar.dash { stroke-dasharray: 5 4; }
.diagram .cf-rar.on { opacity: 1; stroke-width: 2.4; }
.diagram .cf-rbox { fill: rgba(88, 166, 255, .07); stroke: var(--accent); stroke-width: 1.6; }
.diagram .cf-rt { font-size: 13px; letter-spacing: .16em; font-weight: 700; text-anchor: middle; }
.diagram .cf-rchip rect { fill: var(--bg2); stroke: #33414f; transition: stroke .4s, fill .4s; }
.diagram .cf-rchip.on rect { stroke: var(--accent); fill: rgba(88, 166, 255, .12); }
.diagram .cf-rct { font-size: 12px; font-weight: 700; fill: var(--accent); }
.diagram .cf-rout { fill: rgba(255, 214, 102, .06); stroke: #ffd666; stroke-width: 1.4; }
.fig.wide { margin: 26px 0 8px; }
.fig.wide svg { max-width: 920px; display: block; margin: 0 auto; }
.diagram .cf-lt { font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.diagram .cf-ls { font-size: 10.5px; fill: var(--muted); }
.diagram .cf-lsep { stroke: #2a3340; stroke-dasharray: 2 4; }
.diagram .cf-tb rect { fill: var(--bg2); stroke: #33414f; stroke-width: 1.4; transition: fill .4s, stroke .4s; }
.diagram .cf-tb text { font-size: 11px; text-anchor: middle; fill: var(--dim); transition: fill .4s; }
.diagram .cf-tb.on rect { fill: rgba(88, 166, 255, .16); stroke: var(--accent); }
.diagram .cf-tb.on text { fill: var(--text); }
.diagram .cf-ta { fill: none; stroke: #58a6ff; stroke-width: 1.5; opacity: .25; transition: opacity .4s; }
.diagram .cf-ta.on { opacity: 1; }
.diagram .cf-tal { font-size: 9.5px; fill: var(--dim); font-style: italic; }
.diagram .cf-acc { fill: rgba(86, 211, 100, .12); stroke: #56d364; stroke-width: 1.2; }
.diagram .cf-acct { font-size: 10.5px; fill: #56d364; }
.diagram .cf-axis { stroke: #58a6ff; stroke-width: 1.2; opacity: .6; }
.diagram .cf-head { stroke: #ffd666; stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
@media (max-width: 720px) { #fig-reason { overflow-x: auto; } #fig-reason svg { min-width: 640px; } }
.cf-col .cf-no, .cf-col .cf-yes, .cf-col .cf-with { transition: opacity .7s; }
.cf-col .cf-yes, .cf-col .cf-with { opacity: 0; }
.cf-col.with .cf-yes, .cf-col.with .cf-with { opacity: 1; }
.cf-col.with .cf-no { opacity: 0; }
.diagram .cf-colh { font-size: 12.5px; font-weight: 600; text-anchor: middle; }
.diagram .cf-mess { fill: none; stroke: #ff7b72; stroke-width: 1.4; opacity: .85; }
.diagram .cf-mess.m1 { stroke-dasharray: 5 3; stroke: #f0b35a; }
.diagram .cf-mess.m2 { stroke-dasharray: 2 3; stroke: #bc8cff; }
.diagram .cf-messt { font-family: var(--mono); font-size: 9.5px; fill: #ff7b72; }
.diagram .cf-messt.big { font-family: var(--sans); font-size: 10.5px; }
.diagram .cf-yest { font-size: 10.5px; fill: #58a6ff; }
.diagram .cf-src rect { stroke: #8b98a8; }
.diagram .cf-sk2 { font-family: var(--mono); font-size: 9.5px; fill: #ff7b72; transition: opacity .7s; }
.diagram .cf-sk2.dim { opacity: .35; }
.diagram .cf-acqn rect { fill: rgba(255, 214, 102, .06); stroke: #ffd666; stroke-width: 1.2; }
.diagram .cf-acqc2 { font-size: 10.5px; fill: var(--text); font-weight: 600; }
.diagram .cf-acqs2 { font-family: var(--mono); font-size: 9.5px; fill: #ffd666; }
.diagram .cf-crel { fill: none; stroke: #58a6ff; stroke-width: 1.6; }
.cf-colw .cf-gen-bar { margin-bottom: 6px; }
.diagram .cf-q2 { font-size: 22px; font-weight: 700; fill: #ff7b72; }
.diagram .cf-tbt { font-size: 12.5px; font-weight: 700; text-anchor: middle; fill: var(--dim); transition: fill .4s; }
.diagram .cf-tb.on .cf-tbt { fill: var(--text); }
.diagram .cf-tbs { font-size: 10.5px; text-anchor: middle; fill: var(--muted); }
