/* Docs site chrome. Uses only Visualli tokens, so every theme works here too. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font-ui); font-size: 15px; line-height: 1.6; }
a { color: var(--link); }
code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-sunken); padding: 1px 5px; border-radius: 6px; }
pre { background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); overflow-x: auto; }
pre code { background: none; padding: 0; font-size: 13px; line-height: 1.55; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: var(--space-3); height: 60px; padding: 0 var(--space-4); background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--ink); }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand span { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.08em; }
.brand em { font-style: normal; color: var(--ink-muted); font-size: 13px; }
.theme { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); font-size: 13px; color: var(--ink-muted); }
.theme select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 6px 10px; }
.nav-toggle { display: none; font-size: 20px; background: none; border: 0; color: var(--ink); cursor: pointer; }

nav.side { position: fixed; top: 60px; bottom: 0; left: 0; width: 264px; overflow-y: auto; padding: var(--space-4) var(--space-3) var(--space-6); border-right: 1px solid var(--line); background: var(--canvas); }
nav.side a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
nav.side a:hover { background: var(--surface-sunken); }
nav.side a[aria-current="page"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.nav-sec { font-family: var(--font-display); font-size: 15px; line-height: 20px; letter-spacing: 0.1em; color: var(--ink); margin: var(--space-4) 10px var(--space-1); text-transform: uppercase; }
.nav-group { font-size: 13px; color: var(--ink-muted); margin: var(--space-2) 10px 2px; }
nav.side summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-2); padding: 4px 0; border-radius: var(--radius-xs); }
nav.side summary::-webkit-details-marker { display: none; }
nav.side summary::after { content: ""; flex: none; width: 6px; height: 6px; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--duration-quick) var(--ease-standard); }
nav.side details[open] > summary::after { transform: rotate(45deg); }
nav.side summary:hover { color: var(--ink); }
nav.side summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
nav.side details details { margin-left: var(--space-2); }
@media (prefers-reduced-motion: reduce) { nav.side summary::after { transition: none; } }
.filter { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 10px; margin-bottom: var(--space-2); }

main { margin-left: 264px; padding: var(--space-6) var(--space-6) var(--space-8); }
article { max-width: none; } /* text takes the full content width on every page */
article h1 { font-size: 34px; line-height: 1.15; margin: 0 0 var(--space-3); }
article h2 { font-size: 22px; margin: var(--space-7) 0 var(--space-3); }
article h3 { font-size: 17px; margin: var(--space-5) 0 var(--space-2); }
.eyebrow { font-family: var(--font-display); letter-spacing: 0.14em; font-size: 13px; color: var(--ink-muted); margin: 0 0 var(--space-1); text-transform: uppercase; }
.muted, .usage { color: var(--ink-muted); }
article table { border-collapse: collapse; width: 100%; font-size: 14px; margin: var(--space-3) 0; }
article th, article td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
article thead th { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
.scroll { overflow-x: auto; }
table.color td { min-width: 96px; }
article table th code { white-space: nowrap; }
.swatch { display: block; width: 100%; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.hex { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); margin-top: 3px; }
table.color .usage { min-width: 260px; }
.vis { width: 140px; }
.bar { display: block; height: 12px; background: var(--spectrum-teal); border-radius: 3px; }
.radius { display: block; width: 56px; height: 40px; border: 2px solid var(--ink); }
.shadow { display: block; width: 72px; height: 44px; border-radius: var(--radius-md); background: var(--surface); }
.track { display: block; width: 120px; height: 12px; border-radius: 6px; background: var(--surface-sunken); position: relative; }
.dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transition: transform var(--demo-dur) var(--demo-ease); }
table.motion tr:hover .dot { transform: translateX(108px); }

.type-list { display: grid; gap: var(--space-2); }
.type-row { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); align-items: center; }
.type-meta span { display: block; font-size: 12px; color: var(--ink-muted); }
.type-meta p { margin: 4px 0 0; font-size: 12px; line-height: 1.4; }
.type-sample { overflow-wrap: anywhere; }

.preview-frame { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: auto; background: var(--canvas); margin: var(--space-4) 0; }
.preview-frame.wide { max-width: none; }
.preview-bar { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 12px; color: var(--ink-muted); border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; left: 0; }
.preview-frame iframe { display: block; width: 100%; border: 0; }
iframe.cover { display: block; width: 100%; max-width: 1100px; height: 420px; border: 0; border-radius: var(--radius-lg); margin-bottom: var(--space-6); box-shadow: var(--shadow-float); }

