*{box-sizing:border-box}body{margin:0;background:#eef3f1;color:#203632;font:16px system-ui,"Microsoft JhengHei",sans-serif}main{display:flex;height:100vh}aside{width:390px;flex:none;overflow:auto;padding:28px;background:#fff;box-shadow:0 0 25px #1232;z-index:500}#map{flex:1;min-height:350px}.eyebrow{color:#1b806a;font-size:.8rem;letter-spacing:.12em;font-weight:700}h1{font-size:1.9rem;line-height:1.2;margin:10px 0}h2{font-size:1rem;margin:20px 0 10px}.sub,.hint{color:#61746f;font-size:.88rem;line-height:1.5}.hint{margin:7px 0 17px;overflow-wrap:anywhere}label{display:block;font-weight:650;font-size:.9rem;margin:14px 0 7px}label span{float:right;color:#178069}small{color:#6c807b;font-weight:400}select,input[type=number]{width:100%;padding:10px;border:1px solid #cbd9d4;border-radius:8px;font:inherit;background:white}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.buttons{display:flex;gap:10px;margin-top:18px}button{border:0;border-radius:8px;background:#11745e;color:white;font:inherit;font-weight:700;padding:11px 18px;cursor:pointer;flex:1}button.secondary{background:#eaf2ef;color:#31554c}input[type=range]{width:100%;accent-color:#18836c}.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.stats div{background:#f2f7f5;padding:12px;border-radius:8px}.stats span{display:block;font-size:.75rem;color:#667c75}.stats strong{display:block;margin-top:5px;font-size:1rem}.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:.78rem;color:#536961}.legend i{display:inline-block;width:14px;height:4px;vertical-align:middle;margin-right:4px}.green{background:#138866}.gray{background:#82938e}.orange{background:#dc8a26}.warning{font-size:.85rem;padding:9px;background:#fff6e6;border-radius:7px;margin:7px 0;line-height:1.4}.warning button{display:block;background:none;color:#a2590d;padding:4px 0;font-size:.82rem;text-decoration:underline}.note{font-size:.8rem;line-height:1.5;color:#6c7e78;border-top:1px solid #e4ece9;padding-top:15px;margin-top:18px}.truck{width:34px;height:34px;background:#13755f;color:white;border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #0005;display:grid;place-items:center;font-size:19px}.truck span{display:block;line-height:1}@media(max-width:700px){main{height:auto;flex-direction:column-reverse}aside{width:100%;overflow:visible}#map{height:55vh;flex:none}}

.editor{border-top:1px solid #e4ece9;margin-top:16px}.editor .buttons{margin-top:8px}.editor button{font-size:.82rem;padding:9px 7px}.edit-point{background:#fff;border:3px solid #126f5d;border-radius:50%;box-shadow:0 1px 5px #0006}.edit-mid{background:#1f87bd;border:2px solid white;border-radius:50%;box-shadow:0 1px 4px #0005}.leaflet-popup-content button{padding:7px 12px;background:#a34836}.buttons button[hidden],button[hidden]{display:none}

.connector{border-top:1px solid #e4ece9;margin-top:16px}.connector .buttons{margin-top:8px}.connector button{font-size:.82rem;padding:9px 7px}.blue{background:#2874b9}.connector-point{background:#fff;border:3px solid #9333a8;border-radius:50%;box-shadow:0 1px 5px #0006}

.purple{background:#963ba6}

.segments{border-top:1px solid #e4ece9;margin-top:16px}.segments .buttons{margin-top:8px}.segments button{font-size:.82rem;padding:9px 7px}.segment-arrow{color:#fff;background:#bd448c;border-radius:50%;border:2px solid white;display:grid;place-items:center;font-weight:bold;box-shadow:0 1px 5px #3338}

.multi{background:#f1f7f5;border-radius:10px;padding:12px;margin:8px 0}.multi label{display:flex;align-items:center;gap:8px;font-size:.83rem;margin:9px 0;line-height:1.35;font-weight:500}.multi input{width:18px;height:18px;flex:none;accent-color:#16745e}.multi .swatch{width:17px;height:5px;border-radius:4px;flex:none}.multi .buttons{margin-top:8px}.multi button{font-size:.8rem;padding:8px}.route-badge{background:white;border:2px solid currentColor;color:#263c37;border-radius:50%;font-weight:700;display:grid;place-items:center;box-shadow:0 1px 5px #0005;font-size:12px}

.editor button.selected{background:#b23e36;color:#fff;box-shadow:0 0 0 2px #812b26 inset}.editor #editKeys{margin:8px 0}

.backlink{display:inline-block;color:#176d5a;font-weight:650;text-decoration:none;margin-bottom:16px}.notice{background:#edf7f3;border-radius:8px;padding:12px;font-size:.85rem;line-height:1.5;color:#315a4e;margin:12px 0}
