/* learnmingo.com - the desk: the Usage page and People's Usage block (on top of /desk/desk.css and /desk/stats.css; DESK.md
   "Usage"). Only what is the page's own: the column rails of its hand-built tables, the settings chips, a device's sections. */
.us-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dk-t.us-cohort { --cols: minmax(0, 1fr) var(--rail-count) repeat(3, minmax(84px, .7fr)); --cols-phone: minmax(0, 1fr) 40px repeat(3, minmax(62px, .8fr)); }
.dk-t.us-stories { --cols: minmax(0, .8fr) minmax(0, 1fr) repeat(3, minmax(72px, .6fr)) minmax(120px, .9fr); --cols-phone: minmax(0, .9fr) minmax(0, 1fr) repeat(3, minmax(40px, .5fr)) minmax(94px, .8fr); }
.dk-t.us-slots { --cols: minmax(0, 1fr) repeat(3, minmax(72px, .6fr)) minmax(120px, .9fr); --cols-phone: minmax(0, 1fr) repeat(3, minmax(40px, .5fr)) minmax(94px, .8fr); }
.dk-t.us-days { --cols: var(--rail-time) minmax(0, 1fr); --cols-phone: 58px minmax(0, 1fr); }
.dk-t.us-days.us-days-dev { --cols: var(--rail-time) minmax(0, .5fr) minmax(0, 1.5fr); --cols-phone: 58px minmax(0, .6fr) minmax(0, 1.4fr); }
.us-day { text-align: left; }
.us-day-what { white-space: normal; overflow-wrap: anywhere; }

/* a device: its facts, then its sections under plain headings */
.us-device { min-width: 0; padding: 4px 0 6px; }
.us-device + .us-device, .us-device + .us-sub { margin-top: 16px; }
.us-sub { min-width: 0; margin-top: 14px; }
.us-h { margin: 0 0 4px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--w-ink); }
.us-h-dev { font-size: 14px; }
.us-person > .dk-plain { padding: 4px 0 0; }

/* the settings snapshot: one chip per setting, its name then its value in ink */
.us-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.us-chip { margin: 0; color: var(--w-ink); white-space: normal; overflow-wrap: anywhere; }
.us-chip-k { color: var(--w-ink-2); }

@media (max-width: 620px) {
  .us-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the surface filter's full names (Windows app · Chrome extension · Web app, worker/lib.js deviceLabel) fit a phone with less padding */
@media (max-width: 420px) {
  #pg-usage .st-bar .dk-seg button { padding: 0 7px; }
}
