/* The look: the starting palette and layout (navy, one electric blue, a light grey page, Space Grotesk
   headings over Inter text, both served from this site) until the product's own look in Stage 2; the shell
   (src/fv/web/shell.py): a navy bar with the tabs on a wide screen, an app's tab bar at the bottom of a phone.
   No page carries a style of its own: the strict CSP allows this file only. The number in the name is bumped
   on every change (a browser may keep a file with a number in its name for a year). Fonts: SIL Open Font License 1.1. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/static/inter-latin-4.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/static/spacegrotesk-latin-2.woff2") format("woff2"); }

:root {
  --ink-900: #050B18; --ink-800: #0A1A2F; --ink-700: #102540;
  --blue-600: #1A64F0; --blue-700: #1355D6; --blue-500: #3B82F6; --blue-300: #93C5FD;
  --paper: #F4F5F7; --surface: #FFFFFF; --line: #E3E6EB; --line-strong: #8A94A6;
  --text: #0E1726; --text-mut: #5B6675; --on-dark: #EAF0F8; --on-dark-mut: #9DB0C9;
  --accent-tint: rgba(26, 100, 240, .08); --accent-line: rgba(26, 100, 240, .25);
  --pos: #1B7F4B; --neg: #B42318; --warn: #8C5A13;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px; --shadow: 0 1px 2px rgba(10, 26, 47, .05), 0 1px 1px rgba(10, 26, 47, .03);
  --appbar-h: 0px; --dock-h: 58px;
}
@media (min-width: 900px) { :root { --appbar-h: 56px; } }
html { -webkit-text-size-adjust: 100%; }
/* the bar starts at the very top of every page, whatever space the page's own body leaves there */
body[data-page] { margin-top: 0; padding-top: 0; }
body[data-page] > .shell-bar { margin-bottom: 14px; }
body[data-page=portfolio] > .shell-bar { margin-bottom: 0; }

/* ---------- the shell: the bar on top ---------- */
/* full width from inside a page's centred body: 100vw holds the scrollbar of a wide screen, which the shell's script measures as --sbw */
.shell-bar { position: relative; z-index: 60; width: calc(100vw - var(--sbw, 0px)); margin-left: calc(50% - (100vw - var(--sbw, 0px)) / 2); background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  color: var(--on-dark); font-family: var(--f-text); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 2px 10px rgba(5, 11, 24, .18); }
@media (min-width: 900px) { .shell-bar { position: sticky; top: 0; } }
.shell-in { max-width: 1400px; margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 6px; padding: 0 20px; }
.shell-bar a { color: var(--on-dark); text-decoration: none; }
.shell-brand { display: flex; align-items: center; gap: 9px; margin-right: 14px; flex: none; border-radius: 8px; }
.shell-mark { width: 34px; height: 34px; display: block; }
.shell-word { font-family: var(--f-head); font-weight: 700; font-size: 19px; letter-spacing: -.015em; color: #fff; }
.shell-word i { font-style: normal; color: var(--blue-500); }
.shell-here { display: none; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--on-dark-mut); }
.shell-tabs { display: flex; gap: 2px; min-width: 0; }
.shell-tabs a { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: rgba(234, 240, 248, .82); white-space: nowrap; transition: background .15s, color .15s; }
.shell-tabs a svg, .shell-menu a svg, .shell-menu button svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.shell-tabs a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.shell-tabs a.on { color: #fff; background: rgba(59, 130, 246, .16); }
.shell-tabs a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -9px; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue-500); }
.shell-gap { flex: 1; }
.shell-search { position: relative; flex: 0 1 230px; min-width: 150px; }
.shell-search svg { position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--on-dark-mut); pointer-events: none; }
.shell-bar .shell-search input { width: 100%; height: 36px; padding: 0 12px 0 32px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07);
  color: #fff; font: 400 14px var(--f-text); outline: none; transition: background .15s, border-color .15s; }
.shell-bar .shell-search input::placeholder { color: var(--on-dark-mut); }
.shell-bar .shell-search input:focus { background: rgba(255, 255, 255, .12); border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59, 130, 246, .3); }
.shell-bar :focus-visible, .shell-dock :focus-visible { outline: 2px solid var(--blue-300); outline-offset: 2px; }

