/* FP&A fix round 2 · shell (2026-10-20) — the header's company mark and
   Company chip, the Decisions runway bars, the Close tiles and the automated
   checks block. Kit tokens from fpa-analyst.css; every rule scoped. */

/* ── Brand row: the analyst's mark + whose books ─────────────────────────── */
.cv5-fpa .cv5sh-mark.fa-r2-mark {
  background: #0f7b85; color: #fff; border-radius: 10px;
  font-size: 12.5px; letter-spacing: .03em; box-shadow: none;
}
.cv5-fpa .cv5sh-id .wm[data-testid="fpa-shell-company"] {
  max-width: min(46vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Context row: the Company chip, first, as a caption-over-value field ── */
.cv5-fpa .cv5sh-ctx .fa-r2-co { flex: none; position: relative; }
.cv5-fpa .cv5sh-ctx .fa-r2-co > summary.cv5-chip,
.cv5-fpa .cv5sh-ctx span.fa-r2-co.cv5-chip,
.cv5-fpa .cv5sh-ctx a.fa-r2-co.cv5-chip {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  column-gap: 10px; align-content: center; text-align: left;
  min-height: 34px; height: auto; padding: 5px 12px;
  border: 1px solid #e3e7f0; border-radius: 8px; background: #fff;
  color: var(--cv5-ink, #17233d); box-shadow: none; cursor: pointer;
}
.cv5-fpa .cv5sh-ctx .fa-r2-co .dot { display: none; }
.cv5-fpa .cv5sh-ctx .fa-r2-co .k {
  grid-row: 1; grid-column: 1;
  font-size: 8px; line-height: 1; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: #949cb0; white-space: nowrap;
}
.cv5-fpa .cv5sh-ctx .fa-r2-co .k ~ span:not(.chev) {
  grid-row: 2; grid-column: 1;
  font-size: 11px; line-height: 1.3; font-weight: 700; color: var(--cv5-ink, #17233d);
  white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
}
.cv5-fpa .cv5sh-ctx .fa-r2-co .chev {
  grid-row: 1 / span 2; grid-column: 2; align-self: center;
  color: var(--cv5-ink3, #8a92a8); font-size: 11px; margin: 0;
}
.cv5-fpa .cv5sh-ctx .fa-r2-co[open] > summary.cv5-chip { border-color: var(--fa-accent, #0B5CAD); }
.cv5-fpa .cv5sh-ctx .fa-r2-co .cv5sh-menu { left: 0; right: auto; min-width: 260px; }
.cv5-fpa .cv5sh-ctx .fa-r2-co .cv5sh-menu a .cosw-sub { display: block; }
@media (max-width: 1100px) {
  .cv5-fpa .cv5sh-ctx .fa-r2-co .k { display: none; }
  .cv5-fpa .cv5sh-ctx .fa-r2-co > summary.cv5-chip,
  .cv5-fpa .cv5sh-ctx span.fa-r2-co.cv5-chip,
  .cv5-fpa .cv5sh-ctx a.fa-r2-co.cv5-chip { grid-template-rows: auto; }
  .cv5-fpa .cv5sh-ctx .fa-r2-co .k ~ span:not(.chev) { grid-row: 1; max-width: 46vw; }
}

/* ── Decisions: the hiring card's runway bars ────────────────────────────── */
.fa-r2-rw { margin: 10px 0 4px; display: grid; gap: 8px; }
.fa-r2-rw-r { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; font-size: 12.5px; color: var(--fa-ink2, #44506a); }
.fa-r2-rw-t { position: relative; height: 26px; background: #eef2f8; border-radius: 6px; }
.fa-r2-rw-f { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; min-width: 64px; box-sizing: border-box; }
.fa-r2-rw-f b { color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fa-r2-rw-f.base { background: #0f7b85; }
.fa-r2-rw-f.with { background: #d38a1f; }
.fa-r2-rw-gap {
  position: absolute; top: 0; bottom: 0; border: 1px dashed var(--fa-bad, #c43d4b); border-left: 0;
  border-radius: 0 6px 6px 0; box-sizing: border-box;
  background: repeating-linear-gradient(135deg, rgba(217,112,122,.18) 0 4px, transparent 4px 8px);
  display: flex; align-items: center; justify-content: center;
}
.fa-r2-rw-gap i { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--fa-bad, #c43d4b); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fa-r2-rw-ax { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.fa-r2-rw-ax > div { position: relative; height: 14px; }
.fa-r2-rw-ax i { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 10.5px; color: #949cb0; white-space: nowrap; }
.fa-r2-rw-ax i:first-child { transform: none; }
.fa-r2-rw-ax i:last-child { transform: translateX(-100%); }
@media (max-width: 560px) {
  .fa-r2-rw-r, .fa-r2-rw-ax { grid-template-columns: 88px 1fr; }
}

/* ── Close: the second tile row and the automated-checks block ─────────── */
.fa-r2-cl-more { margin-top: -4px; }
.fa-r2-cl-more .fa-tile { padding-top: 10px; padding-bottom: 10px; }
.fa-r2-chk .fa-card-head { align-items: flex-start; }
.fa-r2-chk-ex {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
  margin-top: 10px; padding: 10px 14px; border-radius: 10px;
  background: #fdf6e9; border: 1px solid #f1dfb8;
}
.fa-r2-chk-ex p { margin: 0; font-size: 13px; color: var(--fa-ink, #17233d); }
.fa-r2-chk-ex small { display: block; margin-top: 2px; font-size: 12px; color: #8a92a8; }
.fa-r2-chk-tag {
  display: inline-block; margin-right: 8px; padding: 1px 6px; border-radius: 4px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #9a6512; background: #fbe8c4;
}
.fa-r2-chk-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fa-r2-chk-acts .fa-btn { padding: 5px 10px; font-size: 12px; }
.fa-r2-chk-none { margin: 8px 0 0; font-size: 13px; color: #5b6b85; }

/* The mockup's brand row carries no dot before «Your financial analyst». */
.cv5-fpa .cv5sh .cv5sh-id .cv5-role .b { display: none; }
