/* Marketing › Analytics (Ben, 15.11.2026, phase 1; public/analytics.js). The approved prototype's variant C
   (prototypes/marketing-analytics, branch prototype/marketing-analytics): every piece is an existing OS class – the head tile
   Today's .td-head .td-date .td-say .td-wx, the period Season's .seg-tabs, "Compare with" Tickets' .re-filter .link-btn, the results
   Trends' .dash-hero .dash-lbl .dash-big .dash-sub in a chalk tile, the channel tiles .dash-card, Development Trends' compare chart
   (.tr-lsvg .tr-grid .tr-ax .tr-ln .tr-dot .tr-hit .tr-end .tr-hover .tr-cmp-list .tr-mi) under .tr-sec-head, What worked Today's
   .td-task rows with .badge--plain .badge--neutral, not connected Trends' .tr-empty, the sheet the OS's sheet with .dash-box .dash-kv
   and .li rows. The rules here only place them, as the prototype's own style block did, scoped to #view-analytics and the sheet's
   .an-sheet. Tokens only (no colour, shadow or font of its own), no italic, letter-spacing the OS's (inherited --ls-text, caps
   labels --ls-label, figures as .dash-card b). Each rule names the existing rule it is modelled on. */

/* the head: Today's tile without the greeting's height (.td-say min-height) */
#view-analytics .an-head .td-say { min-height: 0; }
/* the controls under it: as the prototype (.td-bar of Today, .re-filter of Tickets) */
#view-analytics .an-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); margin: var(--s-5) 0 0; }
#view-analytics .an-ctl .seg-tabs { margin: 0; }
#view-analytics .an-cmp { align-items: center; margin: 0; }
#view-analytics .an-cmp > span { font-size: var(--t-sm); color: var(--slate); white-space: nowrap; }   /* .td-date's size, .li-m's colour */
@media (max-width: 720px) {
  #view-analytics .an-ctl { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  #view-analytics .an-cmp { flex-wrap: nowrap; gap: var(--s-2); margin: 0; padding: 2px 0 3px; overflow: visible; }
  #view-analytics .an-cmp .link-btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
}

/* Results: the one figure that can be added up, a chalk tile (.td-head, 16 px) with Trends' hero and its three parts */
#view-analytics .an-res { margin: var(--s-5) 0 0; padding: var(--s-4); border-radius: 16px; background: var(--chalk); }
#view-analytics .an-res .dash-hero { margin: 0; }
#view-analytics .an-res-parts { margin-top: var(--s-4); border-top: var(--bw-hair) solid var(--mist); }        /* .tr-cmp-list's rule */
#view-analytics .an-res-parts > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding-top: var(--s-3); font-size: 15px; }   /* .dash-kv */
#view-analytics .an-res-parts b { font-weight: 500; font-variant-numeric: tabular-nums; }
#view-analytics .an-res-parts small { display: block; font-size: var(--t-xs); color: var(--slate); }             /* .dash-kv small */
@media (min-width: 721px) {
  #view-analytics .an-res { padding: var(--s-5); }
  #view-analytics .an-res-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
  #view-analytics .an-res-parts > div { flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 2px; padding-top: var(--s-4); }
  #view-analytics .an-res-parts b { font-size: 22px; letter-spacing: var(--ls-tight); }                           /* .dash-card b */
  #view-analytics .an-res-parts span { font-size: var(--t-micro); font-weight: 500; text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--slate); }   /* .dash-card > span */
  #view-analytics .an-res-parts span small { margin-top: 2px; font-weight: 400; text-transform: none; letter-spacing: var(--ls-text); }   /* .dash-card small */
}

