body:has(.taxi-control) { --muted: #53616b; }
.taxi-control { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.taxi-control p { color: #4b5d69; margin: 12px 0 0; max-width: 63ch; }
.taxi-control label { font-weight: 600; display: block; }
.taxi-control output { float: right; color: #2448c8; }
.taxi-control input { display: block; min-height: 44px; margin: 8px 0 0; }
.taxi-range { display: flex; justify-content: space-between; font-weight: 400; font-size: 12px; color: #4b5d69; }
.taxi-figure { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 24px 0; }
.taxi-figure figcaption { font-family: Georgia, serif; font-size: clamp(23px,3vw,34px); margin-bottom: 30px; line-height: 1.3; }
.taxi-route { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); position: relative; padding-top: 14px; gap: 16px; }
.taxi-route::before { content: ''; position: absolute; height: 6px; background: #deddd6; left: 7%; right: 7%; top: 47px; }
.taxi-route>div { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.taxi-route span:last-child { font-size: 12px; color: #4b5d69; }
.taxi-pickup svg { width: 88px; height: 54px; margin-top: -2px; }
.taxi-dot { width: 42px; height: 42px; display: grid; place-items: center; border: 5px solid white; box-sizing: content-box; border-radius: 50%; background: currentColor; margin-bottom: 2px; font-size: 0; }
.taxi-person-0 { color: #365de7; }.taxi-person-1 { color: #376f50; }.taxi-person-2 { color: #99621b; }
.taxi-stop strong { color: #102c43; font-size: 13px; }
.taxi-legs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 32px 0; }
.taxi-legs>div { padding: 16px; background: #f6f6f0; border-radius: 8px; display: flex; flex-direction: column; gap: 7px; }
.taxi-legs span { color: #4b5d69; font-size: 12px; }.taxi-legs b { font-size: 13px; }
.taxi-split { display: flex; height: 25px; border-radius: 5px; overflow: hidden; gap: 3px; }.taxi-split span { background: currentColor; min-width: 1px; }
.taxi-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 16px; }.taxi-totals span { display:block; font-size:13px; }.taxi-totals strong { font-size:30px; font-weight:500; font-variant-numeric:tabular-nums; }
.taxi-orders h2 { margin-bottom: 14px; }.taxi-orders>p { max-width:80ch; color:#4b5d69; }
.taxi-orders table { width:100%; border-collapse:collapse; margin-top:24px; font-size:13px; font-variant-numeric:tabular-nums; }
.taxi-orders caption { text-align:left; font-size:12px; color:#4b5d69; margin-bottom:12px; }
.taxi-orders td,.taxi-orders th { padding:14px 10px; text-align:right; border-bottom:1px solid var(--line); }.taxi-orders th:first-child { text-align:left; font-weight:500; }
.taxi-orders tfoot { background:#edf0fe; color:#173cba; }.taxi-orders .taxi-total-check { margin:20px 0 0; font-weight:600; color:var(--ink); }
.taxi-assumptions { margin:24px 0; }.taxi-assumptions h2 { margin-bottom:12px; }.taxi-assumptions p { font:14px/1.65 "Segoe UI",Arial,sans-serif; margin:0 0 12px; max-width:85ch; }.taxi-assumptions a { font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.rail .rail-bottom a { display:block; margin-top:8px; }
@media(max-width:850px){.taxi-control{grid-template-columns:1fr;gap:24px}.taxi-figure{padding:20px}}
@media(max-width:550px){.taxi-route{grid-template-columns:1fr;padding-top:0;gap:20px}.taxi-route::before{width:5px;height:auto;top:20px;bottom:24px;left:26px;right:auto}.taxi-route>div{display:grid;grid-template-columns:65px minmax(0,1fr);text-align:left;align-items:center;gap:3px 12px}.taxi-route svg,.taxi-route .taxi-dot{grid-row:1/3;margin:0}.taxi-route svg{width:60px;position:relative;left:-5px}.taxi-route strong,.taxi-route span:last-child{grid-column:2}.taxi-legs{grid-template-columns:1fr;gap:8px}.taxi-legs>div{display:grid;grid-template-columns:1fr 1fr}.taxi-legs span{grid-row:2;grid-column:1/-1}.taxi-legs b{text-align:right}.taxi-totals strong{font-size:25px}.taxi-orders table{font-size:11px}.taxi-orders th,.taxi-orders td{padding:12px 5px}.taxi-orders th:first-child{max-width:105px}.taxi-control label{font-size:13px}.taxi-figure{padding:18px}.rail{flex-wrap:wrap;gap:0!important}.rail nav{flex-wrap:wrap}.nav-link{min-height:40px}.rail .brand{height:46px}}
