/* The Axon network (views/network.js) and its shared pieces (views/netkit.js): the ontology path, match reasons, the
   demo badge — also used by the hire sheet, the profile pages and the canvas approval card. Tokens: base.css. */

/* ------------------------------------------------------------------ shared pieces */
/* one-line words in a pill, chip or tab: an ellipsis when they do not fit, the whole words in the holder's title */
.nw-ell { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-pill { max-width: 100%; min-width: 0; }
.nw-pill > svg { flex: none; }
.nw-page .chip, .nw-choices .chip, .nw-pick .chip { white-space: nowrap; max-width: 100%; min-width: 0; }
.nw-page .chip > svg, .nw-choices .chip > svg { flex: none; }
/* chip groups: each chip one line, the group wraps with even gaps (never a capsule) */
.nw-choices { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.mk-choiceset .chip { min-height: 36px; }
.mk-choiceset .chip[aria-pressed="true"] svg:last-child { width: 13px; height: 13px; }
.nw-facets { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.nw-regionbox { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; min-height: 44px; cursor: text; min-width: 0; }
.nw-regionbox:focus-within { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-wash); }
.nw-regionbox .mk-tag { min-width: 0; white-space: nowrap; }
.nw-regionbox .mk-tag button { flex: none; }

.nw-demo { background: var(--warn-wash); color: var(--warn-ink); }
.nw-demo svg { width: 11px; height: 11px; }

.nw-path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px; min-width: 0; }
.nw-step { position: relative; display: flex; align-items: center; gap: 9px; padding-right: 34px; min-width: 0; }
.nw-step:last-child { padding-right: 0; }
.nw-step:not(:last-child)::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 10px; margin-top: -5px; background: var(--ink-4);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nw-step-dot { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--wash-2); color: var(--ink-2); }
.nw-step-dot svg { width: 15px; height: 15px; }
.nw-step.is-capability .nw-step-dot { background: var(--accent-wash); color: var(--accent-ink); }
.nw-step.is-person .nw-step-dot { background: var(--ink); color: var(--canvas); }
.nw-step.is-need .nw-step-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-4); }
.nw-step-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nw-step-kind { font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
:lang(zh) .nw-step-kind { letter-spacing: 0.02em; text-transform: none; font-size: 11px; }
.nw-step-label { font-size: 13.5px; font-weight: 560; color: var(--ink); overflow-wrap: anywhere; }
/* the full path: one row of steps, each a dot above its kind and words, joined by a line */
.nw-path:not(.is-compact) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: start; gap: 0 10px; }
.nw-path:not(.is-compact) .nw-step { flex-direction: column; align-items: flex-start; gap: 8px; padding-right: 0; }
.nw-path:not(.is-compact) .nw-step:not(:last-child)::after {
  left: 42px; right: -4px; top: 16px; width: auto; height: 1.5px; margin-top: 0; -webkit-mask: none; mask: none;
  background: linear-gradient(90deg, var(--ink-4), var(--accent-line)); opacity: 0.55;
}
.nw-path.is-compact { row-gap: 6px; }
.nw-path.is-compact .nw-step { gap: 6px; padding-right: 24px; }
.nw-path.is-compact .nw-step:last-child { padding-right: 0; }
.nw-path.is-compact .nw-step::after { right: 5px; width: 13px; }
.nw-path.is-compact .nw-step-dot { width: 22px; height: 22px; }
.nw-path.is-compact .nw-step-dot svg { width: 12px; height: 12px; }
.nw-path.is-compact .nw-step-label { font-size: 12.5px; font-weight: 520; color: var(--ink-2); display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.nw-path.is-compact .nw-step { max-width: 100%; }
.nw-path.is-compact .nw-step-text { min-width: 0; }
.nw-path.is-compact .nw-step.is-person .nw-step-label { color: var(--ink); font-weight: 600; }
.nw-path.is-animated .nw-step { animation: nw-step 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 170ms + 120ms); }
.nw-path.is-animated .nw-step::after { animation: nw-grow 420ms var(--ease) both; animation-delay: calc(var(--i, 0) * 170ms + 300ms); transform-origin: left center; }
@keyframes nw-step { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes nw-grow { from { transform: scaleX(0); } to { transform: none; } }

.nw-reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; }
.nw-reason { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-2); min-width: 0; }
.nw-reason svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--accent-ink); }
.nw-reason.is-track_record svg { color: var(--ok); }
.nw-reason span { min-width: 0; overflow-wrap: anywhere; }

