:root{
  --ac-ink:#12151a;
  --ac-muted:#66707d;
  --ac-quiet:#66707d;
  --ac-line:#e4e7eb;
  --ac-line-strong:#ccd2d9;
  --ac-paper:#fff;
  --ac-soft:#f7f8fa;
  --ac-accent:#cf1638;
  --ac-accent-soft:#fcebed;
  --ac-green:#207a54;
  --ac-green-soft:#eaf5ef;
  --ac-amber:#9b6514;
  --ac-ease:cubic-bezier(.22,.78,.24,1);
}

#liveWorkspace.has-artifact-canvas{
  position:relative;
  grid-template-rows:minmax(0,1fr) auto!important;
  background:var(--ac-paper);
}

#liveWorkspace.has-artifact-canvas>#orchestratorBar,
#liveWorkspace.has-artifact-canvas>#orchestrationProof,
#liveWorkspace.has-artifact-canvas>#agentProgress,
#liveWorkspace.has-artifact-canvas>#v21AgentFocus,
#liveWorkspace.has-artifact-canvas>#stageCanvas{
  display:none!important;
}

body[data-casepath-artifact-canvas="ready"] .claim-workspace{
  display:grid!important;
  grid-template-columns:clamp(300px,23vw,356px) minmax(0,1fr)!important;
}

