.container{max-width:1200px;margin:0 auto;padding:24px;display:grid;grid-template-columns:340px 1fr;gap:24px}@media (max-width: 800px){.container{grid-template-columns:1fr}}.controls{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0000001a;height:-moz-fit-content;height:fit-content;position:sticky;top:24px;overflow:hidden;min-width:0}.controls h2{font-size:14px;font-weight:600;text-transform:uppercase;color:#666;margin-bottom:12px}.control-group{margin-bottom:16px}.control-group label{display:block;font-size:13px;font-weight:500;margin-bottom:6px}.trip-btn{display:block;width:100%;text-align:left;padding:10px 12px;margin-bottom:6px;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;font-size:13px;transition:all .15s}.trip-btn:hover{border-color:#4f46e5;background:#f5f3ff}.trip-btn.active{border-color:#4f46e5;background:#eef2ff;font-weight:500}.trip-btn .trip-label{font-weight:500}.trip-btn .trip-meta{font-size:11px;color:#888;margin-top:2px}.trip-btn.has-overlap{border-left:3px solid #ef4444}.trip-btn.has-overlap .trip-meta{color:#dc2626;font-weight:600}.trip-btn.no-overlap .trip-meta:after{content:" ✓";color:#16a34a}.alert-status{margin-top:16px;padding:12px;border-radius:6px;font-size:12px}.alert-status.has-alerts{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.alert-status.no-alerts{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.active-alerts-panel{margin-top:16px}.active-alerts-panel h3{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;margin-bottom:8px}.active-abbrev-group{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;max-width:100%;overflow:hidden}.active-abbrev-group-label{font-size:10px;font-weight:600;text-transform:uppercase;color:#888;margin-top:8px;margin-bottom:2px}.active-abbrev-group-label:first-child{margin-top:0}.active-abbrev{display:inline-block;padding:2px 6px;margin:1px 0;border-radius:4px;font-size:10px;font-weight:600;font-family:monospace;white-space:nowrap;flex-shrink:0}.active-abbrev.rail{background:#dbeafe;color:#1e40af}.active-abbrev.light_rail{background:#e0e7ff;color:#3730a3}.active-abbrev.bus{background:#fef3c7;color:#92400e}.results-panel{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0000001a}.results-panel h2{font-size:14px;font-weight:600;color:#666;text-transform:uppercase;margin-bottom:16px}.itinerary{border:1px solid #e5e7eb;border-radius:8px;margin-bottom:16px;overflow:hidden}.itinerary-header{background:#f9fafb;padding:10px 16px;font-size:13px;font-weight:500;border-bottom:1px solid #e5e7eb}.step{list-style:none;padding:12px 16px;border-bottom:1px solid #f3f4f6;display:flex;align-items:center;gap:12px}.step:last-child{border-bottom:none}.step-color{width:4px;height:40px;border-radius:2px;flex-shrink:0}.step-info{flex:1}.step-info .badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;margin-right:8px}.step--is-train .badge{background:#dbeafe;color:#1e40af}.step--is-light-rail .badge{background:#e0e7ff;color:#3730a3}.step--is-bus .badge{background:#fef3c7;color:#92400e}.step--is-walk .badge{background:#f3f4f6;color:#6b7280}.step-detail{font-size:12px;color:#888;margin-top:2px}.step.has-alert{background:#fff7ed}.step.has-alert .badge{background:#fed7aa;color:#9a3412}.pulse-tag-area{margin-top:24px;padding:16px;background:#fffbeb;border:1px dashed #f59e0b;border-radius:8px}.pulse-tag-area h3{font-size:13px;font-weight:600;color:#92400e;margin-bottom:8px}.pulse-tag-area p{font-size:12px;color:#78716c}.pulse-tag-area code{background:#fef3c7;padding:1px 4px;border-radius:3px;font-size:11px}.pulse-tag-area textarea{width:100%;height:60px;margin-top:8px;font-family:monospace;font-size:11px;border:1px solid #ddd;border-radius:4px;padding:8px}.debug-panel{margin-top:24px;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.debug-panel h3{font-size:13px;font-weight:600;color:#475569;margin-bottom:8px}.debug-output{font-family:monospace;font-size:12px;background:#1e293b;color:#e2e8f0;padding:12px;border-radius:6px;white-space:pre-wrap;word-break:break-all;max-height:300px;overflow-y:auto;overflow-x:hidden}.btn{padding:8px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;border:none;transition:all .15s}.btn-primary{background:#4f46e5;color:#fff}.btn-primary:hover{background:#4338ca}.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.btn-secondary:hover{background:#e2e8f0}.btn-group{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.pulse-debug{margin-top:24px;padding:16px;background:#fdf2f8;border:2px solid #ec4899;border-radius:8px}.pulse-debug h3{font-size:14px;font-weight:700;color:#be185d;margin-bottom:4px}.pulse-debug .subtitle{font-size:11px;color:#9d174d;margin-bottom:12px}.pulse-debug-log{font-family:monospace;font-size:11px;background:#1a1a2e;color:#e2e8f0;padding:12px;border-radius:6px;white-space:pre-wrap;word-break:break-all;max-height:400px;overflow-y:auto;overflow-x:hidden;line-height:1.5}.pulse-debug-log .ts{color:#6b7280}.pulse-debug-log .label{font-weight:700}.pulse-debug-log .label-pi{color:#f472b6}.pulse-debug-log .label-net{color:#38bdf8}.pulse-debug-log .label-obj{color:#a78bfa}.pulse-debug-log .label-evt{color:#34d399}.pulse-debug-log .label-err{color:#f87171}.pulse-debug-log .label-survey{color:#fbbf24}.pulse-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.pulse-status-item{background:#fff;padding:8px 10px;border-radius:6px;font-size:11px;border:1px solid #f9a8d4}.pulse-status-item .status-label{font-weight:600;color:#9d174d;font-size:10px;text-transform:uppercase}.pulse-status-item .status-value{font-family:monospace;font-size:12px;margin-top:2px;word-break:break-all}.pulse-status-item .status-value.ok{color:#16a34a}.pulse-status-item .status-value.warn{color:#d97706}.pulse-status-item .status-value.err{color:#dc2626}.flow-step{display:flex;gap:12px;padding:10px 12px;border-radius:6px;margin-bottom:4px;border-left:3px solid #e5e7eb;transition:all .3s}.flow-step[data-status=active]{border-left-color:#6366f1;background:#f5f3ff}.flow-step[data-status=done]{border-left-color:#22c55e;background:#f0fdf4}.flow-step[data-status=done-fail]{border-left-color:#ef4444;background:#fef2f2}.flow-step[data-status=pending]{opacity:.5}.flow-step[data-status=waiting]{opacity:.35;border-left-color:#d1d5db;border-left-style:dashed}.flow-step[data-status=waiting] .flow-num{background:#d1d5db;color:#9ca3af}.flow-num{width:22px;height:22px;border-radius:50%;background:#e5e7eb;color:#666;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}.flow-step[data-status=active] .flow-num{background:#6366f1;color:#fff}.flow-step[data-status=done] .flow-num{background:#22c55e;color:#fff}.flow-step[data-status=done-fail] .flow-num{background:#ef4444;color:#fff}.flow-title{font-size:13px;font-weight:600;color:#333}.flow-plain{font-size:12px;color:#666;margin-top:2px}.flow-tech{font-size:11px;color:#8b5cf6;font-family:monospace;margin-top:3px}.flow-tech code{background:#ede9fe;padding:1px 4px;border-radius:3px;font-size:10px}.flow-data{font-size:11px;font-family:monospace;margin-top:4px;padding:4px 8px;background:#f8fafc;border-radius:4px;border:1px solid #e2e8f0;color:#334155}.flow-data:empty{display:none}.loading-spinner{width:24px;height:24px;border:3px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 8px}@keyframes spin{to{transform:rotate(360deg)}}
