.bot-map{--map-line:#899da9;--map-faint:#627386}.bot-map .page-header{margin-bottom:20px}.bot-map-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.bot-map-toolbar .search-box{flex:1;min-width:220px}.bot-map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:620px;border:1px solid var(--border,#e3e9ef);border-radius:12px;overflow:hidden;background:#fff}.bot-map-viewport{height:660px;overflow:hidden;position:relative;background:#f5f8fa;touch-action:none;cursor:grab;isolation:isolate}.bot-map-viewport:active{cursor:grabbing}.bot-map-viewport:focus-visible{outline:2px solid #216e9b;outline-offset:-3px}.bot-map-space{position:absolute;top:0;left:0;transform-origin:0 0}.bot-map-wires{position:absolute;inset:0;overflow:visible;pointer-events:none;z-index:0}.bot-map-wire{fill:none;stroke:var(--map-line);stroke-width:1.5}.bot-map-wire.is-entry{stroke-dasharray:6 5}.bot-map-wire.is-problem{stroke:#b53242}.bot-map-wire.is-focused{stroke:#216e9b;stroke-width:2}.bot-map-wire.is-focused.is-problem{stroke:#b53242}.bot-map-wires marker path{fill:#718793}.bot-map-column{position:absolute;top:29px;font-size:12px;font-weight:600;letter-spacing:.02em;color:#536575}.bot-map-node{position:absolute;width:244px;height:116px;padding:13px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;border:1px solid #dce5eb;border-radius:12px;background:#fff;color:#232c36;font:inherit;cursor:pointer;z-index:1}.bot-map-node:hover{border-color:#7c9eaf;background:#fbfdff}.bot-map-node:focus-visible{outline:3px solid #216e9b;outline-offset:3px}.bot-map-node.is-entry{background:#eaf4f9;border-color:#cddfe9}.bot-map-node.is-missing{background:#fff1f1;border-color:#dba6ad}.bot-map-node.is-selected{outline:2px solid #216e9b;outline-offset:2px}.bot-map-node.is-dim{opacity:.3}.bot-map-node-type{font-size:11px;display:flex;align-items:center;gap:6px;color:#465e6c;width:100%}.bot-map-node-type .icon{width:14px;height:14px}.bot-map-node strong{font-size:14px;line-height:1.3;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.bot-map-node-meta{font-size:11px;color:#536575;margin-top:auto;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.bot-map-warning{margin-left:auto;border-radius:50%;background:#b53242;color:#fff;width:16px;height:16px;text-align:center;font-weight:700}.bot-map-detail{padding:20px;max-height:660px;overflow:auto;border-left:1px solid #e3e9ef;font-size:13px;line-height:1.55}.bot-map-detail h2{font-size:19px;line-height:1.3;overflow-wrap:anywhere;margin:6px 0 16px}.bot-map-detail h3{font-size:13px;margin:26px 0 10px}.bot-map-detail p{color:#536575}.bot-map-detail-top,.bot-map-detail-heading{display:flex;align-items:center;justify-content:space-between;color:#536575;font-size:12px}.bot-map-detail-heading{justify-content:flex-start;gap:8px;font-weight:650}.bot-map-detail .btn{width:100%;justify-content:center}.bot-map-relations{list-style:none;margin:0;padding:0}.bot-map-relation{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf1f4;padding:11px 0;background:transparent;color:#232c36;font:inherit;cursor:pointer}.bot-map-relation strong,.bot-map-relation span{display:block;overflow-wrap:anywhere}.bot-map-relation span{font-size:12px;color:#536575;margin-top:4px}.bot-map-relation .bot-map-relation-error{color:#a12637}.bot-map-relation:hover strong{color:#216e9b;text-decoration:underline}.bot-map-relation:focus-visible{outline:2px solid #216e9b;outline-offset:2px}.bot-map-steps{margin-top:22px}.bot-map-steps summary{cursor:pointer;font-weight:600}.bot-map-steps ol,.bot-map-steps ul{list-style:none;padding:0}.bot-map-steps li{padding:12px 0;border-bottom:1px solid #edf1f4}.bot-map-steps strong,.bot-map-steps span{display:block}.bot-map-steps span,.bot-map-steps p{font-size:12px;color:#536575}.bot-map-steps p{white-space:pre-line;overflow-wrap:anywhere;margin:7px 0}.bot-map-url{overflow-wrap:anywhere}.bot-map-zoom{position:absolute;bottom:16px;left:16px;display:flex;align-items:center;gap:3px;padding:4px;background:#fff;border:1px solid #dce5eb;border-radius:9px;font-size:12px;z-index:2;cursor:default}.bot-map-zoom>button{border:0;background:transparent;color:#216e9b;padding:7px;cursor:pointer;font:inherit}.bot-map-zoom>button:hover{background:#eef6fa}.bot-map-zoom>button:focus-visible{outline:2px solid #216e9b}.bot-map-zoom>span{min-width:43px;text-align:center;font-variant-numeric:tabular-nums}.bot-map-results{display:flex;gap:8px;flex-wrap:wrap;align-items:center;max-height:140px;overflow:auto;margin:0 0 12px}.bot-map-results:empty{display:none}.bot-map-results button{background:#eef6fa;color:#216e9b;border:1px solid #d5e5ef;border-radius:6px;padding:5px 9px;font:inherit;font-size:12px;cursor:pointer}.bot-map-caption{margin-top:12px}
@media(max-width:1050px){.bot-map-workspace{grid-template-columns:minmax(0,1fr) 260px}.bot-map-detail{padding:16px}.bot-map-toolbar .filter-select{max-width:100%}}
@media(max-width:760px){.bot-map-workspace{grid-template-columns:1fr;min-height:0}.bot-map-viewport{height:55svh;min-height:360px}.bot-map-detail{max-height:450px;border-left:0;border-top:1px solid #e3e9ef}.bot-map-toolbar{gap:8px}.bot-map-toolbar .search-box{flex-basis:100%}.bot-map-toolbar .filter-select{flex:1;min-width:0}.bot-map-zoom{left:10px;bottom:10px}}

.bot-map-level{position:absolute;font-size:12px;line-height:1.4;font-weight:600;color:#536575;white-space:nowrap;pointer-events:none}.bot-map-node{cursor:grab;user-select:none;-webkit-user-select:none}.bot-map-node:active{cursor:grabbing}.bot-map-node-type .bot-map-grip{margin-left:auto;width:15px;height:15px;color:#627386}.bot-map-wire.is-return{stroke-dasharray:5 4;stroke:#735b85}.bot-map-wire.is-return.is-focused{stroke:#735b85}.bot-map-layout-feedback{display:flex;align-items:center;gap:12px;font-size:12px;color:#536575}.bot-map-layout-feedback .is-error{color:#a12637}.bot-map-layout-feedback [hidden]{display:none}
