.service-breadcrumb { padding-top: 30px; }
.service-breadcrumb nav { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font-size: 15px; line-height: 1.5; color: #c4d5d1; }
.service-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.service-breadcrumb a:hover { color: var(--lime); }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .65fr); gap: clamp(50px, 7vw, 110px); padding-block: 56px 70px; align-items: end; }
.service-hero h1 { font-size: clamp(48px, 5.25vw, 80px); line-height: 1.07; font-weight: 500; letter-spacing: -.045em; max-width: 900px; margin-bottom: 30px; }
.service-hero-copy > p { font-size: 24px; line-height: 1.5; letter-spacing: -.015em; max-width: 780px; margin-bottom: 34px; color: #e1e9e3; }
.service-hero .button { font-size: 18px; padding-inline: 24px; }
.service-outline { border-left: 1px solid #567171; padding-left: 28px; padding-bottom: 4px; }
.service-outline > p { font-size: 17px; line-height: 1.55; color: #c4d5d1; }
.service-outline .outline-heading { font-size: 24px; line-height: 1.25; color: var(--paper); letter-spacing: -.025em; margin-bottom: 16px; }
.service-outline nav { display: flex; flex-direction: column; margin-top: 25px; }
.service-outline nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; border-top: 1px solid #3d5a5b; font-size: 16px; }
.service-outline nav a span { font-size: 24px; }
.service-outline nav a:hover { color: var(--lime); }
.service-selector { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--light-line); gap: 24px; padding-block: 24px 30px; }
.service-selector a { display: flex; gap: 13px; align-items: baseline; font-size: 18px; color: #d1deda; line-height: 1.4; }
.service-selector a span { font-size: 13px; color: #a3bcbc; }
.service-selector a[aria-current="page"], .service-selector a:hover { color: var(--lime); }
.service-selector a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.detail-wrap { padding-block: 82px; max-width: 1280px; }
.service-page h2 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.12; font-weight: 400; letter-spacing: -.04em; }
.detail-lead { color: var(--muted); font-size: 21px; line-height: 1.6; max-width: 70ch; margin-bottom: 0; }
.problem-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.situation-list { padding-top: 44px; }
.situation-list h3 { font-size: 24px; font-weight: 400; letter-spacing: -.025em; margin-bottom: 20px; }
.situation-list ul { list-style: none; padding: 0; margin: 0; }
.situation-list li { color: var(--muted); border-top: 1px solid var(--line); padding-block: 18px; font-size: 19px; line-height: 1.55; }
.scope-section .detail-wrap { padding-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.vendor-section .detail-wrap { padding-top: 0; }
.vendor-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; }
.vendor-context { color: var(--muted); font-size: 18px; line-height: 1.6; margin-top: 18px; }
.vendor-browser { margin-top: 38px; }
.vendor-controls { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1fr) auto; gap: 22px; align-items: end; padding: 27px; background: #e8eee1; }
.vendor-controls[hidden], .vendor-reset[hidden], .vendor-category[hidden], .vendor-list li[hidden], .vendor-empty[hidden] { display: none; }
.vendor-controls label { display: block; font-size: 15px; color: #40554c; margin-bottom: 10px; }
.vendor-controls input, .vendor-controls select { display: block; width: 100%; min-width: 0; min-height: 54px; border: 1px solid #829481; border-radius: 0; padding: 12px 15px; background: var(--paper); color: var(--ink); font: inherit; font-size: 17px; }
.vendor-controls input::placeholder { color: #63736b; opacity: 1; }
.vendor-controls select { padding-right: 28px; }
.vendor-controls input:focus-visible, .vendor-controls select:focus-visible, .vendor-reset:focus-visible, .vendor-category summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.vendor-reset { border: 0; border-bottom: 1px solid currentColor; color: var(--ink); background: transparent; padding: 10px 0; margin-bottom: 8px; font: inherit; font-size: 16px; cursor: pointer; white-space: nowrap; }
.vendor-results { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 22px 0; }
.vendor-category { border-top: 1px solid var(--line); }
.vendor-category:last-child { border-bottom: 1px solid var(--line); }
.vendor-category summary { display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 25px; list-style: none; padding-block: 25px; cursor: pointer; }
.vendor-category summary::-webkit-details-marker { display: none; }
.vendor-category-name { font-size: 27px; line-height: 1.3; letter-spacing: -.025em; }
.vendor-category-count { font-size: 15px; white-space: nowrap; color: #536a5a; }
.vendor-category summary > svg { transition: transform .16s; }
.vendor-category[open] summary > svg { transform: rotate(180deg); }
.vendor-category-description { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 850px; margin: 0 0 28px; }
.vendor-list { list-style: none; padding: 0; margin: 0 0 35px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; row-gap: 26px; }
.vendor-list li { min-width: 0; border-top: 1px solid #c3ccc1; padding-top: 18px; }
.vendor-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.vendor-list a:hover { text-decoration: underline; text-underline-offset: 5px; }
.vendor-list a > span:nth-child(2) { font-size: 23px; color: #5c7750; }
.vendor-list p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.vendor-empty { border-top: 1px solid var(--line); padding-block: 25px; color: var(--muted); font-size: 20px; line-height: 1.5; }
.vendor-note { margin-top: 30px; display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.vendor-note p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 780px; margin: 0; }
.vendor-note .text-link { color: var(--ink); font-size: 16px; white-space: nowrap; }
.knowledge-hub-section .detail-wrap { padding-top: 0; }
.knowledge-hub-section .detail-lead { max-width: 850px; }
.hub-figure { margin: 40px 0 30px; }
.hub-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 100px 150px 120px; gap: 25px 45px; align-items: center; }
.hub-connections { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #9cac9e; stroke-width: 1.5; }
.hub-center, .hub-spokes li { position: relative; background: var(--paper); border: 1px solid #a9b8aa; padding: 20px 24px; }
.hub-center { grid-column: 2; grid-row: 2; background: var(--lime); border-color: #aac36b; padding-block: 26px; }
.hub-center > span { font-size: 25px; letter-spacing: -.035em; }
.hub-center p, .hub-spokes p { font-size: 17px; line-height: 1.45; margin: 10px 0 0; color: #40554c; }
.hub-spokes { display: contents; list-style: none; padding: 0; margin: 0; }
.hub-spokes h3 { font-size: 22px; font-weight: 400; letter-spacing: -.025em; margin: 0; }
.hub-user { grid-column: 2; grid-row: 1; }
.hub-crm { grid-column: 1; grid-row: 2; }
.hub-erp { grid-column: 3; grid-row: 2; }
.hub-support { grid-column: 1; grid-row: 3; }
.hub-actions { grid-column: 3; grid-row: 3; }
.hub-figure figcaption { margin-top: 24px; max-width: 940px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hub-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hub-principles p { font-size: 18px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }
.hub-principles strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.scope-list { margin-top: 40px; }
.scope-row { display: grid; grid-template-columns: 40px 1fr 1.6fr; gap: 28px; padding-block: 31px; border-top: 1px solid var(--line); align-items: start; }
.scope-row:last-child { border-bottom: 1px solid var(--line); }
.scope-number { color: #64777a; font-size: 16px; padding-top: 6px; }
.scope-row h3 { font-size: 29px; line-height: 1.22; font-weight: 400; letter-spacing: -.03em; margin-bottom: 0; }
.scope-row p { color: var(--muted); font-size: 19px; line-height: 1.6; margin-bottom: 0; }
.deliverables-section { background: #e8eee1; color: var(--ink); }
.deliverables-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.deliverable-list { list-style: none; padding: 0; margin: 0; counter-reset: deliverable; }
.deliverable-list li { counter-increment: deliverable; display: grid; grid-template-columns: 29px 1fr; gap: 18px; border-top: 1px solid #b0bdad; padding-block: 21px; font-size: 20px; line-height: 1.55; color: #40554c; }
.deliverable-list li::before { content: counter(deliverable, decimal-leading-zero); color: #536a47; font-size: 14px; padding-top: 5px; }
.engagement-intro { max-width: 730px; }
.service-process { margin-top: 45px; }
.service-process h3 { font-size: 29px; }
.service-process p { font-size: 19px; }
.service-process .step-number { font-size: 30px; }
.example-section .detail-wrap { border-top: 1px solid var(--line); padding-block: 68px; }
.example-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.example-steps { margin: 0; padding: 32px 0 0; list-style: none; counter-reset: example; }
.example-steps li { counter-increment: example; display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding-block: 18px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.example-steps li::before { content: counter(example, decimal-leading-zero); font-size: 15px; color: #647b45; padding-top: 4px; }
.questions-section .detail-wrap { border-top: 1px solid var(--line); }
.questions-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 24px; font-size: 22px; line-height: 1.4; letter-spacing: -.02em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.faq-list summary svg { flex-shrink: 0; transition: transform .16s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { color: var(--muted); font-size: 19px; line-height: 1.65; margin-bottom: 26px; padding-right: 25px; }
.related-section .detail-wrap { padding-top: 0; }
.related-list { padding: 0; margin: 38px 0 0; list-style: none; }
.related-list li { border-top: 1px solid var(--line); }
.related-list li:last-child { border-bottom: 1px solid var(--line); }
.related-list a { display: grid; grid-template-columns: 40px 1fr 1fr 30px; align-items: center; gap: 22px; padding-block: 24px; }
.related-number { color: #63767a; font-size: 14px; }
.related-name { font-size: 27px; letter-spacing: -.03em; }
.related-description { color: var(--muted); font-size: 18px; line-height: 1.4; }
.related-list a > span:last-child { font-size: 31px; transition: transform .16s; }
.related-list a:hover .related-name { text-decoration: underline; text-underline-offset: 6px; }
.related-list a:hover > span:last-child { transform: translateX(4px); }
.service-contact .contact-layout { grid-template-columns: 1fr 320px; }
.service-contact h2 { font-size: clamp(40px, 4.5vw, 66px); max-width: 780px; }
.service-contact p { max-width: 680px; font-size: 21px; }
.service-contact .contact-actions { padding-top: 0; }
.service-row h3 a:hover { text-decoration: underline; text-underline-offset: 7px; }
@media (max-width: 1000px) {
  .vendor-intro { gap: 40px; }
  .vendor-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vendor-reset { justify-self: start; margin-bottom: 0; }
  .vendor-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vendor-note { display: block; }
  .vendor-note .text-link { margin-top: 18px; }
  .service-hero { grid-template-columns: 1.5fr .75fr; gap: 35px; }
  .service-hero h1 { font-size: 57px; }
  .service-hero-copy > p { font-size: 22px; }
  .service-outline { padding-left: 23px; }
  .service-outline .outline-heading { font-size: 22px; }
  .service-selector { gap: 15px; }
  .service-selector a { font-size: 16px; gap: 9px; }
  .scope-row { grid-template-columns: 30px 1fr 1.45fr; gap: 22px; }
  .scope-row h3 { font-size: 26px; }
  .scope-row p { font-size: 18px; }
  .service-process h3 { font-size: 25px; }
  .service-process p { font-size: 18px; }
}
@media (max-width: 760px) {
  .vendor-intro { grid-template-columns: 1fr; gap: 8px; }
  .vendor-controls { padding: 22px; }
  .vendor-category-name { font-size: 24px; }
  .hub-map { display: block; }
  .hub-connections { display: none; }
  .hub-center { max-width: 380px; }
  .hub-spokes { display: grid; gap: 18px; margin: 0 0 0 24px; padding: 24px 0 0 25px; border-left: 1px solid #9cac9e; }
  .hub-spokes li { grid-area: auto; }
  .hub-spokes li::before { content: ''; position: absolute; width: 26px; height: 1px; background: #9cac9e; left: -26px; top: 32px; }
  .hub-principles { grid-template-columns: 1fr; gap: 20px; }
  .service-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 38px 46px; }
  .service-hero h1 { font-size: clamp(44px, 8vw, 60px); }
  .service-outline { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .service-outline > p { grid-column: 1; }
  .service-outline nav { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .service-selector { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .service-selector a { font-size: 18px; }
  .detail-wrap { padding-block: 60px; }
  .problem-layout, .deliverables-layout, .example-layout, .questions-layout { grid-template-columns: 1fr; gap: 30px; }
  .situation-list { padding-top: 0; }
  .scope-row { grid-template-columns: 30px 1fr; gap: 17px; }
  .scope-row p { grid-column: 2; }
  .scope-row h3 { font-size: 29px; }
  .example-steps { padding-top: 0; }
  .related-list a { grid-template-columns: 30px 1fr 30px; gap: 16px; }
  .related-description { grid-column: 2; font-size: 17px; }
  .related-list a > span:last-child { grid-column: 3; grid-row: 1 / 3; }
  .related-number { align-self: start; padding-top: 7px; }
  .service-contact .contact-layout { grid-template-columns: 1fr; }
  .service-process { grid-template-columns: 1fr; }
  .service-process li, .service-process li:first-child, .service-process li:last-child { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 25px 0; border-top: 1px solid var(--line); border-left: none; }
  .service-process .step-number { grid-row: 1 / 3; padding-top: 3px; }
  .service-process h3 { font-size: 28px; margin-bottom: 12px; }
  .service-process p { grid-column: 2; max-width: none; }
}
@media (max-width: 480px) {
  .vendor-controls { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .vendor-context { font-size: 17px; }
  .vendor-category summary { gap: 12px; padding-block: 22px; grid-template-columns: 1fr auto 20px; }
  .vendor-category-name { font-size: 22px; }
  .vendor-category-count { font-size: 12px; }
  .vendor-list { grid-template-columns: 1fr; gap: 23px; }
  .vendor-category-description { font-size: 17px; }
  .vendor-note .text-link { white-space: normal; }
  .service-breadcrumb { padding-top: 24px; }
  .service-breadcrumb nav { font-size: 13px; gap: 10px; }
  .service-hero { padding-block: 32px 38px; }
  .service-hero h1 { font-size: 44px; line-height: 1.1; margin-bottom: 24px; }
  .service-hero-copy > p { font-size: 20px; line-height: 1.55; margin-bottom: 27px; }
  .service-hero .button { justify-content: space-between; width: 100%; font-size: 17px; min-height: 60px; padding-inline: 18px; gap: 12px; }
  .service-outline { display: block; padding-left: 20px; }
  .service-outline .outline-heading { font-size: 24px; max-width: 250px; }
  .service-outline > p { font-size: 17px; }
  .service-outline nav { margin-top: 20px; }
  .service-selector { gap: 22px 14px; padding-block: 23px 28px; }
  .service-selector a { flex-direction: column; gap: 6px; font-size: 17px; }
  .service-selector a span { font-size: 12px; }
  .detail-wrap { padding-block: 49px; }
  .service-page h2 { font-size: 35px; }
  .detail-lead { font-size: 19px; line-height: 1.6; }
  .situation-list h3 { font-size: 23px; }
  .situation-list li { font-size: 17px; line-height: 1.6; padding-block: 17px; }
  .scope-list { margin-top: 30px; }
  .scope-row { grid-template-columns: 24px 1fr; gap: 15px; padding-block: 25px; }
  .scope-row h3 { font-size: 26px; }
  .scope-row p { font-size: 17px; line-height: 1.65; }
  .scope-number { font-size: 13px; }
  .deliverable-list li { font-size: 18px; grid-template-columns: 22px 1fr; gap: 14px; }
  .service-process { margin-top: 30px; }
  .service-process p { font-size: 17px; line-height: 1.6; }
  .example-section .detail-wrap { padding-block: 48px; }
  .example-steps li { font-size: 17px; grid-template-columns: 24px 1fr; gap: 15px; padding-block: 14px; }
  .faq-list summary { font-size: 20px; padding-block: 21px; }
  .faq-list details p { font-size: 17px; padding-right: 0; line-height: 1.65; }
  .related-list a { grid-template-columns: 24px 1fr 25px; gap: 12px; padding-block: 21px; }
  .related-name { font-size: 25px; }
  .related-description { font-size: 16px; }
  .service-contact h2 { font-size: 40px; }
  .service-contact p { font-size: 20px; }
}

.harness-section .detail-wrap { padding-top: 0; }
.harness-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; }
.harness-intro h2 { max-width: 570px; }
.harness-definition { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 20px 0 0; }
.harness-instruction { color: #435a5e; font-size: 16px; margin: 35px 0 18px; }
.harness-instruction[hidden], .agent-panel[hidden] { display: none; }
.harness-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
.harness-map { padding: 28px; background: var(--teal); color: var(--paper); border: 1px solid #315b5c; }
.harness-brief { display: flex; justify-content: space-between; gap: 18px; margin: 0; font-size: 14px; line-height: 1.5; }
.harness-brief span:last-child { color: #b9ccc5; text-align: right; }
.harness-down { height: 29px; display: flex; justify-content: center; }
.harness-down svg { stroke: var(--lime); stroke-width: 1.3; fill: none; }
.harness-node { display: grid; position: relative; grid-template-columns: 25px 1fr auto; align-items: baseline; gap: 4px 14px; width: 100%; border: 1px solid #668986; background: #22494b; color: var(--paper); padding: 17px 19px; text-align: left; cursor: pointer; border-radius: 0; }
.harness-node:disabled { cursor: default; opacity: 1; }
.harness-node:hover:not(:disabled) { border-color: var(--lime); }
.harness-node[aria-pressed="true"], .harness-node-chief-of-staff:disabled { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.harness-node:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; z-index: 1; }
.harness-node-index { font-size: 12px; opacity: .75; }
.harness-node-name { font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.harness-node-caption { grid-column: 2; font-size: 14px; line-height: 1.5; opacity: .85; }
.harness-node-action { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 12px; white-space: nowrap; opacity: .8; }
.harness-branch { height: 32px; margin-inline: 16.6667%; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.harness-branch::before { content: ''; position: absolute; height: 16px; left: 50%; top: 0; border-left: 1px solid #a9c383; }
.harness-branch::after { content: ''; position: absolute; left: 0; right: 0; top: 16px; border-top: 1px solid #a9c383; }
.harness-branch i { position: absolute; top: 16px; bottom: 0; border-left: 1px solid #a9c383; }
.harness-branch i:nth-child(1) { left: 0; }
.harness-branch i:nth-child(2) { left: 50%; }
.harness-branch i:nth-child(3) { right: 0; }
.harness-merge { transform: rotate(180deg); }
.harness-specialists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.harness-specialists .harness-node { display: flex; flex-direction: column; align-items: start; gap: 9px; padding: 16px 13px; min-width: 0; }
.harness-specialists .harness-node-name { font-size: 21px; line-height: 1.2; }
.harness-specialists .harness-node-caption { font-size: 13px; }
.harness-specialists .harness-node-action { font-size: 11px; margin-top: auto; padding-top: 4px; }
.harness-approval { border: 1px dashed #8ba38d; padding: 15px 19px; }
.harness-approval-label { color: var(--lime); font-size: 18px; letter-spacing: -.02em; }
.harness-approval p { color: #d1deda; font-size: 14px; line-height: 1.5; margin: 7px 0 0; }
.harness-feedback { border-top: 1px solid #416565; padding-top: 17px; margin: 21px 0 0; display: flex; align-items: start; gap: 14px; color: #c3d3c9; font-size: 13px; line-height: 1.6; }
.harness-feedback > span { color: var(--lime); font-size: 27px; line-height: 1; }
.agent-panel { background: #e8eee1; padding: 28px; scroll-margin-top: 30px; }
.agent-panel + .agent-panel { margin-top: 25px; }
.agent-panel[hidden] + .agent-panel { margin-top: 0; }
.agent-panel:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.agent-panel-label { color: #52674d; font-size: 12px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px; }
.agent-panel > h3 { font-size: 34px; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; margin-bottom: 13px; }
.agent-purpose { color: #40554c; font-size: 17px; line-height: 1.55; margin-bottom: 22px; }
.agent-skills { padding: 0; margin: 0; list-style: none; }
.agent-skills li { padding-block: 14px; border-top: 1px solid #b0bfa9; }
.agent-skills h4 { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; margin: 0 0 5px; }
.agent-skills p { font-size: 15px; line-height: 1.55; color: #40554c; margin: 0; }
.agent-handoff { border-top: 1px solid #b0bfa9; padding-top: 16px; }
.agent-handoff p { font-size: 14px; line-height: 1.55; color: #40554c; margin-bottom: 12px; }
.agent-handoff p:last-child { margin-bottom: 0; }
.agent-handoff strong { display: block; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.harness-caption { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 23px 0 0; max-width: 1100px; }
.harness-stages { margin-top: 50px; }
.harness-stages ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 25px; list-style: none; padding: 0; margin: 0; }
.harness-stages li { border-top: 1px solid var(--line); padding-top: 19px; }
.harness-stages li > span { font-size: 13px; color: #62794e; }
.harness-stages h3 { font-size: 23px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; margin: 18px 0 13px; }
.harness-stages li p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
@media (max-width: 1000px) {
  .harness-intro { gap: 40px; }
  .harness-layout { grid-template-columns: 1.1fr 1fr; gap: 22px; }
  .harness-map, .agent-panel { padding: 22px; }
  .harness-node { grid-template-columns: 20px 1fr; gap: 5px 10px; padding: 15px; }
  .harness-node-name { font-size: 23px; }
  .harness-node-action { grid-column: 2; grid-row: 3; }
  .harness-specialists { gap: 8px; }
  .harness-specialists .harness-node { padding: 13px 10px; }
  .harness-specialists .harness-node-name { font-size: 17px; }
  .harness-specialists .harness-node-action { font-size: 10px; }
  .harness-stages ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
}
@media (max-width: 760px) {
  .harness-intro, .harness-layout { grid-template-columns: 1fr; gap: 25px; }
  .harness-intro { gap: 0; }
  .harness-map { padding: 25px; }
  .harness-node-name { font-size: 25px; }
  .harness-specialists .harness-node-name { font-size: 21px; }
  .harness-node-action { grid-column: 3; grid-row: 1 / 3; }
  .harness-node { grid-template-columns: 25px 1fr auto; }
  .harness-stages ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .harness-instruction { line-height: 1.5; margin-top: 25px; }
  .harness-map, .agent-panel { padding: 20px; }
  .harness-brief { display: block; font-size: 14px; }
  .harness-brief span { display: block; }
  .harness-brief span:last-child { font-size: 12px; text-align: left; margin-top: 4px; }
  .harness-node { grid-template-columns: 19px 1fr; padding: 15px; }
  .harness-node-name { font-size: 24px; }
  .harness-node-action { grid-column: 2; grid-row: 3; font-size: 11px; }
  .harness-specialists { grid-template-columns: 1fr; gap: 12px; border-left: 1px solid #a9c383; margin-left: 12px; padding-left: 20px; }
  .harness-specialists .harness-node { display: grid; grid-template-columns: 19px 1fr; gap: 5px 10px; padding: 15px; }
  .harness-specialists .harness-node::before { content: ''; position: absolute; left: -22px; top: 35px; width: 21px; border-top: 1px solid #a9c383; }
  .harness-specialists .harness-node-name { font-size: 24px; }
  .harness-specialists .harness-node-caption { grid-column: 2; }
  .harness-specialists .harness-node-action { padding-top: 0; font-size: 11px; }
  .harness-branch { margin-inline: 12px 50%; height: 24px; }
  .harness-branch::before { left: 100%; top: 0; height: 12px; }
  .harness-branch::after { top: 12px; }
  .harness-branch i { display: none; }
  .harness-branch i:first-child { display: block; left: 0; top: 12px; }
  .harness-merge { transform: scaleY(-1); }
  .agent-panel > h3 { font-size: 31px; }
  .harness-stages ol { grid-template-columns: 1fr; gap: 23px; }
  .harness-stages li { display: grid; grid-template-columns: 24px 1fr; gap: 10px 13px; }
  .harness-stages h3 { font-size: 24px; margin: 0; }
  .harness-stages li p { grid-column: 2; font-size: 16px; }
}

.routing-section .detail-wrap { padding-top: 0; }
.routing-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.routing-intro h2 { max-width: 590px; }
.routing-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.routing-presets button { min-width: 0; min-height: 58px; padding: 16px 20px; border: 1px solid #95a48e; border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.4; text-align: left; cursor: pointer; }
.routing-presets button:hover:not(:disabled) { background: #e8eee1; border-color: var(--teal); }
.routing-presets button[aria-pressed="true"] { background: var(--lime); border-color: #99b259; }
.routing-presets button:disabled { opacity: 1; cursor: default; }
.routing-presets button:focus-visible, .routing-controls select:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.routing-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 27px; margin-top: 20px; background: #e8eee1; }
.routing-controls[hidden], .routing-checks[hidden], .routing-model [data-route-badge][hidden] { display: none; }
.routing-controls > div { min-width: 0; }
.routing-controls label { display: block; font-size: 15px; line-height: 1.4; font-weight: 500; margin-bottom: 10px; }
.routing-controls select { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 12px 28px 12px 12px; border: 1px solid #829481; border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; text-overflow: ellipsis; }
.routing-controls p { color: #40554c; font-size: 14px; line-height: 1.55; margin: 12px 0 0; }
.routing-quick-result { display: flex; align-items: baseline; justify-content: space-between; gap: 18px 30px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.routing-quick-result p { min-width: 0; color: #40554c; font-size: 16px; line-height: 1.55; margin: 0; }
.routing-quick-result a { flex-shrink: 0; font-size: 15px; line-height: 1.5; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; }
.routing-quick-result a:hover { color: #536f39; }
.routing-quick-result a:focus-visible, .routing-decision:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.routing-decision { scroll-margin-top: 32px; }
.routing-flow { --route-gap: 40px; position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.5fr); align-items: center; gap: var(--route-gap); padding: 32px; margin-top: 28px; background: var(--teal); color: var(--paper); border: 1px solid #315b5c; }
.routing-flow > div { min-width: 0; }
.routing-kicker { font-size: 12px; line-height: 1.4; font-weight: 500; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 15px; }
.routing-flow .routing-kicker { color: #c3d3c9; }
.routing-task { border: 1px solid #648285; background: #163b3d; padding: 21px; }
.routing-task h3, .routing-router h3, .routing-model h3 { font-size: 27px; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; overflow-wrap: anywhere; margin: 0 0 15px; }
.routing-task > p:last-child { color: #cfddd6; font-size: 16px; line-height: 1.6; margin: 0; }
.routing-router { position: relative; background: #22494b; border: 1px solid #668986; padding: 23px 20px; }
.routing-router::before, .routing-router::after { content: ''; position: absolute; top: 50%; width: var(--route-gap); border-top: 1px solid #a9c383; pointer-events: none; }
.routing-router::before { right: 100%; }
.routing-router::after { left: 100%; width: calc(var(--route-gap) / 2); }
.routing-router h3 { color: var(--lime); font-size: 29px; }
.routing-router p:not(.routing-kicker) { font-size: 15px; line-height: 1.55; color: #d1deda; margin: 0; }
.routing-router > span { display: block; color: var(--lime); font-size: 27px; line-height: 1; margin: 16px 0; }
.routing-models { position: relative; display: grid; grid-auto-rows: 1fr; gap: 16px; }
.routing-models::before { content: ''; position: absolute; top: calc((100% - 32px) / 6); bottom: calc((100% - 32px) / 6); left: calc(var(--route-gap) / -2); border-left: 1px solid #a9c383; pointer-events: none; }
.routing-model { position: relative; min-width: 0; padding: 21px; border: 1px solid #668986; background: #163b3d; }
.routing-model::before { content: ''; position: absolute; right: 100%; top: 50%; width: calc(var(--route-gap) / 2); border-top: 1px solid #a9c383; pointer-events: none; }
.routing-model-heading { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.routing-model h3 { font-size: 23px; margin-bottom: 0; }
.routing-model [data-route-badge] { display: inline-block; padding: 4px 7px; font-size: 10px; line-height: 1.3; letter-spacing: .025em; background: #2b5558; color: #e1e9e3; }
.routing-model > p { font-size: 14px; line-height: 1.55; color: #cfddd6; margin: 0 0 17px; }
.routing-model dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid #416565; }
.routing-model dl > div { min-width: 0; }
.routing-model dt { font-size: 10px; line-height: 1.5; letter-spacing: .035em; color: #b9ccc5; margin-bottom: 5px; }
.routing-model dd { font-size: 17px; line-height: 1.3; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; }
.routing-model[data-route-target="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.routing-model[data-route-target="true"]::before { border-top-color: var(--lime); border-top-width: 2px; }
.routing-model[data-route-target="true"] > p, .routing-model[data-route-target="true"] dt { color: #40503c; }
.routing-model[data-route-target="true"] dl { border-color: #a4bb71; }
.routing-model[data-route-target="true"] [data-route-badge] { background: var(--teal); color: var(--paper); }
.routing-flow[data-route-hold="true"] .routing-router { border-style: dashed; }
.routing-model[data-route-hold="true"], .routing-flow[data-route-hold="true"] .routing-model[data-route-target="true"] { background: #e8eee1; border-color: #bacba8; border-style: dashed; }
.routing-model[data-route-hold="true"] [data-route-badge], .routing-flow[data-route-hold="true"] .routing-model[data-route-target="true"] [data-route-badge] { background: #40554c; color: var(--paper); }
.routing-outcome { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; padding: 30px 32px; border: 1px solid var(--line); border-top: 0; }
.routing-outcome > div { min-width: 0; }
.routing-decision .routing-kicker { color: #536a47; margin-bottom: 12px; }
.routing-decision h3 { font-size: 29px; line-height: 1.2; font-weight: 400; letter-spacing: -.035em; margin-bottom: 13px; }
.routing-decision > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 0; }
.routing-token-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 1.5; }
.routing-token-heading > strong { font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.routing-token-track { height: 12px; background: #dce3d8; margin-top: 13px; overflow: hidden; }
.routing-token-track > span { display: block; height: 100%; max-width: 100%; background: #536f39; }
.routing-tokens > p { font-size: 14px; line-height: 1.6; color: #40554c; margin: 12px 0 0; }
.routing-tokens > .routing-cost-note { font-size: 12px; color: var(--muted); }
.routing-outcome[data-route-hold="true"] { background: #e8eee1; }
.routing-outcome[data-route-hold="true"] .routing-decision .routing-kicker { color: #40554c; }
.routing-outcome[data-route-hold="true"] .routing-token-track > span { background: #68776c; }
.routing-review { padding: 30px 0; border-bottom: 1px solid var(--line); }
.routing-review h3 { font-size: 25px; line-height: 1.25; font-weight: 400; letter-spacing: -.025em; margin-bottom: 20px; }
.routing-review ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.routing-review li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: #40554c; }
.routing-review li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #536f39; }
.routing-review > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 22px 0 0; max-width: 1000px; }
.routing-caption { max-width: 1100px; font-size: 13px; line-height: 1.65; color: var(--muted); margin: 23px 0 0; }
@media (max-width: 1000px) {
  .routing-intro { gap: 40px; }
  .routing-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routing-flow { --route-gap: 30px; padding: 25px; grid-template-columns: minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.35fr); }
  .routing-task h3, .routing-router h3 { font-size: 25px; }
  .routing-router { padding: 20px 16px; }
  .routing-model { padding: 18px; }
  .routing-model h3 { font-size: 22px; }
  .routing-model dl { gap: 7px; }
  .routing-model dd { font-size: 16px; }
  .routing-outcome { gap: 35px; padding: 27px 25px; }
}
@media (max-width: 760px) {
  .routing-intro { grid-template-columns: 1fr; gap: 0; }
  .routing-presets { gap: 10px; margin-top: 27px; }
  .routing-presets button { font-size: 15px; padding: 13px; }
  .routing-quick-result { flex-direction: column; align-items: start; gap: 6px; }
  .routing-flow { --route-gap: 32px; grid-template-columns: minmax(0, 1fr); gap: var(--route-gap); padding: 26px; }
  .routing-task { padding: 23px; }
  .routing-task h3 { font-size: 28px; }
  .routing-task > p:last-child { max-width: 55ch; }
  .routing-router { padding: 23px; }
  .routing-router::before, .routing-router::after { top: auto; left: 50%; right: auto; width: 0; height: var(--route-gap); border-top: 0; border-left: 1px solid #a9c383; }
  .routing-router::before { bottom: 100%; }
  .routing-router::after { top: 100%; height: calc(var(--route-gap) / 2); }
  .routing-router h3 { font-size: 29px; }
  .routing-models { gap: 16px; border-left: 1px solid #a9c383; margin-left: 11px; padding-left: 23px; }
  .routing-models::before { top: calc(var(--route-gap) / -2); bottom: auto; left: -1px; width: calc(50% - 5px); height: calc(var(--route-gap) / 2); border-left: 1px solid #a9c383; border-top: 1px solid #a9c383; }
  .routing-model::before { width: 24px; }
  .routing-model { padding: 22px; }
  .routing-model h3 { font-size: 25px; }
  .routing-model dl { gap: 16px; }
  .routing-model dt { font-size: 11px; }
  .routing-model dd { font-size: 18px; }
  .routing-outcome { grid-template-columns: 1fr; gap: 28px; padding: 27px; }
  .routing-review ul { grid-template-columns: 1fr; gap: 14px; }
  .routing-review h3 { font-size: 26px; }
}
@media (max-width: 480px) {
  .routing-presets { grid-template-columns: 1fr; gap: 9px; }
  .routing-presets button { min-height: 50px; font-size: 16px; padding: 12px 16px; }
  .routing-controls { grid-template-columns: 1fr; gap: 23px; padding: 20px; }
  .routing-controls select { font-size: 16px; }
  .routing-controls p { margin-top: 10px; }
  .routing-flow { padding: 20px; }
  .routing-task { padding: 20px; }
  .routing-task h3 { font-size: 27px; }
  .routing-task > p:last-child { font-size: 15px; }
  .routing-router { padding: 20px; }
  .routing-router h3 { font-size: 28px; }
  .routing-models { margin-left: 5px; padding-left: 17px; }
  .routing-models::before { width: calc(50% - 2px); }
  .routing-model { padding: 17px; }
  .routing-model::before { width: 18px; }
  .routing-model h3 { font-size: 23px; }
  .routing-model dl { gap: 8px; }
  .routing-model dt { font-size: 10px; }
  .routing-model dd { font-size: 16px; }
  .routing-outcome { padding: 23px 20px; }
  .routing-decision h3 { font-size: 28px; }
  .routing-token-heading > span { font-size: 13px; }
  .routing-review { padding-block: 27px; }
  .routing-review h3 { font-size: 25px; }
  .routing-caption { font-size: 12px; }
}
