
/* Colours from the scuttlebutt.co home page (scuttlebutt-web app/globals.css): surface, ink,
   secondary, muted, accent and rule, light and dark. --brass is the accent; the name stays so
   the rest of this file reads as before. */
:root{
  --ground:#fcfcfb; --surface:#ffffff; --surface2:#f1f0eb;
  --ink:#0b0b0b; --muted:#52514e; --faint:#898781;
  --rule:#e1e0d9; --rule-soft:#ecebe6;
  --brass:#2a78d6; --brass-soft:#e8f0fb; --teal:#2a78d6;
  --shadow:0 1px 2px rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:#141413; --surface:#1d1d1b; --surface2:#262624;
    --ink:#ffffff; --muted:#c3c2b7; --faint:#898781;
    --rule:#2c2b29; --rule-soft:#232321;
    --brass:#3987e5; --brass-soft:#17273b; --teal:#3987e5;
    --shadow:0 1px 2px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"]{
  --ground:#141413; --surface:#1d1d1b; --surface2:#262624;
  --ink:#ffffff; --muted:#c3c2b7; --faint:#898781;
  --rule:#2c2b29; --rule-soft:#232321;
  --brass:#3987e5; --brass-soft:#17273b; --teal:#3987e5;
  --shadow:0 1px 2px rgba(0,0,0,.4);
}
*{box-sizing:border-box}
body{
  background:var(--ground); color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:15px; line-height:1.5; margin:0;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
/* The page holds still. The top bar, the tabs, the search box and the chips stay where they are;
   only the results scroll, and the filter panel scrolls when its filters run past the screen. */
html,body{height:100%}
body{overflow:hidden}
.app{display:flex; flex-direction:column; height:calc(100vh - var(--barh)); height:calc(100dvh - var(--barh))}
/* the tabs: a band across the top on a shade of their own, above the filters and the table */
.tabband{flex:none; background:var(--surface2); border-bottom:1px solid var(--rule)}
.tabband .maintabs{max-width:none; margin:0 auto; padding:0 24px; border-bottom:0}
/* Tables use the whole width of the screen (27 Oct 2026); pages keep their own width. */
.wrap{flex:1 1 auto; min-height:0; width:100%; max-width:none; margin:0 auto; padding:0 24px}
/* the filter panel sits right of the left panel, beside the content */
/* The filter panel is as narrow as its widest heading row and dropdown title on one line, 200 px
   (Michael, 23 Oct 2026); an option's long name runs onto a second line. */
.cols{display:grid; grid-template-columns:200px minmax(0,1fr); gap:28px; height:100%}
#toolrow .fhead,#toolrow .ddbtn{white-space:nowrap}
.maincol{min-width:0; display:flex; flex-direction:column; min-height:0}
.maincol > .maintabs,.maincol > .controls{flex:none}
/* The research page holds still at every width: no list, panel or page bounces past its edge
   (Michael, Round 39 item 2.4: the Letters table could be dragged beyond its limits on a trackpad). */
html,body{overscroll-behavior:none}
#out{flex:1 1 auto; min-height:0; overflow:auto; padding-bottom:60px; overscroll-behavior:none}
.filters{height:100%; overflow-y:auto; overflow-x:hidden; padding:20px 6px 28px 0; overscroll-behavior:none; min-width:0}
.filters .tchk > span:not(.c){min-width:0; overflow-wrap:anywhere}
.fhead{display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin:0 0 14px; white-space:nowrap}
/* With a filter on, the count beside Filters widened the row past the 200 px panel and Close all
   was cut off (Michael, Round 31): the gaps are smaller, and the row wraps rather than clip. */
/* Filters, Clear all and Close all share one row (1 Nov 2026): the two are text buttons, so all
   three fit in the 200 px panel, and Clear all keeps its place while hidden, so turning a filter on
   or off never moves the panel. */
.fhead h2{margin-right:auto}
.fhead .fclear{margin-left:0; border:0; padding:2px 0; font-size:12px; border-radius:0}
.fhead .fclear:hover{text-decoration:underline; text-underline-offset:2px}
.fhead .fclear[hidden]{display:inline-block; visibility:hidden}
.fhead h2{margin:0; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--faint)}
.fclose{display:none; width:36px; height:36px; align-items:center; justify-content:center; font-size:22px; line-height:1;
  color:var(--ink); background:none; border:0; border-radius:6px; cursor:pointer}
.fclose:hover{background:var(--surface2)}
.filters .sortbox,.filters .tiers,.topicbox{display:flex; flex-wrap:wrap; gap:4px; align-items:center; margin:0 0 18px}
.filters .lbl{flex-basis:100%; margin:0 0 3px}
.filters .sortbox select{width:100%}
/* the question mark beside Tier: the order rule, on hover or focus */
.qtip{position:static; display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; margin-left:4px;
  border:1px solid var(--rule); border-radius:50%; font-size:10px; font-weight:700; letter-spacing:0; color:var(--muted);
  text-transform:none; cursor:help; vertical-align:1px}
.qtip:hover,.qtip:focus{color:var(--brass); border-color:var(--brass); outline:none}
.qtipbox{display:none; position:fixed; z-index:60; width:300px; padding:10px 12px;
  background:var(--surface); border:1px solid var(--rule); border-radius:8px; box-shadow:0 10px 26px rgba(0,0,0,.14);
  font-size:12.5px; font-weight:400; line-height:1.5; letter-spacing:0; text-transform:none; color:var(--ink); text-align:left}
.qtipbox .tl{display:block; margin:0 0 9px}
.qtipbox .tl:last-child{margin:0}
.qtip:hover .qtipbox,.qtip:focus .qtipbox,.qtip:focus-within .qtipbox{display:block}
.topiclist{display:flex; flex-direction:column; gap:1px; width:100%}
.tchk{display:flex; align-items:center; gap:8px; padding:4px 6px; border-radius:5px; font-size:13.5px; color:var(--muted); cursor:pointer}
.tchk:hover{background:var(--surface2); color:var(--ink)}
.tchk input{accent-color:var(--brass); margin:0; flex:none}
.tchk .c{margin-left:auto; font-size:11.5px; color:var(--faint); font-variant-numeric:tabular-nums}
.tchk.on{color:var(--ink); font-weight:600}
/* Books › Table's choices (one at a time) are whole lines with no round button, chosen as the
   People tab's industries are (Michael, 28 Oct 2026). The input stays for the keyboard. */
.tchk:has(input[type=radio]){position:relative; padding-top:5px; padding-bottom:5px}
.tchk input[type=radio]{position:absolute; opacity:0; width:1px; height:1px; pointer-events:none}
.tchk:has(input[type=radio]:checked){color:var(--brass); background:var(--brass-soft); font-weight:600}
.tchk:has(input[type=radio]:focus-visible){outline:2px solid var(--brass-soft)}
/* the divider between the Books views and the subjects */
.ddsep{margin:16px 0 2px; padding-top:12px; border-top:1px solid var(--rule); font-size:11px; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase; color:var(--faint)}
/* the two main tabs */
.maintabs{display:flex; gap:2px}
/* A tab outside the rail button in use leaves the band; phones, which have no rail, keep every tab. */
.mtab.offsec{display:none}
/* Phones show the same band: only a section with more than one tab shows its tabs (27 Oct 2026). */
.mtab{font:inherit; font-size:16px; font-weight:600; color:var(--muted); background:none; border:0;
  border-bottom:2px solid transparent; margin-bottom:-1px; padding:10px 18px 11px; cursor:pointer}
.mtab:hover{color:var(--ink)}
.mtab[aria-selected="true"]{color:var(--ink); border-bottom-color:var(--brass)}
@media (max-width:760px){
  /* four tabs on a phone: tighter, and the row scrolls sideways if it still runs over */
  .maintabs{overflow-x:auto; scrollbar-width:none}
  .tabband .maintabs{padding:0 6px}
  .maintabs::-webkit-scrollbar{display:none}
  .mtab{flex:none; font-size:15px; padding:9px 12px 10px}
}
/* The dropdowns in the filter area. The title opens and shuts the list; the choices list under
   it on the page's own ground, with a rule between one dropdown and the next. */
.dd{margin:0; border-bottom:1px solid var(--rule-soft)}
/* one rule where two would meet: the section divider's own rule replaces the dropdown's (28 Oct 2026) */
.dd:has(+ .ddsep), .dd:has(+ .dd[hidden] + .ddsep){border-bottom:0}
.dd[hidden]{display:none}
.ddbtn{width:100%; display:flex; align-items:center; gap:8px; cursor:pointer; text-align:left;
  font:inherit; font-size:13.5px; font-weight:600; color:var(--ink); background:none; border:0; border-radius:0; padding:10px 2px}
.ddbtn:hover{color:var(--brass)}
.ddbtn .chev{width:6px; height:6px; flex:none; margin-left:auto; border-right:1.5px solid var(--faint); border-bottom:1.5px solid var(--faint); transform:translateY(-2px) rotate(45deg)}
.ddbtn[aria-expanded="true"] .chev{transform:translateY(1px) rotate(-135deg)}
.ddmenu{margin:-2px 0 10px; padding:0; background:none; border:0}
.ddmenu[hidden]{display:none}
.ddval{display:flex; flex:1; align-items:center; gap:8px; min-width:0}
/* The count of ticked choices and the view's size sit left of the arrow with clear space between
   (Michael, Round 35 item 13: "Investment philosophy" with a count ran under the arrow). The title
   runs onto a second line when the two would not fit beside it; the badge and the size never shrink. */
#toolrow .ddval{white-space:normal; line-height:1.3}
.ddval > .fn,.ddval > .c{flex:none; white-space:nowrap}
.ddbtn .chev{margin-left:4px}
.ddbtn .c{margin-left:auto; font-size:12px; font-weight:400; color:var(--faint); font-variant-numeric:tabular-nums}
.navrow nav{display:flex; flex-direction:column; gap:1px}
.navrow nav > button{display:flex; justify-content:space-between; align-items:baseline; gap:10px; width:100%; cursor:pointer; text-align:left;
  font:inherit; font-size:14px; font-weight:500; color:var(--muted); background:none; border:0; border-radius:6px; padding:6px 9px}
.navrow nav > button:hover,.navrow nav > button:focus-visible{color:var(--ink); background:var(--surface2)}
.navrow nav > button[aria-current="true"]{color:var(--brass); font-weight:600; background:var(--brass-soft)}
.navrow nav > button .c{font-size:12px; font-weight:400; color:var(--faint); font-variant-numeric:tabular-nums}
.navrow nav.vnav{display:none}
.navrow nav > button[hidden]{display:none}
.gnav nav{display:block}
.gnav .gdd.nosec .chev{visibility:hidden}
/* the category in front is highlighted; All experts and All books are no category */
.gnav .ddbtn[aria-current="true"]:not([data-v="g:all"]):not([data-v="all"]){color:var(--brass); background:var(--brass-soft); padding-left:8px; padding-right:8px; border-radius:6px}
/* Letters and Papers filters: the quarter as two by two, the earlier years and the company as lists */
.fopen{padding:10px 0 12px; border-bottom:1px solid var(--rule-soft); margin:0}
.fopen .ddbody{display:flex; gap:4px}
.tiers button:disabled{opacity:.35; cursor:default}
.ddbody select{width:100%; margin:6px 0 4px; font:inherit; font-size:13px; color:var(--ink); background:var(--surface);
  border:1px solid var(--rule); border-radius:5px; padding:6px 8px}