.tiles { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tiles.icons { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.tile { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); text-align: center; }
.tile img { max-width: 100%; height: 96px; object-fit: contain; }
.tile.small img { height: 28px; }
[data-theme$="dark"] .tile.small img { filter: invert(1); }
.tile figcaption { font-size: 11px; color: var(--ink-muted); margin-top: 6px; overflow-wrap: anywhere; }
/* Playground: frame + controls + code */
.pg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; grid-template-areas: "stage controls" "code code"; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin: var(--space-3) 0 var(--space-5); background: var(--surface); }
.pg-stage { grid-area: stage; min-width: 0; background: var(--canvas); border-right: 1px solid var(--line); overflow-x: auto; }
.pg-stage iframe { display: block; width: 100%; border: 0; transition: width var(--duration-base) var(--ease-standard); background: var(--canvas); }
.pg-controls { grid-area: controls; display: grid; align-content: start; gap: var(--space-2); padding: var(--space-3); font-size: 13px; max-height: 420px; overflow-y: auto; }
.pg-field { display: grid; gap: 2px; }
.pg-field--boolean, .pg-field--function { grid-template-columns: 1fr auto; align-items: center; }
.pg-field label { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.pg-field label span { font-family: var(--font-ui); color: var(--ink-subtle); }
.pg-field select, .pg-field input[type="text"] { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-xs); padding: 5px 8px; min-width: 0; }
.pg-field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--action); }
.pg-code { grid-area: code; border-top: 1px solid var(--line); background: var(--surface-sunken); }
.pg-codebar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 6px var(--space-3); border-bottom: 1px solid var(--line); }
.pg-tab { font: 600 12px/16px var(--font-ui); color: var(--ink-muted); background: none; border: 0; padding: 6px 10px; border-radius: var(--radius-xs); cursor: pointer; }
.pg-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pg-copy, .copy-btn { font: 600 12px/16px var(--font-ui); color: var(--on-action); background: var(--action); border: 0; border-radius: var(--radius-pill); padding: 6px 12px; cursor: pointer; }
.pg-copy.is-done, .copy-btn.is-done { background: var(--success); color: var(--surface); }
.pg-code pre { margin: 0; border: 0; border-radius: 0; background: none; max-height: 320px; }
pre.has-copy { position: relative; padding-right: 76px; }
.copy-btn { position: absolute; top: 8px; right: 8px; }
.copyable { cursor: copy; }
.copyable.is-done { background: var(--success-soft); color: var(--success); }
.widths { display: inline-flex; gap: 2px; padding: 2px; background: var(--surface-sunken); border-radius: var(--radius-sm); }
.widths button { font: 600 11px/14px var(--font-ui); color: var(--ink-muted); background: none; border: 0; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.widths button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.preview-bar { align-items: center; }
.preview-bar .bar-end { display: inline-flex; align-items: center; gap: var(--space-3); }
.preview-bar span:first-child { white-space: nowrap; }
.eyebrow.inline { display: inline; margin-left: var(--space-2); font-size: 11px; vertical-align: middle; }
article h2 a { color: inherit; text-decoration: none; }
article h2 a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .pg-wrap { grid-template-columns: 1fr; grid-template-areas: "stage" "controls" "code"; } .pg-stage { border-right: 0; border-bottom: 1px solid var(--line); } .pg-controls { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); max-height: none; } }
@media (prefers-reduced-motion: reduce) { .pg-stage iframe { transition: none; } }

/* Feature matrix */

footer { margin-top: var(--space-8); font-size: 13px; color: var(--ink-muted); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .brand em { display: none; }
  nav.side { transform: translateX(-100%); transition: transform var(--duration-base) var(--ease-standard); z-index: 9; background: var(--surface); }
  body.nav-open nav.side { transform: none; box-shadow: var(--shadow-pop); }
  main { margin-left: 0; padding: var(--space-5) var(--space-4) var(--space-7); }
  .type-row { grid-template-columns: 1fr; }
  .theme { font-size: 0; }
}

/* Surfaces */
.nav-soon { font-size: 11px; color: var(--ink-subtle); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; margin-left: 4px; }
.sf-soon { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: var(--space-5); background: var(--surface); margin: var(--space-4) 0; }
.sf-soon .eyebrow { margin: 0 0 var(--space-2); }
.sf-soon p:last-child { margin: 0; }




