
:root{
  --ink:#0f1c26; --ink-2:#2b4152; --muted:#5b7285; --faint:#8699a7;
  --line:#dde5ec; --line-2:#eef3f7;
  --blue:#0d5c8c; --blue-dk:#08405f; --blue-lt:#e7f1f8; --sea:#f2f8fc;
  --card:#fff; --bg:#f6f9fb;
  --accent:#6e3d82; --accent-dk:#5b3d7a; --accent-lt:#f5eef9;
  --good:#1a7f52; --good-bg:#e6f4ed;
  --warn:#8a5a00; --warn-bg:#fdf3e0;
  --alert:#a52d2d; --alert-bg:#fbeaea;
  --r:14px; --pad:16px;
  --tap:48px;                 /* minimum comfortable thumb target */
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--blue)}
h1,h2,h3{margin:0; line-height:1.2; letter-spacing:-.015em}
button,select,input{font:inherit; color:inherit}

.wrap{max-width:1080px; margin:0 auto; padding:0 var(--pad)}

.topbar{
  background:var(--blue-dk); color:#fff;
  position:sticky; top:0; z-index:900;
}
.topbar .wrap{display:flex; align-items:center; gap:10px; height:52px}
.brand{
  display:flex; align-items:center; gap:9px;
  color:#fff; text-decoration:none; font-weight:750; font-size:15.5px;
  letter-spacing:-.01em;
}
.brand svg{flex:0 0 26px}
.topbar .spacer{flex:1}
.moretr td{text-align:center; padding:8px}
.morebtn{border:1px solid var(--blue-dk); background:#fff; color:var(--blue-dk); border-radius:999px; padding:6px 14px; font-weight:700; cursor:pointer}

.sitenav{position:relative}
.sitenav > summary{
  list-style:none; cursor:pointer; color:#fff; font-size:14px; font-weight:700;
  padding:8px 10px; border-radius:8px; display:flex; align-items:center; gap:5px;
}
.sitenav > summary::-webkit-details-marker{display:none}
.sitenav > summary:after{content:"▾"; font-size:11px; opacity:.8}
.sitenav[open] > summary{background:rgba(255,255,255,.14)}
.sitenav-panel{
  position:fixed; top:60px; left:10px; right:10px;
  background:var(--card); color:var(--ink); border:1px solid var(--line);
  border-radius:var(--r); box-shadow:0 12px 32px rgba(8,64,95,.22);
  padding:14px; z-index:950;
  max-height:calc(100vh - 76px); overflow-y:auto;
}
@media (min-width:640px){
  .sitenav-panel{left:auto; right:auto; width:min(92vw, 620px)}
}
.sitenav-groups{display:grid; grid-template-columns:1fr; gap:14px}
.navgrp h4{
  margin:0 0 6px; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em;
  color:var(--muted); font-weight:750;
}
.navgrp{display:flex; flex-direction:column}
.navgrp a{
  color:var(--ink-2); text-decoration:none; font-size:14.5px; padding:5px 0;
}
.navgrp a:hover{color:var(--blue)}
.sitenav-links{
  margin-top:12px; padding-top:12px; border-top:1px solid var(--line-2);
  display:flex; flex-direction:column; gap:6px;
}
.sitenav-links a{color:var(--blue); text-decoration:none; font-weight:650; font-size:14px}
@media (min-width:640px){
  .sitenav-groups{grid-template-columns:1fr 1fr}
}

.crumb{font-size:13px; color:var(--muted); padding:12px 0 0}
.crumb a{color:var(--muted); text-decoration:none}
.crumb a:hover{text-decoration:underline}

.hero{
  background:linear-gradient(#eaf3fa,#f6fafd);
  border:1px solid #d6e6f2; border-radius:var(--r);
  padding:18px; margin:14px 0 0;
}
.kicker{
  font-size:11.5px; font-weight:800; letter-spacing:.11em; text-transform:uppercase;
  color:var(--blue); margin:0 0 7px;
}
.hero h1{font-size:clamp(25px,7vw,34px); font-weight:800}
.hero p{margin:9px 0 0; color:var(--ink-2); font-size:15.5px}
.hero .stats{
  display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 0;
  font-size:12.5px;
}
.hero .stats span{
  background:#fff; border:1px solid #d6e6f2; border-radius:999px;
  padding:5px 11px; color:var(--blue-dk); font-weight:650;
}

.tabs{
  display:grid; grid-auto-flow:column; grid-auto-columns:1fr;
  gap:6px; margin:14px 0 0;
  background:#e6edf3; border-radius:11px; padding:5px;
  position:sticky; top:52px; z-index:800;
}
.tabs button{
  border:0; background:transparent; cursor:pointer;
  min-height:var(--tap); border-radius:8px;
  font-size:14.5px; font-weight:700; color:var(--muted);
}
.tabs button[aria-selected="true"]{
  background:#fff; color:var(--blue-dk);
  box-shadow:0 1px 3px rgba(16,40,60,.14);
}
.panel[hidden]{display:none}

.card{
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r); padding:var(--pad); margin:14px 0 0;
}
.card > h2{
  font-size:17px; letter-spacing:-.01em; text-transform:none; line-height:1.25;
  color:var(--blue-dk); font-weight:800;
  margin:calc(-1 * var(--pad)) calc(-1 * var(--pad)) 14px;
  padding:11px var(--pad); background:var(--blue-lt);
  border-left:4px solid var(--blue); border-radius:var(--r) var(--r) 0 0;
}
.card > h3, #fnd-results h3{
  font-size:14.5px; color:var(--blue-dk); font-weight:800; margin:16px 0 8px;
  padding-left:10px; border-left:4px solid var(--blue);
}