/* a tile per channel: .dash-card in a grid (Trends' .tr-top cards), the newsletter's a button that opens its sheet */
#view-analytics .an-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-3) 0 0; }
@media (min-width: 721px) { #view-analytics .an-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#view-analytics .an-tile { display: grid; align-content: start; min-width: 0; padding: var(--s-4); border: 0; border-radius: 16px; background: var(--chalk); color: var(--ink); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (min-width: 721px) { #view-analytics .an-tile { padding: var(--s-5) var(--s-5) var(--s-4); } }
#view-analytics .an-tile:focus-visible { outline: var(--bw-thin) solid var(--ink); outline-offset: 2px; }        /* .td-task:focus-visible */
@media (min-width: 721px) { #view-analytics .an-tile b { font-size: clamp(20px, 2.2vw, 28px); } }
/* the small line: the tile's width at one height (the height it had in a phone's tile), the stroke as thick as the chart's however
   wide the tile is (vector-effect, as .hb-fig's lines in app.css). Before, the whole drawing scaled with the tile: 12 px thick on a desk */
#view-analytics .an-tile svg.an-spk { display: block; width: 100%; height: 30px; margin-top: var(--s-3); overflow: visible; }
#view-analytics .an-tile svg.an-spk .tr-ln { vector-effect: non-scaling-stroke; }
#view-analytics .an-tile.is-off, #view-analytics .an-tile.is-fig { cursor: default; }
#view-analytics .an-tile.is-fig:active { transform: none; }                                                      /* a figure, not a button (.dash-card:active) */
#view-analytics .an-kpis { margin-top: var(--s-5); }
#view-analytics .an-tile.is-off b { font-size: 15px; font-weight: 500; color: var(--graphite); letter-spacing: var(--ls-text); }
#view-analytics .an-tile .link-btn { justify-self: start; margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink); }
#view-analytics .an-tile .an-open { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--ink); }

/* Development: Trends' compare chart under Finance › Development's heading row */
#view-analytics .an-dev { margin-top: var(--s-4); }
#view-analytics .an-dev .tr-lsvg { width: 100%; }
#view-analytics .an-dev .tr-hit { fill: transparent; cursor: pointer; }
#view-analytics .an-fig-tabs { margin: 0; }
/* a note under a part, as .td-wx */
#view-analytics .an-note, .an-sheet .an-note { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--graphite); max-width: 60em; }
#view-analytics .an-note b, .an-sheet .an-note b { font-weight: 500; color: var(--ink); }
/* a chart without points yet: the calm tile of Trends (.tr-empty) */
#view-analytics .an-dev .tr-empty { margin-top: 0; }

/* sections: Today's heading (.h-sec with .td-n) */
#view-analytics .an-sec { margin-top: var(--s-7); }
#view-analytics .an-sec > .h-sec { display: flex; align-items: baseline; gap: var(--s-3); margin: 0 0 var(--s-3); padding-bottom: var(--s-2); border-bottom: var(--bw-thin) solid var(--ink); }
#view-analytics .an-sec > .h-sec .td-n { margin: 0; }

/* What worked: Today's task rows, not links */
#view-analytics .an-ww { border-top: var(--bw-hair) solid var(--fog); }
#view-analytics .an-ww .td-task { cursor: default; grid-template-columns: minmax(0, 1fr) auto; }
#view-analytics .an-ww .td-task .li-t { grid-column: 1; grid-row: 1; font-size: 15px; white-space: normal; }
#view-analytics .an-ww .td-task .li-r { grid-column: 2; grid-row: 1; align-self: start; }
#view-analytics .an-ww .td-task .td-what { grid-column: 1 / -1; grid-row: 2; }
#view-analytics .an-ww .td-task .li-m { grid-column: 1 / -1; grid-row: 3; margin-top: var(--s-1); }
#view-analytics .an-ww .td-task:active { background: none; }                                                     /* .li--static:active */
#view-analytics .an-ww .tr-empty { margin-top: var(--s-3); }
/* a page's path in its row breaks anywhere rather than pushing the phone sideways (.who, .as-sec .li > .li-s) */
#view-analytics .an-ww .td-what span, #view-analytics .an-ww .li-t { overflow-wrap: anywhere; }

/* loading: the CI's .skeleton in the page's shape (Trends' .tr-sk-cards), still for reduced motion (.today .skeleton) */
#view-analytics .an-sk { display: block; height: 120px; border-radius: 16px; }
@media (prefers-reduced-motion: reduce) { #view-analytics .skeleton { animation: none; } }

/* an empty status line takes no room (#view-season .se-todo > .msg:empty; phones: .dash > .msg:empty). The phone's dock: .wrap's
   bottom padding already clears it, as on every page */
#view-analytics > .msg:empty { display: none; }

/* the channel's sheet: the OS's sheet with Trends' and Finance's facts box and .li rows (the prototype's .an-sheet) */
.an-sheet .sheet-title { margin-bottom: var(--s-2); }
.an-sheet .dash-box { margin: var(--s-4) 0 0; }
.an-sheet .an-sub { margin: var(--s-5) 0 var(--s-1); }
.an-sheet .an-rows .li { grid-template-rows: auto; cursor: default; }
.an-sheet .an-rows .li:active { background: none; }
/* an Instagram post's row opens the post on Instagram: the list row as a link again (.li's pointer and :active; the account
   sheet's .as-sec a.li, the search's .find-list a.li:focus-visible) */
.an-sheet .an-rows a.li { cursor: pointer; text-decoration: none; }
.an-sheet .an-rows a.li:active { background: var(--chalk); }
.an-sheet .an-rows a.li:focus-visible { outline: var(--bw-thin) solid var(--ink); outline-offset: -1px; }
.an-sheet .an-rows .li-t, .an-sheet .an-rows .li-s { white-space: normal; overflow-wrap: anywhere; }   /* .as-sec .li > .li-s: a page's path */
.an-sheet .an-rows .li-r { grid-row: 1 / span 2; }
.an-sheet .an-rows .li:not(:has(.li-s)) .li-r { grid-row: 1; }
.an-sheet .an-foot { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin: var(--s-4) 0 0; font-size: var(--t-sm); }
.an-sheet .an-foot .link-btn, .an-sheet .an-foot a { color: var(--ink); }
.an-sheet p.an-text { margin: var(--s-3) 0 0; max-width: 36em; font-size: 15px; line-height: 1.5; color: var(--ink); }   /* .td-say's line, sheet size */

/* ── Step 2 of the concept of 02.12.2026 (prototypes/marketing-pulse, approved by Ben; public/analytics-pulse.js) ──
   The prototype's layout with the OS's own pieces. Again nothing new: the answer is Today's head tile (.td-head .td-date .td-say
   .td-wx) holding two of Trends' heroes (.dash-hero .dash-lbl .dash-big .dash-sub) with the OS's ⓘ (button.info, .info-tip); the
   grid's labels are .dash-lbl, its figures .dash-card b / small; the marker against usual is the sell-through bar's track
   (.st-bar: 3 px Fog) with a dot; a channel page's figures are the channel tiles above (.an-tile .dash-card); lists are .tbl in
   .tbl-wrap with .tr-link rows, bar lists .st-bar, sections .an-sec .h-sec, empty states .tr-empty, "How the pulse works"
   details.fold, the bars of "who left" Trends' chart parts (.tr-grid .tr-ax). Tokens only, no italic. */

/* the answer tile: Results and the marketing pulse side by side under the sentence (the prototype's .two; rule as .an-res-parts) */
#view-analytics .an-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-5); padding-top: var(--s-4); border-top: var(--bw-hair) solid var(--mist); }
@media (min-width: 721px) { #view-analytics .an-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } }
#view-analytics .an-two .dash-hero { margin: 0; min-width: 0; }
#view-analytics .an-two .dash-big small { margin-left: var(--s-2); font-size: 15px; font-weight: 400; letter-spacing: var(--ls-text); }   /* .an-res-parts > div's size */
#view-analytics .an-two .dash-sub b { font-weight: 500; color: var(--ink); }                                     /* .an-note b */
#view-analytics .an-two .info-tip { margin: var(--s-3) 0 0; background: var(--bone); }                           /* on a chalk tile the tip steps one tone down */
#view-analytics .an-answer .td-wx { max-width: 60em; }
/* Possible reasons and What to try next: two columns under the tile's figures (the grid and the hairline of .an-two), a hint
   per line (.li's hairline between lines, p.an-text's type), "Open" the OS's quiet text link (.link-btn) */
#view-analytics .an-hints { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4) var(--s-6); margin-top: var(--s-5); padding-top: var(--s-4); border-top: var(--bw-hair) solid var(--mist); }
@media (min-width: 721px) { #view-analytics .an-hints { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#view-analytics .an-hints > .an-note { grid-column: 1 / -1; margin: 0; }
#view-analytics .an-hints .dash-lbl { margin: 0 0 var(--s-2); }
#view-analytics .an-hl { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }   /* p.an-text */
#view-analytics .an-hl li { padding: var(--s-2) 0; border-top: var(--bw-hair) solid var(--mist); overflow-wrap: anywhere; }   /* .li */
#view-analytics .an-hl li:first-child { border-top: 0; padding-top: 0; }
#view-analytics .an-hl li.muted { color: var(--slate); }                                                          /* .muted */
#view-analytics .an-hl li b { font-weight: 500; }                                                                /* .an-note b */
/* "Open": a larger area to tap than the word, without moving the line (padding taken back by the margin) */
#view-analytics .an-hl .link-btn { margin: calc(-1 * var(--s-2)) 0 calc(-1 * var(--s-2)) var(--s-1); padding: var(--s-2) var(--s-1); font-size: inherit; color: var(--ink); }   /* .se-meta .link-btn */

/* against usual: the track of .st-bar, a tick in the middle for "usual", a dot where this period sits */
#view-analytics .an-mt, .an-sheet .an-mt { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-xs); white-space: nowrap; color: var(--graphite); }
#view-analytics .an-mt.pos, .an-sheet .an-mt.pos { color: var(--positive); }                                     /* .pos / .neg */
#view-analytics .an-mt.neg, .an-sheet .an-mt.neg { color: var(--negative); }
#view-analytics .an-mt i, .an-sheet .an-mt i { position: relative; flex: none; width: 56px; height: 3px; background: var(--fog); }
#view-analytics .an-mt i::before, .an-sheet .an-mt i::before { content: ""; position: absolute; left: 50%; top: -3px; width: 1px; height: 9px; background: var(--mist); }
#view-analytics .an-mt i::after, .an-sheet .an-mt i::after { content: ""; position: absolute; left: var(--at); top: -2.5px; width: 8px; height: 8px; margin-left: -4px; border-radius: var(--r-pill); background: currentColor; }

/* the score grid: channel | reach | interest | loss | pulse; a row is a link that opens the channel (rows as .li: hairline, chalk on hover) */
#view-analytics .an-sc-head, #view-analytics .an-sc-row { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)) 110px 20px; gap: var(--s-4); align-items: center; }
#view-analytics .an-sc-head { padding: var(--s-3) var(--s-4) var(--s-2); }
#view-analytics .an-sc-head span:nth-child(5) { text-align: right; }
#view-analytics .an-sc-row { padding: var(--s-4); border-top: var(--bw-hair) solid var(--mist); color: var(--ink); text-decoration: none; }
#view-analytics .an-sc-row:last-child { border-bottom: var(--bw-hair) solid var(--mist); }
#view-analytics a.an-sc-row:hover { background: var(--chalk); }                                                  /* .tr-link:hover */
#view-analytics a.an-sc-row:focus-visible { outline: var(--bw-thin) solid var(--ink); outline-offset: -1px; }    /* .tr-link:focus-visible */
#view-analytics .an-sc-name { font-size: 18px; font-weight: 500; }
#view-analytics .an-sc-name small, #view-analytics .an-sc-cell small, #view-analytics .an-sc-pulse small, #view-analytics .an-sc-off small { display: block; font-size: var(--t-xs); font-weight: 400; color: var(--slate); }   /* .dash-kv small */
#view-analytics .an-sc-cell .dash-lbl { display: none; }
#view-analytics .an-sc-cell b { display: block; font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: var(--ls-tight); font-variant-numeric: tabular-nums; }   /* .dash-card b */
#view-analytics .an-sc-cell .an-mt { display: flex; margin-top: var(--s-1); }
#view-analytics .an-sc-pulse { text-align: right; }
#view-analytics .an-sc-pulse b { font-size: 28px; font-weight: 500; line-height: 1; letter-spacing: var(--ls-tight); font-variant-numeric: tabular-nums; }   /* .an-tile b on a desk */
#view-analytics .an-sc-pulse small.pos { color: var(--positive); }
#view-analytics .an-sc-pulse small.neg { color: var(--negative); }
#view-analytics .an-sc-go { color: var(--slate); text-align: right; }
#view-analytics .an-sc-why { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--graphite); }
#view-analytics .an-sc-row.is-off { grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr) auto; }
#view-analytics .an-sc-off { font-size: 15px; font-weight: 500; color: var(--graphite); }                         /* .an-tile.is-off b */
#view-analytics .an-sc-row.is-off .link-btn { font-size: var(--t-sm); color: var(--ink); }
@media (max-width: 720px) {
  /* a phone: each channel a chalk tile (16 px), the three questions as lines in it */
  #view-analytics .an-sc-head { display: none; }
  #view-analytics .an-sc-row, #view-analytics .an-sc-row.is-off { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-3); margin-top: var(--s-3); padding: var(--s-4); border: 0; border-radius: 16px; background: var(--chalk); }
  #view-analytics .an-sc-row:last-child { border-bottom: 0; }
  #view-analytics .an-sc-name { grid-column: 1; }
  #view-analytics .an-sc-pulse { grid-column: 2; grid-row: 1; }
  #view-analytics .an-sc-go { display: none; }
  #view-analytics .an-sc-cell { grid-column: 1 / -1; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--s-2); align-items: baseline; padding-top: var(--s-2); border-top: var(--bw-hair) solid var(--mist); }
  #view-analytics .an-sc-cell .dash-lbl { display: block; }
  #view-analytics .an-sc-cell b { font-size: 15px; letter-spacing: var(--ls-text); }
  #view-analytics .an-sc-cell .an-mt { grid-column: 3; grid-row: 1; margin: 0; }
  #view-analytics .an-sc-cell .an-mt i { display: none; }
  #view-analytics .an-sc-cell small { grid-column: 2; }
  #view-analytics .an-sc-off, #view-analytics .an-sc-row.is-off .link-btn { grid-column: 1 / -1; justify-self: start; }
}
/* "How the pulse works": the OS's fold (details.fold), its text as a note */
#view-analytics .an-how { margin-top: var(--s-4); max-width: 60em; font-size: var(--t-sm); color: var(--graphite); }
#view-analytics .an-how summary { color: var(--ink); }
#view-analytics .an-how p { margin: var(--s-2) 0 0; }
#view-analytics .an-how b { font-weight: 500; color: var(--ink); }

/* the usual line of the pulse chart: one tone stronger than the grid (.tr-grid) */
#view-analytics .an-dev .tr-grid.is-ref { stroke: var(--mist); }

/* What worked and What cost us side by side on a desk (the prototype's .cols2); a mail's row is a button, a post's a link (.td-task) */
@media (min-width: 721px) { #view-analytics .an-cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-7); } }
#view-analytics .an-ww button.td-task, #view-analytics .an-ww a.td-task { width: 100%; border-left: 0; border-right: 0; border-top: 0; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
#view-analytics .an-ww button.td-task:active, #view-analytics .an-ww a.td-task:active { background: var(--chalk); }   /* .li:active */
#view-analytics .an-ww .td-r.neg { color: var(--negative); }                                                      /* .td-do.is-red .td-r */

/* a channel's page: back to the overview (a quiet text link, .link-btn), its figures as tiles, lists as tables */
#view-analytics .an-back { margin: 0 0 var(--s-3); font-size: var(--t-sm); }
#view-analytics .an-back .link-btn { color: var(--ink); text-decoration: none; }
#view-analytics p.an-text { margin: var(--s-3) 0 0; max-width: 46em; font-size: 15px; line-height: 1.5; color: var(--ink); }   /* .an-sheet p.an-text */
#view-analytics p.an-text b { font-weight: 500; }
#view-analytics .an-foot { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin: var(--s-4) 0 0; font-size: var(--t-sm); }   /* .an-sheet .an-foot */
#view-analytics .an-foot .link-btn, #view-analytics .an-foot a { color: var(--ink); }
#view-analytics .an-foot:empty { display: none; }
#view-analytics .an-tbl { min-width: 560px; }
#view-analytics .an-tbl td:first-child { white-space: normal; overflow-wrap: anywhere; }
#view-analytics .an-tbl td small { display: block; font-size: var(--t-xs); color: var(--slate); }                 /* .dash-kv small */
#view-analytics .an-tbl td .an-mt { display: flex; justify-content: flex-end; margin-top: 2px; }
#view-analytics .an-tbl thead + tbody + thead tr { border-top: 0; }
/* a row's name opens its sheet: a button that reads as the row's text (.tr-link carries hover and focus) */
#view-analytics .an-rowbtn { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 500; letter-spacing: inherit; text-align: left; cursor: pointer; }
#view-analytics .an-rowbtn:focus-visible { outline: var(--bw-thin) solid var(--ink); outline-offset: 2px; }
/* sorting: the column's label as a button (.tbl thead th's type), the chosen one Ink */
#view-analytics .an-sort { padding: 0; border: 0; background: none; color: var(--slate); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
#view-analytics .an-sort[aria-pressed="true"] { color: var(--ink); }
/* a bar per row against the largest: name | .st-bar | value */
#view-analytics .an-bl, .an-sheet .an-bl { display: grid; grid-template-columns: minmax(0, 1fr) 72px auto; gap: var(--s-3); align-items: center; padding: var(--s-2) 0; border-bottom: var(--bw-hair) solid var(--fog); font-size: var(--t-sm); }
#view-analytics .an-bl .st-bar, .an-sheet .an-bl .st-bar { margin: 0; }
#view-analytics .an-bl-v, .an-sheet .an-bl-v { min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
#view-analytics .an-bl-v small, .an-sheet .an-bl-v small { color: var(--slate); }
.an-sheet .an-bls { margin-top: var(--s-4); }
#view-analytics .an-bls { max-width: 60em; }                                                                      /* .an-note's measure: label, bar and value stay together */
@media (min-width: 721px) { #view-analytics .an-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-7); } }
#view-analytics .an-cols3 .an-sub { margin: var(--s-5) 0 var(--s-1); }                                           /* .an-sheet .an-sub */
/* who left per point: bars on Trends' grid and axis (.tr-grid, .tr-ax), Slate and Mist as the prototype's */
#view-analytics .an-chart { margin-top: var(--s-4); }
#view-analytics svg.an-bars { display: block; width: 100%; height: auto; overflow: visible; }
#view-analytics .an-bar.is-a { fill: var(--slate); }
#view-analytics .an-bar.is-b { fill: var(--mist); }
#view-analytics .an-legend { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin: var(--s-3) 0 0; font-size: var(--t-xs); color: var(--graphite); }
#view-analytics .an-legend i { display: inline-block; width: 9px; height: 9px; margin-right: var(--s-2); }
#view-analytics .an-legend i.is-a { background: var(--slate); }
#view-analytics .an-legend i.is-b { background: var(--mist); }
