body{isolation:isolate;min-height:100vh;min-height:100dvh}
.ip-network-scene{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;user-select:none}
.site-header,.page-shell{position:relative;z-index:1}
.ip-toolbar{background:color-mix(in srgb,var(--bg) 94%,transparent)}
/* Keep foreground surfaces opaque: animated paths never interfere with timetable text. */
.planner-panel,.result-panel,.ip-panel{background:var(--panel)}
/* Compact single-row date control. The actual native date input remains interactive. */
.site-header .header-inner{min-height:54px;gap:8px;padding:6px 0}
.site-header .ip-header-date{display:flex;align-items:center;justify-content:flex-end;flex-direction:row;gap:0}
.ip-date-chip{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 5px 0 8px;color:#e5eee7;cursor:pointer;border-radius:7px;white-space:nowrap;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.ip-date-chip:hover,.ip-date-chip:focus-within{background:#183237}
.ip-date-chip:focus-within{outline:2px solid #8ba99b;outline-offset:1px}
.ip-date-icon{width:17px;height:17px;flex:none;color:#b8cbc4}
.ip-date-chevron{width:12px;height:12px;flex:none;color:#b8cbc4}
.site-header .ip-date-chip #actualDate{position:absolute;inset:0;opacity:0;display:block;width:100%;max-width:none;height:100%;min-height:44px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;font-size:16px}
.site-header .ip-date-chip #actualDate::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
html[data-view=about] .site-header .ip-header-date{display:none}
@media(max-width:350px){.ip-date-chip{gap:4px;padding:0 2px;font-size:11px}.ip-date-icon{width:15px;height:15px}.ip-date-chevron{width:10px;height:10px}}





.ip-network-scene svg{width:100%;height:100%;display:block}.ip-network-scene .ip-map-mobile{display:none}.ip-network-scene .ip-map-desktop{display:block}
@media(max-aspect-ratio:3/4){.ip-network-scene .ip-map-mobile{display:block}.ip-network-scene .ip-map-desktop{display:none}}
.ip-network-scene .track{opacity:.25;stroke-width:1.9}.ip-network-scene .station{fill:#f5f5ef;stroke-width:1;opacity:.52}.ip-network-scene .interchange{fill:#f5f5ef;stroke:#53665f;stroke-width:1.3;opacity:.70}@media(prefers-reduced-motion:reduce){}

/* Schedule-driven train overlay; the fixed map geometry stays unchanged. */
.ip-network-scene .ip-peak-trains{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:block}.ip-network-scene .flow{display:none}@media(prefers-reduced-motion:reduce){.ip-network-scene .ip-peak-trains{display:none}}
