/* Prints, source diagrams and chapter covers share the same paper and pen. */
svg.page-engraving,svg.ink-cover { display:block; width:100%; height:auto; }
svg.ink-emblem { display:inline-block; flex:none; width:32px; height:32px; vertical-align:middle; }
body main .ink-stage,html[data-soceo-editorial-destination] body main .ink-stage {
  position:relative; isolation:isolate; overflow:hidden; color:#45354c;
  background:radial-gradient(#d9cedd .65px,transparent .9px) 0 0/9px 9px,#faf6fa;
  border:1px solid #cdbdd4; box-shadow:0 3px 0 #ebe3ed; border-radius:6px;
}
body .ink-stage > .page-engraving { width:100%; height:auto; max-height:270px; position:relative; z-index:1; }
body :is(.mix-story-hero__art,.mix-support-hero__visual,.mix-support-splash__visual).ink-stage {
  display:flex; align-items:center; justify-content:center; flex-direction:column; padding:20px 18px 46px;
}
body :is(.mix-story-hero__art,.mix-support-splash__visual,.mix-support-hero__visual).ink-stage::before,
body :is(.mix-story-hero__art,.mix-support-splash__visual,.mix-support-hero__visual).ink-stage::after { content:none; }
body .ink-stage .mix-story-hero__art-word { position:static; transform:none; font-size:clamp(14px,2vw,22px); }
body .mix-faculty-visual.ink-stage { display:grid; grid-template-columns:1fr; padding:18px clamp(16px,2vw,32px); }
.mix-faculty-visual.ink-stage .ink-course-labels { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ink-course-labels span { color:#56475f; font:500 11px/1.3 "DM Mono",monospace; letter-spacing:.04em; }
.ink-course-labels span:nth-child(2) { font:650 18px/1.2 "Bricolage Grotesque",Inter,sans-serif; }
.ink-course-labels span:last-child { margin-left:auto; }

html body .mix-content-page .mix-material-card__cover:has(.page-engraving) {
  display:grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-content:stretch; place-items:center;
  height:auto; min-height:180px; padding:32px 16px; border:1px solid #cec1d3;
  border-radius:5px; box-shadow:0 2px 0 #e6dce9; color:#3c3045;
  background:linear-gradient(135deg,#fffdfa,#f3edf5);
}
html body .mix-material-card__cover:has(.page-engraving)::before,
html body .mix-material-card__cover:has(.page-engraving)::after { content:none; }
html body .mix-material-card__cover:has(.page-engraving) .mix-material-card__format {
  position:absolute; inset:12px auto auto 15px; border:0; padding:0; border-radius:0;
  font:500 10px/1.45 "DM Mono",monospace; color:#67566f; background:none;
}
html body .mix-material-card__cover > .page-engraving { width:80%; height:100%; max-height:142px; margin:0; }
.mix-material-detail__copy > .page-engraving {
  margin-top:22px; box-sizing:border-box; padding:16px 28px; width:min(100%,354px); height:166px;
  background:#fbf8fb; border:1px solid #d4c7d9; border-radius:4px;
}
.mix-material-delivery__envelope svg.ink-emblem { width:100%; height:100%; }
html body .mix-content-page .mix-hub-feature:has(.page-engraving) :is(.mix-hub-feature__type,.mix-hub-feature__brand,strong) { z-index:2; color:#44334e; }

html body .mix-connector-detail-page .mix-connector-detail-page__source-map {
  min-height:clamp(240px,24vw,360px); border:1px solid #cbbdd2; border-radius:6px; box-shadow:0 3px 0 #ebe3ed;
  background:radial-gradient(#d9cddd .7px,transparent .9px) 0 0/10px 10px,#f7f3f7;
}
html body .mix-connector-detail-page :is(.mix-connector-detail-page__source-tile,.mix-connector-detail-page__context-tile) {
  background:#fffdfa; color:#3d3245; border:1px solid #cfc2d5; border-radius:5px; box-shadow:none;
}
html body .mix-connector-detail-page .mix-connector-detail-page__context-tile :is(small,strong,span){color:#4e3b59}
html body .mix-connector-detail-page .mix-connector-detail-page__source-flow:has(svg) {
  display:grid; place-items:center; height:auto; width:100%; background:none;
}
html body .mix-connector-detail-page__source-flow:has(svg)::after { content:none; }
.ink-connection { display:block; width:100%; max-width:100px; height:auto; overflow:visible; }

[data-evidence-flow] li span:has(.ink-emblem) { display:grid; place-items:center; width:36px; height:36px; background:#fffdfa; border:1px solid #cbbcd2; border-radius:4px; }
[data-evidence-flow] li:last-child span:has(.ink-emblem) { background:#e2ede6; border-color:#a9c2b5; }
[data-evidence-flow] li:not(:last-child)::before { top:18px; left:calc(50% + 21px); width:calc(100% - 42px); border-color:#a58cad; }
[data-evidence-flow] .ink-emblem { width:26px;height:26px; }
.team-page [data-evidence-chart] .evidence-track { position:relative; height:8px; overflow:visible; border-radius:2px; background:#ece5ee; }
.team-page [data-evidence-chart] .evidence-track i { position:relative; border-radius:2px; background:#ac92b7; }
.team-page [data-evidence-chart] li:last-child .evidence-track i { background:#775588; }
.team-page [data-evidence-chart] .evidence-track i::after {
  content:''; position:absolute; right:0; top:50%; width:6px; height:6px;
  transform:translate(50%,-50%); background:#fffdfa; border:1.5px solid #775588; border-radius:50%;
}
.team-page__map-list li > .ink-emblem { width:23px;height:23px; margin-inline-end:5px; }
html body :is(.mix-purpose-sequence,.mix-values-hero__sequence) li > .ink-emblem { width:31px;height:31px; margin-right:6px; position:static; }
html body .mix-mission-orbit__label .ink-emblem { width:24px;height:24px; margin-right:4px; }
html body .mix-vision-conditions__glyph:has(svg) { display:grid; place-items:center; }
html body .mix-vision-conditions__glyph svg {width:52px;height:52px;}
html body .mix-tools-hero__diagram > div > .ink-emblem { width:24px;height:24px; }
.mix-scene-top > .ink-emblem, .agent-detail-visual > figcaption > .ink-emblem {width:28px;height:28px; margin-inline-end:8px;}
.mix-scene-top > .ink-emblem + span {margin-inline-end:auto;}
body .mix-platform-plan-visual > .page-engraving { width:100%;height:100%;max-height:188px; }
.mix-platform-alert-shape > .ink-emblem { width:100%;height:100%; }
html body .hx-mark:has(.ink-emblem)::after {content:none}
html body .hx-mark svg.ink-emblem {width:50px;height:48px;position:static;}
.hx-artifact-heading > .ink-emblem { width:27px;height:27px;margin:0 6px 0 0;align-self:center; }
html body .hx-artifact-heading:has(.ink-emblem) {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;}
.ws-copy .ink-emblem {width:22px;height:22px;vertical-align:middle;margin-inline-end:7px;}
@media (max-width:760px) {
  html body .mix-connector-detail-page .mix-connector-detail-page__source-flow:has(svg) {width:62px;height:34px;}
  .mix-connector-detail-page__source-flow svg.ink-connection {width:54px; transform:rotate(90deg);}
  .hx-artifact-heading > .ink-emblem {width:21px;height:21px;margin-right:2px;}
  .mix-material-detail__copy > .page-engraving {height:115px;}
}

/* Marks sit in the existing diagram nodes, clear of captions and controls. */
.mix-roadmap-phase-node .mix-roadmap-phase-dot:has(svg) {display:grid;place-items:center;background:#fffdfa;border:1px solid #b6a2c0;box-shadow:none;}
.mix-roadmap-phase-dot > svg.ink-emblem {width:80%;height:80%;}
.mix-roadmap-phase-node[aria-pressed="true"] .mix-roadmap-phase-dot:has(svg){background:#e5d6eb;border:2px solid #755487;}
.mix-agents-atlas figcaption .ink-emblem,[data-security-boundary-artifact] figcaption .ink-emblem { width:25px;height:25px;margin-right:7px; }
.mix-security-hero-chain__icon .ink-emblem {width:29px;height:29px;}
.mix-connectors-mosaic__mark:has(svg){display:grid;place-items:center;background:none;}
.mix-connectors-mosaic__mark > .ink-emblem {width:100%;height:100%;}
.mix-ethics-hero__note > .ink-emblem {width:44px;height:44px;margin-bottom:12px;}
.mix-apis-flow__core > .ink-emblem {width:36px;height:36px;background:#f5eff6;border:1px solid #cfbed5;border-radius:5px;padding:2px;}
body .ds-hero > .page-engraving {display:block;margin:18px auto 0;width:min(100%,350px);height:120px;}
html body .fusion-chapter-mark > .ink-emblem {position:static;width:100%;height:100%;margin:0;}
html body .fusion-chapter-mark:has(.ink-emblem)::after,html body .fusion-chapter-mark:has(.ink-emblem)::before {content:none;}
/* Native SVG renderers also use color attributes. Keep path-specific ink
   intact inside article themes which historically colored every SVG path. */
html body .ed-diagram [data-page-art] { opacity:.86; }
@media (max-width:650px) and (max-height:720px) {
  body .mix-support-splash__visual.ink-stage {display:none;}
}

/* The open accordion has a dedicated picture row. Copy can wrap below it. */
html body .mix-content-page .mix-hub-feature:has(.page-engraving) {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto 4px; align-items:center;
  padding:54px 14px 12px; gap:10px; border:1px solid #d8cadf; border-radius:5px;
  background:radial-gradient(#dcd0df .6px,transparent .9px) 0 0/9px 9px,#f7f3f7;
  box-shadow:0 2px 0 #ebe3ed;
}
html body .mix-content-page .mix-hub-feature.is-active:has(.page-engraving) {background:#f3ebf5;border-color:#b9a5c3;}
html body .mix-content-page .mix-hub-feature:has(.page-engraving)::before,
html body .mix-content-page .mix-hub-feature:has(.page-engraving)::after {content:none;}
html body .mix-content-page .mix-hub-feature > .page-engraving {
  position:static; grid-row:1; align-self:center; width:100%; height:100%; min-height:0;
  margin:0; pointer-events:none; opacity:1;
}
html body .mix-content-page .mix-hub-feature:has(.page-engraving) > strong {
  grid-row:2; align-self:end; position:relative; margin:0; min-width:0; width:auto; max-width:100%;
  color:#392e42; font-size:clamp(24px,2.5vw,37px);
}
html body .mix-hub-feature:has(.page-engraving) .mix-hub-feature__progress {grid-row:3;background:#dfd3e4;}
html body .mix-hub-feature:has(.page-engraving) .mix-hub-feature__progress i {background:#80668d;}
html body .mix-tools-hero__diagram > div:has(.ink-emblem) {grid-template-columns:auto auto minmax(12px,1fr) auto;gap:9px;}
html body .mix-material-card__cover:has(.page-engraving) > strong {display:none;}
@media (min-width:761px) {
  html body .mix-hub-feature:not(.is-active):has(.page-engraving) > strong {height:0;min-height:0;overflow:hidden;}
}
.ink-source-preview { margin-bottom:12px; }
.ink-source-preview .ink-emblem { width:38px; height:38px; }
.mix-connect-hero-visual__sources > span:has(.ink-emblem) { display:grid; grid-template-columns:32px 1fr; align-items:center; column-gap:7px; }
.mix-connect-hero-visual__sources > span > .ink-emblem {grid-row:1 / 3;width:28px;height:28px;}
.mix-connect-hero-visual__sources > span > :is(b,small) {grid-column:2;}
html body .mix-connect-hero-visual__mark .ink-emblem {width:36px;height:36px;}
.mix-plan-fan .ink-scenario-area {fill:#eee3f1;stroke:none;}
.mix-plan-fan .ink-scenario-end {fill:#fffdfa;stroke:#856d8f;stroke-width:1.4;}
html body .mix-plan-fan[data-page-art] .mix-plan-fan-branch {stroke:#9376a2;stroke-width:1.8;}
html body .mix-plan-fan[data-page-art] [data-tone="mid"] {stroke:#557c70;stroke-dasharray:5 4;}
[data-controla-hero-stage] > span:has(svg) {display:flex;gap:7px;align-items:center;}
[data-controla-hero-stage] .ink-emblem {width:25px;height:25px;}
.mix-hub-feature > svg.ink-emblem { display:none; }
html body .mix-hub-feature:has(.page-engraving) .mix-hub-feature__type {white-space:normal;line-height:1.22;}
@media (min-width:761px) {
  .mix-content-page .mix-hub-feature:not(.is-active) > svg.ink-emblem {display:block;grid-area:1/1;place-self:center;width:min(78%,50px);height:auto;}
  html body .mix-content-page .mix-hub-feature:not(.is-active) > .page-engraving {display:none;}
}

/* Replace the shared glass background wherever the original editorial
   templates requested it. Article photos have their own image sources. */
main[class*="mix-"],.mix-support-splash {
  --editorial-artwork:url("./editorial-field.svg");
}