.tchk.none{color:var(--faint); cursor:default}
/* a region heads its entries; on Letters and Funds the regions read the same way */
/* a group heading (a region, a split entry) reads as an ordinary choice: only a ticked choice is bold (29 Oct 2026) */
.tchk.rhead{color:var(--ink); margin-top:4px}
.tchk.rhead.on{font-weight:600}
.tchk.rsub{padding-left:22px}
.tchk.none:hover{background:none; color:var(--faint)}
.ddnone{margin:0 0 4px 4px; font-size:12.5px; color:var(--faint)}
/* A filter with many choices (kind 'search', Round 35: Media's Companies, People, Publisher and
   Event): a search box at the top of its menu narrows the choices as the reader types; the first 10
   show A to Z, and "Show 10 more" adds ten at a time. A ticked choice always shows. */
.ddsearch{position:relative; margin:0 0 6px}
.ddsearch input{width:100%; font:inherit; font-size:13px; color:var(--ink); background:var(--surface); border:1px solid var(--rule);
  border-radius:6px; padding:5px 8px 5px 26px}
.ddsearch input:focus{outline:2px solid var(--brass-soft); border-color:var(--brass)}
.ddsearch input::placeholder{color:var(--faint)}
.ddsearch svg{position:absolute; left:8px; top:50%; transform:translateY(-50%); width:12px; height:12px; stroke:var(--faint); fill:none; stroke-width:2; pointer-events:none}
.ddmore{display:block; margin:6px 0 2px 6px; font:inherit; font-size:12.5px; color:var(--brass); background:none; border:0; padding:2px 0; cursor:pointer}
.ddmore:hover{text-decoration:underline; text-underline-offset:2px}
.ddmore .c{margin-left:6px; color:var(--faint); font-size:11.5px}
/* how many filters are on: beside Filters, each filter's title and each dropdown */
.fn{display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px; border-radius:9px;
  background:var(--brass); color:#fff; font-size:11px; font-weight:700; letter-spacing:0; line-height:1; vertical-align:1px}
.fn[hidden]{display:none}
.fhead h2 .fn{margin-left:6px}
#closeAll:disabled{color:var(--faint); cursor:default}
.fclear{margin-left:auto; font:inherit; font-size:12.5px; color:var(--brass); background:none; border:1px solid var(--rule);
  border-radius:5px; padding:3px 9px; cursor:pointer}
.fclear:hover{border-color:var(--brass)}
.fclear[hidden]{display:none}
/* the tab's own search box, and the chosen filters as chips under it */
.tabsearch{position:relative; flex:1 1 260px; max-width:420px}
.tabsearch input{width:100%; font:inherit; font-size:14px; color:var(--ink); background:var(--surface);
  border:1px solid var(--rule); border-radius:6px; padding:7px 11px 7px 32px}
.tabsearch input:focus{outline:2px solid var(--brass-soft); border-color:var(--brass)}
.tabsearch input::placeholder{color:var(--faint)}
.tabsearch svg{position:absolute; left:10px; top:50%; transform:translateY(-50%); width:14px; height:14px; stroke:var(--faint); fill:none; stroke-width:2; pointer-events:none}
.viewswitch{margin-left:10px; display:flex}
.gridsort{margin-left:12px; font:inherit; font-size:13px; color:var(--ink); background:var(--surface); border:1px solid var(--rule);
  border-radius:6px; padding:6px 8px}
.viewswitch[hidden]{display:none}
.viewswitch button{font:inherit; font-size:13px; color:var(--muted); background:var(--surface); border:1px solid var(--rule); padding:6px 9px; cursor:pointer; line-height:0}
.viewswitch button:first-child{border-radius:6px 0 0 6px}
.viewswitch button:last-child{border-radius:0 6px 6px 0; border-left:0}
.viewswitch button[aria-pressed="true"]{color:#fff; background:var(--brass); border-color:var(--brass)}
/* List and Grid show their icons only, everywhere (28 Oct 2026); the name is the button's label */
.viewswitch button svg{display:inline-block; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; vertical-align:middle}
.viewswitch button span{display:none}
.chips{display:flex; flex-wrap:wrap; gap:6px; width:100%; margin-top:10px}
.chips[hidden]{display:none}
.chip{display:inline-flex; align-items:center; gap:6px; font:inherit; font-size:12.5px; color:var(--ink); background:var(--brass-soft);
  border:1px solid transparent; border-radius:14px; padding:3px 6px 3px 10px; cursor:pointer}
.chip:hover{border-color:var(--brass)}
.chip .x{display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:50%; font-size:13px; line-height:1; color:var(--muted)}
.chip:hover .x{background:var(--brass); color:#fff}
.chipclear{font:inherit; font-size:12.5px; color:var(--brass); background:none; border:0; padding:3px 6px; cursor:pointer; text-decoration:underline; text-underline-offset:2px}
@media (max-width:1023px){
  .cols{display:flex; flex-direction:column}
  .maincol{flex:1 1 auto}
  .filters{
    height:auto;
    position:fixed; top:var(--barh); right:0; bottom:0; width:min(320px, 88vw); max-height:none; z-index:38;
    padding:14px 18px 28px; background:var(--ground); border-left:1px solid var(--rule);
    transform:translateX(105%); transition:transform .2s;
  }
  body.filters-open .filters{transform:none; box-shadow:0 0 40px rgba(0,0,0,.25)}
  .fclose{display:flex}
  .filterbtn{display:inline-block}
}

/* ---------- masthead ---------- */
header.mast{padding:28px 0 26px; border-bottom:1px solid var(--rule)}
/* the name shows in the menu bar; the page heading stays for screen readers and search engines */
.vh{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}

/* The frame every page carries (pagebar.py writes the markup, topbar.js runs it): a fixed top
   row with Scuttlebutt, search and the light/dark switch, and a thin fixed rail on the left
   whose one button, Research, opens the research page. Colours and Inter come from the
   scuttlebutt.co home page. */
:root{--barh:58px; --navw:76px; --menuh:var(--barh)}
body{padding-top:var(--barh)}
@media (min-width:761px){ body{padding-left:var(--navw)} }

/* ---------- the top row ---------- */
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:40; height:var(--barh);
  display:flex; align-items:center; gap:14px; padding:0 18px;
  background:var(--ground); border-bottom:1px solid var(--rule);
}
.brand{
  flex:none; color:var(--ink); text-decoration:none; white-space:nowrap; margin-right:18px;
  font-weight:700; font-size:20px; letter-spacing:-.015em;
}
.tools{flex:1; min-width:0; display:flex; align-items:center; gap:6px}
.barsearch{position:relative; flex:1; max-width:560px; display:flex; align-items:center; gap:8px}
.barsearch input{
  width:100%; font:inherit; font-size:15px; color:var(--ink);
  background:var(--surface); border:1px solid var(--rule); border-radius:6px;
  padding:8px 12px 8px 34px;
}
.barsearch input:focus{outline:2px solid var(--brass-soft); border-color:var(--brass)}
.barsearch input::placeholder{color:var(--faint)}
.barsearch > svg{position:absolute; left:11px; top:50%; transform:translateY(-50%); width:15px; height:15px; stroke:var(--faint); fill:none; stroke-width:2; pointer-events:none}
.barsearch .searchclose{display:none}
/* suggestions: the best eight matches while typing, grouped, then a link to every result */
.suggest{
  position:absolute; top:calc(100% + 6px); left:0; right:0; min-width:380px; z-index:45;
  max-height:min(70vh,540px); overflow-y:auto; padding:6px;
  background:var(--surface); border:1px solid var(--rule); border-radius:8px;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}
.suggest[hidden]{display:none}
.sghead{padding:8px 10px 4px; font-size:10.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--faint)}
.sg{
  display:flex; justify-content:space-between; align-items:baseline; gap:14px;
  padding:7px 10px; border-radius:5px; color:var(--ink); text-decoration:none; font-size:14px;
}
.sg .sgn{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.sg .sgm{flex:none; max-width:48%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; color:var(--faint)}
.sg:hover{background:var(--surface2)}
.sg.active{background:var(--brass-soft)}
.sg.sgall{margin-top:4px; padding-top:9px; border-top:1px solid var(--rule-soft); border-radius:0 0 5px 5px; color:var(--brass); font-weight:600}
.sgnone{padding:10px; font-size:13px; color:var(--faint)}
/* Round 37 item 11: recent searches, under the empty box (topbar.js). */
.sgrhead{display:flex; align-items:center; justify-content:space-between; gap:12px}
.sgclear{font:inherit; font-size:12px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--brass);
  background:none; border:0; padding:2px 4px; cursor:pointer}
.sgclear:hover{text-decoration:underline}
.sgrow{display:flex; align-items:center; gap:2px}
.sgrow .sg{flex:1; min-width:0; justify-content:flex-start; align-items:center; gap:9px}
.sgclock{flex:none; width:14px; height:14px; fill:none; stroke:var(--faint); stroke-width:1.8}
.sgx{flex:none; width:28px; height:28px; display:flex; align-items:center; justify-content:center; font:inherit; font-size:17px;
  line-height:1; color:var(--faint); background:none; border:0; border-radius:5px; cursor:pointer}
.sgx:hover{color:var(--ink); background:var(--surface2)}
.sg.sgmore{display:block; width:100%; margin-top:4px; padding-top:9px; border:0; border-top:1px solid var(--rule-soft);
  border-radius:0 0 5px 5px; background:none; font:inherit; font-size:13px; font-weight:600; color:var(--brass); text-align:left; cursor:pointer}
.sg.sgmore:hover{background:var(--surface2)}
.sg.sgmore.active{background:var(--brass-soft)}
.pmrecent{display:none}
@media (max-width:760px){
  .sgrow .sg{display:flex}
  .pmrecent:not([hidden]){display:block; flex:none; position:static; min-width:0; max-height:none; overflow:visible; margin:0 0 4px; box-shadow:none}
}
.iconbtn{
  display:flex; align-items:center; justify-content:center; flex:none; width:40px; height:40px;
  background:none; border:0; border-radius:6px; color:var(--ink); cursor:pointer; padding:0;
}
.iconbtn:hover{background:var(--surface2)}
.iconbtn svg{width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
#searchBtn,.railmini{display:none}
.themebtn{margin-left:auto}
/* the switch shows the moon in light mode and the sun in dark mode */
.themebtn .sun{display:none}
:root[data-theme="dark"] .themebtn .sun{display:block}
:root[data-theme="dark"] .themebtn .moon{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .themebtn .sun{display:block}
  :root:not([data-theme="light"]) .themebtn .moon{display:none}
}

/* ---------- the rail: one button, its icon over its name ---------- */
.rail{
  position:fixed; top:var(--barh); left:0; bottom:0; width:var(--navw); z-index:35;
  display:flex; flex-direction:column; align-items:center; padding:12px 0;
  background:var(--ground); border-right:1px solid var(--rule);
}
.railbtn{
  display:flex; flex-direction:column; align-items:center; gap:3px; width:62px; padding:6px 0 8px;
  border-radius:10px; color:var(--muted); text-decoration:none; font-size:11px; font-weight:600; letter-spacing:.01em;
  text-align:center; line-height:1.25;
}
/* A two-word label (Fund letters) wraps under its icon, centred on each line. */
.railbtn span{display:block; text-align:center}
/* The button in use marks its icon only (Michael, 22 Oct 2026): the icon sits in a soft rounded
   square in the accent colour (8 px corners, as the phone menu's; Round 44, W-30: "use more squared
   highlight"), and the label keeps the ink colour. */
.railbtn svg{width:24px; height:24px; padding:5px 12px; box-sizing:content-box; border-radius:8px;
  stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.railbtn:hover{color:var(--ink)}
.railbtn:hover svg{background:var(--surface2)}
.railbtn[aria-current]{color:var(--ink)}
.railbtn[aria-current] svg{color:var(--brass); background:var(--brass-soft)}

/* ---------- the breadcrumb on a standalone page ---------- */
.crumbs{max-width:1120px; margin:0 auto; padding:16px 20px 0; font-size:13px; color:var(--muted)}
.crumbs a{color:var(--brass); text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs i{font-style:normal; color:var(--faint); padding:0 7px}
.crumbs [aria-current]{color:var(--ink)}
/* "← the page before" (Round 36 item 3): topbar.js puts it before the trail when the reader came from another page of the site. */
.crumbs a.crumbback{display:inline-block; margin-right:14px; padding-right:14px; border-right:1px solid var(--rule); color:var(--muted)}
.crumbs a.crumbback:hover{color:var(--brass)}

/* ---------- phones: the panel slides in from the menu icon; search opens across the row ---------- */
@media (max-width:760px){
  :root{--barh:54px}
  .topbar{padding:0 8px 0 4px; gap:4px}
  .railmini,#searchBtn{display:flex}
  .railmini svg{stroke-width:1.7}
  .rail{display:none}
  .brand{font-size:19px; margin-right:0}
  .tools{justify-content:flex-end}
  .themebtn{margin-left:0}
  .barsearch{display:none}
  .barsearch.open{display:flex; position:absolute; inset:0; z-index:2; max-width:none; padding:0 10px; background:var(--ground)}
  .barsearch.open input,.barsearch.open input:focus{flex:1; font-size:16px; padding:9px 11px 9px 33px}
  .barsearch.open > svg{left:21px}
  .barsearch.open .suggest{
    left:0; right:0; min-width:0; top:calc(100% + 1px); border-radius:0 0 8px 8px;
    max-height:calc(100vh - var(--barh) - 16px);
  }
  .sg{display:block; padding:9px 10px; font-size:15px}
  .sg .sgn{display:block; white-space:normal}
  .sg .sgm{display:block; max-width:none; margin-top:1px}
  .barsearch .searchclose{
    display:block; flex:none; background:none; border:0; padding:8px 2px 8px 6px;
    font:inherit; font-size:14px; font-weight:600; color:var(--brass); cursor:pointer;
  }
  .crumbs{padding:12px 14px 0}
}
/* A page framed inside the research page's main area (22 Oct 2026): the research page carries the
   bar and the rail, so the page shows neither. */
html.embedded .topbar,html.embedded .rail{display:none!important}
html.embedded body{padding-top:0!important;padding-left:0!important}

/* ---------- Updates and Feedback (22 Oct 2026) ----------
   Two buttons at the foot of the rail, Updates above Feedback; on a phone they sit in the top
   row. Each opens a dialog (pagebar.extras_html, topbar.js). */
.railfoot{margin-top:auto; display:flex; flex-direction:column; align-items:center; gap:2px; padding-bottom:6px}
.railfoot .railbtn{background:none; border:0; font:inherit; font-size:11px; font-weight:600; cursor:pointer}
/* Settings (Round 43, W-26): the rail's last button, under a thin rule as wide as the buttons. */
.raildiv{width:40px; height:0; margin:4px 0 2px; border:0; border-top:1px solid var(--rule)}
/* A window too short for every button (under about 830 px) scrolls the rail itself, so Feedback and
   Settings stay within reach; no scrollbar shows. */
.rail{overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.phoneonly{display:none}
@media (max-width:760px){ .phoneonly{display:inline-flex} }
/* Updates and Feedback open as panels in the corner beside the rail's foot (23 Oct 2026), not over
   the page: the page stays usable behind them. Updates shows five lines and scrolls to the rest. */
.shelfdlg{position:fixed; inset:auto auto 14px calc(var(--navw) + 10px); margin:0; z-index:60; width:min(420px, calc(100vw - var(--navw) - 24px));
  max-height:calc(100vh - 90px); overflow:auto; padding:0; border:1px solid var(--rule);
  border-radius:10px; background:var(--surface); color:var(--ink); box-shadow:0 12px 36px rgba(0,0,0,.2)}
.shelfdlg .dlghead{position:sticky; top:0; background:var(--surface); z-index:1}
#updatesDlg .updlist{max-height:330px; overflow:auto}
@media (max-width:760px){ .shelfdlg{inset:auto 8px 8px 8px; width:auto; max-height:calc(100vh - 70px)} }
.shelfdlg .dlghead{display:flex; align-items:center; justify-content:space-between; padding:14px 18px 10px; border-bottom:1px solid var(--rule)}
.shelfdlg h2{font-size:17px; margin:0; font-weight:600}
.dlgx{font:inherit; font-size:22px; line-height:1; border:0; background:none; color:var(--muted); cursor:pointer; padding:2px 6px}
.updlist{list-style:none; margin:0; padding:6px 18px 14px}
.updlist li{display:grid; grid-template-columns:52px 1fr; gap:10px; padding:8px 0; border-bottom:1px solid var(--rule-soft); font-size:13.5px; line-height:1.4; min-height:41px}
.updlist li:last-child{border-bottom:0}
.updlist time{color:var(--faint); font-size:12px; font-variant-numeric:tabular-nums; padding-top:1px}
#feedbackForm{padding:0 0 14px}
#feedbackForm > *:not(.dlghead){margin-left:18px; margin-right:18px}
.fbkind{border:0; padding:0; margin-top:12px; display:flex; flex-wrap:wrap; gap:6px}
.fbkind legend{font-size:12px; color:var(--muted); margin-bottom:6px; padding:0}
.fbkind label{display:inline-flex; align-items:center; gap:6px; font-size:13.5px; padding:6px 11px; border:1px solid var(--rule); border-radius:999px; cursor:pointer}
.fbkind label:has(input:checked){border-color:var(--brass); background:var(--brass-soft); color:var(--brass)}
.fbkind input{accent-color:var(--brass); margin:0}
.fbfield{display:flex; flex-direction:column; gap:5px; margin-top:12px; font-size:12px; color:var(--muted)}
.fbfield textarea,.fbfield input{font:inherit; font-size:14px; color:var(--ink); background:var(--ground); border:1px solid var(--rule);
  border-radius:6px; padding:8px 10px; resize:vertical}
.fbfield textarea:focus,.fbfield input:focus{outline:2px solid var(--brass); outline-offset:-1px}
.fbnote{font-size:12px; color:var(--faint); margin-top:6px}
.fbhp{position:absolute; left:-9999px; width:1px; height:1px; opacity:0}
.fbmsg{font-size:13px; margin-top:8px; min-height:1em}
.fbmsg.bad{color:#b3261e}
.fbmsg.ok{color:var(--brass)}
.fbbtns{display:flex; justify-content:flex-end; gap:8px; margin-top:12px}
.fbbtns button{font:inherit; font-size:13.5px; padding:7px 14px; border-radius:6px; border:1px solid var(--rule); background:var(--surface); color:var(--ink); cursor:pointer}
.fbbtns .fbsend{background:var(--brass); border-color:var(--brass); color:#fff}
.fbbtns .fbsend:disabled{opacity:.6; cursor:default}

/* ---------- The tabs of a page's section, on a standalone page (23 Oct 2026) ----------
   The research page's band of tabs, repeated under the bar so Browse, Table and People show
   however the reader reached the page. A framed page hides it: the research page shows its own. */
.pagetabs{background:var(--surface2); border-bottom:1px solid var(--rule)}
.pagetabs .maintabs{display:flex; gap:2px; max-width:none; margin:0 auto; padding:0 24px}
.pagetabs .mtab{font-size:16px; font-weight:600; color:var(--muted)!important; text-decoration:none!important;
  border-bottom:2px solid transparent!important; margin-bottom:-1px; padding:10px 18px 11px}
.pagetabs .mtab:hover{color:var(--ink)!important}
.pagetabs .mtab[aria-current]{color:var(--ink)!important; border-bottom-color:var(--brass)!important}
@media (max-width:760px){ .pagetabs .maintabs{padding:0 6px; overflow-x:auto} .pagetabs .mtab{font-size:15px; padding:9px 12px 10px} }
html.embedded .pagetabs{display:none}
/* ---- Round 38 item 44 (Michael: "make sure all tabs on sections don't scroll up or down") ----
   On a phone every strip of tabs moves sideways only: the research page's band (.tabband .maintabs,
   template.html) and a standalone page's section tabs (.pagetabs). Each tab sat 1 px below its strip
   (margin-bottom:-1px, so its brass line covered the band's rule), which gave the strip 1 px to
   scroll up and down; the line now sits inside the strip. verify.js measures every strip at 390 and
   360 px. The entity pages' tabs (.ptabs) follow the same rules in _pagecss.css. */
@media (max-width:760px){
  .maintabs,.pagetabs .maintabs{overflow-x:auto; overflow-y:hidden; overscroll-behavior:none; touch-action:pan-x pan-y;
    scrollbar-width:none; -webkit-overflow-scrolling:touch}
  .maintabs::-webkit-scrollbar{display:none}
  .maintabs .mtab,.pagetabs .maintabs .mtab{margin-bottom:0}
}
.fbshotbtns{display:flex; flex-wrap:wrap; align-items:center; gap:8px}
.fbshotbtns button,.fbpick{font:inherit; font-size:13px; color:var(--ink); padding:6px 11px; border:1px solid var(--rule);
  border-radius:6px; background:var(--surface); cursor:pointer}
.fbshotbtns button:hover,.fbpick:hover{border-color:var(--brass)}
.fbpick input{position:absolute; width:1px; height:1px; opacity:0; pointer-events:none}
.fbpaste{font-size:12px; color:var(--faint)}
.fbpaste kbd{font:inherit; font-size:11px; border:1px solid var(--rule); border-radius:3px; padding:0 4px}
#feedbackForm.dropping{outline:2px dashed var(--brass); outline-offset:-6px}
.fbshots{display:flex; gap:8px; margin-top:8px}
.fbshot{position:relative; width:76px; height:56px; border:1px solid var(--rule); border-radius:4px; overflow:hidden}
.fbshot img{width:100%; height:100%; object-fit:cover; display:block; cursor:zoom-in}
/* A screenshot at full size, over the page (25 Oct 2026). */
.fbzoom{position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.72); display:flex; align-items:center; justify-content:center; padding:24px; cursor:zoom-out}
.fbzoom img{max-width:100%; max-height:100%; border-radius:6px; box-shadow:0 12px 40px rgba(0,0,0,.4); background:#fff}
.fbzoom button{position:absolute; top:14px; right:16px; width:34px; height:34px; border-radius:50%; border:0; background:rgba(255,255,255,.9); color:#111; font-size:20px; line-height:34px; cursor:pointer}
.fbshotbtns .full{opacity:.5}
.fbshot button{position:absolute; top:2px; right:2px; width:20px; height:20px; border-radius:50%; border:0; background:rgba(0,0,0,.6);
  color:#fff; font-size:13px; line-height:20px; padding:0; cursor:pointer}

/* ---------- phones (Michael, 27 Oct 2026) ----------
   The top row holds the search bar and, at its right, the menu button (28 Oct 2026), with a line
   under it; the name shows only inside the menu. The menu covers the screen: the name, search, a
   line, the sections with Updates and Feedback at the foot of that middle part (28 Oct 2026), and
   the light/dark switch at the very bottom. */
.menubtn{display:none}
.phonemenu[hidden]{display:none}
@media (max-width:760px){
  .menubtn{display:flex; order:2}
  .topbar{gap:6px; padding:0 4px 0 10px}
  .topbar .brand,.topbar .themebtn,#searchBtn,.railmini{display:none!important}
  .tools{justify-content:flex-start}
  .barsearch{display:flex; flex:1; max-width:none; position:relative}
  .barsearch input,.barsearch input:focus{font-size:16px; padding:8px 11px 8px 33px}
  .barsearch .searchclose{display:none}
  .barsearch .suggest{left:-6px; right:-6px; min-width:0; top:calc(100% + 7px); border-radius:0 0 8px 8px;
    max-height:calc(100vh - var(--barh) - 16px)}
  .phonemenu{position:fixed; inset:0; z-index:90; background:var(--ground); display:flex; flex-direction:column;
    padding:6px 16px 20px; overflow-y:auto; overscroll-behavior:contain}
  .pmhead{display:flex; align-items:center; justify-content:space-between; min-height:46px}
  .pmhead .brand{display:block; font-size:21px; margin:0}
  .pmclose{font-size:28px; line-height:1}
  .pmsearch{position:relative; padding:8px 0 16px; border-bottom:1px solid var(--rule)}
  .pmsearch > svg{position:absolute; left:11px; top:calc(50% - 4px); transform:translateY(-50%); width:15px; height:15px;
    stroke:var(--faint); fill:none; stroke-width:2; pointer-events:none}
  .pmsearch input{width:100%; font:inherit; font-size:16px; color:var(--ink); background:var(--surface);
    border:1px solid var(--rule); border-radius:6px; padding:9px 12px 9px 34px}
  .pmnav,.pmfoot{display:flex; flex-direction:column; gap:2px; padding:10px 0}
  .pmnav{flex:1 0 auto}
  .pmnav .pmfoot{margin-top:auto; padding:10px 0 4px}
  .pmnav .railbtn,.pmfoot .railbtn{flex-direction:row; justify-content:flex-start; width:auto; gap:14px; padding:11px 8px;
    font-size:16px; font-weight:600; color:var(--ink); background:none; border:0; text-align:left}
  .pmnav .railbtn svg,.pmfoot .railbtn svg{width:22px; height:22px}
  .pmnav .railbtn[aria-current] svg{background:var(--brass-soft); color:var(--brass); border-radius:8px}
  .pmfoot .raildiv{width:auto; margin:6px 8px}
  .pmtheme{margin-top:auto; display:flex; align-items:center; gap:14px; padding:12px 8px; font:inherit; font-size:16px;
    font-weight:600; color:var(--ink); background:none; border:0; border-top:1px solid var(--rule); text-align:left; cursor:pointer}
  .pmtheme svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8}
  html.menuopen,html.menuopen body{overflow:hidden}
  /* Nothing pulls past its edge: the page and its tables stay put at their ends. */
  html,body{overscroll-behavior:none}
}
.pmtheme .sun{display:none}
:root[data-theme="dark"] .pmtheme .sun{display:block}
:root[data-theme="dark"] .pmtheme .moon{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .pmtheme .sun{display:block}
  :root:not([data-theme="light"]) .pmtheme .moon{display:none}
}
/* a picture large beside the pointer on hover (topbar.js, 28 Oct 2026) */
.zoombox{position:fixed;z-index:90;pointer-events:none;padding:4px;background:var(--surface);border:1px solid var(--rule);border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.zoombox img{display:block;max-width:min(320px,calc(100vw - 32px));max-height:min(420px,calc(100vh - 32px));border-radius:4px}
.zoombox[hidden]{display:none}
.zoombox.logo{background:#fff;padding:10px;border-color:#e3e1dc}
.zoombox.logo img{max-width:160px;max-height:100px;border-radius:0}
/* Every bordered button shows its whole border (Michael, Round 30, 3 Nov 2026: the bottom edge of a
   round button kept disappearing). Two causes: the border colour (--rule, #e1e0d9) is almost the
   page's own, and a 13px font with a 1.5 line height makes a button 26.5px tall, so its bottom edge
   sits on half a pixel and the browser blurs it away. Buttons get a stronger border and a line
   height in whole pixels, so their heights are whole too. A new button that uses one of these
   classes (chip, mbtn, subtabs, bview, orgs) inherits both. */
:root{--btn-rule:#cfcdc4}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--btn-rule:#4a4944}}
:root[data-theme="dark"]{--btn-rule:#4a4944}
.chip,.subtabs button,.subtabs .submore summary,.bview button,p.orgs a,.wrap a.mbtn,.apfilters select,.stychip{
  border-color:var(--btn-rule)!important;line-height:18px}
.chip:hover,.subtabs button:hover,p.orgs a:hover,.wrap a.mbtn:hover{border-color:var(--brass)!important}
.subtabs button[aria-selected="true"]{border-color:var(--brass)!important}
.bview button[aria-pressed="true"]{border-color:var(--brass)!important}
/* A hover box always wraps its whole picture (Michael, Round 31: a box sized where it last stood,
   by the window's edge, stayed narrow and the logo spilled past its white background). */
.zoombox{width:max-content}
/* Feedback stands out in the rail so readers notice it (Michael, Round 31; Round 32: blue icon
   and label only, no dot and no pill behind the icon). */
.railbtn.fbnudge,.railbtn.fbnudge span{color:var(--brass)}
.railbtn.fbnudge span{font-weight:600}

/* List / Grid beside Start here and inside a heading (Michael, Round 32 items 8 and 9) */
.sprow{display:flex;align-items:flex-start;gap:16px}
.sprow .startpath{flex:1 1 auto;max-width:640px;margin-top:10px}
.sprow .bview{margin:10px 0 0 auto;flex:none}
h2:has(> .bview.inh2){display:flex;align-items:center;gap:8px}
h2 > .bview.inh2{margin:0 0 0 auto;font-size:12px;letter-spacing:0;text-transform:none;font-weight:400}

/* Cut-off text shown whole (Round 33 item 15): topbar.js places it under the text. */
.tipbox{position:fixed;z-index:60;max-width:min(440px,calc(100vw - 16px));padding:9px 12px;border:1px solid var(--rule);border-radius:8px;background:var(--surface);color:var(--ink);font-size:13px;line-height:1.45;box-shadow:0 6px 24px rgba(0,0,0,.14);pointer-events:none;white-space:normal}
.tipbox[hidden]{display:none}
/* The info mark beside a table heading (Round 44, C-58): "As of" for a Market cap column. */
.hinfo{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:4px;border:1px solid currentColor;border-radius:50%;font:600 9.5px/1 var(--sans,inherit);font-style:normal;text-transform:none;letter-spacing:0;color:var(--muted);cursor:help;vertical-align:1px}
.hinfo:focus-visible{outline:2px solid var(--brand,currentColor);outline-offset:1px}


/* ---------- controls ---------- */
.controls{
  position:relative; z-index:20; background:var(--ground);
  border-bottom:1px solid var(--rule); padding:11px 0 12px; margin-bottom:6px;
  display:flex; flex-wrap:wrap; align-items:center; column-gap:16px;
}
.controls .hint{padding:0; margin-left:auto; white-space:nowrap}
.toolrow{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.tiers{display:flex; gap:4px; align-items:center}
/* Listing: Public, Private, Defunct as tick boxes (Round 33 item 22; two rows since Round 34). */
.fline{flex-wrap:wrap}
.fline .ddbody{width:100%}
/* Two rows (Round 34): Public and Private, then Defunct; no counts, so two fit the 200 px panel. */
.linechecks{display:grid; grid-template-columns:repeat(2, max-content); gap:4px 18px}
.linechecks .tchk{display:inline-flex; gap:5px; align-items:center; white-space:nowrap; padding:2px 0}
.linechecks .tchk .c{margin-left:2px}
.tiers .lbl{font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); margin-right:2px}
.tiers button{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:12px; width:25px; height:25px;
  background:var(--surface); color:var(--muted);
  border:1px solid var(--rule); border-radius:3px; cursor:pointer; padding:0;
}
.tiers button[aria-pressed="true"]{background:var(--brass); border-color:var(--brass); color:var(--ground)}
.tiers .clear{width:auto; padding:0 8px; font-family:inherit; font-size:12px}
/* Year: the four latest years in two rows, then a list of earlier years; no counts (19 Oct 2026) */
.ygrid{display:grid; grid-template-columns:repeat(2, 72px); gap:4px; margin:2px 0 8px}
.ygrid button{font:inherit; font-size:12.5px; height:28px; background:var(--surface); color:var(--muted);
  border:1px solid var(--rule); border-radius:3px; cursor:pointer; padding:0}
.ygrid button[aria-pressed="true"]{background:var(--brass); border-color:var(--brass); color:var(--ground)}
.ygrid button:disabled{opacity:.35; cursor:default}
.sortbox{display:flex; gap:4px; align-items:center}
.sortbox .lbl{font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); margin-right:2px}
.sortbox button{
  font:inherit; font-size:12.5px; color:var(--muted); background:var(--surface);
  border:1px solid var(--rule); border-radius:3px; padding:4px 9px; cursor:pointer;
}
.sortbox button[aria-pressed="true"]{background:var(--brass); border-color:var(--brass); color:var(--ground)}
.sortbox select{font:inherit; font-size:12.5px; color:var(--ink); background:var(--surface);
  border:1px solid var(--rule); border-radius:3px; padding:4px 6px; cursor:pointer}
.startpath{margin:14px 0 0; padding:11px 14px; border:1px solid var(--brass); border-radius:3px; background:var(--brass-soft)}
.startpath h3{font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--brass); margin:0 0 7px; font-weight:600}
.startpath ol{margin:0; padding-left:19px; display:grid; gap:4px}
.startpath li{font-size:14px; line-height:1.35}
.startpath li span{color:var(--muted); font-size:12.5px}
.bk.is-start .t::after{content:"start here"; font-family:Inter,system-ui,sans-serif; font-size:9.5px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--brass);
  border:1px solid var(--brass); border-radius:2px; padding:1px 4px; margin-left:8px;
  position:relative; top:-2px; white-space:nowrap}
.groupnote{font-size:13px; color:var(--faint); margin-top:10px}
.pager{display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap;
  margin:26px 0 4px; padding-top:18px; border-top:1px solid var(--rule)}
.pager button{font:inherit; font-size:13px; color:var(--muted); background:var(--surface);
  border:1px solid var(--rule); border-radius:3px; padding:5px 11px; cursor:pointer}
.pager button:hover:not(:disabled){border-color:var(--brass); color:var(--ink)}
.pager button:disabled{opacity:.4; cursor:default}
.pager .showmore{color:var(--ink); padding:8px 22px}
.pager .pinfo{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:12.5px; color:var(--faint); margin:0 6px}

/* images */
/* A cover shows whole, fitted inside the 2:3 box, never cropped (Michael, 22 Oct 2026). */
.cover{display:block; width:100%; aspect-ratio:2/3; object-fit:contain; background:var(--surface2);
  border:1px solid var(--rule); border-radius:2px}
.cover.ph{display:flex; align-items:center; justify-content:center; padding:8px; text-align:center;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:11px; line-height:1.25; color:var(--muted);
  overflow:hidden; position:relative}
.cover.ph > span{display:block}
.cover .coverimg{position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  opacity:0; transition:opacity .18s}
.cover .coverimg.ok{opacity:1}
/* A cover that loads shows at its own shape, without the box or bands around it (23 Oct 2026). */
.cover.ph:has(.coverimg.ok){aspect-ratio:auto; background:none; border:0; padding:0; display:block}
.cover.ph:has(.coverimg.ok) > span{display:none}
.cover .coverimg.ok{position:static; display:block; height:auto; border:1px solid var(--rule); border-radius:2px}
@media (prefers-reduced-motion:reduce){.cover .coverimg{transition:none}}
.avatar{width:64px; height:64px; border-radius:4px; object-fit:cover; background:var(--surface2);
  border:1px solid var(--rule); flex:none}
.avatar.ph{display:flex; align-items:center; justify-content:center; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:21px; color:var(--muted)}
.avatar.big{width:96px; height:96px}
.avatar.big.ph{font-size:32px}
.flagimg.big{width:88px; height:60px}
.pic{width:92px; height:64px; border-radius:4px; object-fit:contain; padding:4px;
  background:var(--surface2); border:1px solid var(--rule); flex:none}
.pic.photo{object-fit:cover; padding:0}
.pic.big{width:140px; height:100px}
.hpic{display:inline-flex; cursor:pointer; line-height:0}
.hpic:hover{opacity:.82}
.monogram{width:88px; height:88px; border-radius:4px; background:var(--surface2); border:1px solid var(--rule);
  display:flex; align-items:center; justify-content:center; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:26px; color:var(--muted); flex:none; letter-spacing:.02em}
.monogram.sm{width:52px; height:52px; font-size:17px; border-radius:3px}
.flagimg{width:44px; height:31px; object-fit:cover; border:1px solid var(--rule); border-radius:2px; flex:none}
.bk .thumb{grid-row:1/3; width:64px; flex:none}
.bk.has-thumb{grid-template-columns:64px auto 1fr auto}
.bk.has-thumb .kindmark{grid-row:1}
.bk.has-thumb .sub{grid-column:3/4} .bk.has-thumb .links{grid-column:4/5}

/* tables: a heading sorts its column; the headings stay at the top while the rows scroll */
.tablewrap{margin-top:10px; overscroll-behavior:none}
.dt{width:100%; border-collapse:collapse; font-size:13.5px; line-height:1.35}
.dt th{position:sticky; top:0; z-index:2; background:var(--ground); padding:0; text-align:left;
  border-bottom:1px solid var(--rule); vertical-align:bottom; white-space:nowrap}
.dt th button{display:flex; align-items:center; gap:5px; width:100%; padding:9px 8px; font:inherit; font-size:11.5px; font-weight:600;
  letter-spacing:.03em; text-transform:uppercase; color:var(--muted); background:none; border:0; cursor:pointer; text-align:left; overflow-wrap:anywhere}
.dt th.num button{justify-content:flex-end}
.dt th button:hover{color:var(--ink)}
/* A heading with an info mark (Round 44, C-58): the button and the mark side by side. */
.dt th:has(> .hinfo) button{display:inline-flex; width:auto; padding-right:2px}
.dt th > .hinfo{margin:0 8px 9px 0; vertical-align:bottom}
.dt th.num:has(> .hinfo){text-align:right}
/* The column the table is sorted by, its own order included, reads in brass (19 Oct 2026). */
.dt th[aria-sort] button{color:var(--brass)}
.dt th .sarr::after{content:""; display:inline-block; width:0; height:0; border:4px solid transparent; opacity:.35;
  border-top-color:currentColor; transform:translateY(2px)}
.dt th[aria-sort="ascending"] .sarr::after{border-top-color:transparent; border-bottom-color:currentColor; transform:translateY(-2px); opacity:1}
.dt th[aria-sort="descending"] .sarr::after{opacity:1}
/* Every cell holds one line; a long value is cut with an ellipsis and shows in full on hover. */
/* A cell's text runs onto a second line when it is long, and stops there (Michael, 23 Oct 2026). */
.dt td{padding:9px 8px; border-bottom:1px solid var(--rule-soft); vertical-align:middle; white-space:normal;
  max-width:300px; overflow:hidden}
.dt td > *:only-child:not(.pname):not(.fitl),.dt .pname > a,.dt .clamp2{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden}
.dt td.wide{min-width:240px; max-width:380px; color:var(--muted); font-size:12.5px}
/* Letters and papers: the whole title, on as many lines as it takes; the Companies column holds at
   least four tickers side by side (Michael, Round 32 items 16 and 19). */
.dt tbody td.fullt{min-width:260px; max-width:380px}
.dt tbody td.fullt > a:only-child{display:inline; -webkit-line-clamp:unset; overflow:visible}
.dt tbody td.lco{min-width:190px}
/* Books table widths (23 Oct 2026): Title fits most titles on one line and every title in two;
   Description holds its two lines; Recommended by its names and "… and N more". */
.dt tbody td.ttl{min-width:300px; max-width:320px}
.dt tbody td.dsc{min-width:270px; max-width:270px; color:var(--muted); font-size:12.5px}
.dt tbody td.rby{min-width:150px; max-width:170px; font-size:12.5px}
.dt td.rby a{color:var(--ink)}
.dt .nw{white-space:nowrap}
/* A list in a cell (Michael, Round 32 item 8): as many names as fit its lines, then "… and N more",
   which stays inside the cell at every width (fitLists measures each cell after a draw and on
   resize). The button opens the whole list; Recommended by's links to the book's list. */
.dt .fitl{display:block; line-height:1.4; overflow:visible}
.dt td.num .lcopen{width:100%; text-align:right; font-variant-numeric:tabular-nums}
.dt .fitl .fi:not(.end)::after{content:", "}
.dt .fitl .fi[hidden]{display:none}
.dt .fitl .fmore{font:inherit; color:var(--muted); background:none; border:0; padding:0; margin-left:3px; cursor:pointer; white-space:nowrap; text-decoration:none}
.dt .fitl .fmore:hover{color:var(--brass)}
.dt .fitl .fmore[hidden]{display:none}
.dt tbody td.bau{max-width:130px}
.dt tbody td.bin{max-width:120px}
.dt:has(td.ttl) td{padding-left:6px; padding-right:6px}
.dt .pname > a{min-width:0}
.dt td.num{text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap}
.dt tbody tr:hover td{background:var(--surface2)}
.dt a{color:var(--ink); text-decoration:none}
.dt a:hover{color:var(--brass)}
.dt .muted{color:var(--muted)}
.dt .cf{font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-align:left}
.dt .cf:hover{color:var(--brass)}
/* a filter value: a funnel shows beside it while the pointer is over it (20 Oct 2026) */
.cfw{display:inline-flex; align-items:center; gap:3px; white-space:nowrap}
.dt .cologo{width:auto; height:15px; max-width:34px; object-fit:contain; vertical-align:-3px; margin-right:4px}
/* Every logo in a table is one square (Michael, Round 32 item 7): a white tile with the logo
   fitted inside it, whatever the logo's own shape. */
.dt .cologo{width:22px; height:22px; max-width:none; padding:2px; box-sizing:border-box; object-fit:contain;
  background:#fff; border:1px solid var(--rule-soft); border-radius:4px; vertical-align:-6px; margin-right:6px}
.dt .cfp:hover{color:var(--brass)}
.dt .epick{color:var(--ink); font-weight:500}
.dt .epick:hover{color:var(--brass)}
.dt .lthesis{font-size:12.5px; color:var(--muted); margin-top:3px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; max-width:62ch}
.dt .fsub{font-size:12px; color:var(--muted); margin-top:2px}
.dt .stychip{display:inline-block; margin:2px 4px 2px 0; padding:2px 9px; border:1px solid var(--rule); border-radius:12px; font-size:12px; white-space:nowrap}
.dt .stychip:hover{border-color:var(--brass); color:var(--brass)}
.cfi{display:inline-flex; align-items:center; visibility:hidden; color:var(--brass); background:none; border:0; padding:0 1px; cursor:pointer}
.cfw:hover .cfi,.cfw:focus-within .cfi{visibility:visible}
/* The funnel stands as tall as the letters beside it (27 Oct 2026). */
.cfi .fun{width:1.1em; height:1.1em; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round}
.dt a.plink{border:0; color:var(--brass); font-size:15px; font-weight:700; margin-left:3px; text-decoration:none}
.dt a.plink:hover{color:var(--ink)}
/* the box a tip or a large picture shows in, at once, beside the pointer */
.hoverbox{position:fixed; z-index:70; pointer-events:none; max-width:320px; padding:7px 10px; border-radius:6px;
  background:var(--ink); color:var(--ground); font-size:12.5px; line-height:1.4; box-shadow:0 8px 22px rgba(0,0,0,.18)}
.hoverbox.pic{padding:4px; background:var(--surface); border:1px solid var(--rule)}
.hoverbox.pic{max-width:340px; width:max-content}   /* the box always wraps its whole picture (Round 31) */
.hoverbox.pic img{display:block; max-width:min(320px, calc(100vw - 32px)); max-height:min(420px, calc(100vh - 32px)); border-radius:4px}
.hoverbox.pic.logo{background:#fff; padding:10px; border-color:#e3e1dc}
.hoverbox.pic.logo img{max-width:160px; max-height:100px; border-radius:0}
.hoverbox[hidden]{display:none}
.dt td:first-child{min-width:170px}
.dt .pname{display:flex; align-items:center; gap:10px}
.dt .tthumb{width:32px; height:32px; flex:none; border-radius:4px; object-fit:cover; background:var(--surface2)}
.dt .tthumb.bk{width:26px; height:38px; border-radius:2px}
/* a cover shows whole at its own shape, never cut at top or bottom (28 Oct 2026) */
.dt img.tthumb.bk{width:auto; max-width:34px; height:40px; object-fit:contain; background:none}
.dt .tthumb.ph{display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:var(--muted)}
.dt td.one{white-space:nowrap; max-width:260px; overflow:hidden; text-overflow:ellipsis}
.dt td.nw{white-space:nowrap}
@media (max-width:760px){
  .dt{font-size:13px}
  .dt td:first-child{min-width:180px}
}

/* Media (Round 35): a picture beside each title in the table, and a grid of cards with pictures. */
.dt .tthumb.md{width:48px; height:27px; border-radius:3px}
/* An appearance's picture shows whole, centred on a neutral ground, never cropped (Round 36 item 4). */
.dt img.tthumb.md{object-fit:contain; object-position:center; background:var(--surface2)}
.dt tbody td.mtl{min-width:260px; max-width:340px}
.dt tbody td.mpub{max-width:220px}
.dt td.mpub .cfw{white-space:normal}
.dt tbody td.mppl{min-width:140px; max-width:200px}
.mgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(max(200px, calc((100% - 56px) / 5)),1fr)); gap:14px; margin-top:16px}
.mcard{display:flex; flex-direction:column; gap:6px; padding:10px; background:var(--surface); border:1px solid var(--rule); border-radius:4px;
  color:inherit; text-decoration:none; min-width:0}
.mcard:hover{border-color:var(--brass)}
.mcard a.mep{display:flex; flex-direction:column; gap:6px; color:inherit; text-decoration:none; min-width:0}
.mcard a.mshow{color:inherit; text-decoration:none}
.mcard a.mshow:hover{color:var(--brass)}
.mcard .mpic{position:relative; aspect-ratio:16/9; background:var(--surface2); border-radius:3px; overflow:hidden; display:flex; align-items:center; justify-content:center}
.mcard .mpic img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center}
.mcard .mini{font-size:26px; color:var(--faint)}
.mcard .mt{font-size:14px; line-height:1.35; font-weight:500; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden}
.mcard .mp{font-size:12.5px; color:var(--ink); display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden}
.mcard .mm{font-size:12px; color:var(--muted); display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden}
@media (max-width:760px){ .mgrid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px} .mcard{padding:8px} .mcard .mt{font-size:13px} }

/* section tiles */
.tilegrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(max(176px, calc((100% - 56px) / 5)),1fr)); gap:14px; margin-top:16px}
.tile{display:flex; flex-direction:column; gap:9px; padding:14px 12px; cursor:pointer; text-align:center;
  background:var(--surface); border:1px solid var(--rule); border-radius:4px; font:inherit; color:inherit;
  align-items:center}
.tile .timg{height:104px; display:flex; align-items:center; justify-content:center; width:100%}
/* A logo on a grid tile sits on the card itself, with no grey box behind it (25 Oct 2026). */
.tile .pic:not(.photo){background:none; border:0; padding:0}
.tile:hover{border-color:var(--brass)}
.tile[aria-expanded="true"]{border-color:var(--brass); box-shadow:0 0 0 1px var(--brass)}
.tile .tname{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:14.5px; line-height:1.3; width:100%; overflow-wrap:anywhere}
.tile .tname .tier{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:10px; vertical-align:2px; margin-right:2px}
.tile .tmeta{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:11px; color:var(--faint)}
.tile .tother{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:10.5px; line-height:1.45;
  color:var(--teal); width:100%; overflow-wrap:anywhere}
.tile .trole{font-size:11.5px; line-height:1.3; color:var(--muted); width:100%; overflow-wrap:anywhere;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden}

a.tile{text-decoration:none}
/* People's tiles take the book card's look (Round 44, P-38, Michael: "make people cards have the same format
   as books cards. only change the look, dont change anything about the info you display"): squares of a grid
   ruled by thin lines, as .bookgrid and .bcard, the photograph, the name in the book title's type, the title
   and organisation as a book's note, the counts in the authors' small capitals; five to a row at most. */
.tilegrid.ptiles{grid-template-columns:repeat(auto-fill,minmax(max(190px, calc(100% / 5)),1fr)); gap:0;
  border-top:1px solid var(--rule); border-left:1px solid var(--rule)}
.ptiles .tile{border:0; border-right:1px solid var(--rule); border-bottom:1px solid var(--rule); border-radius:0;
  background:none; padding:22px 16px; gap:6px; min-width:0}
.ptiles .tile:hover{border-color:var(--rule)}
.ptiles .tile:hover .tname{color:var(--brass)}
.ptiles .tile[aria-expanded="true"]{box-shadow:inset 0 0 0 1px var(--brass)}
.ptiles .tile .timg{height:auto; margin-bottom:6px}
.ptiles .tile .avatar.big{width:120px; height:120px}
.ptiles .tile .avatar.big.ph{font-size:38px}
.ptiles .tile .tname{font-size:14.5px; font-weight:600; line-height:1.25}
.ptiles .tile .trole{font-size:12px; line-height:1.4; color:var(--ink)}
.ptiles .tile .tmeta{color:var(--muted); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase}

.backlink{margin:14px 0 2px; font-size:13px}
#out.single .caret{display:none}
#out.single .entry h2{cursor:default}

/* book grid: one square of a grid ruled by thin lines per book (Michael, 28 Oct 2026, after a
   picture of the layout he wanted); four to a row at most and never narrower than 238 px, so each
   card is 25% wider than the five-to-a-row, 190 px card it was (Round 43, B-21) */
.bookgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(max(238px, calc(100% / 4)),1fr)); gap:0; margin-top:14px;
  border-top:1px solid var(--rule); border-left:1px solid var(--rule)}
.bcard{border-right:1px solid var(--rule); border-bottom:1px solid var(--rule); background:none; padding:22px 16px; min-width:0;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; font-size:12.5px; line-height:1.3}
.bcard .bcov img,.bcard .bcov .cover-wrap,.bcard .bcov .cover{max-height:170px; width:auto; max-width:100%; margin:0 auto 6px}
.bcard .bt{font-size:14.5px; font-weight:600; line-height:1.25}
.bcard .ba{color:var(--muted); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase}
.bcard .blinks{display:flex; flex-wrap:wrap; column-gap:12px; justify-content:center; font-size:11.5px}
.bcard .blinks a{white-space:nowrap}
.bcard .blinks a{color:var(--brass)}
.bcard .bdesc,.bcard .brec{width:100%; text-align:left; margin:2px 0 0}
.bcard .bdesc{font-size:12px; line-height:1.4; color:var(--ink)}
.bcard .brec{display:flex; flex-direction:column; gap:5px}
.bcard .brec p{margin:0}
.bcard .bquote{font-size:12.5px; line-height:1.45; font-style:italic; color:var(--muted)}
.bcard .bquote .bby{font-style:normal; font-size:11px; white-space:nowrap}
.bcard .rby{color:var(--ink)}
.bcard .bsrc{font-size:11.5px; color:var(--faint); margin:0}
.bcard .bsrc a{color:var(--muted)}
.bcard .balso{font-size:11.5px; color:var(--faint)}
.bcard .balso a{color:var(--muted)}

/* collapse */
.caret{background:none; border:0; cursor:pointer; padding:0 6px 0 0; color:var(--brass);
  font-size:20px; line-height:1; flex:none; width:24px; text-align:left}
.entry h2{cursor:pointer}
.entry h2:hover{color:var(--brass)}
.caret:hover{color:var(--brass)}
.entry.collapsed .books,.entry.collapsed .strip,.entry.collapsed .startpath,
.entry.collapsed .arts,.entry.collapsed .pending,.entry.collapsed .tagrow,
.entry.collapsed .rolebar,
.entry.collapsed .xrow,.entry.collapsed .bookgrid,.entry.collapsed .recgroups{display:none}
.entry.collapsed{padding-bottom:12px}

.xlink{
  font-size:12px; color:var(--teal); text-decoration:none; border-bottom:1px solid var(--teal);
  margin-left:2px;
}
.fullpage{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:10.5px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--brass); text-decoration:none;
  border:1px solid var(--brass); border-radius:2px; padding:2px 6px; white-space:nowrap}
.fullpage:hover{background:var(--brass-soft)}
.pgroup{margin-top:10px}
.pglabel{font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted);
  font-weight:600; margin:0 0 6px}
/* An entry's people take the book card's look (Round 44, P-38), as .ptiles below and _pagecss.css .pcard. */
.prow{display:grid; grid-template-columns:repeat(auto-fill,minmax(max(150px, calc(100% / 6)),1fr)); gap:0;
  border-top:1px solid var(--rule); border-left:1px solid var(--rule)}
.pcard{display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; padding:18px 10px 14px;
  border-right:1px solid var(--rule); border-bottom:1px solid var(--rule);
  text-decoration:none; color:inherit; text-align:center}
.pface{width:88px; height:88px; border-radius:4px; object-fit:cover; background:var(--surface2);
  border:1px solid var(--rule); flex:none; margin-bottom:4px}
.pface.ph{display:flex; align-items:center; justify-content:center;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:26px; color:var(--muted)}
.pcard .pn{font-size:14.5px; font-weight:600; line-height:1.25; overflow-wrap:anywhere}
.pcard .pw{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.pcard:hover .pn{color:var(--brass)}
.entry.collapsed .pgroup{display:none}
.rolebar{display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:11px}
.rolechip{font-size:12px; color:var(--teal); background:var(--surface); text-decoration:none;
  border:1px solid var(--rule); border-radius:3px; padding:3px 9px; white-space:nowrap}
.rolechip:hover{border-color:var(--teal)}
.rolechip.on{background:var(--teal); border-color:var(--teal); color:var(--ground)}
.rolemore{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:11.5px; color:var(--faint); margin-left:4px}
.xrow{display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; font-size:12.5px; color:var(--faint)}
.tag.link{cursor:pointer; color:var(--teal); border:1px solid var(--rule); background:var(--surface)}
.tag.link:hover{border-color:var(--teal)}
.btitle{color:inherit; text-decoration:none; border-bottom:1px solid var(--rule)}
.btitle:hover{color:var(--brass); border-bottom-color:var(--brass)}
.bookpage{max-width:820px}
.bookpage .bphead{display:flex; gap:22px; align-items:flex-start; flex-wrap:wrap; margin-top:22px}
.bookpage .bphead .cover{width:150px; flex:none}
.bookpage h2{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:29px; margin:0 0 6px; line-height:1.15}
.bookpage .bpmeta{font-size:14px; color:var(--muted); line-height:1.6}
.bookpage .bpnote{margin-top:12px; font-size:14px; color:var(--muted); max-width:70ch}
.alink{color:var(--muted); text-decoration:none; border-bottom:1px dotted var(--rule)}
.alink:hover{color:var(--brass); border-bottom-color:var(--brass)}
.alink.soft{border-bottom-style:dotted}
.recrow{display:flex; flex-wrap:wrap; gap:4px; grid-column:2/4; margin-top:3px}
.reclab{font-size:11px; color:var(--teal); background:var(--surface); border:1px solid var(--rule);
  border-radius:2px; padding:1px 6px; text-decoration:none; white-space:nowrap}
.reclab:hover{border-color:var(--teal)}
.reclab.direct{border-color:var(--teal); color:var(--teal)}
.reclab.reported{color:var(--faint)}
.recsrc{font-size:12px; color:var(--faint)}
.appear{margin:14px 0 0; padding:10px 0 10px 14px; border-left:2px solid var(--teal); background:linear-gradient(90deg,var(--surface),transparent 70%)}
.appear summary{font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal);
  font-weight:600; cursor:pointer; list-style:none}
.appear summary::-webkit-details-marker{display:none}
.appear summary::before{content:"▸ "; font-size:13px}
.appear[open] summary::before{content:"▾ "}
.quote{grid-column:2/-1; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:13px; font-style:italic;
  color:var(--muted); border-left:2px solid var(--rule); padding-left:11px; margin-top:5px; max-width:76ch}
.kindmark{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:9.5px; letter-spacing:.06em;
  text-transform:uppercase; padding:3px 5px; border-radius:2px; flex:none; align-self:center; white-space:nowrap}
.kindmark.direct{background:var(--teal); color:var(--ground)}
.kindmark.reported{background:none; color:var(--faint); border:1px dashed var(--rule)}
.notin{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:10.5px; color:var(--faint);
  border:1px dashed var(--rule); border-radius:2px; padding:1px 4px}
.gapgrid{display:grid; gap:0; margin-top:6px}
.gaprow{display:grid; grid-template-columns:1fr auto; gap:3px 14px; padding:8px 0; border-bottom:1px solid var(--rule-soft); align-items:baseline}
.gaprow.has-thumb{grid-template-columns:46px 1fr auto}
.gaprow.has-thumb .gthumb{grid-row:1/3; width:46px; align-self:start}
.gaprow.has-thumb .gthumb .cover{width:46px}
.gaprow.has-thumb .gthumb .avatar{width:46px; height:46px}
.gaprow.has-thumb .gthumb .pic{width:46px; height:34px}
.gaprow.has-thumb .gthumb .flagimg{width:46px; height:32px}
.gaprow.has-thumb .gthumb .monogram.sm{width:46px; height:46px; font-size:15px}
.gaprow.has-thumb .m{grid-column:2/4}
.gaprow .w{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:15px}
.gaprow .m{grid-column:1/3; font-size:12.5px; color:var(--muted)}
.gaprow .n{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:12px; color:var(--faint)}
button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--brass); outline-offset:2px}
.hint{font-size:12.5px; color:var(--faint); padding:8px 0 0; display:flex; gap:14px; flex-wrap:wrap; align-items:baseline}

