/* Fluid Hex-scale composition; the SOCEO type, content and controls stay native. */
html:is([data-querio-preview], [data-soceo-editorial-page]) {
  --ed-paper-texture: url("/assets/soceo-editorial-paper.png");
}
html[data-querio-preview][data-fusion] {
  --ed-page-width: 96%;
  --ed-inset: clamp(36px,4.2vw,88px);
  --ed-paper: #faf9f6;
  --ed-rule: #b6a7c1;
  --ed-violet: #9c80b9;
  --q-frame: 96vw;
  background-color: var(--ed-paper) !important;
}
html[data-querio-preview][data-fusion] body { background-color: var(--ed-paper) !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] {
  max-width: none !important;
  width: var(--ed-page-width) !important;
  --q-paper: #faf9f7;
}
html[data-querio-preview][data-fusion] .soceo-shell-host--bottom { max-width: none !important; width: var(--ed-page-width) !important; margin-inline: auto; }
.ed-surface { position: relative; isolation: isolate; }
html:is([data-querio-preview][data-fusion],[data-soceo-editorial-page],[data-soceo-collection]) .ed-surface>.ed-paper-layer,
html:is([data-querio-preview][data-fusion],[data-soceo-editorial-page],[data-soceo-collection]) .ed-surface>svg.ed-section-lines { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; pointer-events: none; display: block; }
html:is([data-querio-preview][data-fusion],[data-soceo-editorial-page],[data-soceo-collection]) .ed-surface>.ed-paper-layer { z-index: -1 !important; background-image: var(--ed-paper-texture); background-size: 128px 128px; }
html:is([data-querio-preview][data-fusion],[data-soceo-editorial-page],[data-soceo-collection]) .ed-surface>svg.ed-section-lines { z-index: 0 !important; overflow: hidden; fill: none; stroke: var(--ed-rule); stroke-width: .8; }
.ed-section-lines path,.ed-section-lines circle,.ed-section-lines rect { vector-effect: non-scaling-stroke; }
.ed-section-lines .ed-route { stroke: var(--ed-violet); stroke-width: 1; opacity: .8; }
.ed-section-lines .ed-node { fill: #faf9f7; stroke: #9d83b1; }
.ed-section-lines .ed-terminal { fill: #a5bfb2; stroke: none; }
.ed-section-lines .ed-register { stroke: #b4a5bf; opacity: .7; }
.ed-section-lines .ed-orbit { stroke: #b8a8c6; opacity: .55; }
.ed-dark { --ed-rule: #9e8bbd; --ed-violet: #c3b0de; }
.ed-dark .ed-paper-layer { opacity: .6; }
.ed-dark .ed-section-lines { opacity: .48; }
.ed-dark .ed-section-lines .ed-node { fill: #2c2147; stroke: #c9b7e1; }

/* Larger authored diagrams: source cables enter the artifact surrounds. */
html:is([data-querio-preview][data-fusion],[data-soceo-editorial-page],[data-soceo-collection]) .ed-surface>svg.ed-section-lines { --ed-diagram-ink: #8c70ac; --ed-diagram-paper: #faf8fb; stroke-width: 1; }
.ed-section-lines .ed-accent-line { stroke: #8056b0; stroke-width: 1.25; opacity: .72; }
.ed-section-lines .ed-construction { stroke: #a493b5; stroke-width: .8; opacity: .6; }
.ed-section-lines .ed-diagram { stroke: var(--ed-diagram-ink); stroke-width: 1; }
.ed-section-lines .ed-field { stroke: none; opacity: .46; }
.ed-section-lines .ed-paper-shape { fill: var(--ed-diagram-paper); stroke: #a38ab7; }
.ed-section-lines .ed-core { fill: #e8dcf3; stroke: #8056b0; }
.ed-section-lines .ed-junction { fill: #a9c6b9; stroke: var(--ed-diagram-paper); stroke-width: 1.5; }
.ed-section-lines .ed-hatch-stroke { stroke: #b8a7c8; stroke-width: .8; }
.ed-section-lines .ed-dot-fill { fill: #a18bb3; stroke: none; }
.ed-section-lines .ed-frame-corners { stroke: #a98fbd; stroke-width: .9; stroke-dasharray: 2 4; }
.ed-dark .ed-section-lines { --ed-diagram-paper: #271d42 !important; --ed-diagram-ink: #c2a5e1 !important; opacity: .72; }
.ed-dark .ed-section-lines .ed-accent-line { stroke: #c7a7ee; }
.ed-dark .ed-section-lines .ed-core { fill: #493366; stroke: #d1b3ed; }
.ed-dark .ed-section-lines .ed-paper-shape { stroke: #b49acb; }
.ed-connection-band { height: 180px; overflow: hidden; background: #f6f2fa; border-block: 1px solid #d9d1e5; }
html[data-querio-preview][data-fusion] .sh-hero .fusion-hero-geometry { display: none; }
html[data-querio-preview][data-fusion] .ws-feature:not([data-fusion-platform]) { padding-block: 65px !important; }
html[data-querio-preview][data-fusion] .ws-feature .ws-copy { position: relative; z-index: 1; }
html[data-querio-preview][data-fusion] .ws-feature .ws-stage-frame { z-index: 1; }
html[data-querio-preview][data-fusion] .og-studio-frame,
html[data-querio-preview][data-fusion] .hc-frame { position: relative; z-index: 1; }

/* Room for headline, then a larger product canvas, as separate editorial beats. */
html[data-querio-preview][data-fusion] .sh-hero .mix-story-intro { padding: 82px var(--ed-inset) 78px !important; }
html[data-querio-preview][data-fusion] .sh-hero .mix-intro-block h1 { max-width: 1320px !important; font-size: clamp(58px,4.6vw,86px) !important; }
html[data-querio-preview][data-fusion] .q-hero-description { max-width: 760px !important; font-size: 18px !important; }
html[data-querio-preview][data-fusion] .sh-showcase { width: calc(100% - 48px) !important; height: clamp(600px,42vw,780px) !important; margin: 24px 24px 0 !important; padding: 32px !important; }
html[data-querio-preview][data-fusion] .q-product-greeting h2 { font-size: clamp(24px,2vw,34px) !important; }
html[data-querio-preview][data-fusion] .q-product-greeting p { font-size: 13px; }
html[data-querio-preview][data-fusion] .q-product-questions p { font-size: 10px; }
html[data-querio-preview][data-fusion] .q-product-top { grid-template-columns: 1fr auto; }
html[data-querio-preview][data-fusion] .fusion-hero-wire path { vector-effect: non-scaling-stroke; }
html[data-querio-preview][data-fusion] .fusion-sun { top: 60px; right: 7%; width: 68px; height: 68px; }
html[data-querio-preview][data-fusion] .fusion-orbit { left: 6%; bottom: 78px; }

/* Source scenes keep their alternating rhythm, now across the wider page. */
html[data-querio-preview][data-fusion] .ws-intro { max-width: none !important; padding: 82px var(--ed-inset) 45px !important; }
html[data-querio-preview][data-fusion] .ws-intro .ah-section-title { max-width: 1060px !important; font-size: clamp(38px,3vw,54px) !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout] .ws-feature-layout {
  padding: 0 var(--ed-inset) !important;
  gap: clamp(32px,3vw,64px) !important;
  background: transparent !important;
}
html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout="forward"] .ws-feature-layout { grid-template-columns: .62fr 1.38fr !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout="reverse"] .ws-feature-layout { grid-template-columns: 1.38fr .62fr !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout] .ws-copy { padding: 22px 0 !important; background: transparent !important; }
html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-copy h3 { font-size: clamp(30px,2.5vw,44px) !important; }
html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-copy>p:not(.q-feature-category) { font-size: 17px !important; max-width: 36ch !important; }
html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-stage { height: clamp(544px,38vw,700px) !important; }
html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-stage-frame { background-image: var(--ed-paper-texture) !important; background-size: 128px 128px !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] [data-fusion-platform] { padding: 70px var(--ed-inset) 56px !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] [data-fusion-platform] .ws-stage-frame { max-width: 1420px !important; }

/* Wide editorial chapters with a readable copy column and generous artifacts. */
html[data-querio-preview][data-fusion] .hx-section { padding: 76px var(--ed-inset) 88px !important; }
html[data-querio-preview][data-fusion] .og-section { padding: 72px var(--ed-inset); }
html[data-querio-preview][data-fusion] .og-section h2 { max-width: 1100px; }
html[data-querio-preview][data-fusion] .og-graph-section { grid-template-columns: .78fr 1.22fr; gap: 56px; }
html[data-querio-preview][data-fusion] .og-studio-stage { padding: clamp(24px,2.5vw,48px); background-image: var(--ed-paper-texture); }
html[data-querio-preview][data-fusion] .og-use-grid>a { padding: 34px 30px; min-height: 200px; }
html[data-querio-preview][data-fusion] .og-template-grid>a { padding: 30px; min-height: 190px; }
html[data-querio-preview][data-fusion] .hc-frame { min-height: 520px; }
html[data-querio-preview][data-fusion] #pergunte-as-ias .mix-askai-inner { padding: 68px var(--ed-inset) 72px !important; gap: 48px !important; }
html[data-querio-preview][data-fusion] #pergunte-as-ias .mix-askai-title { max-width: 28ch !important; font-size: clamp(32px,2.8vw,46px) !important; }
html[data-querio-preview][data-fusion] #pergunte-as-ias .askai-links-frame { max-width: 520px !important; }
html[data-querio-preview][data-fusion] #mcp .mcp-intro { padding: 72px var(--ed-inset) 36px !important; }
html[data-querio-preview][data-fusion] #mcp > .ed-section-lines {
  --ed-rule: #bfacd7;
  --ed-violet: #c7a7ee;
  z-index: 1 !important;
}
html[data-querio-preview][data-fusion] #mcp .mcp-track { padding-inline: var(--ed-inset) !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home]>.mix-ai-usage,
html[data-querio-preview][data-fusion] #de-isso-ao-seu-agente { padding-inline: var(--ed-inset) !important; }

/* Selected material fields: a precise hatch, not a full-page decorative grid. */
html[data-querio-preview][data-fusion] .ed-hatched {
  background-image: repeating-linear-gradient(135deg,transparent 0 7px,#8e7b9d0d 7px 8px) !important;
}

@media(min-width:1700px) {
  html[data-querio-preview][data-fusion] .hx-editorial h2 { font-size: 43px !important; }
  html[data-querio-preview][data-fusion] .hx-editorial>p { font-size: 17px !important; }
  html[data-querio-preview][data-fusion] .og-graph-copy h2 { font-size: 46px !important; }
}
@media(max-width:1100px) {
  html[data-querio-preview][data-fusion] { --ed-inset: 34px; }
  html[data-querio-preview][data-fusion] .og-graph-section { gap: 30px; }
  html[data-querio-preview][data-fusion] .sh-showcase { height: 600px !important; padding: 24px !important; }
}
@media(max-width:900px) {
  html[data-querio-preview][data-fusion] .og-graph-section { grid-template-columns: 1fr; }
}
@media(max-width:820px) {
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout] .ws-feature-layout { grid-template-columns: 1fr !important; padding: 0 24px !important; gap: 26px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout] .ws-copy { padding: 12px 10px !important; }
}
@media(max-width:620px) {
  html[data-querio-preview][data-fusion] { --ed-page-width: calc(100% - 20px); --ed-inset: 24px; }
  .ed-section-lines { opacity: .55; }
  .ed-connection-band { height: 112px; }
  html[data-querio-preview][data-fusion] .ws-feature:not([data-fusion-platform]) { padding-block: 38px !important; }
  html[data-querio-preview][data-fusion] .sh-hero .mix-story-intro { padding: 50px 24px 46px !important; }
  html[data-querio-preview][data-fusion] .sh-hero .mix-intro-block h1 { font-size: 39px !important; }
  html[data-querio-preview][data-fusion] .q-hero-description { font-size: 14px !important; }
  html[data-querio-preview][data-fusion] .sh-showcase { width: calc(100% - 16px) !important; margin: 8px 8px 0 !important; height: 550px !important; padding: 10px !important; }
  html[data-querio-preview][data-fusion] .q-product-greeting h2 { font-size: 23px !important; }
  html[data-querio-preview][data-fusion] .q-product-greeting p { font-size: 10px; }
  html[data-querio-preview][data-fusion] .q-product-questions p { font-size: 7px; }
  html[data-querio-preview][data-fusion] .fusion-sun { top: 22px; right: 16px; width: 34px; height: 34px; }
  html[data-querio-preview][data-fusion] .fusion-orbit { left: 12px; bottom: 26px; width: 28px; height: 28px; }
  html[data-querio-preview][data-fusion] .ws-intro { padding: 48px 24px 32px !important; }
  html[data-querio-preview][data-fusion] .ws-intro .ah-section-title { font-size: 31px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout] .ws-feature-layout { padding: 0 10px !important; gap: 20px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] .ws-feature[data-fusion-layout] .ws-copy { padding: 10px 14px !important; }
  html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-copy h3 { font-size: 30px !important; }
  html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-copy>p:not(.q-feature-category) { font-size: 15px !important; }
  html[data-querio-preview][data-fusion] .ws-feature[data-fusion-layout] .ws-stage { height: 550px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] [data-fusion-platform] { padding: 44px 22px 34px !important; }
  html[data-querio-preview][data-fusion] .hx-section { padding: 46px 24px 54px !important; }
  html[data-querio-preview][data-fusion] .og-section { padding: 44px 24px; }
  html[data-querio-preview][data-fusion] .og-studio-stage { padding: 10px; }
  html[data-querio-preview][data-fusion] .og-use-grid>a { padding: 22px; min-height: 150px; }
  html[data-querio-preview][data-fusion] .og-template-grid>a { padding: 22px; min-height: 174px; }
  html[data-querio-preview][data-fusion] #pergunte-as-ias .mix-askai-inner { padding: 40px 24px 36px !important; }
  html[data-querio-preview][data-fusion] #pergunte-as-ias .mix-askai-title { font-size: 29px !important; }
  html[data-querio-preview][data-fusion] #mcp .mcp-intro { padding: 46px 24px 28px !important; }
  html[data-querio-preview][data-fusion] #mcp .mcp-track { padding-inline: 14px !important; }
}

html[data-querio-preview][data-fusion] #contato .ss-section-heading {
  background-image: none;
  padding-bottom: 0;
}

/* Approved-page refinement: clarify only the parallel-work chapter. */
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-section-intro { margin-bottom: 28px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-workflow-demo { background: #faf9fb; border: 1px solid #d9d1e5; border-radius: 6px; overflow: hidden; }
.og-workflow[data-workflow-v2] .og-v2-shared-context { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 11px 20px; color: #4c3765; background: #faf8fc; border-bottom: 1px solid #d9d1e5; }
.og-workflow[data-workflow-v2] .og-v2-shared-context img { width: 28px; height: 28px; padding: 2px; background: #fff; border: 1px solid #dfd5e8; border-radius: 50%; }
.og-workflow[data-workflow-v2] .og-v2-shared-context strong { font: 600 17px/1.25 'Bricolage Grotesque',Inter,sans-serif; }
.og-workflow[data-workflow-v2] .og-v2-shared-context>span { margin-left: auto; color: #665a76; font-size: 11px; }
.og-workflow[data-workflow-v2] .og-v2-branch-scene { overflow: hidden; background-color: #f7f4fa; background-image: radial-gradient(#9c80b933 .8px,transparent .8px),var(--ed-paper-texture); background-size: 20px 20px,128px 128px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene>svg { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 310; padding: 20px 22px 14px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text { fill: #665a76; font-size: 12px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text.og-flow-agent { fill: #4c3765; font: 600 18px 'Bricolage Grotesque',Inter,sans-serif; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text.og-flow-note { font-size: 11px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text:last-of-type { font-size: 12px; }
.og-workflow[data-workflow-v2] .og-v2-branch-scene .og-flow-main { stroke: #74667f !important; stroke-width: 1.05 !important; }
.og-workflow[data-workflow-v2] .og-v2-branch-scene .og-flow-branch { stroke: #a184b7 !important; stroke-width: 1.25 !important; }
.og-workflow[data-workflow-v2] .og-v2-branch-scene .og-flow-nodes rect { fill: #987bb4 !important; }
.og-workflow[data-workflow-v2] .og-v2-branch-scene .og-flow-nodes rect:nth-child(-n+3) { fill: #82758f !important; }
.og-workflow[data-workflow-v2] .og-v2-flow-hint { display: none; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-animation-controls { min-height: 44px; font-size: 10px; background: #faf8fc; border-top: 1px solid #d9d1e5; }
.og-workflow[data-workflow-v2] .og-v2-motors-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin: 28px 0 12px; }
.og-workflow[data-workflow-v2] .og-v2-motors-heading strong { color: #352641; font: 600 18px/1.3 'Bricolage Grotesque',Inter,sans-serif; }
.og-workflow[data-workflow-v2] .og-v2-motors-heading>span { color: #665a76; font-size: 12px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps { gap: 10px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps>button { min-height: 190px; padding: 22px 20px; background: #faf9fb; border: 1px solid #d9d1e5; border-radius: 5px; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps>button>span { gap: 10px; font: 600 20px/1.3 'Bricolage Grotesque',Inter,sans-serif; text-transform: none; }
.og-workflow[data-workflow-v2] .og-flow-steps>button>span i { font: 11px/1.3 'DM Mono',monospace; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps small { padding: 0; border: 0; background: none; font-size: 9px; text-transform: none; }
html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps>button[aria-pressed="true"] { background: #eee6f6; border-color: #a78abd; }
.og-workflow[data-workflow-v2] .og-flow-steps>button:not([aria-pressed="true"]) .og-flow-step-progress { visibility: hidden; }
.og-workflow[data-workflow-v2] .og-flow-steps>button:hover { border-color: #a78abd !important; }
@media(max-width:620px) {
  .og-workflow[data-workflow-v2] .og-v2-shared-context { display: grid; grid-template-columns: 30px 1fr; padding: 15px; gap: 5px 10px; }
  .og-workflow[data-workflow-v2] .og-v2-shared-context img { width: 28px; height: 28px; grid-row: 1/3; }
  .og-workflow[data-workflow-v2] .og-v2-shared-context strong { font-size: 17px; }
  .og-workflow[data-workflow-v2] .og-v2-shared-context>span { margin: 0; font-size: 10px; }
  .og-workflow[data-workflow-v2] .og-v2-motors-heading { display: block; }
  .og-workflow[data-workflow-v2] .og-v2-motors-heading>span { display: block; margin-top: 6px; font-size: 11px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps { gap: 7px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps>button { min-height: 216px; padding: 17px 12px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps>button>span { gap: 6px; font-size: 17px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-flow-steps p { font-size: 13px !important; }
}

/* Printed marquee: a separate light chapter above the approved dark MCP. */
html[data-querio-preview][data-fusion] .mix-agent-strip { background: #faf9f7 !important; color: #665a76 !important; border-color: #d9d1e5 !important; padding-block: 20px !important; }
html[data-querio-preview][data-fusion] .mix-agent-strip h2,
html[data-querio-preview][data-fusion] .mix-agent-strip p,
html[data-querio-preview][data-fusion] .mix-agent-strip strong,
html[data-querio-preview][data-fusion] .mix-agent-strip span { color: #6e627a !important; }
html[data-querio-preview][data-fusion] .mix-agent-strip .mix-agent-label span:last-child { color: #51475e !important; }
html[data-querio-preview][data-fusion] .mix-agent-strip .mix-agent-item img { filter: grayscale(1) brightness(.6) !important; opacity: .55 !important; background: transparent !important; border-radius: 0 !important; }
html[data-querio-preview][data-fusion] .mix-agent-strip .mix-agent-toggle { color: #766783; border-color: #d9d1e5; }

/* V2 assistant materials; all native controls and state are retained. */
html[data-querio-preview][data-fusion] { --secretaria-cobalt: #111c3b; --secretaria-cobalt-dark: #2b3d65; --secretaria-ink: #29242f; --secretaria-muted: #665a76; --secretaria-surface: #faf9f7; --secretaria-soft: #efecf2; --secretaria-border: #d9d1e5; --secretaria-focus: #a98bc5; }
html[data-querio-preview][data-fusion] .mix-secretaria-launcher { border: 1px solid #35405b; border-radius: 7px; background: #111c3b; box-shadow: 0 7px 18px #111c3b20; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact,
html[data-querio-preview][data-fusion] .mix-secretaria-panel { border-color: #d9d1e5; border-radius: 6px; background: #faf9f7; box-shadow: 0 14px 32px #111c3b1f; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact { background-image: var(--ed-paper-texture); }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-identity small { color: #665a76; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-cta { border-color: #d9d1e5; border-radius: 4px; background: #efecf2; color: #4c3765; font-weight: 500; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-cta:hover { background: #e5dcec; border-color: #baa4cd; color: #352641; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-question { border-color: #cfc3db; border-radius: 4px; color: #665a76; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-question svg { background: #111c3b; color: #fff; stroke: currentColor; border-radius: 4px; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-close { border-radius: 4px; }
html[data-querio-preview][data-fusion] .mix-secretaria-header { background: #efecf2; border-bottom: 1px solid #d9d1e5; }
html[data-querio-preview][data-fusion] .mix-secretaria-composer { border-color: #baa4cd; border-radius: 5px; }
html[data-querio-preview][data-fusion] .mix-secretaria-send,
html[data-querio-preview][data-fusion] .mix-secretaria-close { border-radius: 4px; }
html[data-querio-preview][data-fusion] .mix-secretaria-meeting-action,
html[data-querio-preview][data-fusion] .mix-secretaria-learn-action { border-color: #d9d1e5; border-radius: 4px; background: #efecf2; color: #4c3765; }
html[data-querio-preview][data-fusion] .mix-secretaria-meeting-action:hover,
html[data-querio-preview][data-fusion] .mix-secretaria-learn-action:hover { background: #e5dcec; color: #352641; }
html[data-querio-preview][data-fusion] .nav-blur-overlay[data-soceo-menu-backdrop="true"] { --soceo-menu-backdrop-scrim: #211c2c0d !important; --soceo-menu-backdrop-filter: blur(3px) !important; }

/* V2 operation demos play independently of native document scrolling. */
html[data-querio-preview][data-fusion][data-mcp-scroll="free"] #mcp .mcp-track { height: auto !important; }
html[data-querio-preview][data-fusion][data-mcp-scroll="free"] #mcp .mcp-panel-frame,
html[data-querio-preview][data-fusion][data-mcp-scroll="free"] #mcp .mcp-panel { position: relative !important; top: auto !important; }
html[data-querio-preview][data-fusion] .mix-secretaria-compact-actions { margin-top: 14px; gap: 10px; }

@media(max-width:620px) {
  .og-workflow[data-workflow-v2] .og-v2-branch-scene { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c9b6dc transparent; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene>svg { width: 860px; min-width: 860px; height: 260px; aspect-ratio: auto; padding: 20px 12px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text { font-size: 18px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text.og-flow-agent { font-size: 20px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text.og-flow-note { font-size: 11px; }
  html[data-querio-preview][data-fusion] .og-workflow[data-workflow-v2] .og-v2-branch-scene text:last-of-type { font-size: 14px; }
  .og-workflow[data-workflow-v2] .og-v2-flow-hint { display: block; padding: 8px 15px 11px; color: #665a76; font-size: 11px; }
}
@media (max-width: 420px) {
  html[data-querio-preview][data-fusion] .og-uses .og-use-grid { grid-template-columns: 1fr; }
  html[data-querio-preview][data-fusion] .og-uses .og-use-grid > a {
    display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center;
    gap: 16px; min-height: 0; padding: 18px;
  }
}

/* Continue the home drawing down the sheet. The line stops on either side of
   the engraving, so a register mark never intersects a wire or the copy. */
:is([data-soceo-collection],[data-soceo-editorial-page]) .ed-chapter-surface {
  position: relative;
  isolation: isolate;
}
:is([data-soceo-collection],[data-soceo-editorial-page]) .ed-chapter-field {
  --rail-inset: 20px;
  --mark-size: 29px;
  --mark-y: 38px;
  --rail-ink: #b4a2c3;
  position: absolute;
  display: block;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  margin: 0;
  padding: 0;
  background:
    linear-gradient(var(--rail-ink),var(--rail-ink)) left var(--rail-inset) top / 1px var(--mark-y) no-repeat,
    linear-gradient(var(--rail-ink),var(--rail-ink)) left var(--rail-inset) bottom / 1px calc(100% - var(--mark-y) - var(--mark-size) - 8px) no-repeat,
    linear-gradient(var(--rail-ink),var(--rail-ink)) right var(--rail-inset) top / 1px 100% no-repeat;
}
.ed-chapter-field > .ed-chapter-mark {
  --ed-diagram-ink: #9276a5;
  --ed-diagram-paper: #faf8fb;
  position: absolute;
  top: calc(var(--mark-y) + 4px);
  left: calc(var(--rail-inset) + .5px - var(--mark-size) / 2);
  width: var(--mark-size);
  height: var(--mark-size);
  fill: none;
  stroke: var(--ed-diagram-ink);
  stroke-width: 1;
}
.ed-chapter-field::after {
  content: "";
  position: absolute;
  top: 36px;
  right: calc(var(--rail-inset) - 3px);
  width: 7px;
  border-top: 1px solid var(--rail-ink);
}
@media (max-width: 619px) {
  :is([data-soceo-collection],[data-soceo-editorial-page]) .ed-chapter-field {
    --rail-inset: 7px;
    --mark-y: 23px;
    --mark-size: 11px;
  }
}
.ed-chapter-field > .ed-chapter-vignette {
  --ed-diagram-ink: #8c749e;
  --ed-diagram-paper: #fcfafc;
  position: absolute;
  right: 32px;
  top: 31%;
  width: clamp(0px,calc((100% - var(--ed-shell-width, 1240px)) / 2 - 46px),130px);
  height: auto;
  aspect-ratio: 1;
  fill: none;
  stroke: var(--ed-diagram-ink);
  opacity: .88;
}
.source-request > .ed-chapter-field { --ed-shell-width: 1160px; }
.mix-connectors-source-context > .ed-chapter-field { --ed-shell-width: 1180px; }

/* Breadcrumb band under the header (editorial-layout.js). Rails, rule and
   nodes are drawn like every other subject separator. */
.soceo-crumbs.ed-surface { position: absolute !important; z-index: 20 !important; margin: 0; }
:is(.soceo-crumbs, .team-page__crumbs).ed-surface { box-sizing: border-box; display: flex; align-items: center; min-height: 48px; }
.soceo-crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 0; padding: 0 clamp(34px, 4.4vw, 60px); list-style: none;
  color: #665a76; font: 500 13px/1.3 Inter, Arial, sans-serif;
}
.soceo-crumbs li:not(:first-child)::before { content: "/"; margin-right: 10px; color: #7839ee; }
.soceo-crumbs li[aria-current] { color: #151517; }
.soceo-crumbs a { color: inherit; text-decoration: none; }
.soceo-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.soceo-crumbs a:focus-visible { outline: 2px solid #7839ee; outline-offset: 3px; }
/* Team and product pages keep their own crumbs, now drawn as the same band. */
.team-page__crumbs.ed-surface { margin-top: -16px; padding-block: 12px; }
/* One trail per page: pages that drew their own breadcrumb inside the opening hand it to the band. */
html[data-soceo-crumbs] .agent-detail-breadcrumb { display: none !important; }
/* The band sits on the opening's own paper: only its lines are drawn. */
.soceo-crumbs.ed-surface > .ed-paper-layer { display: none !important; }