/* the menus: More on the bar, More on the phone's tab bar; one <details> each, closed by a click elsewhere */
details.shell-pop { position: relative; margin: 0; }
details.shell-pop > summary { list-style: none; cursor: pointer; padding: 0; }
details.shell-pop > summary::-webkit-details-marker { display: none; }
.shell-bar details.shell-pop > summary { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: rgba(234, 240, 248, .82); }
.shell-bar details.shell-pop > summary:hover, .shell-bar details.shell-pop[open] > summary { background: rgba(255, 255, 255, .08); color: #fff; }
.shell-bar details.shell-pop.on > summary { color: #fff; background: rgba(59, 130, 246, .16); }
.shell-bar details.shell-pop > summary svg { width: 14px; height: 14px; transition: transform .15s; }
.shell-bar details.shell-pop[open] > summary svg { transform: rotate(180deg); }
.shell-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; border-radius: 12px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(5, 11, 24, .18), 0 2px 6px rgba(5, 11, 24, .08); }
.shell-menu a, .shell-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none;
  font: 500 14px var(--f-text); color: var(--text) !important; text-align: left; cursor: pointer; text-decoration: none; }
.shell-menu a:hover, .shell-menu button:hover { background: var(--paper); }
.shell-menu a.on { background: var(--accent-tint); color: var(--blue-600) !important; }
.shell-menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 4px; }
.shell-menu form { margin: 0; }
.shell-menu .shell-lock { color: var(--neg) !important; }
#shell-eye { display: flex; flex: none; margin-left: 6px; }
#shell-eye #eye { position: relative; top: auto; right: auto; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: var(--on-dark); box-shadow: none; }
#shell-eye #eye:hover { background: rgba(255, 255, 255, .14); }
#shell-eye #eye[aria-pressed=true] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* ---------- the list under a search box while typing (static/suggest.js) ---------- */
form.find, .shell-search { position: relative; }
.sugg { position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(5, 11, 24, .2), 0 2px 6px rgba(5, 11, 24, .08); font-family: var(--f-text);
  max-height: min(70vh, 460px); overflow-y: auto; text-align: left; }
.shell-search .sugg { left: auto; width: 380px; max-width: calc(100vw - 24px); }
.sugg[hidden] { display: none; }
.sugg li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; line-height: 1.25; }
.sugg li[aria-selected=true], .sugg li:hover { background: var(--accent-tint); }
.sugg li.off { cursor: default; opacity: .55; }
.sugg li.off:hover { background: none; }
.sugg .s-t { flex: 0 0 auto; min-width: 64px; font-weight: 700; font-size: 14px; color: var(--ink-800); letter-spacing: .01em; }
.sugg .s-n { flex: 1 1 auto; min-width: 0; font-size: 13.5px; }
.sugg .s-n b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg .s-n span { display: block; font-size: 12px; color: var(--text-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg .s-a { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--blue-600); }
.sugg .s-mine { font-style: normal; display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--accent-tint); color: var(--blue-600); font-size: 10.5px; font-weight: 600; vertical-align: 1px; }
.sugg li.s-all { justify-content: center; font-size: 13px; color: var(--blue-600); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }
.sugg li.s-note { cursor: default; font-size: 13px; color: var(--text-mut); }
.sugg li.s-note:hover { background: none; }