/* ---------- entries ---------- */
.entry{padding:26px 0 22px; border-bottom:1px solid var(--rule-soft)}
.entry-head{display:flex; gap:11px; align-items:baseline; flex-wrap:wrap}
.tier{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:10.5px; line-height:1;
  padding:3px 4px; border-radius:2px; flex:none;
}
.tier[data-t="1"]{background:var(--brass); color:var(--ground); font-weight:500}
.tier[data-t="2"]{background:var(--brass-soft); color:var(--brass); border:1px solid var(--brass)}
.tier[data-t="3"]{background:none; color:var(--muted); border:1px solid var(--rule)}
.tier[data-t="4"]{background:none; color:var(--faint); border:1px dashed var(--rule)}
.entry-head .tier{font-size:11px; padding:4px 5px; position:relative; top:-2px}
.entry h2{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600; font-size:22px;
  margin:0; letter-spacing:-.01em; line-height:1.2;
}
.role{color:var(--muted); font-size:13.5px; margin:5px 0 0; max-width:74ch}
.kindchip{
  font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--teal); border:1px solid var(--teal); border-radius:2px; padding:2px 5px;
  flex:none; position:relative; top:-2px;
}

/* books */
.books{margin:16px 0 0; border-top:1px solid var(--rule-soft)}
.bk{
  display:grid; grid-template-columns:auto 1fr auto; gap:2px 14px;
  padding:9px 0; border-bottom:1px solid var(--rule-soft); align-items:baseline;
}
.bk:last-child{border-bottom:none}
.bk .tier{grid-row:1; align-self:center}
.bk .t{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:16px; line-height:1.32}
.bk .yr{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap}
.bk .sub{grid-column:2/3; font-size:13px; color:var(--muted); line-height:1.45}
.bk .sub em{font-style:italic; color:var(--faint)}
.bk .links{grid-column:3/4; display:flex; gap:8px; justify-content:flex-end; white-space:nowrap}
.bk a.lk{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:11.5px; color:var(--muted); text-decoration:none; border-bottom:1px solid var(--rule)}
.bk a.lk:hover{color:var(--brass); border-bottom-color:var(--brass)}
.unver{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:11px; color:var(--faint); border:1px dashed var(--rule); padding:1px 4px; border-radius:2px}

