.tb .tile { box-shadow: none; display: block; }
.tb .btn { font-family: var(--font-body); display: inline-block; transition: none; }
.tb .btn:hover { transform: none; }
:root {
  --red: #C0122F; --blue: #1D6A4B; --blue-deep: #10233F;
  --sand: #F4F6F8; --sand-2: #E6EBF1; --paper: #FFFFFF;
  --ink: #121A26; --ink-2: #4E5968; --ink-3: #5B6675; --line: #D5DBE2;
  --ok: #1F7A4D; --ok-bg: #E4F3EA; --skip: #8A94A2; --skip-bg: #EEF1F5; --warn: #9A5A00; --warn-bg: #FFF3DC;
  --bad: #B3261E; --bad-bg: #FCE8E6;
  --site-soft: #E4F1EA; --site-ink: #175A3F;
  --shadow: 0 0 0 1px rgba(16, 35, 63, .05), 0 1px 2px rgba(16, 35, 63, .06), 0 6px 18px rgba(16, 35, 63, .06);
  --radius: 16px; --radius-s: 8px;
  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}
.tb * { box-sizing: border-box; }
.tb { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.5 var(--font-body); }
.tb h1, .tb h2, .tb h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
.tb a { color: var(--blue); }
.tb button { font: inherit; cursor: pointer; }
.tb [hidden] { display: none !important; }
.tb .top { background: var(--blue-deep); color: #F4F6F8; }
.tb .top__in { max-width: 1400px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.tb .top__brand { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.tb .top__tag { margin-left: auto; font-size: .8rem; background: #9FD9BE; color: var(--blue-deep); padding: 2px 10px; border-radius: 99px; font-weight: 700; }
.tb .wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px 40px; }
.tb .intro { padding: 24px 0 12px; }
.tb .intro h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tb .intro__ver { margin: 4px 0 0; font: .75rem var(--font-data); color: var(--ink-3); }
.tb .intro__ver b { color: var(--site-ink); }
.tb .intro__region { display: inline-block; font-size: .5em; vertical-align: middle; background: var(--site-soft); color: var(--site-ink); padding: 3px 10px; border-radius: 99px; margin-left: 6px; }
.tb .region { position: relative; display: inline-block; vertical-align: middle; }
.tb .region-btn { font: 600 .78rem var(--font-body); margin-left: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 99px; padding: 3px 10px; cursor: pointer; }
.tb .region-btn:hover, .tb .region-btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.tb .region-menu { position: absolute; top: calc(100% + 6px); left: 6px; z-index: 60; min-width: 230px; max-width: calc(100vw - 32px); display: grid; gap: 2px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(16, 35, 63, .18); font: 400 .9rem/1.3 var(--font-body); }
.tb .region-menu[hidden] { display: none; }
.tb .region-menu button { text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.tb .region-menu button:hover { background: var(--site-soft); }
.tb .region-menu button[aria-current="true"] { font-weight: 700; color: var(--site-ink); }
.tb .region-menu__soon { padding: 7px 10px; color: var(--ink-3); }
.tb .region-menu__soon small { font-size: .75rem; font-style: italic; }
@media (max-width: 700px){
.tb .intro h1 { position: relative; }
.tb .region { position: static; }
.tb .region-menu { left: 0; }
}
.tb .intro p { max-width: 760px; color: var(--ink-2); margin: 8px 0 0; }
html.wiz-on .intro__region, html.wiz-on .region, html.wiz-on .intro__lead, html.wiz-on:not(.wiz-custom) #settings { display: none; }
html.wiz-on:not([data-wiz="3"]) #settings { display: none; }
html.wiz-on #wiz[hidden] { display: block; }
html.wiz-on:not([data-wiz="3"]) #start, html.wiz-on:not([data-wiz="3"]) .mob-note { display: none; }
html.wiz-on:not([data-wsub]) #start { display: none; }
html[data-wsub] .start { grid-template-columns: 1fr; }
html[data-wsub="trek"] .start__col--zero, html[data-wsub="zero"] .start__col--trek { display: none; }
html.wiz-on .start__col h2 { display: none; }
.tb .start.is-maphid .start__map { display: none; }
.tb .start__maptog { display: inline-block; margin: 0 0 12px; }
@media (min-width: 901px){
html[data-wsub="zero"] .start .start__col--zero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
html[data-wsub="zero"] .start .start__maptog { display: none; }
html[data-wsub="zero"] .start .start__col--zero .start__map { display: block; position: sticky !important; top: 12px;  height: min(520px, calc(100vh - 100px)); margin: 0; }
}
.tb .tuto { position: absolute; z-index: 1100; top: 54px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); display: flex; gap: 12px; align-items: flex-start; background: var(--blue-deep); color: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(16,35,63,.3); font-size: .92rem; line-height: 1.45; }
.tb .tuto[hidden] { display: none; }
.tb .tuto__t { margin: 0; flex: 1; }
.tb .tuto__lg { list-style: none; margin: 6px 0 0; padding: 0; }
.tb .tuto__lg li { margin: 3px 0; }
.tb .tuto__lg .lg { margin-right: 8px; }
.tb .tuto__lg .lg--out { width: 12px; height: 12px; border: 2px solid #fff; }
.tb .tuto__x { flex: none; background: #fff; color: var(--blue-deep); border: 0; cursor: pointer; font-weight: 700; }
@media print{ .tuto { display: none !important; } }
@media (max-width: 700px){
.tb .tuto { top: 8px; font-size: .82rem; padding: 9px 11px; gap: 8px; }
.tb .builder__map:not(.is-full) .tuto { cursor: pointer; }
.tb .builder__map.is-full .tuto { top: 84px; }
}
.tb .wiz__alt { margin: 0 0 20px; color: var(--ink-2); }
.tb .wiz__alt[hidden] { display: none; }
.tb .wcard--mode { padding: 20px 22px; }
.tb .wcard--mode .wcard__name { font-size: 1.2rem; }
.tb .wcard--mode .wcard__d { font-size: .95rem; }
.tb .wiz__how { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 4px 0 0; padding: 0; font-size: .85rem; color: var(--ink-3); }
.tb .wiz { margin: 8px 0 16px; }
.tb .wiz[hidden] { display: none; }
.tb .wiz__steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; }
.tb .wiz__step { display: inline-block; font: 600 .8rem/1.3 var(--font-body); padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-3); }
.tb .wiz__steps .is-on .wiz__step { background: var(--blue); border-color: var(--blue); color: #fff; }
.tb .wiz__steps button.wiz__step { cursor: pointer; color: var(--blue); border-color: var(--blue); }
.tb .wiz__steps button.wiz__step:hover { background: var(--site-soft); }
.tb .wiz__back { display: block; margin: 0 0 8px; }
.tb .wiz__back[hidden] { display: none; }
.tb .wiz__q { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; outline: none; }
.tb .wiz__sub { margin: 4px 0 16px; color: var(--ink-2); max-width: 760px; }
.tb .wiz__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tb .wiz__cards[hidden] { display: none; }
.tb .wcard { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .12s; }
.tb .wcard:hover, .tb .wcard:focus-visible { border-color: var(--blue); box-shadow: 0 6px 16px rgba(16,35,63,.12); transform: translateY(-1px); }
.tb .wcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tb .wcard.is-on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.tb .wcard.is-rec { border-color: var(--blue); }
.tb .wcard.is-soon { cursor: default; border-style: dashed; color: var(--ink-3); background: transparent; }
.tb .wcard.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.tb .wcard__name { font-weight: 700; font-size: 1.08rem; }
.tb .wcard__d { font-size: .88rem; color: var(--ink-2); }
.tb .wcard ul { margin: 0; padding-left: 18px; font-size: .84rem; color: var(--ink-2); }
.tb .wcard__rec { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 1px 9px; border-radius: 99px; background: var(--blue); color: #fff; }
.tb .wcard__go { margin-top: auto; padding-top: 4px; font-size: .85rem; font-weight: 700; color: var(--blue); }
@media (max-width: 700px){
.tb .wiz__cards { grid-template-columns: 1fr; }
.tb .wiz__steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tb .wiz__step { white-space: nowrap; }
.tb .wiz__val, .tb .wiz__steps li:last-child { display: none; }
}
.tb .start { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0 20px; }
.tb .start__col { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.tb .start__col h2 { font-size: 1.05rem; margin-bottom: 10px; }
.tb .start__col h2 small { display: block; font: 400 .8rem var(--font-body); color: var(--ink-3); margin-top: 2px; }
.tb .start__btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tb .start.is-compact { display: none; }
.tb .start__map { height: 300px; border-radius: 10px; margin-bottom: 12px; background: #dfe6e0; z-index: 0; }
.tb .smark { display: inline-flex; align-items: center; gap: 3px; font: 700 11px/1.1 var(--font-body); color: var(--ink); background: rgba(255,255,255,.92); padding: 2px 6px 2px 3px; border-radius: 12px; border: 2px solid var(--red); white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: pointer; }
.tb .smark-w { pointer-events: none; }
.tb .smark-w .smark { pointer-events: auto; }
.tb .smark__i { font-size: 13px; width: 16px; text-align: center; }
.tb .smark--l { flex-direction: row-reverse; padding: 2px 3px 2px 6px; transform: translateX(calc(-100% + 26px)); }
.tb .smark--min { padding: 2px 3px; }
.tb .smark--min .smark__n { display: none; }
.tb .smark.is-hot, .tb .smark:hover { background: var(--red); color: #fff; }
.tb .scard--start.is-hot { outline: 2px solid var(--red); outline-offset: 1px; }
.tb .start__map .leaflet-control-attribution { font-size: 10px; }
@media (max-width: 700px){
.tb .start__map { height: 260px; }
}
.tb .scard { display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); transition: border-color .12s, box-shadow .12s, transform .12s; }
.tb .scard:hover, .tb .scard:focus-visible { border-color: var(--blue); box-shadow: 0 6px 16px rgba(16,35,63,.12); transform: translateY(-1px); }
.tb .scard__ico { font-size: 1.4rem; line-height: 1; }
.tb .scard__name { font: 700 1.02rem/1.2 var(--font-head); }
.tb .scard__name small { font: 400 .78rem var(--font-data); color: var(--ink-3); margin-left: 4px; }
.tb .scard__how { font-size: .82rem; color: var(--ink-2); }
.tb .scard ul { margin: 2px 0 0; padding-left: 16px; font-size: .78rem; color: var(--ink-2); }
.tb .scard li { margin: 1px 0; }
.tb .scard__facts { font: .8rem var(--font-data); color: var(--ink-2); }
.tb .scard__facts b { color: var(--ink); }
.tb .scard__lvl { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--sand-2); color: var(--ink-2); }
.tb .scard__lvl--4 { background: var(--warn-bg); color: #6B3F00; }
.tb .scard__lvl--5 { background: var(--bad-bg); color: var(--bad); }
.tb .scard__go { margin-top: auto; padding-top: 6px; font-size: .8rem; font-weight: 700; color: var(--blue); }
.tb .startbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 16px; margin: 12px 0 16px; font-size: .85rem; }
.tb .startbar__now b { font-family: var(--font-head); }
.tb .startbar__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-3); }
.tb .pill { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 3px 10px; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.tb .pill:hover { border-color: var(--blue); color: var(--blue); }
.tb .btn { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 99px; padding: 8px 14px; font-weight: 700; line-height: 1.2; }
.tb .btn:hover { border-color: var(--blue); color: var(--blue); }
.tb .btn--main { background: var(--blue); border-color: var(--blue); color: #fff; }
.tb .btn--main:hover { background: #15523A; color: #fff; }
.tb .btn--ghost { padding: 6px 12px; font-size: .85rem; }
.tb .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.tb .btn[aria-disabled="true"]:hover { border-color: var(--line); color: var(--ink); }
@media (max-width: 700px){
.tb .itin__tools { gap: 4px; }
.tb .itin__tools .btn { padding: 5px 7px; font-size: .78rem; }
}
.tb .btn small { display: block; font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.tb .btn--main small { color: #DDEFE5; }
.tb .link { background: none; border: 0; color: var(--blue); text-decoration: underline; padding: 0; font-size: .85rem; }
.tb .builder { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 16px; align-items: start; }
.tb .builder__map { position: sticky; top: 12px; z-index: 1; }
.tb .map { height: min(68vh, 680px); border-radius: var(--radius); box-shadow: var(--shadow); background: #dfe6e0; z-index: 0; }
.tb .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--ink-2); margin: 8px 4px; }
.tb .lg { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.tb .lg--route { background: var(--red); height: 5px; }
.tb .lg--ok { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ok); }
.tb .lg--near { width: 12px; height: 12px; border-radius: 50%; background: var(--warn); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--warn); }
.tb .lg--out { width: 10px; height: 10px; border-radius: 50%; background: var(--skip); }
.tb .lg--net { background: repeating-linear-gradient(90deg, #5B6675 0 4px, transparent 4px 7px); height: 2px; }
.tb .lg--ride { background: radial-gradient(circle, #10233F 0 2px, transparent 2.5px) 0 50% / 7px 6px repeat-x; height: 6px; }
.tb .profile { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 12px 4px; }
.tb .profile svg { display: block; width: 100%; height: auto; }
.tb .profile__empty { color: var(--ink-3); font-size: .85rem; padding: 8px 0 10px; }
.tb .builder__side > * + * { margin-top: 14px; }
.tb .builder__itin { grid-column: 2; }
@media (min-width: 1200px){
.tb .wrap { max-width: 1680px; }
.tb .top__in { max-width: 1680px; }
.tb .builder { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr) minmax(330px, .9fr); }
.tb .builder__itin { grid-column: 3; grid-row: 1; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; border-radius: var(--radius); }
.tb .builder__itin .itin__tools .btn { padding: 5px 10px; font-size: .8rem; }
.tb .builder__itin .tiles { grid-template-columns: repeat(3, 1fr); }
.tb .builder__map .map { height: min(62vh, 640px); }
}
.tb .step, .tb .itin { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.tb .setbar { background: var(--site-soft); border: 2px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 16px; margin: -6px 0 16px; }
.tb .setbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tb .setbar__t { font: 700 .98rem var(--font-head); color: var(--site-ink); }
.tb .setbar__prof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; background: var(--paper); border-radius: 99px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.tb .setbar__prof button { border: 0; background: none; border-radius: 99px; padding: 5px 12px; font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.tb .setbar__prof button:hover { color: var(--blue); }
.tb .setbar__prof button.is-on { background: var(--blue); color: #fff; }
.tb .setbar__custom { font-size: .8rem; font-weight: 700; color: var(--site-ink); padding: 5px 10px; border-radius: 99px; background: var(--site-soft); }
.tb .setbar__impact { font-size: .84rem; color: var(--ink-2); }
.tb .setbar__impact.is-bad { color: var(--bad); }
.tb .setbar__impact.is-bad b { font-family: var(--font-data); }
.tb .setbar__impact.is-ok { color: var(--ok); font-weight: 700; }
.tb .setbar #s-reset { margin-left: auto; }
.tb .setbar__detail { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(29, 106, 75, .35); }
.tb .setbar__grp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: var(--ink-2); background: var(--paper); border-radius: 10px; padding: 6px 10px; }
.tb .setbar__grp--safe { box-shadow: inset 3px 0 0 var(--warn); }
.tb .setbar__gt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-right: 4px; }
.tb .setbar__grp--safe .setbar__gt { color: var(--warn); }
.tb .stp { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.tb .stp button { border: 0; background: none; width: 26px; height: 26px; border-radius: 50%; font: 700 1rem/1 var(--font-body); color: var(--blue); }
.tb .stp button:hover { background: var(--site-soft); }
.tb .stp output { min-width: 58px; text-align: center; font: 700 .9rem var(--font-data); color: var(--ink); }
.tb .step h2 { font-size: 1.1rem; }
.tb .step__sub { color: var(--ink-3); font-size: .85rem; margin: 2px 0 10px; }
.tb .step__group { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin: 14px 0 6px; font-weight: 700; }
.tb .cands { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tb .cand { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 8px 10px; }
.tb .cand:hover, .tb .cand.is-hl { border-color: var(--ok); background: var(--ok-bg); }
.tb .cand__name { font-weight: 700; }
.tb .cand__via { font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.tb .cand__time { font: 700 .95rem var(--font-data); color: var(--ok); text-align: right; }
.tb .cand__meta { grid-column: 1 / -1; font: .78rem var(--font-data); color: var(--ink-2); }
.tb .cand--out { background: var(--skip-bg); border-color: transparent; }
.tb .cand--out .cand__name { color: var(--ink-2); }
.tb .cand--out .cand__time { color: var(--ink-3); }
.tb .cand--near .cand__time { color: var(--warn); }
.tb .cand--out:hover, .tb .cand--out.is-hl { background: var(--warn-bg); border-color: var(--warn); }
.tb .cand__leg { grid-column: 1 / -1; font: .78rem var(--font-data); color: var(--blue); }
.tb .lab__leg, .tb .lab__d.lab__leg { color: var(--blue); }
.tb .cand__why { grid-column: 1 / -1; font-size: .78rem; color: var(--warn); }
.tb .cand__n { font-size: .72rem; font-weight: 700; color: var(--site-ink); background: var(--site-soft); border-radius: 99px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.tb .cand--alt { margin-left: 18px; width: calc(100% - 18px); padding-top: 6px; padding-bottom: 6px; }
.tb .cand--alt .cand__via { color: var(--ink-2); font-size: .88rem; }
.tb .cands li { display: flex; gap: 4px; align-items: stretch; }
.tb .cands li > .cand { flex: 1; min-width: 0; width: auto; }
.tb .cand__pass { flex: none; width: 58px; border: 1px dashed var(--line); background: var(--paper); border-radius: 10px; padding: 4px; font: 700 .72rem/1.2 var(--font-body); color: var(--ink-2); }
.tb .cand__pass:hover { border-style: solid; border-color: var(--blue); color: var(--blue); background: var(--site-soft); }
.tb .xpop .btn--pass { border-style: dashed; }
.tb .xpop .btn--pass:hover { border-style: solid; }
.tb .dayrun__x--way { border-color: var(--red); }
.tb .lab__dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.tb .lab__hint { font-family: var(--font-body); font-style: italic; color: var(--ink-3); }
.tb .rtag { display: inline-block; transform: translate(-50%, -50%); color: #fff; font: 700 11px/1.2 var(--font-body); padding: 2px 7px; border-radius: 99px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.tb .lab__n { font: 700 10px var(--font-body); color: var(--site-ink); background: var(--site-soft); border-radius: 99px; padding: 0 5px; margin-left: 4px; }
.tb .xpop .btn--out { background: var(--skip-bg); color: var(--ink-2); }
.tb .cand--back .cand__name::after { content: " ↩"; color: var(--ink-3); font-weight: 400; }
.tb .more { margin-top: 8px; }
.tb .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.tb .acts .btn { font-size: .85rem; padding: 6px 12px; }
.tb .acts--end { margin: 4px 0 10px; }
.tb .acts--end .btn { width: 100%; text-align: left; font-size: .95rem; padding: 10px 14px; }
.tb .acts--ride .btn { width: 100%; text-align: left; border-radius: 10px; padding: 8px 12px; }
.tb .acts--ride .btn--out { background: var(--skip-bg); color: var(--ink-2); }
.tb .acts--ride .btn--out small { color: var(--bad); }
.tb .dayrun { margin: 0 0 12px; border: 2px dashed var(--blue); background: var(--site-soft); border-radius: 12px; padding: 10px 12px; }
.tb .dayrun__h { font: 700 .95rem var(--font-head); color: var(--site-ink); }
.tb .dayrun__h span { font: 400 .78rem var(--font-body); color: var(--ink-2); margin-left: 6px; }
.tb .dayrun__seq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 6px; }
.tb .dayrun__x { display: inline-flex; align-items: center; gap: 4px; background: var(--paper); border: 1px solid var(--blue); border-radius: 99px; padding: 3px 4px 3px 10px; font-size: .85rem; font-weight: 700; }
.tb .dayrun__x small { font: 400 .72rem var(--font-data); color: var(--ink-3); }
.tb .dayrun__x button { border: 0; background: var(--sand); color: var(--ink-3); border-radius: 50%; width: 20px; height: 20px; font-size: .7rem; line-height: 1; padding: 0; }
.tb .dayrun__x button:hover { background: var(--bad-bg); color: var(--bad); }
.tb .dayrun__arr { color: var(--blue); font-weight: 700; }
.tb .dayrun__q { font-style: italic; color: var(--ink-2); font-size: .85rem; }
.tb .dayrun__how { margin: 4px 0 0; font-size: .82rem; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tb .dayrun__how .btn { padding: 5px 12px; font-size: .82rem; }
.tb .xpop__grip { cursor: move; user-select: none; touch-action: none; }
.tb .xpop__grip::before { content: "⠿ "; color: var(--ink-3); font-weight: 400; }
.tb .xpop-wrap.is-moved .leaflet-popup-tip-container { display: none; }
.tb .xpop__bad { color: var(--bad); font-weight: 700; }
.tb .xpop__near { color: var(--warn); font-weight: 700; }
.tb .xpop .btn--rm { color: var(--bad); border-color: var(--bad-bg); }
.tb .pending { margin-top: 8px; font-size: .85rem; background: var(--site-soft); color: var(--site-ink); padding: 6px 10px; border-radius: 8px; }
.tb .advice { margin: 0 0 10px; font-size: .85rem; background: var(--warn-bg); color: #6B3F00; padding: 8px 10px; border-radius: 8px; }
.tb .itin__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb .itin__head h2 { font-size: 1.1rem; }
.tb .itin__tools { display: flex; gap: 6px; flex-wrap: wrap; }
.tb .share-note { font-size: .82rem; background: var(--site-soft); color: var(--site-ink); padding: 8px 10px; border-radius: 8px; word-break: break-all; }
.tb .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0; }
.tb .tile { background: var(--sand); border-radius: 10px; padding: 8px 10px; }
.tb .tile b { display: block; font: 700 1.1rem var(--font-data); }
.tb .tile span { font-size: .75rem; color: var(--ink-3); }
.tb .days { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.tb .day { display: grid; grid-template-columns: 42px 1fr auto; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--sand-2); align-items: start; }
.tb .day__n { font: 700 .8rem var(--font-data); color: var(--ink-3); padding-top: 2px; }
.tb .day__t { font-weight: 700; }
.tb .day__t small { font-weight: 400; color: var(--ink-3); }
.tb .day__m { font: .78rem var(--font-data); color: var(--ink-2); }
.tb .day__alt { font: 700 .85rem var(--font-data); text-align: right; white-space: nowrap; }
.tb .dpart { display: block; }
.tb .dpart::before { content: "↳ "; color: var(--ink-3); }
.tb .dpart--tot { font-weight: 700; color: var(--ink); margin-top: 2px; }
.tb .dpart--tot::before { content: ""; }
.tb .day__x { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.tb .chip { border: 1px dashed var(--line); background: none; border-radius: 99px; font-size: .75rem; padding: 2px 8px; color: var(--ink-2); }
.tb .chip:hover { border-color: var(--blue); color: var(--blue); }
.tb .chip.is-on { border-style: solid; border-color: var(--blue); background: var(--site-soft); color: var(--site-ink); }
.tb .flag { grid-column: 2 / -1; font-size: .78rem; padding: 3px 8px; border-radius: 6px; }
.tb .flag--warn { background: var(--warn-bg); color: #6B3F00; }
.tb .flag--bad { background: var(--bad-bg); color: var(--bad); }
.tb .day__cut { background: none; border: 0; color: var(--ink-3); font-size: .75rem; text-decoration: underline; padding: 0; justify-self: start; grid-column: 2 / -1; }
.tb .day.is-last .day__cut { display: none; }
.tb .facts { margin-top: 12px; display: grid; gap: 8px; }
.tb .fact { background: var(--sand); border-radius: 10px; padding: 10px 12px; font-size: .88rem; }
.tb .fact h3 { font-size: .9rem; margin-bottom: 4px; }
.tb .fact ul { margin: 0; padding-left: 18px; }
.tb .fact .note { color: var(--ink-3); font-size: .78rem; }
.tb .foot { color: var(--ink-3); font-size: .78rem; margin-top: 24px; max-width: 900px; }
.tb .map-hint { position: absolute; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(16, 35, 63, .45); color: #fff; font: 700 1.05rem var(--font-body); opacity: 0; transition: opacity .2s; pointer-events: none; }
.tb .map-hint.is-on { opacity: 1; }
.tb .nd { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #5B6675; }
.tb .nd--ok { width: 16px; height: 16px; background: var(--ok); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ok), 0 2px 6px rgba(0,0,0,.3); }
.tb .nd--ok.nd--near { background: var(--warn); box-shadow: 0 0 0 1px var(--warn), 0 2px 6px rgba(0,0,0,.3); }
.tb .nd--out { background: var(--skip); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--skip); }
.tb .nd--cur { width: 20px; height: 20px; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--red), 0 2px 8px rgba(0,0,0,.35); }
.tb .nd--route { border-color: var(--red); }
.tb .nd.is-hl { transform: scale(1.35); }
.tb .lab { font: 700 11px/1.1 var(--font-body); color: var(--ink); background: rgba(255,255,255,.88); padding: 2px 5px; border-radius: 4px; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.2); pointer-events: none; }
.tb .lab b { font-family: var(--font-data); color: var(--ok); margin-left: 3px; }
.tb .lab--near b { color: var(--warn); }
.tb .xmark.is-open { cursor: pointer; border: 2px solid var(--ok); background: #fff; color: var(--ok); font-weight: 700; }
.tb .xmark.is-open:hover { background: var(--ok-bg); }
.tb .xmark.is-done { border: 2px solid var(--red); background: #fff; color: var(--red); font-weight: 700; }
.tb .xpop { display: grid; gap: 6px; min-width: 220px; font: 13px var(--font-body); }
.tb .xpop b { font: 700 14px var(--font-head); }
.tb .xpop span { color: var(--ink-3); font-size: 12px; }
.tb .xpop em { font-style: normal; font-weight: 700; margin-top: 4px; }
.tb .xpop .btn { text-align: left; border-radius: 10px; font-size: 13px; }
.tb .lab__d { font: 400 11px var(--font-data); color: var(--ink-2); }
.tb .lab--out { color: var(--ink-3); font-weight: 400; }
.tb .xmark { font: 600 10px/1.1 var(--font-body); color: #10233F; background: rgba(255,255,255,.8); padding: 1px 4px; border-radius: 4px; white-space: nowrap; border: 1px dashed #5B6675; cursor: default; }
.tb .xmark--l { display: inline-flex; flex-direction: row-reverse; gap: 3px; transform: translateX(calc(-100% + 16px)); }
.tb .xmark--min .xmark__n { display: none; }
.tb .lab--out b { color: var(--ink-3); }
.tb .lab--cur { background: var(--red); color: #fff; }
.tb .daynum { font: 700 10px/16px var(--font-data); width: 16px; height: 16px; text-align: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 2px #fff; }
.tb .peak { font: 10px/1.1 var(--font-body); color: #3A4452; white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff; pointer-events: none; }
.tb .peak::before { content: "▲ "; color: #6B7684; }
.tb .leaflet-tooltip.tt { font: 12px var(--font-body); }
.tb .map-wrap { position: relative; }
.tb .map-cover, .tb .map-close { display: none; }
html.no-scroll { overflow: hidden; }
.tb .map-max { position: absolute; top: 10px; right: 10px; z-index: 600; padding: 6px 12px; font-size: .85rem; box-shadow: var(--shadow); }
@media (max-width: 700px){
.tb .map-max { display: none; }
}
.tb .mob-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; background: var(--site-soft); color: var(--site-ink); border-radius: 10px; padding: 8px 10px; font-size: .88rem; }
.tb .mob-note span { flex: 1 1 200px; }
.tb .mob-note__x { background: none; border: 0; color: var(--site-ink); font-size: 1rem; padding: 4px; }
@media (max-width: 700px){
.tb .builder__map .map { height: 34vh; }
.tb .map-cover { display: flex; position: absolute; inset: 0; z-index: 500; align-items: flex-end; justify-content: center; padding-bottom: 10px; background: none; border: 0; border-radius: var(--radius); }
.tb .map-cover span { background: var(--blue-deep); color: #fff; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.tb .builder__map:not(.is-full) .leaflet-tooltip.lab:not(.lab--cur), .tb .builder__map:not(.is-full) .peak, .tb .builder__map:not(.is-full) .xmark, .tb .builder__map:not(.is-full) .leaflet-control-zoom { display: none; }
.tb .builder__map.is-full { position: fixed; inset: 0; z-index: 3000; background: var(--sand); padding: 8px; display: flex; flex-direction: column; }
.tb .builder__map.is-full .map-wrap { flex: 1; }
.tb .builder__map.is-full .map { height: 100%; border-radius: 10px; }
.tb .builder__map.is-full .map-cover, .tb .builder__map.is-full .profile { display: none; }
.tb .builder__map.is-full .map-close { display: block; position: absolute; top: 10px; right: 10px; z-index: 600; box-shadow: var(--shadow); }
}
@media (max-width: 900px){
.tb .builder { grid-template-columns: 1fr; }
.tb .builder__itin { grid-column: auto; }
.tb .builder__map { position: static; }
.tb .map { height: 52vh; }
.tb .start { grid-template-columns: 1fr; }
}
.tb .seg { display: inline-flex; background: var(--sand); border-radius: 99px; padding: 2px; }
@media (max-width: 700px){
.tb .seg { display: none; }
}
.tb .seg button svg { width: 14px; height: 12px; margin-right: 5px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tb .seg button { border: 0; background: none; border-radius: 99px; padding: 4px 11px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.tb .seg button.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(16,35,63,.15); }
.tb .sumline { margin: 6px 0 8px; font-size: .82rem; color: var(--ink-2); line-height: 1.6; }
.tb .sumline b { font-family: var(--font-data); color: var(--ink); }
.tb .warnpip { display: inline-block; color: var(--warn); cursor: help; font-size: .85rem; line-height: 1; }
.tb .warnpip--bad { color: var(--bad); }
.tb .cutbtn { border: 0; background: none; color: var(--ink-3); font-size: .9rem; padding: 0 2px; line-height: 1; opacity: 0; transition: opacity .15s; }
.tb .sday:hover .cutbtn, .tb .cutbtn:focus-visible { opacity: 1; }
.tb .cutbtn:hover { color: var(--blue); }
.tb [data-tip] { cursor: help; }
.tb button[data-tip] { cursor: pointer; }
.tip { position: fixed; z-index: 5000; max-width: 300px; background: #10233F; color: #E8EDF3; font: 13px/1.45 var(--font-body); padding: 10px 12px; border-radius: 10px; box-shadow: 0 10px 28px rgba(16,35,63,.35); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.tip.is-on { opacity: 1; transform: none; }
.tip::after { content: ""; position: absolute; left: var(--ax, 50%); top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #10233F; }
.tip.is-below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #10233F; }
.tip b { display: block; color: #fff; font-family: var(--font-head); font-size: 14px; margin-bottom: 2px; }
.tip ul { margin: 2px 0 6px; padding-left: 16px; }
.tip li { margin: 1px 0; }
.tip li::marker { color: #F28B82; }
.tip strong { color: #fff; }
.tip__h { display: block; width: max-content; font: 700 11px var(--font-body); text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 99px; margin: 2px 0 4px; }
.tip__h--bad { background: #F28B82; color: #3B0A07; }
.tip__h--warn { background: #F5C46B; color: #3D2600; }
.tip__h + * { margin-top: 0; }
.tip .tip__h:not(:first-child) { margin-top: 8px; }
.tip__bad { display: block; margin-top: 6px; color: #F28B82; font-weight: 700; }
.tip b + ul, .tip p { margin-top: 2px; }
.tb .strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; position: relative; }
.tb .sday { flex: 0 0 148px; scroll-snap-align: end; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 9px; display: flex; flex-direction: column; gap: 3px; position: relative; cursor: default; transition: transform .12s, box-shadow .12s; }
.tb .sday:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 14px; height: 2px; background: var(--line); }
.tb .sday:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 4px); right: -15px; border: 5px solid transparent; border-left: 6px solid var(--line); border-right: 0; }
.tb .sday[data-day]:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(16,35,63,.14); border-color: #10233F; }
.tb .sday--start, .tb .sday--end { background: var(--sand); border-style: dashed; }
.tb .sday.is-last { border-color: var(--red); border-width: 2px; }
.tb .sday.is-bad { background: #FFF7F6; }
.tb .sday__top { display: flex; align-items: center; gap: 5px; min-height: 18px; }
.tb .sday__n { font: 700 .72rem var(--font-data); color: var(--ink-3); }
.tb .sday__ico { font-size: .85rem; }
.tb .sday__top .warnpip { margin-left: auto; }
.tb .sday__top .cutbtn { margin-left: auto; }
.tb .sday__top .warnpip + .cutbtn { margin-left: 2px; }
.tb .sday__name { font: 700 .92rem/1.15 var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb .sday__xs { display: flex; flex-direction: column; gap: 1px; }
.tb .sday__xl { font-size: .74rem; font-weight: 700; color: var(--blue); line-height: 1.25; }
.tb .sday__xl i { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: .68rem; }
.tb .sday__sp { display: block; width: 100%; height: 30px; margin: 1px 0; }
.tb .sday__sp path { fill: none; stroke: var(--red); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.tb .sday__sp path.f { fill: #F3E3E6; stroke: none; }
.tb .sday__sp line { stroke: var(--ink-3); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.tb .sday__meta { font: .74rem var(--font-data); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .sday__x { font-size: .7rem; color: var(--blue); line-height: 1.2; }
.tb .sday__alt { font: 700 .84rem var(--font-data); display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.tb .sday__g { font-weight: 400; font-size: .7rem; color: var(--ink-3); cursor: help; }
.tb .sday__g.is-over { color: var(--bad); font-weight: 700; }
.tb .strip__legend { font-size: .72rem; color: var(--ink-3); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
@media (min-width: 1200px){
.view-frise .tb .wrap, .view-frise .tb .top__in { max-width: none; }
.view-frise .tb .builder { grid-template-columns: minmax(0, 1.5fr) minmax(380px, .8fr); }
.view-frise .tb .builder__itin { grid-column: 1 / -1; grid-row: 1; position: sticky; top: 0; z-index: 1001; max-height: none; overflow: visible; }
.view-frise .tb .builder__itin .itin { padding: 10px 14px 6px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 8px 18px rgba(16,35,63,.12); }
.view-frise .tb .builder__map, .view-frise .tb .builder__side { grid-row: 2; }
.view-frise .tb .builder__map { grid-column: 1; top: calc(var(--fh, 300px) + 12px); }
.view-frise .tb .builder__side { grid-column: 2; }
.view-frise .tb .builder__map .map { height: calc(100vh - var(--fh, 300px) - 70px); min-height: 360px; }
.view-frise .tb .builder__itin .tiles { margin: 2px 0 4px; }
.view-frise .tb .builder__itin .sumline { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.is-mapmax .tb .builder__itin { position: fixed; top: 0; left: 0; right: 0; z-index: 3001; max-height: none; overflow: visible; }
.is-mapmax .tb .builder__itin .itin { padding: 10px 14px 6px; border-radius: 0; box-shadow: 0 8px 18px rgba(16,35,63,.12); }
.is-mapmax .tb .builder__map { position: fixed; top: var(--fh, 0px); left: 0; right: 0; bottom: 0; z-index: 3000; background: var(--sand); padding: 8px; display: flex; flex-direction: column; }
.is-mapmax .tb .builder__map .map-wrap { flex: 1; min-height: 0; }
.is-mapmax .tb .builder__map .map { height: 100%; min-height: 0; border-radius: 10px; }
.is-mapmax .tb .builder__map .legend { margin: 6px 4px 0; }
.is-mapmax .tb .builder__map .profile { display: none; }
.is-mapmax .tb .builder__itin .tiles { display: block; margin: 2px 0 4px; }
.is-mapmax .tb .fb-open { z-index: 3002; padding: 12px; }
.is-mapmax .tb .fb-open span { display: none; }
.is-mapmax .tb .builder__map .leaflet-control-attribution { margin-right: 64px; }
.is-mapmax .tb .builder__map .legend { padding-right: 64px; }
.is-mapmax .tb .builder__itin .seg { display: none; }
.tb .frise-fold { display: none; }
.is-mapmax .tb .builder__itin .frise-fold { display: block; position: absolute; left: calc(50% - 26px); bottom: -18px; width: 52px; height: 18px; padding: 0; border: 0; border-radius: 0 0 10px 10px; background: var(--paper); box-shadow: 0 4px 8px rgba(16,35,63,.15); clip-path: inset(0 -12px -12px -12px); color: var(--ink-3); font: 700 12px/18px var(--font-body); cursor: pointer; }
.is-mapmax .tb .builder__itin .frise-fold:hover, .is-mapmax .tb .builder__itin .frise-fold:focus-visible { color: var(--ink); background: var(--sand-2); }
.is-mapmax .tb .builder__itin.is-folded #days { display: none; }
.is-mapmax .tb .builder__itin .sumline { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .fb-open { position: fixed; right: 16px; bottom: 16px; z-index: 1500; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 99px; padding: 10px 16px; background: var(--blue-deep); color: #fff; font: 700 .9rem var(--font-body); box-shadow: 0 6px 18px rgba(16,35,63,.3); }
.tb .fb-open:hover { background: var(--blue); }
@media (max-width: 700px){
.tb .fb-open span { display: none; }
.tb .fb-open { padding: 12px; font-size: 1.1rem; }
}
.tb .fb { padding: 0; border: 0; border-radius: var(--radius); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 24px 60px rgba(16,35,63,.35); color: var(--ink); }
.tb .fb::backdrop { background: rgba(16,35,63,.45); }
.tb .fb__form, .tb .fb__done { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.tb .fb__form[hidden], .tb .fb__done[hidden] { display: none; }
.tb .fb h2 { font-size: 1.3rem; margin: 0; padding-right: 28px; }
.tb .fb__sub { margin: -6px 0 0; color: var(--ink-3); font-size: .88rem; }
.tb .fb__x { position: absolute; top: 14px; right: 14px; border: 0; background: var(--sand); width: 30px; height: 30px; border-radius: 50%; color: var(--ink-2); }
.tb .fb__x:hover { background: var(--sand-2); }
.tb .fb__types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tb .fb__types legend { font-size: .85rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.tb .fb__types label { cursor: pointer; }
.tb .fb__types input { position: absolute; opacity: 0; pointer-events: none; }
.tb .fb__types span { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.tb .fb__types input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.tb .fb__types input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.tb .fb__field { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 700; }
.tb .fb__field small, .tb .fb__check small { font-weight: 400; color: var(--ink-3); }
.tb .fb textarea, .tb .fb input[type="email"] { font: 400 .95rem var(--font-body); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; resize: vertical; }
.tb .fb textarea:focus, .tb .fb input[type="email"]:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.tb .fb__check { display: flex; align-items: baseline; gap: 8px; font-size: .88rem; }
.tb .fb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tb .fb__err { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--bad-bg); color: var(--bad); font-size: .85rem; }
.tb .fb__acts { display: flex; justify-content: flex-end; gap: 8px; }
.tb .fb__acts .btn[disabled] { opacity: .6; cursor: wait; }
.tb .fb__ok { font: 700 1.1rem var(--font-head); color: var(--ok); margin: 0; }
.tb .fb__done p { margin: 0; }
.tb .fb__done .btn { align-self: flex-end; }
.tb .fb__privacy { margin: -4px 0 0; font-size: .74rem; color: var(--ink-3); }
.psheet { display: none; }
@page{ size: A4 portrait; margin: 12mm 12mm 14mm; }
@media print{
  html.no-scroll { overflow: visible; }
  body { background: #fff; font-size: 10.5pt; }
  body > :not(.psheet) { display: none !important; }
  .psheet { display: block; color: #111; }
  .psheet p, .psheet ul, .psheet li, .psheet h1, .psheet h2, .psheet h3 { margin: 0; letter-spacing: 0; }   
  .ps-facts .fact ul { padding-left: 14px; }
  .ps-legend { margin-top: 3px; }
  .psheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #10233F; padding-bottom: 6px; margin-bottom: 8px; }
  .ps-brand { font: 700 9pt var(--font-body); color: #1D6A4B; text-transform: uppercase; letter-spacing: .06em; }
  .ps-head h1 { font: 700 20pt var(--font-head); margin: 2px 0; }
  .ps-head p { margin: 0; font-size: 9.5pt; color: #333; }
  .ps-date { font-size: 8.5pt; color: #555; white-space: nowrap; }
  .ps-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 8px 0 10px; }
  .ps-tiles div { border: 1px solid #ccd3db; border-radius: 6px; padding: 5px 8px; }
  .ps-tiles b { display: block; font: 700 13pt var(--font-data); }
  .ps-tiles span { font-size: 8pt; color: #555; }
  .ps-block { margin: 0 0 10px; break-inside: avoid; }
  .ps-block h2 { font: 700 11.5pt var(--font-head); margin: 0 0 4px; color: #10233F; }
  .ps-map { display: block; width: 100%; height: auto; border: 1px solid #ccd3db; border-radius: 6px; background: #FBFCFD; }
  .pm-net { fill: none; stroke: #C9D1DA; stroke-width: 1; stroke-dasharray: 3 3; }
  .pm-route { fill: none; stroke: #C0122F; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
  .pm-ex { fill: none; stroke: #C0122F; stroke-width: 1.8; stroke-dasharray: 5 4; }
  .pm-ride { fill: none; stroke: #10233F; stroke-width: 2.5; stroke-dasharray: 1 5; stroke-linecap: round; }
  .pm-night { fill: #fff; stroke: #10233F; stroke-width: 2; }
  .pm-way { fill: #C0122F; }
  .pm-wlab { font: italic 9px var(--font-body); fill: #444; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
  .pm-lab { font: 700 10px var(--font-body); fill: #111; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
  .pm-d { fill: #C0122F; font-family: var(--font-data); }
  .pm-top { font: 600 9px var(--font-body); fill: #1D6A4B; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
  .pm-peak { font: 8.5px var(--font-body); fill: #8A94A2; text-anchor: middle; }
  .pm-scale { stroke: #111; stroke-width: 2; } .pm-sc, .pm-n { font: 9px var(--font-data); fill: #333; text-anchor: middle; }
  .ps-legend { font-size: 8pt; color: #444; margin: 3px 0 0; display: flex; align-items: center; gap: 6px; }
  .ps-legend span { display: inline-block; width: 18px; height: 0; border-top: 3px solid #C0122F; }
  .ps-legend .lg-x { border-top: 2px dashed #C0122F; }
  .ps-legend .lg-v { border-top: 3px dotted #10233F; }
  .ps-legend .lg-n { width: 9px; height: 9px; border: 2px solid #10233F; border-radius: 50%; }
  .ps-block svg:not(.ps-map) { display: block; width: 100%; height: auto; }
  .ps-days { break-before: page; }
  .ps-days table { width: 100%; border-collapse: collapse; font-size: 9pt; }
  .ps-days th { text-align: left; font-size: 8pt; color: #555; border-bottom: 1.5px solid #10233F; padding: 3px 4px; }
  .ps-days td { border-bottom: 1px solid #DDE2E8; padding: 4px; vertical-align: top; }
  .ps-days tr { break-inside: avoid; }
  .ps-days .n { text-align: right; font-family: var(--font-data); white-space: nowrap; }
  .ps-days .c-j { font: 700 9pt var(--font-data); color: #C0122F; }
  .ps-days small { color: #555; }
  .ps-days .ps-ex { color: #1D6A4B; }
  .ps-days .c-note { font-size: 8pt; color: #9A2A1E; width: 22%; }
  .ps-days .c-chk { width: 18px; border-left: 1px solid #DDE2E8; }
  .ps-days tr.is-bad td:nth-child(2) b { color: #B3261E; }
  .ps-days tfoot td { font-weight: 700; border-top: 1.5px solid #10233F; border-bottom: 0; }
  .ps-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ps-facts h2 { grid-column: 1 / -1; }
  .ps-facts .fact { border: 1px solid #ccd3db; border-radius: 6px; padding: 6px 8px; font-size: 8.5pt; background: #fff; }
  .ps-facts .fact h3 { font-size: 9.5pt; margin: 0 0 2px; }
  .ps-facts .note { font-size: 7.5pt; color: #666; }
  .ps-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid #ccd3db; margin-top: 8px; padding-top: 6px; font-size: 7.5pt; color: #555; break-inside: avoid; }
  .ps-url { font-family: var(--font-data); word-break: break-all; color: #111; }
}
.tb .xpop__lodges { display: block; margin: 0; font-weight: 700; color: var(--link, #1D6A4B); }
.tb .mbar { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 1400; display: flex; gap: 6px; align-items: stretch; background: var(--paper); border-radius: 14px; padding: 6px; box-shadow: 0 4px 18px rgba(16,35,63,.22), 0 0 0 1px var(--line); }
.tb .mbar[hidden] { display: none; }
.tb .mbar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; border: 0; background: none; padding: 2px 6px; }
.tb .mbar__info b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: var(--ink); }
.tb .mbar__info small { font: .74rem var(--font-data); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tb .mbar__btn { flex: none; border: 1px solid var(--line); background: var(--sand); border-radius: 10px; padding: 4px 10px; font: 700 .78rem var(--font-body); color: var(--ink-2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.tb .mbar__btn[hidden] { display: none; }
@media (min-width: 701px){
.tb .mbar { left: auto; right: 16px; bottom: 16px; width: min(460px, calc(100% - 32px)); }
}
html.has-mbar .fb-open { bottom: 76px; }
html.has-mbar body { padding-bottom: 72px; }
@media print{ .mbar { display: none !important; } }
.tb .cand__pills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.tb .wpill { font: 700 .72rem/1.5 var(--font-data); border-radius: 99px; padding: 0 7px; white-space: nowrap; }
.tb .wpill--bad { color: var(--bad); background: var(--bad-bg); }
.tb .wpill--near { color: var(--warn); background: var(--warn-bg); }
.tb .acts--top { margin: 0 0 8px; }
.tb .acts--top .btn { font-size: .8rem; padding: 5px 10px; }
.tb .more--out { margin-top: 14px; }
.tb .more--out > summary { font-weight: 700; font-size: .88rem; }
.tb .step__legend { margin: 12px 0 0; font-size: .74rem; color: var(--ink-3); line-height: 1.45; }
.tb .setbar__sum { display: none; }
@media (max-width: 700px){
.tb .setbar__sum { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 2px 0; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.tb .setbar__sum b { color: var(--site-ink); margin-right: 4px; }
.tb .setbar:not(.is-open) .setbar__t, .tb .setbar:not(.is-open) .setbar__prof, .tb .setbar:not(.is-open) #s-more, .tb .setbar:not(.is-open) #s-reset, .tb .setbar:not(.is-open) .setbar__detail { display: none; }
.tb .setbar.is-open .setbar__t { display: none; }
.tb .setbar { padding: 8px 12px; }
}
.tb .setbar__impact .link { font: inherit; font-weight: 700; padding: 0; }
.tb .setbar__classic { display: block; color: var(--ink-2); font-size: .8rem; margin-top: 2px; }
@keyframes tbflash{ from { box-shadow: 0 0 0 3px var(--bad); } to { box-shadow: 0 0 0 3px transparent; } }
.tb .is-flash { animation: tbflash 1.6s ease-out 2; border-radius: 10px; }
.tb .utoast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 1600; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); background: var(--blue-deep); color: #fff; border-radius: 12px; padding: 8px 8px 8px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.3); font-size: .9rem; }
.tb .utoast[hidden] { display: none; }
.tb .utoast .btn { background: #fff; color: var(--blue-deep); border: 0; font-weight: 700; padding: 6px 12px; }
html.has-mbar .utoast { bottom: 80px; }
@media (max-width: 700px){
html:not(.has-mbar) .utoast { bottom: 72px; }
}
html.tb-run .fb-open { padding: 12px; }
html.tb-run .fb-open span { display: none; }
html.has-mbar .fb-open { display: none; }
html.has-full .mbar, .is-mapmax .tb .mbar { display: none; }
html.has-full .utoast { z-index: 3002; bottom: 16px; }
html.has-mbar .is-mapmax .fb-open { display: inline-flex; bottom: 16px; }
.tb .mbar__btn--fb { padding: 4px 8px; font-size: 1rem; }
@media print{ .utoast { display: none !important; } }
.tb .builder__map { top: 76px; }
@media (min-width: 1200px) { .tb .builder__itin { top: 76px; max-height: calc(100vh - 88px); } }
html[data-wsub="zero"] .tb .start .start__col--zero .start__map { top: 76px; }
@media (min-width: 1200px) { .tb .view-frise .builder__itin, .view-frise .tb .builder__itin { top: 64px; } .view-frise .tb .builder__map { top: calc(var(--fh, 300px) + 76px); } .view-frise .tb .builder__map .map { height: calc(100vh - var(--fh, 300px) - 134px); } }
.is-mapmax .tb .builder__itin { top: 0; }
.is-mapmax .tb .builder__map { top: var(--fh, 0px); }
.is-mapmax .tb .builder__map .map { height: 100%; }
.tb { font-size: 16px; line-height: 1.5; }
.tb .wrap { width: auto; }
