:root {
  --bg: #0b1322;
  --surface: rgba(13, 21, 37, 0.9);
  --surface-solid: #0e1727;
  --line: #22324c;
  --line-soft: rgba(120, 145, 180, 0.16);
  --ink: #e9eef5;
  --ink-2: #c3cede;
  --muted: #8494ab;
  --filament: #f3dca6;   /* same warm tone as the flow arcs */
  --exp: #4f97cf;
  --imp: #e8873f;
  --warn: #f0b35a;
  --live: #ff5c5c;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --r: 6px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 13px/1.45 var(--body);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
#map { position: fixed; inset: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--filament); outline-offset: 2px; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 12px; }
code { font-size: 0.92em; color: var(--ink-2); }

/* ---------- masthead ---------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 18px 22px 40px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 13, 24, 0.92) 0%, rgba(8, 13, 24, 0.55) 55%, rgba(8, 13, 24, 0) 100%);
  z-index: 2;
}
.masthead > * { pointer-events: auto; max-width: 560px; }
.masthead h1 {
  margin: 0;
  font: 700 40px/0.95 var(--display);
  letter-spacing: -0.01em;
  color: var(--ink);
  width: max-content;
  max-width: 100%;
}
.masthead h1 .year { color: var(--filament); font-weight: 500; }
.mock-badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font: 600 12px/1 var(--body); letter-spacing: 0.02em;
  color: #1a1206; background: var(--warn); padding: 4px 7px; border-radius: 3px;
}
.dek { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; width: max-content; max-width: 100%; }
.howto { margin-top: 6px; width: max-content; max-width: min(460px, 100%); }
.howto summary {
  cursor: pointer; color: var(--filament); font-size: 12.5px; list-style: none;
  text-decoration: underline; text-decoration-color: rgba(243, 220, 166, 0.35); text-underline-offset: 3px;
}
.howto summary::-webkit-details-marker { display: none; }
.howto[open] summary { margin-bottom: 6px; }
.howto ul {
  margin: 0; padding: 12px 14px 12px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink-2); backdrop-filter: blur(8px);
}
.howto li { margin: 0 0 6px; max-width: 62ch; }
.howto li:last-child { margin: 0; }
.howto b { color: var(--ink); font-weight: 600; }

/* ---------- controls ---------- */
.controls {
  position: fixed; left: 16px; top: 132px; z-index: 3;
  width: 262px; max-height: calc(100vh - 132px - var(--legend-h, 116px) - 34px - 12px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.controls-toggle { display: none; }
.controls-body { overflow-y: auto; padding: 4px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.ctl { padding: 10px 14px 12px; border-top: 1px solid var(--line-soft); }
.ctl:first-child { border-top: 0; }
.ctl h2 { margin: 0 0 8px; font: 600 15px/1.1 var(--display); letter-spacing: 0.01em; color: var(--ink-2); }

.metric-list { display: grid; gap: 1px; }
.metric-list button {
  text-align: left; background: none; border: 0; padding: 5px 8px 5px 10px; border-radius: 4px;
  color: var(--ink-2); cursor: pointer; position: relative;
}
.metric-list button:hover { background: rgba(255, 255, 255, 0.04); color: var(--ink); }
.metric-list button[aria-checked="true"] { color: var(--ink); background: rgba(243, 220, 166, 0.08); }
.metric-list button[aria-checked="true"]::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--filament); border-radius: 2px;
}

.switch { display: flex; align-items: center; gap: 9px; cursor: pointer; color: var(--ink); font: 600 15px/1.1 var(--display); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span {
  width: 26px; height: 14px; border-radius: 8px; background: #2a3953; position: relative; flex: none; transition: background 0.15s;
}
.switch span::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); transition: transform 0.15s, background 0.15s;
}
.switch input:checked + span { background: rgba(243, 220, 166, 0.3); }
.switch input:checked + span::after { transform: translateX(12px); background: var(--filament); }
.switch input:focus-visible + span { outline: 2px solid var(--filament); outline-offset: 2px; }
.switch input:disabled ~ * { opacity: 0.45; }

.seg { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg button {
  flex: 1; background: none; border: 0; padding: 4px 5px; white-space: nowrap; cursor: pointer; color: var(--muted); font-size: 12px;
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-checked="true"] { background: rgba(243, 220, 166, 0.12); color: var(--filament); }
.seg button:hover { color: var(--ink); }
.time { margin-top: 8px; }
.ctl-note { margin: 0; }
.seg button[aria-disabled="true"] { color: #4a5870; cursor: not-allowed; }
.seg button[aria-disabled="true"] .live-dot { background: #4a5870; animation: none; box-shadow: none; }
#time-live-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }

/* live indicator */
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--live); box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.6);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(255, 92, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 92, 0); }
}
.live-status {
  margin: 7px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  width: max-content; max-width: 100%; font-size: 12.5px; color: var(--ink-2);
}
.live-status b { color: var(--live); font-weight: 600; letter-spacing: 0.02em; }
.live-status.stale .live-dot { background: var(--warn); animation: none; }
.live-status.stale b { color: var(--warn); }
.is-live .masthead h1 .year { color: #ffb4a8; }
.scrub { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.scrub output { min-width: 62px; font: 600 14px/1 var(--display); color: var(--filament); white-space: nowrap; }
.play {
  width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  background: none; cursor: pointer; font-size: 10px; color: var(--filament);
}
.play:hover { border-color: var(--filament); }
.flows-off #flow-mode, .flows-off .time, .plants-off .fuel-list, .plants-off .range-row { opacity: 0.35; pointer-events: none; }

input[type="range"] { flex: 1; width: 100%; accent-color: var(--filament); margin: 0; }

.fuel-list { display: grid; gap: 0; margin: -2px 0 8px; }
.fuel {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px;
  padding: 3px 2px; cursor: pointer; user-select: none; color: var(--ink-2);
}
.fuel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fuel i.fb { display: block; width: 18px; height: 18px; transition: opacity 0.15s, filter 0.15s; }
.fuel i.fb svg { display: block; }
.fuel em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.fuel input:not(:checked) ~ i.fb { opacity: 0.35; filter: grayscale(1); }
.fuel input:not(:checked) ~ span, .fuel input:not(:checked) ~ em { color: #56657c; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.2); }
.fuel:hover span { color: var(--ink); }
.fuel input:focus-visible ~ span { outline: 1px solid var(--filament); }
.range-row { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
.range-row output { color: var(--ink-2); }

/* ---------- legend ---------- */
.legend {
  position: fixed; left: 16px; bottom: 34px; z-index: 2;
  display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap;
  max-width: calc(100vw - 32px - 60px);
  padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(10px);
}
.legend:empty { display: none; }
.legend-block { min-width: 0; }
.legend-title { font-size: 11.5px; color: var(--ink-2); margin-bottom: 6px; white-space: nowrap; }
.ramp { width: 210px; height: 8px; border-radius: 2px; }
.ticks { position: relative; height: 14px; width: 210px; font-size: 11px; color: var(--muted); }
.ticks span { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }
.ends { display: flex; justify-content: space-between; width: 210px; font-size: 11px; margin-top: 2px; }
.ends span:first-child { color: var(--exp); } .ends span:last-child { color: var(--imp); }
.chips { display: flex; flex-wrap: wrap; gap: 4px 10px; max-width: 280px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-2); }
.chip i { width: 10px; height: 10px; border-radius: 2px; }
.sizes { display: flex; align-items: flex-end; gap: 12px; }
.sizes span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.fl-row { display: flex; gap: 10px; align-items: center; }
.fl-item { display: flex; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.sizes .dots-note { flex-direction: row; gap: 4px; align-self: flex-end; }
.gl-row { display: grid; grid-template-columns: auto auto; gap: 2px 12px; }
.gl-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); white-space: nowrap; }

/* ---------- tooltip ---------- */
.tooltip {
  position: fixed; left: 0; top: 0; z-index: 10; pointer-events: none;
  min-width: 160px; max-width: 280px; padding: 9px 11px;
  background: rgba(9, 15, 27, 0.96); border: 1px solid var(--line); border-radius: 5px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.tt-title { font-weight: 600; color: var(--ink); line-height: 1.25; }
.tt-big { font: 600 22px/1.1 var(--display); margin: 4px 0 3px; color: var(--filament); }
.tt-big .muted { font: 400 12px var(--body); }
.tt-row { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; }
.tt-row b { font-weight: 500; color: var(--ink-2); }
.tt-fuel { display: flex; align-items: center; gap: 6px; color: var(--ink-2); margin-top: 3px; }
.tt-fuel i { width: 9px; height: 9px; border-radius: 50%; }
.tt-fuel .fuel-badge { flex: none; }
.tt-fuel i.tt-line { width: 18px; height: 0; border-radius: 0; border-top: 2px solid var(--c); }
.tt-fuel i.tt-line.dc { border-top-style: dashed; }
.tt-note { margin-top: 4px; font-size: 11.5px; color: var(--warn); }

/* ---------- panel ---------- */
.panel {
  position: fixed; top: 16px; right: 16px; bottom: 16px; z-index: 4;
  width: 380px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 20px 20px 24px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.panel:not([hidden]) { animation: panel-in 0.22s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateX(12px); } }
.panel-close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
  border: 1px solid transparent; background: none; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted);
}
.panel-close:hover { color: var(--ink); border-color: var(--line); }
.p-head h2 { margin: 0; padding-right: 34px; font: 700 34px/1 var(--display); color: var(--ink); }
.p-note { margin: 6px 0 0; color: var(--warn); font-size: 12px; }
.p-live { margin: 7px 0 0; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
.p-fine { margin: -2px 0 0; font-size: 11.5px; color: var(--muted); }
.linklike.inline { color: var(--filament); text-decoration: underline; text-underline-offset: 2px; }
.hist { width: 100%; height: auto; display: block; overflow: visible; }
.hist path { stroke: none; }
.hist text { font: 400 10px var(--body); fill: var(--muted); }
.hist .hc-grid { stroke: var(--line-soft); stroke-width: 1; }
.hc-load { fill: none !important; stroke: #f5f1e6 !important; stroke-width: 1.4; stroke-dasharray: 3 2.5; }
.hc-key { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 2px; }
.p-empty { color: var(--muted); }
.p-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; margin: 16px 0 6px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.stat dt { font-size: 11.5px; color: var(--muted); }
.stat dd { margin: 2px 0 0; font: 600 23px/1 var(--display); color: var(--ink); }
.stat dd small { font: 400 11px var(--body); color: var(--muted); margin-left: 3px; }
.stat.imp dd { color: var(--imp); } .stat.exp dd { color: var(--exp); }

.p-sec { margin-top: 16px; }
.p-sec h3 { margin: 0 0 10px; font: 600 17px/1.1 var(--display); color: var(--ink); }
.p-sec h3 .muted { font: 400 12px var(--body); margin-left: 4px; }
.mix { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: center; }
.donut { width: 116px; height: 116px; }
.donut path { stroke: var(--surface-solid); stroke-width: 1; }
.d-big { font: 700 22px var(--display); fill: var(--ink); }
.d-small { font: 400 10px var(--body); fill: var(--muted); }
.mix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.mix-list li { display: grid; grid-template-columns: 10px 1fr auto 34px; gap: 7px; align-items: center; font-size: 12px; color: var(--ink-2); }
.mix-list i { width: 10px; height: 10px; border-radius: 2px; }
.mix-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mix-list b { font-weight: 500; color: var(--ink); }
.mix-list em { font-style: normal; text-align: right; color: var(--muted); }

.trade-key { display: grid; grid-template-columns: 92px 1fr 1fr; font-size: 11px; margin-bottom: 4px; }
.trade-key .k-exp { grid-column: 2; color: var(--exp); text-align: right; padding-right: 6px; }
.trade-key .k-imp { color: var(--imp); padding-left: 6px; }
.trade { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trade li { display: grid; grid-template-columns: 92px 1fr 1fr; align-items: center; font-size: 12px; }
.linklike {
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.linklike:hover { color: var(--filament); text-decoration: underline; text-underline-offset: 2px; }
.bar { position: relative; height: 16px; display: flex; align-items: center; }
.bar i { display: block; height: 10px; border-radius: 1px; min-width: 0; }
.bar b { font-weight: 500; font-size: 11px; color: var(--ink-2); padding: 0 4px; white-space: nowrap; }
.bar.exp { flex-direction: row-reverse; border-right: 1px solid var(--line); }
.bar.exp i { background: var(--exp); }
.bar.imp i { background: var(--imp); }

.plants { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.plant-btn {
  width: 100%; display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center;
  background: none; border: 0; padding: 4px 4px; border-radius: 3px; text-align: left; cursor: pointer; font-size: 12.5px;
}
.plant-btn:hover { background: rgba(255, 255, 255, 0.05); }
.plant-btn .pi { display: block; width: 18px; height: 18px; }
.plant-btn .pi svg { display: block; }
.plant-btn .pn { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plant-btn .pc { color: var(--ink); font-weight: 500; }

/* ---------- notices & sources ---------- */
.notices { position: fixed; top: 16px; right: 16px; z-index: 6; display: grid; gap: 6px; width: min(400px, calc(100vw - 32px)); }
.panel-open .notices { right: 412px; }
.notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px 9px 14px;
  background: var(--surface-solid); border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: 4px;
  color: var(--ink-2); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.notice.warn { border-left-color: var(--warn); }
.notice span { flex: 1; }
.notice button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 4px; }
.sources {
  position: fixed; left: 16px; bottom: 6px; z-index: 5; max-width: min(720px, calc(100vw - 200px));
  font-size: 11px; color: var(--muted);
}
.sources summary { cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary:hover { color: var(--ink-2); }
.sources[open] details, .sources details[open] { }
.sources details[open] #sources-body {
  position: absolute; bottom: 22px; left: 0; width: min(520px, calc(100vw - 32px));
  max-height: 50vh; overflow: auto;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; color: var(--ink-2); font-size: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
#sources-body p { margin: 0 0 8px; }
#sources-body p:last-child { margin: 0; }
#sources-body b { color: var(--ink); font-weight: 600; }
#sources-body a { color: var(--filament); word-break: break-all; }
.warn-text { color: var(--warn); }

/* MapLibre chrome */
.maplibregl-ctrl-group { background: var(--surface-solid) !important; border: 1px solid var(--line); box-shadow: none !important; }
.maplibregl-ctrl-group button + button { border-top: 1px solid var(--line) !important; }
.maplibregl-ctrl-icon { filter: invert(0.85); }
.maplibregl-ctrl-attrib { background: rgba(9, 15, 27, 0.75) !important; color: var(--muted); }
.maplibregl-ctrl-attrib a { color: var(--ink-2) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(0.85); background-color: transparent !important; }
.panel-open .maplibregl-ctrl-bottom-right { right: 400px; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .masthead { padding: 12px 16px 28px; }
  .masthead h1 { font-size: 30px; }
  .dek { font-size: 13px; }
  .controls { top: auto; bottom: 16px; left: 16px; right: auto; width: min(280px, calc(100vw - 32px)); max-height: 60vh; }
  .controls-toggle {
    display: block; text-align: left; padding: 9px 14px; background: none; border: 0; cursor: pointer;
    font: 600 15px/1 var(--display); color: var(--filament);
  }
  .controls-toggle[aria-expanded="false"] + .controls-body { display: none; }
  .legend { left: auto; right: 16px; bottom: auto; top: 104px; max-width: min(250px, calc(100vw - 32px)); gap: 10px; padding: 8px 10px; }
  .legend-title { white-space: normal; }
  .ramp, .ticks, .ends { width: 190px; }
  .panel-open .legend { display: none; }
  .sources { display: none; }
  .panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 62vh; border-radius: 12px 12px 0 0; border-bottom: 0; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
  .panel-open .maplibregl-ctrl-bottom-right { right: 0; }
  .notices { top: auto; bottom: 16px; right: 16px; }
  .panel-open .notices { right: 16px; }
  .panel-open .controls { display: none; }
  .maplibregl-ctrl-bottom-right { bottom: 0; }
}
@media (max-width: 520px) {
  .howto { display: none; }
  .legend .legend-block + .legend-block { display: none; }
}

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

/* flow style selector and arrow legend */
.seg-style { margin-bottom: 6px; }
.flows-off #flow-style { opacity: 0.35; pointer-events: none; }
.fl-arrows { align-items: flex-end; }
.fl-arrow { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.legend-fine { margin-top: 4px; font-size: 10.5px; color: var(--muted); max-width: 230px; white-space: normal; }
.tt-row.small { font-size: 11px; }

/* ---------- modelled line flows ---------- */
.lf-ctl-note { margin: 6px 0 0; line-height: 1.35; }
.lf-ctl-note b { color: var(--ink-2); font-weight: 500; }
.lf-legend .legend-fine { max-width: 330px; }
.lf-key { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 5px; max-width: 500px; }
.lf-key .lk { font-size: 11px; color: var(--ink-2); font-weight: 600; min-width: 62px; }
.lf-key .lk-sub { font-size: 11px; color: var(--muted); margin-right: -4px; }
.tt-note.lf-note { color: #9fd9cf; }
.tt-note.lf-meas { color: var(--muted); font-size: 11px; }
.lf-pct { color: var(--c); font-weight: 600; }
.p-grid h4 { margin: 12px 0 6px; font: 600 14px/1.1 var(--display); color: var(--ink-2); }
.p-grid h4 .muted { font: 400 11.5px var(--body); margin-left: 3px; }
.gtab { width: 100%; border-collapse: collapse; font-size: 12px; }
.gtab th, .gtab td { padding: 2px 4px; text-align: right; font-weight: 400; }
.gtab th:first-child { text-align: left; color: var(--ink-2); }
.gtab thead th { color: var(--muted); font-size: 11px; border-bottom: 1px solid var(--line); }
.gtab td { color: var(--ink); }
.gtab tfoot th, .gtab tfoot td { border-top: 1px solid var(--line); font-weight: 600; }
.lf-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.lf-btn {
  width: 100%; display: grid; grid-template-columns: 10px 1fr auto 34px; gap: 8px; align-items: center;
  background: none; border: 0; padding: 4px; border-radius: 3px; text-align: left; cursor: pointer; font-size: 12.5px;
}
.lf-btn:hover { background: rgba(255, 255, 255, 0.05); }
.lf-btn i { width: 10px; height: 4px; border-radius: 2px; }
.lf-btn .pn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-btn .pc { color: var(--ink); }
.lf-btn em { font-style: normal; color: var(--muted); text-align: right; }
@media (min-width: 901px) {
  .panel-open .legend { max-width: calc(100vw - 32px - 400px); }
}
