/* ===========================================================================
   Company drawer
   =========================================================================== */

.drawer__kicker {
  font-size: 12.5px; font-weight: var(--weight-strong); letter-spacing: .01em; color: var(--muted);
}

/* Overview: the business at a glance. Small containers side by side, each
   its title over its figure: the fit and what the business is worth (the
   best pain point leads the ranked list under them). Other tabs' strips hold
   three, and on a narrow drawer the third takes the next row. The value's
   title carries the drawer's pencil. */
.ovcard, .ovglance { container-type: inline-size }
.ovglance__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px }
/* Two figures (Overview's fit and value) share the row evenly. */
.ovglance__grid:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
.ovsum__cell { display: flex; flex-direction: column; gap: 8px; min-width: 0 }
/* The same cells as a strip in one container, split by hairlines. */
.ovsum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) }
.ovsum > .ovsum__cell { padding: 0 24px }
.ovsum > .ovsum__cell:first-child { padding-left: 0 }
.ovsum > .ovsum__cell + .ovsum__cell { border-left: 1px solid var(--hair) }
/* Type from the drawer scale at the end of this file (Section). */
.ovsum__label { display: flex; align-items: center; gap: 2px }
.ovsum__edit { width: 26px; height: 26px; margin: -3px 0 }
.ovsum__edit .ms { font-size: 16px }
/* The small pencil keeps its 26px glyph, but a thumb gets 44px around it. */
@media (pointer: coarse) { .ovsum__edit::after { inset: -9px } }
.ovsum__fit { display: flex; align-items: center; gap: 12px; min-height: 62px }
.ovsum__state { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: var(--weight-strong); white-space: nowrap }
.ovsum__state .ms { font-size: 17px; font-variation-settings: 'FILL' 1 }
.ovsum__state.is-good { color: #1E7A4A }
.ovsum__state.is-low { color: #8A5A00 }
.ovsum__state.is-none { color: var(--muted) }
/* Not scored yet but scheduled (fitDue): the night in ink over what happens
   then and at what time, in the label's size, so it wraps to two lines and
   never runs out of a phone's narrow container. */
.ovsum__due { align-items: flex-start; white-space: normal }
.ovsum__due > span { display: grid; gap: 2px }
.ovsum__due b { color: var(--text); font-weight: var(--weight-strong) }
.ovsum__due small { font-size: 12.5px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums }
.ovsum__value {
  display: flex; align-items: baseline; gap: 4px; min-height: 62px; padding-top: 12px;
  font-size: 30px; font-weight: var(--weight-strong); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ovsum__value span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted) }
.ovsum__field { max-width: 300px; margin-top: 8px }
/* Overview's two figures use the contact drawer's glance layout (.ctov__fig):
   what the value is sits under it with the pencil on the same line. */
.ctov__read > .ovsum__field { margin: 0 0 2px }
.drawer__body .ctov__read .ovsum__what { align-items: center; gap: 2px }
.ovsum__what .ovsum__edit .ms { margin-top: 0 }
.ctov__read .ovsum__state { white-space: normal }
.ovsum__field .input { height: 42px; padding-right: 40px; font-size: 17px; font-weight: var(--weight-strong); font-variant-numeric: tabular-nums }
/* Est. value written in place: the same compact box, in the figure's own
   type, the £ on the figure's own £ and the height it adds hung above and
   below it, so the figures beside it and the containers under it hold still. */
.ctov__read > .ovsum__field:has(> .infield) { margin: 0; max-width: none }
.ovsum__field > .infield { --in-pad: 2px; --in-h: 26px; width: 100%; max-width: 300px; margin: -4px 0 -3px }
.ovsum__field .infield .input { height: var(--in-h); padding-left: 19px; padding-right: 36px; font-size: 20px; font-weight: 600; letter-spacing: -.02em }
.ovsum__field .infield .editinfo__mark { left: 6px; font-size: 20px; font-weight: 600; color: var(--text) }
/* In a phone's half-width tile the digits need the room, and "a year" is
   already said under the field. */
@container (max-width: 440px) {
  .ovsum__field .infield .ovsum__per { display: none }
  .ovsum__field .infield .input { padding-right: 4px; padding-left: 17px; font-size: 17px }
  .ovsum__field .infield .editinfo__mark { font-size: 17px }
}
.ovsum__per {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--muted); pointer-events: none;
}
@container (max-width: 560px) {
  .ovglance__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .ovglance__grid > :nth-child(3) { grid-column: 1 / -1 }
  .ovsum { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .ovsum > .ovsum__cell:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hair); margin-top: 16px; padding: 16px 0 0 }
  .ovsum > .ovsum__cell { padding: 4px 14px }
  .ovsum > .ovsum__cell:first-child { padding-left: 0 }
  .ovsum__fit { flex-wrap: wrap; gap: 8px 12px }
  .ovsum__value { font-size: 24px; flex-wrap: wrap }
}

.wheel--lg { width: 62px; height: 62px; flex: 0 0 62px }
.wheel--lg .wheel__inner { width: 48px; height: 48px; font-size: 18px; background: var(--card) }

/* Overview's section headings: a heading you read first, not a caption. */
/* Type from the drawer scale at the end of this file (Section). */
.ovhead { display: flex; align-items: baseline; gap: 8px; margin: 0 }

