@font-face {
  font-family: "Bliss Regular";
  src: url("fonts/BlissRegular.woff2") format("woff2"), url("fonts/BlissRegular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bliss Bold";
  src: url("fonts/BlissBold.woff2") format("woff2"), url("fonts/BlissBold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.sec-transport{
  --navy: #232e7d;
  --navy-2: #4a596d;
  --gold: #f2b700;
  --gold-pale: #f5f1ed;
  --paper: #f5f1ed;
  --white: #fff;
  --ink: #444;
  --muted: #4a596d;
  --line: #dedbd7;
  --red: #e4022e;
  --shadow: 0 18px 50px rgba(35, 46, 125, .1);
  font-family: "Bliss Regular", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

.sec-transport *{ box-sizing: border-box; }
.sec-transport{ scroll-behavior: smooth; font-synthesis: none; }
.sec-transport{ margin: 0; min-width: 320px; background: var(--white); color: var(--ink); }
.sec-transport button,
.sec-transport input{ font: inherit !important; line-height: normal; letter-spacing: normal !important; text-transform: none !important; }
.sec-transport button,
.sec-transport a{ -webkit-tap-highlight-color: transparent; }
.sec-transport button{ min-height: 0; appearance: none; -webkit-appearance: none; color: inherit; box-shadow: none; }
.sec-transport .skip-link{ position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: .7rem 1rem; background: white; color: var(--navy); border-radius: 4px; }
.sec-transport .skip-link:focus{ transform: none; }

.sec-transport .sec-transport__main{ width: min(1520px, calc(100% - 2rem)); margin: 0 auto; padding: 1.7rem 0 2rem; }
.sec-transport .intro{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 2rem; align-items: end; padding: 0 clamp(.15rem, 2vw, 1.5rem) 1.7rem; }
.sec-transport .eyebrow{ margin: 0 0 .55rem; color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.sec-transport h1,
.sec-transport h2{ font-family: "Bliss Bold", Arial, sans-serif; font-weight: 700; }
.sec-transport h1{ margin: 0; font-family: "Bliss Bold", Arial, sans-serif; color: var(--navy); font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.sec-transport .intro > div > p:last-child{ max-width: 680px; margin: .8rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.sec-transport .search-shell{ position: relative; }
.sec-transport .search-shell label{ display: block; margin: 0 0 .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.sec-transport .search-box{ height: 54px; display: grid; grid-template-columns: 23px 1fr auto; gap: .7rem; align-items: center; padding: 0 .9rem; background: white; border: 1px solid #cfd5dc; border-radius: 6px; box-shadow: 0 6px 20px rgba(20,37,59,.07); }
.sec-transport .search-box:focus-within{ border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21,37,59,.12); }
.sec-transport .search-box svg{ width: 22px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; }
.sec-transport .search-box input{ min-width: 0; border: 0 !important; outline: 0; color: var(--ink) !important; background: transparent !important; box-shadow: none !important; font-size: 1rem; }
.sec-transport .search-box input::placeholder{ color: #87909d; }
.sec-transport kbd{ padding: .15rem .45rem; color: #6f7783; background: #f1f3f5; border: 1px solid #d9dde2; border-radius: 4px; font: .72rem ui-monospace, monospace; }
.sec-transport .search-results{ position: absolute; top: calc(100% + .45rem); z-index: 20; width: 100%; max-height: 330px; overflow: auto; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.sec-transport .search-result{ width: 100%; display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border: 0; border-bottom: 1px solid #edf0f2; background: white !important; color: var(--ink) !important; text-align: left; cursor: pointer; }
.sec-transport .search-result--message{ cursor: default; }
.sec-transport .search-result:last-child{ border-bottom: 0; }
.sec-transport .search-result:hover,
.sec-transport .search-result:focus{ background: var(--paper) !important; outline: 0; }
.sec-transport .result-dot{ width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: var(--route-colour); box-shadow: 0 0 0 3px color-mix(in srgb, var(--route-colour) 20%, white); }
.sec-transport .search-result strong,
.sec-transport .search-result small{ display: block; color: var(--ink) !important; }
.sec-transport .search-result strong{ font-weight: 700 !important; }
.sec-transport .search-result small{ margin-top: .14rem; color: var(--muted) !important; }

.sec-transport .route-strip{ padding: .2rem clamp(.15rem, 2vw, 1.5rem) 1rem; }
.sec-transport .route-chips{ display: flex; gap: .48rem; overflow-x: auto; padding: .15rem .1rem .55rem; scrollbar-width: thin; }
.sec-transport .route-chip{ flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; padding: .52rem .72rem; background: rgba(255,255,255,.96) !important; border: 1px solid #d7dbe0; border-radius: 999px; color: var(--ink) !important; font-size: .79rem; font-weight: 750; cursor: pointer; transition: .18s ease; }
.sec-transport .route-chip::before{ content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--route-colour); }
.sec-transport .route-chip:hover,
.sec-transport .route-chip:focus-visible{ transform: translateY(-1px); border-color: var(--route-colour); outline: 0; }
.sec-transport .route-chip.active{ background: var(--navy) !important; border-color: var(--navy); color: white !important; }

.sec-transport .workspace{ height: var(--map-height, 1400px); min-height: 500px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; overflow: hidden; background: white; border: 1px solid #d9dde2; border-radius: 10px; box-shadow: var(--shadow); }
.sec-transport .map-card{ min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--line); }
.sec-transport .map-toolbar{ height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.sec-transport .map-actions{ display: flex; align-items: center; gap: .65rem; }
.sec-transport .view-tabs{ display: flex; gap: .25rem; padding: .25rem; background: var(--paper); border-radius: 6px; }
.sec-transport .view-tab{ padding: .55rem .82rem; border: 0; border-radius: 4px; background: transparent !important; color: var(--muted) !important; font-size: .82rem; font-weight: 800; cursor: pointer; }
.sec-transport .view-tab.active{ color: var(--navy) !important; background: white !important; box-shadow: 0 2px 7px rgba(20,37,59,.1); }
.sec-transport #geo-tab{ display: none !important; }
.sec-transport .text-button{ padding: .45rem; border: 0; background: transparent !important; color: var(--navy) !important; font-size: .82rem; font-weight: 800; cursor: pointer; }
.sec-transport .text-button:hover{ text-decoration: underline; text-underline-offset: 3px; }
.sec-transport .map-download{ display: inline-flex; align-items: center; gap: .38rem; padding: .48rem .65rem; color: white; background: var(--navy); border-radius: 4px; font-size: .78rem; text-decoration: none; white-space: nowrap; }
.sec-transport .map-download svg{ width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-transport .map-download:hover,
.sec-transport .map-download:focus-visible{ color: var(--navy); background: var(--gold); outline: 0; }
.sec-transport .map-view{ position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; background-color: var(--paper); background-image: radial-gradient(#d8d4cf 1px, transparent 1px); background-size: 22px 22px; }
.sec-transport #network-view{ background-color: #f1f2f3; background-image: none; }
.sec-transport .map-view:not(.active){ display: none; }
.sec-transport .map-hint,
.sec-transport .geo-key{ position: sticky; top: .8rem; left: .8rem; z-index: 4; display: inline-flex; align-items: center; gap: .45rem; margin: .8rem 0 0 .8rem; padding: .42rem .65rem; color: var(--muted); background: rgba(255,255,255,.93); border: 1px solid #dde1e6; border-radius: 4px; box-shadow: 0 3px 10px rgba(35,46,125,.06); font-size: .73rem; font-weight: 700; }
.sec-transport .geo-key span{ width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.sec-transport .network-map{ width: 100%; min-width: 1260px; height: auto; min-height: 1080px; display: block; margin: -32px auto 0; }
.sec-transport .geo-map{ width: 100%; min-width: 860px; height: 100%; min-height: 570px; display: block; margin-top: -32px; }
.sec-transport .route-group{ transition: opacity .22s ease; }
.sec-transport .network-map.has-selection .route-group:not(.selected),
.sec-transport .geo-map.has-selection .route-group:not(.selected){ opacity: .12; }
.sec-transport .route-path{ fill: none; stroke: var(--route-colour); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; transition: stroke-width .15s ease, filter .15s ease; }
.sec-transport .network-map .route-path{ stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.sec-transport .route-group:hover .route-path,
.sec-transport .route-group.selected .route-path{ stroke-width: 13; filter: drop-shadow(0 3px 3px rgba(0,0,0,.18)); }
.sec-transport .network-map .route-group:hover .route-path,
.sec-transport .network-map .route-group.selected .route-path{ stroke-width: 11; }
.sec-transport .stop-node{ cursor: pointer; }
.sec-transport .stop-node circle{ fill: #fff; stroke: var(--route-colour); stroke-width: 5; transition: r .15s ease; }
.sec-transport .stop-node:hover circle,
.sec-transport .stop-node:focus circle,
.sec-transport .stop-node.active circle{ r: 10; fill: var(--route-colour); stroke: white; }
.sec-transport .stop-node:focus{ outline: none; }
.sec-transport .stop-label{ fill: var(--ink); font-size: 14px; font-weight: 400; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.sec-transport .stop-label-layer{ pointer-events: none; }
.sec-transport .network-map .stop-node circle{ fill: white; stroke: #171c24; stroke-width: 4; }
.sec-transport .network-map .stop-node:hover circle,
.sec-transport .network-map .stop-node:focus circle,
.sec-transport .network-map .stop-node.active circle{ fill: var(--route-colour); stroke: #171c24; }
.sec-transport .network-map .route-group .stop-label{ display: block; fill: #171c24; font-size: 12px; font-weight: 700; stroke: #f1f2f3; stroke-width: 5px; }
.sec-transport .network-map .route-group.selected .stop-label{ font-weight: 800; }
.sec-transport .route-label-bg{ fill: var(--route-colour); rx: 15px; }
.sec-transport .route-label{ fill: var(--route-label-colour, white); font-size: 13px; font-weight: 850; letter-spacing: .01em; }
.sec-transport .route-label-button,
.sec-transport .geo-route-label-button{ cursor: pointer; }
.sec-transport .route-label-button .route-label-bg,
.sec-transport .geo-route-label-button .geo-route-label-bg{ transition: filter .15s ease, stroke-width .15s ease; }
.sec-transport .route-label-button:hover .route-label-bg,
.sec-transport .route-label-button:focus .route-label-bg,
.sec-transport .geo-route-label-button:hover .geo-route-label-bg,
.sec-transport .geo-route-label-button:focus .geo-route-label-bg{ stroke: white; stroke-width: 3; filter: drop-shadow(0 3px 4px rgba(20,37,59,.24)); }
.sec-transport .route-label-button:focus,
.sec-transport .geo-route-label-button:focus{ outline: none; }
.sec-transport .geo-route-label-bg{ fill: var(--route-colour); }
.sec-transport .geo-route-label{ fill: white; font-size: 14px; font-weight: 850; pointer-events: none; }
.sec-transport .hub-crest-bg{ fill: rgba(255,255,255,.98); stroke: #9ca3af; stroke-width: 3; filter: drop-shadow(0 5px 7px rgba(20,37,59,.2)); }
.sec-transport .hub-crest-image{ pointer-events: none; }
.sec-transport .map-compass text{ fill: var(--muted); font-size: 12px; font-weight: 800; }
.sec-transport .map-compass path{ fill: none; stroke: var(--muted); stroke-width: 2; }
.sec-transport .geo-grid{ stroke: #cbd2da; stroke-width: 1; stroke-dasharray: 4 7; }
.sec-transport .geo-label{ fill: var(--muted); font-size: 12px; }
.sec-transport .geo-map .route-group .stop-label{ display: none; }
.sec-transport .geo-map .route-group.selected .stop-label{ display: block; }
.sec-transport .geo-leader{ display: none; stroke: var(--route-colour); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: .72; vector-effect: non-scaling-stroke; }
.sec-transport .geo-map .route-group.selected .geo-leader{ display: block; }

.sec-transport .route-panel{ min-width: 0; height: 100%; overflow: hidden; background: #fff; }
.sec-transport .panel-empty{ display: flex; flex-direction: column; align-items: flex-start; padding: 1.15rem 1.2rem; text-align: left; }
.sec-transport .panel-empty h2{ margin: 0; font-family: "Bliss Bold", Arial, sans-serif; color: var(--navy); font-size: 1.35rem; font-weight: 700; }
.sec-transport .panel-empty > p{ max-width: 310px; margin: .4rem 0 .9rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.sec-transport .secondary-button{ display: inline-flex; align-items: center; gap: .55rem; padding: .72rem .9rem; background: white !important; border: 1px solid var(--navy); border-radius: 4px; color: var(--navy) !important; font-size: .83rem; font-weight: 800; cursor: pointer; }
.sec-transport .panel-empty .secondary-button{ align-self: center; justify-content: center; }
.sec-transport .secondary-button svg{ width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sec-transport .secondary-button:hover{ background: var(--navy) !important; color: white !important; }
.sec-transport .location-status{ min-height: 0; align-self: stretch; margin: .55rem 0 0 !important; font-size: .78rem !important; text-align: center; }
.sec-transport #panel-content{ height: 100%; }
.sec-transport .route-heading{ display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem .8rem; border-bottom: 1px solid var(--line); }
.sec-transport .route-number{ width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; background: var(--route-colour); border-radius: 6px; color: white; font-size: .9rem; font-weight: 900; }
.sec-transport .route-heading p{ margin: 0 0 .2rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sec-transport .route-heading h2{ margin: 0; font-family: "Bliss Bold", Arial, sans-serif; color: var(--navy); font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.sec-transport .direction-toggle{ display: grid; grid-template-columns: 1fr 1fr; margin: .7rem 1rem .5rem; padding: .25rem; background: var(--paper); border-radius: 6px; }
.sec-transport .direction-toggle button{ display: block !important; padding: .55rem; border: 0; border-radius: 4px; background: transparent !important; color: #586477 !important; font-size: .8rem; font-weight: 780; text-align: center; white-space: normal !important; cursor: pointer; }
.sec-transport .direction-toggle button span{ display: block; margin-bottom: .12rem; font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sec-transport .direction-toggle button.active{ background: white !important; color: var(--navy) !important; box-shadow: 0 2px 8px rgba(20,37,59,.1); }
.sec-transport .stop-list{ max-height: calc(var(--map-height, 1400px) - 134px); overflow-y: auto; list-style: none; margin: 0; padding: .4rem 1rem 1.4rem; }
.sec-transport .stop-row{ position: relative; display: grid; grid-template-columns: 66px 1fr; gap: .72rem; margin: 0 !important; padding: 0 !important; }
.sec-transport .stop-row::before{ content: ""; position: absolute; left: 29px; top: 0; bottom: 0; width: 3px; background: var(--route-colour); opacity: .55; }
.sec-transport .stop-row:first-child::before{ top: 24px; }
.sec-transport .stop-row:last-child::before{ bottom: calc(100% - 24px); }
.sec-transport .stop-time{ width: 60px; height: 30px; display: grid; place-items: center; z-index: 1; margin-top: .55rem; background: var(--route-colour); border: 3px solid white; border-radius: 999px; color: white; font-size: 1em; font-weight: 850; line-height: 1; box-shadow: 0 0 0 1px color-mix(in srgb, var(--route-colour) 30%, white); }
.sec-transport .stop-button{ display: block !important; width: 100%; min-width: 0; padding: .72rem .55rem .75rem; border: 0; border-bottom: 1px solid #edf0f2; background: transparent !important; color: var(--ink) !important; text-align: left; white-space: normal !important; cursor: pointer; }
.sec-transport .stop-button:hover,
.sec-transport .stop-button:focus{ background: var(--paper) !important; outline: 0; }
.sec-transport .stop-button strong{ display: block !important; width: 100%; margin-bottom: .18rem; color: var(--ink) !important; font-size: .87rem; line-height: 1.3; white-space: normal !important; overflow-wrap: break-word; }
.sec-transport .stop-button small{ display: block !important; width: 100%; overflow: visible; color: var(--muted) !important; font-size: .72rem; line-height: 1.35; white-space: normal !important; overflow-wrap: break-word; -webkit-line-clamp: unset; }

.sec-transport .notes{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 1rem 0 0; padding: 1rem 1.25rem; background: var(--paper); border-left: 3px solid var(--gold); color: var(--muted); }
.sec-transport .notes p{ margin: 0; font-size: .78rem; line-height: 1.5; }
.sec-transport .notes strong{ color: var(--ink); }

.sec-transport .stop-dialog{ width: min(600px, calc(100% - 2rem)); max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); padding: 1.5rem; overflow-x: hidden; overflow-y: auto; border: 0; border-radius: 10px; color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.3); }
.sec-transport .stop-dialog > form{ width: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: visible; }
.sec-transport .stop-dialog::backdrop{ background: rgba(10,19,31,.66); backdrop-filter: blur(3px); }
.sec-transport .dialog-close{ position: absolute; top: .7rem; right: .8rem; width: 36px; height: 36px; border: 0; background: transparent !important; color: var(--muted) !important; font-size: 1.8rem; cursor: pointer; }
.sec-transport .dialog-route{ display: inline-flex; margin-bottom: .75rem; padding: .35rem .6rem; background: var(--route-colour); border-radius: 999px; color: white; font-size: .72rem; font-weight: 850; }
.sec-transport .stop-dialog h2{ margin: 0 2rem 1.2rem 0; font-family: "Bliss Bold", Arial, sans-serif; color: var(--navy); font-size: 1.8rem; font-weight: 700; }
.sec-transport .dialog-journeys{ min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.sec-transport .journey-card{ min-width: 0; max-width: 100%; padding: 1rem; overflow: hidden; background: var(--paper); border-top: 4px solid var(--route-colour); border-radius: 4px; }
.sec-transport .journey-card h3{ margin: 0 0 .4rem; color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.sec-transport .journey-card time{ display: block; margin-bottom: .45rem; color: var(--navy); font-family: "Bliss Regular", Arial, sans-serif; font-size: 1.65rem; }
.sec-transport .journey-card p{ min-height: 3.2em; margin: 0 0 .8rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.sec-transport .journey-card a{ color: var(--navy); font-size: .75rem; font-weight: 800; white-space: normal !important; overflow-wrap: anywhere; text-underline-offset: 3px; }

@media (max-width: 1100px){
  .sec-transport .workspace{ grid-template-columns: 1fr 340px; }
  .sec-transport .network-map{ min-width: 1180px; min-height: 1000px; }
  .sec-transport .geo-map{ min-width: 780px; }
}

@media (max-width: 850px){
  .sec-transport .sec-transport__main{ width: min(100% - 1rem, 760px); padding-top: 1.5rem; }
  .sec-transport .intro{ grid-template-columns: 1fr; gap: 1.2rem; padding-inline: .25rem; }
  .sec-transport .workspace{ height: auto; min-height: 0; display: flex; flex-direction: column; }
  .sec-transport .map-card{ height: min(var(--map-height, 1400px), 70vh); min-height: 562px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-transport .map-view{ min-height: 500px; }
  .sec-transport .network-map{ min-width: 1120px; min-height: 940px; }
  .sec-transport .geo-map{ min-width: 780px; min-height: 500px; }
  .sec-transport .route-panel{ height: auto; overflow: visible; }
  .sec-transport .stop-list{ max-height: none; }
  .sec-transport .notes{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .sec-transport .sec-transport__main{ width: 100%; }
  .sec-transport .intro,
.sec-transport .route-strip{ padding-inline: 1rem; }
  .sec-transport h1{ font-size: 2.15rem; }
  .sec-transport .workspace{ border-inline: 0; border-radius: 0; }
  .sec-transport .map-toolbar{ padding-inline: .65rem; }
  .sec-transport .view-tab{ padding-inline: .58rem; font-size: .75rem; }
  .sec-transport .text-button{ font-size: .73rem; }
  .sec-transport .map-actions{ gap: .2rem; }
  .sec-transport .map-download{ padding: .48rem; font-size: 0; }
  .sec-transport .map-download svg{ width: 19px; }
  .sec-transport .map-card{ min-height: 517px; }
  .sec-transport .map-view{ min-height: 455px; }
  .sec-transport .network-map{ min-width: 1080px; min-height: 910px; }
  .sec-transport .geo-map{ min-width: 720px; min-height: 460px; }
  .sec-transport .dialog-journeys{ grid-template-columns: 1fr; }
  .sec-transport .notes{ margin: .8rem; }
}

@media (prefers-reduced-motion: reduce){
  .sec-transport *,
.sec-transport *::before,
.sec-transport *::after{ scroll-behavior: auto !important; transition: none !important; }
}
