/* IBM i ecosystem and landing-page navigation; static and printable. */
.mr-overview-note {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--bs-border-color, #b7d9cb);
  border-left: .3rem solid #2d6a4f;
  border-radius: .5rem;
  background: var(--bs-tertiary-bg, #f5faf7);
}
.mr-overview-note p { margin: .5rem 0 0; }
.mr-ecosystem-layers { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .8rem; }
.mr-ecosystem-layers li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border: 1px solid var(--bs-border-color, #cbd5e1); border-radius: .5rem; background: var(--bs-tertiary-bg, #f8fafc); }
.mr-layer-number { display: grid; place-items: center; flex: 0 0 2rem; width: 2rem; height: 2rem; border-radius: 50%; background: #2554a4; color: #fff; font-weight: 700; }
.mr-ecosystem-layers strong { display: block; margin-bottom: .4rem; }
.mr-ecosystem-layers p { margin: 0; }
.mr-route-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1rem 0; }
.mr-route { padding: 1rem; border: 1px solid var(--bs-border-color, #cbd5e1); border-top: .3rem solid; border-radius: .5rem; background: var(--bs-tertiary-bg, #f8fafc); }
.mr-route h3 { margin: 0 0 .75rem; font-size: 1.1rem; }
.mr-route-easy { border-top-color: #2d6a4f; }
.mr-route-advanced { border-top-color: #7544a5; }
.mr-route p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .mr-route-grid { grid-template-columns: 1fr; } }
@media print { .mr-route, .mr-ecosystem-layers li { break-inside: avoid; } }

/* Architecture uses the green layered-box convention of Mainframe. */
.mr-architecture { border: 2px solid var(--bs-border-color, #555); padding: 1rem; margin: 1.25rem 0 1.75rem; border-radius: .35rem; }
.mr-architecture-title { font-weight: 700; font-size: 1.2rem; margin-bottom: .8rem; }
.mr-architecture-row { display: flex; gap: .65rem; margin-bottom: .65rem; }
.mr-architecture-box { flex: 1; min-width: 0; background: #287a4b; color: #fff; text-align: center; padding: .85rem .65rem; border-radius: 4px; }
.mr-architecture-box b, .mr-architecture-box span { display: block; }
.mr-architecture-box span { margin-top: .35rem; font-size: .88rem; line-height: 1.45; }
.mr-architecture-data { border-radius: 1.5rem / .65rem; border: 2px solid #175c35; }
.mr-architecture-context { background: #405a66; }
.mr-architecture-connector { text-align: center; font-size: 1.5rem; line-height: 1; margin: -.2rem 0 .5rem; color: var(--bs-body-color, #374151); }
.mr-architecture figcaption { margin-top: .9rem; font-size: .85rem; line-height: 1.5; }
@media (max-width: 600px) { .mr-architecture-row { flex-direction: column; } }
@media print { .mr-architecture { break-inside: avoid; } }


/* Static workflow annotations, matching the Mainframe diagram. */
.mr-process-platform { left: 19%; top: 16%; }
.mr-process-extract { left: 29%; top: 31%; }
.mr-process-files { left: 40%; top: 40%; }
.mr-process-analyzers { left: 52%; top: 76%; }
.mr-process-rules { left: 72%; top: 65%; }
.mr-process-graph { left: 80%; top: 87%; }

.mr-process-diagram .corner-badge { width: 280px; height: 140px; padding-top: 24px; }
.mr-process-diagram .title-corner-badge.small { font-size: 34px; }