/* letters / blog / articles */
.strip{margin:18px 0 0; padding:12px 0 12px 15px; border-left:2px solid var(--brass); background:linear-gradient(90deg,var(--surface),transparent 70%)}
.strip.plain{border-left-color:var(--rule)}
.strip h3{
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--brass); margin:0 0 6px; font-weight:600;
}
.strip.plain h3{color:var(--muted)}
.strip p{margin:0; font-size:13.5px; color:var(--muted); max-width:74ch}
.strip a.big{font-size:14.5px; color:var(--ink); text-decoration:none; border-bottom:1px solid var(--brass); word-break:break-word}
.strip a.big:hover{color:var(--brass)}
.arts{list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px}
.arts li{font-size:13.5px; line-height:1.4}
.arts a{color:var(--ink); text-decoration:none; border-bottom:1px solid var(--rule)}
.arts a:hover{border-bottom-color:var(--brass); color:var(--brass)}
.arts .pub{color:var(--muted); font-size:12.5px}
.pending{font-size:12.5px; color:var(--faint); margin-top:14px; font-style:italic}
.tagrow{display:flex; flex-wrap:wrap; gap:5px; margin-top:12px}
.tag{font-size:11.5px; color:var(--muted); background:var(--surface2); border-radius:2px; padding:2px 6px}

