/* A compact reading area within the established paper and Manrope system. */
#nav > a { display:inline-flex; align-items:center; min-height:44px; }
.editorial-story .top-slot { background:#0D111B; }
.editorial-story .technical { background:var(--paper); }
.editorial-story .technical > .wrap { max-width:1100px; }
.editorial-story .tech-tabs { margin-top:32px; }
.editorial-story .tech-switch:not([hidden]) {
  display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px;
  border-bottom:1px solid var(--line-strong); padding-bottom:8px;
}
.editorial-story .tech-switch button {
  appearance:none; border:0; border-radius:8px; padding:12px 8px; min-height:48px;
  color:var(--muted); background:transparent; cursor:pointer;
  font:650 15px/1.4 "Manrope",sans-serif;
}
.editorial-story .tech-switch button:hover { background:var(--card); color:var(--ink); }
.editorial-story .tech-switch button[aria-selected="true"] { color:var(--accent-ink); background:var(--accent-soft); }
.editorial-story .tech-switch button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.editorial-story main .technical .tech-panel { padding:32px 0 0; border:0; background:none; }
.editorial-story .tech-panel[hidden] { display:none; }
.editorial-story .tech-panel > details + details { margin-top:0; }
.editorial-story .control-switch[hidden] { display:none; }
.editorial-story .control-switch:not([hidden]) { display:flex; gap:8px; margin-top:20px; }
.editorial-story .control-switch button { min-height:44px; padding:8px 12px; border:0; border-radius:8px; background:var(--card); color:var(--muted); font:650 14px/1.4 "Manrope",sans-serif; cursor:pointer; }
.editorial-story .control-switch button[aria-selected="true"] { color:var(--accent-ink); background:var(--accent-soft); }
.editorial-story .control-switch button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.editorial-story .pillars > li[hidden] { display:none; }
.editorial-story .relay-env > svg.sealed-envelope { width:46px; height:32px; display:block; stroke:none; }
.editorial-story .qr-trial { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:24px; align-items:center; margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.editorial-story .qr-trial h3 { font-size:20px; line-height:1.3; }
.editorial-story .qr-trial p { font-size:15px; line-height:1.5; margin-top:10px; }
.editorial-story .qr-trial img { width:160px; height:160px; background:#fff; }
.editorial-story .qr-trial .text-link { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; }
.editorial-story .qr-trial .qr-trial-note { font-size:13px; color:var(--muted); }
.editorial-story .tech-panel { scroll-margin-top:100px; }
.editorial-story .tech-title { font:650 clamp(24px,2.6vw,32px)/1.25 "Manrope",sans-serif; letter-spacing:-.025em; max-width:26em; }
.editorial-story .tech-panel > p { margin-top:12px; font-size:17px; line-height:1.5; color:var(--muted); max-width:46ch; }
.editorial-story .tech-panel > details { margin-top:24px; }
.editorial-story .tech-panel .more { max-width:none; margin-top:24px; }
.editorial-story .tech-panel .relay { margin-top:32px; }
.editorial-story .tech-panel .relay-steps { padding-top:16px; margin-top:8px; border:0; }
.editorial-story .tech-panel .own { margin-top:24px; padding-top:24px; gap:24px; }
.editorial-story .tech-panel .own-title { font-size:20px; }
.editorial-story .tech-panel .env-lock {
  width:18px; height:18px; top:50%; left:50%; right:auto; bottom:auto;
  transform:translate(-50%,-50%); border-radius:5px; padding:2px;
}
.editorial-story .tech-panel .env-lock svg { width:13px; height:13px; }
.editorial-story .tech-panel .pillars { margin-top:28px; gap:32px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.editorial-story .tech-panel .pillars details { margin-top:auto; }
.editorial-story .tech-panel .pillars > li > p { min-height:3em; margin-bottom:20px; }
.editorial-story .tech-panel .pillar-vis { border-radius:12px; }
.editorial-story .tech-diagram {
  position:relative; height:360px; margin-top:28px; max-width:760px;
  background:var(--card); border-radius:12px; margin-inline:auto;
}
.editorial-story .exchange-lines { position:absolute; inset:0; width:100%; height:100%; }
.editorial-story .exchange-lines path { fill:none; stroke:var(--line-strong); stroke-width:2; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-linejoin:round; }
.editorial-story .exchange-lines .private-path { stroke:var(--accent); stroke-dasharray:5 6; }
.editorial-story .file-store {
  position:absolute; left:50%; top:calc(22.5% - 28px); transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px;
  background:var(--card); padding-inline:12px;
}
.editorial-story .file-store > svg { width:56px; height:56px; fill:none; stroke:var(--accent-ink); stroke-width:2; stroke-linecap:round; }
.editorial-story .file-store b { font-size:17px; }
.editorial-story .file-store small { font-size:13px; color:var(--muted); }
.editorial-story :is(.file-end,.node-end) {
  position:absolute; width:100px; display:flex; flex-direction:column; align-items:center;
  gap:8px; text-align:center; transform:translateX(-50%); font-size:14px;
}
.editorial-story :is(.file-end,.node-end) .ava { --s:48px; }
.editorial-story .file-end { top:calc(71.5% - 24px); }
.editorial-story :is(.file-sender,.node-sender) { left:16%; }
.editorial-story :is(.file-receiver,.node-receiver) { left:84%; }
.editorial-story .file-secret {
  position:absolute; left:50%; top:71.5%; transform:translate(-50%,-50%);
  display:grid; justify-items:center; gap:4px; padding:8px 12px;
  background:var(--accent-soft); color:var(--accent-ink); border-radius:8px;
}
.editorial-story .file-secret svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.editorial-story .file-secret b { font-size:14px; }
.editorial-story .file-secret small { font-size:12px; }
.editorial-story .tech-steps { list-style:none; padding:0; margin-top:24px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.editorial-story .tech-steps li { display:flex; flex-direction:column; gap:8px; }
.editorial-story .tech-steps b { font-size:16px; }
.editorial-story .tech-steps span { font-size:15px; color:var(--muted); line-height:1.5; }
.editorial-story .node-end { top:calc(50% - 24px); }
.editorial-story .network-node {
  position:absolute; left:50%; transform:translate(-50%,-50%); width:144px;
  display:grid; gap:4px; text-align:center; padding:12px;
  border:1px solid var(--accent); border-radius:8px;
  color:var(--accent-ink); background:var(--accent-soft);
}
.editorial-story .network-node b { font-size:15px; }
.editorial-story .network-node small { font-size:13px; }
.editorial-story .node-first { top:17.5%; background:var(--card); border-style:dashed; border-color:var(--line-strong); color:var(--muted); }
.editorial-story .node-second { top:50%; }
.editorial-story .node-third { top:82.5%; }
.editorial-story .exchange-lines .unavailable-path { stroke-dasharray:5 6; }
.editorial-story #delivery .acks { margin-top:28px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.editorial-story #delivery .acks li { min-width:0; padding:20px; }
.editorial-story #delivery > p { font-size:15px; max-width:65ch; }
.editorial-story .protocol-facts { padding:0; list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:0 32px; margin-top:20px; }
.editorial-story .protocol-facts .feat-more { padding-block:20px; }
.editorial-story .protocol-facts h3 { font-size:18px; }
@media(max-width:700px) {
  .editorial-story .technical { padding-block:72px; }
  .editorial-story .tech-switch:not([hidden]) { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
  .editorial-story .tech-switch button { font-size:14px; padding-inline:4px; }
  .editorial-story main .technical .tech-panel { padding-top:24px; }
  .editorial-story .tech-panel > p { font-size:16px; }
  .editorial-story .tech-panel .pillars { margin-top:24px; gap:24px; grid-template-columns:minmax(0,1fr); }
  .editorial-story .tech-panel .pillars > li > p { min-height:0; margin-bottom:16px; }
  .editorial-story .tech-panel .own { grid-template-columns:1fr; }
  .editorial-story .tech-panel .relay-end {
    display:grid; grid-template-columns:48px minmax(0,1fr); padding:14px 16px;
    gap:4px 16px; text-align:left;
  }
  .editorial-story .tech-panel .relay-end .ava { --s:48px; grid-row:1/span 3; margin:0; }
  .editorial-story .tech-panel .relay-tag { grid-column:2; margin-top:4px; width:max-content; max-width:100%; }
  .editorial-story .tech-panel .relay-wire { height:180px; }
  .editorial-story .tech-panel .relay { margin-inline:0; }
  .editorial-story .tech-diagram { height:286px; margin-top:20px; }
  .editorial-story :is(.file-end,.node-end) { width:76px; font-size:13px; }
  .editorial-story .file-store { padding-inline:4px; }
  .editorial-story .file-store b { font-size:15px; }
  .editorial-story .file-store small { font-size:12px; }
  .editorial-story .file-secret { padding:8px; gap:4px; max-width:116px; }
  .editorial-story .file-secret b { font-size:12px; }
  .editorial-story .file-secret small { font-size:12px; }
  .editorial-story .tech-steps { grid-template-columns:1fr; gap:16px; }
  .editorial-story .tech-steps li { gap:4px; }
  .editorial-story .network-node { width:108px; padding:10px 6px; }
  .editorial-story .network-node small { font-size:12px; }
  .editorial-story .network-node b { font-size:14px; }
  .editorial-story #delivery .acks { grid-template-columns:1fr; gap:12px; }
  .editorial-story #delivery .acks li { padding:14px 16px; }
  .editorial-story .protocol-facts { grid-template-columns:1fr; }
  .editorial-story .protocol-facts .feat-more { padding-block:12px; gap:4px 12px; }
  .editorial-story .protocol-facts h3 { font-size:16px; }
  .editorial-story .control-choice[data-mobile="true"] .pillars h3 { display:none; }
  .editorial-story .control-choice[data-mobile="true"] .pillars { margin-top:20px; }
  .editorial-story .qr-trial { grid-template-columns:minmax(0,1fr); gap:16px; }
  .editorial-story .qr-trial img { width:192px; height:192px; justify-self:center; }
}
@media (forced-colors:active) {
  .editorial-story .exchange-lines path { stroke:CanvasText; }
  .editorial-story .tech-switch button[aria-selected="true"] { border:2px solid Highlight; }
}

/* Copy feedback is outside the terminal's layout and clipping perimeter. */
.editorial-story .hero .copy-status {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.editorial-story .hero .connect-copy .copy-confirm { display:none; }
.editorial-story .hero .connect-copy[data-copied="true"] > svg:not(.copy-confirm) { display:none; }
.editorial-story .hero .connect-copy[data-copied="true"] .copy-confirm { display:block; color:#9FE0B5; }
.editorial-story .copy-feedback {
  position:fixed; z-index:100; width:min(280px,calc(100vw - 32px));
  padding:12px 14px; border-radius:8px; background:#24334D; color:#F2F5FC;
  box-shadow:0 8px 24px rgba(0,0,0,.32); font:500 13px/1.5 "Manrope",sans-serif;
}
.editorial-story .copy-feedback[hidden] { display:none; }
.editorial-story .copy-feedback textarea {
  display:block; width:100%; min-height:76px; resize:none; margin-top:10px;
  padding:10px; border:1px solid #5B6D8F; border-radius:6px;
  background:#0E1421; color:#F2F5FC; font:12px/1.5 var(--mono);
}
.editorial-story .copy-feedback textarea[hidden] { display:none; }
@media (forced-colors:active) {
  .editorial-story .copy-feedback { border:1px solid CanvasText; }
  .editorial-story .hero .connect-copy[data-copied="true"] .copy-confirm { color:ButtonText; }
}
