/* Estilos das páginas de case (diagramas, anexos e painel de detalhe).
   Mesma paleta do site, sem cor extra. */
.diagram-box{ fill:#FFFFFF; stroke:#121212; stroke-width:1.3; }
.diagram-box.store{ fill:#F4F4F5; stroke:#121212; }
.diagram-box.ext{ fill:#FFFFFF; stroke:#8A8A8E; stroke-width:1.3; stroke-dasharray:3 3; }
.diagram-box.bound{ fill:none; stroke:#B7B7BD; stroke-dasharray:4 4; stroke-width:1.2; }
.diagram-fig text{ font-family: 'JetBrains Mono', ui-monospace, monospace; fill:#121212; }
.diagram-fig text.lbl{ font-size:10.5px; fill:#666666; }
.diagram-fig text.h3lbl{ font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight:600; font-size:13px; fill:#121212; }
.diagram-fig .edge{ stroke:#121212; stroke-width:1.3; fill:none; }
.diagram-fig .edge.faint{ stroke:#9A9AA0; stroke-dasharray:5 4; }
figure.exhibit{
  margin:28px 0 8px;
  padding:20px 20px 16px;
  background:#FFFFFF;
  border:1px solid #E4E4E7;
  border-radius:6px;
}
figure.exhibit svg{ width:100%; height:auto; display:block; }
figure.exhibit figcaption{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #E4E4E7;
  font-size:13.5px;
  color:#555555;
  line-height:1.6;
}
.exhibit-tag{
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#666666;
  margin-bottom:10px;
}
.exhibit-hint{
  font-size:12.5px;
  color:#8A8A8E;
  margin:-4px 0 4px;
}
.node-clickable{ cursor:pointer; }
.node-clickable .diagram-box{ transition:fill .15s ease, stroke .15s ease; }
.node-clickable:hover .diagram-box, .node-clickable:focus-visible .diagram-box{
  fill:#F4F4F5; stroke:#121212; stroke-width:1.8;
}
.node-clickable:focus-visible{ outline:2px solid #121212; outline-offset:3px; border-radius:6px; }
.node-clickable.is-active .diagram-box{ fill:#121212; }
.node-clickable.is-active text{ fill:#FFFFFF; }
.node-clickable.is-active text.lbl{ fill:#D4D4D8; }
#node-detail{
  margin-top:14px;
  padding:16px 18px;
  background:#F4F4F5;
  border:1px solid #E4E4E7;
  border-radius:6px;
  min-height:66px;
}
#node-detail .nd-title{
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size:12px;
  color:#121212;
  font-weight:600;
  margin-bottom:6px;
}
#node-detail .nd-body{
  font-size:13.5px;
  color:#555555;
  line-height:1.6;
}
