:root {
  --bg: #faf8f3; --surface: #ffffff; --tint: #f1eee4; --text: #1b2a24; --muted: #5c6a63; --line: #e4e0d4;
  --brand: #1f6f54; --brand-dark: #154d3b; --brand-ink: #ffffff; --accent: #d9731a; --soft: #e6f0eb;
  --warn-bg: #fdf3d7; --warn-ink: #5c4400; --shadow: 0 1px 2px rgba(20, 40, 30, .06), 0 8px 24px rgba(20, 40, 30, .07);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101512; --surface: #18201c; --tint: #141b17; --text: #e9ece8; --muted: #a0aca5; --line: #2a342f;
    --brand: #5cc39b; --brand-dark: #7fd6b2; --brand-ink: #0c1f17; --accent: #f0a04b; --soft: #1e2e27;
    --warn-bg: #3a3112; --warn-ink: #f4dc92; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 .8rem; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 .3rem; }
.small, .note { font-size: .88rem; color: var(--muted); }
.note { margin-top: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--brand); }
.top nav { display: flex; gap: 4px; flex: 1; }
.top nav a { text-decoration: none; color: var(--text); font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.top nav a:hover, .top nav a.on { background: var(--soft); color: var(--brand-dark); }
.city { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.menu span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; gap: 0 12px; }
  .menu { display: block; }
  .top nav, .city { display: none; width: 100%; }
  .top.open nav { display: flex; flex-direction: column; padding-bottom: 6px; }
  .top.open .city { display: flex; padding: 6px 12px 14px; }
}

