/* field-cockpit.css — Parity + viewer package (2026-10-20), item 7: the
   project-overview cockpit (field-cockpit.js) on the Summary. Structure
   first (works in the Navy appearance), then the light-skin look scoped
   body.skin-billdr with DW1 tokens. No gold: the Summary's money row
   above carries the one key number. */
.fc-host:empty { display: none; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0 0 20px; }
.fc-card { border: 1px solid var(--line, #dde3ea); border-radius: 10px; padding: 14px 16px; background: var(--card, #fff); min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fc-card-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-card-h h3 { margin: 0; font-size: 15px; flex: 1 1 auto; }
/* wave164-buttons (2026-10-27, Micheal): a card's Open door is a BUTTON (the wave137 doorbtn shape), never bare text. */
.fc-open { font-size: 12.5px; font-weight: 700; font-family: inherit; color: var(--ds-navy, #17324a); background: #fff; border: 1px solid var(--line, #dde3ea); border-radius: 8px; padding: 5px 12px; line-height: 1.35; cursor: pointer; }
.fc-open:hover { color: var(--ds-gold-ink, #8a6d1f); border-color: var(--ds-gold, #c9a227); }
.fc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
/* wave173-stack (2026-10-27): rows STACK — the title takes the card's full
 * width and the date sits under it. Side-by-side (wave172) still starved the
 * title: the nowrap date column ate most of a ~260px card, leaving titles
 * breaking mid-word ("Fi / n.."). Verified against the rendered walk. */
.fc-list li { display: flex; flex-direction: column; align-items: stretch; gap: 2px; min-width: 0; }
.fc-li-btn { all: unset; display: flex; flex-direction: column; align-items: stretch; gap: 2px; width: 100%; cursor: pointer; }
.fc-li-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* wave172-titles (2026-10-27): card titles WRAP to two lines instead of
 * truncating to a stub ("Order cabin…") — the date keeps its own column,
 * aligned to the first line. */
.fc-li-t { min-width: 0; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.fc-li-s { flex: none; font-size: 12.5px; opacity: .75; white-space: normal; } /* wave173: stacked, so a long date range may wrap under the title instead of starving it */
.fc-li-s.is-bad { opacity: 1; color: #b3261e; font-weight: 600; }
.fc-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.fc-kv b { font-variant-numeric: tabular-nums; }
.fc-kv.is-bad b { color: #b3261e; }
.fc-empty, .fc-more, .fc-note { margin: 0; font-size: 13px; }
.fc-seg { display: inline-flex; border: 1px solid var(--line, #dde3ea); border-radius: 999px; overflow: hidden; }
.fc-segbtn { border: 0; background: transparent; font: inherit; font-size: 12px; padding: 3px 10px; cursor: pointer; }
.fc-segbtn.on { font-weight: 700; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.fc-chip { border: 1px solid var(--line, #dde3ea); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.fc-prog-t { margin: 0; font-size: 13px; }
.fc-bar { height: 8px; border-radius: 999px; background: #e9edf3; overflow: hidden; }
.fc-bar span { display: block; height: 100%; border-radius: 999px; background: #0b2235; }

body.skin-billdr #app .fc-card { border-color: var(--ds-line); border-radius: var(--ds-r); background: var(--ds-card); box-shadow: none; }
body.skin-billdr #app .fc-card-h h3 { color: var(--ds-navy); font-size: var(--ds-fs); font-weight: 700; }
body.skin-billdr #app .fc-open { color: var(--ds-navy); font-weight: 600; font-size: var(--ds-fs-xs); }
body.skin-billdr #app .fc-li-t { color: var(--ds-ink); font-size: var(--ds-fs-sm); }
body.skin-billdr #app .fc-li-s { color: var(--ds-muted); opacity: 1; font-size: var(--ds-fs-xs); }
body.skin-billdr #app .fc-li-s.is-bad, body.skin-billdr #app .fc-kv.is-bad b { color: var(--ds-bad-ink); }
body.skin-billdr #app .fc-li-btn:hover .fc-li-t { color: var(--ds-navy); text-decoration: underline; }
body.skin-billdr #app .fc-kv { font-size: var(--ds-fs-sm); color: var(--ds-muted); }
body.skin-billdr #app .fc-kv b { color: var(--ds-navy); }
body.skin-billdr #app :is(.fc-empty, .fc-more, .fc-note) { color: var(--ds-muted); font-size: var(--ds-fs-xs); }
body.skin-billdr #app .fc-seg { border-color: var(--ds-line); background: var(--ds-fill); }
body.skin-billdr #app .fc-segbtn { color: var(--ds-muted); }
body.skin-billdr #app .fc-segbtn.on { background: var(--ds-card); color: var(--ds-navy); }
body.skin-billdr #app .fc-segbtn:focus-visible { outline: none; box-shadow: var(--ds-focus); }
body.skin-billdr #app .fc-chip { border-color: var(--ds-line); color: var(--ds-navy); background: var(--ds-fill); }
body.skin-billdr #app .fc-prog-t { color: var(--ds-muted); font-size: var(--ds-fs-xs); }
body.skin-billdr #app .fc-bar { background: var(--ds-fill); }
body.skin-billdr #app .fc-bar span { background: var(--ds-navy); }
@media (max-width: 560px) { .fc-grid { grid-template-columns: minmax(0, 1fr); } }
