/* Route map shell: the SDK host remains mounted while route/list state changes. */
.pc3-route-map-panel{position:sticky;top:90px;min-width:0;padding:0;overflow:hidden;border-radius:19px}
.pc3-route-map-head{display:flex;align-items:center;gap:12px;padding:15px 16px 13px;border-bottom:1px solid var(--line-2)}
.pc3-route-map-head>div{min-width:0;flex:1}.pc3-route-map-head>div:first-child{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}
.pc3-route-map-head h3{margin:0;font-size:14px;font-weight:650;color:var(--ink)}
.pc3-route-map-head p{margin:0;min-height:0;font-size:11px;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap}
.pc3-route-map-mode{display:inline-flex;align-items:center;gap:5px;flex:none;font-size:11px;color:var(--ink-2);white-space:nowrap}
.pc3-route-map-head>.pc3-route-map-mode{flex:0 0 auto}
.pc3-road-switch{display:inline-flex;align-items:center;flex:none;gap:2px;border:1px solid var(--line);border-radius:8px;padding:2px;background:var(--glass)}
.pc3-road-switch button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--ink-3);border-radius:5px;padding:3px 9px;min-height:24px;line-height:18px;font-size:11px;font-weight:500;cursor:pointer;white-space:nowrap}
.pc3-road-switch button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);font-weight:600}
.pc3-road-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.view .pc3-route-map-mode>.btn{height:30px;min-height:30px;font-size:11px;padding:0 8px}
.pc3-route-map-foot .btn{height:26px;min-height:26px;padding:0 8px;font-size:10px}
.pc3-road-status{flex:1;min-width:120px;line-height:1.6}.pc3-road-status strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.pc3-road-preview-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;background:var(--accent-soft);border-radius:10px;font-size:12px;color:var(--ink-2)}
.pc3-road-preview-summary b{color:var(--ink);font-variant-numeric:tabular-nums}.pc3-road-preview-summary>strong{margin-left:auto;color:var(--accent)}
.pc3-road-preview-list{list-style:none;margin:12px 0;padding:0;max-height:46vh;overflow:auto}.pc3-road-preview-list li{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid var(--line-2);font-size:12px}.pc3-road-preview-list li>span{width:23px;height:23px;display:grid;place-items:center;flex:none;border-radius:7px;background:var(--accent-soft);color:var(--accent);font-variant-numeric:tabular-nums}.pc3-road-preview-list strong{min-width:0;font-weight:500}.pc3-road-preview-list small{margin-left:auto;color:var(--ink-3);font-size:10px}
.pc3-route-map-host{position:relative;width:100%;height:clamp(380px,50vh,560px);min-width:0;overflow:hidden}
.pc3-route-map-host>.error-block{margin:20px}
.pc3-route-map-selection{display:flex;align-items:center;gap:10px;min-height:85px;padding:13px 15px;border-top:1px solid var(--line-2);box-sizing:border-box;background:var(--glass)}
.pc3-route-map-seq{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.pc3-route-map-store{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.pc3-route-map-store strong{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.pc3-route-map-store small{font-size:11px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc3-route-map-store-actions{display:flex;align-items:center;gap:5px;flex:none}
.view .pc3-route-map-store-actions .btn{height:29px;min-height:29px;padding:0 9px;font-size:11px;white-space:nowrap}
.pc3-route-map-store-actions .icon-btn{width:29px;height:29px;min-width:29px}
.pc3-route-map-prompt{display:flex;align-items:center;gap:8px;color:var(--ink-3);font-size:12px;line-height:1.7}
.pc3-route-map-prompt svg{flex:none}
.pc3-route-map-foot{display:flex;align-items:center;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;padding:9px 15px;border-top:1px solid var(--line-2);font-size:10px;color:var(--ink-3)}
@media(min-width:1181px){.pc3-route-map-panel{position:relative;top:auto;display:flex;flex-direction:column;min-height:0;height:100%}.pc3-route-map-head,.pc3-route-map-selection,.pc3-route-map-foot{flex:none}.pc3-route-map-host{flex:1;min-height:0;height:auto}}
@media(max-width:1180px){.pc3-route-map-panel{position:relative;top:auto}.pc3-route-map-host{height:450px}}
@media(max-width:760px){.pc3-route-map-head{padding:13px 14px}.pc3-route-map-host{height:370px}.pc3-route-map-selection{padding:12px;gap:8px;flex-wrap:wrap}.pc3-route-map-store{min-width:130px}.pc3-route-map-store-actions{margin-left:auto}.pc3-route-map-foot{padding-inline:12px}.pc3-route-map-mode{font-size:10px}}