/* Contact methods: each channel in three rows that line up from channel to
   channel: its mark and name, then what went out and what came back as two
   rings, each its number over its word (sent in the channel's colour, replied
   in green), then when it was last used, or "Not contacted", as a label along
   the bottom. A channel never used keeps its place with its mark, name and
   empty rings faded. With the room, five columns side by side split by hairlines, as the
   fit strip under it is; on a phone, a row per channel, its figures in two
   columns that line up down the list and "Last" under its name. */
.chlist { list-style: none; margin: 0; padding: 0 }
.chlist__row {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px;
  grid-template-areas: "mark name figs" "mark when figs";
  min-height: 58px; padding: 8px 0;
}
.chlist__row + .chlist__row { border-top: 1px solid var(--hair) }
/* With no heading over it, the list starts and ends on the container's
   padding, so the gap is even all round. */
.chlist__row:first-child { padding-top: 0 }
.chlist__row:last-child { padding-bottom: 0 }
.chlist__mark { grid-area: mark; display: inline-flex; justify-content: center }
.chlist__mark .ms { font-size: 20px }
.chlist__mark svg { width: 18px; height: 18px }
.chlist__name { grid-area: name; align-self: end; min-width: 0 }
/* With no "Last" under it, the name takes the row's middle. */
.chlist__row:not(:has(.chlist__when)) .chlist__name { grid-row: 1 / -1; align-self: center }
.chlist__when { grid-area: when; align-self: start; white-space: nowrap }
.chlist__figs { grid-area: figs; display: flex; gap: 8px }
/* A ring over its word, each column as wide as the widest word ("connected"). */
.chlist__fig { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; line-height: 1.15 }
.chlist__fig.is-on > span { color: #1E7A4A }
.chlist__none { white-space: nowrap }
/* Unused: the mark, name and empty rings fade; what it says stays legible. */
.chlist__row.is-unused :is(.chlist__mark, .chlist__name, .chlist__figs) { opacity: .42 }
@container (min-width: 600px) {
  .chlist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) }
  .chlist__row {
    grid-template-columns: 20px minmax(0, 1fr); grid-template-areas: "mark name" "figs figs" "when when";
    align-items: start; align-content: start; gap: 14px 8px; min-height: 0; padding: 0 16px;
  }
  .chlist__row:first-child { padding-left: 0 }
  .chlist__row + .chlist__row { border-top: 0; border-left: 1px solid var(--hair) }
  .chlist__mark { height: 21px; align-items: center }
  .chlist__row .chlist__name, .chlist__row:not(:has(.chlist__when)) .chlist__name { grid-row: auto; align-self: center }
  .chlist__when { margin-top: -4px }
  .chlist__figs { gap: 4px }
  .chlist__fig { width: auto; min-width: 52px }
}

/* Overview — pain point breakdown */
.lever { background: var(--page); border: 1px solid transparent; border-radius: 16px; padding: 16px 18px }
.lever__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px }
.lever__rank {
  min-width: 14px; font-size: 14px; font-weight: var(--weight-strong); color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.lever__name { min-width: 0; font-size: 15.5px; font-weight: var(--weight-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.lever__end { margin-left: auto; display: flex; align-items: center; gap: 10px }
.lever__bar { width: 112px; height: 8px; border-radius: var(--r-pill); background: var(--card); overflow: hidden }
.lever__bar i { display: block; height: 100%; border-radius: var(--r-pill) }
/* The column's key, in the heading line, ends over the scores: past the
   chevron's 20px and the row's gap. */
.lever__key { margin-left: auto; padding-right: 32px; white-space: nowrap }
@media (max-width: 479px) { .lever__top { gap: 8px } .lever__bar { width: 44px } .lever__key { padding-right: 28px } }
.lever__score { min-width: 26px; text-align: right; font-size: 15.5px; font-weight: var(--weight-strong); font-variant-numeric: tabular-nums }
.lever__note { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 10px }
/* A pain point with reasoning opens on a click; the chevron turns to say so. */
details.lever > summary { list-style: none; cursor: pointer; margin-bottom: 0 }
details.lever > summary::-webkit-details-marker { display: none }
div.lever > .lever__top { margin-bottom: 0 }
.lever__more { width: 20px; flex: 0 0 20px; font-size: 20px; color: var(--muted); transition: transform .18s ease }
details.lever[open] .lever__more { transform: rotate(180deg) }
details.lever > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 8px }

/* A pain point, opened: a short timeline, the problem, where it was found,
   how it would be solved. Each step is a coloured icon on one hairline that
   hangs from the row's rank, as incident.io runs an incident's events: the
   problem in the colour of trouble, the proof in the accent, the answer in
   the colour of going well. Sources are rows split by hairlines. */
.levers { display: flex; flex-direction: column }
.ppline { list-style: none; margin: 2px 0 0 -5px; padding: 12px 0 2px; max-width: 760px }
.ppline__step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 20px }
.ppline__step:last-child { padding-bottom: 4px }
.ppline__step:not(:last-child)::before {
  content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 2px;
  border-radius: 1px; background: var(--line);
}
.ppline__node { width: 24px; height: 24px; display: grid; place-items: center }
.ppline__node .ms { font-size: 19px; font-variation-settings: 'FILL' 1 }
/* Each step's icon in the text's colour: its shape tells the steps apart. */
.ppline__node .ms { color: var(--text) }
.ppline__body { min-width: 0 }
.ppline__head { display: flex; align-items: center; gap: 8px; min-height: 24px; margin-bottom: 4px }
.ppline__head h4 { margin: 0; font-size: 14px; font-weight: var(--weight-strong); color: var(--text) }
.ppline__count { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums }
.ppline__when {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--muted); white-space: nowrap;
}
.ppline__when .ms { font-size: 15px }
.ppline__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); max-width: 68ch }
.ppline__text.is-none { color: var(--muted) }
.ppline__proof { margin: 10px 0 0; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: #1E7A4A; max-width: 68ch }
.ppline__proof .ms { font-size: 17px; flex: 0 0 auto; font-variation-settings: 'FILL' 1 }
.ppsrcs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column }
.ppsrcs li + li { border-top: 1px solid var(--hair) }
.ppsrc { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; color: inherit; text-decoration: none }
.ppsrcs li:first-child .ppsrc { padding-top: 4px }
a.ppsrc:hover q { color: var(--coral) }
a.ppsrc:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px }
.ppsrc__mark { flex: 0 0 20px; height: 21px; display: grid; place-items: center; color: var(--muted) }
.ppsrc__mark .ms { font-size: 17px }
.ppsrc__said { min-width: 0; display: flex; flex-direction: column; gap: 3px }
.ppsrc__said q { font-size: 14px; line-height: 1.5; color: var(--text); quotes: "\201C" "\201D" }
.ppsrc__meta { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 12px; color: var(--muted); min-width: 0 }
.ppsrc__meta b { font-weight: var(--weight-strong); color: var(--text) }
.ppsrc__go { margin-left: auto; flex: 0 0 auto; font-size: 16px; color: var(--muted); margin-top: 2px }