.recgroups{margin-top:14px}
.recgroup{margin-top:20px; padding-top:4px}
.wsub{font-size:12px; letter-spacing:.09em; text-transform:uppercase; color:var(--brass);
  margin:0 0 2px; padding-bottom:6px; border-bottom:1px solid var(--brass); font-weight:600}
.tsub{font-size:11.5px; letter-spacing:.06em; color:var(--muted); font-weight:600;
  margin:16px 0 0; padding-bottom:4px; border-bottom:1px solid var(--rule-soft)}
.tsub a{color:var(--teal); text-decoration:none; border-bottom:0}
.entry.collapsed .recgroups{display:none}
.grouphead{
  font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--brass);
  margin:36px 0 0; padding-bottom:7px; border-bottom:1px solid var(--brass); font-weight:600;
}
.count{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--faint); font-size:12px; font-weight:400}
.viewnote{font-size:13.5px; color:var(--muted); margin:20px 0 0; max-width:76ch; padding-left:13px; border-left:2px solid var(--rule)}

.allbk{padding:8px 0; border-bottom:1px solid var(--rule-soft); display:grid; grid-template-columns:auto 1fr auto; gap:2px 14px; align-items:baseline}
.allbk.has-thumb{grid-template-columns:52px auto 1fr auto}
.allbk.has-thumb .athumb{grid-row:1/3; width:52px; align-self:start}
.allbk.has-thumb .athumb .cover{width:52px}
.allbk.has-thumb .m{grid-column:3/5}
.allbk .t{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:15.5px}
.allbk .yr{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}
.allbk .m{grid-column:2/4; font-size:12.5px; color:var(--muted)}
.allbk a.lk{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:11.5px; color:var(--muted); text-decoration:none; border-bottom:1px solid var(--rule)}
.allbk a.lk:hover{color:var(--brass)}
.empty{padding:60px 0; text-align:center; color:var(--faint); font-size:14px}
/* ---------- phones ---------- */
/* The Filters button shows whenever the filter panel is hidden, below 1,024 px (1 Nov 2026: a rule
   here hid it from 761 to 1,023 px, so the panel could not be opened at those widths). */
