/** MEMM Architecture Explorer. Isolated, opt-in public route stylesheet. */
.memm-arch-page { --arch-navy:#061a30; --arch-deep:#071f37; --arch-teal:#51ddcb; --arch-muted:#bad0e2; --arch-border:rgba(105,221,226,.26); background:#f5f9fc; color:#123252; }
.memm-arch-page *, .memm-arch-page *::before, .memm-arch-page *::after { box-sizing:border-box; }
.memm-arch-page a:focus-visible, .memm-arch-page button:focus-visible, .memm-arch-page summary:focus-visible, .memm-arch-page [tabindex]:focus-visible { outline:3px solid #0ab5a8; outline-offset:4px; }
.memm-arch-page h1, .memm-arch-page h2, .memm-arch-page h3, .memm-arch-page h4, .memm-arch-page p { margin-top:0; }
.memm-arch-page .wrap { width:min(1280px,calc(100% - 48px)); max-width:1280px; margin-inline:auto; }
.memm-arch-hero { background:radial-gradient(ellipse at 84% 15%,rgba(26,189,190,.21),transparent 38%),radial-gradient(ellipse at 16% 86%,rgba(82,53,159,.24),transparent 43%),linear-gradient(142deg,#081b30,#062038 53%,#06182d); color:#f4fbff; padding:36px 0 77px; overflow:hidden; }
.memm-arch-breadcrumb { display:flex; gap:11px; align-items:center; color:#9cbdcd; font-size:.86rem; margin-bottom:60px; }
.memm-arch-breadcrumb a { color:#b5dae1; text-decoration:none; }
.memm-arch-breadcrumb a:hover { text-decoration:underline; }
.memm-arch-hero-layout { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(320px,.75fr); gap:clamp(26px,5vw,84px); align-items:center; }
.memm-arch-kicker, .memm-arch-eyebrow { display:inline-flex; gap:10px; align-items:center; font-size:.78rem; line-height:1.5; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--arch-teal); }
.memm-arch-kicker>span { width:9px; height:9px; background:#2fe9d4; border-radius:50%; box-shadow:0 0 0 6px #31d8cf25; }
.memm-arch-hero h1 { max-width:790px; margin:21px 0 24px; font-size:clamp(2.5rem,5vw,4.65rem); font-weight:830; line-height:1.07; letter-spacing:-.055em; color:#fff; }
.memm-arch-hero-copy>p { max-width:720px; color:#c4d9e8; line-height:1.75; font-size:clamp(1.04rem,1.6vw,1.21rem); margin-bottom:28px; }
.memm-arch-actions { display:flex; flex-wrap:wrap; gap:13px; }
.memm-arch-cta { display:inline-flex; align-items:center; justify-content:center; gap:15px; min-height:47px; border-radius:11px; padding:12px 19px; background:#68e7d7; color:#072f3c!important; font-weight:790; text-decoration:none!important; border:1px solid #80fff0; box-shadow:0 10px 24px rgba(0,13,24,.15); transition:transform .2s,background .2s; }
.memm-arch-cta:hover { background:#93f3e8; transform:translateY(-2px); }
.memm-arch-cta--ghost { color:#e5f8fa!important; background:transparent; border-color:#7695a955; box-shadow:none; }
.memm-arch-cta--ghost:hover { background:#fff1; }
.memm-arch-hero-emblem { min-height:310px; border-radius:26px; padding:30px; border:1px solid #55bbcb88; background:radial-gradient(circle at 77% 57%,#29547368 0 25%,transparent 26%),linear-gradient(137deg,#16364c,#0b2b40 54%,#061d33); box-shadow:0 32px 60px #01142770,inset 0 1px 0 #d8ffff25; display:flex; flex-direction:column; justify-content:space-between; }
.memm-arch-hero-emblem-top { display:flex; justify-content:space-between; border-bottom:1px solid #bdf7ff35; padding-bottom:23px; font-size:.72rem; letter-spacing:.15em; font-weight:800; color:#aad9e5; }
.memm-arch-hero-emblem-top span:last-child { color:#77ece0; }
.memm-arch-hero-emblem-main { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.memm-arch-hero-emblem-main b { font-size:clamp(2.9rem,5vw,5.15rem); color:#8af0dd; line-height:1; letter-spacing:-.06em; }
.memm-arch-hero-emblem-main strong { color:#fff; letter-spacing:.09em; font-size:clamp(.85rem,1.6vw,1.22rem); }
.memm-arch-hero-emblem-bottom { display:flex; justify-content:space-between; gap:8px; border-top:1px solid #a8fbfb2f; padding-top:17px; color:#abd0db; font-weight:760; font-size:.64rem; letter-spacing:.10em; }
.memm-arch-scope-line { margin:28px 0 0; color:#98baca; font-size:.85rem; }
.memm-arch-explorer, .memm-arch-layers, .memm-arch-cases { padding:clamp(55px,7vw,94px) 0; }
.memm-arch-explorer { background:#f5f9fc; }
.memm-arch-section-title { display:flex; gap:28px; justify-content:space-between; align-items:flex-end; margin-bottom:28px; }
.memm-arch-section-title>div { flex:1 1 55%; }
.memm-arch-section-title>p { flex:1 1 36%; max-width:430px; margin-bottom:5px; color:#53718d; line-height:1.65; }
.memm-arch-eyebrow { color:#046f83; margin-bottom:9px; }
.memm-arch-section-title h2 { font-size:clamp(1.8rem,3vw,2.9rem); line-height:1.12; color:#0a2d4c; letter-spacing:-.04em; margin:3px 0 0; }
.memm-arch-workspace { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(290px,.83fr); gap:17px; align-items:start; }
.memm-arch-visual { background:linear-gradient(150deg,#0e2d49,#071a2f); border:1px solid #316e8a; box-shadow:0 17px 40px #0a36501a; border-radius:21px; color:#d7f1f7; padding:18px; min-width:0; }
.memm-arch-visual-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:5px 5px 15px; color:#abdce7; font-weight:770; font-size:.9rem; }
.memm-arch-zoom { display:flex; align-items:center; gap:6px; }
.memm-arch-zoom button { background:#143a55; border:1px solid #69bed358; color:#e8ffff; border-radius:8px; font:inherit; font-size:1.16rem; min-width:36px; height:34px; cursor:pointer; }
.memm-arch-zoom button:hover { border-color:#69e5d5; background:#20516e; }
.memm-arch-zoom output { min-width:50px; font-size:.78rem; text-align:center; color:#afcbdc; font-variant-numeric:tabular-nums; }
.memm-arch-zoom .memm-arch-reset { padding:0 10px; font-size:.76rem; white-space:nowrap; }
.memm-arch-zoom .memm-arch-reading { padding:0 12px; min-width:112px; font-size:.77rem; white-space:nowrap; border-color:#6fe8d5; background:#0d5565; color:#ecfffc; }
.memm-arch-zoom .memm-arch-reading[aria-pressed="true"] { background:#70e4d7; color:#062f3c; border-color:#90f9ea; }
.memm-arch-workspace.memm-arch-workspace--reading { grid-template-columns:minmax(0,1fr); }
.memm-arch-workspace--reading .memm-arch-inspector { position:static; }
/* At desktop widths, reading mode uses the full workspace; at <=1024px the accessible HTML layers replace the undersized SVG. */
/* At 100%, the entire architecture must fit: never crop the SVG behind nested scrollbars. */
.memm-arch-viewer { overflow:hidden; width:100%; min-width:0; background:#081e33; border-radius:13px; border:1px solid #79d7e248; max-height:none; }
/* Scrolling is enabled only for deliberate magnification above the fit-to-view level. */
.memm-arch-viewer--zoomed { overflow:auto; overscroll-behavior:contain; max-height:min(750px, 78vh); scrollbar-color:#287a89 #0a2b42; }
.memm-arch-viewer img { display:block; width:100%; max-width:none; height:auto; }

/* True diagram interaction using responsive hit regions; no inline styles or external SVG script. */
.memm-arch-canvas { position:relative; width:100%; }
.memm-arch-hotspot { position:absolute; appearance:none; border:2px solid transparent; background:transparent; border-radius:7px; padding:0; cursor:pointer; color:transparent; font-size:0; z-index:1; }
.memm-arch-hotspot:hover, .memm-arch-hotspot:focus-visible { border-color:#79fae8; background:rgba(49,238,210,.19); box-shadow:0 0 0 2px rgba(1,31,46,.68),0 0 24px rgba(8,228,204,.32); outline:none; }
.memm-arch-hotspot[aria-pressed="true"] { border-color:rgba(106,238,217,.52); }
.memm-arch-hotspot--insured { left:27.38095%; top:31.66667%; width:14.58333%; height:6.83333%; }
.memm-arch-hotspot--flow { left:42.61905%; top:31.66667%; width:14.58333%; height:6.83333%; }
.memm-arch-hotspot--fd { left:57.85714%; top:31.66667%; width:14.58333%; height:6.83333%; }
.memm-arch-hotspot--client { left:33.80952%; top:39.25000%; width:15.89286%; height:4.08333%; }
.memm-arch-hotspot--hcl { left:50.41667%; top:39.25000%; width:15.89286%; height:4.08333%; }
.memm-arch-hotspot--consent { left:27.32143%; top:48.41667%; width:14.46429%; height:4.83333%; }
.memm-arch-hotspot--iam { left:42.55952%; top:48.41667%; width:14.46429%; height:4.83333%; }
.memm-arch-hotspot--policy { left:57.79762%; top:48.41667%; width:14.64286%; height:4.83333%; }
.memm-arch-hotspot--bpmn { left:27.32143%; top:58.33333%; width:22.08333%; height:3.50000%; }
.memm-arch-hotspot--workflow { left:50.35714%; top:58.33333%; width:22.08333%; height:3.50000%; }
.memm-arch-hotspot--integration-copilot { left:27.26190%; top:67.50000%; width:10.95238%; height:5.16667%; }
.memm-arch-hotspot--spec-intelligence { left:38.69048%; top:67.50000%; width:10.95238%; height:5.16667%; }
.memm-arch-hotspot--workflow-copilot { left:50.11905%; top:67.50000%; width:10.95238%; height:5.16667%; }
.memm-arch-hotspot--operations-assistant { left:61.54762%; top:67.50000%; width:10.95238%; height:5.16667%; }
.memm-arch-hotspot--epa { left:22.97619%; top:90.00000%; width:17.26190%; height:5.25000%; }
.memm-arch-hotspot--erezept { left:41.36905%; top:90.00000%; width:17.26190%; height:5.25000%; }
.memm-arch-hotspot--dipag { left:59.76190%; top:90.00000%; width:17.26190%; height:5.25000%; }

.memm-arch-evidence-path { margin-top:14px; background:linear-gradient(104deg,#0b4156,#123552); border:1px solid #70e6d866; border-radius:12px; padding:13px 16px; color:#d9f9f6; }
.memm-arch-evidence-path>strong { display:block; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:9px; color:#9ff0e7; }
.memm-arch-evidence-path ol { list-style:none; display:flex; align-items:stretch; gap:21px; padding:0; margin:0; }
.memm-arch-evidence-path li { background:#0c2c45; border:1px solid #82e5d555; border-radius:8px; flex:1; position:relative; padding:10px; font-size:.77rem; line-height:1.35; }
.memm-arch-evidence-path li:not(:last-child)::after { content:'→'; position:absolute; right:-18px; top:50%; transform:translateY(-50%); font-size:1rem; color:#75f1dc; }
.memm-arch-trace { display:flex; gap:13px; align-items:center; background:linear-gradient(90deg,#176075a1,#172f50); border:1px solid #70e6d8aa; border-radius:12px; margin:14px 0 0; padding:14px 15px; }
.memm-arch-trace-sigil { font-size:2rem; color:#86f7e5; line-height:1; }
.memm-arch-trace>div { display:flex; flex-direction:column; gap:3px; flex:1; min-width:0; }
.memm-arch-trace strong { font-size:.93rem; color:#eaffff; }
.memm-arch-trace small { font-size:.75rem; color:#abcdda; }
.memm-arch-trace button { flex:none; border:1px solid #a8f9ed77; background:#61e6d2; color:#0c3043; width:37px; height:37px; cursor:pointer; border-radius:9px; font-size:1.2rem; }
.memm-arch-footnote { color:#a7c5d7; font-size:.81rem; line-height:1.65; margin:16px 5px 2px; }
.memm-arch-inspector { position:sticky; top:100px; scroll-margin-top:110px; min-width:0; background:#fff; border:1px solid #d4e6f0; border-radius:21px; overflow:hidden; box-shadow:0 15px 40px #133b5812; }
.memm-arch-inspector-head { padding:19px 22px; background:#072c44; display:flex; justify-content:space-between; align-items:center; color:#8ce5db; text-transform:uppercase; letter-spacing:.11em; font-size:.72rem; font-weight:820; }
.memm-arch-inspector-indicator { width:9px; height:9px; border-radius:50%; background:#56edda; box-shadow:0 0 0 5px #68eedd21; }
.memm-arch-inspector h3 { padding:23px 24px 5px; margin:0; color:#102f4a; font-size:1.17rem; }
.memm-arch-detail { padding:8px 24px 24px; }
.memm-arch-detail-group { font-size:.72rem; color:#176f80; text-transform:uppercase; font-weight:800; letter-spacing:.08em; }
.memm-arch-detail h4 { font-size:1.5rem; line-height:1.17; color:#0d2b46; margin:8px 0 21px; letter-spacing:-.025em; }
.memm-arch-detail-part { padding:14px 0; border-top:1px solid #e5edf3; }
.memm-arch-detail-part>span { color:#2d7488; font-size:.72rem; text-transform:uppercase; font-weight:820; letter-spacing:.08em; }
.memm-arch-detail-part p { margin:5px 0 0; color:#3d5970; font-size:.9rem; line-height:1.62; }
.memm-arch-detail-boundary { border-left:3px solid #26ada7; padding-left:12px; background:#f5fbfb; padding-right:8px; }
.memm-arch-detail-link { display:flex; justify-content:space-between; gap:15px; margin-top:19px; color:#056d7e; font-weight:800; text-decoration:none; font-size:.87rem; }
.memm-arch-detail-link:hover { text-decoration:underline; }
.memm-arch-inspector-note { font-size:.74rem; border-top:1px solid #e5eff2; background:#f6fafc; padding:13px 24px; color:#536f82; margin:0; line-height:1.5; }
.memm-arch-explorer [hidden] { display:none!important; }
.memm-arch-layers { background:#eaf3f8; }
.memm-arch-layer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.memm-arch-layer { background:#fff; border:1px solid #d1e3eb; border-radius:18px; padding:20px; box-shadow:0 10px 25px #0b385309; }
.memm-arch-layer--products { grid-column:span 2; border-top:3px solid #12a9af; }
.memm-arch-layer--governance { border-top:3px solid #6bb6e3; }
.memm-arch-layer--process { border-top:3px solid #51a9d3; }
.memm-arch-layer--ai { border-top:3px solid #9673cf; }
.memm-arch-layer--shared { border-top:3px solid #158891; }
.memm-arch-layer--evidence { border-top:3px solid #1dbba7; }
.memm-arch-layer--external { grid-column:span 2; border-top:3px solid #809aae; }
.memm-arch-layer-head { display:flex; align-items:flex-start; gap:14px; margin-bottom:17px; }
.memm-arch-layer-icon { border-radius:10px; display:grid; place-items:center; width:35px; height:35px; background:#dbf7f4; color:#047d87; font-size:1.5rem; flex:none; }
.memm-arch-layer h3 { margin:0 0 4px; color:#0e3752; font-size:1.14rem; line-height:1.25; }
.memm-arch-layer-head p { margin:0; color:#5c768d; line-height:1.6; font-size:.84rem; }
.memm-arch-layer-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.memm-arch-layer--products .memm-arch-layer-items { grid-template-columns:repeat(5,minmax(0,1fr)); }
.memm-arch-layer--external .memm-arch-layer-items { grid-template-columns:repeat(4,minmax(0,1fr)); }
.memm-arch-layer-items button, .memm-arch-accordion-items button { appearance:none; display:flex; align-items:center; justify-content:space-between; text-align:left; gap:8px; width:100%; min-height:59px; padding:12px 13px; background:#eff7fa; border:1px solid #cddfe8; border-radius:11px; color:#0c3e5d; font:inherit; font-size:.87rem; line-height:1.28; font-weight:740; cursor:pointer; }
.memm-arch-layer-items button>span:last-child { color:#0b7282; font-weight:850; flex:none; }
.memm-arch-layer-items button:hover, .memm-arch-accordion-items button:hover { border-color:#1a9aa9; background:#e3f9f7; }
.memm-arch-layer-items button[aria-pressed="true"], .memm-arch-accordion-items button[aria-pressed="true"] { color:#fff; background:#075472; border-color:#008e95; box-shadow:inset 0 0 0 1px #38d9c6; }
.memm-arch-layer-items button[aria-pressed="true"]>span:last-child { color:#8af7dd; }
.memm-arch-mobile-layers { display:none; }
.memm-arch-cases { background:#f8fbfd; }
.memm-arch-case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.memm-arch-case { padding:28px; background:white; border:1px solid #d9e8ed; box-shadow:0 16px 26px #0c35500b; border-radius:17px; }
.memm-arch-case { min-width:0; }
.memm-arch-case h3 { overflow-wrap:anywhere; hyphens:auto; }
.memm-arch-case>span { font-size:.74rem; color:#056b7c; letter-spacing:.1em; font-weight:800; }
.memm-arch-case h3 { margin:20px 0 10px; color:#112f49; font-size:1.18rem; }
.memm-arch-case p { color:#546d80; line-height:1.7; font-size:.91rem; }
.memm-arch-status-note { margin-top:23px; background:#edf7f7; border-left:4px solid #14ac9d; padding:22px 26px; border-radius:0 14px 14px 0; }
.memm-arch-status-note strong { color:#0b3b4c; }
.memm-arch-status-note p { margin:9px 0 12px; color:#486a79; line-height:1.65; }
.memm-arch-status-note a { color:#04778a; font-weight:800; text-decoration:none; }
.memm-arch-contact { background:#f8fbfd; padding:0 0 90px; }
.memm-arch-contact-box { background:radial-gradient(circle at 88% 15%,#176c7455,transparent 28%),linear-gradient(135deg,#082a42,#091c34); border-radius:22px; padding:40px 44px; display:flex; gap:35px; align-items:center; justify-content:space-between; color:white; }
.memm-arch-contact-box h2 { font-size:clamp(1.6rem,3vw,2.55rem); color:#f7ffff; max-width:760px; line-height:1.15; margin:7px 0 13px; }
.memm-arch-contact-box p { color:#bcd7e4; line-height:1.65; margin:0; max-width:700px; }
.memm-arch-contact-box>a { flex-shrink:0; }
@media (max-width:1100px) {
  .memm-arch-hero-layout { grid-template-columns:minmax(0,1fr) minmax(260px,.72fr); }
  .memm-arch-workspace { grid-template-columns:minmax(0,1.5fr) minmax(275px,.9fr); }
  .memm-arch-layer--products .memm-arch-layer-items { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .memm-arch-layer--external .memm-arch-layer-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* At tablet sizes the full 1680px diagram is too small to read at fit-to-view.
   Use the same accessible expandable HTML module list as the phone view. */
@media (max-width:1024px) {
  .memm-arch-visual-heading, .memm-arch-viewer, .memm-arch-zoom { display:none; }
  .memm-arch-layer-grid { display:none; }
  .memm-arch-mobile-layers { display:grid; gap:12px; }
  .memm-arch-accordion { background:#fff; border:1px solid #c9dde8; border-radius:13px; overflow:hidden; }
  .memm-arch-accordion summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px; font-weight:780; color:#11364e; }
  .memm-arch-accordion summary::-webkit-details-marker { display:none; }
  .memm-arch-accordion[open] summary { background:#e0f5f4; }
  .memm-arch-accordion[open] summary span:last-child { transform:rotate(45deg); }
  .memm-arch-accordion>p { color:#4d7188; font-size:.9rem; padding:0 19px; margin:16px 0; line-height:1.55; }
  .memm-arch-accordion-items { display:grid; gap:8px; padding:0 14px 15px; }
  .memm-arch-accordion-items button { min-height:52px; font-size:.95rem; }
  .memm-arch-case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:850px) {
  .memm-arch-hero-layout { grid-template-columns:1fr; }
  .memm-arch-hero-emblem { min-height:230px; }
  .memm-arch-workspace { grid-template-columns:1fr; }
  .memm-arch-inspector { position:static; }
  .memm-arch-section-title { align-items:flex-start; flex-direction:column; gap:8px; }
  .memm-arch-section-title>p { max-width:700px; }
  .memm-arch-contact-box { flex-wrap:wrap; }
}
@media (max-width:700px) {
  .memm-arch-page .wrap { width:min(100% - 32px,1280px); }
  .memm-arch-hero { padding:26px 0 46px; }
  .memm-arch-breadcrumb { margin-bottom:35px; flex-wrap:wrap; }
  .memm-arch-hero h1 { font-size:clamp(2.08rem,9vw,3.3rem); }
  .memm-arch-hero-emblem { min-height:205px; padding:21px; border-radius:18px; }
  .memm-arch-hero-emblem-main b { font-size:3.55rem; }
  .memm-arch-hero-emblem-bottom { font-size:.57rem; }
  .memm-arch-visual-heading, .memm-arch-viewer, .memm-arch-zoom { display:none; }
  .memm-arch-evidence-path ol { flex-direction:column; gap:17px; }
  .memm-arch-evidence-path li:not(:last-child)::after { content:'↓'; top:auto; bottom:-18px; left:50%; right:auto; transform:translateX(-50%); }
  .memm-arch-visual { padding:13px; }
  .memm-arch-trace { margin:0; padding:12px; }
  .memm-arch-explorer, .memm-arch-layers, .memm-arch-cases { padding:53px 0; }
  .memm-arch-layer-grid { display:none; }
  .memm-arch-mobile-layers { display:grid; gap:12px; }
  .memm-arch-case-grid { grid-template-columns:1fr; }
  .memm-arch-case { padding:24px; }
  .memm-arch-contact-box { padding:26px 23px; border-radius:18px; }
  .memm-arch-contact-box>a { width:100%; }
  .memm-arch-inspector h3 { padding:18px 19px 2px; }
  .memm-arch-detail { padding:8px 19px 22px; }
}
@media (prefers-reduced-motion:reduce) {
  .memm-arch-cta { transition:none; }
  .memm-arch-cta:hover { transform:none; }
}

/* Release evidence and buyer steps: compact labels, not a new visual redesign. */
.memm-arch-buyer{background:#eff8fa;border-bottom:1px solid #cadfe8}
.memm-arch-buyer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:14px;padding-bottom:14px}
.memm-arch-buyer-grid p{display:grid;gap:4px;margin:0;padding:9px 12px;border-left:2px solid #238b91}
.memm-arch-buyer-grid strong{color:#123b54;font-size:.79rem}
.memm-arch-buyer-grid span{color:#365769;line-height:1.5;font-size:.79rem}
.memm-arch-evidence-legend{font-size:.78rem;color:#c5e3ec;padding:7px 11px;margin:10px 0 0;background:#11394d;border-left:2px solid #65d6d1}
.memm-arch-evidence-legend strong{color:#effffb}
@media(max-width:760px){.memm-arch-buyer-grid{grid-template-columns:1fr;gap:0}}
