/* R5 employee wage context, 20261030cost1: the lead's private "Employee wage context" section and the separate CALC+ section in the opening
   drawer (assets/pursuit-cost.js). Existing paper, ink, line, olive and focus tokens only. Hairline rows; no chart, bar, meter, pill, red,
   shadow or transition. The picked row is marked by the radio and its duties, never by colour alone. */
body.fd-design .pv-cost { min-width:0; margin-top:24px; padding-top:14px; border-top:1px solid var(--fd-line); }
body.fd-design .pv-cost :is(.pv-line, .pv-private, .pv-h3, .pv-label, .pv-cost-fact, dt, dd, li, legend, summary) { min-width:0; overflow-wrap:anywhere; word-break:normal; }
body.fd-design .pv-cost > .pv-h3 { margin:0 0 4px; font:500 18px/1.3 var(--font-serif); color:var(--fd-ink); }
/* break-word, not anywhere: anywhere lets a flex row squeeze a button to one letter, so a word would split instead of the button wrapping. */
body.fd-design .pv-cost .btn { min-height:44px; max-width:100%; white-space:normal; text-align:left; overflow-wrap:break-word; }
body.fd-design .pv-cost-body { margin-top:8px; }
body.fd-design .pv-cost-body:empty { display:none; }
body.fd-design .pv-cost-facts { margin:6px 0 10px; padding:0; border-top:1px solid var(--fd-line); }
body.fd-design .pv-cost-fact { display:flex; flex-wrap:wrap; gap:2px 14px; padding:8px 2px; border-bottom:1px solid var(--fd-line); }
body.fd-design .pv-cost-fact > dt { flex:0 1 128px; margin:0; color:var(--fd-muted); font-size:12px; font-weight:600; letter-spacing:.03em; }
body.fd-design .pv-cost-fact > dd { flex:1 1 200px; margin:0; color:var(--fd-ink); font-size:14px; line-height:1.45; }
body.fd-design .pv-cost-range { margin:10px 0 4px; font-size:15px; font-weight:600; line-height:1.5; }
body.fd-design .pv-cost-note { margin:10px 0 4px; padding:2px 0 2px 12px; border-left:3px solid var(--fd-line); font-weight:500; }
body.fd-design .pv-cost-busy { font-weight:600; }
body.fd-design .pv-cost-details { margin:8px 0 2px; }
body.fd-design .pv-cost-details > summary { display:list-item; min-height:44px; padding:12px 0; color:var(--fd-green-dark); font-size:13px; font-weight:500; line-height:20px; cursor:pointer; }
body.fd-design .pv-cost-details-body { margin:0 0 4px; padding:2px 0 4px 12px; border-left:3px solid var(--fd-line); }
body.fd-design .pv-cost-details-body .pv-label { margin:12px 0 4px; }
body.fd-design .pv-cost-files { list-style:none; margin:4px 0 0; padding:0; }
body.fd-design .pv-cost-file { display:flex; flex-wrap:wrap; align-items:center; gap:0 10px; min-height:44px; padding:0; border-top:1px solid var(--fd-line); font-size:13.5px; line-height:1.45; }
body.fd-design .pv-cost-file:first-child { border-top:0; }
body.fd-design .pv-cost-file a { display:inline-flex; align-items:center; min-width:0; max-width:100%; min-height:44px; }
body.fd-design .pv-cost-role { color:var(--fd-muted); }
body.fd-design .pv-cost-actions { margin-top:12px; }
body.fd-design .pv-cost-actions[hidden] { display:none; }
body.fd-design .pv-cost-status { margin-top:8px; color:var(--fd-ink); font-weight:500; }
body.fd-design .pv-cost-status:empty { display:none; }
body.fd-design .pv-cost-calc .pv-cost-acts { margin:10px 0 0; }
body.fd-design .pv-cost-link { display:inline-flex; align-items:center; text-decoration:none; }
/* The chooser: one inline panel, four groups, one primary action. */
body.fd-design .pv-cost-editor { min-width:0; margin:14px 0 6px; padding:10px 0 8px; border-top:1px solid var(--fd-line); border-bottom:1px solid var(--fd-line); }
body.fd-design .pv-cost-editor-title { margin:4px 0 6px; font:500 17px/1.3 var(--font-serif); color:var(--fd-ink); }
body.fd-design .pv-cost-editor-title:focus { outline:2px solid var(--fd-green-dark); outline-offset:2px; }
body.fd-design .pv-cost-group { margin:18px 0; }
body.fd-design .pv-cost-group > legend:focus { outline:2px solid var(--fd-green-dark); outline-offset:2px; }
body.fd-design .pv-cost-searchrow { display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px 10px; }
body.fd-design .pv-cost-searchrow > .pv-field { flex:1 1 220px; margin:0; }
body.fd-design .pv-cost-liststatus { margin-top:8px; }
body.fd-design .pv-cost-liststatus:empty { display:none; }
body.fd-design .pv-cost-options { list-style:none; margin:6px 0 0; padding:0; border-top:1px solid var(--fd-line); }
body.fd-design .pv-cost-options:empty { display:none; }
body.fd-design .pv-cost-suggest { margin-bottom:8px; border-top:3px solid var(--fd-green-dark); }
body.fd-design .pv-cost-option { min-width:0; padding:2px 0; border-bottom:1px solid var(--fd-line); }
body.fd-design .pv-cost-option .pv-choice { width:100%; padding:6px 0; }
body.fd-design .pv-cost-option .pv-choice-text { flex:1 1 auto; }
body.fd-design .pv-cost-match { color:var(--fd-green-dark); font-weight:600; }
body.fd-design .pv-cost-duties { margin:0 0 10px 28px; padding:0; color:var(--fd-ink); font-size:13.5px; }
body.fd-design .pv-cost-duties[hidden] { display:none; }
body.fd-design .pv-cost-listfoot { margin-top:8px; }
body.fd-design .pv-cost-listfoot:empty { display:none; }
body.fd-design .pv-cost-summary { margin:14px 0 4px; }
body.fd-design .pv-cost-summary:empty { display:none; }
body.fd-design .pv-cost-editor .pv-errors { margin-top:12px; }
body.fd-design .pv-cost-editor .pv-errors[hidden] { display:none; }
body.fd-design .pv-cost-editor-actions { margin-top:12px; }
@media (max-width:600px) {
  body.fd-design .pv-cost-actions .btn, body.fd-design .pv-cost-editor-actions .btn, body.fd-design .pv-cost-listfoot .btn,
  body.fd-design .pv-cost-searchrow .btn, body.fd-design .pv-cost-link { width:100%; flex:1 1 100%; }
  body.fd-design .pv-cost-fact > dt { flex-basis:100%; }
  body.fd-design .pv-cost-duties { margin-left:28px; }
}
