.xm .xm-figure{position:relative;overflow:hidden;border-radius:20px;background:#eee9e4}.xm-figure img{width:100%;height:auto;display:block}.xm-figure figcaption{position:absolute;bottom:12px;left:12px;border-radius:24px;background:#fff;padding:6px 14px;font-size:12px;color:#374153}.xm .xm-intro{max-width:780px;margin:22px 0 36px;color:var(--xp-muted)}.xm-flow,.xm-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 24px;padding:0}.xm-flow{list-style:none;overflow:hidden;border-radius:18px;background:#f4f1ed}.xm-flow li,.xm-map>div{padding:clamp(20px,2.5vw,36px);min-width:0}.xm-flow li+li{border-left:1px solid #ddd5ce}.xm-flow li:last-child{background:#222a32;color:white}.xm-flow small,.xm-map span{display:block;font-weight:700;letter-spacing:.08em}.xm-flow strong{display:block;font:600 clamp(30px,3.2vw,48px)/1.25 Onest,Arial,sans-serif;margin:18px 0}.xm-flow li:nth-child(2) strong,.xm-map span{color:#a72c30}.xm-flow p,.xm-map p,.xm-detail p{font-size:16px;line-height:1.6}.xm-map>div{border-top:3px solid #bd3838}.xm-map h3{margin:15px 0}.xm-dev{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:clamp(30px,5vw,80px)}.xm-detail{padding-top:21px;margin-top:21px;border-top:1px solid var(--xp-line)}.xm-detail p{margin-top:6px;color:var(--xp-muted)}.xm .xp-faq{margin-top:28px}@media(max-width:780px){.xm-flow,.xm-map,.xm-dev{grid-template-columns:1fr}.xm-flow li+li{border-left:0;border-top:1px solid #ddd5ce}.xm-map>div{border-top:0;border-left:3px solid #bd3838}.xm-map{gap:14px}.xm .xp-hero-grid{grid-template-columns:1fr}.xm .xp-shell{width:calc(100% - 36px)}}

.xm-route,.xm-decisions{display:grid;gap:20px;list-style:none;margin:32px 0 0;padding:0}.xm-route{grid-template-columns:repeat(3,minmax(0,1fr));counter-reset:stage}.xm-route li{position:relative;padding:26px 22px 24px;background:white;border:1px solid var(--xp-line);border-radius:16px}.xm-route-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#f4e8e5;color:#9d292b}.xm-route svg{width:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.xm-route small{position:absolute;right:20px;top:22px;font-weight:700;color:var(--xp-muted)}.xm-route li+li:before{content:'→';position:absolute;left:-22px;top:40px;color:#a4282d;font-weight:bold}.xm-route h3{margin:16px 0 8px}.xm-guide article>p:last-child,.xm-route p,.xm-pilot p{font-size:16px;color:var(--xp-muted)}.xm-decisions{grid-template-columns:repeat(2,minmax(0,1fr))}.xm-decisions article{padding:clamp(20px,3vw,36px);border:1px solid var(--xp-line);border-radius:18px}.xm .xm-fork,.xm .xm-bars{margin:24px 0;padding:18px;background:#f6f3ef;border-radius:12px;text-align:center;color:#202934}.xm-fork>div,.xm-fork span{border:1px solid #b6aca6;border-radius:8px;background:white;padding:6px 8px;font-size:14px}.xm-fork>div{width:fit-content;margin:auto}.xm-fork svg{display:block;height:34px;width:100%;stroke:#ac3536;stroke-width:2;fill:none}.xm-fork figcaption{display:grid;grid-template-columns:1fr 1fr;gap:10px}.xm-bars figcaption{text-align:left;font-size:13px;font-weight:700;margin-bottom:16px}.xm-bars>div{display:grid;align-items:center;grid-template-columns:48px 1fr 69px;gap:9px;text-align:left;font-size:14px;margin:8px 0}.xm-bars i{height:16px;width:80%;border-radius:2px;background:#697484}.xm-bars>div:last-child i{width:100%;background:#ab3336}.xm-bars b{text-align:right}.xm-pilot{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#f7f4f1;padding:28px;margin-top:24px;border-radius:16px}.xm-pilot p{max-width:740px;margin-top:8px}.xm-pilot a{flex-shrink:0}@media(max-width:780px){.xm-route,.xm-decisions{grid-template-columns:1fr}.xm-route li+li:before{content:'↓';top:-23px;left:38px}.xm-pilot{display:grid}.xm-pilot a{justify-self:start}.xm-fork span{padding:6px 2px}}

/* Branded architecture: real text, responsive layout, decorative SVG connectors. */
.xm-architecture{--arch-red:#a72c30;--arch-ink:#222a32;--arch-paper:#f5f2ed}
.xm-arch-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:end;margin-bottom:36px}.xm-arch-heading h2{margin-bottom:0}.xm-arch-heading>p{margin:0;color:var(--xp-muted);font-size:17px;line-height:1.65}
.xm .xm-arch-board{margin:0;padding:clamp(20px,3vw,40px);border:1px solid var(--xp-line);border-radius:24px;background:var(--arch-paper);overflow:hidden}
.xm-arch-topline{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #dcd6cf;padding-bottom:20px;margin-bottom:32px;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#63686c}.xm-arch-topline>span:first-child{color:var(--arch-red)}
.xm-arch-flow{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1.08fr) 56px minmax(0,1fr);align-items:stretch}
.xm-arch-node{min-width:0;background:#fff;border:1px solid #ded8d1;border-radius:16px;padding:clamp(20px,2.2vw,30px);color:var(--arch-ink)}.xm-arch-node-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.xm-arch-number{font-size:12px;letter-spacing:.1em;color:#777c80}.xm-arch-node svg{width:32px;height:32px;fill:none;stroke:var(--arch-red);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.xm-arch-node h3{font-size:clamp(23px,2.3vw,32px);line-height:1.1;margin:0 0 12px}.xm-arch-node>p{font-size:14px;line-height:1.55;margin:0;color:#626870}.xm-arch-node blockquote{border:0;margin:24px 0;padding:0;font-size:17px;line-height:1.55;font-style:normal;color:var(--arch-ink)}.xm-arch-tag{display:inline-block;font-size:11px;padding:7px 10px;border-radius:6px;background:#f4f1ed;color:#626870}.xm-arch-node ul{list-style:none;padding:0;margin:24px 0 0}.xm-arch-node li{font-size:13px;line-height:1.5;margin-top:10px;padding-left:15px;position:relative}.xm-arch-node li:before{position:absolute;left:0;top:.55em;content:'';width:4px;height:4px;background:var(--arch-red);border-radius:50%}
.xm-arch-core{border-color:#a72c30;background:linear-gradient(135deg,#b3393b,#91252a);color:#fff;box-shadow:0 14px 32px #8b2a2920}.xm-arch-core svg{stroke:#fff}.xm-arch-core .xm-arch-number{color:#f6d0ce}.xm-arch-core .xm-arch-brand{color:#ffdfdc;font-size:12px;letter-spacing:.2em;text-transform:uppercase;margin-bottom:6px}.xm-arch-core h3{font-size:clamp(34px,3.5vw,48px)}.xm-arch-core>p{color:#fff0ee}.xm-arch-core li:before{background:#ffd1cb}
.xm-arch-connector{align-self:center;text-align:center;color:var(--arch-red);padding:0 7px}.xm-arch-connector span{display:block;font-size:10px;margin-bottom:9px}.xm-arch-connector svg{width:100%;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;overflow:visible}
.xm-arch-routes{margin-top:32px;padding-top:24px;border-top:1px solid #dcd6cf}.xm-arch-routes-label{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#63686c;margin:0 0 20px}.xm-arch-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.xm-arch-route{min-width:0;border-left:2px solid #c7b8ad;padding-left:16px}.xm-arch-route>span{font-size:11px;color:var(--arch-red);font-weight:600}.xm-arch-route h4{font-size:16px;line-height:1.4;margin:10px 0 8px}.xm-arch-route p{font-size:13px;line-height:1.65;margin:0;color:#626870}.xm-arch-board figcaption{font-size:12px;line-height:1.7;color:#626870;margin-top:28px;padding-top:20px;border-top:1px solid #dcd6cf}
.xm-arch-write{display:grid;grid-template-columns:1fr 2fr;gap:24px;align-items:center;margin-top:28px;padding:22px 24px;background:var(--arch-ink);border-radius:14px;color:#fff}.xm-arch-write>p{font-size:14px;line-height:1.6;margin:0}.xm-arch-write ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;counter-reset:write;margin:0;padding:0}.xm-arch-write li{position:relative;counter-increment:write;font-size:12px;line-height:1.5}.xm-arch-write li:before{content:'0' counter(write);display:block;font-size:11px;color:#f6b7ad;margin-bottom:5px}.xm-arch-write li+li:after{content:'→';position:absolute;top:0;left:-17px;color:#9ca3aa}
.xm-arch-stack{margin-top:24px;border-bottom:1px solid var(--xp-line);padding:0 0 16px}.xm-arch-stack summary{cursor:pointer;font-size:14px;font-weight:600;padding:8px 0}.xm-arch-stack p{font-size:14px;line-height:1.8;color:var(--xp-muted);max-width:920px;margin:14px 0 0}
@media(max-width:1000px){.xm-arch-heading{grid-template-columns:1fr;gap:20px}.xm-arch-flow{grid-template-columns:minmax(0,1fr) 34px minmax(0,1.08fr) 34px minmax(0,1fr)}.xm-arch-connector{padding:0 3px}.xm-arch-node{padding:20px 16px}.xm-arch-write{grid-template-columns:1fr;gap:18px}}
@media(max-width:680px){.xm-arch-heading{margin-bottom:24px}.xm-arch-heading>p{font-size:16px}.xm .xm-arch-board{border-radius:18px;padding:20px}.xm-arch-topline{gap:12px;font-size:9px;margin-bottom:24px}.xm-arch-topline>span:last-child{text-align:right}.xm-arch-flow{grid-template-columns:1fr}.xm-arch-node{padding:24px}.xm-arch-node-top{margin-bottom:18px}.xm-arch-node h3{font-size:28px}.xm-arch-core h3{font-size:42px}.xm-arch-node blockquote{margin:18px 0}.xm-arch-node ul{margin-top:16px}.xm-arch-connector{height:58px;display:flex;align-items:center;justify-content:center;gap:12px}.xm-arch-connector span{margin:0}.xm-arch-connector svg{width:38px;transform:rotate(90deg)}.xm-arch-route-grid{grid-template-columns:1fr;gap:22px}.xm-arch-routes{margin-top:24px}.xm-arch-write{padding:22px 20px}.xm-arch-write ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}.xm-arch-write li+li:after{display:none}}

/* Fill the developer visual column with a readable source-navigation diagram. */
.xm .xm-dev{align-items:start}.xm-dev-visual{display:grid;gap:24px;min-width:0}.xm .xm-dev-visual>.xm-figure{margin:0}.xm-dev-copy{min-width:0}
.xm .xm-code-map{margin:0;padding:clamp(20px,2.5vw,30px);background:#f5f2ed;border:1px solid var(--xp-line);border-radius:20px;min-width:0;color:#222a32}.xm-code-map .xm-code-map-eyebrow{margin:0 0 12px;color:#a72c30;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.1em}.xm-code-map h3{font-size:clamp(19px,2vw,25px);line-height:1.35;margin:0 0 24px}
.xm-code-callers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.xm-code-callers>div{background:#fff;border:1px solid #ddd5ce;border-radius:10px;padding:14px 12px;min-width:0}.xm-code-callers svg{display:block;width:22px;height:22px;fill:none;stroke:#a72c30;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-bottom:10px}.xm-code-callers span{display:block;font-size:12px;font-weight:600;line-height:1.5}.xm-code-callers code{display:block;margin-top:8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.6;color:#687078;overflow-wrap:anywhere}.xm-code-wires{display:block;width:100%;height:36px;fill:none;stroke:#a72c30;stroke-width:1.5;vector-effect:non-scaling-stroke}
.xm-code-definition{background:#222a32;border-radius:12px;overflow:hidden;color:#fff}.xm-code-definition>div{display:flex;align-items:center;gap:8px;padding:13px 16px;border-bottom:1px solid #ffffff20;font-size:10px;line-height:1.5;color:#dddfe3}.xm-code-dot{width:6px;height:6px;flex-shrink:0;background:#e7998f;border-radius:50%}.xm-code-definition>div>span:last-child{margin-left:auto;color:#b6bdc6}.xm-code-definition pre{margin:0;padding:18px 16px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;background:transparent;color:#f4f0ed;border:0}.xm-code-definition code{font:inherit;color:inherit;background:none;padding:0}.xm-code-definition code span{color:#f1b0a4}.xm-code-definition>p{margin:0;padding:0 16px 16px;font-size:10px;color:#f1b0a4;line-height:1.5}.xm-code-map figcaption{position:static;margin:18px 0 0;padding:0;font-size:12px;line-height:1.7;color:#687078;background:none;border-radius:0}
.xm-code-diagnostics{display:flex;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #ddd5ce}.xm-code-diagnostics svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:#a72c30;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.xm-code-diagnostics strong{font-size:12px;font-weight:600;line-height:1.6}.xm-code-diagnostics p{margin:4px 0 0;font-size:11px;line-height:1.6;color:#687078}
@media(max-width:780px){.xm-dev-copy{order:-1}.xm-dev-visual{gap:20px}.xm-code-map h3{font-size:22px}.xm-code-definition pre{font-size:12px}}
@media(max-width:380px){.xm-code-callers{gap:8px}.xm-code-callers>div{padding:12px 9px}.xm-code-callers span{font-size:11px}.xm-code-callers code{font-size:9px}.xm-code-definition pre{font-size:10px;padding:16px 12px}.xm-code-map h3{font-size:20px}}
