/* deliverables.css — /deliverables customer download portal (Cut X4).
 *
 * Singer-Elegant primitives: panel surface on a hairline grid, lime livery
 * accent on hover, Inter sans, mono CTAs. Each row is flat with a
 * lime-on-hover left edge — same vocabulary as .legacy-intro and the
 * engagement workstream cards. Format chip uses tabular numerals so the
 * XLSX/PPTX label aligns across rows.
 */

.deliverables-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 14px;
  flex-wrap: wrap;
}
.deliverables-blurb {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 64ch;
  margin: 0;
}

.deliverables-legend {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 8px 0 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
}

/* Stacked list of rows, each a flat panel sitting on a 1px gutter. The
 * gutter colour matches the rule line so adjacent rows read as a single
 * sheet broken into bands.
 */
.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 12px;
}

.deliverable-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-panel);
  padding: 22px 28px;
  border-left: 2px solid transparent;
  transition: background 100ms linear, border-left-color 100ms linear;
}
.deliverable-row:hover {
  background: rgba(150, 193, 33, 0.04);
  border-left-color: var(--livery-lime);
}

.deliverable-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deliverable-eyebrow {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.deliverable-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--ink-primary);
  line-height: 1.25;
  margin: 0;
}

.deliverable-blurb {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 68ch;
  margin: 4px 0 2px;
}

.deliverable-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.deliverable-format-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-primary);
  border: 1px solid var(--rule-strong);
  padding: 3px 8px;
  text-transform: uppercase;
}

.deliverable-status {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--livery-lime);
  text-transform: uppercase;
  font-weight: 600;
}
.deliverable-status.muted {
  color: var(--ink-mute);
}

/* Right-side CTA column. On wide viewports the dropdown sits above the
 * Download button; on narrow viewports the whole column drops below the
 * meta column (see media query below).
 */
.deliverable-cta {
  flex: 0 0 auto;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 220px;
}

.deliverable-cta-lbl {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.deliverable-select {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-body);
  background: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 6px 10px;
  width: 100%;
  min-width: 220px;
  transition: border-color 100ms linear;
}
.deliverable-select:focus {
  outline: none;
  border-color: var(--livery-lime);
}

.deliverable-empty {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
  max-width: 220px;
  text-align: right;
  line-height: 1.5;
}
.deliverable-empty a {
  color: var(--ink-body);
  font-style: normal;
  border-bottom: 1px solid var(--rule);
}
.deliverable-empty a:hover {
  border-bottom-color: var(--livery-lime);
  color: var(--livery-lime);
}

.deliverables-foot {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.deliverables-foot .muted {
  color: var(--ink-mute);
}

@media (max-width: 768px) {
  .deliverables-intro {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .deliverable-row {
    flex-direction: column;
    gap: 16px;
  }
  .deliverable-cta {
    align-self: flex-start;
    align-items: flex-start;
    width: 100%;
  }
  .deliverable-empty {
    text-align: left;
  }
}