body[data-casepath-artifact-canvas="ready"] .work-pane{
  width:auto!important;
  min-width:0;
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane{
  position:relative!important;
  inset:auto!important;
  z-index:1!important;
  width:auto!important;
  max-height:none!important;
  overflow:hidden!important;
  border:0!important;
  border-right:1px solid var(--ac-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane.collapsed{
  width:auto!important;
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-head{
  min-height:58px;
  border-bottom:1px solid var(--ac-line);
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane.collapsed .submission-scroll{
  display:none!important;
}

body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle{
  min-height:58px!important;
  border-radius:0!important;
  padding:10px 17px!important;
}

.casepath-artifact-canvas[data-layout="source-canvas"]{
  position:relative;
  z-index:3;
  min-width:0;
  min-height:0;
  height:100%;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  background:var(--ac-paper);
  color:var(--ac-ink);
  isolation:isolate;
}

.ac-work-header{
  min-width:0;
  min-height:96px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  padding:14px clamp(24px,4.2vw,58px) 13px;
  border-bottom:1px solid var(--ac-line);
  background:#fff;
}

.ac-active-work{
  min-width:0;
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:13px;
}

.ac-cursor-mark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid var(--ac-line-strong);
  border-radius:50%;
  background:#fff;
  color:var(--ac-accent);
  font-size:10px;
  font-weight:850;
  letter-spacing:-.02em;
}

.ac-active-work p,
.ac-active-work h2,
.ac-active-work span{
  margin:0;
}

.ac-active-work p{
  color:var(--ac-accent);
  font-size:9px;
  line-height:1.35;
  font-weight:780;
}

.ac-active-work h2{
  max-width:720px;
  margin-top:3px;
  font-size:clamp(17px,2vw,24px);
  line-height:1.12;
  letter-spacing:-.035em;
}

.ac-active-work div>span{
  display:block;
  max-width:680px;
  margin-top:5px;
  color:var(--ac-muted);
  font-size:10px;
  line-height:1.4;
}

.ac-team{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
}

.ac-team li{
  display:grid;
  place-items:center;
  gap:3px;
  min-width:35px;
  color:var(--ac-quiet);
  transition:color .2s ease,opacity .2s ease;
}

.ac-team li span{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid var(--ac-line);
  border-radius:50%;
  background:#fff;
  font-size:8px;
  font-weight:830;
  transition:transform .25s var(--ac-ease),background .2s ease,border-color .2s ease;
}

.ac-team li small{
  max-width:52px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:7px;
  line-height:1.2;
}

.ac-team li[data-agent-state="active"]{
  color:var(--ac-accent);
}

.ac-team li[data-agent-state="active"] span{
  transform:translateY(-2px);
  border-color:var(--ac-accent);
  background:var(--ac-accent-soft);
  box-shadow:0 0 0 4px #fff,0 0 0 5px var(--ac-accent-soft);
}

.ac-team li[data-agent-state="complete"]{
  color:var(--ac-green);
}

.ac-team li[data-agent-state="complete"] span{
  border-color:#badaca;
  background:var(--ac-green-soft);
}

.ac-work-body{
  min-width:0;
  min-height:0;
  overflow:auto;
  display:block;
  padding:clamp(22px,3.6vh,42px) clamp(22px,3.5vw,52px) 70px;
}

.casepath-artifact-canvas[data-graph-visible="false"] .ac-work-body{
  grid-template-columns:minmax(0,1fr);
}

.casepath-artifact-canvas[data-graph-visible="false"] .ac-focal{
  width:min(900px,100%);
}

.ac-process[hidden]{
  display:none;
}

.ac-process{
  min-width:0;
  width:100%;
  min-height:clamp(570px,72vh,760px);
  position:relative;
}

.ac-process-copy{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-bottom:8px;
}

.ac-process-copy span{
  color:var(--ac-quiet);
  font-size:8px;
  line-height:1.35;
  font-weight:780;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ac-process-copy strong{
  font-size:13px;
  line-height:1.35;
}

.ac-process-build-target{
  display:inline-flex;
  position:absolute;
  z-index:7;
  left:calc(var(--spatial-x,50) * 1%);
  top:calc(var(--spatial-y,50) * 1%);
  transform:translate(-50%,-50%);
  align-items:center;
  min-height:34px;
  margin:0;
  padding:7px 12px;
  border:1px solid var(--ac-accent);
  border-radius:999px;
  background:var(--ac-accent-soft);
  color:var(--ac-accent);
  font:inherit;
  font-size:9px;
  font-weight:790;
  pointer-events:none;
}

.ac-process-build-target[hidden]{display:none}

.ac-process-status{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.ac-spatial-viewport{
  position:relative;
  width:100%;
  min-width:900px;
  height:clamp(520px,65vh,680px);
  overflow:hidden;
  isolation:isolate;
}

.ac-spatial-edges{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}

.ac-spatial-edges path{
  fill:none;
  stroke:#b8bec6;
  stroke-width:1.25;
  vector-effect:non-scaling-stroke;
}

.ac-spatial-edges path[data-spatial-path="accepted"]{stroke:#929aa4}
.ac-spatial-edges path[data-spatial-path="uncertainty"],
.ac-spatial-edges path[data-spatial-path="branch-resolution"]{stroke:#b3b9c1}
.ac-spatial-edges path[data-spatial-path="next-action"]{stroke:var(--ac-accent);stroke-dasharray:5 5}
.ac-spatial-edges path[data-spatial-path="loop"]{stroke:var(--ac-amber);stroke-dasharray:4 5}
.ac-spatial-edges path[data-spatial-path="legal-grounding"]{stroke:var(--ac-accent);stroke-dasharray:5 5}
.ac-spatial-edges path[data-spatial-path="evidence-support"]{stroke:#2567b8;stroke-dasharray:5 5}

.ac-process-track{
  position:absolute;
  z-index:2;
  inset:0;
  margin:0;
  padding:0;
  list-style:none;
}

.ac-process-track li{
  position:absolute;
  left:calc(var(--spatial-x) * 1%);
  top:calc(var(--spatial-y) * 1%);
  width:68px;
  min-height:74px;
  transform:translate(-50%,-22px);
  transition:opacity .3s ease,transform .35s var(--ac-ease);
}

.ac-process-track li:before{
  display:none;
}

.ac-process-track li[data-process-build-state="pending"]{
  display:none;
}

.ac-process-track li[data-process-build-state="pending"][data-selected="true"]{
  display:block;
  opacity:.28;
  pointer-events:none;
}

.ac-process-track li[data-process-build-state="pending"][data-selected="true"] button>span{
  border-style:dashed;
  background:#fff;
}

.ac-process-track li[data-process-build-state="building"]{
  opacity:1;
  transform:translate(-50%,-22px);
}

.ac-process-track li[data-process-build-state="building"]:after{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:38px;
  height:38px;
  transform:translateX(-50%);
  border:1px solid var(--ac-accent);
  border-radius:50%;
  animation:ac-ring 1.25s ease-out infinite;
  pointer-events:none;
}

.ac-process-track li button{
  position:relative;
  z-index:1;
  width:100%;
  min-height:74px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-muted);
  text-align:center;
  font:inherit;
  cursor:pointer;
}

.ac-process-track li button:disabled{
  cursor:default;
}

.ac-process-track li button>span{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border:1px solid var(--ac-line-strong);
  border-radius:50%;
  background:#fff;
  font-size:11px;
  font-weight:790;
}

.ac-process-track li button small{
  width:100%;
  overflow:visible;
  white-space:normal;
  font-size:12px;
  line-height:1.22;
  font-weight:700;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

.ac-process-track li[data-node-state="blocked"]{width:50px}

.ac-process-track li[data-spatial-role="hub"]{
  width:132px;
  transform:translate(-50%,-61px);
}

.ac-process-track li[data-spatial-role="hub"] button{min-height:128px;justify-content:center}
.ac-process-track li[data-spatial-role="hub"] button>span{width:112px;height:112px;position:absolute;border-width:2px;border-color:var(--ac-accent);background:#fff;color:transparent;box-shadow:none}
.ac-process-track li[data-spatial-role="hub"] button small{position:relative;z-index:1;width:96px;color:var(--ac-ink);font-size:15px;line-height:1.16}

.ac-process-track li[data-node-state="complete"] button>span{
  border-color:#a8d0bc;
  background:var(--ac-green-soft);
  color:var(--ac-green);
}

.ac-process-track li[data-node-state="blocked"] button{
  color:#9aa1aa;
}

.ac-process-track li[data-selected="true"] button{
  color:var(--ac-ink);
}

.ac-process-track li[data-selected="true"] button>span{
  border-color:var(--ac-accent);
  background:var(--ac-accent);
  color:#fff;
  box-shadow:0 0 0 4px var(--ac-accent-soft);
}

.ac-process-track li[data-spatial-role="hub"][data-selected="true"] button>span{
  border-color:var(--ac-accent);
  background:#fff;
  color:transparent;
  box-shadow:0 0 0 6px var(--ac-accent-soft);
}

.ac-spatial-satellites{
  position:absolute;
  z-index:3;
  inset:0;
  pointer-events:none;
}

.ac-spatial-satellites button{pointer-events:auto}

.ac-spatial-branch,
.ac-spatial-satellite,
.ac-spatial-next{
  position:absolute;
  left:calc(var(--spatial-x) * 1%);
  top:calc(var(--spatial-y) * 1%);
  transform:translate(-50%,-50%);
  border:0;
  background:transparent;
  color:var(--ac-muted);
  font:inherit;
  text-align:left;
}

.ac-spatial-branch{
  width:126px;
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:5px;
  cursor:pointer;
}

.ac-spatial-branch>span{
  width:26px;
  height:26px;
  border:1px solid #aab1ba;
  border-radius:50%;
  background:#fff;
}

.ac-spatial-branch strong,
.ac-spatial-satellite strong,
.ac-spatial-next strong{
  font-size:12px;
  line-height:1.22;
  font-weight:700;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

.ac-spatial-branch[data-branch-state="selected"]{color:var(--ac-accent)}
.ac-spatial-branch[data-branch-state="selected"]>span{border-color:var(--ac-accent);box-shadow:inset 0 0 0 7px #fff;background:var(--ac-accent)}

.ac-spatial-law-marker,
.ac-evidence-relationship{
  position:absolute;
  z-index:4;
  left:calc(var(--spatial-x) * 1%);
  top:calc(var(--spatial-y) * 1%);
  transform:translate(-50%,-50%);
}

.ac-spatial-law-marker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:4px 8px;
  border:1px solid #edc1c9;
  border-radius:999px;
  background:#fff;
  color:var(--ac-accent);
  font:inherit;
  cursor:pointer;
}

.ac-spatial-law-marker span{font-size:13px;line-height:1}
.ac-spatial-law-marker strong{font-size:11px;line-height:1;font-weight:760}

.ac-evidence-relationship{
  width:320px;
  padding:13px 15px 12px;
  border:1px solid var(--ac-line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 9px 30px rgba(18,21,26,.05);
}

.ac-evidence-relationship>small{
  display:block;
  margin-bottom:7px;
  color:var(--ac-accent);
  font-size:9px;
  line-height:1.2;
  font-weight:780;
}

.ac-evidence-need{
  width:100%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-ink);
  text-align:left;
  font:inherit;
  cursor:pointer;
}

.ac-evidence-need span{color:var(--ac-muted);font-size:10px}
.ac-evidence-need strong{font-size:12px;line-height:1.25}
.ac-evidence-need b{color:var(--ac-accent);font-size:16px}

.ac-evidence-relationship>div{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid var(--ac-line);
}

.ac-evidence-relationship>div>span{color:var(--ac-quiet);font-size:9px}
.ac-evidence-chip{
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-muted);
  font:700 9px/1.3 inherit;
  cursor:pointer;
}

.ac-spatial-satellite{
  box-sizing:border-box;
  width:104px;
  min-height:82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:10px 9px;
  border:1px solid currentColor;
  border-radius:50%;
  background:#fff;
  text-align:center;
  cursor:pointer;
}

.ac-spatial-satellite>span{font-size:19px;line-height:1}
.ac-spatial-satellite small{font-size:9px;line-height:1.25;color:var(--ac-quiet)}
.ac-spatial-law{color:var(--ac-accent)}
.ac-spatial-law strong{color:var(--ac-ink)}
.ac-spatial-evidence{color:#2567b8}
.ac-spatial-evidence strong{color:var(--ac-ink)}

.ac-spatial-next{
  width:124px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:0;
  cursor:pointer;
}

.ac-spatial-next>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1.5px solid var(--ac-accent);
  border-radius:50%;
  background:#fff;
  color:var(--ac-accent);
  font-size:24px;
}

.ac-spatial-next strong{color:var(--ac-ink)}

.ac-spatial-detail{
  position:absolute;
  z-index:4;
  left:2%;
  bottom:1%;
  width:min(320px,30%);
  pointer-events:none;
}

.ac-process[data-process-construction-state="building"] .ac-spatial-detail{
  bottom:48px;
}

.ac-spatial-detail .ac-grounding-toggle,
.ac-spatial-detail .ac-grounding-disclosure button{pointer-events:auto}

.ac-spatial-node-detail{
  padding-left:13px;
  border-left:2px solid var(--ac-accent);
}

.ac-spatial-node-detail span{display:block;color:var(--ac-accent);font-size:9px;font-weight:780}
.ac-spatial-node-detail strong{display:block;margin-top:5px;font-size:14px;line-height:1.25}
.ac-spatial-node-detail p{display:none}

.ac-grounding-disclosure{margin-top:10px}
.ac-grounding-disclosure>.ac-grounding-toggle{
  width:max-content;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.3;
  font-weight:720;
  cursor:pointer;
  list-style:none;
}
.ac-grounding-disclosure>.ac-grounding-toggle:after{content:' →';color:var(--ac-accent)}
.ac-grounding-disclosure[data-grounding-open="true"]>.ac-grounding-toggle:after{content:' ↓'}
.ac-grounding-disclosure>div{
  display:grid;
  gap:6px;
  margin-top:8px;
  padding:8px;
  border:1px solid var(--ac-line);
  background:#fff;
}
.ac-grounding-disclosure>div[hidden]{display:none}
.ac-grounding-disclosure button{
  display:block;
  width:100%;
  padding:7px 8px;
  border:0;
  border-bottom:1px solid var(--ac-line);
  background:transparent;
  color:var(--ac-ink);
  text-align:left;
  font:inherit;
  cursor:pointer;
}
.ac-grounding-disclosure button:last-child{border-bottom:0}
.ac-grounding-disclosure button span,
.ac-grounding-disclosure button strong{display:block}
.ac-grounding-disclosure button span{color:var(--ac-accent);font-size:8px;font-weight:750}
.ac-grounding-disclosure button strong{
  margin-top:3px;
  max-height:2.8em;
  overflow:hidden;
  color:var(--ac-ink);
  font-size:10px;
  line-height:1.4;
  font-weight:560;
}

.ac-law-viewer{
  width:min(680px,calc(100vw - 48px));
  padding:0;
  border:1px solid var(--ac-line);
  border-radius:12px;
  background:#fff;
  color:var(--ac-ink);
  box-shadow:0 24px 70px rgba(15,23,42,.14);
}
.ac-law-viewer::backdrop{background:rgba(15,23,42,.18);backdrop-filter:blur(2px)}
.ac-law-viewer>header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--ac-line)}
.ac-law-viewer>header span{color:var(--ac-accent);font-size:10px;font-weight:760}
.ac-law-viewer>header button{width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--ac-muted);font:500 22px/1 var(--ac-font);cursor:pointer}
.ac-law-viewer>article{padding:28px 30px 32px}
.ac-law-viewer h3{margin:0;font-size:clamp(23px,3vw,34px);line-height:1.08}
.ac-law-viewer p,.ac-law-viewer small{display:block;margin:8px 0 0;color:var(--ac-muted);font-size:11px}
.ac-law-viewer blockquote{margin:24px 0;padding:0 0 0 18px;border-left:2px solid var(--ac-accent);font-size:16px;line-height:1.65}
.ac-law-viewer a{display:inline-flex;color:var(--ac-accent);font-size:11px;font-weight:740;text-decoration:none}

.ac-build-inspection{
  width:100%;
  display:block;
  padding:12px 14px;
  border:1px solid var(--ac-line);
  border-left:2px solid var(--ac-accent);
  border-radius:0 9px 9px 0;
  background:#fff;
  color:var(--ac-ink);
  text-align:left;
  font:inherit;
  box-shadow:0 8px 26px rgba(18,21,26,.045);
  cursor:pointer;
}

.ac-build-inspection small,
.ac-build-inspection strong,
.ac-build-inspection span{display:block}
.ac-build-inspection small{color:var(--ac-accent);font-size:9px;line-height:1.3;font-weight:760}
.ac-build-inspection strong{margin-top:6px;font-family:Georgia,"Times New Roman",serif;font-size:13px;line-height:1.42;font-weight:500}
.ac-build-inspection span{margin-top:7px;color:var(--ac-muted);font-size:9px;line-height:1.35}

.casepath-artifact-canvas[data-graph-visible="true"] .ac-focal{
  display:none;
}

.ac-process-track li[data-review-change="added"] button{
  color:var(--ac-accent);
}

.ac-process-track li[data-review-change="added"] button>span{
  border-color:var(--ac-accent);
  background:var(--ac-accent-soft);
  color:var(--ac-accent);
}

.ac-focal{
  min-width:0;
  width:min(760px,100%);
  align-self:start;
  justify-self:start;
}

.ac-stage-focus,
.ac-decision-focus{
  min-width:0;
  animation:ac-enter .38s var(--ac-ease) both;
}

.ac-stage-focus>span,
.ac-decision-focus>header>span,
.ac-chain-object>div>span{
  display:block;
  color:var(--ac-accent);
  font-size:9px;
  line-height:1.35;
  font-weight:790;
}

.ac-stage-focus h3,
.ac-decision-focus h3{
  max-width:720px;
  margin:9px 0 12px;
  font-size:clamp(32px,4.3vw,58px);
  line-height:.99;
  letter-spacing:-.055em;
  text-wrap:balance;
}

.ac-decision-focus h3{font-size:clamp(30px,3.4vw,46px);line-height:1.02}
.ac-law-focus h3{font-size:clamp(28px,3.2vw,42px);line-height:1.04}
.ac-evidence-focus h3,
.ac-reference-focus h3{font-size:clamp(27px,3vw,40px);line-height:1.06;max-width:760px}

.ac-stage-focus>p,
.ac-decision-focus>header>p{
  max-width:650px;
  margin:0;
  color:var(--ac-muted);
  font-size:14px;
  line-height:1.6;
}

.ac-stage-focus>strong,
.ac-review-focus>strong{
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:22px;
  padding:9px 12px;
  border-left:2px solid var(--ac-accent);
  background:var(--ac-soft);
  font-size:11px;
  line-height:1.4;
}

.ac-review-decision{
  max-width:620px;
  margin-top:24px;
  padding:18px 20px;
  border-left:3px solid var(--ac-accent);
  background:var(--ac-soft);
}

.ac-review-decision small,.ac-review-decision strong{display:block}
.ac-review-decision small{color:var(--ac-accent);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.ac-review-decision strong{margin-top:7px;font-size:16px;line-height:1.35}
.ac-review-decision p{margin:8px 0 0;color:var(--ac-muted);font-size:10px;line-height:1.5}
.ac-review-focus>button{margin-top:18px}

.ac-law-focus blockquote{
  max-width:690px;
  margin:24px 0 14px;
  padding:0 0 0 22px;
  border-left:2px solid var(--ac-accent);
  color:#252a31;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(17px,2vw,23px);
  line-height:1.55;
}

.ac-browser-bar{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  padding:9px 12px;
  border:1px solid var(--ac-line);
  border-radius:9px 9px 0 0;
  background:var(--ac-soft);
}

.ac-browser-bar i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ac-accent);
  box-shadow:12px 0 0 #e4aa30,24px 0 0 #43a26f;
}

.ac-browser-bar span{min-width:0;padding-left:22px}
.ac-browser-bar strong,.ac-browser-bar code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-browser-bar strong{font-size:9px}
.ac-browser-bar code{margin-top:2px;color:var(--ac-muted);font-size:7px}
.ac-browser-bar small{color:var(--ac-green);font-size:8px;font-weight:750}

.ac-law-tabs{
  display:flex;
  gap:6px;
  margin:0 0 20px;
  overflow-x:auto;
}

.ac-law-tabs button{
  min-height:30px;
  padding:0 9px;
  border:1px solid var(--ac-line);
  border-radius:999px;
  background:#fff;
  color:var(--ac-muted);
  font:700 8px/1.2 inherit;
  white-space:nowrap;
  cursor:pointer;
}

.ac-law-tabs button[aria-current="true"]{border-color:var(--ac-accent);background:var(--ac-accent-soft);color:var(--ac-accent)}
.ac-official-link{color:var(--ac-accent);font-size:9px;font-weight:760;text-decoration:none}
.ac-official-link:hover{text-decoration:underline}

.ac-stage-focus footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:24px;
  padding-top:14px;
  border-top:1px solid var(--ac-line);
}

.ac-stage-focus footer small{
  color:var(--ac-quiet);
  font-size:8px;
  line-height:1.45;
}

.ac-stage-focus button,
.ac-chain-object button,
.ac-chain-tabs button{
  font:inherit;
  cursor:pointer;
}

.ac-stage-focus footer button,
.ac-stage-focus>button,
.ac-chain-object button{
  min-height:36px;
  padding:0 12px;
  border:1px solid var(--ac-line-strong);
  border-radius:7px;
  background:#fff;
  color:var(--ac-ink);
  font-size:9px;
  font-weight:750;
}

.ac-stage-focus footer button:hover,
.ac-stage-focus>button:hover,
.ac-chain-object button:hover{
  border-color:var(--ac-accent);
  color:var(--ac-accent);
}

.ac-selected-branch{
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:18px;
  padding:7px 10px;
  border-left:2px solid var(--ac-amber);
  background:#fcf8ef;
  color:#664713;
  font-size:10px;
  line-height:1.4;
}

.ac-chain-tabs{
  display:flex;
  gap:18px;
  margin-top:30px;
  border-bottom:1px solid var(--ac-line);
}

.ac-chain-tabs button{
  min-height:34px;
  padding:0 0 8px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:var(--ac-quiet);
  font-size:9px;
  font-weight:720;
}

.ac-chain-tabs button[aria-current="true"]{
  border-color:var(--ac-accent);
  color:var(--ac-ink);
}

.ac-chain-detail{
  padding-top:19px;
}

.ac-chain-object{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);
  gap:clamp(20px,3vw,38px);
  animation:ac-enter .28s var(--ac-ease) both;
}

.ac-chain-object>div>strong{
  display:block;
  margin-top:5px;
  font-size:17px;
  line-height:1.28;
  letter-spacing:-.025em;
}

.ac-chain-object p{
  margin:7px 0 0;
  color:var(--ac-muted);
  font-size:10px;
  line-height:1.55;
}

.ac-chain-object aside{
  align-self:start;
  padding:16px;
  border-left:2px solid var(--ac-line-strong);
  background:var(--ac-soft);
}

.ac-chain-object aside small{
  display:block;
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.5;
}

.ac-chain-object aside blockquote{
  margin:0 0 12px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  line-height:1.55;
}

.ac-chain-object aside button{
  margin-top:13px;
}

.ac-chain-object>em{
  grid-column:1/-1;
  color:var(--ac-quiet);
  font-size:8px;
  font-style:normal;
}

.ac-evidence-object[data-evidence-status="missing"] aside{
  border-color:var(--ac-accent);
  background:var(--ac-accent-soft);
}

.ac-reference-object aside{
  border-color:#aeb7c2;
}

.ac-empty-chain{
  margin:0;
  color:var(--ac-muted);
  font-size:11px;
}

.ac-learning-outcome{
  display:grid;
  gap:5px;
  margin-top:24px;
  padding:15px 0;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
}

.ac-learning-outcome strong{
  font-size:13px;
}

.ac-learning-outcome small{
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.45;
}

.ac-memory-effects{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  margin:20px 0 0;
  padding:1px;
  background:var(--ac-line);
  list-style:none;
}

.ac-memory-effects li{
  padding:11px;
  background:#fff;
  color:var(--ac-muted);
  font-size:8px;
  line-height:1.4;
}

.ac-authority-line{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px clamp(24px,4.2vw,58px);
  border-top:1px solid var(--ac-line);
  background:#fff;
  color:var(--ac-quiet);
  font-size:8px;
  line-height:1.35;
}

.ac-agent-cursor{
  --ac-cursor-x:calc(100% - 58px);
  --ac-cursor-y:96px;
  position:fixed;
  z-index:80;
  top:0;
  left:0;
  width:38px;
  height:38px;
  transform:translate3d(var(--ac-cursor-x),var(--ac-cursor-y),0);
  transition:transform .56s var(--ac-ease);
  pointer-events:none;
  filter:drop-shadow(0 5px 9px rgba(18,21,26,.16));
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .submission-pane .is-agent-clicked{
  box-shadow:inset 3px 0 rgba(168,31,34,.7),0 0 0 3px rgba(168,31,34,.07)!important;
}

.ac-agent-cursor svg{
  position:absolute;
  inset:0;
  width:28px;
  height:28px;
  fill:#fff;
  stroke:var(--ac-accent);
  stroke-width:1.4;
  stroke-linejoin:round;
}

.ac-agent-cursor b{
  position:absolute;
  top:20px;
  left:18px;
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0 4px;
  border:2px solid #fff;
  border-radius:10px;
  background:var(--ac-accent);
  color:#fff;
  font-size:7px;
  line-height:1;
}

.ac-agent-cursor[data-agent-signature="facts"] svg{stroke:#cf1638}
.ac-agent-cursor[data-agent-signature="orchestrator"] svg{stroke:#3a4b66}
.ac-agent-cursor[data-agent-signature="sources"] svg{stroke:#166b82}
.ac-agent-cursor[data-agent-signature="process"] svg{stroke:#6947a8}
.ac-agent-cursor[data-agent-signature="evidence"] svg{stroke:#9b6514}
.ac-agent-cursor[data-agent-signature="audit"] svg{stroke:#207a54}
.ac-agent-cursor[data-agent-signature="law"] svg,
.ac-agent-cursor[data-agent-signature="reference"] svg,
.ac-agent-cursor[data-agent-signature="gate"] svg{stroke:#59616b}

.ac-agent-cursor[data-agent-signature="orchestrator"] b{background:#3a4b66}
.ac-agent-cursor[data-agent-signature="sources"] b{background:#166b82}
.ac-agent-cursor[data-agent-signature="process"] b{background:#6947a8}
.ac-agent-cursor[data-agent-signature="evidence"] b{background:#9b6514}
.ac-agent-cursor[data-agent-signature="audit"] b{background:#207a54}
.ac-agent-cursor[data-agent-signature="law"] b,
.ac-agent-cursor[data-agent-signature="reference"] b,
.ac-agent-cursor[data-agent-signature="gate"] b{background:#59616b}

.ac-agent-cursor.is-clicking{
  animation:ac-click .24s ease;
}

.casepath-artifact-canvas button:focus-visible{
  outline:2px solid var(--ac-accent);
  outline-offset:3px;
}

@keyframes ac-enter{
  from{opacity:0;transform:translateY(9px)}
  to{opacity:1;transform:none}
}

@keyframes ac-ring{
  from{opacity:.8;transform:scale(.75)}
  to{opacity:0;transform:scale(1.55)}
}

@keyframes ac-click{
  50%{transform:translate3d(var(--ac-cursor-x),var(--ac-cursor-y),0) scale(.9)}
}

@media(max-width:1050px){
  body[data-casepath-artifact-canvas="ready"] .claim-workspace{
    grid-template-columns:250px minmax(0,1fr)!important;
  }
  .ac-work-header{grid-template-columns:1fr;gap:12px}
  .ac-team{justify-content:flex-start}
  .ac-work-body{padding-left:28px;padding-right:28px}
  .ac-spatial-viewport{min-width:820px}
  .ac-chain-object{grid-template-columns:1fr}
  .ac-chain-object>em{grid-column:1}
}

@media(max-width:760px){
  body[data-casepath-artifact-canvas="ready"] .claim-workspace{
    display:block!important;
    overflow:auto!important;
  }
  body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane{
    position:relative!important;
    width:100%!important;
    max-height:34dvh!important;
    border-right:0!important;
    border-bottom:1px solid var(--ac-line)!important;
  }
  body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane.collapsed .submission-scroll{
    max-height:calc(34dvh - 58px)!important;
  }
  .casepath-artifact-canvas{height:calc(100dvh - var(--header));min-height:620px}
  .ac-work-header{padding:16px 18px 14px}
  .ac-team{width:100%;overflow-x:auto;padding:4px 3px 6px}
  .ac-work-body{display:block;padding:26px 19px 70px}
  .ac-process{position:static;min-height:540px;margin-bottom:30px;padding:0;overflow-x:auto;overflow-y:hidden}
  .ac-process-copy{margin-bottom:10px}
  .ac-spatial-viewport{min-width:900px;height:520px}
  .ac-spatial-detail{left:18px;width:300px}
  .ac-stage-focus h3,.ac-decision-focus h3{font-size:clamp(31px,10vw,45px)}
  .ac-chain-tabs{gap:14px;overflow-x:auto}
  .ac-authority-line{align-items:flex-start;flex-direction:column;gap:3px;padding:9px 18px}
  .ac-memory-effects{grid-template-columns:1fr 1fr}
}

/* Accepted 1440×900 CasePath reasoning workspace — desktop ownership layer. */
body[data-casepath-artifact-canvas="ready"] .appbar{
  height:64px;
  grid-template-columns:232px minmax(0,1fr) auto;
  gap:0;
  padding:0 20px;
  border-bottom:1px solid #e3e5e8;
  background:#fff;
  backdrop-filter:none;
}

body[data-casepath-artifact-canvas="ready"] .brand{
  min-width:0;
  font-size:18px;
  font-weight:760;
}

body[data-casepath-artifact-canvas="ready"] .brand-mark{
  width:32px;
  height:32px;
  border-radius:8px;
  background:#a81f22;
}

body[data-casepath-artifact-canvas="ready"] .claim-workspace{
  grid-template-columns:252px minmax(0,1fr)!important;
}

.ac-global-agent-work{
  display:grid;
  grid-template-columns:auto minmax(170px,1fr);
  align-items:center;
  min-width:0;
  height:64px;
  border-left:1px solid #e3e5e8;
}

.ac-global-agent-work .ac-team{
  display:flex;
  align-items:stretch;
  align-self:stretch;
  gap:0;
  margin:0;
  padding:0 14px;
  list-style:none;
}

.ac-global-agent-work .ac-team li{
  --agent-color:#747b84;
  position:relative;
  display:block;
}

.ac-global-agent-work .ac-team li[data-agent-signature="facts"]{--agent-color:#2d68b2}
.ac-global-agent-work .ac-team li[data-agent-signature="orchestrator"]{--agent-color:#16808c}
.ac-global-agent-work .ac-team li[data-agent-signature="sources"]{--agent-color:#7449a5}
.ac-global-agent-work .ac-team li[data-agent-signature="process"]{--agent-color:#8f1924}
.ac-global-agent-work .ac-team li[data-agent-signature="evidence"]{--agent-color:#c26a00}
.ac-global-agent-work .ac-team li[data-agent-signature="audit"]{--agent-color:#2c7a45}

.ac-global-agent-work .ac-team button{
  display:flex;
  align-items:center;
  gap:6px;
  height:64px;
  padding:0 12px;
  border:0;
  background:#fff;
  color:var(--ac-ink,#17181b);
  font:650 11px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}

.ac-global-agent-work .ac-team button>span{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border:1px solid color-mix(in srgb,var(--agent-color) 72%,#d9dce1);
  border-radius:50%;
  color:var(--agent-color);
  font-size:8px;
  font-weight:800;
}

.ac-global-agent-work .ac-team button>small{
  color:inherit;
  font:inherit;
  white-space:nowrap;
}

.ac-global-agent-work .ac-team li[data-agent-state="active"]:after{
  content:"";
  position:absolute;
  right:10px;
  bottom:0;
  left:10px;
  height:3px;
  background:var(--agent-color);
}

.ac-global-agent-work .ac-team li[data-agent-state="active"] button{
  color:var(--agent-color);
}

.ac-global-agent-work .ac-team button:hover,
.ac-global-agent-work .ac-team button[aria-pressed="true"]{
  background:color-mix(in srgb,var(--agent-color) 4%,#fff);
}

.ac-global-agent-work .ac-team button:focus-visible{
  outline:2px solid var(--agent-color);
  outline-offset:-3px;
}

.ac-global-task{
  min-width:0;
  padding:0 18px;
  border-left:1px solid #eceef0;
}

.ac-global-task small,
.ac-global-task strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ac-global-task small{
  color:#666d77;
  font-size:8px;
  font-weight:720;
}

.ac-global-task strong{
  margin-top:2px;
  color:#202226;
  font-size:11px;
  font-weight:650;
}

.casepath-artifact-canvas{
  position:relative;
  min-width:0;
}

.casepath-artifact-canvas .ac-work-header{
  display:none;
}

.casepath-artifact-canvas .ac-work-body{
  min-width:0;
  padding:18px 32px 46px;
  transition:padding-right .22s ease;
}

.casepath-artifact-canvas[data-agent-audit-open="true"] .ac-work-body{
  padding-right:320px;
}

.casepath-artifact-canvas .ac-process{
  min-height:0;
}

.casepath-artifact-canvas .ac-process-copy{
  margin:0 0 8px;
}

.casepath-artifact-canvas .ac-process-copy span{
  font-size:9px;
  letter-spacing:.08em;
}

.casepath-artifact-canvas .ac-process-copy strong{
  font-size:12px;
}

.casepath-artifact-canvas .ac-spatial-viewport{
  width:100%;
  min-width:0;
  height:clamp(610px,calc(100vh - 150px),690px);
}

.casepath-artifact-canvas .ac-process-track li{
  width:112px!important;
  transform:translate(-50%,-50%)!important;
}

.casepath-artifact-canvas .ac-process-track li button{
  position:relative;
  display:grid;
  place-items:center;
  width:112px;
  min-height:82px;
  padding:18px 10px 10px;
  border:1px solid #b9bec5;
  border-radius:4px;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-process-track li button>span,
.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button>span{
  position:absolute!important;
  top:-13px;
  left:50%;
  display:grid;
  place-items:center;
  width:26px!important;
  height:26px!important;
  flex-basis:26px!important;
  transform:translateX(-50%);
  border:1px solid #aeb4bc!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#626873!important;
  font-size:9px;
  font-weight:750;
  box-shadow:none!important;
}

.casepath-artifact-canvas .ac-process-track li button small,
.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button small{
  position:static;
  z-index:1;
  width:auto;
  color:#1d1f23;
  font-size:13px;
  line-height:1.25;
  font-weight:600;
  text-align:center;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"]{
  width:142px!important;
  transform:translate(-50%,-50%)!important;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button{
  width:142px;
  min-height:100px;
  border:2px solid #a81f22;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button>span{
  border-color:#a81f22!important;
  background:#a81f22!important;
  color:#fff!important;
}

.casepath-artifact-canvas .ac-process-track li[data-selected="true"] button{
  border-color:#a81f22;
  color:#a81f22;
  box-shadow:0 0 0 3px rgba(168,31,34,.06);
}

.casepath-artifact-canvas .ac-process-track li[data-node-state="blocked"] button{
  opacity:.58;
  border-style:dashed;
}

.casepath-artifact-canvas .ac-process-track li[data-node-state="blocked"] button small{
  color:#656b74;
}

.casepath-artifact-canvas .ac-spatial-branch{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:start;
  gap:8px;
  width:136px;
  min-height:72px;
  padding:10px;
  transform:translate(-50%,-50%);
  border:1px dashed #b8bdc5;
  border-radius:6px;
  background:#fff;
  color:#25272b;
  text-align:left;
}

.casepath-artifact-canvas .ac-spatial-branch>span{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border:1px solid #aeb4bc;
  border-radius:50%;
  background:#fff;
  color:#59606a;
  font-size:8px;
  font-weight:760;
}

.casepath-artifact-canvas .ac-spatial-branch strong{
  color:inherit;
  font-size:11px;
  line-height:1.28;
  font-weight:600;
}

.casepath-artifact-canvas .ac-spatial-branch[data-branch-state="selected"]{
  border-color:#a81f22;
  color:#a81f22;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-path="future"]{
  opacity:.38;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-path="future"] button{
  border-style:dashed;
}

.casepath-artifact-canvas .ac-spatial-branch[data-branch-state="selected"]>span{
  border-color:#a81f22;
  background:#fff;
  color:#a81f22;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-spatial-edges path{
  stroke:#aeb4bc;
  stroke-width:1.1;
}

.casepath-artifact-canvas .ac-spatial-detail,
.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-spatial-detail{
  top:63%;
  bottom:auto;
  left:3%;
  width:72%;
  max-width:none;
  pointer-events:none;
}

.casepath-artifact-canvas .ac-spatial-detail .ac-spatial-node-detail{
  padding:0;
  border:0;
}

.casepath-artifact-canvas .ac-spatial-node-detail>span,
.casepath-artifact-canvas .ac-spatial-node-detail>strong{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.casepath-artifact-canvas .ac-grounding-disclosure{
  margin:0;
}

.casepath-artifact-canvas .ac-grounding-disclosure .ac-node-source-preview{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3px 14px;
  width:min(620px,76%);
  min-height:116px;
  padding:12px 14px;
  border:1px solid #d7dade;
  border-radius:6px;
  background:#fff;
  box-shadow:none;
  pointer-events:auto;
}

.casepath-artifact-canvas .ac-node-source-preview span{
  color:#a81f22;
  font-size:9px;
}

.casepath-artifact-canvas .ac-node-source-preview small{
  color:#4f5660;
  font-size:10px;
  font-weight:700;
}

.casepath-artifact-canvas .ac-node-source-preview p{
  max-height:2.9em;
  color:#737983;
  font-size:9px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-node-source-preview strong{
  max-height:4.7em!important;
  padding:8px 10px;
  border-left:0;
  background:linear-gradient(180deg,transparent 42%,rgba(168,31,34,.09) 42%,rgba(168,31,34,.09) 92%,transparent 92%);
  color:#202226;
  font-family:Georgia,"Times New Roman",serif;
  font-size:11px!important;
  line-height:1.5;
}

.casepath-artifact-canvas .ac-node-source-preview em{
  color:#59606a;
  font-size:9px;
}

.casepath-artifact-canvas .ac-node-source-preview-visual{
  display:grid!important;
  grid-template-columns:132px minmax(0,1fr)!important;
  align-items:center;
}

.casepath-artifact-canvas .ac-node-source-preview-visual>header{
  grid-column:1 / -1;
}

.casepath-artifact-canvas .ac-node-source-preview-visual .ac-visual-source{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:12px;
  margin:5px 0 0;
}

.casepath-artifact-canvas .ac-node-source-preview-visual .ac-visual-source-frame{
  height:76px;
}

.casepath-artifact-canvas .ac-node-source-preview-visual>button{
  grid-column:2;
  justify-self:end;
  padding:0;
  border:0;
  background:transparent;
  color:#59606a;
  font:700 9px/1.2 inherit;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-node-causal-chain{
  display:grid;
  grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr);
  align-items:stretch;
  width:100%;
  margin-top:12px;
  border:1px solid #d7dade;
  border-radius:6px;
  background:#fff;
  pointer-events:auto;
}

.casepath-artifact-canvas .ac-node-causal-chain>div{
  min-width:0;
  min-height:82px;
  padding:11px 12px;
}

.casepath-artifact-canvas .ac-node-causal-chain>div+div{
  border-left:1px solid #e3e5e8;
}

.casepath-artifact-canvas .ac-node-causal-chain>i{
  align-self:center;
  color:#a81f22;
  font-style:normal;
  text-align:center;
}

.casepath-artifact-canvas .ac-node-causal-chain small,
.casepath-artifact-canvas .ac-node-causal-chain strong{
  display:block;
}

.casepath-artifact-canvas .ac-node-causal-chain small{
  color:#a81f22;
  font-size:9px;
  font-weight:750;
}

.casepath-artifact-canvas .ac-node-causal-chain strong{
  margin-top:9px;
  color:#202226;
  font-size:10px;
  line-height:1.35;
  font-weight:650;
}

.casepath-artifact-canvas .ac-node-causal-chain button{
  margin-top:7px;
  padding:0;
  border:0;
  background:transparent;
  color:#a81f22;
  font:750 9px/1.2 inherit;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-grounding-disclosure>.ac-grounding-toggle{
  margin-top:6px;
  padding:0;
  border:0;
  background:#fff;
  color:#59606a;
  font-size:9px;
  pointer-events:auto;
}

.casepath-artifact-canvas .ac-evidence-relationship,
.casepath-artifact-canvas .ac-spatial-law-marker{
  display:none;
}

.casepath-artifact-canvas .ac-agent-audit{
  --agent-audit-color:#8f1924;
  position:absolute;
  z-index:12;
  top:0;
  right:0;
  bottom:34px;
  width:292px;
  overflow:auto;
  border-left:1px solid #e3e5e8;
  background:#fff;
  color:#202226;
}

.casepath-artifact-canvas .ac-agent-audit[data-agent-signature="facts"]{--agent-audit-color:#2d68b2}
.casepath-artifact-canvas .ac-agent-audit[data-agent-signature="orchestrator"]{--agent-audit-color:#16808c}
.casepath-artifact-canvas .ac-agent-audit[data-agent-signature="sources"]{--agent-audit-color:#7449a5}
.casepath-artifact-canvas .ac-agent-audit[data-agent-signature="process"]{--agent-audit-color:#8f1924}
.casepath-artifact-canvas .ac-agent-audit[data-agent-signature="evidence"]{--agent-audit-color:#c26a00}
.casepath-artifact-canvas .ac-agent-audit[data-agent-signature="audit"]{--agent-audit-color:#2c7a45}

.casepath-artifact-canvas .ac-agent-audit[hidden]{display:none}

.casepath-artifact-canvas .ac-agent-audit>header{
  position:sticky;
  z-index:2;
  top:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding:20px 18px 16px;
  border-bottom:1px solid #e3e5e8;
  background:#fff;
}

.casepath-artifact-canvas .ac-agent-audit>header>div{
  display:flex;
  align-items:center;
  gap:10px;
}

.casepath-artifact-canvas .ac-agent-audit>header>div>span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid var(--agent-audit-color);
  border-radius:50%;
  color:var(--agent-audit-color);
  font-size:9px;
  font-weight:800;
}

.casepath-artifact-canvas .ac-agent-audit>header small{
  display:block;
  color:var(--agent-audit-color);
  font-size:9px;
  font-weight:750;
}

.casepath-artifact-canvas .ac-agent-audit>header h2{
  margin:2px 0 0;
  font-size:16px;
  line-height:1.2;
}

.casepath-artifact-canvas .ac-agent-audit>header button{
  width:28px;
  height:28px;
  border:0;
  background:#fff;
  color:#202226;
  font:400 22px/1 inherit;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-agent-history{
  margin:0;
  padding:0 18px 12px;
  list-style:none;
}

.casepath-artifact-canvas .ac-agent-history li{
  position:relative;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:10px;
  padding:16px 0;
  border-bottom:1px solid #e7e9ec;
}

.casepath-artifact-canvas .ac-agent-history li:before{
  content:"";
  position:absolute;
  top:46px;
  bottom:-17px;
  left:14px;
  width:1px;
  background:#d7dade;
}

.casepath-artifact-canvas .ac-agent-history li:last-child:before{display:none}

.casepath-artifact-canvas .ac-agent-history li>i{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid var(--agent-audit-color);
  border-radius:50%;
  background:#fff;
  color:var(--agent-audit-color);
  font-size:9px;
  font-style:normal;
  font-weight:760;
}

.casepath-artifact-canvas .ac-agent-history small,
.casepath-artifact-canvas .ac-agent-history strong,
.casepath-artifact-canvas .ac-agent-history span{
  display:block;
}

.casepath-artifact-canvas .ac-agent-history small{
  color:#202226;
  font-size:10px;
  font-weight:750;
}

.casepath-artifact-canvas .ac-agent-history strong{
  margin-top:5px;
  color:#343840;
  font-size:10px;
  line-height:1.45;
  font-weight:650;
}

.casepath-artifact-canvas .ac-agent-history span{
  margin-top:4px;
  color:#707680;
  font-size:9px;
  line-height:1.4;
}

.casepath-artifact-canvas [data-agent-history-accepted-ids]{
  margin-top:8px;
  padding-top:7px;
  border-top:1px solid #eceef0;
  color:#656c75;
  font-size:8px;
}

.casepath-artifact-canvas [data-agent-history-accepted-ids] summary,
.casepath-artifact-canvas [data-agent-history-rejections] summary{
  color:#59606a;
  font-weight:720;
  cursor:pointer;
}

.casepath-artifact-canvas [data-agent-history-accepted-ids]>div{
  display:grid;
  gap:4px;
  max-height:112px;
  margin-top:7px;
  overflow:auto;
}

.casepath-artifact-canvas [data-agent-history-accepted-ids] code{
  color:#59606a;
  font:500 8px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;
  overflow-wrap:anywhere;
}

.casepath-artifact-canvas [data-agent-history-rejections]{
  margin:0 18px 10px;
  padding:10px 0;
  border-top:1px solid #e3e5e8;
  border-bottom:1px solid #e3e5e8;
  color:#59606a;
  font-size:9px;
}

.casepath-artifact-canvas [data-agent-history-rejections] ul{
  display:grid;
  gap:7px;
  margin:8px 0 0;
  padding:0;
  list-style:none;
}

.casepath-artifact-canvas [data-agent-history-rejections] li{
  display:grid;
  gap:2px;
}

.casepath-artifact-canvas [data-agent-history-rejections] strong,
.casepath-artifact-canvas [data-agent-history-rejections] span{
  overflow-wrap:anywhere;
}

.casepath-artifact-canvas [data-agent-history-rejections] strong{color:#343840}
.casepath-artifact-canvas [data-agent-history-rejections] span{color:#707680;font-size:8px}

.casepath-artifact-canvas [data-agent-history-receipt]{
  margin:0 18px 20px;
  padding-top:10px;
  border-top:1px solid #e3e5e8;
  color:#59606a;
  font-size:9px;
}

.casepath-artifact-canvas [data-agent-history-receipt] dl{margin:8px 0 0}
.casepath-artifact-canvas [data-agent-history-receipt] dl>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;margin-top:4px}
.casepath-artifact-canvas [data-agent-history-receipt] dt{font-weight:700}
.casepath-artifact-canvas [data-agent-history-receipt] dd{margin:0;overflow-wrap:anywhere}

.casepath-artifact-canvas .ac-agent-history-empty{
  margin:22px 18px;
  padding:16px 0;
  border-top:1px solid #e3e5e8;
  border-bottom:1px solid #e3e5e8;
}

.casepath-artifact-canvas .ac-agent-history-empty small,
.casepath-artifact-canvas .ac-agent-history-empty strong{
  display:block;
}

.casepath-artifact-canvas .ac-agent-history-empty small{color:#a81f22;font-size:9px;font-weight:750}
.casepath-artifact-canvas .ac-agent-history-empty strong{margin-top:6px;font-size:13px;line-height:1.35}
.casepath-artifact-canvas .ac-agent-history-empty p{margin:8px 0 0;color:#707680;font-size:10px;line-height:1.5}

.casepath-artifact-canvas .ac-memory-graph-delta{
  width:520px;
  padding:13px 0 0;
  transform:translate(-50%,0);
  border-top:1px solid #d7dade;
  background:#fff;
}

.casepath-artifact-canvas .ac-memory-graph-delta:before{
  left:100%;
  top:18px;
  width:34px;
  height:1px;
}

.casepath-artifact-canvas .ac-memory-graph-delta>small{
  display:block;
  color:#a81f22;
  font-size:9px;
  font-weight:760;
}

.casepath-artifact-canvas .ac-memory-before-after{
  display:grid;
  grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);
  align-items:center;
  gap:10px;
  margin-top:9px;
}

.casepath-artifact-canvas .ac-memory-before-after span,
.casepath-artifact-canvas .ac-memory-before-after strong{
  color:#26292e;
  font-size:12px;
  line-height:1.35;
  font-weight:650;
}

.casepath-artifact-canvas .ac-memory-before-after b{
  display:block;
  margin-bottom:3px;
  color:#777d86;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.casepath-artifact-canvas .ac-memory-before-after i{
  color:#a81f22;
  font-style:normal;
  text-align:center;
}

.casepath-artifact-canvas .ac-memory-graph-delta>p{
  margin:9px 0 0;
  color:#666d77;
  font-size:10px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-memory-graph-delta>details{
  margin-top:8px;
  color:#666d77;
  font-size:9px;
}

.casepath-artifact-canvas .ac-memory-graph-delta>details summary{
  color:#a81f22;
  font-weight:750;
  cursor:pointer;
}

.casepath-artifact-canvas[data-manual-node-inspection="true"] .ac-memory-graph-delta,
.casepath-artifact-canvas[data-manual-node-inspection="true"] .ac-knowledge-graph-note,
.casepath-artifact-canvas[data-manual-node-inspection="true"] .ac-graph-verification{
  display:none;
}

.casepath-artifact-canvas .ac-stage-focus:not(.ac-fact-source-focus):not(.ac-law-focus)>p{
  display:none;
}

@media(max-width:1180px){
  .ac-global-agent-work .ac-team button{padding-inline:7px}
  .ac-global-agent-work .ac-team button>small{display:none}
  .casepath-artifact-canvas[data-agent-audit-open="true"] .ac-work-body{padding-right:300px}
}

@media(prefers-reduced-motion:reduce){
  .casepath-artifact-canvas *,
  .casepath-artifact-canvas *:before,
  .casepath-artifact-canvas *:after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/*
 * Flagship visual polish.
 *
 * This final ownership layer is deliberately presentation-only. The persistent
 * source/process DOM, data contracts, hit targets, cursor state machine and
 * graph coordinates remain unchanged.
 */
body[data-casepath-artifact-canvas="ready"]{
  --ac-ink:#151619;
  --ac-muted:#5a6069;
  --ac-quiet:#69717c;
  --ac-line:#e6e8eb;
  --ac-line-strong:#adb3bb;
  --ac-paper:#fff;
  --ac-soft:#f7f8f9;
  --ac-accent:#a81f22;
  --ac-accent-soft:rgba(168,31,34,.07);
  --ac-green:#287457;
  --ac-green-soft:#f4f7f5;
}

body[data-casepath-artifact-canvas="ready"] .claim-workspace{
  grid-template-columns:clamp(252px,18.5vw,284px) minmax(0,1fr)!important;
}

body[data-casepath-artifact-canvas="ready"] .appbar{
  padding-inline:28px;
  background:#fff;
  backdrop-filter:none;
}

body[data-casepath-artifact-canvas="ready"] .brand{
  gap:12px;
  font-size:17px;
  letter-spacing:-.025em;
}

body[data-casepath-artifact-canvas="ready"] .brand-mark{
  width:32px;
  height:32px;
  border:1px solid rgba(168,31,34,.26);
  border-radius:10px;
  background:#fff;
  color:var(--ac-accent);
  font-size:10px;
  box-shadow:none;
}

body[data-casepath-artifact-canvas="ready"] #openAudit{
  min-height:36px;
  color:var(--ac-ink);
  font-size:12px;
  font-weight:600;
}

body[data-casepath-artifact-canvas="ready"] .submission-pane{
  border-right-color:var(--ac-line)!important;
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-head{
  min-height:56px;
}

body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle{
  min-height:56px!important;
  padding:10px 20px!important;
}

body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle.is-active{
  background:linear-gradient(90deg,rgba(168,31,34,.075),rgba(168,31,34,.025) 72%,transparent)!important;
  box-shadow:inset 3px 0 var(--ac-accent);
}

body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle.is-active .v21-source-summary-copy strong{
  color:var(--ac-ink);
}

body[data-casepath-artifact-canvas="ready"] .v21-source-summary-copy strong{
  color:var(--ac-ink);
  font-size:11px;
  font-weight:700;
}

body[data-casepath-artifact-canvas="ready"] .v21-source-summary-copy small{
  color:var(--ac-quiet);
  font-size:10px;
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane.collapsed .submission-scroll{
  display:none!important;
}

body[data-casepath-artifact-canvas="ready"] .email-head{
  padding:10px 0 24px;
}

body[data-casepath-artifact-canvas="ready"] .email-subject{
  max-width:220px;
  font-size:18px;
  line-height:1.28;
  letter-spacing:-.03em;
}

body[data-casepath-artifact-canvas="ready"] .attachments-block{
  margin-top:24px;
}

body[data-casepath-artifact-canvas="ready"] .attachments-block>header{
  margin-bottom:5px;
  padding-bottom:10px;
  border-bottom:1px solid var(--ac-line);
}

body[data-casepath-artifact-canvas="ready"] .attachments-block>header h2,
body[data-casepath-artifact-canvas="ready"] .attachments-block>header span{
  font-size:10px;
}

body[data-casepath-artifact-canvas="ready"] .attachment-list{
  gap:0;
}

body[data-casepath-artifact-canvas="ready"] .attachment-row{
  position:relative;
  grid-template-columns:44px minmax(0,1fr)!important;
  gap:11px!important;
  min-height:58px!important;
  margin:2px 0;
  padding:7px 9px 7px 7px!important;
  border:1px solid transparent!important;
  border-radius:8px;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s var(--ac-ease);
}

body[data-casepath-artifact-canvas="ready"] .attachment-thumb{
  width:44px!important;
  height:36px!important;
  border-radius:5px!important;
  background:#fafafa;
}

body[data-casepath-artifact-canvas="ready"] .attachment-title{
  color:#30343a;
  font-size:11px!important;
  line-height:1.28!important;
  font-weight:600;
}

body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active{
  transform:translateX(1px);
  border-color:rgba(168,31,34,.16)!important;
  background:linear-gradient(90deg,rgba(168,31,34,.075),rgba(168,31,34,.025) 72%,transparent)!important;
  box-shadow:inset 3px 0 var(--ac-accent),0 6px 18px rgba(34,24,27,.055);
}

body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active .attachment-title{
  color:var(--ac-ink);
  font-weight:720;
}

body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active .attachment-thumb{
  border-color:rgba(168,31,34,.24)!important;
  background:#fffafa;
  color:var(--ac-accent);
}

body[data-casepath-artifact-canvas="ready"] .attachment-row:focus-visible{
  border-color:rgba(168,31,34,.3)!important;
  outline:2px solid rgba(168,31,34,.11);
  outline-offset:1px;
}

@media(min-width:761px){
  body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane .submission-scroll,
  body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane.collapsed .submission-scroll{
    display:block!important;
    max-height:calc(100dvh - var(--header) - 56px)!important;
    padding:12px 16px 32px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }

  body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .v21-source-summary-toggle{
    cursor:default;
  }

  body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .v21-source-summary-toggle svg{
    display:none!important;
  }
}

body[data-casepath-artifact-canvas="ready"] .start-copy h2{
  max-width:520px!important;
  font-size:clamp(30px,3vw,40px)!important;
  line-height:1.1!important;
  letter-spacing:-.035em!important;
}

body[data-casepath-artifact-canvas="ready"] #runCasePath{
  min-width:148px!important;
}

body[data-casepath-artifact-canvas="ready"] .primary-button{
  min-height:44px;
  border-radius:7px;
  background:var(--ac-accent);
  box-shadow:none;
}

body[data-casepath-artifact-canvas="ready"] .primary-button:hover{
  background:#8e1b1e;
}

.casepath-artifact-canvas{--ac-identity:#a81f22}
.casepath-artifact-canvas[data-active-signature="orchestrator"]{--ac-identity:#3a4b66}
.casepath-artifact-canvas[data-active-signature="sources"]{--ac-identity:#166b82}
.casepath-artifact-canvas[data-active-signature="process"]{--ac-identity:#6947a8}
.casepath-artifact-canvas[data-active-signature="evidence"]{--ac-identity:#9b6514}
.casepath-artifact-canvas[data-active-signature="audit"]{--ac-identity:#207a54}
.casepath-artifact-canvas[data-active-signature="law"],
.casepath-artifact-canvas[data-active-signature="reference"],
.casepath-artifact-canvas[data-active-signature="gate"],
.casepath-artifact-canvas[data-active-signature="memory"]{--ac-identity:#59616b}

.casepath-artifact-canvas .ac-work-header{
  min-height:92px;
  padding:18px 44px 16px;
  border-bottom:0;
  gap:30px;
}

.casepath-artifact-canvas .ac-active-work{
  grid-template-columns:minmax(0,1fr);
  gap:0;
}

.casepath-artifact-canvas .ac-cursor-mark{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.casepath-artifact-canvas .ac-active-work p{
  color:var(--ac-identity);
  font-size:10px;
  line-height:1.3;
  font-weight:700;
}

.casepath-artifact-canvas .ac-active-work h2{
  margin-top:4px;
  max-width:740px;
  font-size:clamp(20px,2vw,24px);
  line-height:1.16;
  letter-spacing:-.035em;
  font-weight:700;
}

.casepath-artifact-canvas .ac-active-work div>span{
  max-width:720px;
  margin-top:6px;
  color:var(--ac-muted);
  font-size:12px;
  line-height:1.4;
}

.casepath-artifact-canvas .ac-team{
  display:flex;
  gap:4px;
}

body[data-casepath-artifact-canvas="ready"][data-casepath-moment="start"] .email-body{
  display:-webkit-box!important;
  margin:16px 0 0;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:5;
  color:var(--ac-muted);
  font-size:11px;
  line-height:1.5;
  white-space:pre-line;
}

body[data-casepath-artifact-canvas="ready"] .start-copy .start-claim-summary{
  display:block!important;
  max-width:650px;
  margin:0 0 28px;
  color:var(--ac-muted);
  font-size:16px;
  line-height:1.55;
}

.casepath-artifact-canvas .ac-team li{
  --agent-color:#747b84;
  position:relative;
  min-width:66px;
  color:var(--agent-color);
}

.casepath-artifact-canvas .ac-team li[data-agent-signature="facts"]{--agent-color:#a81f22}
.casepath-artifact-canvas .ac-team li[data-agent-signature="orchestrator"]{--agent-color:#3a4b66}
.casepath-artifact-canvas .ac-team li[data-agent-signature="sources"]{--agent-color:#166b82}
.casepath-artifact-canvas .ac-team li[data-agent-signature="process"]{--agent-color:#6947a8}
.casepath-artifact-canvas .ac-team li[data-agent-signature="evidence"]{--agent-color:#9b6514}
.casepath-artifact-canvas .ac-team li[data-agent-signature="audit"]{--agent-color:#207a54}

.casepath-artifact-canvas .ac-team li span{
  width:34px;
  height:34px;
  border-color:color-mix(in srgb,var(--agent-color) 42%,var(--ac-line));
  background:#fff;
  color:var(--agent-color);
  font-size:10px;
}

.casepath-artifact-canvas .ac-team li small{
  display:block;
  width:66px;
  overflow:hidden;
  color:var(--ac-quiet);
  font-size:9px;
  line-height:1.25;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-team li[data-agent-state="complete"],
.casepath-artifact-canvas .ac-team li[data-agent-state="complete"] span{
  border-color:color-mix(in srgb,var(--agent-color) 30%,var(--ac-line));
  background:#fff;
  color:color-mix(in srgb,var(--agent-color) 58%,var(--ac-quiet));
}

.casepath-artifact-canvas .ac-team li[data-agent-state="active"] span{
  transform:none;
  border-color:var(--agent-color);
  background:color-mix(in srgb,var(--agent-color) 7%,#fff);
  box-shadow:none;
}

.casepath-artifact-canvas .ac-team li[data-agent-state="active"] small{
  color:var(--agent-color);
  font-weight:750;
}

.casepath-artifact-canvas .ac-team li[data-agent-state="active"]:after{
  content:"";
  position:absolute;
  right:7px;
  bottom:-8px;
  left:7px;
  height:2px;
  border-radius:999px;
  background:var(--agent-color);
}

.casepath-artifact-canvas .ac-work-body{
  padding:8px 44px 58px;
}

.casepath-artifact-canvas .ac-process{
  min-height:610px;
}

.casepath-artifact-canvas .ac-process-copy{
  gap:10px;
  margin-bottom:3px;
}

.casepath-artifact-canvas .ac-process-copy span{
  color:var(--ac-quiet);
  font-size:9px;
}

.casepath-artifact-canvas .ac-process-copy strong{
  font-size:13px;
  font-weight:650;
}

.casepath-artifact-canvas .ac-spatial-viewport{
  width:calc(100% - 42px);
  min-width:900px;
  height:clamp(520px,64vh,650px);
}

.casepath-artifact-canvas .ac-spatial-edges path{
  stroke:#c7cbd1;
  stroke-width:1.05;
}

.casepath-artifact-canvas .ac-spatial-edges path[data-spatial-path="accepted"]{
  stroke:#a6abb2;
}

.casepath-artifact-canvas .ac-process-track li button>span{
  border-color:#b9bec5;
  background:#fff;
}

.casepath-artifact-canvas .ac-process-track li button small{
  color:#5e646d;
  font-size:12px;
  line-height:1.24;
  font-weight:600;
}

.casepath-artifact-canvas .ac-process-track li[data-node-state="complete"] button>span{
  border-color:#b9bec5;
  background:#fff;
  color:#70767e;
}

.casepath-artifact-canvas .ac-process-track li[data-node-state="blocked"] button,
.casepath-artifact-canvas .ac-process-track li[data-node-state="blocked"] button small{
  color:#9298a0;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button>span{
  border-color:var(--ac-accent);
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button small{
  color:var(--ac-ink);
  font-size:15px;
  line-height:1.18;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"][data-selected="true"] button>span{
  box-shadow:0 0 0 4px var(--ac-accent-soft);
}

.casepath-artifact-canvas .ac-spatial-branch{
  color:#656b74;
}

.casepath-artifact-canvas .ac-spatial-branch strong{
  font-size:12px;
  line-height:1.24;
  font-weight:600;
}

.casepath-artifact-canvas .ac-spatial-branch[data-branch-state="selected"]{
  color:var(--ac-accent);
}

.casepath-artifact-canvas .ac-spatial-law-marker{
  min-height:28px;
  border-color:rgba(168,31,34,.28);
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-evidence-relationship{
  width:292px;
  padding:12px 0 10px;
  border:0;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
  border-radius:0;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-evidence-relationship>small{
  color:var(--ac-accent);
  font-size:10px;
}

.casepath-artifact-canvas .ac-evidence-origin{
  margin:-2px 0 8px;
  color:var(--ac-ink);
  font-size:11px;
  line-height:1.35;
  font-weight:650;
}

.casepath-artifact-canvas .ac-evidence-need strong{
  font-size:13px;
  font-weight:650;
}

.casepath-artifact-canvas .ac-evidence-chip,
.casepath-artifact-canvas .ac-evidence-relationship>div>span{
  color:var(--ac-muted);
  font-size:10px;
}

.casepath-artifact-canvas .ac-document-needs-link{
  width:100%;
  margin-top:9px;
  padding:8px 0 0;
  border:0;
  border-top:1px solid var(--ac-line);
  background:#fff;
  color:var(--ac-accent);
  font:750 10px/1.3 inherit;
  text-align:left;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-document-needs-link:after{
  content:"  →";
}

.casepath-artifact-canvas .ac-spatial-node-detail{
  padding-left:12px;
  border-left-color:var(--ac-accent);
}

.casepath-artifact-canvas .ac-spatial-node-detail span,
.casepath-artifact-canvas .ac-grounding-disclosure>.ac-grounding-toggle{
  font-size:10px;
}

.casepath-artifact-canvas .ac-spatial-node-detail strong{
  margin-top:4px;
  font-size:15px;
  line-height:1.3;
}

body[data-casepath-moment="later-work"] .casepath-artifact-canvas [data-memory-candidate="true"]{
  opacity:.42;
}

body[data-casepath-moment="later-work"] .casepath-artifact-canvas [data-memory-candidate="true"] button>span{
  border-style:dashed;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-grounding-disclosure>div{
  gap:0;
  padding:8px 10px;
  border-radius:6px;
  box-shadow:0 12px 30px rgba(18,21,26,.08);
}

.casepath-artifact-canvas .ac-grounding-disclosure button strong{
  font-size:10px;
}

.casepath-artifact-canvas .ac-grounding-disclosure .ac-node-source-preview{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2px 12px;
  padding:10px 0;
  text-align:left;
}

.casepath-artifact-canvas .ac-node-source-preview span,
.casepath-artifact-canvas .ac-node-source-preview small,
.casepath-artifact-canvas .ac-node-source-preview p,
.casepath-artifact-canvas .ac-node-source-preview strong,
.casepath-artifact-canvas .ac-node-source-preview em{
  display:block;
}

.casepath-artifact-canvas .ac-node-source-preview span,
.casepath-artifact-canvas .ac-node-source-preview small{
  grid-column:1;
}

.casepath-artifact-canvas .ac-node-source-preview p{
  grid-column:1 / -1;
  display:-webkit-box;
  max-height:2.8em;
  margin:4px 0 0;
  overflow:hidden;
  color:var(--ac-quiet);
  font-size:8px;
  line-height:1.4;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.casepath-artifact-canvas .ac-node-source-preview small{
  color:var(--ac-quiet);
  font-size:8px;
  font-weight:650;
}

.casepath-artifact-canvas .ac-node-source-preview strong{
  grid-column:1 / -1;
  max-height:4.5em!important;
  margin-top:6px!important;
  padding:8px 10px;
  border-left:2px solid var(--ac-line-strong);
  background:var(--ac-soft);
  color:var(--ac-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:11px!important;
  line-height:1.5;
  font-weight:500;
}

.casepath-artifact-canvas .ac-node-source-preview em{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  color:var(--ac-accent);
  font-size:8px;
  font-style:normal;
  font-weight:720;
}

.casepath-artifact-canvas .ac-stage-focus h3,
.casepath-artifact-canvas .ac-decision-focus h3{
  max-width:760px;
  font-size:clamp(29px,3vw,40px);
  line-height:1.05;
  letter-spacing:-.045em;
}

.casepath-artifact-canvas .ac-law-focus h3,
.casepath-artifact-canvas .ac-evidence-focus h3,
.casepath-artifact-canvas .ac-reference-focus h3{
  font-size:clamp(27px,3vw,40px);
  line-height:1.06;
}

.casepath-artifact-canvas .ac-stage-focus>span,
.casepath-artifact-canvas .ac-decision-focus>header>span,
.casepath-artifact-canvas .ac-chain-object>div>span{
  font-size:10px;
}

.casepath-artifact-canvas .ac-stage-focus>p,
.casepath-artifact-canvas .ac-decision-focus>header>p{
  color:var(--ac-muted);
  font-size:13px;
  line-height:1.55;
}

.casepath-artifact-canvas .ac-stage-focus>strong,
.casepath-artifact-canvas .ac-review-focus>strong,
.casepath-artifact-canvas .ac-review-decision,
.casepath-artifact-canvas .ac-chain-object aside{
  background:transparent;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-review-decision{
  max-width:680px;
  padding:16px 0 16px 18px;
}

.casepath-artifact-canvas .ac-review-decision small,
.casepath-artifact-canvas .ac-review-decision p{
  font-size:10px;
}

.casepath-artifact-canvas .ac-review-decision strong{
  font-size:16px;
}

.casepath-artifact-canvas .ac-browser-bar{
  border-color:var(--ac-line);
  background:#fafafa;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-browser-bar strong,
.casepath-artifact-canvas .ac-browser-bar small{
  font-size:10px;
}

.casepath-artifact-canvas .ac-browser-bar code{
  font-size:9px;
}

.casepath-artifact-canvas .ac-law-tabs button{
  min-height:32px;
  font-size:10px;
}

.casepath-artifact-canvas .ac-law-focus blockquote{
  margin-top:22px;
  color:#25272b;
  font-size:clamp(17px,1.8vw,22px);
  line-height:1.6;
}

.casepath-artifact-canvas .ac-law-pending h3{
  max-width:620px;
  margin-top:28px;
  font-size:26px;
}

.casepath-artifact-canvas .ac-law-pending-surface{
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:3px 12px;
  max-width:620px;
  margin-top:18px;
  padding:18px 0;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-law-pending-surface i{
  grid-row:1 / span 2;
  width:12px;
  height:15px;
  border:1px solid var(--ac-line-strong);
  border-radius:2px;
}

.casepath-artifact-canvas .ac-law-pending-surface strong{
  font-size:12px;
}

.casepath-artifact-canvas .ac-law-pending-surface small{
  color:var(--ac-quiet);
  font-size:9px;
}

.casepath-artifact-canvas .ac-stage-focus footer small,
.casepath-artifact-canvas .ac-official-link{
  font-size:10px;
}

.casepath-artifact-canvas .ac-build-inspection{
  position:relative;
  border-color:var(--ac-line);
  border-left-color:var(--ac-accent);
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-spatial-detail{
  top:0;
  bottom:auto;
  width:min(430px,44%);
}

.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-spatial-detail{
  top:0;
  bottom:auto;
}

.casepath-artifact-canvas .ac-build-inspection small,
.casepath-artifact-canvas .ac-build-inspection span{
  font-size:10px;
}

.casepath-artifact-canvas .ac-build-inspection strong{
  font-size:14px;
  line-height:1.5;
}

.casepath-artifact-canvas .ac-memory-effects{
  gap:0;
  padding:0;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
  background:#fff;
}

.casepath-artifact-canvas .ac-memory-effects li{
  min-height:52px;
  padding:10px 12px;
  border-right:1px solid var(--ac-line);
  background:#fff;
  color:var(--ac-muted);
  font-size:10px;
}

.casepath-artifact-canvas .ac-memory-effects li:nth-child(3n){
  border-right:0;
}

.casepath-artifact-canvas .ac-stage-focus,
.casepath-artifact-canvas .ac-decision-focus,
.casepath-artifact-canvas .ac-chain-object{
  animation:none;
}

body[data-casepath-moment="read"] .casepath-artifact-canvas .ac-stage-focus>span,
body[data-casepath-moment="understand"] .casepath-artifact-canvas .ac-stage-focus>span,
body[data-casepath-moment="review"] .casepath-artifact-canvas .ac-stage-focus>span,
body[data-casepath-moment="knowledge"] .casepath-artifact-canvas .ac-stage-focus>span,
body[data-casepath-moment="later-work"] .casepath-artifact-canvas .ac-stage-focus>span,
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-stage-focus>span{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

body[data-casepath-moment="knowledge"] .casepath-artifact-canvas .ac-learning-outcome>strong,
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-learning-outcome>strong{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

body[data-casepath-moment="knowledge"] .casepath-artifact-canvas .ac-learning-outcome,
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-learning-outcome{
  padding:12px 0;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects li:nth-child(2),
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects li:nth-child(3),
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects li:nth-child(5),
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects li:nth-child(6){
  display:none;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects li{
  border-right:1px solid var(--ac-line);
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-effects li:nth-child(4){
  border-right:0;
}

body[data-casepath-moment="review-applied"] .casepath-artifact-canvas .ac-process{
  min-height:450px;
}

body[data-casepath-moment="review-applied"] .casepath-artifact-canvas .ac-spatial-viewport{
  height:430px;
}

.casepath-artifact-canvas .ac-authority-line{
  min-height:34px;
  padding:7px 44px;
  color:var(--ac-quiet);
  font-size:9px;
}

.casepath-artifact-canvas .ac-agent-cursor{
  --cursor-color:#151619;
  width:34px;
  height:34px;
  filter:drop-shadow(0 4px 8px rgba(18,21,26,.14));
}

.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="facts"]{--cursor-color:#a81f22}
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="orchestrator"]{--cursor-color:#3a4b66}
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="sources"]{--cursor-color:#166b82}
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="process"]{--cursor-color:#6947a8}
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="evidence"]{--cursor-color:#9b6514}
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="audit"]{--cursor-color:#207a54}
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="law"],
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="reference"],
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="gate"],
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature="memory"]{--cursor-color:#59616b}

.casepath-artifact-canvas .ac-agent-cursor svg,
.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature] svg{
  width:27px;
  height:27px;
  fill:#fff;
  stroke:var(--cursor-color);
  stroke-width:1.45;
}

.casepath-artifact-canvas .ac-agent-cursor b{
  position:absolute;
  inset:0 auto auto 0;
  width:32px;
  min-width:32px;
  height:32px;
  padding:0;
  border:1px solid color-mix(in srgb,var(--cursor-color) 24%,var(--ac-line));
  border-radius:10px;
  background:color-mix(in srgb,var(--cursor-color) 10%,#fff);
  color:var(--cursor-color);
  font-size:0;
  box-shadow:0 5px 14px rgba(18,21,26,.11);
}

.casepath-artifact-canvas .ac-agent-cursor[data-agent-signature] b svg{
  position:static;
  inset:auto;
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:none;
}

.casepath-artifact-canvas .ac-agent-cursor-label{
  position:absolute;
  top:-2px;
  display:block;
  width:max-content;
  max-width:190px;
  min-height:36px;
  padding:7px 10px;
  border:1px solid color-mix(in srgb,var(--cursor-color) 22%,var(--ac-line));
  border-radius:6px;
  background:rgba(255,255,255,.97);
  box-shadow:0 5px 16px rgba(18,21,26,.10);
  color:var(--ac-ink);
  filter:none;
}

.casepath-artifact-canvas .ac-agent-cursor[data-label-side="right"] .ac-agent-cursor-label{left:39px}
.casepath-artifact-canvas .ac-agent-cursor[data-label-side="left"] .ac-agent-cursor-label{right:39px;text-align:left}

.casepath-artifact-canvas .ac-agent-cursor-copy{
  display:grid;
  min-width:0;
  gap:2px;
}

.casepath-artifact-canvas .ac-agent-cursor.is-clicking b{
  box-shadow:0 0 0 4px color-mix(in srgb,var(--cursor-color) 13%,transparent),0 5px 14px rgba(18,21,26,.11);
}

.casepath-artifact-canvas .ac-agent-cursor-label strong{
  overflow:hidden;
  color:var(--cursor-color);
  font-size:10px;
  line-height:1.2;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-agent-cursor-label small{
  overflow:hidden;
  color:var(--ac-muted);
  font-size:8.5px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-process>.ac-cursor-park{
  position:absolute;
  z-index:1;
  top:8px;
  right:28px;
  width:24px;
  height:24px;
  pointer-events:none;
}

.casepath-artifact-canvas .ac-agent-cursor[data-parked="true"] .ac-agent-cursor-label{
  opacity:0;
  transform:translateY(-2px);
  transition:opacity .16s ease,transform .16s ease;
}

.casepath-artifact-canvas .ac-process-track li[data-process-build-state="building"]:after{
  animation-iteration-count:1;
}

body[data-casepath-artifact-canvas="ready"] .journey-actions{
  min-height:56px;
  justify-content:flex-end;
  padding:7px 28px;
  background:#fff;
}

body[data-casepath-artifact-canvas="ready"] .journey-actions .secondary-button:not([hidden]){
  margin-right:auto;
}

body[data-casepath-artifact-canvas="ready"] .journey-actions .primary-button{
  min-width:0;
  min-height:42px;
  padding-inline:17px;
}

body[data-casepath-artifact-canvas="ready"] .source-viewer,
body[data-casepath-artifact-canvas="ready"] .audit-drawer,
body[data-casepath-artifact-canvas="ready"] .precedent-viewer{
  color:var(--ac-ink);
}

body[data-casepath-artifact-canvas="ready"] .source-viewer::backdrop,
body[data-casepath-artifact-canvas="ready"] .audit-drawer::backdrop,
body[data-casepath-artifact-canvas="ready"] .precedent-viewer::backdrop{
  background:rgba(15,18,22,.18);
  backdrop-filter:blur(1px);
}

body[data-casepath-artifact-canvas="ready"] .source-viewer-shell{
  border:1px solid var(--ac-line);
  border-radius:12px;
  box-shadow:0 24px 70px rgba(15,18,22,.13);
}

body[data-casepath-artifact-canvas="ready"] .source-viewer-head{
  padding:17px 22px;
}

body[data-casepath-artifact-canvas="ready"] .source-viewer-head h2{
  font-size:19px;
  letter-spacing:-.025em;
}

body[data-casepath-artifact-canvas="ready"] .source-viewer-head p,
body[data-casepath-artifact-canvas="ready"] .source-viewer-tabs button,
body[data-casepath-artifact-canvas="ready"] .source-search label,
body[data-casepath-artifact-canvas="ready"] .source-evidence{
  font-size:11px;
}

body[data-casepath-artifact-canvas="ready"] .source-viewer-tools{
  padding:10px 22px;
  background:#fff;
}

body[data-casepath-artifact-canvas="ready"] .source-viewer-body{
  background:#f6f7f8;
}

body[data-casepath-artifact-canvas="ready"] .source-evidence{
  border-left-color:var(--ac-line);
  background:#fff;
}

.casepath-artifact-canvas .ac-law-viewer{
  border-color:var(--ac-line);
  box-shadow:0 24px 70px rgba(15,18,22,.13);
}

.casepath-artifact-canvas .ac-law-viewer::backdrop{
  background:rgba(15,18,22,.14);
  backdrop-filter:blur(1px);
}

.casepath-artifact-canvas .ac-grounding-viewer{
  width:min(760px,calc(100vw - 332px));
  max-height:min(68dvh,620px);
  padding:0;
  overflow:hidden;
  border:1px solid var(--ac-line);
  border-radius:12px;
  background:#fff;
  color:var(--ac-ink);
  box-shadow:0 24px 70px rgba(15,18,22,.13);
}

.casepath-artifact-canvas .ac-grounding-viewer::backdrop{
  background:rgba(15,18,22,.1);
  backdrop-filter:none;
}

.casepath-artifact-canvas .ac-grounding-viewer>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 22px 16px;
  border-bottom:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-grounding-viewer>header span{
  color:var(--ac-accent);
  font-size:9px;
  font-weight:760;
}

.casepath-artifact-canvas .ac-grounding-viewer>header h3{
  margin:3px 0 0;
  font-size:20px;
  letter-spacing:-.025em;
}

.casepath-artifact-canvas .ac-grounding-viewer>header button{
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--ac-muted);
  font:500 22px/1 var(--ac-font);
  cursor:pointer;
}

.casepath-artifact-canvas .ac-grounding-viewer>header button:hover{
  background:var(--ac-soft);
  color:var(--ac-ink);
}

.casepath-artifact-canvas .ac-grounding-viewer>article{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  padding:1px;
  overflow:auto;
  background:var(--ac-line);
}

.casepath-artifact-canvas .ac-grounding-viewer>article>button{
  min-height:118px;
  padding:15px;
  border:0;
  background:#fff;
  color:var(--ac-ink);
  text-align:left;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-grounding-viewer>article>button:hover{
  background:#fcfcfd;
}

.casepath-artifact-canvas .ac-grounding-viewer button:focus-visible{
  outline:2px solid rgba(168,31,34,.18);
  outline-offset:-3px;
}

.casepath-artifact-canvas .ac-grounding-viewer>article>button span,
.casepath-artifact-canvas .ac-grounding-viewer>article>button strong{
  display:block;
}

.casepath-artifact-canvas .ac-grounding-viewer>article>button span{
  color:var(--ac-quiet);
  font-size:9px;
  line-height:1.4;
}

.casepath-artifact-canvas .ac-grounding-viewer>article>button strong{
  margin-top:8px;
  font-size:12px;
  line-height:1.45;
}

/* Non-graph chapters own the main canvas; the header becomes a quiet team rail. */
.casepath-artifact-canvas[data-graph-visible="false"] .ac-work-header{
  min-height:62px;
  padding-top:13px;
  padding-bottom:12px;
}

.casepath-artifact-canvas[data-graph-visible="false"] .ac-active-work h2,
.casepath-artifact-canvas[data-graph-visible="false"] .ac-active-work div>span{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.casepath-artifact-canvas[data-graph-visible="false"] .ac-active-work p{
  font-size:11px;
}

/* Graph-native expert correction and receipt-bound reuse. */
.casepath-artifact-canvas .ac-review-graph-edit,
.casepath-artifact-canvas .ac-review-applied-note,
.casepath-artifact-canvas .ac-memory-graph-delta,
.casepath-artifact-canvas .ac-graph-verification,
.casepath-artifact-canvas .ac-knowledge-graph-note,
.casepath-artifact-canvas .ac-later-memory-retrieval{
  position:absolute;
  z-index:5;
  left:calc(var(--spatial-x) * 1%);
  top:calc(var(--spatial-y) * 1%);
  pointer-events:auto;
}

.casepath-artifact-canvas .ac-review-graph-edit{
  width:252px;
  padding:0 0 11px;
  transform:translate(-50%,0);
  border-bottom:1px solid var(--ac-line);
  background:#fff;
}

.casepath-artifact-canvas .ac-review-graph-edit:before,
.casepath-artifact-canvas .ac-review-applied-note:before,
.casepath-artifact-canvas .ac-memory-graph-delta:before{
  content:"";
  position:absolute;
  left:50%;
  bottom:100%;
  width:1px;
  height:22px;
  background:var(--ac-line-strong);
}

.casepath-artifact-canvas .ac-review-graph-edit>small,
.casepath-artifact-canvas .ac-review-applied-note>small{
  display:block;
  color:var(--ac-quiet);
  font-size:9px;
  line-height:1.3;
  font-weight:650;
}

.casepath-artifact-canvas .ac-review-change{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  margin-top:7px;
  color:var(--ac-muted);
  font-size:13px;
}

.casepath-artifact-canvas .ac-review-change span{
  text-decoration:line-through;
  text-decoration-color:#b6bbc2;
}

.casepath-artifact-canvas .ac-review-change b{
  color:var(--ac-accent);
  font-weight:500;
}

.casepath-artifact-canvas .ac-review-change strong{
  color:var(--ac-ink);
  font-weight:700;
}

.casepath-artifact-canvas .ac-review-graph-edit>p{
  margin:7px 0 0;
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-review-graph-edit>button{
  min-height:31px;
  margin-top:9px;
  padding:0 12px;
  border:1px solid var(--ac-accent);
  border-radius:5px;
  background:#fff;
  color:var(--ac-accent);
  font:inherit;
  font-size:10px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-review-applied-note{
  width:280px;
  transform:translate(-50%,0);
  border-top:1px solid rgba(168,31,34,.28);
  background:#fff;
  padding-top:10px;
}

.casepath-artifact-canvas .ac-review-applied-note:before{
  left:100%;
  top:14px;
  bottom:auto;
  width:46px;
  height:1px;
  background:rgba(168,31,34,.4);
}

.casepath-artifact-canvas .ac-review-applied-note>strong,
.casepath-artifact-canvas .ac-review-applied-note>span,
.casepath-artifact-canvas .ac-review-applied-note>em{
  display:block;
}

.casepath-artifact-canvas .ac-review-applied-note>strong{
  margin-top:4px;
  color:var(--ac-ink);
  font-size:12px;
  line-height:1.35;
}

.casepath-artifact-canvas .ac-review-applied-note>span{
  margin-top:4px;
  color:var(--ac-muted);
  font-size:10px;
  line-height:1.35;
}

.casepath-artifact-canvas .ac-review-applied-note>span:before{
  content:"✓";
  margin-right:6px;
  color:var(--ac-accent);
  font-weight:750;
}

.casepath-artifact-canvas .ac-review-applied-note>em{
  margin-top:7px;
  color:var(--ac-quiet);
  font-size:9px;
  line-height:1.4;
  font-style:normal;
}

.casepath-artifact-canvas .ac-spatial-edges path[data-review-effect="edge-added"]{
  stroke:var(--ac-accent);
  stroke-width:1.55;
}

.casepath-artifact-canvas .ac-spatial-edges path[data-memory-effect="edge-added"],
.casepath-artifact-canvas .ac-spatial-edges path[data-spatial-path="memory-added"]{
  stroke:var(--ac-accent);
  stroke-width:1.65;
}

.casepath-artifact-canvas .ac-process-track li[data-memory-effect="node-added"] button>span{
  border-color:var(--ac-accent);
  background:#fff;
  color:var(--ac-accent);
  box-shadow:0 0 0 4px var(--ac-accent-soft);
}

.casepath-artifact-canvas .ac-process-track li[data-memory-effect="node-added"] button small{
  color:var(--ac-ink);
  font-weight:700;
}

.casepath-artifact-canvas .ac-memory-graph-delta{
  width:390px;
  transform:translate(-50%,0);
  border-top:1px solid var(--ac-line);
  background:#fff;
  padding-top:9px;
}

.casepath-artifact-canvas .ac-memory-graph-delta:before{
  left:100%;
  right:auto;
  top:18px;
  bottom:auto;
  width:24px;
  height:1px;
  background:var(--ac-accent);
}

.casepath-artifact-canvas .ac-memory-graph-delta>header small,
.casepath-artifact-canvas .ac-memory-graph-delta>header strong{
  display:block;
}

.casepath-artifact-canvas .ac-memory-graph-delta>header small{
  color:var(--ac-accent);
  font-size:9px;
  line-height:1.3;
  font-weight:750;
}

.casepath-artifact-canvas .ac-memory-graph-delta>header strong{
  margin-top:3px;
  color:var(--ac-ink);
  font-size:13px;
  line-height:1.3;
  font-weight:700;
}

.casepath-artifact-canvas .ac-memory-graph-delta>header span{
  display:block;
  margin-top:4px;
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.35;
}

.casepath-artifact-canvas .ac-memory-process-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:14px;
  margin-top:8px;
}

.casepath-artifact-canvas .ac-memory-process-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:0;
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.25;
}

.casepath-artifact-canvas .ac-memory-process-link b,
.casepath-artifact-canvas .ac-memory-process-link strong{
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  font-weight:650;
}

.casepath-artifact-canvas .ac-memory-process-link i{
  color:var(--ac-accent);
  font-style:normal;
}

.casepath-artifact-canvas .ac-memory-evidence-changes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin-top:8px;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-memory-evidence-change{
  min-width:0;
  padding:7px 8px 7px 0;
  border-right:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-memory-evidence-change:last-child{
  padding-left:8px;
  border-right:0;
}

.casepath-artifact-canvas .ac-memory-evidence-change:nth-child(2){
  padding-left:8px;
}

.casepath-artifact-canvas .ac-memory-evidence-change b,
.casepath-artifact-canvas .ac-memory-evidence-change small{
  display:block;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
}

.casepath-artifact-canvas .ac-memory-evidence-change b{
  color:var(--ac-ink);
  font-size:9px;
  font-weight:650;
}

.casepath-artifact-canvas .ac-memory-evidence-change small{
  margin-top:2px;
  color:var(--ac-accent);
  font-size:8px;
}

.casepath-artifact-canvas .ac-memory-graph-delta>p{
  margin:6px 0 0;
  color:var(--ac-quiet);
  font-size:9px;
}

.casepath-artifact-canvas .ac-graph-verification,
.casepath-artifact-canvas .ac-knowledge-graph-note,
.casepath-artifact-canvas .ac-later-memory-retrieval{
  width:286px;
  transform:translate(-50%,0);
  padding:10px 0 9px 13px;
  border-left:2px solid var(--ac-accent);
  background:#fff;
}

.casepath-artifact-canvas .ac-graph-verification>small,
.casepath-artifact-canvas .ac-knowledge-graph-note>small,
.casepath-artifact-canvas .ac-later-memory-retrieval>small{
  display:block;
  color:var(--ac-accent);
  font-size:9px;
  line-height:1.3;
  font-weight:750;
  letter-spacing:.04em;
}

.casepath-artifact-canvas .ac-graph-verification>strong,
.casepath-artifact-canvas .ac-knowledge-graph-note>strong,
.casepath-artifact-canvas .ac-later-memory-retrieval>strong{
  display:block;
  margin-top:4px;
  color:var(--ac-ink);
  font-size:14px;
  line-height:1.3;
  font-weight:700;
}

.casepath-artifact-canvas .ac-graph-verification>span,
.casepath-artifact-canvas .ac-knowledge-graph-note>span,
.casepath-artifact-canvas .ac-later-memory-retrieval>span{
  display:block;
  margin-top:4px;
  color:var(--ac-muted);
  font-size:10px;
  line-height:1.4;
}

.casepath-artifact-canvas .ac-graph-verification:before,
.casepath-artifact-canvas .ac-knowledge-graph-note:before,
.casepath-artifact-canvas .ac-later-memory-retrieval:before{
  content:"";
  position:absolute;
  left:100%;
  top:14px;
  width:42px;
  height:1px;
  background:var(--ac-line-strong);
}

.casepath-artifact-canvas .ac-later-memory-retrieval{
  width:318px;
}

.casepath-artifact-canvas .ac-later-source-step>strong{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.casepath-artifact-canvas .ac-later-source-step>strong mark{
  padding:1px 3px;
  background:rgba(168,31,34,.12);
  color:inherit;
  box-decoration-break:clone;
}

.casepath-artifact-canvas .ac-later-source-step[data-later-source-opened="true"]{
  border-left-color:var(--ac-green);
}

.casepath-artifact-canvas .ac-later-source-step[data-later-source-opened="true"]>small,
.casepath-artifact-canvas .ac-later-source-step[data-later-source-opened="true"]>button{
  color:var(--ac-green);
}

.casepath-artifact-canvas .ac-later-eligibility-step{
  border-left-color:var(--ac-green);
}

.casepath-artifact-canvas .ac-later-eligibility-step>small{
  color:var(--ac-green);
}

.casepath-artifact-canvas .ac-later-source-step>button{
  min-height:30px;
  margin-top:7px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-accent);
  font:inherit;
  font-size:9px;
  line-height:1;
  font-weight:750;
}

.casepath-artifact-canvas .ac-later-source-step>button:after{
  content:"  →";
}

body[data-casepath-moment="verify"] .casepath-artifact-canvas .ac-process-track li:not([data-selected="true"]) button small,
body[data-casepath-moment="knowledge"] .casepath-artifact-canvas .ac-process-track li:not([data-selected="true"]) button small,
body[data-casepath-moment="later-work"] .casepath-artifact-canvas .ac-process-track li:not([data-selected="true"]) button small,
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-process-track li:not([data-selected="true"]) button small{
  color:#7d838b;
  font-weight:560;
}

/* Evidence and generated reference stay attached to the selected graph decision. */
.casepath-artifact-canvas .ac-graph-local-object{
  width:286px;
  padding:0 0 0 12px;
  pointer-events:auto;
}

.casepath-artifact-canvas .ac-graph-local-object>p{
  display:block;
  margin:5px 0 0;
  color:var(--ac-muted);
  font-size:9px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-graph-local-object>button{
  min-height:29px;
  margin-top:8px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-accent);
  font:inherit;
  font-size:9px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-graph-local-object>button:after{
  content:"  →";
}

/* Claim facts are earned in one calm source-to-finding sequence. */
.casepath-artifact-canvas .ac-source-prelude{
  width:min(880px,100%);
  padding:22px 0 18px;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-source-prelude>header,
.casepath-artifact-canvas .ac-source-prelude>footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.casepath-artifact-canvas .ac-source-prelude>header span,
.casepath-artifact-canvas .ac-source-prelude>footer{
  color:var(--ac-quiet);
  font-size:10px;
  font-weight:700;
}

.casepath-artifact-canvas .ac-source-prelude>header strong{
  color:var(--ac-ink);
  font-size:12px;
  font-weight:680;
}

.casepath-artifact-canvas .ac-source-prelude-strip{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
  margin:18px 0;
}

.casepath-artifact-canvas .ac-source-prelude-strip>span{
  min-width:0;
  min-height:88px;
  padding:12px 10px;
  border:1px solid var(--ac-line);
  border-radius:8px;
  background:#fff;
  animation:ac-source-ready .28s var(--ac-ease) calc(var(--source-order) * 45ms) 1 both;
}

.casepath-artifact-canvas .ac-source-prelude-strip i{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  margin-bottom:10px;
  border:1px solid var(--ac-line);
  border-radius:6px;
  background:#fafafa;
  color:#656c75;
  font-style:normal;
}

.casepath-artifact-canvas .ac-source-prelude-strip i svg{
  width:16px;
  height:16px;
  overflow:visible;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}

.casepath-artifact-canvas .ac-source-prelude-strip small,
.casepath-artifact-canvas .ac-source-prelude-strip strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-source-prelude-strip small{
  color:var(--ac-quiet);
  font-size:8px;
  font-weight:700;
  text-transform:uppercase;
}

.casepath-artifact-canvas .ac-source-prelude-strip strong{
  margin-top:3px;
  color:var(--ac-ink);
  font-size:10px;
  font-weight:650;
}

.casepath-artifact-canvas .ac-source-prelude>footer{
  justify-content:flex-start;
}

.casepath-artifact-canvas .ac-source-prelude>footer i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--ac-accent);
}

@keyframes ac-source-ready{
  from{transform:translateY(4px)}
  to{transform:translateY(0)}
}

.casepath-artifact-canvas .ac-fact-source-focus{
  width:min(760px,100%);
}

.casepath-artifact-canvas .ac-fact-source-focus>h3{
  max-width:560px;
  margin-bottom:18px;
  font-size:clamp(26px,2.5vw,34px);
  line-height:1.08;
}

.casepath-artifact-canvas .ac-fact-source{
  width:min(700px,100%);
  padding:16px 0 18px;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-fact-source header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:baseline;
  gap:12px;
}

.casepath-artifact-canvas .ac-fact-source header span,
.casepath-artifact-canvas .ac-fact-source header small,
.casepath-artifact-canvas .ac-fact-finding small{
  color:var(--ac-quiet);
  font-size:10px;
  line-height:1.35;
  font-weight:700;
}

.casepath-artifact-canvas .ac-fact-source header strong{
  overflow:hidden;
  color:var(--ac-ink);
  font-size:13px;
  line-height:1.35;
  font-weight:680;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-fact-source blockquote{
  max-width:640px;
  margin:15px 0 0;
  padding-left:18px;
  border-left:2px solid var(--ac-line-strong);
  color:#24272c;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(17px,1.7vw,21px);
  line-height:1.55;
}

.casepath-artifact-canvas .ac-fact-source mark,
.casepath-artifact-canvas .ac-build-source-reading mark{
  padding:2px 4px;
  border-radius:3px;
  background:transparent;
  color:inherit;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}

.casepath-artifact-canvas .ac-source-exact-control{
  all:unset;
  display:inline;
  color:inherit;
  font:inherit;
  line-height:inherit;
  text-align:inherit;
  text-decoration:none;
}

.casepath-artifact-canvas .ac-fact-reading-target.is-awaiting-click,
.casepath-artifact-canvas .ac-source-exact-control.is-awaiting-click{
  cursor:pointer;
  outline:1px dashed transparent;
  outline-offset:3px;
}

.casepath-artifact-canvas .ac-fact-reading-target.is-awaiting-click:hover,
.casepath-artifact-canvas .ac-fact-reading-target.is-awaiting-click:focus-visible,
.casepath-artifact-canvas .ac-source-exact-control.is-awaiting-click:hover,
.casepath-artifact-canvas .ac-source-exact-control.is-awaiting-click:focus-visible{
  outline-color:var(--ac-line-strong);
}

.casepath-artifact-canvas mark.is-highlighted{
  background-color:transparent;
  background-image:linear-gradient(rgba(168,31,34,.15),rgba(168,31,34,.15));
  background-repeat:no-repeat;
  background-size:0 100%;
  animation:ac-highlight-source .42s var(--ac-ease) 1 forwards;
}

.casepath-artifact-canvas .ac-fact-source-picker{
  display:grid;
  grid-template-columns:80px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  width:min(700px,100%);
  min-height:76px;
  padding:14px 0;
  border:0;
  border-top:1px solid var(--ac-line);
  border-bottom:1px solid var(--ac-line);
  background:#fff;
  color:var(--ac-ink);
  text-align:left;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-fact-source-picker small,
.casepath-artifact-canvas .ac-fact-source-picker span{
  color:var(--ac-quiet);
  font-size:10px;
  line-height:1.35;
  font-weight:700;
}

.casepath-artifact-canvas .ac-fact-source-picker strong{
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}

.casepath-artifact-canvas .ac-fact-source-picker span{
  color:var(--ac-accent);
}

.casepath-artifact-canvas .ac-fact-source-picker span:after{
  content:"  →";
}

.casepath-artifact-canvas .ac-visual-source{
  display:grid;
  grid-template-columns:minmax(0,480px) minmax(150px,1fr);
  align-items:end;
  gap:18px;
  margin:16px 0 0;
}

.casepath-artifact-canvas .ac-visual-source-frame{
  position:relative;
  overflow:hidden;
  border:1px solid var(--ac-line);
  background:var(--ac-soft);
}

.casepath-artifact-canvas .ac-visual-source-frame img{
  display:block;
  width:100%;
  height:auto;
}

.casepath-artifact-canvas .ac-visual-region-target{
  position:absolute;
  left:var(--region-x);
  top:var(--region-y);
  width:var(--region-width);
  height:var(--region-height);
  min-width:18px;
  min-height:18px;
  padding:0;
  border:2px solid transparent;
  border-radius:3px;
  background:transparent;
  box-shadow:none;
  cursor:pointer;
}

.casepath-artifact-canvas .ac-visual-region-target.is-awaiting-click:focus-visible{
  outline:1px dashed var(--ac-line-strong);
  outline-offset:3px;
}

.casepath-artifact-canvas .ac-visual-region-target.is-highlighted{
  border-color:var(--ac-accent);
  background:rgba(168,31,34,.14);
  box-shadow:0 0 0 999px rgba(255,255,255,.18);
  animation:ac-region-highlight .42s var(--ac-ease) 1 both;
}

.casepath-artifact-canvas .ac-visual-source figcaption strong,
.casepath-artifact-canvas .ac-visual-source figcaption small{
  display:block;
}

.casepath-artifact-canvas .ac-visual-source figcaption strong{
  color:var(--ac-ink);
  font-size:12px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-visual-source figcaption small,
.casepath-artifact-canvas .ac-visual-source-unverified{
  margin-top:6px;
  color:var(--ac-quiet);
  font-size:9px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-build-source-select{
  border-style:dashed;
  border-left-style:solid;
  background:rgba(255,255,255,.96);
}

.casepath-artifact-canvas .ac-build-source-select span:after{
  content:"  →";
}

.casepath-artifact-canvas .ac-build-source-reading{
  cursor:default;
}

.casepath-artifact-canvas .ac-source-document-preview{
  display:grid;
  gap:8px;
  padding:10px 12px 11px;
  border:1px solid var(--ac-line);
  border-radius:7px;
  background:linear-gradient(180deg,#fff,#fbfbfc);
}

.casepath-artifact-canvas .ac-build-source-reading .ac-source-document-preview{
  gap:5px;
  padding:7px 9px 8px;
}

.casepath-artifact-canvas .ac-build-source-reading .ac-source-document-preview>p{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-build-source-reading .ac-source-passage{
  max-height:3.25em;
  overflow:hidden;
  line-height:1.55;
}

.casepath-artifact-canvas .ac-source-document-preview>p{
  margin:0;
  color:var(--ac-quiet);
  font-size:8px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-source-document-preview .ac-source-passage{
  margin:0;
}

.casepath-artifact-canvas .ac-visual-source figcaption span{
  display:block;
  margin-top:4px;
  color:var(--ac-quiet);
  font-size:8px;
  line-height:1.4;
}

.casepath-artifact-canvas .ac-build-source-reading>header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  gap:2px 10px;
  margin-bottom:6px;
  padding-bottom:6px;
  border-bottom:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-build-source-reading>header small,
.casepath-artifact-canvas .ac-build-source-reading>header strong{
  grid-column:1;
}

.casepath-artifact-canvas .ac-build-source-reading>header strong{
  margin:0;
  overflow:hidden;
  font-family:inherit;
  font-size:11px;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.casepath-artifact-canvas .ac-build-source-reading>header span{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  margin:0;
  color:var(--ac-quiet);
  font-size:8px;
}

.casepath-artifact-canvas .ac-build-source-highlight{
  border-left-color:var(--ac-accent);
  background:linear-gradient(110deg,var(--ac-accent-soft),#fff 56%);
}

.casepath-artifact-canvas .ac-build-finding{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:2px;
  margin-top:7px;
  padding:6px 0 0;
  border-top:1px solid var(--ac-line);
}

.casepath-artifact-canvas .ac-build-finding small{
  color:var(--ac-accent);
  font-size:8px;
}

.casepath-artifact-canvas .ac-build-finding strong{
  margin:0;
  font-family:inherit;
  font-size:10px;
  font-weight:700;
}

.casepath-artifact-canvas .ac-build-finding span{
  margin:0;
  color:var(--ac-muted);
  font-size:9px;
}

.casepath-artifact-canvas .ac-build-open-source{
  display:inline-flex;
  width:auto;
  min-height:28px;
  align-items:center;
  margin-top:9px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-accent);
  font:700 9px/1.2 var(--ac-font);
  cursor:pointer;
}

.casepath-artifact-canvas .ac-source-to-decision{
  position:absolute;
  right:-26px;
  top:50%;
  width:22px;
  height:1px;
  background:var(--ac-accent);
}

.casepath-artifact-canvas .ac-build-source-reading mark{
  cursor:pointer;
}

.casepath-artifact-canvas .ac-build-inspection .ac-visual-source{
  grid-template-columns:1fr;
  gap:8px;
  margin-top:10px;
}

.casepath-artifact-canvas .ac-build-inspection .ac-visual-source figcaption small{
  font-size:8px;
}

.casepath-artifact-canvas .is-agent-clicked{
  box-shadow:0 0 0 4px rgba(168,31,34,.12);
}

.casepath-artifact-canvas mark.is-agent-clicked{
  background:rgba(168,31,34,.2);
}

.casepath-artifact-canvas .ac-visual-region-target.is-agent-clicked{
  background:rgba(168,31,34,.22);
  box-shadow:0 0 0 4px rgba(168,31,34,.13),0 0 0 999px rgba(255,255,255,.18);
}

.casepath-artifact-canvas .ac-agent-cursor{
  transition:transform .62s var(--ac-ease);
}

.casepath-artifact-canvas .ac-fact-inspection-target{
  min-height:38px;
  margin-top:14px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ac-accent);
  font-size:11px;
  line-height:1.2;
  font-weight:740;
}

.casepath-artifact-canvas .ac-fact-inspection-target:after{
  content:"  →";
}

.casepath-artifact-canvas .ac-fact-finding{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  column-gap:18px;
  width:min(700px,100%);
  margin-top:18px;
  padding:2px 0 2px 16px;
  border-left:2px solid var(--ac-accent);
}

.casepath-artifact-canvas .ac-fact-finding small{
  grid-row:1 / span 3;
  padding-top:3px;
  color:var(--ac-accent);
}

.casepath-artifact-canvas .ac-fact-finding h3{
  margin:0;
  font-size:14px;
  line-height:1.3;
  letter-spacing:-.01em;
}

.casepath-artifact-canvas .ac-fact-finding strong{
  margin-top:3px;
  font-size:16px;
  line-height:1.35;
  font-weight:700;
}

.casepath-artifact-canvas .ac-fact-finding p{
  margin:5px 0 0;
  color:var(--ac-muted);
  font-size:11px;
  line-height:1.5;
}

.casepath-artifact-canvas .ac-fact-source-focus{
  width:min(880px,100%);
}

.casepath-artifact-canvas .ac-source-passage,
.casepath-artifact-canvas .ac-source-field{
  position:relative;
  overflow:hidden;
}

.casepath-artifact-canvas .is-source-selected .ac-source-passage:after,
.casepath-artifact-canvas .ac-source-field.is-highlighted:after,
.casepath-artifact-canvas .ac-build-source-highlight .ac-source-passage:after{
  content:"";
  position:absolute;
  z-index:2;
  top:0;
  bottom:0;
  width:2px;
  background:linear-gradient(180deg,transparent,var(--ac-accent),transparent);
  box-shadow:0 0 14px rgba(168,31,34,.24);
  animation:ac-source-scan .9s var(--ac-ease) 1 both;
  pointer-events:none;
}

.casepath-artifact-canvas .ac-source-field{
  display:grid;
  grid-template-columns:minmax(120px,.65fr) minmax(0,1fr);
  align-items:center;
  gap:16px;
  min-height:74px;
  margin-top:15px;
  padding:13px 16px;
  border:1px solid var(--ac-line);
  border-left:2px solid var(--ac-line-strong);
  background:#fff;
  color:var(--ac-ink);
  text-align:left;
}

.casepath-artifact-canvas .ac-source-field.is-highlighted{
  border-left-color:var(--ac-accent);
  background:var(--ac-accent-soft);
}

.casepath-artifact-canvas .ac-source-field small{
  color:var(--ac-quiet);
  font-size:10px;
  line-height:1.35;
  font-weight:700;
  text-transform:capitalize;
}

.casepath-artifact-canvas .ac-source-field strong{
  font-size:15px;
  line-height:1.35;
}

.casepath-artifact-canvas .ac-extraction-pending{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
  color:var(--ac-quiet);
  font-size:10px;
}

.casepath-artifact-canvas .ac-extraction-pending span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--ac-accent);
  font-weight:760;
}

.casepath-artifact-canvas .ac-extraction-pending span:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  border:1px solid var(--ac-line-strong);
  background:#fff;
}

.casepath-artifact-canvas .ac-extraction-pending.is-extracting span:before{
  border-color:var(--ac-accent);
  background:var(--ac-accent);
  animation:ac-extract-pulse .9s ease-in-out 1;
}

.casepath-artifact-canvas .ac-extraction-pending strong{
  font-size:10px;
  font-weight:650;
}

.casepath-artifact-canvas .ac-fact-resolution{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) 58px minmax(240px,.82fr);
  align-items:center;
  width:min(880px,100%);
  margin-top:4px;
}

.casepath-artifact-canvas .ac-fact-resolution .ac-fact-source{
  width:100%;
}

.casepath-artifact-canvas .ac-fact-causal-link{
  position:relative;
  display:grid;
  place-items:center;
  height:1px;
  background:var(--ac-line-strong);
  color:var(--ac-quiet);
  font-size:8px;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.casepath-artifact-canvas .ac-fact-causal-link:after{
  content:"";
  position:absolute;
  right:-1px;
  width:7px;
  height:7px;
  border-top:1px solid var(--ac-line-strong);
  border-right:1px solid var(--ac-line-strong);
  transform:rotate(45deg);
}

.casepath-artifact-canvas .ac-fact-causal-link{
  text-indent:-9999px;
}

.casepath-artifact-canvas .ac-fact-resolution .ac-fact-finding{
  display:block;
  width:auto;
  margin:0;
  padding:14px 0 14px 16px;
  animation:ac-fact-resolve .42s var(--ac-ease) 1 both;
}

.casepath-artifact-canvas .ac-fact-resolution .ac-fact-finding small{
  display:block;
  padding:0;
}

@keyframes ac-source-scan{
  0%{left:0;transform:translateX(-100%)}
  100%{left:100%;transform:translateX(0)}
}

@keyframes ac-highlight-source{
  to{background-size:100% 100%}
}

@keyframes ac-region-highlight{
  from{opacity:.15;transform:scale(.96)}
  to{opacity:1;transform:scale(1)}
}

@keyframes ac-extract-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(168,31,34,0)}
  45%{box-shadow:0 0 0 6px rgba(168,31,34,.12)}
}

@keyframes ac-fact-resolve{
  from{transform:translateX(6px)}
  to{transform:translateX(0)}
}

@media(prefers-reduced-motion:reduce){
  .casepath-artifact-canvas .is-source-selected .ac-source-passage:after,
  .casepath-artifact-canvas .ac-source-field.is-highlighted:after,
  .casepath-artifact-canvas .ac-build-source-highlight .ac-source-passage:after,
  .casepath-artifact-canvas mark.is-highlighted,
  .casepath-artifact-canvas .ac-visual-region-target.is-highlighted,
  .casepath-artifact-canvas .ac-extraction-pending span:before,
  .casepath-artifact-canvas .ac-fact-resolution .ac-fact-finding{
    animation:none!important;
  }
  .casepath-artifact-canvas mark.is-highlighted{
    background-size:100% 100%;
  }
}

@media(max-width:1050px){
  body[data-casepath-artifact-canvas="ready"] .claim-workspace{
    grid-template-columns:248px minmax(0,1fr)!important;
  }
  .casepath-artifact-canvas .ac-work-header{
    min-height:118px;
    padding:18px 28px 14px;
  }
  .casepath-artifact-canvas .ac-work-body{
    padding-inline:28px;
  }
  .casepath-artifact-canvas .ac-spatial-viewport{
    width:100%;
  }
}

@media(max-width:760px){
  body[data-casepath-artifact-canvas="ready"] .appbar{
    padding-inline:14px;
  }
  .casepath-artifact-canvas .ac-work-header{
    min-height:0;
    padding:15px 18px 13px;
  }
  .casepath-artifact-canvas .ac-active-work h2{
    font-size:20px;
  }
  .casepath-artifact-canvas .ac-active-work div>span{
    font-size:11px;
  }
  .casepath-artifact-canvas .ac-team{
    gap:9px;
  }
  .casepath-artifact-canvas .ac-team li,
  .casepath-artifact-canvas .ac-team li span{
    min-width:32px;
    width:32px;
    height:32px;
  }
  .casepath-artifact-canvas .ac-work-body{
    padding:20px 18px 68px;
  }
  .casepath-artifact-canvas .ac-stage-focus h3,
  .casepath-artifact-canvas .ac-decision-focus h3{
    font-size:clamp(29px,9vw,40px);
  }
  .casepath-artifact-canvas .ac-memory-effects{
    grid-template-columns:1fr 1fr;
  }
}

/* Final desktop cascade lock: approved source / graph / audit composition. */
html[data-casepath-release="20.0.0"]{
  --header:64px;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .appbar{
  height:64px;
  grid-template-columns:232px minmax(0,1fr) auto;
  gap:0;
  padding:0 18px 0 22px;
  border-bottom:1px solid #e3e5e8;
  background:#fff;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .brand{
  gap:0;
  min-width:0;
  color:#1b1c20;
  font-size:20px;
  font-weight:760;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .brand-mark{
  display:none;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .claim-workspace{
  grid-template-columns:252px minmax(0,1fr)!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane{
  border-right:1px solid #e3e5e8!important;
  background:#fff!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-head{
  display:grid!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-head>div{
  display:flex!important;
  align-items:center;
  min-height:62px;
  padding:0 20px;
  border-bottom:1px solid #e3e5e8;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .submission-head .quiet-label{
  color:#202226;
  font-size:14px;
  font-weight:720;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle{
  min-height:76px!important;
  padding:13px 18px!important;
  border-bottom:1px solid #e3e5e8!important;
  border-radius:0!important;
  background:#fff!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-copy strong{
  color:#202226;
  font-size:11px;
  font-weight:720;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-copy strong:before{
  content:"1  ";
  color:#707680;
  font-weight:650;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-copy small{
  max-width:202px;
  color:#707680;
  font-size:8px;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle.is-active{
  background:linear-gradient(135deg,#95151f,#7d0e18)!important;
  box-shadow:inset 3px 0 #600812!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle.is-active strong,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle.is-active small,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle.is-active strong:before{
  color:#fff!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane .submission-scroll,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .submission-pane.collapsed .submission-scroll{
  display:block!important;
  max-height:calc(100dvh - 202px)!important;
  padding:0!important;
  overflow-y:auto!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment]:not([data-casepath-moment="start"]) .customer-email,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachments-block>header{
  display:none;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachments-block{
  margin:0;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-list{
  display:grid;
  gap:0;
  counter-reset:source-row 1;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-row{
  counter-increment:source-row;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:12px!important;
  min-height:76px!important;
  margin:0;
  padding:11px 16px!important;
  border:0!important;
  border-bottom:1px solid #e3e5e8!important;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  transform:none;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-thumb{
  width:48px!important;
  height:42px!important;
  border:1px solid #d9dce1!important;
  border-radius:5px!important;
  background:#fff;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-title{
  color:#202226;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:680;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-title:before{
  content:counter(source-row) "  ";
  color:#707680;
  font-weight:650;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-meta{
  display:-webkit-box;
  margin-top:3px;
  overflow:hidden;
  color:#707680;
  font-size:8px;
  line-height:1.35;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-open{
  display:none;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active{
  border-color:#7d0e18!important;
  background:linear-gradient(135deg,#95151f,#7d0e18)!important;
  box-shadow:inset 3px 0 #600812!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active .attachment-title,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active .attachment-title:before,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .attachment-row.is-active .attachment-meta{
  color:#fff!important;
}

.ac-global-agent-work .ac-team button>span{
  width:24px;
  height:24px;
  border:0;
  border-radius:0;
}

.ac-global-agent-work .ac-team button>span svg,
.casepath-artifact-canvas .ac-agent-audit>header>div>span svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.casepath-artifact-canvas .ac-work-body{
  min-height:0;
  padding:10px 30px 42px;
  overflow:hidden;
}

.casepath-artifact-canvas[data-agent-audit-open="true"] .ac-work-body{
  padding-right:320px;
}

.casepath-artifact-canvas .ac-process{
  min-height:0;
}

.casepath-artifact-canvas .ac-process-copy,
.casepath-artifact-canvas .ac-process-status{
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  overflow:hidden;
  clip-path:inset(50%);
}

.casepath-artifact-canvas .ac-spatial-viewport{
  width:100%;
  min-width:0;
  height:clamp(620px,calc(100dvh - 160px),740px);
}

.casepath-artifact-canvas .ac-spatial-edges path{
  stroke:#aeb4bc;
  stroke-width:1.05;
}

.casepath-artifact-canvas .ac-spatial-edges path[data-source-proof="true"]{
  stroke:#a81f22;
  stroke-width:1.2;
  stroke-dasharray:3 4;
  opacity:.68;
}

.casepath-artifact-canvas .ac-process-track li{
  width:112px!important;
  transform:translate(-50%,-50%)!important;
}

.casepath-artifact-canvas .ac-process-track li button{
  width:112px;
  min-height:82px;
  padding:18px 10px 10px;
  border:1px solid #b9bec5;
  border-radius:4px;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-process-track li button>span,
.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button>span{
  position:absolute!important;
  top:-13px;
  left:50%;
  width:26px!important;
  height:26px!important;
  transform:translateX(-50%);
  border:1px solid #aeb4bc!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#626873!important;
  font-size:9px;
  box-shadow:none!important;
}

.casepath-artifact-canvas .ac-process-track li button small,
.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button small{
  position:static;
  width:auto;
  color:#202226;
  font-size:13px;
  line-height:1.25;
  font-weight:600;
  text-align:center;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"]{
  width:142px!important;
  transform:translate(-50%,-50%)!important;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button{
  width:142px;
  min-height:100px;
  border:2px solid #a81f22;
}

.casepath-artifact-canvas .ac-process-track li[data-spatial-role="hub"] button>span{
  border-color:#a81f22!important;
  background:#a81f22!important;
  color:#fff!important;
}

.casepath-artifact-canvas .ac-process-track li[data-selected="true"] button{
  border-color:#a81f22;
  box-shadow:0 0 0 3px rgba(168,31,34,.06);
}

.casepath-artifact-canvas .ac-spatial-branch{
  width:136px;
  min-height:72px;
  padding:10px;
  transform:translate(-50%,-50%);
  border:1px dashed #b8bdc5;
  border-radius:6px;
  background:#fff;
  color:#25272b;
}

.casepath-artifact-canvas .ac-spatial-branch strong{
  color:inherit;
  font-size:11px;
  line-height:1.28;
}

.casepath-artifact-canvas .ac-spatial-law-marker{
  --spatial-x:25!important;
  --spatial-y:27!important;
  display:inline-flex;
  min-height:26px;
  border-color:rgba(168,31,34,.28);
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-evidence-relationship{
  display:block;
  width:292px;
  padding:12px 0 10px;
  border:0;
  border-top:1px solid #e3e5e8;
  border-bottom:1px solid #e3e5e8;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-spatial-viewport:has(.ac-node-causal-chain) .ac-evidence-relationship{
  display:none;
}

.casepath-artifact-canvas .ac-spatial-detail,
.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-spatial-detail{
  top:63%;
  bottom:auto;
  left:3%;
  width:72%;
  max-width:none;
}

.casepath-artifact-canvas .ac-spatial-detail .ac-spatial-node-detail{
  padding:0;
  border:0;
}

.casepath-artifact-canvas .ac-spatial-node-detail>span,
.casepath-artifact-canvas .ac-spatial-node-detail>strong{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.casepath-artifact-canvas .ac-build-inspection,
.casepath-artifact-canvas .ac-grounding-disclosure .ac-node-source-preview{
  width:min(620px,76%);
  min-height:112px;
  padding:11px 13px;
  border:1px solid #d7dade;
  border-radius:6px;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-node-source-preview strong{
  border-left:0;
  background:linear-gradient(180deg,transparent 42%,rgba(168,31,34,.1) 42%,rgba(168,31,34,.1) 92%,transparent 92%);
}

.casepath-artifact-canvas .ac-node-causal-chain{
  width:100%;
  margin-top:12px;
  border:1px solid #d7dade;
  border-radius:6px;
  background:#fff;
}

.casepath-artifact-canvas .ac-node-causal-chain>div{
  min-height:82px;
  padding:11px 12px;
}

.casepath-artifact-canvas .ac-node-causal-chain small{
  color:#a81f22;
  font-size:9px;
}

.casepath-artifact-canvas .ac-node-causal-chain strong{
  margin-top:9px;
  color:#202226;
  font-size:10px;
  line-height:1.35;
}

.casepath-artifact-canvas .ac-agent-audit{
  top:0;
  right:0;
  bottom:34px;
  width:292px;
  border-left:1px solid #e3e5e8;
  background:#fff;
}

.casepath-artifact-canvas .ac-agent-audit>header>div>span{
  border:0;
  border-radius:0;
}

.casepath-artifact-canvas .ac-stage-focus:not(.ac-fact-source-focus):not(.ac-law-focus)>p,
.casepath-artifact-canvas .ac-decision-focus>header>p,
.casepath-artifact-canvas .ac-later-memory-retrieval>span{
  display:none;
}

.casepath-artifact-canvas .ac-memory-graph-delta{
  width:min(520px,58%);
  padding:14px 0;
  border-top:1px solid #d7dade;
  border-bottom:1px solid #d7dade;
  background:#fff;
  box-shadow:none;
}

.casepath-artifact-canvas .ac-memory-before-after{
  display:grid;
  grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);
  gap:8px;
  margin-top:9px;
}

.casepath-artifact-canvas .ac-memory-graph-delta>p{
  margin:8px 0 0;
  color:#59606a;
  font-size:10px;
}

/* Whole-journey correction: five useful specialists, calm source reading, one payoff path. */
html[data-casepath-release="20.0.0"] [data-ac-global-agent-work] [data-ac-agent-id="orchestrator_plan"]{
  display:none;
}

.casepath-artifact-canvas .ac-fact-source-focus{
  width:min(940px,100%);
}

.casepath-artifact-canvas .ac-fact-source-focus>h3{
  max-width:none;
  margin:2px 0 14px;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-.015em;
}

.casepath-artifact-canvas .ac-fact-source{
  width:min(900px,100%);
  padding:16px 0 20px;
}

.casepath-artifact-canvas .ac-source-document-preview{
  min-height:148px;
  margin-top:14px;
  padding:18px 20px 20px;
  gap:9px;
  border-radius:4px;
  background:#fff;
}

.casepath-artifact-canvas .ac-source-document-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding-bottom:9px;
  border-bottom:1px solid #eceef0;
}

.casepath-artifact-canvas .ac-source-document-head strong{
  color:#202226;
  font-size:11px;
  font-weight:700;
}

.casepath-artifact-canvas .ac-source-document-head small{
  color:#6b727c;
  font-size:9px;
}

.casepath-artifact-canvas .ac-source-document-preview>p{
  font-size:10px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-source-document-preview .ac-source-passage{
  display:grid;
  gap:8px;
  max-width:none;
  padding:12px 16px;
  border-left:2px solid #aeb4bc;
  background:#fbfbfc;
}

.casepath-artifact-canvas .ac-source-passage>small{
  color:#6b727c;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.casepath-artifact-canvas .ac-source-passage mark{
  width:max-content;
  max-width:100%;
}

.casepath-artifact-canvas .ac-review-applied-note:before{
  left:50%;
  top:auto;
  bottom:100%;
  width:1px;
  height:18px;
}

.casepath-artifact-canvas .ac-graph-verification:before,
.casepath-artifact-canvas .ac-knowledge-graph-note:before,
.casepath-artifact-canvas .ac-later-memory-retrieval:before,
.casepath-artifact-canvas .ac-memory-graph-delta:before{
  left:50%;
  right:auto;
  top:auto;
  bottom:100%;
  width:1px;
  height:18px;
  background:#aeb4bc;
}

html[data-casepath-release="20.0.0"] [data-ac-global-agent-work][data-reference-replay="true"] .ac-global-task small{
  color:#6b727c;
}

/* The desktop source rail is always the first visual anchor, including before analysis. */
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .v21-source-summary-toggle{
  display:grid!important;
  width:100%!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:center;
  text-align:left;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"] .customer-email,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment="start"] .email-body{
  display:none!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment="start"] .submission-head{
  display:grid!important;
  min-height:0!important;
  height:auto!important;
  flex:0 0 auto!important;
  grid-template-rows:62px 76px;
  grid-template-columns:minmax(0,1fr);
  padding:0!important;
  border:0!important;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment="start"] .submission-head>div{
  display:flex!important;
  align-items:center;
  min-height:62px;
  padding:0 20px;
  border-bottom:1px solid #e3e5e8;
}

html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment="start"] .submission-head>div,
html[data-casepath-release="20.0.0"] body[data-casepath-artifact-canvas="ready"][data-casepath-moment="start"] .v21-source-summary-toggle{
  width:100%!important;
  box-sizing:border-box;
}

.casepath-artifact-canvas .ac-agent-cursor{
  transition:transform .62s var(--ac-ease);
}

/* Payoff states stay graph-native, but their one consequence must be readable at a glance. */
.casepath-artifact-canvas .ac-review-graph-edit{
  width:360px;
  padding-bottom:15px;
}

.casepath-artifact-canvas .ac-review-graph-edit>small,
.casepath-artifact-canvas .ac-review-applied-note>small{
  font-size:10px;
}

.casepath-artifact-canvas .ac-review-change{
  margin-top:10px;
  font-size:14px;
}

.casepath-artifact-canvas .ac-review-graph-edit>p{
  max-width:340px;
  margin-top:10px;
  font-size:11px;
  line-height:1.5;
}

.casepath-artifact-canvas .ac-review-graph-edit>button{
  min-height:38px;
  margin-top:12px;
  padding:0 16px;
  font-size:11px;
}

.casepath-artifact-canvas .ac-review-applied-note{
  width:360px;
  padding-top:13px;
}

.casepath-artifact-canvas .ac-review-applied-note>strong{
  font-size:15px;
}

.casepath-artifact-canvas .ac-review-applied-note>span{
  font-size:11px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-review-applied-note>em{
  font-size:10px;
  line-height:1.45;
}

.casepath-artifact-canvas .ac-graph-verification,
.casepath-artifact-canvas .ac-knowledge-graph-note{
  width:340px;
  padding:13px 0 12px 15px;
}

.casepath-artifact-canvas .ac-later-memory-retrieval{
  width:380px;
  padding:13px 0 12px 15px;
}

.casepath-artifact-canvas .ac-graph-verification>strong,
.casepath-artifact-canvas .ac-knowledge-graph-note>strong,
.casepath-artifact-canvas .ac-later-memory-retrieval>strong{
  font-size:16px;
}

.casepath-artifact-canvas .ac-graph-verification>span,
.casepath-artifact-canvas .ac-knowledge-graph-note>span,
.casepath-artifact-canvas .ac-later-memory-retrieval>span{
  font-size:11px;
}

.casepath-artifact-canvas .ac-memory-graph-delta{
  width:min(620px,64%);
  padding:17px 0 15px;
}

.casepath-artifact-canvas .ac-memory-graph-delta>header strong{
  font-size:16px;
}

.casepath-artifact-canvas .ac-memory-graph-delta>header span,
.casepath-artifact-canvas .ac-memory-graph-delta>p{
  font-size:10px;
  line-height:1.45;
}

/* Show only the reasoning path a person needs to follow. */
.casepath-artifact-canvas .ac-spatial-edges path[data-spatial-path="uncertainty"]{
  stroke:#c8ccd1;
  stroke-width:.85;
  opacity:.48;
}

.casepath-artifact-canvas .ac-spatial-edges path[data-spatial-path="next-action"][data-edge-state="selected"]{
  stroke:#a81f22;
  stroke-width:2;
  stroke-dasharray:none;
  opacity:1;
}

.casepath-artifact-canvas .ac-spatial-branch:not([data-branch-state="selected"]){
  opacity:1;
  border-color:#d4d8de;
  color:#626873;
}

.casepath-artifact-canvas .ac-spatial-branch[data-branch-state="selected"]{
  opacity:1;
  border-style:solid;
  border-color:#a81f22;
  background:#fff;
}

/* Source previews are the artifact itself, not an AI description of it. */
.casepath-artifact-canvas .ac-source-page-excerpt{
  display:block!important;
  max-height:9.5em!important;
  overflow:hidden;
  color:#525861;
  font:400 11px/1.62 Georgia,"Times New Roman",serif;
  white-space:pre-wrap;
}

.casepath-artifact-canvas .ac-source-page-excerpt>span,
.casepath-artifact-canvas .ac-source-page-excerpt>mark,
.casepath-artifact-canvas .ac-source-page-excerpt>button{
  display:inline;
}

.casepath-artifact-canvas .ac-source-page-excerpt>mark{
  color:#17191c;
  font-weight:700;
}

.casepath-artifact-canvas .ac-source-page-excerpt>button.ac-source-exact-control[data-source-exact-control="true"]{
  color:inherit;
  font-weight:400;
}

.casepath-artifact-canvas .ac-source-page-excerpt>mark.ac-source-exact-mark.is-highlighted[data-source-exact-mark="true"]{
  color:#17191c;
  font-weight:700;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"]{
  display:grid;
  gap:0;
  padding:0;
  overflow:hidden;
  color:#202226;
  text-align:left;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-document-preview{
  min-height:0;
  margin:0;
  padding:13px 15px 14px;
  border:0;
  border-radius:0;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-document-head strong{
  border:0;
  background:none;
  color:#202226;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-page-excerpt{
  max-height:7em!important;
  padding:10px 12px;
}

.casepath-artifact-canvas .ac-node-source-open{
  display:flex;
  min-height:34px;
  align-items:center;
  padding:0 15px;
  border:0;
  border-top:1px solid #eceef0;
  background:#fff;
  color:#a81f22;
  font:700 9px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;
  cursor:pointer;
}

/* The selected evidence stays visually primary; the causal consequence stays compact. */
.casepath-artifact-canvas .ac-grounding-disclosure .ac-node-source-preview[data-node-attachment-kind="fact"]{
  width:min(760px,100%);
  min-height:0;
  border-color:#dfe2e6;
  border-radius:8px;
  background:#fff;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-document-preview{
  padding:0;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-document-head{
  padding:9px 13px 8px;
  border-bottom:1px solid #e7e9ec;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-document-head strong{
  font-size:11px;
  letter-spacing:-.01em;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-document-head small{
  font-size:9px;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-page-excerpt{
  max-height:6.8em!important;
  margin:10px 13px 11px;
  padding:10px 13px;
  border:1px solid #ebe8e3;
  border-left:0;
  border-radius:3px;
  background:#faf9f7;
  color:#56595f;
  font-size:11px;
  line-height:1.62;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-page-excerpt mark{
  padding:2px 3px;
  background:rgba(168,31,34,.12);
  color:#17191c;
  font-weight:700;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}

.casepath-artifact-canvas .ac-node-source-preview[data-node-attachment-kind="fact"] .ac-source-page-excerpt>span{
  color:#56595f;
}

.casepath-artifact-canvas .ac-node-source-open{
  min-height:28px;
  justify-content:flex-end;
  padding:0 14px;
  color:#666d76;
  font-size:8.5px;
}

.casepath-artifact-canvas .ac-node-source-open:hover,
.casepath-artifact-canvas .ac-node-source-open:focus-visible{
  color:#a81f22;
}

.casepath-artifact-canvas .ac-node-causal-chain{
  margin-top:10px;
  overflow:hidden;
  border:0;
  border-top:1px solid #dfe2e6;
  border-bottom:1px solid #dfe2e6;
  border-radius:0;
}

.casepath-artifact-canvas .ac-node-causal-chain>div{
  min-height:66px;
  padding:9px 11px 10px;
}

.casepath-artifact-canvas .ac-node-causal-chain small{
  color:#6b727c;
  font-size:8.5px;
}

.casepath-artifact-canvas .ac-node-causal-chain strong{
  margin-top:5px;
  font-size:10px;
}

.casepath-artifact-canvas .ac-node-causal-chain button{
  margin-top:3px;
  font-size:8px;
}

.casepath-artifact-canvas .ac-node-causal-chain>div[data-chain-part="document"]{
  background:rgba(168,31,34,.035);
}

/* A quiet cumulative trail makes the live source sequence legible at a glance. */
.casepath-artifact-canvas .ac-fact-source-focus{
  position:relative;
}

.casepath-artifact-canvas .ac-source-inspection-trail{
  position:absolute;
  top:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  max-width:500px;
  margin:0;
  padding:0;
  list-style:none;
}

.casepath-artifact-canvas .ac-source-inspection-trail li{
  z-index:calc(1 + var(--trail-order));
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  align-items:center;
  gap:7px;
  width:102px;
  min-height:45px;
  margin-left:-7px;
  padding:6px 8px;
  border:1px solid #dfe2e6;
  border-radius:9px;
  background:#fff;
  box-shadow:0 3px 10px rgba(22,25,30,.04);
  color:#59606a;
  opacity:.5;
  transform:translateY(1px);
  transition:border-color .22s var(--ac-ease),opacity .22s var(--ac-ease),transform .22s var(--ac-ease);
}

.casepath-artifact-canvas .ac-source-inspection-trail li[data-source-trail-state="opening"]{
  border-style:dashed;
  opacity:.76;
}

.casepath-artifact-canvas .ac-source-inspection-trail li[data-source-trail-state="active"]{
  z-index:12;
  border-color:rgba(168,31,34,.52);
  color:#202226;
  opacity:1;
  transform:translateY(-2px);
}

.casepath-artifact-canvas .ac-source-inspection-trail i{
  position:relative;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  overflow:hidden;
  border:1px solid #e3e5e8;
  border-radius:6px;
  background:#fafafa;
  color:#707780;
  font:750 7px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  font-style:normal;
}

.casepath-artifact-canvas .ac-source-inspection-trail i:before{content:"DOC"}
.casepath-artifact-canvas .ac-source-inspection-trail i[data-source-kind="message"]:before{content:"···";font-size:12px}
.casepath-artifact-canvas .ac-source-inspection-trail i[data-source-kind="pdf"]:before{content:"PDF"}
.casepath-artifact-canvas .ac-source-inspection-trail i[data-source-kind="letter"]:before{content:"✉";font-size:12px}
.casepath-artifact-canvas .ac-source-inspection-trail i[data-source-kind="timeline"]:before{content:"•••";letter-spacing:-1px}
.casepath-artifact-canvas .ac-source-inspection-trail i[data-source-kind="receipt"]:before{content:"✓";font-size:13px}
.casepath-artifact-canvas .ac-source-inspection-trail i[data-source-kind="photo"]:before{content:""}

.casepath-artifact-canvas .ac-source-inspection-trail i img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.casepath-artifact-canvas .ac-source-inspection-trail span,
.casepath-artifact-canvas .ac-source-inspection-trail small,
.casepath-artifact-canvas .ac-source-inspection-trail strong{
  display:block;
  min-width:0;
}

.casepath-artifact-canvas .ac-source-inspection-trail small{
  color:#8a9098;
  font-size:6.5px;
  font-weight:760;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.casepath-artifact-canvas .ac-source-inspection-trail strong{
  display:-webkit-box;
  overflow:hidden;
  margin-top:2px;
  color:inherit;
  font-size:8px;
  line-height:1.2;
  font-weight:680;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.casepath-artifact-canvas .ac-fact-source-focus>h3{
  max-width:430px;
}

/* Final desktop ownership: source proof never leaves the graph viewport. */
.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-spatial-detail{
  top:min(53%,calc(100% - 346px))!important;
  bottom:auto!important;
  left:3%!important;
  width:min(760px,72%)!important;
  max-height:none;
}

.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-build-inspection{
  width:100%!important;
  min-height:0;
  max-height:264px;
  overflow:hidden;
  box-sizing:border-box;
}

.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-build-inspection .ac-visual-source{
  grid-template-columns:230px minmax(0,1fr);
  align-items:center;
  gap:14px;
  max-height:176px;
  margin-top:8px;
}

.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-build-inspection .ac-visual-source-frame{
  width:230px;
  max-height:173px;
}

.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-build-inspection .ac-visual-source-frame img{
  width:230px;
  height:auto;
}

.casepath-artifact-canvas .ac-process[data-process-construction-state="building"] .ac-build-finding{
  margin-top:5px;
  padding-top:5px;
}

/* The learning payoff is one useful action; audit mechanics stay on demand. */
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-graph-delta{
  width:min(570px,61%);
  padding:17px 0 14px;
  border-top:1px solid #cfd3d8;
  border-bottom:1px solid #e1e4e8;
  background:#fff;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-graph-delta>small{
  color:#a81f22;
  font-size:9px;
  line-height:1.25;
  font-weight:780;
  letter-spacing:.025em;
  text-transform:uppercase;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-action{
  display:block;
  max-width:520px;
  margin-top:7px;
  color:#17191c;
  font-size:22px;
  line-height:1.16;
  font-weight:720;
  letter-spacing:-.028em;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-graph-delta>p{
  margin-top:8px;
  color:#626974;
  font-size:10px;
  line-height:1.45;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-graph-delta>details{
  margin-top:10px;
  border:0;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-graph-delta>details>summary{
  width:max-content;
  padding:3px 0;
  color:#666d76;
  font-size:9px;
  font-weight:700;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-memory-proof-summary{
  margin-top:8px;
  color:#363a40;
  font-size:10px;
  font-weight:680;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-process-track li:not([data-ac-node-id="causation"]):not([data-ac-node-id="ventilation_dispute"]){
  opacity:0!important;
  pointer-events:none;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-spatial-edges path[data-spatial-path="accepted"],
body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-spatial-edges path[data-spatial-path="next-action"]{
  display:none;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-spatial-branch{
  grid-template-columns:minmax(0,1fr);
  width:142px;
}

body[data-casepath-moment="later-result"] .casepath-artifact-canvas .ac-spatial-branch>span{
  display:none;
}

/* Evidence-bound node progress: one calm arc on the active specialist, never a generic loader. */
@property --ac-process-node-progress{
  syntax:"<percentage>";
  inherits:false;
  initial-value:0%;
}

.casepath-artifact-canvas .ac-agent-cursor{
  --ac-process-node-progress:0%;
}

.casepath-artifact-canvas .ac-agent-cursor[data-process-node-progress="active"]{
  transition:transform .62s var(--ac-ease),--ac-process-node-progress .42s var(--ac-ease);
}

.casepath-artifact-canvas .ac-agent-cursor>.ac-cursor-role-icon:after{
  content:"";
  position:absolute;
  inset:-4px;
  padding:1.5px;
  border-radius:13px;
  background:conic-gradient(from -90deg,var(--cursor-color) var(--ac-process-node-progress),color-mix(in srgb,var(--cursor-color) 14%,transparent) 0);
  opacity:0;
  pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  transition:opacity .16s ease;
}

.casepath-artifact-canvas .ac-agent-cursor[data-process-node-progress="active"]>.ac-cursor-role-icon:after{
  opacity:1;
}

.casepath-artifact-canvas .ac-agent-cursor[data-process-node-progress="active"] .ac-agent-cursor-label{
  min-width:154px;
}

.casepath-artifact-canvas .ac-process-node-progress{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-top:5px;
  padding-top:5px;
  border-top:1px solid color-mix(in srgb,var(--cursor-color) 15%,var(--ac-line));
}

.casepath-artifact-canvas .ac-process-node-progress[hidden]{
  display:none!important;
}

.casepath-artifact-canvas .ac-agent-cursor-label .ac-process-node-progress small{
  color:var(--ac-muted);
  font-size:8px;
  line-height:1.2;
  font-weight:650;
  letter-spacing:.005em;
}

.casepath-artifact-canvas .ac-agent-cursor-label .ac-process-node-progress strong{
  margin:0;
  color:var(--cursor-color);
  font-size:9px;
  line-height:1;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.01em;
}

@media(prefers-reduced-motion:reduce){
  .casepath-artifact-canvas .ac-agent-cursor[data-process-node-progress="active"]{
    transition:none;
  }

  .casepath-artifact-canvas .ac-agent-cursor>.ac-cursor-role-icon:after{
    transition:none;
  }
}
