/* A quiet blue palette and a spacious business map. */
:root{--accent:#3168a3;--muted:#7c8da2;--border:#e1e8f1;--soft:#edf3fb;color:#263d59;background:#f6f8fc}
body{background:#f6f8fc}.brandmark{background:#386da5}.brand small{letter-spacing:1.6px}.sidebar{border-color:#e3eaf2}.nav button:hover{background:#f4f7fc}.btn.primary:hover{background:#285a90}.object-back{margin-bottom:24px}.object-trips{margin-top:24px}
.topbar{background:#fff}.btn:focus-visible,.iconbtn:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#83a9d4}
.workspace>.topbar{height:48px;justify-content:flex-end;background:transparent;border-bottom:0}
.scheme-main{max-width:none;padding:24px 32px 16px}.scheme-main>.footer-note{display:none}
.scheme-toolbar{display:flex;justify-content:space-between;align-items:center;height:40px;margin-bottom:12px}
.scheme-toolbar h1{font-size:23px;font-weight:500;letter-spacing:-.5px;color:#334f70}
.business-canvas{position:relative;isolation:isolate;height:calc(100dvh - 190px);min-height:560px;max-height:940px;background:#f8faff;border-radius:14px}
.business-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.business-links path{stroke:#d1dfef;stroke-width:1.3;vector-effect:non-scaling-stroke;fill:none}
.business-links .point-link{stroke:#d6e1ef;stroke-dasharray:4 6}
.business-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-48px);width:184px;display:flex;align-items:center;flex-direction:column;gap:15px;padding:0;border:0;background:transparent;font-size:15px;font-weight:500;line-height:1.4;z-index:1}
.business-node:focus-visible{outline:0}.business-node:focus-visible .node-circle{outline:3px solid #83a9d4;outline-offset:5px}
.node-circle{width:96px;height:96px;border-radius:50%;border:1px solid #c5d7eb;background:#f1f6fc;display:grid;place-items:center;color:#517ca9;transition:background .18s,border-color .18s,box-shadow .18s}
.node-circle svg{width:37px;height:37px;stroke-width:1.25}
.node-name{color:#506b8a;text-align:center;white-space:nowrap}
.business-node:hover .node-circle{background:#e9f1fc;border-color:#91b2d6}
.business-node.is-open .node-circle{background:#e5effc;border-color:#6b99c9;box-shadow:0 0 0 5px #edf3fc}
.business-node.is-open .node-name{color:#2f6196}
.business-node.hub{transform:translate(-50%,-57px);width:210px;font-size:17px}
.hub .node-circle{width:114px;height:114px;border-color:#b5cde5;background:#eaf2fd;color:#386fa7}
.hub .node-circle svg{width:44px;height:44px}
.points-node{transform:translate(-50%,-34px);gap:12px;font-size:14px}
.points-node .node-circle{width:68px;height:68px;background:#f7faff;border-style:dashed;color:#7897b9}
.points-node .node-circle svg{width:28px;height:28px}
.thought-window{position:absolute;width:264px;max-width:calc(100% - 32px);z-index:5;background:#fff;border:1px solid #d3e0ef;border-radius:16px;box-shadow:0 10px 36px #2c568a10;animation:thought-in .16s ease-out;transform-origin:left center}
.thought-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:7px 8px 0 19px;padding:4px 0 8px;border-bottom:1px solid #edf2f8}
.thought-heading h2{font-size:14px;font-weight:500;color:#5d7897;line-height:1.4}
.thought-heading .iconbtn{width:36px;height:36px;min-width:36px;min-height:36px;color:#8a9cb0}.thought-heading svg{width:16px;height:16px}
.thought-actions{padding:8px}.thought-actions button{display:flex;align-items:center;gap:11px;min-height:46px;padding:10px 11px;border:0;border-radius:8px;background:transparent;width:100%;text-align:left;font-size:14px;color:#365b83}
.thought-actions button:hover{background:#f0f5fc}.thought-actions button svg{width:18px;height:18px;color:#6e91b9;stroke-width:1.5}.thought-actions button span{flex:1}.thought-actions button svg:last-child{width:14px;color:#a5b9d0}
.thought-link{position:absolute;left:-28px;top:var(--thought-y,60px);width:28px;height:1px;pointer-events:none}
.thought-link i{position:absolute;display:block;border-radius:50%;border:1px solid #cadbef;background:#edf4fd}
.thought-link i:first-child{width:7px;height:7px;left:0;top:-3px}.thought-link i:last-child{width:12px;height:12px;left:11px;top:-6px}
.opens-left{transform-origin:right center}.opens-left .thought-link{left:auto;right:-28px;transform:scaleX(-1)}
@keyframes thought-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:1050px){.scheme-main{padding:20px 22px 12px}.scheme-toolbar h1{font-size:22px}.business-canvas{height:calc(100dvh - 166px);min-height:590px}.business-node{width:158px;font-size:14px;transform:translate(-50%,-42px);gap:14px}.node-circle{width:84px;height:84px}.node-circle svg{width:33px;height:33px}.business-node.hub{transform:translate(-50%,-52px);font-size:16px}.hub .node-circle{width:104px;height:104px}.hub .node-circle svg{width:40px;height:40px}.points-node{transform:translate(-50%,-32px)}.points-node .node-circle{width:64px;height:64px}.thought-window{width:246px}}
@media(max-width:600px){.scheme-main{padding:18px 10px 10px}.scheme-toolbar{padding:0 9px}.scheme-toolbar h1{font-size:21px}.business-canvas{min-height:660px;height:calc(100dvh - 180px)}.business-node{width:118px;font-size:12px;transform:translate(-50%,-33px);gap:12px}.node-circle{width:66px;height:66px}.node-circle svg{width:28px;height:28px}.business-node.hub{width:160px;font-size:14px;transform:translate(-50%,-45px)}.hub .node-circle{width:90px;height:90px}.points-node{transform:translate(-50%,-27px)}.points-node .node-circle{width:54px;height:54px}.node-name{white-space:normal}.thought-window{width:242px}}
@media(prefers-reduced-motion:reduce){.thought-window{animation:none}.node-circle{transition:none}}

.node-circle img{display:block;width:58px;height:58px;object-fit:contain}.hub .node-circle img{width:76px;height:76px}@media(max-width:1050px){.node-circle img{width:51px;height:51px}.hub .node-circle img{width:68px;height:68px}}@media(max-width:600px){.node-circle img{width:43px;height:43px}.hub .node-circle img{width:58px;height:58px}}

.has-route{gap:10px}.has-route .node-circle{position:relative}.has-route .node-circle>img{position:relative;z-index:1}.car-point-badge{position:absolute;right:-5px;top:-3px;min-width:29px;height:29px;padding:0 6px;border:3px solid #f8faff;border-radius:50%;display:grid;place-items:center;background:#3168a3;color:#fff;font-size:15px;font-weight:600;line-height:1;z-index:2}
.car-route{display:flex;flex-direction:column;align-items:center;gap:8px;width:180px;max-width:100%;margin-top:-3px}.car-route-status{font-size:12px;font-weight:400;color:#617f9f;line-height:1.4;white-space:nowrap}.is-at-point .car-route-status{color:#3168a3}.car-route-points{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;max-width:100%}.car-route-point{position:relative;display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;border:1px solid #d6e2f0;border-radius:50%;background:#f8faff;color:#8a9db4;font-size:11px;font-variant-numeric:tabular-nums;font-weight:400}.car-route-point.is-done{border-color:#c3d5e9;background:#e9f1fb;color:#5c7ca0}.car-route-point.is-skipped{text-decoration:line-through;color:#a2adbc}.car-route-point.is-current{border:1.5px dashed #4079b4;background:#fff;color:#3168a3;font-weight:600;box-shadow:0 0 0 3px #edf3fb}.car-route-point.is-arrived{border-style:solid;background:#3168a3;color:#fff}
.car-motion-road{position:absolute;left:16px;right:16px;bottom:17px;height:8px;overflow:hidden;display:block;opacity:.75}.car-motion-road i{position:absolute;top:4px;width:14px;height:1px;background:#83a8ce;animation:car-road 1.15s linear infinite}.car-motion-road i:nth-child(2){animation-delay:-.38s}.car-motion-road i:nth-child(3){animation-delay:-.76s}.is-driving .node-circle>img{animation:car-driving .8s ease-in-out infinite}.is-driving .node-circle{border-color:#95b5d7;background:#edf4fd}
@keyframes car-road{from{left:110%}to{left:-30%}}@keyframes car-driving{0%,100%{transform:translate(-2px,0) rotate(-.6deg)}35%{transform:translate(1px,-1px) rotate(.4deg)}70%{transform:translate(3px,0) rotate(0)}}
@media(max-width:1050px){.car-route{width:160px}.car-route-points{gap:5px}.car-route-point{min-width:22px;height:22px}.car-point-badge{min-width:27px;height:27px;font-size:14px}.car-motion-road{left:13px;right:13px;bottom:13px}}
@media(max-width:600px){.has-route{gap:9px}.car-route-status{font-size:10px}.car-route-points{gap:3px}.car-route-point{min-width:19px;height:19px;font-size:10px;padding:0 3px}.car-point-badge{min-width:25px;height:25px;font-size:12px;right:-6px;top:-5px}.car-motion-road{left:10px;right:10px;bottom:9px}}
@media(prefers-reduced-motion:reduce){.is-driving .node-circle>img,.car-motion-road i{animation:none}.car-motion-road i:nth-child(1){left:0}.car-motion-road i:nth-child(2){left:35%}.car-motion-road i:nth-child(3){left:70%}}