/* A contact's state: an icon and a short word, in the state's colour. */
.statemark {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 12px; font-weight: var(--weight-strong);
}
.statemark .ms { font-size: 17px }
.statemark--good { color: #23794C }
.statemark--teal { color: color-mix(in srgb, var(--teal) 60%, var(--ink)) }
.statemark--muted { color: var(--muted) }
.statemark--bad { color: var(--bad) }
.statemark--warn { color: #8A5A00 }
/* The thread's last line when the person is not to be answered. */
.thread__end { display: flex; justify-content: center; padding: 6px 0 2px }

/* Research
   The briefing before getting in touch, in Overview's containers: what we'd
   lead with, three headline figures, the business, then the news. Each part
   carries its own age beside its heading, and one Research again serves the
   tab. Sizes come from the drawer type scale at the end of this file. */
.factbox__label { font-size: 12px; font-weight: var(--weight-strong); color: var(--muted); text-transform: capitalize; margin-bottom: 6px }
.rsch__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 16px }
.rsch__head .ovhead { margin-right: auto }
.drawer__body .rsch__head .ovhead { margin-bottom: 0 }
.rsch__fresh {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  font-size: 12px; font-weight: var(--weight-strong); color: var(--muted); font-variant-numeric: tabular-nums;
}
/* Research read both places and found little written about the business
   (research_state thin): said quietly beside how fresh it is. */
.rsch__thin { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; white-space: nowrap; color: var(--muted) }
.rsch__thin .ms { font-size: 16px }
.rsch__again .ms { font-size: 16px }

/* Overview's cover: the photo the company's homepage leads with, edge to
   edge across the top of its container, under the container's own rounded
   corners (one less than its 16px, inside the 1px edge). The page grey holds
   the room while the picture arrives, and a placeholder holds it when there
   is none. */
.drawer__body .card.ovbox .ovcover {
  margin: -20px -22px 18px; height: 200px; overflow: hidden;
  border-radius: 15px 15px 0 0; background: var(--page);
}
.ovcover img { display: block; width: 100%; height: 100%; object-fit: cover }
.ovcover--none { display: grid; place-items: center }
@media (max-width: 479px) {
  .drawer__body .card.ovbox .ovcover { margin: -18px -18px 16px; height: 150px }
}

/* Overview's Lead with: what to talk to them about. The angle in bold with
   its mark, then its points a line each, a dot before each, as the
   meeting brief lists its points. */
/* Four classes: the Item list's :is() counts as two with the drawer, and comes later. */
.drawer__body .card.ovlead .ovlead__angle {
  display: flex; align-items: flex-start; gap: 8px; margin: 0;
  font-weight: var(--weight-strong); line-height: 1.4; text-wrap: balance; overflow-wrap: anywhere;
}
.ovlead__angle .ms { font-size: 20px; flex: 0 0 auto; color: inherit }
.ovlead__pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.ovlead__angle + .ovlead__pts { margin-top: 12px }
.ovlead__pts li { position: relative; padding-left: 28px; text-wrap: pretty; overflow-wrap: anywhere }
.ovlead__pts li::before {
  content: ""; position: absolute; left: 7px; top: .62em; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* The three headline figures, each in its own small container; one not
   found keeps its place, in a label. */
.rsch__fig { min-height: 26px; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere }

/* A fact's value is its own control, as a field in Twenty is: a tap makes it
   a field where it stands. At rest it reads as plain text; a pointer over it,
   or focus, gives it the drawer's grey wash, so it never looks boxed. */
.rsch__fact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0 }
/* Team growth says which way in colour, and its sign says it in words. */
.drawer__body .rsch__fig.is-up { color: var(--good) }
.drawer__body .rsch__fig.is-down { color: var(--bad) }
.rsch__val {
  margin: -4px -8px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; color: inherit; text-align: left; overflow-wrap: anywhere; max-width: calc(100% + 16px);
}
button.rsch__val { cursor: text; transition: background .14s ease }
button.rsch__val:hover { background: var(--wash, rgba(16, 33, 31, .05)) }
button.rsch__val:focus-visible { outline: 2px solid var(--teal); outline-offset: 0 }
/* A finger's reach on a touch screen, without moving the text. */
@media (pointer: coarse) { button.rsch__val { display: inline-flex; align-items: center; min-height: 44px; margin: -12px -8px } }
.rsch__input { width: 100%; max-width: 320px; height: 40px; font-size: 15px }
/* A fact written in place, as the deal card's heading is (css/deal-card.css):
   a compact box (1px padding, a field the height of its line, a smaller tick
   and cross) in the fact's own type, its words where they were (10px left is
   the box's edge, padding and the field's own: 1 + 1 + 8), and the height it
   adds hung above and below it, so the facts round it never move. */
.rsch__fact > .infield { --in-pad: 2px; --in-h: 26px; flex: 0 0 auto; width: 100%; max-width: 400px; margin: -6px 0 -7px }
.rsch__fact.is-fig > .infield { margin: -5px 0 -2px }
.rsch__fact .infield .rsch__input { max-width: none; font: inherit; line-height: 1.6 }
.rsch__fact.is-fig .infield .rsch__input { font-size: 20px; font-weight: 600; letter-spacing: -.02em }
/* The legal form's list button (select-menu.js) in the fact's own type and
   place: on the fact's edges, no taller than the line, its list opening from it. */
.rsch__fact > .selbtn.rsch__input { width: auto; min-width: min(220px, 100%); max-width: 100%; height: 28px; min-height: 0; margin: -3px 0; padding: 0 8px; font: inherit; line-height: 1.6 }
/* A fact that can be corrected shows the pencil at its end under the cursor
   or on keyboard focus, faintly always on touch (as the deal card does). */
button.rsch__val:not(.rsch__pick)::after {
  content: "edit"; display: inline-block; margin-left: 6px; vertical-align: -2px;
  font-family: "Material Symbols Outlined"; font-size: 16px; font-weight: 400; line-height: 1;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga";
  color: var(--muted); opacity: 0; transition: opacity .15s ease;
}
button.rsch__val:not(.rsch__pick):is(:hover, :focus-visible)::after { opacity: 1 }
@media (hover: none) { button.rsch__val:not(.rsch__pick)::after { opacity: .7 } }
.rsch__fact.is-fig .rsch__input { font-size: 17px; font-weight: var(--weight-strong) }
/* Where it was said: its mark, then "Said on a call, 12 Oct". It opens what it came from. */
.rsch__said { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; text-align: left }
.rsch__said .ms { font-size: 15px }
button.rsch__said { cursor: pointer; min-height: 24px }
button.rsch__said:hover span { color: var(--coral) }
button.rsch__said:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px }
/* Where research read a value, under it, in place of "(linkedin.com)" after
   it (valueSource): a small flat button, the site's icon then its name. */
.srcbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px 0 7px;
  border: 1px solid var(--btn-edge); border-radius: 8px; background: var(--card); max-width: 100%;
  transition: background .14s ease, color .14s ease;
}
.srcbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.srcbtn .rsch__fav { width: 14px; height: 14px }
.srcbtn:hover { background: var(--btn-wash) }
.drawer__body .srcbtn:hover { color: var(--coral) }
.srcbtn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
@media (pointer: coarse) { .srcbtn { min-height: 36px } }
/* The legal form: a list where it stands (a chevron says so), where it was
   settled, and "No cold email" in amber ink while it may not be emailed. */
button.rsch__pick { cursor: pointer; display: inline-flex; align-items: center; gap: 2px }
.rsch__pick .ms { font-size: 18px; color: var(--muted) }
.rsch__noemail { display: inline-flex; align-items: center; gap: 6px }
.rsch__noemail .ms { font-size: 15px }
/* A Label, here rather than in the scale's list so that list keeps its weight. */
.drawer__body .rsch__fig.is-none {
  display: flex; align-items: center;
  font-size: var(--dr-label); font-weight: 500; letter-spacing: 0; color: var(--muted);
}

.rsch__summary {
  margin: 0; font-size: 14px; line-height: 1.65; color: var(--text);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.rsch__summary--open { display: block; -webkit-line-clamp: unset; line-clamp: unset }
.rsch__toggle { margin-top: 2px; min-height: 44px; font-size: 13px }

/* The business in named rows: label beside value, split by hairlines. */
.rsch__rows { margin: 0 }
div + .rsch__rows { margin-top: 12px }
.rsch__row { display: grid; grid-template-columns: minmax(136px, 30%) 1fr; align-items: baseline; gap: 12px; padding: var(--dr-space-row, 14px) 0; border-top: 1px solid var(--hair) }
/* Each label's icon, in the label's own muted colour (LinkedIn keeps its logo). */
.rsch__row dt > .ms, .rsch__row dt > svg { display: inline-block; width: 16px; margin-right: 8px; font-size: 16px; line-height: 1; color: inherit; vertical-align: middle; position: relative; top: -1px }
.rsch__head + .rsch__rows > .rsch__row:first-child { border-top: 0; padding-top: 0 }
.rsch__row:last-child { padding-bottom: 0 }
.rsch__row dd { margin: 0; overflow-wrap: anywhere }
.rsch__reg { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none }
.rsch__reg:hover { color: var(--coral) }
.rsch__reg .ms { font-size: 15px; color: var(--muted) }

/* Where it all came from: folded at the foot of the business. */
.rsch__sources { margin-top: 14px; border-top: 1px solid var(--hair) }
.rsch__sources > summary {
  display: flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: -10px; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: var(--weight-strong); color: var(--text);
}
.rsch__sources > summary::-webkit-details-marker { display: none }
.rsch__sources > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px }
.rsch__chev { margin-left: auto; font-size: 20px; color: var(--muted); transition: transform .16s ease }
.rsch__sources[open] .rsch__chev { transform: rotate(180deg) }
.rsch__sources[open] > summary { margin-bottom: 0 }

