.afm{--map-bg:#101520;--map-ink:#f4f4fa;--map-muted:#929bb0;--map-purple:#a594ff;--map-mint:#b9f6dc;color:var(--map-ink);background:var(--map-bg);border:1px solid #2b3042;border-radius:18px;overflow:hidden;text-align:left;font-family:Inter,"Segoe UI",sans-serif;min-width:0;box-shadow:0 28px 80px #00000028}.afm *{box-sizing:border-box}.afm button{font:inherit;cursor:pointer}.afm button:focus-visible,.afm a:focus-visible,.afm-svg:focus-visible{outline:2px solid var(--map-mint);outline-offset:3px}.afm-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-bottom:1px solid #293040;background:#131824}.afm-project{display:flex;align-items:center;gap:10px;flex-shrink:0}.afm-project-icon{width:31px;height:31px;border:1px solid #414256;background:#25283b;color:#d9d2ff;display:grid;place-items:center;border-radius:8px;font-size:16px;font-weight:500}.afm-project strong{display:block;font-size:12px;letter-spacing:-.01em;font-weight:600}.afm-project span:not(.afm-project-icon){font-size:9px;display:block;color:#9099ac;margin-top:3px}.afm-view-toggle{display:flex;gap:3px;padding:3px;background:#0b0f18;border:1px solid #2b3041;border-radius:7px}.afm-view-toggle button{border:0;background:transparent;color:#939db1;font-size:10px;padding:8px 13px;border-radius:4px;white-space:nowrap;transition:color .2s,background .2s}.afm-view-toggle button:hover{color:#fff}.afm-view-toggle button.is-active{background:#302a48;color:#e2daff;box-shadow:inset 0 0 0 1px #67519166}.afm-workspace{display:grid;grid-template-columns:minmax(0,1fr) 282px;min-height:470px}.afm-canvas{position:relative;min-width:0;background-color:#0c111c;background-image:radial-gradient(#47506966 .7px,transparent .7px);background-size:19px 19px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.afm-canvas-caption{position:absolute;top:22px;left:22px;right:22px;display:flex;align-items:center;gap:7px;font-size:10px;z-index:1;pointer-events:none;color:#a7b0c2}.afm-live-dot{width:5px;height:5px;border-radius:100%;background:#b8a8ff}.afm-example-label{margin-left:auto;font-size:7px;letter-spacing:.13em;color:#6f7b91}.afm-svg{display:block;width:100%;height:490px;touch-action:none;cursor:grab;outline-offset:-4px!important}.afm-svg:active{cursor:grabbing}.afm-boundary{fill:#151a2b66;stroke:#3c405a;stroke-width:1;stroke-dasharray:5 6}.afm-boundary-label{fill:#7b849a;font-size:8px;font-weight:500;letter-spacing:1.2px}.afm-edge{cursor:pointer;outline:none}.afm-edge-hit{fill:none;stroke:transparent;stroke-width:20}.afm-edge-line{fill:none;stroke:#4c566e;stroke-width:1.5;transition:stroke .2s,stroke-width .2s}.afm-edge-uncertain .afm-edge-line{stroke-dasharray:4 5}.afm-edge-label{fill:#7f8aa1;font-size:8px;paint-order:stroke;stroke:#0c111c;stroke-width:5;stroke-linejoin:round}.afm-edge:hover .afm-edge-line,.afm-edge:focus-visible .afm-edge-line,.afm-edge.is-selected .afm-edge-line{stroke:#b5a4ff;stroke-width:2.5}.afm-edge.is-selected .afm-edge-label,.afm-edge:focus-visible .afm-edge-label{fill:#e1d8ff}.afm-node{color:#aaa3cc;cursor:pointer;outline:none}.afm-node-box{fill:#171e2c;stroke:#394258;stroke-width:1;transition:fill .2s,stroke .2s}.afm-node-icon-bg{fill:#26283e}.afm-node-name{fill:#e6e9f2;font-size:11px;letter-spacing:-.15px;font-weight:500}.afm-node-kind{fill:#8993a9;font-size:8px}.afm-node-status{fill:#8c96ab;font-size:7px;letter-spacing:.1px}.afm-node-status-dot{fill:#a593ef}.afm-node-documented .afm-node-status-dot,.afm-node-corroborated .afm-node-status-dot{fill:#b9f6dc}.afm-node-unknown .afm-node-status-dot,.afm-node-inferred .afm-node-status-dot{fill:#e3bf80}.afm-node-port{fill:#64718e;stroke:#0d1220;stroke-width:1}.afm-node:hover .afm-node-box,.afm-node:focus-visible .afm-node-box{fill:#242c42;stroke:#a594ff;stroke-width:1.8}.afm-node.is-selected .afm-node-box{fill:#27253e;stroke:#ad99fa;stroke-width:1.5}.afm-node.is-selected .afm-node-icon-bg{fill:#4a396e}.afm-node.is-selected{color:#d1c6ff}.afm-node.is-selected .afm-node-port{fill:#c9baff}.afm-bottom-controls{position:absolute;bottom:18px;left:22px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.afm-map-hint{font-size:9px;color:#778299}.afm-zoom{display:flex;align-items:center;gap:1px;background:#171d2b;border:1px solid #333c50;border-radius:7px;padding:2px;pointer-events:auto}.afm-zoom button{font-size:17px;background:transparent;color:#bac2d3;border:0;width:29px;height:28px;border-radius:4px}.afm-zoom button:hover{background:#31384d;color:white}.afm-zoom output{font-size:9px;min-width:35px;text-align:center;color:#9ba6bb}.afm-zoom button:last-child{border-left:1px solid #353e53;margin-left:2px;font-size:16px}.afm-inspector{background:#141a27;border-left:1px solid #2c3346;padding:23px 21px;max-height:490px;overflow:auto;scrollbar-width:thin;scrollbar-color:#384056 transparent}.afm-inspector-eyebrow{font-size:8px;letter-spacing:.16em;color:#808ba4;display:flex;justify-content:space-between;margin-bottom:22px}.afm-inspector-eyebrow span{font-size:13px;line-height:1}.afm-inspector-title{display:flex;gap:11px;align-items:center;margin-bottom:17px}.afm-large-icon{width:38px;height:38px;background:#332e4b;border:1px solid #51456e;border-radius:10px;display:grid;place-items:center;color:#bca8ff;flex-shrink:0}.afm-large-icon svg{width:23px;height:23px}.afm-inspector h3{font-size:17px;letter-spacing:-.03em;margin:0 0 4px;color:#f4f3fb;line-height:1.25;font-weight:500}.afm-inspector-title div>span{font-size:9px;color:#909ab0}.afm-status{display:inline-flex;align-items:center;gap:5px;background:#a594ff10;color:#c2b6ee;border:1px solid #a594ff2b;border-radius:4px;font-size:8px;padding:5px 7px;line-height:1}.afm-status i{width:4px;height:4px;border-radius:100%;background:currentColor}.afm-status-documented,.afm-status-corroborated{color:#b9e8d1;border-color:#b9f6dc28;background:#b9f6dc0b}.afm-status-unknown,.afm-status-inferred{color:#dfc18f;border-color:#dfc18f28;background:#dfc18f0b}.afm-purpose{font-size:11px;color:#a0aabd;line-height:1.65;margin:15px 0 20px}.afm-facts{margin:0;display:grid;gap:15px}.afm-field dt{font-size:8px;color:#7f8ba2;margin:0 0 5px;letter-spacing:.025em}.afm-field dd{font-size:10px;line-height:1.6;color:#ccd2e0;margin:0}.afm-evidence{display:flex;gap:8px;padding-top:17px;margin-top:20px;border-top:1px solid #2b3346}.afm-evidence-icon{color:#b5efd1;font-size:20px;line-height:1}.afm-evidence strong{color:#b9c3d4;font-size:9px;font-weight:500}.afm-evidence p{font-size:8px;color:#8590a6;line-height:1.5;margin:5px 0 0}.afm-context-note{font-size:9px;line-height:1.65;color:#8893a9;margin:15px 0 0}.afm-explore{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#c8b9ff;margin-top:20px;text-decoration:none;padding-top:15px;border-top:1px solid #2c3346}.afm-explore:hover{color:#e6dfff}.afm-edge-title{font-size:17px!important;line-height:1.5!important;margin-bottom:18px!important}.afm-edge-title span{color:#a38de9;display:inline-block;margin:0 4px}.afm-bottom{padding:13px 22px;display:flex;gap:10px;justify-content:space-between;align-items:center;background:#111723;border-top:1px solid #2a3243;color:#727f98;font-size:8px}.afm-legend{display:flex;flex-wrap:wrap;gap:16px}.afm-legend>span{display:flex;align-items:center;gap:6px}.afm-legend-line{display:inline-block;width:12px;height:1px;background:#8894ae}.afm-legend-dot{width:4px;height:4px;border-radius:100%;background:#b9f6dc;display:inline-block}.afm-legend-gap{width:5px;height:5px;border:1px solid #dbbd89;border-radius:100%;display:inline-block}.afm-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.afm-error{background:#151b2a;color:white;border:1px solid #46516a;padding:30px;border-radius:12px}.afm-error p{color:#aeb7ca}.afm-compact .afm-workspace{grid-template-columns:minmax(0,1fr) 255px;min-height:450px}.afm-compact .afm-svg{height:450px}.afm-compact .afm-inspector{max-height:450px;padding:22px 20px}.afm-compact .afm-inspector-eyebrow{margin-bottom:18px}.afm-compact .afm-purpose{font-size:10px;margin:13px 0 16px}.afm-compact .afm-facts{gap:12px}.afm-compact .afm-context-note{display:none}.afm-compact .afm-evidence{margin-top:15px;padding-top:14px}.afm-compact .afm-explore{margin-top:15px;padding-top:12px}
@media(min-width:1400px){.afm-workspace{grid-template-columns:minmax(0,1fr) 306px}.afm-inspector{padding:25px}.afm-svg,.afm-inspector{height:530px;max-height:530px}.afm-compact .afm-svg{height:480px}.afm-compact .afm-inspector{max-height:480px}}
@media(max-width:1000px){.afm-workspace{grid-template-columns:minmax(0,1fr) 244px}.afm-inspector{padding:20px 17px}.afm-svg{height:455px}.afm-inspector{max-height:455px}.afm-compact .afm-workspace{grid-template-columns:minmax(0,1fr) 220px}.afm-compact .afm-inspector{padding:20px 16px}.afm-canvas-caption{left:16px;right:16px}.afm-example-label{display:none}.afm-map-hint{font-size:8px}.afm-zoom button{width:26px}.afm-topbar{padding:16px}.afm-view-toggle button{padding:8px 10px}}
@media(max-width:760px){.afm{border-radius:12px}.afm-topbar{flex-wrap:wrap;gap:14px}.afm-project{flex:1}.afm-topbar .afm-project span:not(.afm-project-icon){font-size:8px}.afm-view-toggle button{font-size:9px;padding:8px}.afm-workspace,.afm-compact .afm-workspace{grid-template-columns:1fr;min-height:0}.afm-svg,.afm-compact .afm-svg{height:420px}.afm-inspector,.afm-compact .afm-inspector{border-left:0;border-top:1px solid #2c3346;max-height:none;padding:22px}.afm-inspector-eyebrow{margin-bottom:15px}.afm-inspector-title{margin-bottom:12px}.afm-facts,.afm-compact .afm-facts{grid-template-columns:1fr 1fr;gap:18px 24px}.afm-compact .afm-field:nth-child(3){grid-column:1/-1}.afm-purpose,.afm-compact .afm-purpose{font-size:11px;max-width:560px}.afm-bottom{align-items:flex-start;padding:14px 20px;flex-direction:column;gap:13px}.afm-bottom-controls{left:16px;right:16px;bottom:16px}.afm-compact .afm-inspector-title{float:left;margin-right:18px}.afm-compact .afm-status{margin-top:11px}.afm-compact .afm-purpose{clear:both;padding-top:14px}.afm-compact .afm-evidence{display:none}.afm-compact .afm-inspector{padding:18px 20px}.afm-compact .afm-inspector-eyebrow{display:none}.afm-compact .afm-context-note{display:none}.afm-compact .afm-explore{padding-top:12px;margin-top:15px}.afm-inspector h3{font-size:18px}.afm-field dt{font-size:9px}.afm-field dd{font-size:11px}.afm-context-note{font-size:10px}.afm-evidence strong{font-size:10px}.afm-evidence p{font-size:9px}.afm-legend{gap:14px}}
@media(max-width:430px){.afm-topbar{padding:14px}.afm-view-toggle{width:100%}.afm-view-toggle button{flex:1;font-size:10px}.afm-project strong{font-size:13px}.afm-project span:not(.afm-project-icon){font-size:9px!important}.afm-svg,.afm-compact .afm-svg{height:340px}.afm-canvas-caption{font-size:9px;top:17px}.afm-bottom-controls{left:12px;right:12px}.afm-map-hint{max-width:100px;line-height:1.5}.afm-inspector,.afm-compact .afm-inspector{padding:20px 17px}.afm-facts,.afm-compact .afm-facts{gap:16px}.afm-zoom button{width:27px;height:30px}.afm-zoom output{min-width:32px}.afm-bottom{padding:14px 17px}.afm-legend{gap:12px;font-size:7px}}
@media(prefers-reduced-motion:reduce){.afm *{transition:none!important;animation:none!important}}
.afm-mobile-picker{display:none}@media(max-width:760px){.afm-mobile-picker{display:flex;overflow-x:auto;gap:7px;padding:14px 16px;background:#0f1521;border-top:1px solid #293145;scrollbar-width:thin;scrollbar-color:#384056 transparent}.afm-mobile-picker button{white-space:nowrap;border:1px solid #394158;background:#1b2333;border-radius:5px;color:#aab4c8;padding:9px 12px;font-size:10px}.afm-mobile-picker button.is-selected{background:#332a4d;border-color:#7963a7;color:#e0d4ff}}