/* ---------- the shell: a phone's tab bar ---------- */
.shell-dock { display: none; }
@media (max-width: 899px) {
  .shell-in { height: 52px; padding: 0 14px; }
  .shell-tabs, .shell-search, .shell-bar > .shell-in > details.shell-pop { display: none; }
  .shell-mark { width: 30px; height: 30px; }
  .shell-word { font-size: 17px; }
  .shell-here { display: block; padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .16); }
  #shell-eye { margin-left: auto; }
  #shell-eye #eye { width: 34px; height: 34px; }
  .shell-dock { display: flex; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: calc(var(--dock-h) + env(safe-area-inset-bottom));
    padding: 0 4px env(safe-area-inset-bottom); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(10, 26, 47, .06); font-family: var(--f-text); }
  .shell-dock > a, .shell-dock > details > summary { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--dock-h);
    min-width: 0; color: var(--text-mut); text-decoration: none; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; -webkit-tap-highlight-color: transparent; }
  .shell-dock > details { flex: 1; display: flex; min-width: 0; }
  .shell-dock > details > summary { width: 100%; }
  .shell-dock svg { width: 23px; height: 23px; }
  .shell-dock > a.on, .shell-dock > details.on > summary, .shell-dock > details[open] > summary { color: var(--blue-600); }
  .shell-dock > a.on svg, .shell-dock > details.on > summary svg { stroke-width: 2.2; }
  .shell-dock .shell-menu { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 8px); min-width: 0; padding: 8px; }
  .shell-dock .shell-menu a, .shell-dock .shell-menu button { padding: 12px; font-size: 15px; }
  body[data-page] { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 18px); }
  #eye { display: flex; }
}
@media print { .shell-bar, .shell-dock { display: none !important; } }