/* A state where content would be: its icon, a few words, the way out. */
.rsch__state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px }
.rsch__state > .ms { flex: 0 0 auto; font-size: 22px; color: var(--muted) }
.rsch__state.is-warn > .ms { color: #8A5A00 }
.rsch__state.is-good > .ms { color: #1E7A4A; font-variation-settings: 'FILL' 1 }
.rsch__statetext { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 160px }
.rsch__state + * { margin-top: 16px }

/* Recent news: a feed, as a news reader lays one out (Substack, Perplexity's
   Discover). Stories are rows split by hairlines; each is one link with the
   page's picture on the left, and the newest with a picture leads with it
   across the top. The picture box is sized before it loads, so nothing jumps. */
.rsch__news { list-style: none; margin: 0; padding: 0 }
.rsch__story + .rsch__story { border-top: 1px solid var(--hair) }
.rsch__storylink { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; color: inherit; text-decoration: none; border-radius: 12px }
.rsch__story:first-child .rsch__storylink { padding-top: 0 }
.rsch__story:last-child .rsch__storylink { padding-bottom: 0 }
.rsch__storytext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px }
.rsch__byline { display: flex; align-items: center; gap: 6px; min-width: 0 }
.rsch__byline b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.rsch__byline b + span::before { content: "·" / ""; margin-right: 6px; color: var(--muted) }
.rsch__byline > span { flex: 0 0 auto }
.rsch__byline .ms { font-size: 16px }
.rsch__headline { line-height: 1.4; text-wrap: pretty; overflow-wrap: anywhere }
/* A held story's one line on what happened, under its headline, and each
   section's written summary under its heading (design/research-summaries.md). */
.rsch__line, .story__line { color: var(--text); text-wrap: pretty; overflow-wrap: anywhere }
.rsch__digest { margin: 0 0 16px; color: var(--text); text-wrap: pretty; max-width: 68ch }
.rsch__digest:last-child { margin-bottom: 0 }
.rsch__digest + .lipost__list > .lipost:first-child .lipost__link { padding-top: 0 }
.rsch__thumb { flex: 0 0 auto; width: 96px; height: 96px; border-radius: var(--r-inner); object-fit: cover; background: var(--page); outline: 1px solid var(--hair); outline-offset: -1px }
/* A row with a picture: the picture on the left, top-aligned, and where it
   ran, the story and the pain point it bears on stacked beside it. */
.rsch__story--pic .rsch__storylink { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 6px 16px }
.rsch__story--pic .rsch__bears { align-self: start }
.rsch__story--pic .rsch__storytext { display: contents }
.rsch__story--pic :is(.rsch__byline, .rsch__headline, .rsch__line, .rsch__bears) { grid-column: 2 }
.rsch__story--pic .rsch__storylink:has(.rsch__line) { grid-template-rows: auto auto auto 1fr }
.rsch__story--pic .rsch__thumb { grid-column: 1; grid-row: 1 / -1; align-self: start }
/* The picture's place when the page gave none: what the story is about, as
   one large glyph on a teal wash, the picture itself rather than a tile. */
.rsch__thumb--mark { display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 12%, #fff); color: color-mix(in srgb, var(--teal) 60%, var(--text)) }
.rsch__thumb--mark .ms { font-size: 36px }
@media (max-width: 480px) { .rsch__thumb--mark .ms { font-size: 30px } }
.rsch__story--hero .rsch__storylink { flex-direction: column; gap: 12px }
.rsch__story--hero .rsch__thumb { width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 280px }
a.rsch__storylink:hover .rsch__headline { color: var(--coral) }
a.rsch__storylink:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px }
@media (max-width: 480px) { .rsch__thumb { width: 72px; height: 72px } }
/* What they've told us: rows split by hairlines, each the topic's mark in
   teal ink (the mark itself, no tile), the point, and under it the topic and
   where it was said. */
.rsch__toldlist { list-style: none; margin: 0; padding: 0 }
.rsch__told { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: var(--dr-space-row, 14px) 0 }
.rsch__told + .rsch__told { border-top: 1px solid var(--hair) }
.rsch__head + .rsch__toldlist > .rsch__told:first-child { padding-top: 0 }
.rsch__toldlist > .rsch__told:last-child { padding-bottom: 0 }
.rsch__sources .rsch__toldlist { border-top: 1px solid var(--hair) }
.rsch__toldmark.ms { font-size: 20px; line-height: 1.2; color: var(--text) }
.rsch__toldtext { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.rsch__point { line-height: 1.4; text-wrap: pretty; overflow-wrap: anywhere }
.rsch__toldmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px }
.rsch__toldmeta > b + .rsch__said::before { content: "·" / ""; margin-right: 6px; color: var(--muted) }
/* On LinkedIn: a group per author (the page, then each person), each its head
   and its posts as rows split by hairlines. A post's picture sits at the end,
   since most posts have none and their words should share one left edge. */
.ligroups { display: flex; flex-direction: column; gap: 20px }
.ligroup + .ligroup { border-top: 1px solid var(--hair); padding-top: 20px }
.ligroup__head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin: 0 0 6px; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; border-radius: 12px }
button.ligroup__head { cursor: pointer }
button.ligroup__head:hover .ligroup__name { color: var(--coral) }
button.ligroup__head:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.ligroup__mark { flex: 0 0 auto; width: 36px; height: 36px }
.ligroup__who { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0 }
.ligroup__name, .ligroup__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.ligroup__count { flex: 0 0 auto; font-variant-numeric: tabular-nums }
.lipost__list { list-style: none; margin: 0; padding: 0 }
.lipost + .lipost { border-top: 1px solid var(--hair) }
.lipost__link { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; color: inherit; text-decoration: none; border-radius: 12px }
.ligroup > .lipost__list > .lipost:last-child .lipost__link { padding-bottom: 0 }
a.lipost__link:hover .lipost__words { color: var(--coral) }
a.lipost__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.lipost__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px }
.lipost__words { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; text-wrap: pretty; overflow-wrap: anywhere }
.lipost__signal { display: flex; align-items: flex-start; gap: 4px; color: color-mix(in srgb, var(--teal) 60%, var(--text)) }
.lipost__signal .ms { font-size: 16px; color: inherit }
.lipost__meta { display: flex; flex-wrap: wrap; gap: 2px 12px }
.lipost__pic { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--page); outline: 1px solid var(--hair); outline-offset: -1px }
.ligroup .rsch__sources .lipost__list { border-top: 1px solid var(--hair) }
.ligroup .rsch__sources > .lipost__list > .lipost:last-child .lipost__link { padding-bottom: 0 }
@media (max-width: 480px) { .lipost__pic { width: 72px; height: 72px; border-radius: 10px } }
.rsch__what { line-height: 1.5 }
.rsch__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 6px }
.rsch__bears { display: inline-flex; align-items: center; gap: 4px }
.rsch__bears .ms { font-size: 15px }
.rsch__src { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; min-height: 24px }
.rsch__src:hover { color: var(--coral) }
.rsch__none { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted) }
.rsch__none .ms { font-size: 18px }