.filterbtn{display:none; flex:none; font:inherit; font-size:13px; font-weight:500; color:var(--ink); background:var(--surface);
  border:1px solid var(--rule); border-radius:6px; padding:7px 12px; cursor:pointer; text-align:left}
.filterbtn::after{content:" ▸"; color:var(--brass)}
@media (max-width:1023px){ .controls .filterbtn{display:inline-block} }
@media (max-width:760px){
  .wrap{padding:0 14px}

  /* masthead: small enough that the list is visible on opening */
  header.mast{padding:14px 0 12px}

  /* the control panel must never be taller than the screen */
  .controls{padding:8px 0 9px; max-height:45vh; overflow-y:auto; -webkit-overflow-scrolling:touch}

  /* the filters live behind a button so the sticky bar stays short */
  /* Filters and the tab's search share one row, the search on the right; List and Grid shrink
     to their icons (Michael, 27 Oct 2026). */
  /* One row (28 Oct 2026): the tab's search, then Filters, then List and Grid on the right; the
     chosen filters as chips under it; no count. The grid's sort takes a row of its own. */
  .controls{display:flex; flex-wrap:wrap; align-items:center; gap:8px; overscroll-behavior:none}
  .controls .tabsearch{order:1; flex:1 1 120px; max-width:none; min-width:0}
  .controls .filterbtn{order:2}
  .controls .viewswitch{order:3; margin-left:0}
  .controls .viewswitch,.controls .viewswitch button{flex:none}
  .controls .gridsort{order:4; margin-left:auto}
  .controls .chips{order:5; margin-top:2px}
  .controls .hint{display:none}
  .viewswitch button{padding:7px 8px}
  #out,.tablewrap{overscroll-behavior:none}
  /* a table wider than the phone scrolls sideways inside its frame, so its last column (In) shows whole (28 Oct 2026) */
  .tablewrap{overflow-x:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:none}
  .filterbtn{
    display:block; width:auto; flex:none; font:inherit; font-size:13px; font-weight:500;
    color:var(--ink); background:var(--surface); border:1px solid var(--rule);
    border-radius:4px; padding:9px 12px; cursor:pointer; text-align:left;
  }
  .filterbtn::after{content:" ▸"; color:var(--brass)}
  .filterbtn[aria-expanded="true"]::after{content:" ▾"}
  .toolrow[hidden]{display:none}
  .toolrow{margin-top:8px; padding-top:8px; gap:9px}
  .sortbox,.tiers{flex-wrap:wrap}
  .hint{padding-top:6px; font-size:12px}

  /* only the counts that matter on a small screen */

  /* content */
  .tilegrid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr)); gap:10px}
  /* one book to a row on a phone (Round 43, B-21; two from 28 Oct 2026) */
  .bookgrid{grid-template-columns:minmax(0,1fr); gap:0}
  .bcard{padding:16px 10px}
  .bcard .bcov img,.bcard .bcov .cover{max-height:140px}
  .tile{padding:10px 8px}
  .tile .timg{height:76px}
  /* people two to a row, as books were before Round 43 (P-38) */
  .tilegrid.ptiles{grid-template-columns:repeat(2,minmax(0,1fr)); gap:0}
  .ptiles .tile{padding:16px 8px}
  .ptiles .tile .timg{height:auto}
  .ptiles .tile .avatar.big{width:88px; height:88px}
  .prow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .avatar.big{width:64px; height:64px}
  .avatar.big.ph{font-size:22px}
  .monogram{width:62px; height:62px; font-size:19px}
  .pic.big{width:104px; height:74px}
  .flagimg.big{width:60px; height:41px}
  .entry h2{font-size:19px}
  .viewnote,.role,.strip p{max-width:none}
  .pager button{padding:7px 10px}

  /* a book row on a phone is a cover on the left and everything else stacked beside it */
  body .bk, body .bk.has-thumb{grid-template-columns:56px minmax(0,1fr); gap:2px 10px; padding:11px 0}
  body .bk .thumb, body .bk.has-thumb .thumb{grid-column:1; grid-row:1 / span 6; width:56px; align-self:start}
  body .bk .tier, body .bk.has-thumb .tier,
  body .bk .kindmark, body .bk.has-thumb .kindmark{grid-column:2; grid-row:auto; justify-self:start; margin-bottom:2px}
  body .bk .t, body .bk.has-thumb .t{grid-column:2; font-size:15px}
  body .bk .yr, body .bk.has-thumb .yr{grid-column:2; font-size:12px}
  body .bk .sub, body .bk.has-thumb .sub{grid-column:2; font-size:12.5px}
  body .bk .links, body .bk.has-thumb .links{grid-column:2; justify-content:flex-start; flex-wrap:wrap; gap:10px; margin-top:3px}
  body .bk .recrow, body .bk.has-thumb .recrow,
  body .bk .quote, body .bk.has-thumb .quote{grid-column:2; margin-left:0}
  .bk.is-start .t::after{display:inline-block; margin:2px 0 0 6px}

  body .allbk, body .allbk.has-thumb{grid-template-columns:52px minmax(0,1fr); gap:2px 10px}
  body .allbk .athumb, body .allbk.has-thumb .athumb{grid-column:1; grid-row:1/span 4}
  body .allbk .tier, body .allbk .t, body .allbk .yr, body .allbk .m,
  body .allbk.has-thumb .tier, body .allbk.has-thumb .t,
  body .allbk.has-thumb .yr, body .allbk.has-thumb .m{grid-column:2}
  body .gaprow.has-thumb{grid-template-columns:40px minmax(0,1fr) auto}
  body .gaprow.has-thumb .m{grid-column:2/4}

  .startpath{padding:10px 12px}
  .strip{padding-left:11px}
  .appear summary{font-size:12px}
  .arts li{font-size:13px}
  .tagrow{gap:4px}
  .tag{font-size:11px}
}
@media (max-width:640px){
  .bk{grid-template-columns:auto 1fr}
  .bk .links,.bk .sub{grid-column:1/3}
  .bk .links{justify-content:flex-start}

}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* The browse cards: genbrowse.py's pages and the research page's Browse tab. Every picture is one
   size (--th, 3:4), three to a card at most. Every card on a page is one size (Michael, 22 Oct
   2026): three pictures wide, and every row as tall as the tallest card, with the name and the
   description held to two lines each. A card is a link, so it states its own borders against the
   rule that takes the underline off links inside the shelf. */
