/* Page styles for work-zkb.html.
   Extracted from the inline <style> blocks on 2026-09-11, byte for byte and in
   the same order, and linked from the same position in the head. The cascade is
   unchanged; what changed is that the CSS is now a file the browser can cache
   and a person can read. */

.case-fig__cap { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.55; text-align: center; }

    /* ── designed process figures (replace the wireframe node-graphs): visual but restrained ── */
    .pf { margin: clamp(24px,3.5vw,36px) 0 0; }
    .pf__card { padding:0; }
    .pf__row { display:flex; align-items:center; gap:clamp(10px,1.6vw,18px); }
    .pf__col { display:flex; flex-direction:column; gap:9px; flex:1; min-width:0; }
    .pf__k { font-family:inherit; font-size:11.5px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--muted); margin:0 0 6px; }
    .pf__k--accent { color:#3f8d5a; } .pf__k--alert { color:#c0593f; }
    .pf-node { background:#fff; border:1px solid var(--rule); border-radius:11px; padding:11px 13px; box-shadow:0 8px 18px -14px rgba(20,18,14,.4); }
    .pf-node__n { font-size:13px; font-weight:600; color:var(--ink); line-height:1.2; }
    .pf-node__s { display:block; font-family:'JetBrains Mono',ui-monospace,monospace; font-size: 11px; letter-spacing:.03em; color:var(--muted); margin-top:5px; }
    .pf-node--accent { border-color:rgba(63,141,90,.42); } .pf-node--accent .pf-node__s { color:#3b8454; }
    .pf-node--alert { border-color:rgba(192,89,63,.42); } .pf-node--alert .pf-node__s { color:#be583e; }
    .pf-node--io { background:transparent; border-style:dashed; box-shadow:none; }
    .pf-node--io .pf-node__n { color:var(--ink-soft,#4a4a44); font-weight:500; }
    .pf-arrow { flex:0 0 auto; color:#c3bba8; display:flex; align-items:center; justify-content:center; }
    .pf-arrow svg { width:20px; height:20px; }
    .pf-cap { text-align:left; font-size:13px; color:var(--muted); line-height:1.55; margin:16px 0 0; max-width:60ch; }
    .pf-bar { margin-top:15px; font-family:inherit; font-size:12.5px; font-weight:500; letter-spacing:0; text-transform:none; color:#3f8d5a; }
    .pf-loop { display:flex; align-items:center; justify-content:flex-start; gap:8px; margin-top:16px; font-family:inherit; font-size:12.5px; font-weight:500; letter-spacing:0; text-transform:none; color:#b07d22; }
    .pf-loop svg { width:15px; height:15px; }
    .pf-node--alert.pf-node--ghost { opacity:.7; }
    @media (max-width: 720px) {
      .pf__row { flex-direction:column; align-items:stretch; }
      /* inline flex-basis (e.g. 240px) is a WIDTH on desktop but becomes a HEIGHT once the row stacks; reset it so nodes hug their content */
      .pf__col { flex:0 1 auto !important; }
      .pf-arrow { transform:rotate(90deg); align-self:center; margin:2px 0; }
    }


    /* node-graph diagrams, AI-map idiom: nodes joined centre-to-centre by drawn lines */
    .smap { margin: clamp(24px, 4vw, 36px) auto 0; max-width: 560px; }
    .smap--wide { max-width: 640px; }
    .smap__scene { position: relative; width: 100%; aspect-ratio: 1000/520; }
    .smap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
    .smap__edge { fill: none; stroke: color-mix(in srgb, var(--ink) 20%, transparent); stroke-width: 1.6; }
    .smap__edge--flow { stroke: color-mix(in srgb, var(--ink) 26%, transparent); stroke-dasharray: 5 7; }
    .smap__feed { fill: none; stroke: rgba(63,141,90,.5); stroke-width: 1.3; stroke-dasharray: 3.5 7; }
    .smap__loop { fill: none; stroke: rgba(176,125,34,.7); stroke-width: 1.4; stroke-dasharray: 4 6; }
    @media (prefers-reduced-motion: no-preference) {
      .smap__edge--flow { animation: smapdash 1.05s linear infinite; }
      .smap__feed { animation: smapdash 1.6s linear infinite; }
      .smap__loop { animation: smapdash 1.3s linear infinite reverse; }
    }
    @keyframes smapdash { to { stroke-dashoffset: -24; } }
    .smap__node { position: absolute; transform: translate(-50%, -50%); z-index: 2; background: #fff; border: 1px solid var(--rule); border-radius: 11px; padding: 8px 12px; box-shadow: 0 14px 30px -20px rgba(10,10,10,.3); text-align: center; min-width: 90px; }
    .smap__node--io { background: transparent; border: 1px dashed #CDC6B5; box-shadow: none; }
    .smap__node--key { border-color: rgba(63,141,90,.45); }
    .smap__node--alert { border-color: rgba(176,76,52,.5); }
    .smap__node--alert .smap__sub { color: #b04c34; }
    .smap__edge--raw { stroke: rgba(176,76,52,.32); stroke-width: 1.4; }
    .smap__name { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.15; }
    .smap__node:not(.smap__node--io) .smap__name { white-space: nowrap; }
    .smap__sub { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--muted); margin-top: 3px; }
    .smap__node--key .smap__sub { color: #3f8d5a; }
    .smap__gate { position: absolute; transform: translate(-50%, -50%); z-index: 3; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 9.5px; color: var(--muted); background: #fff; border: 1px solid var(--rule); border-radius: 100px; padding: 3px 10px; white-space: nowrap; box-shadow: 0 8px 18px -12px rgba(10,10,10,.25); }
    .smap__gate--loop { color: #b07d22; border-color: rgba(176,125,34,.4); }
    @media (max-width: 520px) {
      .smap__scene { aspect-ratio: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
      .smap__svg { display: none; }
      .smap__node, .smap__gate { position: static; transform: none; left: auto !important; top: auto !important; width: 100%; min-width: 0; text-align: left; }
      .smap__gate { align-self: flex-start; width: auto; }
    }

    /* One-voice router, an interactive decision tool in the site's cream/ink language */
    .case-mock { margin: clamp(56px, 8vw, 96px) auto; max-width: 760px; }
    @media (max-width: 520px) { .case-mock { margin-top: 22px; } }
    .onevoice { border: 1px solid var(--rule); border-radius: 16px; background: #FCFAF4; padding: clamp(18px, 3vw, 28px); }
    .onevoice__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
    .onevoice__eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--muted); margin: 0; }
    .onevoice__reset { border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 7px 16px; font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: all .18s ease; }
    .onevoice__reset:hover { background: var(--ink); color: #F5EFE2; }
    .onevoice__meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
    .onevoice__meter-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }
    .onevoice__meter-track { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
    .onevoice__meter-track i { display: block; height: 100%; border-radius: 99px; background: #3f8d5a; transition: width .35s ease, background .35s ease; }
    .is-build .onevoice__meter-track i { background: #caa94e; }
    .is-bloated .onevoice__meter-track i { background: #b04c34; }
    .onevoice__meter-state { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600; color: #3f8d5a; min-width: 84px; text-align: right; }
    .is-build .onevoice__meter-state { color: #9c7d2a; }
    .is-bloated .onevoice__meter-state { color: #b04c34; }
    .onevoice__queue { display: grid; gap: 8px; }
    .bu { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 11px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
    .bu__name { font-size: 13px; color: var(--ink); }
    .bu__routes { display: inline-flex; gap: 6px; }
    .bu__route { border: 1px solid var(--rule); background: transparent; color: var(--muted); border-radius: 999px; padding: 5px 12px; font-family: inherit; font-size: 11.5px; cursor: pointer; transition: all .15s ease; white-space: nowrap; }
    .bu__route:hover { color: var(--ink); border-color: var(--ink); }
    .bu__route--shared.is-on { background: #3f8d5a; border-color: #3f8d5a; color: #fff; }
    .bu__route--bespoke.is-on { background: #b04c34; border-color: #b04c34; color: #fff; }
    .bu__verdict { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 9.5px; min-width: 100px; text-align: right; color: var(--muted); }
    .bu__verdict.is-shared { color: #3f8d5a; }
    .bu__verdict.is-bespoke { color: #b04c34; }
    .onevoice__note { font-size: 13px; color: var(--muted); margin: 18px 0 0; line-height: 1.55; max-width: 60ch; }
    @media (max-width: 520px) {
      .onevoice__meter { grid-template-columns: 1fr; gap: 8px; }
      .onevoice__meter-state { text-align: left; }
      .bu { grid-template-columns: 1fr; gap: 9px; }
      .bu__verdict { text-align: left; min-width: 0; }
    }