/* Sources: the site's own icon and name, the page after it. */
.rsch__links { list-style: none; margin: 0; padding: 0 }
.rsch__link {
  display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px;
  font-size: 13px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--hair);
}
.rsch__links li:last-child .rsch__link { border-bottom: 0 }
.rsch__link b { font-weight: var(--weight-strong); flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.rsch__path { min-width: 0; flex: 1 1 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted) }
.rsch__link:hover b { color: var(--coral) }
.rsch__link:focus-visible, .rsch__src:focus-visible, .rsch__reg:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px }
.rsch__out { font-size: 15px; color: var(--muted); flex: 0 0 auto }
.rsch__fav { width: 16px; height: 16px; border-radius: 3px; flex: 0 0 auto }

/* Contacts: ranked by who to approach first.
   One row per person at one size, so every name, role and reason starts on the
   same edge. The order is the numeral at the head of the row; only the contact
   Candid is on now has it in full ink. Rows run edge to edge with a divider
   under each, and the whole row is the button. */
.contacts__head { gap: 10px; margin-bottom: 10px }
.contacts__count {
  font-size: 13px; font-weight: var(--weight-strong); color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.contacts__list { display: flex; flex-direction: column; border-top: 1px solid var(--hair) }
.contacts__empty { padding: 36px 16px 20px }
.contacts__empty .btn { margin-top: 10px }

.ranked {
  display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) auto auto 18px;
  align-items: center; column-gap: 14px; width: 100%; min-height: 72px;
  padding: 14px 10px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  cursor: pointer; font-family: inherit; color: var(--text);
  transition: background .2s ease;
}
.ranked:hover { background: var(--page) }
.ranked:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 6px }