.cards{--th:76px; --cw:calc(var(--th) * 3 + 12px + 26px); display:grid; grid-template-columns:repeat(auto-fill, var(--cw));
  grid-auto-rows:1fr; gap:16px; margin:14px 0 30px}
@media (max-width:700px){.cards{--th:44px; --cw:calc(var(--th) * 3 + 12px + 22px); gap:10px}}
.ecard{display:flex; flex-direction:column; box-sizing:border-box; width:100%; min-width:0;
  padding:12px; border:1px solid var(--rule)!important; border-radius:8px;
  color:var(--ink)!important; text-decoration:none!important; background:var(--surface)}
@media (max-width:700px){.ecard{padding:10px}}
.wrap a.ecard.ecard,#out a.ecard.ecard{border-bottom:1px solid var(--rule)!important}
.ecard:hover,.wrap a.ecard.ecard:hover,#out a.ecard.ecard:hover{border-color:var(--brass)!important}
.ecard:hover b{color:var(--brass)}
.pics{display:flex; gap:6px; margin-bottom:10px}
.th{display:block; position:relative; flex:none; width:var(--th); height:calc(var(--th) * 4 / 3); background:var(--surface2);
  border:1px solid var(--rule); border-radius:3px; overflow:hidden; box-sizing:border-box}
