/* Dinos.info - Evolution page, "Dinosaur family tree" ([dn_evolution], assets/evolution/evolution.js).
   Claude Design's Evolution boards (Phase 1 canvas v59) and their stylesheet (design/phase-1/source/nv/p/assets/night/
   evo.css), scoped to .ev so nothing leaks into the site. The night's colour and life pass (life.css: period neon,
   glow, rendered bands, icon strip, lively cards) and the Start here tiles are another branch's site-wide CSS; the few
   pieces this page needs are repeated here under .ev, with the same values, so the page looks right with or without
   them. Reduced motion: no transitions, lifts or glow changes. */

/* ---------- tokens (life.css values) and the period hook ---------- */
.ev {
  --ev-neon-triassic: var(--neon-triassic, #C77DFF); --ev-neon-triassic-rgb: 199, 125, 255;
  --ev-neon-jurassic: var(--neon-jurassic, #3CC8F0); --ev-neon-jurassic-rgb: 60, 200, 240;
  --ev-neon-cretaceous: var(--neon-cretaceous, #8EE05C); --ev-neon-cretaceous-rgb: 142, 224, 92;
  --ev-action-rgb: 245, 138, 31;
  --ev-band-overlay: linear-gradient(180deg, rgba(18, 20, 23, .90) 0%, rgba(18, 20, 23, .84) 45%, rgba(18, 20, 23, .93) 100%);
  --period: var(--action); --period-rgb: var(--ev-action-rgb);
  --ev-z: 1;
}
.ev [data-period="triassic"] { --period: var(--ev-neon-triassic); --period-rgb: var(--ev-neon-triassic-rgb); }
.ev [data-period="jurassic"] { --period: var(--ev-neon-jurassic); --period-rgb: var(--ev-neon-jurassic-rgb); }
.ev [data-period="cretaceous"] { --period: var(--ev-neon-cretaceous); --period-rgb: var(--ev-neon-cretaceous-rgb); }
.ev *, .ev *::before, .ev *::after { box-sizing: border-box; }
.ev [hidden] { display: none !important; }

/* ---------- header band ---------- */
.ev .dn-page-head .dn-display.dn-display span { color: var(--action); }
.ev-head .dn-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; }
.ev-head .dn-page-head-text { display: flex; flex-direction: column; }
.ev-head .dn-btn { margin-top: 18px; align-self: flex-start; box-shadow: 0 0 0 1px rgba(var(--ev-action-rgb), .45), 0 6px 20px -8px rgba(var(--ev-action-rgb), .65); }
.ev-hero-line { position: relative; height: 230px; display: flex; align-items: flex-end; justify-content: flex-end; gap: 0; }
.ev-hero-cut { position: relative; z-index: 1; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }
.ev-hero-cut-0 { width: 31%; margin-right: -4%; }
.ev-hero-cut-1 { width: 36%; margin-right: -3%; }
.ev-hero-cut-2 { width: 46%; }
.ev-hero-ground { position: absolute; left: 6%; right: 0; bottom: 2px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), transparent 70%); }

/* ---------- icon strip (life.css) ---------- */
.ev .lf-strip { position: relative; background: linear-gradient(180deg, #17191c 0%, #121417 100%); border-top: 1px solid rgba(var(--ev-action-rgb), .35); border-bottom: 1px solid var(--line-dark); box-shadow: 0 -1px 0 rgba(var(--ev-action-rgb), .12), 0 18px 30px -24px rgba(var(--ev-action-rgb), .5) inset; }
.ev .lf-strip ul { list-style: none; margin: 0 auto; padding: 0 var(--space-5, 24px); max-width: calc(var(--site-width, 1700px) - 64px); box-sizing: content-box; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
.ev .lf-strip li { position: relative; }
.ev .lf-strip li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line-dark); }
.ev .lf-strip a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 16px; color: var(--text-on-dark); text-decoration: none; border-radius: var(--radius-md, 6px); transition: background-color .2s, box-shadow .2s; }
.ev .lf-strip a:hover { background: rgba(var(--ev-action-rgb), .08); box-shadow: inset 0 -2px 0 var(--action); }
.ev .lf-strip a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.ev .lf-strip img { flex: none; width: 40px; height: 40px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); transition: filter .25s; }
.ev .lf-strip a:hover img { filter: drop-shadow(0 0 10px rgba(var(--ev-action-rgb), .6)); }
.ev .lf-strip b { display: block; font: 700 14px/18px var(--font-heading); letter-spacing: .01em; }
.ev .lf-strip small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--text-muted-on-dark); }

/* ---------- explorer ---------- */
.ev-lead { max-width: 760px; margin: -8px 0 0; color: var(--text-muted-on-dark); font-size: 15px; line-height: 23px; }
.ev-titlerow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 24px; }

.ev-search { position: relative; display: block; width: 320px; }
.ev-search .ev-search-ic { position: absolute; left: 10px; top: 22px; z-index: 1; width: 22px; height: 22px; transform: translateY(-50%); }
.ev-search input { width: 100%; box-sizing: border-box; padding-left: 40px; min-height: 44px; height: 44px; }

.ev-sug { list-style: none; margin: 4px 0 0; padding: 4px; background: var(--surface-dark-raised); border: 1px solid var(--border-control-dark); border-radius: var(--radius-sm); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8); }
.ev-sug-o { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border-radius: 4px; cursor: pointer; color: var(--text-on-dark); font-size: 14px; line-height: 18px; }
.ev-sug-o small { font-size: 12px; color: var(--text-muted-on-dark); }
.ev-sug-o[aria-selected="true"], .ev-sug-o:hover { background: rgba(var(--ev-action-rgb), .16); box-shadow: inset 3px 0 0 var(--action); }

.ev .lf-seg { display: inline-flex; border: 1px solid var(--border-control-dark); border-radius: var(--radius-sm); overflow: hidden; }
.ev .lf-seg button { min-height: 42px; padding: 0 14px; border: 0; background: var(--surface-dark); color: var(--text-on-dark); font: 700 12px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: box-shadow .2s; }
.ev .lf-seg button + button { border-left: 1px solid var(--border-control-dark); }
.ev .lf-seg [aria-selected="true"], .ev .lf-seg [aria-pressed="true"] { background: var(--action); color: var(--on-action); box-shadow: 0 0 0 1px rgba(var(--ev-action-rgb), .45), 0 6px 20px -8px rgba(var(--ev-action-rgb), .65); }
.ev .lf-seg button:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); position: relative; z-index: 1; }

/* The family tree box full width (Ben, 2026-10-16 18:19, item 1), in the full-width blocks' gutter (dn-pages.css). */
.ev-explorer > .dn-wrap { max-width: var(--site-width, 1700px); padding-inline: var(--dn-gutter-wide); }   /* core 0.20.8: was the full window; capped at the site width */
/* The intro on the site width, the tree full width (Ben, 2026-10-24, core 0.17.3, item C): the lead line, How to use it,
   the start bar and the Lived in bar take the same edges as the page's other sections (.dn-wrap:
   var(--site-width) centred, padded --space-5, --space-4 on phones), inside the explorer's full-width wrap (padded
   --dn-gutter-wide); the tree's box and its numbers note stay on the wide gutters. 50% is half the wrap's content. */
.ev-explorer { --ev-pad: var(--space-5); }
.ev-explorer :is(.ev-titlerow, .ev-tree-howto, .e3-start, .e4-bar) {
  margin-inline: max(calc(var(--ev-pad) - var(--dn-gutter-wide)), calc(50% - var(--site-width, 1700px) / 2 + var(--ev-pad))); }
@media (max-width: 639.98px) { .ev-explorer { --ev-pad: var(--space-4); } }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }   /* the tree full width (Ben 2026-10-15) */
.ev-pane { min-width: 0; }

/* period rail */

/* tree */

.ev-canvas { position: relative; min-width: 0; padding: 22px 18px 18px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: radial-gradient(ellipse at 50% 0%, #1f2226 0%, #16181b 70%); overflow: auto; }
.ev-tree { display: flex; flex-direction: column; align-items: stretch; zoom: var(--ev-z, 1); }

.ev-ct { display: inline-block; padding: 0 6px; border-radius: 9px; background: #ffffff12; border: 1px solid #ffffff22; color: var(--text-on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }

   /* full names on two lines */

.ev-more { margin: 0; font-size: 12px; color: var(--text-muted-on-dark); }

/* detail panel */
.ev-panel { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); border-top: 3px solid var(--period); background: var(--surface-dark-raised); box-shadow: 0 0 28px -12px rgba(var(--period-rgb), .7); overflow: hidden; }

.ev-panel.ev-panel h3 { margin: 2px 0 0; font: 700 24px/28px var(--font-name, var(--font-heading)); font-style: italic; color: var(--text-on-dark); overflow-wrap: anywhere; }
.ev-panel.ev-panel h3.is-group { font: 900 26px/28px var(--font-display); font-style: normal; text-transform: uppercase; }

.ev .sp-badge { display: inline-flex; align-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 10px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; margin-right: 4px; border-radius: var(--radius-sm); }

.ev-panel .dn-btn { justify-content: center; box-shadow: 0 0 0 1px rgba(var(--ev-action-rgb), .45), 0 6px 20px -8px rgba(var(--ev-action-rgb), .65); }
.ev-panel-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ffffff33; background: #121417cc; color: var(--text-on-dark); font-size: 20px; line-height: 1; cursor: pointer; }
.ev-panel-x:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }

/* ---------- evolution over time (rendered band) ---------- */
.ev .lf-band { position: relative; isolation: isolate; }
.ev .lf-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ev-band-overlay), var(--band-art, none) center 40% / cover no-repeat; pointer-events: none; }
.ev .lf-band .dn-section-title.dn-section-title { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.ev-chart { margin: 18px 0 0; padding: 20px 20px 14px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: rgba(18, 20, 23, .82); }
.ev-chart-scroll { overflow-x: auto; }
.ev-chart svg { display: block; width: 100%; min-width: 560px; height: auto; }
.ev-grid-l line { stroke: #ffffff14; stroke-width: 1; }
.ev-ax { fill: var(--text-muted-on-dark); font: 11px var(--font-body); text-anchor: end; }
.ev-ax-x { text-anchor: middle; }
.ev-ax-x.is-end { text-anchor: end; }
.ev-bar-l { fill: var(--text-on-dark); font: 700 11px var(--font-heading); text-anchor: middle; }
.ev-pl { fill: #fff; font: 700 11px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; text-anchor: middle; }
.ev-pl.is-dark { fill: #121417; }
.ev-pb-triassic { fill: var(--ics-period-triassic); }
.ev-pb-jurassic { fill: var(--ics-period-jurassic); }
.ev-pb-cretaceous { fill: var(--ics-period-cretaceous); }
.ev-pb { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .12)); }
.ev-chart rect[class^="ev-s-"]:hover { opacity: .8; }
.ev .ev-s-theropoda { fill: var(--data-theropoda); background: var(--data-theropoda); }
.ev .ev-s-sauropodomorpha { fill: var(--data-sauropodomorpha); background: var(--data-sauropodomorpha); }
.ev .ev-s-ornithischia { fill: var(--data-ornithischia); background: var(--data-ornithischia); }
.ev .ev-s-early-saurischia { fill: var(--data-early-saurischia); background: var(--data-early-saurischia); }
.ev .ev-s-mesozoic-birds { fill: var(--data-mesozoic-birds); background: var(--data-mesozoic-birds); }
.ev .ev-s-unplaced { fill: var(--data-unplaced); background: var(--data-unplaced); }
.ev-chart figcaption { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.ev-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-on-dark); }
.ev-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }

