/* FF Meta Pro (licensed Monotype typeface), converted from the TTFs to WOFF. Only FF Meta is used. */
@font-face { font-family: "FF Meta"; font-weight: 100; font-style: normal; font-display: swap; src: url("/fonts/FFMetaPro-Thin.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 100; font-style: italic; font-display: swap; src: url("/fonts/FFMetaPro-ThinItalic.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/FFMetaPro-Light.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 300; font-style: italic; font-display: swap; src: url("/fonts/FFMetaPro-LightItalic.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/FFMetaPro-Regular.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/FFMetaPro-Italic.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/FFMetaPro-Medium.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/FFMetaPro-MediumItalic.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/FFMetaPro-Bold.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 700; font-style: italic; font-display: swap; src: url("/fonts/FFMetaPro-BoldItalic.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 900; font-style: normal; font-display: swap; src: url("/fonts/FFMetaPro-Black.woff") format("woff"); }
@font-face { font-family: "FF Meta"; font-weight: 900; font-style: italic; font-display: swap; src: url("/fonts/FFMetaPro-BlackItalic.woff") format("woff"); }

:root {
  --font: "FF Meta", sans-serif;
  --navy: #0A2240;
  --blue: #005DAA;
  --blue-dk: #004785;
  --ink: #1A1A1A;
  --ink-2: #4A4F55;
  --muted: #6B7178;
  --line: #D9DCE0;
  --bg: #FFFFFF;
  --bg-2: #F3F4F6;
  --expo: #1F4E9E;
  --millennium: #FDB913;
  --canada: #009AC7;
  --disabled: #C4C8CD;
  --focus: #FDB913;
  --radius: 6px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(28px, 3.4vw, 40px); }
h2 { font-size: 20px; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.spacer { flex: 1; }
[hidden] { display: none !important; }

/* Top bar */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar__inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 20px; }
.brand__mark svg { width: 32px; height: 32px; display: block; }
.brand__text strong { font-weight: 700; }
.tabs { display: flex; gap: 4px; }
.tab { display: flex; align-items: center; padding: 0 16px; color: #fff; text-decoration: none; font-weight: 500;
  border-bottom: 4px solid transparent; border-top: 4px solid transparent; opacity: .85; }
.tab:hover { opacity: 1; background: rgba(255,255,255,.06); }
.tab[aria-selected="true"] { opacity: 1; border-bottom-color: var(--millennium); }

/* Page */
main { display: block; }
.view--page { max-width: 1440px; margin: 0 auto; padding: 28px 24px 120px; }
.view--map { display: flex; flex-direction: column; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
.view--map[hidden] { display: none; }
.view--map .pagehead { width: 100%; max-width: 1440px; margin: 0 auto; padding: 22px 24px 16px; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.lede { margin: 6px 0 0; color: var(--ink-2); font-size: 18px; }
.eyebrow { margin: 0 0 4px; font-size: 13px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }

.legend { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.legend li.is-off { color: var(--muted); }
.bullet { display: inline-block; width: 28px; height: 8px; border-radius: 4px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; background: var(--bg-2);
  color: var(--muted); border-radius: 3px; padding: 2px 6px; }

/* Map: full-bleed canvas with pan and zoom */
.mapwrap { position: relative; flex: 1; min-height: 360px; background: #E4E9EF; overflow: hidden; border-top: 1px solid var(--line);
  cursor: grab; outline: none; }
.mapwrap:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); }
.mapwrap.is-dragging { cursor: grabbing; }
.mapwrap.is-dragging .stn { cursor: grabbing; }
#map { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; --ls: 1; }
#map { background-image: radial-gradient(circle, #C3CCD7 var(--dot, .9px), transparent calc(var(--dot, .9px) + .6px)); --dot: .9px; }
/* While the map is being dragged or pinched, skip hover colouring and fill transitions so frames stay cheap */
.mapwrap.is-moving #map .stn .mk { transition: none; }
.mapwrap.is-moving #map .stn { pointer-events: none; }
#map .route { fill: none; stroke-width: 8px; stroke-linecap: round; stroke-linejoin: round; }
#map .walk { stroke: #8EA2BB; stroke-width: 1.8; stroke-dasharray: .1 3.4; stroke-linecap: round; }
#map .conn-out { stroke: #1C3D6B; stroke-width: 7.2px; stroke-linecap: round; }
#map .conn-in { stroke: #fff; stroke-width: 2.4px; stroke-linecap: round; transition: stroke .12s; pointer-events: none; }
#map .stn.is-hover .conn-in, #map .stn:focus-visible .conn-in { stroke: #FFD200; }
#map .stn--m.is-hover .conn-in, #map .stn--m:focus-visible .conn-in { stroke: #009AC8; }
#map .stn.is-playing .conn-in { stroke: #D7262E; }
#map .stn { cursor: pointer; transform: translate(var(--x), var(--y)); }
#map .stn .mk { fill: #fff; transition: fill .12s; }
#map .stn .hit { fill: transparent; stroke: none; }
#map .stn-label { font-family: var(--font); font-size: 15px; font-weight: 500; fill: #1C3D6B; letter-spacing: -.1px;
  paint-order: stroke; stroke: #E4E9EF; stroke-width: 3px; stroke-linejoin: round; }
#map .badge { pointer-events: none; }
#map .badge-text { font-family: var(--font); font-weight: 700; fill: #fff; letter-spacing: .1px; }
#map .badge-icon { fill: none; stroke: #fff; stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
#map .stn.is-hover .mk, #map .stn:focus-visible .mk { fill: #FFD200; }
/* Millennium Line stations: yellow would vanish against the yellow line, so hover in SkyTrain blue */
#map .stn--m.is-hover .mk, #map .stn--m:focus-visible .mk { fill: #009AC8; }
#map .stn:focus-visible .stn-label { fill: #0B5AA8; }
#map .stn:focus { outline: none; }
#map .stn.is-off { cursor: default; }
#map .stn.is-off .stn-label { fill: #A2A9B1; }
#map .stn.is-off:hover .mk { fill: #fff; }
#map .stn.is-playing .mk, #map .stn.is-playing:hover .mk { fill: #D7262E; }
#map .stn.is-playing .stn-label, #map .stn.is-playing:hover .stn-label { fill: url(#swoosh); stroke: none; font-weight: 700; filter: url(#glow); }

.mapctl { position: absolute; right: 16px; bottom: 24px; display: flex; flex-direction: column; background: #fff; border-radius: 8px;
  box-shadow: 0 1px 2px rgba(10,34,64,.18), 0 4px 14px rgba(10,34,64,.12); overflow: hidden; transition: bottom .2s; }
.mapbtn { width: 40px; height: 40px; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.mapbtn + .mapbtn { border-top: 1px solid var(--line); }
.mapbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mapbtn:hover { background: var(--bg-2); color: var(--navy); }
.mapbtn:disabled { color: #C4C8CD; cursor: default; background: #fff; }
.mapbtn:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.mapbtn--fit { margin-top: 0; }

.map-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(10,34,64,.78); color: #fff; font-size: 14px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.map-hint.is-gone { opacity: 0; }
@media (hover: none) { .map-hint { top: auto; bottom: 24px; } }

/* Popover */
.popover { position: absolute; z-index: 5; width: 300px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(10,34,64,.22), 0 0 0 1px rgba(10,34,64,.08); padding: 16px; }
.popover h3 { font-size: 20px; margin-bottom: 2px; }
.popover .opts { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer; }
.opt:hover { border-color: var(--blue); background: #F4F8FC; }
.opt .play { margin-left: auto; color: var(--blue); font-weight: 700; }
.opt small { display: block; color: var(--muted); font-size: 13px; }
.popover .close { position: absolute; top: 8px; right: 8px; }

.linebadge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.linebadge i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px;
  border: 2px solid var(--blue); background: #fff; color: var(--blue); border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.btn:hover { background: #F0F6FC; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { height: 32px; padding: 0 10px; font-size: 14px; }
.iconbtn { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; color: var(--ink-2); }
.iconbtn:hover { background: var(--bg-2); }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }

/* Library */
.library { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.search input { width: 100%; height: 44px; border: 2px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
.search input:focus { border-color: var(--blue); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip b { font-weight: 700; margin-left: 4px; opacity: .7; }
.tablewrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.cliptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.cliptable th { text-align: left; font-size: 13px; letter-spacing: .06em; color: var(--muted);
  background: var(--bg-2); padding: 10px 12px; position: sticky; top: 0; }
.cliptable td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.cliptable tr.is-playing td { background: #FFF6DA; }
.cliptable .c-num { text-align: right; white-space: nowrap; color: var(--ink-2); }
.cliptable .c-play, .cliptable .c-add { width: 44px; }
.cliptable .file { color: var(--muted); font-size: 13px; word-break: break-all; }
.cliptable .untx { color: var(--muted); font-style: italic; }
.cliptable .src { display: block; font-size: 12px; color: var(--muted); }
.roundbtn { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; color: var(--blue);
  cursor: pointer; display: inline-grid; place-items: center; font-weight: 700; }
.roundbtn:hover { background: var(--blue); color: #fff; }
.roundbtn svg { width: 14px; height: 14px; }
.cat { font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.chain { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.chain h2 { margin-bottom: 10px; }
.chain hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.field { display: grid; gap: 6px; margin: 12px 0; font-weight: 500; }
.field select, .field input[type=text] { height: 40px; border: 2px solid var(--line); border-radius: var(--radius); padding: 0 10px; background: #fff; }
.field output { color: var(--muted); font-weight: 400; margin-left: 6px; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { margin-top: 4px; }

/* Segment lists (chain + advanced) */
.seglist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: seg; }
.seg { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 8px 8px 8px 10px; font-size: 15px; }
.seg.is-dragging { opacity: .4; }
.seg.is-over { border-color: var(--blue); box-shadow: 0 -3px 0 var(--blue); }
.seg.is-playing { border-color: var(--millennium); background: #FFF8E1; }
.seg.is-off { opacity: .5; }
.seg .grip { cursor: grab; color: var(--muted); user-select: none; display: inline-grid; place-items: center; width: 16px; }
.seg .grip svg { width: 10px; height: 16px; display: block; }
.seg .txt { flex: 1; min-width: 0; }
.seg .kind { display: block; font-size: 12px; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.seg .mini { width: 28px; height: 28px; border: 0; background: transparent; border-radius: 4px; cursor: pointer; color: var(--ink-2); }
.seg .mini:hover { background: var(--bg-2); }
.seg .mini:disabled { opacity: .3; cursor: default; }
.src-badge { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.src-badge.rec { background: #E3F1E6; color: #1E6B34; }
.src-badge.tts { background: #FFF1D6; color: #8A5A00; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 40; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,34,64,.45); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,.2); }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 22px 12px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 26px; }
#adv-sub { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.drawer__body { padding: 16px 22px; overflow: auto; flex: 1; }
.drawer__foot { display: flex; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg-2); }
.section { margin-bottom: 22px; }
.section h3 { font-size: 16px; margin-bottom: 8px; }
.seg-toggle { display: inline-flex; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; }
.seg-toggle button { border: 0; background: #fff; color: var(--blue); padding: 6px 16px; font-weight: 700; cursor: pointer; }
.seg-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.dirpick { display: flex; flex-wrap: wrap; gap: 6px; }
.dirpick .chip { display: inline-flex; align-items: center; gap: 6px; }
.items { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.item { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-2); border-radius: 999px; padding: 3px 4px 3px 12px; font-size: 14px; }
.item button { border: 0; background: transparent; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; color: var(--ink-2); }
.item button:hover { background: #E2E5E9; }
.inline-add { display: inline-flex; gap: 4px; }
.inline-add input { height: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; font-size: 14px; width: 190px; }
.addbar { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.addbar select, .addbar input { height: 40px; border: 2px solid var(--line); border-radius: var(--radius); padding: 0 10px; background: #fff; min-width: 0; }
.params { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.params input { height: 30px; border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; font-size: 14px; }
.preview { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 14px 16px; font-size: 16px; }
.note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

/* Now playing */
.nowplaying { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy); color: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
.nowplaying__inner { max-width: 1440px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 14px; }
.nowplaying__text { flex: 1; min-width: 0; font-size: 17px; }
.nowplaying__text .title { font-weight: 700; display: block; line-height: 1.25; }
.nowplaying__text .line { opacity: .85; font-size: 15px; display: block; line-height: 1.25; margin-top: 2px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.nowplaying__text .cur { background: var(--millennium); color: var(--navy); border-radius: 3px; padding: 0 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 20px; }
.eq i { width: 4px; background: var(--millennium); animation: eq 0.9s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { height: 5px; } 50% { height: 20px; } }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--radius); z-index: 50; font-size: 15px; }

@media (max-width: 960px) {
  .library { grid-template-columns: 1fr; }
  .chain { position: static; }
  .cliptable .file-col, .cliptable th:nth-child(4) { display: none; }
}
@media (max-width: 640px) {
  .topbar__inner { gap: 12px; padding: 0 12px; }
  .brand__text { display: none; }
  .tab { padding: 0 10px; font-size: 15px; }
  .view--page { padding: 18px 12px 120px; }
  .view--map .pagehead { padding: 16px 16px 12px; }
  .view--map .lede { font-size: 16px; }
  .mapctl { right: 12px; bottom: 16px; }
  .popover { width: calc(100% - 24px); left: 12px !important; }
  .nowplaying__inner { flex-wrap: wrap; gap: 8px 10px; padding: 10px 14px; }
  .nowplaying__text { flex-basis: calc(100% - 30px); font-size: 15px; }
  .nowplaying__text .line { font-size: 14px; }
  .nowplaying .btn { height: 34px; flex: 1; }
  body.np-open .mapctl { bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; height: 12px; } }

/* Now-playing bar: idle state, and permanently docked under the map on desktop */
.nowplaying.is-idle .eq { visibility: hidden; }
.nowplaying.is-idle .nowplaying__text .line { opacity: .7; }
.nowplaying .btn:disabled { opacity: .4; cursor: default; }
@media (min-width: 641px) {
  body.on-map .nowplaying[hidden] { display: block !important; }
  body.on-map .view--map { height: calc(100vh - 64px - 68px); height: calc(100dvh - 64px - 68px); }
  body.on-map .nowplaying__inner { height: 68px; padding-top: 0; padding-bottom: 0; }
}
@media (max-width: 640px) { body.np-open .mapctl { bottom: 150px; } }

/* Transfer-style tag picker (Advanced panel). Filled = included, hollow = not included. */
.tagpick { display: flex; flex-wrap: wrap; gap: 8px; }
.ttag { --tc: #1C3D6B; --tt: #fff; display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; }
.ttag-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-sizing: border-box;
  border: 2px solid var(--tc); background: transparent; }
.ttag-icon svg { width: 22px; height: 22px; display: block; }
.ttag-icon path { fill: var(--tc); }
.ttag-plate { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; box-sizing: border-box; border: 2px solid var(--tc);
  color: var(--tc); background: transparent; white-space: nowrap; }
.ttag:hover .ttag-plate, .ttag:hover .ttag-icon { background: color-mix(in srgb, var(--tc) 10%, transparent); }
.ttag.is-on .ttag-icon, .ttag.is-on .ttag-plate { background: var(--tc); }
.ttag.is-on .ttag-plate { color: var(--tt); }
.ttag.is-on .ttag-icon path { fill: var(--tt); }
.ttag.is-on { cursor: grab; }
.ttag.is-dragging { opacity: .4; }
.ttag.is-over .ttag-plate { box-shadow: -4px 0 0 var(--blue); }
.ttag:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ttag[aria-pressed="false"] .ttag-plate { color: #4A4F55; }
.params select { height: 34px; border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; font-size: 14px; background: #fff; }

/* Map switcher (right of the SkyTrain Network heading) */
.mapswitch { display: inline-flex; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; }
.mapswitch__btn { font: inherit; font-weight: 700; font-size: 15px; color: var(--blue); background: #fff; border: 0; padding: 6px 16px; cursor: pointer; }
.mapswitch__btn + .mapswitch__btn { border-left: 2px solid var(--blue); }
.mapswitch__btn:hover { background: #EEF4FA; }
.mapswitch__btn { color: var(--mc, var(--blue)); }
.mapswitch__btn[aria-pressed="true"] { background: var(--mc, var(--blue)); color: #fff; }
.mapswitch__btn:focus-visible { outline: 3px solid var(--millennium); outline-offset: -3px; }

/* Library switch is made of links; reuse the map switch look */
a.mapswitch__btn { text-decoration: none; display: inline-flex; align-items: center; }
/* Recording take (Canada Line stations were recorded several times in different tones) */
.cliptable .take { display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1.5px solid #0098CC; color: #00739A;
  border-radius: 10px; font-size: 12px; font-weight: 700; vertical-align: 1px; white-space: nowrap; }

@media (hover: hover) {
  #map .stn:hover .conn-in { stroke: #FFD200; }
  #map .stn--m:hover .conn-in { stroke: #009AC8; }
  #map .stn:hover .mk { fill: #FFD200; }
  #map .stn--m:hover .mk { fill: #009AC8; }
  #map .stn:hover .stn-label { fill: #0B5AA8; }
}