/* ---------- every page: type, colour, surfaces ---------- */
body[data-page] { font-family: var(--f-text); background: var(--paper); color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:where(body[data-page]) :is(h1, h2, h3) { font-family: var(--f-head); letter-spacing: -.012em; color: var(--ink-800); }
:where(body[data-page]) h1 { font-weight: 700; letter-spacing: -.02em; }
:where(body[data-page]) a { color: var(--blue-600); }
:where(body[data-page]) a:hover { color: var(--blue-700); }
:where(body[data-page]) :is(td, th) { border-bottom-color: var(--line); }
:where(body[data-page]) :is(.tile, .box, .panel, .card, details.model) { background: var(--surface); border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
:where(body[data-page]) .pos { color: var(--pos); } :where(body[data-page]) .neg { color: var(--neg); }
:where(body[data-page]) pre { background: #EDEFF3; }

/* the portfolio page: its section menu and headings stay under the bar */
:where(body[data-page=portfolio]) h1 { font-size: 30px; margin-top: 22px; }
:where(body[data-page=portfolio]) .menu { top: var(--appbar-h); background: rgba(244, 245, 247, .92); backdrop-filter: saturate(1.5) blur(10px); border-bottom-color: var(--line); padding: 10px 0; }
:where(body[data-page=portfolio]) .menu a { background: var(--surface); border-color: var(--line); color: var(--text-mut); font-weight: 500; padding: 5px 12px; border-radius: 999px; transition: all .15s; }
:where(body[data-page=portfolio]) .menu a:hover { color: var(--blue-600); border-color: var(--accent-line); background: #F7F9FE; }
:where(body[data-page=portfolio]) section { scroll-margin-top: calc(var(--appbar-h) + var(--menu-h)); }
:where(body[data-page=portfolio]) section > h2 { top: calc(var(--appbar-h) + var(--menu-h)); background: var(--paper); border-top-color: var(--line); font-size: 19px; }
@media (min-width: 1001px) { :where(body[data-page=portfolio]) table.cards thead th { top: calc(var(--appbar-h) + var(--menu-h) + var(--h2-h)); } }
:where(body[data-page=portfolio]) .tile .v { font-family: var(--f-head); letter-spacing: -.02em; }
:where(body[data-page=portfolio]) .tiles.since .tile { background: #F8FAFD; }
:where(body[data-page=portfolio]) .label { color: var(--text-mut); letter-spacing: .06em; font-size: 11px; }
:where(body[data-page=portfolio]) .blb i { background: var(--blue-600); }

/* a stock's page: its tabs stay under the bar */
:where(body[data-page=stock]) .tabs { top: var(--appbar-h); background: rgba(244, 245, 247, .92); backdrop-filter: saturate(1.5) blur(10px); border-bottom-color: var(--line); }
:where(body[data-page=stock]) .tabs a.on, :where(body[data-page=stock]) .pills button[aria-pressed=true] { background: var(--accent-tint); color: var(--blue-600); }
:where(body[data-page=stock]) h2 { scroll-margin-top: calc(var(--appbar-h) + 52px); border-top-color: var(--line); }
:where(body[data-page=stock]) h1 { font-size: 26px; }
:where(body[data-page=stock]) .quote { font-family: var(--f-head); letter-spacing: -.02em; }
:where(body[data-page=stock]) .tag { background: var(--accent-tint); color: var(--blue-600); }
:where(body[data-page=stock]) .back { margin-top: 14px; }

/* the app's own pages (research, screener, compare, watchlist, upload, devices) */
:where(body[data-app]) h1 { font-size: 28px; margin: 18px 0 4px; }
:where(body[data-app]) h2 { font-size: 17px; }
:where(body[data-app]) .sub, :where(body[data-app]) > p.small:first-of-type { color: var(--text-mut); }
:where(body[data-app]) :is(.card, form.find, form.add) { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
:where(body[data-app]) button { font-family: var(--f-text); background: var(--blue-600); border: 1px solid var(--blue-600); color: #fff; border-radius: 9px; font-weight: 600;
  transition: background .15s, border-color .15s, transform .1s; }
:where(body[data-app]) button:hover { background: var(--blue-700); border-color: var(--blue-700); }
:where(body[data-app]) button:active { transform: translateY(1px); }
:where(body[data-app]) :is(button.q, button.secondary) { background: var(--surface); color: var(--blue-600); border-color: var(--accent-line); }
:where(body[data-app]) :is(button.q, button.secondary):hover { background: #F2F6FE; border-color: var(--blue-600); }
:where(body[data-app]) button.x { background: none; border-color: transparent; color: var(--neg); }
:where(body[data-app]) button.x:hover { background: #FDF1F0; }
:where(body[data-app]) button[disabled] { opacity: .45; cursor: default; }
:where(body[data-app]) :is(input[type=search], input[type=text], input:not([type]), input[inputmode], select) { font-family: var(--f-text); border: 1px solid var(--line-strong);
  border-radius: 9px; background: var(--surface); color: var(--text); }
:where(body[data-app]) :is(input, select):focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(26, 100, 240, .18); }
:where(body[data-app]) .msg.ok { background: #EAF6EF; color: #14532D; border: 1px solid #C6E6D2; }
:where(body[data-app]) .msg.bad { background: #FDF1F0; color: #7A1A12; border: 1px solid #F3CFCB; }
:where(body[data-app]) .tagn { background: var(--accent-tint); color: var(--blue-600); }
:where(body[data-app]) table.cmp th { top: var(--appbar-h); background: var(--paper); }
:where(body[data-app]) .warn { color: var(--warn); }

/* the old palette's warm greys, where they fill a surface, in the cool greys of this one */
:where(body[data-page]) :is(.cd, .infotext, table.dd tr.more td, table.dd tr.row:hover td, table.peers tr:first-child td, table.peers tr:last-child td) { background: #EDF0F5; }
:where(body[data-page]) .cd.off { background: none; }
:where(body[data-page]) .infotext { border-left-color: var(--accent-line); }
:where(body[data-page]) :is(.blb, .hb) { background: #E6E9EF; }
:where(body[data-page]) :is(p.check.none, details.facts pre) { background: #EDF0F5; }
:where(body[data-page]) .cd.today { box-shadow: inset 0 0 0 1.5px var(--blue-600); }
:where(body[data-page]) .ch.e { background: #E3ECFD; color: var(--blue-700); }
:where(body[data-page]) .back a { text-decoration: none; font-weight: 500; }
:where(body[data-page]) code { overflow-wrap: anywhere; }

/* ---------- the product's own pages (step 5): no page carries a style of its own ---------- */
[hidden] { display: none !important; }
html.locking { visibility: hidden; }
body[data-app] { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-text); padding-bottom: calc(var(--dock-h) + 16px); }
@media (min-width: 900px) { body[data-app] { padding-bottom: 32px; } }
main.page { max-width: 920px; margin: 0 auto; padding: 4px 16px 0; }
main.page h1 { font-family: var(--f-head); }
main.page .card { padding: 16px 18px; margin: 14px 0; }
main.page .card h2 { margin: 0 0 8px; }
main.page .empty p { margin: 6px 0; color: var(--text-mut); }
main.page .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
main.page .row:last-of-type { border-bottom: 0; }
main.page .help { font-size: 13px; color: var(--text-mut); line-height: 1.45; }
main.page input.wide { width: 100%; box-sizing: border-box; padding: 9px 10px; margin: 6px 0; border: 1px solid var(--line-strong); border-radius: 8px; font: 14px var(--f-text); }
main.page button { padding: 9px 16px; font-size: 15px; cursor: pointer; }
main.page ol.codes { columns: 2; font-size: 15px; }
.shell-who { margin: 4px 10px 6px; font-size: 13px; color: var(--text-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the doors: login, adding a device, the errors before a login (from the old login page) */
body.door { font-family: var(--f-text); margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 24px; box-sizing: border-box; color: var(--on-dark); -webkit-font-smoothing: antialiased;
  background: radial-gradient(900px 520px at 50% 18%, rgba(59, 130, 246, .22), transparent 60%), linear-gradient(180deg, var(--ink-800), var(--ink-900)); }
.door-card { text-align: center; max-width: 360px; width: 100%; box-sizing: border-box; padding: 34px 26px 26px; border-radius: 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.door-name { font-family: var(--f-head); font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 6px; color: #fff; }
.door-card h1:not(.door-name), .door-card h2 { font-family: var(--f-head); color: #fff; font-size: 19px; margin: 16px 0 6px; }
.door-lead, .door-card p { color: var(--on-dark-mut); font-size: 14.5px; line-height: 1.45; }
.door-card a { color: var(--blue-300); }
.door-card button { font: 600 17px var(--f-text); width: 100%; padding: 14px 18px; border-radius: 12px; border: 0; background: var(--blue-600); color: #fff;
  cursor: pointer; box-shadow: 0 6px 18px rgba(26, 100, 240, .35); margin-top: 10px; }
.door-card button:hover { background: var(--blue-700); }
.door-card button:disabled { opacity: .6; }
.door-card button.secondary { background: transparent; border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; font-size: 15px; padding: 11px 14px; }
.door-card button:focus-visible, .door-card input:focus-visible, .door-card summary:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; }
.door-note { min-height: 20px; margin: 12px 0 0; }
.door-form { display: flex; flex-direction: column; gap: 6px; text-align: left; margin-top: 10px; }
.door-form label { font-size: 13px; color: var(--on-dark-mut); }
.door-form input { font: 16px var(--f-text); padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
.door-more { margin-top: 20px; text-align: left; }
.door-more summary { cursor: pointer; color: var(--on-dark-mut); font-size: 14px; text-align: center; }
.door-codes ol { text-align: left; font: 16px ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #fff; columns: 2; padding-left: 22px; }
.shell-menu .shell-lang { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font: 500 13px var(--f-text); color: var(--text-mut); }
.shell-menu .shell-lang label { display: flex; align-items: center; gap: 8px; flex: 1; }
.shell-menu .shell-lang select { font: 14px var(--f-text); padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); }
.shell-menu .shell-lang button.shell-lang-go { width: auto; padding: 5px 10px; border: 1px solid var(--accent-line) !important; color: var(--blue-600) !important; }
main.page .notice { padding: 10px 12px; border-radius: 8px; background: #FDF1E7; color: var(--warn); margin: 0 0 10px; }
main.page .scroll { overflow-x: auto; }
main.page table { border-collapse: collapse; width: 100%; font-size: 13px; }
main.page th, main.page td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
main.page ul.counts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; }
main.page ul.counts b { font-family: var(--f-head); font-size: 18px; }
/* the phone's tab bar holds the longer words of every language: each item shrinks, its label ends in "…" */
@media (max-width: 899px) {
  .shell-dock > a, .shell-dock > details { flex: 1 1 0; min-width: 0; }
  .shell-dock > a > span, .shell-dock > details > summary > span { display: block; max-width: 100%; padding: 0 2px; box-sizing: border-box;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
}
main.page button.danger { background: var(--neg); color: #fff; }
