.flow-detail-hero{background:linear-gradient(135deg,#065f46 0%,#064e3b 100%);color:#fff;border-radius:16px;padding:1.5rem;margin-bottom:1.5rem}.flow-detail-hero h1{font-size:1.5rem;font-weight:700;margin:0 0 .75rem;line-height:1.3}.flow-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.flow-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .75rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:.85rem;color:#d1fae5}.flow-badge svg{width:14px;height:14px;opacity:.8}.speed-highlight{display:flex;align-items:center;gap:1rem;background:rgba(0,0,0,.2);border-radius:12px;padding:1rem;margin-top:1rem;flex-wrap:wrap}.speed-value{font-size:2.5rem;font-weight:700;color:#fbbf24;line-height:1}.speed-unit{font-size:1rem;color:#a7f3d0;font-weight:400}.speed-info{flex:1;min-width:120px}.speed-label{font-size:.9rem;color:#a7f3d0;margin:0}.speed-time{font-size:.8rem;color:#6ee7b7;margin:.25rem 0 0}.flow-map{background:#f1f5f9;border-radius:12px;height:300px;margin-bottom:1.5rem;overflow:hidden}#siteMap{width:100%;height:100%}.info-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;margin-bottom:1rem}.info-section-title{font-size:1rem;font-weight:700;color:#1e293b;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.info-section-title svg{width:20px;height:20px;color:#10b981}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-label{font-size:.8rem;color:#566578;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:.95rem;color:#1e293b;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.stat-card{background:#f8fafc;border-radius:10px;padding:1rem;text-align:center}.stat-card-value{font-size:1.5rem;font-weight:700;color:#1e293b;line-height:1}.stat-card-label{font-size:.75rem;color:#566578;margin-top:.35rem;text-transform:uppercase;letter-spacing:.5px}.vehicle-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}.vehicle-card{background:#f8fafc;border-radius:10px;padding:1rem;text-align:center}.vehicle-card-type{font-size:.75rem;color:#566578;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.vehicle-card-value{font-size:1.25rem;font-weight:700;color:#1e293b}.vehicle-card-unit{font-size:.75rem;color:#566578}.municipality-tags{display:flex;flex-wrap:wrap;gap:.5rem}.municipality-tag{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .75rem;background:#f1f5f9;border-radius:8px;font-size:.9rem;color:#475569}.municipality-tag svg{width:14px;height:14px;color:#94a3b8}.back-link{display:inline-flex;align-items:center;gap:.35rem;color:#566578;font-size:.9rem;text-decoration:none;margin-bottom:1rem}.back-link svg{width:16px;height:16px}.back-link:hover{color:#10b981;text-decoration:none}.no-data{text-align:center;padding:2rem 1rem;color:#94a3b8}.no-data svg{width:40px;height:40px;margin-bottom:.75rem;opacity:.5}.no-data p{margin:0;font-size:.9rem}.speed-comparison{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:10px;margin-top:1rem}.hourly-timeline{display:flex;flex-direction:column;gap:.5rem}.hourly-row{display:flex;align-items:center;gap:.75rem;padding:.6rem .75rem;background:#f8fafc;border-radius:8px;transition:background .15s ease}.hourly-row:hover{background:#f1f5f9}.hourly-row.current{background:#d1fae5;border:1px solid #a7f3d0}.hourly-time{width:50px;font-weight:600;color:#475569;font-size:.9rem}.hourly-speed{display:flex;align-items:center;gap:.5rem;min-width:80px}.hourly-speed-value{font-weight:700;font-size:1rem;color:#1e293b}.hourly-speed-unit{font-size:.75rem;color:#566578}.hourly-baseline{display:flex;align-items:center;gap:.35rem;font-size:.85rem;color:#566578;min-width:100px}.hourly-baseline-label{color:#94a3b8}.hourly-diff{display:flex;align-items:center;gap:.25rem;font-size:.85rem;font-weight:600;min-width:70px}.hourly-diff svg{width:14px;height:14px}.hourly-diff.positive{color:#16a34a}.hourly-diff.negative{color:#dc2626}.hourly-diff.neutral{color:#566578}.hourly-bar-container{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;position:relative}.hourly-bar{height:100%;border-radius:4px;transition:width .3s ease}.hourly-bar.good{background:linear-gradient(90deg,#10b981,#34d399)}.hourly-bar.neutral{background:linear-gradient(90deg,#94a3b8,#cbd5e1)}.hourly-bar.slow{background:linear-gradient(90deg,#ef4444,#f87171)}.hourly-legend{display:flex;gap:1rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8f0;font-size:.8rem;color:#566578;flex-wrap:wrap}.hourly-legend-item{display:flex;align-items:center;gap:.35rem}.hourly-legend-dot{width:10px;height:10px;border-radius:50%}.hourly-legend-dot.good{background:#10b981}.hourly-legend-dot.neutral{background:#94a3b8}.hourly-legend-dot.slow{background:#ef4444}@media (max-width: 640px){.flow-detail-hero{padding:1.25rem}.flow-detail-hero h1{font-size:1.25rem}.speed-highlight{flex-direction:column;align-items:flex-start;gap:.5rem}.speed-value{font-size:2rem}.info-grid{grid-template-columns:1fr}.stats-grid,.vehicle-types{grid-template-columns:repeat(2,1fr)}.flow-map{height:220px}.hourly-row{flex-wrap:wrap;gap:.5rem}.hourly-time{width:45px;font-size:.85rem}.hourly-speed{min-width:65px}.hourly-speed-value{font-size:.9rem}.hourly-baseline,.hourly-diff{min-width:auto;font-size:.8rem}.hourly-bar-container{width:100%;flex:none;order:5}.hourly-legend{flex-wrap:wrap;gap:.5rem;font-size:.75rem}}