/* controls */
select, input { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; min-width: 0; }
select:focus, input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.btn { display: inline-block; font: 600 .95rem var(--body); background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand); border-radius: 10px; padding: 11px 20px; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--soft); }
.btn.light { background: #fff; color: #154d3b; border-color: #fff; }
.btn.wide { display: block; width: 100%; margin-top: 10px; }

/* hero and page bands */
.hero, .band, .tile { position: relative; overflow: hidden; color: #fff; }
.scene { display: block; width: 100%; height: 100%; }
.hero > .scene, .band > .scene, .tile > .scene { position: absolute; inset: 0; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 22, .25), rgba(10, 30, 22, .72)); }
.hero .wrap, .band .wrap { position: relative; }
.hero .wrap { padding-top: clamp(60px, 11vw, 130px); padding-bottom: clamp(50px, 9vw, 110px); }
.hero .kicker, .band .kicker { color: #ffd9a8; }
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); max-width: 15ch; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero .sub { font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 56ch; margin-bottom: 26px; opacity: .96; }
.search { display: flex; gap: 8px; max-width: 560px; background: #fff; padding: 7px; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.search input { flex: 1; border: 0; background: transparent; color: #1b2a24; font-size: 1.02rem; }
.search input:focus { outline: 0; }
.quick { margin-top: 16px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick a { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .5); padding: 3px 12px; border-radius: 99px; }
.quick a:hover { background: rgba(255, 255, 255, .18); }
.band .wrap { padding-top: 54px; padding-bottom: 40px; }
.band.tall .wrap { padding-top: 110px; padding-bottom: 46px; }
.band h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.band p { max-width: 62ch; font-size: 1.05rem; margin: 0; }
.crumb { font-size: .85rem; margin-bottom: 10px !important; opacity: .92; }
.crumb a { color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.pills span { font-size: .78rem; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .4); padding: 2px 11px; border-radius: 99px; }

/* stats */
.stats { background: var(--brand-dark); color: #fff; }
@media (prefers-color-scheme: dark) { .stats { background: #0d251c; } }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.stats b { display: block; font: 700 clamp(1.5rem, 4vw, 2.2rem) var(--display); }
.stats span { font-size: .82rem; opacity: .85; }

/* sections */
.sect { padding-top: 56px; padding-bottom: 8px; }
.sect:last-child, .tint .sect { padding-bottom: 56px; }
.tint { background: var(--tint); margin-top: 56px; }
/* two tinted bands in a row read as one block, with no gap of page colour between */
.tint + .tint { margin-top: 0; }
.tint + .tint .sect { padding-top: 10px; }
.tint .sect-head:not(:first-child) { margin-top: 44px; }
.sect-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.more { font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }
/* card grids, tiles, chips and footer columns are lists, with the markers off */
.grid, .tiles, .chips, .covers, .steps, .foot .cols ul { list-style: none; margin: 0; padding: 0; }
.grid > li, .tiles > li { display: flex; }
.grid > li > *, .tiles > li > * { flex: 1; }
/* keyboard users can jump the header */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; text-decoration: none; }
.skip:focus { left: 0; }
/* the shared sky gradients live in a zero-size svg */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.prose ul.credits { font-size: .92rem; line-height: 1.7; }
/* the other ways to travel one stretch, in the same columns as the costed one */
.planner tr.alt td { font-size: .86rem; color: var(--muted); background: var(--tint); border-top: 0; }
.planner tr.alt-head td { background: var(--tint); border-top: 1px dashed var(--line); padding-top: 10px; padding-bottom: 2px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.planner tr.alt td:first-child { font-style: italic; white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps > li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--brand-dark); font: 700 1.1rem var(--display); margin-bottom: 14px; }
.steps p, .covers p { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); gap: 1px; }
.covers > li { background: var(--surface); padding: 18px 20px; }
.covers b { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.2; }
@media (max-width: 900px) { .covers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .pic { position: relative; aspect-ratio: 16 / 9; }
.badge { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: #fff; color: #154d3b; }
.badge.famous { background: #d9731a; color: #fff; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card .where { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: .92rem; color: var(--muted); margin: 0 0 10px; }
.card .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; margin-top: auto; }
.ready, .soon { align-self: flex-start; font-size: .74rem; font-weight: 600; padding: 2px 9px; border-radius: 6px; margin-top: 4px; }
.ready { background: var(--soft); color: var(--brand-dark); }
.soon { background: var(--tint); color: var(--muted); }

/* state tiles and chips */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.tile { display: block; border-radius: 16px; min-height: 200px; text-decoration: none; }
.tile .label { position: absolute; left: 20px; bottom: 16px; color: #fff; }
.tile .tname { display: block; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.tile span { font-size: .85rem; opacity: .9; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 99px; font-weight: 500; font-size: .93rem; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips span { margin-left: 8px; color: var(--muted); font-size: .8rem; }

/* call to action */
.cta { background: var(--brand-dark); color: #fff; margin-top: 56px; }
@media (prefers-color-scheme: dark) { .cta { background: #0d251c; } }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.cta p { margin: 6px 0 0; opacity: .9; }

/* listing filters */
.filters { display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr 1fr; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); margin-top: -84px; position: relative; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters input { grid-column: 1 / -1; } }
.count { color: var(--muted); font-size: .9rem; margin: 18px 0 14px; }
.empty { color: var(--muted); padding: 30px 0; }

/* destination page */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-top: 32px; padding-bottom: 20px; align-items: start; }
@media (max-width: 980px) { .two { grid-template-columns: minmax(0, 1fr); } .two aside { order: -1; } .two aside .box:not(.facts) { display: none; } }
aside { position: sticky; top: 84px; display: grid; gap: 16px; }
@media (max-width: 980px) { aside { position: static; } }
.box, .block { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.box h3 { margin-bottom: 10px; }
.box p:last-child { margin-bottom: 0; }
.block { padding: 26px; margin-bottom: 20px; scroll-margin-top: 84px; }
.block h2 { font-size: 1.45rem; margin-bottom: 14px; }
.block h3 { margin: 16px 0 6px; }
.lead { font-size: 1.12rem; color: var(--text); margin: 0 0 22px; }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 20px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: .95rem; }
dt { color: var(--muted); }
dd { margin: 0; }
.facts dl { grid-template-columns: 1fr 1.4fr; font-size: .9rem; margin-bottom: 8px; }
.facts dd { font-weight: 500; }
@media (max-width: 560px) { .block dl { grid-template-columns: 1fr; gap: 2px; } .block dd { margin-bottom: 10px; } }
ul { padding-left: 1.2rem; margin: .3rem 0 .8rem; }
li { margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.toc { display: grid; gap: 2px; }
.toc a { text-decoration: none; color: var(--text); font-size: .9rem; padding: 5px 10px; border-radius: 8px; }
.toc a:hover { background: var(--soft); color: var(--brand-dark); }
.links { list-style: none; padding: 0; margin: 0; }
.links li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.links li:last-child { border: 0; }
.sights article { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.sights article:first-child { border-top: 0; padding-top: 0; }
.sights .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--brand-dark); font-weight: 700; font-size: .9rem; }
.sights h3 { margin: 4px 0; }
.sights dl { font-size: .88rem; gap: 3px 14px; }
.days article { border-left: 3px solid var(--brand); padding: 2px 0 2px 18px; margin-bottom: 22px; }
.days h3 { margin: 0 0 6px; }

/* tables and planner */
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
.planner { border: 2px solid var(--brand); }
.planner form { display: flex; flex-wrap: wrap; gap: 12px; background: var(--tint); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.planner label { display: flex; flex-direction: column; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); gap: 4px; flex: 1; min-width: 110px; }
.sumbox { background: var(--soft); border-radius: 12px; padding: 8px 16px; margin-top: 14px; }
table.sum td { border-color: color-mix(in srgb, var(--brand) 18%, transparent); }
table.sum td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { font: 700 1.25rem var(--display); color: var(--brand-dark); }

.prose { max-width: 760px; padding-top: 40px; padding-bottom: 20px; font-size: 1.05rem; }

/* footer */
.foot { background: #11231c; color: #c9d4ce; margin-top: 56px; font-size: .9rem; }
.cta + .foot, .tint + .foot { margin-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1.1fr 1.1fr 0.9fr; gap: 24px; padding-top: 48px; padding-bottom: 30px; }
.foot .cols > div:first-child { grid-column: 1 / -1; max-width: 760px; padding-bottom: 6px; border-bottom: 1px solid #25392f; }
.foot .cols .two-col { columns: 2; column-gap: 18px; }
.foot .cols .two-col li { break-inside: avoid; white-space: nowrap; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > .f-from { grid-column: 1 / -1; } }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot .brand svg { color: #2f8f6e; }
.foot .cols h2 { font: 600 .78rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.foot .cols a:not(.brand) { display: block; color: #c9d4ce; text-decoration: none; padding: 3px 0; }
.foot .cols a:not(.brand):hover { color: #fff; }
.foot .fine { border-top: 1px solid #25392f; padding-top: 18px; padding-bottom: 26px; font-size: .82rem; color: #93a39b; }

/* photos */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--tint); }
.gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tile { min-height: 150px; }
.tile h3 { font-size: 1.2rem; }

.credit { font-size: .75rem; opacity: .8; margin: 18px 0 0; }
.credit a { color: #fff; }
.hero .shade { background: linear-gradient(180deg, rgba(10, 30, 22, .45), rgba(10, 30, 22, .62)); }

/* show a plain background while a photo loads; the illustration appears only if the photo fails */
.scene.wait { visibility: hidden; }
.pic, .tile { background: var(--tint); }
.hero, .band { background: #1d3b30; }
.photo { opacity: 0; transition: opacity .35s; }
.photo.in { opacity: 1; }

/* lighter photo overlays: text stays readable through a soft shadow instead of a dark layer */
.shade { background: linear-gradient(180deg, rgba(10, 30, 22, .05) 0%, rgba(10, 30, 22, .15) 45%, rgba(10, 30, 22, .5) 100%); }
.hero .shade { background: linear-gradient(90deg, rgba(10, 30, 22, .42) 0%, rgba(10, 30, 22, .16) 55%, rgba(10, 30, 22, 0) 100%); }
@media (max-width: 760px) { .hero .shade { background: rgba(10, 30, 22, .3); } }
.hero h1, .hero .sub, .hero .kicker, .hero .quick, .band h1, .band p, .tile .label { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 18px rgba(0, 0, 0, .35); }
/* filters: one main row, the rest under "More filters" */
.filters { display: block; }
.filters .frow { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; }
.more-f { margin-top: 10px; }
.more-f summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--brand-dark); padding: 4px 2px; width: max-content; }
.more-f .frow { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; }
@media (max-width: 900px) { .filters .frow, .more-f .frow { grid-template-columns: 1fr 1fr; } .filters input[type=search] { grid-column: 1 / -1; } }
.count-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 18px 0 14px; }
.count-row .count { margin: 0; }
.count-row .small { margin: 0; flex: 1; }
.count-row select { width: auto; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.from-line { margin: 0 0 8px; font-size: .95rem; }
.card .meta.tc, .card .meta.near { margin-top: 6px; color: var(--brand); font-weight: 600; }
.card .meta.tc + .ready, .card .meta.near + .ready { margin-top: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; margin-top: 6px; }
a.fix { color: var(--muted); }
.stop { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.stop:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.stop h2 { font-size: 1.25rem; }
.hop { background: var(--soft); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.planner .from-line { flex-basis: 100%; }
/* correction pop-up */
.fix-dlg { border: 0; border-radius: 16px; padding: 22px; width: min(480px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.fix-dlg::backdrop { background: rgba(10, 20, 15, .5); }
.fix-dlg h2 { margin: 0 0 4px; font-size: 1.3rem; }
.fix-dlg label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; margin-top: 12px; }
.fix-dlg textarea, .fix-dlg input:not([type=checkbox]) { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.fix-dlg .hp { position: absolute; left: -9999px; }
.fix-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.fix-msg { margin: 10px 0 0; font-size: .9rem; color: var(--brand-dark); }
a.fix { color: var(--muted); }
/* admin pages */
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0 0 8px; }
.admin-nav a { text-decoration: none; padding: 4px 10px; border-radius: 8px; }
.admin-nav a.on { background: var(--soft); color: var(--brand-dark); font-weight: 600; }
.admin h2 { margin-top: 28px; }
.ranges { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tiles-stat { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tiles-stat li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.tiles-stat b { font-size: 1.7rem; }
.tiles-stat span { color: var(--muted); font-size: .85rem; }
.admin meter { width: 160px; height: 12px; }
.fix-dlg form.sent .fix-btns { justify-content: center; }
.fix-dlg form.sent .fix-msg { text-align: center; }
.combine { padding-left: 1.1em; }
.combine li { margin: 6px 0; }
.trip-builder { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.trip-builder h3 { margin: 0 0 4px; }
.trip-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.trip-pick label { width: 100%; font-weight: 600; font-size: .9rem; }
.trip-pick input { flex: 1 1 200px; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.mytrip-list { list-style: none; padding: 0; margin: 0 0 16px; }
.mytrip-stop { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.mytrip-ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mytrip-ctl select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.mytrip-hop { margin: 6px 0 6px 18px; padding-left: 12px; border-left: 3px solid var(--soft); font-size: .88rem; color: var(--muted, inherit); }
.mytrip-hop.warn { border-left-color: #d98a1c; }
@media (max-width: 980px) { .mytrip-wrap aside { order: 2; } }
.mytrip-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.mytrip-days { margin: 24px 0; }
.mytrip-day { padding: 12px 0; border-top: 1px solid var(--line); }
.mytrip-day h3 { margin: 0 0 6px; }
.mytrip-day ul { margin: 0; padding-left: 1.2em; }
@media print {
  .site-head, header, .foot, .mytrip-tools, .mytrip-ctl, .trip-builder, #mytrip-share, #mytrip-clear, .page-head svg, .page-head img { display: none !important; }
  .two { display: block; }
  .mytrip-day { break-inside: avoid; }
  body { background: #fff; color: #000; }
}
.foot .fine p { margin: 0 0 4px; }
.foot .fine .copy { text-align: center; margin-top: 10px; }
