:root{font-family:system-ui,'Microsoft YaHei',sans-serif;color:#173f36;background:#f3f6f0}*{box-sizing:border-box}body{margin:0}header{padding:22px 5%;background:white;display:flex;justify-content:space-between;border-bottom:1px solid #d7e2d4}header b{letter-spacing:3px}header span{color:#6a9f66}main{max-width:1400px;margin:auto;padding:25px}.intro h1{font-size:32px}.intro p,.hint,footer{color:#647c70;line-height:1.7}.layout{display:grid;grid-template-columns:360px 1fr;gap:22px}aside,#result{background:white;padding:20px;border-radius:15px}label{display:block;font-size:13px;margin:8px 0}input,button{font:inherit;border-radius:8px;padding:10px;border:1px solid #cbdace;max-width:100%}input{width:100%;margin:5px 0;background:#fafcf8}input[type=checkbox]{width:auto;display:block}button{background:#1b6150;color:white;cursor:pointer;min-height:42px}button:disabled{opacity:.5;cursor:wait}.secondary{background:#edf4e7;color:#275d43;border:1px solid #cbdace;border-radius:8px;padding:10px;cursor:pointer}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row>*{flex:1}.hint{font-size:12px}#map{height:580px;border-radius:15px;z-index:0}#result{margin-top:18px}.stop{padding:14px 0;border-top:1px solid #e0e9df}.stop h3{font-size:15px;margin:8px 0}.stop .row button{padding:5px;flex:0 0 40px}.badge{border-radius:50%;background:#174f3f;color:white;border:2px solid white;display:grid;place-items:center;font-weight:bold;width:30px;height:30px}.distance{font-size:32px;font-weight:750;color:#1d7656}.leg{padding:12px;border-bottom:1px solid #e0e9df}#status{line-height:1.7;font-size:13px}footer{padding:22px 5%;font-size:12px}summary{cursor:pointer;padding:10px 0}button:focus-visible,input:focus-visible{outline:3px solid #e3ab45}#import{font-size:11px}@media(max-width:800px){main{padding:14px}.intro h1{font-size:25px}.layout{display:flex;flex-direction:column}.layout>section{order:-1}#map{height:48vh;min-height:310px}.intro p{font-size:13px}header small{font-size:11px}aside{padding:15px}}
select{width:100%;padding:12px;font:inherit;border:1px solid #cbdace;border-radius:8px;background:white;color:#173f36}#addressChoices{padding:12px;background:#edf4e7;border-radius:10px;margin-bottom:14px}#addressDetail{overflow-wrap:anywhere}#addressSearch button{width:100%} [hidden]{display:none!important}
.stop{border:1px solid #dce8dc;border-radius:14px;padding:18px;margin:14px 0;background:#fcfdfb}.task-heading{display:flex;align-items:center;justify-content:space-between}.task-heading h3{margin:0;display:flex;align-items:center;gap:8px}.task-number{background:#dceede;color:#256248;border-radius:50%;padding:6px 10px}.delete-task{background:none;border:none;color:#a14b3b;font-size:12px}.task-address{font-size:14px;line-height:1.65;overflow-wrap:anywhere;margin-bottom:5px}.edit-address{background:none;color:#337d60;padding:0;border:0;min-height:32px;text-decoration:underline}.task-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task-fields small{color:#8b9c90}.task-fields input,.task-fields select{height:44px}.reorder{display:flex;gap:10px;margin-top:12px}.reorder button{background:#f0f5ed;color:#577461;border:0;padding:6px 14px;min-height:34px;font-size:12px}.flex-note{font-size:12px;color:#60846e}.itinerary-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.itinerary-heading h2{margin:5px 0}.eyebrow{font-size:10px;letter-spacing:2px;color:#7c9b88}.distance small{font-size:14px}.summary-pills{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.summary-pills span{background:#edf5e9;padding:6px 10px;border-radius:20px;font-size:12px}.plan-verdict{font-size:13px;line-height:1.7;color:#617b6c}.timeline{position:relative;margin:26px 0 10px;padding-left:23px}.timeline:before{content:'';position:absolute;left:7px;top:18px;bottom:25px;width:2px;background:#c9ddca}.timeline-node{position:relative}.node-dot{position:absolute;left:-22px;top:20px;width:14px;height:14px;border:3px solid white;background:#247154;border-radius:50%;box-shadow:0 0 0 2px #c1d7c3}.node-card{border:1px solid #dbe7da;border-radius:12px;padding:18px;background:#fcfefa}.node-label{font-size:11px;font-weight:700;color:#709077;letter-spacing:.04em}.node-card h3{font-size:15px;line-height:1.65;margin:8px 0 12px;overflow-wrap:anywhere}.event-time{font-size:24px;font-weight:750;letter-spacing:-.04em}.event-time small{font-size:12px;font-weight:400}.event-meta{font-size:12px;color:#7d8f81;margin-top:6px}.travel-edge{padding:19px 12px;font-size:13px;color:#3b7859;line-height:1.7}.travel-edge small{display:block;color:#8b9c8c;font-size:11px}.wait-note{padding:9px 12px;border-radius:7px;background:#f6f0df;font-size:12px;color:#92743e;margin-bottom:10px}.late-note{color:#b14732;font-size:12px;margin-top:10px}.warning .node-dot{background:#bf6041}.warning .node-card{border-color:#e9b7a5}#entryTitle{font-size:20px}#objective{font-size:13px;margin-bottom:12px}#result{padding:25px}@media(max-width:800px){.itinerary-heading .distance{font-size:26px}.node-card{padding:14px}#result{padding:18px}.event-time{font-size:22px}.task-fields{gap:9px}} 
.address-row{display:flex;align-items:center;gap:12px;margin:10px 0 14px}.address-row .task-address{flex:1;margin:0;min-width:0}.address-row .edit-address{flex:0 0 36px;width:36px;height:36px;min-height:36px;border:1px solid #d4e3d3;border-radius:9px;background:#eef5e9;text-decoration:none;font-size:20px;display:grid;place-items:center}.task-name-label{margin-top:14px;color:#6e8474;font-size:12px}.timeline-address{font-size:13px;line-height:1.65;color:#6a8070;margin:0 0 14px;overflow-wrap:anywhere}#opt{background:#1b6150;color:white}

.task-heading h3{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.task-title{margin:0;padding:4px 6px;min-height:36px;width:auto;max-width:100%;background:transparent;border:0;border-radius:6px;color:inherit;font:inherit;font-weight:inherit;text-align:left;overflow-wrap:anywhere;cursor:text}.task-title:hover{background:#edf4e9}.task-title:focus-visible{outline:2px solid #1b6150;outline-offset:2px}.task-title-input{flex:1;min-width:0;width:100%;margin:0;padding:5px 8px;font:inherit;color:inherit;height:38px}.task-heading .task-number{flex-shrink:0}
