/* Feedback: the form, one's own items, the path as a tiny diagram, and the board in three columns. */
.fb-skeleton { padding: 14px 0; }
.fb-text { font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.fb-text.cut { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.fb-read { display: block; align-self: flex-start; text-align: left; }
.fb-note { margin-top: 8px; overflow-wrap: anywhere; }
.fb-promise { padding: 14px 0 0; }
.fb-empty { padding: 28px 20px 12px; }
.fb-mine-failed { padding: 10px 0; }
.fb-thumbs-mine { padding: 10px 0 0; }

/* One's own items: the Inbox row, with the words in regular weight and the status at its end. Everything on the heading's
   left edge; an opened item keeps its padding, as it has a ground of its own. */
#h-mine { margin-bottom: 8px; }
.fb-mine .item { align-items: start; }
.fb-mine .item:not(.focus) { padding-left: 0; padding-right: 0; border-left-width: 0; border-right-width: 0; }
.fb-mine .item .body { min-width: 0; }
.fb-mine .item .fb-text { margin-top: 2px; }
.fb-mine .item .m { margin-top: 4px; }
.fb-mine .item:focus { outline: 0; }
.fb-mine .item.focus .fb-note { color: var(--ink); }
.fb-mine .item.focus .fb-read { color: var(--on-accent); }
.fb-mine .item.focus .tag { color: var(--ink); }
.fb-mine .item.focus .tag.ink { color: var(--on-inverse); }
.fb-mine .item.focus .tag.soft { color: var(--on-accent); border-color: var(--on-accent); }
.fb-more { margin: 6px 0 0 -12px; }

/* The path: four steps on one line, an arrow between each. */
#h-path { margin-bottom: 12px; }
.fb-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; }
.fb-path li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 13.5px; line-height: 1.25; }
.fb-path .iconbox { margin-bottom: 5px; }
.fb-path .iconbox.here { background: var(--accent); color: var(--on-accent); }
.fb-path .small { font-size: 12.5px; line-height: 1.3; }
.fb-path li:not(:last-child)::after {
  content: ""; position: absolute; top: 15px; left: 40px; right: -2px; border-top: 1.5px solid var(--line);
}
.fb-path li:not(:last-child)::before {
  content: ""; position: absolute; top: 11px; right: -3px; border-left: 7px solid var(--line);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

/* The board. */
.fb-board { margin-top: 56px; padding-top: 32px; border-top: 1.5px solid var(--line-soft); }
.fb-board-head { margin-bottom: 18px; }
.fb-board-head .meta { margin-top: 4px; }
#h-board { scroll-margin-top: 20px; }
#h-board:focus { outline: 0; }
.fb-lock { margin-top: 12px; align-items: flex-start; }
.fb-lock .i { margin-top: 3px; }
.fb-board-empty { padding: 24px 20px 12px; }
.fb-seg { display: none; margin-bottom: 14px; }
.fb-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.fb-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); background: var(--surface); }
.fb-col-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.fb-count { font-weight: 500; color: var(--ink-muted); }
.fb-col-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 8px 26px; text-align: center; }
.fb-col-empty svg { width: 44px; }
.fb-col-empty .caption { font-size: 17px; color: var(--ink-muted); }
.fb-thumbs { display: flex; align-items: center; gap: 7px; padding: 2px 4px; }

.fb-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; border: 1.5px solid var(--line-soft); border-radius: 12px; background: var(--surface-raised); }
.fb-card-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fb-kind { min-width: 0; overflow-wrap: anywhere; }
.fb-when { margin-left: auto; flex: none; font-size: 12px; }
.fb-card .h3 { overflow-wrap: anywhere; }
.fb-card .why { padding-top: 8px; }
.fb-card .why summary { flex-wrap: wrap; }
.fb-chev { transition: transform var(--duration-quick) var(--ease-out); }
.fb-card .why[open] > summary .fb-chev, .fb-more-btn.open .fb-chev { transform: rotate(180deg); }

.fb-stage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-dots { display: inline-flex; gap: 4px; }
.fb-dots i { width: 8px; height: 8px; border: 1.5px solid var(--line); border-radius: 50%; }
.fb-dots i.on { background: var(--surface-inverse); }

.fb-adopt { align-self: flex-start; }
.fb-foot { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; padding-top: 2px; }
.fb-select .select { width: auto; min-height: 30px; padding: 3px 28px 3px 12px; border-color: var(--line); border-radius: var(--radius-pill); background: var(--surface-raised); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.fb-edit { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.fb-card-alert { padding: 8px 12px; font-size: 13px; line-height: 1.4; }
.fb-dups { padding-top: 6px; }
.fb-dups > li { gap: 8px; padding: 10px 12px; border: 1.5px solid var(--line-soft); border-radius: 10px; background: var(--surface); }
.fb-ctx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; margin: 0; font-size: 13px; line-height: 1.4; }
.fb-ctx dt { margin-top: 6px; }
.fb-ctx dd { margin: 0; overflow-wrap: anywhere; }
.fb-pre { white-space: pre-wrap; }
.d-line { display: block; }

@media (max-width: 1080px) {
  .fb-seg { display: inline-flex; }
  .fb-cols { grid-template-columns: minmax(0, 1fr); }
  .fb-col { display: none; padding: 0; border: 0; background: none; }
  .fb-col.on { display: flex; }
  .fb-col-head { display: none; }
}
@media (max-width: 560px) {
  .fb-path { gap: 0 6px; }
  .fb-path .small { display: none; }
  .fb-path li { font-size: 12.5px; }
  .fb-path li:not(:last-child)::after { left: 38px; right: 0; }
  .fb-path li:not(:last-child)::before { right: -1px; }
  .fb-mine .item { grid-template-columns: 38px minmax(0, 1fr); }
  .fb-mine .item .acts { grid-column: 2; }
  .fb-board { margin-top: 40px; }
}
