:root{font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif;color:#1f2937;background:#eef2f3;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;border-radius:6px;background:#0f766e;color:#fff;padding:9px 12px;display:inline-flex;gap:6px;align-items:center;justify-content:center;cursor:pointer;min-height:36px}button:hover{background:#115e59}button:disabled{cursor:not-allowed;opacity:.6}button.secondary{background:#e5e7eb;color:#111827}button.secondary:hover{background:#d1d5db}.app{display:grid;grid-template-columns:minmax(520px,64vw) minmax(360px,1fr);height:100vh;overflow:hidden}.map-pane{min-width:0;border-right:1px solid #cbd5e1}.map-shell,.map-container,.map-empty{width:100%;height:100%}.map-empty{display:grid;place-content:center;gap:10px;padding:32px;text-align:center;background:#dfe8e7}.map-empty strong{font-size:22px}.map-error{position:absolute;left:18px;top:18px;background:#fee2e2;color:#991b1b;padding:10px 12px;border-radius:6px;box-shadow:0 8px 24px #0f172a2e}.map-label{display:inline-flex;background:#fff;color:#0f172a;border:1px solid #94a3b8;padding:3px 7px;border-radius:6px;box-shadow:0 4px 14px #0f172a26;white-space:nowrap;font-size:12px}.map-label.selected{background:#f97316;color:#fff;border-color:#f97316}.info-window{min-width:190px;line-height:1.65}.side-pane{overflow:auto;background:#f8fafc;padding:18px}.app-header{margin-bottom:14px}.app-header h1{margin:0;font-size:22px;line-height:1.25}.app-header p{margin:6px 0 0;color:#64748b;font-size:13px}.config-panel,.day-card,.warnings,.research-panel{background:#fff;border:1px solid #dbe3ea;border-radius:8px;padding:14px;margin-bottom:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field{display:grid;gap:5px;color:#475569;font-size:12px}.field.full{grid-column:1 / -1}.field input,.field select{width:100%;border:1px solid #cbd5e1;border-radius:6px;min-height:36px;padding:6px 8px;color:#111827;background:#fff}.field.compact{grid-template-columns:62px 1fr;align-items:center;margin:10px 0}.toggle{display:inline-flex;align-items:center;gap:8px;margin:11px 18px 0 0;font-size:13px}.chip-group{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px}.chip-group>span{width:100%;color:#475569;font-size:12px}.chip{background:#e2e8f0;color:#334155;padding:7px 9px;min-height:30px}.chip.selected{background:#0f766e;color:#fff}.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.provider-badge,.tiny-hint{display:inline-flex;align-items:center;gap:5px;color:#64748b;font-size:12px}.workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 12px}.workflow-step{min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dbe3ea;border-radius:8px;background:#fff;color:#64748b;min-height:36px;font-size:12px}.workflow-step.done{color:#0f766e;border-color:#99f6e4;background:#f0fdfa}.workflow-step.active{color:#fff;border-color:#0f766e;background:#0f766e}.view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;background:#e2e8f0;border-radius:8px;padding:4px;margin-bottom:12px}.view-tabs button{background:transparent;color:#475569;min-height:34px}.view-tabs button:hover{background:#f8fafc}.view-tabs button.active{background:#fff;color:#0f766e;box-shadow:0 1px 4px #0f172a1f}.page-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.empty-itinerary{display:grid;justify-items:start;gap:8px;background:#fff;border:1px solid #dbe3ea;border-radius:8px;padding:18px;margin-top:12px}.empty-itinerary strong{font-size:16px}.empty-itinerary span{color:#64748b;font-size:13px;line-height:1.5}.key-warning,.key-ready,.warning,.day-warnings span{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:9px;border-radius:6px}.key-ready{background:#f0fdf4;color:#047857;border-color:#a7f3d0;margin-bottom:10px}.panel-title{display:flex;align-items:center;gap:6px;font-weight:700;margin-bottom:8px}.warnings{display:grid;gap:8px}.consistency-panel{background:#fff;border:1px solid #dbe3ea;border-radius:8px;padding:14px;margin-bottom:12px}.research-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:10px}.research-summary span{min-height:32px;display:grid;place-items:center;border-radius:6px;background:#f1f5f9;color:#334155;font-size:12px}.region-list{display:grid;gap:10px}.region-card{border:1px solid #e2e8f0;border-radius:8px;padding:10px;background:#fbfdfe}.region-card header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.region-card h3{margin:0;font-size:15px}.region-card header p,.region-card header small,.region-summary{color:#64748b;font-size:12px;line-height:1.45}.region-card header p,.region-summary{margin:4px 0 0}.region-card header small{text-align:right;white-space:nowrap}.candidate-list{display:grid;gap:7px;margin-top:10px}.candidate-row{display:grid;grid-template-columns:32px minmax(0,1fr) 72px;gap:8px;align-items:start;border:1px solid #e2e8f0;border-radius:8px;padding:8px;background:#fff}.candidate-row.must,.candidate-row.included{border-color:#99f6e4;background:#f0fdfa}.candidate-row.risky{border-color:#fed7aa;background:#fff7ed}.candidate-row.excluded{opacity:.72;background:#f8fafc}.candidate-title{display:flex;justify-content:space-between;gap:8px}.candidate-title strong{font-size:13px;overflow-wrap:anywhere}.candidate-title span{color:#0f766e;font-size:12px;white-space:nowrap}.candidate-main small,.candidate-main p,.candidate-risks{display:block;margin:4px 0 0;color:#64748b;font-size:12px;line-height:1.4}.candidate-risks{display:flex;gap:5px;color:#9a3412}.candidate-actions{display:grid;grid-template-columns:repeat(2,32px);gap:6px}.check-grid{display:grid;gap:8px}.check-item{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:flex-start;border:1px solid #e2e8f0;border-radius:8px;padding:9px;background:#f8fafc}.check-item strong,.check-item span{display:block}.check-item strong{font-size:13px}.check-item span{color:#64748b;font-size:12px;margin-top:2px;line-height:1.4}.check-item.ok{color:#047857;border-color:#a7f3d0;background:#f0fdf4}.check-item.warning{color:#b45309;border-color:#fde68a;background:#fffbeb}.check-item.error{color:#b91c1c;border-color:#fecaca;background:#fef2f2}.day-list{display:grid;gap:12px}.day-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.day-header h3{margin:0;font-size:17px}.day-header p{margin:4px 0 0;color:#64748b;font-size:12px}.day-metrics{display:grid;gap:4px;justify-items:end;color:#0f766e;font-size:12px;white-space:nowrap}.route-text{color:#334155;font-size:13px;line-height:1.5;margin:8px 0}.segments{display:grid;gap:6px;margin:8px 0 12px}.segment{width:100%;background:#f1f5f9;color:#1e293b;justify-content:space-between;text-align:left;min-height:36px}.segment.active{background:#cffafe;color:#155e75}.segment.failed{background:#fee2e2;color:#991b1b}.timeline{display:grid;gap:8px}.timeline-item{display:grid;grid-template-columns:34px minmax(0,1fr) 74px 34px 34px;gap:7px;align-items:center;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.timeline-item.active{border-color:#f97316;background:#fff7ed}.timeline-main{min-width:0}.timeline-main p,.timeline-main small{display:block;margin:3px 0 0;color:#64748b;line-height:1.4;overflow-wrap:anywhere}.nav-link{display:inline-flex;margin-top:5px;color:#0f766e;font-size:12px;text-decoration:none}.nav-link:hover{text-decoration:underline}.item-title{display:flex;justify-content:space-between;gap:8px;font-size:13px}.item-title strong{overflow-wrap:anywhere}.item-title span{color:#64748b;white-space:nowrap}.icon-button{width:32px;height:32px;padding:0;color:#334155;background:#e2e8f0}.icon-button:hover{background:#cbd5e1}.icon-button.danger{color:#991b1b;background:#fee2e2}.duration-input{width:70px;border:1px solid #cbd5e1;border-radius:6px;min-height:32px;padding:4px 6px}.day-warnings{display:grid;gap:6px;margin-top:10px;font-size:12px}.poi-line{display:grid;gap:2px}.poi-line small{color:#64748b}@media(max-width:980px){.app{grid-template-columns:1fr;grid-template-rows:48vh 52vh}.map-pane{border-right:0;border-bottom:1px solid #cbd5e1}.timeline-item{grid-template-columns:34px minmax(0,1fr) 70px}.timeline-item .icon-button:nth-last-child(-n+2){grid-column:auto}}