/* ---------- related and traits ---------- */
.ev-two-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.ev-col { min-width: 0; }

.ev-traitseg { margin: 14px 0 18px; }
.ev-lens { list-style: none; margin: 0; padding: 24px 16px 12px; display: flex; align-items: flex-end; gap: 0; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: linear-gradient(180deg, #17191b 0%, #17191b calc(100% - 52px), #24262a calc(100% - 52px)); }
.ev-lens li { width: var(--w); display: flex; flex-direction: column; gap: 6px; padding: 0 4px; box-sizing: border-box; }
.ev-lens svg { display: block; width: 100%; height: auto; fill: var(--action); }
.ev-lens li.is-this svg { filter: drop-shadow(0 0 8px rgba(var(--ev-action-rgb), .8)); }
.ev-lens .ev-len-n { min-height: 0; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #121417; border: 1px solid var(--action); color: var(--accent-on-dark); font: 700 11px/1 var(--font-heading); margin-top: 18px; }
.ev-len-key { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 18px; color: var(--text-on-dark); }
.ev-len-key b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; border: 1px solid var(--action); color: var(--accent-on-dark); font: 700 10px/1 var(--font-heading); }
.ev-len-key a { color: var(--text-on-dark); font-family: var(--font-name, var(--font-body)); font-weight: 700; text-decoration: none; margin-right: 4px; }
.ev-len-key a:hover, .ev-len-key a:focus-visible { text-decoration: underline; }
.ev-len-key small { color: var(--text-muted-on-dark); font-size: 11px; }
.ev-len-key small a { font-family: var(--font-body); font-weight: 400; color: var(--text-muted-on-dark); text-decoration: underline; }

/* ---------- explore more (Start here tiles, lively cards) ---------- */
.ev .st-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ev .st-note { margin-top: 14px; font-size: 12px; }
.ev .lf-card { position: relative; border-top: 3px solid var(--period) !important; transition: transform .25s, box-shadow .25s, border-color .2s; }
.ev .lf-card:hover, .ev .lf-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--period-rgb), .55), 0 0 30px -8px rgba(var(--period-rgb), .55); }