.th img{position:absolute; inset:0; width:100%; height:100%; max-width:none; margin:0; object-fit:cover}
.th.tlogo,.th.tflag{background:#fff}
.th.tlogo img,.th.tflag img{object-fit:contain; padding:8%; box-sizing:border-box}
.th.ini{display:flex; align-items:center; justify-content:center; font-size:16px; color:var(--muted)}
.ecard b{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:14px; font-weight:600;
  line-height:1.3; overflow-wrap:break-word; hyphens:auto}
.ecard span.d{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:12px;
  line-height:1.4; color:var(--muted); margin-top:3px}
.ecard span.n{display:block; font-size:12px; color:var(--faint); margin-top:auto; padding-top:4px; font-variant-numeric:tabular-nums}
.ecard.grp b::after{content:" ›"; color:var(--faint)}
/* The index: cards of one height, three to a row, each listing what it holds in three lines. */
.cards.kinds{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch}
@media (max-width:700px){.cards.kinds{grid-template-columns:minmax(0,1fr)}}
.kinds .ecard{width:auto; min-width:0; height:122px; padding:14px 16px; overflow:hidden}
.kinds .ecard b{font-size:16px; margin-bottom:4px}
.kinds .ecard span.n{margin-top:0; padding-top:0; font-size:12.5px; color:var(--muted); line-height:1.5; display:-webkit-box; -webkit-box-orient:vertical;
  -webkit-line-clamp:3; overflow:hidden}
.blead{color:var(--muted); max-width:760px}
.blead a{color:var(--brass)}
.bothers{font-size:13.5px; line-height:1.9; margin:8px 0 30px}
.bothers a{color:var(--brass)!important; text-decoration:none; margin-right:12px; white-space:nowrap}
.bh2{font-size:19px; margin:30px 0 0; padding-bottom:7px; border-bottom:2px solid var(--brass); font-weight:600}
/* A picture's box shimmers until the picture has loaded, then the picture fades in (1 Nov 2026) */
.th:not(.ok):not(.ini){background:linear-gradient(100deg,var(--surface2) 30%,var(--surface) 50%,var(--surface2) 70%) 0 0/300% 100%;animation:thload 1.2s linear infinite}
.th img{opacity:0;transition:opacity .25s}
.th.ok img{opacity:1}
@keyframes thload{from{background-position:100% 0}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.th:not(.ok):not(.ini){animation:none}}

/* A rail section with one tab hides the band of tabs (21 Oct 2026); phones, which have no rail, keep it. */
body.onetab .tabband{display:none}
/* ---- Round 37 item 12 (begin) ----
   Michael: "sometimes when I select a section in the rail, for a second a bar with sections shows up
   on top of the page mid loading". The band held all ten tabs, and the filter panel and search row
   Experts', until the script marked the place, which on the site waits for the data (seconds on a
   slow line). The band, the panel and the search row stay unseen until the place is set:
   SHELF_EARLY below sets it from the address before the first paint, markCurrent otherwise. They
   keep their room, so nothing moves when they show. */
html:not(.shelfset) .tabband, html:not(.shelfset) .filters, html:not(.shelfset) .controls{visibility:hidden}
/* ---- Round 37 item 12 (end) ---- */
/* Books › Browse holds cards, with no filter panel and no search row. */
body.nofilter .cols{grid-template-columns:minmax(0,1fr)}
body.nofilter .filters,body.nofilter .controls{display:none}
/* Search results show only the results (Michael, Round 32 item 15): no filter panel, tabs or tab
   search row of the section the reader came from. */
body.searching .cols{grid-template-columns:minmax(0,1fr)}
body.searching .filters,body.searching .controls,body.searching .tabband{display:none}
#out .btrail{font-size:13px; color:var(--muted); margin:20px 0 6px; display:flex; flex-wrap:wrap; gap:6px}
#out .btrail a{color:var(--brass)}
.bh1{font-size:26px; margin:6px 0 6px}
/* A page inside the main area: the frame fills it, with no filter panel and no search row. */
body.inpage #out{overflow:hidden; padding:0}
/* Round 40 item 5 (Michael's screenshot: Ben Horowitz's page beside the Experts filter panel): the
   rule holds whatever marks the rail. A framed page tells this page where it is ('at') after a link
   inside it opens a page of another section, and marking that section had turned the panel back on. */
body.inpage .cols{grid-template-columns:minmax(0,1fr)}
body.inpage .filters,body.inpage .controls{display:none}
/* A framed page fills the main area edge to edge, so it scrolls wherever the pointer is; the page
   centres its own content (27 Oct 2026). */
body.inpage .wrap{max-width:none; padding:0}
body.inpage .cols{gap:0}
.pageframe{display:block; width:100%; height:100%; border:0; background:var(--ground)}
/* Books › People: the industries as a plain list; one at a time. */
.indlist{display:flex; flex-direction:column; gap:1px; margin:14px 0 0}
.indlist h4{margin:0 0 6px; font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--faint)}
.indlist button{font:inherit; font-size:13.5px; text-align:left; color:var(--muted); background:none; border:0; border-radius:6px;
  padding:5px 8px; cursor:pointer; display:flex; gap:8px}
.indlist button .c{margin-left:auto; font-size:11.5px; color:var(--faint); font-variant-numeric:tabular-nums}
.indlist button:hover{color:var(--ink); background:var(--surface2)}
.indlist button[aria-pressed="true"]{color:var(--brass); background:var(--brass-soft); font-weight:600}
/* Links (20 Oct 2026): a link inside the shelf carries no underline; a link that leaves it does. */
#out a:not([href^="http"]):not(.tile):not(.ecard):not(.chip){border-bottom:0; text-decoration:none}
#out a[href^="http"]{border-bottom:0; text-decoration:underline; text-decoration-color:var(--faint); text-underline-offset:2px}
#out a[href^="http"]:hover{text-decoration-color:currentColor}