/* Overview */
iframe.ov-hero { display: block; width: 100%; height: 460px; border: 0; border-radius: var(--radius-lg); margin-bottom: var(--space-7); background: var(--canvas); }
.ov-sec { margin: 0 0 var(--space-8); }
.ov-head { margin-bottom: var(--space-4); }
.ov-head .eyebrow { margin: 0 0 var(--space-1); }
.ov-head h2 { margin: 0 0 var(--space-2); border: 0; padding: 0; }
.ov-head p { margin: 0; }
.ov-surfaces { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.ov-surface { display: grid; gap: 4px; padding: var(--space-2) var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform var(--duration-quick) var(--ease-standard), box-shadow var(--duration-quick) var(--ease-standard); }
.ov-surface:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.ov-surface:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ov-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--radius-md) - 6px); background: var(--canvas); margin-bottom: var(--space-2); border: 1px solid var(--line); }
.ov-thumb iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.ov-thumb--soon { display: grid; place-items: center; border-style: dashed; color: var(--ink-subtle); font: 400 12px/16px var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.ov-surface__name { font-weight: 700; padding: 0 var(--space-1); }
.ov-surface__blurb { font-size: 14px; line-height: 20px; color: var(--ink-muted); padding: 0 var(--space-1); }
.ov-surface__meta { font-size: 12px; color: var(--success); font-weight: 600; padding: 0 var(--space-1); }
.ov-lang { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-4); }
.ov-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); padding: var(--space-4); }
.ov-card h3 { margin: 0 0 4px; font-size: 16px; }
.ov-card h3:not(:first-child) { margin-top: var(--space-4); }
.ov-card p { margin: 0 0 var(--space-3); font-size: 14px; line-height: 20px; }
.ov-spectrum { display: flex; border-radius: var(--radius-sm); overflow: hidden; }
.ov-sw { flex: 1; height: 48px; display: grid; place-items: end center; padding-bottom: 4px; }
.ov-sw b { font: 400 11px/1 var(--font-display); color: #fff; mix-blend-mode: normal; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.ov-topics { display: flex; flex-wrap: wrap; gap: 10px; }
.ov-blob { width: 34px; height: 30px; border: 2px solid; }
.ov-voice { display: grid; gap: 2px; padding: var(--space-2) 0; border-bottom: 1px dashed var(--line); }
.ov-voice:last-child { border-bottom: 0; }
.ov-voice__k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-subtle); }
.ov-bloom { display: flex; gap: 12px; height: 44px; align-items: center; margin-bottom: var(--space-2); }
.ov-bloom span { width: 34px; height: 30px; border: 2px solid; border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; animation: ov-bloom 2.6s var(--ease-bloom) infinite both; }
@keyframes ov-bloom { 0% { transform: scale(0); opacity: 0; } 22%, 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
[data-motion="reduced"] .ov-bloom span { animation: none; }
@media (prefers-reduced-motion: reduce) { .ov-bloom span { animation: none; } }
.ov-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-3); }
.ov-block { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-decoration: none; }
.ov-block:hover { background: var(--surface-sunken); }
.ov-block:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ov-block__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink); }
.ov-block b { display: block; font-size: 15px; }
.ov-block small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; }
.ov-use__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.ov-use pre { margin: 0; }
.ov-links { margin: 0; padding-left: 18px; display: grid; gap: var(--space-2); font-size: 14px; line-height: 21px; }
.ov-foot { margin-top: var(--space-4); }
@media (max-width: 860px) { .ov-use__grid { grid-template-columns: 1fr; } iframe.ov-hero { height: 760px; } }
.ov-surface__meta.is-todo { color: var(--warning); }