/* ---------- timeline view ---------- */
.evt { padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: #16181b; }
.evt-head, .evt-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; align-items: center; }
.evt-bands { position: relative; height: 40px; }
.evt-band { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; font: 700 12px/15px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: #121417; box-sizing: border-box; border-right: 1px solid #121417; overflow: hidden; white-space: nowrap; }
.evt-band small { font: 400 11px/14px var(--font-body); letter-spacing: 0; text-transform: none; }
.evt-band.dn-ics-period-triassic { color: #fff; }
.evt-rows { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.evt-row.lvl-1 .evt-name { padding-left: 22px; }
.evt-name { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid transparent; border-left: 3px solid var(--gc); background: #1d1f22; color: var(--text-on-dark); text-align: left; cursor: pointer; font: inherit; min-width: 0; }
.evt-name b { font: 700 14px/18px var(--font-heading); overflow-wrap: anywhere; }
.evt-name small { font-size: 11px; color: var(--text-muted-on-dark); }
.evt-name:hover, .evt-name:focus-visible { border-color: var(--gc); outline: none; }
.evt-name:focus-visible { box-shadow: var(--focus-ring-dark); }
.evt-track { position: relative; height: 34px; border-radius: 4px; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #ffffff0d calc(10% - 1px) 10%); }
.evt-bar { position: absolute; top: 9px; height: 16px; border-radius: 8px; background: color-mix(in srgb, var(--gc) 30%, transparent); border: 1px solid var(--gc); box-sizing: border-box; }
.evt-dots i { position: absolute; top: 14px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gc); opacity: .85; }

/* ---------- list view (also the page without JavaScript) ---------- */
.evl-wrap { padding: 18px 20px; }
.evl, .evl ul { list-style: none; margin: 0; padding: 0; }
.evl ul { margin-left: 18px; padding-left: 14px; border-left: 2px solid #3a3d42; }
.evl li { margin: 4px 0; }
.evl a, .evl .evl-n, .evl-b { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-height: 30px; padding: 4px 10px; border-radius: var(--radius-sm); color: var(--text-on-dark); text-decoration: none; font: inherit; font-size: 14px; background: none; border: 0; text-align: left; cursor: pointer; }
.evl .evl-n { cursor: default; }
.evl a:hover, .evl a:focus-visible, .evl-b:hover, .evl-b:focus-visible { background: #ffffff0d; outline: none; }
.evl a:focus-visible, .evl-b:focus-visible { box-shadow: var(--focus-ring-dark); }
.evl b { font: 700 14px/20px var(--font-heading); }
.evl small { font-size: 12px; color: var(--text-muted-on-dark); }
.evl li.is-path > :is(a, button) > b, .evl li.is-path > button > i, .evl-b[aria-current] b { color: var(--accent-on-dark); }

/* ---------- the tree's stage filter chip (from Evolution over time, "Show these in the tree") ---------- */

/* ---------- Evolution v2 (Claude Design's boards, design/phase-1/source/evo2.css, as shipped) ---------- */
/* Evolution v2 (Ben, 2026-10-15 18:00): listbox + period chips toolbar, full-width tree, interactive Evolution over time,
   interactive Compare traits with "Guess which is longer". Loads after evo.css and size.css. */
.ev2 .ev2-ct { flex: none; display: inline-block; min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--action); color: #121417; font: 700 11px/16px var(--font-heading); text-align: center; font-variant-numeric: tabular-nums; }
.ev2-lab { font: 700 11px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted-on-dark); }
/* 1. toolbar: search, the dn-listbox group filter (as the Dinosaurs index), reset, views, zoom; period chips under it */
.ev2-tools { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.ev2-search { flex: 1 1 340px; }
.ev2-dd { position: relative; flex: 0 0 260px; }
.ev2-dd .dn-dropdown { height: 44px; }
.ev2-dd .dn-dropdown .val { font-weight: 700; }
.ev2-lb { width: 300px; }
.ev2-lb .dn-option .mk-all { width: 22px; height: 14px; border-radius: 3px; background: linear-gradient(90deg, #F58A1F 0 33%, #56B4E9 33% 66%, #00A57A 66%); }
.ev2-lb .dn-option .dn-mark { width: 22px; height: 14px; }

/* 2. tree: full width; thumbnails 120 x 80 with full names on two lines */
.ev2-stage { position: relative; margin-top: 16px; }
.ev2-canvas { padding: 26px 24px 20px; }

  
/* the details panel slides over the right of the tree when a genus is selected (Esc or x closes) */

/* 3. evolution over time */
.ev2-headline { margin: 4px 0 6px; font: 600 22px/30px var(--font-heading); color: var(--text-on-dark); max-width: 980px; }
.ev2-headline b { color: var(--accent-on-dark); }
.ev2-headline.is-play { font-size: 19px; line-height: 26px; }
.ev2-now { display: inline-block; padding: 2px 8px; margin-right: 4px; border-radius: 999px; background: var(--action); color: #121417; font: 700 11px/16px var(--font-heading); text-transform: uppercase; letter-spacing: .06em; vertical-align: 2px; }
.ev2-how { max-width: 980px; margin: 0 0 14px; font-size: 14px; line-height: 21px; color: var(--text-on-dark); }
.ev2-how summary { cursor: pointer; font: 700 12px/22px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-dark); }
.ev2-how p { margin: 6px 0 0; }
.ev2-caveat { color: var(--text-muted-on-dark); font-size: 13px; }
.ev2-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ev2-ctl .lf-seg button { min-height: 40px; font-size: 11px; padding: 0 14px; }
.ev2-play { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid rgba(245, 138, 31, .7); background: rgba(245, 138, 31, .08); color: var(--text-on-dark); font: 700 12px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.ev2-play .ev2-play-ic { width: 30px; height: 30px; }
.ev2-play.is-on { background: rgba(245, 138, 31, .2); box-shadow: var(--glow-rest); }
.ev2-play:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.ev2-legend { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ev2-legend li { position: relative; display: flex; }
.ev2-lg { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border-radius: var(--radius-sm) 0 0 var(--radius-sm); border: 1px solid var(--border-control-dark); background: #1b1d20; color: var(--text-on-dark); font: 600 13px/1 var(--font-body); cursor: pointer; }
.ev2-lg i { width: 12px; height: 12px; border-radius: 2px; }
.ev2-lg.is-off { color: var(--text-muted-on-dark); text-decoration: line-through; } .ev2-lg.is-off i { background: transparent !important; box-shadow: inset 0 0 0 2px #6b6f75; }
.ev2-only { min-height: 36px; padding: 0 8px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border: 1px solid var(--border-control-dark); border-left: 0; background: #16181b; color: var(--text-muted-on-dark); font: 700 10px/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.ev2-lg:focus-visible, .ev2-only:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); position: relative; z-index: 1; }
.ev2-chartrow { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-top: 14px; }
.ev2-chart { margin: 0; }
.ev2-svg rect.is-dim { opacity: .38; }
.ev2-sel { fill: none; stroke: #F5F1E6; stroke-width: 2; }
.ev2-focus { fill: none; stroke: #F58A1F; stroke-width: 3; }
.ev2-mk line { stroke: #F5F1E6; stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .8; }
.ev2-mk text { font: 700 12px var(--font-heading); fill: #F5F1E6; letter-spacing: .04em; text-transform: uppercase; }
.ev2-mk text.is-sub { font: 400 11px var(--font-body); fill: #C9B79A; text-transform: none; letter-spacing: 0; }
.ev2-mk.is-kpg line { stroke: #ff8a7a; } .ev2-mk.is-kpg text:not(.is-sub) { fill: #ffb3a8; }
.ev2-cap { margin: 10px 0 0; font-size: 12px; line-height: 17px; color: var(--text-muted-on-dark); }
.ev2-stage-panel { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); border-top: 3px solid var(--period); background: rgba(29, 31, 34, .96); box-shadow: 0 0 30px -12px rgba(var(--period-rgb), .8); }
.ev2-stage-panel.ev2-stage-panel h3 { margin: 0; font: 900 34px/36px var(--font-display); }
.ev2-stage-panel .dn-fact-label { margin: 6px 0 0; }
.ev2-sp-d, .ev2-sp-n { margin: 0; font-size: 13px; } .ev2-sp-n b { font: 900 22px/24px var(--font-display); color: var(--accent-on-dark); }
.ev2-pgs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ev2-pgs li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: 12px; }
.ev2-pgs li.is-off { opacity: .45; }
.ev2-pg i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: 0; }
.ev2-pbar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); } .ev2-pbar span { display: block; height: 100%; border-radius: 4px; }
.ev2-pgs b { text-align: right; font-variant-numeric: tabular-nums; }
.ev2-pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ev2-pts a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--text-on-dark); }
.ev2-pt { height: 46px; display: flex; align-items: flex-end; border-radius: 4px; background: radial-gradient(ellipse at 50% 92%, rgba(var(--period-rgb), .22) 0%, #18191b 72%); border-bottom: 2px solid rgba(var(--period-rgb), .8); }
.ev2-pt img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.ev2-pts i { font: 700 12px/15px var(--font-name); overflow-wrap: anywhere; }
.ev2-sp-il { display: flex; gap: 6px; margin: 0; font-size: 11px; color: var(--text-muted-on-dark); } .ev2-sp-il svg { width: 10px; height: 10px; margin-top: 3px; fill: var(--action); flex: none; }
.ev2-stage-panel .dn-btn { justify-content: center; }
/* 4. compare traits */
.ev2-traits { padding-top: calc(var(--dn-section-gap) - 16px); }   /* core 0.33.0: was 48, 16 under the old 64 */
/* core 0.33.0: the explorer is the fit layout's first screen; its top keeps the old 64 (48 on phones) */
#ev-tree.dn-home-section { padding-top: var(--space-8); }
@media (max-width: 639.98px) { #ev-tree.dn-home-section { padding-top: var(--space-7); } }
.ev2-tr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.ev2-gchips, .ev2-picks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev2-gchip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-control-dark); border-left: 4px solid var(--gc, var(--action)); background: #1b1d20; color: var(--text-on-dark); font: 700 13px/1 var(--font-heading); cursor: pointer; }
.ev2-gchip .dn-mark { width: 22px; height: 14px; }
.ev2-gchip.is-on { background: rgba(245, 138, 31, .14); border-color: var(--action); box-shadow: var(--glow-rest); }
.ev2-gchip:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.ev2-add { position: relative; flex: 0 1 320px; margin-left: auto; display: flex; align-items: center; }
.ev2-add .ev-search-ic { position: absolute; left: 10px; top: 11px; width: 22px; height: 22px; z-index: 1; } .ev2-add input { width: 100%; height: 44px; padding-left: 40px; }
.ev2-pick { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px 0 12px; border-radius: 999px; border: 1px solid rgba(var(--period-rgb), .7); background: rgba(var(--period-rgb), .08); font: 700 13px/1 var(--font-name); }
.ev2-pick button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--text-on-dark); font-size: 16px; cursor: pointer; }
.ev2-pick button:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.ev2-shuffle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; } .ev2-shuffle .ev2-sh-ic { width: 22px; height: 22px; }
.ev2-tr-tools.is-3 .lf-seg button { min-height: 40px; font-size: 11px; padding: 0 12px; }
.ev2-tr-tools.is-3 .ev2-lab + .lf-seg { margin-right: 10px; }
.ev2-tr-stage { margin-top: 14px; position: relative; }
.ev2-tr-stage .sz-fig-sp[data-hover] { filter: drop-shadow(0 0 14px rgba(245, 138, 31, .95)) drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.ev2-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; border: 2px solid var(--action); color: var(--accent-on-dark); font: 700 11px/1 var(--font-heading); font-style: normal; vertical-align: 1px; }
.ev2-pop-il { display: flex; gap: 6px; margin: 2px 0 6px; font-size: 11px; color: var(--text-muted-on-dark); } .ev2-pop-il svg { width: 10px; height: 10px; margin-top: 3px; fill: var(--action); flex: none; }
.ev2-tr-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 28px; margin-top: 18px; align-items: start; }
.ev2-key { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ev2-key li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "n name badge" "n words words" "n src src"; column-gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line-dark); border-left: 3px solid transparent; }
.ev2-key li .ev2-n { grid-area: n; } .ev2-key li a { grid-area: name; font: 700 15px/20px var(--font-name); color: var(--text-on-dark); } .ev2-key li .sp-badge { grid-area: badge; align-self: center; font-size: 9px; padding: 1px 5px; }
.ev2-key li .ev2-w { grid-area: words; font-size: 13px; } .ev2-key li small { grid-area: src; font-size: 11px; color: var(--text-muted-on-dark); }
.ev2-rowcard { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; margin: 10px 0 4px; padding: 10px 48px 12px 12px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); border-top: 3px solid var(--period); background: rgba(29, 31, 34, .98); }
.ev2-rowcard .ev-panel-x { position: absolute; right: 8px; top: 8px; }
.ev2-rowcard-pic { display: flex; height: 100px; align-items: flex-end; } .ev2-rowcard-pic img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.ev2-rowcard-b { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ev2-rowcard-age { margin: 0; font-size: 13px; } .ev2-rowcard-age .dn-fact-label { margin-right: 6px; } .ev2-rowcard-age .sp-badge { font-size: 9px; padding: 1px 5px; }
.ev2-rowcard .ev2-pop-il { margin: 0; }
.ev2-tr-stage .sz-lab { max-width: 260px; } .ev2-tr-stage .sz-lab span { white-space: nowrap; }
.ev2-key li.is-hover { border-left-color: var(--action); background: rgba(245, 138, 31, .08); }
.ev2-tr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; } .ev2-tr-acts code { font-size: 11px; color: var(--text-muted-on-dark); }
/* guess which is longer: playful but real (the Kids card language, toned for the main site) */
.ev2-game { padding: 16px 16px 14px; border-radius: 14px; border: 2px solid rgba(245, 138, 31, .6); background: linear-gradient(160deg, rgba(245, 138, 31, .12), rgba(18, 20, 23, .9) 55%); box-shadow: 0 0 34px -14px rgba(245, 138, 31, .9); }
.ev2-game-h { display: flex; gap: 12px; align-items: center; } .ev2-game-ic svg { width: 40px; height: 40px; }
.ev2-game.ev2-game h3 { margin: 0; font: 900 30px/32px var(--font-display); text-transform: uppercase; } .ev2-game-h p { margin: 2px 0 0; font-size: 13px; color: var(--text-muted-on-dark); }
.ev2-g-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 12px; }
.ev2-vs { align-self: center; font: 900 22px/1 var(--font-display); color: var(--accent-on-dark); }
.ev2-g { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 12px; border-radius: 12px; border: 2px solid var(--line-dark); border-top: 4px solid rgba(var(--period-rgb), .9); background: #1b1d20; color: var(--text-on-dark); text-align: left; cursor: pointer; transform: rotate(-1deg); transition: transform .2s, box-shadow .2s; }
.ev2-g + .ev2-vs + .ev2-g { transform: rotate(1deg); }
.ev2-g:hover, .ev2-g:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 14px 28px -14px rgba(var(--period-rgb), 1); outline: 2px solid transparent; }
.ev2-g:focus-visible { box-shadow: var(--focus-ring-dark); }
.ev2-g-pic { height: 84px; display: flex; align-items: flex-end; background: radial-gradient(ellipse at 50% 92%, rgba(var(--period-rgb), .25) 0%, transparent 70%); } .ev2-g-pic img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.ev2-g b { font: 700 15px/18px var(--font-name); } .ev2-g-meta { font-size: 11px; color: var(--text-muted-on-dark); }
.ev2-g-tag { align-self: flex-start; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--action); color: #121417; font: 700 11px/16px var(--font-heading); text-transform: uppercase; letter-spacing: .06em; }
.ev2-g.is-right { border-color: #8EE05C; box-shadow: 0 0 0 1px #8EE05C, 0 0 24px -8px rgba(142, 224, 92, .9); transform: rotate(0); }
.ev2-g.is-right .ev2-g-tag { background: #8EE05C; }
.ev2-g.is-other { opacity: .8; transform: rotate(0); } .ev2-g.is-other .ev2-g-tag { background: #3a3d42; color: var(--text-on-dark); }
.ev2-g-res { margin: 4px 0 0; font-size: 13px; } .ev2-g-res small { display: block; font-size: 11px; color: var(--text-muted-on-dark); }
.ev2-g-verdict { margin: 12px 0 10px; font-size: 14px; } .ev2-g-verdict.is-right b { color: #8EE05C; }
.ev2-score { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border-control-dark); font-size: 12px; color: var(--text-muted-on-dark); }
.ev2-g-il { display: flex; gap: 6px; margin: 10px 0 0; font-size: 11px; color: var(--text-muted-on-dark); } .ev2-g-il svg { width: 10px; height: 10px; margin-top: 3px; fill: var(--action); flex: none; }
@media (prefers-reduced-motion: reduce) { .ev2-g, .ev2-th-pic { transition: none; transform: none !important; } }
@media (max-width: 1100px) { .ev2-chartrow, .ev2-tr-bottom { grid-template-columns: minmax(0, 1fr); } .ev2-legend { margin-left: 0; } }
@media (max-width: 760px) {
  .ev2-tools { flex-wrap: wrap; } .ev2-search { flex: 1 1 100%; } .ev2-dd { flex: 1 1 100%; } 
   
   
  .ev2-canvas { padding: 16px 12px; } 
  
  
  .ev2-headline { font-size: 18px; line-height: 25px; }
  .ev2-legend li { flex: 0 0 auto; } .ev2-only { display: none; }
  .ev2-pgs li { grid-template-columns: 124px minmax(0, 1fr) 30px; font-size: 11px; }
  .ev2-chart { overflow-x: auto; } .ev2-svg { min-width: 760px; } .ev2-cap { min-width: 0; }
  .ev2-add { flex: 1 1 100%; margin-left: 0; } .ev2-shuffle { margin-left: 0; }
  .ev2-tr-tools.is-3 { gap: 8px; } .ev2-tr-tools.is-3 .ev2-lab { flex: 0 0 100%; } .ev2-tr-tools.is-3 .lf-seg { flex: 1 1 100%; display: flex; } .ev2-tr-tools.is-3 .lf-seg button { flex: 1; padding: 0 4px; }
  .ev2-rowcard { grid-template-columns: minmax(0, 1fr); padding-right: 12px; } .ev2-rowcard-pic { height: 90px; padding-right: 36px; }
  .ev2-game.ev2-game h3 { font-size: 24px; line-height: 26px; } .ev2-g-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ev2-vs { display: none; }
}

/* ---------- Evolution v2: what the script adds to the boards' styles ---------- */
.ev2 .ev-grid { grid-template-columns: minmax(0, 1fr); position: relative; }   /* the panel over the tree's right edge (n-evo v2 C) */

.ev2 .ev-two-in { grid-template-columns: minmax(0, 1fr); }
.ev2-chartrow.is-closed { grid-template-columns: minmax(0, 1fr); }
.evx-svg .evx-bar { cursor: pointer; outline: none; }
.evx-svg .evx-hit { fill: transparent; }
.evx-svg .evx-ring { fill: none; stroke: transparent; stroke-width: 2; }
.evx-svg .evx-bar:hover .evx-hit { fill: rgba(255, 255, 255, .06); }
.evx-svg .evx-bar:focus-visible .evx-ring { stroke: var(--action); stroke-width: 3; }
.evx-svg .evx-ring.ev2-sel { stroke: #F5F1E6; }
.evx-svg .evx-bar.is-play .evx-hit { fill: rgba(245, 138, 31, .22); }
.ev2-stage-panel .ev-panel-x { position: absolute; top: 8px; right: 8px; }
.ev2-stage-panel.ev2-stage-panel h3 { margin-right: 40px; }
.ev2-pts a:focus-visible, .ev2-key a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-dark); }
.ev2-pbar span { opacity: .9; }
.ev2-pgs .ev-s-theropoda, .ev2-pgs .ev-s-sauropodomorpha, .ev2-pgs .ev-s-ornithischia, .ev2-pgs .ev-s-early-saurischia, .ev2-pgs .ev-s-mesozoic-birds, .ev2-pgs .ev-s-unplaced { display: block; }
.ev2-tr-stage { overflow: hidden; border-radius: var(--radius-md); }
.ev2-tr-stage.is-scroll { overflow-x: auto; }
.ev2-tr-stage .sz-stage-in { position: relative; }
.ev2-fig { position: absolute; padding: 0; border: 0; background: none; overflow: visible; cursor: pointer; }
.ev2-fig .ev2-fig-pic { position: absolute; max-width: none; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.ev2-fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ev2-fig.is-sil svg path { fill: rgba(201, 183, 154, .14); stroke: var(--gc); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ev2-fig:focus-visible { outline: 2px solid var(--bone-white); outline-offset: 3px; }
.ev2-fig[data-hover], .ev2-fig.is-open { filter: drop-shadow(0 0 14px rgba(245, 138, 31, .95)); }
.ev2-key li > small a { color: var(--text-muted-on-dark); }
.ev2-rowcard:focus { outline: none; }
.ev2-rowcard-pic svg { width: 80%; height: auto; fill: var(--text-muted-on-dark); }
.ev2-g:disabled { cursor: default; }
.ev2-g-pic svg { width: 70%; height: auto; max-height: 70px; fill: var(--text-muted-on-dark); }
.ev2-game-ic img { width: 40px; height: 40px; display: block; }
.ev2-play svg { flex: none; }

/* ---------- widths ---------- */
@media (max-width: 1240px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } .ev-panel { grid-column: 1 / -1; } }
@media (max-width: 1100px) { .ev .lf-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ev .lf-strip li:nth-child(3n + 1)::before { display: none; } .ev .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .ev-head .dn-wrap { grid-template-columns: minmax(0, 1fr); } .ev-hero-line { height: 160px; } .ev-two-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .ev-hero-line { display: none; }
  .ev-search { width: 100%; }
  
   
  
  .ev-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ev-canvas { padding: 14px 12px; }
  
  
  
  
  .ev-panel { border-radius: 14px; }
  .ev .lf-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px 10px; }
  .ev .lf-strip li::before { display: none; }
  .ev .lf-strip a { min-height: 60px; padding: 8px 8px; gap: 10px; }
  .ev .lf-strip img { width: 32px; height: 32px; }
  .ev .lf-strip b { font-size: 13px; line-height: 17px; }
  .ev .lf-strip small { display: none; }
  .evt-head, .evt-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .evt-head > span { display: none; }
  .evt-band small { display: none; }
  .evt-band { font-size: 10px; padding: 0 4px; }
  .evt-row.lvl-1 .evt-name { padding-left: 14px; }
  .evl ul { margin-left: 8px; padding-left: 10px; }
  .ev .st-tiles { gap: 12px; }
  .ev-chart { padding: 12px; }
}

/* Reduced motion: nothing moves or changes its glow. */
@media (prefers-reduced-motion: reduce) {
  .ev *, .ev *::before, .ev *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ev .lf-card:hover, .ev .lf-card:focus-within { transform: none; box-shadow: 0 0 0 1px rgba(var(--period-rgb), .55); }
  .ev .lf-strip a:hover img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
  .ev a.dn-home-tile:hover { transform: none; }
}

/* Compare traits: a figure narrower than its number keeps the number in the key only (the drawing stays to scale). */
.ev-lens li { container-type: inline-size; }
@container (max-width: 25px) { .ev-lens .ev-len-n { visibility: hidden; } }
/* The worktable look (0.16.6, Ben 2026-10-18 14:43; dn-worktable.css): the chart, the stage panel, Compare traits' key
   and the Guess panel in the dark stone frame (.wt-stone), room inside its rim; How to use it under the chart, four
   across while the stage panel is closed and two by two beside it (shared .dn-howto boxes), the caveat under them. */
.ev2-chart.wt-stone { padding: 20px 20px 18px; }
.evx-panel.wt-stone { padding: 20px 20px 22px; }
.evx-panel .ev2-sp-il { margin-bottom: 10px; }
.ev2-key.wt-stone { padding: 14px; }
.ev2-key.wt-stone:empty { display: none; }
.evc-guess.wt-stone { padding: 18px 18px 16px; }
.evx-main { min-width: 0; }
.evx-howto { margin-top: 18px; }
.evx-howto .dn-howto { margin-top: 0; }
.evx-howto .evx-caveat { margin: 12px 0 0; max-width: 980px; font-size: 13px; line-height: 20px; color: var(--text-muted-on-dark); }
.ev2-cap a { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 2px; }   /* the K-Pg source link on the stone frame (it fell back to the browser blue) */

/* ---------- Evolution v3, direction D: the family tree top to bottom (approval row 57; hand-off
   briefs/handoff-evolution-v3-design-2026-10-20.md, from the prototype's e3.css and e4.css; Ben, 2026-10-21 11:15 and
   11:20). The e3- (start bar, hint, cards, species cards, follow lines) and e4- (the tree) prefixes are the boards'.
   Worktable materials: a stone start bar, a dark sediment board with branch lines like roots in the rock, clay beads on
   the boxes, the open group on parchment. Contrast measured on the boards (EvoV3-HowTo): lowest the rank tag on the
   parchment node, #6B2806, 4.81:1; neighbour names and counts at 78% opacity 6.79:1 and 5.50:1 on the blend. ---------- */
.ev-app.is-live { --e3-ink: #F5F1E6; --e3-mut: #CDBFA6; --e3-line: #3a352d; --data-root: #C9B79A; --data-unplaced: #C9B79A; position: relative; margin-top: 8px; color: var(--e3-ink); }
.ev-app button { font: inherit; color: inherit; cursor: pointer; }
.ev-app :focus-visible { outline: 3px solid #F6CF8E !important; outline-offset: 3px; }
.ev-tree-howto { margin: 0 0 18px; }

/* the start bar: one clear first action */
.e3-start { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 18px; padding: 16px 18px; border-radius: 14px;
  background: var(--wt-noise) 0 0 / 180px 180px, linear-gradient(160deg, #5E5850 0%, #3E3A35 55%, #2A2724 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -2px 0 rgba(0, 0, 0, .4), 0 14px 26px -14px rgba(0, 0, 0, .9); }
.e3-start-l { font: 900 26px/28px var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: #F5F1E6; }
.e3-q { position: relative; max-width: 560px; }
.e3-q input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px 0 42px; border: 0; border-radius: 10px; font: 400 16px/20px var(--font-body); color: #2A1C0F;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2806' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5l5 5'/%3E%3C/svg%3E") 14px 50% / 18px no-repeat, linear-gradient(180deg, var(--wt-parch-1), var(--wt-parch-2));
  box-shadow: inset 0 0 0 1px rgba(74, 52, 32, .5); }
.e3-q input::placeholder { color: #5C4630; opacity: 1; }
.e3-sug { position: absolute; z-index: 30; left: 0; right: 0; top: 50px; margin: 0; padding: 6px; list-style: none; border-radius: 10px; background: #1d1a16; box-shadow: 0 0 0 1px #4a4236, 0 18px 30px rgba(0, 0, 0, .7); }
.e3-sug li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.e3-sug li span { color: var(--e3-mut); font-size: 13px; }
.e3-sug li[aria-selected="true"], .e3-sug li:hover { background: #3a2c20; }
.e3-picks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(245, 241, 230, .12); }
.e3-picks-l { font: 700 12px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #F5F1E6; }
.e3-pick { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 4px; border: 0; border-radius: 999px; background: #1d1a16; font-size: 15px !important;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 70%, transparent); }
.e3-pick img { width: 58px; height: 38px; object-fit: contain; }
.e3-pick:hover { box-shadow: inset 0 0 0 2px var(--gc), 0 0 18px -4px var(--gc); }
.e3-top { margin-left: auto; height: 46px; padding: 0 16px; border: 1.5px solid #C9B79A; border-radius: 999px; background: transparent; font: 700 13px/16px var(--font-heading) !important; letter-spacing: .06em; text-transform: uppercase; }
.e3-top:hover { background: rgba(201, 183, 154, .14); }

/* the small bar on top of the tree: Lived in, Start again */
.e4-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 18px 0 10px; }
.e3-pf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.e3-pf-l { margin-right: 4px; font: 700 11.5px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #C9B79A; }
.e3-pf-b { height: 32px; padding: 0 12px; border: 1px solid #4a4236; border-radius: 999px; background: #121417; font: 700 12px/14px var(--font-heading) !important; letter-spacing: .04em; text-transform: uppercase; }
.e3-pf-b.is-tri { --p: var(--neon-triassic); } .e3-pf-b.is-jur { --p: var(--neon-jurassic); } .e3-pf-b.is-cre { --p: var(--neon-cretaceous); }
.e3-pf-b[class*="is-"]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--p); }
.e3-pf-b[aria-pressed="true"] { border-color: #F58A1F; background: #F58A1F; color: #121417; }
.e3-again { height: 32px; padding: 0 12px; border: 1px solid #8a7a62; border-radius: 999px; background: transparent; font: 700 11.5px/14px var(--font-heading) !important; letter-spacing: .06em; text-transform: uppercase; }
.e3-again:hover { border-color: #F5F1E6; }

/* the tree: dark sediment, one level per row, branch lines under the boxes */
.e4-frame { position: relative; padding: 26px 20px 22px; border-radius: 14px; background: var(--wt-fossils-dim) 100% 100% / 260px 220px no-repeat, var(--wt-noise) 0 0 / 180px 180px, #1b1916; box-shadow: inset 0 0 0 1px #3a352d; }
.e4-wires { position: absolute; left: 20px; top: 26px; pointer-events: none; overflow: visible; }
.e4-wires path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.e4-wires .e4-w { stroke: #6a5f4f; stroke-width: 1.5; }
.e4-wires .e4-trunk { stroke-width: 3.5; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6)); }
.e4-tree { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 34px; }
.e4-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px 14px; }
.e4-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 120px; max-width: 220px; padding: 8px 14px 9px; border-radius: 12px; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, #2c2925, #1f1d1a); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 45%, transparent), 0 6px 14px -8px rgba(0, 0, 0, .9); transition: box-shadow .18s, opacity .18s; }
.e4-node::before { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #7A5236 0%, #4a3020 60%, #2E1E13 100%); box-shadow: 0 0 0 2px var(--gc); }
.e4-node.is-sib { opacity: .78; min-width: 96px; padding: 6px 12px 7px; }
.e4-node.is-sib:hover, .e4-node.is-sib:focus-visible { opacity: 1; box-shadow: inset 0 0 0 2px var(--gc), 0 0 16px -6px var(--gc); }
.e4-node.is-path { box-shadow: inset 0 0 0 2.5px var(--gc), 0 0 22px -8px var(--gc), 0 8px 16px -8px rgba(0, 0, 0, .9); }
.e4-node.is-path:hover { background: linear-gradient(180deg, #34302b, #24211d); }
.e4-node.is-dim { box-shadow: inset 0 0 0 1px #3a352d; background: #1b1916; } .e4-node.is-dim::before { box-shadow: 0 0 0 2px #4a4236; }   /* dimmed by Lived in: the frame fades, the words keep their contrast */
.e4-node.is-dim .e4-ic { opacity: .35; filter: grayscale(1); }
.e4-name { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; font: 900 19px/22px var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: #F5F1E6; overflow-wrap: anywhere; }
.e4-name i { text-transform: none; }
.e4-node.is-sib .e4-name { font-size: 15.5px; line-height: 18px; color: #E2D6C0; }
/* the tiny dinosaur in every box (Ben, 2026-10-21 11:20): about 28 px tall, 24 px on neighbours and phones; left of the
   name, above it when the box is narrow (the name line wraps); decorative */
.e4-ic { flex: none; display: block; width: 56px; height: 28px; object-fit: contain; object-position: 50% 100%; }
.e4-ic.is-mark { display: grid; place-items: end center; }
.e4-ic.is-mark svg { width: auto; height: 22px; fill: var(--gc); }
.e4-node.is-sib .e4-ic { width: 48px; height: 24px; }
.e4-node.is-sib .e4-ic.is-mark svg { height: 18px; }
.e4-n { font-size: 12.5px; line-height: 16px; color: #CDBFA6; }
.e3-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; background: rgba(201, 183, 154, .16); font: 700 10.5px/15px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: #E2D6C0; }
.e4-gloss { display: block; max-width: 420px; margin-top: 4px; font-size: 13px; line-height: 18px; color: #E2D6C0; text-align: center; text-transform: none; }
.e4-gloss cite { font-style: normal; color: #E9B07A; }
.e4-node.is-path .e4-gloss { max-width: 360px; }
/* you are here: parchment */
.e4-node.is-here { max-width: 460px; min-width: 240px; padding: 14px 22px 14px; cursor: default; color: #2A1C0F;
  background: var(--wt-noise) 0 0 / 180px 180px, linear-gradient(180deg, var(--wt-parch-1), var(--wt-parch-2)); box-shadow: inset 0 0 0 1px rgba(74, 52, 32, .45), 0 0 0 3px var(--gc), 0 12px 24px -10px rgba(0, 0, 0, .9); }
.e4-node.is-here .e4-name { font-size: 28px; line-height: 30px; color: #2A1C0F; }
.e4-node.is-here .e3-tag { background: rgba(107, 40, 6, .12); color: #6B2806; }
.e4-node.is-here .e4-n, .e4-node.is-here .e4-share, .e4-node.is-here .e4-gloss { color: #3A2816; }
.e4-node.is-here .e4-gloss cite { color: #6B2806; }
.e3-here { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); padding: 1px 9px; border-radius: 999px; background: #F58A1F; color: #121417; font: 700 10.5px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.e4-node.is-here::before { display: none; }
.e4-share { font-size: 12.5px; line-height: 17px; }
.e4-node.is-here:focus-visible { outline-color: #2A1C0F !important; }
.e4-more { align-self: center; min-width: 52px; height: 34px; padding: 0 12px; border: 1px dashed #8a7a62; border-radius: 999px; background: #1b1916; font: 700 13px/16px var(--font-heading) !important; color: #E2D6C0 !important; }
.e4-more:hover { border-color: #F5F1E6; }

/* the open group's branches, the last row */
.e4-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 240px)); justify-content: center; gap: 16px; }
.e4-cards.is-species { grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); }
.e3-card { position: relative; display: flex; flex-direction: column; min-height: 100%; border-radius: 12px; cursor: pointer; background: linear-gradient(180deg, #24211d, #1a1815);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 55%, transparent), 0 10px 20px -12px rgba(0, 0, 0, .9); transition: transform .18s, box-shadow .18s; }
.e3-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 12px 12px 0 0; background: var(--gc); z-index: 2; }
.e3-card::after { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #4a3020; box-shadow: 0 0 0 2px var(--gc); z-index: 3; }
.e3-card:hover, .e3-card:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--gc), 0 0 22px -6px var(--gc), 0 16px 26px -14px rgba(0, 0, 0, .9); }
.e3-card.is-onpath { box-shadow: inset 0 0 0 3px var(--gc), 0 0 26px -8px var(--gc), 0 10px 20px -12px rgba(0, 0, 0, .9); }
.e3-card.is-dim { box-shadow: inset 0 0 0 1px #3a352d; } .e3-card.is-dim::before { background: #4a4236; } .e3-card.is-dim .e3-art { opacity: .3; filter: grayscale(1); }   /* dimmed by Lived in: the picture fades, the words keep their contrast */
.e3-art { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; height: 118px; padding: 8px 6px 0; overflow: hidden; border-radius: 12px 12px 0 0; background: radial-gradient(ellipse at 50% 110%, color-mix(in srgb, var(--gc) 26%, transparent), transparent 70%); }
.e3-art img { width: 100%; height: 72px; object-fit: contain; }
.e3-art[data-n="1"] img { height: 100px; }
.e3-art img.is-group { height: 118px; margin: -8px -6px 0; width: calc(100% + 12px); object-fit: cover; }
.e3-art.is-mark { place-items: end center; grid-auto-flow: row; }
.e3-art .e3-mark { width: auto; height: 64px; fill: color-mix(in srgb, var(--gc) 55%, #4a4236); opacity: .8; }
.e3-card-b { display: flex; flex-direction: column; gap: 3px; padding: 10px 44px 12px 14px; }
.e3-card-t { font: 900 22px/24px var(--font-display); text-transform: uppercase; color: #F5F1E6; overflow-wrap: anywhere; }
.e3-card-t i { text-transform: none; font-style: italic; }
.e3-card-b .e3-tag { align-self: flex-start; }
.e3-card-m { font-size: 13.5px; line-height: 18px; color: var(--e3-mut); }
.e3-per { display: flex; gap: 2px; height: 5px; margin-top: 4px; }
.e3-per i { border-radius: 2px; } .e3-per .is-tri { background: var(--neon-triassic); } .e3-per .is-jur { background: var(--neon-jurassic); } .e3-per .is-cre { background: var(--neon-cretaceous); }
.e3-keys { font-size: 12.5px; line-height: 17px; color: #BDAF96; }
.e3-inhere { align-self: flex-start; margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: #F58A1F; color: #121417; font: 700 11px/16px var(--font-heading); letter-spacing: .04em; }
.e3-open { position: absolute; right: 10px; bottom: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F58A1F; color: #121417; box-shadow: 0 0 0 1.5px #8a4a10; }
.e3-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.e3-more { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 120px; padding: 14px; border: 1.5px dashed #6a5f4f; border-radius: 12px; background: transparent; text-align: left; font: 700 15px/20px var(--font-heading) !important; }
.e3-more span { font: 400 13px/18px var(--font-body); color: var(--e3-mut); }
.e3-more:hover { border-color: #F5F1E6; }
.e4-more-cards { min-height: 0; }
.e3-ahead { margin: -10px auto 0; max-width: 760px; text-align: center; }
.e3-ahead-l { margin: 0 0 6px; font-size: 13px; line-height: 18px; color: var(--e3-mut); }
.e3-ahead ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.e3-ahead li + li::before { content: "\203A"; margin-right: 6px; color: #8a7a62; }
.e3-ahead button { padding: 0; border: 0; background: none; font-size: 13.5px; color: #E9B07A; text-decoration: underline; text-underline-offset: 3px; }
/* a genus: its species */
.e3-sp { position: relative; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #24211d, #1a1815); box-shadow: inset 0 0 0 1.5px #4a4236; cursor: pointer; }
.e3-sp.is-pick { box-shadow: inset 0 0 0 2.5px #F58A1F, 0 0 26px -8px rgba(245, 138, 31, .8); }
.e3-sp-fig { display: block; aspect-ratio: 2 / 1; background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .07), transparent 70%); }
.e3-sp-fig img { width: 100%; height: 100%; object-fit: contain; }
.e3-sp-fig.is-mark { display: grid; place-items: end center; padding-bottom: 8px; box-sizing: border-box; }
.e3-sp-fig .e3-mark { width: auto; height: 90px; fill: #4a4236; }
.e3-ai { margin: -4px 14px 0; font-size: 11.5px; line-height: 15px; color: var(--e3-mut); }
.e3-ai::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #F58A1F; vertical-align: 1px; }
.e3-sp-b { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px 14px; }
.e3-sp-flag { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: #F58A1F; color: #121417; font: 700 11px/16px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; }
.e3-sp-n { font: 900 26px/28px var(--font-display); color: #F5F1E6; }
.e3-sp-a { font-size: 13.5px; color: var(--e3-mut); }
.e3-sp-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 6px 0; font-size: 14px; line-height: 19px; }
.e3-sp-dl dt { font: 700 11px/19px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #C9B79A; }
.e3-sp-dl dd { margin: 0; color: #F5F1E6; }
.e3-sp-go { align-self: flex-start; margin-top: 4px; }
.e3-rel { margin: 8px 0 0; font-size: 13px; line-height: 19px; color: var(--e3-mut); }
.e3-rel b { color: #E2D6C0; } .e3-rel a { color: #E9B07A; }
.e3-note { margin: 12px 0 0; font-size: 13px; line-height: 19px; }

/* Evolution over time and Compare traits follow the open group: one line saying so, with the switch */
.e3-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #1d1a16; box-shadow: inset 0 0 0 1px #4a4236; font-size: 14px; line-height: 20px; color: #E2D6C0; }
.e3-follow b { color: #F5F1E6; }
.e3-follow .e3-sw { display: inline-block; width: 22px; height: 0; border-top: 4px solid var(--gc, #F5F1E6); border-radius: 2px; vertical-align: 4px; }
.e3-follow button { margin-left: auto; height: 32px; padding: 0 12px; border: 1px solid #8a7a62; border-radius: 999px; background: transparent; color: #F5F1E6; font: 700 11.5px/14px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.e3-follow button.e3-follow-a { border-color: #F58A1F; }
.e3-follow button.e3-follow-a:hover { background: #F58A1F; color: #121417; }
.e3-follow button:focus-visible { outline: 3px solid #F6CF8E; outline-offset: 2px; }
.ev-traits-line { margin: 18px 0 14px; }
.evx-howto.is-top { margin: 6px 0 18px; }
.evx-main > .evx-caveat { margin-top: 12px; }

@media (max-width: 760px) {
  .e3-start { grid-template-columns: minmax(0, 1fr); padding: 14px; } .e3-top { margin-left: 0; } .e3-start-l { font-size: 22px; line-height: 24px; }
  .e3-pick { height: 40px; padding-right: 12px; font-size: 14px !important; } .e3-pick img { width: 46px; height: 30px; }
  .e4-frame { padding: 22px 10px 16px; } .e4-wires { left: 10px; top: 22px; }
  .e4-tree { gap: 28px; }
  .e4-node { max-width: 100%; } .e4-node.is-here { min-width: 0; width: 100%; box-sizing: border-box; padding: 14px 14px 12px; } .e4-node.is-here .e4-name { font-size: 24px; line-height: 26px; }
  .e4-ic, .e4-node.is-sib .e4-ic { width: 48px; height: 24px; }
  .e4-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .e4-cards.is-species { grid-template-columns: minmax(0, 1fr); }
  .e3-art { height: 84px; } .e3-art img { height: 52px; } .e3-art[data-n="1"] img { height: 74px; } .e3-art img.is-group { height: 84px; }
  .e3-card-b { padding: 8px 10px 46px 10px; } .e3-card-t { font-size: 18px; line-height: 20px; } .e3-keys { display: none; }
  .e3-open { right: 8px; bottom: 8px; }
  .e3-sp-fig.is-mark { aspect-ratio: 3 / 1; } .e3-sp-fig .e3-mark { height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .e4-node, .e3-card, .e3-card:hover { transition: none; transform: none !important; } }

/* ================================================================ v4 (core 0.18.2; approval row 63)
   Claude Design's e4v4.css (design/phase-1/canvas-2/source/e4/), lifted: the hand-off's sections 1 to 4, with the row's
   answers (the guide in Sunset Orange, the way back up as the bar, the chart as tall as the tallest card). */

/* ---------- 1. the tree's container: more room and a stronger edge */
.ev-app .e4-frame { margin: 36px 0 40px; border: 2px solid #6B4F2E; box-shadow: inset 0 1px 0 rgba(245, 241, 230, .08), 0 0 0 1px rgba(0, 0, 0, .6), 0 26px 50px -26px rgba(0, 0, 0, .95); }

/* ---------- 2. the first-click guide: the child cards and "Select a group" glow and pulse, one slow swell every 2 s (no
   flashing, WCAG 2.3.1); the label 5.5:1 on its pill with its glow; still under reduced motion */
.ev-app { --ev4-g: 245, 138, 31; --ev4-t: #F58A1F; }   /* Sunset Orange */
.ev4-sel { display: flex; justify-content: center; margin: 6px 0 22px; pointer-events: none; visibility: hidden; position: relative; z-index: 1; }
.ev4-guide .ev4-sel { visibility: visible; }   /* its room is kept when the guide is off, so nothing jumps */
.ev4-sel span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: #121417;
  box-shadow: 0 0 0 1.5px rgba(var(--ev4-g), .9), 0 0 18px 2px rgba(var(--ev4-g), .45);
  color: var(--ev4-t); font: 700 15px/20px var(--font-heading); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 0 10px rgba(var(--ev4-g), .55); }
.ev4-sel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ev4-guide .e4-cards .e3-card { animation: ev4-pulse 2s ease-in-out infinite; }
.ev4-guide .ev4-sel span { animation: ev4-pulse-t 2s ease-in-out infinite; }
@keyframes ev4-pulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(var(--ev4-g), .55), 0 0 14px 2px rgba(var(--ev4-g), .3); } 50% { box-shadow: 0 0 0 3px rgba(var(--ev4-g), .95), 0 0 30px 8px rgba(var(--ev4-g), .55); } }
@keyframes ev4-pulse-t { 0%, 100% { box-shadow: 0 0 0 1.5px rgba(var(--ev4-g), .7), 0 0 12px 1px rgba(var(--ev4-g), .3); } 50% { box-shadow: 0 0 0 2px rgba(var(--ev4-g), 1), 0 0 24px 5px rgba(var(--ev4-g), .6); } }
@media (prefers-reduced-motion: reduce) {
  .ev4-guide .e4-cards .e3-card, .ev4-guide .ev4-sel span { animation: none; }
  .ev4-guide .e4-cards .e3-card { box-shadow: 0 0 0 2.5px rgba(var(--ev4-g), .8), 0 0 22px 5px rgba(var(--ev4-g), .45); }
}

/* ---------- 3. the way back up: a bar across the top of the tree, kept in view under the site header while the tree
   scrolls, leaving with it (48 px, a full-width target on phones) */
.ev4-up { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 700 16px/20px var(--font-heading); letter-spacing: .02em; }
.ev4-up svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ev4-up:focus-visible { outline: 3px solid #F5F1E6; outline-offset: 3px; }
.ev4-up.is-bar { position: sticky; top: calc(var(--dn-sticky-offset, var(--dn-sticky-fallback, 72px)) + 8px); z-index: 4; width: 100%; box-sizing: border-box; min-height: 48px; margin: 0 0 18px; padding: 0 18px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #2b2620, #201d19); box-shadow: inset 0 0 0 1px rgba(245, 138, 31, .45), inset 4px 0 0 #F58A1F; color: #F5F1E6; text-align: left; }
.ev4-up.is-bar b { color: #F58A1F; }
.ev4-up.is-bar:hover { box-shadow: inset 0 0 0 1.5px #F58A1F, inset 4px 0 0 #F58A1F; }
@media (max-width: 760px) { .ev4-up { font-size: 15px; } }

/* ---------- 4. Evolution over time: the chart 3/4 and the stage card 1/4 from 1100 px, the card under the chart below */
.ev2-chartrow.ev4-row, .ev2-chartrow.ev4-row.is-closed { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.ev4-row .evx-main { min-width: 0; }
.ev4-row .evx-panel { display: flex; flex-direction: column; min-width: 0; }
.ev4-row .evx-panel.is-measure { align-self: start; }
@media (max-width: 1023.98px) { .ev2-chartrow.ev4-row, .ev2-chartrow.ev4-row.is-closed { grid-template-columns: minmax(0, 1fr); } }
/* the card */
.ev4-card.evx-panel { gap: 10px; padding: 0 0 16px; overflow: hidden; border-top: 0; }
.ev4-card .ev4-band { display: flex; align-items: center; gap: 8px; min-height: 34px; margin: 0; padding: 0 16px; background: var(--ev4-pc, #4a3420); color: var(--ev4-pt, #F5F1E6);
  font: 700 12px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; }
.ev4-card.ev4-card > :not(.ev4-band) { margin-left: 16px; margin-right: 16px; }   /* core 0.19.6: outranks the doubled .ev2-stage-panel h3, as before */
.ev4-card .evx-ph.evx-ph { margin-top: 2px; padding-left: 10px; border-left: 6px solid var(--ev4-sc, #F58A1F); font-size: 36px; line-height: 36px; }
.ev4-card .evx-pdates { margin-top: -4px; color: #E6DCC7; }
.ev4-n { display: flex; align-items: baseline; gap: 8px; margin: 0; color: #F5F1E6; font: 600 14px/18px var(--font-body); }
.ev4-n b { font: 900 44px/40px var(--font-display); color: #F58A1F; }
.ev4-split { display: flex; height: 14px; margin: 0; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
.ev4-split span { display: block; min-width: 2px; }
.ev4-split span + span { box-shadow: -2px 0 0 #18191b; }
.ev4-gl { list-style: none; margin: -2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ev4-gl li { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/18px var(--font-body); color: #E6DCC7; white-space: nowrap; }
.ev4-gl li i { display: block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.ev4-gl li b { font: 700 14px/18px var(--font-heading); color: #F5F1E6; }
.ev4-follow { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font: 500 14px/18px var(--font-body); color: #E6DCC7; }
.ev4-follow i { width: 12px; height: 12px; border-radius: 3px; background: var(--gc); flex: none; }
.ev4-follow b { color: #F5F1E6; }
.ev4-card .ev4-lab { margin-top: 4px; }
.ev4-card .evx-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ev4-card .evx-top li a { display: grid; gap: 4px; font-size: 12px; line-height: 15px; }
.ev4-card .ev2-sp-il { margin-top: -4px; }
/* At this time: parchment with an orange inner edge; the heading and links #6B2806 */
.ev4-at { margin-top: 2px; padding: 10px 12px 12px; border-radius: 10px; background: linear-gradient(180deg, #ECDFC2, #DCC8A0); color: #2A1C0F; box-shadow: inset 4px 0 0 #F58A1F; }
.ev4-at .ev4-at-h { display: block; margin-bottom: 4px; font: 700 12px/16px var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #6B2806; }
.ev4-at p { margin: 0; font: 400 14px/20px var(--font-body); color: #2A1C0F; }
.ev4-at p + p { margin-top: 6px; }
.ev4-at sup { font-size: 10px; line-height: 0; margin-left: 1px; }
.ev4-at a { color: #6B2806 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ev4-src { margin: 8px 0 0; padding: 6px 0 0 16px; border-top: 1px solid rgba(107, 40, 6, .25); font: 500 12px/16px var(--font-body); color: #3D2A16; }
.ev4-src li + li { margin-top: 2px; }
.ev4-src a { font-weight: 600; }
.ev4-at .ev4-at-go { display: inline-block; margin-top: 8px; font: 700 13px/18px var(--font-heading); }
.ev4-card .ev4-tree { align-self: start; color: #F5F1E6; font: 600 13px/18px var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
.ev4-card .ev4-tree:hover { color: #F58A1F; }
.ev4-card .dn-btn { margin-top: auto; align-self: start; }   /* the room a short card has left falls above its links */
.ev4-card.is-playing { box-shadow: 0 0 0 2px #F58A1F, 0 10px 24px -12px rgba(0, 0, 0, .9); }

/* ---------- 5. narration: the control right of Play, the plate under the chart */
.evx-tools .nar-ctl { align-self: center; margin-left: 4px; }
.nar-plate.is-ev { margin: 12px 0 0; }
.nar-plate.is-ev .ev-narr-note { margin: 6px 0 0; font: 500 13px/18px var(--font-body); color: #E6DCC7; }
.nar-plate.is-ev .ev-narr-note[hidden] { display: none; }
@media (max-width: 760px) { .evx-tools .nar-ctl small { display: none; } }

/* ---------- 0.18.3: Play reads "Play: how the chart works" (Ben 2026-10-29); "Play: how it works" on phones, where the
   long label would put Play on a line of its own beside nothing (measured at 400 px with Count, Share, Play and
   Narration on); "Pause" while playing */
.evx-play .evx-pl-short { display: none; }
@media (max-width: 559.98px) { .evx-play .evx-pl-long { display: none; } .evx-play .evx-pl-short { display: inline; } }

/* ---------- 0.18.3: Compare traits zooms and drags as Size Comparison does (size-comparison.css .sz-zoom, the shared
   zoomControl and dragPan in size-comparison.js); the stage keeps its rounded box, the zoom column inside it. Zoomed in
   past a figure's top, the stage scrolls up as well (drag, or a touch device's own scroll). */
.evc-row { margin-top: 14px; border: 1px solid var(--line-dark); border-radius: var(--radius-md); overflow: hidden; }
.evc-row > .ev2-tr-stage { margin-top: 0; border: 0; border-radius: 0; }
.ev2-tr-stage.is-vscroll { overflow-y: auto; cursor: grab; scrollbar-width: thin; }
.ev2-tr-stage.is-vscroll.is-drag { cursor: grabbing; }

/* ---------- 0.19.0: Play in the start-button family (row 64 section 7): A, 52 px, a Prehistoric Slate disc with a
   Sunset Orange triangle, the title (Slate, 7.5:1) and "Narrated walkthrough, about 4 minutes" (#3A2410, 5.9:1) */
.evx-tools .evx-play.nar-go-ev { gap: 10px; min-height: 52px; padding: 0 20px 0 8px; border: 0; background: #F58A1F; color: #121417; text-transform: none; letter-spacing: 0; box-shadow: 0 10px 22px -12px rgba(245, 138, 31, .8); }
.evx-tools .evx-play.nar-go-ev:hover { background: #FFA040; }
.evx-tools .evx-play.nar-go-ev .ev2-play-ic { width: 36px; height: 36px; }
.evx-tools .evx-play.nar-go-ev .ev2-play-ic circle { fill: #121417; }
.evx-tools .evx-play.nar-go-ev .ev2-play-ic path { fill: #F58A1F; }
.evx-tools .evx-play.nar-go-ev .evx-play-l { display: grid; text-align: left; }
.evx-tools .evx-play.nar-go-ev .evx-play-l b { font: 700 15px/20px var(--font-heading); }
.evx-tools .evx-play.nar-go-ev .evx-pl-line { font: 500 12px/16px var(--font-body); color: #3A2410; }
.evx-tools .evx-play.nar-go-ev.is-on { box-shadow: 0 0 0 3px #121417, 0 0 0 5px #F58A1F; }
@media (max-width: 559.98px) { .evx-tools .evx-play.nar-go-ev .evx-pl-line { display: none; } }

/* ---------- core 0.20.1 (Ben, 2026-10-31 20:22: "We have to start to get our content into a 1920 by 1080 screen"): the
   working area fits one screen from 1,024 px. The tools over the chart's empty top-left (placeTools() places them, or a
   slim row on the chart's top edge when they would touch a bar); the right column: the group chips, the stage panel (its
   empty space gone, scrolling inside the column if it must), the narration plate under it. Up to 1,600 px wide from a
   1,680 px screen. Below 1,024 px, today's stacked order: the tools, the chips, the chart, the plate, the panel. */
.ev2-chartrow.ev4-row { margin-top: 14px; }
@media (max-width: 1023.98px) {
  .ev4-row > .evx-tools { order: 0; }
  .ev4-row > .evx-main { order: 2; }
  .ev4-row > .evx-side { display: contents; }
  .evx-side > .evx-legend { order: 1; }
  .evx-side > .evx-main { order: 2; }
  .evx-side > .nar-plate { order: 3; }
  .evx-side > .nar-live { order: 3; }
  .evx-side > .evx-panel { order: 4; }
}
@media (min-width: 1024px) {
  .ev2-chartrow.ev4-row.evx-fit { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; }
  .ev2-chartrow.ev4-row.evx-fit { grid-template-rows: auto auto auto minmax(0, 1fr); row-gap: 10px; }
  .evx-fit > .evx-side { display: contents; }
  .evx-fit > .evx-tools { grid-column: 1; grid-row: 1; }
  .evx-fit .evx-side > .evx-main { grid-column: 1; grid-row: 1 / span 4; }
  .evx-fit .evx-side > .evx-legend { grid-column: 2; grid-row: 1; }
  .evx-fit .evx-side > .evx-panel { grid-column: 2; grid-row: 2; }
  .evx-fit .evx-side > .nar-plate, .evx-fit .evx-side > .nar-live { grid-column: 2; grid-row: 3; }
  .evx-fit > .evx-tools { position: relative; z-index: 3; align-self: start; justify-self: start; max-width: calc(100% - 40px); }
  .evx-fit > .evx-tools.is-over { gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(18, 20, 23, .86); box-shadow: 0 0 0 1px rgba(201, 183, 154, .18), 0 8px 20px -10px rgba(0, 0, 0, .8); }
  .evx-fit > .evx-tools.is-row { margin: 0; padding: 0; }
  .evx-fit .evx-side > .evx-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 6px; margin: 0; padding: 0; }
  .evx-fit .evx-side > .evx-legend > li { min-width: 0; }
  .evx-fit .evx-side > .evx-legend .evx-lg { flex: 1 1 auto; min-width: 0; padding: 0 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .evx-fit .evx-side > .evx-legend .evx-only { padding: 0 8px; }
  .evx-fit .evx-side > .evx-legend > li:has(> .evx-all[hidden]) { display: none; }
  .evx-fit .evx-side > .evx-panel { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .evx-fit .evx-side > .evx-panel .dn-btn { margin-top: 6px; }
  .evx-fit .evx-side > .nar-plate.is-ev { margin: 0; }
}
@media (min-width: 1680px) {
  .ev2-time .ev2-chartrow.ev4-row { width: min(var(--site-width, 1700px), calc(100vw - 80px)); margin-left: calc(50% - min(var(--site-width, 1700px) / 2, 50vw - 40px));   /* core 0.20.8: was 1600px */ }
}

/* ---------- core 0.20.1: Compare traits' thumbnails (the side view, or the group's mark) and its how-to strip */
.evc-th { display: block; flex: none; object-fit: contain; object-position: center bottom; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.evc-th.is-mark { display: grid; place-items: center; }
.evc-th.is-mark svg { display: block; }
.ev2-key li { grid-template-columns: 30px 96px minmax(0, 1fr) auto; grid-template-areas: "n th name badge" "n th words words" "n th src src"; }
.ev2-key li > .evc-th.is-row { grid-area: th; width: 96px; height: 48px; align-self: center; }
.ev2-pick > .evc-th.is-chip { width: 44px; height: 22px; margin-left: -6px; border-radius: 999px 4px 4px 999px; }
.evc-howto { margin: 4px 0 18px; }
.evc-howto .dn-howto { margin-top: 0; }
@media (max-width: 560px) {
  /* the period badge on its own line under the name, so a long name never runs under it */
  .ev2-key li { grid-template-columns: 30px 72px minmax(0, 1fr); grid-template-areas: "n th name" "n th badge" "n th words" "n th src"; }
  .ev2-key li .sp-badge { justify-self: start; margin: 2px 0; }
  .ev2-key li a { overflow-wrap: anywhere; }
  .ev2-key li > .evc-th.is-row { width: 72px; height: 36px; }
}

/* core 0.20.8: running text keeps a measure of about 72 characters in the 1,700 px wrapper (Ben, 2026-11-15) */
.ev .evx-caveat, .ev .ev2-caveat { max-width: 72ch; }
.ev .sz-foot { max-width: 72ch; }

/* core 0.20.8: in the 1,700 px wrapper, the card grids add columns rather than stretching cards (Ben, 2026-11-15): from
   1280 px each card is at least 260 px and under 2 x 260 wide (4 across at 1280 and 1366, 5 or 6 at 1920); narrower windows unchanged */
@media (min-width: 1280px) { .ev .st-tiles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
/* core 0.26.1: Explore more under its full, centred banner heading (Ben, 2026-11-29): the four tiles centred in the row at the
   size the grid above gives them (at least 260 px, about 314 px at 1920), never a left-aligned row under a centred banner;
   the artwork note under them centred too. Under 1,280 px the two columns fill the row, as before. */
@media (min-width: 1280px) { .ev .ev-more-sec .st-tiles { grid-template-columns: repeat(4, minmax(260px, 314px)); justify-content: center; } }
.ev .ev-more-sec .st-note { text-align: center; margin-left: auto; margin-right: auto; }

/* ================================================================ layout="fit" (core 0.22.0; approval row 71, Evo-Fit A)
   briefs/handoff-fit-evolution-design-2026-11-15.md, lifted from Claude Design's prototype
   (design/phase-1/canvas-3/source/evofit/evofit.css). Screen only, from 1,280 px; the moves are evolution.js fitSetup(). */
@media screen and (min-width: 1280px) {
/* Evolution over time: How it works, the headline row (the headline, the follow note beside it), the chart row */
.ev.is-fit .ev2-time .evx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); column-gap: 24px; align-items: baseline; }
.ev.is-fit .ev2-time .evx > * { grid-column: 1 / -1; }
.ev.is-fit .ev2-time .evx > [data-ev="howto"] { grid-row: 1; }
.ev.is-fit .ev2-time .evx > .evx-head { grid-column: 1; grid-row: 2; margin: 0 0 10px; font-size: 19px; line-height: 25px; }
.ev.is-fit .ev2-time .evx > .ev-follow { grid-column: 2; grid-row: 2; margin: 0 0 10px; padding: 6px 12px; font-size: 13px; line-height: 18px; }
.ev.is-fit .ev2-time .evx > .ev2-chartrow { grid-row: 3; align-self: start; }
/* the chart row across the wrapper (0.20.1's widening goes), a 404 px right column with the chips in two columns */
.ev.is-fit .ev2-time .ev2-chartrow.ev4-row { width: auto; margin: 0; }
.ev.is-fit .ev2-chartrow.ev4-row.evx-fit { grid-template-columns: minmax(0, 1fr) 404px; column-gap: 16px; }
.ev.is-fit .evx-fit .evx-side > .evx-legend { grid-template-columns: 1fr 1fr; gap: 6px; }
.ev.is-fit .evx-fit .evx-side > .evx-legend .evx-lg { font-size: 13px; }
.ev.is-fit .ev2-cap { font-size: 12px; line-height: 17px; }
.ev.is-fit .evx-caveat { margin-top: 6px; font-size: 12px; line-height: 17px; }
/* Compare traits: the grid (tools row, picked row, the stage and its strip beside the line-up panel) */
.ev.is-fit .ev2-traits .ev-lead { margin-bottom: 10px; }
.ev.is-fit .evf-tr { display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-rows: auto auto minmax(var(--evf-row, 560px), auto); gap: 10px 20px; }
.ev.is-fit .evf-tr > .evf-tools { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 12px; margin: 0; }
.ev.is-fit .evf-tools > .evc-chips { flex: 1 1 auto; margin: 0; flex-wrap: nowrap; }
.ev.is-fit .evf-tools > .evc-search { flex: 0 0 280px; }
.ev.is-fit .evf-tools > .evc-shuffle { flex: none; margin: 0; min-height: 44px; }
.ev.is-fit .evf-tr > .evf-picks { grid-column: 1 / -1; grid-row: 2; margin: 0; }
.ev.is-fit .evf-picks .ev2-picks { flex-wrap: wrap; gap: 6px; }
.ev.is-fit .evf-picks .ev2-pick { min-height: 36px; font-size: 12px; gap: 4px; padding-left: 10px; }
.ev.is-fit .evf-picks .ev2-pick > .evc-th.is-chip { width: 40px; height: 20px; }
.ev.is-fit .evf-picks .ev2-picks > li { max-width: 100%; }
.ev.is-fit .evf-tr > .evf-stagecol { grid-column: 1; grid-row: 3; align-self: start; min-width: 0; display: flex; flex-direction: column; }
.ev.is-fit .evf-stagecol > .evc-row { position: relative; margin: 0; height: var(--evf-stage, 640px); }
.ev.is-fit .evf-stagecol .evc-row .ev2-tr-stage, .ev.is-fit .evf-stagecol .evc-row .sz-stage { height: 100%; }
.ev.is-fit .evf-stagecol .evc-opts { position: absolute; z-index: 4; top: 10px; right: 12px; margin: 0; padding: 6px 8px; gap: 8px; flex-wrap: nowrap; border-radius: 12px;
  background: rgba(18, 20, 23, .88); box-shadow: 0 0 0 1px rgba(201, 183, 154, .18), 0 8px 20px -10px rgba(0, 0, 0, .8); }
.ev.is-fit .evf-stagecol .evc-opts .ev2-lab { font-size: 11px; }
.ev.is-fit .evf-stagecol .evc-opts .lf-seg button { min-height: 36px; padding-inline: 10px; font-size: 11px; }
.ev.is-fit .evf-stagecol .sz-lab { display: none; }
.ev.is-fit .evf-mark { position: absolute; z-index: 3; display: grid; place-items: center; width: 22px; height: 22px; transform: translate(-50%, 6px); border-radius: 50%;
  background: #121417; box-shadow: inset 0 0 0 1.5px #F58A1F; color: #F5F1E6; font: 700 12px/1 var(--font-heading, Montserrat, sans-serif); pointer-events: none; }
.ev.is-fit .evf-mark.is-lit, .ev.is-fit .evf-strip li.is-lit .evf-n { background: #F58A1F; color: #121417; }
.ev.is-fit .evf-strip { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.ev.is-fit .evf-strip li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; align-items: start; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  background: #202123; box-shadow: inset 0 0 0 1px rgba(245, 241, 230, .1); }
.ev.is-fit .evf-strip li.is-lit { box-shadow: inset 0 0 0 2px #F58A1F; background: rgba(245, 138, 31, .1); }
.ev.is-fit .evf-strip .evf-n { grid-row: 1 / 3; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #121417; box-shadow: inset 0 0 0 1.5px #F58A1F;
  color: #F5F1E6; font: 700 12px/1 var(--font-heading, Montserrat, sans-serif); }
.ev.is-fit .evf-strip .is-beside .evf-n { visibility: hidden; }
.ev.is-fit .evf-strip i { display: block; min-width: 0; font: italic 700 13px/17px var(--font-name, var(--font-body)); color: #F5F1E6; overflow-wrap: anywhere; }
.ev.is-fit .evf-strip .is-beside i { font-style: normal; }
.ev.is-fit .evf-strip small { display: block; font-size: 11px; line-height: 15px; color: #E6DCC7; }
.ev.is-fit .evf-stagecol > .sz-foot { margin: 6px 0 0; font-size: 12px; line-height: 17px; }
/* the two 12 px notes under a tool run the tool's width, as drawn (row 71); running text keeps its 72ch elsewhere */
.ev.is-fit .evf-stagecol > .sz-foot, .ev.is-fit .ev2-time .evx-caveat { max-width: none; }
.ev.is-fit .evf-tr > .evf-side { grid-column: 2; grid-row: 3; min-height: 0; contain: size; display: flex; flex-direction: column; gap: 10px; }
.ev.is-fit .evf-panel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border-radius: 14px; background: #202123; box-shadow: inset 0 0 0 1px rgba(245, 241, 230, .12); overflow: hidden; }
.ev.is-fit .evf-tabs { display: flex; gap: 4px; padding: 6px 6px 0; border-bottom: 1px solid rgba(245, 241, 230, .14); }
.ev.is-fit .evf-tab { flex: 1 1 0; min-height: 44px; border: 0; border-radius: 10px 10px 0 0; cursor: pointer; background: transparent; color: #E6DCC7;
  font: 700 13px/16px var(--font-heading, Montserrat, sans-serif); letter-spacing: .04em; text-transform: uppercase; }
.ev.is-fit .evf-tab[aria-selected="true"] { background: #121417; color: #F5F1E6; box-shadow: inset 0 -3px 0 #F58A1F; }
.ev.is-fit .evf-tab:focus-visible { outline: 2px solid #F58A1F; outline-offset: -2px; }
.ev.is-fit .evf-tabp { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ev.is-fit .evf-tabp[hidden] { display: none; }
.ev.is-fit .evf-tabp > .ev2-key { border: 0; border-radius: 0; background: none; box-shadow: none; }
.ev.is-fit .evf-tabp > .ev2-key li { padding: 7px 10px; }
.ev.is-fit .evf-tabp > .evc-guess { margin: 10px; }
.ev.is-fit .evf-side > .ev2-tr-acts { margin: 0; gap: 6px; flex-wrap: wrap; }
.ev.is-fit .evf-side > .ev2-tr-acts .sz-foot { margin: 0; font-size: 12px; line-height: 17px; }
.ev.is-fit .ev2-traits .ev2-tr-bottom:empty, .ev.is-fit .ev2-traits .ev2-tr-bottom:not(:has(*:not(:empty))) { display: none; }
}
@media screen and (min-width: 1280px) and (max-width: 1599.98px) { .ev.is-fit .evf-tr { grid-template-columns: minmax(0, 1fr) 400px; } }
