/* Detail pages only. The approved homepage and shared artwork stay unchanged. */
.detail-diagram {
  margin: 32px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #20292755, #11161700), #161d1e;
}
.diagram-eyebrow {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 22px 26px;
  font: 9px/1.7 var(--mono);
  letter-spacing: .08em;
  color: var(--accent);
}
.diagram-eyebrow span:last-child { color: #adb9b0; }
.detail-diagram figcaption {
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
  color: #b4bdb6;
}
.detail-diagram strong { font-weight: 550; }
.detail-diagram small { display: block; color: #b4c0b8; font-size: 11px; line-height: 1.7; }
.detail-icon { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.detail-kicker { display: block; font: 9px/1.7 var(--mono); letter-spacing: .1em; color: var(--accent); margin-bottom: 6px; }
.detail-outcome { border-left: 2px solid var(--accent); padding-left: 25px; }
.detail-status { display: inline-block; margin-bottom: 13px; color: var(--accent); font: 10px/1.7 var(--mono); letter-spacing: .08em; }
.detail-next { margin-top: 24px; }

/* Cloud: two access modes above two different runtimes on a common host. */
.cloud-access { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin: 12px 26px 0; }
.cloud-access > div { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cloud-access strong { font-size: 16px; }
.cloud-access .detail-icon { width: 25px; height: 28px; margin-bottom: 8px; }
.access-symbol { color: var(--accent); font-size: 28px; line-height: 28px; margin-bottom: 8px; }
.cloud-web-entry { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 20px 12% 24px; }
.cloud-web-entry > span:not(.entry-wire) { padding: 8px 16px; border: 1px solid #6b665645; border-radius: 30px; font-size: 10px; color: #c6cbc0; white-space: nowrap; }
.cloud-web-entry strong { margin-left: 10px; color: var(--accent); }
.entry-wire { flex: 1; height: 18px; border-top: 1px solid #8d927255; border-left: 1px solid #8d927255; }
.entry-wire:last-child { transform: scaleX(-1); }
.cloud-host { display: grid; grid-template-columns: .9fr 1.2fr; margin: 0 26px 24px; border: 1px solid #576256; border-radius: 8px; background-image: radial-gradient(#80927d21 .7px, transparent .7px); background-size: 16px 16px; }
.cloud-runtime, .cloud-apps { padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.cloud-apps { border-left: 1px solid #455046; }
.cloud-runtime strong, .cloud-apps strong { display: block; font-size: 16px; margin-bottom: 6px; }
.cloud-apps ul { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; margin: 15px 0 0; font-size: 11px; }
.cloud-apps li small { font-size: 9px; color: #9cab9f; }
.cloud-foundation { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 12px 24px; background: #283127; border-top: 1px solid #455046; font-size: 12px; }
.cloud-foundation .detail-icon { width: 22px; height: 26px; }
.cloud-foundation > span { margin-left: auto; font-size: 10px; color: #b0bba9; }

/* Triage: a miniature, non-interactive comparison with a separate trash gate. */
.triage-group { display: flex; align-items: center; gap: 22px; margin: 4px 26px 24px; }
.mini-film { width: 107px; height: 54px; position: relative; flex-shrink: 0; }
.mini-film svg { position: absolute; width: 67px; height: 44px; border: 3px solid #33454a; border-radius: 3px; transform: rotate(-8deg); }
.mini-film svg:nth-child(2) { left: 17px; top: 5px; transform: rotate(0); }
.mini-film svg:nth-child(3) { left: 37px; top: 10px; transform: rotate(8deg); }
.triage-group strong { font-size: 14px; }
.compare-mark { margin-left: auto; color: var(--accent); font-size: 23px; }
.triage-comparison { display: grid; grid-template-columns: 1fr 22px 1fr; align-items: center; gap: 10px; padding: 0 26px 26px; }
.triage-example { border: 1px solid #557377; border-radius: 6px; overflow: hidden; background: #1e2a2c; }
.triage-example.candidate { border-color: #796850; }
.example-photo { position: relative; overflow: hidden; aspect-ratio: 300 / 165; }
.example-photo .detail-landscape { width: 100%; height: 100%; }
.candidate .detail-landscape { transform: scale(1.08); transform-origin: right bottom; }
.example-photo > span { position: absolute; top: 9px; left: 10px; padding: 1px 7px; border-radius: 3px; background: #1a2826df; color: #eee; font: 10px/1.8 var(--mono); }
.example-decision { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; padding: 12px 14px; }
.example-decision strong { color: #b8d2ba; font-size: 12px; }
.candidate .example-decision strong { color: #e0c9a7; }
.example-decision small { font-size: 9px; }
.comparison-divider { color: var(--accent); font-size: 20px; }
.triage-confirmation { display: flex; align-items: center; gap: 17px; padding: 21px 26px; border-top: 1px dashed #607579; background: #22313670; }
.triage-confirmation .detail-icon { width: 26px; height: 30px; }
.triage-confirmation strong { display: block; font-size: 12px; }
.triage-confirmation small { font-size: 10px; }
.triage-confirmation > span { margin-left: auto; color: var(--accent); }
.trash-destination { flex-shrink: 0; }

/* DMX: component chain and an explicit register of undocumented parameters. */
.dmx-hardware { counter-reset: none; list-style: none; margin: 8px 26px 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
.dmx-hardware li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 10px; border-top: 1px solid #435749; }
.dmx-hardware li:not(:nth-child(3n)):after { content: "→"; position: absolute; right: -18px; top: 47%; color: #86a68b; font-size: 16px; }
.step-number { align-self: flex-start; font: 9px var(--mono); color: #a1b9a7; }
.dmx-hardware .detail-icon { width: 48px; height: 48px; margin: 12px 0 15px; }
.dmx-hardware strong { font-size: 14px; margin-bottom: 3px; }
.dmx-processor { border-radius: 6px; background: repeating-linear-gradient(90deg, #7da57e08 0 1px, transparent 1px 12px), #26382d; box-shadow: inset 0 0 0 1px #69897288; }
.dmx-processor .detail-icon { filter: drop-shadow(0 0 9px #a9d8ae26); }
.dmx-register { border-top: 1px dashed #4e6a58; padding: 20px 26px; background: #1d2922; }
.register-label { font: 9px/1.7 var(--mono); letter-spacing: .07em; color: #b3c8b7; }
.dmx-register ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 11px; color: #cad4ca; }
.dmx-register li:before { content: "—"; color: #8aa793; margin-right: 7px; }

/* Git: installed service is separate from the fully dashed target workflow. */
.git-existing { display: flex; align-items: center; gap: 19px; margin: 2px 26px 25px; }
.git-existing .detail-icon { color: #b9ceac; }
.git-existing .detail-kicker { color: #b9ceac; margin-bottom: 3px; }
.git-existing strong { font-size: 19px; display: block; }
.installed-mark { margin-left: auto; font: 9px/1.7 var(--mono); color: #b9ceac; padding: 5px 10px; border: 1px solid #596c5055; border-radius: 20px; }
.git-target { border-top: 1px solid var(--line); padding: 22px 26px 28px; background: radial-gradient(ellipse at 40% 50%, #b7a3dc0c, transparent 70%); }
.git-contribution, .git-delivery { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 20px 0 0; }
.git-contribution li, .git-delivery li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.git-contribution li:not(:last-child):after, .git-delivery li:not(:last-child):after { content: ""; position: absolute; top: 7px; left: calc(50% + 10px); width: calc(100% - 20px); border-top: 1px dashed #a89abd; }
.git-node { width: 15px; height: 15px; border: 1px dashed var(--accent); border-radius: 50%; background: #292430; }
.git-contribution strong, .git-delivery strong { font-size: 11px; margin-top: 5px; }
.git-delivery small { font-size: 10px; }
.merge-track { display: flex; align-items: center; gap: 20px; margin: 17px 10% 10px; color: #b7a5ca; }
.merge-track svg { width: 40%; height: 40px; fill: none; stroke: currentColor; stroke-dasharray: 4 5; stroke-width: 1; }
.merge-track span { font-size: 10px; color: #b8b0c1; }

@media (max-width: 1100px) {
  .cloud-runtime, .cloud-apps { padding: 20px 16px; gap: 12px; }
  .cloud-host .detail-icon { width: 28px; height: 32px; }
  .cloud-runtime strong, .cloud-apps strong { font-size: 14px; }
}
@media (max-width: 640px) {
  .diagram-eyebrow { padding: 18px; font-size: 8px; }
  .detail-diagram figcaption { padding: 14px 18px; font-size: 10px; }
  .cloud-access { margin-inline: 15px; gap: 10px; }
  .cloud-access strong { font-size: 13px; }
  .cloud-access small { font-size: 9px; }
  .cloud-web-entry { margin-inline: 24px; gap: 7px; }
  .cloud-web-entry > span:not(.entry-wire) { font-size: 9px; padding-inline: 11px; }
  .cloud-web-entry strong { margin-left: 4px; }
  .cloud-host { grid-template-columns: 1fr; margin: 0 18px 18px; }
  .cloud-apps { border-left: 0; border-top: 1px solid #455046; }
  .cloud-runtime, .cloud-apps { padding: 18px; }
  .cloud-foundation { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .cloud-foundation > span { margin-left: 0; flex-basis: 100%; }
  .triage-group { margin: 0 18px 20px; gap: 12px; }
  .mini-film { width: 68px; height: 44px; }
  .mini-film svg { width: 43px; height: 30px; }
  .mini-film svg:nth-child(2) { left: 10px; }
  .mini-film svg:nth-child(3) { left: 23px; }
  .triage-group strong { font-size: 12px; }
  .triage-group small { font-size: 10px; }
  .compare-mark { display: none; }
  .triage-comparison { padding: 0 16px 20px; gap: 5px; grid-template-columns: 1fr 14px 1fr; }
  .comparison-divider { font-size: 14px; }
  .example-decision { padding: 10px; }
  .example-decision strong { font-size: 11px; }
  .example-decision small { font-size: 9px; line-height: 1.5; }
  .triage-confirmation { display: grid; grid-template-columns: 26px 1fr; padding: 18px; gap: 13px 10px; }
  .triage-confirmation > span { margin: 0; justify-self: center; transform: rotate(90deg); }
  .trash-destination { grid-column: 2; }
  .triage-confirmation strong { font-size: 11px; }
  .dmx-hardware { margin-inline: 18px; gap: 14px 20px; grid-template-columns: repeat(2, 1fr); }
  .dmx-hardware li:not(:nth-child(3n)):after { content: none; }
  .dmx-hardware li:nth-child(odd):after { content: "→"; position: absolute; top: 47%; right: -16px; color: #86a68b; font-size: 16px; }
  .dmx-hardware strong { font-size: 12px; }
  .dmx-hardware small { font-size: 10px; }
  .dmx-register { padding: 18px; }
  .dmx-register ul { display: grid; gap: 6px; }
  .git-existing { margin: 0 18px 20px; gap: 13px; flex-wrap: wrap; }
  .git-existing strong { font-size: 17px; }
  .git-existing small { font-size: 10px; }
  .installed-mark { margin-left: 53px; }
  .git-target { padding: 18px 14px 24px; }
  .git-contribution, .git-delivery { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .git-contribution li:nth-child(even):after, .git-delivery li:nth-child(even):after { content: none; }
  .git-contribution strong, .git-delivery strong { font-size: 11px; overflow-wrap: anywhere; }
  .git-delivery small { font-size: 10px; }
  .merge-track { margin-inline: 6px; gap: 10px; }
  .merge-track span { font-size: 9px; }
  .detail-outcome { padding-left: 18px; }
}
