/* The founder's tools (/founder/, Eve 11-15): the totals as small tiles, then tables in boxes (market.css .panel), each
   wide one in its own scroll box so the page itself never scrolls sideways on a phone. The accounts table is market.css's
   .t, laid out by its contents here instead of fixed columns. */
.nwrap.founder { max-width: 1400px; padding-top: 10px; }
.fsign { display: flex; justify-content: center; margin-top: 6px; }
.fsign .btn { margin-left: 0; height: 34px; padding: 0 22px 2px; font-size: 15.5px; }
.fall { display: grid; gap: 12px; }
.fall .ptitle { margin-bottom: 10px; }

/* the totals: one tile a number, wrapping */
.ftiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.ftile { min-width: 0; padding: 8px 10px; border: 1px solid var(--rule2); border-radius: 3px; background: rgba(0, 0, 0, .25); }
.ftile b { display: block; font: 22px/1.15 var(--num); color: #fff; font-variant-numeric: tabular-nums; }
.ftile span { display: block; font: 12.5px/1.3 var(--num); color: var(--ink2); }
.ftile small { display: block; margin-top: 2px; font: 12px/1.35 var(--num); color: var(--muted); overflow-wrap: anywhere; }
.ftile.wide { grid-column: 1 / -1; }

/* couriers: how many run now (a range), its check, the 0.1.1 line, and 48 hours of pulls as bars (oldest left) */
.fcour { display: grid; gap: 4px; }
.fbig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.fbig b { font: 40px/1.05 var(--num); color: #fff; font-variant-numeric: tabular-nums; }
.fbig span { font: 16px/1.2 var(--num); color: var(--ink2); }
.fcour .fnote { margin: 0; font: 12.5px/1.4 var(--num); color: var(--muted); }
.fcour .fnote.fcheck { color: var(--ink2); }
.fdev { margin: 4px 0 6px; font: 13.5px/1.4 var(--num); color: var(--ink); }
.fdev .k { margin-right: 8px; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--cu-hi); }
.fwell { padding: 8px 10px 6px; border: 1px solid var(--rule2); border-radius: 3px; background: rgba(0, 0, 0, .25); }
.fstrip { display: flex; align-items: flex-end; gap: 1px; height: 84px; margin-top: 8px; border-bottom: 1px solid var(--rule2); }
.fstrip i { flex: 1 1 0; min-width: 0; height: 0; background: var(--cu); border-radius: 1px 1px 0 0; }
.fstrip i:hover { background: var(--cu-hi); }
.fstrip i.now { background: var(--cu-lo); box-shadow: inset 0 0 0 1px var(--cu); }
.fstrip i.miss { height: 3px; background: var(--faint); }
.fdays { display: flex; gap: 1px; margin-top: 3px; font: 11.5px/1.3 var(--num); color: var(--muted); }
.fdays span { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: visible; }

/* downloads (11-18): a tile a source (the totals' tiles), the couriers by where their add-on came from, then the days */
.fdlsrc { display: grid; gap: 4px; margin-bottom: 10px; }
.fdlsrc .fdev { margin: 6px 0 0; }
.fdlsrc .fdev .sub2 { font-size: 12px; color: var(--muted); }
.fdlsrc .fnote { margin: 0; font: 12.5px/1.4 var(--num); color: var(--muted); }

/* the bar over a table: search, picker, count */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.box.fq { flex: 1 1 260px; min-width: 0; max-width: 460px; font: 14px var(--num); }
.fcount { margin: 0; }
.fcount button, .fact button.fwho, .ftable button.flink { padding: 0; border: 0; background: none; font: inherit; color: var(--cu-hi); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.fcount a, .ftable a, .fact a { color: var(--cu-hi); }

/* a wide table's own scroll box */
.fscroll { max-height: 640px; overflow: auto; border: 1px solid #000; background: var(--well); box-shadow: 0 0 0 1px var(--rule2), inset 0 2px 6px rgba(0, 0, 0, .7); overscroll-behavior: contain; }
.fscroll.short { max-height: 420px; }
table.ftable { table-layout: auto; min-width: 100%; width: auto; }
.ftable th { white-space: nowrap; text-align: left; }
.ftable th.r { text-align: right; }
.ftable th button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-shadow: inherit; }
.ftable th[aria-sort="ascending"] button::after { content: " \25B2"; font-size: 9px; }
.ftable th[aria-sort="descending"] button::after { content: " \25BC"; font-size: 9px; }
.ftable td { height: auto; padding: 5px 8px; text-align: left; white-space: nowrap; overflow: visible; font-size: 13.5px; vertical-align: top; }
.ftable td.r { text-align: right; }
.ftable td.wrap { display: table-cell; white-space: nowrap; line-height: 1.45; }   /* market.css .wrap is the page grid: without this the names sit in its two columns, one over the other */
.ftable .ch { display: block; white-space: nowrap; line-height: 1.45; min-height: 1.45em; }
.ftable .ch .lv { font-size: 12px; color: var(--muted); }
.ftable td .sub { display: block; font-size: 12px; color: var(--muted); }
.ftable tbody tr { scroll-margin-top: 36px; }
.ftable tbody tr:target { background: rgba(253, 164, 85, .14); box-shadow: inset 2px 0 0 var(--cu-hi); }
.ftable .anon { color: var(--ink2); font-style: italic; }
.ftable .tag { display: inline-block; margin-left: 4px; padding: 0 5px; border: 1px solid var(--rule2); border-radius: 3px; font-size: 11.5px; color: var(--ink2); }
.ftable .tag.cu { border-color: var(--cu); color: var(--cu-hi); }
.ftable .none { color: var(--faint); }
.fempty { margin: 6px 0 0; font: 13.5px var(--num); color: var(--muted); }

/* the activity: one line an event, newest first */
.fact { list-style: none; margin: 0; padding: 0; }
.fact li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 2px 10px; padding: 5px 10px; font: 13.5px/1.4 var(--num); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.fact li:nth-child(odd) { background: rgba(255, 255, 255, .022); }
.fact time { color: var(--muted); font-variant-numeric: tabular-nums; }
.fact .what { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.fact .quote { color: var(--ink2); }
.fact .k { margin-right: 6px; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--cu-hi); }
.fact li.store .what { color: var(--ink2); font-style: italic; }

@media (max-width: 760px) {
  .ftiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .fact li { grid-template-columns: minmax(0, 1fr); }
  .fscroll { max-height: 520px; }
}