.ranked__rank {
  text-align: center; color: #C4C4C4;
  font-size: 15px; font-weight: var(--weight-strong);
  font-variant-numeric: tabular-nums;
}
.ranked .avatar {
  width: 44px; height: 44px; flex: 0 0 44px; font-size: 14px;
  background: var(--page); color: var(--text);
}
.ranked__top { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px }
.ranked__name { font-size: 15px; font-weight: var(--weight-strong) }
.ranked__role { font-size: 13px; color: var(--muted); margin-top: 2px }
.ranked__why  {
  font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 6px; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* The row's state, as coloured text beside the name. */
.ranked__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: var(--weight-strong); white-space: nowrap;
  color: color-mix(in srgb, var(--teal) 62%, var(--ink));
}
/* Person fit: the ring, with "Fit" under it so touch users see what it is. */
.ranked__fit { display: inline-flex; flex-direction: column; align-items: center; gap: 3px }
.ranked__fitlabel { font-size: 11px; font-weight: var(--weight-strong); color: var(--muted) }
.ranked--out .ranked__fit { filter: grayscale(1); opacity: .55 }
/* One width for every state word, so the fit rings stand in one column. */
.ranked .statemark { min-width: 92px }
.ranked__go { font-size: 18px; color: #C4C4C4; transition: transform .2s ease, color .2s ease }
.ranked:hover .ranked__go { color: var(--text); transform: translateX(2px) }

/* The one Candid is approaching now: full-ink numeral and a teal dot. */
.ranked--now .ranked__rank { color: var(--text) }
.ranked--now .ranked__tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.ranked--now .avatar { background: var(--coral); color: var(--on-coral) }

/* Contacts Candid has moved past. They keep their place in the order: the
   reason the second name is the one being approached is the first name being
   unavailable, and hiding them would hide the reason. */
.ranked--out .avatar { filter: grayscale(1); opacity: .55 }
.ranked--out .ranked__name { color: #9A9A9A }
.ranked--out .ranked__role,
.ranked--out .ranked__tag { color: #9A9A9A }

/* Phones: a tighter row, and the chevron goes (the whole row is the button).
   The state word drops under the role, so the name, its tag and the reason
   keep the width rather than running under the fit ring. */
@media (max-width: 520px) {
  .ranked { grid-template-columns: 18px 40px minmax(0, 1fr) auto; column-gap: 12px; padding: 14px 4px }
  .ranked .avatar { width: 40px; height: 40px; flex-basis: 40px }
  .ranked__go { display: none }
  .ranked .statemark { grid-column: 3; grid-row: 2; justify-self: start; min-width: 0; margin-top: 6px }
  .ranked__rank, .ranked .avatar, .ranked__fit { grid-row: 1 / span 2 }
}

/* Reviews, on the Research tab: a figure for each review site, columns split
   by hairlines, then what was said as rows split by hairlines. */
.rvw__sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 16px 0; margin-bottom: 16px }
.rvw__site { display: flex; flex-direction: column; gap: 6px; min-height: 44px; padding: 0 16px; color: inherit; text-decoration: none; border-left: 1px solid var(--hair); border-radius: 2px }
.rvw__site:first-child { padding-left: 0; border-left: 0 }
a.rvw__site:hover .rsch__byline b { color: var(--coral) }
a.rvw__site:focus-visible, a.rvw__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px }
.rvw__score { display: flex; align-items: center; gap: 8px }
.rvw__stars { position: relative; display: inline-flex; flex: 0 0 auto }
.rvw__starsbase, .rvw__starsfill { display: inline-flex }
.rvw__stars .ms { font-size: 15px; font-variation-settings: "FILL" 1 }
.rvw__starsbase { color: var(--hair) }
.rvw__starsfill { position: absolute; inset: 0; color: var(--text); clip-path: inset(0 calc(100% - var(--rvw-fill)) 0 0) }
.rvw__filters { margin-bottom: 12px }
.rvw__list { list-style: none; margin: 0; padding: 0 }
.rvw__row + .rvw__row { border-top: 1px solid var(--hair) }
.rvw__link { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: var(--dr-space-row, 14px) 0; color: inherit; text-decoration: none; border-radius: 12px }
.rvw__list > .rvw__row:first-child .rvw__link { padding-top: 0 }
.rvw__list > .rvw__row:last-child .rvw__link { padding-bottom: 0 }
a.rvw__link:hover .rvw__quote { color: var(--coral) }
.rvw__mark.ms { font-size: 20px; line-height: 1.2; color: var(--text) }
.rvw__mark.is-good, .rvw__link .rsch__byline .is-good { color: var(--good) }
.rvw__mark.is-bad, .rvw__link .rsch__byline .is-bad { color: var(--bad) }
.rvw__text { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.rvw__quote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; text-wrap: pretty; overflow-wrap: anywhere }

/* Research notes (company-notes.js): one row per kind, split by hairlines:
   the kind's icon, its name, then its notes in the page's words, two lines
   each, figures in bold. Another site's icon leads a note from it. */
.notes__kinds, .notes__lines { list-style: none; margin: 0; padding: 0 }
.notes__kind { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: var(--dr-space-row, 14px) 0 }
.notes__kind + .notes__kind { border-top: 1px solid var(--hair) }
.notes__kinds > .notes__kind:first-child { padding-top: 0 }
.notes__kinds > .notes__kind:last-child { padding-bottom: 0 }
.notes__mark.ms { font-size: 20px; line-height: 1.2; color: var(--text) }
.notes__body { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.notes__lines { display: flex; flex-direction: column; gap: 6px }
.notes__line { min-width: 0 }
.notes__link { display: flex; align-items: baseline; gap: 8px; color: inherit; text-decoration: none; border-radius: 6px }
a.notes__link:hover .notes__words { color: var(--coral) }
a.notes__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px }
.notes__words { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--text); text-wrap: pretty; overflow-wrap: anywhere }
.notes__words b { font-weight: var(--weight-strong); font-variant-numeric: tabular-nums }
.notes__from { flex: 0 0 auto; display: inline-flex; align-self: center }
.notes__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.notes__more > summary {
  display: inline-flex; align-items: center; gap: 4px; min-height: 24px; list-style: none; cursor: pointer;
  font-size: var(--dr-label); font-weight: 600; color: var(--text);
}
.notes__more > summary::-webkit-details-marker { display: none }
.notes__more > summary:hover { color: var(--coral) }
.notes__more > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px }
.notes__more[open] > summary { margin-bottom: 6px }
.notes__more[open] .rsch__chev { transform: rotate(180deg) }
.rvw__body .rsch__sources { margin-top: 14px }
@media (max-width: 480px) {
  .rvw__sites { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .rvw__site:nth-child(odd) { padding-left: 0; border-left: 0 }
}

/* Overview's Meetings (app/company-meetings.js): a row a meeting, split by
   hairlines, the first flush under its heading; the day as Meetings' mark,
   the title over who it is with as faces and names, the time on the right.
   Past ones, under their own small heading, are greyed with their outcome. */
.comtgs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column }
.comtg + .comtg { border-top: 1px solid var(--hair) }
.comtg__line {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; margin: 0;
  padding: var(--dr-space-row, 14px) 0; border: 0; background: none; font: inherit; color: inherit; text-align: left;
}
.comtgs__list > .comtg:first-child .comtg__line { padding-top: 0 }
.comtgs__list > .comtg:last-child .comtg__line { padding-bottom: 0 }
button.comtg__line { cursor: pointer; border-radius: 8px }
button.comtg__line:hover .comtg__name { color: var(--coral) }
button.comtg__line:focus-visible { outline: none; box-shadow: var(--ring) }
.comtg__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px }
.comtg__name { overflow-wrap: anywhere; transition: color .12s ease }
.comtg__who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--text) }
.comtg__who > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.comtg__faces { flex: 0 0 auto; display: flex }
.comtg__face.avatar { flex: 0 0 22px; width: 22px; min-width: 0; height: 22px; padding: 0; font-size: 9px; box-shadow: 0 0 0 2px var(--card) }
.comtg__face + .comtg__face { margin-left: -6px }
.comtg__time { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums }
.comtg__time b { font-size: 15px; font-weight: 600; color: var(--text) }
.comtg__time.is-now b { color: var(--bad) }
.comtg__out { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500 }
.comtg__out .ms { font-size: 17px }
.comtg__out.is-good { color: var(--good) }
.comtg__out.is-bad { color: var(--bad) }
.comtg__out.is-none { color: var(--muted) }
.comtg.is-past .mtgdate { background: color-mix(in srgb, var(--ink) 6%, transparent) }
.comtg.is-past .mtgdate__mon { color: var(--muted) }
.drawer__body .comtgs__past { margin: 20px 0 14px }
.drawer__body .comtgs > .boxnone + .comtgs__past { margin-top: 12px }

