/* Services page, repositioned: an AI product, agent and integration team. The chapters show the live demos from
   ai-work.css/js; "Our position" uses the emblem with its beams (about-emblem.css, emblem-rays.js); websites stay as
   one compact block. Type follows the page: Roboto Condensed 800 capitals, Inter, Consolas labels, cyan #8bdddf. */
.svc-wrap { width: calc(100% - 10vw); max-width: 1400px; margin-inline: auto; }

/* hero: the AI workspace in the browser, an assistant chat on the phone */
.s-site-preview.s-site-preview--ai { background: #0a1018; }
.s-site-preview.s-site-preview--ai img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: none; }
.s-site-preview.s-site-preview--ai::before, .s-site-preview.s-site-preview--ai::after { display: none; }
.s-phone-chat { display: grid; gap: 5px; margin: 8px 0 10px; }
.s-phone-chat p { margin: 0; max-width: 90%; padding: 5px 7px; border-radius: 8px; font: 500 .52em/1.35 Inter, Arial, sans-serif; }
.s-phone-chat .me { justify-self: end; background: #1d2f45; color: #eaf2f8; border-bottom-right-radius: 2px; }
.s-phone-chat .ai { justify-self: start; background: #0f1a28; border: 1px solid rgb(111 183 255 / .35); color: #c7d3dc; border-bottom-left-radius: 2px; }
.s-phone-typing { display: inline-flex !important; gap: 3px; padding: 6px 8px !important; }
.s-phone-typing i { width: 4px; height: 4px; border-radius: 50%; background: #6fb7ff; animation: svc-dots 1s infinite; }
.s-phone-typing i:nth-child(2) { animation-delay: .15s; } .s-phone-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes svc-dots { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* positioning strip (was prices) */
.nl-facts.svc-facts .nl-fact strong { letter-spacing: -.01em; }

/* our position */
.svc-position { position: relative; padding: clamp(80px, 9vw, 140px) 0; background: radial-gradient(ellipse 60% 70% at 25% 50%, rgb(40 110 220 / .10), transparent 70%); }
/* text only: heading on the left, what it means on the right, the three pillars across */
.svc-position-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(40px, 5vw, 90px); align-items: end; }
.svc-position-top .s-body { margin-bottom: 26px; }
.svc-position .svc-pillars { margin: clamp(36px, 4vw, 56px) 0 0; }
.svc-position .svc-pillars article { padding: 24px 22px 26px; }
.svc-position.svc-position h2, main .svc-web.svc-web.svc-web h2 { margin: 14px 0 22px; font: 800 clamp(40px, 4.4vw, 68px)/.92 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: -.03em; text-transform: uppercase; color: #eff3f5; }
.svc-position h2 em, .svc-web h2 em { font-style: normal; color: #8bdddf; }
.svc-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 34px; }
.svc-pillars article { padding: 18px 16px 20px; border: 1px solid rgb(139 221 223 / .16); border-radius: 10px; background: linear-gradient(180deg, rgb(14 23 34 / .9), rgb(8 13 20 / .9)); }
.svc-pillars span { font: 400 11px/1 Consolas, "Liberation Mono", monospace; letter-spacing: .12em; color: #8bdddf; }
.svc-pillars h3 { margin: 10px 0 8px; font: 800 22px/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: .01em; text-transform: uppercase; color: #eff3f5; }
.svc-pillars p { margin: 0; font: 400 13.5px/1.55 Inter, Arial, sans-serif; color: #a9bac4; }

/* the three AI chapters */
.svc-ai { position: relative; }
.svc-ai-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.4fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.svc-ai--flip .svc-ai-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .82fr); }
.svc-ai--flip .svc-ai-copy { order: 2; }
.svc-ai-list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 9px; font: 500 14.5px/1.45 Inter, Arial, sans-serif; color: #eff3f5; }
.svc-ai-list li { display: flex; gap: 10px; align-items: baseline; }
.svc-ai-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 1px; background: #6fb7ff; transform: translateY(-2px); box-shadow: 0 0 8px rgb(111 183 255 / .7); }
.svc-ai-demo .aiw-screen { width: 100%; }
.svc-ai-copy h2 { margin-bottom: 26px; }
.svc-ai-copy .s-lead, .svc-position-copy .s-lead { margin: 0 0 14px; }
.svc-ai-ref { display: inline-block; margin-top: 16px; font: 400 11px/1.4 Consolas, "Liberation Mono", monospace; letter-spacing: .06em; color: #93a0b0; text-decoration: none; }
.svc-ai-ref b { color: #6fb7ff; font-weight: 700; }
.svc-ai-ref:hover b, .svc-ai-ref:focus-visible b { text-decoration: underline; }
/* ai-work.css colours the demos through .aiw; the chapters provide the same tokens */
.svc-ai-demo { --aiw-cyan: #8bdddf; --aiw-blue: #6fb7ff; --aiw-ok: #6ee7a8; --aiw-amber: #f5c26b; --aiw-ink: #eff3f5; --aiw-text: #c7d3dc; --aiw-mute: #8193a3; }

/* websites and platforms */
.svc-web { position: relative; padding: clamp(80px, 9vw, 130px) 0; }
.svc-web-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px 60px; align-items: end; margin-bottom: 40px; }
.svc-web-head .s-body { margin: 0; font: 400 16px/1.7 Inter, Arial, sans-serif; color: #a9bac4; }
.svc-web-head .s-body a { color: #eff3f5; text-decoration: none; border-bottom: 1px solid rgb(139 221 223 / .5); }
.svc-web-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgb(255 255 255 / .07); background: rgb(255 255 255 / .07); }
.svc-web-card { position: relative; display: grid; gap: 8px; align-content: start; min-height: 150px; padding: 22px 20px; background: #070b10; color: #eff3f5; text-decoration: none; transition: background .25s; }
.svc-web-card span { font: 400 10.5px/1 Consolas, "Liberation Mono", monospace; letter-spacing: .12em; color: #8bdddf; }
.svc-web-card b { font: 800 21px/1.05 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: .01em; text-transform: uppercase; }
.svc-web-card small { font: 400 13.5px/1.5 Inter, Arial, sans-serif; color: #a9bac4; }
.svc-web-card i { position: absolute; right: 18px; top: 18px; font-style: normal; color: #8193a3; transition: transform .25s, color .25s; }
.svc-web-card:hover, .svc-web-card:focus-visible { background: #0c141d; }
.svc-web-card:hover i, .svc-web-card:focus-visible i { color: #8bdddf; transform: translateX(3px); }

@media (max-width: 1099px) {
  .svc-position-top, .svc-ai-grid, .svc-ai--flip .svc-ai-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-ai--flip .svc-ai-copy { order: 0; }
  .svc-web-head { grid-template-columns: minmax(0, 1fr); }
  .svc-web-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-wrap { width: calc(100% - 40px); }
  .svc-pillars { grid-template-columns: minmax(0, 1fr); }
  .svc-web-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-web-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .s-phone-typing i { animation: none; } }

/* ---- blueprints: how we build each service (the live demos are on Our work) ---- */
/* hero: the whole system as a blueprint in the browser */
.s-site-preview.s-site-preview--bp { background: #070d16; }
.s-site-preview--bp svg { display: block; width: 100%; height: 100%; }
.bp-svg text { font-family: Inter, Arial, sans-serif; fill: #eff3f5; }
.bp-svg .mono { font-family: Consolas, "Liberation Mono", monospace; fill: #6f8193; letter-spacing: 3px; }
.bp-svg .cy { fill: #8bdddf; }
.bp-svg .node { fill: #0e1722; stroke: rgb(139 221 223 / .38); stroke-width: 2; }
.bp-svg .node--blue { stroke: rgb(111 183 255 / .75); }
.bp-svg .node--ai { fill: #10223a; stroke: #6fb7ff; stroke-width: 2.5; }
.bp-svg .node--amber { stroke: #f5c26b; }
.bp-svg .frame { fill: rgb(111 183 255 / .04); stroke: rgb(111 183 255 / .5); stroke-width: 2; stroke-dasharray: 10 8; }
.bp-svg .wire { fill: none; stroke: rgb(139 221 223 / .5); stroke-width: 2; stroke-dasharray: 7 9; animation: bp-flow 1.4s linear infinite; }
.bp-svg .band { fill: rgb(111 183 255 / .06); stroke: rgb(111 183 255 / .28); stroke-width: 2; }
@keyframes bp-flow { to { stroke-dashoffset: -32; } }
/* phone: an agent asks a person to approve */
.s-phone-approve { margin: 8px 0 10px; padding: 8px; border: 1px solid rgb(245 194 107 / .5); border-radius: 9px; background: #121722; font: 500 .5em/1.35 Inter, Arial, sans-serif; color: #c7d3dc; }
.s-phone-approve small { display: block; font: 400 .9em/1.2 Consolas, monospace; color: #f5c26b; letter-spacing: .04em; }
.s-phone-approve b { display: block; margin: 4px 0 2px; font-size: 1.35em; color: #eff3f5; }
.s-phone-approve span { display: block; color: #8f9fb0; }
.s-phone-approve div { display: flex; gap: 5px; margin-top: 7px; }
.s-phone-approve i { flex: 1; padding: 4px 0; border-radius: 5px; text-align: center; font-style: normal; font-weight: 700; border: 1px solid rgb(255 255 255 / .14); color: #c7d3dc; }
.s-phone-approve i.ok { background: #f5c26b; border-color: #f5c26b; color: #1a1406; animation: bp-ready 2.4s ease-in-out infinite; }
@keyframes bp-ready { 50% { box-shadow: 0 0 10px rgb(245 194 107 / .7); } }

/* chapter panels */
.bp-panel { position: relative; overflow: hidden; border: 1px solid rgb(139 221 223 / .18); border-radius: 12px; padding: 20px 22px 18px;
  background: linear-gradient(rgb(120 180 255 / .045) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgb(120 180 255 / .045) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(180deg, #0b131d, #070c12);
  box-shadow: 0 50px 100px -50px rgb(0 0 0 / .9), 0 0 60px -24px rgb(70 150 255 / .2); font: 400 13px/1.45 Inter, Arial, sans-serif; color: #c7d3dc; }
.bp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font: 400 11px/1 Consolas, "Liberation Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #8bdddf; }
.bp-head em { padding: 4px 7px; border: 1px solid rgb(139 221 223 / .35); border-radius: 4px; font-style: normal; font-size: 9px; color: #a9bac4; }
.bp-panel i { display: inline-block; padding: 5px 9px; border: 1px solid rgb(255 255 255 / .1); border-radius: 999px; background: rgb(255 255 255 / .03); font-style: normal; font-size: 12px; color: #dfe8ee; }
.bp-foot { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgb(139 221 223 / .22); }
.bp-foot span, .bp-rails span, .bp-chips span { font: 400 10px/1.4 Consolas, "Liberation Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #6f8193; white-space: nowrap; }
.bp-foot p { margin: 0; color: #eff3f5; font-weight: 500; }

/* 1. the SaaS stack */
.bp-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bp-layers li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding: 11px 12px; border: 1px solid rgb(255 255 255 / .07); border-radius: 9px; background: rgb(8 13 20 / .75); }
.bp-layers li > span { font: 400 10.5px/1.3 Consolas, "Liberation Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #8193a3; }
.bp-layers li > div { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-layers li.is-ai { border-color: rgb(111 183 255 / .6); background: linear-gradient(90deg, rgb(111 183 255 / .14), rgb(111 183 255 / .04)); animation: bp-glow 3.2s ease-in-out infinite; }
.bp-layers li.is-ai > span { color: #9fd3ff; }
.bp-layers li.is-ai i { border-color: rgb(111 183 255 / .45); color: #eaf5ff; }
@keyframes bp-glow { 50% { box-shadow: 0 0 0 1px rgb(111 183 255 / .25), 0 0 30px -6px rgb(111 183 255 / .55); } }

/* 2. the agent team */
.bp-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-bottom: 16px; }
.bp-step { position: relative; padding: 11px 10px; border: 1px solid rgb(139 221 223 / .25); border-radius: 9px; background: #0e1722; }
.bp-step small { display: block; font: 400 9.5px/1.2 Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #8193a3; }
.bp-step b { display: block; margin-top: 5px; font: 700 12.5px/1.3 Inter, Arial, sans-serif; color: #eff3f5; }
.bp-step.is-core { border-color: #8bdddf; box-shadow: 0 0 22px -6px rgb(139 221 223 / .6); }
.bp-step.is-person { border-color: #f5c26b; }
.bp-step.is-person small { color: #f5c26b; }
.bp-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -18px; width: 18px; height: 2px;
  background: linear-gradient(90deg, rgb(139 221 223 / .7) 50%, transparent 50%) 0 0 / 8px 2px; animation: bp-dash .8s linear infinite; }
@keyframes bp-dash { to { background-position: 8px 0; } }
.bp-rails { display: grid; gap: 10px; }
.bp-rails > div, .bp-chips { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.bp-rails p, .bp-chips p { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }

/* 3. the connection spec */
.bp-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.bp-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 12.5px; }
.bp-table th { padding: 0 10px 8px 0; text-align: left; font: 400 10px/1 Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: #6f8193; }
.bp-table td { padding: 10px 10px 10px 0; border-top: 1px solid rgb(255 255 255 / .07); color: #dfe8ee; vertical-align: top; }
.bp-table td:last-child { color: #a9bac4; }
.bp-table code { padding: 3px 6px; border-radius: 4px; background: rgb(111 183 255 / .12); font: 400 11.5px/1 Consolas, monospace; color: #cfe6ff; }
.bp-table tbody tr { animation: bp-row 6s ease-in-out infinite; }
.bp-table tbody tr:nth-child(2) { animation-delay: 2s; } .bp-table tbody tr:nth-child(3) { animation-delay: 4s; }
@keyframes bp-row { 0%, 30%, 100% { background: transparent; } 8%, 22% { background: rgb(111 183 255 / .07); } }

.svc-demo-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font: 600 13px/1 Inter, Arial, sans-serif; color: #8bdddf; text-decoration: none; }
.svc-demo-link:hover, .svc-demo-link:focus-visible { text-decoration: underline; }

@media (max-width: 760px) {
  .bp-panel { padding: 16px 14px 14px; }
  .bp-layers li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bp-flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bp-step:not(:last-child)::after { top: auto; bottom: -12px; right: auto; left: 22px; width: 2px; height: 12px;
    background: linear-gradient(180deg, rgb(139 221 223 / .7) 50%, transparent 50%) 0 0 / 2px 8px; animation: none; }
  .bp-rails > div, .bp-chips, .bp-foot { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  /* the connection table becomes one small card per event */
  .bp-table { min-width: 0; }
  .bp-table thead { display: none; }
  .bp-table, .bp-table tbody, .bp-table tr, .bp-table td { display: block; }
  .bp-table tr { padding: 10px 0; border-top: 1px solid rgb(255 255 255 / .07); }
  .bp-table td { padding: 3px 0; border: 0; }
  .bp-table td:nth-child(2)::before, .bp-table td:nth-child(3)::before { display: inline-block; width: 44px; font: 400 10px/1 Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; color: #6f8193; }
  .bp-table td:nth-child(2)::before { content: "From"; } .bp-table td:nth-child(3)::before { content: "To"; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-svg .wire, .bp-layers li.is-ai, .bp-step::after, .bp-table tbody tr, .s-phone-approve i.ok { animation: none; }
}

/* ---- Our position: the operations console, a system we built, live (ops-console.js) ---- */
.ops-wrap { position: relative; margin: clamp(40px, 5vw, 64px) 0 0; perspective: 1800px; }
.ops-wrap::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -40px; height: 80px; pointer-events: none; filter: blur(30px);
  background: radial-gradient(ellipse at 50% 0%, rgb(70 150 255 / .28), transparent 70%); }
.ops { --c: #8bdddf; --b: #6fb7ff; --ok: #6ee7a8; --am: #f5c26b; --ink: #eff3f5; --tx: #c7d3dc; --mu: #7f90a1;
  position: relative; z-index: 1; overflow: hidden; border: 1px solid rgb(139 221 223 / .22); border-radius: 14px;
  background: radial-gradient(ellipse 70% 60% at 20% 0%, rgb(60 130 255 / .10), transparent 70%), linear-gradient(180deg, #0b121b, #060a0f);
  box-shadow: 0 60px 120px -60px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .02) inset, 0 0 80px -30px rgb(70 150 255 / .35);
  transform: rotateX(5deg); transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  font: 400 12px/1.4 Inter, Arial, sans-serif; color: var(--tx); }
.ops-wrap:hover .ops, .ops:focus-within { transform: none; }
.ops-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgb(255 255 255 / .06); background: rgb(5 9 14 / .8);
  font: 400 11px/1 Consolas, "Liberation Mono", monospace; color: var(--mu); }
.ops-bar b { font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.ops-env { padding: 4px 7px; border-radius: 4px; background: rgb(110 231 168 / .12); color: var(--ok); }
.ops-ok { display: inline-flex; align-items: center; gap: 7px; color: var(--tx); }
.ops-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: ops-blink 2.4s ease-in-out infinite; }
.ops-badge { margin-left: auto; padding: 4px 7px; border: 1px solid rgb(245 194 107 / .35); border-radius: 4px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--am); }
.ops-clock { color: var(--ink); }
@keyframes ops-blink { 50% { opacity: .4; } }
.ops-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "map kpis stream" "map traffic stream" "agents agents stream"; gap: 12px; padding: 14px; }
.ops-panel, .ops-kpi { border: 1px solid rgb(255 255 255 / .07); border-radius: 10px; background: rgb(9 15 22 / .85); transition: opacity .35s, box-shadow .35s, border-color .35s, filter .35s; }
.ops-panel { padding: 12px 14px; min-width: 0; }
.ops-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font: 400 10px/1.2 Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); }
.ops-h span { color: var(--c); letter-spacing: .04em; text-transform: none; }
.ops-map { grid-area: map; display: flex; flex-direction: column; }
.ops-map svg { flex: 1; width: 100%; min-height: 220px; }
.ops-map .edge { fill: none; stroke: rgb(139 221 223 / .28); stroke-width: 1.4; transition: stroke .35s; }
.ops-map .nd rect { fill: #0f1925; stroke: rgb(139 221 223 / .4); stroke-width: 1.2; transition: stroke .35s, fill .35s; }
.ops-map .nd text { font: 600 10.5px Inter, Arial, sans-serif; fill: var(--ink); }
.ops-map .nd .hp { fill: var(--ok); }
.ops-map .nd--ai rect { stroke: var(--b); fill: #10223a; }
.ops-map .pk { fill: #e6f9ff; filter: drop-shadow(0 0 3px #6fc8ff); }
.ops-kpis { grid-area: kpis; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ops-kpi { padding: 10px 12px; }
.ops-kpi small { display: block; font-size: 10px; color: var(--mu); }
.ops-kpi b { display: block; margin: 4px 0 3px; font: 700 20px/1.1 Inter, Arial, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.ops-kpi em { font: normal 400 10px/1.2 Consolas, monospace; color: var(--c); }
.ops-kpi--warn b { color: var(--am); }
.ops-traffic { grid-area: traffic; }
.ops-spark { display: block; width: 100%; height: 70px; }
.ops-spark .line { fill: none; stroke: var(--b); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ops-spark .area { fill: url(#ops-area); }
.ops-stream { grid-area: stream; display: flex; flex-direction: column; }
.ops-stream ol { flex: 1; min-height: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.ops-stream li { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; align-items: baseline; padding-bottom: 7px; border-bottom: 1px dashed rgb(255 255 255 / .06); font: 400 10.5px/1.4 Consolas, monospace; animation: ops-in .4s ease-out; }
.ops-stream li time { color: #506172; }
.ops-stream li b { padding: 2px 5px; border-radius: 3px; font-weight: 400; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; background: rgb(139 221 223 / .12); color: var(--c); }
.ops-stream li b.t-api { background: rgb(111 183 255 / .14); color: #9fd3ff; }
.ops-stream li b.t-eval, .ops-stream li b.t-deploy { background: rgb(110 231 168 / .12); color: var(--ok); }
.ops-stream li b.t-approval, .ops-stream li b.t-alert { background: rgb(245 194 107 / .14); color: var(--am); }
.ops-stream li span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tx); }
@keyframes ops-in { from { opacity: 0; transform: translateY(6px); } }
.ops-agents { grid-area: agents; }
.ops-agents ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ops-agents li { padding: 8px 10px; border: 1px solid rgb(255 255 255 / .07); border-radius: 8px; background: #0d1520; }
.ops-agents li b { display: block; font: 700 11.5px/1.2 Inter, Arial, sans-serif; color: var(--ink); }
.ops-agents li span { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font: 400 10px/1 Consolas, monospace; color: var(--mu); }
.ops-agents li span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3a4757; }
.ops-agents li[data-state="working"] span { color: var(--c); } .ops-agents li[data-state="working"] span::before { background: var(--c); box-shadow: 0 0 6px var(--c); animation: ops-blink .9s infinite; }
.ops-agents li[data-state="waiting"] span { color: var(--am); } .ops-agents li[data-state="waiting"] span::before { background: var(--am); }
.ops-agents li[data-state="done"] span { color: var(--ok); } .ops-agents li[data-state="done"] span::before { background: var(--ok); }
/* a pillar in focus lights up its part of the console */
.ops[data-focus="architect"] [data-zone]:not([data-zone="architect"]),
.ops[data-focus="integrate"] [data-zone]:not([data-zone="integrate"]),
.ops[data-focus="orchestrate"] [data-zone]:not([data-zone="orchestrate"]) { opacity: .32; filter: saturate(.4); }
.ops[data-focus="architect"] [data-zone="architect"], .ops[data-focus="integrate"] [data-zone="integrate"], .ops[data-focus="orchestrate"] [data-zone="orchestrate"] {
  border-color: rgb(139 221 223 / .7); box-shadow: 0 0 0 1px rgb(139 221 223 / .35), 0 0 34px -8px rgb(139 221 223 / .6); }
.ops-wrap figcaption { position: relative; z-index: 1; margin-top: 16px; font: 400 12px/1.5 Inter, Arial, sans-serif; color: var(--mu, #7f90a1); }

/* the pillars: an icon and a live figure each, linked to the console */
.svc-position .svc-pillars article { position: relative; cursor: default; transition: border-color .3s, box-shadow .3s, transform .3s; }
.svc-position .svc-pillars article:hover, .svc-position .svc-pillars article:focus-within, .svc-position .svc-pillars article.is-on {
  border-color: rgb(139 221 223 / .55); box-shadow: 0 0 32px -10px rgb(139 221 223 / .55); transform: translateY(-3px); }
.svc-pillar-icon { display: block; width: 44px; height: 44px; margin-bottom: 14px; padding: 9px; border: 1px solid rgb(139 221 223 / .3); border-radius: 10px;
  background: radial-gradient(circle at 50% 30%, rgb(111 183 255 / .18), transparent 70%); fill: none; stroke: #8bdddf; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgb(139 221 223 / .35)); }
.svc-pillar-live { display: flex; align-items: center; gap: 8px; margin: 14px 0 0 !important; padding-top: 12px; border-top: 1px dashed rgb(139 221 223 / .18);
  font: 400 11px/1.3 Consolas, "Liberation Mono", monospace !important; color: #8bdddf !important; }
.svc-pillar-live i { width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 6px #6ee7a8; animation: ops-blink 2s infinite; }

@media (max-width: 1099px) {
  .ops-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "map map" "kpis traffic" "agents agents" "stream stream"; }
  .ops-stream ol { height: 190px; flex: none; }
}
@media (max-width: 700px) {
  .ops { transform: none; }
  .ops-bar { gap: 8px; padding: 0 12px; } .ops-ok, .ops-env { display: none; }
  .ops-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "kpis" "traffic" "agents" "stream"; padding: 10px; }
  .ops-agents ul { grid-template-columns: 1fr 1fr; }
  .ops-map svg { min-height: 0; height: 190px; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ops, .ops-wrap:hover .ops { transform: none; transition: none; }
  .ops-ok i, .ops-agents li span::before, .svc-pillar-live i, .ops-stream li { animation: none !important; }
}
