/* Screen 07 · New business (#/pipeline) and the prospect page (#/prospect/:id), in the prototype's
   layout (session 08). Both are built on the shared prototype classes in v2.css (.ph, .ph-badge,
   .profile-strip, .secwrap, .btbl, .dcard, .tabbtn, .kv, .mon, .assess); the rules here are only
   what those do not carry, scoped to .nb-page so they cannot reach another screen. The .business-*
   workspace pages (recorded introductions) keep their styles in operations.css. */

/* Descriptions run long in the Gaps tab; the first column of every table wraps so the table fits. */
.nb-page .btbl td{white-space:normal}
.nb-page .btbl td .pill{white-space:nowrap}
.nb-page .btbl td:first-child{min-width:200px}
.nb-page .btbl td.nb-wrap{min-width:320px;line-height:1.5}
.nb-page .dcard .dbar .btn:disabled{cursor:help}

/* The prototype's stage stepper: one bar per stage, done in green, the current one in blue. */
/* One column per stage, each label wrapping inside its own column: an uppercase, letter-spaced label
   ran wider than its column and into the next ("UNDERWRITINGSENT TO ACTUARIAL"). */
.nb-page .nb-stepper{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(min-content,1fr);column-gap:8px;align-items:start;overflow-x:auto;margin:14px 0 22px}
.nb-page .nb-step{min-width:min-content}
.nb-page .nb-step-bar{height:4px;border-radius:2px;background:var(--surface-3)}
.nb-page .nb-step-bar.done{background:var(--green-deep)}
.nb-page .nb-step-bar.on{background:var(--blue)}
.nb-page .nb-step-l{margin-top:6px;font-size:11.5px;line-height:1.3;font-weight:600;color:var(--text-muted)}
.nb-page .nb-step-l.done{color:var(--text-2)}
.nb-page .nb-step-l.on{color:var(--blue-deep);font-weight:700}

/* The prototype's sticky action bar at the foot of the prospect page. */
.nb-page .nb-actionbar{position:sticky;bottom:0;display:flex;gap:8px;flex-wrap:wrap;background:var(--surface);border-top:1px solid var(--line);padding:10px 0;margin-top:10px;z-index:2}
.nb-page .nb-actionbar .btn:disabled{cursor:help}