.nw-score { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nw-score-ticks { display: inline-flex; gap: 2px; }
.nw-score-ticks i { width: 4px; height: 14px; border-radius: 2px; background: var(--wash-2); }
.nw-score-ticks i.on { background: var(--accent); }
.nw-score-n { font-size: var(--fs-cap); color: var(--ink-2); font-weight: 600; }

/* ------------------------------------------------------------------ the network's tabs (People · Marketplace) */
.net-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--wash); margin: 4px 0 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.net-tabs::-webkit-scrollbar { display: none; }
.net-tabs a { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 580; color: var(--ink-2); white-space: nowrap; transition: background var(--t-1) var(--ease), color var(--t-1); }
.net-tabs a { gap: 7px; }
.net-tabs a svg { width: 15px; height: 15px; flex: none; }
.net-tabs a:hover { color: var(--ink); }
.net-tabs a[aria-current="page"] { background: var(--s1); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), inset 0 0 0 0.5px var(--hair-2); }
.net-tabs a:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }

/* ------------------------------------------------------------------ the page */
.nw-page { max-width: 1480px; }
.nw-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; padding: 16px 0 18px; }
.nw-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); }
.nw-eyebrow svg { width: 14px; height: 14px; }
.nw-title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.032em; font-weight: 680; margin: 8px 0 10px; }
.nw-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.nw-stats { display: grid; grid-template-columns: repeat(5, auto); gap: 4px 28px; }
.nw-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nw-stat-n { font-size: 30px; font-weight: 620; letter-spacing: -0.03em; line-height: 1; }
.nw-stat-l { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-cap); color: var(--ink-3); white-space: nowrap; }
.nw-stat-l svg { width: 13px; height: 13px; color: var(--ink-4); }
.nw-demo-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }

.nw-search { padding: 22px 24px 18px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.nw-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.nw-ask-words { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.nw-ask-q { color: var(--ink-3); margin-left: -6px; }
.nw-ask-slot {
  flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 14px;
  background: var(--s2); box-shadow: inset 0 0 0 0.5px var(--hair-2); transition: box-shadow var(--t-1) var(--ease), background var(--t-1);
}
.nw-ask-slot:nth-of-type(2) { flex: 2 1 260px; }
.nw-ask-slot:focus-within { box-shadow: inset 0 0 0 2px var(--accent-line); background: var(--s1); }
.nw-ask-slot svg { width: 17px; height: 17px; flex: none; color: var(--ink-3); }
.nw-ask-input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font-size: 19px; font-weight: 550; letter-spacing: -0.01em; outline: none; }
.nw-ask-input::placeholder { color: var(--ink-4); font-weight: 450; }
.nw-go { height: 48px; padding: 0 22px; }
.nw-go.is-busy svg { animation: nw-spin 0.9s linear infinite; }
@keyframes nw-spin { to { transform: rotate(360deg); } }
.nw-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nw-example { min-height: 30px; padding: 4px 12px; }
.nw-example svg { color: var(--ink-4); }
.nw-example-in { color: var(--ink-4); }
.nw-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding-top: 14px; border-top: 0.5px solid var(--hair); }
.nw-filters-l { display: inline-flex; align-items: center; gap: 5px; align-self: center; }
.nw-filters-l svg { width: 13px; height: 13px; }
.nw-filter { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 0 1 210px; }
.nw-filter-l { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.nw-select { min-height: 34px; height: 34px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }
.nw-verified-toggle { align-self: flex-end; height: 34px; }
.nw-verified-toggle[aria-pressed="true"] { background: var(--ok-wash); color: var(--ok); }
.nw-clear { align-self: flex-end; height: 34px; }

.nw-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.nw-main, .nw-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nw-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.nw-card-head .card-title { display: inline-flex; align-items: center; gap: 7px; }
.nw-card-head .card-title svg { width: 16px; height: 16px; color: var(--ink-3); }

/* results */
.nw-results { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nw-results-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 4px 2px 0; }
.nw-to-agents { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.nw-to-agents svg { width: 13px; height: 13px; }
.nw-need { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 2px 2px 0; }
.nw-need-l { font-weight: 600; }
.nw-need-read { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.nw-need-read .pill { height: 26px; padding: 0 10px; font-size: 12.5px; }
.nw-explain { flex-basis: 100%; max-width: 80ch; }
.nw-match-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nw-match { padding: 18px 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 14px; animation: nw-rise 480ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.nw-match.is-featured { padding: 22px 24px; background: linear-gradient(180deg, var(--accent-wash), transparent 150px), var(--s1); box-shadow: inset 0 0 0 0.5px var(--accent-wash); }
.nw-match.is-featured .nw-path { padding: 14px 16px; border-radius: 16px; background: var(--s1); box-shadow: inset 0 0 0 0.5px var(--hair-2); }
.nw-match-skel { animation: none; }
@keyframes nw-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nw-match-head { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.nw-rank { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 650; background: var(--wash-2); color: var(--ink-2); }
.nw-match.is-featured .nw-rank { background: var(--accent); color: var(--on-accent); }
.nw-match .avatar { width: 38px; height: 38px; font-size: 14px; border-radius: 12px; background: linear-gradient(145deg, var(--s3), var(--s2)); color: var(--ink); }
.nw-match .nw-avatar-lg { width: 48px; height: 48px; font-size: 17px; border-radius: 15px; }
.nw-match-id { min-width: 0; }
.nw-match-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nw-match-name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.nw-match.is-featured .nw-match-name { font-size: 18px; }
.nw-match-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.nw-match-headline { margin-top: 2px; }
.nw-match-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nw-match-foot .mk-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.nw-match-foot .mk-rating svg { width: 14px; height: 14px; color: var(--warn); }
.nw-verified { max-width: 100%; }
.nw-match-go { margin-left: auto; }
.nw-offers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 10px; border-top: 0.5px solid var(--hair); }
.nw-offer { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.nw-offer svg { width: 13px; height: 13px; color: var(--no-ink); flex: none; }
.nw-hidden-n { padding: 0 4px; }
.nw-intro { display: flex; flex-direction: column; gap: 18px; }
.nw-intro-lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.nw-intro-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nw-intro-steps li { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; background: var(--wash); }
.nw-intro-ic { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-ink); }
.nw-intro-ic svg { width: 15px; height: 15px; }

/* the graph */
.nw-graph-card, .nw-map-card { padding: 20px 20px 16px; }
.nw-graph-box, .nw-map-box { width: 100%; min-width: 0; }
.nw-graph-skel { height: 420px; border-radius: 16px; }
.nw-graph text, .nw-map text { text-overflow: ellipsis; }
.nw-graph, .nw-map { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.nw-graph-cap { margin-top: 8px; min-height: 1.45em; }
.nw-graph-axis { font-size: 10.5px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; fill: var(--ink-4); }
:lang(zh) .nw-graph-axis { letter-spacing: 0.02em; }
.nw-graph-more { font-size: 11px; fill: var(--ink-4); }
.nw-edge { fill: none; stroke: var(--ink-4); stroke-opacity: 0.32; stroke-width: 1; transition: stroke-opacity var(--t-2) var(--ease), stroke var(--t-2); }
.nw-edge.is-dim { stroke-opacity: 0.09; }
.nw-edge.is-lit { stroke: var(--accent); stroke-opacity: 0.95; stroke-width: 1.7; stroke-dasharray: 4 5; animation: nw-flow 1.8s linear infinite; }
.nw-edge.is-lit, .nw-node.is-lit .nw-node-dot, .nw-place.is-lit .nw-place-dot { filter: drop-shadow(0 0 3px var(--accent-wash)) drop-shadow(0 0 6px var(--accent-wash)); }
.has-focus .nw-edge { stroke-opacity: 0.07; }
.has-focus .nw-edge.is-near { stroke: var(--ink-2); stroke-opacity: 0.85; stroke-width: 1.4; }
.has-focus .nw-edge.is-lit.is-near { stroke: var(--accent); }
@keyframes nw-flow { to { stroke-dashoffset: -18; } }
.is-entering .nw-edge { animation: nw-fade 900ms var(--ease) both; }
.is-entering .nw-node { animation: nw-fade 520ms var(--ease) both; }
@keyframes nw-fade { from { opacity: 0; } }
.nw-node { cursor: pointer; outline: none; transition: opacity var(--t-2) var(--ease); }
.nw-node.is-dim { opacity: 0.32; }
.has-focus .nw-node:not(.is-near) { opacity: 0.25; }
.nw-node-dot { stroke-width: 1.5; transition: fill var(--t-2), stroke var(--t-2); }
.nw-node.is-capability .nw-node-dot { fill: var(--accent-wash); stroke: var(--accent-line); }
.nw-node.is-place .nw-node-dot { fill: var(--s1); stroke: var(--ink-3); }
.nw-node.is-person .nw-node-dot { fill: var(--ink-3); stroke: var(--s1); }
.nw-node.is-lit .nw-node-dot { fill: var(--accent); stroke: var(--accent-line); }
.nw-node.is-person.is-lit .nw-node-dot { r: 9px; stroke: var(--s1); stroke-width: 2; }
.nw-node-halo { fill: var(--accent-wash); animation: nw-breathe 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes nw-breathe { 50% { transform: scale(1.25); opacity: 0.6; } }
.nw-node-rank { font-size: 10px; font-weight: 700; fill: var(--on-accent); pointer-events: none; }
.nw-node-label { font-size: 12px; fill: var(--ink-2); font-weight: 500; }
.nw-node.is-lit .nw-node-label { fill: var(--ink); font-weight: 650; }
.nw-node:hover .nw-node-dot, .nw-node:focus-visible .nw-node-dot { stroke: var(--ink); stroke-width: 2.5; }
.nw-node:focus-visible .nw-node-label { text-decoration: underline; }

/* the map */
.nw-land circle { fill: var(--ink-4); opacity: 0.3; }
.nw-map.is-us .nw-land circle { opacity: 0.14; }
.nw-map.is-us .nw-land circle.is-us { opacity: 0.6; }
.nw-place-dot { fill: var(--ink-2); fill-opacity: 0.85; stroke: var(--s1); stroke-width: 1.5; transition: fill var(--t-2); }
.nw-place.is-dim { opacity: 0.45; }
.nw-place.is-lit .nw-place-dot { fill: var(--accent); fill-opacity: 1; }
.nw-place-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: nw-ping 2.6s ease-out infinite; }
@keyframes nw-ping { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }
.nw-map-need circle { fill: none; stroke: var(--accent-ink); stroke-width: 1.5; stroke-dasharray: 2 3; }
.nw-map-need path { stroke: var(--accent-ink); stroke-width: 1.5; stroke-linecap: round; }
.nw-map-labels text { font-size: 11px; fill: var(--ink-3); font-weight: 520; paint-order: stroke; stroke: var(--s1); stroke-width: 3px; stroke-linejoin: round; }
.nw-map-labels text.is-lit { fill: var(--ink); font-weight: 650; }

/* how agents use it */
.nw-agents { display: flex; flex-direction: column; gap: 10px; }
.nw-agents .nw-card-head { margin-bottom: 2px; }
.nw-agents-idle { padding: 4px 0 2px; }
.nw-code-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.nw-agents-tabs button { height: 26px; font-size: 12px; padding: 0 10px; }
.nw-code { position: relative; border-radius: 14px; background: var(--s2); box-shadow: inset 0 0 0 0.5px var(--hair); min-width: 0; }
.nw-code pre { margin: 0; padding: 14px 16px; overflow: auto; max-height: 300px; font: 12.5px/1.6 var(--mono); color: var(--ink-2); white-space: pre; tab-size: 2; }
.nw-code-res pre { max-height: 380px; }
.nw-code pre:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; border-radius: 14px; }
.nw-copy { position: absolute; top: 6px; right: 6px; height: 28px; padding: 0 10px; font-size: 12px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tk-key { color: var(--ink); font-weight: 600; }
.tk-str { color: var(--accent-ink); }
.tk-num { color: var(--ink); }
.tk-lit { color: var(--ink-3); font-style: italic; }
.tk-com { color: var(--ink-4); }

/* ------------------------------------------------------------------ the profile pickers (views/provider.js) */
.nw-pick { display: flex; flex-direction: column; gap: 10px; }
.nw-pick-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nw-pick-search { flex: 1 1 220px; min-width: 0; }
.nw-pick-count { white-space: nowrap; }
.nw-pick-groups { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: auto; padding: 2px; border-radius: 12px; }
.nw-pick-group { display: flex; flex-direction: column; gap: 6px; }
.nw-pick-group-l { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 650; color: var(--ink-3); }
.nw-pick-group-l svg { width: 13px; height: 13px; }
.nw-pick .chip[aria-pressed="true"] { background: var(--accent-wash); color: var(--accent-ink); }
.nw-pick .chip[disabled] { opacity: 0.45; cursor: not-allowed; }
.nw-pick .chip .nw-onsite { color: var(--ink-4); font-size: 11px; }
.nw-places-read { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.nw-places-read .pill.is-pending { background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink-3); }
.nw-pub-caps { display: flex; flex-direction: column; gap: 8px; }
.nw-pub-cap { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--wash); min-width: 0; }
.nw-pub-cap-top { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; min-width: 0; }
.nw-pub-cap-name { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 560; min-width: 0; }
.nw-pub-cap-name svg { width: 15px; height: 15px; color: var(--accent-ink); flex: none; }
.nw-pub-informs { font-size: 12px; line-height: 1.45; color: var(--ink-3); padding-left: 23px; }
.nw-rates { display: flex; flex-direction: column; gap: 2px; }
.nw-pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.nw-pub-fact { display: flex; flex-direction: column; gap: 3px; }
.nw-pub-fact b { font-size: 22px; font-weight: 620; letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ the hire sheet and the approval card */
/* the summaries' chevron (market.css) is rotated past the box's edge: room for it */
.hire-instr summary, .hire-adjust summary { padding-right: 4px; }
.hire-reasons.is-network { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 2px; }
.hire-opt .nw-path { margin-top: 2px; }
.hire-opt .nw-reasons { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.stappr-matches { display: flex; flex-direction: column; gap: 8px; margin: 4px 0; }
.stappr-matches-l { display: inline-flex; align-items: center; gap: 6px; }
.stappr-match { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--wash); }
.stappr-match-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stappr-match-head a { font-weight: 600; }
.stappr-match .nw-score { margin-left: auto; }
.stappr-match-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.stappr-match-who .avatar { flex: none; width: 26px; height: 26px; font-size: 10.5px; background: var(--wash-2); color: var(--ink); }
.stappr-match-name { min-width: 0; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.stappr-match .nw-reasons { grid-template-columns: minmax(0, 1fr); gap: 3px; }
.stappr-match .nw-reason { font-size: 12.5px; }

/* ------------------------------------------------------------------ narrow screens */
@media (max-width: 1180px) {
  .nw-head { grid-template-columns: minmax(0, 1fr); }
  .nw-stats { grid-template-columns: repeat(5, minmax(0, auto)); justify-content: start; }
}
@media (max-width: 1020px) {
  .nw-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nw-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .nw-stat-n { font-size: 24px; }
  .nw-stat-l { white-space: normal; align-items: flex-start; line-height: 1.3; }
  .nw-stat-l svg { margin-top: 1px; flex: none; }
  .nw-lead { font-size: 16px; }
  .nw-search { padding: 16px; }
  .nw-ask { gap: 8px; }
  .nw-ask-words { font-size: 17px; }
  .nw-ask-q { display: none; }
  .nw-ask-slot, .nw-ask-slot:nth-of-type(2) { flex: 1 1 100%; height: 46px; }
  .nw-ask-input { font-size: 17px; }
  .nw-go { flex: 1 1 100%; }
  .nw-filter { flex: 1 1 calc(50% - 6px); }
  .nw-filters-l { flex-basis: 100%; }
  .nw-verified-toggle { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .nw-match, .nw-match.is-featured { padding: 16px; }
  .nw-match-head { grid-template-columns: auto auto minmax(0, 1fr); }
  .nw-match-score { grid-column: 1 / -1; }
  .nw-intro-steps { grid-template-columns: minmax(0, 1fr); }
  .nw-path:not(.is-compact) { display: flex; flex-direction: column; align-items: stretch; row-gap: 0; }
  .nw-path:not(.is-compact) .nw-step { flex-direction: row; align-items: flex-start; gap: 10px; padding: 0 0 14px; }
  .nw-path:not(.is-compact) .nw-step-text { padding-top: 0; }
  .nw-path:not(.is-compact) .nw-step:last-child { padding-bottom: 0; }
  .nw-path:not(.is-compact) .nw-step:not(:last-child)::after { right: auto; left: 15.25px; top: 36px; bottom: 4px; margin-top: 0; width: 1.5px; height: auto; opacity: 0.6;
    background: linear-gradient(180deg, var(--ink-4), var(--accent-line)); -webkit-mask: none; mask: none; }
  .nw-path.is-animated .nw-step::after { animation: none; }
  .nw-graph-card, .nw-map-card { padding: 16px 12px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nw-edge.is-lit, .nw-node-halo, .nw-place-pulse, .nw-go.is-busy svg { animation: none !important; }
  .nw-place-pulse { opacity: 0.5; }
}

/* ------------------------------------------------------------------ long names and words never push a box wider */
.mk-pub .mk-prov-name, .mk-provide .mk-prov-name, .nw-match-name, .stappr-match-name, .hire-opt-name { min-width: 0; overflow-wrap: anywhere; }
.nw-match-name-row, .stappr-match-head { min-width: 0; }
.nw-match-headline, .nw-explain, .nw-pub-cap-name span { overflow-wrap: anywhere; }
