/* The Feedback section (wave340-helpdesk, 2026-11-02) — the board, the
 * roadmap and ops triage behind the sidebar's Feedback door. The dialogs
 * reuse the obligations shapes (.obl-ov / .obl-dlg / .obl-f).
 *
 * wave374-feedback-look (2026-11-05) — the look pass. One calm column:
 * the ask on top (title, one line, the Share button — the page's only
 * gold), a real tab strip (.fb-tabs: plain text, active = navy bold over
 * a brand-violet bar), one search box, then a single feed of wide rows.
 * Empty states are centred blocks in the kind-tile language. Colours are
 * the design-system tokens; the brand violet is --ds-k-violet, tinted
 * here with color-mix so the Navy appearance re-points it for free.
 * The #app #fb-root prefix on the search and selects is deliberate: it
 * out-ranks the skin's global input rules for this board only, so those
 * rules stay as they are for every other page. */

#fb-root, .fb-ov {
  --fb-v: var(--ds-k-violet, #2A095E);
  --fb-v-tint: color-mix(in srgb, var(--fb-v) 7%, var(--ds-card, #fff));
  --fb-v-line: color-mix(in srgb, var(--fb-v) 24%, var(--ds-card, #fff));
}

.fb-wrap { max-width: none; margin: 0; padding-bottom: 48px; }   /* wave470: full width like the other modules (Micheal, 2026-11-08 — the 960px cap left the board floating in a narrow centred column) */
.fb-ico { width: 18px; height: 18px; flex: none; }
.fb-loading { padding: 20px 0; }

/* the ask — identical on every tab */
#fb-root .fb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px; }
#fb-root .fb-ask { flex: 1 1 auto; min-width: 0; }
#fb-root .fb-head h1 { margin: 0 0 6px; }
#fb-root .fb-lede { margin: 0; max-width: none; font-size: var(--ds-fs, 14px); line-height: 1.5; text-wrap: balance; }
#fb-root .fb-add { flex: none; margin-top: 2px; }

/* the tab strip — the portal's tab language, its own shape */
#fb-root .fb-tabs { display: flex; gap: 4px; margin: 0 0 20px; border-bottom: 1px solid var(--ds-line, #e3e7ee); }
#fb-root .fb-tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; border-radius: 0;
  padding: 10px 12px 11px; font: inherit; font-size: var(--ds-fs, 14px); font-weight: 500; color: var(--ds-muted, #66717f); cursor: pointer; }
#fb-root .fb-tab:hover { color: var(--ds-navy, #0b2235); }
#fb-root .fb-tab.on { color: var(--ds-navy, #0b2235); font-weight: 700; border-bottom-color: var(--fb-v); }
#fb-root .fb-tab:focus-visible { outline: none; box-shadow: var(--ds-focus); border-radius: 6px 6px 0 0; }

/* the toolbar — one search, the kind switch, two quiet dropdowns */
#fb-root .fb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
#fb-root .fb-bar-end { display: flex; gap: 10px; margin-left: auto; }
#app #fb-root .fb-bar select { min-width: 0; font-size: var(--ds-fs-sm, 13px); font-weight: 500; padding-left: 12px; }
#fb-root .fb-search { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; max-width: 340px; min-height: var(--ds-ctl, 40px); box-sizing: border-box;
  padding: 0 12px; border: 1px solid var(--ds-line, #e3e7ee); border-radius: var(--ds-r-ctl, 10px); background: var(--ds-card, #fff); color: var(--ds-faint, #98a1ad); cursor: text; }
#fb-root .fb-search:hover { border-color: var(--ds-line-strong, #cbd2da); }
#fb-root .fb-search:focus-within { border-color: var(--ds-gold, #c0a060); box-shadow: var(--ds-focus); }
#fb-root .fb-search .fb-ico { width: 17px; height: 17px; }
/* one box: the label is the box; the input inside wears nothing of its own */
#app #fb-root .fb-search input[type="search"],
#app #fb-root .fb-search input[type="search"]:focus { flex: 1; min-width: 0; min-height: 0; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; outline: 0; font: inherit; font-size: var(--ds-fs, 14px); color: var(--ds-ink, #14202e); }

/* the board — one column of wide rows */
.fb-feed { display: flex; flex-direction: column; background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e7ee); border-radius: var(--ds-r, 12px); overflow: hidden; }
.fb-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; cursor: pointer; border-top: 1px solid var(--ds-hair, #eef1f5); transition: background-color .12s; }
.fb-row:first-child { border-top: 0; }
.fb-row:hover { background: var(--ds-tint, #f8f9fc); }
.fb-row:focus-visible { outline: none; background: var(--ds-tint, #f8f9fc); box-shadow: inset 0 0 0 2px var(--ds-gold, #c0a060); }
.fb-row-main { flex: 1; min-width: 0; }
.fb-row-top, .fb-card-top { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.fb-row-t { margin: 0 0 4px; font-size: var(--ds-fs-md, 16px); font-weight: 650; color: var(--ds-navy, #0b2235); line-height: 1.35; }
.fb-row-b { margin: 0 0 10px; font-size: 13.5px; color: var(--ds-muted, #66717f); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fb-row-foot { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: var(--ds-fs-xs, 12px); color: var(--ds-faint, #98a1ad); }
.fb-meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 5px; }
.fb-cc { display: inline-flex; align-items: center; gap: 4px; }
.fb-cc .fb-ico { width: 14px; height: 14px; }
.fb-in { color: var(--ds-ok-ink, #1a7343); font-weight: 600; }

/* the kind tile and label */
.fb-tile { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--fb-v-tint); color: var(--fb-v); }
.fb-tile .fb-ico { width: 16px; height: 16px; }
.fb-tile-bug { background: var(--ds-bad-bg, #fdeceb); color: var(--ds-bad-ink, #b3261e); }
.fb-tile-quiet { background: var(--ds-neutral-bg, #eef0f4); color: var(--ds-neutral-ink, #5c6878); }
.fb-kind { font-size: 11.5px; font-weight: 600; color: var(--ds-muted, #66717f); text-transform: uppercase; letter-spacing: .05em; }

/* status pills — small and quiet */
.fb-st { display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1.5; border-radius: var(--ds-r-pill, 999px); padding: 1px 9px; background: var(--ds-neutral-bg, #eef0f4); color: var(--ds-neutral-ink, #5c6878); }
.fb-st-new { background: var(--fb-v-tint); color: var(--fb-v); }
.fb-st-planned { background: var(--ds-info-bg, #e7effc); color: var(--ds-info-ink, #1f5fbf); }
.fb-st-building { background: var(--ds-orange-bg, #fdefdf); color: var(--ds-orange-ink, #9a520c); }
.fb-st-shipped { background: var(--ds-ok-bg, #e3f5ea); color: var(--ds-ok-ink, #1a7343); }
.fb-st-declined { background: var(--ds-neutral-bg, #eef0f4); color: var(--ds-muted, #66717f); }

/* the vote */
.fb-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 52px; min-height: 56px; flex: none; padding: 5px 0 6px; box-sizing: border-box;
  border: 1px solid var(--ds-line, #e3e7ee); border-radius: var(--ds-r-ctl, 10px); background: var(--ds-card, #fff); color: var(--ds-muted, #66717f); font: inherit; cursor: pointer; transition: border-color .12s, background-color .12s; }
.fb-vote .fb-ico { width: 18px; height: 18px; }
.fb-vote b { font-size: 15px; line-height: 1.2; color: var(--ds-navy, #0b2235); font-variant-numeric: tabular-nums; }
.fb-vote:hover { border-color: var(--fb-v-line); background: var(--fb-v-tint); color: var(--fb-v); }
.fb-vote.on { background: var(--fb-v); border-color: var(--fb-v); color: #fff; }
.fb-vote.on b { color: #fff; }
.fb-vote:focus-visible { outline: none; box-shadow: var(--ds-focus); }
.fb-vote-big { width: 60px; min-height: 64px; }
.fb-vote-big b { font-size: 18px; }

/* empty states — centred, in the tile language, one approved sentence */
.fb-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 48px 24px; box-sizing: border-box;
  background: var(--ds-card, #fff); border: 1px dashed var(--ds-line-strong, #cbd2da); border-radius: var(--ds-r, 12px); }
.fb-empty p { margin: 0; max-width: 44ch; font-size: var(--ds-fs, 14px); line-height: 1.5; color: var(--ds-muted, #66717f); text-wrap: pretty; }
.fb-empty-tiles { display: flex; gap: 8px; }
.fb-empty-tiles .fb-tile { width: 40px; height: 40px; border-radius: 11px; }
.fb-empty-tiles .fb-ico { width: 21px; height: 21px; }
.fb-empty-sm { padding: 24px 16px; gap: 8px; }
.fb-empty-sm p { font-size: var(--ds-fs-sm, 13px); }
.fb-empty-sm .fb-empty-tiles .fb-tile { width: 32px; height: 32px; border-radius: 9px; }
.fb-empty-sm .fb-empty-tiles .fb-ico { width: 17px; height: 17px; }

/* the roadmap — two columns, each only as tall as what it holds */
.fb-roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.fb-col { background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e7ee); border-top: 3px solid var(--ds-info-ink, #1f5fbf); border-radius: var(--ds-r, 12px); padding: 16px; }
.fb-col-building { border-top-color: var(--ds-orange-ink, #9a520c); }
.fb-col h2 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.fb-col-n { display: inline-block; min-width: 22px; text-align: center; font-size: var(--ds-fs-xs, 12px); font-weight: 600; padding: 1px 7px; border-radius: var(--ds-r-pill, 999px); background: var(--ds-neutral-bg, #eef0f4); }
.fb-col-lede { margin: 6px 0 14px; font-size: var(--ds-fs-sm, 13px); }
.fb-col .fb-empty { background: var(--ds-tint, #f8f9fc); }
.fb-rm { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; margin: 0 0 8px; padding: 11px 12px; border: 1px solid var(--ds-line, #e3e7ee);
  border-radius: var(--ds-r-ctl, 10px); background: var(--ds-card, #fff); font: inherit; cursor: pointer; transition: border-color .12s, background-color .12s; }
.fb-rm:last-child { margin-bottom: 0; }
.fb-rm:hover { border-color: var(--ds-line-strong, #cbd2da); background: var(--ds-tint, #f8f9fc); }
.fb-rm-t { flex: 1; min-width: 0; font-weight: 600; color: var(--ds-navy, #0b2235); line-height: 1.35; }
.fb-rm-v { display: inline-flex; align-items: center; gap: 2px; font-size: var(--ds-fs-sm, 13px); color: var(--ds-muted, #66717f); font-variant-numeric: tabular-nums; }
.fb-rm-v .fb-ico { width: 15px; height: 15px; }

/* triage — the same calm row, on a list card */
.fb-tri { display: flex; flex-direction: column; background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e7ee); border-radius: var(--ds-r, 12px); overflow: hidden; }
.fb-tri-row { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--ds-hair, #eef1f5); }
.fb-tri-row:first-child { border-top: 0; }
.fb-tri-v { display: flex; flex-direction: column; align-items: center; width: 40px; flex: none; color: var(--ds-muted, #66717f); }
.fb-tri-v b { font-size: 16px; color: var(--ds-navy, #0b2235); font-variant-numeric: tabular-nums; }
.fb-tri-main { flex: 1; min-width: 0; }
.fb-tri-t { margin: 0; font-weight: 600; color: var(--ds-navy, #0b2235); line-height: 1.35; }
.fb-tri-t .fb-kind { margin-right: 6px; }
.fb-tri-s { margin: 3px 0 0; font-size: 12.5px; }
#app #fb-root .fb-tri-row select { min-width: 140px; font-size: var(--ds-fs-sm, 13px); font-weight: 500; padding-left: 12px; }

/* dialogs */
.fb-dlg-wide { width: min(680px, 100%); }
.fb-dlg-head { display: flex; gap: 14px; align-items: flex-start; }
.fb-dlg-head h2 { margin: 2px 0 2px; }
.fb-by { margin: 0; font-size: 12.5px; }
.fb-body { white-space: pre-line; line-height: 1.55; font-size: 14px; margin: 14px 0; }
.fb-shipped { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--ds-ok-bg, #e3f5ea); color: var(--ds-ok-ink, #1a7343); font-size: 13px; font-weight: 600; }
.fb-dlg-status { max-width: 240px; }
.fb-comments { display: flex; flex-direction: column; gap: 8px; max-height: 34vh; overflow-y: auto; margin-bottom: 12px; }
.fb-cm { padding: 9px 12px; border-radius: 10px; background: var(--ds-tint, #f8f9fc); border: 1px solid var(--ds-hair, #eef1f5); }
.fb-cm-staff { background: var(--fb-v-tint); border-color: var(--fb-v-line); border-left: 3px solid var(--fb-v); }
.fb-cm-who { margin: 0 0 2px; font-size: 12px; color: var(--ds-muted, #66717f); font-weight: 600; }
.fb-cm-b { margin: 0; font-size: 13.5px; white-space: pre-line; line-height: 1.45; }
.fb-badge { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--fb-v); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.fb-opt { font-weight: 400; color: var(--ds-faint, #98a1ad); }
.fb-kindpick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.fb-kindpick label { position: relative; }
.fb-kindpick input { position: absolute; opacity: 0; }
.fb-kindpick span { display: flex; align-items: center; gap: 8px; height: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--ds-line-strong, #cbd2da); border-radius: 10px; font-size: 13px; line-height: 1.4; cursor: pointer; }
.fb-kindpick span:hover { border-color: var(--fb-v-line); }
.fb-kindpick input:checked + span { border-color: var(--fb-v); background: var(--fb-v-tint); color: var(--fb-v); font-weight: 600; }
.fb-kindpick input:focus-visible + span { outline: none; box-shadow: var(--ds-focus); }

@media (max-width: 760px) {
  #fb-root .fb-head { flex-direction: column; align-items: stretch; }
  #fb-root .fb-add { align-self: flex-start; }
  #fb-root .fb-search { max-width: none; flex-basis: 100%; }
  #fb-root .fb-bar-end { margin-left: 0; flex: 1 1 100%; flex-wrap: wrap; }
  #app #fb-root .fb-bar-end select { flex: 1 1 200px; }
  .fb-row { padding: 14px; gap: 12px; }
  .fb-roadmap { grid-template-columns: 1fr; }
  .fb-tri-row { flex-wrap: wrap; padding: 12px 14px; }
}
@media (max-width: 520px) { .fb-kindpick { grid-template-columns: 1fr; } }

/* wave710-roadmap: the Roadmap wears the program — four columns
   (Done / Building / Planned / Needs your call), program items grouped
   under their chart group, board items folded in by status. */
.fb-roadmap.fb-roadmap-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1250px) { .fb-roadmap.fb-roadmap-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .fb-roadmap.fb-roadmap-4 { grid-template-columns: 1fr; } }
.fb-col-done { border-top-color: var(--ds-ok-ink, #1a7343); }
.fb-col-call { border-top-color: var(--fb-v, #6d28d9); }
.fb-st-call { background: var(--fb-v-tint, #efe9fd); color: var(--fb-v, #6d28d9); }
.fb-rm-group { margin: 14px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-muted, #66717f); }
.fb-rm-group:first-of-type { margin-top: 2px; }
.fb-pc { padding: 8px 10px; margin: 0 0 6px; border: 1px solid var(--ds-line, #e3e7ee); border-radius: 8px; background: var(--ds-card, #fff); }
.fb-pc-t { display: block; font-weight: 600; font-size: 13.5px; color: var(--ds-navy, #0b2235); line-height: 1.35; }
.fb-pc-n { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ds-muted, #66717f); line-height: 1.4; }
