/* Risk Monitor, others tab: styles this tab alone needs. The shared vocabulary is in style.css. Colors only from the theme. */

/* the topic filter: ten chips of one fixed size (wide enough for the longest topic), and the count under them */
#others-filter { margin: 14px 0 0; }
#others-filter .chips button { width: 184px; }
#others-filter .showing { margin: 10px 0 0; color: var(--ink); }
@media (max-width: 760px) {
  #others-filter .chips button { width: calc(50% - 3px); font-size: 12.5px; }
}

/* official reports: one group for each publisher, its newest document first, the earlier ones folded */
#tab-others .pub { margin: 22px 0 0; }
#tab-others .pub:first-child { margin-top: 12px; }
#tab-others .pubname { font-size: 16px; margin: 0; }
#tab-others .morefrom { margin: 10px 0 0; }
#tab-others .morefrom > summary { cursor: pointer; font-size: 13.5px; color: var(--accent); padding: 5px 0; width: fit-content; max-width: 100%; }
#tab-others .morefrom > summary:hover { text-decoration: underline; }
#tab-others .none { margin: 12px 0 0; }
#tab-others .pair h3 { margin-top: 14px; }

/* a report or a voice: the title or the name on the left, its date on the right, always in view */
#tab-others .qhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 18px; }
#tab-others .qhead .who { min-width: 0; flex: 1 1 240px; }
#tab-others .qhead .who a { text-underline-offset: 3px; }
#tab-others .qdate { font-size: 13.5px; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
#tab-others .age { display: inline-block; margin-left: 8px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--warn); font-size: 11.5px; font-weight: 400; line-height: 1.6; }
#tab-others .qcard .meta { margin: 3px 0 0; }
#tab-others .qcard .meta a { color: inherit; }
#tab-others .piece { font-size: 14px; line-height: 1.45; margin: 6px 0 0; }
#tab-others .piece .outlet { display: block; font-size: 12.5px; color: var(--muted); }
#tab-others .piece .outlet a { color: inherit; }
#tab-others .qcard .gist { margin: 10px 0 0; }
#tab-others .gtag { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; color: var(--muted); margin: 0 0 1px; }

/* a quotation: the author's words in the blockquote; under it, where they are in the document, and the topic */
#tab-others .q { margin: 12px 0 0; }
#tab-others .q blockquote { margin: 0; overflow-wrap: anywhere; }
#tab-others .q .where { font-size: 12px; line-height: 1.45; color: var(--muted); margin: 3px 0 0; padding-left: 15px; overflow-wrap: anywhere; }
#tab-others .q .topic { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; line-height: 1.5; white-space: nowrap; color: var(--ink); }

/* the numbers a report prints: a long table kept small, scrolling inside its own box under a heading that stays */
#tab-others .numbers { margin: 12px 0 0; }
#tab-others .numbers .tablewrap { max-height: 420px; overflow-y: auto; }
#tab-others .numbers .tablewrap::-webkit-scrollbar { width: 9px; }
#tab-others .numbers .tbl thead th { position: sticky; top: 0; z-index: 2; background: var(--mf-bg); box-shadow: 0 1px 0 var(--line); }
#tab-others .numbers .tbl td.what { min-width: 260px; max-width: 460px; line-height: 1.4; }
#tab-others .numbers .tbl td.per { min-width: 150px; max-width: 260px; line-height: 1.4; }
#tab-others .numbers .tbl td { font-size: 13px; }
@media (max-width: 720px) {
  #tab-others .numbers .tbl td.what { min-width: 210px; }
  #tab-others .numbers .tbl td.per { min-width: 130px; }
}
