/* frontdesk.css · P31's own layout: the text of an email, notes, headings
   between tables, the passages of a document, and the grids. Every color,
   size and weight is a token of the design system; its components are used
   as they are. */
.fd-note { margin: 0; color: var(--ink-3); font-size: var(--fs-12); line-height: var(--lh-12); }
.fd-note:empty { display: none; }
.fd-pad { padding: 12px 20px; }
.fd-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.fd-h2 { margin: 16px 0 0; font-size: var(--fs-13); line-height: var(--lh-13); font-weight: var(--fw-550); color: var(--ink); }
.fd-h3 { margin: 4px 0 0; font-size: var(--fs-12); line-height: var(--lh-12); font-weight: var(--fw-550); color: var(--ink-2); }
.fd-detail > h2 { margin: 0; font-size: var(--fs-16); line-height: var(--lh-16); font-weight: var(--fw-550); color: var(--ink); }
.fd-detail > p { margin: 0; }
.fd-detail [data-r="table"] td { overflow-wrap: anywhere; }
.fd-passage { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; scroll-margin-top: 16px; }
.fd-passage > p { margin: 0; }
.fd-passage:target > p { color: var(--ink); }
.pp-grid.fd-write { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.fd-mail { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: var(--px) solid var(--line-2); }
.fd-mail:last-child { padding-bottom: 0; border-bottom: 0; }
.fd-mail > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--ink); }
.fd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 859px) {
  .fd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-grid.fd-write { grid-template-columns: minmax(0, 1fr); }
}