.answer{
  background:var(--blue-dk); color:#fff; border-radius:var(--r);
  padding:16px; margin:14px 0 0;
}
.answer .lbl{
  font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  color:#9fc9e4; font-weight:800; margin:0 0 10px;
}
.answer .big{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.answer .time{font-size:38px; font-weight:800; letter-spacing:-.03em; line-height:1}
.answer .in{font-size:15px; color:#bcdaee; font-weight:650}
.answer .sub{margin:9px 0 0; font-size:14.5px; color:#d5e8f5}
.answer .sub b{color:#fff; font-weight:700}
.answer .caveat{
  margin:11px 0 0; padding-top:10px; border-top:1px solid rgba(255,255,255,.22);
  font-size:13.5px; line-height:1.5; color:#e7f0f6;
}
.answer.historic{background:var(--warn-bg); color:var(--warn); border:1px solid #f0dcb4}
.answer.historic .lbl{color:var(--warn)}
.answer.historic .time{font-size:24px}
.answer.historic .sub,.answer.historic .caveat{color:var(--warn)}
.answer.historic .sub b{color:var(--warn)}
.answer.historic .in{color:var(--warn); opacity:.75}
.answer.historic .caveat{border-top-color:rgba(138,90,0,.28)}
.answer.none{background:#eef2f5; color:var(--ink-2)}
.answer.none .lbl{color:var(--muted)}
.answer.none .time{font-size:19px; font-weight:750; line-height:1.3}

.dateblock{
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r); margin:12px 0 0; padding:var(--pad);
}
.dateblock .field{margin:13px 0 0}
.dateblock .field:first-child{margin:0}
.dateblock input[type=date]{font-size:16px; font-weight:650}
.daynote{
  margin:9px 0 0; font-size:13px; font-weight:650; color:var(--blue-dk);
}
.field{margin:13px 0 0}
.field label{
  display:block; font-size:11.5px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; color:var(--muted); margin:0 0 6px;
}
.field select, .field input[type=date], .field input[type=text]{
  width:100%; min-height:var(--tap); padding:0 12px;
  border:1px solid #c8d6e0; border-radius:10px; background:#fff;
  -webkit-appearance:none; appearance:none;
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b7285' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center;
  padding-right:36px;
}
.swap{
  margin:10px 0 0; width:100%; min-height:42px;
  border:1px solid #c8d6e0; border-radius:10px; background:var(--sea);
  color:var(--blue-dk); font-weight:700; font-size:14px; cursor:pointer;
}
.chips{display:flex; flex-wrap:wrap; gap:7px; margin:8px 0 0}
#finder .lbl{font-size:12px; text-transform:uppercase; letter-spacing:.04em; opacity:.8}
.chip{
  border:1px solid #c8d6e0; background:#fff; border-radius:999px;
  padding:9px 14px; font-size:13.5px; font-weight:650; cursor:pointer;
  color:var(--ink-2); min-height:40px;
}
.chip[aria-pressed="true"]{background:var(--blue); border-color:var(--blue); color:#fff}

.chip.guide{
  display:inline-flex; align-items:center; text-decoration:none;
  background:#eef5fb; border-color:#b7cfe2; color:var(--blue);
}
.chip.guide::after{content:" \203A"; margin-left:6px; font-weight:800}
.chip.guide:hover{background:#e2eef8}

.leaflet-tooltip.netlabel{
  background:transparent; border:0; box-shadow:none; padding:0;
  color:var(--ink); font-size:11.5px; font-weight:700; white-space:nowrap;
  text-shadow:0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff, 1px 1px 3px #fff;
}
.leaflet-tooltip.netlabel:before{display:none}   /* no callout arrow */

.editionline{
  margin:26px 0 0; font-size:12px; color:var(--faint); letter-spacing:.02em;
}

.allroutes{margin-top:26px; padding-top:20px; border-top:2px solid var(--line)}
.allroutes .results-head{margin-top:0}

.earlier{
  display:block; width:100%; margin:10px 0 0; min-height:42px;
  border:1px dashed #c8d6e0; background:transparent; border-radius:10px;
  color:var(--muted); font-size:13.5px; font-weight:650; cursor:pointer;
}
.earlier:hover{background:var(--sea); color:var(--blue-dk)}

.jcommon{
  background:var(--sea); border:1px solid #d6e6f2; border-left:3px solid var(--blue);
  border-radius:var(--r); padding:12px var(--pad); margin:10px 0 0;
}
.jcommon .ends{font-weight:700; color:var(--blue-dk)}
.jcommon .meta{margin-top:8px}

.results-head{
  display:flex; align-items:baseline; gap:8px; margin:22px 0 0;
}
.results-head h2{font-size:17px; font-weight:800}
.results-head span{font-size:13.5px; color:var(--muted)}

.jcard{
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r); padding:14px; margin:10px 0 0;
}
.jcard .top{display:flex; align-items:center; gap:9px; flex-wrap:wrap}
.jcard .t{font-size:21px; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.jcard .dur{
  flex:1; min-width:74px; text-align:center; font-size:12px; color:var(--muted);
  position:relative; font-weight:650;
}
.jcard .dur::before{
  content:""; position:absolute; left:0; right:0; top:50%;
  border-top:1px dashed #c8d6e0; z-index:0;
}
.jcard .dur em{position:relative; background:var(--card); padding:0 6px; font-style:normal; z-index:1}
.jcard .t.est{font-weight:600; color:var(--muted)}
.answer .sub b[title]{border-bottom:1px dotted rgba(255,255,255,.4)}
.jcard .fare{
  margin-left:auto; font-size:15px; font-weight:750; color:var(--blue-dk);
  white-space:nowrap;
}
.jcard .fare.unknown{font-size:12.5px; font-weight:650; color:var(--muted)}
.jcard .ends{
  display:flex; justify-content:space-between; gap:10px;
  margin:5px 0 0; font-size:13.5px; color:var(--ink-2); font-weight:600;
}
.jcard .ends span:last-child{text-align:right}
.jcard .meta{margin:11px 0 0; padding-top:10px; border-top:1px solid var(--line-2)}
.jcard .via{font-size:13px; color:var(--muted); line-height:1.5}
.jcard .via b{color:var(--ink-2); font-weight:650}
.jcard .actions{display:flex; gap:8px; margin:11px 0 0}
.jcard .actions a{
  flex:1; text-align:center; min-height:42px; display:flex;
  align-items:center; justify-content:center;
  border:1px solid #c8d6e0; border-radius:10px; background:var(--sea);
  color:var(--blue-dk); text-decoration:none; font-weight:700; font-size:13.5px;
}
.nextday{
  display:inline-block; background:var(--warn-bg); color:var(--warn);
  border-radius:5px; padding:1px 5px; font-size:11px; font-weight:800;
  vertical-align:super; margin-left:3px;
}

.ribbon{
  display:inline-flex; align-items:center; gap:6px;
  border-radius:7px; padding:5px 9px; font-size:12.5px; font-weight:700;
  margin:9px 6px 0 0;
}
.ribbon.info{background:var(--blue-lt); color:var(--blue-dk)}
.ribbon.good{background:var(--good-bg); color:var(--good)}
.ribbon.warn{background:var(--warn-bg); color:var(--warn)}
.ribbon.alert{background:var(--alert-bg); color:var(--alert)}

.note{
  border-radius:11px; padding:13px 15px; margin:14px 0 0;
  font-size:14px; line-height:1.55;
}
.note.info{background:var(--sea); border:1px solid #d6e6f2; color:var(--blue-dk)}
.note.warn{background:var(--warn-bg); border:1px solid #f0dcb4; color:var(--warn)}
.note.alert{background:var(--alert-bg); border:1px solid #f0c9c9; color:var(--alert)}
.note strong{font-weight:750}
.note.notice .lbl{display:block; font-size:12px; text-transform:uppercase; letter-spacing:.04em; opacity:.8; margin-top:10px}
.note.notice p{margin:4px 0 0}

.rlist{list-style:none; margin:0; padding:0}
.rlist li{margin:9px 0 0}
.rlist a{
  display:block; background:var(--sea); border:1px solid #cfe1ee;
  border-left:4px solid var(--blue);
  border-radius:12px; padding:13px 14px; text-decoration:none; color:inherit;
}
.rlist a:hover{background:var(--blue-lt); border-color:#b7cfe2}
.rlist .group{
  display:block; background:var(--sea); border:1px solid #cfe1ee; border-left:4px solid var(--blue);
  border-radius:12px; padding:13px 14px;
}
.rlist .variants{list-style:none; margin:9px 0 0; padding:0}
.rlist .variants li{margin:6px 0 0}
.rlist .variants a{
  display:block; padding:8px 11px; background:#fff; border:1px solid #cfe1ee; border-radius:8px;
  font-size:13.5px; font-weight:600; color:var(--blue-dk); text-decoration:none;
}
.rlist .variants a:hover{border-color:var(--blue); background:var(--blue-lt)}
.rlist .nm{color:var(--blue-dk)}
.fares-from tr.picked td{background:var(--blue-lt); font-weight:800}
.siblings{list-style:none; margin:0; padding:0}
.siblings li{
  margin:7px 0 0; padding:9px 12px; background:var(--sea); border:1px solid #cfe1ee;
  border-left:4px solid var(--blue); border-radius:10px; font-size:14.5px;
}
.siblings li a{font-weight:700; color:var(--blue-dk); text-decoration:none}
.siblings li a:hover{text-decoration:underline}
a.fjourney{
  display:block; margin:12px 0 0; padding:14px 16px; text-decoration:none;
  background:linear-gradient(135deg,var(--blue-dk),var(--blue)); color:#fff;
  border-radius:12px;
}
a.fjourney .kicker{color:#bcdaee; margin:0 0 4px}
a.fjourney .nm{display:block; font-size:18px; font-weight:800; letter-spacing:-.01em}
.rlist .rt{display:flex; align-items:center; gap:9px}
.rlist .code{
  background:var(--blue); color:#fff; border-radius:6px;
  padding:3px 7px; font-size:11.5px; font-weight:800; letter-spacing:.02em;
  font-variant-numeric:tabular-nums;
}
.rlist .nm{font-weight:700; font-size:15.5px; letter-spacing:-.01em}
.rlist .sub{margin:5px 0 0; font-size:13.5px; color:var(--muted)}
.rlist .tags{display:flex; flex-wrap:wrap; gap:5px; margin:9px 0 0}
.rlist .tag{
  font-size:11.5px; font-weight:700; border-radius:5px; padding:3px 7px;
  background:var(--line-2); color:var(--ink-2);
}
.rlist .tag.warn{background:var(--warn-bg); color:var(--warn)}
.rlist .tag.none{background:var(--alert-bg); color:var(--alert)}

.gridwrap{
  margin:12px 0 0; border:1px solid var(--line); border-radius:12px;
  background:#fff; overflow-x:auto; -webkit-overflow-scrolling:touch;
}
table.grid{border-collapse:separate; border-spacing:0; width:100%; min-width:100%}
table.grid th, table.grid td{
  padding:10px 12px; font-size:13.5px; text-align:center; white-space:nowrap;
  border-bottom:1px solid var(--line-2); font-variant-numeric:tabular-nums;
}
table.grid thead th{
  background:#f3f7fa; font-size:11.5px; font-weight:800;
  letter-spacing:.05em; text-transform:uppercase; color:var(--muted);
  position:sticky; top:0; z-index:2; border-bottom:1px solid var(--line);
}
table.grid thead th .swapnames{display:flex; flex-direction:column}
table.grid thead th .el{
  font-size:10.5px; letter-spacing:.02em; text-transform:none;
  color:var(--faint); font-weight:600; margin-top:2px;
}
html[data-lang="el"] table.grid thead th .swapnames > span:first-child{
  font-size:10.5px; letter-spacing:.05em; color:var(--faint);
  font-weight:600; margin-top:2px; text-transform:uppercase;
}
html[data-lang="el"] table.grid thead th .el{
  font-size:11.5px; letter-spacing:.01em; color:var(--muted);
  font-weight:800; margin-top:0;
}
table.grid th.rowhead, table.grid td.rowhead{
  position:sticky; left:0; z-index:3; background:#fff;
  text-align:left; font-weight:750; box-shadow:1px 0 0 var(--line);
}
table.grid thead th.rowhead{background:#f3f7fa; z-index:4}
table.grid tbody tr:nth-child(even) td{background:#fbfdfe}
table.grid tbody tr:nth-child(even) td.rowhead{background:#fbfdfe}
table.grid td.skip{color:var(--faint)}
table.grid.glance td.dayon{color:var(--blue-dk); font-weight:700; text-align:center}
table.grid.glance td.skip{text-align:center}
table.grid.glance td.some{color:var(--warn); cursor:help}
table.grid.glance td.beyond{background:repeating-linear-gradient(45deg,transparent,transparent 4px,#f1f1f1 4px,#f1f1f1 6px)}
table.grid.glance tr[hidden]{display:none}
.calpick select{font:inherit; padding:2px 6px; margin-left:4px}
#calpick-status{font-weight:600; color:var(--blue-dk)}
table.grid.glance tr.pick{cursor:pointer}
table.grid.glance tr.pick:hover td, table.grid.glance tr.pick:focus td{background:#eef5fb}
iframe.staymap{width:100%; height:380px; border:none; border-radius:12px; margin-top:4px}
.hero p.intro{margin:14px 0 0; font-size:15.5px; line-height:1.65;}
details.bandsfold{margin:14px 0}
details.bandsfold > summary{cursor:pointer; font-weight:700; color:var(--blue-dk);
  padding:12px 16px; background:#fff; border:1px solid var(--line, #dde6ee);
  border-radius:12px; list-style-position:inside}
details.bandsfold[open] > summary{margin-bottom:10px}
dialog#runmodal{border:none; border-radius:14px; padding:0; width:min(480px, 94vw);
  max-height:86vh; box-shadow:0 12px 40px rgba(0,0,0,.25)}
dialog#runmodal::backdrop{background:rgba(10,30,50,.45)}
#runmodal .rm-head{display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid #e3ebf2; position:sticky; top:0; background:#fff}
#runmodal .rm-head h2{margin:0; font-size:22px}
#runmodal #rm-close{border:none; background:none; font-size:18px; cursor:pointer; padding:6px 8px}
#runmodal #rm-body{padding:10px 18px 18px; overflow-y:auto}
#runmodal .rm-band h3{margin:12px 0 6px; font-size:14px; letter-spacing:.04em;
  text-transform:uppercase; color:var(--muted, #5a6a78)}
ol.itin{list-style:none; margin:10px 0; padding:0}
ol.itin li{display:flex; gap:12px; padding:7px 0; border-bottom:1px dotted #e3ebf2; align-items:baseline}
ol.itin li .t{min-width:56px; font-weight:700; font-variant-numeric:tabular-nums}
ol.itin li .t.skip{font-weight:400; color:var(--faint, #9ab)}
ol.itin li .t.unk{color:var(--warn, #a66a00); font-weight:600}
ol.itin li.term .nm{font-weight:750; color:var(--blue-dk)}
ol.itin .swapnames{display:flex; flex-direction:column}
ol.itin .swapnames .el{font-size:12px; color:var(--muted, #5a6a78)}
table.grid td.unk{color:var(--warn); font-weight:600; cursor:help}
table.grid td.term{font-weight:750; color:var(--blue-dk)}
table.grid td.est{color:var(--muted); font-weight:400}
table.grid td.est.term{color:var(--muted); font-weight:500}
table.grid td.est .tilde{opacity:.75; margin-right:1px}

table.grid td.shclock{position:relative; cursor:help}
table.grid td.shclock::before{content:""; position:absolute; left:0; top:18%;
  bottom:18%; width:2px; background:var(--muted); opacity:.35}
table.grid td.indic{text-decoration:underline dotted; text-underline-offset:3px;
                    text-decoration-color:var(--muted); cursor:help}

table.grid .plus{color:var(--warn); font-weight:800; font-size:11px; vertical-align:super}
table.grid .lnum{
  display:inline-block; margin-left:5px; padding:0 5px;
  font-size:10.5px; font-weight:700; line-height:16px;
  color:var(--blue-dk); background:#eaf2f8; border:1px solid #cfe0ec;
  border-radius:7px; white-space:nowrap; vertical-align:1px;
}
.scrollhint{font-size:12px; color:var(--muted); margin:0 2px 8px; line-height:1.6}
.bucket{margin:26px 0 2px}
.bucketsub{margin:0 0 12px; font-size:14px; line-height:1.6; color:var(--muted)}
.scrollhint b{color:var(--ink-2); font-weight:800}

sup.fn{color:var(--blue); font-weight:800; font-size:10.5px; margin-left:2px}
ul.siblings{margin:6px 0 0; padding-left:18px}
ul.siblings li{margin:4px 0}
.fnotes{list-style:none; margin:10px 0 0; padding:0}
.fnotes li{
  display:flex; gap:9px; align-items:flex-start;
  font-size:13px; line-height:1.55; padding:6px 0;
  border-top:1px solid var(--line-2);
}
.fnotes li:first-child{border-top:0}
.fnotes b.fn{
  flex:0 0 20px; height:20px; border-radius:5px; text-align:center;
  background:var(--blue-lt); color:var(--blue-dk); font-size:11.5px;
  font-weight:800; line-height:20px;
}
.fnotes .tone-warn{color:var(--warn); font-weight:650}
.fnotes .tone-info{color:var(--ink-2)}
.fnotes .sheet{display:block; color:var(--faint); font-size:12px; margin-top:2px}

details.fares{margin:12px 0 0}
details.fares > summary{
  list-style:none; cursor:pointer; min-height:var(--tap);
  display:flex; align-items:center; gap:9px;
  border:1px solid var(--line); border-radius:11px; padding:0 15px;
  font-weight:700; font-size:14.5px; color:var(--blue-dk); background:var(--sea);
}
details.fares > summary::-webkit-details-marker{display:none}
details.fares > summary .chev{margin-left:auto; color:var(--muted); transition:transform .15s}
details.fares[open] > summary .chev{transform:rotate(180deg)}
.farefilter{
  width:100%; min-height:44px; margin:10px 0 0; padding:0 13px;
  border:1px solid #c8d6e0; border-radius:10px; background:#fff;
  -webkit-appearance:none; appearance:none;
}
.farehint{
  margin:9px 0 0; font-size:13px; line-height:1.5;
  color:var(--warn); background:var(--warn-bg);
  border:1px solid #f0dcb4; border-radius:9px; padding:9px 11px;
}
.farescroll{max-height:min(58vh,420px); overflow-y:auto}
.farescroll table.grid{min-width:0; width:100%; table-layout:fixed}
.farescroll td.rowhead{white-space:normal; width:auto; word-break:break-word}
.farescroll td:last-child{
  width:5.4em; text-align:right; padding-right:14px; white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.map{
  height:340px; border-radius:12px; margin:12px 0 0;
  border:1px solid var(--line); background:#e9eef2; z-index:1;
}
.leaflet-container{border-radius:12px; font:inherit}
.stopname{font-weight:750; font-size:14px}
.stopmeta{font-size:12px; color:#5b7285; margin-top:3px; max-width:220px; line-height:1.45}
.pinlbl{
  background:var(--blue); color:#fff; border-radius:999px;
  width:22px; height:22px; line-height:22px; text-align:center;
  font-size:11.5px; font-weight:800; box-shadow:0 0 0 2px #fff;
}
.pinlbl.a{background:var(--good)} .pinlbl.b{background:var(--alert)}
.pinlbl.multi{
  width:38px; background:linear-gradient(90deg,var(--good) 0 50%,var(--alert) 50% 100%);
  font-size:10.5px; letter-spacing:-.02em;
}

.leaflet-tooltip.maplbl{
  background:none; border:none; box-shadow:none; padding:0 2px;
  font-weight:750; font-size:12px; color:#123a52; pointer-events:none;
  text-shadow:-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
              1px 1px 0 #fff, 0 0 4px #fff;
}
.leaflet-tooltip.maplbl::before{display:none}   /* no pointer arrow */

.card.faq h3{font-size:15px; font-weight:750; margin:15px 0 4px; color:var(--ink)}
.card.faq p{margin:0; font-size:14.5px; line-height:1.65}

.legend{display:flex; flex-wrap:wrap; gap:8px 14px; margin:11px 0 0}
.legend .lg{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:650; color:var(--ink-2);
}
.legend i{width:16px; height:3px; border-radius:2px; display:inline-block}

.prov{
  margin:14px 0 0; font-size:12.5px; color:var(--muted); line-height:1.6;
}
.prov dt{font-weight:750; color:var(--ink-2); margin-top:8px}
.prov dd{margin:2px 0 0}

footer.site{
  margin:34px 0 0; border-top:1px solid var(--line); background:#fff;
  padding:22px 0 30px; font-size:13.5px; color:var(--muted);
}
footer.site .wrap > p{margin:0 0 8px}
footer.site a{color:var(--blue); text-decoration:none; font-weight:650}

.areas{list-style:none; margin:14px 0 0; padding:0; display:grid; gap:10px}
.areas a{
  display:block; background:var(--card); border:1px solid var(--line);
  border-radius:var(--r); padding:16px; text-decoration:none; color:inherit;
}
.areas .hd{display:flex; align-items:baseline; gap:9px}
.areas h3{font-size:18px; font-weight:800}
.areas .el{font-size:14px; color:var(--muted)}
.areas p{margin:7px 0 0; font-size:14px; color:var(--ink-2); line-height:1.5}
.areas .tags{display:flex; flex-wrap:wrap; gap:5px; margin:11px 0 0}
.areas .tag{
  font-size:11.5px; font-weight:700; border-radius:5px; padding:3px 8px;
  background:var(--blue-lt); color:var(--blue-dk);
}
.areas .tag.none{background:var(--alert-bg); color:var(--alert)}

.el-only{display:none}
html[data-lang="el"] .el-only{display:inline}
html[data-lang="el"] .en-only{display:none}

html[data-lang="el"] table.grid thead th{
  font-size:11px; letter-spacing:.01em; text-transform:none; color:var(--ink-2);
}
html[data-lang="el"] table.grid thead th .en{
  display:block; font-size:10.5px; color:var(--faint); font-weight:600;
  letter-spacing:.05em; text-transform:uppercase; margin-top:2px;
}
html[data-lang="el"] table.grid thead th{display:table-cell}
html[data-lang="el"] .swapnames{display:flex; flex-direction:column-reverse}

@media (min-width:720px){
  :root{--pad:22px}
  .hero{padding:26px}
  .planner{display:grid; grid-template-columns:340px 1fr; gap:20px; align-items:start}
  .planner .left{position:sticky; top:120px}
  .dateblock{margin-top:12px}
  .answer{margin-top:0}
  .results-head{margin-top:0}
  .areas{grid-template-columns:1fr 1fr}
  .map{height:460px}
  .mapgrid{display:grid; grid-template-columns:1fr 300px; gap:18px; align-items:start}
  .mapgrid .map{margin-top:0}
}
@media (min-width:1000px){
  .areas{grid-template-columns:repeat(3,1fr)}
}

@media (prefers-color-scheme:dark){
  :root{
    --ink:#e6edf3; --ink-2:#c2d2de; --muted:#93a8b8; --faint:#6f8496;
    --line:#233440; --line-2:#1a2831;
    --blue:#57ade0; --blue-dk:#a9d6f0; --blue-lt:#12293a; --sea:#111f2a;
    --card:#101b23; --bg:#0a1218;
    --good:#5cc496; --good-bg:#10291f;
    --warn:#e0b263; --warn-bg:#2b2213;
    --alert:#e58b8b; --alert-bg:#2c1717;
  }
  .topbar{background:#071a26}
  .hero{background:linear-gradient(#12242f,#0d1a23); border-color:#1e3546}
  .hero .stats span{background:#0d1a23; border-color:#1e3546}
  .note.info{border-color:#1e3546}
  .note.warn{border-color:#4a3a1c}
  .note.alert{border-color:#4a2626}
  .tabs{background:#16242e}
  .tabs button[aria-selected="true"]{background:#0d1a23; color:#a9d6f0}
  .answer{background:#0e2c3f}
  .answer.none{background:#16242e; color:var(--ink-2)}
  .jcard .dur em{background:var(--card)}
  table.grid thead th{background:#16242e}
  table.grid th.rowhead, table.grid td.rowhead{background:var(--card)}
  table.grid thead th.rowhead{background:#16242e}
  table.grid tbody tr:nth-child(even) td{background:#0d1720}
  table.grid tbody tr:nth-child(even) td.rowhead{background:#0d1720}
  table.grid .lnum{color:#a9d6f0; background:#0e2c3f; border-color:#1e3546}
  .farefilter{background:#0d1a23; border-color:#2a3f4f}
  details.fares > summary{background:var(--sea); border-color:var(--line)}
  .field select, .field input[type=date], .field input[type=text], .swap, .chip,
  .jcard .actions a{
    background:#0d1a23; border-color:#2a3f4f;
  }
  .swap, .jcard .actions a{background:#122430}
  footer.site{background:var(--card)}
  .map{background:#16242e}
  .stopmeta{color:#93a8b8}
  .leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#101b23; color:#e6edf3}
  .leaflet-tooltip.maplbl{
    color:#123a52;
    text-shadow:-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
                1px 1px 0 #fff, 0 0 4px #fff;
  }
}

.carbanner{text-align:center; margin:0 0 18px}
.carbanner a img{max-width:100%; height:auto; border-radius:8px}
.carbanner img.px{position:absolute; width:1px; height:1px; opacity:0}
.carbanner .prov{margin-top:6px}
.carhire .cta{text-align:center}
.carhire .btn{display:inline-block; padding:12px 22px; border-radius:10px; background:#e8731a; color:#fff; text-decoration:none; font-weight:700}
.carhire .btn:hover{background:#cf6412}
ul.tours{list-style:none;margin:0;padding:0}
ul.tours li+li{margin-top:8px}
a.tour{display:flex;gap:12px;align-items:center;background:var(--card);
  border:1px solid var(--line);border-radius:12px;padding:10px 12px;
  text-decoration:none;color:inherit}
a.tour:hover{border-color:var(--blue)}
a.tour img{width:56px;height:56px;border-radius:9px;object-fit:cover;flex:none}
.tourtxt{display:flex;flex-direction:column;gap:2px;min-width:0}
.tourname{font-weight:700;font-size:14.5px;line-height:1.35}
.tourmeta{font-size:13px;color:var(--muted)}

.hero .stats span a{color:inherit;text-decoration:underline;text-underline-offset:2px}

table.grid.glance td.dayon{color:var(--good)}
a:focus-visible, button:focus-visible, .chip:focus-visible, summary:focus-visible,
input:focus-visible{outline:3px solid var(--blue-dk); outline-offset:2px; border-radius:6px}
.carhire .btn{background:#b3520c}
.carhire .btn:hover{background:#8f4109}
.chip{background:var(--sea); border-color:#b7cfe2}
.chip:hover{border-color:var(--blue); background:var(--blue-lt)}
.morebtn{min-height:var(--tap)}
.morebtn:hover{background:var(--blue-lt)}
details.fares > summary:hover{background:var(--blue-lt)}
.fnd-submit{
  display:block; width:100%; margin:12px 0 0; border:0; border-radius:10px;
  background:var(--accent); color:#fff; font-weight:800; font-size:16px;
  min-height:var(--tap); cursor:pointer;
}
.fnd-submit:hover{background:var(--accent-dk)}
.jcard .actions a{background:var(--accent); border-color:var(--accent); color:#fff}
.jcard .actions a:hover{background:var(--accent-dk); border-color:var(--accent-dk)}