/* Where research looked (company-social.js): one figure a source, side by
   side as Overview's figures are, each a button to its section. The mark
   and the source's name on top, the count under, then its state as an icon
   and a word; amber only when the read failed, green when it found
   something, so colour repeats what the word says and never stands alone. */
.srcs__grid { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) }
.srcs__cell { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-height: 44px; cursor: pointer; font: inherit; color: inherit }
.drawer__body .srcs__cell { gap: 10px }
.srcs__cell:hover .srcs__name { color: var(--coral) }
.srcs__cell:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.srcs__top { display: flex; align-items: center; gap: 8px; min-width: 0 }
.srcs__icon.ms { font-size: 18px; color: var(--text) }
.srcs__state { display: inline-flex; align-items: center; gap: 4px }
.srcs__state .ms { font-size: 15px; color: inherit }
.srcs__state.is-good { color: color-mix(in srgb, var(--good) 80%, var(--text)) }
.srcs__state.is-warn { color: #8A5A00 }
.srcs__heading { display: flex; align-items: center; gap: 8px }
.srcs__profile { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; min-height: 24px }
.srcs__profile .ms { font-size: 15px }

/* Their story: background press as a timeline grouped by year (Substack's
   archive, Wellfound's funding history). A year's name and count over its
   stories; each story one link: its day, a mark for the kind of event, the
   headline as an Item and who ran it under. An event that changes a company
   (a sale, a closure, funding) is heavier, so it is found at a glance. */
.story__year + .story__year { margin-top: 20px }
.story__yearhead { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px }
.story__list { list-style: none; margin: 0; padding: 0 }
.story + .story { border-top: 1px solid var(--hair) }
.story__link { display: grid; grid-template-columns: 52px 20px 1fr; align-items: start; gap: 4px 10px; padding: 12px 0; color: inherit; text-decoration: none; border-radius: 12px; min-height: 44px }
.story__link:hover .story__title { color: var(--coral) }
.story__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.story__when { padding-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap }
.story__kind.ms { font-size: 19px; width: 20px; overflow: hidden; padding-top: 1px; color: var(--text) }
.story__body { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.story__title { text-wrap: pretty; overflow-wrap: anywhere }
/* Beats the Item role's weight, whose :is() list carries a compound selector. */
.drawer__body .story .story__link .story__title.is-big { font-weight: var(--weight-strong) }
.story__by { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap }
.story__unsure { font-style: italic }
/* On a phone the strip is two to a row, tighter, with the count beside its
   word, and an odd last figure across both columns (not the third, as the
   figures above have it). */
@container (max-width: 560px) {
  .ovglance__grid.srcs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .ovglance__grid.srcs__grid > :nth-child(3) { grid-column: auto }
  .ovglance__grid.srcs__grid > :last-child:nth-child(odd) { grid-column: 1 / -1 }
  .drawer__body .srcs__cell { gap: 6px }
  .srcs__cell .rsch__fact.is-fig { flex-direction: row; align-items: baseline; gap: 6px }
}
