
/* SERPIFAI A65 Completed Example V1.0.0 - route scoped only */
.a65-completed-example-v1-0-2 .a65-answer-first { margin-top: 0; }
.a65-completed-example-v1-0-2 .a65-lineage-explorer,
.a65-completed-example-v1-0-2 .a65-memo-card {
  border: 1px solid rgba(95,201,255,.34);
  background: linear-gradient(180deg,rgba(10,35,53,.96),rgba(5,22,35,.96));
  border-radius: 18px;
  padding: clamp(1rem,2.4vw,1.5rem);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}
.a65-completed-example-v1-0-2 .a65-tool-head {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(14rem,.65fr); gap:1rem; align-items:start;
}
.a65-completed-example-v1-0-2 .a65-tool-head h3 { margin:.1rem 0 .3rem; }
.a65-completed-example-v1-0-2 .a65-tool-buttons {
  display:flex; flex-wrap:wrap; gap:.65rem; margin:1rem 0;
}
.a65-completed-example-v1-0-2 .a65-tool-buttons button {
  appearance:none; border:1px solid rgba(112,211,255,.48); color:#eef9ff;
  background:#0a263a; border-radius:999px; padding:.68rem .9rem; font:inherit; font-weight:700; cursor:pointer;
}
.a65-completed-example-v1-0-2 .a65-tool-buttons button[aria-pressed="true"] {
  background:#113f5c; border-color:#8ee1ff; box-shadow:0 0 0 2px rgba(142,225,255,.12);
}
.a65-completed-example-v1-0-2 .a65-tool-buttons button:focus-visible,
.a65-completed-example-v1-0-2 .a65-download-card:focus-visible {
  outline:3px solid #9fe6ff; outline-offset:3px;
}
.a65-completed-example-v1-0-2 .a65-tool-result {
  border-top:1px solid rgba(255,255,255,.12); padding-top:1rem; min-height:12rem;
}
.a65-completed-example-v1-0-2 .a65-lineage-chain {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem; margin:.8rem 0 1rem;
}
.a65-completed-example-v1-0-2 .a65-lineage-node {
  min-width:0; border:1px solid rgba(255,255,255,.12); background:#071d2d; border-radius:12px; padding:.75rem;
}
.a65-completed-example-v1-0-2 .a65-lineage-node small { display:block; color:#9fc7dc; margin-bottom:.2rem; }
.a65-completed-example-v1-0-2 .a65-lineage-node strong { display:block; color:#fff; overflow-wrap:anywhere; }
.a65-completed-example-v1-0-2 .a65-lineage-meta {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem;
}
.a65-completed-example-v1-0-2 .a65-lineage-meta > div {
  background:rgba(255,255,255,.045); border-radius:12px; padding:.8rem;
}
.a65-completed-example-v1-0-2 .a65-lineage-meta b { display:block; color:#9fe6ff; margin-bottom:.2rem; }
.a65-completed-example-v1-0-2 .a65-memo-card dl {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:1rem 0 0;
}
.a65-completed-example-v1-0-2 .a65-memo-card dl > div {
  background:rgba(255,255,255,.045); border-radius:10px; padding:.75rem;
}
.a65-completed-example-v1-0-2 .a65-memo-card dt { color:#9fc7dc; font-size:.82rem; }
.a65-completed-example-v1-0-2 .a65-memo-card dd { margin:.2rem 0 0; font-weight:700; color:#fff; }
.a65-completed-example-v1-0-2 .a65-reopen-sequence { padding-left:1.35rem; }
.a65-completed-example-v1-0-2 .a65-reopen-sequence li { margin:.65rem 0; padding-left:.25rem; }
.a65-completed-example-v1-0-2 .a65-download-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1rem 0;
}
.a65-completed-example-v1-0-2 .a65-download-card {
  display:block; text-decoration:none; border:1px solid rgba(96,206,255,.36); background:#0b2638;
  border-radius:16px; padding:1rem 1.1rem; color:#fff;
}
.a65-completed-example-v1-0-2 .a65-download-card span,
.a65-completed-example-v1-0-2 .a65-download-card small { display:block; color:#a9c8d8; }
.a65-completed-example-v1-0-2 .a65-download-card strong { display:block; margin:.25rem 0; font-size:1.05rem; }
@media (max-width:900px) {
  .a65-completed-example-v1-0-2 .a65-lineage-chain { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .a65-completed-example-v1-0-2 .a65-lineage-meta { grid-template-columns:1fr; }
}
@media (max-width:720px) {
  .a65-completed-example-v1-0-2 .a65-tool-head,
  .a65-completed-example-v1-0-2 .a65-download-grid,
  .a65-completed-example-v1-0-2 .a65-memo-card dl { grid-template-columns:1fr; }
  .a65-completed-example-v1-0-2 .a65-lineage-chain { grid-template-columns:1fr; }
  .a65-completed-example-v1-0-2 .a65-tool-buttons button { width:100%; text-align:left; }
}
@media (prefers-reduced-motion:reduce) {
  .a65-completed-example-v1-0-2 * { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

.a65-completed-example-v1-0-2 .a65-search-contrast,
.a65-completed-example-v1-0-2 .a65-bridge-card {
  border:1px solid rgba(123,212,255,.28);
  background:rgba(10,38,58,.62);
  border-radius:16px;
  padding:clamp(.95rem,2vw,1.25rem);
}
.a65-completed-example-v1-0-2 .a65-search-contrast { margin:1rem 0; }
.a65-completed-example-v1-0-2 .a65-bridge-card { margin:1.25rem 0 .25rem; }
.a65-completed-example-v1-0-2 .a65-bridge-card h3 { margin:.25rem 0 .7rem; }

.a65-completed-example-v1-0-2 .a65-version-rule {
  margin:1.1rem 0 0;
  border-left:3px solid rgba(159,230,255,.8);
  background:rgba(10,38,58,.54);
  padding:.9rem 1rem;
  border-radius:0 12px 12px 0;
}
.a65-completed-example-v1-0-2 .a65-version-drift,
.a65-completed-example-v1-0-2 .a65-version-reopen-note {
  border:1px solid rgba(159,230,255,.22);
  background:rgba(255,255,255,.035);
  border-radius:12px;
  padding:.8rem .95rem;
}

/* SERPIFAI final article CTA contrast parity v1.0.0.
   Scoped to the final Decision Scope Review card on this route only. */
body.cae-route-completed-fictional-toolkit-example .ri-cta .ri-button.ri-button--primary[href="/decision-scope-review/#builder"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 3.1rem !important;
  padding: .82rem 1.15rem !important;
  border: 1px solid rgba(125, 227, 245, .78) !important;
  border-radius: .78rem !important;
  background: linear-gradient(110deg, #7de3f5, #9ff0d5) !important;
  color: #03111c !important;
  -webkit-text-fill-color: #03111c !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18) !important;
}
body.cae-route-completed-fictional-toolkit-example .ri-cta .ri-button.ri-button--primary[href="/decision-scope-review/#builder"]:hover {
  background: linear-gradient(110deg, #91e9f7, #b1f4de) !important;
  color: #03111c !important;
  -webkit-text-fill-color: #03111c !important;
  border-color: #a5f3fc !important;
}
body.cae-route-completed-fictional-toolkit-example .ri-cta .ri-button.ri-button--primary[href="/decision-scope-review/#builder"]:focus-visible {
  outline: 3px solid #7de3f5 !important;
  outline-offset: 4px !important;
  color: #03111c !important;
  -webkit-text-fill-color: #03111c !important;
}
@media (max-width: 720px) {
  body.cae-route-completed-fictional-toolkit-example .ri-cta .ri-button.ri-button--primary[href="/decision-scope-review/#builder"] {
    width: 100% !important;
    min-width: 0 !important;
  }
}
