  .zsp { position: relative; display: grid; min-width: 0; padding: 36px 40px 34px; column-gap: 26px; row-gap: 0; align-items: center; }
  .zsp[data-layout="wide"] {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    grid-template-areas: "head head head" "dia rail img" "rule rule rule" "ctl ax ax";
  }
  .zsp[data-layout="column"] {
    padding: 28px 26px 26px; column-gap: 18px; grid-template-columns: minmax(0, 1fr) 64px;
    grid-template-areas: "head head" "dia rail" "img img" "rule rule" "ax ax" "ctl ctl";
  }
  .zsp[data-layout="narrow"] {
    padding: 20px 16px 18px; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "img" "rail" "ax" "ctl" "dia";
  }
  .zsp[data-layout="wide"][data-x3d="on"] { grid-template-areas: "head head head" "dia rail img" "cap . story" "rule rule rule" "ctl ax ax"; }
  .zsp[data-layout="column"][data-x3d="on"] { grid-template-areas: "head head" "dia rail" "cap cap" "img img" "rule rule" "ax ax" "ctl ctl"; }
  .zsp[data-layout="narrow"][data-x3d="on"] { grid-template-areas: "head" "img" "rail" "ax" "story" "dia" "cap" "ctl"; }
  .zsp-head { grid-area: head; margin-bottom: 18px; }   
  .zsp-dia { grid-area: dia; min-width: 0; position: relative; z-index: 0; }
  .zsp-rail { grid-area: rail; min-width: 0; justify-self: center; position: relative; z-index: 2; }
  .zsp-img { grid-area: img; min-width: 0; position: relative; z-index: 2; }
  .zsp-imghead { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px 0; padding-left: 2px; font-size: 13px; color: var(--zsl-muted); white-space: nowrap; }
  .zsp-imghead b { font-size: 15px; font-weight: 700; color: var(--zsl-ink); }
  .zsp[data-layout="wide"] .zsl-frame, .zsp[data-layout="wide"] .zsl-cap { margin-left: 0; margin-right: auto; }
  .zsp-rule { grid-area: rule; height: 1px; margin-top: 26px; background: var(--zsl-line); }
  .zsp-ctl { grid-area: ctl; min-width: 0; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 24px; }
  .zsp-steppers { width: 100%; min-width: 0; }
  .zsp-framing { width: 420px; min-width: 0; max-width: 100%; }   
  .zsp-framing .zsl-seg { display: flex; }
  .zsp-ax { grid-area: ax; min-width: 0; align-self: start; padding-top: 24px; }
  .zsp[data-layout="wide"] .zsp-ax { --ax-gw: 72px; column-gap: 26px; }
  .zsp-links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
  .zsp-links path { fill: none; stroke-linecap: round; }
  .zsp-links .fan { stroke: var(--zsl-muted); stroke-width: 1; stroke-dasharray: 1.2 3.4; opacity: .55; }
  .zsp-links .fan.none { opacity: .28; }
  .zsp-links .sel { stroke: var(--zsl-accent); stroke-width: 2; }
  .zsp-links .sel.none { stroke: var(--zsl-muted); }
  .zsp-links .out { stroke: var(--zsl-accent); stroke-width: 1.6; }
  .zsp-links .out.none { stroke: var(--zsl-muted); }
  .zsp-links circle { fill: var(--zsl-accent); }
  .zsp-links circle.none { fill: var(--zsl-muted); }
  .zsp[data-layout="column"] .zsp-img { margin-top: 22px; }
  .zsp[data-layout="column"] .zsp-rule { margin-top: 24px; }
  .zsp[data-layout="column"] .zsp-ctl { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 20px; }
  .zsp[data-layout="column"] .zsp-steppers { width: auto; flex: 0 1 430px; }
  .zsp[data-layout="column"] .zsp-framing { flex: 0 1 236px; }
  .zsp[data-layout="column"] .zsp-ax { padding-top: 22px; }
  .zsp[data-layout="column"] .zsp-ctl { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--zsl-line); }
  .zsp-imghead.has-switch { align-items: center; justify-content: space-between; gap: 18px; }
  .zsp-imghead .zsp-hl { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
  .zsp-imghead.has-switch .zsp-framing { flex: 0 1 250px; width: auto; white-space: normal; }
  .zsp[data-layout="narrow"] .zsp-img > .zsp-framing { margin-bottom: 14px; }
  .zsp[data-layout="narrow"] .zsp-head { margin-bottom: 14px; }
  .zsp[data-layout="narrow"] .zsp-imghead { margin-bottom: 8px; }
  .zsp[data-layout="narrow"] .zsp-rail { justify-self: stretch; margin-top: 12px; }
  .zsp[data-layout="narrow"] .zsp-rule { display: none; }
  .zsp[data-layout="narrow"] .zsp-ax { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--zsl-line); }
  .zsp[data-layout="narrow"] .zsp-ctl { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--zsl-line); align-items: stretch; gap: 16px; }
  .zsp[data-layout="narrow"] .zsp-framing { width: auto; }
  .zsp[data-layout="narrow"] .zsp-dia { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--zsl-line); }
  .zsp-headrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; min-width: 0; }
  .zsp-headrow .zsl-title { flex: 0 1 auto; min-width: 0; }
  .zsp-xchip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
  .zsp-xchip[hidden], .zsp-cap[hidden], .zsp-story[hidden], .zsp-x3d[hidden] { display: none !important; }
  .zsp-xchip-lbl { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--zsl-ink); white-space: nowrap; }
  .zsp-xchip-lbl svg { width: 26px; height: 18px; flex: 0 0 auto; }
  .zsp-xchip-lbl .ic-slide { fill: var(--zsl-accent-soft); stroke: var(--zsl-muted); stroke-width: 1.1; stroke-linejoin: round; }
  .zsp-xchip-lbl .ic-x { fill: none; stroke: var(--zsl-accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .zsp-xseg { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--zsl-line); border-radius: 19px; background: var(--zsl-btn); }
  .zsp-xseg button {
    appearance: none; -webkit-appearance: none; height: 30px; min-width: 62px; padding: 0 13px; border: 0; border-radius: 15px; background: transparent;
    cursor: pointer; font-size: 13px; font-weight: 700; color: var(--zsl-muted); white-space: nowrap; touch-action: manipulation;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  }
  .zsp-xseg button:hover { background: var(--zsl-hover); }
  .zsp-xseg button[aria-pressed="true"] { background: var(--zsl-accent-soft); color: var(--zsl-ink); box-shadow: inset 0 0 0 1px var(--zsl-accent); }
  .zsp .zsp-cap { grid-area: cap; margin: 6px 0 0; min-width: 0; font: 400 13px/1.45 var(--zsl-font); color: var(--zsl-muted); text-align: center; }
  .zsp-cap b { font-weight: 700; color: var(--zsl-ink); }
  .zsp-cap b.x { color: var(--zsl-accent); }
  .zsp-cap .sep { margin: 0 3px; opacity: .7; }
  .zsp-cap .seg { white-space: nowrap; }
  .zsp-story { grid-area: story; min-width: 0; margin-top: 18px; }
  .zsp[data-layout="column"] .zsp-story { margin-top: 16px; }
  .zsp[data-layout="narrow"] .zsp-story { margin-top: 14px; }
  .zsp[data-layout="narrow"] .zsp-dia .zsp-xchip { display: flex; justify-content: space-between; margin-bottom: 10px; }
  .zsp[data-layout="narrow"] .zsp-x3d { min-width: 0; margin: 0 0 6px; }
  .zsp[data-layout="narrow"] .zsp-cap { font-size: 12.5px; margin-top: 4px; }
  .zsp[data-layout="narrow"] .zsp-cap .sep { display: none; }
  .zsp[data-layout="narrow"] .zsp-cap .seg { display: block; }