/* Feature matrix */
.fm-lede { margin: 0 0 var(--space-3); color: var(--ink-muted); }
.fm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); font-size: 13px; margin: 0 0 var(--space-3); }
.fm-legend .fm { font-weight: 600; cursor: help; }
.fm-about { font-size: 13px; color: var(--ink-muted); }
.fm-about summary { cursor: pointer; color: var(--link); }
.fm-about ul { margin: var(--space-2) 0 0; padding-left: 18px; display: grid; gap: 4px; }
.fm-about[open] { flex-basis: 100%; }
.fm-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 3px; box-sizing: border-box; flex: none; }
.fm--done { color: var(--success); } .fm--done .fm-dot { background: var(--success); }
.fm--todo { color: var(--warning); } .fm--todo .fm-dot { border: 2px solid var(--warning); }
.fm--na { color: var(--ink-muted); } .fm--na .fm-dot { background: var(--ink-subtle); }
.fm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 var(--space-2); }
.fm-filter__lab { font: 400 12px/16px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.fm-filter__seg { flex-wrap: wrap; }
.fm-filter__pending { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.fm-summary { margin: var(--space-2) 0; font-size: 14px; }
table.features { table-layout: fixed; width: 100%; font-size: 13px; }
table.features [hidden] { display: none; }
table.features thead th { font-size: 12px; line-height: 16px; vertical-align: bottom; }
table.features thead th.fm-id { width: 64px; }
table.features thead th:nth-child(2) { width: 24%; }
table.features th, table.features td { padding: 8px 8px; overflow-wrap: anywhere; }
table.features tbody th { font-weight: 600; line-height: 18px; }
table.features tbody th a { text-decoration: none; }
table.features th small, table.features td small { display: block; font-weight: 400; color: var(--ink-muted); font-size: 11.5px; line-height: 15px; margin-top: 3px; }
table.features th small a, table.features th small code { margin-right: 3px; font-size: 11px; }
table.features td.fm { font-weight: 600; }
table.features td.fm > a { color: var(--success); text-decoration: none; white-space: nowrap; }
table.features .fm-id { vertical-align: top; white-space: nowrap; }
table.features .fm-id a { text-decoration: none; }
table.features .fm-id code { font-size: 11.5px; }
table.features tr:target { background: var(--surface-sunken); }
table.features abbr { text-decoration: none; cursor: help; }
table.features thead th.fm-id { vertical-align: bottom; }

/* Surface pages: features by status */
.sf-count { color: var(--ink-muted); margin: 0 0 var(--space-3); }
.sf-count strong { color: var(--ink); }
.sf-group { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); margin: 0 0 var(--space-3); }
.sf-group > summary { display: flex; align-items: center; gap: 6px; padding: var(--space-3) var(--space-4); cursor: pointer; font-weight: 700; list-style: none; }
.sf-group > summary::-webkit-details-marker { display: none; }
.sf-group > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg); transition: transform var(--duration-quick) var(--ease-standard); }
.sf-group[open] > summary::after { transform: rotate(-135deg); }
.sf-group__n { font: 600 12px/1 var(--font-ui); color: var(--ink-muted); background: var(--surface-sunken); border-radius: 999px; padding: 3px 8px; }
.sf-feats { list-style: none; margin: 0; padding: 0 var(--space-4) var(--space-3); columns: 2 320px; column-gap: var(--space-6); }
.sf-feats li { display: flex; gap: var(--space-2); break-inside: avoid; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 14px; line-height: 20px; color: var(--ink); }
.sf-feats__id { flex: none; text-decoration: none; }
.sf-feats__id code { font-size: 11.5px; }
.sf-feats li > span > a { color: var(--ink); text-decoration: none; font-weight: 600; }
.sf-feats li > span > a:hover { text-decoration: underline; }
.sf-feats small { display: block; color: var(--ink-muted); font-size: 12.5px; line-height: 17px; }
/* Surface pages: the prototype fits the column */
.sf-frame { overflow: hidden; }
.sf-stage { position: relative; overflow: hidden; }
.sf-stage iframe { display: block; border: 0; transform-origin: 0 0; max-width: none; }
/* Overview · mantra */
.ov-mantra h2 { font-size: 26px; line-height: 1.3; }
.ov-mantra__w { font-family: var(--font-hand); font-weight: 700; font-size: 1.12em; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--topic-sun); text-decoration-thickness: .2em; text-underline-offset: .1em; text-decoration-skip-ink: none; padding: 0 2px; }
[data-type="readable"] .ov-mantra__w { font-family: var(--font-ui); }
.ov-mantra__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
.ov-mantra__item { display: grid; gap: 6px; align-content: start; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.ov-mantra__item svg { display: block; margin-bottom: 2px; overflow: visible; }
.ov-mantra__item b { font: 700 22px/1.1 var(--font-hand); }
[data-type="readable"] .ov-mantra__item b { font-family: var(--font-ui); font-size: 18px; }
.ov-mantra__item span { font-size: 13.5px; line-height: 20px; color: var(--ink-muted); }
.ov-reveal path { transform-box: fill-box; transform-origin: center; animation: ov-reveal 2.4s var(--ease-bloom) infinite both; }
.ov-reveal path:nth-child(2) { animation-delay: .18s; } .ov-reveal path:nth-child(3) { animation-delay: .36s; }
@keyframes ov-reveal { 0% { transform: scale(0); opacity: 0; } 25%, 82% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
[data-motion="reduced"] .ov-reveal path { animation: none; }
@media (prefers-reduced-motion: reduce) { .ov-reveal path { animation: none; } }
@media (max-width: 1100px) { .ov-mantra__list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
/* SPEC / PRODUCT layer chips */
.layer { display: inline-block; font: 600 9.5px/1 var(--font-ui); letter-spacing: .08em; padding: 3px 5px; border-radius: 4px; vertical-align: 1px; white-space: nowrap; }
.layer--spec { background: var(--topic-teal); color: var(--node-ink); }
.layer--product { background: var(--surface-sunken); color: var(--ink-muted); border: 1px solid var(--line); }
.fm-legend__layers { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); }
