/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--spacing:.25rem;--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.grid{display:grid}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--background:#edf3f7;--foreground:#111827;--panel:#fff;--panel-soft:#f8fbfd;--paper:#fbfcf8;--muted:#526071;--line-red:#e32017;--line-blue:#0098d4;--line-green:#00782a;--line-yellow:#ffd300;--border:#ccd7e1;--shadow:0 18px 48px #0f172a24}*{box-sizing:border-box}html{min-width:320px}body{background:linear-gradient(135deg, #0098d41f, transparent 34%), linear-gradient(315deg, #00782a1c, transparent 38%), var(--background);color:var(--foreground);letter-spacing:0;margin:0;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.44}.app-shell{min-height:100svh;padding:18px}.app-header{justify-content:space-between;align-items:flex-start;gap:18px;max-width:1500px;margin:0 auto 18px;display:flex}.header-copy{gap:4px;min-width:0;display:grid}.app-subtitle,.project-disclaimer{color:var(--muted);margin:0;font-size:.95rem;font-weight:800}.project-disclaimer{text-align:right;max-width:390px}.wordmark{align-items:center;gap:11px;min-width:0;display:inline-flex}.wordmark h1{overflow-wrap:anywhere;margin:0;font-size:clamp(1.35rem,3vw,1.9rem);font-weight:900;line-height:1.05}.wordmark:focus-visible,.osm-attribution a:focus-visible{outline-offset:3px;border-radius:4px;outline:3px solid #0098d473}.route-mark{flex:none;width:44px;height:34px;overflow:visible}.route-mark-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:6px}.route-mark-main{stroke:var(--line-blue)}.route-mark-branch{stroke:var(--line-green)}.route-mark-node{fill:var(--paper);stroke:var(--foreground);stroke-width:2.2px}.maker-layout{grid-template-columns:minmax(0,1fr) minmax(320px,388px);gap:18px;max-width:1500px;margin:0 auto;display:grid}.map-panel,.control-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#ffffffdb;border-radius:8px}.map-panel{min-width:0;overflow:hidden}.mobile-map-search{display:none}.map-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;min-height:0;padding:10px 14px;display:flex}.map-start-hint{color:var(--muted);flex:280px;max-width:none;margin:0;font-size:.86rem;font-weight:800;line-height:1.35}.map-stats{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:8px;width:auto;max-width:none;display:flex}.map-stats span{background:var(--panel-soft);border:1px solid var(--border);color:var(--muted);text-transform:uppercase;border-radius:6px;align-items:baseline;gap:6px;min-width:108px;min-height:34px;padding:6px 9px;font-size:.68rem;font-weight:800;display:inline-flex}.map-stats strong{color:var(--foreground);font-size:1.05rem;line-height:1}.map-canvas{background:#dbe9f0;min-height:610px;padding:14px;position:relative;overflow:hidden}.tube-map{aspect-ratio:1000/680;background:var(--paper);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border:1px solid #b7c6d4;border-radius:6px;width:100%;min-width:0;display:block}.tube-map-panning{cursor:grabbing}.osm-tile-layer{opacity:.88;pointer-events:none}.map-basemap-tint{pointer-events:none}.export-map-source{opacity:0;pointer-events:none;width:1600px;height:1088px;position:fixed;top:-10000px;left:-10000px}.osm-attribution{color:#1f2937;z-index:5;background:#ffffffe6;border:1px solid #0f172a29;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;max-width:calc(100% - 48px);padding:5px 8px;font-size:.74rem;font-weight:800;display:inline-flex;position:absolute;bottom:24px;right:24px}.osm-attribution a{text-underline-offset:2px;text-decoration:underline}.map-navigation{border:1px solid var(--border);z-index:5;background:#fffffff0;border-radius:8px;grid-template-columns:36px 58px 36px 68px;align-items:center;gap:7px;min-height:46px;padding:6px;display:grid;position:absolute;top:26px;left:26px;box-shadow:0 10px 28px #0f172a24}.map-navigation button,.map-navigation span{border-radius:6px;justify-content:center;align-items:center;height:34px;font-size:.86rem;font-weight:900;line-height:1;display:inline-flex}.map-navigation button{background:var(--panel-soft);color:var(--foreground);border:1px solid #9fb0c0;padding:0 8px}.map-navigation .mobile-map-control{display:none}.map-navigation button:hover:not(:disabled),.map-navigation button:focus-visible{color:#fff;background:#111827;outline:none}.map-navigation span{color:var(--muted);font-variant-numeric:tabular-nums}.station-node{cursor:pointer;outline:none}.station-node .station-marker,.station-node text{transition:fill .14s,r .14s,stroke .14s,transform .14s}.station-node text{pointer-events:none}.station-hit-area{pointer-events:all}.station-node:hover .station-marker,.station-node:focus-visible .station-marker{fill:var(--line-yellow);stroke:var(--foreground)}.station-node-highlighted .station-marker{fill:var(--line-yellow);stroke:var(--line-red);filter:drop-shadow(0 0 3px #e320178c)}.station-node:focus-visible text{fill:var(--line-red)}.control-panel{align-self:start;gap:0;display:grid;overflow:hidden}.control-section{border-bottom:1px solid var(--border);padding:20px}.control-section:last-child{border-bottom:0}.field-label,.selected-heading{color:var(--foreground);text-transform:uppercase;margin:0 0 9px;font-size:.82rem;font-weight:900;display:block}.text-field{background:var(--panel-soft);color:var(--foreground);border:2px solid #b9c8d6;border-radius:6px;outline:none;width:100%;min-height:48px;padding:10px 12px}.text-field:focus{border-color:var(--line-blue);box-shadow:0 0 0 3px #0098d429}.station-search{gap:9px;display:grid}.search-row{grid-template-columns:minmax(0,1fr) 78px;gap:8px;display:grid}.search-results{gap:7px;margin-top:12px;display:grid}.search-results button{background:var(--panel-soft);border:1px solid var(--border);color:var(--foreground);text-align:left;border-radius:6px;gap:2px;min-width:0;padding:9px 10px;display:grid}.search-results button:hover,.search-results button:focus-visible{border-color:#111827;outline:none}.search-results strong,.search-results span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-results span{color:var(--muted);font-size:.78rem;font-weight:800}.lines-section{gap:12px;display:grid}.line-tabs{gap:8px;display:grid}.line-card-shell{background:var(--panel-soft);border:1px solid var(--border);color:var(--foreground);border-radius:6px;min-width:0}.line-card-shell-active{background:#eef6fb;border-color:#111827;box-shadow:inset 3px 0 #111827}.line-card{grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:9px;min-height:48px;padding:8px 10px;display:grid}.line-colour-button,.line-name-button,.line-edit-button{color:var(--foreground);background:0 0;border:0;border-radius:6px;align-items:center;min-width:0;display:inline-flex}.line-colour-button,.line-edit-button{justify-content:center;width:34px;height:34px;padding:0}.line-colour-button:hover,.line-colour-button:focus-visible,.line-name-button:hover,.line-name-button:focus-visible,.line-edit-button:hover,.line-edit-button:focus-visible{background:#0f172a14;outline:none}.line-name-button{text-align:left;justify-content:flex-start;height:34px;padding:0 5px;font-size:.96rem;font-weight:900}.line-name-button[aria-pressed=true]{color:var(--foreground)}.line-name-button,.line-name-input{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.line-name-input{color:var(--foreground);background:#fff;border:2px solid #9fb0c0;border-radius:6px;width:100%;min-width:0;height:38px;padding:6px 8px;font-size:.95rem;font-weight:900}.line-name-input:focus{border-color:var(--line-blue);outline:none;box-shadow:0 0 0 3px #0098d429}.line-edit-button svg{width:18px;height:18px}.line-edit-button path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.line-chip{border:2px solid #111827;border-radius:999px;width:18px;height:18px}.line-colour-panel{border-top:1px solid var(--border);grid-template-columns:46px minmax(0,1fr);gap:10px;padding:10px;display:grid}.line-colour-native{background:0 0;border:0;width:46px;height:38px;padding:0}.line-actions{margin-top:2px}.line-quick-actions{margin-top:0}.swatch-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.swatch-button{border:2px solid #fff;border-radius:999px;min-width:0;height:30px;box-shadow:0 0 0 1px #11182747}.swatch-button[aria-pressed=true]{box-shadow:0 0 0 2px #111827,0 0 0 5px #0098d42e}.control-row,.export-section{grid-template-columns:1fr 1fr;gap:10px;display:grid}.tool-button,.export-button,.share-button{border-radius:6px;justify-content:center;align-items:center;min-height:44px;padding:10px 12px;font-weight:900;display:inline-flex}.tool-button,.share-button{background:var(--panel-soft);color:var(--foreground);border:2px solid #111827}.export-button{color:#fff;background:#111827;border:2px solid #111827}.export-button,.status-line{grid-column:1/-1}.selected-section{max-height:360px;overflow:auto}.selected-heading{justify-content:space-between;align-items:center;display:flex}.selected-heading strong{background:var(--line-red);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 8px;display:inline-flex}.selected-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.selected-list li{background:var(--panel-soft);border:1px solid var(--border);border-radius:6px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:56px;padding:8px;display:grid}.stop-index{color:#fff;border:2px solid #111827;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.82rem;font-weight:900;display:inline-flex}.selected-list strong,.selected-list em{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.selected-list strong{font-size:.94rem}.selected-list em{color:var(--muted);margin-top:2px;font-size:.78rem;font-style:normal;font-weight:700}.empty-state,.status-line{color:var(--muted);margin:0;font-size:.88rem;font-weight:750;line-height:1.45}.status-line{min-height:20px}@media (width<=1120px){.maker-layout{grid-template-columns:1fr}.control-panel{order:2}.map-panel{order:1}.selected-section{max-height:260px}}@media (width<=768px){.app-shell{padding:8px}.app-header{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:8px}.wordmark{gap:9px}.wordmark h1{font-size:clamp(1.08rem,5.3vw,1.45rem)}.route-mark{width:39px;height:30px}.app-subtitle,.project-disclaimer{font-size:.84rem;line-height:1.3}.project-disclaimer{text-align:left;max-width:none}.map-toolbar{flex-direction:column;align-items:stretch;gap:10px;min-height:0;padding:10px}.mobile-map-search{border-bottom:1px solid var(--border);z-index:8;background:#fffffff5;gap:10px;padding:14px;display:grid;position:sticky;top:0}.control-panel .search-section{display:none}.map-stats{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:none;display:grid}.map-stats span{align-items:start;gap:2px;min-width:0;min-height:42px;padding:6px;font-size:.62rem;display:grid}.map-stats strong{font-size:1rem}.map-canvas{min-height:0;padding:8px}.map-navigation{grid-template-columns:repeat(2,44px);gap:6px;min-height:0;padding:6px;top:16px;left:auto;right:16px}.map-navigation button,.map-navigation span{border-radius:7px;width:44px;min-width:44px;height:44px;padding:0;font-size:1.05rem}.map-navigation .desktop-map-zoom-label,.map-navigation .desktop-map-centre{display:none}.map-navigation .mobile-map-control{display:inline-flex}.tube-map{touch-action:none;min-height:min(64svh,620px)}.osm-attribution{row-gap:4px;font-size:.7rem;bottom:16px;left:16px;right:auto}.control-section{padding:16px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
