.ed-diagram{--ed-ink:var(--ink);--ed-green:var(--brand-dark);--ed-line:var(--line);--ed-red:var(--brand);--ed-paper:var(--paper);margin:28px 0;padding:28px;background:var(--ed-paper);border:1px solid #dce0e5;border-radius:12px;color:var(--ed-ink);font-family:inherit}.ed-diagram *{box-sizing:border-box}.ed-diagram figcaption{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.ed-kicker{display:block;font-size:11px;letter-spacing:2px;color:#626a76;margin-bottom:8px}.ed-diagram figcaption strong{display:block;font-size:18px;font-weight:600;line-height:1.5}.ed-caption-note{font-size:12px;color:#737c88;white-space:nowrap}.ed-architecture{position:relative;display:grid;grid-template-columns:.9fr 1.2fr 1fr 1.1fr;gap:32px;align-items:center;padding:6px 0 54px}.ed-module{position:relative;z-index:1;min-width:0}.ed-module h4{font-size:14px;color:var(--ed-green);font-weight:600;margin:0 0 18px;display:flex;align-items:center;gap:8px}.ed-module h4>span{font:italic 13px Georgia;color:#7b8da5}.ed-node{display:flex;align-items:flex-start;position:relative;gap:10px;padding:17px 15px;border:1px solid #dce0e5;background:#fff;border-radius:8px;box-shadow:0 2px 4px #23477904;min-width:0;flex-wrap:wrap}.ed-node>div{min-width:0;flex:1}.ed-node strong{display:block;font-size:14px;line-height:1.5;font-weight:600}.ed-sub{display:block;color:#626a76;font-size:11px;line-height:1.6;margin-top:6px}.ed-tag{display:table;font-size:10px;line-height:1.5;padding:3px 7px;border:1px solid #dce0e5;color:#687b96;border-radius:4px;margin-top:4px}.ed-node>.ed-tag{flex-basis:auto;margin-left:auto}.ed-step:empty{display:none}.ed-step{font:italic 13px Georgia;color:#7b8da5;padding-top:2px}.ed-primary{border-left:3px solid var(--ed-green)}.ed-dark{background:#234779;border-color:#234779;color:#fff}.ed-dark .ed-sub{color:#e0eaff}.ed-output .ed-node+.ed-node{margin-top:12px}.ed-production{background:#edf1f8;border:1px solid #dce3ee;padding:16px 12px;border-radius:10px}.ed-production .ed-node{padding:14px 12px}.ed-production h4{margin-bottom:16px}.ed-down{text-align:center;font-size:18px;line-height:1;color:#8a9bb2;padding:9px}.ed-footnote{font-size:11px!important;line-height:1.6!important;color:#737c88;margin:12px 0 0}.ed-connections{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}.ed-return{display:flex;align-items:center;gap:12px;border-top:1px solid #dce0e5;padding-top:17px;font-size:11px;color:#737c88}.ed-return>span:first-child,.ed-agent-return>span:first-child{font-size:21px;color:var(--ed-red)}.ed-return strong,.ed-agent-return strong{color:var(--ed-red);font-size:12px;white-space:nowrap}.ed-legend{display:flex;gap:8px;flex-wrap:wrap}.ed-legend>span{font-size:10px;white-space:nowrap;border:1px solid #dce0e5;border-radius:4px;padding:4px 7px;color:#687b96;background:#fff}.ed-legend .manual{border-color:#b4c5df;color:var(--ed-red)}.ed-legend .feedback{border-style:dashed;color:var(--ed-red)}.ed-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.ed-stage{position:relative;border-radius:9px;background:#edf1f8;padding:18px;min-width:0}.ed-stage>header{padding-bottom:20px;border-bottom:1px solid #d4deed;min-height:98px;position:relative}.ed-stage>header>span{font:italic 15px Georgia;color:#7b8da5;float:right}.ed-stage header h4{font-size:17px;color:var(--ed-green);margin:0 0 9px}.ed-stage header p{font-size:11px!important;line-height:1.5!important;color:#737c88;margin:0}.ed-stage:not(:last-child)>header:after{content:'→';position:absolute;right:-43px;top:14px;color:#7b8da5;font-size:20px}.ed-stage ol{list-style:none;padding:0;margin:20px 0 0}.ed-stage li{padding:0;margin:0;position:relative}.ed-stage li+li{padding-top:26px}.ed-stage li+li:before{content:'↓';position:absolute;top:3px;left:50%;color:#8a9bb2;font-size:15px}.ed-agent .ed-node{padding:15px 12px;gap:9px}.ed-agent .ed-node>.ed-tag{margin-left:23px}.ed-manual{border-color:#a8bbd9}.ed-manual .ed-tag{color:var(--ed-red);border-color:#b4c5df;background:#f3f6fb}.ed-feedback .ed-tag{color:var(--ed-red);border-color:#b4c5df;border-style:dashed}.ed-agent-return{display:flex;align-items:center;gap:12px;border:1px dashed #b4c5df;border-radius:6px;padding:12px 16px;margin-top:22px;font-size:11px;color:#626a76}.ed-orbit{height:500px;position:relative;max-width:1000px;margin:0 auto}.ed-orbit-lines{position:absolute;inset:0;width:100%;height:100%}.ed-orbit ol{list-style:none;margin:0;padding:0}.ed-orbit li{position:absolute;width:184px;transform:translate(-50%,-50%)}.ed-orbit .ed-node{padding:16px}.orbit-01{left:50%;top:12%}.orbit-02{left:83%;top:39%}.orbit-03{left:70%;top:82%}.orbit-04{left:30%;top:82%}.orbit-05{left:17%;top:39%}.ed-orbit-center{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);text-align:center}.ed-orbit-center>span{font-size:11px;letter-spacing:2px;color:var(--ed-red)}.ed-orbit-center strong{display:block;font-size:24px;line-height:1.5;margin:10px 0}.ed-orbit-center small{font-size:10px;color:#737c88}.ed-data{margin-bottom:0}.ed-node:focus-within{outline:2px solid #234779}
@media(min-width:768px) and (max-width:1100px){.ed-diagram{padding:22px 18px}.ed-architecture{gap:22px}.ed-node{padding:12px 10px}.ed-node strong{font-size:13px}.ed-sub{font-size:10px}.ed-stage-grid{gap:24px}.ed-stage{padding:12px}.ed-stage:not(:last-child)>header:after{right:-32px}.ed-orbit li{width:160px}}
@media(max-width:900px){.ed-diagram{padding:22px 16px;margin:24px 0}.ed-diagram figcaption{display:block;margin-bottom:24px}.ed-diagram figcaption strong{font-size:17px}.ed-caption-note{display:block;margin-top:12px;font-size:11px}.ed-architecture{display:flex;flex-direction:column;gap:32px;align-items:stretch;padding-bottom:0}.ed-module{width:100%}.ed-module:not(:last-of-type):after{content:'↓';position:absolute;bottom:-26px;left:50%;color:#7b8da5}.ed-module h4{margin-bottom:12px}.ed-node strong{font-size:15px}.ed-sub{font-size:12px}.ed-tag{font-size:11px}.ed-connections{display:none}.ed-return{align-items:flex-start;flex-wrap:wrap;margin-top:24px;gap:8px}.ed-return>span:last-child{flex-basis:100%;line-height:1.8}.ed-stage-grid{grid-template-columns:1fr;gap:30px}.ed-stage{padding:18px}.ed-stage header{min-height:0;padding-bottom:16px}.ed-stage:not(:last-child)>header:after{display:none}.ed-stage:not(:last-child):after{content:'↓';position:absolute;left:50%;bottom:-25px;color:#7b8da5}.ed-legend{margin-top:16px}.ed-stage li+li{padding-top:26px}.ed-stage .ed-node>.ed-tag{margin-left:auto}.ed-agent-return{display:flex;flex-wrap:wrap;gap:8px}.ed-agent-return>span:last-child{flex-basis:100%;line-height:1.8}.ed-orbit{height:auto}.ed-orbit-lines{display:none}.ed-orbit-center{position:static;transform:none;text-align:left;background:#edf1f8;border-radius:8px;padding:18px;margin-bottom:24px}.ed-orbit-center strong{font-size:20px;margin:8px 0}.ed-orbit-center strong br{display:none}.ed-orbit ol{border-left:1px solid #d4deed;margin-left:8px;padding-left:19px}.ed-orbit li{position:relative;left:auto;top:auto;width:auto;transform:none;padding-bottom:28px}.ed-orbit li:before{content:'';position:absolute;left:-24px;top:27px;width:9px;height:9px;border:2px solid var(--ed-paper);background:#7b8da5;border-radius:50%}.ed-orbit li:last-child{padding-bottom:0}.ed-orbit li+li:after{content:'↓';position:absolute;top:-24px;left:50%;font-size:16px;color:#8a9bb2}.ed-orbit li:last-child .ed-node{border-color:#a8bbd9}.ed-node{flex-wrap:wrap}.ed-footnote{font-size:12px!important}}

.ed-orbit .ed-node>div{flex-basis:calc(100% - 34px)}.ed-orbit .ed-node>.ed-tag{margin-left:23px}.ed-system .ed-node>div{flex-basis:100%}.ed-system .ed-node>.ed-tag{margin-left:0}.ed-data .ed-node strong{white-space:nowrap}
/* Keep the feedback label close to its actual return connector. */
.ed-system .ed-architecture{padding-bottom:34px}.ed-system .ed-return{border-top:0;padding-top:0;margin-top:0}
@media(max-width:900px){.ed-system .ed-architecture{padding-bottom:0}.ed-system .ed-return{margin-top:20px}}
